1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[374],{2774:function(e,i,t){"use strict";var r=t(5893),n=t(7294),s=t(6847),c=t.n(s);i.Z=function(e){var i=(0,n.useState)(""),t=i[0],s=i[1],a=e.name,o=e.label,l=e.onChange,d=e.defaultChecked,u=e.bordered,p=e.checked,g=e.title,f=e.subtitle,m=e.responsive,h=e.blue,v=e.inline,x=e.type,_=e.disabled;(0,n.useEffect)((function(){var e="radio".concat(a).concat(o||g).replace(/\W/g,"");s(e)}),[a,o,g]);return(0,r.jsxs)("span",{children:[(0,r.jsx)("input",{name:a,type:"radio",onChange:function(e){var i=e.target.checked;l&&l(i)},className:[c().radio,h?c()["radio-blue"]:" "].join(" "),defaultChecked:d,checked:p,id:t||void 0,disabled:_}),(0,r.jsxs)("label",{className:[c().wrapper,u&&c().bordered,m&&c().responsive,v&&c().inline,c()[null!==x&&void 0!==x?x:"default"],_&&c().disabled].join(" "),htmlFor:t,children:[(0,r.jsx)("span",{className:c()["radio-icon"]}),(g||f)&&(0,r.jsxs)("div",{className:c().right,children:[g&&(0,r.jsx)("strong",{className:c().title,children:g}),f&&(0,r.jsx)("span",{className:c().subtitle,children:f})]}),o&&(0,r.jsx)("span",{className:c().label,children:o})]})]})}},2374:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSG:function(){return P}});var r=t(7568),n=t(6042),s=t(9396),c=t(253),a=t(9815),o=t(92),l=t(5893),d=t(7294),u=t(1664),p=t.n(u),g=t(1163),f=t(7664),m=t(4355),h=t(6030),v=t(6026),x=t(9791),_=t(5070),j=t(1010),b=t(3419),N=t(5797),w=t(7494),y=t.n(w),k=t(2159),Z=t(2774),C=t(2600),S=t(2524),R=t(8299),B=t(4386),E=t(9168),T=t(7484),M=t.n(T),F="gifts",I=["Sorry","Hi","Thank You","Congrats","Etc"],O=function(e,i){return{"@context":"https://schema.org","@type":"ItemList",name:e.name,description:e.shortDescription,url:"".concat(v.B5,"/product-category/").concat(e.slug),numberOfItems:i.length,itemListElement:i.slice(0,20).map((function(e,i){var t;return{"@type":"ListItem",position:i+1,item:{"@type":"Product","@id":"".concat(v.B5,"/product/").concat(e.slug),name:e.name,url:"".concat(v.B5,"/product/").concat(e.slug),image:null===(t=e.images[0])||void 0===t?void 0:t.src,description:e.description,brand:{"@type":"Brand",name:"Regal Flowers"},offers:{"@type":"Offer",url:"".concat(v.B5,"/product/").concat(e.slug),priceCurrency:"NGN",price:e.price,availability:e.active?"https://schema.org/InStock":"https://schema.org/OutOfStock",priceValidUntil:M()().add(30,"day").format("YYYY-MM-DD")},aggregateRating:{"@type":"AggregateRating",ratingValue:"4.9",reviewCount:"100",bestRating:"5",worstRating:"1"}}}}))}},P=!0;i.default=function(e){var i,t,u,w=e.productCategory,T=void 0===w?"occasion":w,M=e.mode,P=e.productClass,L=e.category,V=["cascading-bridal-bouquets","accessories-boutonnieres-bridesmaids-flowers-amp-corsages","bridal-bouquets"],G=["funeral-and-condolence"],A="all-categories"===M?[]:V.includes(null===L||void 0===L?void 0:L.slug)?v.au:G.includes(null===L||void 0===L?void 0:L.slug)?v.pe:v.ZX,W=(0,g.useRouter)(),z=W.query,H=W.isReady,U=z.selectedOccasion,Y=z.shopBy,D=z.search,X=(0,d.useState)([]),q=X[0],J=X[1],K=(0,d.useState)([]),Q=K[0],$=K[1],ee=(0,d.useState)(1),ie=ee[0],te=ee[1],re=(0,d.useState)(I[0]),ne=re[0],se=re[1],ce=(0,d.useState)(!1),ae=ce[0],oe=ce[1],le=(0,d.useState)(!1),de=le[0],ue=le[1],pe=(0,d.useState)(A),ge=pe[0],fe=pe[1],me=(0,d.useState)("name-asc"),he=me[0],ve=me[1],xe=(0,d.useState)(!1),_e=xe[0],je=xe[1],be=(0,d.useState)(!1),Ne=be[0],we=be[1],ye=(0,d.useState)({matchingNameProducts:[],categoryGroups:[]}),ke=ye[0],Ze=ye[1],Ce=(0,N.Z)((function(){we(!1)})),Se=void 0!==D,Re=(null===L||void 0===L?void 0:L.slug)===F||(null===L||void 0===L||null===(i=L.parentCategories)||void 0===i?void 0:i.some((function(e){return e.slug===F}))),Be=(0,d.useContext)(k.Z),Ee=Be.notify,Te=Be.setRedirectUrl,Me=Be.setBreadcrumb,Fe=Be.searchText,Ie=Be.setSearchText,Oe=(0,j.Z)(),Pe=v.wI.find((function(e){return(null===L||void 0===L?void 0:L.slug)?e.url===L.slug:e.url===T})),Le=(0,d.useRef)(null),Ve=(0,d.useState)(null),Ge=Ve[0],Ae=Ve[1],We=(0,c.Z)((0,_.Z)({node:Ge}),2),ze=We[0],He=We[1],Ue="all-categories"===M||(0,a.Z)(V).concat((0,a.Z)(G),["indoor-plants-and-cactus"]).includes(null===L||void 0===L?void 0:L.slug),Ye=Re||"all-categories"===M||"indoor-plants-and-cactus"===(null===L||void 0===L?void 0:L.slug)||Se,De=(0,d.useRef)(null),Xe=function(){ie<I.length-1?(se(
1I[ie]),te(ie+1)):(te(0),se(I[ie]))},qe=function(e,i,t,r,n){var s=Se?function(e,i){var t=(i||"").trim();if(!t)return e;try{var r=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},n=t.split(/\s+/).filter(Boolean);if(0===n.length)return e;if(n.length>1){var s=n.map(r).join("\\s+"),c=new RegExp("(".concat(s,")"),"ig"),a=new RegExp("^".concat(s,"$"),"i");if(c.test(e))return e.split(c).map((function(e,i){return e?a.test(e)?(0,l.jsx)("mark",{className:y().highlight,children:e},i):(0,l.jsx)("span",{children:e},i):null}))}var o=Array.from(new Set(n.map((function(e){return e.toLowerCase()})))),d=new RegExp("(".concat(o.map(r).join("|"),")"),"ig");return e.split(d).map((function(e,i){return e?o.includes(e.toLowerCase())?(0,l.jsx)("mark",{className:y().highlight,children:e},i):(0,l.jsx)("span",{children:e},i):null}))}catch(u){return console.error("Error highlighting text:",u),e}}(e,D):e;return(0,l.jsxs)("div",{className:y()["category-section"],children:[(0,l.jsx)("h2",{className:y()["category-title"],children:s}),(0,l.jsx)("div",{className:[y().products].join(" "),children:i.map((function(s,c){var a,o,d=r+c===t.length-1,u=c===i.length-1;return(0,l.jsx)(h.Z,{name:s.name.split("\u2013")[0],image:s.images[0].src,price:s.price,buttonText:"variable"===s.type&&(null===(a=s.variants)||void 0===a?void 0:a.length)?"Select Size":"Add to Cart",subTitle:s.subtitle||s.name.split("\u2013")[1],highlightText:"",url:"/product/".concat(s.slug),mode:"".concat("desktop"===Oe?Ye?"four-x-grid":"three-x-grid":"two-x-grid"),ref:d||n&&u?function(e){e&&_e&&!de&&Ae(e)}:null,product:s,cart:!(null===(o=s.variants)||void 0===o?void 0:o.length)},"".concat(e,"-").concat(s.slug,"-").concat(c))}))})]},e)},Je=function(){var e=(0,r.Z)((function(e){var i,t,r,l,d,u,p,g,m;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:return e?oe(!0):ue(!0),i={sortField:he.split("-")[0],sortType:he.split("-")[1]},t={pageNumber:ze,sortLogic:i},Se?t=(0,s.Z)((0,n.Z)({},t),{searchValue:D,searchField:"name"}):(r=String(Y).split(","),l=Y?r.reduce((function(e,i){var t=Object.keys(v.wq).find((function(e){return v.wq[e].includes(i)}));return t&&(e[t]=(0,a.Z)(e[t]||[]).concat([i])),e}),{}):Re||Ue?{}:{budget:"vip"==P?["vip"]:["regular"]},d=(0,n.Z)({category:[("single-category"===M||"vip-flowers"===M)&&(null===L||void 0===L?void 0:L.id)||""]},l),t=(0,s.Z)((0,n.Z)({},t),{filter:d})),[4,(0,f.V8)(t)];case 1:return u=o.sent(),ue(!1),oe(!1),u.error?Ee("error","Unable to fetch product category: ".concat(u.message)):(p=u.data,je(p.length>0),g=e?(0,a.Z)(Q).concat((0,a.Z)(p)):p,$(g),void 0!==D?(m=function(e,i){if(!(null===i||void 0===i?void 0:i.trim())||0===e.length)return{matchingNameProducts:e,categoryGroups:[]};var t=i.trim().toLowerCase(),r=[],n=new Map;e.forEach((function(e){var i,s=e.name.toLowerCase().includes(t),c=null===(i=e.subtitle)||void 0===i?void 0:i.toLowerCase().includes(t);if(s||c)r.push(e);else{var a,o=null===(a=e.categories)||void 0===a?void 0:a.find((function(e){return t.split(" ").some((function(i){return e.name.toLowerCase().includes(i)}))}));if(o){var l=o.name;n.has(l)||n.set(l,[]);var d=n.get(l);d&&d.push(e)}else r.push(e)}}));var s=Array.from(n.entries()).map((function(e){var i=(0,c.Z)(e,2);return{categoryName:i[0],products:i[1].toSorted((function(e,i){var t=String(e.class).localeCompare(String(i.class));return 0!==t?t:String(e.name).localeCompare(String(i.name))}))}}));return{matchingNameProducts:r,categoryGroups:s}}(g,D),Ze(m)):Ze({matchingNameProducts:[],categoryGroups:[]})),[2]}}))}));return function(i){return e.apply(this,arguments)}}(),Ke=function(e){var i=q.includes(e.tag||"")?q.filter((function(i){return i!==e.tag})):(0,a.Z)(q).concat([e.tag]);J(i.filter(Boolean)),ue(!0);var t=(null===L||void 0===L?void 0:L.slug)?"".concat("vip-flowers"!==M?"/product-category":"","/").concat("vip-flowers"===M?"vip":L.slug,"?shopBy=").concat(i.join(",")):"/filters?shopBy=".concat(i.join(","));W.push(t,void 0,{scroll:!1})};return(0,d.useEffect)((function(){H&&Se&&Ie(D)}),[D]),(0,d.useEffect)((function(){if(H)return De.current&&clearTimeout(De.current),De.current=setTimeout((function(){var e=(Fe||"").trim();D&&void 0!==e&&W.push("/filters?search=".concat(encodeURIComponent(e)),void 0,{scroll:!1})}),500),function(){De.current&&clearTimeout(De.current)}}),[Fe,H]),(0,d.useEffect)((function(){if(H){var e=Y?String(Y||"").split(",").filter(
1Boolean):"vip"!==P?["regular"]:[];J((0,a.Z)(e)),Y&&we(!0)}}),[Y]),(0,d.useEffect)((function(){var e=setInterval(Xe,3e3);return function(){return clearInterval(e)}}),[ie]),(0,d.useEffect)((function(){H&&(1===ze?Je():Je(!0))}),[ze]),(0,d.useEffect)((function(){if("vip"===T){var e=ge.filter((function(e){return"budget"!==e.name.toLowerCase()}));fe(e)}}),[U]),(0,d.useEffect)((function(){H&&fe(A)}),[null===L||void 0===L?void 0:L.slug,H]),(0,d.useEffect)((function(){H&&(He(1),Je())}),[null===L||void 0===L?void 0:L.slug,U,he,Y,D,H]),(0,d.useEffect)((function(){H&&(Te(W.asPath),Me(Pe?{label:Pe.label,url:W.asPath}:v.H4))}),[W.asPath]),(0,d.useEffect)((function(){window.scrollTo(0,0)}),[D]),(0,d.useEffect)((function(){if(L){var e=document.getElementById("category-description");e&&(e.innerHTML=null===L||void 0===L?void 0:L.shortDescription.replace("<p> </p>",""))}}),[null===L||void 0===L?void 0:L.slug]),(0,l.jsxs)(l.Fragment,{children:["/filters"===W.pathname&&(0,l.jsx)(S.Z,{canonicalUrl:"".concat(v.B5,"/product-category/flowers-for-love-birthday-anniversary-etc")}),L&&(0,l.jsxs)(S.Z,{canonicalUrl:"".concat(v.B5,"/product-category/").concat(L.slug),description:L.shortDescription,title:L.title,image:null===(t=L.image)||void 0===t?void 0:t.src,imageAlt:null===(u=L.image)||void 0===u?void 0:u.alt,children:[(0,l.jsx)(R.Z,{properties:O(L,Q)}),(0,l.jsx)(B.Z,{items:[{name:"Home",url:"".concat(v.B5)},{name:L.name,url:"".concat(v.B5,"/product-category/").concat(L.slug)}]})]}),(0,l.jsxs)("section",{className:y().filters,ref:Le,children:[!Se&&(0,l.jsx)("div",{className:[y()["hero-bg"],"occasion"===T&&y()["occasion-bg"],"vip"===T&&y()["vip-bg"]].join(" "),children:(0,l.jsxs)("div",{className:"hero-content flex column center center-align ",children:["occasion"===T&&"desktop"===Oe&&(0,l.jsx)("div",{className:[y()["occasion-wrapper"],Re&&y()["gifts-wrapper"]].join(" "),children:(Re?v.cj:v.W2).map((function(e,i){return(0,l.jsx)(p(),{href:e.url,children:(0,l.jsx)("a",{className:[y().occasion,Re&&y()["gift-occasion"],("all"===e.url.split("/").pop()&&!L||(null===L||void 0===L?void 0:L.slug)===e.url.split("/").pop())&&y().active].join(" "),onClick:function(){W.push(e.url,void 0,{scroll:!1})},children:(0,l.jsxs)("strong",{children:[e.title,(0,l.jsx)("br",{}),"Just to Say"===e.title&&(0,l.jsx)("span",{children:ne})," "]})})},i)}))}),"occasion"===T&&"mobile"===Oe&&(0,l.jsxs)("div",{className:y()["occasions-mobile"],children:[(0,l.jsx)("div",{className:"margin-bottom spaced ".concat(y().occasions," ").concat(Re&&y()["gifts-category"]),children:(Re?v.cj:v.W2).slice(0,Re?4:3).map((function(e,i){return(0,l.jsx)(p(),{href:e.url,children:(0,l.jsx)("a",{className:[y().occasion,Re&&y()["gift-occasion"],(null===L||void 0===L?void 0:L.slug)===e.url.split("/")[2]&&y().active].join(" "),onClick:function(){W.push(e.url,void 0,{scroll:!1})},children:(0,l.jsxs)("strong",{children:[e.title,(0,l.jsx)("br",{}),"Just to Say"===e.title&&(0,l.jsx)("span",{children:ne})," "]})})},i)}))}),(0,l.jsx)("div",{className:[y().occasions,Re&&y()["gifts-category"]].join(" "),children:(Re?v.cj:v.W2).slice(Re?4:3).map((function(e,i){return(0,l.jsx)(p(),{href:e.url,children:(0,l.jsx)("a",{className:[y().occasion,Re&&y()["gift-occasion"],(null===L||void 0===L?void 0:L.slug)===e.url.split("/")[2]&&y().active].join(" "),onClick:function(){W.push(e.url,void 0,{scroll:!1})},children:(0,l.jsxs)("strong",{children:[e.title,(0,l.jsx)("br",{}),"Just to Say"===e.title&&(0,l.jsx)("span",{children:ne})," "]})})},i)}))})]}),"vip"===T&&(0,l.jsxs)("div",{className:y()["vip-wrapper"],children:[(0,l.jsx)("strong",{className:y().wow,children:"Wow Them"}),(0,l.jsx)("h2",{className:"primary-color",children:"Go All-Out With VIP Flower Arrangements"}),(0,l.jsx)("p",{className:y().info,children:"All VIP Orders Come With a Complimentary Gift"})]})]})}),(0,l.jsxs)("div",{className:"".concat(y().content," flex ").concat("desktop"===Oe&&"spaced-xl"),children:[!Ye&&(0,l.jsxs)("div",{className:y()["left-side"],children:[!Ue&&(0,l.jsxs)("div",{className:"vertical-margin spaced",children:[(0,l.jsxs)("span",{className:"bold margin-right ".concat(y()["sub-title"]),children:["Filters (",q.length,")"]}),(0,l.jsx)("button",{className:"primary-color",onClick:function(){J([]);var e="/filters"===W.pathname?"/filters?shopBy=regular":"".concat("vip"!==P?"/product-category":"","/").concat(null===L||void 0===L?void 0:L.slug);W.push(e,void 0,{scroll:!1})},children:"Clear Filters"})]}),(0,l.jsx)("div",{className:y()["filters-sidebar"],children:ge.map((function(e,i){return(0,l.jsxs)("div",{className:"vertical-margin spaced",children:["Budget"===e.name&&"vip"===P?"":(0,l.jsx)("p",{className:"bold vertical-margin spaced",children:e.name}
1),(0,l.jsx)("div",{children:(e.viewMore?e.options:e.options.slice(0,e.limit)).map((function(i,t){return(0,l.jsx)("div",{className:"margin-bottom",children:"Budget"===e.name?"vip"!==P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"margin-bottom",children:(0,l.jsx)(Z.Z,{label:"Regular",onChange:function(){var e=(0,a.Z)(q.filter((function(e){return"vip"!==e}))).concat(["regular"]);J(e);var i=(null===L||void 0===L?void 0:L.slug)?"".concat("vip-flowers"!==M?"/product-category":"","/").concat(L.slug,"?shopBy=").concat(e.join(",")):"/filters?shopBy=".concat(e.join(","));W.push(i,void 0,{scroll:!1})},checked:q.includes("regular")})}),(0,l.jsx)(Z.Z,{label:"VIP",onChange:function(){var e=(0,a.Z)(q.filter((function(e){return"regular"!==e}))).concat(["vip"]);J(e);var i="/filters?shopBy=".concat(e.join(","));W.push(i,void 0,{scroll:!1})},checked:q.includes("vip")})]}):"":i.link?(0,l.jsx)(p(),{href:i.link,children:(0,l.jsx)("a",{className:[y()["filter-link"],i.link==="/product-category/".concat(null===L||void 0===L?void 0:L.slug)?y().active:""].join(" "),children:i.name})}):(0,l.jsx)(m.Z,{onChange:function(){return Ke(i)},text:i.name,checked:q.includes(i.tag||"")})},t)}))}),e.limit<e.options.length&&(0,l.jsx)("button",{className:y()["btn-view"],onClick:function(){fe((function(e){return e.map((function(e,t){return i===t?(0,s.Z)((0,n.Z)({},e),{viewMore:!e.viewMore}):e}))}))},children:e.viewMore?"View Less":"View More"})]},i)}))})]}),(0,l.jsxs)("div",{className:y()["product-wrapper"],children:[(null===L||void 0===L?void 0:L.info)&&"mobile"===Oe&&(0,l.jsxs)("div",{className:"flex spaced center-align text-medium ".concat(y().info),children:[(0,l.jsx)(E.sz,{fill:"#9b0000"}),(0,l.jsx)("span",{children:L.info})]}),(0,l.jsxs)("div",{className:"flex between w-100 center-align",children:[!Ye&&(0,l.jsxs)("div",{className:y()["filter-mobile"],ref:Ce,children:[(0,l.jsx)("span",{children:"Filters: "}),(0,l.jsxs)("button",{className:y().btn,onClick:function(){return we(!Ne)},children:[(0,l.jsxs)("h3",{className:"margin-right",children:["Filter",!Ue&&"(".concat(q.length,")")]}),(0,l.jsx)("img",{alt:"filter",className:"generic-icon medium",src:"/icons/filter.svg"})]}),(0,l.jsx)("div",{className:[y()["filters-dropdown"],Ne&&y().active].join(" "),children:ge.map((function(e,i){return(0,l.jsxs)("div",{className:"vertical-margin spaced",children:[(0,l.jsx)("p",{className:"bold vertical-margin spaced",children:e.name}),(0,l.jsx)("div",{children:(e.viewMore?e.options:e.options.slice(0,e.limit)).map((function(i,t){return(0,l.jsx)("div",{className:"margin-bottom",children:"Budget"===e.name?"vip"!==P?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"margin-bottom",children:(0,l.jsx)(Z.Z,{label:"Regular",onChange:function(){var e=(0,a.Z)(q.filter((function(e){return"vip"!==e}))).concat(["regular"]);J(e);var i=(null===L||void 0===L?void 0:L.slug)?"".concat("vip-flowers"!==M?"/product-category":"","/").concat(L.slug,"?shopBy=").concat(e.join(",")):"/filters?shopBy=".concat(e.join(","));W.push(i,void 0,{scroll:!1})},checked:q.includes("regular")})}),(0,l.jsx)(Z.Z,{label:"VIP",onChange:function(){var e=(0,a.Z)(q.filter((function(e){return"regular"!==e}))).concat(["vip"]);J(e);var i="/filters?shopBy=".concat(e.join(","));W.push(i,void 0,{scroll:!1})},checked:q.includes("vip")})]}):"":i.link?(0,l.jsx)(p(),{href:i.link,children:(0,l.jsx)("a",{className:[y()["filter-link"],i.link==="/product-category/".concat(null===L||void 0===L?void 0:L.slug)?y().active:""].join(" "),children:i.name})}):(0,l.jsx)(m.Z,{onChange:function(){return Ke(i)},text:i.name,checked:q.includes(i.tag||"")})},t)}))}),e.limit<e.options.length&&(0,l.jsx)("button",{className:y()["btn-view"],onClick:function(){fe((function(e){return e.map((function(e,t){return i===t?(0,s.Z)((0,n.Z)({},e),{viewMore:!e.viewMore}):e}))}))},children:e.viewMore?"View Less":"View More"})]},i)}))})]}),(0,l.jsxs)("div",{className:"flex between center-align spaced-xl ".concat(Ye||"desktop"===Oe?"w-100":""),children:[(0,l.jsxs)("div",{className:"input-group ".concat(y().sort),children:[(0,l.jsx)("span",{className:"question",children:"Sort: "}),(0,l.jsx)(x.Z,{options:v.Fo,value:he,onSelect:function(e){return ve(e||"name-asc")},placeholder:"Default",className:y().sort})]}),(null===L||void 0===L?void 0:L.info)&&"desktop"===Oe&&(0,l.jsxs)("div",{className:"flex spaced center-align text-medium ".concat(y().info),children:[(0,l.jsx)(E.sz,{fill:"#9b0000"}),(0,l.jsx)("span",{children:L.info})]}),Se&&(0,l.jsxs)("form",{className:"input-group ".concat(y()["search-wrapper"]),children:[(0,l.jsx)("span",{className:"question normal-text",children:"Search:"}),(0,l.jsx)(C.Z,{name:"name",placeholder:"Search for products",value:Fe,onCh
1ange:function(e){Ie(e)},dimmed:!0,responsive:!0})]})]})]}),(0,l.jsxs)("div",{className:y()["search-results"],children:[(D||!Se)&&(0,l.jsx)("h1",{className:"".concat(y().title," bold vertical-margin spaced"),children:Se?'Search results for "'.concat(Fe,'"'):((null===L||void 0===L?void 0:L.topHeading)?L.topHeading:v.kd&&v.kd[(null===L||void 0===L?void 0:L.slug)||""])||"All Occasions"}),0===Q.length&&!de&&(0,l.jsx)("div",{className:y()["no-results"],children:(0,l.jsxs)("em",{children:['No results found for "',Fe,'"']})}),Se?(0,l.jsxs)("div",{className:y()["products-container"],children:[de&&(0,l.jsx)("div",{className:y()["products-spinner"],children:(0,l.jsx)("img",{src:"/images/spinner.svg",alt:"spinner"})}),ke.matchingNameProducts.length>0&&!de&&(0,l.jsx)("div",{className:[y().products].join(" "),children:ke.matchingNameProducts.map((function(e,i,t){var r,n;return(0,l.jsx)(h.Z,{name:e.name.split("\u2013")[0],image:e.images[0].src,price:e.price,buttonText:"variable"===e.type&&(null===(r=e.variants)||void 0===r?void 0:r.length)?"Select Size":"Add to Cart",subTitle:e.subtitle||e.name.split("\u2013")[1],highlightText:(Fe||"").trim(),url:"/product/".concat(e.slug),mode:"".concat("desktop"===Oe?Ye?"four-x-grid":"three-x-grid":"two-x-grid"),ref:i===t.length-1&&0===ke.categoryGroups.length?function(e){e&&_e&&!de&&Ae(e)}:null,product:e,cart:!(null===(n=e.variants)||void 0===n?void 0:n.length)},"name-match-".concat(i))}))}),!de&&ke.categoryGroups.map((function(e,i){var t=ke.matchingNameProducts.length+ke.categoryGroups.slice(0,i).reduce((function(e,i){return e+i.products.length}),0),r=i===ke.categoryGroups.length-1;return qe(e.categoryName,e.products,Q,t,r)}))]}):(0,l.jsxs)("div",{className:y()["products-container"],children:[de&&(0,l.jsx)("div",{className:y()["products-spinner"],children:(0,l.jsx)("img",{src:"/images/spinner.svg",alt:"spinner"})}),(0,l.jsx)("div",{className:[y().products].join(" "),children:null===Q||void 0===Q?void 0:Q.map((function(e,i,t){var r,n;return(0,l.jsx)(h.Z,{name:e.name.split("\u2013")[0],image:e.images[0].src,price:e.price,buttonText:"variable"===e.type&&(null===(r=e.variants)||void 0===r?void 0:r.length)?"Select Size":"Add to Cart",subTitle:e.subtitle||e.name.split("\u2013")[1],highlightText:(Fe||"").trim(),url:"/product/".concat(e.slug),mode:"".concat("desktop"===Oe?Ye?"four-x-grid":"three-x-grid":"two-x-grid"),ref:i===t.length-1?function(e){e&&_e&&!de&&Ae(e)}:null,product:e,cart:!(null===(n=e.variants)||void 0===n?void 0:n.length)},i)}))})]})]}),ae&&_e&&(0,l.jsx)("img",{src:"/images/spinner.svg",alt:"spinner",className:"generic-icon xl spinner"})]})]}),(0,l.jsxs)("div",{className:y().gifts,children:[!Re&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex between margin-bottom spaced",children:[(0,l.jsx)("span",{className:y().title,children:"Gifts to Include with Flowers"}),"desktop"===Oe&&(0,l.jsxs)(b.Z,{url:"/product-category/gifts",className:"flex spaced center center-align",type:"transparent",children:[(0,l.jsx)("h3",{className:"red margin-right",children:"See All"}),(0,l.jsx)("img",{alt:"arrow",className:"generic-icon xsmall",src:"/icons/arrow-right.svg"})]})]}),(0,l.jsx)("div",{className:"flex between vertical-margin spaced wrap",children:v.IJ.map((function(e,i){return(0,l.jsx)(h.Z,{name:e.name,image:e.image,subTitle:e.description,buttonText:"See More",url:e.slug},i)}))}),"mobile"===Oe&&(0,l.jsx)(b.Z,{url:"/product-category/gifts",type:"accent",minWidth:!0,className:y()["see-all"],children:(0,l.jsx)("h3",{className:"red margin-right",children:"See All"})})," "]}),(0,l.jsxs)("div",{className:y().stories,children:[(0,l.jsx)("h1",{className:"text-center ".concat(y().title),children:(null===L||void 0===L?void 0:L.bottomHeading)||"Flower Delivery for all Occasions"}),(0,l.jsx)("p",{id:"category-description",className:"description category normal-text"})]})]})]})]})}},6847:function(e){e.exports={radio:"Radio_radio__tMrOb",wrapper:"Radio_wrapper__Ld54T","radio-icon":"Radio_radio-icon__fMiCf",disabled:"Radio_disabled__4MKoY",inline:"Radio_inline__Ey2S1",responsive:"Radio_responsive__xY89C",bordered:"Radio_bordered__PETUI",right:"Radio_right___5rwF",subtitle:"Radio_subt
1itle__O3zDo",label:"Radio_label__ePj5e"}},7494:function(e){e.exports={filters:"filters_filters__EIu_f","hero-bg":"filters_hero-bg__Ijtky","vip-bg":"filters_vip-bg__fx_xw",info:"filters_info__hwimH",wow:"filters_wow__9eMQV","occasion-bg":"filters_occasion-bg__NQFXj","occasion-wrapper":"filters_occasion-wrapper__RphMi","gifts-wrapper":"filters_gifts-wrapper__1n8xf",occasion:"filters_occasion__nDi0r",active:"filters_active__td7HU","gift-occasion":"filters_gift-occasion__COTow","occasions-mobile":"filters_occasions-mobile__47akO",occasions:"filters_occasions__S279y","gifts-category":"filters_gifts-category__nvsMO",title:"filters_title__V4yaX","sub-title":"filters_sub-title__YxwN_",content:"filters_content__oUojR","left-side":"filters_left-side__f8rom","filters-sidebar":"filters_filters-sidebar__uysFX","btn-view":"filters_btn-view__YWWqg","filter-link":"filters_filter-link__iMgOZ",date:"filters_date__5ZgUZ","product-wrapper":"filters_product-wrapper__ePOIG","date-wrapper":"filters_date-wrapper__V6fPk",sort:"filters_sort__uOKdm",products:"filters_products__tnS8h",arrow:"filters_arrow__idIsX",gifts:"filters_gifts__ZtxYg",stories:"filters_stories__4eZkE","see-all":"filters_see-all__LQfXu",spinner:"filters_spinner__L89lX","products-container":"filters_products-container__FheRV","products-spinner":"filters_products-spinner__uS91N","filter-mobile":"filters_filter-mobile__WoWjh",btn:"filters_btn__O7H1C","filters-dropdown":"filters_filters-dropdown___CRKk","about-section":"filters_about-section__5jNfM",red:"filters_red__4JulT","search-wrapper":"filters_search-wrapper__zzapa","search-results":"filters_search-results__zXtMb","no-results":"filters_no-results__itxp9","category-section":"filters_category-section__XbwEi","category-title":"filters_category-title__FzL69",highlight:"filters_highlight__lcRhh"}}}]);
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.