PageSourceSearch

https://i-maximum.com/_next/static/chunks/6806.be882461eb8b9907.js

js i-maximum.com collected 2026-10-06 16:29:42 UTC 5,383 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6806],{26806:function(e,n,o){"use strict";o.r(n);var t=o(85893),i=o(46320),a=o(39682),s=o.n(a),l=o(25675),r=o.n(l),c=o(41664),u=o.n(c),d=o(32925),p=o(92279),m=o(47227);o(37677);var b=o(36794),_=o(53070),v=o(1791),h=o(90455),j=o(11163),x=o(92310),f=o(87536),w=o(67294),N=o(5152);let C=o.n(N)()(()=>o.e(752).then(o.bind(o,90752)),{loadableGenerated:{webpack:()=>[90752]},ssr:!1});n.default=(0,w.memo)(function(e){var n,o,a,l,c,N,T,F,g;let{data:k}=e,[y,I]=(0,w.useState)(!1),[E,Z]=(0,w.useState)(!1),Y=(0,j.useRouter)(),J=(0,b.Z)(e=>e.setcorrectWindow),P=(0,b.Z)(e=>e.seterrorWindow),{register:S,handleSubmit:B,formState:{errors:A},control:L,reset:M}=(0,f.cI)(),K=async e=>{try{if(!(await fetch("/api/sendThank",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})})).ok)throw Error("Failed to send email")}catch(e){}},O=async e=>{K(e.email),await (0,x.T)("<u>Application from the I-Maximum website:</u> \n\n <b>Name:</b>\n ".concat(e.name," \n\n <b>Email:</b> \n ").concat(e.email," \n\n <b>Phone:</b> \n ").concat(e.phone," \n\n <b>Company:</b> \n ").concat(e.company).concat((null==e?void 0:e.product)?"\n\n <b>Product:</b> \n "+e.product:""," \n\n <b>Message:</b> \n ").concat(e.message)),m.ZP.send("service_0bzkupo","template_ojmb4wj",e,{publicKey:"EyA39mHqYbZIQPuNG"}).then(e=>{J(!0),M(),I(!1)}).catch(e=>{P(!0),M(),I(!1)})};return(0,t.jsx)(t.Fragment,{children:k?(0,t.jsxs)("div",{className:s().container,children:[(0,h.sY)(null==k?void 0:k.title)&&(0,t.jsx)(d.default,{text:(0,h.sY)(null==k?void 0:k.title),className:s().title}),(0,h.sY)(null==k?void 0:k.description)&&(0,t.jsx)(d.default,{text:(0,h.sY)(null==k?void 0:k.description),className:s().description}),(0,t.jsxs)("div",{className:s().wrapperForm,children:[(0,t.jsxs)("form",{className:s().consultation,onSubmit:B(O),children:[(0,t.jsxs)("div",{className:s().wrapperSimpleInput,children:[(0,t.jsx)(i.Z,{register:S,placeholder:(null==k?void 0:k.defaultTextName)||"Name",name:"name",error:A}),(0,t.jsx)(v.Z,{control:L,placeholder:(null==k?void 0:k.defaultTextPhone)||"Phone",name:"phone",error:A}),(0,t.jsx)(i.Z,{register:S,placeholder:(null==k?void 0:k.defaultTextEmail)||"Email",n
1ame:"email",valid:/^(([^<>()[\].,;:\s@"]+(\.[^<>()[\].,;:\s@"]+)*)|(".+"))@(([^<>()[\].,;:\s@"]+\.)+[^<>()[\].,;:\s@"]{2,})$/,error:A}),(0,t.jsx)(i.Z,{register:S,placeholder:(null==k?void 0:k.defaultTextCompany)||"Company",name:"company",error:A})]}),(0,t.jsx)("div",{className:"".concat(s().simpleInput," ").concat(A.hasOwnProperty("message")?s().error:""),children:(0,t.jsx)("textarea",{...S("message",{required:!0}),placeholder:k.defaultTextMessage,className:s().input})}),(0,t.jsx)(f.Qr,{name:"confirmation",control:L,render:e=>{let{field:n}=e;return(0,t.jsx)(_.Z,{data:null==k?void 0:k.confirmation,setIsChecked:I,isChecked:y,field:n})}}),(0,t.jsx)("div",{className:s().wrapperbutton,onMouseEnter:()=>Z(!0),onMouseLeave:()=>Z(!1),children:(null==k?void 0:k.button)&&(0,t.jsxs)("button",{disabled:!y,className:"".concat(s().button," ").concat(y?"":s().buttonNoactiv),children:[k.button,(0,t.jsx)("span",{className:"".concat(s().confirm," ").concat(E&&!y?s().confirmActive:""),children:(null==Y?void 0:Y.locale)=="en"?"Confirm accept the privacy policy.":"Potwierdź akceptację polityki prywatności."})]})})]}),(0,t.jsxs)("div",{className:s().wrapperBoss,children:[(null===(n=k.bossImg)||void 0===n?void 0:n.filename)?(0,t.jsx)(r(),{src:null===(o=k.bossImg)||void 0===o?void 0:o.filename,width:270,height:270,alt:"boss"}):null,(0,t.jsxs)(u(),{"aria-label":"".concat(null==k?void 0:k.bossjobTitle),target:(null===(l=k.bossLink)||void 0===l?void 0:null===(a=l.url)||void 0===a?void 0:a.includes("http"))||(null===(N=k.bossLink)||void 0===N?void 0:null===(c=N.url)||void 0===c?void 0:c.includes("https"))?"_blank":"",href:(null===(T=k.bossLink)||void 0===T?void 0:T.url)||"/",className:s().wrapperjobTitle,children:[(0,h.sY)(null==k?void 0:k.bossjobTitle)&&(0,t.jsx)("span",{className:s().jobTitle,children:(0,h.sY)(k.bossjobTitle)}),(null===(F=k.bossIconNetwork)||void 0===F?void 0:F.filename)?(0,t.jsx)(r(),{src:null===(g=k.bossIconNetwork)||void 0===g?void 0:g.filename,width:35,height:35,alt:"network"}):null]}),(0,t.jsx)("span",{className:s().jobTitledescription,children:(0,h.sY)(k.BossJobTitledescription)})]})]}),(0,t.jsx)(C,{className:s().imgBacground,animation:p})]}):null})})},39682:function(e){e.exports={buttonNoactiv:"FreeConsultation_buttonNoactiv__9OXpO",error:"FreeConsultation_error__JuYEC",title:"FreeConsultation_title__NNhGR",confirm:"FreeConsultation_confirm__rewBu",wrapperbutton:"FreeConsultation_wrapperbutton__KxxbN",confirmActive:"FreeConsultation_confirmActive__ymYLJ",description:"FreeConsultation_description__3U6Nb",container:"FreeConsultation_container__pKLAe",imgBacground:"FreeConsultation_imgBacground__tsqYJ",consultation:"FreeConsultation_consultation__ZpalZ",wrapperSimpleInput:"FreeConsultation_wrapperSimpleInput__VxCrJ",button:"FreeConsultation_button__NR07E",simpleInput:"FreeConsultation_simpleInput__KKnTC",wrapperForm:"FreeConsultation_wrapperForm__gT30z",wrapperBoss:"FreeConsultation_wrapperBoss__ajDmE",jobTitle:"FreeConsultation_jobTitle__ZJuGJ",jobTitledescription:"FreeConsultation_jobTitledescription__5712J",wrapperjobTitle:"FreeConsultation_wrapperjobTitle__ElHMx"}},37677:function(){}}]);

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.