PageSourceSearch

https://moto-top.de/_next/static/chunks/pages/ankaufsformular-7a66639a83a787c8.js

js moto-top.de collected 2026-10-06 17:08:53 UTC 7,099 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[732],{8873:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ankaufsformular",function(){return t(5246)}])},9226:function(e,r,t){"use strict";var n=t(5893),s=(t(7294),t(5697)),i=t.n(s),a=t(9909),o=t.n(a),c=function(e){var r=e.pageName,t=e.subTitle;return(0,n.jsx)("div",{className:o().breadscrumbs,children:(0,n.jsxs)("div",{className:o().breadscrumbsContainer,children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h1",{children:r}),""!==t&&(0,n.jsx)("h2",{children:t})]}),(0,n.jsxs)("div",{className:o().breadscrumbsContent,children:[(0,n.jsx)("a",{href:"/",children:"MOTO-TOP - Motorrad ankauf"}),">"," ",r]})]})})};c.propTypes={pageName:i().string.isRequired,subTitle:i().string},c.defaultProps={subTitle:""},r.Z=c},6655:function(e,r,t){"use strict";var n=t(8520),s=t.n(n),i=t(5893),a=t(7294),o=t(4991),c=t.n(o),d=t(7814),l=t(1436),_=t(3735),p=t(9848),m=t(4205),h=t(9666),u=t(877),f=t(1312),x=t(2482),j=t(2888);function g(e,r,t,n,s,i,a){try{var o=e[i](a),c=o.value}catch(d){return void t(d)}o.done?r(c):Promise.resolve(c).then(n,s)}var F=function(e){var r,t=e.originLanding,n=(0,a.useState)(""),o=n[0],F=n[1],b=(0,a.useState)(""),v=b[0],S=b[1],C=(0,a.useState)(""),N=C[0],P=C[1],k=(0,a.useState)(!1),T=k[0],Z=k[1],w=[o,v,N].some((function(e){return""===e})),y=(0,p.$G)("common").t,W=(r=s().mark((function e(r){var n,i,a,c;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r.preventDefault(),Z(!0),(0,j.Z)("form1"),n={offer:{brand_id:o,model:v,general_condition:N,origin_landing:t}},i={method:f.a4,body:JSON.stringify(n),headers:{Accept:"application/json","Content-Type":"application/json"}},e.next=7,fetch("".concat("https://admin.moto-top.de/","/offers"),i);case 7:return a=e.sent,e.next=10,a.json();case 10:c=e.sent.hash_id,window.location="/secondStepForm/".concat(c);case 12:case"end":return e.stop()}}),e)})),function(){var e=this,t=arguments;return new Promise((function(n,s){var i=r.apply(e,t);function a(e){g(i,n,s,a,o,"next",e)}function o(e){g(i,n,s,a,o,"throw",e)}a(void 0)}))});return(0,i.jsxs)("div",{className:c().firstStepFormContainer,onSubmit:W,children:[(0,i.jsxs)("h3",{className:c().formTitle,children:[(0,i.jsx)(d.G,{icon:l.eFW,size:"1x"}),"\xa0",y("first_step_form.form_header")]}),(0,i.jsxs)("div",{className:c().firstStepForm,children:[(0,i.jsx)("h1",{children:y("first_step_form.form_title")}),(0,i.jsxs)("form",{className:c().fieldsWrapper,children:[(0,i.jsx)(h.Z,{children:y("first_step_form.brand")}),(0,i.jsx)(_.Z,{input:{name:"barnd",value:o,onChange:function(e){return F(e)}},options:y("first_step_form.brands",{returnObjects:!0}),meta:{touched:!1}}),(0,i.jsxs)("div",{className:c().inputWrapper,children:[(0,i.jsx)(u.Z,{name:"model",label:y("first_step_form.model"),title:y("first_step_form.model"),description:y("first_step_form.model_tolltip")}),(0,i.jsx)(m.Z,{type:"text",meta:{touched:!1},input:{value:v,onChange:function(e){return S(e.target.value)}},labelId:"model"})]}),(0,i.jsx)(h.Z,{children:y("first_step_form.general_condition")}),(0,i.jsx)(_.Z,{input:{name:"general_condition",value:N,onChange:function(e){return P(e)}},options:y("first_step_form.general_condition_options",{returnObjects:!0}),meta:{touched:!1}}),(0,i.jsx)("div",{className:c().buttonContainer,children:(0,i.jsx)(x.Z,{disabled:w,label:y("first_step_form.submit"),isLoading:T,processingText:y("first_step_form.processing")})})]})]})]})};F.propTypes={},r.Z=F},5246:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return f},default:function(){return x}});var n=t(5893),s=t(9008),i=t(3550),a=(t(7294),t(9848)),o=t(9226),c=t(7410),d=t(6655),l=t(1633),_=t.n(l),p=t(7814),m=t(1436),h=t(7132),u=t(1163),f=!0;function x(e){var r=e.allLandingsData,t=(0,a.$G)("firstStepFormPage").t,l=(0,u.useRouter)().asPath;return(0,n.jsxs)(i.Z,{allLandingsData:r,children:[(0,n.jsxs)(s.default,{children:[(0,n.jsx)("title",{children:t("page_title")}),(0,n.jsx)("meta",{name:"description",content:t("page_description")}),(0,n.jsx)("link",{rel:"icon",href:"images/favicon.ico"}),(0,n.jsx)("link",{rel:"canonical",href:"https://moto-top.de".concat(l)})]}),(0,n.jsx)(c.Z,{}),(0,n.jsx)(o.Z,{pageName:t("breadScrumbs_title")}),(0,n.jsx)("div",{className:_().firstStepFormPageContainer,children:(0,n.jsxs)("div",{className:_().firstStepFormPage,children:[(0,n.jsxs)("div",{className:_().headerContainer,children:[(0,n.jsxs)("div",{className:_().header,children:[(0,n.jsx)("div",{className:_().headingIcon,children:(0,n.jsx)(p.G,{icon:m.FR9,size:"2x"})}),(0,n.jsxs)("div",{className:_().headerContent,children:[(0,n.jsx)("h3",{children:t("title_header")}),(0,n.jsx)("p",{children:t("subtitle_header")})]})]}),(0,n.jsxs)("div",{className:_().contanctViget,children:[(0,n.jsx)("div",{className:_().contactVigetHeader,children:(0,n.jsx)("h3",{children:t("need_help")})}),(0,n.jsx)("div",{className:_().phones,children:(0,n.jsxs)("p",{children:[t("phone_2"),(0,n.jsx)(h.Z,{})]})})]})]}),(0,n.jsx)("div",{className:_().formContainer,children:(0,n.jsx)(d.Z,{originLanding:"https://moto-top.de".concat(l)})}),(0,n.jsx)("h2",{children:t("section_1.header")}),(0,n.jsxs)("p",{children:[t("section_1.p_1"),(0,n.jsxs)("a",{href:"/motorrad-ankauf",children:[" ",t("section_1.link_1")," "]}),t("section_1.p_2"),(0,n.jsxs)("a",{href:"/unfall-motorrad-verkaufen",children:[" ",t("section_1.link_2")," "]}),t("section_1.p_3"),"."]}),(0,n.jsx)("h3",{children:t("section_2.header")}),(0,n.jsx)("p",{children:t("section_2.p_1")}),(0,n.jsx)("h3",{children:t("section_3.header")}),(0,n.jsxs)("p",{children:[t("section_3.p_1"),(0,n.jsxs)("a",{href:"/motorrad-verkaufen",children:[" ",t("section_3.link_1")," "]}),t("section_3.p_2")]})]})})]})}},4991:function(e){e.exports={orange:"#FF8300","light-gray":"#A0A0A0",gray:"#424242",black:"#1F1F1F","dark-gray":"#373737","font-small":"14px",firstStepFormContainer:"FirstStepForm_firstStepFormContainer__KvGyA",formTitle:"FirstStepForm_formTitle__IPfYC",firstStepForm:"FirstStepForm_firstStepForm__O
1L4Ew",fieldsWrapper:"FirstStepForm_fieldsWrapper__KrpzZ",inputWrapper:"FirstStepForm_inputWrapper__fmxDN",buttonContainer:"FirstStepForm_buttonContainer__WYL7B"}},1633:function(e){e.exports={firstStepFormPageContainer:"FirstStepFormPage_firstStepFormPageContainer__fXks3",firstStepFormPage:"FirstStepFormPage_firstStepFormPage__R8gkS",formContainer:"FirstStepFormPage_formContainer__1aYQX",headerContainer:"FirstStepFormPage_headerContainer__BdObh",header:"FirstStepFormPage_header__WJc70",headingIcon:"FirstStepFormPage_headingIcon__m65QT",headerContent:"FirstStepFormPage_headerContent__GXTQJ",contanctViget:"FirstStepFormPage_contanctViget__NIPWZ",contactVigetHeader:"FirstStepFormPage_contactVigetHeader__X37tD",phones:"FirstStepFormPage_phones__70Hvw"}},9909:function(e){e.exports={breadscrumbs:"breadscrumbs_breadscrumbs__l6hns",breadscrumbsContainer:"breadscrumbs_breadscrumbsContainer__DK5CT",breadscrumbsContent:"breadscrumbs_breadscrumbsContent__J3TWU"}}},function(e){e.O(0,[523,112,800,342,15,24,35,656,773,774,888,179],(function(){return r=8873,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.