PageSourceSearch

https://gut39.ru/assets/RequestForm-B0P7gacF.js

js gut39.ru collected 2026-10-09 22:41:38 UTC 1,933 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,formId:o,direction:s,service:c}){let{sent:l,submitting:u,error:d,submit:f,reset:p}=t({formId:o,direction:s,service:c});return(0,a.jsx)(`form`,{className:`calc-form`,onSubmit:f,children:l?(0,a.jsxs)(`div`,{className:`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:p,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:`A5`,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.foldLabel,(0,a.jsx)(`select`,{name:`fold`,defaultValue:`none`,children:e.foldOptions.map(e=>(0,a.jsx)(`option`,{value:e.value,children:e.label},e.value))})]}),(0,a.jsxs)(`label`,{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:`comment`,children:[e.commentLabel,(0,a.jsx)(`textarea`,{name:`comment`,className:`ym-disable-keys`,rows:3,placeholder:e.commentPlaceholder})]}),d?(0,a.jsx)(n,{}):null,(0,a.jsx)(i,{}),(0,a.jsxs)(`button`,{className:`button button-accent`,type:`submit`,disabled:u,"aria-busy":u,children:[u?`Отправляем…`:e.submitLabel,` `,(0,a.jsx)(`span`,{"aria-hidden":`true`,children:`↗`})]})]})})}export{o as RequestForm};

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.