1import{S as w}from"./StarringYouCards-QzHT1cti.js";import{a_ as k,cx as C,E as i,ap as s,j as e,w as m,O as n,aA as y,ax as S,aB as c,f as h,aX as T,s as B}from"../index-Cd7uS7_0.js";import{r as P}from"./index-B5rusfVt.js";import{H as u}from"./HolidayPresenter-CJQsiF9d.js";import{sortHolidays as _,nonHolidays as b}from"./holidaysUtils-Bc-lb-k4.js";var G=k(function(r,o){if(r<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var d=[],l=0;l<o.length;)d.push(C(l,l+=r,o));return d});const Y=Object.freeze(Object.defineProperty({__proto__:null,default:w},Symbol.toStringTag,{value:"Module"})),J=t=>{const r=_(t),o=Math.ceil(r.length/2);return G(o,r)},H=()=>{const t=["Birthdays","Anniversary","Weddings","Graduation","Baby"];return b.filter(({name:o})=>t.includes(o))},O=()=>{const t=["Love","Thanks","You Rock","Get well","Congrats","Sorry","Free"];return b.filter(({name:o})=>t.includes(o))},A=i(s)(({theme:t})=>({margin:"auto",maxWidth:270,[t.breakpoints.up("mobile")]:{maxWidth:"none"}})),E=i("div")(({theme:t})=>({padding:"10px 40px 34px",[t.breakpoints.up("tablet")]:{padding:"54px 134px 34px"}})),x=({title:t,children:r})=>e.jsxs("div",{children:[e.jsx(A,{variant:"h1",color:"primary",component:"h3",align:"center",children:t}),e.jsx(E,{children:r})]});x.propTypes={title:m.string.isRequired};const L=i("div")(()=>({padding:"35px 0 100px"})),W=i(n)(({theme:t})=>({marginBottom:53,[t.breakpoints.up("tablet")]:{marginBottom:95}})),g=i(s,{shouldForwardProp:t=>t!=="categoryColor"})(({theme:t,categoryColor:r})=>({padding:"30px 0 20px",textTransform:"uppercase",textAlign:"center",...r&&{color:t.palette.categories[r]},[t.breakpoints.up("mobile")]:{padding:"30px 0 36px"}})),z=i(y)(({theme:t})=>({display:"block",textAlign:"center",fontSize:t.typography.large.fontSize})),f=({isDescriptionVisible:t=!0,dateSelected:r=B()})=>{const o=J(r),d=H(),l=O(),p=a=>e.jsx(z,{id:u.getCategoryId(a),to:h.categoryPath(u.slug(a)),component:c,children:P(u.title(a))},u.name(a));return e.jsx(L,{children:e.jsxs(S,{children:[t&&e.jsxs(e.Fragment,{children:[e.jsxs(x,{title:"JibJab Ecards",children:[e.jsx(s,{variant:"large",align:"center",pb:5,children:"Introducing JibJab â where the laughter never stops and the party is always poppinâ! Get ready to unleash the zaniness and make your peeps double over in stitches with our knee-slappinâ ecards that are as goofy as your Uncle Ned after one too many cups of coffee!"}),e.jsxs(s,{variant:"large",align:"center",children:["So, you wanna send a",e.jsxs(y,{to:h.categoryPath("birthday-ecards"),component:c,children:[" ","birthday ecard"," "]}),"thatâll have âem rolling on the floor? Or maybe youâre itching to spread some Merry Christmas cheer with a side of hilarity? Perhaps youâre feeling all lovey-dovey and wanna show your better half just how much they mean to you? Or hey, are you on a quest to say thank you in the most unforgettable way ever? Well, folks, weâve gotcha covered! Just hunt down the perfect custom greeting card, slap on 1-5 grinning mugs, and hit that send button faster than a caffeinated squirrel on roller skates. Itâs so darn easy that weâve heard rumors of pets sending our personalized greeting cards onlineâ¦who knew Fluffy was so funny?!"]})]}),e.jsxs(x,{title:"You Bring the Faces, We Bring the Smiles",children:[e.jsxs(s,{variant:"large",align:"center",pb:5,children:["At JibJab, we firmly believe that laughter is the best darn medicine this side of the moon. And guess what? You donât need to enroll in medical school to become a certified ecard maker! Brighten up someoneâs day by sending âem some of our signature LOLs. Weâll turn âem into the headliner of their very own blockbuster flick, or let âem break it down like a dancefloor dynamo with our rockinâ",e.jsxs(y,{to:h.categoryPath("music-video-ecards"),component:c,children:[" ","music video ecards."," "]}),"Weâve been crafting these world-famous cards for so long that weâve got online cards for just about any reason you can dream up... and heck, some reasons we straight-up invented ourselves!"]}),e.jsx(s,{variant:"large",align:"center",children:"So there you have it, friends! JibJab â where the laughter flows like soda at a burp contest and the good times never run dry. Get ready to be the ecard guru of your crew, and let the chuckles rain down like confetti at a clownâs birthday bash!"})]})]}),e.jsxs(W,{container:!0,children:[e.jsx(n,{item:!0,xs:12,sm:6,children:e.jsxs(n,{container:!0,children:[e.jsx(n,{item:!0,xs:12,children:e.jsx(g,{variant:"h3",categoryColor:"holidays",children:"Holidays"})}),o.map((a,v)=>e.jsx(n,{item:!0,xs:6,children:a.map(j=>p(j))},v))]})}),e.jsx(n,{item:!0,xs:12,sm:6,children:e.jsxs(n,{container:!0,children:[e.jsxs(n,{item:!0,xs:6,children:[e.jsx(g,{variant:"h3",categoryColor:"celebrate",children:"Celebrate"}),d.map(a=>p(a))]}),e.jsxs(n,{item:!0,xs:6,children:[e.jsx(g,{variant:"h3",categoryColor:"greetings",children:"Greetings"}),l.map(a=>p(a))]})]})})]}),e.jsx(n,{container:!0,direction:"row",justifyContent:"center",alignItems:"center",children:e.jsx(n,{item:!0,children:e.jsx(T,{id:"home-browse-all-categories",component:c,variant:"outlined",color:"primary",to:h.categoriesPath(),children:"Browse All Categories"})})})]})})};f.propTypes={isDescriptionVisible:m.bool,dateSelected:m.shape(Date)};const q=Object.freeze(Object.defineProperty({__proto__:null,default:f},Symbol.toStringTag,{value:"Module"}));
1export{f as C,q as a,Y as i};
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.