1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[127],{eKel:(e,n,i)=>{"use strict";i.r(n),i.d(n,{MainSectionWrapper:()=>p,default:()=>N});var t=i("kfu2"),a=i("j8Og"),d=i("fl6W");function r(e){let{items:n,components:i,ProductGrid:t}=e;if(!n||n.length<1)return null;const a=n[n.length-1].row;return d.createElement(d.Fragment,null,[...Array(a)].map(((e,a)=>{const r=a+1,o=n.filter((e=>e.row===r));if(!o[0])return null;{const e=o[0].item;if(o.length>0&&e.content)return o.map(((e,n)=>{let{item:t}=e;if(t.content){let e=null;try{e=JSON.parse(t.content)}catch(a){console.warn("Unable to parse JSON content for ".concat(t.name))}if(e){const a=i[(e.componentName||t.name).toUpperCase()];return a?d.createElement(a,Object.assign({key:n},e,{imageSrc:t.image&&t.image.url})):null}}}));if(e.articleNumber){const e=o.map((e=>{let{item:n}=e;return n}));return d.createElement(t,{key:a,products:e})}}})))}const o=e=>{let{result:n,ProductGrid:i,startPageComponents:o,LoadingPage:l}=e;var s,m,c;const u=null===n||void 0===n?void 0:n.data;if(!(null===u||void 0===u?void 0:u.startPage))return l?d.createElement(l,null):null;const v=null===(s=u.startPage.data)||void 0===s?void 0:s.items;return d.createElement(d.Fragment,null,d.createElement(t.Z,{data:u.startPage,route:null===(m=null===u||void 0===u?void 0:u.startPage)||void 0===m?void 0:m.primaryRoute}),v&&(null===v||void 0===v?void 0:v.length)>0?d.createElement(a.R,{items:v,components:o}):d.createElement(r,{items:null===(c=u.startPage)||void 0===c?void 0:c.items,components:o,ProductGrid:i}))};var l=i("VoNp"),s=i("YuAD"),m=i("UKna"),c=i("S/To"),u=i("CGLC"),v=i.n(u),k=(i("awTl"),i("5aiC")),f=i("akt3"),g=i("Z4a8");const S=(0,s.z)("div")({name:"StartPageWrapper",class:"s1di7o92"}),p=(0,s.z)(m.Z)({name:"MainSectionWrapper",class:"m16chu9k"}),N=e=>{var n;let{startPageId:i}=e;const t=null===(n=(0,d.useContext)(g.Z))||void 0===n?void 0:n.selectedChannel,a=null===t||void 0===t?void 0:t.id,r=(0,k.Gz)(a),s=(0,l.aM)(v(),{variables:{startPageId:i}}),{loading:m}=s;return m||null===s||void 0===s||!s.data?d.createElement(c.Z,null):d.createElement(S,null,d.createElement(f.mT,null),d.createElement(o,{result:s,startPageComponents:r,LoadingPage:c.Z}))};i("ZVi3")},y76x:(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"ContentItemFragment"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ContentItem"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"properties"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"valueType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StartPageProductGrid"},directives:[]}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Category"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StartPageCategoryGrid"},directives:[]}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StringValue"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BoolValue"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:440}};t.loc.source={body:'#import "./StartPageProductGridFragment.gql"\n#import "./StartPageCategoryGridFragment.gql"\n\nfragment ContentItemFragment on ContentItem {\n type\n properties {\n name\n type\n valueType\n value {\n ... on Product {\n ...StartPageProductGrid\n }\n ... on Category {\n ...StartPageCategoryGrid\n }\n ... on StringValue {\n value\n }\n ... on BoolValue {\n value\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function d(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}t.definitions=t.definitions.concat(d(i("lmMS").definitions)),t.definitions=t.definitions.concat(d(i("EcHl").definitions));var o={};function l(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),o[e.name.value]=n}})),e.exports=t,e.exports.ContentItemFragment=function(e,n){var i={kind:e.kind,definitions:[l(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=o[n]||new Set,a=new Set,d=new Set;for(t.forEach((function(e){d.add(e)}));d.size>0;){var r=d;d=new Set,r.forEach((function(e){a.has(e)||(a.add(e),(o[e]||new Set).forEach((function(e){d.add(e)})))}))}return a.forEach((function(n){var t=l(e,n);t&&i.definitions.push(t)})),i}(t,"ContentItemFragment")},EcHl:e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StartPageCategoryGrid"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Category"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"primaryRoute"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:107}};n.loc.source={body:"fragment StartPageCategoryGrid on Category {\n name\n images {\n url\n }\n primaryRoute {\n path\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var t=e.type;"NamedType"===t.kind&&n.add(t.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,n)})),e.definitions&&e.definitions.forEach((function(e){i(e,n)}))}var t={};function a(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach((function(e){if(e.name){var n=new Set;i(e,n),t[e.name.value]=n}})),e.exports=n,e.exports.StartPageCategoryGrid=function(e,n){var i={kind:e.kind,definitions:[a(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var d=t[n]||new Set,r=new Set,o=new Set;for(d.forEach((function(e){o.add(e)}));o.size>0;){var l=o;o=new Set,l.forEach((function(e){r.has(e)||(r.add(e),(t[e]||new Set).forEach((function(e){o.add(e)})))}))}return r.forEach((function(n){var t=a(e,n);t&&i.definitions.push(t)})),i}(n,"StartPageCategoryGrid")},lmMS:(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StartPageProductGrid"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Product"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"articleNumber"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"shortDescription"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mainHeader"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"primaryRoute"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"path"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ProductPrice"},directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"modifiedDate"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alt"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"badges"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"Badge"},directives:[]}]}}]}}],loc:{start:0,end:401}};t.loc.source={body:'#import "@jetshop/core/data/fragments/ProductPriceFragment.gql"\n#import "@jetshop/core/data/fragments/BadgeFragment.gql"\n\nfragment StartPageProductGrid on Product {\n id\n articleNumber\n name\n subName\n shortDescription\n description\n mainHeader\n primaryRoute {\n id\n path\n slug\n }\n ...ProductPrice\n images {\n modifiedDate\n alt\n title\n url\n }\n badges {\n ...Badge\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function d(e){return e.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}))}function r(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){r(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){r(e,n)})),e.definitions&&e.definitions.forEach((function(e){r(e,n)}))}t.definitions=t.definitions.concat(d(i("aTS4").definitions)),t.definitions=t.definitions.concat(d(i("XgXo").definitions));var o={};function l(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach((function(e){if(e.name){var n=new Set;r(e,n),o[e.name.value]=n}})),e.exports=t,e.exports.StartPageProductGrid=function(e,n){var i={kind:e.kind,definitions:[l(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=o[n]||new Set,a=new Set,d=new Set;for(t.forEach((function(e){d.add(e)}));d.size>0;){var r=d;d=new Set,r.forEach((function(e){a.has(e)||(a.add(e),(o[e]||new Set).forEach((function(e){d.add(e)})))}))}return a.forEach((function(n){var t=l(e,n);t&&i.definitions.push(t)})),i}(t,"StartPageProductGrid")},CGLC:(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"StartPageQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"startPageId"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startPage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"startPageId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"head"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"metaTags"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"primaryRoute"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"canonicalPath"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alternateRoutes"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"channelId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"culture"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"route"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"alias"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"isActive"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"breadcrumbText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"width"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"height"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"data"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"items"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ContentItemFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ContentItemFragment"},directives:[]},{kind:"Field",name:{kind:"Name",value:"children"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"ContentItemFragment"},directives:[]}]}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"ContentItemFragment"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:741}};t.loc.source={body:'#import "./ContentItemFragment.gql"\n\nquery StartPageQuery($startPageId: Int) {\n startPage(id: $startPageId) {\n head {\n title\n metaTags {\n name\n content\n }\n }\n primaryRoute {\n canonicalPath\n alternateRoutes {\n channelId\n culture\n route\n alias\n }\n }\n isActive\n breadcrumbText\n name\n content\n images {\n url\n width\n title\n height\n }\n data {\n id\n items {\n children {\n ...ContentItemFragment\n children {\n ...ContentItemFragment\n children {\n ...ContentItemFragment\n }\n }\n }\n ...ContentItemFragment\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};function d(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);
1else if("VariableDefinition"===e.kind){var i=e.type;"NamedType"===i.kind&&n.add(i.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){d(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){d(e,n)})),e.definitions&&e.definitions.forEach((function(e){d(e,n)}))}t.definitions=t.definitions.concat(i("y76x").definitions.filter((function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)})));var r={};function o(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach((function(e){if(e.name){var n=new Set;d(e,n),r[e.name.value]=n}})),e.exports=t,e.exports.StartPageQuery=function(e,n){var i={kind:e.kind,definitions:[o(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,d=new Set;for(t.forEach((function(e){d.add(e)}));d.size>0;){var l=d;d=new Set,l.forEach((function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach((function(e){d.add(e)})))}))}return a.forEach((function(n){var t=o(e,n);t&&i.definitions.push(t)})),i}(t,"StartPageQuery")},ZVi3:(e,n,i)=>{"use strict";i.r(n)}}]);
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.