PageSourceSearch

https://tamanna.app/_next/static/chunks/66f0222299832754.js

js tamanna.app collected 2026-10-02 01:15:23 UTC 18,823 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,9987,e=>{"use strict";var t=e.i(43476);e.i(71645),e.s(["default",0,function({title:e="",highlight:n="",content:a="",titleTag:s="h2",contentTag:r="p",titleSize:l="text-[clamp(1.5rem, 0.9815rem + 2.5926vw, 3.25rem)]",contentSize:i="text-[1.2rem]",titleColor:o="#000000",highlightColor:c="#000000",contentColor:d="#4A4A4A",highlightFontWeight:m="bold",contentFontWeight:u="normal",contentHighlight:x="",contentHighlightColor:h="#000000",contentHighlightFontWeight:p="bold",className:g=""}){return(0,t.jsxs)("div",{className:`flex flex-col ${g}`,children:[(0,t.jsx)(s,{className:`${l} font-light leading-normal`,style:{color:o},children:(()=>{let a=e.replace(/\n/g,"<br />");if(!n)return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:a}});n.replace(/\n/g,"<br />");let s=a.split(n);return(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s[0]}}),(0,t.jsx)("span",{style:{color:c,fontWeight:m},children:n}),(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:s[1]}})]})})()}),(0,t.jsx)(r,{className:`${i} leading-relaxed`,style:{color:d},children:(()=>{if(!x)return a;let e=a.split(x);return(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{style:{fontWeight:u},children:e[0]}),(0,t.jsx)("span",{style:{color:h,fontWeight:p,textDecoration:"underline"},children:x}),(0,t.jsx)("span",{style:{fontWeight:u},children:e[1]})]})})()})]})}])},7749,e=>{"use strict";var t=e.i(43476);e.i(71645),e.s(["default",0,({link:e,onClick:n,className:a,children:s})=>e?(0,t.jsx)("a",{href:e,onClick:n,className:a,children:s}):(0,t.jsx)("button",{onClick:n,className:a,children:s})])},22998,(e,t,n)=>{Object.defineProperty(n,"__esModule",{value:!0});var a=e.r(71645),s=a&&"object"==typeof a&&"default"in a?a:{default:a};!function(e){if(!e||"undefined"==typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}'),n.default=a.forwardRef(function({style:e={},className:t="",autoFill:n=!1,play:r=!0,pauseOnHover:l=!1,pauseOnClick:i=!1,direction:o="left",speed:c=50,delay:d=0,loop:m=0,gradient:u=!1,gradientColor:x="white",gradientWidth:h=200,onFinish:p,onCycleComplete:g,onMount:f,children:v},b){let[j,y]=a.useState(0),[w,N]=a.useState(0),[F,k]=a.useState(1),[S,E]=a.useState(!1),I=a.useRef(null),T=b||I,C=a.useRef(null),M=a.useCallback(()=>{if(C.current&&T.current){let e=T.current.getBoundingClientRect(),t=C.current.getBoundingClientRect(),a=e.width,s=t.width;("up"===o||"down"===o)&&(a=e.height,s=t.height),n&&a&&s?k(s<a?Math.
1ceil(a/s):1):k(1),y(a),N(s)}},[n,T,o]);a.useEffect(()=>{if(S&&(M(),C.current&&T.current)){let e=new ResizeObserver(()=>M());return e.observe(T.current),e.observe(C.current),()=>{e&&e.disconnect()}}},[M,T,S]),a.useEffect(()=>{M()},[M,v]),a.useEffect(()=>{E(!0)},[]),a.useEffect(()=>{"function"==typeof f&&f()},[]);let A=a.useMemo(()=>n?w*F/c:w<j?j/c:w/c,[n,j,w,F,c]),B=a.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!r||l?"paused":"running","--pause-on-click":!r||l&&!i||i?"paused":"running","--width":"up"===o||"down"===o?"100vh":"100%","--transform":"up"===o?"rotate(-90deg)":"down"===o?"rotate(90deg)":"none"}),[e,r,l,i,o]),P=a.useMemo(()=>({"--gradient-color":x,"--gradient-width":"number"==typeof h?`${h}px`:h}),[x,h]),$=a.useMemo(()=>({"--play":r?"running":"paused","--direction":"left"===o?"normal":"reverse","--duration":`${A}s`,"--delay":`${d}s`,"--iteration-count":m?`${m}`:"infinite","--min-width":n?"auto":"100%"}),[r,o,A,d,m,n]),L=a.useMemo(()=>({"--transform":"up"===o?"rotate(90deg)":"down"===o?"rotate(-90deg)":"none"}),[o]),O=a.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>s.default.createElement(a.Fragment,{key:t},a.Children.map(v,e=>s.default.createElement("div",{style:L,className:"rfm-child"},e)))),[L,v]);return S?s.default.createElement("div",{ref:T,style:B,className:"rfm-marquee-container "+t},u&&s.default.createElement("div",{style:P,className:"rfm-overlay"}),s.default.createElement("div",{className:"rfm-marquee",style:$,onAnimationIteration:g,onAnimationEnd:p},s.default.createElement("div",{className:"rfm-initial-child-container",ref:C},a.Children.map(v,e=>s.default.createElement("div",{style:L,className:"rfm-child"},e))),O(F-1)),s.default.createElement("div",{className:"rfm-marquee",style:$},O(F))):null})},97460,e=>{"use strict";var t=e.i(43476),n=e.i(71645),a=e.i(80401);e.i(41983);var s=e.i(72225),r=e.i(57688);e.s(["default",0,()=>{let[e,l]=(0,n.useState)(null);return(0,t.jsx)("section",{className:"w-full py-8",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("h2",{className:"text-3xl sm:text-[45px] font-[400] text-[#000] text-center mb-12",children:["Featured / Sponsored ",(0,t.jsx)("b",{children:"Merchants"})]}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(a.Swiper,{modules:[s.Autoplay],spaceBetween:15,slidesPerView:3.2,loop:!0,autoplay:{delay:3e3,disableOnInteraction:!1},speed:800,breakpoints:{320:{slidesPerView:1.2,spaceBetween:16},640:{slidesPerView:2.2,spaceBetween:20},1024:{slidesPerView:3.2,spaceBetween:24}},className:"merchant-swiper",children:[{id:1,image:"/images/feature1.png",name:"Holmes Museum",description:"Pay In instalments with tamanna",icon:"/londonbookshop.svg"},{id:2,image:"/images/feature2.png",name:"London Book Shop",description:"Pay In instalments with tamanna",icon:"/londonbookshop2.svg"},{id:3,image:"/images/feature3.png",name:"London Book shop",description:"Pay In instalments with tamanna",icon:"/dauntbooks.svg"},{id:4,image:"/images/feature4.png",name:"Watkins Books",description:"Pay In instalments with tamanna",icon:"/watkinsbook.svg"},{id:5,image:"/images/feature5.png",name:"Watkins Books",description:"Pay In instalments with tamanna",icon:"/londonbookshop.svg"}].map((n,s)=>(0,t.jsx)(a.SwiperSlide,{children:(0,t.jsx)("div",{className:"relative group cursor-pointer",onMouseEnter:()=>l(s),onMouseLeave:()=>l(null),children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-2xl aspect-380/410 w-full max-w-70 sm:max-w-[320px] lg:max-w-95",children:[(0,t.jsx)(r.default,{src:n.image,alt:n.name,fill:!0,className:`object-cover ${e===s?"blur-[2px]":"blur-none"} `}),(0,t.jsx)("div",{className:"absolute top-4 left-4 z-20",children:(0,t.jsx)("span",{className:"bg-black/20 backdrop-blur-sm border border-black/50 text-white text-base font-semibold px-2 py-1.5 rounded-lg",children:"Featured"})}),(0,t.jsx)("div",{className:`absolute inset-0 transition-opacity duration-300 ${e===s?"opacity-100":"opacity-0"}`,style:{background:"linear-gradient(to top right, rgba(254, 74, 54, 0.80) 0%, rgba(254, 74, 54, 0.70) 15%, rgba(254, 74, 54, 0.50) 35%, rgba(254, 74, 54, 0.30) 55%, rgba(254, 74, 54, 0.15) 75%, rgba(254, 74, 54, 0.05) 90%, transparent 100%)"},children:(0,t.jsxs)("div",{className:"flex items-end justify-center h-full px-0 lg:px-1 pb-4 text-white",children:[(0,t.jsxs)("div",{className:"flex items-center gap-y-4 gap-x-1",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-16 h-16 rounded-2xl flex items-center justify-center",children:(0,t.jsx)("img",{src:`${n.icon}`,alt:n.name,className:"w-10 h-10"})}),(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("h3",{className:"font-semibold text-[clamp(1rem,2vw,1.25rem)] capitalize drop-shadow-lg ",children:n.name.toLowerCase()}),(0,t.jsx)("p",{className:"text-[clamp(0.75rem,1.2vw,0.875rem)] drop-shadow-md ",children:n.description})]}),(0,t.jsx)("div",{className:"h-15 w-[1.5px] bg-white/70 mx-2"})]}),(0,t.jsx)("div",{className:"flex-shrink-0 w-18 h-16 rounded-full flex items-center justify-center",children:(0,t.jsx)("img",{src:"/righticonarrow.svg",alt:"arrow",className:"w-full h-[40]"})})]})})]})},s)},n.id))})})]})})}])},16712,e=>{"use strict";var t=e.i(43476);e.i(71645);var n=e.i(80401);e.i(41983);var a=e.i(72225),s=e.i(57688);let r={left:"items-start text-left",center:"items-center text-center",right:"items-end text-right"};function l(){return(0,t.jsx)("div",{className:"w-full mt-4",children:(0,t.jsx)("div",{className:"container h-[550
1px] md:h-[420px] ",children:(0,t.jsx)(n.Swiper,{modules:[a.Autoplay],autoplay:{delay:4e3},spaceBetween:24,loop:!0,className:"h-full relative",children:[{bgImage:"/shopban1.png",bgImageMobile:"/shopbannermobile1.png"},{bgImage:"/shopbanner2.png",bgImageMobile:"/shopbannermobile2.png"},{bgImage:"/shopbanner3.png",bgImageMobile:"/shopbannermobile3.png"}].map((e,a)=>(0,t.jsx)(n.SwiperSlide,{children:(0,t.jsxs)("div",{className:"relative h-full",children:[(0,t.jsx)("div",{className:`absolute  ${e.className} z-10`,children:(0,t.jsx)(s.default,{src:e.logoImage,alt:e.title,fill:!0,className:"object-contain"})}),(0,t.jsx)(s.default,{src:e.bgImageMobile,alt:e.title,fill:!0,className:"object-fill rounded-3xl md:hidden",priority:0===a}),(0,t.jsx)(s.default,{src:e.bgImage,alt:e.title,fill:!0,className:"object-fill rounded-3xl hidden md:block",priority:0===a}),(0,t.jsxs)("div",{className:`relative z-10 container mx-auto h-full flex flex-col justify-center px-6 ${r[e.align]}`,children:[(0,t.jsx)("h2",{className:"text-3xl md:text-5xl text-white mb-4",children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}})}),(0,t.jsx)("p",{className:"text-lg md:text-xl text-white max-w-xl mb-6 ",children:e.desc}),(0,t.jsx)("button",{className:`px-6 py-3 transition ${e.buttonstyle}`,children:e.button}),e.tagText&&(0,t.jsxs)("div",{className:`flex items-center space-x-3.5 absolute ${e.tagPosition}`,children:[(0,t.jsx)("span",{className:"w-2 h-2 bg-white rounded-full block"}),(0,t.jsx)("span",{className:" text-sm font-semibold text-white ",children:e.tagText})]})]})]})},a))})})})}var i=e.i(22998);function o(){let e=[{src:"/merchantlogo1.svg"},{src:"/merchantlogo2.svg"},{src:"/merchantlogo3.svg"},{src:"/merchantlogo4.svg"},{src:"/merchantlogo5.svg"},{src:"/merchantlogo6.svg"},{src:"/merchantlogo7.svg"},{src:"/merchantlogo8.svg"},{src:"/merchantlogo9.svg"},{src:"/merchantlogo10.svg"},{src:"/merchantlogo11.svg"},{src:"/merchantlogo12.svg"}];return(0,t.jsxs)("div",{className:"w-full overflow-hidden mt-4",children:[(0,t.jsx)(i.default,{speed:40,pauseOnHover:!0,gradient:!0,autoFill:!0,children:e.map((e,n)=>(0,t.jsx)("div",{className:"m-1.5",children:(0,t.jsx)("div",{className:`group logohover flex items-center justify-center w-[180px] h-[60px]
2                ${e.hoverBg}
3              `,children:(0,t.jsx)(s.default,{src:e.src,alt:"logo",width:135,height:22,className:"transition-transform duration-300 ease-in-out"})})},n))}),(0,t.jsx)(i.default,{speed:40,pauseOnHover:!0,direction:"right",gradient:!0,autoFill:!0,children:e.map((e,n)=>(0,t.jsx)("div",{className:"m-1.5",children:(0,t.jsx)("div",{className:`
4                group logohover flex items-center justify-center w-[180px] h-[60px]
5                ${e.hoverBg}
6              `,children:(0,t.jsx)(s.default,{src:e.src,alt:"logo",width:135,height:22,className:"transition-transform duration-300 ease-in-out"})})},n))})]})}var c=e.i(7749);function d(){return(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mt-4 md:mt-8",children:[(0,t.jsx)(c.default,{link:"/merchant",className:"px-6 py-3 rounded-lg bg-[#FF4D2D] text-white font-bold transition hover:bg-[#151515]",children:"Work with Tamanna"}),(0,t.jsx)(c.default,{link:"/how-it-works",className:"px-6 py-3 rounded-lg border-2 border-[#FF4D2D] text-[#FF4D2D] font-bold transition hover:border-[#151515] hover:text-[#151515]",children:"See How it Works"})]})}function m(){return(0,t.jsx)("div",{className:" text-center",children:(0,t.jsxs)("div",{className:"",children:[(0,t.jsxs)("h2",{className:"text-[clamp(1.95rem,1.15rem+2.8vw,3.25rem)] leading-tight font-light mb-2 md:mb-4",children:["Top Stores. Easy payments. ",(0,t.jsx)("br",{})," ",(0,t.jsx)("span",{className:"font-bold relative",children:"All in Tamanna"})]}),(0,t.jsxs)("p",{className:"text-[#151515BF] text-xl",children:["Discover where you can use Tamanna to pay over time and get ",(0,t.jsx)("br",{})," ","exclusive deals."]})]})})}e.s(["default",0,function({}){return(0,t.jsx)("section",{className:"py-8 relative overflow-hidden",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:" relative z-10",children:[(0,t.jsx)(m,{}),(0,t.jsx)(l,{}),(0,t.jsx)(o,{}),(0,t.jsx)(d,{})]})})})}],16712)},16693,e=>{"use strict";var t=e.i(43476),n=e.i(57688),a=e.i(71645);let s=function({merchant:e,getStoreTypeLabel:a}){return(0,t.jsxs)("div",{className:"gradient-border-card  bg-white shadow-md cursor-pointer",children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)("span",{className:"absolute top-0 left-0 bg-red-500 text-white text-xs font-semibold px-4 py-1.5 rounded-br-xl rounded-tl-2xl",children:["Pay in ",e.payInDays]})}),(0,t.jsx)(n.default,{src:e.image,alt:e.name,width:200,height:100,className:"mx-auto mt-5"}),(0,t.jsx)("div",{className:"h-0.5 bg-[#F98370] w-[25%] mx-auto mt-4 opacity-30"}),(0,t.jsx)("div",{className:"px-3 py-3",children:(0,t.jsx)("h3",{className:"font-bold text-[#000000] text-[16px] text-center",children:e.name})}),(0,t.jsx)("div",{className:"h-px opacity-80 bg-[#F98370] mx-3"}),(0,t.jsxs)("div",{className:"flex justify-between items-center text-xs px-3 py-3",children:[(0,t.jsx)("span",{className:"bg-[#FFEBEB] border-[#FFA4A4] text-[#000000] px-3 py-1.5 rounded-md font-medium text-[12px]",children:e.category}),(0,t.jsx)("span",{className:"bg-[#FFEBEB] border-[#FFA4A4] text-[#000000] px-3 py-1.5 rounded-md font-medium text-[12px]",children:a(e.storeType)})]})]})};var r=e.i(9987);e.s(["default",0,()=>{let[e,n]=(0,a.useState)(""),[l,i]=(0,a.useState)(["online","in-store","online-in-store"]),[o,c]=(0,a.useState)([]),[d,m]=(0,a.useState)(!1),u=[{id:1,name:"First stop",image:"/merchantlogo7.svg",category:"Electronics",storeType:"online"},{id:2,name:"Iconnect",image:"/merchantlogo8.svg",category:"Electronics",storeType:"in-store"}],x=e=>{switch(e){case"online":return"Online";case"in-store":return"In-store";case"online-in-store":return"In-Online";default:return e}},h=(0,a.useMemo)(()=>u.filter(t=>{let n=t.name.toLowerCase().includes(e.toLowerCase())||t.category.toLowerCase().includes(e.toLowerCase()),a=0===l.length||l.includes(t.storeType),s=0===o.length||o.includes(t.category);return n&&a&&s}),[e,l,o]),p=d?h:h.slice(0,8);return(0,t.jsx)("section",{className:"min-h-screen  py-12",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"text-center mb-8",children:[(0,t.jsx)(r.default,{title:"Meet Our Partners",titleTag:"h2",variant:"normal",titleSize:"text-[clamp(1.75rem,1.4rem+1.8vw,2.5rem)]",highlight:"Partners"}),(0,t.jsx)("p",{className:"text-gray-500 text-lg",children:"Discover Where You Can use Tamanna. Explore Our Partner Merchants."})]}),(0,t.jsx)("div",{className:"max-w-md mx-auto mb-8",children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("img",{src:"/searchicon.svg",className:"absolute left-4 top-1/2 transform -translate-y-1/2 text-[#C1C1C1] w-5 h-5"}),(0,t.jsx)("input",{type:"text",placeholder:"Search...",value:e,onCh
6ange:e=>n(e.target.value),className:"w-full pl-12 pr-4 py-5 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-red-500 focus:border-transparent"})]})}),(0,t.jsx)("div",{className:"flex justify-center gap-4 flex-wrap",children:[{value:"online",label:"Online"},{value:"in-store",label:"In-store"},{value:"online-in-store",label:"Online & In-store"}].map(e=>(0,t.jsx)("button",{onClick:()=>{var t;return t=e.value,void i(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t])},className:`px-6 py-3 rounded-lg font-medium text-[18px] cursor-pointer
7    border border-[#E5E7EB]
8    transition-all duration-500 ease-in-out
9    ${l.includes(e.value)?"bg-white text-[#364153] btn-gradient-hover":"bg-[#FF3333] text-white border-[#FF3333]"}
10  `,children:e.label},e.value))}),(0,t.jsx)("div",{className:"px-1 border border-[#000000] w-[60%] md:w-[50%] lg:w-[36%] m-5 mx-auto opacity-20"}),(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-3 mb-12",children:["All","Lifestyle","Electronics","Fashion & Accessories","Travel & Tourism","Automotive Services","Pharmacy","Healthcare","Supermarket","Sports & Fitness","Luxury","Fitness equipment"].map(e=>{let n="All"===e?0===o.length:o.includes(e);return(0,t.jsx)("button",{onClick:()=>{"All"===e?c([]):c(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])},className:`px-5 py-2 rounded-lg font-medium  transition-all duration-500 ease-in-out cursor-pointer ${n?"bg-[#FF3333] text-[#ffffff] shadow-md":"bg-[#FFFFFF] text-[#364153] btn-gradient-hover border border-[#E5E7EB]"}`,children:e},e)})}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 mb-8",children:p.map(e=>(0,t.jsx)(s,{merchant:e,getStoreTypeLabel:x},e.id))}),h.length>8&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)("button",{onClick:()=>m(!d),className:"bg-[#FF3333] cursor-pointer text-white font-semibold px-8 py-3 rounded-lg transition-colors shadow-md",children:d?"Show Less":"See All"})}),0===h.length&&(0,t.jsx)("div",{className:"text-center py-12",children:(0,t.jsx)("p",{className:"text-gray-500 text-lg",children:"No merchants found matching your filters."})})]})})}],16693)}]);

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.