PageSourceSearch

https://hellodarwin.com/6031-978203526953286bbec8.js

js hellodarwin.com collected 2026-10-03 21:03:54 UTC 13,798 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkhellodarwin_website=self.webpackChunkhellodarwin_website||[]).push([[6031],{36031:function(e,r,t){t.r(r),t.d(r,{default:function(){return Y}});var n=t(92740),i=t(95402),a=t(58168),o=t(32456),l=t(93712),s=t(18713),d=t(51683),p=t(74848),c=e=>{var{title:r,description:t}=e;return(0,p.jsxs)(d.h,{children:[(0,p.jsx)(o.A.Title,{level:2,elementTheme:"h2",textAlign:"center",children:r}),(0,p.jsx)(o.A,{elementTheme:"body1",textAlign:"center",children:t})]})},m=n.default.div.withConfig({componentId:"sc-1s9viqd-0"})(["",""],d.U),h=n.default.div.withConfig({componentId:"sc-1s9viqd-1"})(["display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:","px;width:100%;@media screen and (max-width:","px){grid-template-columns:minmax(0,1fr);gap:","px;}"],e=>{var{theme:r}=e;return r.spacing.xxxl},e=>{var{theme:r}=e;return r.breakpoints.tablet},e=>{var{theme:r}=e;return r.spacing.xl}),u=n.default.div.withConfig({componentId:"sc-1s9viqd-2"})(["display:flex;flex-direction:column;gap:","px;min-width:0;min-height:405px;padding:","px;border-radius:5px;border:1px solid ",";background-color:rgba(242,232,221,0.5);"," @media screen and (max-width:","px){padding:","px;min-height:unset;a,.hd-button{width:100%;min-width:0;max-width:100%;}.hd-button,.hd-button > span{overflow-wrap:anywhere;white-space:normal;}}"],e=>{var{theme:r}=e;return r.spacing.lg},e=>{var{theme:r}=e;return r.spacing.xxl},e=>{var{theme:r}=e;return r.colors.grey_4},e=>{var{$highlighted:r,theme:t}=e;return r&&(0,n.css)(["border-color:",";border-top-width:4px;background-color:",";box-shadow:",";"],t.colors.purple_1,t.colors.white_1,t.appearance.box_shadow)},e=>{var{theme:r}=e;return r.breakpoints.tablet},e=>{var{theme:r}=e;return r.spacing.xl}),g=n.default.div.withConfig({componentId:"sc-1s9viqd-3"})(["display:flex;flex-direction:column;gap:","px;min-width:0;"],e=>{var{theme:r}=e;return r.spacing.lg}),x=n.default.div.withConfig({componentId:"sc-1s9viqd-4"})(["display:flex;flex-direction:column;gap:","px;padding:",";"],e=>{var{theme:r}=e;return r.spacing.md},e=>{var{theme:r}=e;return r.spacing.xs+"px 0 "+r.spacing.md+"px"}),v=n.default.div.withConfig({componentId:"sc-1s9viqd-5"})(["display:flex;flex-direction:row;align-items:center;gap:","px;min-width:0;& > *:last-child{min-width:0;overflow-wrap:anywhere;}"],e=>{var{theme:r}=e;return r.spacing.sm}),b=e=>{var{title:r,description:t,cards:i}=e,d=(0,n.useTheme)();return(0,p.jsxs)(m,{children:[(0,p.jsx)(c,{title:r,description:t}),(0,p.jsx)(h,{children:i.map(e=>{var r,t=e.highlighted?d.colors.grey_1:d.colors.grey_3,n=e.highlighted?d.colors.green_1:d.colors.grey_3;return(0,p.jsxs)(u,{$highlighted:e.highlighted,children:[(0,p.jsxs)(g,{children:[(0,p.jsx)(o.A,{elementTheme:"h3",color:d.colors.grey_1,children:e.title}),(0,p.jsx)(o.A,{elementTheme:"body2",color:d.colors.grey_2,children:e.subt
1itle})]}),(0,p.jsx)(x,{children:null===(r=e.items)||void 0===r?void 0:r.map(e=>(0,p.jsxs)(v,{children:[(0,p.jsx)(l.A,{size:20,color:n}),(0,p.jsx)(o.A,{elementTheme:"body2",color:t,children:e.title})]},e.id))}),!!e.cta&&(0,p.jsx)(s.A,(0,a.A)({},e.cta,{appearance:"plain",tone:e.highlighted?"default":"muted",size:"medium",withArrow:!0,analyticsContext:{cta_location:"section",component_type:"showcase_consulting_grant_writing"}}))]},e.id)})})]})},f=t(96540),w=t(76222),y=t(57997),j=e=>{var r,t,{title:n,description:i,cards:o,plans:l=[]}=e,{0:s,1:d}=(0,f.useState)(null!==(r=null===(t=l[0])||void 0===t?void 0:t.planType)&&void 0!==r?r:"free"),m=(0,f.useMemo)(()=>{var e=o.find(e=>e.planType===s);return e?(0,p.jsx)(w.A,(0,a.A)({},e)):null},[s,o]);return(0,p.jsxs)(y.mJ,{children:[(0,p.jsx)(c,{title:n,description:i}),(0,p.jsx)(y.cx,{role:"tablist","aria-label":n,children:l.map(e=>{var r=e.planType===s;return(0,p.jsx)(y.AT,{type:"button",role:"tab","aria-selected":r,$active:r,onClick:()=>d(e.planType),children:e.title},e.planType)})}),m]})},k=t(30175),C=t(25960),_=t(3771),I=n.default.div.withConfig({componentId:"sc-7b6p3b-0"})([""," width:100%;@media screen and (max-width:","px){gap:","px;}"],d.U,e=>{var{theme:r}=e;return r.breakpoints.mobile},e=>{var{theme:r}=e;return r.spacing.lg}),T=n.default.header.withConfig({componentId:"sc-7b6p3b-1"})(["display:flex;flex-direction:column;gap:","px;max-width:1120px;@media screen and (max-width:","px){max-width:100%;align-items:center;text-align:center;}"],e=>{var{theme:r}=e;return r.spacing.md},e=>{var{theme:r}=e;return r.breakpoints.md}),A=n.default.h2.withConfig({componentId:"sc-7b6p3b-2"})([""," margin:0;color:",";"],(0,C.Cm)("h2",!0),e=>{var{theme:r}=e;return r.semanticColors.text.primary}),$=(0,n.css)([""," margin:0;color:",";"],(0,C.Cm)("body1"),e=>{var{theme:r}=e;return r.semanticColors.text.primary}),q=n.default.p.withConfig({componentId:"sc-7b6p3b-3"})(["",""],$),R=n.default.div.withConfig({componentId:"sc-7b6p3b-4"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:","px;width:100%;@media screen and (max-width:","px){width:calc(100% + ","px);margin-right:-","px;padding-right:","px;grid-template-columns:repeat(3,minmax(180px,1fr));gap:","px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-mask-image:linear-gradient( to right,black 0,black calc(100% - ","px),transparent 100% );mask-image:linear-gradient( to right,black 0,black calc(100% - ","px),transparent 100% );&::-webkit-scrollbar{display:none;}}"],e=>{var{theme:r}=e;return r.spacing.xxxl},e=>{var{theme:r}=e;return r.breakpoints.tablet},e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.spacing.md},e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.spacing.xl}),D=n.default.button.withConfig({componentId:"sc-7b6p3b-5"})(["appearance:none;display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:","px;padding:","px 0 ","px;border:0;border-bottom:1px solid ",";background:transparent;color:",";text-align:left;cursor:pointer;scroll-snap-align:start;transition:",";&:hover{color:",";border-bottom-color:",";}&:focus-visible{outline:2px solid ",";outline-offset:","px;}"],e=>{var{theme:r}=e;return r.spacing.sm},e=>{var{theme:r}=e;return r.spacing.sm},e=>{var{theme:r}=e;return r.spacing.md},e=>{var{$active:r,theme:t}=e;return r?t.colors.purple_1:t.colors.grey_4},e=>{var{$active:r,theme:t}=e;return r?t.colors.purple_1:t.colors.grey_3},e=>{var{theme:r}=e;return r.appearance.transition},e=>{var{theme:r}=e;return r.colors.purple_1},e=>{var{theme:r}=e;return r.colors.purple_1},e=>{var{theme:r}=e;return r.colors.purple_2},e=>{var{theme:r}=e;return r.spacing.xs}),B=n.default.span.withConfig({componentId:"sc-7b6p3b-6"})([""," color:currentColor;"],(0,C.Cm)("h6",!0)),z=n.default.span.withConfig({componentId:"sc-7b6p3b-7"})([""," color:",";"],(0,C.Cm)("body3"),e=>{var{theme:r}=e;return r.colors.grey_2}),H=n.default.section.withConfig({componentId:"sc-7b6p3b-8"})(["display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,0.9fr);gap:","px;align-items:stretch;width:100%;padding:","px;border:1px solid ",";border-radius:",";background:",";box-shadow:0 2px 1px rgba(0,0,0,0.05);&:focus{outline:none;}&:focus-visible{outline:2px solid ",";outline-offset:","px;}@media screen and (max-width:","px){grid-template-columns:minmax(0,1fr);gap:","px;}@media screen and (max-width:","px){gap:","px;padding:","px;}"],e=>{var{theme:r}=e;return r.spacing.xxxl},e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.colors.grey_4},e=>{var{theme:r}=e;return r.border_radius.sm},e=>{var{theme:r}=e;return r.colors.white_1},e=>{var{theme:r}=e;return r.colors.purple_2},e=>{var{theme:r}=e;return r.spacing.xs},e=>{var{theme:r}=e;return r.breakpoints.md},e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.breakpoints.mobile},e=>{var{theme:r}=e;return r.spacing.md},e=>{var{theme:r}=e;return r.spacing.md}),S=n.default.div.withConfig({componentId:"sc-7b6p3b-9"})([""," display:flex;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:","px;> div:first-child{display:flex;flex-direction:column;gap:","px;}@media screen and (max-width:","px){order:2;justify-content:flex-start;}@media screen and (max-width:","px){gap:","px;}"],_.y,e=>{var{theme:r}=e;return r.spacing.xl},e=>{var{theme:r}=e;return r.spacing.md},e=>{var{theme:r}=e;return r.breakpoints.md},e=>{var{theme:r}=e;return r.breakpoints.mobile},e=>{var{theme:r}=e;return r.spacing.lg}),E=n.default.h3.withConfig({componentId:"sc-7b6p3b-10"})([""," margin:0;color:",";"],(0,C.Cm)("h3",!0),e=>{var{theme:r}=e;return r.semanticColors.text.primary}),F=n.default.p.withConfig({componentId:"sc-7b6p3b-11"})(["",""],$),M=n.default.ul.withConfig({componentId:"sc-7b6p3b-12"})(["display:flex;flex-direction:column;gap:","px;padding:0;margin:0;list-style:none;"],e=>{var{theme:r}=e;return r.spacing.sm}),U=n.default.li.withConfig({componentId:"sc-7b6p3b-13"})(["display:flex;align-items:center;gap:","px;> span{position:relative;display:inline-flex;width:20px;height:20px;flex:0 0 20px;align-items:center;justify-content:center;border:1px solid ",";border-radius:",";color:",";&::after{width:5px;height:9px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;content:'';transform:translateY(-1px) rotate(45deg);}}> p{"," margin:0;}@media screen and (max-width:","px){align-items:flex-start;> span{margin-top:3px;}}"],e=>{var{theme:r}=e;return r.spacing.sm},e=>{var{theme:r}=e;return r.semanticColors.text.primary},e=>{var{theme:r}=e;return r.border_radius.full},e=>{var{theme:r}=e;return r.semanticColors.text.primary},(0,C.Cm)("body1"),e=>{var{theme:r}=e;return r.breakpoints.mobile}),J=n.default.div.withConfig({componentId:"sc-7b6p3b-14"})(["min-width:0;height:360px;overflow:hidden;border-radius:5px;clip-path:inset(0 round 5px);-webkit-mask-image:-webkit-radial-gradient(white,black);background:",";.gatsby-image-wrapper,[data-gatsby-image-wrapper]{width:100%;height:100%;overflow:hidden;border-radius:5px;-webkit-mask-image:-webkit-radial-gradient(white,black);}img{width:100%;height:100%;border-radius:5px;object-fit:",";object-position:",";}@media screen and (max-width:","px){order:1;width:min( 100%,calc(360px * ",") );height:auto;aspect-ratio:",";justify-self:center;}"],e=>{var{theme:r}=e;return r.colors.white_1},e=>{var{$containImage:r}=e;return r?"contain":"cover"},e=>{var{$containImage:r}=e;return r?"center":"center 40%"},e=>{var{theme:r}=e;return r.breakpoints.md},e=>{var{$imageAspectRatio:r}=e;return r},e=>{var{$imageAspectRatio:r}=e;return r}),K=e=>{var r,{cta:t,image:i,items:o,panelId:l,subtitle:d,tabId:c,title:m}=e,h=(0,n.useTheme)(),u=null==i?void 0:i.gatsbyImageData,g=null!=u&&u.width&&u.height?u.width/u.height:16/9,x=Boolean((null==u?void 0:u.width)&&u.height&&g<=4/3);return(0,p.jsxs)(H,{id:l,role:"tabpanel","aria-labelledby":c,tabIndex:0,children:[(0,p.jsxs)(S,{children:[(0,p.jsxs)("div",{children:[(0,p.jsx)(E,{children:m}),(0,p.jsx)(F,{children:d})]}),(0,p.jsx)(M,{children:o.slice(0,3).map((e,r)=>{var t;return(0,p.jsxs)(U,{children:[(0,p.jsx)("span",{"aria-hidden":"true"}),(0,p.jsx)("p",{children:e.title})]},null!==(t=e.id)&&void 0!==t?t:r)})}),!!t&&(0,p.jsx)(s.A,(0,a.A)({},t,{appearance:"button",size:"small",shape:"rounded-corner",withArrow:!0,style:{backgroundColor:h.colors.white_1,borderColor:h.colors.grey_1,borderRadius:5,color:h.colors.grey_1},analyticsContext:{cta_location:"section",component_type:"homepage_services_showcase"}}))]}),!!i&&(0,p.jsx)(J,{$containImage:x,$imageAspectRatio:g,children:(0,p.jsx)(k.A,{alt:null!==(r=i.title)&&void 0!==r?r:m,asset:i,mediaTreatment:"plain",objectFit:x?"contain":"cover"})})]})},L=e=>{var r,t,n,{title:i,description:o,cards:l,plans:s=[]}=e,d=(0,f.useId)(),{0:c,1:m}=(0,f.useState)(null!==(r=null===(t=s[0])||void 0===t?void 0:t.planType)&&void 0!==r?r:null===(n=l[0])||void 0===n?void 0:n.planType),h=(0,f.useMemo)(()=>{var e;return null!==(e=l.find(e=>e.planType===c))&&void 0!==e?e:l[0]},[l,c]);if(!h)return null;var u=d+"-panel-"+h.planType;return(0,p.jsxs)(I,{children:[(0,p.jsxs)(T,{children:[(0,p.jsx)(A,{children:i}),(0,p.jsx)(q,{children:o})]}),(0,p.jsx)(R,{role:"tablist","aria-label":i,children:s.map((e,r)=>{var t=e.planType===h.planType,n=d+"-tab-"+e.planType,i=e=>{var r=(e+s.length)%s.length,t=s[r];t&&(m(t.planType),window.requestAnimationFrame(()=>{var e;null===(e=document.getElementById(d+"-tab-"+t.planType))||void 0===e||e.focus()}))};return(0,p.jsxs)(D,{id:n,type:"button",role:"tab","aria-controls":d+"-panel-"+e.planType,"aria-selected":t,tabIndex:t?0:-1,$active:t,onClick:()=>m(e.planType),onKeyDown:e=>{"ArrowRight"===e.key&&(e.preventDefault(),i(r+1)),"ArrowLeft"===e.key&&(e.preventDefault(),i(r-1)),"Home"===e.key&&(e.preventDefault(),i(0)),"End"===e.key&&(e.preventDefault(),i(s.length-1))},children:[(0,p.jsx)(B,{children:e.title}),(0,p.jsx)(z,{children:e.label})]},e.planType)})}),(0,p.jsx)(K,(0,a.A)({},h,{panelId:u,tabId:d+"-tab-"+h.planType}))]})},Y=e=>
1{var{title:r,description:t,plans:a,cards:o,backgroundColor:l,componentStyle:s,fromRoot:d,isHero:c}=e,m=(0,n.useTheme)(),h="homepage"===s?m.caps.small:m.caps.normal,u="consulting-grant-writing"!==s&&l?m.colors[l]:void 0;return(0,p.jsx)(i.A,{fromRoot:d,isHero:c,cap:h,containerBackgroundColor:u,styles:"homepage-services"===s?{content:{paddingBottom:m.spacing.xxl}}:void 0,md:"homepage-services"===s?{styles:{content:{paddingBottom:m.spacing.xl}}}:void 0,children:(()=>{switch(s){case"homepage":return(0,p.jsx)(j,{title:r,description:t,cards:o,plans:a});case"homepage-services":return(0,p.jsx)(L,{title:r,description:t,cards:o,plans:a});case"consulting-grant-writing":return(0,p.jsx)(b,{title:r,description:t,cards:o});default:return null}})()})}}}]);
2//# sourceMappingURL=6031-978203526953286bbec8.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.