1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[369],{236:function(e,t,l){l.d(t,{B:function(){return p}});var a=l(5893),r=l(402),n=l(5675),s=l.n(n),i=l(5700),o=l(4377),c=l(1969),d=l(9669),m=l(2884),u=l(7696),h=l(145),x=l(98);let p=e=>{let{author:t}=e;if(!t)return null;let l={facebook:i.Z,pinterest:o.Z,twitter:c.Z,linkedIn:d.Z,instagram:m.Z,youTube:u.Z,website:h.Z,quora:x.Z},n={facebook:"text-[#187AFF]",pinterest:"text-[#e60023]",twitter:"text-[#20AEEF]",linkedIn:"text-[#0a66c2]",instagram:"text-[#884DCF]",youTube:"text-[#FF0000]",website:"text-teal-600",quora:"text-[#B92B27]"},p=Object.entries((null==t?void 0:t.socialMeta[0])||[]).filter(e=>e[1])||[];return(0,a.jsxs)("div",{className:"md:flex gap-4 md:gap-6 p-4 items-start",children:[(0,a.jsxs)("div",{className:"w-28 md:w-32 shrink-0 rounded-full float-left md:float-none mr-4 md:mr-0",children:[(null==t?void 0:t.imagePublicUrl)&&(0,a.jsx)(s(),{loader:r.BC,alt:t.name,width:128,height:128,sizes:"15vw",className:"aspect-square object-center object-cover rounded-full",src:t.imagePublicUrl}),p&&p.length>0&&(0,a.jsx)("div",{className:"flex place-content-center",children:p.map(e=>{let r=l[e[0]];return(0,a.jsx)("a",{title:"".concat(e[0]," ").concat(t.name),href:e[1],rel:"nofollow noopener noreferrer",target:"_blank",className:"block rounded-full p-2 ".concat(n[e[0]]),children:(0,a.jsx)(r,{width:20,height:20})},e[0])})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg md:text-xl font-semibold capitalize",children:t.url?(0,a.jsx)("a",{href:t.url,children:t.name}):t.name}),(0,a.jsx)("span",{className:"uppercase text-xs font-medium leading-5 text-gray-500 ",children:t.jobTitle}),(0,a.jsx)("div",{className:"text-sm text-gray-600 mt-2",dangerouslySetInnerHTML:{__html:t.biographicalInfo}})]})]})}},5443:function(e,t,l){l.d(t,{Z:function(){return d}});var a=l(5893),r=l(7294),n=l(5675),s=l.n(n),i=l(402);let o=r.forwardRef(function({title:e,titleId:t,...l},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},l),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M20.03 4.72a.75.75 0 010 1.06l-7.5 7.5a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 11.69l6.97-6.97a.75.75 0 011.06 0zm0 6a.75.75 0 010 1.06l-7.5 7.5a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 111.06-1.06L12 17.69l6.97-6.97a.75.75 0 011.06 0z",clipRule:"evenodd"}))}),c=e=>{let{pagination:t}=e;if(!(null==t?void 0:t.next)&&!(null==t?void 0:t.previous))return null;let{previous:l,next:r}=t;return(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2 md:gap-4 mt-8",children:[l?(0,a.jsxs)("div",{className:"bg-teal-50 relative group transition duration-500 shadow-md hover:shadow-lg rounded-sm overflow-hidden md:flex md:flex-row md:gap-4",children:[l.featuredImage&&(0,a.jsx)(s(),{loader:i.BC,src:l.featuredImage.imagePublicUrl,alt:l.featuredImage.alt,width:195,height:295,className:"aspect-[2/3] md:w-5/12 object-cover object-center group-hover:scale-105 transform-gpu transition duration-500",sizes:"(max-width: 640px) 50vw,25vw"}),(0,a.jsxs)("div",{className:"py-4 flex flex-col items-center md:items-end md:justify-center gap-1 md:pr-6",children:[(0,a.jsx)(o,{width:24,className:"w-6 h-6 rotate-90 text-cyan-600"}),(0,a.jsx)("span",{className:" text-sm font-bold",children:"Previous Recipe"}),(0,a.jsx)("div",{className:"text-xs font-medium text-gray-500 text-center md:text-right",children:l.title})]}),(0,a.jsx)("a",{href:l.uri,className:"absolute inset-0",children:(0,a.jsx)("span",{className:"sr-only",children:l.title})})]}):(0,a.jsx)("span",{}),r&&(0,a.jsxs)("div",{className:"bg-teal-50 relative group transition duration-500 shadow-md hover:shadow-lg rounded-sm overflow-hidden md:flex md:flex-row-reverse md:gap-4",children:[r.featuredImage&&(0,a.jsx)(s(),{loader:i.BC,src:r.featuredImage.imagePublicUrl,alt:r.featuredImage.alt,width:195,height:295,className:"aspect-[2/3] md:w-5/12 object-cover object-center group-hover:scale-105 transform-gpu transition duration-500",sizes:"(max-width: 640px) 50vw,25vw"}),(0,a.jsxs)("div",{className:"py-4 flex flex-col items-center md:items-start md:justify-center gap-1 md:pl-6",children:[(0,a.jsx)(o,{width:24,className:"w-6 h-6 -rotate-90 text-cyan-600"}),(0,a.jsx)("span",{className:" text-sm font-bold",children:"Next Recipe"}),(0,a.jsx)("div",{className:"text-xs font-medium text-gray-500 text-center md:text-left",children:r.title})]}),(0,a.jsx)("a",{href:r.uri,className:"absolute inset-0 ",children:(0,a.jsx)("span",{className:"sr-only",children:r.title})})]})]})};var d=c},1208:function(e,t,l){l.d(t,{Z:function(){return x}});var a=l(5893),r=l(7294),n=l(5675),s=l.n(n),i=l(402),o=l(7139);let c=r.forwardRef(function({title:e,titleId:t,...l},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},l),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.625 9.75a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H8.25m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0H12m4.125 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm0 0h-.375m-13.5 3.01c0 1.6 1.123 2.994 2.707 3.227 1.087.16 2.185.283 3.293.369V21l4.184-4.183a1.14 1.14 0 01.778-.332 48.294 48.294 0 005.83-.498c1.585-.233 2.708-1.626 2.708-3.228V6.741c0-1.602-1.
1123-2.995-2.707-3.228A48.394 48.394 0 0012 3c-2.392 0-4.744.175-7.043.513C3.373 3.746 2.25 5.14 2.25 6.741v6.018z"}))}),d=e=>{let{post:t,category:l,comments:n}=e,{id:o,tag:d,featuredImage:u}=t,[x,p]=(0,r.useState)(n),g=e=>{p(t=>[e,...t])};return(0,a.jsxs)("div",{id:"respond",className:"bg-custom-200 mt-12",children:[(0,a.jsxs)("div",{className:"p-4 flex flex-col gap-4 ",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center justify-between text-xl font-semibold",children:["Comments/ Reviews ",(0,a.jsx)(c,{className:"w-8 h-8 text-red-600 -mb-2",strokeWidth:1})]}),(0,a.jsxs)("div",{className:"md:flex gap-6",children:[u?(0,a.jsx)("div",{className:"hidden md:block md:w-1/3",children:(0,a.jsx)(s(),{loader:i.BC,width:225,height:337,className:"relative overflow-hidden aspect-[2/3] object-cover object-center",alt:u.alt,src:u.imagePublicUrl,sizes:"(max-width: 640px) 50vw,(max-width: 768px) 33vw,25vw"})}):null,(0,a.jsxs)("div",{className:"grow flex flex-col gap-4",children:[(0,a.jsx)("div",{className:" hidden md:block font-bold text-gray-700 text-xl",children:t.title}),(0,a.jsx)(h,{id:o,tag:d,category:l,addComment:g})]})]})]}),x?(0,a.jsx)(m,{comments:x,id:o,tag:d,category:l,addComment:g}):null]})},m=e=>{let{comments:t,replies:l=!1,id:r,tag:n,category:s,addComment:i}=e,o=(null==t?void 0:t.filter(e=>{var t;return l?(null===(t=e.parent)||void 0===t?void 0:t.id)===l:!e.parent}))||null;return o&&o.length>0?(0,a.jsx)("ul",{children:o.map(e=>(0,a.jsx)(u,{comments:t,comment:e,replies:l,id:r,tag:n,category:s,addComment:i},"comment-".concat(e.id)))}):null},u=e=>{let{comments:t,comment:l,replies:n=!1,id:s,tag:c,category:d,addComment:u}=e,[x,p]=(0,r.useState)(!1);return(0,a.jsxs)("li",{id:"comment-".concat(l.id),className:(0,i.AK)("p-4 flex flex-col gap-4 ",n?"bg-white/60":"odd:bg-white/50","pending"===l.status?"!bg-yellow-100":""),children:[(0,a.jsxs)("div",{className:"group relative flex flex-col gap-2",children:[(0,a.jsx)("div",{className:"flex flex-row gap-4 items-center",children:(0,a.jsx)("div",{className:"text-custom-300",children:(0,a.jsx)("div",{className:"font-semibold text-lg capitalize",children:l.url?(0,a.jsx)("a",{href:l.url,rel:"nofollow noopener noreferrer",target:"_blank",children:l.name}):(0,a.jsx)(a.Fragment,{children:l.name})})})}),(0,a.jsx)(o.Iv,{rating:l.rating}),(0,a.jsx)("div",{className:"prose",dangerouslySetInnerHTML:{__html:l.content}}),"pending"===l.status?(0,a.jsx)("span",{className:"absolute top-0 right-0 rounded-full bg-yellow-300 text-yellow-700 text-xs capitalize px-2 py-1",children:l.status}):(0,a.jsx)("button",{onClick:()=>p(!x),className:(0,i.AK)("absolute top-0 right-0 text-sm py-1 px-4 border font-medium rounded bg-cyan-600 text-white transition-all",x?"":"opacity-0 group-hover:opacity-100"),children:x?"Cancel reply":"Reply"}),x?(0,a.jsx)("div",{className:"bg-white p-4 border rounded-md",children:(0,a.jsx)(h,{id:s,tag:c,category:d,parentId:l.id,addComment:u,setReply:p})}):null]}),(0,a.jsx)(m,{comments:t,replies:l.id,id:s,tag:c,category:d,addComment:u})]})},h=e=>{let{id:t,tag:l,category:n,parentId:s=0,addComment:i,setReply:c}=e,[d,m]=(0,r.useState)(!1),[u,h]=(0,r.useState)(),[x,p]=(0,r.useState)({head:"",content:""}),g=async e=>{e.preventDefault(),m(!0);let{comment:a,name:r,email:s,rating:o,parentId:d}=e.target;if(!a.value||!r.value||!s.value){p({head:"Error",content:"Please fill the required fields."});return}try{let u=await fetch("https://api.healthyrecipes101.com/api/comment/create/",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({name:r.value,email:s.value,comment:a.value,rating:parseInt(o.value),id:t,tag:l,category:n,parentId:parseInt(d.defaultValue)})}),h=await u.json();200!==u.status&&p({head:"Error",content:h.error}),h.success&&(p({head:"Success",content:h.success}),a.value="",i(h.item),c&&c(!1))}catch(x){p({head:"Error",content:x.message})}m(!1)},f=async e=>{e.target.scrollHeight>e.target.clientHeight&&e.target.scrollHeight<=208&&h("".concat(e.target.scrollHeight,"px"))};return(0,a.jsxs)("form",{onSubmit:g,className:"col-span-full sm:col-start-4 flex flex-col gap-4",children:["Error"===x.head?(0,a.jsxs)("span",{className:"text-red-500 border bg-red-50 px-2 py-1 rounded-md text-sm",children:[(0,a.jsxs)("strong",{children:[x.head,"!"]})," ",x.content]}
1):null,(0,a.jsx)("input",{type:"hidden",defaultValue:s,name:"parentId"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"comment",className:"sr-only",children:" Add your comment "}),(0,a.jsx)("textarea",{required:!0,rows:3,name:"comment",id:"comment",onChange:e=>f(e),className:"min-w-[89px] border border-gray-300 max-h-52 block w-full resize-none sm:text-sm focus:ring-custom-300 focus:border-custom-300 rounded-md",style:{height:u},placeholder:"* Tell us what you think..."})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(o.ep,{postID:Number(t)}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"name",className:"sr-only",children:"Name"}),(0,a.jsx)("input",{type:"text",name:"name",id:"name",required:!0,placeholder:"* Name",className:"shadow-sm focus:ring-custom-300 focus:border-custom-300 block w-full sm:text-sm border-gray-300 rounded-md"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"email",className:"sr-only",children:"Email"}),(0,a.jsx)("input",{type:"email",name:"email",id:"email",required:!0,placeholder:"* Email",pattern:"[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,}$",className:"shadow-sm focus:ring-custom-300 focus:border-custom-300 block w-full sm:text-sm border-gray-300 rounded-md"})]})]}),(0,a.jsx)("button",{type:"submit",disabled:!!d,className:"border px-4 py-2 text-sm font-medium rounded shadow-sm text-white bg-custom-300 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-custom-300 disabled:cursor-wait disabled:bg-custom-300/60",children:d?"Save Comment/ Review ...":"Save Comment/ Review"})]})};var x=d},186:function(e,t,l){l.d(t,{v:function(){return x}});var a=l(5893),r=l(7294),n=l(5675),s=l.n(n),i=l(7139),o=l(402),c=l(5700),d=l(4377),m=l(1969);let u=r.forwardRef(function({title:e,titleId:t,...l},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},l),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M8.603 3.799A4.49 4.49 0 0112 2.25c1.357 0 2.573.6 3.397 1.549a4.49 4.49 0 013.498 1.307 4.491 4.491 0 011.307 3.497A4.49 4.49 0 0121.75 12a4.49 4.49 0 01-1.549 3.397 4.491 4.491 0 01-1.307 3.497 4.491 4.491 0 01-3.497 1.307A4.49 4.49 0 0112 21.75a4.49 4.49 0 01-3.397-1.549 4.49 4.49 0 01-3.498-1.306 4.491 4.491 0 01-1.307-3.498A4.49 4.49 0 012.25 12c0-1.357.6-2.573 1.549-3.397a4.49 4.49 0 011.307-3.497 4.49 4.49 0 013.497-1.307zm7.007 6.387a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",clipRule:"evenodd"}))}),h=r.forwardRef(function({title:e,titleId:t,...l},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},l),e?r.createElement("title",{id:t},e):null,r.createElement("path",{fillRule:"evenodd",d:"M7.875 1.5C6.839 1.5 6 2.34 6 3.375v2.99c-.426.053-.851.11-1.274.174-1.454.218-2.476 1.483-2.476 2.917v6.294a3 3 0 003 3h.27l-.155 1.705A1.875 1.875 0 007.232 22.5h9.536a1.875 1.875 0 001.867-2.045l-.155-1.705h.27a3 3 0 003-3V9.456c0-1.434-1.022-2.7-2.476-2.917A48.716 48.716 0 0018 6.366V3.375c0-1.036-.84-1.875-1.875-1.875h-8.25zM16.5 6.205v-2.83A.375.375 0 0016.125 3h-8.25a.375.375 0 00-.375.375v2.83a49.353 49.353 0 019 0zm-.217 8.265c.178.018.317.16.333.337l.526 5.784a.375.375 0 01-.374.409H7.232a.375.375 0 01-.374-.409l.526-5.784a.373.373 0 01.333-.337 41.741 41.741 0 018.566 0zm.967-3.97a.75.75 0 01.75-.75h.008a.75.75 0 01.75.75v.008a.75.75 0 01-.75.75H18a.75.75 0 01-.75-.75V10.5zM15 9.75a.75.75 0 00-.75.75v.008c0 .414.336.75.75.75h.008a.75.75 0 00.75-.75V10.5a.75.75 0 00-.75-.75H15z",clipRule:"evenodd"}))}),x=e=>{var t,l,r,n,c,d,m;let{post:h,steps:x,topic:v}=e,{headline:w}=(null!==(m=h.seoMeta)&&void 0!==m?m:[])[0]||[];return(0,a.jsxs)("div",{className:"flex flex-col md:flex-row my-6 md:my-10 gap-4 lg:gap-8 lg:w-full",children:[(0,a.jsxs)("header",{className:"flex flex-col gap-4 md:w-3/5",children:[h.nutritionallyReviewed?(0,a.jsx)(g,{reviewedBy:null==h?void 0:h.nutritionallyReviewed,dateGmt:null==h?void 0:h.reviewedAt}):null,(0,a.jsx)("h1",{className:"font-bold text-gray-900 text-4xl lg:text-5xl",children:h.title}),(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)("a",{href:"#respond",className:"flex items-center h-6",children:(0,a.jsx)(i.iG,{rating:(null==h?void 0:h.rating)||null,postID:h.id})})}),w?(0,a.jsx)("p",{className:"lg:text-lg text-gray-600",children:w}):null,(0,a.jsxs)("div",{className:"flex flex-col gap-4 my-2 grow",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 lg:gap-3 leading-5 flex-wrap",children:[h.authors?(0,a.jsxs)("div",{children:["Recipe developed by ",null===(t=h.authors)||void 0===t?void 0:t.map((e,t)=>(0,a.jsxs)("span",{children:[e.url?(0,a.jsx)("a",{href:e.url,rel:"author",className:"font-semibold underline underline-offset-4 decoration-cyan-500 hover:text-cyan-500",children:e.name}):e.name,t!==h.authors.length-1?", ":null," "]},"author-".concat(e.id)))]}):null,h.nutritionallyReviewed?(0,a.jsxs)("div",{children:[(0,a.jsx)(u,{width:20,className:"w-5 h-5 text-cyan-500
1inline-flex mb-1 mr-1"}),"Nutritionally reviewed by ",h.nutritionallyReviewed.url?(0,a.jsx)("a",{href:null==h?void 0:h.nutritionallyReviewed.url,rel:"author",className:"font-semibold underline underline-offset-4 decoration-cyan-500 hover:text-cyan-500",children:h.nutritionallyReviewed.name}):h.nutritionallyReviewed.name]}):null,(0,a.jsxs)("div",{children:[(null==h?void 0:h.reviewedAt)?"Last updated: ":"Published ",(0,a.jsx)("time",{className:"font-medium",dateTime:(null==h?void 0:h.reviewedAt)||h.publishDate,children:(0,a.jsx)(o.r2,{date:(null==h?void 0:h.reviewedAt)||h.publishDate})})]})]}),(0,a.jsxs)("div",{className:"text-gray-600 text-sm",children:["This post may contain ",(0,a.jsx)("a",{className:"font-semibold hover:text-cyan-500",href:"https://healthyrecipes101.com/page/terms-of-use/#advertising-affiliation",children:"affiliate links"}),", which help keep this content free."]})]}),(0,a.jsxs)("div",{className:"bg-custom-100/70 md:rounded-md md:mx-0 lg:py-2 lg:px-4",children:[(0,a.jsx)(f,{wprm:null==h?void 0:h.recipeMaker}),(0,a.jsxs)("div",{className:"flex justify-between p-2 lg:px-4",children:[(null==h?void 0:h.recipeMaker)?(0,a.jsx)("a",{href:"#recipe-maker-".concat(null==h?void 0:null===(l=h.recipeMaker)||void 0===l?void 0:l.id),className:"flex items-center rounded bg-custom-300 px-4 text-center font-semibold uppercase text-xs lg:text-sm text-white",children:"Jump to Recipe"}):null,(0,a.jsx)(p,{link:h.link,featuredImage:null===(r=h.featuredImage)||void 0===r?void 0:r.imagePublicUrl,recipeMakerID:null==h?void 0:null===(n=h.recipeMaker)||void 0===n?void 0:n.id,topic:v})]})]})]}),(0,a.jsx)("div",{className:"md:w-1/2 lg:w-2/5",children:(0,a.jsx)("div",{className:"relative w-full overflow-hidden aspect-[2/3] group rounded-md shadow-lg md:shadow",children:(null==h?void 0:h.featuredImage)&&(0,a.jsx)(s(),{loader:o.BC,width:576,height:864,sizes:"(max-width: 640px) 100vw, (max-width: 768px) 80vw, 50vw",className:"object-cover object-center",priority:!0,alt:null===(c=h.featuredImage)||void 0===c?void 0:c.alt,src:null===(d=h.featuredImage)||void 0===d?void 0:d.imagePublicUrl})})})]})},p=e=>{let{link:t,featuredImage:l,recipeMakerID:r,topic:n}=e,s=(e,a)=>{e.preventDefault();let r=window.location.origin+window.location.pathname,n=encodeURIComponent(document.title);switch(l=(null==l?void 0:l.replace("localhost:8001","cdn.healthyrecipes101.com"))||"https://healthyrecipes101.com/healthykitchen101.svg",a){case"twitter":r="https://twitter.com/intent/tweet?display=popup&url=".concat(t,"&text=").concat(n);break;case"pinterest":r="https://www.pinterest.com/pin/create/button/?display=popup&url=".concat(t,"&description=").concat(n,"&media=").concat(l);break;case"facebook":r="https://www.facebook.com/sharer.php?display=popup&u=".concat(t)}window.open(r,"sharer","toolbar=0,status=0,resizable=1,width=626,height=436")};return(0,a.jsxs)("div",{className:"flex flex-row gap-2 lg:gap-4",children:[(0,a.jsx)("button",{"aria-label":"Share with Facebook",onClick:e=>s(e,"facebook"),className:"flex w-8 h-8 lg:h-10 lg:w-10 items-center justify-center rounded-full bg-[#187aff] relative",children:(0,a.jsx)(c.Z,{className:"w-4 h-4 lg:h-5 lg:w-5 text-white",width:16})}),(0,a.jsx)("button",{"aria-label":"Share with Pinterest",onClick:e=>s(e,"pinterest"),className:"flex w-8 h-8 lg:h-10 lg:w-10 items-center justify-center rounded-full bg-[#db3c00] relative",children:(0,a.jsx)(d.Z,{className:"w-4 h-4 lg:h-5 lg:w-5 text-white",width:16})}),(0,a.jsx)("button",{"aria-label":"Share with Twitter",onClick:e=>s(e,"twitter"),className:"flex w-8 h-8 lg:h-10 lg:w-10 items-center justify-center rounded-full bg-[#20aeef] relative",children:(0,a.jsx)(m.Z,{className:"w-4 h-4 lg:h-5 lg:w-5 text-white",width:16})}),r?(0,a.jsx)("a",{title:"Print Recipe",href:"/".concat(n,"/print/").concat(r,"/"),className:"flex w-8 h-8 lg:h-10 lg:w-10 items-center justify-center rounded-full bg-custom-300 relative",target:"_blank",rel:"noreferrer noopener nofollow",children:(0,a.jsx)(h,{width:16,className:"w-4 h-4 lg:h-5 lg:w-5 text-white"})}):null]})},g=e=>{let{reviewedBy:t,dateGmt:l}=e,[n,i]=(0,r.useState)(!1),c=(0,r.useDeferredValue)(n);return(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{onClick:()=>i(!0),className:"flex items-center gap-2 rounded-full border-2 text-cyan-600 border-cyan-600 hover:bg-custom-300 hover:border-cyan-600 p-1.5 md:p-2 text-xs uppercase font-bold hover:text-white transition-all",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:16,className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:4,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),"Fact-checked"]}),n?(0,a.jsxs)("div",{className:"relative z-50",children:[(0,a.jsx)("div",{className:(0,o.AK)("fixed inset-0 bg-neutral-900/90 overflow-hidden transition-all",c?"opacity-100 ":" opacity-0"),onClick:()=>i(!1)}),(0,a.jsx)("div",{className:"w-[90%] max-w-md fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 overflow-y-auto",children:(0,a.jsxs)("div",{className:(0,o.AK)("relative mx-auto w-full overflow-hidden rounded-lg bg-white align-middle p-4 md:p-6 shadow-xl transition-all duration-500",c?"scale-100":"scale-0"),children:[(0,a.jsx)("h3",{className:"text-xl md:text-2xl font-medium leading-6 text-gray-900",children:"Nutritionally reviewed"}),(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsxs)("div",{className:"text-sm text-gray-600 prose",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-3 items-center",children:[(0,a.jsx)(s(),{loader:o.BC,alt:t.name,height:56,width:56,className:"m-0 object-center object-cover w-14 h-14 aspect-square rounded-full",src:"".concat(t.imagePublicUrl)}),(0,a.jsxs)("span",{children:[(0,a.jsx)("strong",{children:t.url?(0,a.jsx)("a",{href:t.url,className:"text-custom-300 no-underline outline-0 font-semibold",children:t.name}):t.name})," has fact-checked the article on ",(0,a.jsxs)("strong",{children:[(0,a.jsx)(o.r2,{date:l})," "]})," and confirmed that"]})]}),(0,a.jsxs)("p",{children:["1. The recipe is compliant with our ",(0,a.jsx)("a",{href:"https://healthyrecipes101.com/page/healthy-eating-guideline/",className:"text-custom-300 no-underline",children:"Nutrition Guidelines"})]}),(0,a.jsx)("p",{children:"2. All nutrition-related claims are up-to-date with current standards in nutrition"}),(0,a.jsx)("p",{children:"3. Referenced studies and research papers are from reputable and relevant peer-reviewed journals or academic associations."})]})}),(0,a.jsx)("svg",{onClick:()=>i(!1),xmlns:"http://www.w3.org/2000/svg",className:"absolute top-4 right-4 md:top-6 md:right-6 h-5 w-5 text-gray-500 cursor-pointer hover:text-gray-900",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})]})})]}):null]})},f=e=>{var t,l,r,n,s,i,o,c,d,m,u,h,x,p;let{wprm:g}=e,{prep_time:f,cook_time:v,times:w,servings:j,nutrition:b}=g||{},y=(null==b?void 0:b.calories)||(null===(t=null==b?void 0:b.find(e=>1008==e.id))||void 0===t?void 0:null===(l=t.amount)||void 0===l?void 0:l.toFixed(0))||!1;if(!g)return null;let N=f||1440*((null===(r=w[0])||void 0===r?void 0:null===(n=r.prep)||void 0===n?void 0:n.days)||0)+60*((null===(s=w[0])||void 0===s?void 0:null===(i=s.prep)||void 0===i?void 0:i.hours)||0)+(null===(o=w[0])||void 0===o?void 0:null===(c=o.prep)||void 0===c?void 0:c.minutes),k=v||1440*((null===(d=w[0])||void 0===d?void 0:null===(m=d.cook)||void 0===m?void 0:m.days)||0)+60*((null===(u=w[0])||void 0===u?void 0:null===(h=u.cook)||void 0===h?void 0:h.hours)||0)+(null===(x=w[0])||void 0===x?void 0:null===(p=x.cook)||void 0===p?void 0:p.minutes);return(0,a.jsx)("div",{className:"p-2 lg:px-4",children:(0,a.jsxs)("ul",{className:"columns-2 text-sm font-bold gap-4 lg:gap-10 leading-6",children:[N?(0,a.jsxs)("li",{className:"flex justify-between flex-wrap",children:["PREP TIME"," ",(0,a.jsx)("span",{className:"font-normal text-gray-600",children:"".concat(N," mins")})]}):null,(0,a.jsxs)("li",{className:"flex justify-between flex-wrap",children:["SERVINGS"," ",(0,a.jsx)("span",{className:"font-normal text-gray-600",children:"".concat(j," servings")})]}),k?(0,a.jsxs)("li",{className:"flex justify-between flex-wrap",children:["COOK TIME"," ",(0,a.jsx)("span",{className:"font-normal text-gray-600",children:"".concat(k," mins")})]}):null,y&&(0,a.jsxs)("li",{className:"flex justify-between flex-wrap",children:["CALORIES"," ",(0,a.jsxs)("span",{className:"font-normal text-gray-600",children:[" ","".concat(y," kcal")," "]})]})]})})}},5603:function(e,t,l){l.d(t,{Z:function(){return s}});var a=l(5893),r=l(3447),n=l(3136);function s(e){let{children:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{}),t,(0,a.jsx)(r.Z,{})]})}},3934:function(e,t,l){var a=l(5893),r=l(9751),n=l(9008),s=l.n(n);let i=e=>{let{featuredImage:t,title:l,description:r,url:n,section:s,published_time:i,modified_time:c}=e,d={title:l,description:r,canonical:n,date:i,og:{locale:"en_US",type:"article",title:l||"",description:r||"",url:n,site_name:"Healthy Recipe 101",...(null==t?void 0:t.imagePublicUrl)?{image:{image:"".concat(t.imagePublicUrl,"?w=1080&q=80"),width:1080,height:1620}}:{}},article:{publisher:"https://www.facebook.com/HealthyRecipes101page/",author:"https://www.facebook.com/HealthyRecipes101page/",opinion:"false",section:null==s?void 0:s.join(", "),published_time:i,modified_time:c},twitter:null};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o,{data:d}),(0,a.jsx)(h,{data:e})]})};t.Z=i;let o=e=>{let{data:t}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s(),{children:[(0,a.jsx)("link",{rel:"prec
1onnect",href:"https://ads.adthrive.com/"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://www.googletagmanager.com/"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://www.google-analytics.com/"}),(0,a.jsx)("link",{rel:"preconnect",href:"https://widget.trustpilot.com/"}),(0,a.jsx)("meta",{name:"robots",content:"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1"}),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("title",{children:t.title}),(0,a.jsx)("meta",{name:"pub_date",content:t.article.published_time}),(0,a.jsx)("meta",{name:"description",content:t.description}),(0,a.jsx)("link",{rel:"canonical",href:t.canonical})]}),(0,a.jsx)(c,{data:t.article}),(0,a.jsx)(d,{data:t.og}),t.twitter&&(0,a.jsx)(m,{data:t.twitter}),(0,a.jsx)(u,{})]})},c=e=>{let{data:t}=e;return(0,a.jsx)(a.Fragment,{children:Object.keys(t).map(e=>""!==t[e]&&(0,a.jsx)(s(),{children:(0,a.jsx)("meta",{property:"article:".concat(e),content:t[e]})},"article:".concat(e)))})},d=e=>{let{data:t}=e;return(0,a.jsx)(a.Fragment,{children:Object.keys(t).map(e=>{if("image"!==e)return""!==t[e]&&(0,a.jsx)(s(),{children:(0,a.jsx)("meta",{property:"og:".concat(e),content:t[e]})},"og:".concat(e));{let l=t[e];if(l)return(0,a.jsxs)(s(),{children:[(0,a.jsx)("meta",{property:"og:image",content:l.image}),(0,a.jsx)("meta",{property:"og:image:width",content:l.width.toString()}),(0,a.jsx)("meta",{property:"og:image:height",content:l.height.toString()})]},"og:image")}})})},m=e=>{let{data:t}=e;return(0,a.jsx)(a.Fragment,{children:Object.keys(t).map(e=>""!==t[e]&&(0,a.jsx)(s(),{children:(0,a.jsx)("meta",{name:"twitter:".concat(e),content:t[e]})},"twitter:".concat(e)))})},u=()=>(0,a.jsxs)(s(),{children:[(0,a.jsx)("link",{rel:"icon",type:"image/x-icon",href:"/favicon.ico"}),(0,a.jsx)("link",{rel:"apple-touch-icon",href:"/favicon.ico"})]}),h=e=>{let{data:t}=e,{siteUrl:l,siteName:n,siteHeadline:i,siteDescription:o,siteSocials:c,url:d,name:m,title:u,description:h,featuredImage:x,topic:p,section:g,published_time:f,modified_time:v,wordCount:w,commentCount:j,authors:b,editor:y,recipe:N,rating:k,reviewedAt:C}=t,R=(null==N?void 0:N.type)||"tips",E={"@context":"https://schema.org","@graph":[(0,r.cp)(l,n,c),(0,r.Md)(l,n,i,o),(0,r.Ee)(d,x),(0,r.uQ)(d,u,h,f,v,(null==y?void 0:y.id)||0,C),(0,r.Jb)(d,m,p,R),(0,r.d2)(d,m,f,v,x,g,w,j,b),...b?b.map(e=>(0,r.Fc)(e)):[],(0,r.Fc)(y),(0,r.pp)(d,f,N,k,R)].filter(e=>!!e)};return(0,a.jsx)(s(),{children:(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(E)}})})}},7139:function(e,t,l){l.d(t,{iG:function(){return i},Iv:function(){return o},ep:function(){return c}});var a=l(5893),r=l(7294);let n=r.forwardRef(function({title:e,titleId:t,...l},a){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},l),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"}))});var s=l(402);let i=e=>{let{rating:t,postID:l}=e;return l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d,{rating:(null==t?void 0:t.average)||0}),(0,a.jsxs)("span",{className:(0,s.AK)("text-gray-700 hover:text-gray-900 ml-2 text-base",t?"":"underline underline-offset-2 text-sm"),children:[" ",t?"".concat(t.average," from ").concat(t.count," ").concat(t.count>1?"votes":"vote"):"Be the first to rate & review!"]})]}):null},o=e=>{let{rating:t}=e;return t&&0!=t?(0,a.jsx)("div",{className:"flex flex-row gap-1 items-end",children:(0,a.jsx)("span",{className:"bg-star-outline h-5 w-[100px] bg-[length:20px] bg-repeat-x overflow-hidden","aria-hidden":"true","aria-label":"Rated ".concat(t," out of 5"),children:(0,a.jsx)("span",{className:"block bg-star-solid h-5 bg-[length:20px] bg-repeat-x",style:{width:Math.ceil(20*t)}})})}):null},c=e=>{let{postID:t}=e,[l,i]=(0,r.useState)(0),[o,c]=(0,r.useState)(0);return(0,a.jsxs)("div",{className:"flex flex-row",children:[(0,a.jsx)("label",{htmlFor:"recipe-comment-rating-".concat(t),className:"not-sr-only",children:"Recipe Rating"}),(0,a.jsxs)("fieldset",{className:"flex flex-row items-end",onMouseLeave:()=>i(o),children:[(0,a.jsx)("legend",{className:"sr-only",children:"Recipe Rating"}),(0,a.jsx)("span",{className:"w-2 h-6 cursor-pointer not-sr-only",onMouseEnter:()=>i(0),onClick:()=>c(0)}),(0,a.jsx)("input",{className:"sr-only","aria-label":"Don't rate this recipe",name:"rating",value:"
10",type:"radio",defaultChecked:!0}),[1,2,3,4,5].map(e=>(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("span",{"aria-hidden":"true",className:"not-sr-only",children:(0,a.jsx)(n,{width:24,onMouseEnter:()=>i(e),onClick:()=>c(e),className:(0,s.AK)("cursor-pointer w-6 h-6 transition",e<=l?"text-yellow-500 fill-yellow-400":"text-yellow-400")},"star-".concat(e))}),(0,a.jsx)("input",{className:"sr-only","aria-label":"Rate this recipe ".concat(e," out of 5 stars"),name:"rating",value:e,type:"radio",onClick:()=>c(e),defaultChecked:o===e,...5===e?{id:"recipe-comment-rating-".concat(t)}:{}})]},e))]})]})},d=e=>{let{rating:t}=e;return(0,a.jsx)("span",{className:"bg-star-outline h-6 w-[120px] bg-[length:24px] bg-repeat-x overflow-hidden",children:t?(0,a.jsx)("span",{className:"block bg-star-solid h-6 bg-[length:24px] bg-repeat-x",style:{width:Math.ceil(24*t)}}):null})}}}]);
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.