1(this["webpackJsonpfloweraura-react"]=this["webpackJsonpfloweraura-react"]||[]).push([[28],{1130:function(e,t,n){},1131:function(e,t,n){},773:function(e,t,n){"use strict";n.r(t);var o=n(43),a=n(21),c=n(64),i=n(37),s=n(32),r=n(258),l=n(108),d=n(3),u=(n(1130),n(14)),m=n(798),p=n(797),b=n(5),j=n(805),h=n(840),f=n(0),O=function(e){var t=e.footerContent,n=t.heading,o=t.content;return Object(f.jsxs)("div",{className:"coupon-content",children:[Object(f.jsx)("h1",{children:n}),Object(f.jsx)("div",{className:"coupon-innter-content",dangerouslySetInnerHTML:{__html:o}})]})},v=n(2),w=(n(1131),function(e){var t=e.coupon,n=e.showCopied,o=e.setShowCopied,a=e.openTermCondition;return Object(f.jsx)("div",{className:"new-coupon-card-container",children:Object(f.jsxs)("div",{className:"new-coupon-card-body",children:[Object(f.jsx)("img",{className:"coupon-image",width:48,height:48,src:"".concat((null==t?void 0:t.img)||"https://imgcdn.floweraura.com/coupon_offers/fa_1.png","?tr=w-48,h-48"),alt:"coupon-image"}),Object(f.jsxs)("div",{className:"coupon-desc",children:[Object(f.jsx)("span",{className:"coupon-desc-head",children:null==t?void 0:t.heading}),Object(f.jsx)("span",{className:"coupon-desc-detail",children:null==t?void 0:t.title}),(null==t?void 0:t.code)&&Object(f.jsxs)("div",{onClick:function(e){return function(e){var t=document.getElementById(null==e?void 0:e.heading);t.select(),t.setSelectionRange(0,99),navigator.clipboard.writeText(t.value),o(null==e?void 0:e.heading),setTimeout((function(){o(null)}),1e3)}(t)},className:"coupon-code-input-container",children:[Object(f.jsx)("input",{type:"text",className:"coupon-code-input",value:null==t?void 0:t.code,readOnly:!0,id:null==t?void 0:t.heading}),Object(f.jsxs)("span",{className:"copyIcon",children:[n===(null==t?void 0:t.heading)&&Object(f.jsx)("span",{children:"Copied"}),Object(f.jsx)("img",{src:"https://imgcdn.floweraura.com/home-page/quotes-copy.svg",alt:"copy-icon"})]})]}),Object(f.jsx)("a",{href:null==t?void 0:t.redeemUrl,target:"_blank",className:"coupon-redeem-btn",children:"Redeem"}),Object(f.jsxs)("div",{className:"coupon-bottom-card",children:[Object(f.jsxs)("span",{className:"valid-till-container",children:["Valid Till: ",Object(f.jsx)("span",{className:"valid-till-date",children:null==t?void 0:t.valid_till})]}),Object(f.jsx)("span",{onClick:function(){return a()},className:"tncLabel",children:"T&C*"})]})]})]})},null==t?void 0:t.title)}),g=n(48),x=n.n(g),y=n(811),N=function(e){var t,n,o=e.coupon;return o?Object(f.jsxs)("div",{className:"term-condition-content",children:[Object(f.jsx)("ul",{className:"new-coupon-terms",children:null==o||null===(t=o.terms)||void 0===t||null===(n=t.split(/\s*@\s*/))||void 0===n?void 0:n.map((function(e,t){return Object(f.jsx)("li",{children:e},t)}))}),Object(f.jsxs)("span",{className:"valid-till-container",children:["Valid Till: ",Object(f.jsx)("span",{className:"valid-till-date",children:null==o?void 0:o.valid_till})]})]}):null},_=function(e){var t=e.isMobileReq,n=(e.title,e.couponData),o=(e.openTermCondition,e.setOpenTermCondition,e.desc,e.showCopied),c=e.setShowCopied,i="true"===t?"coupon-slider mob-coupon-wrap":"coupon-slider desk-coupon-wrap",s=Object(d.useState)(!1),r=Object(a.a)(s,2),l=r[0],u=r[1],m=Object(d.useState)(null),p=Object(a.a)(m,2),b=p[0],j=p[1],h=function(){u(!1),document.body.classList.remove("bottomSheet-show")};return Object(f.jsx)(d.Fragment,{children:!Object(v.a)(n)&&Object(f.jsxs)("div",{className:i,children:[Object(f.jsx)("div",{className:"coupon-heading",children:Object(f.jsx)("h1",{children:"Exclusive Coupon Deals"})}),Object(f.jsx)("div",{className:"item",children:Object(f.jsx)("div",{className:"new-coupon-item-slider",children:null==n?void 0:n.map((function(e,t){return Object(f.jsx)(w,{coupon:e,showCopied:o,setShowCopied:c,openTermCondition:function(){return j(e),u(!0),void document.body.classList.add("bottomSheet-show")}})}))})}),b&&("false"===t?Object(f.jsxs)(x.a,{isOpen:l,onRequestClose:h,contentLabel:"termAndCondition",className:"show-termCondition-modal",overlayClassName:"show-termCondition-overlay",children:[Object(f.jsxs)("div",{className:"termAndConditionModal-heading",children:[Object(f.jsx)("span",{children:"Terms & Conditions"}),Object(f.jsx)("button",{onClick:h,className:"termAndCondition-close-button",children:"Ã"})]}),Object(f.jsx)(N,{coupon:b})]}):Object(f.jsx)(y.a,{title:"Terms & Conditions",isOpen:l,onClose:h,children:Object(f.jsx)(N,{coupon:b})}))]})})},C=n(265),S=n(264),k=n(96),M=function(e){var t=Object(d.useState)(!1),n=Object(a.a)(t,2),o=n[0],c=n[1],i=Object(d.useState)([]),s=Object(a.a)(i,2),r=s[0],l=s[1],w=Object(d.useState)([]),g=Object(a.a)(w,2),x=g[0],y=g[1],N=Object(d.useState)([]),M=Object(a.a)(N,2),A=M[0],L=M[1],D=Object(d.useState)(!1),T=Object(a.a)(D,2),F=T[0],R=T[1],q=Object(d.useState)(""),I=Object(a.a)(q,2),E=I[0],P=I[1],B=e.location.pathname;Object(d.useEffect)((function(){c(!0),u.f.get("/api/floweraura/coupon-deals").then((function(e){c(!1);var t=e.data&&e.data.data;l(t.banner.items),y(t.coupons),L(t.footer)})).catch((function(e){c(!1)})),e.fetchSiteSettings(),Y()}),[]);var Y=function(){var t=new Date,n={fa_uuid:{S:Object(k.a)()},site_name:{S:window.location.origin},step:{S:"coupon-deals"},url:{S:window.location.href},date:{S:t.getFullYear()+"-"+t.getMonth()+"-"+t.getDate()},is_mobile:{S:"true"===e.isMobileReq?"Mobile":"Desktop"},session_start:{S:Object(S.a)()}};Object(C.a)(n)};return Object(f.jsxs)(d.Fragment,{children:[Object(f.jsx)(p.a,{title:"FlowerAura Coupons - Avail Best Coupons & Deals | Limited Period Offer",description:"Avail Instant Huge Discount on Gifts, Plants, Flowers & Cakes via FlowerAura, Send Gifts to your loved one
1s on special occasions with the Same Day Delivery.",canonical:b.c+B}),Object(f.jsxs)("div",{className:"coupon-container",children:[Object(f.jsxs)("div",{className:"coupon-cont-inner-wrap",children:[o?Object(f.jsx)(j.a,{}):null,!Object(v.a)(r)&&Object(f.jsx)(h.a,{isMobileReq:e.isMobileReq,items:r,preloadFirstImage:!1,isInternational:!1,pathname:B},0),!Object(v.a)(x)&&x.map((function(t){return Object(f.jsx)("div",{className:"coupon-container-inner",children:Object(f.jsx)(_,{isMobileReq:e.isMobileReq,title:t.title,couponData:t.items,openTermCondition:F,setOpenTermCondition:R,showCopied:E,setShowCopied:P,desc:t.desc})})})),Object(f.jsx)("div",{className:"Coupon-footer-content",children:Object(f.jsx)(O,{footerContent:A})})]}),Object(f.jsx)(m.default,{isMobileReq:e.isMobileReq})]})]})},A=n(41),L=n(257),D=n(259),T=function(){var e=Object(c.a)(Object(o.a)().mark((function e(t){var n,i;return Object(o.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=!1,e.next=3,Promise.all(["true"===t.isMobileReq?t.fetchLeftSideNavigationMenu():t.fetchAppMenu()]).then(function(){var e=Object(c.a)(Object(o.a)().mark((function e(t){var c,i;return Object(o.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c=Object(a.a)(t,1),i=c[0],Object(v.a)(i)||(n=!0);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){}));case 3:return i=e.sent,n||("true"===t.isMobileReq?t.fetchLeftSideNavigationMenu():t.fetchAppMenu()),e.abrupt("return",i);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();t.default=Object(l.b)(Object(s.h)(Object(i.c)((function(e){return{siteHeaderSettings:e.settings,isMobileReq:e.pageData.isMobile}}),(function(e){return{fetchSiteSettings:function(t,n){return e(Object(A.c)(t,n))},fetchLeftSideNavigationMenu:function(){return e(Object(D.a)())},fetchAppMenu:function(){return e(Object(L.a)())}}}))(Object(r.frontloadConnect)(T,{onMount:!0,onUpdate:!1})(M))))},797:function(e,t,n){"use strict";n(3);var o=n(37),a=n(192),c=n(32),i=n(2),s=n(0);t.a=Object(o.c)((function(e){return{isMobileReq:e.pageData.isMobile,pageData:e.pageData}}))((function(e){Object(c.g)();var t=e.title,n=e.description,o=e.keywords,r=e.canonical,l=e.dynamicElements;return t=Object(i.a)(t)?"":t,r&&(r=r.replace("/home-page","")),Object(s.jsxs)(a.a,{children:[Object(s.jsx)("meta",{charset:"utf-8"}),Object(s.jsx)("title",{children:t}),Object(i.a)(n)?null:Object(s.jsx)("meta",{name:"description",content:n}),Object(i.a)(o)?null:Object(s.jsx)("meta",{name:"keywords",content:o}),Object(i.a)(r)?null:Object(s.jsx)("link",{rel:"canonical",href:r}),Object(i.a)(l)?null:l]})}))},798:function(e,t,n){"use strict";n.r(t);n(3);var o=n(37),a=n(800),c=n(154),i=n(0);t.default=Object(o.c)((function(e){return{location:e.router.location,enableMultiCurrency:e.settings.enableMultiCurrency}}))((function(e){return"app"===Object(c.a)("fa-source",e.location.search)?null:Object(i.jsxs)(i.Fragment,{children:[Object(i.jsx)(a.a,{isMobileReq:e.isMobileReq,location:e.location,enableMultiCurrency:e.enableMultiCurrency}),"true"===e.isMobileReq?Object(i.jsxs)("div",{id:"paymentFooterContainer",className:"paymentFooterImage",children:[Object(i.jsxs)("div",{className:"payementAcceptFooter",children:[Object(i.jsx)("h3",{className:"pfHeading",children:"We Accept:"}),Object(i.jsx)("div",{className:"payementType",children:Object(i.jsx)("div",{className:"payementImg",children:Object(i.jsx)("img",{loading:"lazy",src:"https://imgcdn.floweraura.com/banners/mob-payment-26.png",alt:"payement",width:"100%",height:"100%"})})})]}),Object(i.jsx)("div",{className:"copyright",children:Object(i.jsxs)("div",{children:["Copyright."," ",(new Date).getFullYear(),". FA GIFTS PVT. LTD"]})})]}):null]})}))},800:function(e,t,n){"use strict";var o=n(3),a=n.p+"static/media/fb.6948cbdb.svg",c=n.p+"static/media/insta.e01029e6.svg",i=n.p+"static/media/linkedin.0aedf69c.svg",s=n.p+"static/media/pinterest.fc913aca.svg",r=n.p+"static/media/tweet.e0dc808f.svg",l=n.p+"static/media/youtube.55eca5e8.svg",d=(n(803),n.p,n(801)),u=n(2),m=n(256),p=n(397),b=n(193),j=n(10),h=(n(156),n(0)),f="https://imgcdn.floweraura.com/fa-media/play_store.svg",O="https://imgcdn.floweraura.com/fa-media/app_store.svg",v=[{img:a,position:"1",name:"facebook",url:"https://www.facebook.com/floweraura"},{img:r,position:"2",name:"twitter",url:"https://twitter.com/floweraura"},{img:l,position:"3",name:"youtube",url:"https://www.youtube.com/channel/UCKHMl8G_5dkJFUvORqQBHTA/featured"},{img:s,position:"4",name:"pinterest",url:"https://in.pinterest.com/FlowerAuraOfficial"},{img:c,position:"5",name:"instagram",url:"https://www.instagram.com/flowerauraofficial"},{img:i,position:"6",name:"linkedin",url:"https://in.linkedin.com/company/floweraura"}],w=[{position:"1",name:"About Us",url:"/about-us"},{position:"2",name:"Sell With Us",url:"/sell-with-us"},{position:"3",name:"Coupons & Deals",url:"/coupon-deals"},{position:"4",name:"Cancellation & Refund",url:"/cancellation-and-refund"},{position:"5",name:"Terms and Conditions",url:"/termcondition"},{position:"7",name:"Retails Stores",url:"/retail-stores"},{position:"8",name:"Career",url:"/career-page"},{position:"9",name:"Media",url:"/show-media"},{position:"10",name:"Privacy Policy",url:"/privacy-page"},{position:"11",name:"Reviews",url:"/reviews"},{position:"12",name:"Blog",url:"/blog"},{position:"13",name:"Sitemap",url:"/sitemap.html"},{position:"14",name:"Quotes",url:"/quotes"},{position:"15",name:"Corporate Gifts",url:"/corporate-gifts"},{position:"16",name:"Franchise",url:"/franchise"},{position:"17",name:"FAQ",url:"/faq"},{position:"18",name:"Contact Us",url:"/contact-us"},{position:"20",name:"Download App",url:"/download-app"}];t.a=function(e){var t=!1,n="",a="";Object(o.useEffect)((function(){c(),window.addEventListener("scroll",Object(b.a)((function(){window.innerHeight+window.scrollY>=document.body.offsetHeight-600&&"true"===e.isMobileReq?Object(j.D)("footer_mob","app_download_button",window.location.pathname):window.innerHeight+window.scrollY>=document.body.offsetHeight-250&&"false"===e.isMobileReq&&Object(j.D)("footer_desktop","app_download_button",window.location.pathname)}),1e3))}),[]);var c=function(){t||(window&&window.loadVideoFrame(),t=!0)},i=v.map((function(e){return Object(h.jsx)("li",{children:Object(h.jsx)("a",{href:e.url,title:e.name,target:"_blank",rel:"nofollow",className:"socialIconSprite socialIconSprite-".concat(e.position)})},"footer_".concat(e.position,"_").concat(null==e?void 0:e.name))})),s=w.map((function(e,t){return t<7&&Object(h.jsx)("li",{children:Object(h.jsx)("a",{href:e.url,title:e.name,children:e.name})},"footer_".concat(e.position,"}"))})),r=w.map((function(e,t){return t>6&&t<13&&Object(h.jsx)("li",{children:Object(h.jsx)("a",{href:e.url,title:e.name,children:e.name})},"footer_".concat(null==e?void 0:e.name,"_").concat(e.position))})),l=w.map((function(e,t){return Object(h.jsx)(h.Fragment,{children:t>12&&Object(h.jsx)("li",{children:Object(h.jsx)("a",{href:e.url,title:e.name,children:e.name})},"footer_".concat(e.position,"_").concat(null==e?void 0:e.name))})})),g=w.map((function(e,t){return t<10&&Object(h.jsx)("li",{children:Object(h.jsx)("a",{href:e.url,title:e.name,children:e.name})},"foote_r_".concat(e.position,"_").concat(null==e?void 0:e.name))})),x=w.map((function(e,t){return Object(h.jsx)(h.Fragment,{children:t>9&&Object(h.jsx)("li",{children:Object(h.jsx)("a",{href:e.url,title:e.name,children:e.name})},"footer_link_".concat(e.position,"_").concat(null==e?void 0:e.name))})}));"false"===e.isMobileReq?(n="https://play.google.com/store/apps/details?id=com.floweraura&referrer=utm_source%3Dfooter_web%26utm_medium%3Dweb%26utm_campaign%3Dapp_download_web_footer",a="https://apps.apple.com/in/app/floweraura/id1490812119"):(n="https://play.google.com/store/apps/details?id=com.floweraura&referrer=utm_source%3Dfooter_mob%26utm_medium%3Dmob%26utm_campaign%3Dapp_download_mob_footer",a="https://apps.apple.com/app/apple-store/id1490812119?pt=120793467&ct=mob_footer&mt=8");var y="";e.location.pathname.includes("blog")&&(y="blogFooter");var N=function(){"false"===e.isMobileReq?Object(j.a)("footer_desktop","app_download",window.location.pathname):Object(j.a)("footer_mob","app_download",window.location.pathname)};return Object(h.jsxs)("div",{className:"footer-inner",children:["true"===e.isMobileReq&&Object(h.jsxs)("div",{className:"fh_all ".concat(y),children:[Object(h.jsxs)("div",{className:"fh_first",children:[Object(h.jsx)("div",{className:"downloadPlayGoogle",children:Object(h.jsxs)("div",{className:"downloadApp_show",children:[Object(h.jsx)("div",{className:"letUsMake",children:"Let us make you feel special"}),Object(h.jsx)("div",{className:"googleAppstore",children:Object(h.jsxs)("ul",{className:"flowerauraApplink",children:[Object(h.jsx)("li",{children:Object(h.jsx)("a",{onClick:N,href:n,target:"_blank",title:"Download App",children:Object(h.jsx)(m.a,{src:f,srcset:Object(p.a)(f,160,50),alt:"Download App From Play Store",title:"Download App",noLazyLoad:!1})})}),Object(h.jsx)("li",{children:Object(h.jsx)("a",{onClick:N,href:a,target:"_blank",title:"Download App",children:Object(h.jsx)(m.a,{src:O,srcset:Object(p.a)(O,160,50),alt:"Download App From App Store",title:"Download App",noLazyLoad:!1})})})]})})]})}),!Object(u.a)("")&&Object(h.jsx)("div",{className:"fafooterVideoLink",children:Object(h.jsx)(d.a,{videoUrl:"",youtubeImg:"https://imgcdn.floweraura.com/ourNews.jpg",height:"159"})})]}),Object(h.jsxs)("div",{className:"fh_third",children:[Object(h.jsx)("div",{className:"subscribe email-box-footer",children:Object(h.jsx)("h3",{children:"Spread The Love On Social Media"})}),Object(h.jsx)("div",{className:"social-warp",children:Object(h.jsx)("ul",{children:i})})]})]}),"false"===e.isMobileReq?Object(h.jsxs)("div",{className:"footerDesktopContent links-wrap",children:[Object(h.jsx)("ul",{className:"menu clearfix column",children:s}),Object(h.jsx)("ul",{className:"menu clearfix column",children:r}),Object(h.jsx)("ul",{className:"menu clearfix column",children:l}),Object(h.jsxs)("div",{className:"downloadApp_show",children:[Object(h.jsx)("div",{className:"letUsMake",children:"Simplify your gifting experience with our app."}),Object(h.jsxs)("div",{className:"googleAppstore",children:[Object(h.jsx)("img",{className:"qrCode",width:"100",height:"100",alt:"scanQr",src:"https://imgcdn.floweraura.com/home-page/app-footer-qr.svg"}),Object(h.jsxs)("ul",{className:"flowerauraApplink",children:[Object(h.jsx)("li",{children:Object(h.jsx)("a",{onClick:N,href:n,target:"_blank",title:"Download App",children:Object(h.jsx)(m.a,{src:f,srcset:Object(p.a)(f,150,44),alt:"Download App From Play Store",title:"Download App",noLazyLoad:!1})})}),Object(h.jsx)("li",{children:Object(h.jsx)("a",{onClick:N,href:a,target:"_blank",title:"Download App",children:Object(h.jsx)(m.a,{src:O,srcset:Object(p.a)(O,150,44),alt:"Download App From App Store",title:"Download App",noLazyLoad:!1})})})]})]}),Object(h.jsxs)("div",{className:"social-warp",children:[Object(h.jsx)("h3",{children:"Spread The Love On Social Media"}),Object(h.jsx)("ul",{children:i})]})]})]}):Object(h.jsxs)("div",{className:"links-wrap fh_second",children:[Object(h.jsx)("ul",{className:"menu clearfix column",children:g}),Object(h.jsx)("ul",{className:"menu clearfix column",children:x})]}),Object(h.jsxs)("div",{className:"partner-container",children:[Object(h.jsxs)("div",{className:"floweraura_copyright",children:[Object(h.jsx)("div",{className:"logo_bottom",children:Object(h.jsx)("img",{src:"https://imgcdn.floweraura.com/fa-logo/final-23-mob.svg",alt:"fa_logo",loading:"lazy"})}),"false"===e.isMobileReq&&Object(h.jsxs)("span",{children:["Copyright. ",(new Date).getFullYear(),". FA GIFTS PVT. LTD"]})]}),"false"===e.isMobileReq&&Object(h.jsxs)("div",{className:"we-accept",children:[Object(h.jsx)("span",{className:"label",children:"We Accept:"}),Object(h.jsx)("div",{className:"pay-option",children:Object(h.jsx)("img",{src:"https://imgcdn.floweraura.com/banners/desk-payment-2
16.png",alt:"visa",title:"visa",height:"30",loading:"lazy",style:{width:"100%"}})})]})]})]})}},801:function(e,t,n){"use strict";n(3);var o=n(0);t.a=function(e){var t=e.videoUrl,n=e.youtubeImg,a=e.height,c=e.defaultIcon,i=void 0===c||c;return Object(o.jsx)(o.Fragment,{children:Object(o.jsx)("div",{children:Object(o.jsx)("iframe",{title:"Youtube","aria-hidden":"true",height:a,frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,webkitallowfullscreen:"true",mozallowfullscreen:"true",srcDoc:"<style>*{padding:0;margin:0;overflow:hidden}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{height:1.5em;text-align:center;font:48px/1.5 sans-serif;color:white;text-shadow:0 0 0.5em black}</style><a href=".concat(t,"/?autoplay=1&;enablejsapi=1><img src=").concat(n," loading=\"lazy\" alt='The Journey of FlowerAura.com Gets Featured on CNBC Awaaz'>").concat("object"==typeof i?Object(o.jsx)("span",{children:"â¶"}):"","</a>"),id:"youtube-ad-video"})})})}},802:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(22),a=function(){var e=window.location.pathname;return"/"===e[0]&&(e=Object(o.a)(e.substring(1))),"/"===window.location.pathname?"Home Page":"".concat(e," Landing Page")}},805:function(e,t,n){"use strict";n(3),n(2);var o=n(0);t.a=function(e){e.customLoaderBoxStyles;return Object(o.jsx)("div",{className:"new_loader",children:Object(o.jsx)("svg",{className:"circular",viewBox:"25 25 50 50",children:Object(o.jsx)("circle",{className:"path",cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"2","stroke-miterlimit":"10"})})})}},811:function(e,t,n){"use strict";var o=n(21),a=n(3),c=(n(833),n(818)),i=n(0);t.a=function(e){var t=e.isOpen,n=e.onClose,s=e.title,r=e.children,l=Object(a.useRef)(null),d=Object(a.useState)(!1),u=Object(o.a)(d,2),m=u[0],p=u[1],b=Object(a.useRef)(0),j=Object(a.useRef)(0),h=Object(a.useRef)(!1),f=Object(a.useRef)(!1),O=Object(a.useRef)(0),v=function(e){b.current=e.touches[0].clientY,j.current=b.current,h.current=!1,f.current=!1},w=function(e){var t=e.touches[0].clientY-b.current;j.current=e.touches[0].clientY;var n=e.target.closest(".bottom-sheet-body");if(n&&(!(0===n.scrollTop)||!(t>0)))return void(h.current=!0);h.current||(f.current=!0,requestAnimationFrame((function(){l.current&&(l.current.style.transform="translateY(".concat(t,"px)"))})))},g=function(e){var t=j.current-b.current,n=e.timeStamp,o=Math.abs(t/n);f.current&&t>100&&o<300?x():requestAnimationFrame((function(){l.current&&(l.current.style.transform="translateY(0)")}))},x=function(){p(!0),setTimeout((function(){p(!1),n(!1,e.closeModalType)}),300)};return Object(a.useEffect)((function(){var e=l.current;return t&&(e.addEventListener("touchstart",v,{passive:!0}),e.addEventListener("touchmove",w,{passive:!0}),e.addEventListener("touchend",g,{passive:!0})),function(){e&&(e.removeEventListener("touchstart",v),e.removeEventListener("touchmove",w),e.removeEventListener("touchend",g))}}),[t]),Object(a.useEffect)((function(){var e=function(e){t&&l.current&&!l.current.contains(e.target)&&x()};return document.addEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}}),[t]),Object(a.useEffect)((function(){if(t){window.history.pushState({bottomSheetOpen:!0},"");var e=!0,n=function(){e=!1,x()};return window.addEventListener("popstate",n),function(){window.removeEventListener("popstate",n),e&&window.history.state&&window.history.state.bottomSheetOpen&&window.history.back()}}}),[t]),Object(a.useEffect)((function(){if(t)return O.current=Object(c.a)(),Object(c.b)(),document.body.style.touchAction="none",function(){Object(c.c)(O.current),document.body.style.touchAction=""}}),[t]),Object(i.jsx)("div",{className:"bottom-sheet-overlay ".concat(t?"open":""),children:Object(i.jsxs)("div",{ref:l,className:"bottom-sheet-content ".concat(m?"closing":"open"),children:[Object(i.jsxs)("div",{className:"bottom-sheet-header ".concat(s?"titleBGColor":""),children:[Object(i.jsx)("em",{className:"bottom-sheet-border-line"}),s&&Object(i.jsx)("h3",{className:"bottom-sheet-title",children:s})]}),Object(i.jsx)("div",{className:"bottom-sheet-body",children:r})]})})}},818:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return i}));var o=function(){return window.scrollY||document.documentElement.scrollTop||document.body.scrollTop||0},a=o,c=function(){var e=o();document.body.dataset.scrollY=String(e),document.body.style.position="fixed",document.body.style.top="-".concat(e,"px"),document.body.style.width="100%",document.body.style.overflow="hidden"},i=function(e){var t=null!=e?Number(e):parseInt(document.body.dataset.scrollY||"0",10);document.body.style.position="",document.body.style.top="",document.body.style.width="",document.body.style.overflow="",delete document.body.dataset.scrollY;var n=Math.max(0,t);window.scrollTo(0,n),document.documentElement.scrollTop=n}},833:function(e,t,n){},836:function(e,t,n){},840:function(e,t,n){"use strict";n(3);var o=n(824),a=n.n(o),c=(n(192),n(836),n(2)),i=n(256),s=n(397),r=n(9),l=n(15),d=n(154),u=n(14),m=n(10),p=n(802),b=n(0);t.a=function(e){var t=e.items,n=(e.heading,e.sub_heading,e.pushToGtm,e.title,e.location),o=e.cardName,j=e.isMobileReq,h=e.preloadFirstImage,f=void 0!==h&&h,O=e.isInternational,v=0,w=[],g=function(e){return Object(b.jsx)(b.Fragment,{children:Object(b.jsx)(i.a,{alt:e.originalAlt,title:e.originalTitle,src:e.original,srcset:"true"==j?Object(s.a)(e.original,270):Object(s.a)(e.original,1280),noLazyLoad:e.noLazyLoad,fetchpriority:e.fetchPriority,id:"MainPageBanner-"+e.imageIndex})})};Object(c.a)(t)||(w=Object.keys(t).map((function(e){return{original:"true"===j?t[e].img:"".concat(t[e].desktop_img),originalAlt:"true"===j?t[e].img_alt_mobile:"".concat(t[e].img_alt),originalTitle:"true"===j?t[e].img_title_mobile:"".concat(t[e].img_title),originalClass:"eachslide_banner",noLazyLoad:!(!f||0!==parseInt(e)),fetchPriority:!(!f||0!==parseInt(e)),imageIndex:String(e),renderItem:g}})));var x=function(e,t){var n={action:window.location.href+" - banner",eventCategory:"Landing Page - ".concat(t),eventLabel:e};
1Object(r.i)(n),Object(l.d)("clickEvent",n)},y=function(e,o){if(!Object(c.a)(t[v].url)&&"app"===Object(d.a)("fa-source",n.search))return u.f.get("/api/floweraura".concat(t[v].url,"?fa_source=app&metainfo=1&rsource=mob")).then((function(e){var n=e.data;n&&e.data&&e.data.data&&(e.data.data.page_url=t[v].url);try{window&&window.ReactNativeWebView&&window.ReactNativeWebView.postMessage(JSON.stringify(n))}catch(e){}})),!1;if(Object(m.e)(Object(p.a)(),"Banner",t[v].title,t[v].url,n.pathname),!Object(c.a)(t[v].url)){var a,i=t[v].url,s="desktop"===o?"desk":"mob",r="",l=null===(a=n.pathname)||void 0===a?void 0:a.split("/");if(r=(null==l?void 0:l.length)>2?"".concat(l[1],"-").concat(l[2]):l[1],"/"===n.pathname){var b="".concat(i,"?ref=home_banner_pos").concat(v+1,"_").concat(s);i.toLowerCase().startsWith("http")?window.open(b,"_blank"):window.open(b,"_self")}else{var j="".concat(i,"?ref=").concat(r,"-lp_banner_pos").concat(v+1,"_").concat(s);i.toLowerCase().startsWith("http")?window.open(j,"_blank"):window.open(j,"_self")}x(t[v].url,"desktop"===o?"desktop":"mobile")}},N=function(e){v=e},_=Object(c.a)(t)||Object(c.a)(t[v].url)?"":"cursorShow",C=O?"prod-category int-category":"prod-category",S=n.pathname.includes("valentine")&&"app"===Object(d.a)("fa-source",n.search)?"appValentineBanner":"";return Object(b.jsxs)("div",{className:"".concat(C," ").concat(o," ").concat(S),children:["true"===j?Object(b.jsx)("div",{className:"slide-container",children:Object(c.a)(w)?null:Object(b.jsx)(a.a,{onClick:function(e){return y()},items:w,showFullscreenButton:!1,showPlayButton:!1,showIndex:!1,slideOnThumbnailOver:!0,showThumbnails:!1,showBullets:w.length>1,showNav:!1,autoPlay:!0,slideInterval:9e3,onSlide:function(e){return N(e)}})}):null,"false"===j?Object(b.jsx)("div",{className:"slide-container slide-container-desktop ".concat(_),children:Object(c.a)(w)?null:Object(b.jsx)(a.a,{onClick:function(e){return y(0,"desktop")},items:w,showFullscreenButton:!1,showPlayButton:!1,showIndex:!1,slideOnThumbnailOver:!0,showThumbnails:!1,showBullets:w.length>1,showNav:"/"!==n.pathname,autoPlay:!0,slideInterval:9e3,onSlide:function(e){return N(e)}})}):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.