1/*! @version pwa-studio: 0.0.1, @magento/venia-ui: ~11.7.2, @magento/venia-sample-payments-checkmo: ^0.0.19, @magento/upward-security-headers: ~1.1.20, @magento/pwa-theme-venia: ~2.4.0, @magento/pwa-buildpack: ~11.5.5, @magento/peregrine: ~15.7.2, @magento/pagebuilder: ~9.3.7, @magento/eslint-config: ~1.5.3, @magento/babel-preset-peregrine: ~1.3.3, @apollo/client: ~3.5.0 */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[126],{Papz:function(t,e,n){"use strict" 3var a,i=n("q1tI"),r=n.n(i),s=n("17x9"),o=n("y1Xp"),l=n("pFQZ"),u=n("LboF"),c=n.n(u),d=n("u1N/"),m={injectType:"singletonStyleTag",insert:"head",singleton:!0},b=(c()(d.a,m),d.a.locals||{}),g=n("6QXU"),h=n("kriW"),f=n("+TN3"),p=n("VkAN"),v=n.n(p),A=n("UYTu"),_={getCatalogFrontendAttributeSet:Object(A.a)(a||(a=v()(["\n query getCatalogFrontendAttributeSet {\n storeConfig {\n store_code\n catalog_frontend_attribute_set\n }\n }\n"])))},w=t=>{var e,{getCatalogFrontendAttributeSet:n}=_,{data:a}=Object(f.a)(n,{fetchPolicy:"cache-first"}) 4return{catalog_frontend_attribute_set:null==a?void 0:null===(e=a.storeConfig)||void 0===e?void 0:e.catalog_frontend_attribute_set}},x=n("UaBt"),S=n("v6JF"),I=t=>{var{customAttributes:e,showLabels:n,attributeSetId:a,rootRef:s}=t,u=Object(o.a)(b,t.classes),{catalog_frontend_attribute_set:c}=w(),d=Object(i.useMemo)(()=>e.reduce((t,e)=>{var n 5if(((null===(n=e.attribute_metadata)||void 0===n?void 0:n.used_in_components)||[]).includes("PRODUCT_DETAILS_PAGE")){var i,r,s,o=null!=c&&c.includes(a)?null===(i=e.attribute_metadata)||void 0===i?void 0:null===(r=i.group_name)||void 0===r?void 0:r.replace(/&/g,"&"):"general" 6if(e.entered_attribute_value.value)if(t.has(o)){var l=t.get(o) 7t.set(o,[...l,e])}else t.set(o,[e]) 8else if(null!==(s=e.selected_attribute_options)&&void 0!==s&&s.attribute_option.length)if(t.has(o)){var u=t.get(o) 9t.set(o,[...u,e])}else t.set(o,[e])}return t},new Map),[e,c]),m=t=>{return"attribute_select_variant"===t?u.noVariantSelected:u.list},f=Object(i.useMemo)(()=>[...d].map((t,e)=>{var a 10return r.a.createElement("div",{key:null!==(a=t[0])&&void 0!==a?a:e},t[0]&&"general"!==t[0]&&r.a.createElement("h3",{className:u.groupTitle},r.a.createElement(h.a,{id:"customAttributes.groupName.".concat(t[0]),defaultMessage:t[0]})),r.a.createElement("ul",{className:m(t[1][0].attribute_metadata.uid)},t[1].map(t=>{return"attribute_select_variant"===t.attribute_metadata.uid?r.a.createElement("li",{key:t.attribute_metadata.uid,className:u.noVariantSelectedLabel},r.a.createElement(l.a,{showLabels:n,data:t}),r.a.createElement(g.a,{className:u.specificationLinkButton,onClick:()=>Object(x.a)(s)},r.a.createElement(h.a,{id:"customAttributes.chooseVariant",defaultMessage:"Choose variant"}))):r.a.createElement("li",{key:t.attribute_metadata.uid,className:u.listItem},r.a.createElement(l.a,{showLabels:n,data:t}))})))}),[d,u,n]) 11return 0===f.length?null:r.a.createElement(r.a.Fragment,null,r.a.createElement(S.a,{text:r.a.createElement("div",{className:u.root},f),heightLimits:{0:400,1024:570},textButton:"Show"}))} 12I.propTypes={classes:Object(s.shape)({root:s.string,title:s.string,list:s.string,listItem:s.string}),customAttributes:s.array.isRequired,attributeSetId:s.number} 13e.a=I},"u1N/":function(t,e,n){"use strict" 14var a=n("JPst"),i=n.n(a)()(function(t){return t[1]}) 15i.push([t.i,".customAttributes-root-MXb {\n}\n\n.customAttributes-list-qDg {\n\n box-shadow: 0 2px 4px #00000029;\n}\n\n.customAttributes-groupTitle-h1c {\n}\n\n.customAttributes-listItem-3fg {\n\n border-color: rgb(var(--venia-global-color-gray-200));\n}\n\n.customAttributes-listItem-3fg:nth-child(2n+1) {\n background: rgb(var(--venia-global-color-gray-100));\n}\n\n.customAttributes-listItem-3fg > div {\n margin: 0;\n font-size: 0.75rem;\n padding-top: 1rem;\n padding-bottom: 1rem;\n padding-right: 1rem;\n}\n\n.customAttributes-listItem-3fg > div:first-child {\n width: 50%;\n padding-left: 0.75rem;\n}\n\n.customAttributes-listItem-3fg > div:nth-child(2) {\n width: 50%;\n}\n\n\n.customAttributes-noVariantSelectedLabel-qlW {\n\n box-shadow: none;\n}\n\n.customAttributes-noVariantSelectedLabel-qlW div:first-child {\n font-size: 1rem;\n text-transform: uppercase;\n font-weight: bold;\n line-height: 1.5rem;\n text-align: center;\n}\n\n.customAttributes-noVariantSelectedLabel-qlW div:nth-child(2) {\n font-size: 0.75rem;\n line-height: 2rem;\n text-align: center;\n}\n\n.customAttributes-noVariantSelected-3hB {\n\n}\n\n.customAttributes-specificationLinkButton-tQN {\n}\n\n@media (min-width: 768px) {\n .customAttributes-listItem-3fg > div:first-child {\n width: 40%;\n padding-left: 1rem;\n }\n\n .customAttributes-listItem-3fg > div:nth-child(2) {\n width: 60%;\n }\n}\n\n@media (min-width: 1024px) {\n .customAttributes-listItem-3fg > div:first-child {\n width: 30%;\n padding-left: 1rem;\n }\n\n .customAttributes-listItem-3fg > div:nth-child(2) {\n width: 70%;\n }\n}\n",""]),i.locals={root:"customAttributes-root-MXb",list:"customAttributes-list-qDg rounded",groupTitle:"customAttributes-groupTitle-h1c text-base font-bold mt-8 mb-2 uppercase",listItem:"customAttributes-listItem-3fg border-solid border-b flex items-start min-h-[3rem]",noVariantSelectedLabel:"customAttributes-noVariantSelectedLabel-qlW flex flex-col items-center",noVariantSelected:"customAttributes-noVariantSelected-3hB",specificationLinkButton:"customAttributes-specificationLinkButton-tQN text-sm py-3 px-8 mt-3.5 leading-3 border-solid border rounded"},e.a=i}}])
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.