PageSourceSearch

https://gut39.ru/assets/BusinessCardRequestForm-DM4qtx7T.js

js gut39.ru collected 2026-10-09 22:41:37 UTC 2,273 bytes, 1 lines download raw bytes

1import{r as e}from"./framework-C-kvl5Nm.js";import{i as t,n,r,t as i}from"./PersonalDataConsent-BW1xfm7z.js";var a=e();function o({data:e}){let{sent:o,submitting:s,error:c,submit:l,reset:u}=t({formId:`business-cards-calculation`,direction:`Полиграфия`,service:`Визитки`});return(0,a.jsx)(`form`,{className:`business-card-form`,onSubmit:l,children:o?(0,a.jsxs)(`div`,{className:`business-card-form-success`,role:`status`,"aria-live":`polite`,children:[(0,a.jsx)(`span`,{"aria-hidden":`true`,children:`✓`}),(0,a.jsx)(`h3`,{children:e.successTitle}),(0,a.jsx)(`p`,{children:`Заявка принята. Менеджер свяжется с вами по указанному контакту.`}),(0,a.jsx)(`button`,{type:`button`,onClick:u,children:e.editLabel})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r,{}),(0,a.jsxs)(`label`,{children:[e.formatLabel,(0,a.jsx)(`select`,{name:`format`,defaultValue:`90x50`,children:e.formatOptions.map(e=>(0,a.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)(`label`,{children:[e.quantityLabel,(0,a.jsx)(`input`,{name:`quantity`,type:`number`,min:`1`,placeholder:e.quantityPlaceholder,required:!0})]}),(0,a.jsxs)(`label`,{children:[e.finishLabel,(0,a.jsx)(`select`,{name:`finish`,defaultValue:`none`,children:e.finishOptions.map(e=>(0,a.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)(`label`,{children:[e.artworkLabel,(0,a.jsx)(`select`,{name:`artwork`,defaultValue:`ready`,children:e.artworkOptions.map(e=>(0,a.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)(`label`,{className:`business-card-form-contact`,children:[e.contactLabel,(0,a.jsx)(`input`,{name:`contact`,className:`ym-disable-keys`,type:`text`,placeholder:e.contactPlaceholder,required:!0})]}),(0,a.jsxs)(`label`,{className:`business-card-form-comment`,children:[e.commentLabel,(0,a.jsx)(`textarea`,{name:`comment`,className:`ym-disable-keys`,rows:3,placeholder:e.commentPlaceholder})]}),c?(0,a.jsx)(n,{}):null,(0,a.jsx)(i,{}),(0,a.jsxs)(`button`,{className:`button button-accent`,type:`submit`,disabled:s,"aria-busy":s,children:[s?`Отправляем…`:e.submitLabel,` `,(0,a.jsx)(`span`,{"aria-hidden":`true`,children:`↗`})]})]})})}export{o as BusinessCardRequestForm};

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.