1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[22562],{159790:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.CookbookRecipeActionEntity_v1_5_0=void 0;class i{constructor(e,t){this.recipeId=e,this.recipeImportMethod=t}toJSON(){return{recipe_id:this.recipeId,recipe_import_method:this.recipeImportMethod}}}t.CookbookRecipeActionEntity_v1_5_0=i},62325:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PageEntity_v1_11_0=void 0;class i{constructor(e){this.pageName=e}toJSON(){return{page_name:this.pageName}}}t.PageEntity_v1_11_0=i},68460:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ProductItemEntity_v2_3_0=void 0;class i{constructor(e,t){this.itemId=e,this.itemPosition=t}toJSON(){return{item_id:this.itemId,item_position:this.itemPosition}}}t.ProductItemEntity_v2_3_0=i},930296:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.RecipeViewEntity_v1_0_0=void 0;class i{constructor(e=null,t=null,i,n,r){this.authorId=e,this.authorName=t,this.recipeId=i,this.recipeSourceType=n,this.recipeTags=r}toJSON(){return{author_id:this.authorId,author_name:this.authorName,recipe_id:this.recipeId,recipe_source_type:this.recipeSourceType,recipe_tags:this.recipeTags}}}t.RecipeViewEntity_v1_0_0=i},702679:function(e,t,i){var n,r;t.Dr=void 0;let o=i(635257),s=i(855451),a=i(135893),c=i(773688),l=i(885628),u=i(62325),h=i(68460),p=i(930296),d=i(151014),f=i(70972);(r=n||(n={})).Community="Community",r.Creator="Creator",r.External="External",r.HelloFresh="HelloFresh",r.Unknown="Unknown";class v{static productItem(e){let t=new h.ProductItemEntity_v2_3_0(e.itemId,e.itemPosition);return new s.JanusSchema("iglu:com.hellofresh/product_item/jsonschema/2-3-0",t.toJSON())}static recipeView(e){let t=new p.RecipeViewEntity_v1_0_0(e.authorId,e.authorName,e.recipeId,e.recipeSourceType,e.recipeTags);return new s.JanusSchema("iglu:com.hellofresh/recipe_view/jsonschema/1-0-0",t.toJSON())}static janusEvent(e){let t=this.event(),i=this.page(),n=e.productItemEntities,r=e.recipeView;if(!d.Validator.validateCardinality(n,0,null))throw new f.ValidationError("Janus validation failed: [ContentDetailsStartGroceryListButtonClickSpecification] ProductItemEntity count must be between 0 and â, got "+(n?.length??0));let s=this.specification(),a=this.specificationVersion();return new o.JanusEvent(t,[s,a].concat([i].concat((n??[]).concat([r]))))}static specification(){let e=new a.EventSpecificationEntity("b99f9175-0a2a-4c4f-b8e2-89a7449084cc","ContentDetails_Start_GroceryList_Button_Click","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new s.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",e.toJSON())}static specificationVersion(){let e=new c.EventSpecificationVersionEntity(0);return new s.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new l.UserInteractionEvent_v2_1_0("Click","Start","GroceryList","Button");return new s.JanusSchema("iglu:com.hellofresh/user_interaction/jsonschema/2-1-0",e.toJSON())}static page(){let e=new u.PageEntity_v1_11_0("ContentDetails");return new s.JanusSchema("iglu:com.hellofresh/page/jsonschema/1-11-0",e.toJSON())}}t.Dr=v},535194:function(e,t,i){var n,r;t.H7=void 0;let o=i(635257),s=i(855451),a=i(135893),c=i(773688),l=i(337261),u=i(62325),h=i(68460),p=i(930296),d=i(484328),f=i(151014),v=i(70972);(r=n||(n={})).Community="Community",r.Creator="Creator",r.External="External",r.HelloFresh="HelloFresh",r.Unknown="Unknown";class _{static productItem(e){let t=new h.ProductItemEntity_v2_3_0(e.itemId,e.itemPosition);return new s.JanusSchema("iglu:com.hellofresh/product_item/jsonschema/2-3-0",t.toJSON())}static recipeView(e){let t=new p.RecipeViewEntity_v1_0_0(e.authorId,e.authorName,e.recipeId,e.recipeSourceType,e.recipeTags);return new s.JanusSchema("iglu:com.hellofresh/recipe_view/jsonschema/1-0-0",t.toJSON())}static janusEvent(e){let t=this.event(),i=this.page(),n=e.productItemEntities,r=e.recipeView,s=this.uiModal();if(!f.Validator.validateCardinality(n,0,null))throw new v.ValidationError("Janus validation failed: [ContentDetailsStartSharingIconClickSpecification] ProductItemEntity count must be between 0 and â, got "+(n?.length??0));let a=this.specification(),c=this.specificationVersion();return new o.JanusEvent(t,[a,c].concat([i].concat((n??[]).concat([r].concat([s])))))}static specification(){let e=new a.EventSpecificationEntity("77b91e81-c5cd-466a-b581-59189ab3f5eb","ContentDetails_Start_Sharing_Icon_Click","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new s.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",e.toJSON())}static specificationVersion(){let e=new c.EventSpecificationVersionEntity(0);return new s.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new l.UserInteractionEvent_v2_3_0("Click","Start","Sharing","Icon");return new s.JanusSchema("iglu:com.hellofresh/user_interaction/jsonschema/2-3-0",e.toJSON())}static page(){let e=new u.PageEntity_v1_11_0("ContentDetails");return new s.JanusSchema("iglu:com.hellofresh/page/jsonschema/1-11-0",e.toJSON())}static uiModal(){let e=new d.UiModalEntity_v1_4_0("RecipeShare");return new s.JanusSchema("iglu:com.hellofresh/ui_modal/jsonschema/1-4-0",e.toJSON())}}t.H7=_},509957:function(e,t,i){i.d(t,{YD:function(){return f},ZP:function(){return d},df:function(){return d}});var n=i(827378);function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}
1function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new Map,a=new WeakMap,c=0,l=void 0;function u(e,t,i,n){if(void 0===i&&(i={}),void 0===n&&(n=l),void 0===window.IntersectionObserver&&void 0!==n){var r=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),function(){}}var o=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var i;return t+"_"+("root"===t?(i=e.root)?(a.has(i)||(c+=1,a.set(i,c.toString())),a.get(i)):"0":e[t])}).toString(),i=s.get(t);if(!i){var n,r=new Map,o=new IntersectionObserver(function(t){t.forEach(function(t){var i,o=t.isIntersecting&&n.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(i=r.get(t.target))||i.forEach(function(e){e(o,t)})})},e);n=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:t,observer:o,elements:r},s.set(t,i)}return i}(i),u=o.id,h=o.observer,p=o.elements,d=p.get(e)||[];return p.has(e)||p.set(e,d),d.push(t),h.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(p.delete(e),h.unobserve(e)),0===p.size&&(h.disconnect(),s.delete(u))}}var h=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function p(e){return"function"!=typeof e.children}var d=function(e){function t(t){var i;return(i=e.call(this,t)||this).node=null,i._unobserveCb=null,i.handleNode=function(e){!i.node||(i.unobserve(),e||i.props.triggerOnce||i.props.skip||i.setState({inView:!!i.props.initialInView,entry:void 0})),i.node=e||null,i.observeNode()},i.handleChange=function(e,t){e&&i.props.triggerOnce&&i.unobserve(),p(i.props)||i.setState({inView:e,entry:t}),i.props.onChange&&i.props.onChange(e,t)},i.state={inView:!!t.initialInView,entry:void 0},i}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e);var i=t.prototype;return i.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},i.componentWillUnmount=function(){this.unobserve(),this.node=null},i.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,i=e.root,n=e.rootMargin,r=e.trackVisibility,o=e.delay,s=e.fallbackInView;this._unobserveCb=u(this.node,this.handleChange,{threshold:t,root:i,rootMargin:n,trackVisibility:r,delay:o},s)}},i.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},i.render=function(){if(!p(this.props)){var e=this.state,t=e.inView,i=e.entry;return this.props.children({inView:t,entry:i,ref:this.handleNode})}var o=this.props,s=o.children,a=o.as,c=function(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n<o.length;n++)i=o[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(o,h);return n.createElement(a||"div",r({ref:this.handleNode},c),s)},t}(n.Component);function f(e){var t=void 0===e?{}:e,i=t.threshold,r=t.delay,o=t.trackVisibility,s=t.rootMargin,a=t.root,c=t.triggerOnce,l=t.skip,h=t.initialInView,p=t.fallbackInView,d=n.useRef(),f=n.useState({inView:!!h}),v=f[0],_=f[1],m=n.useCallback(function(e){void 0!==d.current&&(d.current(),d.current=void 0),!l&&e&&(d.current=u(e,function(e,t){_({inView:e,entry:t}),t.isIntersecting&&c&&d.current&&(d.current(),d.current=void 0)},{root:a,rootMargin:s,threshold:i,trackVisibility:o,delay:r},p))},[Array.isArray(i)?i.toString():i,a,s,c,l,o,p,r]);(0,n.useEffect)(function(){d.current||!v.entry||c||l||_({inView:!!h})});var w=[m,v.inView,v.entry];return w.ref=w[0],w.inView=w[1],w.entry=w[2],w}d.displayName="InView",d.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}}}]);
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.