PageSourceSearch

https://tercihrehberim.com/_next/static/chunks/537.bf7af76f45d2fefe.js

js tercihrehberim.com collected 2026-10-02 00:34:23 UTC 6,002 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[537],{3648:(e,t,r)=>{r.d(t,{_:()=>a});function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},23664:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},42529:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},54148:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var a=r(95155),s=r(12115),l=r(27855),i=r(98638),n=r(23664),d=r(42529),o=r(78874);function c(){let[e,t]=(0,s.useState)(""),[r,c]=(0,s.useState)(!1),[x,p]=(0,s.useState)({type:"",text:""}),m=async r=>{if(r.preventDefault(),p({type:"",text:""}),!e.trim())return void p({type:"error",text:"L\xfctfen e-posta adresinizi giriniz"});if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return void p({type:"error",text:"Ge\xe7ersiz e-posta formatı"});c(!0);try{let r=await fetch("https://tercihrehberim.com/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e.trim()})}),a=await r.json();r.ok&&a.success?(p({type:"success",text:a.message||"Newsletter'a başarıyla kaydoldunuz!"}),t("")):p({type:"error",text:a.message||"Bir hata oluştu"})}catch(e){console.error("Newsletter subscription error:",e),p({type:"error",text:"Bağlantı hatası. L\xfctfen tekrar deneyiniz."})}finally{c(!1)}};return(0,a.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8 pb-12",children:(0,a.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,a.jsx)("div",{className:"relative overflow-hidden bg-gradient-to-br from-purple-50 via-white to-violet-50 border-2 border-purple-100 rounded-2xl shadow-xl hover:shadow-2xl transition-all duration-300",children:(0,a.jsx)("div",{className:"relative p-8 sm:p-10 lg:p-12",children:(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-8 lg:gap-12",children:[(0,a.jsxs)("div",{className:"flex-1 text-center lg:text-left space-y-4",children:[(0,a.jsxs)("div",{className:"inline-flex items-center justify-center lg:justify-start gap-3 mb-2",children:[(0,a.jsx)("div",{className:"p-3 bg-gradient-to-br from-purple-400 to-violet-500 rounded-xl shadow-md",children:(0,a.jsx)(n.A,{className:"w-6 h-6 text-white"})}),(0,a.jsx)("span",{className:"px-4 py-1.5 bg-purple-100 text-purple-700 text-xs font-semibold rounded-full border border-purple-200",children:"\xdccretsiz"})]}),(0,a.jsx)("h2",{className:"text-2xl sm:text-3xl font-bold text-gray-800 leading-tight",children:"E-b\xfcltenimize \xfcye ol"}),(0,a.jsx)("p",{className:"text-gray-600 text-base sm:text-lg leading-relaxed max-w-md mx-auto lg:mx-0",children:"Son gelişmeler, haberler ve \xf6zel fırsatlar anında e-posta kutunuza gelsin"}),(0,a.jsx)("div",{className:"hidden sm:flex flex-col gap-2.5 pt-2",children:["Haftalık g\xfcncel haberler","Tercih d\xf6neminde \xf6zel i\xe7erikler","İpu\xe7ları ve stratejiler"].map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center gap-2.5 text-gray-700",children:[(0,a.jsx)(d.A,{className:"w-5 h-5 text-purple-500 flex-shrink-0"}),(0,a.jsx)("span",{className:"text-sm",children:e})]},t))})]}),(0,a.jsxs)("div",{className:"flex-1 w-full max-w-md",children:[(0,a.jsxs)("form",{onSubmit:m,className:"space-y-4",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none",children:(0,a.jsx)(n.A,{className:"h-5 w-5 text-gray-400"})}),(0,a.jsx)("input",{type:"email",placeholder:"[email protected]",value:e,onChange:e=>t(e.target.value),disabled:r,className:"w-full pl-12 pr-4 py-3.5 bg-white border-2 border-gray-200 rounded-xl  text-gray-800 placeholder-gray-400 focus:outline-none focus:border-purple-400 focus:ring-4 focus:ring-purple-100 disabled:bg-gray-50 disabled:cursor-not-allowed transition-all duration-200 shadow-sm hover:shadow-md"})]}),(0,a.jsx)(l.A,{type:"submit",variant:"contained",disabled:r,fullWidth:!0,sx:{background:"linear-gradient(135deg, #a85
15f7 0%, #8b5cf6 100%)",color:"#ffffff",fontWeight:"bold",fontSize:"1rem",borderRadius:"0.75rem",boxShadow:"0 4px 12px rgba(168, 85, 247, 0.3)",padding:"14px 28px",fontFamily:"Montserrat, sans-serif",textTransform:"none","&:hover":{background:"linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%)",boxShadow:"0 6px 20px rgba(168, 85, 247, 0.4)",transform:"translateY(-2px)"},"&:active":{transform:"translateY(0)"},"&:disabled":{background:"#e5e7eb",color:"#9ca3af",boxShadow:"none"},transition:"all 0.3s cubic-bezier(0.4, 0, 0.2, 1)"},children:r?(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2",children:[(0,a.jsx)(i.A,{size:20,sx:{color:"#ffffff"}}),(0,a.jsx)("span",{children:"Kaydediliyor..."})]}):"Hemen Katıl"}),(0,a.jsxs)("p",{className:"text-xs text-gray-500 text-center leading-relaxed",children:["Kaydolarak"," ",(0,a.jsx)("a",{href:"/terms-and-conditions",className:"text-purple-600 hover:text-purple-700 underline",children:"kullanım koşullarını"})," ","kabul etmiş olursunuz. Dilediğiniz zaman abonelikten \xe7ıkabilirsiniz."]})]}),x.text&&(0,a.jsxs)("div",{className:"mt-5 p-4 rounded-xl text-sm flex items-start gap-3 animate-in slide-in-from-top-2 duration-300 ".concat("success"===x.type?"bg-green-50 text-green-800 border-2 border-green-200 shadow-sm":"bg-red-50 text-red-800 border-2 border-red-200 shadow-sm"),children:["success"===x.type?(0,a.jsx)(d.A,{className:"w-5 h-5 text-green-600 flex-shrink-0 mt-0.5"}):(0,a.jsx)(o.A,{className:"w-5 h-5 text-red-600 flex-shrink-0 mt-0.5"}),(0,a.jsx)("span",{className:"flex-1 leading-relaxed",children:x.text})]})]})]})})})})})}},78874:(e,t,r)=>{r.d(t,{A:()=>a});let a=(0,r(71847).A)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])}}]);

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.