@cruk/chakra-components 2.1.0-dev.8 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/components/Card/index.js +1 -1
  3. package/dist/cjs/components/Card/index.js.map +1 -1
  4. package/dist/cjs/components/Footer/index.js +1 -1
  5. package/dist/cjs/components/Footer/index.js.map +1 -1
  6. package/dist/cjs/components/Link/index.js +1 -1
  7. package/dist/cjs/components/Link/index.js.map +1 -1
  8. package/dist/cjs/components/ReferenceBlock/index.js +1 -1
  9. package/dist/cjs/components/ReferenceBlock/index.js.map +1 -1
  10. package/dist/cjs/components/StickyNavigation/index.js +2 -0
  11. package/dist/cjs/components/StickyNavigation/index.js.map +1 -0
  12. package/dist/cjs/components/VimeoEmbed/index.js +2 -0
  13. package/dist/cjs/components/VimeoEmbed/index.js.map +1 -0
  14. package/dist/cjs/index.js +1 -1
  15. package/dist/cjs/theme/cruk/components/link.js +1 -1
  16. package/dist/cjs/theme/cruk/components/popover.js +1 -1
  17. package/dist/cjs/theme/cruk/components/popover.js.map +1 -1
  18. package/dist/cjs/theme/cruk/components/simpleHeader.js +1 -1
  19. package/dist/cjs/theme/cruk/components/simpleHeader.js.map +1 -1
  20. package/dist/cjs/theme/r4l/components/popover.js +1 -1
  21. package/dist/cjs/theme/r4l/components/popover.js.map +1 -1
  22. package/dist/cjs/theme/r4l/foundations/semantic-tokens.js +1 -1
  23. package/dist/cjs/theme/r4l/foundations/semantic-tokens.js.map +1 -1
  24. package/dist/cjs/theme/su2c/components/popover.js +2 -0
  25. package/dist/cjs/theme/su2c/components/popover.js.map +1 -0
  26. package/dist/cjs/theme/su2c/foundations/semantic-tokens.js +1 -1
  27. package/dist/cjs/theme/su2c/foundations/semantic-tokens.js.map +1 -1
  28. package/dist/cjs/theme/su2c/index.js +1 -1
  29. package/dist/cjs/theme/su2c/index.js.map +1 -1
  30. package/dist/esm/components/Card/index.js +1 -1
  31. package/dist/esm/components/Card/index.js.map +1 -1
  32. package/dist/esm/components/Footer/index.js +1 -1
  33. package/dist/esm/components/Footer/index.js.map +1 -1
  34. package/dist/esm/components/Link/index.js +1 -1
  35. package/dist/esm/components/Link/index.js.map +1 -1
  36. package/dist/esm/components/ReferenceBlock/index.js +1 -1
  37. package/dist/esm/components/ReferenceBlock/index.js.map +1 -1
  38. package/dist/esm/components/StickyNavigation/index.js +2 -0
  39. package/dist/esm/components/StickyNavigation/index.js.map +1 -0
  40. package/dist/esm/components/VimeoEmbed/index.js +2 -0
  41. package/dist/esm/components/VimeoEmbed/index.js.map +1 -0
  42. package/dist/esm/index.js +1 -1
  43. package/dist/esm/theme/cruk/components/link.js +1 -1
  44. package/dist/esm/theme/cruk/components/popover.js +1 -1
  45. package/dist/esm/theme/cruk/components/popover.js.map +1 -1
  46. package/dist/esm/theme/cruk/components/simpleHeader.js +1 -1
  47. package/dist/esm/theme/cruk/components/simpleHeader.js.map +1 -1
  48. package/dist/esm/theme/r4l/components/popover.js +1 -1
  49. package/dist/esm/theme/r4l/components/popover.js.map +1 -1
  50. package/dist/esm/theme/r4l/foundations/semantic-tokens.js +1 -1
  51. package/dist/esm/theme/r4l/foundations/semantic-tokens.js.map +1 -1
  52. package/dist/esm/theme/su2c/components/popover.js +2 -0
  53. package/dist/esm/theme/su2c/components/popover.js.map +1 -0
  54. package/dist/esm/theme/su2c/foundations/semantic-tokens.js +1 -1
  55. package/dist/esm/theme/su2c/foundations/semantic-tokens.js.map +1 -1
  56. package/dist/esm/theme/su2c/index.js +1 -1
  57. package/dist/esm/theme/su2c/index.js.map +1 -1
  58. package/dist/index.d.ts +21 -3
  59. package/package.json +3 -2
package/README.md CHANGED
@@ -52,7 +52,7 @@ export default App;
52
52
 
53
53
  ### Development Setup
54
54
 
