PageSourceSearch

https://www.antidiskriminierung-ka.de/_next/static/chunks/pages/beratung-a683f18a7e4e65f5.js

js antidiskriminierung-ka.de collected 2026-10-05 21:35:25 UTC 9,901 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9721],{23510:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/beratung",function(){return n(71939)}])},63982:function(e,t,n){"use strict";n.d(t,{U:function(){return HomePage}});var i=n(67168),l=n(83680),s=n(10655),a=n(57454);function HomePageHead(e){let{title:t,settings:n,page:l}=e,r=(0,s.useRouter)(),o=r.locale?r.locale:"de";return(0,i.jsx)(a.Z,{title:"Beratung",baseTitle:t,description:(null==l?void 0:l.description)?l.description[o]:"",keywords:(null==l?void 0:l.keywords)?l.keywords[o]:"",image:null==n?void 0:n.ogImage})}var r=n(34174),o=n(35249),d=n(51343),c=n(62254),u=n(23773),x=n(18531),m=n(59745),g=n(28368),v=n(22829),h=n(80288),p=n(14991),f=n(18381);let j=["#03875B","#E30032","#D98200","#069BBA","#941780","#2D2482"];function EverydayDiscriminationSection(e){let{title:t,stats:n,paragraph:l,button1:a,button2:r}=e,b=(0,s.useRouter)(),y=b.locale?b.locale:"de",w=(0,f.useRef)(null),N=(0,m.Y)(w,{once:!0}),k=[(0,g.c)(0),(0,g.c)(0),(0,g.c)(0),(0,g.c)(0),(0,g.c)(0),(0,g.c)(0)],E=[(0,v.H)(k[0],e=>"".concat(Math.round(e),"%")),(0,v.H)(k[1],e=>"".concat(Math.round(e),"%")),(0,v.H)(k[2],e=>"".concat(Math.round(e),"%")),(0,v.H)(k[3],e=>"".concat(Math.round(e),"%")),(0,v.H)(k[4],e=>"".concat(Math.round(e),"%")),(0,v.H)(k[5],e=>"".concat(Math.round(e),"%"))],_={hidden:{pathLength:0,opacity:0},visible:e=>{var t;return{pathLength:n&&(null===(t=n[e])||void 0===t?void 0:t.percentage)?n[e].percentage/100:0,opacity:1,transition:{pathLength:{delay:(e+1)*0+.875*e,type:"spring",duration:.875,bounce:0},opacity:{delay:(e+1)*0+.875*e,duration:.01}}}}};return(0,f.useEffect)(()=>{var e;if(!N)return;let t=(0,h.j)(k[0],n?null===(e=n[0])||void 0===e?void 0:e.percentage:0,{duration:.875,delay:0});return t.stop}),(0,f.useEffect)(()=>{var e;if(!N)return;let t=(0,h.j)(k[1],n?null===(e=n[1])||void 0===e?void 0:e.percentage:0,{duration:.875,delay:.875});return t.stop}),(0,f.useEffect)(()=>{var e;if(!N)return;let t=(0,h.j)(k[2],n?null===(e=n[2])||void 0===e?void 0:e.percentage:0,{duration:.875,delay:1.75});return t.stop}),(0,f.useEffect)(()=>{var e;if(!N)return;let t=(0,h.j)(k[3],n?null===(e=n[3])||void 0===e?void 0:e.percentage:0,{duration:.875,delay:2.625});return t.stop}),(0,f.useEffect)(()=>{var e;if(!N)return;let t=(0,h.j)(k[4],n?null===(e=n[4])||void 0===e?void 0:e.percentage:0,{duration:.875,delay:3.5});return t.stop}),(0,f.useEffect)(()=>{var e;if(!N)return;let t=(0,h.j)(k[5],n?null===(e=n[5])||void 0===e?void 0:e.percentage:0,{duration:.875,delay:4.375});return t.stop}),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{className:"bg-white pt-20 sm:pt-32",children:(0,i.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,i.jsxs)("div",{className:"mx-auto max-w-2xl space-y-8 sm:space-y-12 lg:mx-0 lg:max-w-none",children:[(0,i.jsx)("div",{children:(0,i.jsx)("h2",{children:(0,i.jsx)(x.d,{size:"lg",className:"mt-2 text-center text-3xl font-bold tracking-tight text-gray-800 sm:text-5xl",children:t})})}),(0,i.jsx)("div",{ref:w,className:"text-gray-90 grid grid-cols-3 gap-x-4 gap-y-4 sm:gap-x-10 sm:gap-y-8 lg:grid-cols-6 xl:gap-x-16",children:n.map((e,t)=>(0,i.jsxs)("div",{className:"relative flex flex-col justify-end py-8 sm:py-12",children:[(0,i.jsxs)(p.E.svg,{className:"absolute inset-0 mx-auto h-full min-h-[105px] w-full min-w-[105px] -rotate-90",width:"200",height:"200",viewBox:"0 0 200 200",initial:"hidden",animate:N?"visible":"hidden",children:[(0,i.jsx)(p.E.circle,{cx:"50%",cy:"50%",r:"45%",stroke:j[t],variants:_,custom:t,strokeWidth:"15px",strokeLinecap:"round",fill:"transparent"}),(0,i.jsx)("circle",{cx:"50%",cy:"50%",r:"45%",stroke:j[t],opacity:"0.2",strokeWidth:"15px",strokeLinecap:"round",fill:"transparent"})]}),(0,i.jsx)(p.E.div,{className:(0,d.Z)(0===t&&"text-signal-green",1===t&&"text-signal-red",2===t&&"text-orange",3===t&&"text-turquoise",4===t&&"text-purple",5===t&&"text-dark-blue","absolute inset-x-0 inset-y-1/4 mt-1 text-center text-2xl font-bold tracking-tighter sm:mt-2.5 sm:text-[2.5rem]"),children:E[t]}),(0,i.jsx)("div",{className:(0,d.Z)(0===t&&"text-signal-green",1===t&&"text-signal-red",2===t&&"text-orange",3===t&&"text-turquoise",4===t&&"text-purple",5===t&&"text-dark-blue","mx-auto mt-8 flex h-8 w-16 items-center justify-center text-center text-xs font-bold leading-none sm:mt-12 sm:w-24 sm:text-base sm:leading-none"),children:(0,i.jsx)("span",{children:e.title?e.title[y]:""})})]},"stat ".concat(e.title?e.title[y]:""," ").concat(t)))}),(0,i.jsx)("div",{children:(0,i.jsx)(u._,{className:"mx-auto mt-6 max-w-none text-center text-base leading-8 text-gray-700 sm:text-lg lg:max-w-4xl",children:l&&(0,i.jsx)(c.s,{value:l[y]})})}),(0,i.jsxs)("div",{className:"mx-auto flex max-w-xs flex-col justify-center gap-x-4 gap-y-4 pb-2 pt-4 sm:max-w-none sm:flex-row sm:items-center sm:pt-0",children:[(0,i.jsx)(o.z,{onClick:()=>b.push("/fall-melden"),children:a}),(0,i.jsx)(o.z,{intent:"secondary",onClick:()=>b.push("/kontaktformular"),children:r})]})]})})})})}var b=n(26502),y=n(37436),w=n(91595),N=n(64382);function FaqSection(e){let{title:t,subheader:n,faqs:l,button:a}=e,r=(0,s.useRouter)(),d=r.locale?r.locale:"de",{t:m}=(0,N.Z)("common");return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("div",{id:"fragen-und-antworten",className:"bg-white pt-20 sm:pt-32",children:(0,i.jsxs)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:[(0,i.jsx)("div",{className:"mx-auto max-w-2xl text-center",children:(0,i.jsx)("h2",{children:(0,i.jsx)(x.d,{size:"lg",className:"text-3xl font-bold tracking-tight text-gray-800 sm:text-5xl",children:t})})}),(0,i.jsxs)("div",{className:"mx-auto max-w-2xl divide-y divide-gray-900/10 border-b border-gray-900/10 lg:max-w-4xl",children:[(0,i.jsx)("h2",{className:"mt-2 text-center text-base font-bold leading-10 tracking-tight text-primary-700 sm:text-lg",children:n?n[d]:""}),(0,i.jsx)("dl",{className:"mt-10 divide-y divide-gray-900/10",children:l.map((e,t)=>(0,i.jsx)(b.p,{as:"div",className:"py-6",children:t=>{let{open:n}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("dt",{children:(0,i.jsxs)(b.p.Button,{className:"flex w-full items-center justify-between rounded-card text-left text-gray-800 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-orange",children:[(0,i.jsx)("span",{className:"text-base font-bold leading-7 sm:text-lg",children:e.question?e.question[d]:""}),(0,i.jsx)("span",{className:"ml-6 flex h-7 items-center",children:n?(0,i.jsx)(y,{className:"h-5 w-5","aria-hidden":"true",title:m("seo.antwort-verbergen")}):(0,i.jsx)(w,{className:"h-5 w-5","aria-hidden":"true",title:m("seo.antwort-anzeigen")})})]})}),(0,i.jsx)(b.p.Panel,{as:"dd",className:"mt-6 sm:pr-12",children:(0,i.jsx)(u._,{className:"text-base leading-7 text-gray-700 sm:text-base",children:e.answer&&(0,i.jsx)(c.s,{value:e.answer[d]})})})]})}},"faq ".concat(e.question," ").concat(t)))})]}),(0,i.jsx)("div",{className:"mx-auto mt-10 text-center lg:mt-16",children:(0,i.jsx)(o.z,{onClick:()=>r.push("/diskriminierung"),children:a})})]})})})}var k=n(75283),E=n(15563),_=n(51047);function HomePage(e){var t,n,a;let{page:o,sections:d,reportCase:c,events:u,news:x,notification:m,languages:g,settings:v,websiteTitle:h,preview:p}=e,{subheader:f,title:j,button1:b,button2:y,linkText:w,linkUrl:N,image:H,imageAlt:q}=null!=o?o:{},{advises:S,howWeHelp:P,whatWeOffer:z,faq:C,discrimination:D}=null!=d?d:{},T=(0,s.useRouter)(),B=T.locale?T.locale:"de";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(HomePageHead,{page:o,settings:v,title:h}),(0,i.jsxs)(l.Z,{reportCase:c,events:u,news:x,notification:m,languages:g,settings:v,preview:p,children:[(0,i.jsx)(k.D,{title:j,subheader:f,button1:b?b[B]:"",button2:y?y[B]:"",linkText:w?w[B]:"",linkUrl:N,image:H,imageAlt:q}),S&&(0,i.jsx)(r.G,{title:(null==S?void 0:S.title)?S.title[B]:"",advises:null!==(t=null==S?void 0:S.advises)&&void 0!==t?t:[]}),P&&(0,i.jsx)(E._,{title:(null==P?void 0:P.title)?P.title[B]:"",subheader:null==P?void 0:P.subheader,image:null==P?void 0:P.image,imageAlt:null==P?void 0:P.imageAlt}),z&&(0,i.jsx)(_.E,{title:(null==z?void 0:z.title)?z.title[B]:"",subheader:null==z?void 0:z.subheader,offers:null!==(n=null==z?void 0:z.offers)&&void 0!==n?n:[],button:(null==z?void 0:z.button)?z.button[B]:""}),C&&(0,i.jsx)(FaqSection,{title:(null==C?void 0:C.title)?C.title[B]:"",subheader:null==C?void 0:C.subheader,faqs:null!==(a=null==C?void 0:C.faqs)&&void 0!==a?a:[],button:(null==C?void 0:C.button)?C.button[B]:""}),D&&(0,i.jsx)(EverydayDiscriminationSection,{title:(null==D?void 0:D.title)?D.title[B]:"",stats:null==D?void 0:D.stats,paragraph:null==D?void 0:D.paragraph,button1:(null==D?void 0:D.button1)?D.button1[B]:"",button2:(null==D?void 0:D.button2)?D.button2[B]:""})]})]})}},71939:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return c},default:function(){return IndexPage}}
1);var i=n(67168),l=n(8555),s=n(63982),a=n(24533),r=n(10655),o=n(18381);let d=(0,o.lazy)(()=>n.e(3327).then(n.bind(n,23327)));var c=!0;function IndexPage(e){let t=(0,r.useRouter)(),n=t.locale?t.locale:"de",{page:o,notification:c,reportCase:u,faqSection:x,events:m,news:g,languages:v,settings:h,preview:p,token:f,websiteTitle:j}=e,b={advises:null==o?void 0:o.advisesSection,howWeHelp:null==o?void 0:o.howWeHelpSection,whatWeOffer:null==o?void 0:o.whatWeOfferSection,faq:x,discrimination:null==o?void 0:o.everydayDiscriminationSection};return p?(0,i.jsx)(l.Dz,{fallback:(0,i.jsx)(a.q,{children:(0,i.jsx)(s.U,{websiteTitle:j&&j[n],page:o,sections:b,reportCase:u,events:m,news:g,notification:c,languages:v,settings:h,preview:p})}),children:(0,i.jsx)(d,{settings:h,websiteTitle:j&&j[n],token:f})}):(0,i.jsx)(s.U,{page:o,sections:b,events:m,news:g,notification:c,languages:v,websiteTitle:j&&j[n],reportCase:u,settings:h})}}},function(e){e.O(0,[8929,543,9243,9794,6991,550,9774,2888,179],function(){return e(e.s=23510)}),_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.