PageSourceSearch

https://www.hellofresh.de/_next/static/chunks/48317.d6a81dae046e6a33.js

js hellofresh.de collected 2026-09-25 23:37:27 UTC 7,895 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[48317],{737751:function(t,n,r){r.d(n,{v:function(){return c},w:function(){return o}}),(e=c||(c={})).wine="wine",e.cloudfront="cloudfront",e.website="website";var e,c,o={fetch_format:"auto",flags:"lossy",quality:"auto"}},977382:function(t,n,r){var e=r(347334);n.ZP=e.ZP},347334:function(t,n,r){r.d(n,{ZP:function(){return p},LJ:function(){return m}});var e,c={width:function(t){return t>0?"w_".concat(t):""},height:function(t){return t>0?"h_".concat(t):""},crop:function(t){return"c_".concat(t)},gravity:function(t){return"g_".concat(t)},background:function(t){return"b_".concat(t)},x:function(t){return"x_".concat(t)},y:function(t){return"y_".concat(t)},aspect_ratio:function(t){return"ar_".concat(t)},radius:function(t){return"r_".concat(t)},opacity:function(t){return"o_".concat(t)},dpr:function(t){return"dpr_".concat(t)},effect:function(t){return"e_".concat(t)},flags:function(t){return"fl_".concat(t)},overlay:function(t){return"l_".concat(t)},zoom:function(t){return"z_".concat(t)},fetch_format:function(t){return"f_".concat(t)},quality:function(t){return"q_".concat(t)},angle:function(t){return"a_".concat(t)},border:function(t){return"bo_".concat(t)},color:function(t){return"co_".concat(t)}},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce(function(n,r){var e=c[r],o=t[r],i=e&&o&&e(o);return i?n.concat([i]):n},[]).sort().join(",")},i=function(t,n){var r=o(n);return"".concat("https://media.hellofresh.com","/").concat(r,"/").concat(t)},a=r(737751),u=function(t){if(t&&t.match(/,/)){var n=t.split(","),r=parseInt(n[0],10),e=parseInt(n[1],10),c={};return e>0&&(c.height=e),r>0&&(c.width=r),c}return{}};function f(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var l=(f(e={},a.v.wine,{proxyName:"lot18",extractImageId:function(t){var n=t.split(/\//);return n.splice(0,3),n.join("/")},extractSize:function(){return{}}}),f(e,a.v.cloudfront,{proxyName:"hellofresh_s3",extractImageId:function(t){var n=t.split(/\//);return n.splice(0,4),n.join("/")},extractSize:function(t){return u(t.split(/\//)[3])}}),f(e,a.v.website,{proxyName:"hellofresh_website",extractImageId:function(t){var n=t.split(/\//);return n.splice(0,3),n.join("/")},extractSize:function(t){return u(t.split(/\//)[3])}}),e);function s(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){var e;e=r[n],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return t}var d=RegExp("^http(s)?."),h={hasWarned:!1,markAsWarned:function(){this.hasWarned=!0}},m=function(t,n){return i(t,s({},a.w,n))},v=function(t){var n=d.test(t);return n&&!h.hasWarned&&(console.warn("\uD83D\uDE35 using imageLink for cloudfront images will be deprecated soon, pass an imagePath instead!"),h.markAsWarned()),n},p=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.v.cloudfront;if(!t||!t.length)return function(){return t};var r=l[n],e=r.extractImageId,c=r.extractSize,o=r.proxyName,i="/".concat(e(t));n!==a.v.cloudfront||v(t)||(i=t);var u="".concat(o).concat(i);return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m(u,s({},c(t),n))}}},848317:function(t,n,r){r.d(n,{Z:function(){return g}});var e,c=r(687800);r(827378);var o=r(502408),i=r(210970),a=r(625389),u=(e={xs:0,sm:320,md:768,lg:1024,xl:1200},r.n(a)()(e,function(t){return"@media (min-width:".concat(t,"px)")}));function f(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}function l(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function s(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){l(t,n,r[n])})}return t}var d=function(t,n){if("string"==typeof t)return t;if("sm"===n)return t[0];var r=t[1]||t[0];return"md"===n?r:t[2]||r},h=function(t,n,r,e){var c=function(t){if(Array.isArray(t))return t}(n)||function(t,n){var r,e,c=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=c){var o=[],i=!0,a=!1;try{for(c=c.call(t);!(i=(r=c.next()).done)&&(o.push(r.value),3!==o.length);i=!0);}catch(t){a=!0,e=t}finally{try{i||null==c.return||c.return()}finally{if(a)throw e}}return o}}(n,3)||function(t,n){if(t){if("string"==typeof t)return f(t,3);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);
1if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return f(t,3)}}(n,3)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=c[0],i=c[1],a=c[2];return[{mediaRule:"(max-width: 767px)",srcset:m(d(t,"sm"),o,r,e)},{mediaRule:"(min-width: 768px) and (max-width: 991px)",srcset:m(d(t,"md"),i,r,e)},{mediaRule:"(min-width: 992px)",srcset:m(d(t,"lg"),a,r,e)}]},m=function(t,n,r,e){return[{src:(0,o.LJ)(t,{width:n,quality:e},r),modifier:"1x"},{src:(0,o.LJ)(t,{width:2*n},r),modifier:"2x"}]},v={smallImage:l({},u.md,{width:"70%"})},p={image:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"100%",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";return s({width:t,height:r,maxWidth:"100%",objectFit:"cover"},n&&{boxShadow:"0px 12px 20px 10px #cccccc6e"})}},g=function(t){var n=t.src,r=t.className,e=t.widths,o=t.alt,a=t.width,u=t.height,f=t.hasBoxShadow,l=t.srcType,d=t.key,m=t.imageProps,g=t.smallVersion,y=t.quality;if(!n)return null;var b=h(n,e,l,void 0===y?"auto":y);return(0,c.BX)("picture",{"data-test-id":"responsive-image",className:(0,i.css)(g?v.smallImage:p.image(a,!1,u),r),children:[b.map(function(t,n){return(0,c.tZ)("source",{srcSet:t.srcset.map(function(t){var n=t.src,r=t.modifier;return"".concat(n," ").concat(r)}).join(", "),media:t.mediaRule},n)}),(0,c.tZ)("img",s({className:(0,i.css)(p.image(a,f,u)),src:b[b.length-1].srcset[0].src,role:"presentation",alt:void 0===o?"":o},m))]},d)}},502408:function(t,n,r){r.d(n,{uv:function(){return s},LJ:function(){return f},jM:function(){return d}});var e=r(737751),c=r(977382),o=r(347334),i=["hellofresh_website","hellofresh_s3","everyplate_contentful"],a=function(t){var n;return!!i.some(function(n){return t.pathname.startsWith("/".concat(n,"/"))})||(n=t.hostname,/^media\.[a-z0-9-]+\.com$/i.test(n)&&t.pathname.startsWith("/dam/"))},u=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.v.website;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t)return(0,c.ZP)(t,n)(r);var e=t.startsWith("//")?"https:".concat(t):t;if(/^https?:\/\//.test(e))try{var i=new URL(e);if(a(i)){var u="".concat(i.pathname).concat(i.search).replace(/^\//,"");return"".concat(i.origin).concat((0,o.LJ)(u,r).slice(28))}}catch(t){}return(0,c.ZP)(t,n)(r)}},f=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.v.website;return t&&u(t,r)(n)||""},l=[320,480,560],s=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;return t?n.map(function(n){return"".concat(f(t,{width:n,crop:"limit"})," ").concat(n,"w")}).join(", "):""},d=function(t){return t.endsWith(".svg")}}}]);

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.