PageSourceSearch

https://www.nanlab.tech/_next/static/chunks/780-c7d618648cc99bc9.js

js nanlab.tech collected 2026-10-07 18:55:00 UTC 11,129 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[780],{1267:function(e,t,a){var r=a(5893),s=a(2746),l=a(9008),n=a.n(l),o=a(1163),i=a(106);let c=new Map([["en","en_US"],["sk","sk_SK"]]);t.Z=function(e){let{title:t,description:a,baseUrl:l,noindex:d=!1,nofollow:h=!1,errorPage:m=!1}=e,{asPath:g,locale:x,defaultLocale:p,locales:u}=(0,o.useRouter)(),b=(0,s.useTranslations)("common"),f="".concat(t," | ").concat(b("pageTitle")),w=(0,i.urlJoin)(l,x===p?"":x,g);return(0,r.jsxs)(n(),{children:[(0,r.jsx)("title",{children:f}),(0,r.jsx)("meta",{name:"description",content:a},"desc"),(0,r.jsx)("meta",{name:"robots",content:"".concat(d?"noindex":"index",",").concat(h?"nofollow":"follow")}),(0,r.jsx)("link",{rel:"canonical",href:w}),!m&&u&&u.map(e=>(0,r.jsx)("link",{rel:"alternate",hrefLang:e,href:(0,i.urlJoin)(l,e===p?"":e,g)},e)),!m&&(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:(0,i.urlJoin)(l,g)}),(0,r.jsx)("meta",{property:"og:title",content:f}),(0,r.jsx)("meta",{property:"og:description",content:a}),(0,r.jsx)("meta",{property:"og:locale",content:c.get(x)}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),!m&&(0,r.jsx)("meta",{property:"og:url",content:w}),(0,r.jsx)("meta",{property:"og:site_name",content:"Nanlab"}),(0,r.jsx)("meta",{property:"og:image",content:(0,i.urlJoin)(l,"assets/images/logo/logo_colored2.png")})]})}},886:function(e,t,a){a.d(t,{Z:function(){return x}});var r=a(5893),s=a(9473),l=a(2746),n=a(7294);let o=RegExp(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);var i=a(259),c=a(1664),d=a.n(c),h=a(5675),m=a.n(h),g={src:"/_next/static/media/form-img.2abbae62.png",height:274,width:334,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAV1BMVEVMaXHFv9F5r9E0p+fGxseZe8yytrird9Zpa4iWerdus9zP0NW7odbMytPd290znNJ9pLwnLzwAAA00quhRptcAAAVeqNJ2kaNRoM4IHzWfyOFyc3qIz/Pch4lHAAAAGnRSTlMAT0KwjwxtRxkk7sZMtfpQdqAmke+1hPXC+ryRHRYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA8SURBVHicFcVHEoAwDACxTbUdSugl8P93MugigGTmhGVWkzgo++PymHvhPr2fYgelXWtF4W0lJICwHX98QHoCADpNbBMAAAAASUVORK5CYII=",blurWidth:8,blurHeight:7},x=function(e){let{id:t="contact",showImg:a=!1,showSocial:c=!1,subject:h}=e,x="rtl"===(0,s.v9)(e=>e.themeConfig.direction),p=(0,l.useTranslations)("emailContact"),u="".concat(h," - ").concat(p("confirmationEmail.subject")),[b,f]=(0,n.useState)(""),[w,j]=(0,n.useState)(""),[v,A]=(0,n.useState)(""),[k,C]=(0,n.useState)({}),[N,y]=(0,n.useState)(p("sendButton.send")),[S,V]=(0,n.useState)(),{executeRecaptcha:H}=(0,i.xX)(),E=()=>{let e={},t=!0;return b.trim().length<=0&&(e.name=p("validationErrors.name"),t=!1),o.test(w)||(e.email=p("validationErrors.email"),t=!1),v.trim().length<=0&&(e.message=p("validationErrors.message"),t=!1),C({...e}),t},M=async e=>{if(e.preventDefault(),!E())return;if(!H){console.error("reCAPTCHA is not available.");return}y(p("sendButton.sending"));let t=await H("SEND_EMAIL"),a=await fetch("/api/email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sender:{email:w,name:b},to:[{email:p("nanlab.email"),name:p("nanlab.name")}],subject:h,message:v,token:t})});if(200!==a.status){V({isSuccess:!1,message:p("sendEmailStatus.failure")});return}t=await H("SEND_EMAIL");let r=await fetch("/api/email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sender:{email:p("nanlab.email"),name:p("nanlab.name")},to:[{email:w,name:b}],subject:u,message:p.rich("confirmationEmail.message",{email:e=>'<a href="mailto:'.concat(e,'">').concat(e,"</a>"),mobile:e=>'<a href="tel:'.concat(e,'">').concat(e,"</a>"),blockquote:e=>"<blockquote>".concat(e,"</blockquote>"),name:b,message:v}),token:t})});if(200!==r.status){V({isSuccess:!1,message:p("sendEmailStatus.failure")});return}y(p("sendButton.send")),V({isSuccess:!0,message:p("sendEmailStatus.success")})};return(0,r.jsx)("section",{id:t,className:"py-14 dark:bg-gray-dark lg:py-[100px]",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"relative z-10 lg:flex",children:[(0,r.jsxs)("div",{className:"heading text-center lg:mb-0 lg:w-1/3 ltr:lg:pr-10 ltr:lg:text-left rtl:lg:pl-10 rtl:lg:text-right",children:[(0,r.jsx)("h3",{children:p("label")}),(0,r.jsx)("h4",{className:"sm:!leading-[50px]",children:p("title")}),a&&(0,r.jsx)(m(),{src:g,alt:"form-image",className:"mx-auto","data-aos":x?"fade-left":"fade-right","data-aos-duration":"1000"}),c&&(0,r.jsxs)("ul",{className:"mt-8 flex items-center justify-center gap-4 lg:justify-start","data-aos":"fade-up","data-aos-duration":"500",children:[(0,r.jsx)("li",{className:"h-[45px] w-[45px] md:h-[60px] md:w-[60px]",children:(0,r.jsx)(d(),{href:"https://www.facebook.com/nanlab.tech",className:"group",target:"_blank",children:(0,r.jsx)("div",{className:"circle border-facebook/30 transition duration-500 group-hover:border-facebook/100",children:(0,r.jsx)("svg",{width:"10",height:"20",viewBox:"0 0 10 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"transition duration-500 group-hover:scale-110 ",children:(0,r.jsx)("path",{d:"M8.0733 3.29509H9.88498V0.139742C9.57242 0.0967442 8.49748 0 7.2456 0C4.6335 0 2.84415 1.643 2.84415 4.66274V7.44186H-0.0383301V10.9693H2.84415V19.845H6.37821V10.9701H9.1441L9.58317 7.44269H6.37738V5.01251C6.37821 3.99297 6.65273 3.29509 8.0733 3.29509Z",fill:"#1778F2"})})})})}),(0,r.jsx)("li",{className:"h-[45px] w-[45px] md:h-[60px] md:w-[60px]",children:(0,r.jsx)(d(),{href:"https://www.linkedin.com/company/nanlab",className:"group",target:"_blank",children:(0,r.jsx)("div",{className:"circle border-linkedin/30 transition duration-500 group-hover:border-linkedin/100",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 24 24",className:"transition duration-500 group-hover:scale-110",children:(0,r.jsx)("path",{d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z",fill:"#0077B5"})})})})})]})]}),(0,r.jsxs)("form",{onSubmit:M,className:"rounded-3xl bg-white px-4 py-12 pt-12 pb-4 dark:bg-[#101626] lg:w-2/3 lg:px-8",noValidate:!0,children:[(0,r.jsxs)("div",{className:"grid gap-10 sm:grid-cols-2",children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{type:"text",name:"name",value:b,onChange:e=>f(e.target.value),className:"w-full rounded-2xl border-2 border-gray/20 bg-transparent p-4 font-bold outline-none transition focus:border-secondary ltr:pr-12 rtl:pl-12"}),(0,r.jsx)("label",{htmlFor:"",className:"absolute -top-3 bg-white px-2 font-bold ltr:left-6 rtl:right-6 dark:bg-[#101626] dark:text-white",children:p("name")}
1),(0,r.jsxs)("svg",{width:"20",height:"22",viewBox:"0 0 20 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-1/2 -translate-y-1/2 ltr:right-4 rtl:left-4 dark:text-white",children:[(0,r.jsx)("path",{d:"M5.42855 5.57875C5.42855 8.10348 7.47525 10.1502 9.99998 10.1502C12.5247 10.1502 14.5714 8.10348 14.5714 5.57875C14.5714 3.05402 12.5247 1.00732 9.99998 1.00732",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M2 16.9328C2 15.9495 2.61812 15.0724 3.5441 14.7417V14.7417C7.71891 13.2507 12.2811 13.2507 16.4559 14.7417V14.7417C17.3819 15.0724 18 15.9495 18 16.9328V18.7014C18 19.9185 16.922 20.8535 15.7172 20.6813L13.8184 20.4101C11.2856 20.0483 8.71435 20.0483 6.18162 20.4101L4.28284 20.6813C3.07798 20.8535 2 19.9185 2 18.7014V16.9328Z",stroke:"currentColor",strokeWidth:"1.8"})]}),k.name&&(0,r.jsx)("p",{className:"text-error absolute mt-1 ml-1",children:k.name})]}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{type:"email",name:"email",value:w,onChange:e=>j(e.target.value),className:"w-full rounded-2xl border-2 border-gray/20 bg-transparent p-4 font-bold outline-none transition focus:border-secondary ltr:pr-12 rtl:pl-12"}),(0,r.jsx)("label",{htmlFor:"",className:"absolute -top-3 bg-white px-2 font-bold ltr:left-6 rtl:right-6 dark:bg-[#101626] dark:text-white",children:p("email")}),(0,r.jsxs)("svg",{width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-1/2 -translate-y-1/2 ltr:right-4 rtl:left-4 dark:text-white",children:[(0,r.jsx)("path",{d:"M1 8.00732V7.00732C1 4.2459 3.23858 2.00732 6 2.00732H16C18.7614 2.00732 21 4.2459 21 7.00732V13.0073C21 15.7687 18.7614 18.0073 16 18.0073H6C3.23858 18.0073 1 15.7687 1 13.0073V12.0073",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M5 7.00732L9.8 10.6073C10.5111 11.1407 11.4889 11.1407 12.2 10.6073L17 7.00732",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]}),k.email&&(0,r.jsx)("p",{className:"text-error absolute mt-1 ml-1",children:k.email})]})]}),(0,r.jsxs)("div",{className:"relative mt-16",children:[(0,r.jsx)("textarea",{name:"message",rows:3,value:v,onChange:e=>A(e.target.value),className:"w-full rounded-2xl border-2 border-gray/20 bg-transparent p-4 font-bold outline-none transition focus:border-secondary ltr:pr-12 rtl:pl-12"}),(0,r.jsx)("label",{htmlFor:"",className:"absolute -top-3 bg-white px-2 font-bold ltr:left-6 rtl:right-6 dark:bg-[#101626] dark:text-white",children:p("message")}),(0,r.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-1/2 -translate-y-1/2 ltr:right-4 rtl:left-4 dark:text-white",children:[(0,r.jsx)("path",{d:"M1 11.467V18.9267C1 19.7652 1.96993 20.2314 2.6247 19.7076L5.45217 17.4456C5.8068 17.1619 6.24742 17.0073 6.70156 17.0073H16C18.7614 17.0073 21 14.7687 21 12.0073V6.00732C21 3.2459 18.7614 1.00732 16 1.00732H6C3.23858 1.00732 1 3.2459 1 6.00732V7.62225",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"6.05005",cy:"9.05713",r:"1.25",fill:"currentColor"}),(0,r.jsx)("circle",{cx:"11.05",cy:"9.05713",r:"1.25",fill:"currentColor"}),(0,r.jsx)("circle",{cx:"16.05",cy:"9.05713",r:"1.25",fill:"currentColor"})]}),k.message&&(0,r.jsx)("p",{className:"text-error absolute mt-1 ml-1",children:k.message})]}),(0,r.jsxs)("div",{className:"mt-10 text-center ltr:lg:text-right rtl:lg:text-left",children:[(0,r.jsx)("button",{type:"submit",className:"btn bg-gray px-12 normal-case text-white dark:bg-white dark:text-black dark:hover:bg-secondary",children:N}),S&&(0,r.jsx)("p",{className:"".concat(S.isSuccess?"text-success":"text-error"," font-semibold text-sm mt-2"),children:S.message})]}),(0,r.jsx)("div",{className:"mt-4 text-center ltr:lg:text-right rtl:lg:text-left",children:(0,r.jsx)("p",{className:"text-xs",children:p.rich("recaptchaBranding.message",{privacy:e=>(0,r.jsx)(d(),{target:"_blank",href:p("recaptchaBranding.privacyUrl"),children:e}),terms:e=>(0,r.jsx)(d(),{target:"_blank",href:p("recaptchaBranding.termsUrl"),children:e})})})})]})]})})})}}}]);

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.