PageSourceSearch

https://verifiedlivecoupons.com/_next/static/chunks/2267.63cc5f4493d7ab4b.js

js verifiedlivecoupons.com collected 2026-10-08 23:33:21 UTC 16,408 bytes, 19 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2267],{22267:(e,l,t)=>{t.r(l),t.d(l,{default:()=>F});var r=t(61975),a=t(22043),n=t(71450),s=t(95155),o=t(12115),i=t(15239);let d=e=>{var l=Math.round(e.rating),t=`/shared-assets/ratings/${l}.png`;return(0,s.jsx)("div",{style:{position:"relative",width:"100px",height:"20px"},children:(0,s.jsx)(i.default,{src:t,alt:`Rating: ${l} out of 5 stars`,layout:"fill",objectFit:"contain",priority:!0})})};var c=t(47650),u=t(76296),x=t(2230),f=t(58966),m=t(67909),p=t(52619),h=t.n(p),b=(0,m.default)(()=>t.e(6953).then(t.bind(t,96953)),{loadableGenerated:{webpack:()=>[96953]},ssr:!1}),v=(0,m.default)(()=>t.e(1067).then(t.bind(t,81067)),{loadableGenerated:{webpack:()=>[81067]},ssr:!1});let g=e=>{var l,t,d,m=e.data,p=e.companyId,g=e.onClose,j=e.domain,w=e.merchantHref,y=(0,a._)((0,o.useState)(!1),2),k=y[0],N=y[1],_=(0,a._)((0,o.useState)(!1),2),F=_[0],D=_[1];(0,o.useEffect)(()=>(N(!0),document.body.style.overflow="hidden",()=>{document.body.style.overflow="unset"}),[]);var C=(null==m||null==(l=m.url)?void 0:l.startsWith("/"))?null==m?void 0:m.url.replace(/^\/+/,""):null==m?void 0:m.url,A=`/${C}`,B=(null==m||null==(t=m.offer_type)?void 0:t.name)==="product"?null==m?void 0:m.product_image:null==m||null==(d=m.merchant)?void 0:d.merchant_logo;if(!k)return null;var H=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("style",{children:`
2                @keyframes modalPop {
3                    0% { opacity: 0; transform: scale(0.95) translateY(15px); }
4                    100% { opacity: 1; transform: scale(1) translateY(0); }
5                }
6                @keyframes backdropFade {
7                    0% { opacity: 0; }
8                    100% { opacity: 1; }
9                }
10                /* Cross-browser scrollbar hiding */
11                .no-scrollbar::-webkit-scrollbar {
12                    display: none;
13                }
14                .no-scrollbar {
15                    -ms-overflow-style: none;  /* IE and Edge */
16                    scrollbar-width: none;  /* Firefox */
17                }
18            `}),(0,s.jsxs)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center p-4 sm:p-6",children:[(0,s.jsx)("div",{onClick:g,className:"absolute inset-0 bg-black/85 backdrop-blur-sm transition-opacity",style:{animation:"backdropFade 0.3s ease-out forwards"}}),(0,s.jsxs)("div",{className:"relative w-full max-w-4xl bg-[#FDFBF7] text-black rounded-[2rem] shadow-[0_20px_50px_rgba(0,0,0,0.5)] overflow-hidden flex flex-col max-h-[90vh] border border-[#800000]/20",style:{animation:"modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards"},children:[(0,s.jsxs)("div",{className:"relative bg-[#FDFBF7] pt-12 pb-8 px-8 md:px-12 text-center z-10",children:[(0,s.jsx)("button",{onClick:g,className:"absolute top-5 right-5 z-50 w-10 h-10 bg-black/5 hover:bg-[#800000] text-black hover:text-[#FDFBF7] rounded-full flex items-center justify-center transition-all duration-300","aria-label":"Close",children:(0,s.jsx)("span",{className:"text-2xl font-light leading-none mb-1",children:"\xd7"})}),(0,s.jsxs)("div",{className:"max-w-2xl mx-auto space-y-6",children:[(0,s.jsx)("h2",{className:"text-xl md:text-2xl font-bold text-black leading-tight tracking-tight",children:null==m?void 0:m.offer_title}),(0,s.jsx)("div",{className:"flex justify-center mt-4",children:(null==m?void 0:m.coupon_code)?(0,s.jsxs)("div",{className:"inline-flex flex-col md:flex-row items-center bg-white border border-[#800000]/30 rounded-2xl p-2 md:pl-6 shadow-[0_4px_20px_rgba(128,0,0,0.08)]",children:[(0,s.jsx)("span",{className:"text-2xl font-black text-[#800000] tracking-widest uppercase px-6 py-2",children:null==m?void 0:m.coupon_code}),(0,s.jsx)("button",{onClick:()=>(0,r._)(function(){var e,l;return(0,n.YH)(this,function(t){switch(t.label){case 0:if(!(e=null==m?void 0:m.coupon_code))return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,navigator.clipboard.writeText(e)];case 2:return t.sent(),D(!0),setTimeout(()=>D(!1),2e3),[3,4];case 3:t.sent();try{(l=document.createElement("textarea")).value=e,document.body.appendChild(l),l.select(),document.execCommand("copy"),document.body.removeChild(l),D(!0),setTimeout(()=>D(!1),2e3)}catch(e){console.error("Unable to copy",e)}return[3,4];case 4:return[2]}})})(),className:`${F?"bg-emerald-600":"bg-[#800000] hover:bg-black"} text-[#FDFBF7] px-8 py-4 rounded-xl font-black text-[13px] uppercase tracking-widest transition-all duration-300 shadow-md w-full md:w-auto mt-2 md:mt-0 active:scale-95`,children:F?"Copied!":"Copy Code"})]}):(0,s.jsx)(h(),{href:A,className:"bg-[#800000] hover:bg-black text-[#FDFBF7] px-6 py-4 rounded-xl font-black text-[11px] uppercase tracking-widest transition-all duration-300 shadow-lg active:scale-95",children:"Activate Deal"})})]})]}),(0,s.jsx)("div",{className:"flex-grow overflow-y-auto no-scrollbar px-6 pb-6 md:px-10 md:pb-10 bg-[#FDFBF7]",children:(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-6",children:[(0,s.jsxs)("div",{className:"md:w-3/5 bg-white rounded-3xl p-8 shadow-[0_8px_30px_rgba(0,0,0,0.04)] border border-black/5 relative overflow-hidden",children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 right-0 h-1.5 bg-gradient-to-r from-[#800000] via-[#800000]/70 to-black"}),(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsxs)("div",{className:"flex justify-between items-start",children:[(0,s.jsx)("div",{className:"relative w-28 h-16 bg-[#FDFBF7] rounded-xl border border-black/5 p-2 flex items-center justify-center",children:(0,s.jsx)(i.default,{src:(0,f.Uh)(j,B,""),alt:"Merchant Logo",fill:!0,className:"object-contain p-2"})}),(0,s.jsxs)("div",{className:"flex flex-col items-end gap-2",children:[(0,s.jsx)("span",{className:"bg-black text-[#FDFBF7] px-4 py-1.5 rounded-md text-[9px] font-black uppercase tracking-widest",children:"Verified"}),(0,s.jsx)("span",{className:"bg-[#800000]/10 text-[#800000] border border-[#800000]/20 px-4 py-1.5 rounded-md text-[9px] font-black uppercase tracking-widest",children:(null==m?void 0:m.end_date)?(0,f.Zh)(null==m?void 0:m.end_date):"Active Deal"})]})]}),(0,s.jsxs)("div",{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("h4",{className:"text-[12px] font-black text-black uppercase tracking-widest",children:"Offer Details"}),(0,s.jsx)("div",{className:"flex-grow h-px bg-black/5"})]}),(0,s.jsx)("div",{className:"text-black/70 text-sm leading-relaxed prose prose-sm max-w-none prose-a:text-[#800000] prose-a:font-bold hover:prose-a:text-black transition-colors",dangerouslySetInnerHTML:{__html:(null==m?void 0:m.offer_detail)||""}})]})]})]}),(0,s.jsxs)("div",{className:"md:w-2/5 bg-white rounded-3xl p-8 shadow-[0_8px_30px_rgba(0,0,0,0.04)] border border-black/5 flex flex-col justify-center items-center text-center",children:[(0,s.jsx)("h4",{className:"text-[12px] font-black text-black uppercase tracking-widest mb-4",children:"Rate this deal"}),(0,s.jsx)("div",{className:"w-full bg-[#FDFBF7] rounded-2xl p-6 border border-black/5",children:(0,s.jsx)(b,{offer_id:(null==m?void 0:m.unique_id)||"",company_id:p})})]})]})}),(0,s.jsx)("div",{className:"bg-white border-t border-black/5 p-6 md:px-10 z-10",children:(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-5",children:[(0,s.jsx)("span",{className:"text-[11px] font-black text-black/50 uppercase tracking-widest",children:"Helpful?"}),(0,s.jsxs)("div",{className:"flex gap-3",children:[(0,s.jsxs)("button",{className:"px-6 py-2.5 rounded-xl text-[11px] font-black border border-black/10 bg-[#FDFBF7] text-black hover:bg-black hover:text-[#FDFBF7] hover:border-black transition-all duration-300",children:[(0,s.jsx)(x.g,{icon:u.Wc,className:"mr-2"})," YES"]}),(0,s.jsxs)("button",{className:"px-6 py-2.5 rounded-xl text-[11px] font-black border border-black/10 bg-[#FDFBF7] text-black hover:bg-[#800000] hover:text-[#FDFBF7] hover:border-[#800000] transition-all duration-300",children:[(0,s.jsx)(x.g,{icon:u.lS,className:"mr-2"})," NO"]})]})]}),(0,s.jsx)("div",{className:"flex items-center gap-3",children:(0,s.jsx)(v,{offerUrl:encodeURIComponent(window.location.href),offerTitle:m?encodeURIComponent((null==m?void 0:m.offer_title)||(null==m?void 0:m.offer_detail)||""):"",merchantHref:w,unique_id:null==m?void 0:m.unique_id,domain:j})})]})})]})]})]});return(0,c.createPortal)(H,document.body)};var j=t(90660),w=t(22437),y=t(49450),k=t(44931),N=t(87571),_=0;let F=e=>{var l,t,c,u,x,m,p,h,b,v,F,D,C,A,B,H,q,E,U,z,S,I,$,G,T,Y,M,O,P,R,W,L,Q,V,Z,J=e.product,K=e.companyId,X=e.awaited_p_id,ee=e.mer_slug_type,el=e.mer_slug,et=e.domain,er=e.ads_campaign,ea=(0,a._)((0,o.useState)(null),2),en=ea[0],es=ea[1],eo=(0,a._)((0,o.useState)(!1),2),ei=eo[0],ed=eo[1],ec=(0,f.wA)(J.merchant,el,ee);(0,o.useEffect)(()=>
18{if(X&&K){var e=!1;return(0,r._)(function(){var l;return(0,n.YH)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,(0,w.pF)(X,K)];case 1:return l=t.sent(),e||(es(l.data),1===(_+=1)&&ed(!0)),[3,3];case 2:return t.sent(),[3,3];case 3:return[2]}})})(),()=>{e=!0}}},[X,K]);var eu=(null==J||null==(l=J.offer)?void 0:l.original_price)?parseFloat(null==J||null==(t=J.offer)?void 0:t.original_price):0,ex=(null==J||null==(c=J.offer)?void 0:c.sale_price)?parseFloat(null==J||null==(u=J.offer)?void 0:u.sale_price):0,ef=eu>0&&ex>0?Math.round((eu-ex)/eu*100):null,em=(0,f.m5)((null==J||null==(x=J.offer)?void 0:x.offer_title)||(null==J||null==(m=J.offer)?void 0:m.offer_detail),ef),ep=!!(null==J||null==(p=J.offer)?void 0:p.product_image),eh=(null==J||null==(h=J.offer)?void 0:h.coupon_code)?(0,s.jsxs)(y.default,{unique_id:null==J||null==(b=J.offer)?void 0:b.unique_id,outUrl:null==J||null==(v=J.offer)?void 0:v.url,merchantHref:ec,domain:et,customClass:"relative h-10 px-5 w-auto bg-[#1A1A1A] rounded-xl flex items-center justify-center group/btn overflow-hidden transition-all hover:bg-[#800000] shadow-sm shrink-0",children:[(0,s.jsx)("span",{className:"text-[#FDFCF0] font-black text-[10px] tracking-widest uppercase transition-all duration-300 group-hover/btn:opacity-0 group-hover/btn:-translate-y-2",children:"Get Deal"}),(0,s.jsxs)("div",{className:"absolute inset-0 bg-[#800000] flex flex-col items-center justify-center translate-y-full group-hover/btn:translate-y-0 transition-transform duration-300",children:[(0,s.jsx)("span",{className:"text-[7px] font-black text-white/60 uppercase tracking-widest mb-0.5",children:"CODE"}),(0,s.jsx)("span",{className:"text-white font-mono font-black text-xs tracking-[0.2em]",children:"****"})]})]}):(0,s.jsx)(y.default,{unique_id:J.offer.unique_id,outUrl:J.offer.url,merchantHref:ec,domain:et,customClass:"no-underline h-10 px-5 w-auto bg-[#1A1A1A] text-[#FDFCF0] font-black rounded-xl flex items-center justify-center hover:bg-[#800000] shadow-sm transition-all duration-300 text-[10px] tracking-widest uppercase shrink-0",children:(null==J||null==(D=J.offer)||null==(F=D.offer_type)?void 0:F.name)==="product"?"Buy Now":"Get Deal"}),eb=(null==J||null==(C=J.offer)?void 0:C.coupon_code)?(0,s.jsxs)(y.default,{unique_id:null==J||null==(A=J.offer)?void 0:A.unique_id,outUrl:null==J||null==(B=J.offer)?void 0:B.url,merchantHref:ec,domain:et,customClass:"relative w-full h-14 bg-[#1A1A1A] rounded-xl flex items-center justify-center group/btn overflow-hidden transition-all hover:bg-[#800000] shadow-sm",children:[(0,s.jsx)("span",{className:"text-[#FDFCF0] font-black text-[10px] tracking-widest uppercase transition-all duration-300 group-hover/btn:opacity-0 group-hover/btn:-translate-y-2",children:"Get Deal"}),(0,s.jsxs)("div",{className:"absolute inset-0 bg-[#800000] flex flex-col items-center justify-center translate-y-full group-hover/btn:translate-y-0 transition-transform duration-300",children:[(0,s.jsx)("span",{className:"text-[7px] font-black text-white/60 uppercase tracking-widest mb-0.5",children:"CODE"}),(0,s.jsx)("span",{className:"text-white font-mono font-black text-sm tracking-[0.2em]",children:"********"})]})]}):(0,s.jsx)(y.default,{unique_id:J.offer.unique_id,outUrl:J.offer.url,merchantHref:ec,domain:et,customClass:"no-underline w-full h-12 bg-[#1A1A1A] text-[#FDFCF0] font-black rounded-xl flex items-center justify-center hover:bg-[#800000] shadow-sm transition-all duration-300 text-[10px] tracking-widest uppercase",children:(null==J||null==(q=J.offer)||null==(H=q.offer_type)?void 0:H.name)==="product"?"Buy Now":"Get Deal"});return(0,s.jsxs)("div",{className:"group relative mb-6",children:[(0,s.jsx)("div",{className:"absolute -inset-0.5 bg-[#800000]/10 rounded-[1.8rem] blur-lg opacity-0 group-hover:opacity-100 transition duration-500 pointer-events-none"}),(0,s.jsxs)("div",{className:"relative flex flex-col lg:flex-row bg-white rounded-[1.8rem] shadow-sm overflow-hidden border border-[#800000]/5 transition-all duration-300 group-hover:border-[#800000]/20",children:[(0,s.jsxs)("div",{className:"lg:w-[75%] p-6 flex flex-col justify-center bg-white",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)("div",{className:"w-1 h-1 rounded-full bg-emerald-500"}),(0,s.jsx)("span",{className:"text-[8px] font-black text-emerald-600 uppercase tracking-widest",children:"Verified"})]}),(0,s.jsx)("div",{className:"text-[10px] scale-90 origin-left",children:(0,s.jsx)(k.A,{endDate:null==J||null==(E=J.offer)?void 0:E.end_date})})]}),(0,s.jsx)("h4",{className:"text-sm md:text-base font-bold text-[#1A1A1A] leading-tight tracking-tighter uppercase transition-colors group-hover:text-[#800000]",children:(0,f.rH)(null==J||null==(z=J.offer)||null==(U=z.offer_title)?void 0:U.replaceAll("_"," "))}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-4 mt-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center bg-[#FDFCF0] px-2 py-1 rounded-lg border border-[#800000]/5 scale-90 origin-left",children:[(0,s.jsx)(d,{rating:(0,f.zD)(null==(S=J.offer)?void 0:S.rating)}),(0,s.jsx)("span",{className:"ml-1.5 text-[11px] font-black text-[#800000]",children:(0,f.zD)(null==J||null==(I=J.offer)?void 0:I.rating)})]}),(0,s.jsx)(N.default,{domain:et,imageSrc:null==J||null==($=J.offer)?void 0:$.product_image,merchantHref:ec,offer:null==J?void 0:J.offer,type:"anch
18or",buttonClass:"text-[11px] font-bold text-slate-400 hover:text-[#800000] transition-colors"})]}),(null==J||null==(T=J.offer)||null==(G=T.offer_type)?void 0:G.name)!=="product"&&ep&&eh]}),(null==J||null==(M=J.offer)||null==(Y=M.offer_type)?void 0:Y.name)==="product"?(0,s.jsxs)("div",{className:"mt-3 flex items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsxs)("span",{className:"text-xl font-black text-[#1A1A1A]",children:[(0,f.Qn)(null==J||null==(O=J.offer)?void 0:O.currency),null==J||null==(P=J.offer)?void 0:P.sale_price]}),(0,s.jsxs)("span",{className:"text-[10px] font-bold text-slate-400 line-through decoration-[#800000]/40",children:[(0,f.Qn)(null==J||null==(R=J.offer)?void 0:R.currency),null==J||null==(W=J.offer)?void 0:W.original_price]})]}),ep&&eh]}):null]}),(0,s.jsx)("div",{className:`${!ep?"hidden lg:flex":"order-first lg:order-none"} lg:w-[25%] px-4 py-4 lg:py-6 bg-[#FDFCF0]/20 flex items-center justify-center border-b lg:border-b-0 lg:border-l border-[#800000]/5`,children:ep?(0,s.jsx)("div",{className:"flex items-center justify-center w-full h-full",children:(0,s.jsx)(i.default,{src:(0,f.Uh)(et,J.offer.product_image,""),alt:(null==J||null==(Q=J.offer)||null==(L=Q.offer_type)?void 0:L.name)==="product"?`${(null==J||null==(V=J.offer)?void 0:V.offer_title)||"Product"} image`:`${null==J||null==(Z=J.merchant)?void 0:Z.merchant_name} Deals and Coupons`,className:"object-contain rounded-xl",height:120,width:120,loading:"lazy",style:{width:"auto",height:"auto",maxHeight:"120px",maxWidth:"100%"}})}):(0,s.jsx)("div",{className:"w-full",children:eb})}),!ep&&(0,s.jsx)("div",{className:"lg:hidden px-4 pb-4 bg-white",children:eb})]}),ei&&null!=en&&!er&&(0,s.jsx)(g,{data:en,companyId:K,onClose:()=>ed(!1),domain:et,merchantHref:ec}),ei&&er&&null!=en&&(0,s.jsx)(j.A,{data:en,onClose:()=>ed(!1),domain:et,merchantHref:ec,finalDiscountTag:em})]})}}}]);
19//# sourceMappingURL=2267.63cc5f4493d7ab4b.js.map

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.