PageSourceSearch

https://www.tagesschau.de/resources/assets/158-c51cf1b90e2c471631a2.chunk.bundle.js

js tagesschau.de collected 2026-09-24 07:34:52 UTC 9,403 bytes, 7 lines download raw bytes

1"use strict";(self.webpackChunk_webapp_frontend=self.webpackChunk_webapp_frontend||[]).push([[158],{3573(r,t,e){e.d(t,{A:()=>i});var n=e(6540),o=e(1145);function u(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}var a={sameSite:"strict",secure:"https:"===window.location.protocol,domain:window.location.hostname.replace("www",""),path:"/"};function i(r,t){var e,i=(0,n.useRef)(new o.A),l=function(r){if(Array.isArray(r))return r}(e=(0,n.useState)(function(){return i.current.get(r)}))||function(r){var t,e,n=null==r?null:"u">typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var o=[],u=!0,a=!1;try{for(n=n.call(r);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(r){a=!0,e=r}finally{try{u||null==n.return||n.return()}finally{if(a)throw e}}return o}}(e)||function(r){if(r){if("string"==typeof r)return u(r,2);var t=Object.prototype.toString.call(r).slice(8,-1);if("Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(r,2)}}(e)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),c=l[0],f=l[1],s=(0,n.useCallback)(function(e){f(function(n){var o="function"==typeof e?e(n):e,u=new Date;return u.setFullYear(u.getFullYear()+1),i.current.set(r,o,function(r){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},n=Object.keys(e);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(e).filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),n.forEach(function(t){var n;n=e[t],t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n})}return r}({expires:u},a,t)),o})},[r,t]),y=(0,n.useCallback)(function(){i.current.remove(r,t),f(void 0)},[r,t]);return(0,n.useEffect)(function(){var t=function(t){t.name===r&&f(t.value)};return i.current.addChangeListener(t),function(){i.current.removeChangeListener(t)}},[]),[c,s,y]}},3563(r,t,e){e.d(t,{A:()=>l});var n=e(6540),o=e(3573),u=e(4512);function a(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function i(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e,n,o=null==r?null:"u">typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=o){var u=[],a=!0,i=!1;try{for(o=o.call(r);!(a=(e=o.next()).done)&&(u.push(e.value),!t||u.length!==t);a=!0);}catch(r){i=!0,n=r}finally{try{a||null==o.return||o.return()}finally{if(i)throw n}}return u}}(r,t)||function(r,t){if(r){if("string"==typeof r)return a(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return a(r,t)}}(r,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function l(){var r=i((0,o.A)("darkmode_content"),1)[0],t=(0,u.A)("(prefers-color-scheme: dark)"),e=function(){return t||"show"===r},a=i((0,n.useState)(e),2),l=a[0],c=a[1];return(0,n.useEffect)(function(){c(e())},[t,r]),l}},7180(r,t,e){e.d(t,{B:()=>l});var n=e(6540);function o(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function u(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e,n,o=null==r?null:"u">typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=o){var u=[],a=!0,i=!1;try{for(o=o.call(r);!(a=(e=o.next()).done)&&(u.push(e.value),!t||u.length!==t);a=!0);}catch(r){i=!0,n=r}finally{try{a||null==o.return||o.return()}finally{if(i)throw n}}return u}}(r,t)||a(r,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function a(r,t){if(r){if("string"==typeof r)return o(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return o(r,t)}}var i=function(r,t){return r.entry.boundingClientRect.left>t.entry.boundingClientRect.left?1:-1};function l(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.threshold,e=void 0===t?0:t,l=r.root,c=void 0===l?null:l,f=r.rootMargin,s=void 0===f?"0%":f,y=u((0,n.use
4State)(null),2),d=y[0],h=y[1],m=(0,n.useRef)(null),v=u((0,n.useState)([]),2),b=v[0],p=v[1],g=(0,n.useCallback)(function(r){if(m.current){var t=Array.isArray(m.current.thresholds)?m.current.thresholds:[m.current.thresholds];p(function(e){var n=function(r){if(Array.isArray(r))return o(r)}(e)||function(r){if("u">typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}(e)||a(e)||function(){throw TypeError(`Invalid attempt to spread non-iterable instance.
5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),u=!0,l=!1,c=void 0;try{for(var f,s=r[Symbol.iterator]();!(u=(f=s.next()).done);u=!0)!function(){var r,e,o=f.value,u=o.target,a=String(null!=(r=null==u||null==(e=u.dataset)?void 0:e.key)?r:""),i=o.isIntersecting&&t.some(function(r){return o.intersectionRatio>=r}),l={entry:o,key:a,isIntersecting:i},c=n.findIndex(function(r){return r.key===a});-1!==c?n[c]=l:n.push(l)}()}catch(r){l=!0,c=r}finally{try{u||null==s.return||s.return()}finally{if(l)throw c}}return n.sort(i)})}},[m,JSON.stringify(e)]);return(0,n.useEffect)(function(){if(!(null===d||Array.isArray(d)&&d.length<=0)&&"IntersectionObserver"in window)return m.current=new IntersectionObserver(g,{threshold:e,root:c,rootMargin:s}),(Array.isArray(d)?d:[d]).forEach(function(r){m.current&&m.current.observe(r)}),function(){m.current&&(m.current.disconnect(),m.current=null)}},[d,JSON.stringify(e),c,s]),{setRef:h,entryState:b}}},4512(r,t,e){e.d(t,{A:()=>u});var n=e(6540);function o(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function u(r){var t,e=(0,n.useMemo)(function(){return window.matchMedia?window.matchMedia(r):null},[r]),u=function(r){if(Array.isArray(r))return r}(t=(0,n.useState)(null==e?void 0:e.matches))||function(r){var t,e,n=null==r?null:"u">typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=n){var o=[],u=!0,a=!1;try{for(n=n.call(r);!(u=(t=n.next()).done)&&(o.push(t.value),2!==o.length);u=!0);}catch(r){a=!0,e=r}finally{try{u||null==n.return||n.return()}finally{if(a)throw e}}return o}}(t)||function(r){if(r){if("string"==typeof r)return o(r,2);var t=Object.prototype.toString.call(r).slice(8,-1);if("Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(r,2)}}(t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),a=u[0],i=u[1],l=(0,n.useCallback)(function(r){i(r.matches)},[i]);return(0,n.useEffect)(function(){return null==e||e.addEventListener("change",l),function(){null==e||e.removeEventListener("change",l)}},[e]),a}},1158(r,t,e){e.r(t),e.d(t,{default:()=>s});var n=e(4848),o=e(6540),u=e(3563),a=e(7180);function i(){return(0,n.jsx)("div",{className:"wahltool-module__skeleton"})}function l(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function c(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var e,n,o=null==r?null:"u">typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=o){var u=[],a=!0,i=!1;try{for(o=o.call(r);!(a=(e=o.next()).done)&&(u.push(e.value),!t||u.length!==t);a=!0);}catch(r){i=!0,n=r}finally{try{a||null==o.return||o.return()}finally{if(i)throw n}}return u}}(r,t)||function(r,t){if(r){if("string"==typeof r)return l(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(r,t)}}(r,t)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
7In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function f(r){var t=r.chartId,e=r.projectId,l="wahltool-chart",f=(0,u.A)(),s=c((0,o.useState)(!1),2),y=s[0],d=s[1],h=c((0,o.useState)(!1),2),m=h[0],v=h[1],b=(0,o.useRef)(null);(0,o.useEffect)(function(){if(null!==b.current){var r=b.current.getBoundingClientRect();if(r.top<window.innerHeight+300&&r.bottom>=0)return void v(!0);g(b.current)}},[b]);var p=(0,a.B)({rootMargin:"300px"}),g=p.setRef,A=p.entryState;return(0,o.useEffect)(function(){var r;(null==(r=A[0])?void 0:r.isIntersecting)&&v(!0)},[A]),(0,o.useEffect)(function(){m&&t&&e&&customElements.whenDefined(l).then(function(){return d(!0)})},[m]),(0,n.jsx)("div",{ref:b,children:y&&m?(0,n.jsx)(l,{"font-family":"Thesis","chart-id":t,"project-id":e,theme:f?"dark":"light","with-padding":"false"}):(0,n.jsx)(i,{})})}function s(r){var t=r.embed_config;return(0,n.jsx)(f,{chartId:t.chartId,projectId:t.projectId})}}}]);

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.