1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[880,682,893,197,155,839,45],{9454:function(e,t,s){Promise.resolve().then(s.bind(s,6885)),Promise.resolve().then(s.t.bind(s,8173,23)),Promise.resolve().then(s.t.bind(s,231,23))},6885:function(e,t,s){"use strict";s.d(t,{default:function(){return d}});var a=s(7437),l=s(2265),n=s(9343),c=s(537),o=s(1014),r=s(2940),i=s(994);let m=c.Ry({name:c.Z_().min(2,"ÐÑведеÑе ваÑеÑо име"),phone:c.Z_().min(6,"ÐÑведеÑе ÑелеÑон"),email:c.Z_().email("Ðевалиден имейл").or(c.i0("")),city:c.Z_().min(1,"ÐзбеÑеÑе гÑад"),service:c.Z_().min(1,"ÐзбеÑеÑе ÑÑлÑга"),message:c.Z_().min(10,"ÐинимÑм 10 Ñимвола"),honeypot:c.Z_().max(0)});function d(e){let{defaultService:t=""}=e,[s,c]=(0,l.useState)(!1),{register:d,handleSubmit:x,formState:{errors:h,isSubmitting:u}}=(0,n.cI)({resolver:(0,o.F)(m),defaultValues:{service:t,honeypot:""}});return s?(0,a.jsxs)("div",{className:"flex flex-col items-center gap-4 py-12 text-center",children:[(0,a.jsx)(r.Z,{size:48,className:"text-success"}),(0,a.jsx)("h3",{className:"font-display text-2xl font-semibold text-charcoal",children:"ÐлагодаÑим ви!"}),(0,a.jsx)("p",{className:"text-warm-gray",children:"Ще Ñе ÑвÑÑжем Ñ Ð²Ð°Ñ Ð´Ð¾ 24 ÑаÑа."})]}):(0,a.jsxs)("form",{onSubmit:x(e=>{let t=encodeURIComponent("ÐапиÑване Ð¾Ñ ".concat(e.name," â ").concat(e.service)),s=encodeURIComponent("Ime: ".concat(e.name,"\nTelefon: ").concat(e.phone,"\nEmail: ").concat(e.email||"â","\nGrad: ").concat(e.city,"\nUsluga: ").concat(e.service,"\n\n").concat(e.message));window.location.href="mailto:[email protected]?subject=".concat(t,"&body=").concat(s),c(!0)}),className:"space-y-4",children:[(0,a.jsx)("input",{type:"text",...d("honeypot"),className:"hidden",tabIndex:-1,autoComplete:"off"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-charcoal mb-1.5",children:"ÐаÑеÑо Ðме *"}),(0,a.jsx)("input",{...d("name"),placeholder:"Ðван Ðванов",className:"w-full px-4 py-3 border border-light-tan rounded-btn bg-white text-charcoal placeholder:text-warm-gray/60 focus:outline-none focus:border-walnut transition-colors text-sm"}),h.name&&(0,a.jsx)("p",{className:"text-red-500 text-xs mt-1",children:h.name.message})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-charcoal mb-1.5",children:"ТелеÑон *"}),(0,a.jsx)("input",{...d("phone"),type:"tel",placeholder:"0876 081 199",className:"w-full px-4 py-3 border border-light-tan rounded-btn bg-white text-charcoal placeholder:text-warm-gray/60 focus:outline-none focus:border-walnut transition-colors text-sm"}),h.phone&&(0,a.jsx)("p",{className:"text-red-500 text-xs mt-1",children:h.phone.message})]})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-charcoal mb-1.5",children:"Ðмейл"}),(0,a.jsx)("input",{...d("email"),type:"email",placeholder:"[email protected]",className:"w-full px-4 py-3 border border-light-tan rounded-btn bg-white text-charcoal placeholder:text-warm-gray/60 focus:outline-none focus:border-walnut transition-colors text-sm"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-charcoal mb-1.5",children:"ÐÑад *"}),(0,a.jsxs)("select",{...d("city"),className:"w-full px-4 py-3 border border-light-tan rounded-btn bg-white text-charcoal focus:outline-none focus:border-walnut transition-colors text-sm",children:[(0,a.jsx)("option",{value:"",children:"ÐзбеÑеÑе гÑад"}),["ÐлагоевгÑад","СоÑиÑ","ÐÑпниÑа","СанданÑки","ÐанÑко","Разлог","ÐоÑе ÐелÑев","ÐÑÑг"].map(e=>(0,a.jsx)("option",{value:e,children:e},e))]}),h.city&&(0,a.jsx)("p",{className:"text-red-500 text-xs mt-1",children:h.city.message})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-charcoal mb-1.5",children:"Ðакви мебели ÑÑÑÑиÑе *"}),(0,a.jsxs)("select",{...d("service"),className:"w-full px-4 py-3 border border-light-tan rounded-btn bg-white text-charcoal focus:outline-none focus:border-walnut transition-colors text-sm",children:[(0,a.jsx)("option",{value:"",children:"ÐзбеÑеÑе ÑÑлÑга"}),["ÐÑÑ
Ð½Ñ Ð¿Ð¾ поÑÑÑка","ÐаÑдеÑоб по поÑÑÑка","Ð¡Ð¿Ð°Ð»Ð½Ñ Ð¿Ð¾ поÑÑÑка","Ðневна по поÑÑÑка","ÐÑÐ¸Ñ Ð¼ÐµÐ±ÐµÐ»Ð¸","ÐонÑаж","ÐÑÑго"].map(e=>(0,a.jsx)("option",{value:e,children:e},e))]}),h.service&&(0,a.jsx)("p",{className:"text-red-500 text-xs mt-1",children:h.service.message})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-charcoal mb-1.5",children:"РазкажеÑе ни повеÑе *"}),(0,a.jsx)("textarea",{...d("message"),rows:4,placeholder:"ÐпиÑеÑе накÑаÑко ваÑÐ¸Ñ Ð¿ÑÐ¾ÐµÐºÑ â ÑазмеÑи, ÑÑил, маÑеÑиали...",className:"w-full px-4 py-3 border border-light-tan rounded-btn bg-white text-charcoal placeholder:text-warm-gray/60 focus:outline-none focus:border-walnut transition-colors text-sm resize-none"}),h.message&&(0,a.jsx)("p",{className:"text-red-500 text-xs mt-1",children:h.message.message})]}),(0,a.jsxs)("button",{type:"submit",disabled:u,className:"btn-primary w-full justify-center gap-2 disabled:opacity-60 disabled:cursor-not-allowed",children:[(0,a.jsx)(i.Z,{size:16}),"ÐзпÑаÑи запиÑване"]}),(0,a.jsx)("p",{className:"text-xs text-warm-gray text-center",children:"ÐезплаÑна конÑÑлÑаÑÐ¸Ñ Ð¸ оÑеÑÑа. ÐÑговаÑÑме до 24 ÑаÑа."})]})}}},function(e){e.O(0,[231,173,189,971,23,560],function(){return e(e.s=9454)}),_N_E=e.O()}]);
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.