55
- After cloning the repository, install dependencies:
55
+ After cloning the repository, install the dependencies:
56
56
  ```bash
57
57
  # Clone and setup
58
58
  git clone https://github.com/CRUKorg/cruk-chakra-components
@@ -1,2 +1,2 @@
1
- "use client";"use strict";var e=require("react/jsx-runtime"),t=require("@chakra-ui/icons"),i=require("@chakra-ui/react"),a=require("../Button/index.js");require("../Flex/index.js");var s=require("../Heading/index.js"),r=require("../Icon/index.js"),n=require("../Image/index.js"),o=require("../KeyStatistics/index.js"),c=require("../Link/index.js"),l=require("../Text/index.js"),d=require("../KeyStatistics/TwoBlockStatistics.js");const x=t=>{const{as:a,src:s,alt:r,width:o,height:c,aspectHeight:l,aspectWidth:d,aspectMaxHeight:x,aspectMaxWidth:h,style:g,...u}=t;return e.jsx(i.AspectRatio,{height:l,width:d,ratio:1,minW:128,minH:128,maxW:h,maxH:x,...u,children:e.jsx(n.Image,{as:a,src:s,alt:r,width:o,height:c,style:g})})},h=t=>e.jsx(i.Box,{display:{base:"block",md:"flex"},flex:{base:"unset",md:1},children:e.jsx(x,{...t})}),g=({image:t,icon:i,singleKeyStats:a,twoBlockStats:s})=>{if(i)return e.jsx(r.Icon,{name:i.name});if(a)return e.jsx(o.SingleStatistics,{statistic:a.statistic,isBarChart:a.isBarChart,labelStyle:a.labelStyle,hasSecondaryStyling:a.hasSecondaryStyling,icon:a.icon&&{name:a.icon.name,color:a.icon.color}});if(s)return e.jsx(d.TwoBlockStatistics,{hasSecondaryStyling:s.hasSecondaryStyling,leftValue:s.leftValue,rightValue:s.rightValue});const{isWrapped:n,...c}=t??{};return n?e.jsx(h,{...c}):e.jsx(x,{...c})},u=i.forwardRef(((n,o)=>{const{variant:d="unstyled",image:x,cardImageContainer:h,icon:u,label:j,heading:p,description:S,button:m,link:y,singleKeyStats:f,twoBlockStats:k,stackProps:b,tag:w,href:B="",...q}=n,C="groupNavigation"===d||"singleNavigation"===d||"noImageNavigation"===d,v=Boolean(x||u||f||k);return e.jsxs(i.Card,{ref:o,variant:d,href:B,...q,children:[v&&e.jsxs(i.Box,{position:"relative",height:h,children:[e.jsx(g,{image:x,icon:u,singleKeyStats:f,twoBlockStats:k}),w&&e.jsx(i.Tag,{position:"absolute",top:0,...w})]}),e.jsxs(i.Stack,{width:"100%",spacing:4,children:[e.jsx(i.CardBody,{children:e.jsxs(i.Stack,{spacing:2,width:"100%",height:"100%",...b,children:[j&&e.jsx(l.Text,{bgColor:"cardTextBackgroundColor",variant:"label",className:"label-text",width:"fit-content",py:1,px:3,children:j}),p&&e.jsxs(i.Flex,{justifyContent:"space-between",alignItems:"center",width:"100%",children:[e.jsx(s.Heading4,{...p}),C&&e.jsx(r.Icon,{as:t.ArrowForwardIcon,boxSize:6,p:0})]}),S]})}),(m||y)&&e.jsxs(i.CardFooter,{alignItems:"flex-start",children:[m&&e.jsx(a.Button,{...m}),y&&e.jsx(c.Link,{...y})]})]})]})})),j=i.forwardRef(((t,r)=>{const{heading:n,description:o,hasSteps:l=!1,numberOfColumns:d,cards:x,link:h,button:g,gridGap:j={base:6,lg:8,xl:10},...p}=t;return e.jsxs(i.Stack,{ref:r,spacing:6,...p,children:[n&&e.jsx(s.Heading2,{...n}),o,x&&e.jsx(i.SimpleGrid,{columns:d,gap:j,children:x.map(((t,i)=>e.jsx(u,{label:l?`Step: ${i+1}`:void 0,...t},`card-item-${i}`)))}),g&&e.jsx(a.Button,{...g}),h&&e.jsx(c.Link,{...h})]})}));exports.Card=u,exports.CardStack=j;
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),t=require("@chakra-ui/icons"),i=require("@chakra-ui/react"),a=require("../Button/index.js");require("../Flex/index.js");var s=require("../Heading/index.js"),r=require("../Icon/index.js"),n=require("../Image/index.js"),o=require("../KeyStatistics/index.js"),l=require("../Link/index.js"),c=require("../Text/index.js"),d=require("../KeyStatistics/TwoBlockStatistics.js");const x=t=>{const{as:a,src:s,alt:r,width:o,height:l,aspectHeight:c,aspectWidth:d,aspectMaxHeight:x,aspectMaxWidth:h,style:g,...u}=t;return e.jsx(i.AspectRatio,{height:c,width:d,ratio:1,minW:128,minH:128,maxW:h,maxH:x,...u,children:e.jsx(n.Image,{as:a,src:s,alt:r,width:o,height:l,style:g})})},h=t=>e.jsx(i.Box,{display:{base:"block",md:"flex"},flex:{base:"unset",md:1},children:e.jsx(x,{...t})}),g=({image:t,icon:i,singleKeyStats:a,twoBlockStats:s})=>{if(i)return e.jsx(r.Icon,{name:i.name});if(a)return e.jsx(o.SingleStatistics,{statistic:a.statistic,isBarChart:a.isBarChart,labelStyle:a.labelStyle,hasSecondaryStyling:a.hasSecondaryStyling,icon:a.icon&&{name:a.icon.name,color:a.icon.color}});if(s)return e.jsx(d.TwoBlockStatistics,{hasSecondaryStyling:s.hasSecondaryStyling,leftValue:s.leftValue,rightValue:s.rightValue});const{isWrapped:n,...l}=t??{};return n?e.jsx(h,{...l}):e.jsx(x,{...l})},u=i.forwardRef(((n,o)=>{const{variant:d="unstyled",image:x,cardImageContainer:h,icon:u,label:j,heading:p,description:S,button:m,link:y,href:f,singleKeyStats:k,twoBlockStats:w,stackProps:b,tag:B,cardLayout:v="vertical",...C}=n,q="groupNavigation"===d||"singleNavigation"===d||"noImageNavigation"===d,I=Boolean(x||u||k||w);return e.jsx(i.Card,{ref:o,variant:d,href:f,...C,children:e.jsxs(i.Flex,{direction:"horizontal"===v?{base:"column",lg:"row"}:"column",width:"100%",children:[I&&e.jsxs(i.Box,{style:{position:"relative"},flexShrink:0,width:"horizontal"===v?{base:"100%",lg:"293px"}:"100%",height:h,children:[e.jsx(g,{image:x,icon:u,singleKeyStats:k,twoBlockStats:w}),B&&e.jsx(i.Tag,{style:{position:"absolute",top:0},...B})]}),e.jsxs(i.Stack,{width:"100%",spacing:4,height:"100%",children:[e.jsx(i.CardBody,{display:"horizontal"===v?"flex":void 0,alignItems:"horizontal"===v?"center":void 0,height:"100%",py:7,children:e.jsxs(i.Stack,{spacing:2,width:"100%",height:"100%",flex:1,justifyContent:"center",...b,children:[j&&e.jsx(c.Text,{bgColor:"cardTextBackgroundColor",variant:"label",className:"label-text",width:"fit-content",py:1,px:3,children:j}),p&&e.jsxs(i.Flex,{justifyContent:"space-between",alignItems:"center",width:"100%",children:[e.jsx(s.Heading4,{...p}),q&&e.jsx(r.Icon,{as:t.ArrowForwardIcon,boxSize:6,p:0})]}),S]})}),(m||y)&&e.jsxs(i.CardFooter,{alignItems:"flex-start",children:[m&&e.jsx(a.Button,{...m}),y&&e.jsx(l.Link,{...y})]})]})]})})})),j=i.forwardRef(((t,r)=>{const{heading:n,description:o,hasSteps:c=!1,numberOfColumns:d,cards:x,link:h,button:g,gridGap:j={base:6,lg:8,xl:10},...p}=t;return e.jsxs(i.Stack,{ref:r,spacing:6,...p,children:[n&&e.jsx(s.Heading2,{...n}),o,x&&e.jsx(i.SimpleGrid,{columns:d,gap:j,children:x.map(((t,i)=>e.jsx(u,{label:c?`Step: ${i+1}`:void 0,...t},`card-item-${i}`)))}),g&&e.jsx(a.Button,{...g}),h&&e.jsx(l.Link,{...h})]})}));exports.Card=u,exports.CardStack=j;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/Card/index.tsx"],"sourcesContent":[null],"names":["CardImage","imageProps","as","src","alt","width","height","aspectHeight","aspectWidth","aspectMaxHeight","aspectMaxWidth","style","restImageProps","_jsx","AspectRatio","ratio","minW","minH","maxW","maxH","children","jsx","Image","WrappedCardImage","Box","display","base","md","flex","CardImagery","image","icon","singleKeyStats","twoBlockStats","Icon","name","SingleStatistics","statistic","isBarChart","labelStyle","hasSecondaryStyling","color","TwoBlockStatistics","leftValue","rightValue","isWrapped","Card","forwardRef","props","ref","variant","cardImageContainer","label","heading","description","button","link","stackProps","tag","href","rest","displayArrow","hasImagery","Boolean","_jsxs","ChakraCard","position","Tag","top","Stack","spacing","CardBody","Text","bgColor","className","py","px","Flex","justifyContent","alignItems","Heading4","ArrowForwardIcon","boxSize","p","jsxs","CardFooter","Button","Link","CardStack","hasSteps","numberOfColumns","cards","gridGap","lg","xl","Heading2","SimpleGrid","columns","gap","map","card","index","undefined"],"mappings":"8aAsDA,MAAMA,EAAaC,I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AIhD7B,QAGHC,GAAUC,IACVQ,EAAAoB,KAACC,EAAUA,WAAC,CAAAN,WAAW,aACpB3D,SAAA,CAAAmC,GAAU1C,EAAAA,IAACyE,EAAMA,OAAK,IAAA/B,IACtBC,GAAQ3C,EAAAA,IAAC0E,EAAAA,KAAI,IAAK/B,YAId,IAeXgC,EAAYzC,EAAUA,YAAwB,CAACC,EAAOC,KAC1D,MAAMI,QACJA,EAAOC,YACPA,EAAWmC,SACXA,GAAW,EAAKC,gBAChBA,EAAeC,MACfA,EAAKnC,KACLA,EAAID,OACJA,EAAMqC,QACNA,EAAU,CAAElE,KAAM,EAAGmE,GAAI,EAAGC,GAAI,OAC7BlC,GACDZ,EAEJ,OACEgB,OAACK,EAAKA,MAAA,CAACpB,IAAKA,EAAKqB,QAAS,KAAOV,YAC9BP,GAAWxC,EAAAA,IAACkF,EAAAA,SAAQ,IAAK1C,IACzBC,EACAqC,GACC9E,EAAAA,IAACmF,EAAAA,YAAWC,QAASP,EAAiBQ,IAAKN,EAAOxE,SAC/CuE,EAAMQ,KAAI,CAACC,EAAMC,IAChBxF,EAAAA,IAACiC,EAEC,CAAAM,MAAOqC,EAAW,SAASY,EAAQ,SAAMC,KACrCF,GAFC,aAAaC,SAOzB9C,GAAU1C,EAAAA,IAACyE,EAAAA,OAAW,IAAA/B,IACtBC,GAAQ3C,EAAAA,IAAC0E,EAAAA,SAAS/B,MACb"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/Card/index.tsx"],"sourcesContent":[null],"names":["CardImage","imageProps","as","src","alt","width","height","aspectHeight","aspectWidth","aspectMaxHeight","aspectMaxWidth","style","restImageProps","_jsx","AspectRatio","ratio","minW","minH","maxW","maxH","children","jsx","Image","WrappedCardImage","Box","display","base","md","flex","CardImagery","image","icon","singleKeyStats","twoBlockStats","Icon","name","SingleStatistics","statistic","isBarChart","labelStyle","hasSecondaryStyling","color","TwoBlockStatistics","leftValue","rightValue","isWrapped","Card","forwardRef","props","ref","variant","cardImageContainer","label","heading","description","button","link","href","stackProps","tag","cardLayout","rest","displayArrow","hasImagery","Boolean","ChakraCard","_jsxs","Flex","direction","lg","jsxs","position","flexShrink","Tag","top","Stack","spacing","CardBody","undefined","alignItems","py","justifyContent","Text","bgColor","className","px","Heading4","ArrowForwardIcon","boxSize","p","CardFooter","Button","Link","CardStack","hasSteps","numberOfColumns","cards","gridGap","xl","Heading2","SimpleGrid","columns","gap","map","card","index"],"mappings":"8aAuDA,MAAMA,EAAaC,IACjB,MAAMC,GACJA,EAAEC,IACFA,EAAGC,IACHA,EAAGC,MACHA,EAAKC,OACLA,EAAMC,aACNA,EAAYC,YACZA,EAAWC,gBACXA,EAAeC,eACfA,EAAcC,MACdA,KACGC,GACDX,EAEJ,OACEY,EAAAA,IAACC,EAAAA,YAAW,CACVR,OAAQC,EACRF,MAAOG,EACPO,MAAO,EACPC,KAAM,IACNC,KAAM,IACNC,KAAMR,EACNS,KAAMV,KACFG,EAEJQ,SAAAP,EAAAQ,IAACC,QAAK,CACJpB,GAAIA,EACJC,IAAKA,EACLC,IAAKA,EACLC,MAAOA,EACPC,OAAQA,EACRK,MAAOA,KAEG,EAIZY,EAAoBtB,GACxBY,EAAAQ,IAACG,MAAI,CAAAC,QAAS,CAAEC,KAAM,QAASC,GAAI,QAAUC,KAAM,CAAEF,KAAM,QAASC,GAAI,GAAGP,SACzEP,MAACb,EAAS,IAAMC,MAId4B,EAAc,EAClBC,QACAC,OACAC,iBACAC,oBAEA,GAAIF,EACF,OAAOlB,EAAAA,IAACqB,EAAAA,KAAK,CAAAC,KAAMJ,EAAKI,OAG1B,GAAIH,EACF,OACEnB,EAAAA,IAACuB,EAAAA,iBAAgB,CACfC,UAAWL,EAAeK,UAC1BC,WAAYN,EAAeM,WAC3BC,WAAYP,EAAeO,WAC3BC,oBAAqBR,EAAeQ,oBACpCT,KACEC,EAAeD,MAAQ,CACrBI,KAAMH,EAAeD,KAAKI,KAC1BM,MAAOT,EAAeD,KAAKU,SAOrC,GAAIR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IAACuF,EAAAA,YAAWC,QAASN,EAAiBO,IAAKL,EAAO7E,SAC/C4E,EAAMO,KAAI,CAACC,EAAMC,IAChB5F,EAAAA,IAACiC,EAEC,CAAAM,MAAO0C,EAAW,SAASW,EAAQ,SAAM3B,KACrC0B,GAFC,aAAaC,SAOzBlD,GAAU1C,EAAAA,IAAC8E,EAAAA,OAAW,IAAApC,IACtBC,GAAQ3C,EAAAA,IAAC+E,EAAAA,SAASpC,MACb"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),i=require("@chakra-ui/react"),r=require("../Divider/index.js");require("../Flex/index.js");var a=require("../Heading/index.js"),n=require("../Icon/index.js"),s=require("../Image/index.js"),t=require("../Link/index.js"),d=require("../Text/index.js");const l=i.forwardRef(((l,o)=>{const{socialLinks:x,textLinks:c,imageLinks:h,ourPartners:j,registrationDetails:k,variant:m="default",numberOfColumns:g={sm:1,md:2,lg:4},strokeHeading:u,...f}=l,L=i.useStyleConfig("Footer");return e.jsxs(i.Box,{id:"footer",as:"footer",ref:o,...f,__css:L,children:[j,e.jsx(r.Divider,{variant:m,ref:o,width:"auto"}),x?e.jsx("nav",{"aria-label":"social links",id:"social-links",children:e.jsx(i.Flex,{as:i.List,id:"social-links-flex",children:x.map((r=>e.jsx(i.ListItem,{children:e.jsx(t.Link,{href:r.href,title:r.name,"data-testid":`socialLink-${r.name}`,target:r?.openInNewTab?"_blank":void 0,children:e.jsx(n.Icon,{id:"social-icon",name:r.name})})},r.name)))})}):void 0,u&&e.jsx(a.Heading3,{id:"stroke-heading",children:u}),e.jsx("nav",{"aria-label":"Footer menu",id:"text-link-nav",children:e.jsx(i.SimpleGrid,{as:i.List,columns:g,id:"text-link-grid",children:c&&c.map((r=>e.jsx(i.ListItem,{role:"listitem",children:e.jsx(t.Link,{"data-testid":`textLink-${r.key}`,as:r.as,href:r.href,variant:"footer",target:r?.openInNewTab?"_blank":void 0,children:r.displayName})},r.key)))})}),h&&e.jsx("nav",{"aria-label":"Regulatory organisations",children:e.jsx(i.Flex,{as:i.List,id:"image-links-container",children:h.map((r=>e.jsx(i.ListItem,{children:e.jsx(t.Link,{href:r.href,title:r.title,"data-testid":`imageLink-${r.key}`,target:r?.openInNewTab?"_blank":void 0,children:e.jsx(s.Image,{alt:r.alt,src:r.src,width:r.width,height:r.height,loading:r.loading})})},r.key)))})}),e.jsx(d.Text,{as:"address",id:"registration",children:k})]})}));exports.Footer=l;
1
+ "use strict";var e=require("react/jsx-runtime"),i=require("@chakra-ui/react"),a=require("../Divider/index.js");require("../Flex/index.js");var r=require("../Heading/index.js"),n=require("../Icon/index.js"),t=require("../Image/index.js"),s=require("../Link/index.js"),d=require("../Text/index.js");const l=i.forwardRef(((l,o)=>{const{socialLinks:x,textLinks:c,imageLinks:h,ourPartners:k,registrationDetails:m,variant:j="default",numberOfColumns:g={sm:1,md:2,lg:4},strokeHeading:u,...f}=l,L=i.useStyleConfig("Footer");return e.jsxs(i.Box,{id:"footer",as:"footer",ref:o,...f,__css:L,children:[k,e.jsx(a.Divider,{variant:j,ref:o,width:"auto"}),x?e.jsx("nav",{"aria-label":"social links",id:"social-links",children:e.jsx(i.Flex,{as:i.List,id:"social-links-flex",children:x.map((a=>e.jsx(i.ListItem,{children:e.jsx(s.Link,{href:a.href,title:a.name,"data-testid":`socialLink-${a.name}`,target:a?.openInNewTab?"_blank":void 0,children:e.jsx(n.Icon,{id:"social-icon",name:a.name})})},a.name)))})}):void 0,u&&e.jsx(r.Heading3,{id:"stroke-heading",children:u}),e.jsx("nav",{"aria-label":"Footer menu",id:"text-link-nav",children:e.jsx(i.SimpleGrid,{as:i.List,columns:g,id:"text-link-grid",children:c&&c.map((a=>e.jsx(i.ListItem,{role:"listitem",children:e.jsx(s.Link,{width:"max-content","data-testid":`textLink-${a.key}`,as:a.as,href:a.href,variant:"footer",target:a?.openInNewTab?"_blank":void 0,children:a.displayName})},a.key)))})}),h&&e.jsx("nav",{"aria-label":"Regulatory organisations",children:e.jsx(i.Flex,{as:i.List,id:"image-links-container",children:h.map((a=>e.jsx(i.ListItem,{children:e.jsx(s.Link,{href:a.href,title:a.title,display:"inline-block","data-testid":`imageLink-${a.key}`,target:a?.openInNewTab?"_blank":void 0,children:e.jsx(t.Image,{alt:a.alt,src:a.src,width:a.width,height:a.height,loading:a.loading})})},a.key)))})}),e.jsx(d.Text,{as:"address",id:"registration",children:m})]})}));exports.Footer=l;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/Footer/index.tsx"],"sourcesContent":[null],"names":["Footer","forwardRef","props","ref","socialLinks","textLinks","imageLinks","ourPartners","registrationDetails","variant","numberOfColumns","sm","md","lg","strokeHeading","rest","footerTheme","useStyleConfig","_jsxs","jsxs","Box","id","as","__css","children","_jsx","jsx","Divider","width","Flex","List","map","socialLink","ListItem","Link","href","title","name","target","openInNewTab","undefined","Icon","Heading3","SimpleGrid","columns","textLink","role","key","displayName","imageLink","Image","alt","src","height","loading","Text"],"mappings":"ySAoDM,MAAAA,EAASC,EAAUA,YAAqB,CAACC,EAAOC,KACpD,MAAMC,YACJA,EAAWC,UACXA,EAASC,WACTA,EAAUC,YACVA,EAAWC,oBACXA,EAAmBC,QACnBA,EAAU,UAASC,gBACnBA,EAAkB,CAAEC,GAAI,EAAGC,GAAI,EAAGC,GAAI,GAAGC,cACzCA,KACGC,GACDb,EACEc,EAAcC,EAAcA,eAAC,UAiBnC,OACEC,EAAAC,KAACC,EAAGA,IAAA,CAACC,GAAG,SAASC,GAAG,SAASnB,IAAKA,KAASY,EAAMQ,MAAOP,EAAWQ,SAAA,CAChEjB,EACDkB,EAAAC,IAACC,UAAO,CAAClB,QAASA,EAASN,IAAKA,EAAKyB,MAAM,SAC1CxB,EACCqB,EAAgBC,IAAA,MAAA,CAAA,aAAA,eAAeL,GAAG,eAAcG,SAC9CC,EAAAA,IAACI,EAAIA,KAAC,CAAAP,GAAIQ,EAAIA,KAAET,GAAG,oBAAmBG,S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J,EAAUI,OAClBC,QAASL,EAAUK,aAZVL,EAAUF,WAoBjCtB,EAAAA,IAAC8B,EAAIA,KAAA,CAACjC,GAAG,UAAUD,GAAG,eAAcG,SACjChB,MAEC"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/Footer/index.tsx"],"sourcesContent":[null],"names":["Footer","forwardRef","props","ref","socialLinks","textLinks","imageLinks","ourPartners","registrationDetails","variant","numberOfColumns","sm","md","lg","strokeHeading","rest","footerTheme","useStyleConfig","_jsxs","jsxs","Box","id","as","__css","children","_jsx","jsx","Divider","width","Flex","List","map","socialLink","ListItem","Link","href","title","name","target","openInNewTab","undefined","Icon","Heading3","SimpleGrid","columns","textLink","role","key","displayName","imageLink","display","Image","alt","src","height","loading","Text"],"mappings":"ySAoDM,MAAAA,EAASC,EAAUA,YAAqB,CAACC,EAAOC,KACpD,MAAMC,YACJA,EAAWC,UACXA,EAASC,WACTA,EAAUC,YACVA,EAAWC,oBACXA,EAAmBC,QACnBA,EAAU,UAASC,gBACnBA,EAAkB,CAAEC,GAAI,EAAGC,GAAI,EAAGC,GAAI,GAAGC,cACzCA,KACGC,GACDb,EACEc,EAAcC,EAAcA,eAAC,UAkBnC,OACEC,EAAAC,KAACC,EAAGA,IAAA,CAACC,GAAG,SAASC,GAAG,SAASnB,IAAKA,KAASY,EAAMQ,MAAOP,EAAWQ,SAAA,CAChEjB,EACDkB,EAAAC,IAACC,UAAO,CAAClB,QAASA,EAASN,IAAKA,EAAKyB,MAAM,SAC1CxB,EACCqB,EAAgBC,IAAA,MAAA,CAAA,aAAA,eAAeL,GAAG,eAAcG,SAC9CC,EAAAA,IAACI,EAAIA,KAAC,CAAAP,GAAIQ,EAAIA,KAAET,GAAG,oBAAmBG,SACnCpB,EAAY2B,KAAKC,GAChBP,EAAAA,IAACQ,EAAAA,SAAQ,CAAAT,SACPC,EAAAA,IAACS,EAAIA,KAAA,CACHC,KAAMH,EAAWG,KACjBC,MAAOJ,EAAWK,KACL,cAAA,cAA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"),n=require("../../static/icons/pdf.js"),a=require("../Text/index.js");const t={pdf:n.default},i=r.forwardRef(((n,a)=>{const{variant:t,linkIcon:i,children:s,...l}=n;return e.jsx(r.Link,{size:{base:"sm",lg:"md"},ref:a,...l,variant:t,children:i?e.jsxs(r.Flex,{alignItems:n.alignItems??"flex-start",children:[e.jsx(r.Icon,{"data-testid":"icon",as:i,mr:2,boxSize:6}),e.jsx("span",{children:s})]}):s})})),s=r.forwardRef(((n,a)=>e.jsx(r.Link,{ref:a,...n}))),l=r.forwardRef(((n,i)=>{const{fileType:s,entryType:l,fileSize:o,children:d,...c}=n,f=t[s];return e.jsxs(e.Fragment,{children:[e.jsxs(r.Link,{size:{base:"sm",lg:"md"},ref:i,...c,children:["embedded-entry-inline"===l&&f&&e.jsx(f,{mr:"1","aria-hidden":"true"}),d]}),s&&e.jsxs(a.Text,{as:"span",ml:"1",color:"captionColor",children:["(",s?.toUpperCase(),o?`, ${o.toUpperCase()}`:"",")"]})]})})),o=r.forwardRef(((r,n)=>{const{target:a,variant:t,...o}=r,d={...o,ref:n,variant:t,target:a,"data-cta-variant":t,rel:"_blank"===a?"noopener noreferrer":void 0,"aria-label":"_blank"===a?"Opens in a new tab":void 0};switch(t){case"file":return e.jsx(l,{...d});case"footer":return e.jsx(s,{...d});default:return e.jsx(i,{...d})}}));Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return r.LinkOverlay}}),exports.Link=o;
1
+ "use strict";var e=require("react/jsx-runtime"),r=require("@chakra-ui/react"),n=require("../../static/icons/pdf.js"),t=require("../Text/index.js");const i={pdf:n.default},a=r.forwardRef(((n,t)=>{const{variant:i,linkIcon:a,children:s,...l}=n;return e.jsx(r.Link,{size:{base:"sm",lg:"md"},ref:t,...l,variant:i,children:a?e.jsxs(r.Flex,{alignItems:n.alignItems??"flex-start",children:[e.jsx(r.Icon,{"data-testid":"icon",as:a,mr:2,boxSize:6}),e.jsx("span",{children:s})]}):s})})),s=r.forwardRef(((n,t)=>e.jsx(r.Link,{ref:t,...n}))),l=r.forwardRef(((n,a)=>{const{fileType:s,entryType:l,fileSize:o,children:c,...d}=n,f=i[s];return e.jsxs(e.Fragment,{children:[e.jsxs(r.Link,{size:{base:"sm",lg:"md"},ref:a,...d,children:["embedded-entry-inline"===l&&f&&e.jsx(f,{mr:"1","aria-hidden":"true"}),c]}),s&&e.jsxs(t.Text,{as:"span",ml:"1",color:"captionColor",children:["(",s?.toUpperCase(),o?`, ${o.toUpperCase()}`:"",")"]})]})})),o=r.forwardRef(((r,n)=>{const{target:t,variant:i,...o}=r,c="string"==typeof r.children?r.children:"Link",d=r.title||c,f={...o,title:"_blank"===t?`${d} (opens in a new tab)`:d,ref:n,variant:i,target:t,"data-cta-variant":i,rel:"_blank"===t?"noopener noreferrer":void 0};switch(i){case"file":return e.jsx(l,{...f});case"footer":return e.jsx(s,{...f});default:return e.jsx(a,{...f})}}));Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return r.LinkOverlay}}),exports.Link=o;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/Link/index.tsx"],"sourcesContent":[null],"names":["getIconFromFileType","pdf","PdfIcon","default","Inline","forwardRef","props","ref","variant","linkIcon","children","rest","_jsx","jsx","ChakraLink","size","base","lg","_jsxs","jsxs","Flex","alignItems","Icon","as","mr","boxSize","Footer","File","fileType","entryType","fileSize","FileIcon","_Fragment","Fragment","Text","ml","color","toUpperCase","Link","target","restProps","linkProps","rel","undefined"],"mappings":"mJAsCA,MAAMA,EAAoC,CACxCC,IAAKC,EAAOC,SAGRC,EAASC,EAAUA,YAAiB,CAACC,EAAOC,KAChD,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,KAAaC,GAASL,EACjD,OACEM,EAAAC,IAACC,OAAU,CACTC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBV,IAAKA,KACDI,EACJH,QAASA,EAAOE,SAGfD,EACCS,EAACC,KAAAC,QAAKC,WAAYf,EAAMe,YAAc,aAAYX,SAAA,CAChDE,MAACU,EAAAA,KAAI,CAAA,cAAa,OAAOC,GAAId,EAAUe,GAAI,EAAGC,QAAS,IACvDb,EAAAA,IAAO,OAAA,CAAAF,SAAAA,UAKA,IAIXgB,EAASrB,EAAUA,YAAiB,CAACC,EAAOC,IAChDK,EAACC,IAAAC,OAAW,CAAAP,IAAKA,KAASD,MAGtBqB,EAAOtB,EAAUA,YAAqB,CAACC,EAAOC,KAClD,MAAMqB,SAAEA,EAAQC,UAAEA,EAASC,SAAEA,EAAQpB,SAAEA,KAAaC,GAASL,EACvDyB,EAAW/B,EAAoB4B,GACrC,OACEV,EACEC,KAAAa,EAAAC,SAAA,CAAAvB,SAAA,CAAAQ,EAAAA,KAACJ,EAAAA,KAAW,CAAAC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MAAQV,IAAKA,KAASI,YACzC,0BAAdkB,GAAyCE,GACxCnB,EAAAC,IAACkB,EAAQ,CAACP,GAAG,kBAAgB,SAE9Bd,KAEFkB,GACCV,EAAAA,KAACgB,EAAAA,KAAI,CAACX,GAAG,OAAOY,GAAG,IAAIC,MAAM,6BACzBR,GAAUS,cACXP,EAAW,KAAKA,EAASO,gBAAkB,YAG/C,IAIDC,EAAOjC,EAAUA,YAA2B,CAACC,EAAOC,KACxD,MAAMgC,OAAEA,EAAM/B,QAAEA,KAAYgC,GAAclC,EAEpCmC,EAAY,IACbD,EACHjC,MACAC,UACA+B,SACA,mBAAoB/B,EACpBkC,IAAgB,WAAXH,EAAsB,2BAAwBI,EACnD,aAAyB,WAAXJ,EAAsB,0BAAuBI,GAG7D,OAAQnC,GACN,IAAK,OACH,OAAOI,MAACe,EAAS,IAAAc,IACnB,IAAK,SACH,OAAO7B,MAACc,EAAW,IAAAe,IACrB,QACE,OAAO7B,MAACR,EAAW,IAAAqC"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/Link/index.tsx"],"sourcesContent":[null],"names":["getIconFromFileType","pdf","PdfIcon","default","Inline","forwardRef","props","ref","variant","linkIcon","children","rest","_jsx","jsx","ChakraLink","size","base","lg","_jsxs","jsxs","Flex","alignItems","Icon","as","mr","boxSize","Footer","File","fileType","entryType","fileSize","FileIcon","_Fragment","Fragment","Text","ml","color","toUpperCase","Link","target","restProps","linkContents","linkTitle","title","linkProps","rel","undefined"],"mappings":"mJAsCA,MAAMA,EAAoC,CACxCC,IAAKC,EAAOC,SAGRC,EAASC,EAAUA,YAAiB,CAACC,EAAOC,KAChD,MAAMC,QAAEA,EAAOC,SAAEA,EAAQC,SAAEA,KAAaC,GAASL,EACjD,OACEM,EAAAC,IAACC,OAAU,CACTC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MACxBV,IAAKA,KACDI,EACJH,QAASA,EAAOE,SAGfD,EACCS,EAACC,KAAAC,QAAKC,WAAYf,EAAMe,YAAc,aAAYX,SAAA,CAChDE,MAACU,EAAAA,KAAI,CAAA,cAAa,OAAOC,GAAId,EAAUe,GAAI,EAAGC,QAAS,IACvDb,EAAAA,IAAO,OAAA,CAAAF,SAAAA,UAKA,IAIXgB,EAASrB,EAAUA,YAAiB,CAACC,EAAOC,IAChDK,EAACC,IAAAC,OAAW,CAAAP,IAAKA,KAASD,MAGtBqB,EAAOtB,EAAUA,YAAqB,CAACC,EAAOC,KAClD,MAAMqB,SAAEA,EAAQC,UAAEA,EAASC,SAAEA,EAAQpB,SAAEA,KAAaC,GAASL,EACvDyB,EAAW/B,EAAoB4B,GACrC,OACEV,EACEC,KAAAa,EAAAC,SAAA,CAAAvB,SAAA,CAAAQ,EAAAA,KAACJ,EAAAA,KAAW,CAAAC,KAAM,CAAEC,KAAM,KAAMC,GAAI,MAAQV,IAAKA,KAASI,YACzC,0BAAdkB,GAAyCE,GACxCnB,EAAAC,IAACkB,EAAQ,CAACP,GAAG,kBAAgB,SAE9Bd,KAEFkB,GACCV,EAAAA,KAACgB,EAAAA,KAAI,CAACX,GAAG,OAAOY,GAAG,IAAIC,MAAM,6BACzBR,GAAUS,cACXP,EAAW,KAAKA,EAASO,gBAAkB,YAG/C,IAIDC,EAAOjC,EAAUA,YAA2B,CAACC,EAAOC,KACxD,MAAMgC,OAAEA,EAAM/B,QAAEA,KAAYgC,GAAclC,EACpCmC,EACsB,iBAAnBnC,EAAMI,SAAwBJ,EAAMI,SAAW,OAClDgC,EAAYpC,EAAMqC,OAASF,EAI3BG,EAAY,IACbJ,EACHG,MAJW,WAAXJ,EAAsB,GAAGG,yBAAmCA,EAK5DnC,MACAC,UACA+B,SACA,mBAAoB/B,EACpBqC,IAAgB,WAAXN,EAAsB,2BAAwBO,GAGrD,OAAQtC,GACN,IAAK,OACH,OAAOI,MAACe,EAAS,IAAAiB,IACnB,IAAK,SACH,OAAOhC,MAACc,EAAW,IAAAkB,IACrB,QACE,OAAOhC,MAACR,EAAW,IAAAwC"}
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("react/jsx-runtime"),i=require("@chakra-ui/react");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js"),require("../../static/icons/alert.js"),require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js");var s=require("../../static/icons/arrowReturnUp.js");require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/checkCircle.js"),require("../../static/icons/children.js"),require("../../static/icons/clock.js"),require("../../static/icons/cloudUpload.js"),require("../../static/icons/cross.js"),require("../../static/icons/date.js"),require("../../static/icons/directDebit.js"),require("../../static/icons/dogs.js"),require("../../static/icons/email.js"),require("../../static/icons/facebook.js"),require("../../static/icons/fundraisingRegulator.js"),require("../../static/icons/googlePay.js"),require("../../static/icons/heart.js"),require("../../static/icons/heartSu2c.js"),require("../../static/icons/info.js"),require("../../static/icons/instagram.js"),require("../../static/icons/linkedin.js"),require("../../static/icons/masterCard.js"),require("../../static/icons/microscope.js"),require("../../static/icons/newsletter.js"),require("../../static/icons/ovarian.js"),require("../../static/icons/parking.js"),require("../../static/icons/pause.js"),require("../../static/icons/payPal.js"),require("../../static/icons/pdf.js"),require("../../static/icons/people.js"),require("../../static/icons/phone.js"),require("../../static/icons/play.js"),require("../../static/icons/plus.js"),require("../../static/icons/plusSu2c.js"),require("../../static/icons/pound.js"),require("../../static/icons/pushchair.js"),require("../../static/icons/quote.js"),require("../../static/icons/refreshments.js"),require("../../static/icons/royalties-grants.js"),require("../../static/icons/share.js"),require("../../static/icons/shower.js"),require("../../static/icons/speechBubble.js"),require("../../static/icons/success.js"),require("../../static/icons/thumbsUp.js"),require("../../static/icons/thumbsUpSu2.js"),require("../../static/icons/tikTok.js"),require("../../static/icons/toilets.js"),require("../../static/icons/twitter.js"),require("../../static/icons/venue.js"),require("../../static/icons/visa.js"),require("../../static/icons/whatsApp.js"),require("../../static/icons/wheelchairs.js"),require("../../static/icons/youTube.js"),require("@chakra-ui/icons");var r=require("../Accordion/index.js"),t=require("../Heading/index.js"),c=require("../Link/index.js");require("../List/index.js");const n=i.forwardRef((({referenceEntries:r},t)=>e.jsx(i.OrderedList,{ref:t,spacing:4,pl:6,ml:6,children:r&&r.map(((r,t)=>e.jsxs(i.ListItem,{fontSize:"md",position:"relative",children:[e.jsx(c.Link,{href:r.contentLink,linkIcon:s.default,variant:"reference",title:`Link to reference ${t+1}`,"data-testid":"reference-link"}),r.text]},r.id)))}))),o=i.forwardRef(((s,c)=>{const{title:o,referenceEntries:a,hideDivider:u,...j}=s;return e.jsxs(i.Container,{ref:c,p:0,...j,children:[e.jsxs(i.Container,{p:0,display:{base:"none",md:"block"},children:[e.jsx(t.Heading2,{mb:2,children:o}),e.jsx(n,{referenceEntries:a})]}),e.jsx(r.Accordion,{allowToggle:!0,display:{base:"block",md:"none"},children:e.jsxs(i.AccordionItem,{border:"none",children:[e.jsx(i.AccordionButton,{id:"accordion-button",borderBottomWidth:u?0:void 0,paddingLeft:0,paddingRight:0,_hover:{backgroundColor:"unset"},children:e.jsxs(i.Box,{as:"span",flex:"1",textAlign:"left",borderBottomWidth:u?0:"2px !important",borderColor:"black",display:"flex",flexDir:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsx(t.Heading2,{pb:2,children:o}),e.jsx(i.AccordionIcon,{})]})}),e.jsx(i.AccordionPanel,{id:"accordion-panel",fontFamily:"inherit",paddingLeft:0,paddingRight:0,children:e.jsx(n,{referenceEntries:a})})]})})]})}));exports.ReferenceBlock=n,exports.ReferenceBlockContainer=o;
1
+ "use strict";var e=require("react/jsx-runtime"),i=require("@chakra-ui/react");require("../../static/icons/1in4.js"),require("../../static/icons/2in4.js"),require("../../static/icons/3in4.js"),require("../../static/icons/4in4.js"),require("../../static/icons/adult.js"),require("../../static/icons/alert.js"),require("../../static/icons/apple.js"),require("../../static/icons/arrowDown.js");var s=require("../../static/icons/arrowReturnUp.js");require("../../static/icons/arrowUp.js"),require("../../static/icons/bagdrop.js"),require("../../static/icons/checkCircle.js"),require("../../static/icons/children.js"),require("../../static/icons/clock.js"),require("../../static/icons/cloudUpload.js"),require("../../static/icons/cross.js"),require("../../static/icons/date.js"),require("../../static/icons/directDebit.js"),require("../../static/icons/dogs.js"),require("../../static/icons/email.js"),require("../../static/icons/facebook.js"),require("../../static/icons/fundraisingRegulator.js"),require("../../static/icons/googlePay.js"),require("../../static/icons/heart.js"),require("../../static/icons/heartSu2c.js"),require("../../static/icons/info.js"),require("../../static/icons/instagram.js"),require("../../static/icons/linkedin.js"),require("../../static/icons/masterCard.js"),require("../../static/icons/microscope.js"),require("../../static/icons/newsletter.js"),require("../../static/icons/ovarian.js"),require("../../static/icons/parking.js"),require("../../static/icons/pause.js"),require("../../static/icons/payPal.js"),require("../../static/icons/pdf.js"),require("../../static/icons/people.js"),require("../../static/icons/phone.js"),require("../../static/icons/play.js"),require("../../static/icons/plus.js"),require("../../static/icons/plusSu2c.js"),require("../../static/icons/pound.js"),require("../../static/icons/pushchair.js"),require("../../static/icons/quote.js"),require("../../static/icons/refreshments.js"),require("../../static/icons/royalties-grants.js"),require("../../static/icons/share.js"),require("../../static/icons/shower.js"),require("../../static/icons/speechBubble.js"),require("../../static/icons/success.js"),require("../../static/icons/thumbsUp.js"),require("../../static/icons/thumbsUpSu2.js"),require("../../static/icons/tikTok.js"),require("../../static/icons/toilets.js"),require("../../static/icons/twitter.js"),require("../../static/icons/venue.js"),require("../../static/icons/visa.js"),require("../../static/icons/whatsApp.js"),require("../../static/icons/wheelchairs.js"),require("../../static/icons/youTube.js"),require("@chakra-ui/icons");var r=require("../Accordion/index.js"),t=require("../Heading/index.js"),c=require("../Link/index.js");require("../List/index.js");const n=i.forwardRef((({referenceEntries:r},t)=>e.jsx(i.OrderedList,{ref:t,spacing:4,pl:6,ml:6,children:r&&r.map(((r,t)=>e.jsxs(i.ListItem,{fontSize:"md",position:"relative",children:[e.jsx(c.Link,{href:r.contentLink,linkIcon:s.default,variant:"reference",title:`Link to reference ${t+1}`,"data-testid":"reference-link"}),r.text]},r.id)))}))),o=i.forwardRef(((s,c)=>{const{title:o,referenceEntries:a,hideDivider:u,...j}=s;return e.jsxs(i.Container,{ref:c,p:0,...j,children:[e.jsxs(i.Container,{p:0,display:{base:"none",md:"block"},children:[e.jsx(t.Heading2,{mb:2,children:o}),e.jsx(n,{referenceEntries:a})]}),e.jsx(r.Accordion,{allowToggle:!0,display:{base:"block",md:"none"},children:e.jsxs(i.AccordionItem,{border:"none",children:[e.jsx(i.AccordionButton,{id:"accordion-button",borderBottomWidth:u?0:void 0,paddingLeft:0,paddingRight:0,_hover:{backgroundColor:"unset"},border:"none",children:e.jsxs(i.Box,{as:"span",flex:"1",textAlign:"left",borderBottomWidth:u?0:"2px !important",borderColor:"black",display:"flex",flexDir:"row",justifyContent:"space-between",alignItems:"center",children:[e.jsx(t.Heading2,{pb:2,children:o}),e.jsx(i.AccordionIcon,{})]})}),e.jsx(i.AccordionPanel,{id:"accordion-panel",fontFamily:"inherit",paddingLeft:0,paddingRight:0,children:e.jsx(n,{referenceEntries:a})})]})})]})}));exports.ReferenceBlock=n,exports.ReferenceBlockContainer=o;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/ReferenceBlock/index.tsx"],"sourcesContent":[null],"names":["ReferenceBlock","forwardRef","referenceEntries","ref","_jsx","OrderedList","spacing","pl","ml","map","reference","index","_jsxs","ListItem","fontSize","position","children","jsx","Link","href","contentLink","linkIcon","ArrowReturnUpIcon","variant","title","text","id","ReferenceBlockContainer","props","hideDivider","rest","Container","p","display","base","md","Heading2","mb","Accordion","allowToggle","AccordionItem","border","AccordionButton","borderBottomWidth","undefined","paddingLeft","paddingRight","_hover","backgroundColor","Box","as","flex","textAlign","borderColor","flexDir","justifyContent","alignItems","pb","AccordionIcon","AccordionPanel","fontFamily"],"mappings":"iqFA+BA,MAAMA,EAAiBC,EAAUA,YAC/B,EAAGC,oBAAoBC,IACrBC,EAAAA,IAACC,EAAAA,YAAY,CAAAF,IAAKA,EAAKG,QAAS,EAAGC,GAAI,EAAGC,GAAI,WAC3CN,GACCA,EAAiBO,KAAI,CAACC,EAAWC,IAC/BC,OAACC,EAAAA,SAAQ,CAAoBC,SAAS,KAAKC,SAAS,WAAUC,SAAA,CAC5DZ,EAACa,IAAAC,EAAIA,KACH,CAAAC,KAAMT,EAAUU,YAChBC,SAAUC,EAAAA,QACVC,QAAQ,YACRC,MAAO,qBAAqBb,EAAQ,IACxB,cAAA,mBAEbD,EAAUe,OAREf,EAAUgB,UAe7BC,EAA0B1B,EAAUA,YACxC,CAAC2B,EAAOzB,KACN,MAAMqB,MAAEA,EAAKtB,iBAAEA,EAAgB2B,YAAEA,KAAgBC,GAASF,EAC1D,OACEhB,EAAAA,KAACmB,EAAAA,UAAS,CAAC5B,IAAKA,EAAK6B,EAAG,KAAOF,EAAId,SAAA,CACjCJ,OAACmB,EAASA,UAAA,CAACC,EAAG,EAAGC,QAAS,CAAEC,KAAM,OAAQC,GAAI,SAASnB,SAAA,CACrDZ,EAAAA,IAACgC,EAAAA,SAAS,CAAAC,GAAI,EAACrB,SAAGQ,IAClBpB,MAACJ,EAAc,CAACE,iBAAkBA,OAEpCE,EAAAA,IAACkC,EAAAA,UAAU,CAAAC,eAAYN,QAAS,CAAEC,KAAM,QAASC,GAAI,QAAQnB,SAC3DJ,EAAAA,KAAC4B,EAAAA,cAAa,CAACC,OAAO,OAAMzB,SAAA,CAC1BZ,EAAAA,IAACsC,EAAAA,gBAAe,CACdhB,GAAG,mBACHiB,kBAAmBd,EAAc,OAAIe,EACrCC,YAAa,EACbC,aAAc,EACdC,OAAQ,CAAEC,gBAAiB,SAAShC,SAEpCJ,EAAAA,KAACqC,EAAAA,IACC,CAAAC,GAAG,OACHC,KAAK,IACLC,UAAU,OACVT,kBAAmBd,EAAc,EAAI,iBACrCwB,YAAY,QACZpB,QAAQ,OACRqB,QAAQ,MACRC,eAAe,gBACfC,WAAW,mBAEXpD,EAACa,IAAAmB,YAASqB,GAAI,EAACzC,SAAGQ,IAClBpB,EAACa,IAAAyC,EAAaA,uBAGlBtD,EAACa,IAAA0C,EAAcA,eACb,CAAAjC,GAAG,kBACHkC,WAAW,UACXf,YAAa,EACbC,aAAc,EAAC9B,SAEfZ,MAACJ,EAAc,CAACE,iBAAkBA,aAI9B"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/ReferenceBlock/index.tsx"],"sourcesContent":[null],"names":["ReferenceBlock","forwardRef","referenceEntries","ref","_jsx","OrderedList","spacing","pl","ml","map","reference","index","_jsxs","ListItem","fontSize","position","children","jsx","Link","href","contentLink","linkIcon","ArrowReturnUpIcon","variant","title","text","id","ReferenceBlockContainer","props","hideDivider","rest","Container","p","display","base","md","Heading2","mb","Accordion","allowToggle","jsxs","AccordionItem","border","AccordionButton","borderBottomWidth","undefined","paddingLeft","paddingRight","_hover","backgroundColor","Box","as","flex","textAlign","borderColor","flexDir","justifyContent","alignItems","pb","AccordionIcon","AccordionPanel","fontFamily"],"mappings":"iqFA+BA,MAAM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AAY,QACZrB,QAAQ,OACRsB,QAAQ,MACRC,eAAe,gBACfC,WAAW,SAEXzC,SAAA,CAAAZ,EAAAA,IAACgC,EAAQA,SAAC,CAAAsB,GAAI,EAAI1C,SAAAQ,IAClBpB,EAAAA,IAACuD,EAAAA,cAAa,CAAA,QAGlBvD,EAAAA,IAACwD,EAAAA,eACC,CAAAlC,GAAG,kBACHmC,WAAW,UACXf,YAAa,EACbC,aAAc,EAAC/B,SAEfZ,EAAAA,IAACJ,EAAc,CAACE,iBAAkBA,aAI9B"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("react/jsx-runtime"),t=require("../Accordion/index.js"),i=require("@chakra-ui/react"),n=require("../Button/index.js");require("../Flex/index.js");var o=require("../Heading/index.js"),r=require("../Image/index.js"),s=require("../Link/index.js"),a=require("../PopOver/index.js"),l=require("react"),c=require("slugify");exports.StickyNavigation=({headings:d,socialMediaSharing:p})=>{const h=l.useRef(null),[u,g]=l.useState(void 0),x=i.useBreakpointValue({base:!1,lg:!0}),[m,f]=l.useState(null),[v,w]=l.useState(!1),[y,b]=l.useState(""),[j,k]=l.useState(!1);l.useEffect((()=>{g(x?0:void 0)}),[x]),l.useEffect((()=>{"undefined"!=typeof window&&b(window.location.href)}),[]);const L=d.map((e=>{const t="string"==typeof e?e:e.text;return{id:c(t?.toString().toLowerCase(),{lower:!0,strict:!0}),text:t}}));l.useEffect((()=>{const e=x?32:70,t=()=>{if(v)return;let t=null,i=1/0;L.forEach((({id:n})=>{const o=document.getElementById(n);if(o){const r=o.getBoundingClientRect().top-e;if(r<=100){const e=Math.abs(r);e<i&&(i=e,t=n)}}})),f(t)};return window.addEventListener("scroll",t),requestAnimationFrame(t),()=>window.removeEventListener("scroll",t)}),[L,x,v]);return e.jsx(i.Box,{w:{base:"100vw",md:"100%",lg:"293px"},ml:{base:-4,md:0},mt:{base:-10,md:-4,lg:0},flexShrink:0,position:"sticky",top:{base:"0",lg:"2rem"},alignSelf:"start",overflowY:{base:"visible",lg:"auto"},borderRadius:"md",bg:"white",as:"nav",zIndex:1,children:e.jsx(t.Accordion,{ref:h,index:u,onChange:e=>{const t=window.pageYOffset;g("number"==typeof e?t=>t===e?void 0:e:void 0),window.scrollTo(0,t)},allowToggle:!0,allowMultiple:!1,bg:{base:"navy.100",lg:"transparent"},px:{base:4,lg:0},children:e.jsxs(i.AccordionItem,{border:"none",children:[e.jsxs(i.AccordionButton,{px:0,justifyContent:"space-between",alignItems:"center",_hover:{bg:"transparent"},_expanded:{bg:"transparent"},borderBottom:"none",bg:"transparent",onClick:()=>{if(-1===u){const{scrollY:e}=window;setTimeout((()=>{window.scrollTo({top:e})}),1)}},children:[e.jsx(o.Heading4,{marginRight:"auto",children:"On this page"}),e.jsx(i.AccordionIcon,{display:{base:"block",lg:"none"},ml:2})]}),e.jsx(i.AccordionPanel,{px:0,pb:4,children:e.jsxs(i.Box,{as:"nav",children:[L.map((({id:t,text:n})=>e.jsx(i.Box,{children:e.jsx(s.Link,{as:"a",href:`#${t}`,fontSize:"1rem !important",display:"block",textDecoration:"underline",variant:"altInline",paddingLeft:t===m?2.5:0,paddingRight:2.5,fontFamily:"poppins.semiBold",paddingY:"5px",borderLeft:t===m?"3px solid":"none",borderColor:t===m?"primary":"transparent",_hover:{borderLeft:"3px solid",borderColor:"primary",textDecoration:"underline",color:"primary",paddingLeft:2.5},onClick:e=>((e,t)=>{e.preventDefault(),b(`${window.location.href.split("#")[0]}#${t}`);const i=document.getElementById(t);if(!i)return;w(!0),f(t);const n=x?32:70,o=e=>e.getBoundingClientRect().top+window.scrollY-n;if(x){const e=o(i);return window.scrollTo({top:e,behavior:"smooth"}),window.history.pushState(null,"",`#${t}`),void setTimeout((()=>{w(!1)}),1e3)}const r=h.current?.querySelector('button[aria-expanded="true"]')??null;r&&r.click(),setTimeout((()=>{const e=o(i);window.scrollTo({top:e,behavior:"smooth"}),window.history.pushState(null,"",`#${t}`),setTimeout((()=>{w(!1)}),1e3)}),300)})(e,t),children:n})},t))),e.jsx(i.Box,{paddingY:2.5,children:e.jsxs(n.Button,{variant:"link",color:"primary",fontSize:"1rem",fontFamily:"poppins.semiBold",textDecoration:"none",bg:{base:"navy.100",lg:"transparent"},_hover:{textDecoration:"none"},onClick:()=>{w(!0),window.scrollTo({top:0,behavior:"smooth"});const e=window.location.href.split("#")[0];window.history.pushState(null,"",e),b(e),setTimeout((()=>{w(!1)}),1e3)},children:[e.jsx(i.Box,{as:"span",pr:1,"aria-hidden":!0,textDecoration:"none",children:"↑"}),e.jsx(i.Box,{as:"span",display:"inline",textDecoration:"underline",_hover:{textDecoration:"underline",color:"primary"},children:"Back to top"})]})}),e.jsx(o.Heading5,{py:2.5,children:"Share or print this page"}),e.jsxs(i.Flex,{children:[p?.includes("X")&&e.jsx(s.Link,{href:`https://twitter.com/intent/tweet?text=${y}`,isExternal:!0,children:e.jsx(r.Image,{fill:"true",height:{base:45},src:"/icons/x-sticky-nav.svg",alt:"X Logo",transition:"opacity 0.2s ease",_hover:{opacity:.7}})}),p?.includes("LinkedIn")&&e.jsx(s.Link,{href:`https://www.linkedin.com/sharing/share-offsite/?url=${y}`,isExternal:!0,children:e.jsx(r.Image,{fill:"true",height:{base:45},src:"/icons/linkedin-sticky-nav.svg",alt:"LinkedIn Logo",transition:"opacity 0.2s ease",_hover:{opacity:.7}})}),p?.includes("Facebook")&&e.jsx(s.Link,{href:`https://facebook.com/sharer.php?u=${y}`,isExternal:!0,children:e.jsx(r.Image,{fill:"true",height:{base:45},src:"/icons/facebook-sticky-nav.svg",alt:"Facebook Logo",transition:"opacity 0.2s ease",_hover:{opacity:.7}})}),e.jsx(s.Link,{href:`mailto:?subject=Check out this page&body=${y}`,isExternal:!0,children:e.jsx(r.Image,{fill:"true",height:{base:45},src:"/icons/email-sticky-nav.svg",alt:"Email Logo",transition:"opacity 0.2s ease",_hover:{opacity:.7}})}),e.jsx(n.Button,{variant:"unstyled",height:"auto",onClick:()=>{"undefined"!=typeof window&&window.print()},children:e.jsx(r.Image,{fill:"true",height:{base:45},src:"/icons/print-sticky-nav.svg",alt:"Print Logo",transition:"opacity 0.2s ease",_hover:{opacity:.7}})}),e.jsxs(a.Popover,{isOpen:j,placement:"bottom",variant:"secondary",children:[e.jsx(i.PopoverTrigger,{children:e.jsx(n.Button,{variant:"unstyled",height:"auto",onClick:()=>{navigator.clipboard.writeText(y),k(!0),setTimeout((()=>{k(!1)}),3e3)},"aria-label":"Copy link to clipboard",children:e.jsx(r.Image,{fill:"true",height:{base:45},src:"/icons/share-sticky-nav.svg",alt:"Share Logo",transition:"opacity 0.2s ease",_hover:{opacity:.7}})})}),e.jsx(i.PopoverContent,{px:4,py:2,children:"Link copied"})]})]})]})})]})})})};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/StickyNavigation/index.tsx"],"sourcesContent":[null],"names":["headings","socialMediaSharing","accordionRef","useRef","accordionIndex","setAccordionIndex","useState","undefined","isLargeScreen","useBreakpointValue","base","lg","activeId","setActiveId","isManualScroll","setIsManualScroll","currentUrl","setCurrentUrl","isPopoverOpen","setIsPopoverOpen","useEffect","window","location","href","processedHeadings","map","heading","text","id","slugify","toString","toLowerCase","lower","strict","headerHeight","handleScroll","current","closestDistance","Infinity","forEach","el","document","getElementById","top","getBoundingClientRect","distance","Math","abs","addEventListener","requestAnimationFrame","removeEventListener","_jsx","Box","w","md","ml","mt","flexShrink","position","alignSelf","overflowY","borderRadius","bg","as","zIndex","children","Accordion","ref","index","onChange","currentScroll","pageYOffset","prev","scrollTo","allowToggle","allowMultiple","px","_jsxs","AccordionItem","border","jsxs","AccordionButton","justifyContent","alignItems","_hover","_expanded","borderBottom","onClick","scrollY","setTimeout","Heading4","marginRight","AccordionIcon","display","jsx","AccordionPanel","pb","Link","fontSize","textDecoration","variant","paddingLeft","paddingRight","fontFamily","paddingY","borderLeft","borderColor","color","e","preventDefault","split","target","getOffsetTop","offset","behavior","history","pushState","button","querySelector","click","handleStickyNavLink","Button","baseUrl","pr","Heading5","py","Flex","includes","isExternal","Image","fill","height","src","alt","transition","opacity","print","Popover","isOpen","placement","PopoverTrigger","navigator","clipboard","writeText","PopoverContent"],"mappings":"iXA4ByB,EACvBA,WACAC,yBAEA,MAAMC,EAAeC,EAAMA,OAAwB,OAC5CC,EAAgBC,GAAqBC,EAAAA,cAC1CC,GAEIC,EAAgBC,EAAAA,mBAAmB,CAAEC,MAAM,EAAOC,IAAI,KACrDC,EAAUC,GAAeP,EAAAA,SAAwB,OACjDQ,EAAgBC,GAAqBT,EAAAA,UAAS,IAC9CU,EAAYC,GAAiBX,EAAAA,SAAiB,KAC9CY,EAAeC,GAAoBb,EAAAA,UAAS,GAEnDc,EAAAA,WAAU,KAENf,EADEG,EACgB,OAEAD,KAEnB,CAACC,IAEJY,EAAAA,WAAU,KACc,oBAAXC,QACTJ,EAAcI,OAAOC,SAASC,QAE/B,IAEH,MAYMC,EAAoBxB,EAASyB,KAAKC,IACtC,MAAMC,EAA0B,iBAAZD,EAAuBA,EAAUA,EAAQC,KAO7D,MAAO,CACLC,GANSC,EAAQF,GAAMG,WAAWC,cAAe,CACjDC,OAAO,EACPC,QAAQ,IAKRN,OACD,IAGHP,EAAAA,WAAU,KACR,MAAMc,EAAe1B,EAAgB,GAAK,GAGpC2B,EAAe,KACnB,GAAIrB,EAAgB,OAEpB,IAAIsB,EAAyB,KACzBC,EAAkBC,IAEtBd,EAAkBe,SAAQ,EAAGX,SAC3B,MAAMY,EAAKC,SAASC,eAAed,GACnC,GAAIY,EAAI,CACN,MACMG,EADOH,EAAGI,wBACCD,IAAMT,EAEvB,GAAIS,GAdQ,IAcU,CACpB,MAAME,EAAWC,KAAKC,IAAIJ,GACtBE,EAAWR,IACbA,EAAkBQ,EAClBT,EAAUR,QAMlBf,EAAYuB,EAAQ,EAMtB,OAHAf,OAAO2B,iBAAiB,SAAUb,GAClCc,sBAAsBd,GAEf,IAAMd,OAAO6B,oBAAoB,SAAUf,EAAa,GAC9D,CAACX,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OAAQ,CAAEzH,KAAM,IAChB0H,IAAI,8BACJC,IAAI,aACJC,WAAW,oBACXlD,OAAQ,CAAEmD,QAAS,UAIzBpF,EAAAA,IAAC6F,EAAcA,eAAC,CAAApE,GAAI,EAAGiD,GAAI,EAEV5D,SAAA,iCAOzB"}
@@ -0,0 +1,2 @@
1
+ "use client";"use strict";var e=require("react/jsx-runtime"),r=require("@chakra-ui/react");const t=r.forwardRef(((t,i)=>{const{videoId:o,description:s,aspectRatio:a=16/9,...c}=t;if(!o||Number.isNaN(Number(o)))return null;const n=`https://player.vimeo.com/video/${o}`;return e.jsx(r.AspectRatio,{ref:i,ratio:a,...c,children:e.jsx("iframe",{title:s,src:n,style:{border:"none"},allowFullScreen:!0,frameBorder:"0"})})}));t.displayName="Vimeo Embed",exports.VimeoEmbed=t;
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/VimeoEmbed/index.tsx"],"sourcesContent":[null],"names":["VimeoEmbed","forwardRef","props","ref","videoId","description","aspectRatio","rest","Number","isNaN","embedUrl","_jsx","AspectRatio","ratio","jsx","title","src","style","border","allowFullScreen","frameBorder","displayName"],"mappings":"2FAUM,MAAAA,EAAaC,EAAUA,YAAyB,CAACC,EAAOC,KAC5D,MAAMC,QAAEA,EAAOC,YAAEA,EAAWC,YAAEA,EAAc,GAAK,KAAMC,GAASL,EAEhE,IAAKE,GAAWI,OAAOC,MAAMD,OAAOJ,IAClC,OAAO,KAGT,MAAMM,EAAW,kCAAkCN,IAEnD,OACEO,MAACC,EAAAA,YAAY,CAAAT,IAAKA,EAAKU,MAAOP,KAAiBC,WAC7CI,EACEG,IAAA,SAAA,CAAAC,MAAOV,EACPW,IAAKN,EACLO,MAAO,CAAEC,OAAQ,QACjBC,mBACAC,YAAY,OAEF,IAIlBpB,EAAWqB,YAAc"}
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use client";"use strict";var e=require("@chakra-ui/react"),r=require("./theme/cruk/index.js"),t=require("./theme/r4l/index.js"),n=require("./theme/su2c/index.js"),o=require("./components/Accordion/index.js"),i=require("./components/AlertBanner/index.js"),c=require("./components/Avatar/index.js"),s=require("./components/Badge/index.js"),u=require("./components/Breadcrumb/index.js"),a=require("./components/Button/index.js"),p=require("./components/Card/index.js"),d=require("./components/Checkbox/index.js"),l=require("./components/CircleDevice/index.js"),x=require("./components/DatePicker/index.js"),f=require("./components/DonateWidget/index.js"),b=require("./components/FileUploader/index.js"),m=require("./components/Footer/index.js"),j=require("./components/Footnote/index.js");require("./components/FormControl/index.js");var g=require("./components/FormField/index.js"),P=require("./components/GoogleMapEmbed/index.js"),I=require("./components/Heading/index.js"),y=require("./components/Image/index.js"),O=require("./components/Input/index.js"),q=require("./components/Link/index.js"),h=require("./components/List/index.js"),T=require("./components/Loader/index.js"),C=require("./components/LogoGroup/index.js"),k=require("./components/Navigation/index.js"),A=require("./components/NumberInput/index.js"),S=require("./components/ParagraphWithMedia/index.js"),v=require("./components/PopOver/index.js"),w=require("./components/PopoverAlert/index.js"),B=require("./components/ProgressBar/index.js");require("./components/Radio/index.js");var L=require("./components/RadioConsent/index.js"),F=require("./components/ReferenceBlock/index.js"),R=require("./components/RichHeader/index.js"),H=require("./components/SideNav/index.js"),D=require("./components/SimpleHeader/index.js"),U=require("./components/SocialProof/index.js"),G=require("./components/Stepper/index.js"),W=require("./components/Tabs/index.js"),E=require("./components/Text/index.js"),M=require("./components/TextareaInput/TextareaWithWordCount.js"),V=require("./components/TextTruncate/index.js"),N=require("./components/Toggle/index.js"),Q=require("./components/Totaliser/index.js"),Y=require("./components/Video/index.js"),K=require("./components/YouTubeEmbed/index.js"),X=require("./components/Divider/index.js");require("./components/Flex/index.js");var z=require("./components/Icon/index.js"),J=require("./components/KeyStatistics/index.js"),Z=require("./components/OnThisPage/index.js"),$=require("./components/SpotifyEmbed/index.js"),_=require("./components/Table/index.js"),ee=require("./static/icons/1in4.js"),re=require("./static/icons/2in4.js"),te=require("./static/icons/3in4.js"),ne=require("./static/icons/4in4.js"),oe=require("./static/icons/adult.js"),ie=require("./static/icons/alert.js"),ce=require("./static/icons/apple.js"),se=require("./static/icons/arrowDown.js"),ue=require("./static/icons/arrowReturnUp.js"),ae=require("./static/icons/arrowUp.js"),pe=require("./static/icons/bagdrop.js"),de=require("./static/icons/checkCircle.js"),le=require("./static/icons/children.js"),xe=require("./static/icons/clock.js"),fe=require("./static/icons/cloudUpload.js"),be=require("./static/icons/cross.js"),me=require("./static/icons/date.js"),je=require("./static/icons/directDebit.js"),ge=require("./static/icons/dogs.js"),Pe=require("./static/icons/email.js"),Ie=require("./static/icons/facebook.js"),ye=require("./static/icons/fundraisingRegulator.js"),Oe=require("./static/icons/googlePay.js"),qe=require("./static/icons/heart.js"),he=require("./static/icons/heartSu2c.js"),Te=require("./static/icons/info.js"),Ce=require("./static/icons/instagram.js"),ke=require("./static/icons/linkedin.js"),Ae=require("./static/icons/masterCard.js"),Se=require("./static/icons/microscope.js"),ve=require("./static/icons/newsletter.js"),we=require("./static/icons/ovarian.js"),Be=require("./static/icons/parking.js"),Le=require("./static/icons/pause.js"),Fe=require("./static/icons/payPal.js"),Re=require("./static/icons/pdf.js"),He=require("./static/icons/people.js"),De=require("./static/icons/phone.js"),Ue=require("./static/icons/play.js"),Ge=require("./static/icons/plus.js"),We=require("./static/icons/plusSu2c.js"),Ee=require("./static/icons/pound.js"),Me=require("./static/icons/pushchair.js"),Ve=require("./static/icons/quote.js"),Ne=require("./static/icons/refreshments.js"),Qe=require("./static/icons/royalties-grants.js"),Ye=require("./static/icons/share.js"),Ke=require("./static/icons/shower.js"),Xe=require("./static/icons/speechBubble.js"),ze=require("./static/icons/success.js"),Je=require("./static/icons/thumbsUp.js"),Ze=require("./static/icons/thumbsUpSu2.js"),$e=require("./static/icons/tikTok.js"),_e=require("./static/icons/toilets.js"),er=require("./static/icons/twitter.js"),rr=require("./static/icons/venue.js"),tr=require("./static/icons/visa.js"),nr=require("./static/icons/whatsApp.js"),or=require("./static/icons/wheelchairs.js"),ir=require("./static/icons/youTube.js"),cr=require("@chakra-ui/icons"),sr=require("./components/FormControl/FormLabel.js"),ur=require("./components/KeyStatistics/TwoBlockStatistics.js");Object.defineProperty(exports,"AccordionButton",{enumerable:!0,get:function(){return e.AccordionButton}}),Object.defineProperty(exports,"AccordionIcon",{enumerable:!0,get:function(){return e.AccordionIcon}}),Object.defineProperty(exports,"AccordionItem",{enumerable:!0,get:function(){return e.AccordionItem}}),Object.defineProperty(exports,"AccordionPanel",{enumerable:!0,get:function(){return e.AccordionPanel}}),Object.defineProperty(exports,"AvatarBadge",{enumerable:!0,get:function(){return e.AvatarBadge}}),Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return e.AvatarGroup}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return e.Box}}),Object.defineProperty(exports,"BreadcrumbItem",{enumerable:!0,get:function(){return e.BreadcrumbItem}}),Object.defineProperty(exports,"ButtonGroup",{enumerable:!0,get:function(){return e.ButtonGroup}}),Object.defineProperty(exports,"ChakraBaseProvider",{enumerable:!0,get:function(){return e.ChakraBaseProvider}}),Object.defineProperty(exports,"Container",{enumerable:!0,get:function(){return e.Container}}),Object.defineProperty(exports,"Flex",{enumerable:!0,get:function(){return e.Flex}}),Object.defineProperty(exports,"FormControl",{enumerable:!0,get:function(){return e.FormControl}}),Object.defineProperty(exports,"FormErrorMessage",{enumerable:!0,get:function(){return e.FormErrorMessage}}),Object.defineProperty(exports,"FormHelperText",{enumerable:!0,get:function(){return e.FormHelperText}}),Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return e.Grid}}),Object.defineProperty(exports,"GridItem",{enumerable:!0,get:function(){return e.GridItem}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return e.HStack}}),Object.defineProperty(exports,"InputAddon",{enumerable:!0,get:function(){return e.InputAddon}}),Object.defineProperty(exports,"InputGroup",{enumerable:!0,get:function(){return e.InputGroup}}),Object.defineProperty(exports,"InputLeftAddon",{enumerable:!0,get:function(){return e.InputLeftAddon}}),Object.defineProperty(exports,"InputLeftElement",{enumerable:!0,get:function(){return e.InputLeftElement}}),Object.defineProperty(exports,"InputRightAddon",{enumerable:!0,get:function(){return e.InputRightAddon}}),Object.defineProperty(exports,"InputRightElement",{enumerable:!0,get:function(){return e.InputRightElement}}),Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return e.LinkOverlay}}),Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return e.List}}),Object.defineProperty(exports,"ListIcon",{enumerable:!0,get:function(){return e.ListIcon}}),Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return e.ListItem}}),Object.defineProperty(exports,"OrderedList",{enumerable:!0,get:function(){return e.OrderedList}}),Object.defineProperty(exports,"PopoverAnchor",{enumerable:!0,get:function(){return e.PopoverAnchor}}),Object.defineProperty(exports,"PopoverArrow",{enumerable:!0,get:function(){return e.PopoverArrow}}),Object.defineProperty(exports,"PopoverBody",{enumerable:!0,get:function(){return e.PopoverBody}}),Object.defineProperty(exports,"PopoverCloseButton",{enumerable:!0,get:function(){return e.PopoverCloseButton}}),Object.defineProperty(exports,"PopoverContent",{enumerable:!0,get:function(){return e.PopoverContent}}),Object.defineProperty(exports,"PopoverFooter",{enumerable:!0,get:function(){return e.PopoverFooter}}),Object.defineProperty(exports,"PopoverHeader",{enumerable:!0,get:function(){return e.PopoverHeader}}),Object.defineProperty(exports,"PopoverTrigger",{enumerable:!0,get:function(){return e.PopoverTrigger}}),Object.defineProperty(exports,"Portal",{enumerable:!0,get:function(){return e.Portal}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return e.Radio}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return e.RadioGroup}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return e.Select}}),Object.defineProperty(exports,"SimpleGrid",{enumerable:!0,get:function(){return e.SimpleGrid}}),Object.defineProperty(exports,"Stack",{enumerable:!0,get:function(){return e.Stack}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return e.Tab}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return e.TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return e.TabPanel}}),Object.defineProperty(exports,"TabPanels",{enumerable:!0,get:function(){return e.TabPanels}}),Object.defineProperty(exports,"TableContainer",{enumerable:!0,get:function(){return e.TableContainer}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return e.Tag}}),Object.defineProperty(exports,"Tbody",{enumerable:!0,get:function(){return e.Tbody}}),Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return e.Td}}),Object.defineProperty(exports,"Textarea",{enumerable:!0,get:function(){return e.Textarea}}),Object.defineProperty(exports,"Th",{enumerable:!0,get:function(){return e.Th}}),Object.defineProperty(exports,"Thead",{enumerable:!0,get:function(){return e.Thead}}),Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return e.Tr}}),Object.defineProperty(exports,"UnorderedList",{enumerable:!0,get:function(){return e.UnorderedList}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return e.VStack}}),Object.defineProperty(exports,"VisuallyHidden",{enumerable:!0,get:function(){return e.VisuallyHidden}}),Object.defineProperty(exports,"Wrap",{enumerable:!0,get:function(){return e.Wrap}}),Object.defineProperty(exports,"WrapItem",{enumerable:!0,get:function(){return e.WrapItem}}),Object.defineProperty(exports,"extendBaseTheme",{enumerable:!0,get:function(){return e.extendBaseTheme}}),exports.crukBrand=r.default,exports.r4lBrand=t.default,exports.su2cBrand=n.default,exports.Accordion=o.Accordion,exports.AlertBanner=i.AlertBanner,exports.Avatar=c.Avatar,exports.Badge=s.Badge,exports.Breadcrumb=u.Breadcrumb,exports.BreadcrumbLink=u.BreadcrumbLink,exports.Button=a.Button,exports.Card=p.Card,exports.CardStack=p.CardStack,exports.Checkbox=d.Checkbox,exports.CheckboxGroup=d.CheckboxGroup,exports.CircleDevice=l.CircleDevice,exports.DatePicker=x.default,exports.DonateWidget=f.DonateWidget,exports.FileUploader=b.FileUploader,exports.Footer=m.Footer,exports.Footnote=j.Footnote,exports.FormField=g.FormField,exports.GoogleMapEmbed=P.GoogleMapEmbed,exports.Heading=I.Heading,exports.Heading1=I.Heading1,exports.Heading2=I.Heading2,exports.Heading3=I.Heading3,exports.Heading4=I.Heading4,exports.Heading5=I.Heading5,exports.Heading6=I.Heading6,exports.Image=y.Image,exports.Input=O.Input,exports.Link=q.Link,exports.ArrowDownListItem=h.ArrowDownListItem,exports.CheckList=h.CheckList,exports.CheckListUL=h.CheckListUL,exports.Loader=T.Loader,exports.LogoGroup=C.LogoGroup,exports.Navigation=k.Navigation,exports.NumberInput=A.NumberInput,exports.ParagraphWithMedia=S.ParagraphWithMedia,exports.Popover=v.Popover,exports.PopoverAlert=w.PopoverAlert,exports.ProgressBar=B.ProgressBar,exports.RadioConsent=L.RadioConsent,exports.ReferenceBlock=F.ReferenceBlock,exports.ReferenceBlockContainer=F.ReferenceBlockContainer,exports.RichHeader=R.RichHeader,exports.SideNav=H.SideNav,exports.SimpleHeader=D.SimpleHeader,exports.SocialProof=U.SocialProof,exports.Stepper=G.Stepper,exports.Tabs=W.Tabs,exports.Text=E.Text,exports.TextareaWithWordCount=M.default,exports.TextTruncate=V.TextTruncate,exports.ToggleGroup=N.ToggleGroup,exports.Totaliser=Q.Totaliser,exports.Video=Y.Video,exports.YouTubeEmbed=K.YouTubeEmbed,exports.Divider=X.Divider,exports.Icon=z.Icon,exports.SingleStatistics=J.SingleStatistics,exports.OnThisPageHeadings=Z.OnThisPageHeadings,exports.SpotifyEmbed=$.SpotifyEmbed,exports.Table=_.Table,exports.OneInFour=ee.default,exports.TwoInFour=re.default,exports.ThreeInFour=te.default,exports.FourInFour=ne.default,exports.Adult=oe.Adult,exports.Alert=ie.default,exports.Apple=ce.default,exports.ArrowDown=se.default,exports.ArrowReturnUpIcon=ue.default,exports.ArrowUp=ae.default,exports.Bagdrop=pe.Bagdrop,exports.CheckCircle=de.default,exports.Children=le.Children,exports.Clock=xe.Clock,exports.CloudUpload=fe.default,exports.Cross=be.default,exports.Date=me.Date,exports.DirectDebit=je.default,exports.Dogs=ge.Dogs,exports.EmailIcon=Pe.default,exports.Facebook=Ie.default,exports.FundraisingRegulator=ye.default,exports.GooglePay=Oe.default,exports.Heart=qe.default,exports.HeartSu2c=he.default,exports.Info=Te.default,exports.Instagram=Ce.default,exports.LinkedIn=ke.default,exports.MasterCard=Ae.default,exports.Microscope=Se.default,exports.Newsletter=ve.default,exports.OvarianIcon=we.OvarianIcon,exports.Parking=Be.Parking,exports.PauseIcon=Le.default,exports.PayPal=Fe.default,exports.PdfIcon=Re.default,exports.People=He.default,exports.PhoneIcon=De.default,exports.PlayIcon=Ue.default,exports.Plus=Ge.default,exports.PlusSu2c=We.default,exports.Pound=Ee.default,exports.Pushchair=Me.Pushchair,exports.QuoteIcon=Ve.default,exports.Refreshments=Ne.Refreshments,exports.Royalties=Qe.Royalties,exports.Share=Ye.default,exports.Shower=Ke.Shower,exports.SpeechBubble=Xe.default,exports.Success=ze.default,exports.ThumbsUp=Je.default,exports.ThumbsUpSu2c=Ze.default,exports.TikTok=$e.default,exports.Toilets=_e.Toilets,exports.X=er.default,exports.Venue=rr.Venue,exports.Visa=tr.default,exports.WhatsApp=nr.default,exports.Wheelchairs=or.Wheelchairs,exports.YouTube=ir.default,Object.defineProperty(exports,"AddIcon",{enumerable:!0,get:function(){return cr.AddIcon}}),Object.defineProperty(exports,"ArrowBackIcon",{enumerable:!0,get:function(){return cr.ArrowBackIcon}}),Object.defineProperty(exports,"ArrowDownIcon",{enumerable:!0,get:function(){return cr.ArrowDownIcon}}),Object.defineProperty(exports,"ArrowForwardIcon",{enumerable:!0,get:function(){return cr.ArrowForwardIcon}}),Object.defineProperty(exports,"ArrowLeftIcon",{enumerable:!0,get:function(){return cr.ArrowLeftIcon}}),Object.defineProperty(exports,"ArrowRightIcon",{enumerable:!0,get:function(){return cr.ArrowRightIcon}}),Object.defineProperty(exports,"ArrowUpIcon",{enumerable:!0,get:function(){return cr.ArrowUpIcon}}),Object.defineProperty(exports,"AtSignIcon",{enumerable:!0,get:function(){return cr.AtSignIcon}}),Object.defineProperty(exports,"AttachmentIcon",{enumerable:!0,get:function(){return cr.AttachmentIcon}}),Object.defineProperty(exports,"BellIcon",{enumerable:!0,get:function(){return cr.BellIcon}}),Object.defineProperty(exports,"CalendarIcon",{enumerable:!0,get:function(){return cr.CalendarIcon}}),Object.defineProperty(exports,"ChatIcon",{enumerable:!0,get:function(){return cr.ChatIcon}}),Object.defineProperty(exports,"CheckCircleIcon",{enumerable:!0,get:function(){return cr.CheckCircleIcon}}),Object.defineProperty(exports,"CheckIcon",{enumerable:!0,get:function(){return cr.CheckIcon}}),Object.defineProperty(exports,"ChevronDownIcon",{enumerable:!0,get:function(){return cr.ChevronDownIcon}}),Object.defineProperty(exports,"ChevronLeftIcon",{enumerable:!0,get:function(){return cr.ChevronLeftIcon}}),Object.defineProperty(exports,"ChevronRightIcon",{enumerable:!0,get:function(){return cr.ChevronRightIcon}}),Object.defineProperty(exports,"ChevronUpIcon",{enumerable:!0,get:function(){return cr.ChevronUpIcon}}),Object.defineProperty(exports,"CloseIcon",{enumerable:!0,get:function(){return cr.CloseIcon}}),Object.defineProperty(exports,"CopyIcon",{enumerable:!0,get:function(){return cr.CopyIcon}}),Object.defineProperty(exports,"DeleteIcon",{enumerable:!0,get:function(){return cr.DeleteIcon}}),Object.defineProperty(exports,"DownloadIcon",{enumerable:!0,get:function(){return cr.DownloadIcon}}),Object.defineProperty(exports,"DragHandleIcon",{enumerable:!0,get:function(){return cr.DragHandleIcon}}),Object.defineProperty(exports,"EditIcon",{enumerable:!0,get:function(){return cr.EditIcon}}),Object.defineProperty(exports,"ExternalLinkIcon",{enumerable:!0,get:function(){return cr.ExternalLinkIcon}}),Object.defineProperty(exports,"HamburgerIcon",{enumerable:!0,get:function(){return cr.HamburgerIcon}}),Object.defineProperty(exports,"InfoIcon",{enumerable:!0,get:function(){return cr.InfoIcon}}),Object.defineProperty(exports,"InfoOutlineIcon",{enumerable:!0,get:function(){return cr.InfoOutlineIcon}}),Object.defineProperty(exports,"LinkIcon",{enumerable:!0,get:function(){return cr.LinkIcon}}),Object.defineProperty(exports,"LockIcon",{enumerable:!0,get:function(){return cr.LockIcon}}),Object.defineProperty(exports,"MinusIcon",{enumerable:!0,get:function(){return cr.MinusIcon}}),Object.defineProperty(exports,"MoonIcon",{enumerable:!0,get:function(){return cr.MoonIcon}}),Object.defineProperty(exports,"NotAllowedIcon",{enumerable:!0,get:function(){return cr.NotAllowedIcon}}),Object.defineProperty(exports,"PlusSquareIcon",{enumerable:!0,get:function(){return cr.PlusSquareIcon}}),Object.defineProperty(exports,"QuestionIcon",{enumerable:!0,get:function(){return cr.QuestionIcon}}),Object.defineProperty(exports,"QuestionOutlineIcon",{enumerable:!0,get:function(){return cr.QuestionOutlineIcon}}),Object.defineProperty(exports,"ReactIcon",{enumerable:!0,get:function(){return cr.ReactIcon}}),Object.defineProperty(exports,"RepeatClockIcon",{enumerable:!0,get:function(){return cr.RepeatClockIcon}}),Object.defineProperty(exports,"RepeatIcon",{enumerable:!0,get:function(){return cr.RepeatIcon}}),Object.defineProperty(exports,"Search2Icon",{enumerable:!0,get:function(){return cr.Search2Icon}}),Object.defineProperty(exports,"SearchIcon",{enumerable:!0,get:function(){return cr.SearchIcon}}),Object.defineProperty(exports,"SettingsIcon",{enumerable:!0,get:function(){return cr.SettingsIcon}}),Object.defineProperty(exports,"SmallAddIcon",{enumerable:!0,get:function(){return cr.SmallAddIcon}}),Object.defineProperty(exports,"SmallCloseIcon",{enumerable:!0,get:function(){return cr.SmallCloseIcon}}),Object.defineProperty(exports,"SpinnerIcon",{enumerable:!0,get:function(){return cr.SpinnerIcon}}),Object.defineProperty(exports,"StarIcon",{enumerable:!0,get:function(){return cr.StarIcon}}),Object.defineProperty(exports,"SunIcon",{enumerable:!0,get:function(){return cr.SunIcon}}),Object.defineProperty(exports,"TimeIcon",{enumerable:!0,get:function(){return cr.TimeIcon}}),Object.defineProperty(exports,"TriangleDownIcon",{enumerable:!0,get:function(){return cr.TriangleDownIcon}}),Object.defineProperty(exports,"TriangleUpIcon",{enumerable:!0,get:function(){return cr.TriangleUpIcon}}),Object.defineProperty(exports,"UnlockIcon",{enumerable:!0,get:function(){return cr.UnlockIcon}}),Object.defineProperty(exports,"UpDownIcon",{enumerable:!0,get:function(){return cr.UpDownIcon}}),Object.defineProperty(exports,"ViewIcon",{enumerable:!0,get:function(){return cr.ViewIcon}}),Object.defineProperty(exports,"ViewOffIcon",{enumerable:!0,get:function(){return cr.ViewOffIcon}}),Object.defineProperty(exports,"WarningIcon",{enumerable:!0,get:function(){return cr.WarningIcon}}),Object.defineProperty(exports,"WarningTwoIcon",{enumerable:!0,get:function(){return cr.WarningTwoIcon}}),exports.FormLabel=sr.FormLabel,exports.TwoBlockStatistics=ur.TwoBlockStatistics;
1
+ "use client";"use strict";var e=require("@chakra-ui/react"),r=require("./theme/cruk/index.js"),t=require("./theme/r4l/index.js"),n=require("./theme/su2c/index.js"),o=require("./components/Accordion/index.js"),i=require("./components/AlertBanner/index.js"),c=require("./components/Avatar/index.js"),s=require("./components/Badge/index.js"),u=require("./components/Breadcrumb/index.js"),a=require("./components/Button/index.js"),p=require("./components/Card/index.js"),d=require("./components/Checkbox/index.js"),l=require("./components/CircleDevice/index.js"),x=require("./components/DatePicker/index.js"),f=require("./components/DonateWidget/index.js"),b=require("./components/FileUploader/index.js"),m=require("./components/Footer/index.js"),j=require("./components/Footnote/index.js");require("./components/FormControl/index.js");var g=require("./components/FormField/index.js"),P=require("./components/GoogleMapEmbed/index.js"),I=require("./components/Heading/index.js"),y=require("./components/Image/index.js"),O=require("./components/Input/index.js"),q=require("./components/Link/index.js"),h=require("./components/List/index.js"),T=require("./components/Loader/index.js"),k=require("./components/LogoGroup/index.js"),C=require("./components/Navigation/index.js"),S=require("./components/NumberInput/index.js"),A=require("./components/ParagraphWithMedia/index.js"),v=require("./components/PopOver/index.js"),w=require("./components/PopoverAlert/index.js"),B=require("./components/ProgressBar/index.js");require("./components/Radio/index.js");var L=require("./components/RadioConsent/index.js"),F=require("./components/ReferenceBlock/index.js"),R=require("./components/RichHeader/index.js"),H=require("./components/SideNav/index.js"),D=require("./components/SimpleHeader/index.js"),U=require("./components/SocialProof/index.js"),G=require("./components/StickyNavigation/index.js"),E=require("./components/Stepper/index.js"),W=require("./components/Tabs/index.js"),V=require("./components/Text/index.js"),N=require("./components/TextareaInput/TextareaWithWordCount.js"),M=require("./components/TextTruncate/index.js"),Q=require("./components/Toggle/index.js"),Y=require("./components/Totaliser/index.js"),K=require("./components/Video/index.js"),X=require("./components/VimeoEmbed/index.js"),z=require("./components/YouTubeEmbed/index.js"),J=require("./components/Divider/index.js");require("./components/Flex/index.js");var Z=require("./components/Icon/index.js"),$=require("./components/KeyStatistics/index.js"),_=require("./components/OnThisPage/index.js"),ee=require("./components/SpotifyEmbed/index.js"),re=require("./components/Table/index.js"),te=require("./static/icons/1in4.js"),ne=require("./static/icons/2in4.js"),oe=require("./static/icons/3in4.js"),ie=require("./static/icons/4in4.js"),ce=require("./static/icons/adult.js"),se=require("./static/icons/alert.js"),ue=require("./static/icons/apple.js"),ae=require("./static/icons/arrowDown.js"),pe=require("./static/icons/arrowReturnUp.js"),de=require("./static/icons/arrowUp.js"),le=require("./static/icons/bagdrop.js"),xe=require("./static/icons/checkCircle.js"),fe=require("./static/icons/children.js"),be=require("./static/icons/clock.js"),me=require("./static/icons/cloudUpload.js"),je=require("./static/icons/cross.js"),ge=require("./static/icons/date.js"),Pe=require("./static/icons/directDebit.js"),Ie=require("./static/icons/dogs.js"),ye=require("./static/icons/email.js"),Oe=require("./static/icons/facebook.js"),qe=require("./static/icons/fundraisingRegulator.js"),he=require("./static/icons/googlePay.js"),Te=require("./static/icons/heart.js"),ke=require("./static/icons/heartSu2c.js"),Ce=require("./static/icons/info.js"),Se=require("./static/icons/instagram.js"),Ae=require("./static/icons/linkedin.js"),ve=require("./static/icons/masterCard.js"),we=require("./static/icons/microscope.js"),Be=require("./static/icons/newsletter.js"),Le=require("./static/icons/ovarian.js"),Fe=require("./static/icons/parking.js"),Re=require("./static/icons/pause.js"),He=require("./static/icons/payPal.js"),De=require("./static/icons/pdf.js"),Ue=require("./static/icons/people.js"),Ge=require("./static/icons/phone.js"),Ee=require("./static/icons/play.js"),We=require("./static/icons/plus.js"),Ve=require("./static/icons/plusSu2c.js"),Ne=require("./static/icons/pound.js"),Me=require("./static/icons/pushchair.js"),Qe=require("./static/icons/quote.js"),Ye=require("./static/icons/refreshments.js"),Ke=require("./static/icons/royalties-grants.js"),Xe=require("./static/icons/share.js"),ze=require("./static/icons/shower.js"),Je=require("./static/icons/speechBubble.js"),Ze=require("./static/icons/success.js"),$e=require("./static/icons/thumbsUp.js"),_e=require("./static/icons/thumbsUpSu2.js"),er=require("./static/icons/tikTok.js"),rr=require("./static/icons/toilets.js"),tr=require("./static/icons/twitter.js"),nr=require("./static/icons/venue.js"),or=require("./static/icons/visa.js"),ir=require("./static/icons/whatsApp.js"),cr=require("./static/icons/wheelchairs.js"),sr=require("./static/icons/youTube.js"),ur=require("@chakra-ui/icons"),ar=require("./components/FormControl/FormLabel.js"),pr=require("./components/KeyStatistics/TwoBlockStatistics.js");Object.defineProperty(exports,"AccordionButton",{enumerable:!0,get:function(){return e.AccordionButton}}),Object.defineProperty(exports,"AccordionIcon",{enumerable:!0,get:function(){return e.AccordionIcon}}),Object.defineProperty(exports,"AccordionItem",{enumerable:!0,get:function(){return e.AccordionItem}}),Object.defineProperty(exports,"AccordionPanel",{enumerable:!0,get:function(){return e.AccordionPanel}}),Object.defineProperty(exports,"AvatarBadge",{enumerable:!0,get:function(){return e.AvatarBadge}}),Object.defineProperty(exports,"AvatarGroup",{enumerable:!0,get:function(){return e.AvatarGroup}}),Object.defineProperty(exports,"Box",{enumerable:!0,get:function(){return e.Box}}),Object.defineProperty(exports,"BreadcrumbItem",{enumerable:!0,get:function(){return e.BreadcrumbItem}}),Object.defineProperty(exports,"ButtonGroup",{enumerable:!0,get:function(){return e.ButtonGroup}}),Object.defineProperty(exports,"ChakraBaseProvider",{enumerable:!0,get:function(){return e.ChakraBaseProvider}}),Object.defineProperty(exports,"Container",{enumerable:!0,get:function(){return e.Container}}),Object.defineProperty(exports,"Flex",{enumerable:!0,get:function(){return e.Flex}}),Object.defineProperty(exports,"FormControl",{enumerable:!0,get:function(){return e.FormControl}}),Object.defineProperty(exports,"FormErrorMessage",{enumerable:!0,get:function(){return e.FormErrorMessage}}),Object.defineProperty(exports,"FormHelperText",{enumerable:!0,get:function(){return e.FormHelperText}}),Object.defineProperty(exports,"Grid",{enumerable:!0,get:function(){return e.Grid}}),Object.defineProperty(exports,"GridItem",{enumerable:!0,get:function(){return e.GridItem}}),Object.defineProperty(exports,"HStack",{enumerable:!0,get:function(){return e.HStack}}),Object.defineProperty(exports,"InputAddon",{enumerable:!0,get:function(){return e.InputAddon}}),Object.defineProperty(exports,"InputGroup",{enumerable:!0,get:function(){return e.InputGroup}}),Object.defineProperty(exports,"InputLeftAddon",{enumerable:!0,get:function(){return e.InputLeftAddon}}),Object.defineProperty(exports,"InputLeftElement",{enumerable:!0,get:function(){return e.InputLeftElement}}),Object.defineProperty(exports,"InputRightAddon",{enumerable:!0,get:function(){return e.InputRightAddon}}),Object.defineProperty(exports,"InputRightElement",{enumerable:!0,get:function(){return e.InputRightElement}}),Object.defineProperty(exports,"LinkOverlay",{enumerable:!0,get:function(){return e.LinkOverlay}}),Object.defineProperty(exports,"List",{enumerable:!0,get:function(){return e.List}}),Object.defineProperty(exports,"ListIcon",{enumerable:!0,get:function(){return e.ListIcon}}),Object.defineProperty(exports,"ListItem",{enumerable:!0,get:function(){return e.ListItem}}),Object.defineProperty(exports,"OrderedList",{enumerable:!0,get:function(){return e.OrderedList}}),Object.defineProperty(exports,"PopoverAnchor",{enumerable:!0,get:function(){return e.PopoverAnchor}}),Object.defineProperty(exports,"PopoverArrow",{enumerable:!0,get:function(){return e.PopoverArrow}}),Object.defineProperty(exports,"PopoverBody",{enumerable:!0,get:function(){return e.PopoverBody}}),Object.defineProperty(exports,"PopoverCloseButton",{enumerable:!0,get:function(){return e.PopoverCloseButton}}),Object.defineProperty(exports,"PopoverContent",{enumerable:!0,get:function(){return e.PopoverContent}}),Object.defineProperty(exports,"PopoverFooter",{enumerable:!0,get:function(){return e.PopoverFooter}}),Object.defineProperty(exports,"PopoverHeader",{enumerable:!0,get:function(){return e.PopoverHeader}}),Object.defineProperty(exports,"PopoverTrigger",{enumerable:!0,get:function(){return e.PopoverTrigger}}),Object.defineProperty(exports,"Portal",{enumerable:!0,get:function(){return e.Portal}}),Object.defineProperty(exports,"Radio",{enumerable:!0,get:function(){return e.Radio}}),Object.defineProperty(exports,"RadioGroup",{enumerable:!0,get:function(){return e.RadioGroup}}),Object.defineProperty(exports,"Select",{enumerable:!0,get:function(){return e.Select}}),Object.defineProperty(exports,"SimpleGrid",{enumerable:!0,get:function(){return e.SimpleGrid}}),Object.defineProperty(exports,"Stack",{enumerable:!0,get:function(){return e.Stack}}),Object.defineProperty(exports,"Tab",{enumerable:!0,get:function(){return e.Tab}}),Object.defineProperty(exports,"TabList",{enumerable:!0,get:function(){return e.TabList}}),Object.defineProperty(exports,"TabPanel",{enumerable:!0,get:function(){return e.TabPanel}}),Object.defineProperty(exports,"TabPanels",{enumerable:!0,get:function(){return e.TabPanels}}),Object.defineProperty(exports,"TableContainer",{enumerable:!0,get:function(){return e.TableContainer}}),Object.defineProperty(exports,"Tag",{enumerable:!0,get:function(){return e.Tag}}),Object.defineProperty(exports,"Tbody",{enumerable:!0,get:function(){return e.Tbody}}),Object.defineProperty(exports,"Td",{enumerable:!0,get:function(){return e.Td}}),Object.defineProperty(exports,"Textarea",{enumerable:!0,get:function(){return e.Textarea}}),Object.defineProperty(exports,"Th",{enumerable:!0,get:function(){return e.Th}}),Object.defineProperty(exports,"Thead",{enumerable:!0,get:function(){return e.Thead}}),Object.defineProperty(exports,"Tr",{enumerable:!0,get:function(){return e.Tr}}),Object.defineProperty(exports,"UnorderedList",{enumerable:!0,get:function(){return e.UnorderedList}}),Object.defineProperty(exports,"VStack",{enumerable:!0,get:function(){return e.VStack}}),Object.defineProperty(exports,"VisuallyHidden",{enumerable:!0,get:function(){return e.VisuallyHidden}}),Object.defineProperty(exports,"Wrap",{enumerable:!0,get:function(){return e.Wrap}}),Object.defineProperty(exports,"WrapItem",{enumerable:!0,get:function(){return e.WrapItem}}),Object.defineProperty(exports,"extendBaseTheme",{enumerable:!0,get:function(){return e.extendBaseTheme}}),exports.crukBrand=r.default,exports.r4lBrand=t.default,exports.su2cBrand=n.default,exports.Accordion=o.Accordion,exports.AlertBanner=i.AlertBanner,exports.Avatar=c.Avatar,exports.Badge=s.Badge,exports.Breadcrumb=u.Breadcrumb,exports.BreadcrumbLink=u.BreadcrumbLink,exports.Button=a.Button,exports.Card=p.Card,exports.CardStack=p.CardStack,exports.Checkbox=d.Checkbox,exports.CheckboxGroup=d.CheckboxGroup,exports.CircleDevice=l.CircleDevice,exports.DatePicker=x.default,exports.DonateWidget=f.DonateWidget,exports.FileUploader=b.FileUploader,exports.Footer=m.Footer,exports.Footnote=j.Footnote,exports.FormField=g.FormField,exports.GoogleMapEmbed=P.GoogleMapEmbed,exports.Heading=I.Heading,exports.Heading1=I.Heading1,exports.Heading2=I.Heading2,exports.Heading3=I.Heading3,exports.Heading4=I.Heading4,exports.Heading5=I.Heading5,exports.Heading6=I.Heading6,exports.Image=y.Image,exports.Input=O.Input,exports.Link=q.Link,exports.ArrowDownListItem=h.ArrowDownListItem,exports.CheckList=h.CheckList,exports.CheckListUL=h.CheckListUL,exports.Loader=T.Loader,exports.LogoGroup=k.LogoGroup,exports.Navigation=C.Navigation,exports.NumberInput=S.NumberInput,exports.ParagraphWithMedia=A.ParagraphWithMedia,exports.Popover=v.Popover,exports.PopoverAlert=w.PopoverAlert,exports.ProgressBar=B.ProgressBar,exports.RadioConsent=L.RadioConsent,exports.ReferenceBlock=F.ReferenceBlock,exports.ReferenceBlockContainer=F.ReferenceBlockContainer,exports.RichHeader=R.RichHeader,exports.SideNav=H.SideNav,exports.SimpleHeader=D.SimpleHeader,exports.SocialProof=U.SocialProof,exports.StickyNavigation=G.StickyNavigation,exports.Stepper=E.Stepper,exports.Tabs=W.Tabs,exports.Text=V.Text,exports.TextareaWithWordCount=N.default,exports.TextTruncate=M.TextTruncate,exports.ToggleGroup=Q.ToggleGroup,exports.Totaliser=Y.Totaliser,exports.Video=K.Video,exports.VimeoEmbed=X.VimeoEmbed,exports.YouTubeEmbed=z.YouTubeEmbed,exports.Divider=J.Divider,exports.Icon=Z.Icon,exports.SingleStatistics=$.SingleStatistics,exports.OnThisPageHeadings=_.OnThisPageHeadings,exports.SpotifyEmbed=ee.SpotifyEmbed,exports.Table=re.Table,exports.OneInFour=te.default,exports.TwoInFour=ne.default,exports.ThreeInFour=oe.default,exports.FourInFour=ie.default,exports.Adult=ce.Adult,exports.Alert=se.default,exports.Apple=ue.default,exports.ArrowDown=ae.default,exports.ArrowReturnUpIcon=pe.default,exports.ArrowUp=de.default,exports.Bagdrop=le.Bagdrop,exports.CheckCircle=xe.default,exports.Children=fe.Children,exports.Clock=be.Clock,exports.CloudUpload=me.default,exports.Cross=je.default,exports.Date=ge.Date,exports.DirectDebit=Pe.default,exports.Dogs=Ie.Dogs,exports.EmailIcon=ye.default,exports.Facebook=Oe.default,exports.FundraisingRegulator=qe.default,exports.GooglePay=he.default,exports.Heart=Te.default,exports.HeartSu2c=ke.default,exports.Info=Ce.default,exports.Instagram=Se.default,exports.LinkedIn=Ae.default,exports.MasterCard=ve.default,exports.Microscope=we.default,exports.Newsletter=Be.default,exports.OvarianIcon=Le.OvarianIcon,exports.Parking=Fe.Parking,exports.PauseIcon=Re.default,exports.PayPal=He.default,exports.PdfIcon=De.default,exports.People=Ue.default,exports.PhoneIcon=Ge.default,exports.PlayIcon=Ee.default,exports.Plus=We.default,exports.PlusSu2c=Ve.default,exports.Pound=Ne.default,exports.Pushchair=Me.Pushchair,exports.QuoteIcon=Qe.default,exports.Refreshments=Ye.Refreshments,exports.Royalties=Ke.Royalties,exports.Share=Xe.default,exports.Shower=ze.Shower,exports.SpeechBubble=Je.default,exports.Success=Ze.default,exports.ThumbsUp=$e.default,exports.ThumbsUpSu2c=_e.default,exports.TikTok=er.default,exports.Toilets=rr.Toilets,exports.X=tr.default,exports.Venue=nr.Venue,exports.Visa=or.default,exports.WhatsApp=ir.default,exports.Wheelchairs=cr.Wheelchairs,exports.YouTube=sr.default,Object.defineProperty(exports,"AddIcon",{enumerable:!0,get:function(){return ur.AddIcon}}),Object.defineProperty(exports,"ArrowBackIcon",{enumerable:!0,get:function(){return ur.ArrowBackIcon}}),Object.defineProperty(exports,"ArrowDownIcon",{enumerable:!0,get:function(){return ur.ArrowDownIcon}}),Object.defineProperty(exports,"ArrowForwardIcon",{enumerable:!0,get:function(){return ur.ArrowForwardIcon}}),Object.defineProperty(exports,"ArrowLeftIcon",{enumerable:!0,get:function(){return ur.ArrowLeftIcon}}),Object.defineProperty(exports,"ArrowRightIcon",{enumerable:!0,get:function(){return ur.ArrowRightIcon}}),Object.defineProperty(exports,"ArrowUpIcon",{enumerable:!0,get:function(){return ur.ArrowUpIcon}}),Object.defineProperty(exports,"AtSignIcon",{enumerable:!0,get:function(){return ur.AtSignIcon}}),Object.defineProperty(exports,"AttachmentIcon",{enumerable:!0,get:function(){return ur.AttachmentIcon}}),Object.defineProperty(exports,"BellIcon",{enumerable:!0,get:function(){return ur.BellIcon}}),Object.defineProperty(exports,"CalendarIcon",{enumerable:!0,get:function(){return ur.CalendarIcon}}),Object.defineProperty(exports,"ChatIcon",{enumerable:!0,get:function(){return ur.ChatIcon}}),Object.defineProperty(exports,"CheckCircleIcon",{enumerable:!0,get:function(){return ur.CheckCircleIcon}}),Object.defineProperty(exports,"CheckIcon",{enumerable:!0,get:function(){return ur.CheckIcon}}),Object.defineProperty(exports,"ChevronDownIcon",{enumerable:!0,get:function(){return ur.ChevronDownIcon}}),Object.defineProperty(exports,"ChevronLeftIcon",{enumerable:!0,get:function(){return ur.ChevronLeftIcon}}),Object.defineProperty(exports,"ChevronRightIcon",{enumerable:!0,get:function(){return ur.ChevronRightIcon}}),Object.defineProperty(exports,"ChevronUpIcon",{enumerable:!0,get:function(){return ur.ChevronUpIcon}}),Object.defineProperty(exports,"CloseIcon",{enumerable:!0,get:function(){return ur.CloseIcon}}),Object.defineProperty(exports,"CopyIcon",{enumerable:!0,get:function(){return ur.CopyIcon}}),Object.defineProperty(exports,"DeleteIcon",{enumerable:!0,get:function(){return ur.DeleteIcon}}),Object.defineProperty(exports,"DownloadIcon",{enumerable:!0,get:function(){return ur.DownloadIcon}}),Object.defineProperty(exports,"DragHandleIcon",{enumerable:!0,get:function(){return ur.DragHandleIcon}}),Object.defineProperty(exports,"EditIcon",{enumerable:!0,get:function(){return ur.EditIcon}}),Object.defineProperty(exports,"ExternalLinkIcon",{enumerable:!0,get:function(){return ur.ExternalLinkIcon}}),Object.defineProperty(exports,"HamburgerIcon",{enumerable:!0,get:function(){return ur.HamburgerIcon}}),Object.defineProperty(exports,"InfoIcon",{enumerable:!0,get:function(){return ur.InfoIcon}}),Object.defineProperty(exports,"InfoOutlineIcon",{enumerable:!0,get:function(){return ur.InfoOutlineIcon}}),Object.defineProperty(exports,"LinkIcon",{enumerable:!0,get:function(){return ur.LinkIcon}}),Object.defineProperty(exports,"LockIcon",{enumerable:!0,get:function(){return ur.LockIcon}}),Object.defineProperty(exports,"MinusIcon",{enumerable:!0,get:function(){return ur.MinusIcon}}),Object.defineProperty(exports,"MoonIcon",{enumerable:!0,get:function(){return ur.MoonIcon}}),Object.defineProperty(exports,"NotAllowedIcon",{enumerable:!0,get:function(){return ur.NotAllowedIcon}}),Object.defineProperty(exports,"PlusSquareIcon",{enumerable:!0,get:function(){return ur.PlusSquareIcon}}),Object.defineProperty(exports,"QuestionIcon",{enumerable:!0,get:function(){return ur.QuestionIcon}}),Object.defineProperty(exports,"QuestionOutlineIcon",{enumerable:!0,get:function(){return ur.QuestionOutlineIcon}}),Object.defineProperty(exports,"ReactIcon",{enumerable:!0,get:function(){return ur.ReactIcon}}),Object.defineProperty(exports,"RepeatClockIcon",{enumerable:!0,get:function(){return ur.RepeatClockIcon}}),Object.defineProperty(exports,"RepeatIcon",{enumerable:!0,get:function(){return ur.RepeatIcon}}),Object.defineProperty(exports,"Search2Icon",{enumerable:!0,get:function(){return ur.Search2Icon}}),Object.defineProperty(exports,"SearchIcon",{enumerable:!0,get:function(){return ur.SearchIcon}}),Object.defineProperty(exports,"SettingsIcon",{enumerable:!0,get:function(){return ur.SettingsIcon}}),Object.defineProperty(exports,"SmallAddIcon",{enumerable:!0,get:function(){return ur.SmallAddIcon}}),Object.defineProperty(exports,"SmallCloseIcon",{enumerable:!0,get:function(){return ur.SmallCloseIcon}}),Object.defineProperty(exports,"SpinnerIcon",{enumerable:!0,get:function(){return ur.SpinnerIcon}}),Object.defineProperty(exports,"StarIcon",{enumerable:!0,get:function(){return ur.StarIcon}}),Object.defineProperty(exports,"SunIcon",{enumerable:!0,get:function(){return ur.SunIcon}}),Object.defineProperty(exports,"TimeIcon",{enumerable:!0,get:function(){return ur.TimeIcon}}),Object.defineProperty(exports,"TriangleDownIcon",{enumerable:!0,get:function(){return ur.TriangleDownIcon}}),Object.defineProperty(exports,"TriangleUpIcon",{enumerable:!0,get:function(){return ur.TriangleUpIcon}}),Object.defineProperty(exports,"UnlockIcon",{enumerable:!0,get:function(){return ur.UnlockIcon}}),Object.defineProperty(exports,"UpDownIcon",{enumerable:!0,get:function(){return ur.UpDownIcon}}),Object.defineProperty(exports,"ViewIcon",{enumerable:!0,get:function(){return ur.ViewIcon}}),Object.defineProperty(exports,"ViewOffIcon",{enumerable:!0,get:function(){return ur.ViewOffIcon}}),Object.defineProperty(exports,"WarningIcon",{enumerable:!0,get:function(){return ur.WarningIcon}}),Object.defineProperty(exports,"WarningTwoIcon",{enumerable:!0,get:function(){return ur.WarningTwoIcon}}),exports.FormLabel=ar.FormLabel,exports.TwoBlockStatistics=pr.TwoBlockStatistics;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const o=require("@chakra-ui/react").defineStyleConfig({baseStyle:{"& [data-testid='icon']":{marginBlockStart:{lg:"calc((1.75rem - 1.5rem) / 2)",base:"calc((1.625rem - 1.5rem) / 2)"}},fontFamily:"body",fontWeight:"semibold",color:"linkColor",textDecoration:"underline",fontSize:"text.md",lineHeight:"text.md",_hover:{color:"linkColorHover"},_visited:{color:"linkColorVisited"},letterSpacing:"wide"},variants:{altInline:{fontFamily:"body",fontWeight:"semibold",color:"altLinkColor",textDecoration:"underline",fontSize:"text.md",lineHeight:"text.lg",_hover:{color:"altLinkColorHover !important"},_visited:{color:"altLinkColorVisited !important"},letterSpacing:"wide"},file:{_visited:{svg:{color:"linkColorVisited"}}},navigation:{fontFamily:"body",fontWeight:"medium",color:"navigationLinkColor",textDecoration:"none",_hover:{color:"navigationLinkHover",textDecoration:"none"},_visited:{color:"navigationLinkColor",_hover:{color:"navigationLinkHover"}}},navigationAlt:{fontFamily:"body",fontWeight:"medium",textDecoration:"none",_hover:{textDecoration:"none"}},footer:{color:"linkColor",_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},fontSize:"text.xs",lineHeight:"text.md",mb:"4",display:"block",letterSpacing:"wide"},reference:{color:"linkRefPrimary",left:"-12",position:"absolute",verticalAlign:"middle",_hover:{color:"linkRefHover"}}},sizes:{md:{fontSize:"text.md",lineHeight:"text.md"},sm:{fontSize:"text.sm",lineHeight:"text.sm"}}});exports.default=o,exports.linkTheme=o;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const o=require("@chakra-ui/react").defineStyleConfig({baseStyle:{"& [data-testid='icon']":{marginBlockStart:{lg:"calc((1.75rem - 1.5rem) / 2)",base:"calc((1.625rem - 1.5rem) / 2)"}},fontFamily:"body",fontWeight:"semibold",color:"linkColor",textDecoration:"underline",fontSize:"text.md",lineHeight:"text.md",_hover:{color:"linkColorHover"},_visited:{color:"linkColorVisited"},letterSpacing:"wide"},variants:{altInline:{fontFamily:"body",fontWeight:"semibold",color:"altLinkColor",textDecoration:"underline",fontSize:"text.md",lineHeight:"text.lg",_hover:{color:"altLinkColorHover !important"},_visited:{color:"altLinkColorVisited !important"},letterSpacing:"wide"},file:{_visited:{svg:{color:"linkColorVisited"}}},navigation:{fontFamily:"body",fontWeight:"medium",color:"navigationLinkColor",textDecoration:"none",_hover:{color:"navigationLinkHover",textDecoration:"none"},_visited:{color:"navigationLinkColor",_hover:{color:"navigationLinkHover"}}},navigationAlt:{fontFamily:"body",fontWeight:"medium",textDecoration:"none",_hover:{textDecoration:"none"}},footer:{color:"linkColor",_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},fontSize:"text.sm",lineHeight:"text.md",mb:"4",display:"block",letterSpacing:"wide"},reference:{color:"linkRefPrimary",left:"-12",position:"absolute",verticalAlign:"middle",_hover:{color:"linkRefHover"}}},sizes:{md:{fontSize:"text.md",lineHeight:"text.md"},sm:{fontSize:"text.sm",lineHeight:"text.sm"}}});exports.default=o,exports.linkTheme=o;
2
2
  //# sourceMappingURL=link.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("@chakra-ui/anatomy"),r=require("@chakra-ui/react");const{definePartsStyle:e,defineMultiStyleConfig:t}=r.createMultiStyleConfigHelpers(o.popoverAnatomy.keys),a=r.defineStyle({fontFamily:"body",borderRadius:"0",cursor:"text",backgroundColor:"popoverPrimaryBackground",border:0,padding:0,fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},marginX:{base:6,xl:0}}),n=r.defineStyle({padding:4,paddingBlock:4,backgroundColor:"popoverPrimaryBackground",color:"white",fontWeight:"normal",fontFamily:"body",letterSpacing:"wide",alignSelf:"stretch",border:"none",width:"100%",maxWidth:{base:"350px",md:"450px",lg:"550px"},height:"auto",fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},a:{_visited:{color:"citationPopoverLinkVisited"},_hover:{color:"citationPopoverLinkHover"},color:"citationPopoverLink"}}),d=r.defineStyle({paddingLeft:4,paddingRight:4,paddingTop:4,paddingBottom:0,backgroundColor:"popoverPrimaryBackground",color:"white",fontFamily:"body",fontWeight:"bold",letterSpacing:"wide",border:"none",textAlign:"left",lineHeight:{base:"text.sm",lg:"text.md"},fontSize:{base:"text.sm",lg:"text.md"},width:"100%",overlay:{base:"#00000008",lg:"none"}}),i=r.defineStyle({top:"10px",right:"10px",backgroundColor:"popoverPrimaryBackground",color:"white"}),s={content:a,arrow:r.defineStyle({padding:"unset",border:"4px solid",borderColor:"popoverPrimaryBorder",backgroundColor:"white","--popper-arrow-default-shadow":"none !important"}),header:d,body:n,closeButton:i},l=e(s),c={content:{"--popper-arrow-size":"25px",border:"2px solid",borderLeft:"4px solid",backgroundColor:"popoverSecondaryBackground",borderColor:"popoverSecondaryBorder",_focus:{boxShadow:"none"}},arrow:{border:"2px solid",borderColor:"popoverSecondaryBorder"},header:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground",a:{_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},color:"linkColor"}},closeButton:{backgroundColor:"popoverSecondaryBackground",color:"popoverSecondaryText"}},p={...c,content:{...c.content,borderColor:"status.information",borderLeftColor:"status.information",_focus:{boxShadow:"status.information"}},arrow:{...c.arrow,borderColor:"status.information"},body:{backgroundColor:"white",paddingBlock:6}},u=t({baseStyle:l,variants:{default:s,secondary:c,information:p,success:{...p,content:{...p.content,borderColor:"status.success",borderLeftColor:"status.success",_focus:{boxShadow:"status.success"}},arrow:{...p.arrow,borderColor:"status.success"}},warning:{...p,content:{...p.content,borderColor:"status.warning",borderLeftColor:"status.warning",_focus:{boxShadow:"status.warning"}},arrow:{...p.arrow,borderColor:"status.warning"}},error:{...p,content:{...p.content,borderColor:"status.error",borderLeftColor:"status.error",_focus:{boxShadow:"status.error"}},arrow:{...p.arrow,borderColor:"status.error"}}}});exports.default=u;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("@chakra-ui/anatomy"),r=require("@chakra-ui/react");const{definePartsStyle:e,defineMultiStyleConfig:t}=r.createMultiStyleConfigHelpers(o.popoverAnatomy.keys),a=r.defineStyle({fontFamily:"body",borderRadius:"0",cursor:"text",backgroundColor:"popoverPrimaryBackground",border:0,padding:0,fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},marginX:{base:6,xl:0}}),n=r.defineStyle({padding:4,paddingBlock:4,backgroundColor:"popoverPrimaryBackground",color:"white",fontWeight:"normal",fontFamily:"body",letterSpacing:"wide",alignSelf:"stretch",border:"none",width:"100%",maxWidth:{base:"350px",md:"450px",lg:"550px"},height:"auto",fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},a:{_visited:{color:"citationPopoverLinkVisited"},_hover:{color:"citationPopoverLinkHover"},color:"citationPopoverLink"}}),d=r.defineStyle({paddingLeft:4,paddingRight:4,paddingTop:4,paddingBottom:0,backgroundColor:"popoverPrimaryBackground",color:"white",fontFamily:"body",fontWeight:"bold",letterSpacing:"wide",border:"none",textAlign:"left",lineHeight:{base:"text.sm",lg:"text.md"},fontSize:{base:"text.sm",lg:"text.md"},width:"100%",overlay:{base:"#00000008",lg:"none"}}),i=r.defineStyle({top:"10px",right:"10px",backgroundColor:"popoverPrimaryBackground",color:"white"}),c={content:a,arrow:r.defineStyle({padding:"unset",border:"4px solid",borderColor:"popoverPrimaryBorder",backgroundColor:"white","--popper-arrow-default-shadow":"none !important"}),header:d,body:n,closeButton:i},l=e(c),s={content:{"--popper-arrow-size":"25px",border:"2px solid",borderLeft:"4px solid",backgroundColor:"popoverSecondaryBackground",borderColor:"popoverSecondaryBorder",_focus:{boxShadow:"none"}},arrow:{border:"2px solid",borderColor:"popoverSecondaryBorder"},header:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground",a:{_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},color:"linkColor"}},closeButton:{backgroundColor:"popoverSecondaryBackground",color:"popoverSecondaryText"}},p={...s,content:{...s.content,borderColor:"status.information",borderLeftColor:"status.information",_focus:{boxShadow:"status.information"}},arrow:{...s.arrow,borderColor:"status.information"},body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground",paddingBlock:6}},u=t({baseStyle:l,variants:{default:c,secondary:s,information:p,success:{...p,body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},content:{...p.content,borderColor:"status.success",borderLeftColor:"status.success",_focus:{boxShadow:"status.success"}},arrow:{...p.arrow,borderColor:"status.success"}},warning:{...p,body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},content:{...p.content,borderColor:"status.warning",borderLeftColor:"status.warning",_focus:{boxShadow:"status.warning"}},arrow:{...p.arrow,borderColor:"status.warning"}},error:{...p,body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},content:{...p.content,borderColor:"status.error",borderLeftColor:"status.error",_focus:{boxShadow:"status.error"}},arrow:{...p.arrow,borderColor:"status.error"}}}});exports.default=u;
