PageSourceSearch

https://de.serlo.org/_next/static/chunks/pages/consent-faad45c05c66bf93.js

js serlo.org collected 2026-09-24 17:43:12 UTC 2,588 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9851],{13635:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/consent",function(){return n(68252)}])},10662:function(e,t,n){"use strict";n.d(t,{V:function(){return l}});var r=n(52322),s=n(97729),o=n.n(s),c=n(34387);function l(e){let{headTitle:t,title:n,icon:s,extraBold:l}=e;return(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsx)(o(),{children:(0,r.jsx)("title",{children:n})}),(0,r.jsxs)("h1",{className:(0,c.cn)("serlo-h1 mt-20 hyphens-manual",l&&"text-4xl font-extrabold tracking-tight text-almost-black"),children:[n," ",s]})]})}},20599:function(e,t,n){"use strict";var r,s;function o(){let e=e=>"consent::".concat(e);return{checkConsent:t=>"1"===localStorage.getItem(e(t)),giveConsent:t=>{localStorage.setItem(e(t),"1")},revokeConsent:t=>{localStorage.removeItem(e(t))}}}n.d(t,{C:function(){return o},F:function(){return r}}),(s=r||(r={})).YouTube="YouTube",s.Vimeo="Vimeo",s.GeoGebra="GeoGebra",s.Twingle="Twingle",s.GoogleSearch="GoogleSearch",s.H5p="H5P",s.Vocaroo="Vocaroo"},68252:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var r=n(52322),s=n(23306),o=n(2784),c=n(30675),l=n(10662),a=n(31668),i=n(94671),u=n(51592),d=n(20599);function h(){let{checkConsent:e,revokeConsent:t}=(0,d.C)(),[n,s]=(0,o.useState)(!1),[,h]=(0,o.useState)({}),{strings:x}=(0,a.xN)();(0,o.useEffect)(()=>s(!0),[]);let f=Object.values(d.F);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.V,{title:x.consent.title,headTitle:!0}),(0,r.jsx)("p",{className:"serlo-p",children:(0,u.w)(x.consent.intro,{privacypolicy:(0,r.jsx)(c.r,{href:"/privacy",children:x.entities.privacyPolicy})})}),(0,r.jsx)("h2",{className:"serlo-h2",children:x.consent.revokeTitle}),(0,r.jsx)("p",{className:"serlo-p",children:x.consent.revokeText}),n?(0,r.jsx)("table",{className:"serlo-table border-l-3 border-t-3 border-brand-200",children:(0,r.jsx)("tbody",{children:f.filter(e=>!i.y||e!==d.F.Vocaroo).map(n=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"serlo-td text-lg",children:(0,r.jsx)("b",{children:n})}),(0,r.jsx)("td",{className:"serlo-td text-lg",children:e(n)?(0,r.jsx)("button",{className:"serlo-button-learner-secondary",onClick:()=>{t(n),h({})},children:x.consent.revokeConsent}):(0,r.jsxs)("span",{className:"ml-1 text-gray-600",children:["(",x.consent.noConsent,")"]})})]},n))})}):"…"]})}var x=(0,n(53972).Q)(()=>(0,r.jsx)(s.V,{children:(0,r.jsx)(h,{})}))}},function(e){e.O(0,[5089,1364,3306,2888,9774,179],function(){return e(e.s=13635)}),_N_E=e.O()}]);
2//# sourceMappingURL=consent-faad45c05c66bf93.js.map

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.