PageSourceSearch

https://einfachkicken.com/_next/static/chunks/pages/kontakt-bff6d024bcd11b17.js

js einfachkicken.com collected 2026-10-08 01:43:31 UTC 6,878 bytes, 23 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2548],{1906:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/kontakt",function(){return s(7121)}])},5105:(e,t,s)=>{e.exports=s(6758)},7121:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>p,default:()=>h});var n=s(7876),a=s(7328),r=s.n(a),i=s(5105),c=s.n(i),l=s(9152),o=s(3340),d=s(5058),u=s(9956),m=s(8159),p=!0;function h(){let{t:e}=(0,l.Bd)("contact");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:e("contact.meta.title","Kontakt – EINFACH KICKEN")}),(0,n.jsx)("meta",{name:"description",content:e("contact.meta.description","Schreib uns – egal ob allgemeine Frage, Presse, Werbung oder als Verein.")})]}),(0,n.jsx)(c(),{id:"iubenda-config",strategy:"beforeInteractive",children:`
2          var _iub = _iub || [];
3          _iub.csConfiguration = {
4            "askConsentAtCookiePolicyUpdate": true,
5            "cookiePolicyInOtherWindow": true,
6            "floatingPreferencesButtonDisplay": "bottom-right",
7            "lang": "de",
8            "perPurposeConsent": true,
9            "siteId": 3422470,
10            "whitelabel": false,
11            "cookiePolicyId": 28496081,
12            "banner": {
13              "acceptButtonDisplay": true,
14              "closeButtonDisplay": false,
15              "customizeButtonDisplay": true,
16              "explicitWithdrawal": true,
17              "listPurposes": true,
18              "position": "float-bottom-center",
19              "rejectButtonDisplay": true,
20              "showTitle": false
21            }
22          };
23        `}),(0,n.jsx)(c(),{src:"https://cs.iubenda.com/autoblocking/3422470.js",strategy:"beforeInteractive"}),(0,n.jsx)(c(),{src:"//cdn.iubenda.com/cs/iubenda_cs.js",strategy:"afterInteractive"}),(0,n.jsx)(o.Y,{}),(0,n.jsx)("main",{children:(0,n.jsx)(u.m,{className:"py-20 sm:py-28",children:(0,n.jsxs)("div",{className:"mx-auto max-w-2xl",children:[(0,n.jsx)("h1",{className:"font-anton text-4xl uppercase tracking-wide text-canvas sm:text-5xl",children:e("contact.title","Kontakt")}),(0,n.jsx)("p",{className:"mt-4 text-lg text-canvas-muted",children:e("contact.intro","Du hast eine Frage, eine Idee oder willst gemeinsam mit uns den Ball in Bewegung bringen? Schreib uns.")}),(0,n.jsx)("div",{className:"mt-12",children:(0,n.jsx)(m.D,{})})]})})}),(0,n.jsx)(d.w,{})]})}},8159:(e,t,s)=>{"use strict";s.d(t,{D:()=>h});var n=s(7876),a=s(4232),r=s(9099),i=s(5105),c=s.n(i),l=s(9995),o=s(9152),d=s(7);let u=["general","press","advertising","venueOperators","partnership","club","support","other"],m={general:"Allgemeine Anfrage",press:"Presse",advertising:"Werbung & Partnerschaften",venueOperators:"Hallen-Betreiber",partnership:"Partnerschaft",club:"Verein",support:"Support",other:"Sonstiges"},p="block w-full appearance-none rounded-lg border border-canvas-muted2/30 bg-canvas/5 px-4 py-3 text-canvas placeholder:text-canvas-muted2 focus:border-interaction-light focus:outline-none focus:ring-1 focus:ring-interaction-light";function h({defaultTopic:e}={}){let{t}=(0,o.Bd)("contact"),s=(0,r.useRouter)(),i=u.map(e=>t(`contact.topics.${e}`,m[e])),x=e&&i.includes(e)?e:i[0],[g,b]=(0,a.useState)(!1),[f,j]=(0,a.useState)(""),[v,y]=(0,a.useState)("idle"),[N,w]=(0,a.useState)(""),[k,_]=(0,a.useState)(x),C=(0,a.useRef)(null),S=(0,a.useRef)(null);async function E(e){if(e.preventDefault(),d.$.contactCaptcha&&!f){y("error"),w(t("contact.errors.captcha","Bitte best\xe4tige das Captcha, bevor du absendest."));return}y("sending"),w("");let s=e.currentTarget,n=Object.fromEntries(new FormData(s).entries());try{let e=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...n,turnstileToken:f})});if(!e.ok){let s=await e.json().catch(()=>({}));throw Error(s.error||t("contact.errors.generic","Senden fehlgeschlagen."))}y("success"),s.reset(),_(x),j(""),S.current&&window.turnstile&&window.turnstile.reset(S.current)}catch(e){y("error"),w(e.message)}}return(0,a.useEffect)(()=>{if(!s.isReady)return;let e=s.query.topic;"string"==typeof e&&i.includes(e)&&_(e)},[s.isReady,s.query.topic]),(0,a.useEffect)(()=>
23{if(d.$.contactCaptcha&&g&&window.turnstile&&C.current)return S.current=window.turnstile.render(C.current,{sitekey:"0x4AAAAAAEiUjCeWCZU5uMKq",theme:"light",callback:e=>j(e),"expired-callback":()=>j(""),"error-callback":()=>j("")}),()=>{S.current&&window.turnstile&&window.turnstile.remove(S.current)}},[g]),(0,n.jsxs)(n.Fragment,{children:[d.$.contactCaptcha&&(0,n.jsx)(c(),{src:"https://challenges.cloudflare.com/turnstile/v0/api.js",strategy:"afterInteractive",onLoad:()=>b(!0)}),(0,n.jsxs)("form",{onSubmit:E,className:"space-y-6",children:[(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{htmlFor:"name",className:"mb-2 block text-sm font-semibold text-canvas",children:t("contact.fields.name","Name *")}),(0,n.jsx)("input",{id:"name",name:"name",type:"text",required:!0,className:p})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{htmlFor:"email",className:"mb-2 block text-sm font-semibold text-canvas",children:t("contact.fields.email","E-Mail *")}),(0,n.jsx)("input",{id:"email",name:"email",type:"email",required:!0,className:p})]})]}),(0,n.jsxs)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{htmlFor:"topic",className:"mb-2 block text-sm font-semibold text-canvas",children:t("contact.fields.topic","Anliegen")}),(0,n.jsx)("select",{id:"topic",name:"topic",value:k,onChange:e=>_(e.target.value),className:(0,l.A)(p,"pr-8"),children:i.map(e=>(0,n.jsx)("option",{value:e,children:e},e))})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{htmlFor:"phone",className:"mb-2 block text-sm font-semibold text-canvas",children:t("contact.fields.phone","Telefon (optional)")}),(0,n.jsx)("input",{id:"phone",name:"phone",type:"tel",className:p})]})]}),(0,n.jsxs)("div",{children:[(0,n.jsx)("label",{htmlFor:"message",className:"mb-2 block text-sm font-semibold text-canvas",children:t("contact.fields.message","Nachricht *")}),(0,n.jsx)("textarea",{id:"message",name:"message",rows:5,required:!0,className:p})]}),d.$.contactCaptcha&&(0,n.jsx)("div",{ref:C}),"error"===v&&(0,n.jsx)("p",{className:"text-sm text-red-600",children:N}),"success"===v&&(0,n.jsx)("p",{className:"text-sm text-interaction-light",children:t("contact.success","Danke! Deine Nachricht ist bei uns angekommen.")}),(0,n.jsx)("button",{type:"submit",disabled:"sending"===v,className:"inline-flex justify-center rounded-lg bg-interaction px-6 py-3 text-base font-semibold text-black transition-colors hover:bg-hover disabled:opacity-50",children:"sending"===v?t("contact.sending","Wird gesendet …"):t("contact.submit","Nachricht senden")})]})]})}}},e=>{e.O(0,[3371,6625,1915,636,6593,8792],()=>e(e.s=1906)),_N_E=e.O()}]);

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.