1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7666],{3141:(e,t,a)=>{"use strict";a.d(t,{A:()=>p});var i=a(95155),n=a(12115),r=a(92740),l=a(6278),s=a(52225),c=a(55490);let o=(e,t)=>e.category_level>t.category_level;var d=a(86461),u=a.n(d),m=a(51379),h=a.n(m),_=a(89691),f=a(71978);let p=e=>{let{categoryId:t,currentProduct:a,color:d,translations:m,breadcrumbData:p}=e,{store:g}=(0,r.f)(),y=[];y.push({"@type":"ListItem",position:1,item:(0,_.$Y)(!1,g),name:(0,f.T)("Home",m)});let{currentCategory:b,currentCategoryPath:v,hasError:k,isLoading:x,normalizedData:N}=(e=>{let{categoryId:t,query:a,breadcrumbData:i}=e,[r,l]=(0,n.useState)(i),[d,{data:u,loading:m,error:h}]=(0,s._)(a,{variables:{category_id:t},context:{fetchOptions:{method:"GET"}},errorPolicy:(0,c.Ah)()?"ignore":"all",disabled:!!i});(0,n.useEffect)(()=>{i||d()},[i,d]),(0,n.useEffect)(()=>{u&&!i&&l(u)},[u,i]);let _=(0,n.useMemo)(()=>{if(!m&&r&&r.category){let e=r.category.breadcrumbsv2;return e&&[...e].sort(o).map(e=>({text:e.category_name,path:"/"+e.category_url_path}))}},[r,m]);return r?{currentCategory:r&&r.category&&r.category.name||"",currentCategoryPath:r&&r.category&&"".concat(r.category.url_path)||"#",isLoading:m,hasError:!!h||r&&!r.category,normalizedData:_||[]}:{currentCategory:"",currentCategoryPath:"",isLoading:m,hasError:!!h||r&&!r.category,normalizedData:[]}})({categoryId:t,query:u(),breadcrumbData:p}),j=(0,n.useMemo)(()=>{let e=1;return N.map(t=>{let{text:a,path:r}=t;e++;let s=(0,l.A)((0,_.aD)(r,g));return y.push({"@type":"ListItem",position:e,item:s,name:a}),(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("li",{className:"".concat(h().divider," ","inline"),children:"/"}),(0,i.jsx)("li",{className:"".concat(h().link," ","inline"),children:(0,i.jsx)("a",{href:s,children:(0,i.jsx)("span",{children:a})})})]},a)})},[N,g]);if(x||(null==N?void 0:N.length)==0&&!v)return(0,i.jsx)(i.Fragment,{});let S=e=>(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e})}},"breadcrumb_snippet");if(!b)return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("ul",{className:"".concat(h().root," ","pb2 meta list-reset"," ").concat(d?h()[d]:null),children:(0,i.jsx)("li",{className:"".concat(h().divider," ","inline"),children:"\xa0"})}),S(y)]});{if(x||k)return(0,i.jsx)("div",{className:h().root+" py2",children:"\xa0"});let e=(0,l.A)((0,_.$Y)(!1,g)+v);y.push({"@type":"ListItem",position:j.length+1,item:e,name:b});let t=a?(0,i.jsx)("li",{className:"".concat(h().link," ","inline"),children:(0,i.jsx)("a",{href:e,children:b})}):(0,i.jsx)("li",{className:"inline "+h().currentCategory,children:b}),r=a?(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)("li",{className:"".concat(h().divider," ","inline"),children:"/"}),(0,i.jsx)("li",{className:"".concat(h().text," ","inline"),children:a})]}):null;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("ul",{className:"".concat(h().root," ","pb2 meta list-reset breadcrumbs-wrap"," ").concat(d?h()[d]:null),children:[(0,i.jsx)("li",{className:"".concat(h().link," ","inline breadcrumbs-link"),children:(0,i.jsx)("a",{href:(0,_.$Y)(!1,g),children:(0,i.jsx)("span",{children:(0,f.T)("Home",m)})})}),j,(0,i.jsx)("li",{className:"".concat(h().divider," ","inline"),children:"/"}),t,r]}),S(y)]})}}},6278:(e,t,a)=>{"use strict";a.d(t,{A:()=>d});var i=a(55490);let n="undefined"!=typeof document?document.querySelector("html").dataset:{},{imageOptimizingOrigin:r}=n,l=n?n.mediaBackend:"https://backend.yumeko.nl/media/";l||(l=(0,i.Ah)()?"https://backend.yumeko.nl/pub/media/":"https://backend.test/media/");let s=!!(0,i.Ah)()||"backend"===r,c=/^(data|http|https)?:/i,o=new Map().set("image-product","catalog/product/").set("image-category","catalog/category/"),d=function(e){let{type:t,...a}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||!t.startsWith("image-"))return e;let{origin:n}=(0,i.Ah)()?{origin:""}:window.location,r=c.test(e),d="https://backend.yumeko.nl",u=new URL(e,l);if(!r&&o.has(t)){let a=o.get(t);u.pathname.includes(a)||(u=new URL((a.endsWith("/")?a.slice(0,-1):a)+"/"+(e&&e.startsWith("/")?e.slice(1):e),l))}u.href.startsWith(d)&&!s&&(u=new URL(u.href.slice(d.length),n));let m=new URLSearchParams(u.search);return(m.set("auto","webp"),m.set("format","pjpg"),Object.entries(a).forEac
1h(e=>{let[t,a]=e;null!=a&&m.set(t,a)}),u.search=m.toString(),u.origin===n)?u.href.slice(u.origin.length):u.href}},30712:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var i=a(95155);a(12115);var n=a(87636),r=a.n(n);let l=e=>{let{children:t,id:a,label:n,required:l}=e,s=[r().field,l?r()._required:"",e.classes?e.classes:"",e.extraClasses?e.extraClasses:"",e.additional?r()[e.additional]:""].join(" "),c=[r().control].join(" "),o=n?(0,i.jsx)("label",{className:r().label,htmlFor:a,children:(0,i.jsx)("span",{children:n})}):null;return(0,i.jsxs)("div",{className:s,children:[o,(0,i.jsx)("div",{className:c,children:t})]})}},51379:e=>{e.exports={root:"breadcrumbs_root__nZ3sZ",black:"breadcrumbs_black__GKjU_",text:"breadcrumbs_text__uVsS_",divider:"breadcrumbs_divider__P4npY breadcrumbs_text__uVsS_",link:"breadcrumbs_link__HRxFy breadcrumbs_text__uVsS_",currentCategory:"breadcrumbs_currentCategory__4hfT8 breadcrumbs_text__uVsS_"}},58119:(e,t,a)=>{"use strict";a.d(t,{u:()=>n});var i=a(74997);let n=(e,t)=>e?i.A.toParts.call(Intl.NumberFormat(t,{style:"currency",currency:e}),0).find(e=>"currency"===e.type).value:null},74997:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let i={USD:{symbol:"$",decimal:".",groupDelim:","},GBP:{symbol:"\xa3",decimal:".",groupDelim:","},EUR:{symbol:"â¬",decimal:".",groupDelim:","}},n={formatToPartsPatch(e,t){let{currency:a,maximumFractionDigits:n,useGrouping:r}=e,{symbol:l,decimal:s,groupDelim:c}=i[a]||{...i.USD,symbol:a},o=[{type:"currency",value:l}],[d,u]=t.toFixed(n).match(/\d+/g);if(!1!==r){let e=[],t=d.length%3,a=d;t>0&&(e.push(JSON.stringify({type:"integer",value:d.slice(0,t)})),a=d.slice(t));let i=a.match(/\d{3}/g);i&&e.push(...i.map(e=>JSON.stringify({type:"integer",value:e})));let n=","+JSON.stringify({type:"group",value:c})+",",r=JSON.parse("[".concat(e.join(n),"]"));o.push(...r)}else o.push({type:"integer",value:d});return o.concat([{type:"decimal",value:s},{type:"fraction",value:u}])},toParts(e){return this.formatToParts?this.formatToParts(e):n.formatToPartsPatch(this.resolvedOptions(),e)}},r=n},84647:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var i=a(95155);a(12115);var n=a(92740),r=a(58119);let l=e=>{var t;let{children:a,floatingLabel:l,floatingLabelPlaceholder:s,classes:c,rest:o,label:d,black:u,arrow:m,valutaOnly:h,isDate:_,helpText:f,whiteText:p}=e,{config:g,intl_code:y}=null!=(t=(0,n.f)())?t:{},b=g&&g.default_display_currency_code?g.default_display_currency_code:"EUR",v=[];if(u&&v.push(c.black),m&&v.push(c.arrow),o.gray&&v.push(c.gray),o.noMargin&&v.push(c.no_margin),h&&v.push(c.valuta_wrap),_&&v.push(c.flex_wrap),s&&v.push(c.show_placehoder),f&&v.push(c.has_help),l){v.push(c.floating_label);let e=c.label+(p?" "+c.label_white:"");return(0,i.jsxs)("div",{className:v.join(" "),children:[a,(0,i.jsx)("label",{className:e,htmlFor:_?null:o.id?o.id:o.field?o.field:null,children:d}),h&&(0,i.jsx)("label",{className:c.valuta,htmlFor:o.id?o.id:o.field?o.field:null,children:(0,r.u)(b,y)})]})}return v.push(c.no_float),v.push("no-float"),(0,i.jsxs)(i.Fragment,{children:[d&&(0,i.jsx)("label",{className:c.no_float_label,htmlFor:o.id?o.id:o.field?o.field:null,children:d}),(0,i.jsxs)("div",{className:v.join(" "),children:[a,f&&(0,i.jsxs)("span",{className:c.help_icon,children:[(0,i.jsx)("img",{src:"/icons/icon-help.png",alt:"help icon"}),(0,i.jsx)("span",{className:c.help_text,children:f})]})]})]})}},86461:e=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getBreadcrumbData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"category_id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"category"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"category_id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url_path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"breadcrumbsv2"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"category_level"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"category_url_path"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:309}};t.loc.source={body:"query getBreadcrumbData($category_id: Int!) {\n category(id: $category_id) {\n id\n name\n url_path\n breadcrumbsv2 {\n # We may not need level if `breadcrumbs` is sorted.\n category_level\n category_name\n category_url_path\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function i(e,t){for(var a=0;a<e.definitions.length;a++){var i=e.definitions[a];if(i.name&&i.name.value==t)return i}}t.definitions.forEach(function(e){if(e.name){var t=new Set;!function e(t,a){if("FragmentSpread"===t.kind)a.add(t.name.value);
1else if("VariableDefinition"===t.kind){var i=t.type;"NamedType"===i.kind&&a.add(i.name.value)}t.selectionSet&&t.selectionSet.selections.forEach(function(t){e(t,a)}),t.variableDefinitions&&t.variableDefinitions.forEach(function(t){e(t,a)}),t.definitions&&t.definitions.forEach(function(t){e(t,a)})}(e,t),a[e.name.value]=t}}),e.exports=t,e.exports.getBreadcrumbData=function(e,t){var n={kind:e.kind,definitions:[i(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var r=a[t]||new Set,l=new Set,s=new Set;for(r.forEach(function(e){s.add(e)});s.size>0;){var c=s;s=new Set,c.forEach(function(e){l.has(e)||(l.add(e),(a[e]||new Set).forEach(function(e){s.add(e)}))})}return l.forEach(function(t){var a=i(e,t);a&&n.definitions.push(a)}),n}(t,"getBreadcrumbData")},87636:e=>{e.exports={field:"formField_field__nB_Q3","form-label":"formField_form-label__HkEGb",choice:"formField_choice__MlwHK",label:"formField_label__O6a4K",fields:"formField_fields__5OXgf",control:"formField_control__wVIvy",housenumber:"formField_housenumber__fT5Hc","no-label":"formField_no-label__hh3fI",addition:"formField_addition__2wEP9",required:"formField_required__Ik2ty",_required:"formField__required__0_hQw"}}}]);
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.