PageSourceSearch

https://www.jivochat.co.id/_next/static/chunks/pages/ai-demo-43776a567635475b.js

js jivochat.co.id collected 2026-10-04 11:56:29 UTC 28,344 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[88103,88302],{985:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',gridGap:"var(--grid-gap)",gridColumnsDefault:"12",selector:"jv-theme",container:"input_container__LBn6j",input:"input_input__qPUyE",input_size:"input_input_size__yHnAQ",input_size_xs:"input_input_size_xs__1LCd9",input_size_s:"input_input_size_s__DWwKt",input_size_m:"input_input_size_m__hf18J",input_size_l:"input_input_size_l__3qbGA",input_variant_rounded:"input_input_variant_rounded__c5KH3",input_variant_blue:"input_input_variant_blue__scIvH",input_variant_green:"input_input_variant_green__hFuvZ",input_error:"input_input_error__FuTSY",input_textarea:"input_input_textarea__xxFvm",fileInputContainer:"input_fileInputContainer__bluCf",disabled:"input_disabled__c5aOV",fileInput:"input_fileInput__6ky_3",fileInputButton:"input_fileInputButton__JBPM1",fileNameDisplay:"input_fileNameDisplay__O4ctz"}},1312:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var i=n(39033);let a=e=>{let t={},n={};Object.keys(e).forEach(i=>{t[i]=e[i].value,n[i]=null});let[a,r]=(0,i.useState)(t),[o,s]=(0,i.useState)(n),l=(0,i.useMemo)(()=>{let e=Object.values(o).some(e=>null!==e),t=Object.values(a).some(e=>!e.trim());return!e&&!t},[a,o]);return{formData:a,errorData:o,handleChange:t=>{let{name:n,value:i}=t.target;a[n]!==i&&(r(e=>({...e,[n]:i})),s(t=>({...t,[n]:e[n].validator(i)})))},isFormValid:l,validateAll:()=>{let t={};Object.keys(e).forEach(n=>{t[n]=e[n].validator(a[n])}),s(t);let n=Object.values(t).some(e=>null!==e),i=Object.values(a).some(e=>!e.trim());return!n&&!i}}}},12844:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var i=n(96677),a=n(39033),r=n(47003),o=n(985),s=n.n(o),l=n(27492),c=n.n(l),d=n(20962);let p=(0,a.forwardRef)(function(e,t){return(0,i.jsx)("input",{ref:t,...e})}),_=({type:e="text",id:t,name:n,className:o="",required:l=!1,value:_="",placeholder:h="",label:x="",size:u="m",width:m="100%",variant:g=null,focused:b=!1,disabled:j=!1,error:A=!1,noValidate:k=!1,mask:v="",onFocus:w,onBlur:y,onChange:f,...C})=>{let[N,S]=(0,a.useState)(_??""),[D,I]=(0,a.useState)(""),[z,M]=(0,a.useState)(!1);(0,a.useEffect)(()=>{S(_),M(!1)},[_]);let T=t=>{let n=t.target,i=n.value;"tel"!==e||v||(i=i.replace(/[^\d+\-() ]/g,""))!==n.value&&(n.value=i),S(i),!k&&z&&n.checkValidity()&&M(!1),f&&f(t)},E=e=>{let t=e.target;k||(t.value?M(!t.checkValidity()):M(!1)),y&&y(e)},F=()=>{k||M(!0)},B=A||z,q=c()(s().container,{[s().container_error]:B}),O=c()(s().input,s()[`input_size_${u}`],{[s()[`input_variant_${g}`]]:null!==g,[s().input_active]:N,[s().input_error]:B},o),L=k?void 0:(()=>{if(C.pattern)return C.pattern;switch(e){case"tel":return d.uN;case"email":return d.GX;default:return}})(),P=v.replace(/9/g,"_");return"file"===e?(0,i.jsxs)("label",{htmlFor:t,className:c()(s().fileInputContainer,o,{[s().disabled]:j}),children:[(0,i.jsx)("span",{className:s().fileInputButton,children:x}),(0,i.jsx)("span",{className:s().fileNameDisplay,children:D||h||"No file chosen"}),(0,i.jsx)("input",{type:"file",id:t,name:n,className:s().fileInput,onChange:e=>{e.target.files&&e.target.files.length>0?I(e.target.files[0].name):I(""),f&&f(e)},disabled:j,...C})]}):(0,i.jsx)("label",{className:q,style:{width:m},children:v?(0,i.jsx)(r.A,{component:p,type:e,id:t,name:n,required:l,className:O,value:N,autoFocus:b,disabled:j,onFocus:w,onChange:T,onBlur:E,onInvalid:F,mask:P,replacement:{_:/\d/},placeholder:h,pattern:L,inputMode:"tel"===e?"tel":void 0,...C}):(0,i.jsx)("input",{type:e,id:t,name:n,required:l,className:O,value:N,autoFocus:b,disabled:j,onFocus:w,onChange:T,onBlur:E,onInvalid:F,placeholder:h,pattern:L,inputMode:"tel"===e?"tel":void 0,...C})})}}
1,20962:(e,t,n)=>{"use strict";n.d(t,{DT:()=>o,FY:()=>r,GX:()=>a,uN:()=>i});let i="^[\\s\\(\\)\\-+]*([0-9][\\s\\(\\)\\-+]*){6,15}$",a="^[A-Za-z0-9.+_\\-]+@[A-Za-z0-9.\\-]+$",r=e=>new RegExp(i).test(e),o=e=>!!e.length&&new RegExp(a).test(e)},23841:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',gridGap:"var(--grid-gap)",gridColumnsDefault:"12",selector:"jv-theme",checkbox__native:"checkbox_checkbox__native___3oCJ",checkbox__custom:"checkbox_checkbox__custom__3tXNR","checkbox__custom_bg_gray-10":"checkbox_checkbox__custom_bg_gray-10__EyiJA","checkbox__custom_bg_gray-15":"checkbox_checkbox__custom_bg_gray-15__dAziK","checkbox__custom_bg_gray-25":"checkbox_checkbox__custom_bg_gray-25__s4mIY","checkbox__custom_bg_gray-35":"checkbox_checkbox__custom_bg_gray-35__dDJHR","checkbox__custom_bg_gray-50":"checkbox_checkbox__custom_bg_gray-50___X44R","checkbox__custom_bg_gray-60":"checkbox_checkbox__custom_bg_gray-60__mQWdT","checkbox__custom_bg_gray-75":"checkbox_checkbox__custom_bg_gray-75__3us3s","checkbox__custom_bg_gray-85":"checkbox_checkbox__custom_bg_gray-85__B0c5G","checkbox__custom_bg_gray-90":"checkbox_checkbox__custom_bg_gray-90__lOAIC",checkbox__custom_bg_white:"checkbox_checkbox__custom_bg_white__AqCMQ",checkbox__custom_bg_black:"checkbox_checkbox__custom_bg_black__1AvTC","checkbox__custom_bg_green-1":"checkbox_checkbox__custom_bg_green-1__47t1y","checkbox__custom_bg_green-2":"checkbox_checkbox__custom_bg_green-2__Gjiyi",checkbox__custom_bg_blue:"checkbox_checkbox__custom_bg_blue__1JOP9",checkbox__custom_bg_orange:"checkbox_checkbox__custom_bg_orange__3h7Cz"}},27845:e=>{e.exports={container:"loader_container__Gh2dL",loader:"loader_loader__hmQuu",hidden:"loader_hidden__ACn1R"}},65881:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ai-demo",function(){return n(83079)}])},75971:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var i=n(96677);n(39033);var a=n(27492),r=n.n(a),o=n(27845),s=n.n(o);let l=({size:e="46px",show:t=!0,fill:n="#49da1f",className:a="",...o})=>(0,i.jsx)("div",{className:r()(s().container,{[s().hidden]:!t},a),style:{width:e},...o,children:(0,i.jsx)("svg",{className:r()(s().loader),version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 0 0",xmlSpace:"preserve",children:(0,i.jsx)("path",{fill:n,d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50",children:(0,i.jsx)("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"0.7s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"})})})})},75978:e=>{e.exports={selector:"jv-theme",label:"collapse_label__p5131",text:"collapse_text__o74kx",icon:"collapse_icon__39oL4",arrow:"collapse_arrow__oQ4OL",arrow_expanded:"collapse_arrow_expanded__pnlFu",content:"collapse_content__Sncjq",content_expanded:"collapse_content_expanded__sFMns",boxed:"collapse_boxed__bCz4S",boxed_closed:"collapse_boxed_closed__p4Xwj",boxed_open:"collapse_boxed_open__stK2T",answer:"collapse_answer__4ub7k"}},80498:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var i=n(96677),a=n(39033),r=n(75978),o=n.n(r),s=n(27492),l=n.n(s),c=n(74064),d=n(27820),p=n(17521),_=n(17646);let h=({label:e,description:t,content:n,children:r,isVisible:s=!1,labelVariant:h="h5",labelWeight:x="semibold",contentVariant:u="default",variant:m="default"})=>{let[g,b]=(0,a.useState)(s),j=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=j.current;e&&(e.style.maxHeight=g?`${e.scrollHeight}px`:"0")},[g]),(0,i.jsx)(i.Fragment,{children:e&&(n||r)&&(0,i.jsxs)(p.A,{padding:[0,0,3],className:l()({[o().boxed]:"boxed"===m,[o().boxed_open]:"boxed"===m&&g,[o().boxed_closed]:"boxed"===m&&!g}),children:[(0,i.jsxs)(d.A.Container,{className:l()(o().label),onClick:e=>{e.preventDefault(),b(!g)},children:[(0,i.jsx)(c.A,{className:o().text,variant:h,weight:x,children:e}),(0,i.jsx)("div",{className:l()(o().arrow,{[o().arrow_expanded]:g}),children:(0,i.jsx)(_._kA,{size:25})})]}),t&&(0,i.jsx)(p.A,{padding:[.5,0,1],children:(0,i.jsx)(c.A,{color:"gray-75",children:t})}),(0,i.jsx)("div",{ref:j,className:l()(o().content,{[o().content_expanded]:g}),children:(0,i.jsxs)(p.A,{padding:[1,0,0],children:[n&&(0,i.jsx)(c.A,{className:l()(o().answer),variant:u,color:"gray-75",children:n}),r]})})]})})}},83079:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>U,default:()=>V});var i=n(96677),a=n(63864),r=n(76589),o=n(55527),s=n(66374),l=n(33522),c=n(27820),d=n(17521),p=n(74064),_=n(31610),h=n(27492),x=n.n(h),u=n(92443),m=n.n(u);let g=()=>{let{t:e,Translation:t}=(0,_.A)();return(0,i.jsxs)(d.A,{padding:[12,0,2],className:x()(m().intro),children:[(0,i.jsxs)(c.A.Container,{alignItems:"center",direction:"column",children:[(0,i.jsx)(c.A.Item,{width:{desktop:"100%",mobile:"100%",tablet:"100%"},children:(0,i.jsx)(p.A,{variant:"h2",tag:"h1",color:"white",align:"center",children:e("page.ai-demo.intro.title")})}),(0,i.jsx)(c.A.Item,{width:{desktop:"100%",mobile:"100%",tablet:"100%"},children:(0,i.jsx)(p.A,{color:"gray-35",align:"center",children:e("page.ai-demo.intro.text")})})]}),(0,i.jsx)(d.A,{padding:{desktop:[2,0,1],tablet:[7,0,1],mobile:[7,0,1]},children:(0,i.jsx)(p.A,{align:"center",children:(0,i.jsxs)("span",{className:x()(m().cta),children:[(0,i.jsx)(s.A,{size:"l",onClick:()=>{let e=document.getElementById("demo-form");if(e){let t=e.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}},children:e("page.ai-demo.button.label")}),(0,i.jsx)("span",{className:x()(m().point),"aria-hidden":!0})]})})}),(0,i.jsx)(p.A,{align:"center",color:"gray-35",children:(0,i.jsx)(t,{i18nKey:"page.ai-demo.intro.notice",components:{link:(0,i.jsx)(l.A,{target:"_blank",decoration:"underline",color:"white",href:"https://api.whatsapp.com/se
1nd/?phone=%2B79581003291&text&type=phone_number&app_absent=0"})}})})]})};var b=n(96775),j=n(83494),A=n(88443);let k=({index:e})=>{let{t}=(0,_.A)();return(0,i.jsx)(b.A.Item,{size:1,children:(0,i.jsxs)(j.A,{background:"gray-85",children:[(0,i.jsx)(A.A,{src:`/images/pages/ai-demo/auto-item0${e}.webp`,alt:"",width:80,height:80}),(0,i.jsx)(d.A,{padding:[.5,0],children:(0,i.jsx)(p.A,{variant:"h5",color:"white",children:t(`page.ai-demo.auto.items.item0${e}.title`)})}),(0,i.jsx)(p.A,{color:"gray-35",children:t(`page.ai-demo.auto.items.item0${e}.text`)})]})})},v=()=>{let{t:e,Translation:t}=(0,_.A)();return(0,i.jsxs)(d.A,{padding:[3,0,5],className:x()(m().autoContainer),children:[(0,i.jsx)(p.A,{align:"center",variant:"h3",color:"white",className:x()(m().autoTitle),children:e("page.ai-demo.auto.title")}),(0,i.jsx)(d.A,{padding:[2,0,0],children:(0,i.jsxs)(b.A.Container,{columns:{desktop:3,mobile:1,tablet:1},children:[(0,i.jsx)(k,{index:1}),(0,i.jsx)(k,{index:2}),(0,i.jsx)(k,{index:3})]})}),(0,i.jsx)(d.A,{padding:[2,0,0],children:(0,i.jsx)(p.A,{align:"center",color:"gray-35",children:(0,i.jsx)(t,{i18nKey:"page.ai-demo.auto.notice",components:{link:(0,i.jsx)(l.A,{target:"_blank",decoration:"underline",color:"white",href:"https://api.whatsapp.com/send/?phone=%2B79581003291&text&type=phone_number&app_absent=0"})}})})})]})},w=({index:e})=>{let{t}=(0,_.A)();return(0,i.jsx)(b.A.Item,{size:1,children:(0,i.jsxs)(j.A,{background:"gray-85",children:[(0,i.jsx)(c.A.Container,{direction:"column",alignItems:"center",children:(0,i.jsx)(c.A.Item,{width:{desktop:"90%",mobile:"100%",tablet:"100%"},children:(0,i.jsx)(p.A,{variant:"h5",color:"white",align:"center",children:t(`page.ai-demo.agent.items.item0${e}.title`)})})}),(0,i.jsx)(d.A,{padding:[2,0,0],children:(0,i.jsx)(p.A,{align:"center",children:(0,i.jsx)(A.A,{src:`/images/pages/ai-demo/agent-item0${e}.webp`,alt:"",width:244,height:244})})})]})})},y=()=>{let{t:e}=(0,_.A)();return(0,i.jsxs)(d.A,{padding:[0,0,1],children:[(0,i.jsx)(p.A,{variant:"h3",color:"white",align:"center",children:e("page.ai-demo.agent.title")}),(0,i.jsx)(d.A,{padding:[2,0,0],children:(0,i.jsxs)(b.A.Container,{columns:{desktop:3,mobile:1,tablet:1},children:[(0,i.jsx)(w,{index:1}),(0,i.jsx)(w,{index:2}),(0,i.jsx)(w,{index:3})]})}),(0,i.jsx)(d.A,{padding:[2,0,4.3],children:(0,i.jsx)(p.A,{align:"center",children:(0,i.jsx)(s.A,{size:"l",onClick:()=>{let e=document.getElementById("demo-form");if(e){let t=e.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}},children:e("page.ai-demo.button.label")})})}),(0,i.jsx)(j.A,{background:null,className:x()(m().agentTile),padding:[2,0,0,2],children:(0,i.jsxs)(c.A.Container,{direction:{desktop:"row",mobile:"column",tablet:"column"},children:[(0,i.jsxs)(c.A.Item,{width:{desktop:"386px",mobile:"100%",tablet:"100%"},children:[(0,i.jsx)(p.A,{variant:"h4",color:"white",children:e("page.ai-demo.agent.banner.title")}),(0,i.jsx)(d.A,{padding:[1,0,0],children:(0,i.jsx)(p.A,{color:"white",children:e("page.ai-demo.agent.banner.text")})})]}),(0,i.jsx)(A.A,{src:"/images/pages/ai-demo/setting-web.webp",alt:"",width:808,height:568})]})})]})};var f=n(80498);let C=()=>{let{t:e,Translation:t}=(0,_.A)();return(0,i.jsxs)(d.A,{padding:[5,0,6],children:[(0,i.jsx)(p.A,{variant:"h3",children:e("page.ai-demo.faq.title")}),(0,i.jsx)(d.A,{padding:[2,0,0],children:Object.values(e("page.ai-demo.faq.items")).map((t,n)=>(0,i.jsx)(f.A,{label:e(`page.ai-demo.faq.items.item0${n+1}.question`),content:e(`page.ai-demo.faq.items.item0${n+1}.answer`)},n))}),(0,i.jsx)(p.A,{align:"center",color:"gray-35",children:(0,i.jsx)(t,{i18nKey:"page.ai-demo.faq.notice",components:{link:(0,i.jsx)(l.A,{target:"_blank",decoration:"underline",color:"white",href:"https://api.whatsapp.com/send/?phone=%2B79581003291&text&type=phone_number&app_absent=0"})}})})]})};var N=n(39033),S=n(12844),D=n(20962),I=n(1312),z=n(94345),M=n(32487),T=n(84086),E=n(67711),F=n(75971),B=n(51816),q=n(66868);let O=[{text:(0,i.jsx)(i.Fragment,{children:"Обсудим ваши задачи"})},{text:(0,i.jsxs)(i.Fragment,{children:["Покажем, как ИИ будет работать ",(0,i.jsx)("br",{}),"с вашими клиентами"]})},{text:(0,i.jsxs)(i.Fragment,{children:["Настроим тестовый сценарий ",(0,i.jsx)("br",{})," под ваш запрос"]})}],L=[{id:"ecommerce",value:"Интернет-магазин / торговля"},{id:"services",value:"Услуги"},{id:"it",value:"IT / SaaS"},{id:"realestate",value:"Недвижимость"},{id:"tourism",value:"Туризм"},{id:"medicine",value:"Медицина"}],P=[{id:"under50",value:"До 50"},{id:"50to100",value:"50-100"},{id:"over100",value:"100+"}],$=[{id:"sales",value:"Увеличить продажи"},{id:"workload",value:"Сократить нагрузку на команду"},{id:"speed",value:"Повысить скорость ответов"},{id:"costs",value:"Снизить расходы"}],R=({item:e})=>
1(0,i.jsxs)(c.A.Container,{gap:.65,alignItems:{desktop:"top",tablet:"center",mobile:"center"},children:[(0,i.jsx)(c.A.Item,{shrink:0,children:(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"27",viewBox:"0 0 28 27",fill:"none",children:[(0,i.jsx)("path",{d:"M12.9347 2.7891L13.3608 0L14.0581 2.75036C15.3364 7.82497 19.5201 11.6212 24.7109 12.4347L27.5 12.8608L24.7497 13.5581C19.675 14.8364 15.8788 19.0201 15.0653 24.2109L14.6392 27L13.9419 24.2496C12.6636 19.175 8.47992 15.3788 3.2891 14.5653L0.5 14.1392L3.25037 13.4419C8.32498 12.1636 12.1212 7.97992 12.9347 2.7891Z",fill:"url(#paint0_linear_37702_19023)"}),(0,i.jsx)("defs",{children:(0,i.jsxs)("linearGradient",{id:"paint0_linear_37702_19023",x1:"14",y1:"0",x2:"14",y2:"27",gradientUnits:"userSpaceOnUse",children:[(0,i.jsx)("stop",{stopColor:"#AA5BFF"}),(0,i.jsx)("stop",{offset:"1",stopColor:"#663699"})]})})]})}),(0,i.jsx)(p.A,{color:"white",weight:"semibold",children:e.text})]}),G=()=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(p.A,{variant:"h3",align:"center",color:"white",children:"Как проходит демо"}),(0,i.jsx)(d.A,{padding:[.67,0,0],children:(0,i.jsx)(p.A,{align:"center",color:"gray-35",children:"За 30 минут вы увидите, как ИИ-оператор может работать в вашем бизнесе"})}),(0,i.jsx)(d.A,{padding:[2.25,0],children:(0,i.jsx)(c.A.Container,{justifyContent:{desktop:"space-around",tablet:"center",mobile:"center"},direction:{desktop:"row",tablet:"column",mobile:"column"},children:O.map((e,t)=>(0,i.jsx)(R,{item:e},t))})})]}),X=({value:e,onChange:t,onBlur:n,onFocus:a,onClick:r})=>(0,i.jsx)("div",{onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),style:{width:"100%",boxSizing:"border-box"},children:(0,i.jsx)(S.A,{size:"l",variant:"rounded",type:"text",value:e,onChange:e=>t(e.target.value),onBlur:n,placeholder:"Другое (заполните поле)",className:x()(m().customInput),onFocus:a,onClick:r})}),J=({options:e,onChange:t,value:n,placeholder:a,customInput:r,error:o,hasError:s})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(B.A,{onChange:t,value:n,className:x()(m().businessDropdown),children:[(0,i.jsx)(B.A.Switch,{size:"l",variant:"default",className:x()(m().input,m().switch,s&&m().error),children:a}),(0,i.jsxs)(B.A.Menu,{children:[e.map(e=>(0,i.jsx)(B.A.Option,{id:e.id,value:e.value,className:x()(m().dropdownOption),children:(0,i.jsx)(p.A,{variant:"small",weight:"semibold",color:"white",children:e.value})},e.id)),r]})]}),o&&(0,i.jsx)(d.A,{padding:[.25,0,0],children:(0,i.jsx)(p.A,{variant:"extra-small",color:"red",children:o})})]}),K=({formData:e,errorData:t,handleChange:n,businessSphere:a,customBusinessSphere:r,onBusinessSphereChange:o,onCustomInputChange:l,onCustomInputBlur:_,onCustomInputFocus:h,businessSphereError:u})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(c.A.Container,{direction:{desktop:"row",mobile:"column"},wrap:"wrap",gap:1,alignItems:{desktop:"end",mobile:"center",tablet:"center"},justifyContent:"center",children:[(0,i.jsxs)(c.A.Item,{width:{desktop:"240px",tablet:"100%",mobile:"100%"},children:[(0,i.jsx)(d.A,{padding:[0,0,.17],children:(0,i.jsx)(p.A,{variant:"extra-small",align:"left",color:"gray-35",children:"Имя"})}),(0,i.jsx)(S.A,{size:"l",variant:"rounded",type:"tel",name:"name",value:e.name,onChange:n,note:t.name,error:!!t.name,required:!0,className:x()(m().input),style:{height:"52px",boxSizing:"border-box"}})]}),(0,i.jsxs)(c.A.Item,{width:{desktop:"240px",tablet:"100%",mobile:"100%"},children:[(0,i.jsx)(d.A,{padding:[0,0,.17],children:(0,i.jsx)(p.A,{variant:"extra-small",align:"left",color:"gray-35",children:"Телефон"})}),(0,i.jsx)(S.A,{size:"l",variant:"rounded",type:"tel",name:"phone",value:e.phone,onChange:n,note:t.phone,error:!!t.phone,required:!0,autoComplete:"tel",className:x()(m().input),style:{height:"52px",boxSizing:"border-box"}})]}),(0,i.jsxs)(c.A.Item,{width:{desktop:"240px",tablet:"100%",mobile:"100%"},children:[(0,i.jsx)(d.A,{padding:[0,0,.17],children:(0,i.jsx)(p.A,{variant:"extra-small",align:"left",color:"gray-35",children:"Email"})}),(0,i.jsx)(S.A,{size:"l",variant:"rounded",type:"email",name:"email",value:e.email,onChange:n,note:t.email,error:!!t.email,required:!0,className:x()(m().input),style:{height:"52px",boxSizing:"border-box"}})]})]}),(0,i.jsx)(d.A,{padding:[1,0,0],children:(0,i.jsx)(c.A.Container,{justifyContent:"center",children:(0,i.jsx)(c.A.Item,{width:{desktop:"764px",tablet:"100%",mobile:"100%"},children:(0,i.jsx)(J,{options:L,onChange:o,value:r?{id:"other",value:r}:a,placeholder:"К какой сфере относится ваш бизнес?",customInput:(0,i.jsx)(X,{value:r,onChange:l,onBlur:_,onFocus:h,onClick:e=>e.stopPropagation()}),error:u,hasError:!!u})})})}),(0,i.jsx)(d.A,{padding:[2,0,0],children:(0,i.jsx)(p.A,{align:"center",children:(0,i.jsx)(s.A,{size:"l",children:"Далее →"})})})]}),H=({t:e,weeklyContacts:t,priority:n,isCheckboxChecked:a,isCheckboxCheckedMailings:r,isSubmitting:o,onWeeklyContactsChange:l,onPriorityChange:_,onCheckboxChange:h,onMailingsCheckboxChange:u,weeklyContactsError:g,priorityError:b,checkboxError:j,mailingsCheckboxError:A})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(d.A,{padding:[1,0,0],children:(0,i.jsx)(c.A.Container,{justifyContent:"center",children:(0,i.jsx)(c.A.Item,{width:{desktop:"764px",tablet:"100%",mobile:"100%"},children:(0,i.jsx)(J,{options:P,onChange:l,value:t,placeholder:"Сколько обращений в неделю обрабатываете?",error:g,hasError:!!g})})})}),(0,i.jsx)(d.A,{padding:[1,0,0],children:(0,i.jsx)(c.A.Container,{justifyContent:"center",children:(0,i.jsx)(c.A.Item,{width:{desktop:"764px",tablet:"100%",mobile:"100%"},children:(0,i.jsx)(J,{options:$,onChange:_,value:n,placeholder:"Что для вас сейчас важнее всего?",error:b,hasError:!!b})})})}),(0,i.jsx)(d.A,{padding:[1,0,0],children:(0,i.jsx)(c.A.Container,{justifyContent:"center",children:(0,i.jsx)(c.A.Item,{width:{desktop:"764px",tablet:"100%",mobile:"100%"},children:(0,i.jsx)(z.A,{isChecked:a,bg:"gray-75",onChange:h,text:e("common.vip_request.inputs.eula.label",{link:"/files/personal_data_processing_policy.pdf"})})})})}),(0,i.jsx)(d.A,{padding:[1,0,0],children:(0,i.jsx)(c.A.Container,{justifyContent:"center",children:(0,i.jsx)(c.A.Item,{width:{desktop:"764px",tablet:"100%",mobile:"100%"},children:(0,i.jsx)(z.A,{bg:"gray-75",isChecked:r,onChange:u,text:e("common.vip_request.inputs.mailings.label",{link:"/files/consent-adv.pdf"})})})})}),(j||A)&&(0,i.jsxs)(d.A,{padding:[.5,0,0],children:[j&&(0,i.jsx)(p.A,{variant:"extra-small",color:"red",align:"center",className:x()(m().errorNote),
1children:j}),A&&(0,i.jsx)(p.A,{variant:"extra-small",color:"red",align:"center",className:x()(m().errorNote),children:A})]}),(0,i.jsxs)(d.A,{padding:[2,0,0],children:[(0,i.jsx)(c.A.Container,{justifyContent:"center",children:o?(0,i.jsx)(F.A,{}):(0,i.jsx)(s.A,{size:"l",children:"Записаться на демо"})}),(0,i.jsx)(d.A,{padding:[.5,0,0],children:(0,i.jsx)(p.A,{align:"center",variant:"extra-small",color:"green-2",children:"и получить 5 промптов для вашего бизнеса"})})]})]}),Y=({onFormSuccess:e})=>{let{t}=(0,_.A)(),[n,a]=(0,N.useState)(1),[r,o]=(0,N.useState)(!1),[s,l]=(0,N.useState)(!1),[c,d]=(0,N.useState)(!1),[h,x]=(0,N.useState)({type:null,text:null}),[u,m]=(0,N.useState)(null),[g,b]=(0,N.useState)(""),[A,k]=(0,N.useState)(null),[v,w]=(0,N.useState)(null),[y,f]=(0,N.useState)(""),[C,S]=(0,N.useState)(""),[z,F]=(0,N.useState)(""),[B,O]=(0,N.useState)(""),[L,P]=(0,N.useState)(""),$=(0,N.useRef)(null),{formData:R,errorData:X,handleChange:J,isFormValid:Y}=(0,I.X)({name:{value:"",validator:e=>!e||e.trim()?null:t("common.vip_request.errors.name")},phone:{value:"",validator:e=>!e||(0,D.FY)(e)?null:t("common.vip_request.errors.phone")},email:{value:"",validator:e=>e.length>=6&&(0,D.DT)(e)?null:t("common.vip_request.errors.email")}}),Q=async n=>{let i;if(n.preventDefault(),i=!1,S(""),F(""),O(""),P(""),A||(S("Пожалуйста, выберите количество обращений"),i=!0),v||(F("Пожалуйста, выберите приоритет"),i=!0),s||(O("Необходимо согласие на обработку персональных данных"),i=!0),c||(P("Необходимо согласие на получение рекламных материалов"),i=!0),i||!Y||!u)return;let a=E.A.getUtmParams();o(!0);try{let n=await $.current?.executeAsync(),i="other"===u.id?g:u.value;(await fetch("/api/send-email/ai-demo",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({params:{...R,businessSphere:i,weeklyContacts:A.value,priority:v.value,utmParams:a},captchaToken:n})})).ok?((0,q.Vp)("reachGoal","demoai"),x({type:"success",text:t("common.vip_request.success")}),e()):x({type:"error",text:t("common.vip_request.error")})}catch(e){console.log("Error submitting form:",e),x({type:"error",text:t("common.vip_request.error")})}finally{o(!1),$?.current?.reset()}};return(0,i.jsxs)(j.A,{id:"demo-form",background:"gray-85",padding:{desktop:[2,3],tablet:[2],mobile:[2]},children:[(0,i.jsx)(G,{}),h.type?(0,i.jsx)(p.A,{variant:"h4",align:"center",children:h.text}):(0,i.jsxs)("form",{onSubmit:1===n?e=>{let t;e.preventDefault(),g&&m({id:"other",value:g}),t=!1,f(""),u||g.trim()||(f("Пожалуйста, выберите сферу бизнеса"),t=!0),!t&&Y&&a(2)}:Q,children:[(0,i.jsx)(M.A,{ref:$,size:"invisible",sitekey:T.ep}),1===n&&(0,i.jsx)(K,{formData:R,errorData:X,handleChange:J,businessSphere:u,customBusinessSphere:g,onBusinessSphereChange:e=>{g&&"other"!==e.id&&b(""),m(e),y&&f("")},onCustomInputChange:e=>{b(e)},onCustomInputBlur:()=>{g&&m({id:"other",value:g})},onCustomInputFocus:e=>{e.stopPropagation(),u&&"other"===u.id||m({id:"other",value:g||"Другое"})},businessSphereError:y}),2===n&&(0,i.jsx)(H,{t:t,weeklyContacts:A,priority:v,isCheckboxChecked:s,isCheckboxCheckedMailings:c,isSubmitting:r,onWeeklyContactsChange:e=>{k(e),C&&S("")},onPriorityChange:e=>{w(e),z&&F("")},onCheckboxChange:()=>{l(!s),B&&O("")},onMailingsCheckboxChange:()=>{d(!c),L&&P("")},weeklyContactsError:C,priorityError:z,checkboxError:B,mailingsCheckboxError:L})]})]})},Q=()=>(0,i.jsx)(d.A,{padding:[5,0],className:x()(m().successContainer),children:(0,i.jsxs)(c.A.Container,{direction:"column",justifyContent:{desktop:"center",tablet:"center",mobile:"center"},alignItems:{desktop:"center",tablet:"center",mobile:"center"},gap:0,children:[(0,i.jsx)(d.A,{padding:[0,0,1],children:(0,i.jsx)(A.A,{alt:"",src:"/images/pages/ai-demo/robot.webp",width:333,height:333})}),(0,i.jsx)(p.A,{variant:"h2",align:"center",color:"white",children:"Все получилось!"}),(0,i.jsx)(d.A,{padding:[.7,0,2],children:(0,i.jsxs)(p.A,{color:"gray-35",align:"center",children:["Теперь вы можете скачать"," ",(0,i.jsx)(p.A,{tag:"span",color:"white",weight:"semibold",children:"5 базовых промтов"})," ","для настройки бота для вашего бизнеса"]})}),(0,i.jsx)("a",{href:"/files/5-base-prompts.pdf",download:"5-base-prompts",children:(0,i.jsx)(s.A,{size:"l",children:"Скачать ↓"})})]})});var U=!0;let V=()=>{let[e,t]=(0,N.useState)(!1);return(0,N.useEffect)(()=>{e&&window.scrollTo({top:0,behavior:"smooth"})},[e]),(0,i.jsx)(a.A,{id:"ai-demo",children:e?(0,i.jsx)(Q,{}):(0,i.jsx)(o.A,{variant:"dark",children:(0,i.jsxs)(r.A,{children:[(0,i.jsx)(g,{}),(0,i.jsx)(v,{}),(0,i.jsx)(y,{}),(0,i.jsx)(Y,{onFormSuccess:()=>{t(!0)}}),(0,i.jsx)(C,{})]})})})}},92443:e=>{e.exports={screenMobileMax:"760px",screenTabletMax:"1225px",screenDesktopMin:"1226px",mediaMobile:'"max-width: 760px"',mediaMobileAndTablet:'"max-width: 1225px"',mediaTablet:'"min-width: 761px) and (max-width: 1225px"',mediaTabletAndDesktop:'"min-width: 761px"',mediaDesktop:'"min-width: 1226px"',mediaNarrowDesktop:'"(min-width: 1226px) and (max-width: 1388px)"',form:"aiDemo_form__aVT92",intro:"aiDemo_intro__4_vS_",cta:"aiDemo_cta__CzcPC",successContainer:"aiDemo_successContainer__JMBjg",point:"aiDemo_point__OzxSz",autoContainer:"aiDemo_autoContainer__i3EA6",agentTile:"aiDemo_agentTile__wD3E_",input:"aiDemo_input__cDhyp",errorNote:"aiDemo_errorNote__HrhIC",businessDropdown:"aiDemo_businessDropdown__Ri6iy",switch:"aiDemo_switch__YmmPF",dropdownOption:"aiDemo_dropdownOption__Uunkx",selected:"aiDemo_selected__i_Jwj",customInput:"aiDemo_customInput__Zs4Iq"}},94345:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var i=n(96677),a=n(27492),r=n.n(a),o=n(27820),s=n(74064),l=n(23841),c=n.n(l);let d=({isChecked:e,onChange:t,name:n="agreement",text:a,textColor:l,bg:d="gray-75",textClassName:p,textVariant:_="small"})=>(0,i.jsx)("label",{children:(0,i.jsxs)(o.A.Container,{gap:.5,alignItems:"center",children:[(0,i.jsx)("input",{type:"checkbox",name:n,checked:e,onChange:t,onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),t())},className:r()(c().checkbox,c().checkbox__native)}),(0,i.jsx)("span",{className:r()(c().checkbox,c().checkbox__custom,{[c()[`checkbox__custom_bg_${d}`]]:null!==d})}),(0,i.jsx)(s.A,{color:l,variant:_,className:p,children:a})]})})}},e=>{e.O(0,[18511,21680,47003,32487,96150,90636,46593,38792],()=>e(e.s=65881)),_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.