PageSourceSearch

https://regalflowers.com.ng/_next/static/chunks/pages/blog/[blogSlug]-fa484fcb0897749f.js

js regalflowers.com.ng collected 2026-09-29 15:35:52 UTC 16,239 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[504],{5494:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[blogSlug]",function(){return a(1269)}])},1352:function(e,t,a){"use strict";var l=a(5893),s=a(1664),r=a.n(s),o=(a(7294),a(4086)),n=a.n(o),i=a(9551);t.Z=function(e){var t=e.title,a=e.image,s=e.excerpt,o=e.readDuration,c=e.url,d=e.category,g=e.showAsThumbnail;return(0,l.jsx)(r(),{href:c||"#",children:(0,l.jsxs)("a",{className:[n()["blog-card"],g&&n().thumbnail].join(" "),children:[(0,l.jsx)("div",{className:n()["img-wrapper"],children:(0,l.jsx)("img",{className:n()["flower-image"],src:a,alt:"featured flower"})}),(0,l.jsxs)("div",{className:n().detail,children:[(0,l.jsxs)("div",{className:"flex between center-align",children:[(null===d||void 0===d?void 0:d[0])&&(0,l.jsx)("span",{className:n()["blog-category"],style:{backgroundColor:d[0].color?(0,i.a7)(d[0].color,.1):"#f0fdf4",color:d[0].color||"#16a34a"},children:d[0].name}),(0,l.jsx)("span",{className:n().duration,children:o})]}),(0,l.jsx)("h3",{className:n().title,children:t}),(0,l.jsxs)("span",{className:[n().excerpt,"normal-text"].join(" "),children:[s,"..."]}),(0,l.jsxs)("span",{className:n().continue,children:[(0,l.jsx)("strong",{className:"red margin-right",children:"Continue Reading"}),(0,l.jsx)("img",{alt:"arrow",className:"generic-icon xsmall",src:"/icons/arrow-right.svg"})]})]})]})})}},578:function(e,t,a){"use strict";var l=a(5893),s=(a(7294),a(9201)),r=a.n(s),o=a(1664),n=a.n(o);t.Z=function(e){var t=e.items,a=e.fill,s=void 0===a?"gray":a;return(0,l.jsx)("ul",{className:r().breadcrumb,children:t.map((function(e,a){return(0,l.jsxs)("li",{className:[r()["breadcrumb-item"]].join(" "),children:[e.link?(0,l.jsx)(n(),{href:e.link,children:(0,l.jsx)("a",{className:r().label,children:e.label})}):(0,l.jsx)("span",{className:r().label,children:e.label}),a!==t.length-1&&(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:[r().icon,"generic-icon medium"].join(" "),children:(0,l.jsx)("path",{d:"M9.7023 18.0104L15.7127 12L9.7023 5.98959L8.28809 7.40381L12.8843 12L8.28809 16.5962L9.7023 18.0104Z",fill:"".concat(s)})})]},a)}))})}},1269:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return R},default:function(){return T}});var l=a(7568),s=a(92),r=a(5893),o=a(7294),n=a(5706),i=a.n(n),c=a(1270),d=a.n(c),g=a(3419),u=a(2600),m=a(9010),h=a(2159),b=a(2177),p=a(6026),_=a(6030),x=a(1010),j="twitter",f="whatsapp",v="facebook",N=function(e,t,a){var l=encodeURIComponent("https://www.floralhub.com.ng/".concat(a,"/").concat(t));if(e===j){var s="https://twitter.com/intent/tweet?url=".concat(l);window.open(s,"_blank")}else if(e===v){var r="https://www.facebook.com/sharer/sharer.php?u=".concat(l);window.open(r,"_blank")}else{var o="whatsapp://send?text=".concat(l);window.open(o,"_blank")}},w=a(1664),y=a.n(w),C=a(578),B=a(866),S=a(2524),k=a(8299),Z=a(4386),I=a(1352),A=function(e){return{"@context":"https://schema.org","@type":"Article",publisher:{"@type":"Organization","@id":"https://regalflowers.com.ng/#organization",name:"Regal Flowers",logo:{"@type":"ImageObject",url:"https://regalflowers.com.ng/icons/favicon.png"}},author:{"@type":"Organization",name:"Regal Flowers"},headline:e.title,description:e.excerpt,image:e.featuredImage,datePublished:e.createdAt,dateModified:e.lastUpdatedAt||e.createdAt,url:"".concat(p.B5,"/blog/").concat(e.slug),mainEntityOfPage:{"@type":"WebPage","@id":"".concat(p.B5,"/blog/").concat(e.slug)},articleSection:e.category}},R=!0,T=function(e){var t,a,n,c,w=e.featuredFlowers,R=e.blog,T=e.trendingBlogs,L=e.recentBlogs,E=e.blogCategories,P=(0,o.useState)(""),U=P[0],D=P[1],M=(0,o.useState)(!1),F=M[0],O=M[1],z=(0,o.useState)({topSection:"",bottomSection:""}),H=z[0],W=z[1],Y=(0,o.useState)([]),q=Y[0],G=Y[1],Q=(0,o.useContext)(h.Z).notify,J=function(){var e=(0,l.Z)((function(e){var t,a,l;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:return e.preventDefault(),O(!0),[4,(0,m.xw)(U)];case 1:return t=s.sent(),a=t.error,l=t.message,O(!1),a?(Q("error","Unable to subscribe email: ".concat(l)),[2]):(Q("success","Successfully subscribed to newsletter"),[2])}}))}));return function(t){return e.apply(this,arguments)}}(),K=(0,x.Z)();return(0,o.useEffect)((function(){var e;var t=((null===(e=(new DOMParser).parseFromString(R.body,"text/html").childNodes[0])||void 0===e?void 0:e.childNodes[1])||{}).childNodes;
1t||W({topSection:R.body,bottomSection:""});var a,l=/\-+\s*related\s*posts\s*\-+/gi;-1===(a=Array.from(t).findIndex((function(e){var t=e.textContent||"";return l.test(t)})))&&W({topSection:R.body,bottomSection:""});var s=/\-+\s*read\s*more\s*\-+/gi,r=Array.from(t).slice(0,a>0?a-1:void 0).map((function(e){return"outerHTML"in e?e.outerHTML:""})).join("").replace(s,"").replace(l,""),o=Array.from(t).slice(a>0?a-1:t.length).map((function(e){return"outerHTML"in e?e.outerHTML:""})).join("").replace(s,"").replace(l,"");W({topSection:r,bottomSection:o})}),[R.body,K]),(0,o.useEffect)((function(){G((0,B.pI)(T||[],3))}),[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(S.Z,{title:"Blog - ".concat(R.title," | Regal Flowers"),description:R.excerpt,image:R.featuredImage,imageAlt:R.title,canonicalUrl:"".concat(p.B5,"/blog/").concat(R.slug),children:[(0,r.jsx)(k.Z,{properties:A(R)}),(0,r.jsx)(Z.Z,{items:[{name:"Home",url:"".concat(p.B5)},{name:"Blog",url:"".concat(p.B5,"/blog")},{name:R.title,url:"".concat(p.B5,"/blog/").concat(R.slug)}]})]}),(0,r.jsxs)("section",{className:i()["blog-post"],suppressHydrationWarning:!0,children:[(0,r.jsx)(C.Z,{items:[{link:"/blog",label:"Blog"},{link:"#",label:R.title}],fill:"#282828"}),(0,r.jsxs)("div",{className:i()["blog-body"],children:[(0,r.jsxs)("div",{className:i().content,children:[(0,r.jsxs)("div",{className:i()["hero-header"],children:[(0,r.jsx)("p",{className:i().title,children:R.title}),(0,r.jsxs)("div",{className:i()["header-details"],children:[(0,r.jsxs)("div",{className:"".concat(i().info," text-medium"),children:[(null===R||void 0===R?void 0:R.category[0])&&(0,r.jsx)(y(),{href:"/blog-category/".concat(R.category[0].slug),children:(0,r.jsx)("a",{className:i().tag,style:{color:R.category[0].color,backgroundColor:"".concat(R.category[0].color,"1A")},children:R.category[0].name})}),(0,r.jsxs)("span",{className:i()["read-duration"],children:[R.readMinutes," minutes read"]})]}),(0,r.jsxs)("div",{className:"".concat(i()["quick-action"]," text-medium"),children:[(0,r.jsx)(g.Z,{onClick:function(){return N(j,R.slug,"blog")},className:i()["top-control"],type:"plain",children:(0,r.jsx)("img",{src:"/icons/twitter-blog.svg",alt:"",className:i()["top-control-img"]})}),(0,r.jsx)(g.Z,{onClick:function(){return N(v,R.slug,"blog")},className:i()["top-control"],type:"plain",children:(0,r.jsx)("img",{src:"/icons/facebook-blog.svg",alt:"",className:i()["top-control-img"]})}),(0,r.jsx)(g.Z,{onClick:function(){return N(f,R.slug,"blog")},className:i()["top-control"],type:"plain",children:(0,r.jsx)("img",{src:"/icons/whatsapp.svg",alt:"",className:i()["top-control-img"]})}),(0,r.jsxs)(g.Z,{type:"plain",onClick:function(){var e=window.location.href;navigator.clipboard.writeText(e),Q("success","Link copied!")},className:i()["top-control"],children:[(0,r.jsx)("img",{src:"/icons/copy.svg",alt:"",className:i()["top-control-img"]}),(0,r.jsx)("span",{className:"margin-left",children:"Copy link"})]})]})]}),(0,r.jsx)("div",{className:i()["hero-img"],children:(0,r.jsx)("img",{src:R.featuredImage,alt:"featured-image"})}),R.publicationDate&&R.showPublicationDate&&(0,r.jsx)("div",{className:"larger grayed margin-bottom spaced",children:new Date(R.publicationDate).toLocaleDateString("en",{month:"long",day:"numeric",year:"numeric"})})]}),(0,r.jsxs)("article",{className:"text-small ".concat(d().article),children:[(0,r.jsx)("section",{className:d()["article-body"],dangerouslySetInnerHTML:{__html:H.topSection}}),(0,r.jsxs)("aside",{className:i()["related-section"],children:[(0,r.jsxs)("div",{className:i()["related-section-title"],children:[(0,r.jsx)("span",{children:"Related Posts"}),(0,r.jsx)("hr",{})]}),(0,r.jsx)("div",{className:i()["related-posts"],children:null===(t=R.relatedBlogs)||void 0===t?void 0:t.slice(0,2).map((function(e,t){return(0,r.jsx)(b.default,{imageUrl:e.featuredImage,tag:e.category[0].name,title:e.title,url:e.slug,showContinueReading:!0},t)}))})]}),(0,r.jsx)("section",{className:d()["article-body"],dangerouslySetInnerHTML:{__html:H.bottomSection}}),H.bottomSection&&(0,r.jsxs)("aside",{className:i()["related-section"],children:[(0,r.jsxs)("div",{className:i()["related-section-title"],children:[(0,r.jsx)("span",{children:"Related Posts"}),(0,r.jsx)("hr",{})]}),(0,r.jsx)("div",{className:i()["related-posts"],children:null===(a=R.relatedBlogs)||void 0===a?void 0:a.slice(0,2).map((function(e,t){return(0,r.jsx)(b.default,{imageUrl:e.featuredImage,tag:e.category[0].name,title:e.title,url:e.slug,showContinueReading:!0},t)}
1))})]}),(null===(n=R.alsoReadBlogs)||void 0===n?void 0:n.length)&&(0,r.jsxs)("aside",{className:i()["related-section"],children:[(0,r.jsxs)("div",{className:i()["related-section-title"],children:[(0,r.jsx)("span",{children:"Others also read"}),(0,r.jsx)("hr",{})]}),(0,r.jsx)("div",{className:i()["related-posts"],children:null===(c=R.alsoReadBlogs)||void 0===c?void 0:c.map((function(e,t){return"desktop"===K?(0,r.jsx)(b.default,{imageUrl:e.featuredImage,tag:e.category[0].name,title:e.title,url:e.slug,showContinueReading:!0},t):(0,r.jsx)(I.Z,{title:e.title,readDuration:"".concat(e.readMinutes," minutes"),category:e.category,image:e.featuredImage,url:"/blog/".concat(e.slug),excerpt:e.excerpt,showAsThumbnail:t>0},e.title)}))})]})]}),(0,r.jsx)("div",{className:i()["subscribe-section"],children:(0,r.jsxs)("div",{className:"flex column between",children:[(0,r.jsxs)("div",{className:"flex column spaced",children:[(0,r.jsx)("h2",{className:"featured-title unspaced bold",children:"Get Amazing Updates Right Into Your Inbox."}),(0,r.jsx)("div",{className:"grayed",children:"Stay in the loop with everything you need to know."})]}),(0,r.jsxs)("div",{className:i()["subscribe-form-wrapper"],children:[(0,r.jsxs)("form",{className:"flex spaced responsive full-width",onSubmit:J,children:[(0,r.jsx)(u.Z,{value:U,onChange:D,className:"full-width",placeholder:"Enter email address",required:!0,type:"email",name:"email"}),(0,r.jsx)(g.Z,{buttonType:"submit",loading:F,children:"SUBSCRIBE"})]}),(0,r.jsx)("span",{className:"grayed semibold",children:"We care about your data in our privacy policy"})]})]})})]}),(0,r.jsxs)("div",{className:i().side,children:[(0,r.jsxs)("div",{className:i().trending,children:[(0,r.jsx)("hr",{}),(0,r.jsx)("h3",{className:i()["trending-header"],children:"Trending Posts"}),(0,r.jsx)("hr",{})]}),q.map((function(e,t){var a;return(0,r.jsx)(b.default,{imageUrl:e.featuredImage,tag:e.category[0].name,color:null===(a=e.category[0])||void 0===a?void 0:a.color,title:e.title,url:e.slug},t)})),(0,r.jsxs)("div",{className:i().trending,children:[(0,r.jsx)("hr",{}),(0,r.jsx)("h3",{className:i()["trending-header"],children:"Blog Categories"}),(0,r.jsx)("hr",{})]}),E.map((function(e){return(0,r.jsx)(y(),{href:"/blog-category/".concat(e.slug),children:(0,r.jsxs)("a",{className:i().category,children:[(0,r.jsx)("span",{className:[i()["list-bullet"]].join(" "),style:{backgroundColor:e.color||"#10b981"}}),(0,r.jsx)("p",{className:"text-regular capitalize",children:e.name})]})},e.id)})),(0,r.jsxs)("div",{className:i().trending,children:[(0,r.jsx)("hr",{}),(0,r.jsx)("h3",{className:i()["trending-header"],children:"Recent Posts"}),(0,r.jsx)("hr",{})]}),L.map((function(e,t){var a,l;return(0,r.jsx)(b.default,{imageUrl:null===e||void 0===e?void 0:e.featuredImage,tag:null===(a=e.category[0])||void 0===a?void 0:a.name,title:e.title,url:e.slug,color:null===(l=e.category[0])||void 0===l?void 0:l.color},t)})),"mobile"===K&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:i().trending,children:[(0,r.jsx)("hr",{}),(0,r.jsx)("h3",{className:i()["trending-header"],children:0===w.length?"":"Featured Flowers"}),(0,r.jsx)("hr",{})]}),(0,r.jsx)("div",{className:i()["popular-sections"],children:(0,r.jsx)("div",{className:[i().section,i().wrap].join(" "),children:null===w||void 0===w?void 0:w.map((function(e){var t,a;return(0,r.jsx)(_.Z,{image:(null===(t=e.images[0])||void 0===t?void 0:t.src)||"",name:e.name,subTitle:e.subtitle||e.name.split("\u2013")[1],price:e.price,url:"/product/".concat(e.slug),buttonText:"Add to Cart",cart:!(null===(a=e.variants)||void 0===a?void 0:a.length),product:e,mode:"two-x-grid"},e.id)}))})})]})]})]}),"desktop"===K&&(0,r.jsxs)("div",{className:i()["popular-sections"],children:[(0,r.jsx)("h2",{className:"".concat(i().title," vertical-margin spaced normal"),children:0===w.length?"":"FEATURED FLOWERS"}),(0,r.jsx)("div",{className:[i().section,i().wrap].join(" "),children:null===w||void 0===w?void 0:w.map((function(e){var t,a;return(0,r.jsx)(_.Z,{image:(null===(t=e.images[0])||void 0===t?void 0:t.src)||"",name:e.name,subTitle:e.subtitle||e.name.split("\u2013")[1],price:e.price,url:"/product/".concat(e.slug),buttonText:"Add to Cart",cart:!(null===(a=e.variants)||void 0===a?void 0:a.length),product:e},e.id)}))})]})]})]})}},2177:function(e,t,a){"use strict";a.r(t);var l=a(5893),s=a(1664),r=a.n(s),o=a(5706),n=a.n(o),i=a(9551);t.default=function(e){var t=e.imageUrl,a=e.tag,s=e.title,o=e.url,c=e.color,d=e.showContinueReading;return(0,l.jsx)(r(),{href:"".concat(o),children:(0,l.jsxs)("a",{className:n()["blog-thumbnail"],children:[(0,l.jsx)("div",{children:(0,l.jsx)("img",{src:t,alt:"",className:"".concat(n()["trend-img"]," margin-right")})}),(0,l.jsxs)("div",{className:[n()["blog-thumbnail-body"],d&&n()["space-between"]].join(" "),children:[(0,l.jsx)("p",{className:n().tag,style:{backgroundColor:c?(0,i.a7)(c,.1):"#f0fdf4",color:c||"#16a34a"},children:a}),(0,l.jsx)("p",{className:n()["blog-thumbnail-title"],children:s}),d&&(0,l.jsx)("span",{className:"text-small primary-color semibold",children:"Continue Reading"})]})]})})}},4086:function(e){e.exports={"blog-card":"BlogCard_blog-card__DZSoc",thumbnail:"BlogCard_thumbnail__xB11U","img-wrapper":"BlogCard_img-wrapper__t_3sr","flower-image":"BlogCard_flower-image__AOo3Y",detail:"BlogCard_detail__O_jgj",duration:"BlogCard_duration__6lPn3",continue:"BlogCard_continue__IlVBK",title:"BlogCard_t
1itle__dwmwm",excerpt:"BlogCard_excerpt__zCex0",subtitle:"BlogCard_subtitle__CpjEe","blog-category":"BlogCard_blog-category__XL1VG"}},9201:function(e){e.exports={breadcrumb:"Breadcrumb_breadcrumb__Zzb9z",label:"Breadcrumb_label__nhyD7","breadcrumb-item":"Breadcrumb_breadcrumb-item__xUp45",icon:"Breadcrumb_icon__v_3Yr"}},1270:function(e){e.exports={article:"article_article__uxihJ","article-body":"article_article-body__nS7S6"}},5706:function(e){e.exports={"blog-post":"blog_blog-post__tFi7C","hero-header":"blog_hero-header__yrZPI","hero-img":"blog_hero-img___2gRH",title:"blog_title__MNWQJ","header-details":"blog_header-details__IZNZS",info:"blog_info__SwdFO","quick-action":"blog_quick-action__M5rar","top-control":"blog_top-control__cNmGj","top-control-img":"blog_top-control-img__CP5oA","blog-body":"blog_blog-body__QYpTe",content:"blog_content__1iPgD",side:"blog_side__Ez0fQ",trending:"blog_trending__QEib5","trending-header":"blog_trending-header__QJud8",category:"blog_category__qDJed","list-bullet":"blog_list-bullet__KBVhM",red:"blog_red__tWAzN",green:"blog_green__qYjWZ","subscribe-section":"blog_subscribe-section__LRTd8","subscribe-form-wrapper":"blog_subscribe-form-wrapper__0x5PR","popular-sections":"blog_popular-sections__hlI3E",section:"blog_section__QuY8z",wrap:"blog_wrap__KDbDd",tag:"blog_tag__rPlrG",full:"blog_full__AH_Km","blog-thumbnail":"blog_blog-thumbnail__US1S4","blog-thumbnail-body":"blog_blog-thumbnail-body__syaAH","space-between":"blog_space-between__mOkr4","blog-thumbnail-title":"blog_blog-thumbnail-title__XC1Bi","trend-img":"blog_trend-img__22517",small:"blog_small__bIb0L","related-section":"blog_related-section__UGZMa","related-section-title":"blog_related-section-title__wlvV1","related-posts":"blog_related-posts__0YAAd"}}},function(e){e.O(0,[774,888,179],(function(){return t=5494,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.