PageSourceSearch

https://www.dctp.tv/_next/static/chunks/pages/search-c259052720e1a86e3969.js

js dctp.tv collected 2026-10-02 02:30:34 UTC 9,489 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[29],{"19J2":function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/search",function(){return r("eOhz")}])},CkGm:function(e,t,r){"use strict";var n=r("q1tI"),o=r.n(n),i=r("LvDl"),a=o.a.createElement;t.a=function(e){var t=e.title,r=e.description,n=e.image,o=e.url;Object(i.isEmpty)(n)&&(n={url:""});var c=n.url;return[a("title",{key:"1"},t),a("meta",{key:"2",name:"description",content:r}),a("meta",{key:"3",property:"og:type",content:"website"}),a("meta",{key:"4",property:"og:title",content:t}),a("meta",{key:"5",property:"og:description",content:r}),a("meta",{key:"6",property:"og:url",content:o}),a("meta",{key:"7",property:"og:image",content:c}),a("meta",{key:"8",property:"og:locale",content:"de_DE"}),a("meta",{key:"9",property:"twitter:title",content:t}),a("meta",{key:"10",property:"twitter:description",content:r}),a("meta",{key:"11",property:"twitter:image",content:c}),a("meta",{key:"12",property:"twitter:image:alt",content:t}),a("meta",{key:"13",property:"twitter:card",content:"summary_large_image"})]}},DeqP:function(e,t,r){"use strict";var n=r("rePB"),o=r("q1tI"),i=r.n(o),a=(r("pjx/"),r("vOnD")),c=r("oYV7"),s=r("LvDl"),u=(r("xkNQ"),i.a.createElement);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}t.a=function(e){var t=e.columns;Object(s.isUndefined)(t)&&(t=3);var r=Object(s.assign)(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(n.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e),{spacing:1,columns:t,itemTemplate:"Item--media--portrait"});return u(p,null,u(c.a,r))};var p=a.c.div.withConfig({displayName:"Overview--media--grid__OverviewMediaGrid",componentId:"zvg41z-0"})([".ItemMediaPortrait:hover{background-color:",";}"],(function(e){return e.theme.colors.grey}))},eOhz:function(e,t,r){"use strict";r.r(t);var n=r("HaE+"),o=r("1OyB"),i=r("vuIU"),a=r("md7G"),c=r("foSv"),s=r("Ji7U"),u=r("q1tI"),l=r.n(u),p=r("vOnD"),h=r("vcXL"),m=r.n(h),d=r("8Kt/"),f=r.n(d),y=r("LvDl"),v=r("zn3g"),b=l.a.createElement,g=function(e){var t=e.search;return b(w,null,b(O,null,"Suchergebnisse f\xfcr:",b(j,null,"\u201e",t,"\u201c")))},w=p.c.div.withConfig({displayName:"SearchHeader",componentId:"sc-130wbb6-0"})(["margin-top:",";"],(function(e){return e.theme.rem(e.theme.sizes.containerPadding)})),O=p.c.h1.withConfig({displayName:"SearchHeader__H1",componentId:"sc-130wbb6-1"})([""]),j=p.c.span.withConfig({displayName:"SearchHeader__SearchString",componentId:"sc-130wbb6-2"})(["text-transform:uppercase;margin-left:",";"],(function(e){return e.theme.rem(5)})),k=r("DeqP"),S=l.a.createElement,_=function(e){var t=e.searchResult,r=[],n=0,o=[];return!Object(y.isEmpty)(t)&&Object(y.isEmpty)(t.error)&&(r=t.hits.hits,n=t.hits.total.value,o=Object(y.map)(r,(function(e){var t=e._source,r=Object(y.cloneDeep)(t),n={};return n.url=t.image,n.width=1280,n.height=720,n.spec_slug="medium-preview-original",r.type="media",r.images=[n],r}))),S(E,null,S(P,null,"Insgesamt wurden ",n," Filme zu dem Suchbegriff gefunden.",S(R,null,S(k.a,{items:o,columns:3}))))},E=p.c.div.withConfig({displayName:"SearchBody",componentId:"hmkw19-0"})([""]),P=p.c.div.withConfig({displayName:"SearchBody__AnzahlErgebnisse",componentId:"hmkw19-1"})([""]),R=p.c.div.withConfig({displayName:"SearchBody__SearchResults",componentId:"hmkw19-2"})(["margin-top:",";"],(function(e){return e.theme.rem(e.theme.sizes.containerPadding)})),z=r("CkGm"),D=l.a.createElement;function I(){var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var s=n&&n.prototype instanceof c?n:c,u=Object.create(s.prototype);return T(u,"_invoke",function(r,n,o){var i,c,s,u=0,l=o||[],p=!1,h={p:0,n:0,v:e,a:m,f:m.bind(e,4),d:function(t,r){return i=t,c=0,s=e,h.n=r,a}};function m(r,n){for(c=r,s=n,t=0;!p&&u&&!o&&t<l.length;t++){var o,i=l[t],m=h.p,d=i[2];r>3?(o=d===n)&&(s=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=m&&((o=r
1<2&&m<i[1])?(c=0,h.v=n,h.n=i[1]):m<d&&(o=r<3||i[0]>n||n>d)&&(i[4]=r,i[5]=n,h.n=d,c=0))}if(o||r>1)return a;throw p=!0,n}return function(o,l,d){if(u>1)throw TypeError("Generator is already running");for(p&&1===l&&m(l,d),c=l,s=d;(t=c<2?e:s)||!p;){i||(c?c<3?(c>1&&(h.n=-1),m(c,s)):h.n=s:h.v=s);try{if(u=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(p=h.n<0)?s:r.call(n,h))!==a)break}catch(t){i=e,c=1,s=t}finally{u=1}}return{value:t,done:p}}}(r,o,i),!0),u}var a={};function c(){}function s(){}function u(){}t=Object.getPrototypeOf;var l=[][n]?t(t([][n]())):(T(t={},n,(function(){return this})),t),p=u.prototype=c.prototype=Object.create(l);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,u):(e.__proto__=u,T(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=u,T(p,"constructor",u),T(u,"constructor",s),s.displayName="GeneratorFunction",T(u,o,"GeneratorFunction"),T(p),T(p,o,"Generator"),T(p,n,(function(){return this})),T(p,"toString",(function(){return"[object Generator]"})),(I=function(){return{w:i,m:h}})()}function T(e,t,r,n){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}(T=function(e,t,r,n){function i(t,r){T(e,t,(function(e){return this._invoke(t,r,e)}))}t?o?o(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(i("next",0),i("throw",1),i("return",2))})(e,t,r,n)}function N(e,t,r){return t=Object(c.a)(t),Object(a.a)(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,r||[],Object(c.a)(e).constructor):t.apply(e,r))}var C="https://s3.amazonaws.com/dctp-ivms2-restapi/version.json",G={baseTitle:"dctp.tv - ",title:"dctp.tv - Das webTV von Alexander Kluge",description:"dctp.tv ist der webTV Sender der dctp und zeigt das Schaffenswerk von Alexander Kluge. Tauchen Sie ein in G\xe4rten der Information auf dctp.tv! Kunst, Kultur und Wissenschaft im kostenlosen Videostream.",image:{url:"https://www.dctp.tv/static/dctp/logo.jpg"},baseUrl:"https://www.dctp.tv",url:"https://www.dctp.tv"},L=function(e){function t(e){var r;return Object(o.a)(this,t),(r=N(this,t,[e])).handleScroll=r.handleScroll.bind(r),r.performLazySearch=r.performLazySearch.bind(r),r.state={searchResult:{}},r}return Object(s.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this.props.searchResult;Object(y.isEmpty)(window)||window.addEventListener("scroll",this.handleScroll),console.log("searchResult",e),this.setState({searchResult:this.props.searchResult})}},{key:"componentDidUpdate",value:function(e,t){e.searchResult!==this.props.searchResult&&this.setState({searchResult:this.props.searchResult}),t.searchResult,this.state.searchResult}},{key:"componentWillUnmount",value:function(){Object(y.isEmpty)(window)||window.removeEventListener("scroll",this.handleScroll)}},{key:"handleScroll",value:function(){var e=this;window.innerHeight+window.scrollY>=document.body.offsetHeight&&this.performLazySearch().then((function(t){if(!Object(y.isEmpty)(t)){var r=t.hits.hits,n=e.state.searchResult;n.hits.hits=Object(y.concat)(n.hits.hits,r),e.setState({searchResult:n})}}))}},{key:"performLazySearch",value:function(){var e=Object(n.a)(I().m((function e(){var t,r,n,o,i,a,c,s,u;return I().w((function(e){for(;;)switch(e.n){case 0:if(t=this.state.searchResult.hits.hits,r=this.state.searchResult.hits.total.value,!(t.length<r)){e.n=1;break}return n=this.props,o=n.restapiVersion,i=n.search,a=n.size,c=Object(v.n)(20),s=t.length,u=i,e.a(2,Object(v.d)(c,u,o,s,a,"DCTP"));case 1:return e.a(2)}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.search,r=e.restapiVersion,n=e.size,o=this.state.searchResult,i=G,a=i.baseTitle,c=i.baseUrl;!Object(y.isEmpty)(o)&&Object(y.isEmpty)(o.error)||(o=this.props.searchResult);var s=i.image,u=i.description,l={title:"".concat(a,"Suche"),description:u,image:s,url:"".concat(c)};return D(x,null,D(f.a,null,Object(z.a)(l)),D(g,{search:t}),D(_,{searchResult:o,restapiVersion:r,search:t,size:n}))}}],[{key:"getInitialProps",value:function(){var e=Object(n.a)(I().m((function e(t){var r,n,o,i,a,c,s,u,l,p;return I().w((function(e){for(;;)switch(e.n){case 0:return t.reduxStore,r=t.req,n=t.query,o=!!r,i=n.search||"",e.n=1,m()(C).then((function(e){return e.json()}));case 1:return a=e.v,c=a.version_name,s=Object(v.n)(20),0,u=30,l=i,e.n=2,Object(v.d)(s,l,c,0,u,"DCTP");case 2:return p=e.v,o||Object(v.x)(),e.a(2,{search:i,searchResult:p,restapiVersion:c,size:u})}}),e)})));return function(t){return e.apply(this,arguments)}}()}])}(l.a.Component),x=p.c.div.withConfig({displayName:"search__SearchWra
1pper",componentId:"sc-1rmodek-0"})(["padding:"," ",";"],(function(e){return e.theme.rem(e.theme.sizes.containerPaddingTopBottom)}),(function(e){return e.theme.rem(e.theme.sizes.containerPaddingLeftRight)}));t.default=L}},[["19J2",2,3,7,0,4,6]]]);

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.