@purpurds/card 6.2.0 → 6.3.1

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.
package/dist/LICENSE.txt CHANGED
@@ -33,41 +33,41 @@ SOFTWARE.
33
33
  ---
34
34
 
35
35
  Name: @purpurds/badge
36
- Version: 6.1.4
36
+ Version: 6.3.0
37
37
  License: AGPL-3.0-only
38
38
  Private: false
39
39
 
40
40
  ---
41
41
 
42
42
  Name: @purpurds/spinner
43
- Version: 6.1.4
43
+ Version: 6.3.0
44
44
  License: AGPL-3.0-only
45
45
  Private: false
46
46
 
47
47
  ---
48
48
 
49
49
  Name: @purpurds/icon
50
- Version: 6.1.4
50
+ Version: 6.3.0
51
51
  License: AGPL-3.0-only
52
52
  Private: false
53
53
 
54
54
  ---
55
55
 
56
56
  Name: @purpurds/paragraph
57
- Version: 6.1.4
57
+ Version: 6.3.0
58
58
  License: AGPL-3.0-only
59
59
  Private: false
60
60
 
61
61
  ---
62
62
 
63
63
  Name: @purpurds/heading
64
- Version: 6.1.4
64
+ Version: 6.3.0
65
65
  License: AGPL-3.0-only
66
66
  Private: false
67
67
 
68
68
  ---
69
69
 
70
70
  Name: @purpurds/visually-hidden
71
- Version: 6.1.4
71
+ Version: 6.3.0
72
72
  License: AGPL-3.0-only
73
73
  Private: false
