1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4157],{28024:function(e,i,n){n.d(i,{R:function(){return f}});var t=n(52676),o=n(2087),s=n(89594),l=n(54950),a=n(55449),r=n(55900),d=n(95983),p=n(29969),c=n(8765);let u=r.ZP.section.withConfig({componentId:"sc-89df3bf4-0"})(["display:flex;flex-direction:column;padding:","px ","px;background-color:",";border-radius:","px;margin:0 -","px;@media (min-width:","px){padding:","px;margin:0;}@media (min-width:","px){padding:","px;}"],p.YE.spacings.s32,p.YE.spacings.s16,p.YE.colors.background.primary,d.P.radiuses.lg1,p.YE.spacings.s16,p.YE.breakpoints.tablet,p.YE.spacings.s32,c.breakpoints.desktopS,p.YE.spacings.s40),h=r.ZP.div.withConfig({componentId:"sc-89df3bf4-1"})(["display:block;@media (min-width:","px){display:none;}"],c.breakpoints.tablet),m=r.ZP.div.withConfig({componentId:"sc-89df3bf4-2"})(["display:none;@media (min-width:","px){display:block;}@media (min-width:","px){display:none;}"],c.breakpoints.tablet,c.breakpoints.desktopS),g=r.ZP.div.withConfig({componentId:"sc-89df3bf4-3"})(["display:none;@media (min-width:","px){display:block;}"],c.breakpoints.desktopS),f=e=>{let{header:i,items:n}=e;return(0,t.jsxs)(u,{children:[(0,t.jsx)(o.x,{desktopS:{font:"h1Wide"},tablet:{font:"h2Wide"},font:"h3Wide",as:"h2",children:i}),(0,t.jsx)(s.L,{space:"s48",spacemob:"s24"}),(0,t.jsx)(h,{children:(0,t.jsx)(l.R,{size:24,subtitleFont:"c1RegularComp",titleFont:"p4MediumComp",type:"vertical",variant:"default",children:n.map(e=>{let{id:i,title:n,subtitle:o}=e;return(0,t.jsx)(a.h,{subtitle:o,title:n},i)})})}),(0,t.jsxs)(m,{children:[(0,t.jsx)(s.L,{samespace:!0,space:"s16"}),(0,t.jsx)(l.R,{size:48,subtitleFont:"p3RegularComp",titleFont:"h4Comp",type:"vertical",variant:"default",children:n.map(e=>{let{id:i,title:n,subtitle:o}=e;return(0,t.jsx)(a.h,{subtitle:o,title:n},i)})})]}),(0,t.jsx)(g,{children:(0,t.jsx)(l.R,{size:48,subtitleFont:"p3RegularComp",titleFont:"h4Comp",type:"horizontal",variant:"default",children:n.map(e=>{let{id:i,title:n,subtitle:o}=e;return(0,t.jsx)(a.h,{subtitle:o,title:n},i)})})})]})}},59355:function(e,i,n){n.d(i,{Y:function(){return W}});var t=n(72646),o=n(52676),s=n(75271),l=n(15195),a=n(29998),r=n(53897),d=n(99274),p=n(62480),c=n(26e3),u=n(96593),h=n(4198),m=n(92217),g=n(96286),f=n(63547),x=n(72809),b=n(57085),v=n(28450),C=n(4154),E=n(70119),k=n(20017),S=n(70316),y=n(67415);let w=()=>(0,E.Ry)().shape({phone:(0,E.Z_)().required(k.zR).matches(y.J,k.Kz).test("phoneValidator",k.Kz,S.t)});var P=n(25036),R=n(72292);let T={leadOption:"ClientForm",leadType:"ACQUIRING",regionCode:"001-000",acqType:"TRADE",acqBranch:"hub-ufa",city:"неизвеÑÑно"},j=(e,i,n,o,s)=>{var l,a,r,d,p,c,u;return(0,t._)({leadOption:null!==(l=null==e?void 0:e.leadOption)&&void 0!==l?l:T.leadOption,leadType:null!==(a=null==e?void 0:e.leadType)&&void 0!==a?a:T.leadType,productName:e.productName,regionCode:null!==(r=null==e?void 0:e.regionCode)&&void 0!==r?r:T.regionCode,origDate:(0,R.ko)(),url:window.location.href,characteristics:{acqType:null!==(d=null==e?void 0:e.acqType)&&void 0!==d?d:T.acqType,branch:null!==(p=null==e?void 0:e.acqBranch)&&void 0!==p?p:T.acqBranch},pid:s||i.pid,phoneNum:{phone:(0,P.U)(n.phone||"")},city:T.city},o?{recaptchaResponse:{recaptchaAction:null!==(c=e.recaptchaAction)&&void 0!==c?c:"malomu_biznesu_acquiring",response:o,recaptchaIdForm:null!==(u=null==e?void 0:e.idForm)&&void 0!==u?u:"acquiring"}}:{})};var I=n(32586);let O=()=>({phone:""}),Y={errorHeading:"ÐÑоизоÑла оÑибка",successHeading:"ÐаÑа заÑвка ÑÑпеÑно оÑпÑавлена",successPageText:"ÐÐµÐ½ÐµÐ´Ð¶ÐµÑ ÑвÑжеÑÑÑ Ñ Ð²Ð°Ð¼Ð¸ в ближайÑее вÑÐµÐ¼Ñ Ð´Ð»Ñ ÑÑоÑÐ½ÐµÐ½Ð¸Ñ Ð´ÐµÑалей",errorPageText:"ÐбновиÑе ÑÑÑаниÑÑ Ð¸ попÑобÑйÑе Ñнова",button:"ÐÑодолжиÑÑ",agreementText:"УÑловиÑми",agreementBefore:"ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ ÐºÐ½Ð¾Ð¿ÐºÑ \xabÐÑодолжиÑÑ\xbb, Ð²Ñ ÑоглаÑаеÑеÑÑ Ñ",checkboxBefore:"Я ознакомлен и ÑоглаÑен Ñ ",checkboxText:"УÑловиÑми",tipBefore:"ÐÑпÑавлÑÑ Ð·Ð°ÑвкÑ, Ñ Ð¿ÑÐ¸Ð½Ð¸Ð¼Ð°Ñ ",tipText:"ÑÑловиÑ",tipAfter:" пеÑедаÑи инÑоÑмаÑии.",agreementContent:"",salesChannelsHeading:"ФоÑма оÑпÑавки заÑвки недоÑÑÑпна",salesChannelsSubHeading:"ÐеÑезагÑÑзиÑе ÑÑÑаниÑÑ Ð¸Ð»Ð¸ повÑоÑиÑе попÑÑÐºÑ Ð¿Ð¾Ð·Ð¶Ðµ.",safety:"ÐÑ Ð³Ð°ÑанÑиÑÑем конÑиденÑиалÑноÑÑÑ Ð´Ð°Ð½Ð½ÑÑ
",safetyIcon:"baseX24/ic-shield",fields:{ph
1one:{label:"",placeholder:"ÐобилÑнÑй ÑелеÑон",helper:"ÐведиÑе Ð½Ð¾Ð¼ÐµÑ Ð»Ñбого опеÑаÑоÑа"}},formInfo:{title:"ÐÑ Ð½Ð° ÑвÑзи 24/7",icon:"granat/call/size-28-style-fill",contacts:[{phone:"8 800 250-11-48",subtitle:"СлÑжба ÑеÑ
ниÑеÑкой поддеÑжки ÑквайÑинга. Ðоможем, еÑли ÑеÑминал не\xa0пеÑаÑÐ°ÐµÑ Ñеки, завиÑ, нÑжна наÑÑÑойка или неÑ\xa0ÑвÑзи"},{phone:"8 800 250-01-99",subtitle:"ÐÑвеÑим на\xa0вопÑоÑÑ Ð¾Ð±\xa0опеÑаÑиÑÑ
по\xa0ÑÑÑÑÑ Ð¸\xa0ÑквайÑингÑ"}]},formTitle:"ÐÑÑавÑÑе заÑвкÑ",formSubtitle:"Ðозвоним вам и договоÑимÑÑ Ð¾ вÑÑÑеÑе Ñ Ð²ÑезднÑм менеджеÑом",buttonText:"пÑодолжиÑÑ",backBtnText:"повÑоÑиÑÑ"},N=e=>(0,I._)((0,t._)({},Y,e),{fields:(0,t._)({},Y.fields,null==e?void 0:e.fields)});var A=n(2087),H=n(75842),_=n(55900),F=n(95983),z=n(8765),M=n(29969);let U=(0,_.ZP)(l.l0).withConfig({componentId:"sc-eddb63e1-0"})(["width:100%;height:100%;order:1;min-height:330px;@media (min-width:","px){min-height:302px;}@media (min-width:","px){order:2;}"],z.breakpoints.tablet,z.breakpoints.desktopS),Z=_.ZP.div.withConfig({componentId:"sc-eddb63e1-1"})(["background-color:",";height:100%;border-radius:","px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:","px;padding:","px ","px;@media (min-width:","px){padding:","px;}@media (min-width:","px){padding:","px;}"],M.YE.colors.background.primary,F.P.radiuses.sm,M.YE.spacings.s32,M.YE.spacings.s32,M.YE.spacings.s16,z.breakpoints.tablet,M.YE.spacings.s32,z.breakpoints.desktopS,M.YE.spacings.s40),B=e=>{var i,n,t,a,r,d,p,c,u,h,m,g,f;let{onFormClick:x,formRef:b,inputRef:v,fixedStrings:E,strings:k,formTitle:S,formSubtitle:y,onChangePhone:w,onSMSSuccess:P,onSMSError:R,onResendCode:T}=e,j=(0,s.useRef)(null),{errors:I,touched:O,values:Y,setFieldValue:N,setFieldTouched:_,validateForm:F,isSubmitting:z}=(0,l.u6)(),M=(0,s.useCallback)(async()=>!(await F()).phone||(_("phone",!0),!1),[_,F]),B=async e=>{var i;e.preventDefault(),await (null===(i=j.current)||void 0===i?void 0:i.call(j))},D=!!(I.phone&&O.phone);return(0,o.jsx)(U,{ref:b,onClick:x,onSubmit:B,children:(0,o.jsx)(Z,{children:(0,o.jsx)(H.Y,{phone:Y.phone,title:null!=S?S:E.formTitle,subtitle:null!=y?y:E.formSubtitle,phoneLabel:null!==(p=null===(i=k.fields)||void 0===i?void 0:i.phone.label)&&void 0!==p?p:null===(n=E.fields)||void 0===n?void 0:n.phone.label,phonePlaceholder:null!==(c=null===(t=k.fields)||void 0===t?void 0:t.phone.placeholder)&&void 0!==c?c:null===(a=E.fields)||void 0===a?void 0:a.phone.placeholder,phoneHelper:null!==(u=null===(r=k.fields)||void 0===r?void 0:r.phone.helper)&&void 0!==u?u:null===(d=E.fields)||void 0===d?void 0:d.phone.helper,phoneError:D?I.phone:void 0,buttonText:null!==(h=k.buttonText)&&void 0!==h?h:E.buttonText,disabled:z,inputRef:v,submitRef:j,validatePhone:M,onPhoneChange:e=>N("phone",e),onPhoneClear:()=>{N("phone",""),_("phone",!1)},onPhoneBlur:()=>_("phone",!0),onVerified:P,onSMSError:R,onResendCode:T,onChangePhone:w,footerSlot:(0,o.jsxs)(A.x,{font:"p3RegularComp",as:"p",children:[null!==(m=k.agreementBefore)&&void 0!==m?m:E.agreementBefore,(0,o.jsx)(C.FormModalLink,{text:null!==(g=k.agreementText)&&void 0!==g?g:E.agreementText,modalContent:null!==(f=k.agreementContent)&&void 0!==f?f:E.agreementContent})]})})})})},D=(0,_.vJ)([".SmartCaptcha-Shield{z-index:2;}"]),q=(0,_.iv)(["display:grid;gap:","px;@media (min-width:","px){gap:","px;}@media (min-width:","px){grid-auto-flow:column;grid-template-columns:460px 1fr;gap:","px;}@media (min-width:","px){grid-template-columns:496px 1fr;}"],M.YE.spacings.s24,z.breakpoints.tablet,M.YE.spacings.s40,z.breakpoints.desktopS,M.YE.spacings.s32,z.breakpoints.desktopM),L=_.ZP.div.withConfig({componentId:"sc-47a35079-0"})(["margin:0 -","px;position:relative;@media (min-width:","px){margin:0;}@media (min-width:","px){min-height:356px;}& .smart-captcha{position:absolute;pointer-events:none;}",""],M.YE.spacings.s16,z.breakpoints.tablet,z.breakpoints.desktopS,e=>{let{hasInfo:i}=e;return i&&q}),W=(0,s.forwardRef)((e,i)=>{var n,E,k,S,y,P;let{view:R=c.g.STANDARD,parameters:T,isExtraLayer:I,layerDataProps:Y,inputRef:A}=e,H=(0,s.useMemo)(()=>N(null==T?void 0:T.strings),[T]),_=(0,b.Q)(),F=(0,d.t)("msb",1,!0,[],_),z=(0,s.useRef)(""),M=R===c.g.PARTNER,[U,Z]=(0,s.use
1State)(u.Ui.PHONE_STAGE),q=(0,s.useMemo)(()=>w(),[]),{dataLayerDispatcher:W,onFormikChange:G}=(0,h.P)(Y),X=(0,s.useRef)(null),J="formInfo"in T.strings,[Q,V]=(0,s.useState)(!1);(0,s.useEffect)(()=>{W(m.bA.OPEN)},[W]);let K=(0,p.s)(()=>{W(m.bA.INTERSECTION)},{threshold:.25}),$=async(e,i)=>{W(m.bA.SUBMIT,i);try{let n=j(T,F,i,e,_),{requestId:t}=await (0,g.t)(f.h,n);Z(u.Ui.SUCCESS),W(m.bA.SUCCESS,i,null==Y?void 0:Y.eventDefaults,t)}catch(e){if(a.default.isAxiosError(e)){var n;(null===(n=e.response)||void 0===n?void 0:n.status)===504&&W(m.bA.ERROR_TIMEOUT,i)}Z(u.Ui.ERROR),W(m.bA.ERROR,i)}},ee=async(e,i)=>{i.setSubmitting(!0);try{await $(z.current,e)}finally{i.setSubmitting(!1)}},ei=e=>{let i=e.target;(null==i?void 0:i.nodeName)==="INPUT"&&W(m.bA.TOUCH_FORM)},en=()=>{let e=X.current?X.current.values:void 0;W(m.bA.CHANGE_PHONE,e)},et=()=>{let e=X.current?X.current.values:void 0;W(m.bA.PHONE_SMS_ERROR,e)},eo=()=>{let e=X.current?X.current.values:void 0;W(m.bA.PHONE_SMS_SUCCESS,e),V(!0)},es=()=>{let e=X.current?X.current.values:void 0;W(m.bA.RESEND_CODE,e)},el=e=>{e(!1),V(!1)},ea=(e,i)=>{z.current=e,V(!1),i()};return((0,s.useImperativeHandle)(i,()=>({formikRef:X})),U===u.Ui.SUCCESS||U===u.Ui.ERROR)?(0,o.jsx)(C.FormResultingScreen,{requestResult:U,successPageText:null===(E=T.strings)||void 0===E?void 0:E.successPageText,errorPageText:(null===(k=T.strings)||void 0===k?void 0:k.errorPageText)||T.errorPageMessage,errorHeading:null===(S=T.strings)||void 0===S?void 0:S.errorHeading,successHeading:null===(y=T.strings)||void 0===y?void 0:y.successHeading,backBtnText:null===(P=T.strings)||void 0===P?void 0:P.backBtnText,onReturnClick:()=>{Z(u.Ui.PHONE_STAGE)},isDarkTheme:M,isExtraLayer:I}):(0,o.jsxs)(L,{hasInfo:J,id:"form",children:[(0,o.jsx)(l.J9,{innerRef:X,initialValues:O(),onSubmit:ee,validationSchema:q,children:e=>(G(e),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.s1,{sitekey:x.QD,onSuccess:i=>ea(i,e.submitForm),onChallengeHidden:()=>el(e.setSubmitting),visible:Q,hideShield:!J}),(0,o.jsx)(D,{})]}),(0,o.jsx)(B,{fixedStrings:H,inputRef:A,strings:null==T?void 0:T.strings,onFormClick:ei,formRef:K,onSMSSuccess:eo,onSMSError:et,onChangePhone:en,onResendCode:es,formTitle:T.formTitle,formSubtitle:T.formSubtitle}),(0,o.jsx)(v.Hz,{})]}))}),(null===(n=T.strings)||void 0===n?void 0:n.formInfo)&&(0,o.jsx)(C.FormInfo,(0,t._)({},T.strings.formInfo))]})})},75842:function(e,i,n){n.d(i,{Y:function(){return R}});var t,o,s=n(52676),l=n(75271),a=n(29998),r=n(87268),d=n(44475),p=n(2087),c=n(89594),u=n(29969),h=n(29548),m=n(93755),g=n(99328),f=n(38234),x=n(20017);(t=o||(o={})).PHONE="PHONE",t.OTP="OTP";var b=n(18672);let v=e=>{switch(e){case b.o5:case b.Nl:return x.Ck;case b.tX:case b.ZG:return x.Rc;default:return x.cl}};var C=n(55900),E=n(8765),k=n(9608);let S=C.ZP.div.withConfig({componentId:"sc-d747125e-0"})(["display:grid;grid-template-columns:1fr;align-items:start;gap:","px;width:100%;@media (min-width:","px){grid-template-columns:1fr 240px;}"],u.YE.spacings.s16,E.breakpoints.tablet),y=C.ZP.div.withConfig({componentId:"sc-d747125e-1"})(["display:grid;grid-auto-flow:row;gap:","px;grid-template-columns:1fr;width:100%;@media (min-width:","px){gap:","px;grid-template-columns:max-content;grid-auto-flow:column;align-items:center;}@media (min-width:","px){gap:","px;}& > div{text-wrap:balance;}"],u.YE.spacings.s16,E.breakpoints.tablet,u.YE.spacings.s24,E.breakpoints.desktopXS,u.YE.spacings.s24),w=C.ZP.div.withConfig({componentId:"sc-d747125e-2"})(["width:100%;display:flex;flex-direction:column;align-items:center;gap:","px;"],u.YE.spacings.s16),P={PhoneRow:S,BottomContainer:y,OtpWrapper:w,ChangePhone:(0,C.ZP)(k.r).withConfig({componentId:"sc-d747125e-3"})(["cursor:pointer;"]),Mobile:C.ZP.div.withConfig({componentId:"sc-d747125e-4"})(["display:block;width:100%;@media (min-width:","px){display:none;}"],E.breakpoints.tablet),Desktop:C.ZP.div.withConfig({componentId:"sc-d747125e-5"})(["display:none;@media (min-width:","px){display:block;}"],E.breakpoints.tablet)},R=e=>{let{phone:i,title:n,subtitle:t,phoneLabel:b,phonePlaceholder:C,phoneHelper:E,phoneError:k,buttonText:S,otpTitle:y="ÐведиÑе код",otpSubtitlePrefix:w="ÐÑпÑавили код подÑвеÑждениÑ\nна номеÑ",resendCodeText:R="ÐÑпÑавиÑÑ ÐºÐ¾Ð´ повÑоÑно",changePhoneText:T="ÐзмениÑÑ Ð½Ð¾Ð¼ÐµÑ",timerText:j="ÐÑпÑавиÑÑ Ð¿Ð¾Ð²ÑоÑно ÑеÑез",timerDuration:I=30,disabled:O,inputRef:Y,submitRef:N,footerSlot:A,validatePhone:H,onPhoneChange:_,onPhoneClear:F,onPhoneBlur:z,onVerified:M,onSMSError:U,onResendCode:Z,onChangePhone:B}=e,[D,q]=(0,l.useState)(o.PHONE),[L,W]=(0,l.useState)(!1),G=!!k,X=L?(0,s.jsx)(r.$,{size:24}):S,J=O||L,Q=async()=>
1{if(await H()){W(!0);try{await (0,g.X)(i),q(o.OTP)}catch(e){null==U||U()}finally{W(!1)}}};(0,l.useEffect)(()=>{if(N)return D===o.PHONE?N.current=Q:N.current=null,()=>{N.current=null}});let V=async(e,n)=>{try{W(!0),await (0,g.PI)(i,e),M()}catch(e){var t,o,s,l;if(null==U||U(),a.default.isAxiosError(e)&&(null===(t=e.response)||void 0===t?void 0:t.status)===f.YC){let i=null===(l=e.response)||void 0===l?void 0:null===(s=l.data)||void 0===s?void 0:null===(o=s.meta)||void 0===o?void 0:o.error;null==n||n(v("string"==typeof i||"number"==typeof i?i:void 0));return}null==n||n(x.cl)}finally{W(!1)}};return D===o.OTP?(0,s.jsx)(P.OtpWrapper,{children:(0,s.jsx)(d.H,{resendCode:!0,centered:!0,afterTimerLinkText:R,inputCodeProps:{fieldsCount:4,disabled:L,loading:L,onComplete:(e,i)=>V(e,i),isErrorAutoClear:!0,autoClearTimer:3e3},onLinkClick:()=>{null==Z||Z(),(0,g.X)(i)},subtitle:"".concat(w," ").concat(i),timerDuration:I,timerText:j,title:y,secondLink:(0,s.jsx)(P.ChangePhone,{type:"button",onClick:()=>{null==B||B(),q(o.PHONE)},size:20,children:T})})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[n&&(0,s.jsx)(p.x,{desktopS:{font:"h1Wide"},tablet:{font:"h2Wide"},font:"h3Wide",as:"h2",children:n}),t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.L,{samespace:!0,space:"s4"}),(0,s.jsx)(p.x,{tablet:{font:"p3RegularComp"},font:"p4RegularComp",color:u.YE.colors.text.secondary,as:"p",children:t})]})]}),(0,s.jsxs)(P.PhoneRow,{children:[(0,s.jsx)(h.Z,{isClearable:!0,ref:Y,autoComplete:"tel",clearThreshold:3,name:"phone",label:b,placeholder:C,description:G?k:E,value:i,hasError:G,disabled:J,onChange:e=>_(e),onClear:F,onBlur:z,size:72}),(0,s.jsx)(P.Desktop,{children:(0,s.jsx)(m.z,{fluid:!0,type:"submit",size:72,disabled:J,children:X})})]}),(0,s.jsxs)(P.BottomContainer,{children:[A,(0,s.jsx)(P.Mobile,{children:(0,s.jsx)(m.z,{fluid:!0,type:"submit",size:52,disabled:J,children:X})})]})]})}}}]);
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.