PageSourceSearch

https://kobor.ru/_next/static/chunks/9766.680b38644a2bba2c051d.js

js kobor.ru collected 2026-10-02 07:00:09 UTC 5,173 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9766],{89766:function(e,t,r){r.r(t);var n,o,a,i=r(92809),s=r(30266),l=r(52209),c=r(809),u=r.n(c),m=r(67294),d=r(42283),f=r(57333),p=r(28216),b=r(29654),h=r(29163),x=r(77598),g=r(20471),y=r(60143),w=r(3939),j=r(25780),v=r(31684),Z=r(68222),O=r(84386),k=r(42928),q=r(48803),_=r(88315),C=r(74800),E=r(70916),F=r(85893);function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){(0,i.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var S=h.ZP.div.withConfig({displayName:"CallbackPopup__Wrapper",componentId:"sc-1go40bv-0"})(["position:absolute;bottom:0;display:flex;flex-direction:column;width:100%;max-height:100%;padding:60px ",";background-color:",";"," h3{margin-bottom:30px;font-family:",";",";font-weight:800;","}& > button{",";}","{overflow-y:auto;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;}","{margin-bottom:10px;&:last-of-type{margin-bottom:20px;}","}"],(0,q.T5)(),_.O9.white,(0,q.eq)("xl")(n||(n=(0,l.Z)(["\n        position: relative;\n        width: 720px;\n    "]))),_.Rq.mont,(0,q.LZ)(18,24,24),(0,q.eq)("xl")(o||(o=(0,l.Z)(["\n            margin-bottom: 40px;\n        "]))),E.Z,x.Z,w.Z,(0,q.eq)("lg")(a||(a=(0,l.Z)(["\n            margin-bottom: 20px;\n            \n            &:last-of-type {\n                margin-bottom: 40px;\n            }\n        "])))),T=91880536,R=(0,p.$j)((function(e){return{modalForm:e.modalForm}}),{modalFormRequest:k.O2,modalFormDispatch:k.ve,modalFormClear:k.p0});t.default=R((function(e){var t=e.onCloseModal,r=e.modalForm,n=e.modalFormRequest,o=e.modalFormDispatch,a=e.modalFormClear,i=r.modalForm,l=i.formData,c=i.statusRequest,p=i.messageRequest,h=i.statusDispatch,k=i.messageDispatch,q=(0,d.cI)({mode:"onChange"}),_=q.handleSubmit,E=q.register,D=q.control,R=q.watch,I=q.errors,N=q.formState,z=R(),A=(0,m.useState)(!1),B=A[0],G=A[1],L=(0,m.useState)(""),M=L[0],V=L[1];(0,m.useEffect)((function(){n("callback")}),[]),(0,m.useEffect)((function(){var e=setTimeout((function(){G(!0)}),5e3);return function(){return clearTimeout(e)}}),[]);var $=function(){var e=(0,s.Z)(u().mark((function e(t){var r;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!M){e.next=3;break}return window.ym&&window.ym(T,"reachGoal","callback_form_bot_blocked"),e.abrupt("return");case 3:r={name:t.name.trim(),phone:t.phone},window.ym&&window.ym(T,"reachGoal","callback_form"),window.gtag&&window.gtag("event","form_submit",{event_category:"lead",event_label:"callback"}),o("callback",r);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,F.jsxs)(S,{children:[(0,F.jsx)("button",{onClick:function(){t(),a()}}),l&&(0,F.jsx)("h3",{children:l.form.formTitle}),"success"===c&&"success"!==h&&l?(0,F.jsxs)(x.Z,{onSubmit:_($),children:[(0,F.jsx)("div",{style:{display:"none",opacity:0,position:"absolute",left:"-9999px"},children:(0,F.jsx)("input",{type:"text",name:"website",value:M,onChange:function(e){return V(e.target.value)},tabIndex:-1,autoComplete:"off"})}),l.fields.map((function(e){var t;return(0,F.jsxs)(w.Z,{children:[(0,F.jsxs)(Z.Z,{fillInput:!(null===(t=z[e.name])||void 0===t||!t.length),error:!!I[e.name]||!!k[e.name],children:["ru_phone"===e.validationType?(0,F.jsx)(d.Qr,{name:e.name,control:D,as:(0,F.jsx)(f.Z,P({},C.Z.numberFormatOptions)),rules:{required:e.requiredError?"".concat(e.requiredError):e.isRequired},defaultValue:""}):(0,F.jsx)("input",{name:e.name,type:e.type,ref:E({required:e.requiredError?"".concat(e.requiredError):e.isRequired,pattern:{value:/^[a-zA-Z\u0430-\u044f\u0410-\u042f\s]+$/,message:"".concat(e.invalidError)}})}),(0,F.jsx)(v.Z,{children:e.title})]}),I[e.name]&&(0,F.jsx)(j.Z,{children:I[e.name].message}),k[e.name]&&(0,F.jsx)(j.Z,{children:k[e.name]})]},e.id)})),(0,F.jsx)("div",{style:{marginBottom:"10px",padding:"10px",backgroundColor:B?"#f0f9ff":"#fff3cd",border:"1px solid ".concat(B?"#b8daff":"#ffeaa7"),fontSize:"14px",textAlign:"center"},children:B?"\u2705 \u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043f\u043e\u043b\u044f \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u0444\u043e\u0440\u043c\u0443":"\u23f3 \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0444\u043e\u0440\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e..."}),(0,F.jsx)(O.Z,{textButton:l.form.buttonText}),(0,F.jsx)(g.Z,{disabled:!N.isDirty||!N.isValid||!B||"loading"===h,children:"loading"===h?(0,F.jsx)(b.Z,{}):l.form.buttonText})]}):p&&(0,F.jsx)(y.Z,{children:p}),"success"===h&&k&&(0,F.jsx)(y.Z,{dangerouslySetInnerHTML:{__html:k}})]})}))}}]);

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.