package/dist/card.cjs.js CHANGED
@@ -1,30 +1,30 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),H=require("react");require("react-dom");function nr(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const u=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,u.get?u:{enumerable:!0,get:()=>t[e]})}}return n.default=t,Object.freeze(n)}const o=nr(H);function ur(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var B={exports:{}};/*!
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),tr=require("react");require("react-dom");function lr(t){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const u=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(n,a,u.get?u:{enumerable:!0,get:()=>t[a]})}}return n.default=t,Object.freeze(n)}const o=lr(tr);function dr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var w={exports:{}};/*!
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u.call(this,p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,this&&this[p]||p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(B);var pr=B.exports;const l=ur(pr),ir={"purpur-card":"_purpur-card_1ruml_1"};function sr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var D={exports:{}};/*!
5
+ */var A;function _r(){return A||(A=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u.call(this,p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,this&&this[p]||p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(w)),w.exports}var gr=_r();const l=dr(gr),hr={"purpur-card":"_purpur-card_1ruml_1"};function fr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var k={exports:{}};/*!
6
6
  Copyright (c) 2018 Jed Watson.
7
7
  Licensed under the MIT License (MIT), see
8
8
  http://jedwatson.github.io/classnames
9
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u.call(this,p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,this&&this[p]||p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(D);var or=D.exports;const cr=sr(or),lr={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},dr=cr.bind(lr),z="purpur-icon",_r="md",gr=t=>t.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),hr=({content:t="",title:n}={})=>{const e=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],u=n?`<title>${n}</title>`:"";return`<svg ${gr(e)}>${u}${t}</svg>`},fr=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim(),V=({["data-testid"]:t,svg:n,allyTitle:e,className:u,size:i=_r,...r})=>{const a=hr({content:fr(n.svg),title:e}),p=dr(u,z,`${z}--${i}`);return s.jsx("span",{"aria-label":e,className:p,"data-testid":t,dangerouslySetInnerHTML:{__html:a},...r})};V.displayName="Icon";const mr={name:"alert",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["alert"],category:"status"},vr={name:"check-circle",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["check-circle"],category:"status"},yr={name:"error",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',keywords:["error"],category:"status"},br={name:"info",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["info"],category:"status"},xr={name:"offering",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',keywords:["offering"],category:"other"},$r={name:"question",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["question"],category:"status"},wr={name:"tag",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',keywords:["tag"],category:"other"};function jr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var F={exports:{}};/*!
9
+ */var M;function mr(){return M||(M=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u.call(this,p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,this&&this[p]||p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(k)),k.exports}var vr=mr();const yr=fr(vr),br={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},$r=yr.bind(br),Z="purpur-icon",xr="md",wr=t=>t.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),jr=({content:t="",title:n}={})=>{const a=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],u=n?`<title>${n}</title>`:"";return`<svg ${wr(a)}>${u}${t}</svg>`},Nr=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim(),ar=({["data-testid"]:t,svg:n,allyTitle:a,className:u,size:i=xr,...r})=>{const e=jr({content:Nr(n.svg),title:a}),p=$r(u,Z,`${Z}--${i}`);return s.jsx("span",{"aria-label":a,className:p,"data-testid":t,dangerouslySetInnerHTML:{__html:e},...r})};ar.displayName="Icon";const Cr={name:"alert",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="m13.038 7.067-.247 6.876h-1.566l-.247-6.876a1.03 1.03 0 1 1 2.06 0Zm.212 8.917c0 .649-.586 1.234-1.25 1.234-.649 0-1.25-.585-1.25-1.234 0-.633.601-1.234 1.25-1.234.664 0 1.25.601 1.25 1.234Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["alert"],category:"status"},Sr={name:"check-circle",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M16.487 9.514a.872.872 0 1 0-1.42-1.014l-4.248 5.948-2.18-2.18a.872.872 0 0 0-1.233 1.234l2.908 2.908a.872.872 0 0 0 1.326-.11l4.847-6.786Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["check-circle"],category:"status"},zr={name:"error",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.354 3.05c.732-1.267 2.56-1.267 3.291 0l8.66 15c.732 1.267-.182 2.85-1.645 2.85H3.34c-1.463 0-2.377-1.583-1.646-2.85l8.66-15Zm1.595.862a.092.092 0 0 0-.036.038l-8.66 15a.092.092 0 0 0-.015.05c0 .014.005.032.015.05a.11.11 0 0 0 .036.038.09.09 0 0 0 .05.012H20.66a.088.088 0 0 0 .05-.012.106.106 0 0 0 .037-.038.105.105 0 0 0 .015-.05.092.092 0 0 0-.015-.05l-8.66-15a.092.092 0 0 0-.036-.038A.106.106 0 0 0 12 3.9a.105.105 0 0 0-.05.012Z" clip-rule="evenodd"/><path d="m12.523 14.922.412-6.25a.936.936 0 1 0-1.868 0l.421 6.25h1.035ZM12 17.52c.44 0 .826-.387.826-.815 0-.418-.387-.816-.826-.816-.428 0-.825.398-.825.816 0 .428.397.815.825.815Z"/><path fill-rule="evenodd" d="M12.691 15.096h-1.37l-.431-6.53a1 1 0 0 1 .997-1.066h.227a1 1 0 0 1 .998 1.064l-.42 6.532Zm.244-6.425a.936.936 0 1 0-1.868.002l.421 6.249h1.035l.412-6.25ZM13 16.706c0 .526-.466.99-1 .99-.522 0-1-.463-1-.99 0-.264.125-.51.304-.689.18-.178.429-.301.696-.301.536 0 1 .475 1 .99Zm-.174 0c0 .428-.387.815-.826.815-.428 0-.825-.387-.825-.815 0-.418.397-.816.825-.816.44 0 .826.398.826.816Z" clip-rule="evenodd"/></svg>',keywords:["error"],category:"status"},Or={name:"info",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M11 8.18c0 .537.469.979 1.007.979.524 0 .993-.442.993-.98s-.469-.979-.993-.979c-.538 0-1.007.441-1.007.98Zm.152 1.958v6.897h1.696v-6.897h-1.696Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["info"],category:"status"},qr={name:"offering",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M7.118 4.6H7a1.9 1.9 0 0 0-1.9 1.9V8a1.9 1.9 0 0 0 1.5 1.858v.642a.9.9 0 1 0 1.8 0v-.6h3.2v.6a.9.9 0 0 0 1.8 0v-.6h3.7V11a.9.9 0 0 0 1.8 0V9.858A1.9 1.9 0 0 0 20.4 8V6.5a1.9 1.9 0 0 0-1.9-1.9h-.618c-.063-.708-.3-1.394-.756-1.943-.56-.674-1.384-1.057-2.376-1.057-.92 0-1.696.33-2.25.915-.554-.585-1.33-.915-2.25-.915-.992 0-1.816.383-2.376 1.057-.457.549-.693 1.235-.756 1.943Zm1.812 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm4.5 0h2.64c-.053-.34-.174-.607-.328-.792-.192-.232-.493-.408-.992-.408s-.8.176-.992.408c-.154.185-.275.452-.328.792Zm-.03 3.5h5.1a.1.1 0 0 0 .1-.1V6.5a.1.1 0 0 0-.1-.1h-5.1v1.7Zm-1.8-1.7H7a.1.1 0 0 0-.1.1V8a.1.1 0 0 0 .1.1h4.6V6.4Zm8.335 5.147c.743-.107 1.52.135 2.201.817.474.473.695 1.011.708 1.548.012.508-.163.927-.318 1.2-.185.326-.47.607-.634.77l-.049.047-4.414 4.414a1.9 1.9 0 0 1-1.343.557H7.914a.1.1 0 0 0-.07.03l-.5.5a1.9 1.9 0 0 1-2.687 0L2.57 19.342a1.9 1.9 0 0 1 0-2.686l4-4a1.9 1.9 0 0 1 1.343-.557H14.5v.9-.9h.041l.065.004a2.73 2.73 0 0 1 .79.185 2.665 2.665 0 0 1 1.46 1.417c.188-.162.375-.324.551-.479.46-.401.815-.722.957-.863.338-.34.882-.719 1.571-.817ZM15.088 15.1a1.06 1.06 0 0 0 .08-.145c.1-.207.113-.38.027-.553a.867.867 0 0 0-.668-.497.628.628 0 0 0-.042-.005h-6.57a.1.1 0 0 0-.071.03l-4 4a.1.1 0 0 0 0 .14l2.085 2.087a.1.1 0 0 0 .142 0l.5-.5a1.9 1.9 0 0 1 1.343-.557h8.172a.1.1 0 0 0 .07-.03l4.415-4.414c.225-.225.334-.335.39-.434a.539.539 0 0 0 .083-.266.283.283 0 0 0-.026-.11.712.712 0 0 0-.154-.21c-.319-.318-.542-.326-.674-.307-.186.026-.392.146-.554.307-.191.192-.595.553-1.043.946-.904.79-2.143 1.838-2.561 2.144l-.238.174H10.5a.9.9 0 0 1 0-1.8h4.588Z" clip-rule="evenodd"/></svg>',keywords:["offering"],category:"other"},Ar={name:"question",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13.672 12.056c-.635.547-1.242 1.07-1.164 2.062h-1.385c-.309-1.553.504-2.214 1.23-2.805.514-.419.986-.802.986-1.442 0-.593-.489-1.068-1.267-1.068-.764 0-1.345.422-1.872 1.187L9 9.067C9.712 7.92 10.807 7.3 12.086 7.3 13.906 7.3 15 8.42 15 9.78c0 1.133-.678 1.717-1.328 2.277Zm-.822 3.763c0 .54-.487 1.028-1.041 1.028-.554 0-1.042-.488-1.042-1.028 0-.528.488-1.029 1.042-1.029s1.042.501 1.042 1.029Z"/><path fill-rule="evenodd" d="M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-1.75 0a8.25 8.25 0 1 1-16.5 0 8.25 8.25 0 0 1 16.5 0Z" clip-rule="evenodd"/></svg>',keywords:["question"],category:"status"},kr={name:"tag",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M3.1 4a.9.9 0 0 1 .9-.9h6.5a.9.9 0 0 1 .636.264l10 10a.9.9 0 0 1 0 1.272l-4.5 4.5a.9.9 0 1 1-1.272-1.272L19.227 14l-9.1-9.1H4.9v5.227l9.736 9.737a.9.9 0 1 1-1.272 1.272l-10-10A.9.9 0 0 1 3.1 10.5V4ZM8 7.4a.6.6 0 1 0 0 1.2.6.6 0 0 0 0-1.2ZM5.6 8a2.4 2.4 0 1 1 4.8 0 2.4 2.4 0 0 1-4.8 0Z" clip-rule="evenodd"/></svg>',keywords:["tag"],category:"other"};function Mr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var R={exports:{}};/*!
10
10
  Copyright (c) 2018 Jed Watson.
11
11
  Licensed under the MIT License (MIT), see
12
12
  http://jedwatson.github.io/classnames
13
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(F);var Nr=F.exports;const Cr=jr(Nr),M={"purpur-badge":"_purpur-badge_19vzu_1","purpur-badge--attention":"_purpur-badge--attention_19vzu_13","purpur-badge--special":"_purpur-badge--special_19vzu_17","purpur-badge--neutral":"_purpur-badge--neutral_19vzu_21","purpur-badge--information":"_purpur-badge--information_19vzu_25","purpur-badge--success":"_purpur-badge--success_19vzu_29","purpur-badge--warning":"_purpur-badge--warning_19vzu_33","purpur-badge--error":"_purpur-badge--error_19vzu_37","purpur-badge--black-friday":"_purpur-badge--black-friday_19vzu_41"},q="purpur-badge",g={ATTENTION:"attention",SPECIAL:"special",NEUTRAL:"neutral",INFORMATION:"information",SUCCESS:"success",WARNING:"warning",ERROR:"error",BLACK_FRIDAY:"black-friday"},Sr=t=>{switch(t){case g.ATTENTION:case g.SPECIAL:return xr;case g.INFORMATION:return br;case g.SUCCESS:return vr;case g.WARNING:return mr;case g.ERROR:return yr;case g.NEUTRAL:return $r;case g.BLACK_FRIDAY:return wr;default:return}},Or=({children:t,showIcon:n=!0,variant:e,["data-testid"]:u,allyLabel:i,className:r="",...a})=>{const p=Sr(e),c=Cr([r,M[q],M[`${q}--${e}`]]);return s.jsxs("span",{"aria-label":i,className:c,"data-testid":u,...a,children:[n&&p&&s.jsx(V,{"data-testid":`${u}-icon`,allyTitle:i,size:"xs",svg:p}),t]})},Ar={"purpur-card-badge":"_purpur-card-badge_r7moe_1"},zr=l.bind(Ar),Mr="purpur-card-badge",qr=({["data-testid"]:t="purpur-card-badge",variant:n,text:e})=>n&&e?s.jsx(Or,{className:zr(Mr),variant:n,showIcon:!1,"data-testid":t,children:e}):null,Rr={"purpur-card-content":"_purpur-card-content_2uc00_1"},Er=l.bind(Rr),kr="purpur-card-content",Zr=({["data-testid"]:t="purpur-card-content",children:n})=>s.jsx("div",{className:Er(kr),"data-testid":t,children:n}),Pr={"purpur-card-content-container":"_purpur-card-content-container_putaw_1","purpur-card-content-container--footer":"_purpur-card-content-container--footer_putaw_12","purpur-card-content-container--gap-size--sm":"_purpur-card-content-container--gap-size--sm_putaw_20","purpur-card-content-container--gap-size--md":"_purpur-card-content-container--gap-size--md_putaw_23","purpur-card-content-container--gap-size--lg":"_purpur-card-content-container--gap-size--lg_putaw_26"},Tr=l.bind(Pr),w="purpur-card-content-container",Ir=({["data-testid"]:t="purpur-card-content-container",children:n,isFooter:e=!1,gapSize:u="md"})=>s.jsx("div",{className:Tr([w,`${w}--gap-size--${u}`,{[`${w}--footer`]:e}]),"data-testid":t,children:n});function Lr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var G={exports:{}};/*!
13
+ */var P;function Zr(){return P||(P=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(R)),R.exports}var Rr=Zr();const Pr=Mr(Rr),E={"purpur-badge":"_purpur-badge_19vzu_1","purpur-badge--attention":"_purpur-badge--attention_19vzu_13","purpur-badge--special":"_purpur-badge--special_19vzu_17","purpur-badge--neutral":"_purpur-badge--neutral_19vzu_21","purpur-badge--information":"_purpur-badge--information_19vzu_25","purpur-badge--success":"_purpur-badge--success_19vzu_29","purpur-badge--warning":"_purpur-badge--warning_19vzu_33","purpur-badge--error":"_purpur-badge--error_19vzu_37","purpur-badge--black-friday":"_purpur-badge--black-friday_19vzu_41"},H="purpur-badge",g={ATTENTION:"attention",SPECIAL:"special",NEUTRAL:"neutral",INFORMATION:"information",SUCCESS:"success",WARNING:"warning",ERROR:"error",BLACK_FRIDAY:"black-friday"},Er=t=>{switch(t){case g.ATTENTION:case g.SPECIAL:return qr;case g.INFORMATION:return Or;case g.SUCCESS:return Sr;case g.WARNING:return Cr;case g.ERROR:return zr;case g.NEUTRAL:return Ar;case g.BLACK_FRIDAY:return kr;default:return}},Hr=({children:t,showIcon:n=!0,variant:a,["data-testid"]:u,allyLabel:i,className:r="",...e})=>{const p=Er(a),c=Pr([r,E[H],E[`${H}--${a}`]]);return s.jsxs("span",{"aria-label":i,className:c,"data-testid":u,...e,children:[n&&p&&s.jsx(ar,{"data-testid":`${u}-icon`,allyTitle:i,size:"xs",svg:p}),t]})},Br={"purpur-card-badge":"_purpur-card-badge_r7moe_1"},Lr=l.bind(Br),Tr="purpur-card-badge",Ir=({["data-testid"]:t="purpur-card-badge",variant:n,text:a})=>n&&a?s.jsx(Hr,{className:Lr(Tr),variant:n,showIcon:!1,"data-testid":t,children:a}):null,Vr={"purpur-card-content":"_purpur-card-content_2uc00_1"},Fr=l.bind(Vr),Dr="purpur-card-content",Wr=({["data-testid"]:t="purpur-card-content",children:n})=>s.jsx("div",{className:Fr(Dr),"data-testid":t,children:n}),Gr={"purpur-card-content-container":"_purpur-card-content-container_putaw_1","purpur-card-content-container--footer":"_purpur-card-content-container--footer_putaw_12","purpur-card-content-container--gap-size--sm":"_purpur-card-content-container--gap-size--sm_putaw_20","purpur-card-content-container--gap-size--md":"_purpur-card-content-container--gap-size--md_putaw_23","purpur-card-content-container--gap-size--lg":"_purpur-card-content-container--gap-size--lg_putaw_26"},Ur=l.bind(Gr),j="purpur-card-content-container",Kr=({["data-testid"]:t="purpur-card-content-container",children:n,isFooter:a=!1,gapSize:u="md"})=>s.jsx("div",{className:Ur([j,`${j}--gap-size--${u}`,{[`${j}--footer`]:a}]),"data-testid":t,children:n});function Yr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var B={exports:{}};/*!
14
14
  Copyright (c) 2018 Jed Watson.
15
15
  Licensed under the MIT License (MIT), see
16
16
  http://jedwatson.github.io/classnames
17
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(G);var Hr=G.exports;const R=Lr(Hr),Br="_rotate_1xozj_1",Dr="_dash_1xozj_1",f={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:Br,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:Dr,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},m="purpur-spinner",Vr={XXS:"xxs",XS:"xs",SM:"sm",MD:"md",LG:"lg"},Fr=({["data-testid"]:t,disabled:n=!1,negative:e=!1,size:u=Vr.SM,...i})=>s.jsx("div",{className:R([f[m],f[`${m}--${u}`]]),"data-testid":t,...i,children:s.jsx("svg",{viewBox:"0 0 50 50",children:s.jsx("circle",{className:R(f[`${m}__circle`],{[f[`${m}__circle--disabled`]]:n,[f[`${m}__circle--negative`]]:e}),cx:"25",cy:"25",r:"20"})})}),Gr={"purpur-card-cta--button-styling":"_purpur-card-cta--button-styling_1wc0z_1","purpur-card-cta--button-styling--xs":"_purpur-card-cta--button-styling--xs_1wc0z_33","purpur-card-cta--button-styling--icon-only":"_purpur-card-cta--button-styling--icon-only_1wc0z_36","purpur-card-cta--button-styling--sm":"_purpur-card-cta--button-styling--sm_1wc0z_39","purpur-card-cta--button-styling--md":"_purpur-card-cta--button-styling--md_1wc0z_45","purpur-card-cta--button-styling--lg":"_purpur-card-cta--button-styling--lg_1wc0z_51","purpur-card-cta--button-styling--full-width":"_purpur-card-cta--button-styling--full-width_1wc0z_57","purpur-card-cta--button-styling--primary":"_purpur-card-cta--button-styling--primary_1wc0z_60","purpur-card-cta--button-styling--disabled":"_purpur-card-cta--button-styling--disabled_1wc0z_64","purpur-card-cta--button-styling--primary-negative":"_purpur-card-cta--button-styling--primary-negative_1wc0z_70","purpur-card-cta--button-styling--secondary":"_purpur-card-cta--button-styling--secondary_1wc0z_82","purpur-card-cta--button-styling--secondary-negative":"_purpur-card-cta--button-styling--secondary-negative_1wc0z_93","purpur-card-cta--button-styling--expressive":"_purpur-card-cta--button-styling--expressive_1wc0z_104","purpur-card-cta--button-styling--expressive-negative":"_purpur-card-cta--button-styling--expressive-negative_1wc0z_114","purpur-card-cta--cta-styling":"_purpur-card-cta--cta-styling_1wc0z_126","purpur-card-cta--secondary":"_purpur-card-cta--secondary_1wc0z_131","purpur-card-cta--disabled":"_purpur-card-cta--disabled_1wc0z_131","purpur-card-cta--text":"_purpur-card-cta--text_1wc0z_139"},Ur=l.bind(Gr),_="purpur-card-cta",Wr=({["data-testid"]:t="purpur-card-cta",className:n,children:e,disabled:u=!1,iconPosition:i="right",loading:r=!1,text:a,linkStyling:p=!1,...c})=>s.jsx("div",{className:`${Ur([_,n,{[`${_}--disabled`]:u,[`${_}--text`]:!!a,[`${_}--cta-styling`]:p,[`${_}--button-styling`]:!p,[`${_}--button-styling--md`]:!p,[`${_}--button-styling--secondary`]:!p,[`${_}--button-styling--icon-only`]:!p&&!a}])} ${_}`,"data-testid":t,...c,children:r?s.jsx(Fr,{"data-testid":`${t}-spinner`,size:"xs",disabled:u}):s.jsxs(s.Fragment,{children:[i==="left"&&e,a,i==="right"&&e]})});function Xr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var U={exports:{}};/*!
17
+ */var L;function Jr(){return L||(L=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(B)),B.exports}var Qr=Jr();const T=Yr(Qr),Xr="_rotate_1xozj_1",rt="_dash_1xozj_1",f={"purpur-spinner":"_purpur-spinner_1xozj_1",rotate:Xr,"purpur-spinner--xxs":"_purpur-spinner--xxs_1xozj_4","purpur-spinner--xs":"_purpur-spinner--xs_1xozj_8","purpur-spinner--sm":"_purpur-spinner--sm_1xozj_12","purpur-spinner--md":"_purpur-spinner--md_1xozj_16","purpur-spinner--lg":"_purpur-spinner--lg_1xozj_20","purpur-spinner__circle":"_purpur-spinner__circle_1xozj_24",dash:rt,"purpur-spinner__circle--disabled":"_purpur-spinner__circle--disabled_1xozj_33","purpur-spinner__circle--negative":"_purpur-spinner__circle--negative_1xozj_36"},m="purpur-spinner",tt={SM:"sm"},at=({["data-testid"]:t,disabled:n=!1,negative:a=!1,size:u=tt.SM,...i})=>s.jsx("div",{className:T([f[m],f[`${m}--${u}`]]),"data-testid":t,...i,children:s.jsx("svg",{viewBox:"0 0 50 50",children:s.jsx("circle",{className:T(f[`${m}__circle`],{[f[`${m}__circle--disabled`]]:n,[f[`${m}__circle--negative`]]:a}),cx:"25",cy:"25",r:"20"})})}),et={"purpur-card-cta--button-styling":"_purpur-card-cta--button-styling_1wc0z_1","purpur-card-cta--button-styling--xs":"_purpur-card-cta--button-styling--xs_1wc0z_33","purpur-card-cta--button-styling--icon-only":"_purpur-card-cta--button-styling--icon-only_1wc0z_36","purpur-card-cta--button-styling--sm":"_purpur-card-cta--button-styling--sm_1wc0z_39","purpur-card-cta--button-styling--md":"_purpur-card-cta--button-styling--md_1wc0z_45","purpur-card-cta--button-styling--lg":"_purpur-card-cta--button-styling--lg_1wc0z_51","purpur-card-cta--button-styling--full-width":"_purpur-card-cta--button-styling--full-width_1wc0z_57","purpur-card-cta--button-styling--primary":"_purpur-card-cta--button-styling--primary_1wc0z_60","purpur-card-cta--button-styling--disabled":"_purpur-card-cta--button-styling--disabled_1wc0z_64","purpur-card-cta--button-styling--primary-negative":"_purpur-card-cta--button-styling--primary-negative_1wc0z_70","purpur-card-cta--button-styling--secondary":"_purpur-card-cta--button-styling--secondary_1wc0z_82","purpur-card-cta--button-styling--secondary-negative":"_purpur-card-cta--button-styling--secondary-negative_1wc0z_93","purpur-card-cta--button-styling--expressive":"_purpur-card-cta--button-styling--expressive_1wc0z_104","purpur-card-cta--button-styling--expressive-negative":"_purpur-card-cta--button-styling--expressive-negative_1wc0z_114","purpur-card-cta--cta-styling":"_purpur-card-cta--cta-styling_1wc0z_126","purpur-card-cta--secondary":"_purpur-card-cta--secondary_1wc0z_131","purpur-card-cta--disabled":"_purpur-card-cta--disabled_1wc0z_131","purpur-card-cta--text":"_purpur-card-cta--text_1wc0z_139"},nt=l.bind(et),_="purpur-card-cta",ut=({["data-testid"]:t="purpur-card-cta",className:n,children:a,disabled:u=!1,iconPosition:i="right",loading:r=!1,text:e,linkStyling:p=!1,...c})=>s.jsx("div",{className:`${nt([_,n,{[`${_}--disabled`]:u,[`${_}--text`]:!!e,[`${_}--cta-styling`]:p,[`${_}--button-styling`]:!p,[`${_}--button-styling--md`]:!p,[`${_}--button-styling--secondary`]:!p,[`${_}--button-styling--icon-only`]:!p&&!e}])} ${_}`,"data-testid":t,...c,children:r?s.jsx(at,{"data-testid":`${t}-spinner`,size:"xs",disabled:u}):s.jsxs(s.Fragment,{children:[i==="left"&&a,e,i==="right"&&a]})});function pt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var I={exports:{}};/*!
18
18
  Copyright (c) 2018 Jed Watson.
19
19
  Licensed under the MIT License (MIT), see
20
20
  http://jedwatson.github.io/classnames
21
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u.call(this,p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,this&&this[p]||p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(U);var Kr=U.exports;const Yr=Xr(Kr),Jr={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},Qr=Yr.bind(Jr),E="purpur-icon",rt="md",tt=t=>t.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),et=({content:t="",title:n}={})=>{const e=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],u=n?`<title>${n}</title>`:"";return`<svg ${tt(e)}>${u}${t}</svg>`},at=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim(),W=({["data-testid"]:t,svg:n,allyTitle:e,className:u,size:i=rt,...r})=>{const a=et({content:at(n.svg),title:e}),p=Qr(u,E,`${E}--${i}`);return s.jsx("span",{"aria-label":e,className:p,"data-testid":t,dangerouslySetInnerHTML:{__html:a},...r})};W.displayName="Icon";const nt={name:"checkmark",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',keywords:["checkmark"],category:"utility"},X=t=>s.jsx(W,{...t,svg:nt});X.displayName="IconCheckmark";function ut(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var K={exports:{}};/*!
21
+ */var V;function it(){return V||(V=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u.call(this,p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return this&&this[r]||r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(this,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,this&&this[p]||p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(I)),I.exports}var st=it();const ot=pt(st),ct={"purpur-icon":"_purpur-icon_8u1lq_1","purpur-icon--xxs":"_purpur-icon--xxs_8u1lq_4","purpur-icon--xs":"_purpur-icon--xs_8u1lq_8","purpur-icon--sm":"_purpur-icon--sm_8u1lq_12","purpur-icon--md":"_purpur-icon--md_8u1lq_16","purpur-icon--lg":"_purpur-icon--lg_8u1lq_20","purpur-icon--xl":"_purpur-icon--xl_8u1lq_24"},lt=ot.bind(ct),F="purpur-icon",dt="md",_t=t=>t.filter(n=>Object.keys(n).length>=1).map(n=>`${n.name}="${n.value}"`).join(" "),gt=({content:t="",title:n}={})=>{const a=[{name:"xmlns",value:"http://www.w3.org/2000/svg"},{name:"fill",value:"currentColor"},{name:"viewBox",value:"0 0 24 24"},n?{name:"role",value:"img"}:{name:"aria-hidden",value:"true"}],u=n?`<title>${n}</title>`:"";return`<svg ${_t(a)}>${u}${t}</svg>`},ht=t=>t.replace(/<(\/?)svg([^>]*)>/g,"").trim(),er=({["data-testid"]:t,svg:n,allyTitle:a,className:u,size:i=dt,...r})=>{const e=gt({content:ht(n.svg),title:a}),p=lt(u,F,`${F}--${i}`);return s.jsx("span",{"aria-label":a,className:p,"data-testid":t,dangerouslySetInnerHTML:{__html:e},...r})};er.displayName="Icon";const ft={name:"checkmark",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M21.06 3.795a.9.9 0 0 1 .145 1.264l-11.5 14.5a.9.9 0 0 1-1.341.077l-6-6a.9.9 0 0 1 1.272-1.272l5.286 5.286L19.795 3.94a.9.9 0 0 1 1.264-.145Z" clip-rule="evenodd"/></svg>',keywords:["checkmark"],category:"utility"},nr=t=>s.jsx(er,{...t,svg:ft});nr.displayName="IconCheckmark";function mt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var D={exports:{}};/*!
22
22
  Copyright (c) 2018 Jed Watson.
23
23
  Licensed under the MIT License (MIT), see
24
24
  http://jedwatson.github.io/classnames
25
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(K);var pt=K.exports;const it=ut(pt),v={"purpur-paragraph":"_purpur-paragraph_1rh57_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1rh57_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1rh57_10","purpur-paragraph--negative":"_purpur-paragraph--negative_1rh57_13","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1rh57_16","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1rh57_22","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1rh57_29","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1rh57_36","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1rh57_42","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1rh57_48","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1rh57_54","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1rh57_60","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1rh57_67","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1rh57_75"},st={PARAGRAPH100:"paragraph-100",PARAGRAPH100MEDIUM:"paragraph-100-medium",PARAGRAPH100BOLD:"paragraph-100-bold",PARAGRAPH200:"paragraph-200",PREAMBLE100:"preamble-100",PREAMBLE200:"preamble-200",ADDITIONAL100:"additional-100",ADDITIONAL100MEDIUM:"additional-100-medium",OVERLINE100:"overline-100",OVERLINE200:"overline-200"},y="purpur-paragraph",A=({["data-testid"]:t,children:n,className:e,disabled:u,enableHyphenation:i=!1,negative:r=!1,variant:a=st.PARAGRAPH100,...p})=>{const c=it([e,v[y],v[`${y}--${a}`],{[v[`${y}--hyphens`]]:i,[v[`${y}--disabled`]]:u,[v[`${y}--negative`]]:r}]);return s.jsx("p",{...p,className:c,"data-testid":t,children:n})};A.displayName="Paragraph";const ot={"purpur-card-feature-list":"_purpur-card-feature-list_ej4qm_1","purpur-card-feature-list__list-item":"_purpur-card-feature-list__list-item_ej4qm_6"},k=l.bind(ot),Z="purpur-card-feature-list",ct=({["data-testid"]:t="purpur-card-feature-list",listItems:n})=>n&&n.length>0?s.jsx("ul",{className:k(Z),"data-testid":t,children:n.map(e=>s.jsxs("li",{className:k(`${Z}__list-item`),"data-testid":`${t}-item`,children:[s.jsx(X,{size:"xs"}),s.jsx(A,{children:e})]},e))}):null;function lt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Y={exports:{}};/*!
25
+ */var W;function vt(){return W||(W=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(D)),D.exports}var yt=vt();const bt=mt(yt),v={"purpur-paragraph":"_purpur-paragraph_1rh57_1","purpur-paragraph--disabled":"_purpur-paragraph--disabled_1rh57_7","purpur-paragraph--hyphens":"_purpur-paragraph--hyphens_1rh57_10","purpur-paragraph--negative":"_purpur-paragraph--negative_1rh57_13","purpur-paragraph--paragraph-100":"_purpur-paragraph--paragraph-100_1rh57_16","purpur-paragraph--paragraph-100-medium":"_purpur-paragraph--paragraph-100-medium_1rh57_22","purpur-paragraph--paragraph-100-bold":"_purpur-paragraph--paragraph-100-bold_1rh57_29","purpur-paragraph--paragraph-200":"_purpur-paragraph--paragraph-200_1rh57_36","purpur-paragraph--preamble-100":"_purpur-paragraph--preamble-100_1rh57_42","purpur-paragraph--preamble-200":"_purpur-paragraph--preamble-200_1rh57_48","purpur-paragraph--additional-100":"_purpur-paragraph--additional-100_1rh57_54","purpur-paragraph--additional-100-medium":"_purpur-paragraph--additional-100-medium_1rh57_60","purpur-paragraph--overline-100":"_purpur-paragraph--overline-100_1rh57_67","purpur-paragraph--overline-200":"_purpur-paragraph--overline-200_1rh57_75"},$t={PARAGRAPH100:"paragraph-100"},y="purpur-paragraph",q=({["data-testid"]:t,children:n,className:a,disabled:u,enableHyphenation:i=!1,negative:r=!1,variant:e=$t.PARAGRAPH100,...p})=>{const c=bt([a,v[y],v[`${y}--${e}`],{[v[`${y}--hyphens`]]:i,[v[`${y}--disabled`]]:u,[v[`${y}--negative`]]:r}]);return s.jsx("p",{...p,className:c,"data-testid":t,children:n})};q.displayName="Paragraph";const xt={"purpur-card-feature-list":"_purpur-card-feature-list_198s4_1","purpur-card-feature-list__list-item":"_purpur-card-feature-list__list-item_198s4_7"},G=l.bind(xt),U="purpur-card-feature-list",wt=({["data-testid"]:t="purpur-card-feature-list",listItems:n})=>n&&n.length>0?s.jsx("ul",{className:G(U),"data-testid":t,children:n.map(a=>s.jsxs("li",{className:G(`${U}__list-item`),"data-testid":`${t}-item`,children:[s.jsx(nr,{size:"xs"}),s.jsx(q,{children:a})]},a))}):null;function jt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var K={exports:{}};/*!
26
26
  Copyright (c) 2018 Jed Watson.
27
27
  Licensed under the MIT License (MIT), see
28
28
  http://jedwatson.github.io/classnames
29
- */(function(t){(function(){var n={}.hasOwnProperty;function e(){for(var r="",a=0;a<arguments.length;a++){var p=arguments[a];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return e.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var a="";for(var p in r)n.call(r,p)&&r[p]&&(a=i(a,p));return a}function i(r,a){return a?r?r+" "+a:r+a:r}t.exports?(e.default=e,t.exports=e):window.classNames=e})()})(Y);var dt=Y.exports;const _t=lt(dt),b={"purpur-heading":"_purpur-heading_k9fhq_1","purpur-heading--hyphens":"_purpur-heading--hyphens_k9fhq_8","purpur-heading--negative":"_purpur-heading--negative_k9fhq_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_k9fhq_14","purpur-heading--title-100":"_purpur-heading--title-100_k9fhq_20","purpur-heading--title-200":"_purpur-heading--title-200_k9fhq_26","purpur-heading--title-300":"_purpur-heading--title-300_k9fhq_32","purpur-heading--title-400":"_purpur-heading--title-400_k9fhq_38","purpur-heading--title-500":"_purpur-heading--title-500_k9fhq_44","purpur-heading--title-600":"_purpur-heading--title-600_k9fhq_50","purpur-heading--title-700":"_purpur-heading--title-700_k9fhq_56","purpur-heading--display-25":"_purpur-heading--display-25_k9fhq_62","purpur-heading--display-50":"_purpur-heading--display-50_k9fhq_68","purpur-heading--display-100":"_purpur-heading--display-100_k9fhq_74","purpur-heading--display-200":"_purpur-heading--display-200_k9fhq_80"},gt={TITLE100:"title-100",TITLE200:"title-200",TITLE300:"title-300",TITLE400:"title-400",TITLE500:"title-500",TITLE600:"title-600",TITLE700:"title-700",SUBSECTION100:"subsection-100"},x="purpur-heading",J=({["data-testid"]:t,children:n,className:e="",enableHyphenation:u=!1,negative:i=!1,tag:r,variant:a=gt.TITLE100,...p})=>{const c=r,$=_t([e,b[x],b[`${x}--${a}`],{[b[`${x}--hyphens`]]:u,[b[`${x}--negative`]]:i}]);return s.jsx(c,{...p,className:$,"data-testid":t,children:n})};J.displayName="Heading";const ht={"purpur-card-heading":"_purpur-card-heading_1lsjo_1","purpur-card-heading__heading":"_purpur-card-heading__heading_1lsjo_6","purpur-card-heading__icon":"_purpur-card-heading__icon_1lsjo_11"},j=l.bind(ht),N="purpur-card-heading",ft=({["data-testid"]:t="purpur-card-heading",title:n,icon:e,children:u,titleTag:i="h2"})=>s.jsxs("div",{className:j(N),"data-testid":t,children:[s.jsxs("div",{className:j(`${N}__heading`),children:[e&&s.jsx("div",{className:j(`${N}__icon`),children:e}),s.jsx(J,{tag:i,variant:"title-100",children:n})]}),u]}),mt={"purpur-card-media":"_purpur-card-media_udc1o_1"},vt=l.bind(mt),yt="purpur-card-media",bt=({["data-testid"]:t="purpur-card-media",className:n,children:e})=>s.jsx("div",{className:vt([yt,n]),"data-testid":t,children:e}),xt={"purpur-card-media-layout":"_purpur-card-media-layout_1yfvb_1"},$t=l.bind(xt),wt="purpur-card-media-layout",jt=({["data-testid"]:t="purpur-card-media-layout",className:n,children:e})=>s.jsx("div",{className:$t([wt,n]),"data-testid":t,children:e}),Nt={"purpur-card-overline":"_purpur-card-overline_192fe_1"},Ct=l.bind(Nt),St="purpur-card-overline",Ot=({["data-testid"]:t="purpur-card-overline",overline:n})=>n?s.jsx(A,{className:Ct(St),"data-testid":t,children:n}):null,At={"purpur-card-root":"_purpur-card-root_bqk1d_1","purpur-card-root--primary":"_purpur-card-root--primary_bqk1d_8","purpur-card-root--secondary":"_purpur-card-root--secondary_bqk1d_11","purpur-card-root--full-height":"_purpur-card-root--full-height_bqk1d_14"},zt={"purpur-card-trigger-item":"_purpur-card-trigger-item_1sp43_1","purpur-card-trigger-item--button":"_purpur-card-trigger-item--button_1sp43_6","purpur-card-trigger-item--disabled":"_purpur-card-trigger-item--disabled_1sp43_11"};function P(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function Mt(...t){return n=>{let e=!1;const u=t.map(i=>{const r=P(i,n);return!e&&typeof r=="function"&&(e=!0),r});if(e)return()=>{for(let i=0;i<u.length;i++){const r=u[i];typeof r=="function"?r():P(t[i],null)}}}}var Q=o.forwardRef((t,n)=>{const{children:e,...u}=t,i=o.Children.toArray(e),r=i.find(Rt);if(r){const a=r.props.children,p=i.map(c=>c===r?o.Children.count(a)>1?o.Children.only(null):o.isValidElement(a)?a.props.children:null:c);return s.jsx(O,{...u,ref:n,children:o.isValidElement(a)?o.cloneElement(a,void 0,p):null})}return s.jsx(O,{...u,ref:n,children:e})});Q.displayName="Slot";var O=o.forwardRef((t,n)=>{const{children:e,...u}=t;if(o.isValidElement(e)){const i=kt(e),r=Et(u,e.props);return e.type!==o.Fragment&&(r.ref=n?Mt(n,i):i),o.cloneElement(e,r)}return o.Children.count(e)>1?o.Children.only(null):null});O.displayName="SlotClone";var qt=({children:t})=>s.jsx(s.Fragment,{children:t});function Rt(t){return o.isValidElement(t)&&t.type===qt}function Et(t,n){const e={...n};for(const u in n){const i=t[u],r=n[u];/^on[A-Z]/.test(u)?i&&r?e[u]=(...a)=>{r(...a),i(...a)}:i&&(e[u]=i):u==="style"?e[u]={...i,...r}:u==="className"&&(e[u]=[i,r].filter(Boolean).join(" "))}return{...t,...e}}function kt(t){var n,e;let u=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,i=u&&"isReactWarning"in u&&u.isReactWarning;return i?t.ref:(u=(e=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:e.get,i=u&&"isReactWarning"in u&&u.isReactWarning,i?t.props.ref:t.props.ref||t.ref)}var Zt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Pt=Zt.reduce((t,n)=>{const e=o.forwardRef((u,i)=>{const{asChild:r,...a}=u,p=r?Q:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(p,{...a,ref:i})});return e.displayName=`Primitive.${n}`,{...t,[n]:e}},{}),Tt="VisuallyHidden",rr=o.forwardRef((t,n)=>s.jsx(Pt.span,{...t,ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...t.style}}));rr.displayName=Tt;var It=rr;const T=({asChild:t,children:n,className:e="",["data-testid"]:u})=>s.jsx(It,{asChild:t,"data-testid":u,className:e,children:n}),I=l.bind(zt),h="purpur-card-trigger-item",Lt=({["data-testid"]:t="purpur-card-trigger-item",disabled:n=!1,href:e,onClick:u,screenReaderText:i})=>{const r=p=>{n?p.preventDefault():u&&u()},a=`${h} ${n?`${h}--disabled`:""}`;return e?s.jsx("a",{"aria-disabled":n,className:`${I([h,{[`${h}--disabled`]:n}])} ${a}`,"data-testid":t,href:n?void 0:e,tabIndex:n?0:void 0,onClick:r,children:s.jsx(T,{children:i})}):s.jsx("button",{"aria-disabled":n,className:`${I([h,`${h}--button`,{[`${h}--disabled`]:n}])} ${a}`,"data-testid":t,type:"button",onClick:r,children:s.jsx(T,{children:i})})},Ht=l.bind(At),C="purpur-card-root",tr=H.forwardRef(({["data-testid"]:t="purpur-card-root",children:n,className:e,disabled:u,fullHeight:i,href:r,onClick:a,screenReaderText:p,variant:c,...$},er)=>{const ar=Ht([C,e,{[`${C}--${c}`]:c,[`${C}--full-height`]:i}]);return s.jsxs("div",{className:ar,"data-testid":t,ref:er,...$,children:[n,(a||r)&&p&&s.jsx(Lt,{disabled:u,href:r,onClick:a,screenReaderText:p})]})});tr.displayName="CardRoot";const L=l.bind(ir),S="purpur-card",d=({children:t,className:n,...e})=>{const u=L([S,n,{[`${S}--is-interactive`]:e.onClick||e.href,[`${S}--disabled`]:e.disabled}]);return s.jsx(tr,{className:L(u),...e,children:t})};d.Badge=qr;d.Content=Zr;d.ContentContainer=Ir;d.Cta=Wr;d.FeatureList=ct;d.Overline=Ot;d.Heading=ft;d.Media=bt;d.MediaLayout=jt;d.displayName="Card";exports.Card=d;
29
+ */var Y;function Nt(){return Y||(Y=1,function(t){(function(){var n={}.hasOwnProperty;function a(){for(var r="",e=0;e<arguments.length;e++){var p=arguments[e];p&&(r=i(r,u(p)))}return r}function u(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return a.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var e="";for(var p in r)n.call(r,p)&&r[p]&&(e=i(e,p));return e}function i(r,e){return e?r?r+" "+e:r+e:r}t.exports?(a.default=a,t.exports=a):window.classNames=a})()}(K)),K.exports}var Ct=Nt();const St=jt(Ct),b={"purpur-heading":"_purpur-heading_k9fhq_1","purpur-heading--hyphens":"_purpur-heading--hyphens_k9fhq_8","purpur-heading--negative":"_purpur-heading--negative_k9fhq_11","purpur-heading--subsection-100":"_purpur-heading--subsection-100_k9fhq_14","purpur-heading--title-100":"_purpur-heading--title-100_k9fhq_20","purpur-heading--title-200":"_purpur-heading--title-200_k9fhq_26","purpur-heading--title-300":"_purpur-heading--title-300_k9fhq_32","purpur-heading--title-400":"_purpur-heading--title-400_k9fhq_38","purpur-heading--title-500":"_purpur-heading--title-500_k9fhq_44","purpur-heading--title-600":"_purpur-heading--title-600_k9fhq_50","purpur-heading--title-700":"_purpur-heading--title-700_k9fhq_56","purpur-heading--display-25":"_purpur-heading--display-25_k9fhq_62","purpur-heading--display-50":"_purpur-heading--display-50_k9fhq_68","purpur-heading--display-100":"_purpur-heading--display-100_k9fhq_74","purpur-heading--display-200":"_purpur-heading--display-200_k9fhq_80"},zt={TITLE100:"title-100"},$="purpur-heading",ur=({["data-testid"]:t,children:n,className:a="",enableHyphenation:u=!1,negative:i=!1,tag:r,variant:e=zt.TITLE100,...p})=>{const c=r,x=St([a,b[$],b[`${$}--${e}`],{[b[`${$}--hyphens`]]:u,[b[`${$}--negative`]]:i}]);return s.jsx(c,{...p,className:x,"data-testid":t,children:n})};ur.displayName="Heading";const Ot={"purpur-card-heading":"_purpur-card-heading_1lsjo_1","purpur-card-heading__heading":"_purpur-card-heading__heading_1lsjo_6","purpur-card-heading__icon":"_purpur-card-heading__icon_1lsjo_11"},N=l.bind(Ot),C="purpur-card-heading",qt=({["data-testid"]:t="purpur-card-heading",title:n,icon:a,children:u,titleTag:i="h2"})=>s.jsxs("div",{className:N(C),"data-testid":t,children:[s.jsxs("div",{className:N(`${C}__heading`),children:[a&&s.jsx("div",{className:N(`${C}__icon`),children:a}),s.jsx(ur,{tag:i,variant:"title-100",children:n})]}),u]}),At={"purpur-card-media":"_purpur-card-media_udc1o_1"},kt=l.bind(At),Mt="purpur-card-media",Zt=({["data-testid"]:t="purpur-card-media",className:n,children:a})=>s.jsx("div",{className:kt([Mt,n]),"data-testid":t,children:a}),Rt={"purpur-card-media-layout":"_purpur-card-media-layout_1yfvb_1"},Pt=l.bind(Rt),Et="purpur-card-media-layout",Ht=({["data-testid"]:t="purpur-card-media-layout",className:n,children:a})=>s.jsx("div",{className:Pt([Et,n]),"data-testid":t,children:a}),Bt={"purpur-card-overline":"_purpur-card-overline_192fe_1"},Lt=l.bind(Bt),Tt="purpur-card-overline",It=({["data-testid"]:t="purpur-card-overline",overline:n})=>n?s.jsx(q,{className:Lt(Tt),"data-testid":t,children:n}):null,Vt={"purpur-card-root":"_purpur-card-root_bqk1d_1","purpur-card-root--primary":"_purpur-card-root--primary_bqk1d_8","purpur-card-root--secondary":"_purpur-card-root--secondary_bqk1d_11","purpur-card-root--full-height":"_purpur-card-root--full-height_bqk1d_14"},Ft={"purpur-card-trigger-item":"_purpur-card-trigger-item_1sp43_1","purpur-card-trigger-item--button":"_purpur-card-trigger-item--button_1sp43_6","purpur-card-trigger-item--disabled":"_purpur-card-trigger-item--disabled_1sp43_11"};function J(t,n){if(typeof t=="function")return t(n);t!=null&&(t.current=n)}function Dt(...t){return n=>{let a=!1;const u=t.map(i=>{const r=J(i,n);return!a&&typeof r=="function"&&(a=!0),r});if(a)return()=>{for(let i=0;i<u.length;i++){const r=u[i];typeof r=="function"?r():J(t[i],null)}}}}var pr=o.forwardRef((t,n)=>{const{children:a,...u}=t,i=o.Children.toArray(a),r=i.find(Gt);if(r){const e=r.props.children,p=i.map(c=>c===r?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:c);return s.jsx(O,{...u,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,p):null})}return s.jsx(O,{...u,ref:n,children:a})});pr.displayName="Slot";var O=o.forwardRef((t,n)=>{const{children:a,...u}=t;if(o.isValidElement(a)){const i=Kt(a),r=Ut(u,a.props);return a.type!==o.Fragment&&(r.ref=n?Dt(n,i):i),o.cloneElement(a,r)}return o.Children.count(a)>1?o.Children.only(null):null});O.displayName="SlotClone";var Wt=({children:t})=>s.jsx(s.Fragment,{children:t});function Gt(t){return o.isValidElement(t)&&t.type===Wt}function Ut(t,n){const a={...n};for(const u in n){const i=t[u],r=n[u];/^on[A-Z]/.test(u)?i&&r?a[u]=(...e)=>{r(...e),i(...e)}:i&&(a[u]=i):u==="style"?a[u]={...i,...r}:u==="className"&&(a[u]=[i,r].filter(Boolean).join(" "))}return{...t,...a}}function Kt(t){var n,a;let u=(n=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:n.get,i=u&&"isReactWarning"in u&&u.isReactWarning;return i?t.ref:(u=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,i=u&&"isReactWarning"in u&&u.isReactWarning,i?t.props.ref:t.props.ref||t.ref)}var Yt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Jt=Yt.reduce((t,n)=>{const a=o.forwardRef((u,i)=>{const{asChild:r,...e}=u,p=r?pr:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(p,{...e,ref:i})});return a.displayName=`Primitive.${n}`,{...t,[n]:a}},{}),Qt="VisuallyHidden",ir=o.forwardRef((t,n)=>s.jsx(Jt.span,{...t,ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...t.style}}));ir.displayName=Qt;var Xt=ir;const Q=({asChild:t,children:n,className:a="",["data-testid"]:u})=>s.jsx(Xt,{asChild:t,"data-testid":u,className:a,children:n}),X=l.bind(Ft),h="purpur-card-trigger-item",ra=({["data-testid"]:t="purpur-card-trigger-item",disabled:n=!1,href:a,onClick:u,screenReaderText:i})=>{const r=p=>{n?p.preventDefault():u&&u()},e=`${h} ${n?`${h}--disabled`:""}`;return a?s.jsx("a",{"aria-disabled":n,className:`${X([h,{[`${h}--disabled`]:n}])} ${e}`,"data-testid":t,href:n?void 0:a,tabIndex:n?0:void 0,onClick:r,children:s.jsx(Q,{children:i})}):s.jsx("button",{"aria-disabled":n,className:`${X([h,`${h}--button`,{[`${h}--disabled`]:n}])} ${e}`,"data-testid":t,type:"button",onClick:r,children:s.jsx(Q,{children:i})})},ta=l.bind(Vt),S="purpur-card-root",sr=tr.forwardRef(({["data-testid"]:t="purpur-card-root",children:n,className:a,disabled:u,fullHeight:i,href:r,onClick:e,screenReaderText:p,variant:c,...x},or)=>{const cr=ta([S,a,{[`${S}--${c}`]:c,[`${S}--full-height`]:i}]);return s.jsxs("div",{className:cr,"data-testid":t,ref:or,...x,children:[n,(e||r)&&p&&s.jsx(ra,{disabled:u,href:r,onClick:e,screenReaderText:p})]})});sr.displayName="CardRoot";const rr=l.bind(hr),z="purpur-card",d=({children:t,className:n,...a})=>{const u=rr([z,n,{[`${z}--is-interactive`]:a.onClick||a.href,[`${z}--disabled`]:a.disabled}]);return s.jsx(sr,{className:rr(u),...a,children:t})};d.Badge=Ir;d.Content=Wr;d.ContentContainer=Kr;d.Cta=ut;d.FeatureList=wt;d.Overline=It;d.Heading=qt;d.Media=Zt;d.MediaLayout=Ht;d.displayName="Card";exports.Card=d;
30
30
  //# sourceMappingURL=card.cjs.js.map