PageSourceSearch

https://www.vosbor.ai/component---src-pages-press-js-e1cc5d10e139b560c310.js

js vosbor.ai collected 2026-10-05 14:02:27 UTC 13,168 bytes, 66 lines download raw bytes

1(self.webpackChunkvosbor_frontpage=self.webpackChunkvosbor_frontpage||[]).push([[362],{6208:function(e,t,n){"use strict";n.d(t,{o:function(){return r}});var o=n(6540),a=n(4755),l=n(7581),i=n(9407);const r=e=>{let{placeholder:t,label:n,id:l,type:r,name:f,required:u,value:g,icon:x=null,isInvalid:h,error:b,...y}=e;const{t:w}=(0,a.useTranslation)();return o.createElement(p,null,o.createElement(c,{htmlFor:l},n," ",!u&&o.createElement("span",null,`- ${w("optional")}`)),o.createElement(m,null,o.createElement(s,Object.assign({type:r,id:l,placeholder:t,name:f,value:g,$isInvalid:h},y)),x&&o.createElement(d,null,x)),o.createElement(i.Kw,null,h&&o.createElement("span",null,w("is_required",{label:n}))))},p=l.default.div.withConfig({displayName:"LabeledInput__InputWrapper",componentId:"sc-1kt4r0r-0"})(["display:flex;flex-direction:column;gap:8px;width:100%;"]),s=l.default.input.withConfig({displayName:"LabeledInput__StyledInput",componentId:"sc-1kt4r0r-1"})(["background:#ffffff;border:2px solid ",';border-radius:8px;padding:16px;height:56px;box-sizing:border-box;width:100%;font-size:14px;&:active,&:focus{color:#060831;outline:none;border:2px solid #4200ff;}&:disabled{background:#0000001a;opacity:0.5;}&::placeholder{font-family:"Roboto";font-style:normal;font-weight:400;font-size:14px;line-height:16px;letter-spacing:0.2px;color:#757ba9;opacity:1;}'],(e=>{let{$isInvalid:t}=e;return t?"#ed5252":"#eeedf3"})),c=l.default.label.withConfig({displayName:"LabeledInput__StyledLabel",componentId:"sc-1kt4r0r-2"})(['font-family:"Roboto";font-style:normal;font-weight:400;font-size:14px;line-height:16px;letter-spacing:0.2px;color:#47474f;& span{color:#cacfe0;}']),d=l.default.div.withConfig({displayName:"LabeledInput__IconWrapper",componentId:"sc-1kt4r0r-3"})(["position:absolute;top:16px;right:19px;"]),m=l.default.div.withConfig({displayName:"LabeledInput__IconInput",componentId:"sc-1kt4r0r-4"})(["position:relative;"])},2128:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var o=n(6540),a=n(4755),l=n(7581),i=n(9407);const r=e=>{let{placeholder:t,label:n,id:l,type:r,name:f,required:u,value:g,icon:x,isInvalid:h,...b}=e;const{t:y}=(0,a.useTranslation)();return o.createElement(c,null,o.createElement(m,{htmlFor:l},n," ",!u&&o.createElement("span",null,` - ${y("optional")}`)),o.createElement(p,null,o.createElement(d,Object.assign({type:r,id:l,placeholder:t,name:f,value:g,$isInvalid:h},b)),x&&o.createElement(s,null,x)),o.createElement(i.Kw,null,h&&o.createElement("span",null,y("is_required",{label:n}))))},p=l.default.div.withConfig({displayName:"LabeledTextarea__TextareaIWithIconWrapper",componentId:"sc-1xb6a21-0"})(["position:relative;"]),s=l.default.div.withConfig({displayName:"LabeledTextarea__IconWrapper",componentId:"sc-1xb6a21-1"})(["position:absolute;top:16px;right:19px;"]),c=l.default.div.withConfig({displayName:"LabeledTextarea__TextareaWrapper",componentId:"sc-1xb6a21-2"})(["display:flex;flex-direction:column;gap:8px;width:100%;"]),d=l.default.textarea.withConfig({displayName:"LabeledTextarea__StyledTextarea",componentId:"sc-1xb6a21-3"})(["background:#ffffff;border:2px solid ",';border-radius:8px;padding:16px;box-sizing:border-box;font-family:"Roboto";font-style:normal;font-weight:400;font-size:14px;line-height:16px;letter-spacing:0.2px;color:#0f1328;resize:vertical;width:100%;min-height:72px;height:auto;resize:none;&:active,&:focus{color:#060831;outline:none;border:2px solid #4200ff;}&:disabled{background:#0000001a;opacity:0.5;}&::placeholder{font-family:"Roboto";font-style:normal;font-weight:400;font-size:14px;line-height:16px;letter-spacing:0.2px;color:#757ba9;opacity:1;}'],(e=>{let{$isInvalid:t}=e;return t?"#ed5252":"#eeedf3"})),m=l.default.label.withConfig({displayName:"LabeledTextarea__StyledLabel",componentId:"sc-1xb6a21-4"})(['font-family:"Roboto";font-style:normal;font-weight:400;font-size:14px;line-height:16px;letter-spacing:0.2px;color:#47474f;& span{color:#cacfe0;}'])},9180:function(e,t,n){"use strict";n.d(t,{D:function(){return u},j:function(){return f}});var o=n(6540),a=n(4755),l=n(7581),i=n(9407),r=n(831),p=n(6208),s=n(2128),c=n(4895),d=n.n(c),m=n(8498);const f={press:"press",info:"info"},u=e=>{let{type:t}=e;const{t:n}=(0,a.useTranslation)(),{0:l,1:r}=(0,o.useState)(""),{0:c,1:u}=(0,o.useState)(""),{0:b,1:y}=(0,o.useState)(""),{0:w,1:v}=(0,o.useState)(""),{0:_,1:E}=(0,o.useState)(!1),{0:I,1:C}=(0,o.useState)(!1),z=t===f.press,$=l&&(0,m.M)(b)&&w&&(!z||!!c);return o.createElement(g,null,I&&o.createElement(i.y$,null),o.createElement(x,{onSubmit:async e=>{if(e.preventDefault(),E(!0),!$)return;C(!0);const n=new FormData;n.append("type",t),n.append("name",l),n.append("company",c),n.append("email",b),n.append("message",w);const o={method:"POST",mode:"cors",cache:"no-cache",body:n};try{const e=await fetch("https://europe-west1-vosbor-landing-page.cloudfunctions.net/mailer",o);console.log(e.data),window.location="/response-ok"}catch(a){console.log("ERROR:",a),C(!1)}}},o.createElement("input",{type:"hidden",name:"type",value:t}),o.createElement(i.rU,null,o.createElement(p.o,{type:"text",placeholder:n("name_input.placeholder"),name:"name",autoComplete:"off",onChange:e=>{var t;return r(null==e||null===(t=e.target)||void 0===t?void 0:t.value.trim())},disabled:I,label:n("name_input.label"),required:!0,icon:l&&o.createElement(d(),null),isInvalid:_&&""===l}
1),o.createElement(p.o,{type:"text",placeholder:n("company_input.placeholder"),name:"company",autoComplete:"off",onChange:e=>{var t;return u(null==e||null===(t=e.target)||void 0===t?void 0:t.value.trim())},disabled:I,label:n("company_input.label"),icon:c&&o.createElement(d(),null),required:z,isInvalid:z&&_&&""===c})),o.createElement(p.o,{type:"email",placeholder:n("email_input.placeholder"),name:"email",autoComplete:"off",onChange:e=>{var t;return y(null==e||null===(t=e.target)||void 0===t?void 0:t.value.trim())},disabled:I,required:!0,label:n("email_input.label"),icon:(0,m.M)(b)&&o.createElement(d(),null),isInvalid:_&&!(0,m.M)(b)}),o.createElement(s.E,{placeholder:n("message_textarea.placeholder"),name:"message",autoComplete:"off",onChange:e=>{var t;return v(null==e||null===(t=e.target)||void 0===t?void 0:t.value.trim())},disabled:I,label:n("message_textarea.label"),required:!0,icon:w&&o.createElement(d(),null),isInvalid:_&&""===w}),o.createElement(h,null,n("your_data_will_only")),o.createElement(i.Jh,{disabled:I},n("submit"))))},g=l.default.div.withConfig({displayName:"contactForm__FormWrapper",componentId:"sc-86j4a-0"})([""," "," ",""],r.$.m`
2    display: flex;
3    flex-direction: column;
4  `,r.$.l`
5    margin-left: 15px;
6    margin-top: 64px;
7  `,r.$.xl`
8    margin-left: 0;
9  `),x=l.default.form.withConfig({displayName:"contactForm__Form",componentId:"sc-86j4a-1"})(["display:flex;flex-direction:column;align-items:stretch;"]),h=l.default.div.withConfig({displayName:"contactForm__InfoText",componentId:"sc-86j4a-2"})(['font-family:"Roboto";font-style:normal;font-weight:400;font-size:9px;line-height:18px;text-align:right;letter-spacing:0.002em;color:#747487;',""],r.$.m`
10    max-width: 440px;
11    align-self: end;
12  `)},8498:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});const o=e=>/^(([^<>()[\]\\.,;:\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,}))$/.test(String(e).toLowerCase())},9407:function(e,t,n){"use strict";n.d(t,{I3:function(){return p},Jh:function(){return u},Kr:function(){return c},Kw:function(){return f},ay:function(){return s},rU:function(){return m},y$:function(){return d},y9:function(){return i},zE:function(){return r}});var o=n(7581),a=n(831),l=n(1593);const i=o.default.section.withConfig({displayName:"form-sections__FormSection",componentId:"sc-17qgm9q-0"})(["display:flex;flex-direction:column;padding:100px 40px 39px;min-height:calc(100dvh);box-sizing:border-box;gap:40px;max-width:1920px;margin:0 auto;"," ",";",";"],a.$.m`
13    & > * {
14      box-sizing: border-box;
15      position: relative;
16      flex: 1;
17    }
18
19    flex-direction: row;
20    padding: 111px 40px 42px 40px;
21    gap: 24px;
22  `,a.$.l`
23    padding: 155px 80px 60px 80px;
24    gap: 161px;
25  `,a.$.xl`
26    padding: 195px 100px 115px 100px;
27    gap: 382px;
28  `),r=o.default.h1.withConfig({displayName:"form-sections__FormTitle",componentId:"sc-17qgm9q-1"})(['font-family:"Poppins";font-style:normal;font-weight:700;font-size:32px;letter-spacing:0.16px;line-height:124%;color:var(--primary-color);margin-bottom:24px;'," ",""],a.$.l`
29    font-size: 48px;
30    letter-spacing: 0.23px;
31  `,a.$.xl`
32    font-size: 64px;
33    letter-spacing: 0.32px;
34  `),p=o.default.h2.withConfig({displayName:"form-sections__FormSectionTitle",componentId:"sc-17qgm9q-2"})(['font-family:"Poppins";font-style:normal;font-size:18px;line-height:32px;letter-spacing:0.005em;color:#47474f;margin-top:40px;margin-bottom:8px;'," "," ",""],a.$.m`
35    margin-top: 24px;
36    font-size: 14px;
37  `,a.$.l`
38    font-size: 18px;
39  `,a.$.xl`
40    margin-top: 40px;
41    font-size: 21px;
42  `),s=o.default.div.withConfig({displayName:"form-sections__FormText",componentId:"sc-17qgm9q-3"})(['font-family:"Roboto";font-style:normal;font-weight:normal;font-size:14px;line-height:28px;letter-spacing:0.002em;color:#747487;'," "," ",""],a.$.m`
43    line-height: 30px;
44  `,a.$.l`
45    font-size: 16px;
46    line-height: 28px;
47  `,a.$.xl`
48    font-size: 18px;
49    line-height: 36px;
50  `),c=o.default.ul.withConfig({displayName:"form-sections__FormUl",componentId:"sc-17qgm9q-4"})(["font-family:Roboto;font-style:normal;font-weight:normal;font-size:14px;line-height:28px;letter-spacing:0.002em;color:#747487;"," ",""],a.$.m`
51    font-size: 16px;
52    line-height: 30px;
53  `,a.$.xl`
54    font-size: 18px;
55    line-height: 36px;
56  `),d=o.default.div.withConfig({displayName:"form-sections__Spinner",componentId:"sc-17qgm9q-5"})(["width:30px;height:30px;border-color:#4200ff #4200ff #4200ff transparent;border-width:5px;border-style:solid;border-radius:50%;animation:rotating 0.7s linear infinite;position:absolute;top:40%;left 50%;transform:translate(-50%,-50%);"]),m=o.default.div.withConfig({displayName:"form-sections__FormElementsColumnWrapper",componentId:"sc-17qgm9q-6"})(["display:flex;flex-direction:column;gap:0;",""],a.$.l`
57    flex-direction: row;
58    gap: 32px;
59  `),f=o.default.span.withConfig({displayName:"form-sections__ErrorMessage",componentId:"sc-17qgm9q-7"})(['font-family:Roboto;font-size:10px;color:#ed5252;bottom:0;left:0;height:16px;margin-bottom:8px;& span::before{content:"+";display:inline-block;transform:rotate(-45deg) translateX(-2px);font-size:16px;font-weight:500;}']),u=(0,o.default)(l.b7).withConfig({displayName:"form-sections__FormSubmitButton",componentId:"sc-17qgm9q-8"})(["margin-top:24px;width:100%;"," "," ",""],a.$.m`
60    width: 89px;
61  `,a.$.l`
62    width: 96px;
63  `,a.$.xl`
64    width: 115px;
65  `)},1196:function(e,t,n){"use strict";n.d(t,{N:function(){return p}});var o=n(6540),a=n(8154),l=n(4755),i=n(8033);function r(){return"undefined"==typeof window||"undefined"==typeof document?"":((e,t,n,o,a)=>{e[o]=e[o]||[],e[o].push({"gtm.start":(new Date).getTime(),event:"gtm.js"});var l=t.getElementsByTagName(n)[0],i=t.createElement(n),r="dataLayer"!==o?"&l="+o:"";i.async=!0,i.src="https://www.googletagmanager.com/gtm.js?id="+a+r,l.parentNode.insertBefore(i,l)})(window,document,"script","dataLayer","GTM-PGRDJVG")}const p=e=>{let{children:t,title:n="seo.main_title"}=e;const{t:p}=(0,l.useTranslation)(),s=r(),c=(0,i.Z)();return o.createElement(o.Fragment,null,o.createElement(a.m,{htmlAttributes:{lang:c?"zh":"en"}},s,o.createElement("meta",{charSet:"utf-8"}),o.createElement("title",null,c?"Vosbor":p(n)),o.createElement("meta",{name:"description",content:p("seo.description")}),o.createElement("link",{rel:"canonical",href:"https://www.vosbor.com/"}),o.createElement("meta",{name:"keywords",content:p("seo.keywords")}),o.createElement("meta",{property:"og:title",content:p("seo.main_title")}),o.createElement("meta",{property:"og:description",content:p("seo.description")}),o.createElement("meta",{property:"og:type",content:"website"}),o.createElement("meta",{property:"og:url",content:"https://www.vosbor.com/"}),o.createElement("meta",{name:"robots",content:"index, follow"})),t)}},1048:function(e,t,n){"use strict";n.r(t);var o=n(6540),a=n(4755),l=n(7581),i=n(1641),r=n(9180),p=n(9407),s=n(1196);const c=l.default.div.withConfig({displayName:"press__ContactFormWrapper",componentId:"sc-10a7p7j-0"})(["margin-top:40px;"]);t.default=()=>{const{t:e}=(0,a.useTranslation)();return o.createElement(s.N,null,o.createElement(i.U,{darkHeader:!0},o.createElement(p.y9,null,o.createElement("div",null,o.createElement(p.zE,null,e("press_inquiry")),o.createElement(p.ay,null,e("press.description"))),o.createElement(c,null,o.createElement(r.D,{type:r.j.press})))))}},4895:function(e,t,n){var o=n(6540);function a(e){return o.createElement("svg",e,o.createElement("path",{d:"M6 12.8L10.4082 16L18 8",stroke:"#06D8BF",strokeWidth:"4",strokeLinecap:"round"}))}a.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.exports=a,a.default=a}}]);
66//# sourceMappingURL=component---src-pages-press-js-e1cc5d10e139b560c310.js.map

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.