2
2
  //# sourceMappingURL=popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.js","sources":["../../../../../src/theme/cruk/components/popover.ts"],"sourcesContent":[null],"names":["definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","popoverAnatomy","keys","content","defineStyle","fontFamily","borderRadius","cursor","backgroundColor","border","padding","fontSize","base","lg","lineHeight","marginX","xl","body","paddingBlock","color","fontWeight","letterSpacing","alignSelf","width","maxWidth","md","height","a","_visited","_hover","header","paddingLeft","paddingRight","paddingTop","paddingBottom","textAlign","overlay","closeButton","top","right","defaultVariant","arrow","borderColor","baseStyle","secondaryVariant","borderLeft","_focus","boxShadow","informationVariant","borderLeftColor","popoverTheme","variants","default","secondary","information","success","warning","error"],"mappings":"sIAGA,MAAMA,iBAAEA,EAAgBC,uBAAEA,GACxBC,EAAAA,8BAA8BC,EAAAA,eAAeC,MAGzCC,EAAUC,EAAAA,YAAY,CAC1BC,WAAY,OACZC,aAAc,IACdC,OAAQ,OACRC,gBAAiB,2BACjBC,OAAQ,EACRC,QAAS,EAETC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCE,QAAS,CAAEH,KAAM,EAAGI,GAAI,KAGpBC,EAAOb,EAAAA,YAAY,CACvBM,QAAS,EACTQ,aAAc,EACdV,gBAAiB,2BACjBW,MAAO,QACPC,WAAY,SACZf,WAAY,OACZgB,cAAe,OACfC,UAAW,UACXb,OAAQ,OACRc,MAAO,OAGPC,SAAU,CAAEZ,KAAM,QAASa,GAAI,QAASZ,GAAI,SAC5Ca,OAAQ,OAGRf,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCc,EAAG,CACDC,SAAU,CAAET,MAAO,8BACnBU,OAAQ,CAAEV,MAAO,4BACjBA,MAAO,yBAILW,EAAS1B,EAAAA,YAAY,CACzB2B,YAAa,EACbC,aAAc,EACdC,WAAY,EACZC,cAAe,EACf1B,gBAAiB,2BACjBW,MAAO,QACPd,WAAY,OACZe,WAAY,OACZC,cAAe,OACfZ,OAAQ,OACR0B,UAAW,OAEXrB,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCF,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCU,MAAO,OACPa,QAAS,CACPxB,KAAM,YACNC,GAAI,UAIFwB,EAAcjC,EAAAA,YAAY,CAE9BkC,IAAK,OACLC,MAAO,OACP/B,gBAAiB,2BACjBW,MAA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O,gBAAiB,eACjBH,OAAQ,CACNC,UAAW,iBAGfN,MAAO,IACFO,EAAmBP,MACtBC,YAAa"}
