PageSourceSearch

https://readdy.ai/_next/static/chunks/8002-010dd6f408b211b6.js?dpl=dpl_Ao9eoDQ7FGyQMxq1iHQDAXbijMWZ

js readdy.ai collected 2026-10-03 20:58:46 UTC 49,405 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4677,8002],{7188:(e,t,s)=>{"use strict";s.d(t,{V:()=>o});var l=s(38993),r=s(3189),a=s(44384),i=s(65679),n=s.n(i);let o=r.forwardRef((e,t)=>{let{children:s,className:i,wrapperClassName:o,fontFamily:c="var(--font-manrope), sans-serif",style:d,...x}=e,m=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=m.current;if(!e)return;let t=e.querySelectorAll(".".concat(n().particle)),s=(e,t)=>Math.floor(Math.random()*(t-e+1)+e);t.forEach(e=>{let t=Math.random()>.5?-1*s(300,800):s(300,800),l=Math.random()>.5?-1*s(300,800):s(300,800);e.style.setProperty("--x",String(s(20,80))),e.style.setProperty("--y",String(s(20,80))),e.style.setProperty("--duration",String(s(6,20))),e.style.setProperty("--delay",String(s(1,10))),e.style.setProperty("--alpha",String(s(40,90)/100)),e.style.setProperty("--origin-x","".concat(t,"%")),e.style.setProperty("--origin-y","".concat(l,"%")),e.style.setProperty("--size",String(s(40,90)/100))})},[]),(0,l.jsx)("div",{className:(0,a.cn)(n().sparkleButton,o),children:(0,l.jsxs)("button",{ref:t,className:(0,a.cn)(n().button,i),style:{fontFamily:c,...d},...x,children:[(0,l.jsx)("span",{className:n().spark}),(0,l.jsx)("span",{className:n().backdrop}),(0,l.jsxs)("svg",{className:(0,a.cn)(n().sparkle,"sparkle-button-icon"),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,l.jsx)("path",{d:"M14.187 8.096L15 5.25L15.813 8.096C16.0231 8.83114 16.4171 9.50062 16.9577 10.0413C17.4984 10.5819 18.1679 10.9759 18.903 11.186L21.75 12L18.904 12.813C18.1689 13.0231 17.4994 13.4171 16.9587 13.9577C16.4181 14.4984 16.0241 15.1679 15.814 15.903L15 18.75L14.187 15.904C13.9769 15.1689 13.5829 14.4994 13.0423 13.9587C12.5016 13.4181 11.8321 13.0241 11.097 12.814L8.25 12L11.096 11.187C11.8311 10.9769 12.5006 10.5829 13.0413 10.0423C13.5819 9.50162 13.9759 8.83214 14.186 8.097L14.187 8.096Z",fill:"black",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M6 14.25L5.741 15.285C5.59267 15.8785 5.28579 16.4206 4.85319 16.8532C4.42059 17.2858 3.87853 17.5927 3.285 17.741L2.25 18L3.285 18.259C3.87853 18.4073 4.42059 18.7142 4.85319 19.1468C5.28579 19.5794 5.59267 20.1215 5.741 20.715L6 21.75L6.259 20.715C6.40725 20.1216 6.71398 19.5796 7.14639 19.147C7.5788 18.7144 8.12065 18.4075 8.714 18.259L9.75 18L8.714 17.741C8.12065 17.5925 7.5788 17.2856 7.14639 16.853C6.71398 16.4204 6.40725 15.8784 6.259 15.285L6 14.25Z",fill:"black",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M6.5 4L6.303 4.5915C6.24777 4.75718 6.15472 4.90774 6.03123 5.03123C5.90774 5.15472 5.75718 5.24777 5.5915 5.303L5 5.5L5.5915 5.697C5.75718 5.75223 5.90774 5.84528 6.03123 5.96877C6.15472 6.09226 6.24777 6.24282 6.303 6.4085L6.5 7L6.697 6.4085C6.75223 6.24282 6.84528 6.09226 6.96877 5.96877C7.09226 5.84528 7.24282 5.75223 7.4085 5.697L8 5.5L7.4085 5.303C7.24282 5.24777 7.09226 5.15472 6.96877 5.03123C6.84528 4.90774 6.75223 4.75718 6.697 4.5915L6.5 4Z",fill:"black",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,l.jsxs)("span",{className:(0,a.cn)(n().content,"sparkle-button-content"),children:[(0,l.jsx)("span",{className:(0,a.cn)(n().text,"sparkle-button-text"),children:s}),(0,l.jsx)("i",{className:(0,a.cn)("ri-arrow-right-line",n().arrow)})]})]})})});o.displayName="SparkleButton"},14677:(e,t,s)=>{"use strict";s.d(t,{CTASection:()=>i,CTASectionButton:()=>m,CTASectionDescription:()=>u,CTASectionTitle:()=>f,default:()=>g});var l=s(38993),r=s(88823),a=s(44384);function i(e){let{children:t,containerClassName:s}=e;return(0,l.jsx)("div",{className:"relative flex flex-col items-center justify-center py-16 sm:py-24 md:py-32 overflow-hidden","data-aos":"fade-up","data-aos-offset":"200",children:(0,l.jsx)("div",{className:(0,a.cn)("relative z-10 max-w-7xl mx-auto text-center px-6",s),children:t})})}var n=s(7188),o=s(22290),c=s(30808),d=s(73661),x=s(50903);function m(e){let{children:t,action:s="signup",href:r,cookieLanguage:i,className:m}=e,{displayFont:u}=(0,o.O)();return(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(n.V,{onClick:()=>{let e=null!=r?r:"signin"===s?(0,d.Eu)():(0,d.KC)();(0,c.UY)(i),(0,x.Br)(e,"_blank",void 0,r?{preserveQuery:!1}:void 0)},fontFamily:u,className:(0,a.cn)("px-8 sm:px-10 py-3 sm:py-4 text-base font-semibold",m),children:t})})}function u(e){let{children:t,className:s}=e,{textFont:r}=(0,o.O)();return(0,l.jsx)("p",{className:(0,a.cn)("text-base lg:text-xl font-normal text-[#0B0C3B]/80 lg:pt-4 pb-4 lg:pb-12 mb-8 max-w-4xl mx-auto leading-relaxed",s),style:{fontFamily:r},children:t})}var p=s(3189),h=s(52714);function f(e){let{children:t,className:s}=e,{displayFont:r}=(0,o.O)(),i=(0,p.useRef)(null),[n,c]=(0,p.useState)(!1);return(0,h.qK)(()=>{(0,a.E)(i,c)}),(0,l.jsx)("h2",{ref:i,className:(0,a.cn)("inline-block text-3xl lg:text-[70px] font-semibold mb-3 bg-clip-text text-transparent leading-tight tracking-[-0.03em] whitespace-pre-line",n?"bg-[size:100%_1.3em] bg-[position:0_95%] bg-[radial-gradient(78%_48%_at_50%_87%,_#6F40CD_0%,_#0B0C3B_100%)]":"bg-[size:100%_100%] bg-[radial-gradient(78%_48%_at_50%_87%,_#6F40CD_0%,_#0B0C3B_100%)]",s),style:{fontFamily:r},children:t})}function g(e){let{action:t,containerClassName:s,href:a,cookieLanguage:n}=e,o=(0,r.c)();return(0,l.jsxs)(i,{containerClassName:s,children:[(0,l.jsx)(f,{children:o("home.cta.title")}),(0,l.jsx)(u,{children:o("home.cta.description")}),(0,l.jsx)(m,{action:t,href:a,cookieLanguage:n,children:o("home.cta.button")})]})}},16779:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l=(0,s(45284).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},18041:(e,t,s)=>{Promise.resolve().then(s.bind(s,84592)),Promise.resolve().then(s.bind(s,73420)),Promise.resolve().then(s.bind(s,12834)),Promise.resolve().then(s.bind(s,21763)),Promise.resolve().then(s.bind(s,25424)),Promise.resolve().then(s.bind(s,68755))},19898:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});let l=(0,s(45284).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},25424:(e,t,s)=>{"use strict";s.d(t,{default:()=>q});var l=s(38993),r=s(3189),a=s(57570),i=s(28179),n=s(29056),o=s(22290);function c(e){let{title:t,description:s,as:r="h2"}=e,{displayFont:a,textFont:i}=(0,o.O)();return(0,l.jsxs)("div",{className:"max-w-7xl mx-auto text-center",children:[(0,l.jsx)(r,{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-[#0B0C3B] mb-4 md:mb-6 !leading-tight tracking-[-0.02em]",style:{fontFamily:a},children:t}),(0,l.jsx)("p",{className:"text-sm sm:text-base text-[#0B0C3B]/70 max-w-[850px] mx-auto leading-relaxed",style:{fontFamily:i},children:s})]})}function d(e){let{data:t,as:s="h1"}=e;return(0,l.jsx)("section",{className:"pt-28 md:pt-32 pb-8 md:pb-24 px-4 md:px-8",children:(0,l.jsx)(c,{title:t.title,de
1scription:t.description,as:s})})}var x=s(8262),m=s(76897),u=s(44384);function p(e){let{text:t,images:s,disableHover:r=!1}=e,a="absolute -right-4 -top-5 z-40 h-8 w-6 hidden md:block",i="relative duration-500 delay-100 shadow-none group-hover:shadow-xl scale-0 group-hover:scale-100 opacity-0 group-hover:opacity-100 group-hover:w-full group-hover:h-full overflow-hidden transition-all rounded-sm";return(0,l.jsxs)("div",{className:(0,u.cn)("relative h-fit w-fit overflow-visible",!r&&"group"),children:[(0,l.jsx)("p",{className:(0,u.cn)("text-base font-black text-foreground transition-all duration-500",!r&&"md:group-hover:opacity-40"),children:t}),(0,l.jsx)("div",{className:(0,u.cn)(a,"rotate-0 transition-all delay-150 duration-500 group-hover:-rotate-2"),children:(0,l.jsx)("div",{className:i,children:(0,l.jsx)(m.default,{alt:s[1].alt,src:s[1].src,fill:!0,sizes:"24px",className:"h-full w-full object-cover"})})}),(0,l.jsx)("div",{className:(0,u.cn)(a,"translate-x-0 translate-y-0 rotate-0 transition-all delay-150 duration-500 group-hover:translate-x-2 group-hover:translate-y-2 group-hover:rotate-6"),children:(0,l.jsx)("div",{className:(0,u.cn)(i,"duration-200"),children:(0,l.jsx)(m.default,{alt:s[0].alt,src:s[0].src,fill:!0,sizes:"24px",className:"h-full w-full object-cover"})})})]})}function h(e){let{categories:t,activeCategory:s,buildCategoryHref:a}=e,{displayFont:i}=(0,o.O)(),[n,c]=(0,r.useState)({left:0,width:0}),d=(0,r.useRef)({}),m=(0,r.useRef)(null),u=(0,r.useCallback)(()=>{let e=d.current[s];e&&c({left:e.offsetLeft,width:e.offsetWidth})},[s]);return(0,r.useEffect)(()=>{u()},[u]),(0,r.useEffect)(()=>{let e=()=>u();window.addEventListener("resize",e),document.fonts&&document.fonts.ready.then(()=>{u()});let t=setTimeout(u,100);return()=>{window.removeEventListener("resize",e),clearTimeout(t)}},[u]),(0,l.jsx)("div",{className:"relative mb-8 md:mb-12 px-4 md:px-8",children:(0,l.jsx)("div",{className:"max-w-7xl h-full mx-auto overflow-x-auto scrollbar-hide",children:(0,l.jsxs)("div",{ref:m,className:"relative inline-flex gap-1 md:gap-2 min-w-max",children:[t.map(e=>(0,l.jsx)(x.PreservedLink,{href:a(e.id),ref:t=>{d.current[e.id]=t},"aria-current":s===e.id?"page":void 0,className:"relative pt-6 pb-2.5 md:pb-4 px-3 md:px-6 text-xs md:text-base font-medium transition-all whitespace-nowrap cursor-pointer ".concat(s===e.id?"text-[#0B0C3B]":"text-gray-500 hover:text-[#0B0C3B]"),style:{fontFamily:i},children:(0,l.jsx)(p,{text:e.name,images:e.revealImages,disableHover:s===e.id})},e.id)),(0,l.jsx)("div",{className:"absolute bottom-0 h-0.5 bg-[#0B0C3B]",style:{left:"".concat(n.left,"px"),width:"".concat(n.width,"px")}})]})})})}function f(e){let{template:t}=e,{displayFont:s}=(0,o.O)(),[a,i]=(0,r.useState)(!1),[n,c]=(0,r.useState)(!1),d=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=d.current;if(e){if(a)return void e.play().catch(()=>{});e.pause(),e.currentTime=0,c(!1)}},[a]);let u=!!t.coverVideoUrl,p=u&&a&&n;return(0,l.jsxs)("div",{className:"group cursor-pointer",onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[(0,l.jsxs)(x.PreservedLink,{href:t.link,className:"relative aspect-square rounded-xl overflow-hidden bg-gray-100 mb-3 border border-gray-200 block","aria-label":t.cardTitle,children:[(0,l.jsx)(m.default,{src:t.image,alt:t.cardTitle,fill:!0,sizes:"(max-width: 1024px) 100vw, 25vw",className:"w-full h-full object-cover transition-all duration-300 ".concat(p?"opacity-0 scale-105":a?"opacity-100 scale-105":"opacity-100 scale-100"),unoptimized:!0}),u&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("video",{ref:d,src:t.coverVideoUrl,muted:!0,loop:!0,playsInline:!0,preload:"none",onCanPlay:()=>c(!0),className:"absolute inset-0 w-full h-full object-cover transition-opacity duration-300 ".concat(p?"opacity-100":"opacity-0")}),a&&!n&&(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/10",children:(0,l.jsx)("div",{className:"w-8 h-8 border-2 border-white/60 border-t-white rounded-full animate-spin"})})]}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/5 transition-opacity duration-300 ".concat(a?"opacity-100":"opacity-0")})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"text-sm md:text-base font-medium text-[#0B0C3B] group-hover:text-[#6F40CD] transition-colors duration-300 truncate max-w-[calc(100%-28px)]",style:{fontFamily:s},children:t.cardTitle}),(0,l.jsx)("div",{className:"flex items-center justify-center w-6 h-6 flex-shrink-0 transition-all duration-300 ".concat(a?"translate-x-1":""),children:(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-[#0B0C3B] group-hover:text-[#6F40CD] transition-colors duration-300",children:(0,l.jsx)("path",{d:"M3.33334 8H12.6667M12.6667 8L8.66668 4M12.6667 8L8.66668 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]})}function g(e){let{templates:t,loading:s}=e;return(0,l.jsx)("div",{className:"px-4 md:px-8 mb-8 md:mb-12",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,l.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-x-4 gap-y-6 md:gap-x-6 md:gap-y-10",children:(null!=t?t:[]).map(e=>(0,l.jsx)(f,{template:e},e.id))})})})}var b=s(98561),w=s.n(b);s(40956);var y=s(73645);let v={REAL_ESTATE:"real-estate",BUSINESS:"business-website",ECOMMERCE:"e-commerce",PORTFOLIO:"portfolio",RESTAURANT:"restaurant-website",TRAVEL:"travel",EDUCATION:"education"},j={PORTFOLIO_CV:"portfolio & cv",FOOD_RESTAURANTS:"food & restaurants",REAL_ESTATE_HOME:"real estate & home services",TRAVEL_ACTIVITIES:"travel & activities",TRAVEL_TOURISM:"travel & tourism",EDUCATION:"education",PROFESSIONAL_SERVICES:"professional services",ECOMMERCE:"e-commerce"};j.PORTFOLIO_CV,v.PORTFOLIO,j.FOOD_RESTAURANTS,v.RESTAURANT,j.REAL_ESTATE_HOME,v.REAL_ESTATE,j.TRAVEL_ACTIVITIES,v.TRAVEL,j.TRAVEL_TOURISM,v.TRAVEL,j.EDUCATION,v.EDUCATION,j.PROFESSIONAL_SERVICES,v.BUSINESS,j.ECOMMERCE,v.ECOMMERCE;let N=[{url:"/site-static/ai-website-builder/3d-printing-technology.webp",href:"/website-template/ai-builder/3d-printing-technology",title:"3D Printing Technology"},{url:"/site-static/ai-website-builder/cloud-kitchen.webp",href:"/website-template/ai-builder/Cloud-Kitchen-Takeaway-Only-Kitchen",t
1itle:"Cloud Kitchen"},{url:"/site-static/ai-website-builder/green-food-processing.webp",href:"/website-template/ai-builder/Green-Food-Processing-Packaging",title:"Green Food Processing"},{url:"/site-static/ai-website-builder/stellar-warfare-game.webp",href:"/website-template/ai-builder/Stellar-Warfare-Interstellar-Exploration-and-Combat-Game",title:"Stellar Warfare Game"},{url:"/site-static/ai-website-builder/humanoid-robot-tech.webp",href:"/website-template/ai-builder/Humanoid-Robot-Tech",title:"Humanoid Robot Tech"},{url:"/site-static/ai-website-builder/weather-climate-game.webp",href:"/website-template/ai-builder/in-game-weather-and-climate-control-games",title:"Weather & Climate Game"},{url:"/site-static/ai-website-builder/loyalty-program.webp",href:"/website-template/ai-builder/Customer-Loyalty-Program-Development",title:"Loyalty Program"}];function k(e,t){return null==e?void 0:e.find(e=>e.id===t)}function C(e,t,s){let l=(0,y.MF)(e,"/website-templates");return"all"===t?l:s&&"all"!==s?"".concat(l,"/").concat(t,"/").concat(s):"".concat(l,"/").concat(t)}function F(e){let{subCategories:t,activeSubCategory:s,activeCategory:r,locale:a}=e,{displayFont:i}=(0,o.O)();return(0,l.jsx)("div",{className:"space-y-2",children:t.map(e=>{let t=s===e.id,n="all"!==e.id&&"number"==typeof e.count;return(0,l.jsxs)(x.PreservedLink,{href:C(a,r,e.id),className:"text-left px-4 py-2.5 rounded-full text-sm md:text-base font-medium transition-all duration-300 cursor-pointer flex w-fit items-center gap-2 ".concat(t?"bg-[#F4F0FF] text-[#0B0C3B] border border-[#0B0C3B]":"bg-white text-[#0B0C3B]/80 hover:bg-gray-100 border border-gray-200"),style:{fontFamily:i},children:[(0,l.jsx)("span",{children:e.name}),n&&(0,l.jsx)("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full text-sm text-[#0B0C3B]/60 ".concat(t?"bg-white":"bg-[#E8E8E8]"),style:{fontFamily:i,fontWeight:"normal"},children:e.count})]},e.id)})})}Date.parse("2026-06-15T00:00:00+08:00");var L=s(88823);function S(e){let{templates:t,subCategories:s,activeSubCategory:r,activeCategory:a,pagination:i,loading:n,locale:c}=e,{displayFont:d}=(0,o.O)(),x=[{id:"all",name:(0,L.c)()("websiteTemplates.all")},...s];return(0,l.jsxs)("div",{className:"px-4 md:px-8 mb-8 md:mb-12",children:[(0,l.jsxs)("div",{className:"max-w-7xl mx-auto",children:[(0,l.jsx)("div",{className:"md:hidden mb-4 -mx-4 px-4 overflow-x-auto scrollbar-hide",children:(0,l.jsx)("div",{className:"flex gap-2 min-w-max pb-2",children:x.map(e=>{let t=r===e.id,s="all"!==e.id&&"number"==typeof e.count;return(0,l.jsxs)(w(),{href:C(c,a,e.id),className:"flex-shrink-0 px-3 py-2 rounded-full text-xs font-medium transition-all duration-300 cursor-pointer inline-flex items-center gap-1.5 ".concat(t?"bg-[#F4F0FF] text-[#0B0C3B] border border-[#0B0C3B]":"bg-white text-[#0B0C3B]/80 border border-gray-200"),style:{fontFamily:d},children:[(0,l.jsx)("span",{children:e.name}),s&&(0,l.jsx)("span",{className:"inline-flex h-5 w-5 items-center justify-center rounded-full text-xs text-[#0B0C3B]/60 ".concat(t?"bg-white":"bg-[#E8E8E8]"),style:{fontFamily:d,fontWeight:"normal"},children:e.count})]},e.id)})})}),(0,l.jsxs)("div",{className:"flex gap-6 lg:gap-8",children:[(0,l.jsx)("div",{className:"hidden md:block flex-shrink-0",children:(0,l.jsx)(F,{subCategories:x,activeSubCategory:r,activeCategory:a,locale:c})}),(0,l.jsx)("div",{className:"flex-1",children:(0,l.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-3 gap-x-3 gap-y-6 md:gap-x-6 md:gap-y-10",children:t.map(e=>(0,l.jsx)(f,{template:e},e.id))})})]})]}),i&&(0,l.jsx)("div",{className:"w-full mt-8 md:mt-12 flex justify-center",children:i})]})}var B=s(35270);function E(e){let{content:t,as:s="h2"}=e;return(0,l.jsx)("section",{className:"pt-16 pb-8 md:pb-24 px-4 md:px-8",children:(0,l.jsx)(c,{title:t.subIntroTitle,description:t.subIntroDescription,as:s})})}function T(e){let{locale:t,content:s}=e,{displayFont:a,textFont:i}=(0,o.O)(),n=(0,L.c)(),[c,d]=(0,r.useState)(0);return(0,l.jsx)("section",{className:"py-16 md:py-24 bg-[#F9FAFB]",children:(0,l.jsxs)("div",{className:"max-w-4xl mx-auto px-4 md:px-8",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-[#0B0C3B] text-center mb-12 md:mb-16 leading-tight tracking-[-0.02em]",style:{fontFamily:a},children:n("websiteTemplates.faqTitle")}),(0,l.jsx)("div",{className:"space-y-0",children:s.faqs.map((e,t)=>{let s=c===t;return(0,l.jsxs)("div",{className:"border-b border-gray-300 last:border-b-0",children:[(0,l.jsxs)("button",{onClick:()=>{d(c===t?null:t)},className:"w-full py-5 md:py-6 flex items-center justify-between transition-all duration-300 cursor-pointer group text-left gap-4",children:[(0,l.jsx)("h3",{className:"text-base md:text-lg lg:text-xl font-semibold transition-colors duration-300 ".concat(s?"text-[#6F40CD]":"text-[#0B0C3B] group-hover:text-[#6F40CD]"),style:{fontFamily:a},children:e.question}),(0,l.jsx)("span",{className:"flex-shrink-0 transition-transform duration-300 ".concat(s?"rotate-180":""),children:(0,l.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition-colors duration-300 ".concat(s?"text-[#6F40CD]":"text-gray-400 group-hover:text-[#6F40CD]"),children:(0,l.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),(0,l.jsx)("div",{className:"overflow-hidden transition-all duration-500 ease-in-out ".concat(s?"opacity-100":"opacity-0"),style:{maxHeight:s?"500px":"0px"},children:(0,l.jsx)("div",{className:"pb-6",children:(0,l.jsx)("p",{className:"text-sm md:text-base text-[#0B0C3B]/70 leading-relaxed",style:{fontFamily:i},children:e.answer})})})]},t)})})]})})}let _=(0,s(45284).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var A=s(19898),M=s(16779);let R=["en"];function I(e){let{locale:t}=e,{displayFont:s}=(0,o.O)(),a=(0,r.useRef)(null);if(!R.includes(t))return null;let i=e=>{a.current&&a.current.scrollBy({left:"left"===e?-340:340,behavior:"smooth"})};return(0,l.jsx)("section",{className:"py-12 md:py-16 bg-white",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,l.jsx)("div",{className:"text-center mb-8",children:(0,l.jsx)("h3",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-[#0B0C3B] mb-12 md:mb-16 text-center !leading-tight tracking-[-0.03em]",style:{fontFamily:s},children:"Explore More Website Templates"})}),(0,l.jsx)("div",{ref:a,className:"flex gap-4 md:gap-6 overflow-x-auto scrollbar-hide pb-4",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:N.map(e=>(0,l.jsxs)(w(),{href:e.href,className:"group flex-shrink-0 w-[200px] sm:w-[240px] md:w-[280px] lg:w-[320px]",children:[(0,l.jsxs)("div",{className:"relative aspect-[4/3] rounded-xl overflow-hidden bg-gray-100 mb-3 border border-gray-200 transition-all duration-300",children:[(0,l.jsx)(m.default,{src:e.url,alt:e.title,fill:!0,sizes:"(max-width: 1024px) 100vw, 320px",className:"w-full h-full object-contain transition-transform duration-500 group-hover:scale-105",loading:"lazy",unoptimized:!0}),(0,l.jsx)("div",{className:"absolute inset-0 bg-black/0 group-hover:bg-black/5 transition-colors duration-300"}),(0,l.jsx)("div",{className:"absolute top-3 right-3 w-8 h-8 bg-white rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-y-1 group-hover:translate-y-0 shadow-sm",children:(0,l.jsx)(_,{className:"w-4 h-4 text-gray-900"})})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"text-sm md:text-base font-medium text-[#0B0C3B] group-hover:text-[#6F40CD] transition-colors duration-300 truncate max-w-[calc(100%-28px)]",style:{fontFamily:s},children:e.title}),(0,l.jsx)("div",{className:"flex items-center justify-center w-6 h-6 flex-shrink-0 transition-all duration-300 group-hover:translate-x-1",children:(0,l.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-[#0B0C3B] group-hover:text-[#6F40CD] transition-colors duration-300",children:(0,l.jsx)("path",{d:"M3.33334 8H12.6667M12.6667 8L8.66668 4M12.6667 8L8.66668 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]},e.href))}),(0,l.jsxs)("div",{className:"flex items-center justify-end gap-2 mt-6",children:[(0,l.jsx)("button",{onClick:()=>i("left"),className:"w-10 h-10 rounded-full border border-gray-200 flex items-center justify-center hover:bg-gray-50 transition-colors","aria-label":"Previous",children:(0,l.jsx)(A.A,{className:"w-5 h-5 text-gray-600"})}),(0,l.jsx)("button",{onClick:()=>i("right"),className:"w-10 h-10 rounded-full border border-gray-200 flex items-center justify-center hover:bg-gray-50 transition-colors","aria-label":"Next",children:(0,l.jsx)(M.A,{className:"w-5 h-5 text-gray-600"})})]})]})})}var O=s(14677);function D(e){return"industriesFeatures"in e&&"aiFeaturesFeatures"in e}
1function P(e){let{content:t}=e,{displayFont:s,textFont:r}=(0,o.O)();return(0,l.jsx)("section",{className:"flex flex-col items-center gap-[72px] w-full px-6 md:px-12 lg:px-[144px] py-16 lg:py-[128px] rounded-t-[60px] z-[2]",style:{background:"linear-gradient(180deg, rgba(254, 253, 245, 0.2117) 0%, #FEFDF5 100%), linear-gradient(180deg, rgba(254, 253, 245, 0) 0%, #FEFDF5 100%)"},children:(0,l.jsxs)("div",{className:"w-full max-auto",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-[#0B0C3B] text-center mb-12 md:mb-16 !leading-tight tracking-[-0.03em]",style:{fontFamily:s},children:t.industriesTitle}),(0,l.jsxs)("div",{className:"flex flex-col desktop:flex-row gap-10 desktop:gap-24 justify-center items-center",children:[(t.industriesSubtitle||t.industriesList||t.aiFeaturesFooter)&&(0,l.jsxs)("div",{className:"max-w-2xl pt-2 order-2 desktop:order-1",children:[t.industriesSubtitle&&(0,l.jsx)("h3",{className:"text-lg md:text-[28px] text-[#0B0C3B] mb-6",style:{fontFamily:s},children:t.industriesSubtitle}),t.industriesList&&(0,l.jsx)("ul",{className:"list-disc marker:text-base pl-5 space-y-2 mb-8",children:t.industriesList.map((e,t)=>(0,l.jsx)("li",{className:"text-sm md:text-[20px] pl-2 text-[#0B0C3B]/80 leading-8",children:e},t))}),t.industriesFooter&&(0,l.jsx)("p",{className:"text-sm md:text-[20px] text-[#0B0C3B]/70 leading-relaxed",style:{fontFamily:r},children:t.industriesFooter})]}),(0,l.jsx)("div",{className:"flex items-center justify-center w-full lg:w-auto order-1 desktop:order-2",children:(0,l.jsxs)("div",{className:(0,u.cn)("relative rounded-3xl w-full min-h-[300px] md:min-h-[403px] pt-6 md:pt-14 px-4 md:px-10 pb-20 border border-[#929292] shadow-sm",t.industriesSubtitle||t.industriesList||t.aiFeaturesFooter?"md:min-w-[400px] max-w-[454px]":"max-w-[800px]"),children:[(0,l.jsx)("p",{className:"text-sm md:text-[20px] italic text-[#7B94F4] leading-relaxed relative z-10",style:{fontFamily:r,textDecorationSkipInk:"none"},children:t.industriesHighlightText}),(0,l.jsx)("div",{className:"absolute right-6 bottom-6 md:right-10 md:bottom-10 z-10 pointer-events-none",children:(0,l.jsx)(m.default,{src:"/site-static/website-templates/logo-black.webp",alt:"logo-black",width:59,height:59})})]})})]})]})})}function U(e){let{content:t}=e,{displayFont:s,textFont:r}=(0,o.O)();return(0,l.jsx)("section",{className:"flex flex-col items-center bg-[#2E2A7F] gap-[72px] w-full px-6 md:px-12 lg:px-[144px] py-16 lg:py-[128px] z-[2]",children:(0,l.jsxs)("div",{className:"w-full mx-auto",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] max-w-6xl mx-auto font-semibold text-white text-center mb-12 md:mb-16 !leading-tight tracking-[-0.03em]",style:{fontFamily:s},children:t.aiFeaturesTitle}),(0,l.jsxs)("div",{className:"flex flex-col desktop:flex-row gap-10 desktop:gap-24 justify-center items-center",children:[(0,l.jsx)("div",{className:"flex items-center justify-center w-full lg:w-auto order-1",children:(0,l.jsxs)("div",{className:(0,u.cn)("relative rounded-3xl w-full min-h-[300px] md:min-h-[403px] pt-6 md:pt-14 px-4 md:px-10 pb-20 border border-[#FFBCF9] shadow-sm",t.aiFeaturesSubTitle||t.aiFeaturesList||t.aiFeaturesFooter?"md:min-w-[400px] max-w-[503px]":"max-w-[800px]"),children:[(0,l.jsx)("p",{className:"text-sm md:text-[20px] italic text-[#FFBCF9] leading-relaxed relative z-10",style:{fontFamily:r,textDecorationSkipInk:"none"},children:t.aiFeaturesHighlightText}),(0,l.jsx)("div",{className:"absolute right-6 bottom-6 md:right-10 md:bottom-10 z-10 pointer-events-none",children:(0,l.jsx)(m.default,{src:"/site-static/website-templates/logo-white.webp",alt:"logo-black",width:59,height:59})})]})}),(t.aiFeaturesSubTitle||t.aiFeaturesList||t.aiFeaturesFooter)&&(0,l.jsxs)("div",{className:"w-full lg:max-w-[622px] pt-2 order-2",children:[t.aiFeaturesSubTitle&&(0,l.jsx)("h3",{className:"text-lg md:text-[28px] text-white mb-6",style:{fontFamily:s},children:t.aiFeaturesSubTitle}),t.aiFeaturesList&&(0,l.jsx)("ul",{className:"list-disc marker:text-base pl-5 space-y-2 mb-8",children:t.aiFeaturesList.map((e,t)=>(0,l.jsx)("li",{className:"text-sm md:text-[20px] pl-2 text-white leading-8",children:e},t))}),t.aiFeaturesFooter&&(0,l.jsx)("p",{className:"text-sm md:text-[20px] text-white leading-relaxed",style:{fontFamily:r},children:t.aiFeaturesFooter})]})]})]})})}
1function W(e){let{content:t}=e,{displayFont:s,textFont:r}=(0,o.O)(),a=["#CBC2F7","#E8FE94","#FFBCF9"];return(0,l.jsx)("section",{className:"py-16 md:py-32 bg-[#080C19] rounded-b-[60px]",children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto px-4 md:px-8",children:(0,l.jsxs)("div",{className:"grid lg:grid-cols-2 gap-8 lg:gap-16 items-start",children:[(0,l.jsxs)("div",{className:"max-w-[484px]",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-white leading-[1.35] tracking-[-0.02em]",style:{fontFamily:s,lineHeight:"normal"},children:t.stepsTitle}),(0,l.jsx)("p",{className:"text-sm md:text-[20px] mt-6 text-white leading-relaxed",style:{fontFamily:r},children:t.stepsDescription})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-lg md:text-[28px] font-semibold text-white mb-6",style:{fontFamily:s},children:t.stepsSubTitle}),(0,l.jsx)("div",{className:"space-y-2 md:space-y-4",children:t.steps.map((e,t)=>(0,l.jsxs)("div",{className:"flex gap-4 md:gap-6 py-4 rounded-xl",children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("div",{className:"w-10 h-10 md:w-12 md:h-12 rounded-xl flex items-center justify-center text-lg md:text-xl font-semibold border-2",style:{fontFamily:s,color:a[t%a.length],borderColor:a[t%a.length]},children:e.number})}),(0,l.jsx)("div",{children:(0,l.jsxs)("p",{className:"text-sm md:text-[20px] text-white leading-relaxed",style:{fontFamily:r},children:[(0,l.jsx)("span",{className:"font-semibold text-white",style:{fontFamily:s},children:e.title})," ",e.description]})})]},t))}),t.stepsFooter&&(0,l.jsx)("p",{className:"mt-6 text-sm md:text-[20px] text-white leading-relaxed",style:{fontFamily:r},children:t.stepsFooter})]})]})})})}function z(e){let{content:t}=e,s=t.industriesTitle,r=t.industriesFeatures;return(0,l.jsx)("section",{className:"flex flex-col items-center gap-[72px] w-full px-6 md:px-12 lg:px-[144px] py-16 lg:py-[128px] rounded-t-[60px] z-[2]",style:{background:"linear-gradient(180deg, rgba(254, 253, 245, 0.2117) 0%, #FEFDF5 100%), linear-gradient(180deg, rgba(254, 253, 245, 0) 0%, #FEFDF5 100%)"},children:(0,l.jsxs)("div",{className:"w-full max-auto",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-[#0B0C3B] text-center mb-8 sm:mb-12 md:mb-16 !leading-tight tracking-[-0.03em]",style:{fontFamily:"DM Sans, sans-serif"},children:s}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8 sm:gap-12 md:gap-16",children:r.map(e=>(0,l.jsxs)("div",{className:"flex flex-col gap-2 sm:gap-3",children:[(0,l.jsx)("h3",{className:"text-xl sm:text-2xl md:text-[28px] text-[#0B0C3B] mb-3 sm:mb-4 md:mb-6 font-semibold",style:{fontFamily:"DM Sans, sans-serif"},children:e.title}),(0,l.jsx)("p",{className:"text-base sm:text-lg md:text-[20px] text-[#0B0C3B]/80 leading-relaxed sm:leading-7 md:leading-8",children:e.description})]},e.title))})]})})}function V(e){let{content:t}=e,s=t.aiFeaturesTitle,r=t.aiFeaturesFeatures;return(0,l.jsx)("section",{className:"flex flex-col items-center bg-[#2E2A7F] gap-[72px] w-full px-6 md:px-12 lg:px-[144px] py-16 lg:py-[128px] z-[2]",children:(0,l.jsxs)("div",{className:"w-full mx-auto",children:[(0,l.jsx)("h2",{className:"text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-white text-center mb-8 sm:mb-12 md:mb-16 !leading-tight tracking-[-0.03em]",style:{fontFamily:"DM Sans, sans-serif"},children:s}),(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-8 sm:gap-12 md:gap-16",children:r.map(e=>(0,l.jsxs)("div",{className:"flex flex-col gap-2 sm:gap-3",children:[(0,l.jsx)("h3",{className:"text-xl sm:text-2xl md:text-[28px] text-white mb-3 sm:mb-4 md:mb-6 font-semibold",style:{fontFamily:"DM Sans, sans-serif"},children:e.title}),(0,l.jsx)("p",{className:"text-base sm:text-lg md:text-[20px] text-white/80 leading-relaxed sm:leading-7 md:leading-8",children:e.description})]},e.title))})]})})}function H(e){let{content:t}=e,s=t.stepsTitle;t.steps;let r=["#CBC2F7","#E8FE94","#FFBCF9"];return(0,l.jsx)("section",{className:"py-12 sm:py-16 md:py-24 lg:py-32 px-6 sm:px-8 md:px-12 lg:px-16 bg-[#080C19] rounded-b-[40px] sm:rou
1nded-b-[60px]",children:(0,l.jsxs)("div",{className:"max-w-7xl mx-auto flex flex-col lg:flex-row items-start justify-center gap-8 sm:gap-12 lg:gap-16",children:[(0,l.jsx)("h2",{className:"w-full lg:flex-[7] text-2xl sm:text-3xl md:text-4xl lg:text-[44px] font-semibold text-white lg:mb-0 !leading-tight tracking-[-0.03em]",style:{fontFamily:"DM Sans, sans-serif"},children:s}),(0,l.jsx)("div",{className:"w-full lg:flex-[9] space-y-6 sm:space-y-8 md:space-y-10",children:t.steps.map((e,t)=>(0,l.jsxs)("div",{className:"flex gap-3 sm:gap-4 md:gap-6 rounded-xl",children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("div",{className:"w-10 h-10 sm:w-11 sm:h-11 md:w-12 md:h-12 rounded-xl flex items-center justify-center text-lg sm:text-xl md:text-xl font-semibold border-2",style:{fontFamily:"DM Sans, sans-serif",color:r[t%r.length],borderColor:r[t%r.length]},children:e.number})}),(0,l.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4 md:gap-6",children:[(0,l.jsx)("h3",{className:"text-lg sm:text-xl md:text-[20px] text-white font-semibold",style:{fontFamily:"Poppins, sans-serif"},children:e.title}),(0,l.jsx)("p",{className:"text-base sm:text-lg md:text-[20px] text-white/80 leading-relaxed sm:leading-relaxed md:!leading-relaxed",style:{fontFamily:"Poppins, sans-serif"},children:e.description})]})]},t))})]})})}function q(e){let{heroContent:t,templates:s,categories:o,subCategories:c,locale:x}=e,m=(0,a.useParams)().slug,u=(null==m?void 0:m[0])||"all",p=(null==m?void 0:m[1])||"all",[f,b]=(0,r.useState)(u),[w,y]=(0,r.useState)(p),[v,j]=(0,r.useState)(1),N="all"!==f;(0,r.useEffect)(()=>{let e=(null==m?void 0:m[0])||"all",t=(null==m?void 0:m[1])||"all";b(e),y(t),j(1)},[m]);let F=(0,r.useCallback)((e,t)=>C(x,e,t),[x]),L=(0,r.useMemo)(()=>c[f]||[],[f,c]),_=(0,r.useMemo)(()=>{if("all"===f)return L;let e=s.filter(e=>e.category===f).reduce((e,t)=>{let s=t.subCategory||"";return e[s]=(e[s]||0)+1,e},{});return L.map(t=>"all"===t.id?t:{...t,count:e[t.id]||0})},[f,L,s]),A=(0,r.useMemo)(()=>((e,t,s,l)=>{var r,a,i,n;let o;"all"!==l&&(o=null==(i=k(t[s],l))?void 0:i.content);let c=null==(r=k(e,s))?void 0:r.content,d=null==(a=k(e,"all"))?void 0:a.content,x=null!=(n=null!=o?o:c)?n:d;if(!x)throw Error("Website template category content not found.");return x})(o,c,f,w),[o,c,f,w]),M=(0,r.useMemo)(()=>D(A)?{type:"feature-grid",content:A}:{type:"legacy",content:A},[A]),R=(0,r.useMemo)(()=>"ja"===x&&D(A)?A:null,[A,x]),q="all"===f?12:9,$=(0,r.useMemo)(()=>"all"===f?s:s.filter(e=>e.category===f&&("all"===w||e.subCategory===w)),[s,f,w]),Y=(0,r.useMemo)(()=>0===$.length?0:Math.ceil($.length/q),[$.length,q]),G=(0,r.useMemo)(()=>{if(0===$.length)return $;let e=(v-1)*q;return $.slice(e,e+q)},[$,v,q]);(0,r.useEffect)(()=>{0===Y||v<=Y||j(Y)},[v,Y]);let K=e=>{j(e),window.scrollTo({top:200,behavior:"smooth"})};return(0,l.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,l.jsx)(i.default,{fontFamily:"DM Sans, sans-serif",showLanguageSelector:!0}),(0,l.jsx)(d,{data:t,as:"all"===f?"h1":"p"}),(0,l.jsx)(h,{categories:o,activeCategory:f,buildCategoryHref:e=>F(e,"all")}),N&&L.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(S,{locale:x,templates:G,subCategories:_,activeSubCategory:w,activeCategory:f,pagination:(0,l.jsx)(B.A,{currentPage:v,totalPages:Y,onPageChange:K,className:"px-0 md:px-0",innerClassName:"max-w-none"})}),(0,l.jsx)(E,{content:A,isFiltered:N,as:"all"===f?"h2":"h1"})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g,{templates:G}),(0,l.jsx)(B.A,{currentPage:v,totalPages:Y,onPageChange:K})]}),"feature-grid"===M.type?(0,l.jsx)(z,{content:M.content}):(0,l.jsx)(P,{content:M.content}),"feature-grid"===M.type?(0,l.jsx)(V,{content:M.content}):(0,l.jsx)(U,{content:M.content}),"feature-grid"===M.type?(0,l.jsx)(H,{content:M.content}):(0,l.jsx)(W,{content:M.content}),(0,l.jsx)(T,{locale:x,content:A}),(0,l.jsx)(I,{locale:x}),(0,l.jsxs)("div",{className:"bg-gradient-to-b from-[#F9FAFB] to-[#B6B1FF]",children:[R?(0,l.jsxs)(O.CTASection,{children:[(0,l.jsx)(O.CTASectionTitle,{children:R.CTATitle}),(0,l.jsx)(O.CTASectionDescription,{children:R.CTADescription}),(0,l.jsx)(O.CTASectionButton,{children:R.CTABtnText})]}):(0,l.jsx)(O.default,{}),(0,l.jsx)(n.default,{})]})]})}},30808:(e,t,s)=>{"use strict";s.d(t,{I_:()=>i,UY:()=>r,XH:()=>o,f1:()=>n,ip:()=>a});let l="https://readdy.ai/sign-up";function r(e){e&&"undefined"!=typeof document&&(document.cookie="".concat("readdy_language","=").concat(e,"; Path=/; SameSite=Lax; Max-Age=").concat(15552e3))}let a=l,i="en",n=l,o="ja"},35270:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var l=s(38993),r=s(22290);function a(e){let{currentPage:t,totalPages:s,onPageChange:a,className:i="",innerClassName:n=""}=e,{displayFont:o}=(0,r.O)(),c=(()=>{let e=[];
1if(s<=7)return Array.from({length:s},(e,t)=>t+1);let l=Math.max(1,t-2),r=Math.min(s,t+3);for(let t=l;t<=r&&e.length<5;t++)e.push(t);return r<s&&e.push("..."),e})();return s<=1?null:(0,l.jsx)("div",{className:"px-4 md:px-8 pb-16 md:pb-24 ".concat(i).trim(),children:(0,l.jsx)("div",{className:"max-w-7xl mx-auto ".concat(n).trim(),children:(0,l.jsxs)("div",{className:"flex items-center justify-center gap-3 md:gap-10",children:[(0,l.jsx)("button",{onClick:()=>a(1),disabled:1===t,className:"transition-all duration-200 cursor-pointer ".concat(1===t?"text-gray-300 cursor-not-allowed":"text-[#6F40CD] hover:text-[#5A33A8]"),"aria-label":"First page",children:(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M11 14L7 10L11 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M15 14L11 10L15 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,l.jsx)("button",{onClick:()=>a(Math.max(1,t-1)),disabled:1===t,className:"transition-all duration-200 cursor-pointer ".concat(1===t?"text-gray-300 cursor-not-allowed":"text-[#6F40CD] hover:text-[#5A33A8]"),"aria-label":"Previous page",children:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M12 14L8 10L12 6",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,l.jsx)("div",{className:"flex items-center gap-4 md:gap-8",children:c.map((e,s)=>(0,l.jsxs)("button",{onClick:()=>"number"==typeof e&&a(e),disabled:"..."===e,className:"relative text-xs md:text-sm font-medium transition-all duration-200 ".concat(e===t?"text-[#6F40CD]":"..."===e?"text-[#0B0C3B]/80 cursor-default":"text-[#0B0C3B]/80 hover:text-[#6F40CD] cursor-pointer"),style:{fontFamily:o},children:[e,e===t&&(0,l.jsx)("span",{className:"absolute -bottom-1 left-0 right-0 h-0.5 bg-[#6F40CD]"})]},s))}),(0,l.jsx)("button",{onClick:()=>a(Math.min(s,t+1)),disabled:t===s,className:"transition-all duration-200 cursor-pointer ".concat(t===s?"text-gray-300 cursor-not-allowed":"text-[#6F40CD] hover:text-[#5A33A8]"),"aria-label":"Next page",children:(0,l.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M8 6L12 10L8 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,l.jsx)("button",{onClick:()=>a(s),disabled:t===s,className:"transition-all duration-200 cursor-pointer ".concat(t===s?"text-gray-300 cursor-not-allowed":"text-[#6F40CD] hover:text-[#5A33A8]"),"aria-label":"Last page",children:(0,l.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M9 6L13 10L9 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,l.jsx)("path",{d:"M5 6L9 10L5 14",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})})})}},40956:(e,t,s)=>{"use strict";s.d(t,{oW:()=>r.UploadError,kY:()=>a.getImageUrlByFile,vj:()=>l.vj,ki:()=>l.ki});var l=s(28118);s(96803),s(90710),s(43631);var r=s(12834),a=s(73420)},45284:(e,t,s)=>{"use strict";s.d(t,{A:()=>o});var l=s(3189);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter((e,t,s)=>!!e&&""!==e.trim()&&s.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,l.forwardRef)((e,t)=>{let{color:s="currentColor",size:r=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:x,...m}=e;return(0,l.createElement)("svg",{ref:t,...i,width:r,height:r,stroke:s,strokeWidth:o?24*Number(n)/Number(r):n,className:a("lucide",c),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(m)&&{"aria-hidden":"true"},...m},[...x.map(e=>{let[t,s]=e;return(0,l.createElement)(t,s)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let s=(0,l.forwardRef)((s,i)=>{let{className:o,...c}=s;return(0,l.createElement)(n,{ref:i,iconNode:t,className:a("lucide-".concat(r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...c})});return s.displayName=r(e),s}},52714:(e,t,s)=>{"use strict";s.d(t,{iD:()=>d,L4:()=>
1o,hF:()=>x,qK:()=>c.q,n5:()=>n});var l=s(3189),r=s(61413),a=s(70063),i=s(79884);function n(e){let{onVoteSuccess:t,onOpenLoginDialog:s,onOpenVoteLimitDialog:n,onTrackVote:o}=e,{hasAccountInfo:c,isLoading:d,votedWorkIds:x,updateVotedStatus:m}=(0,r.Z)(),u=(0,l.useCallback)(e=>x.has(e),[x]);return{handleVote:(0,l.useCallback)(async e=>{if(!d){if(!c){null==s||s();return}if(x.has(e))return void(0,i.$S)("You've already upvoted this work!");null==o||o(e);try{await (0,a.aW)({id:e}),m(e,!0),null==t||t(e),(0,i.GF)("Upvoted successfully!")}catch(s){let t=(null==s?void 0:s.code)||(null==s?void 0:s.message);"VoteAlreadyExists"===t?((0,i.$S)("You've already upvoted this work!"),m(e,!0)):"VoteOutOfLimit"===t?null==n||n():(0,i.Ni)("Failed to vote, please try again")}}},[d,c,x,m,t,s,n,o]),hasVoted:u,isAuthLoading:d,hasAccountInfo:c}}function o(e){let{hours:t,city:s,storageKey:r="countdown_target_time",eligibilityRefValue:a,onComplete:i}=e,[n,o]=(0,l.useState)({days:0,hours:0,minutes:0,seconds:0}),[c,d]=(0,l.useState)(!1),x=(0,l.useRef)(null),m=(0,l.useRef)(i);return(0,l.useEffect)(()=>{m.current=i},[i]),(0,l.useEffect)(()=>{let e,l=s?"".concat(r,"_").concat(s.toLowerCase().replace(/\s+/g,"_")):r,i=new URLSearchParams(window.location.search);if(a&&i.get("ref")===a)try{localStorage.setItem("readdy_local_promo_eligible","true")}catch(e){console.warn("Failed to persist eligibility flag:",e)}let n=Date.now(),c=null;try{let e=localStorage.getItem(l);e&&(c=parseInt(e,10),isNaN(c)&&(c=null,localStorage.removeItem(l)))}catch(e){console.warn("localStorage not available:",e)}if(c&&c>n)e=c;else{e=n+60*t*6e4;try{localStorage.setItem(l,e.toString())}catch(e){console.warn("Failed to save countdown:",e)}}x.current=e,d(!1);let u=()=>{var e;if(null===x.current)return;let s=Date.now(),r=x.current-s;if(r<=0){m.current&&m.current(),x.current=s+60*t*6e4,r=x.current-s;try{localStorage.setItem(l,x.current.toString())}catch(e){console.warn("Failed to save countdown:",e)}}d(!1),o({days:Math.floor((e=r)/864e5),hours:Math.floor(e%864e5/36e5),minutes:Math.floor(e%36e5/6e4),seconds:Math.floor(e%6e4/1e3)})};u();let p=setInterval(u,1e3);return()=>clearInterval(p)},[s,t,a,r]),{timeLeft:n,isExpired:c}}var c=s(41783);function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2e3,[t,s]=(0,l.useState)(!1);return{copied:t,copy:t=>{t&&(navigator.clipboard.writeText(t),s(!0),setTimeout(()=>s(!1),e))}}}function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"preview",[t,s]=(0,l.useState)(e),[r,a]=(0,l.useState)(""),[i,n]=(0,l.useState)(0),o=(0,l.useCallback)(e=>{e.trim()&&(a(e),s("preview"),n(e=>e+1))},[]),c=(0,l.useCallback)(()=>{a(""),s(e)},[e]);return{outputTab:t,previewSrc:r,previewKey:i,runView:o,setOutputTab:s,clearPreview:c}}s(81510)},65679:e=>{e.exports={sparkleButton:"sparkle-button_sparkleButton__sYmlh",button:"sparkle-button_button__FFERL",spark:"sparkle-button_spark__FLVnr",flip:"sparkle-button_flip__hrt7A",rotate:"sparkle-button_rotate__vYRe8",backdrop:"sparkle-button_backdrop__xLAQ8",sparkle:"sparkle-button_sparkle__YR0M6",bounce:"sparkle-button_bounce__fBTs5",text:"sparkle-button_text__BnWJs",content:"sparkle-button_content__oUY2O",arrow:"sparkle-button_arrow__DLec1"}},68755:(e,t,s)=>{"use strict";s.d(t,{default:()=>m});var l=s(38993),r=s(28179),a=s(29056),i=s(73661),n=s(22290),o=s(73645),c=s(8262),d=s(4135),x=s(68838);function m(e){let{template:t,locale:s,categoryName:m}=e,{displayFont:u,textFont:p}=(0,n.O)(),h=t.description||"Use this template to build your website fast with Readdy AI.",f=async()=>{if((0,d.Kj)({click_source:"official_website",template_id:t.id,templates_name:t.cardTitle,category:t.category,card_title:t.cardTitle}),await (0,x.WR)())window.open("https://readdy.ai/import-project?templateId=".concat(t.id,"&outside=true"),"_blank");else{let e=encodeURIComponent("https://readdy.ai/import-project?templateId=".concat(t.id,"&outside=true")),s=(0,i.Zg)("https://readdy.ai/signin",{redirect_url:e});window.open(s,"_blank")}},g=(0,o.MF)(s,"/website-templates/".concat(t.category));return(0,l.jsxs)("div",{className:"bg-white min-h-screen",children:[(0,l.jsx)(r.default,{fontFamily:"DM Sans, sans-serif",showLanguageSelector:!0}),(0,l.jsxs)("div",{className:"mx-auto px-6 py-2 pt-16 sm:pt-20 md:pt-24",children:[(0,l.jsxs)("nav",{className:"mb-4 text-sm text-gray-500",children:[(0,l.jsx)(c.PreservedLink,{href:(0,o.MF)(s,"/website-templates"),className:"hover:text-gray-700",children:"Website Templates"}),(0,l.jsx)("span",{className:"mx-2",children:"/"}),(0,l.jsx)(c.PreservedLink,{href:g,className:"hover:text-gray-700",children:m}),(0,l.jsx)("span",{className:"mx-2",children:"/"}),(0,l.jsx)("span",{className:"text-gray-900",children:t.cardTitle})]}),(0,l.jsxs)("section",{className:"mb-20 flex flex-col xl:flex-row gap-12",children:[(0,l.jsx)("div",{className:"flex-1 h-[100vh]",children:(0,l.jsx)("div",{className:"bg-gray-100 rounded-2xl overflow-hidden h-[100vh]",children:t.previewUrl?(0,l.jsx)("iframe",{src:t.previewUrl,title:"".concat(t.cardTitle," Preview"),className:"w-full h-full border-0",loading:"lazy",sandbox:"allow-scripts allow-same-origin allow-popups allow-forms"}):(0,l.jsx)("div",{className:"w-full h-full flex items-center justify-center",children:(0,l.jsx)("p",{className:"text-gray-500",children:"Preview not available"})})})}),(0,l.jsxs)("div",{className:"flex flex-col justify-start overflow-auto scrollbar-hide w-full xl:w-[356px]",children:[(0,l.jsx)("h1",{className:"text-2xl md:text-3xl font-bold hover:text-gray-700 cursor-pointer mb-6",style:{fontFamily:u}
1,children:t.cardTitle}),(0,l.jsx)("div",{className:"text-gray-600 text-base leading-relaxed mb-6 block",style:{fontFamily:p},children:h}),(0,l.jsx)("button",{onClick:f,className:"bg-black text-white px-8 py-4 rounded-full font-medium hover:bg-gray-800 transition-colors whitespace-nowrap cursor-pointer",style:{fontFamily:u},children:"Use This Template"})]})]})]}),(0,l.jsx)(a.default,{})]})}},68838:(e,t,s)=>{"use strict";async function l(){try{let e=await fetch("/site-api/auth/session",{credentials:"include",cache:"no-store"});if(!e.ok)return!1;let t=await e.json();return!0===t.isAuthenticated}catch(e){return!1}}s.d(t,{WR:()=>l})},79884:(e,t,s)=>{"use strict";s.d(t,{$S:()=>n,GF:()=>a,Ni:()=>i});var l=s(73535);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{type:s="default",position:r="bottom-center",...a}=t,i={position:r,...a};switch(s){case"success":return l.oR.success(e,i);case"error":return l.oR.error(e,i);case"warning":return l.oR.warning(e,i);case"info":return l.oR.info(e,i);case"loading":return l.oR.loading(e,i);default:return(0,l.oR)(e,i)}},a=(e,t)=>r(e,{...t,type:"success"}),i=(e,t)=>r(e,{...t,type:"error"}),n=(e,t)=>r(e,{...t,type:"info"})},80266:(e,t,s)=>{"use strict";s.d(t,{s:()=>r});class l extends Error{}function r(e,t){let s;if("string"!=typeof e)throw new l("Invalid token specified: must be a string");t||(t={});let r=+(!0!==t.header),a=e.split(".")[r];if("string"!=typeof a)throw new l(`Invalid token specified: missing part #${r+1}`);try{s=function(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw Error("base64 string is not of the correct length")}try{var s;return s=t,decodeURIComponent(atob(s).replace(/(.)/g,(e,t)=>{let s=t.charCodeAt(0).toString(16).toUpperCase();return s.length<2&&(s="0"+s),"%"+s}))}catch(e){return atob(t)}}(a)}catch(e){throw new l(`Invalid token specified: invalid base64 for part #${r+1} (${e.message})`)}try{return JSON.parse(s)}catch(e){throw new l(`Invalid token specified: invalid json for part #${r+1} (${e.message})`)}}l.prototype.name="InvalidTokenError"},81510:(e,t,s)=>{"use strict";s.d(t,{h:()=>r});var l=s(3189);function r(){let{disableMediaQuery:e="(max-width: 799px), (pointer: coarse)",interactiveSelector:t="button, a, input, select, textarea, label"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=(0,l.useRef)(null),r=(0,l.useRef)(null),a=(0,l.useRef)(null),i=(0,l.useRef)({active:!1,pointerId:-1,startX:0,startScrollLeft:0}),[n,o]=(0,l.useState)(!1);return(0,l.useEffect)(()=>()=>{null!==r.current&&window.cancelAnimationFrame(r.current)},[]),{containerRef:s,isDragging:n,handlePointerDown:l=>{if("touch"===l.pointerType||0!==l.button||window.matchMedia(e).matches||l.target.closest(t))return;let r=s.current;r&&!(r.scrollWidth<=r.clientWidth)&&(i.current={active:!0,pointerId:l.pointerId,startX:l.clientX,startScrollLeft:r.scrollLeft},r.setPointerCapture(l.pointerId),o(!0))},handlePointerMove:e=>{let t=s.current,l=i.current;if(!t||!l.active||l.pointerId!==e.pointerId)return;let n=e.clientX-l.startX;a.current=l.startScrollLeft-n,null===r.current&&(r.current=window.requestAnimationFrame(()=>{s.current&&null!==a.current&&(s.current.scrollLeft=a.current),r.current=null})),e.preventDefault()},resetDrag:()=>{let e=s.current,t=i.current;if(e&&-1!==t.pointerId)try{e.releasePointerCapture(t.pointerId)}catch(e){}i.current={active:!1,pointerId:-1,startX:0,startScrollLeft:0},a.current=null,null!==r.current&&(window.cancelAnimationFrame(r.current),r.current=null),o(!1)}}}}}]);

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.