1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8293e5f8-b44b-ceea-4105-50aee7ff51f6")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={callServer:function(){return o.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var l in a)Object.defineProperty(t,l,{enumerable:!0,get:a[l]});let o=e.r(132120),n=e.r(92245),s=e.r(235326)},903342,e=>{"use strict";var r=e.i(95187);let t=(0,r.createServerReference)("406c5f9dadf4cd8fb8df58d8dbe583bfc902547a47",r.callServer,void 0,r.findSourceMapURL,"leadFinalizeRealEstate");e.s(["leadFinalizeRealEstate",0,t])},893320,e=>{"use strict";var r=e.i(843476),t=e.i(271645);e.i(21496);var a=e.i(733027),l=e.i(975157);let o={phone:{mask:"+7 (000) 000-00-00",placeholder:"+7 (___) ___-__-__",lazy:!1,type:"tel",inputMode:"tel"},iin:{mask:"000000000000",placeholder:"____________",inputMode:"numeric"},plate:{mask:"000LLL00",definitions:{L:/[A-ZÐ-ЯÐ]/u},prepare:e=>e.toUpperCase(),placeholder:"___AAA__",lazy:!1},"tech-pass":{mask:"LL0000000[0]",definitions:{L:/[A-ZÐ-ЯÐ]/u},prepare:e=>e.toUpperCase(),placeholder:"AA_______",lazy:!1},otp:{mask:"000000",placeholder:"______",inputMode:"numeric"},amount:{mask:Number,thousandsSeparator:" ",scale:0,min:0,max:3e7,placeholder:"ÐапÑимеÑ, 2 000 000",inputMode:"numeric"},"amount-realty":{mask:Number,thousandsSeparator:" ",scale:0,min:0,max:5e8,placeholder:"ÐапÑимеÑ, 25 000 000",inputMode:"numeric"},"amount-realty-loan":{mask:Number,thousandsSeparator:" ",scale:0,min:0,max:84e6,placeholder:"ÐапÑимеÑ, 10 000 000",inputMode:"numeric"}},n=(0,t.forwardRef)(function(e,n){let{name:s,preset:c,label:i,placeholder:d,autoComplete:u,required:m,error:p,hint:x,defaultValue:h,value:f,onAccept:b,className:v,disabled:y,dense:g}=e,_=(0,t.useId)(),N=o[c],j=p?`${_}-error`:x?`${_}-hint`:void 0;return(0,r.jsxs)("div",{className:(0,l.cn)("flex flex-col gap-1.5",v),children:[(0,r.jsxs)("label",{htmlFor:_,className:"text-sm font-medium text-[color:var(--color-text-primary)]",children:[i,m?(0,r.jsx)("span",{className:"ml-1 text-[color:var(--color-brand-error)]",children:"*"}):null]}),(0,r.jsx)(a.IMaskInput,{inputRef:e=>{"function"==typeof n?n(e):n&&(n.current=e)},id:_,name:s,type:N.type,inputMode:N.inputMode,mask:N.mask,definitions:N.definitions,thousandsSeparator:N.thousandsSeparator,scale:N.scale,min:N.min,max:N.max,lazy:N.lazy??!0,prepareChar:N.prepare,placeholder:d??N.placeholder,autoComplete:u,required:m,disabled:y,defaultValue:h,value:f,"aria-invalid":!!p||void 0,"aria-describedby":j,onAccept:e=>b?.(e),className:(0,l.cn)("rounded-xl border bg-white text-[color:var(--color-text-primary)] placeholder:text-slate-500 focus:outline-none focus:ring-2",g?"h-10 px-3 text-sm":"h-11 px-4 text-base",p?"border-[color:var(--color-brand-error)] focus:ring-[color:var(--color-brand-error)]/30":"border-[color:var(--color-border)] focus:border-[color:var(--color-brand-primary)] focus:ring-[color:var(--color-brand-primary)]/30")}),p?(0,r.jsx)("p",{id:`${_}-error`,className:"text-xs text-[color:var(--color-brand-error)]",children:p}):x?(0,r.jsx)("p",{id:`${_}-hint`,className:"text-xs text-slate-600",children:x}):null]})});e.s(["MaskedInput",0,n])},477151,e=>{"use strict";var r=e.i(843476),t=e.i(174080),a=e.i(519455);e.s(["SubmitButton",0,function(e){let{children:l,variant:o="primary",className:n,disabled:s,pendingLabel:c="ÐÑпÑавлÑемâ¦",forcePending:i}=e,d=(0,t.useFormStatus)(),u=i??d.pending;return(0,r.jsx)(a.Button,{type:"submit",variant:"ghost"===o?"secondary":"primary",size:"lg",disabled:s||u,"aria-busy":u,className:n,children:u?c:l})}])},849180,583539,e=>{"use strict";var r=e.i(843476),t=e.i(271645),a=e.i(975157);let l=(0,t.forwardRef)(function(e,l){let{name:o,label:n,type:s="text",placeholder:c,autoComplete:i,required:d,error:u,hint:m,defaultValue:p,value:x,onChange:h,inputMode:f,min:b,max:v,step:y,maxLength:g,onBlur:_,onPaste:N,className:j,disabled:k}=e,w=(0,t.useId)(),L=u?`${w}-error`:m?`${w}-hint`:void 0;return(0,r.jsxs)("div",{className:(0,a.cn)("flex flex-col gap-1.5",j),children:[(0,r.jsxs)("label",{htmlFor:w,className:"text-sm font-medium text-[color:var(--color-text-primary)]",children:[n,d?(0,r.jsx)("span",{className:"ml-1 text-[color:var(--color-brand-error)]",children:"*"}):null]}),(0,r.jsx)("input",{ref:l,id:w,name:o,type:s,inputMode:f,placeholder:c,autoComplete:i,required:d,disabled:k,min:b,max:v,step:y,maxLength:g,defaultValue:p,value:x,onChange:h?e=>h(e.target.value):void 0,onBlur:_,onPaste:N,"aria-invalid":!!u||void 0,"aria-describedby":L,className:(0,a.cn)("h-11 rounded-xl border bg-white px-4 text-base text-[color:var(--color-text-primary)] placeholder:text-slate-500 focus:outline-none focus:ring-2",u?"border-[color:var(--color-brand-error)] focu
2s:ring-[color:var(--color-brand-error)]/30":"border-[color:var(--color-border)] focus:border-[color:var(--color-brand-primary)] focus:ring-[color:var(--color-brand-primary)]/30")}),u?(0,r.jsx)("p",{id:`${w}-error`,className:"text-xs text-[color:var(--color-brand-error)]",children:u}):m?(0,r.jsx)("p",{id:`${w}-hint`,className:"text-xs text-slate-600",children:m}):null]})});e.s(["TextInput",0,l],849180),e.s(["SelectField",0,function({name:e,label:a,placeholder:l="ÐÑбеÑиÑе",options:o,required:n,value:s,onChange:c,error:i,disabled:d}){let u=(0,t.useId)(),m=`${u}-${e}`,p=`${m}-err`;return(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsxs)("label",{htmlFor:m,className:"text-sm font-medium text-[color:var(--color-text-primary)]",children:[a,n?(0,r.jsx)("span",{className:"ml-1 text-[color:var(--color-brand-error)]",children:"*"}):null]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("select",{id:m,name:e,value:s,onChange:e=>c(e.target.value),required:n,disabled:d,"aria-invalid":!!i||void 0,"aria-describedby":i?p:void 0,className:"h-11 w-full appearance-none rounded-xl border bg-white px-4 pr-10 text-base text-[color:var(--color-text-primary)] transition-colors focus:outline-none focus:ring-2 disabled:cursor-not-allowed disabled:opacity-60 "+(i?"border-[color:var(--color-brand-error)] focus:ring-[color:var(--color-brand-error)]/30":"border-[color:var(--color-border)] focus:border-[color:var(--color-brand-primary)] focus:ring-[color:var(--color-brand-primary)]/30"),children:[(0,r.jsx)("option",{value:"",children:l}),o.map(e=>(0,r.jsx)("option",{value:e,children:e},e))]}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"8",viewBox:"0 0 13 8",fill:"none","aria-hidden":!0,className:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-[color:var(--color-text-secondary)]",children:(0,r.jsx)("path",{d:"M1 1.5L6.5 6.5L12 1.5",stroke:"currentColor",strokeWidth:"1.5"})})]}),i?(0,r.jsx)("p",{id:p,className:"text-xs text-[color:var(--color-brand-error)]",children:i}):null]})}],583539)},998253,719521,e=>{"use strict";var r=e.i(843476),t=e.i(271645),a=e.i(903342),l=e.i(370875),o=e.i(974917),n=e.i(849180),s=e.i(893320),c=e.i(583539),i=e.i(449176),d=e.i(522016),u=e.i(975157);function m(e){let{name:a,checked:l,defaultChecked:o,onChange:n,error:s,className:c}=e,i=(0,t.useId)();return(0,r.jsxs)("div",{className:(0,u.cn)("flex flex-col gap-1.5",c),children:[(0,r.jsxs)("label",{htmlFor:i,className:"flex items-start gap-3 text-sm text-[color:var(--color-text-primary)]",children:[(0,r.jsx)("input",{id:i,type:"checkbox",name:a,checked:l,defaultChecked:o,onChange:n?e=>n(e.target.checked):void 0,"aria-invalid":!!s||void 0,className:"mt-0.5 h-5 w-5 shrink-0 rounded border-[color:var(--color-border)] text-[color:var(--color-brand-primary)] focus:ring-2 focus:ring-[color:var(--color-brand-primary)]/30"}),(0,r.jsxs)("span",{className:"leading-snug",children:["Я ознакомлен и ÑоглаÑен Ñ"," ",(0,r.jsx)(d.default,{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"font-medium text-sky-800 underline underline-offset-2 hover:text-sky-900",children:"полиÑикой обÑабоÑки пеÑÑоналÑнÑÑ
даннÑÑ
"}),"."]})]}),(0,r.jsx)("p",{className:"ml-8 text-xs text-[color:var(--color-text-secondary)]",children:(0,r.jsx)(d.default,{href:"/dokumenty",className:"font-medium text-sky-800 underline underline-offset-2 hover:text-sky-900",children:"ÐокÑменÑÑ Ð¸ ÑаблонÑ"})}),s?(0,r.jsx)("p",{className:"ml-8 text-xs text-[color:var(--color-brand-error)]",children:s}):null]})}e.s(["ConsentCheckbox",0,m],719521);var p=e.i(477151),x=e.i(688921),h=e.i(38848);let f={kicker:"ÐÑÑавиÑÑ Ð·Ð°ÑвкÑ",titleTemplate:e=>`ÐикÑокÑÐµÐ´Ð¸Ñ Ð¿Ð¾Ð´ залог недвижимоÑÑи в ${e}`,subtitle:"ÐÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð¿ÐµÑÐµÐ·Ð²Ð¾Ð½Ð¸Ñ Ð² ÑеÑение 15 минÑÑ Ð¸ ÑаÑÑÑиÑÐ°ÐµÑ Ð¿ÐµÑÑоналÑнÑе ÑÑловиÑ. ÐикакиÑ
ÑкÑÑÑÑÑ
комиÑÑий.",nameLabel:"ÐаÑе имÑ",namePlaceholder:"Ðван",phoneLabel:"ÐонÑакÑнÑй ÑелеÑон",emailLabel:"Email (необÑзаÑелÑно)",emailPlaceholder:"[email protected]",regionLabel:"Регион",amountLabel:"ÐÐµÐ»Ð°ÐµÐ¼Ð°Ñ ÑÑмма, â¸",amountHint:"ÐдобÑим до 50% ÑÑоимоÑÑи обÑекÑа",termLabel:"СÑок займа",termPlaceholder:"ÐÑбеÑиÑе ÑÑок",submit:"ÐÑпÑавиÑÑ Ð·Ð°ÑвкÑ",consentNote:"РаÑÑÑÑ Ð¾ÑиенÑиÑовоÑнÑй, ÑиналÑÐ½Ð°Ñ ÑÑавка опÑеделÑеÑÑÑ Ð¿Ð¾Ñле оÑенки. ÐÑпÑавлÑÑ ÑоÑмÑ, Ð²Ñ ÑоглаÑаеÑеÑÑ Ñ Ð¾Ð±ÑабоÑкой пеÑÑоналÑнÑÑ
даннÑÑ
.",successKicker:"ÐаÑвка пÑинÑÑа",successTitleDuplicate:"ÐаÑа заÑвка Ñже Ñ Ð½Ð°Ñ",successTitle:"СпаÑибо, Ð¼Ñ Ð½Ð° ÑвÑзи",successBodyDuplicate:"ÐÐ°Ñ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑ Ñже обÑабаÑÑÐ²Ð°ÐµÑ Ð¿ÑедÑдÑÑÑÑ Ð·Ð°ÑÐ²ÐºÑ Ð¸ ÑкоÑо пеÑезвониÑ.",successBody:"ÐÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð¿Ð¾Ð·Ð²Ð¾Ð½Ð¸Ñ Ð² ÑеÑение 15 минÑÑ, ÑÑÐ¾Ð±Ñ ÑÑоÑниÑÑ Ð´ÐµÑали и ÑаÑÑÑиÑаÑÑ ÑÑловиÑ.",successLeadId:"ID заÑвки:"},b={kicker:"Ó¨ÑÑнÑм ÒалдÑÑÑ",titleTemplate:e=>`${e} жÑлжÑмайÑÑн мүлÑк кепÑлдÑгÑмен микÑонеÑие`,subtitle:"ÐÐµÐ½ÐµÐ´Ð¶ÐµÑ 15 минÑÑ ÑÑÑнде ÒайÑа ÒоңÑÑÐ°Ñ ÑалÑп, жеке ÑаÑÑÑаÑÐ´Ñ ÐµÑепÑейдÑ. ÐÑÒандай жаÑÑÑÑн комиÑÑиÑÑÑз.",nameLabel:"ÐÑÑÒ£Ñз",namePlaceholder:"Ðван",phoneLabel:"ÐайланÑÑ ÑелеÑонÑ",emailLabel:"Email (мÑндеÑÑÑ ÐµÐ¼ÐµÑ)",emailPlaceholder:"[email protected]",regionLabel:"ÐймаÒ",amountLabel:"ÒалаÒан Ñома, â¸",amountHint:"ÐÑÑан ÒұнÑнÑÒ£ 50%-на дейÑн маÒұлдаймÑз",termLabel:"ÐеÑие меÑзÑмÑ",termPlaceholder:"ÐеÑзÑÐ¼Ð´Ñ ÑаңдаңÑз",submit:"Ó¨ÑÑнÑм жÑбеÑÑ",consentNote:"ÐÑеп Ñамамен беÑÑлген, ÑүпкÑлÑкÑÑ Ð¼Ó©Ð»ÑеÑлеме баÒалаÑдан кейÑн анÑÒÑаладÑ. ФоÑÐ¼Ð°Ð½Ñ Ð¶ÑбеÑÑ Ð°ÑÒÑÐ»Ñ ÑÑз деÑÐ±ÐµÑ Ð´ÐµÑекÑеÑÐ´Ñ Ó©Ò£Ð´ÐµÑге келÑÑÑм беÑеÑÑз.",successKicker:"Ó¨ÑÑнÑм ÒабÑлдандÑ",successTitleDuplicate:"СÑздÑÒ£ Ó©ÑÑнÑмÑÒ£Ñз бÑзде",successTitle:"РаÒмеÑ, бÑз байланÑÑÑамÑз",successBodyDuplicate:"ÐÑздÑÒ£ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð°Ð»Ð´ÑÒ£ÒÑ Ó©ÑÑнÑÐ¼Ð´Ñ Ó©Ò£Ð´ÐµÐ¿ жаÑÑÑ Ð¶Óне жаÒÑн аÑада ÒайÑа ÒоңÑÑÐ°Ñ ÑаладÑ.",successBody:"ÐÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð¼ÓлÑмеÑÑеÑÐ´Ñ Ð½Ð°ÒÑÑÐ»Ð°Ñ Ð¶Óне ÑаÑÑÑаÑÐ´Ñ ÐµÑепÑÐµÑ Ò¯ÑÑн 15 минÑÑ ÑÑÑнде ÒоңÑÑÐ°Ñ ÑаладÑ.",successLeadId:"Ó¨ÑÑнÑм ID:"},v={firstName:"",phone:"",email:"",requestedAmount:"",requestedTerm:"",consent:!1},y=["12 меÑ","24 меÑ","36 меÑ","48 меÑ","60 меÑ","72 меÑ","84 меÑ"];function g(){return(0,o.readUtmWithCookieFallback)()}function _(e,r,t){switch(e.reason){case"validation":r(e.fieldErrors??{}),t("ÐÑовеÑÑÑе Ð¿Ð¾Ð»Ñ Ð¸ попÑобÑйÑе еÑÑ Ñаз");break;case"rate_limited":t(`СлиÑком много попÑÑок. ÐопÑобÑйÑе ÑеÑез ${Math.ceil((e.retryAfterSec??60)/60)} мин.`);break;case"captcha_failed":t("Ðе ÑдалоÑÑ Ð¿ÑойÑи пÑовеÑкÑ. ÐеÑезагÑÑзиÑе ÑÑÑаниÑÑ.");break;case"csrf":t("ÐÑибка безопаÑноÑÑи. ÐеÑезагÑÑзиÑе ÑÑÑаниÑÑ.");break;default:t("Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ Ð·Ð°ÑвкÑ. ÐопÑобÑйÑе еÑÑ Ñаз или позвониÑе нам.")}}function N({leadId:e,duplicate:t,copy:a}){return(0,r.jsxs)("div",{role:"status",className:"mt-8 rounded-2xl border border-[color:var(--color-brand-primary)] bg-white p-6 md:p-8",children:[(0,r.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-[color:var(--color-brand-primary)]",children:a.successKicker}),(0,r.jsx)("h3",{className:"mt-2 text-xl font-bold text-[color:var(--color-text-primary)] md:text-2xl",children:t?a.successTitleDuplicate:a.successTitle}),(0,r.jsx)("p",{className:"mt-3 text-sm text-slate-700 md:text-base",children:t?a.successBodyDuplicate:a.successBody}),(0,r.jsxs)("p",{className:"mt-4 text-xs text-slate-600",children:[a.successLeadId," ",e]})]})}e.s(["RealEstateLeadForm",0,function(e){let{defaultRegion:o,source:d,sourceDetail
2:j,title:k,subtitle:w,formPosition:L}=e,T=(0,h.useLocaleData)(f,b),M=(0,t.useId)(),[C,S]=(0,t.useState)(v),[A,I]=(0,t.useState)({}),[P,q]=(0,t.useState)(null),[E,R]=(0,t.useState)(null),[D,F]=(0,t.useTransition)();(0,t.useEffect)(()=>{let e=(0,i.readCalculatorPrefill)("real-estate");e&&Promise.resolve().then(()=>{S(r=>({...r,requestedAmount:r.requestedAmount||String(e.amount),requestedTerm:r.requestedTerm||`${e.term} меÑ`}))})},[]);let U=C.requestedTerm&&!y.includes(C.requestedTerm)?[...y,C.requestedTerm]:y;return(0,t.useEffect)(()=>{(0,x.trackEvent)("form_opened",{form_type:"real-estate",source_path:window.location.pathname,...L?{form_position:L}:{}})},[L]),(0,r.jsx)("section",{id:"lead-form","aria-labelledby":M,className:"bg-white py-14 md:py-20",children:(0,r.jsx)("div",{className:"mx-auto max-w-3xl px-4 md:px-8",children:(0,r.jsxs)("div",{className:"rounded-3xl bg-[color:var(--color-bg-soft)] p-8 ring-1 ring-[color:var(--color-border-muted)] md:p-12",children:[(0,r.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-[color:var(--color-brand-primary)]",children:T.kicker}),(0,r.jsx)("h2",{id:M,className:"mt-2 text-2xl font-bold text-[color:var(--color-text-primary)] md:text-3xl",children:k??T.titleTemplate(o)}),(0,r.jsx)("p",{className:"mt-4 text-sm text-slate-700 md:text-base",children:w??T.subtitle}),E?(0,r.jsx)(N,{leadId:E.leadId,duplicate:E.duplicate,copy:T}):(0,r.jsxs)("form",{onSubmit:e=>{if(e.preventDefault(),D)return;I({}),q(null);let r=g(),t=C.requestedAmount.replace(/\D/g,""),n=t?Number(t):null,s=Number.parseInt(C.requestedTerm,10),c=Number.isFinite(s)?s:null,u={source:d,sourceDetail:j,firstName:C.firstName,phone:C.phone,email:C.email.trim()||void 0,region:o,consent:C.consent,...null!==n?{requestedAmount:n}:{},...null!==c?{requestedTerm:c}:{},utm:r};F(async()=>{let e=await (0,l.getRecaptchaToken)("lead_submit"),t=await (0,a.leadFinalizeRealEstate)({...u,recaptchaToken:e});if(t.ok){R({leadId:t.leadId,duplicate:t.duplicate}),(0,i.clearCalculatorPrefill)();let e=window.location.pathname;(0,x.trackEvent)("form_submitted",{form_type:"real-estate",product_type:"real-estate",source_path:e,utm_source:r?.utmSource,...L?{form_position:L}:{}}),(0,x.trackEvent)("lead_submitted",{form_type:"real-estate",source_path:e}),t.duplicate&&(0,x.trackEvent)("lead_duplicate",{product_type:"real-estate"})}else _(t,I,q)})},noValidate:!0,className:(0,u.cn)("mt-8 flex flex-col gap-4"),children:[(0,r.jsx)(n.TextInput,{name:"firstName",label:T.nameLabel,placeholder:T.namePlaceholder,autoComplete:"given-name",required:!0,value:C.firstName,onChange:e=>S(r=>({...r,firstName:e})),error:A.firstName?.[0]}),(0,r.jsx)(s.MaskedInput,{name:"phone",preset:"phone",label:T.phoneLabel,autoComplete:"tel",required:!0,value:C.phone,onAccept:e=>S(r=>({...r,phone:e})),error:A.phone?.[0]}),(0,r.jsx)(n.TextInput,{name:"email",type:"email",label:T.emailLabel,placeholder:T.emailPlaceholder,autoComplete:"email",value:C.email,onChange:e=>S(r=>({...r,email:e})),error:A.email?.[0]}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,r.jsx)(s.MaskedInput,{name:"requestedAmount",preset:"amount-realty-loan",label:T.amountLabel,hint:T.amountHint,autoComplete:"off",value:C.requestedAmount,onAccept:e=>S(r=>({...r,requestedAmount:e})),error:A.requestedAmount?.[0]}),(0,r.jsx)(c.SelectField,{name:"requestedTerm",label:T.termLabel,placeholder:T.termPlaceholder,options:U,value:C.requestedTerm,onChange:e=>S(r=>({...r,requestedTerm:e})),error:A.requestedTerm?.[0]})]}),(0,r.jsx)(n.TextInput,{name:"region",label:T.regionLabel,required:!0,disabled:!0,value:o}),(0,r.jsx)(m,{name:"consent",checked:C.consent,onChange:e=>S(r=>({...r,consent:e})),error:A.consent?.[0]??A._root?.[0]}),P?(0,r.jsx)("p",{role:"alert",className:"rounded-lg bg-[color:var(--color-brand-error-bg)] px-4 py-3 text-sm text-[color:var(--color-brand-error)]",children:P}):null,(0,r.jsx)(p.SubmitButton,{forcePending:D,className:"mt-2 w-full md:w-auto md:self-start",children:T.submit}),(0,r.jsx)("p",{className:"text-xs text-slate-600",children:T.consentNote})]})]})})})},"handleFailure",0,_,"readUtmFromUrl",0,g],998253)},578785,e=>{"use strict";e.s(["PRODUCT_REAL_ESTATE",0,{id:"real-estate",name:"ÐикÑокÑÐµÐ´Ð¸Ñ Ð¿Ð¾Ð´ залог недвижимоÑÑи",amountMin:5e5,amountMax:84e6,termMinMonths:3,termMaxMonths:84,termDefaultMonths:24,rateYearlyPercent:30,gesvMaxPercent:46,penaltyDailyPercent:.5,collateralLabel:"недвижимоÑÑÑ",ltvExampleText:"до 50% Ð¾Ñ Ð¾ÑеноÑной ÑÑоимоÑÑи недвижимоÑÑи"}])},370875,e=>{"use strict";
2let r="6LfuBUEtAAAAAFUDLTSzEI8GKNC_MZCm8U-OW3B5".trim()||null,t=null;async function a(e){if(r&&"u">typeof document)try{await (t||(t=new Promise((e,t)=>{if(window.grecaptcha)return void e();let a=document.createElement("script");a.src=`https://www.google.com/recaptcha/api.js?render=${encodeURIComponent(r)}`,a.async=!0,a.defer=!0,a.onload=()=>e(),a.onerror=()=>t(Error("recaptcha script failed to load")),document.head.appendChild(a)})));let a=window.grecaptcha;if(!a)return;return await new Promise(e=>a.ready(()=>e())),await a.execute(r,{action:e})||void 0}catch{return}}e.s(["getRecaptchaToken",0,a])},522570,e=>{"use strict";e.s(["addMonths",0,function(e,r){return new Date(e.getFullYear(),e.getMonth()+r,e.getDate())},"daysBetween",0,function(e,r){let t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate());return Math.floor((Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-t)/864e5)},"effectiveAnnualRatePercent",0,function(e){return(Math.pow(1+e/100/12,12)-1)*100},"gesvPercent",0,function(e,r){let t=function(e,r,t={}){let{guess:a=.1,maxIter:l=100,tolerance:o=1e-7}=t,n=a;for(let t=0;t<l;t++){let t=-e,a=0;for(let e of r)if(e.days>0){let r=e.days/365,l=Math.pow(1+n,r);t+=e.amount/l,a-=e.amount*e.days/(365*Math.pow(1+n,r+1))}if(Math.abs(t)<o)return n;if(0===a)break;n-=t/a}return null}(e,r);return null===t?null:100*t}])},449176,e=>{"use strict";let r="autoscore.calculator-prefill";e.s(["CALCULATOR_PREFILL_KEY",0,r,"clearCalculatorPrefill",0,function(){try{window.sessionStorage.removeItem(r)}catch{}},"readCalculatorPrefill",0,function(e){try{let t=window.sessionStorage.getItem(r);if(!t)return null;let a=JSON.parse(t);if(e&&a.productId!==e)return null;let l="number"==typeof a.amount&&a.amount>0?a.amount:null,o="number"==typeof a.term&&a.term>0?a.term:null;if(null===l||null===o)return null;return{amount:l,term:o}}catch{return null}}])},94243,e=>{"use strict";let r=[1,2,3,4,5,6,7,8,9,10,11],t=[3,4,5,6,7,8,9,10,11,1,2];e.s(["isValidIin",0,function(e){if("string"!=typeof e||!/^\d{12}$/.test(e))return!1;let a=e.split("").map(e=>Number(e)),l=Number(e.slice(2,4)),o=Number(e.slice(4,6));if(l<1||l>12||o<1||o>31)return!1;let n=function(e){if(e.length<11)return null;let a=0;for(let t=0;t<11;t+=1)a+=e[t]*r[t];let l=a%11;if(10!==l)return l;let o=0;for(let r=0;r<11;r+=1)o+=e[r]*t[r];let n=o%11;return 10===n?null:n}(a);return null!==n&&n===a[11]},"normalizeIin",0,function(e){return e.replace(/\D/g,"")}])}]); 3 4//# debugId=8293e5f8-b44b-ceea-4105-50aee7ff51f6
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.