1
+ {"version":3,"file":"popover.js","sources":["../../../../../src/theme/cruk/components/popover.ts"],"sourcesContent":[null],"names":["definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","popoverAnatomy","keys","content","defineStyle","fontFamily","borderRadius","cursor","backgroundColor","border","padding","fontSize","base","lg","lineHeight","marginX","xl","body","paddingBlock","color","fontWeight","letterSpacing","alignSelf","width","maxWidth","md","height","a","_visited","_hover","header","paddingLeft","paddingRight","paddingTop","paddingBottom","textAlign","overlay","closeButton","top","right","defaultVariant","arrow","borderColor","baseStyle","secondaryVariant","borderLeft","_focus","boxShadow","informationVariant","borderLeftColor","popoverTheme","variants","default","secondary","information","success","warning","error"],"mappings":"sIAGA,MAAMA,iBAAEA,EAAgBC,uBAAEA,GACxBC,EAAAA,8BAA8BC,EAAAA,eAAeC,MAGzCC,EAAUC,EAAAA,YAAY,CAC1BC,WAAY,OACZC,aAAc,IACdC,OAAQ,OACRC,gBAAiB,2BACjBC,OAAQ,EACRC,QAAS,EAETC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCE,QAAS,CAAEH,KAAM,EAAGI,GAAI,KAGpBC,EAAOb,EAAAA,YAAY,CACvBM,QAAS,EACTQ,aAAc,EACdV,gBAAiB,2BACjBW,MAAO,QACPC,WAAY,SACZf,WAAY,OACZgB,cAAe,OACfC,UAAW,UACXb,OAAQ,OACRc,MAAO,OAGPC,SAAU,CAAEZ,KAAM,QAASa,GAAI,QAASZ,GAAI,SAC5Ca,OAAQ,OAGRf,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCc,EAAG,CACDC,SAAU,CAAET,MAAO,8BACnBU,OAAQ,CAAEV,MAAO,4BACjBA,MAAO,yBAILW,EAAS1B,EAAAA,YA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ArEmB,IAClBP,EACH/B,KAAM,CACJE,MAAO,uBACPX,gBAAiB,8BAEnBL,QAAS,IACJ6C,EAAmB7C,QACtBuC,YAAa,iBACbO,gBAAiB,iBACjBH,OAAQ,CACNC,UAAW,mBAGfN,MAAO,IACFO,EAAmBP,MACtBC,YAAa,mBAsDbc,QAlDmB,IAClBR,EACH/B,KAAM,CACJE,MAAO,uBACPX,gBAAiB,8BAEnBL,QAAS,IACJ6C,EAAmB7C,QACtBuC,YAAa,iBACbO,gBAAiB,iBACjBH,OAAQ,CACNC,UAAW,mBAGfN,MAAO,IACFO,EAAmBP,MACtBC,YAAa,mBAmCbe,MA/BiB,IAChBT,EACH/B,KAAM,CACJE,MAAO,uBACPX,gBAAiB,8BAEnBL,QAAS,IACJ6C,EAAmB7C,QACtBuC,YAAa,eACbO,gBAAiB,eACjBH,OAAQ,CACNC,UAAW,iBAGfN,MAAO,IACFO,EAAmBP,MACtBC,YAAa"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("@chakra-ui/react").defineStyleConfig({baseStyle:{backgroundColor:"white",padding:6,"::after":{display:"block",content:"''",width:"4rem",height:"0.5rem",opacity:"1",borderColor:"transparent",backgroundColor:"black",marginTop:12},"> h2":{fontFamily:"body",fontWeight:"normal",fontSize:{base:"headings.lg",lg:"headings.xl"},lineHeight:{base:"headings.lg",lg:"headings.xl"},marginTop:2},"> .cta-btn":{marginTop:{base:6,lg:8,xl:8},"> a":{margin:0}},"> hr":{width:"4rem",height:"0.5rem",opacity:"1",borderColor:"transparent",backgroundColor:"black",marginTop:6},"> div > a":{mt:2}}});exports.default=e,exports.simpleHeaderTheme=e;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=require("@chakra-ui/react").defineStyleConfig({baseStyle:{backgroundColor:"white",padding:6,"::after":{display:"block",content:"''",width:"4rem",height:"0.5rem",opacity:"1",borderColor:"transparent",backgroundColor:"black",marginTop:12},"> h2":{fontFamily:"body",fontSize:{base:"headings.lg",lg:"headings.xl"},lineHeight:{base:"headings.lg",lg:"headings.xl"},marginTop:2},"> .cta-btn":{marginTop:{base:6,lg:8,xl:8},"> a":{margin:0}},"> hr":{width:"4rem",height:"0.5rem",opacity:"1",borderColor:"transparent",backgroundColor:"black",marginTop:6},"> div > a":{mt:2}}});exports.default=e,exports.simpleHeaderTheme=e;
2
2
  //# sourceMappingURL=simpleHeader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"simpleHeader.js","sources":["../../../../../src/theme/cruk/components/simpleHeader.ts"],"sourcesContent":[null],"names":["simpleHeaderTheme","defineStyleConfig","baseStyle","backgroundColor","padding","display","content","width","height","opacity","borderColor","marginTop","fontFamily","fontWeight","fontSize","base","lg","lineHeight","xl","margin","mt"],"mappings":"oEAEO,MAAMA,8BAAoBC,kBAAkB,CACjDC,UAAW,CACTC,gBAAiB,QACjBC,QAAS,EACT,UAAW,CACTC,QAAS,QACTC,QAAS,KACTC,MAAO,OACPC,OAAQ,SACRC,QAAS,IACTC,YAAa,cACbP,gBAAiB,QACjBQ,UAAW,IAEb,OAAQ,CACNC,WAAY,OACZC,WAAY,SACZC,SAAU,CAAEC,KAAM,cAAeC,GAAI,eACrCC,WAAY,CAAEF,KAAM,cAAeC,GAAI,eACvCL,UAAW,GAEb,aAAc,CACZA,UAAW,CAAEI,KAAM,EAAGC,GAAI,EAAGE,GAAI,GAEjC,MAAO,CACLC,OAAQ,IAGZ,OAAQ,CACNZ,MAAO,OACPC,OAAQ,SACRC,QAAS,IACTC,YAAa,cACbP,gBAAiB,QACjBQ,UAAW,GAEb,YAAa,CACXS,GAAI"}
1
+ {"version":3,"file":"simpleHeader.js","sources":["../../../../../src/theme/cruk/components/simpleHeader.ts"],"sourcesContent":[null],"names":["simpleHeaderTheme","defineStyleConfig","baseStyle","backgroundColor","padding","display","content","width","height","opacity","borderColor","marginTop","fontFamily","fontSize","base","lg","lineHeight","xl","margin","mt"],"mappings":"oEAEO,MAAMA,8BAAoBC,kBAAkB,CACjDC,UAAW,CACTC,gBAAiB,QACjBC,QAAS,EACT,UAAW,CACTC,QAAS,QACTC,QAAS,KACTC,MAAO,OACPC,OAAQ,SACRC,QAAS,IACTC,YAAa,cACbP,gBAAiB,QACjBQ,UAAW,IAEb,OAAQ,CACNC,WAAY,OACZC,SAAU,CAAEC,KAAM,cAAeC,GAAI,eACrCC,WAAY,CAAEF,KAAM,cAAeC,GAAI,eACvCJ,UAAW,GAEb,aAAc,CACZA,UAAW,CAAEG,KAAM,EAAGC,GAAI,EAAGE,GAAI,GAEjC,MAAO,CACLC,OAAQ,IAGZ,OAAQ,CACNX,MAAO,OACPC,OAAQ,SACRC,QAAS,IACTC,YAAa,cACbP,gBAAiB,QACjBQ,UAAW,GAEb,YAAa,CACXQ,GAAI"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@chakra-ui/anatomy"),o=require("@chakra-ui/react");const{definePartsStyle:t,defineMultiStyleConfig:r}=o.createMultiStyleConfigHelpers(e.popoverAnatomy.keys),i=o.defineStyle({fontFamily:"body",fontWeight:"normal",borderRadius:"0",cursor:"text",backgroundColor:"popoverPrimaryBackground",border:0,padding:"0.5rem",maxWidth:{base:"unset",lg:"480px"},fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},marginX:{base:6,xl:0}}),n=o.defineStyle({backgroundColor:"popoverPrimaryBackground",color:"white",fontFamily:"body",fontWeight:"normal",letterSpacing:"0.32px",alignSelf:"stretch",border:"none",width:"100%",height:"auto",paddingInlineStart:"8px",paddingInlineEnd:"8px",fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},a:{_visited:{color:"citationPopoverLinkVisited"},_hover:{color:"citationPopoverLinkHover"},color:"citationPopoverLink"},"> div":{" > p":{color:"white",paddingBottom:"0px","> span":{color:"white"}}}}),a=o.defineStyle({backgroundColor:"popoverPrimaryBackground",color:"white",fontFamily:"body",fontWeight:"black",letterSpacing:"0.02em",border:"none",textAlign:"left",lineHeight:{base:"text.sm",lg:"text.md"},fontSize:{base:"text.sm",lg:"text.md"},width:"100%",overlay:{base:"#00000008",lg:"none"}}),d=o.defineStyle({top:"10px",right:"10px",height:"1.5rem",backgroundColor:"popoverPrimaryBackground",color:"white","> svg":{height:"14px",width:"14px"}}),l=r({baseStyle:t({content:i,arrow:o.defineStyle({border:"0.25rem solid",borderColor:"popoverPrimaryBorder"}),header:a,body:n,closeButton:d}),variants:{secondary:{content:{"--popper-arrow-size":"25px",backgroundColor:"white",border:"2px solid",borderLeft:"4px solid",borderColor:"black",_focus:{boxShadow:"none"},padding:0,width:"fit-content",maxWidth:{base:"350px",md:"450px",lg:"550px"}},arrow:{border:"2px solid",backgroundColor:"white",borderColor:"black","--popper-arrow-default-shadow":"none !important"},header:{},body:{backgroundColor:"white",width:"fit-content",maxWidth:{base:"350px",md:"450px",lg:"550px"},a:{_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},color:"linkColor"}},closeButton:{}}}});exports.default=l;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("@chakra-ui/anatomy"),r=require("@chakra-ui/react");const{definePartsStyle:e,defineMultiStyleConfig:t}=r.createMultiStyleConfigHelpers(o.popoverAnatomy.keys),a=r.defineStyle({fontFamily:"body",borderRadius:"0",cursor:"text",backgroundColor:"popoverPrimaryBackground",border:0,padding:0,fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},marginX:{base:6,xl:0}}),n=r.defineStyle({padding:4,paddingBlock:4,backgroundColor:"popoverPrimaryBackground",color:"white",fontWeight:"normal",fontFamily:"body",letterSpacing:"wide",alignSelf:"stretch",border:"none",width:"100%",maxWidth:{base:"350px",md:"450px",lg:"550px"},height:"auto",fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},a:{_visited:{color:"citationPopoverLinkVisited"},_hover:{color:"citationPopoverLinkHover"},color:"citationPopoverLink"}}),d=r.defineStyle({paddingLeft:4,paddingRight:4,paddingTop:4,paddingBottom:0,backgroundColor:"popoverPrimaryBackground",color:"white",fontFamily:"body",fontWeight:"bold",letterSpacing:"wide",border:"none",textAlign:"left",lineHeight:{base:"text.sm",lg:"text.md"},fontSize:{base:"text.sm",lg:"text.md"},width:"100%",overlay:{base:"#00000008",lg:"none"}}),i=r.defineStyle({top:"10px",right:"10px",backgroundColor:"popoverPrimaryBackground",color:"white"}),c={content:a,arrow:r.defineStyle({padding:"unset",border:"4px solid",borderColor:"popoverPrimaryBorder",backgroundColor:"white","--popper-arrow-default-shadow":"none !important"}),header:d,body:n,closeButton:i},l=e(c),s={content:{"--popper-arrow-size":"25px",border:"2px solid",borderLeft:"4px solid",backgroundColor:"popoverSecondaryBackground",borderColor:"popoverSecondaryBorder",_focus:{boxShadow:"none"}},arrow:{border:"2px solid",borderColor:"popoverSecondaryBorder"},header:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground",a:{_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},color:"linkColor"}},closeButton:{backgroundColor:"popoverSecondaryBackground",color:"popoverSecondaryText"}},p={...s,content:{...s.content,borderColor:"status.information",borderLeftColor:"status.information",_focus:{boxShadow:"status.information"}},arrow:{...s.arrow,borderColor:"status.information"},body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground",paddingBlock:6}},u=t({baseStyle:l,variants:{default:c,secondary:s,information:p,success:{...p,body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},content:{...p.content,borderColor:"status.success",borderLeftColor:"status.success",_focus:{boxShadow:"status.success"}},arrow:{...p.arrow,borderColor:"status.success"}},warning:{...p,body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},content:{...p.content,borderColor:"status.warning",borderLeftColor:"status.warning",_focus:{boxShadow:"status.warning"}},arrow:{...p.arrow,borderColor:"status.warning"}},error:{...p,body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},content:{...p.content,borderColor:"status.error",borderLeftColor:"status.error",_focus:{boxShadow:"status.error"}},arrow:{...p.arrow,borderColor:"status.error"}}}});exports.default=u;
2
2
  //# sourceMappingURL=popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.js","sources":["../../../../../src/theme/r4l/components/popover.ts"],"sourcesContent":[null],"names":["definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","popoverAnatomy","keys","content","defineStyle","fontFamily","fontWeight","borderRadius","cursor","backgroundColor","border","padding","maxWidth","base","lg","fontSize","lineHeight","marginX","xl","body","color","letterSpacing","alignSelf","width","height","paddingInlineStart","paddingInlineEnd","a","_visited","_hover","paddingBottom","header","textAlign","overlay","closeButton","top","right","popoverTheme","baseStyle","arrow","borderColor","variants","secondary","borderLeft","_focus","boxShadow","md"],"mappings":"sIAGA,MAAMA,iBAAEA,EAAgBC,uBAAEA,GACxBC,EAAAA,8BAA8BC,EAAAA,eAAeC,MAGzCC,EAAUC,EAAAA,YAAY,CAC1BC,WAAY,OACZC,WAAY,SACZC,aAAc,IACdC,OAAQ,OACRC,gBAAiB,2BACjBC,OAAQ,EACRC,QAAS,SACTC,SAAU,CAAEC,KAAM,QAASC,GAAI,SAE/BC,SAAU,CAAEF,KAAM,UAAWC,GAAI,WACjCE,WAAY,CAAEH,KAAM,UAAWC,GAAI,WACnCG,QAAS,CAAEJ,KAAM,EAAGK,GAAI,KAGpBC,EAAOf,EAAAA,YAAY,CACvBK,gBAAiB,2BACjBW,MAAO,QACPf,WAAY,OACZC,WAAY,SACZe,cAAe,SACfC,UAAW,UACXZ,OAAQ,OACRa,MAAO,OACPC,OAAQ,OACRC,mBAAoB,MACpBC,iBAAkB,MAElBX,SAAU,CAAEF,KAAM,UAAWC,GAAI,WACjCE,WAAY,CAAEH,KAAM,UAAWC,GAAI,WACnCa,EAAG,CACDC,SAAU,CAAER,MAAO,8BACnBS,OAAQ,CAAET,MAAO,4BACjBA,MAAO,uBAET,QAAS,CACP,OAAQ,CACNA,MAAO,QACPU,cAAe,MACf,SAAU,CACRV,MAAO,aAMTW,EAAS3B,EAAAA,YAAY,CACzBK,gBAAiB,2BACjBW,MAAO,QACPf,WAAY,OACZC,WAAY,QACZe,cAAe,SACfX,OAAQ,OACRsB,UAAW,OAEXhB,WAAY,CAAEH,KAAM,UAAWC,GAAI,WACnCC,SAAU,CAAEF,KAAM,UAAWC,GAAI,WACjCS,MAAO,OACPU,QAAS,CACPpB,KAAM,YACNC,GAAI,UAIFoB,EAAc9B,EAAAA,YAAY,CAC9B+B,IAAK,OACLC,MAAO,OACPZ,OAAQ,SACRf,gBAAiB,2BACjBW,MAAO,QACP,QAAS,CACPI,OAAQ,OACRD,MAAO,UAiBLc,EAAetC,EAAuB,CAC1CuC,UATgBxC,EAAiB,CACjCK,UACAoC,MAPYnC,EAAAA,YAAY,CACxBM,OAAQ,gBACR8B,YAAa,yBAMbT,SACAZ,OACAe,gBAKAO,SAAU,CACRC,UAAW,CACTvC,QAAS,CACP,sBAAuB,OACvBM,gBAAiB,QACjBC,OAAQ,YACRiC,WAAY,YACZH,YAAa,QACbI,OAAQ,CACNC,UAAW,QAEblC,QAAS,EACTY,MAAO,cACPX,SAAU,CAAEC,KAAM,QAASiC,GAAI,QAAShC,GAAI,UAE9CyB,MAAO,CACL7B,OAAQ,YACRD,gBAAiB,QACjB+B,YAAa,QACb,gCAAiC,mBAEnCT,OAAQ,CAAE,EACVZ,KAAM,CACJV,gBAAiB,QACjBc,MAAO,cACPX,SAAU,CAAEC,KAAM,QAASiC,GAAI,QAAShC,GAAI,SAC5Ca,EAAG,CACDC,SAAU,CAAER,MAAO,oBACnBS,OAAQ,CAAET,MAAO,kBACjBA,MAAO,cAGXc,YAAa,CAAE"}
1
+ {"version":3,"file":"popover.js","sources":["../../../../../src/theme/r4l/components/popover.ts"],"sourcesContent":[null],"names":["definePartsStyle","defineMultiStyleConfig","createMultiStyleConfigHelpers","popoverAnatomy","keys","content","defineStyle","fontFamily","borderRadius","cursor","backgroundColor","border","padding","fontSize","base","lg","lineHeight","marginX","xl","body","paddingBlock","color","fontWeight","letterSpacing","alignSelf","width","maxWidth","md","height","a","_visited","_hover","header","paddingLeft","paddingRight","paddingTop","paddingBottom","textAlign","overlay","closeButton","top","right","defaultVariant","arrow","borderColor","baseStyle","secondaryVariant","borderLeft","_focus","boxShadow","informationVariant","borderLeftColor","popoverTheme","variants","default","secondary","information","success","warning","error"],"mappings":"sIAGA,MAAMA,iBAAEA,EAAgBC,uBAAEA,GACxBC,EAAAA,8BAA8BC,EAAAA,eAAeC,MAGzCC,EAAUC,EAAAA,YAAY,CAC1BC,WAAY,OACZC,aAAc,IACdC,OAAQ,OACRC,gBAAiB,2BACjBC,OAAQ,EACRC,QAAS,EAETC,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCE,QAAS,CAAEH,KAAM,EAAGI,GAAI,KAGpBC,EAAOb,EAAAA,YAAY,CACvBM,QAAS,EACTQ,aAAc,EACdV,gBAAiB,2BACjBW,MAAO,QACPC,WAAY,SACZf,WAAY,OACZgB,cAAe,OACfC,UAAW,UACXb,OAAQ,OACRc,MAAO,OAGPC,SAAU,CAAEZ,KAAM,QAASa,GAAI,QAASZ,GAAI,SAC5Ca,OAAQ,OAGRf,SAAU,CAAEC,KAAM,UAAWC,GAAI,WACjCC,WAAY,CAAEF,KAAM,UAAWC,GAAI,WACnCc,EAAG,CACDC,SAAU,CAAET,MAAO,8BACnBU,OAAQ,CAAEV,MAAO,4BACjBA,MAAO,yBAILW,EAAS1B,EAAAA,YAAY,CACzB2B,YAAa,EACbC,aAAc,EACdC,WAAY,EACZC,cAAe,EACf1B,gBAAiB,2BACjBW,MAAO,QACPd,WAAY,OACZe,WAAY,OACZC,cAAe,OACfZ,OAAQ,OACR0B,UAAW,OAEXrB,WAAY,CAAEF,KAAM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MACtBC,YAAa,mBAsDbc,QAlDmB,IAClBR,EACH/B,KAAM,CACJE,MAAO,uBACPX,gBAAiB,8BAEnBL,QAAS,IACJ6C,EAAmB7C,QACtBuC,YAAa,iBACbO,gBAAiB,iBACjBH,OAAQ,CACNC,UAAW,mBAGfN,MAAO,IACFO,EAAmBP,MACtBC,YAAa,mBAmCbe,MA/BiB,IAChBT,EACH/B,KAAM,CACJE,MAAO,uBACPX,gBAAiB,8BAEnBL,QAAS,IACJ6C,EAAmB7C,QACtBuC,YAAa,eACbO,gBAAiB,eACjBH,OAAQ,CACNC,UAAW,iBAGfN,MAAO,IACFO,EAAmBP,MACtBC,YAAa"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const r={primary:"magenta.600",secondary:"navy.600",tertiary:"cyan.600",textOnPrimary:"white",textOnSecondary:"white",textOnTertiary:"white"},e={textDark:"black",textLight:"white",backgroundLight:"white",backgroundLightGrey:"grey.100",textInputBorder:"grey.600",inputBorder:"grey.600",selectBackground:"backgroundLight",selectionBorder:"grey.600",disabled:"grey.600",disabledBackground:"grey.100",hoverColor:"black",activeField:"status.information",formPrimarySelectItemColour:"grey.600",formPrimarySelectItemHover:"magenta.700",formPrimaryLabel:"grey.600",formPrimaryPlaceholder:"grey.600",formPrimaryBgDisabled:"grey.100",formPrimaryDisabled:"grey.600",quoteIconPrimary:"magenta.700",quoteIconAlt:"magenta.600",accordionIconPrimary:"magenta.700",buttonPrimaryBackground:"magenta.700",buttonPrimaryBorder:"magenta.700",buttonPrimaryText:"white",buttonPrimaryBorderHover:"magenta.800",buttonPrimaryTextHover:"magenta.800",buttonPrimaryBackgroundHover:"magenta.800",buttonPrimaryDisabledBackground:"grey.200",buttonPrimaryDisabledText:"grey.600",buttonPrimaryAltBackground:r.secondary,buttonPrimaryAltBorder:r.secondary,buttonPrimaryAltBorderHover:r.secondary,buttonPrimaryAltTextHover:r.secondary,buttonPrimaryAltBackgroundHover:r.secondary,buttonSecondaryBackground:"white",buttonSecondaryBorder:"magenta.700",buttonSecondaryText:"magenta.700",buttonSecondaryBorderHover:"magenta.800",buttonSecondaryBackgroundHover:"magenta.100",buttonSecondaryTextHover:"magenta.800",buttonSecondaryAltBorder:r.secondary,buttonSecondaryAltText:r.secondary,buttonSecondaryAltBorderHover:r.secondary,buttonSecondaryAltBackgroundHover:"navy.100",buttonSecondaryAltTextHover:r.secondary,buttonSecondaryDisabledBackground:"grey.600",buttonSecondaryDisabledBorder:"grey.600",buttonSecondaryDisabledText:"grey.600",buttonAlternativeBackground:"white",buttonAlternativeText:"navy.600",buttonAlternativeTextHover:"magenta.700",buttonAlternativeDisabledBackground:"grey.200",buttonAlternativeDisabledText:"grey.600",buttonLinkBackground:"white",buttonLinkText:"black",buttonVideoBackground:"black",buttonVideoText:"white",buttonToggleBackground:"white",buttonToggleText:r.secondary,buttonToggleBorder:r.secondary,buttonToggleTextHover:"white",buttonToggleBackgroundHover:r.secondary,buttonToggleSelectedBackground:r.secondary,buttonToggleSelectedBorder:r.secondary,buttonToggleSelectedText:"white",buttonToggleDisabledBackground:"white",buttonToggleDisabledText:"grey.600",buttonToggleDisabledBorder:"grey.600",buttonBackToTopHover:"navy.700",buttonCitationPrimary:r.secondary,btnCitationBgPrimary:"grey.100",btnAccordionHover:"magenta.700",boxPrimaryBg:r.secondary,boxSecondaryBg:r.primary,boxAltBg:"grey.600",boxTertiaryBg:r.tertiary,boxCaseStudyborderColor:"brandGrey.600",boxPullQuoteborderColor:"brandGrey.600",ctaBannerPrimaryBg:"magenta.700",ctaBannerSecondaryBg:"navy.600",ctaBannerTextOnPrimary:"white",ctaBannerTextOnSecondary:"black",gridPrimaryBg:r.secondary,gridSecondaryBg:r.primary,gridAltBg:"grey.600",gridAltGreyBg:"grey.200",gridTertiaryBg:r.tertiary,linkColor:"magenta.700",linkColorHover:"magenta.800",linkColorVisited:"magenta.800",altLinkColor:r.secondary,altLinkColorHover:"navy.700",altLinkColorVisited:"navy.700",truncateColor:r.secondary,truncateColorHover:"cyan.700",navigationLinkColor:"black",navigationLinkHover:"magenta.700",linkRefPrimary:"navy.600",linkRefHover:"navy.700",citationPopoverLink:"magenta.400",citationPopoverLinkHover:"magenta.300",citationPopoverLinkVisited:"magenta.300",cardTextBackgroundColor:"brandGrey.600",CardNavigationHeaderColor:"navy.600",cardTextColor:"black",cardBoxShadowColor:"grey.200",cardNavigationTextHover:"magenta.700",cardNavigationIconHover:"magenta.700",loaderColor1:"primary",loaderColor2:"secondary",loaderColor3:"tertiary",onThisPagePrimaryBg:"navy.100",headingColor:"navy.600",subheadingColor:"black",textColor:"black",captionColor:"grey.600",textDonateByCancerInfo:"cyan.700",tagBg:"cyan.100",tagColor:"grey.700",tabPrimaryColor:"grey.600",breadcrumbSpacing:"1",badgeColorPrimary:"primary",badgeColorSecondary:"secondary",badgeBorderColorSecondary:r.secondary,badgeColorTertiary:"white",badgeTextColorOnTertiary:r.tertiary,badgeBorderColorTertiary:r.tertiary,circleColorPrimary:"primary",circleColorSecondary:"secondary",circleColorTertiary:"tertiary",totaliserBackground:"grey.200",totaliserBubbleTextColor:"su2c_black",totaliserBubbleTotalColor:"primary",totaliserTextTransform:"uppercase",keyStatsPrimaryBackgroundColor:r.secondary,keyStatsPrimaryTextColor:r.textOnPrimary,keyStatsAltHigherValueBackgroundColor:"brandGrey.600",keyStatsAltLowerValueBackgroundColor:"brandGrey.700",keyStatsTwoBlockHighBarColor:"navy.600",keyStatsTwoBlockLowBarColor:"brandGrey.600",keyStatsTextTwoBlockPrimaryColor:r.secondary,keyStatsTextTwoBlockSecondaryColor:"brandGrey.700",listIconPrimaryColor:"navy.700",popoverPrimaryBackground:"navy.700",popoverPrimaryBorder:"navy.700",promoBannerBackgroundPrimary:r.primary,promoBannerBackgroundSecondary:r.secondary,sideNavTopLevelBorder:"grey.200",sideNavSideBorder:"magenta.700"},o={containerMax:"960px"},a={colors:{...r,...e},componentWidths:o};exports.brandBaseTokens=r,exports.componentTokens=e,exports.componentWidths=o,exports.default=a;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const r={primary:"magenta.600",secondary:"navy.600",tertiary:"cyan.600",textOnPrimary:"white",textOnSecondary:"white",textOnTertiary:"white"},e={textDark:"black",textLight:"white",backgroundLight:"white",backgroundLightGrey:"grey.100",textInputBorder:"grey.600",inputBorder:"grey.600",selectBackground:"backgroundLight",selectionBorder:"grey.600",disabled:"grey.600",disabledBackground:"grey.100",hoverColor:"black",activeField:"status.information",formPrimarySelectItemColour:"grey.600",formPrimarySelectItemHover:"magenta.700",formPrimaryLabel:"grey.600",formPrimaryPlaceholder:"grey.600",formPrimaryBgDisabled:"grey.100",formPrimaryDisabled:"grey.600",quoteIconPrimary:"magenta.700",quoteIconAlt:"magenta.600",accordionIconPrimary:"magenta.700",buttonPrimaryBackground:"magenta.700",buttonPrimaryBorder:"magenta.700",buttonPrimaryText:"white",buttonPrimaryBorderHover:"magenta.800",buttonPrimaryTextHover:"magenta.800",buttonPrimaryBackgroundHover:"magenta.800",buttonPrimaryDisabledBackground:"grey.200",buttonPrimaryDisabledText:"grey.600",buttonPrimaryAltBackground:r.secondary,buttonPrimaryAltBorder:r.secondary,buttonPrimaryAltBorderHover:r.secondary,buttonPrimaryAltTextHover:r.secondary,buttonPrimaryAltBackgroundHover:r.secondary,buttonSecondaryBackground:"white",buttonSecondaryBorder:"magenta.700",buttonSecondaryText:"magenta.700",buttonSecondaryBorderHover:"magenta.800",buttonSecondaryBackgroundHover:"magenta.100",buttonSecondaryTextHover:"magenta.800",buttonSecondaryAltBorder:r.secondary,buttonSecondaryAltText:r.secondary,buttonSecondaryAltBorderHover:r.secondary,buttonSecondaryAltBackgroundHover:"navy.100",buttonSecondaryAltTextHover:r.secondary,buttonSecondaryDisabledBackground:"grey.600",buttonSecondaryDisabledBorder:"grey.600",buttonSecondaryDisabledText:"grey.600",buttonAlternativeBackground:"white",buttonAlternativeText:"navy.600",buttonAlternativeTextHover:"magenta.700",buttonAlternativeDisabledBackground:"grey.200",buttonAlternativeDisabledText:"grey.600",buttonLinkBackground:"white",buttonLinkText:"black",buttonVideoBackground:"black",buttonVideoText:"white",buttonToggleBackground:"white",buttonToggleText:r.secondary,buttonToggleBorder:r.secondary,buttonToggleTextHover:"white",buttonToggleBackgroundHover:r.secondary,buttonToggleSelectedBackground:r.secondary,buttonToggleSelectedBorder:r.secondary,buttonToggleSelectedText:"white",buttonToggleDisabledBackground:"white",buttonToggleDisabledText:"grey.600",buttonToggleDisabledBorder:"grey.600",buttonBackToTopHover:"navy.700",buttonCitationPrimary:r.secondary,btnCitationBgPrimary:"grey.100",btnAccordionHover:"magenta.700",boxPrimaryBg:r.secondary,boxSecondaryBg:r.primary,boxAltBg:"grey.600",boxTertiaryBg:r.tertiary,boxCaseStudyborderColor:"brandGrey.600",boxPullQuoteborderColor:"brandGrey.600",ctaBannerPrimaryBg:"magenta.700",ctaBannerSecondaryBg:"navy.600",ctaBannerTextOnPrimary:"white",ctaBannerTextOnSecondary:"black",gridPrimaryBg:r.secondary,gridSecondaryBg:r.primary,gridAltBg:"grey.600",gridAltGreyBg:"grey.200",gridTertiaryBg:r.tertiary,linkColor:"magenta.700",linkColorHover:"magenta.800",linkColorVisited:"magenta.800",altLinkColor:r.secondary,altLinkColorHover:"navy.700",altLinkColorVisited:"navy.700",truncateColor:r.secondary,truncateColorHover:"cyan.700",navigationLinkColor:"black",navigationLinkHover:"magenta.700",linkRefPrimary:"navy.600",linkRefHover:"navy.700",citationPopoverLink:"magenta.400",citationPopoverLinkHover:"magenta.300",citationPopoverLinkVisited:"magenta.300",cardTextBackgroundColor:"brandGrey.600",CardNavigationHeaderColor:"navy.600",cardTextColor:"black",cardBoxShadowColor:"grey.200",cardNavigationTextHover:"magenta.700",cardNavigationIconHover:"magenta.700",loaderColor1:"primary",loaderColor2:"secondary",loaderColor3:"tertiary",onThisPagePrimaryBg:"navy.100",headingColor:"navy.600",subheadingColor:"black",textColor:"black",captionColor:"grey.600",textDonateByCancerInfo:"cyan.700",tagBg:"cyan.100",tagColor:"grey.700",tabPrimaryColor:"grey.600",breadcrumbSpacing:"1",badgeColorPrimary:"primary",badgeColorSecondary:"secondary",badgeBorderColorSecondary:r.secondary,badgeColorTertiary:"white",badgeTextColorOnTertiary:r.tertiary,badgeBorderColorTertiary:r.tertiary,circleColorPrimary:"primary",circleColorSecondary:"secondary",circleColorTertiary:"tertiary",totaliserBackground:"grey.200",totaliserBubbleTextColor:"su2c_black",totaliserBubbleTotalColor:"primary",totaliserTextTransform:"uppercase",keyStatsPrimaryBackgroundColor:r.secondary,keyStatsPrimaryTextColor:r.textOnPrimary,keyStatsAltHigherValueBackgroundColor:"brandGrey.600",keyStatsAltLowerValueBackgroundColor:"brandGrey.700",keyStatsTwoBlockHighBarColor:"navy.600",keyStatsTwoBlockLowBarColor:"brandGrey.600",keyStatsTextTwoBlockPrimaryColor:r.secondary,keyStatsTextTwoBlockSecondaryColor:"brandGrey.700",listIconPrimaryColor:"navy.700",popoverPrimaryBackground:"navy.700",popoverPrimaryBorder:"navy.700",popoverPrimaryText:"white",popoverSecondaryBackground:"white",popoverSecondaryBorder:"black",popoverSecondaryText:"black",promoBannerBackgroundPrimary:r.primary,promoBannerBackgroundSecondary:r.secondary,sideNavTopLevelBorder:"grey.200",sideNavSideBorder:"magenta.700"},o={containerMax:"960px"},a={colors:{...r,...e},componentWidths:o};exports.brandBaseTokens=r,exports.componentTokens=e,exports.componentWidths=o,exports.default=a;
2
2
  //# sourceMappingURL=semantic-tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"semantic-tokens.js","sources":["../../../../../src/theme/r4l/foundations/semantic-tokens.ts"],"sourcesContent":[null],"names":["brandBaseTokens","primary","secondary","tertiary","textOnPrimary","textOnSecondary","textOnTertiary","componentTokens","textDark","textLight","backgroundLight","backgroundLightGrey","textInputBorder","inputBorder","selectBackground","selectionBorder","disabled","disabledBackground","hoverColor","activeField","formPrimarySelectItemColour","formPrimarySelectItemHover","formPrimaryLabel","formPrimaryPlaceholder","formPrimaryBgDisabled","formPrimaryDisabled","quoteIconPrimary","quoteIconAlt","accordionIconPrimary","buttonPrimaryBackground","buttonPrimaryBorder","buttonPrimaryText","buttonPrimaryBorderHover","buttonPrimaryTextHover","buttonPrimaryBackgroundHover","buttonPrimaryDisabledBackground","buttonPrimaryDisabledText","buttonPrimaryAltBackground","buttonPrimaryAltBorder","buttonPrimaryAltBorderHover","buttonPrimaryAltTextHover","buttonPrimaryAltBackgroundHover","buttonSecondaryBackground","buttonSecondaryBorder","buttonSecondaryText","buttonSecondaryBorderHover","buttonSecondaryBackgroundHover","buttonSecondaryTextHover","buttonSecondaryAltBorder","buttonSecondaryAltText","buttonSecondaryAltBorderHover","buttonSecondaryAltBackgroundHover","buttonSecondaryAltTextHover","buttonSecondaryDisabledBackground","buttonSecondaryDisabledBorder","buttonSecondaryDisabledText","buttonAlternativeBackground","buttonAlternativeText","buttonAlternativeTextHover","buttonAlternativeDisabledBackground","buttonAlternativeDisabledText","buttonLinkBackground","buttonLinkText","buttonVideoBackground","buttonVideoText","buttonToggleBackground","buttonToggleText","buttonToggleBorder","buttonToggleTextHover","buttonToggleBackgroundHover","buttonToggleSelectedBackground","buttonToggleSelectedBorder","buttonToggleSelectedText","buttonToggleDisabledBackground","buttonToggleDisabledText","buttonToggleDisabledBorder","buttonBackToTopHover","buttonCitationPrimary","btnCitationBgPrimary","btnAccordionHover","boxPrimaryBg","boxSecondaryBg","boxAltBg","boxTertiaryBg","boxCaseStudyborderColor","boxPullQuoteborderColor","ctaBannerPrimaryBg","ctaBannerSecondaryBg","ctaBannerTextOnPrimary","ctaBannerTextOnSecondary","gridPrimaryBg","gridSecondaryBg","gridAltBg","gridAltGreyBg","gridTertiaryBg","linkColor","linkColorHover","linkColorVisited","altLinkColor","altLinkColorHover","altLinkColorVisited","truncateColor","truncateColorHover","navigationLinkColor","navigationLinkHover","linkRefPrimary","linkRefHover","citationPopoverLink","citationPopoverLinkHover","citationPopoverLinkVisited","cardTextBackgroundColor","CardNavigationHeaderColor","cardTextColor","cardBoxShadowColor","cardNavigationTextHover","cardNavigationIconHover","loaderColor1","loaderColor2","loaderColor3","onThisPagePrimaryBg","headingColor","subheadingColor","textColor","captionColor","textDonateByCancerInfo","tagBg","tagColor","tabPrimaryColor","breadcrumbSpacing","badgeColorPrimary","badgeColorSecondary","badgeBorderColorSecondary","badgeColorTertiary","badgeTextColorOnTertiary","badgeBorderColorTertiary","circleColorPrimary","circleColorSecondary","circleColorTertiary","totaliserBackground","totaliserBubbleTextColor","totaliserBubbleTotalColor","totaliserTextTransform","keyStatsPrimaryBackgroundColor","keyStatsPrimaryTextColor","keyStatsAltHigherValueBackgroundColor","keyStatsAltLowerValueBackgroundColor","keyStatsTwoBlockHighBarColor","keyStatsTwoBlockLowBarColor","keyStatsTextTwoBlockPrimaryColor","keyStatsTextTwoBlockSecondaryColor","listIconPrimaryColor","popoverPrimaryBackground","popoverPrimaryBorder","promoBannerBackgroundPrimary","promoBannerBackgroundSecondary","sideNavTopLevelBorder","sideNavSideBorder","componentWidths","containerMax","semanticTokens","colors"],"mappings":"oEAEA,MAAMA,EAAsC,CAC1CC,QAAS,cACTC,UAAW,WACXC,SAAU,WACVC,cAAe,QACfC,gBAAiB,QACjBC,eAAgB,SAGZC,EAAsC,CAC1CC,SAAU,QACVC,UAAW,QACXC,gBAAiB,QACjBC,oBAAqB,WAGrBC,gBAAiB,WACjBC,YAAa,WACbC,iBAAkB,kBAClBC,gBAAiB,WACjBC,SAAU,WACVC,mBAAoB,WACpBC,WAAY,QACZC,YAAa,qBACbC,4BAA6B,WAC7BC,2BAA4B,cAC5BC,iBAAkB,WAClBC,uBAAwB,WACxBC,sBAAuB,WACvBC,oBAAqB,WAGrBC,iBAAkB,cAClBC,aAAc,cACdC,qBAAsB,cAGtBC,wBAAyB,cACzBC,oBAAqB,cACrBC,kBAAmB,QACnBC,yBAA0B,cAC1BC,uBAAwB,cACxBC,6BAA8B,cAC9BC,gCAAiC,WACjCC,0BAA2B,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BE,UAC9BiG,kBAAmB,WACnBC,oBAAqB,WACrBC,cAAerG,EAAgBE,UAC/BoG,mBAAoB,WACpBC,oBAAqB,QACrBC,oBAAqB,cACrBC,eAAgB,WAChBC,aAAc,WACdC,oBAAqB,cACrBC,yBAA0B,cAC1BC,2BAA4B,cAG5BC,wBAAyB,gBACzBC,0BAA2B,WAC3BC,cAAe,QACfC,mBAAoB,WACpBC,wBAAyB,cACzBC,wBAAyB,cAGzBC,aAAc,UACdC,aAAc,YACdC,aAAc,WAGdC,oBAAqB,WAGrBC,aAAc,WAGdC,gBAAiB,QAGjBC,UAAW,QACXC,aAAc,WACdC,uBAAwB,WAGxBC,MAAO,WACPC,SAAU,WAGVC,gBAAiB,WAGjBC,kBAAmB,IAGnBC,kBAAmB,UACnBC,oBAAqB,YACrBC,0BAA2BnI,EAAgBE,UAC3CkI,mBAAoB,QACpBC,yBAA0BrI,EAAgBG,SAC1CmI,yBAA0BtI,EAAgBG,SAG1CoI,mBAAoB,UACpBC,qBAAsB,YACtBC,oBAAqB,WAGrBC,oBAAqB,WACrBC,yBAA0B,aAC1BC,0BAA2B,UAC3BC,uBAAwB,YAIxBC,+BAAgC9I,EAAgBE,UAChD6I,yBAA0B/I,EAAgBI,cAC1C4I,sCAAuC,gBACvCC,qCAAsC,gBACtCC,6BAA8B,WAC9BC,4BAA6B,gBAC7BC,iCAAkCpJ,EAAgBE,UAClDmJ,mCAAoC,gBAGpCC,qBAAsB,WAGtBC,yBAA0B,WAC1BC,qBAAsB,WAGtBC,6BAA8BzJ,EAAgBC,QAC9CyJ,+BAAgC1J,EAAgBE,UAGhDyJ,sBAAuB,WACvBC,kBAAmB,eAGfC,EAAkB,CACtBC,aAAc,SAGVC,EAAiB,CACrBC,OAAQ,IACHhK,KACAO,GAELsJ"}
1
+ {"version":3,"file":"semantic-tokens.js","sources":["../../../../../src/theme/r4l/foundations/semantic-tokens.ts"],"sourcesContent":[null],"names":["brandBaseTokens","primary","secondary","tertiary","textOnPrimary","textOnSecondary","textOnTertiary","componentTokens","textDark","textLight","backgroundLight","backgroundLightGrey","textInputBorder","inputBorder","selectBackground","selectionBorder","disabled","disabledBackground","hoverColor","activeField","formPrimarySelectItemColour","formPrimarySelectItemHover","formPrimaryLabel","formPrimaryPlaceholder","formPrimaryBgDisabled","formPrimaryDisabled","quoteIconPrimary","quoteIconAlt","accordionIconPrimary","buttonPrimaryBackground","buttonPrimaryBorder","buttonPrimaryText","buttonPrimaryBorderHover","buttonPrimaryTextHover","buttonPrimaryBackgroundHover","buttonPrimaryDisabledBackground","buttonPrimaryDisabledText","buttonPrimaryAltBackground","buttonPrimaryAltBorder","buttonPrimaryAltBorderHover","buttonPrimaryAltTextHover","buttonPrimaryAltBackgroundHover","buttonSecondaryBackground","buttonSecondaryBorder","buttonSecondaryText","buttonSecondaryBorderHover","buttonSecondaryBackgroundHover","buttonSecondaryTextHover","buttonSecondaryAltBorder","buttonSecondaryAltText","buttonSecondaryAltBorderHover","buttonSecondaryAltBackgroundHover","buttonSecondaryAltTextHover","buttonSecondaryDisabledBackground","buttonSecondaryDisabledBorder","buttonSecondaryDisabledText","buttonAlternativeBackground","buttonAlternativeText","buttonAlternativeTextHover","buttonAlternativeDisabledBackground","buttonAlternativeDisabledText","buttonLinkBackground","buttonLinkText","buttonVideoBackground","buttonVideoText","buttonToggleBackground","buttonToggleText","buttonToggleBorder","buttonToggleTextHover","buttonToggleBackgroundHover","buttonToggleSelectedBackground","buttonToggleSelectedBorder","buttonToggleSelectedText","buttonToggleDisabledBackground","buttonToggleDisabledText","buttonToggleDisabledBorder","buttonBackToTopHover","buttonCitationPrimary","btnCitationBgPrimary","btnAccordionHover","boxPrimaryBg","boxSecondaryBg","boxAltBg","boxTertiaryBg","boxCaseStudyborderColor","boxPullQuoteborderColor","ctaBannerPrimaryBg","ctaBannerSecondaryBg","ctaBannerTextOnPrimary","ctaBannerTextOnSecondary","gridPrimaryBg","gridSecondaryBg","gridAltBg","gridAltGreyBg","gridTertiaryBg","linkColor","linkColorHover","linkColorVisited","altLinkColor","altLinkColorHover","altLinkColorVisited","truncateColor","truncateColorHover","navigationLinkColor","navigationLinkHover","linkRefPrimary","linkRefHover","citationPopoverLink","citationPopoverLinkHover","citationPopoverLinkVisited","cardTextBackgroundColor","CardNavigationHeaderColor","cardTextColor","cardBoxShadowColor","cardNavigationTextHover","cardNavigationIconHover","loaderColor1","loaderColor2","loaderColor3","onThisPagePrimaryBg","headingColor","subheadingColor","textColor","captionColor","textDonateByCancerInfo","tagBg","tagColor","tabPrimaryColor","breadcrumbSpacing","badgeColorPrimary","badgeColorSecondary","badgeBorderColorSecondary","badgeColorTertiary","badgeTextColorOnTertiary","badgeBorderColorTertiary","circleColorPrimary","circleColorSecondary","circleColorTertiary","totaliserBackground","totaliserBubbleTextColor","totaliserBubbleTotalColor","totaliserTextTransform","keyStatsPrimaryBackgroundColor","keyStatsPrimaryTextColor","keyStatsAltHigherValueBackgroundColor","keyStatsAltLowerValueBackgroundColor","keyStatsTwoBlockHighBarColor","keyStatsTwoBlockLowBarColor","keyStatsTextTwoBlockPrimaryColor","keyStatsTextTwoBlockSecondaryColor","listIconPrimaryColor","popoverPrimaryBackground","popoverPrimaryBorder","popoverPrimaryText","popoverSecondaryBackground","popoverSecondaryBorder","popoverSecondaryText","promoBannerBackgroundPrimary","promoBannerBackgroundSecondary","sideNavTopLevelBorder","sideNavSideBorder","componentWidths","containerMax","semanticTokens","colors"],"mappings":"oEAEA,MAAMA,EAAsC,CAC1CC,QAAS,cACTC,UAAW,WACXC,SAAU,WACVC,cAAe,QACfC,gBAAiB,QACjBC,eAAgB,SAGZC,EAAsC,CAC1CC,SAAU,QACVC,UAAW,QACXC,gBAAiB,QACjBC,oBAAqB,WAGrBC,gBAAiB,WACjBC,YAAa,WACbC,iBAAkB,kBAClBC,gBAAiB,WACjBC,SAAU,WACVC,mBAAoB,WACpBC,WAAY,QACZC,YAAa,qBACbC,4BAA6B,WAC7BC,2BAA4B,cAC5BC,iBAAkB,WACl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,EAAgBC,QAC9C6J,+BAAgC9J,EAAgBE,UAGhD6J,sBAAuB,WACvBC,kBAAmB,eAGfC,EAAkB,CACtBC,aAAc,SAGVC,EAAiB,CACrBC,OAAQ,IACHpK,KACAO,GAEL0J"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("@chakra-ui/anatomy"),r=require("@chakra-ui/react");const{definePartsStyle:e,defineMultiStyleConfig:t}=r.createMultiStyleConfigHelpers(o.popoverAnatomy.keys),a=r.defineStyle({fontFamily:"body",borderRadius:"0",cursor:"text",backgroundColor:"popoverPrimaryBackground",border:0,padding:0,fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},marginX:{base:6,xl:0}}),n=r.defineStyle({padding:4,paddingBlock:4,backgroundColor:"popoverPrimaryBackground",color:"su2c_black",fontWeight:"normal",fontFamily:"body",letterSpacing:"wide",alignSelf:"stretch",border:"none",width:"100%",maxWidth:{base:"350px",md:"450px",lg:"550px"},height:"auto",fontSize:{base:"text.sm",lg:"text.md"},lineHeight:{base:"text.sm",lg:"text.md"},a:{_visited:{color:"citationPopoverLinkVisited"},_hover:{color:"citationPopoverLinkHover"},color:"citationPopoverLink"}}),d=r.defineStyle({paddingLeft:4,paddingRight:4,paddingTop:4,paddingBottom:0,backgroundColor:"popoverPrimaryBackground",color:"popoverSecondaryText",fontFamily:"body",fontWeight:"bold",letterSpacing:"wide",border:"none",textAlign:"left",lineHeight:{base:"text.sm",lg:"text.md"},fontSize:{base:"text.sm",lg:"text.md"},width:"100%",overlay:{base:"#00000008",lg:"none"}}),i=r.defineStyle({top:"10px",right:"10px",backgroundColor:"popoverPrimaryBackground",color:"white"}),s=e({content:a,arrow:r.defineStyle({padding:"unset",border:"4px solid",borderColor:"popoverPrimaryBorder",backgroundColor:"white","--popper-arrow-default-shadow":"none !important"}),header:d,body:n,closeButton:i}),l={content:{"--popper-arrow-size":"25px",border:"2px solid",borderLeft:"4px solid",backgroundColor:"popoverSecondaryBackground",borderColor:"popoverSecondaryBorder",_focus:{boxShadow:"none"}},arrow:{border:"2px solid",borderColor:"popoverSecondaryBorder"},header:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground"},body:{color:"popoverSecondaryText",backgroundColor:"popoverSecondaryBackground",a:{_visited:{color:"linkColorVisited"},_hover:{color:"linkColorHover"},color:"linkColor"}},closeButton:{backgroundColor:"popoverSecondaryBackground",color:"popoverSecondaryText"}},c={...l,content:{...l.content,borderColor:"status.information",borderLeftColor:"status.information",_focus:{boxShadow:"status.information"}},arrow:{...l.arrow,borderColor:"status.information"},body:{backgroundColor:"white",paddingBlock:6}},p=t({baseStyle:s,variants:{default:l,secondary:l,information:c,success:{...c,content:{...c.content,borderColor:"status.success",borderLeftColor:"status.success",_focus:{boxShadow:"status.success"}},arrow:{...c.arrow,borderColor:"status.success"}},warning:{...c,content:{...c.content,borderColor:"status.warning",borderLeftColor:"status.warning",_focus:{boxShadow:"status.warning"}},arrow:{...c.arrow,borderColor:"status.warning"}},error:{...c,content:{...c.content,borderColor:"status.error",borderLeftColor:"status.error",_focus:{boxShadow:"status.error"}},arrow:{...c.arrow,borderColor:"status.error"}}}});exports.default=p;
2
+ //# sourceMappingURL=popover.js.map