1"use strict";(self.webpackChunkcalifornia_wines=self.webpackChunkcalifornia_wines||[]).push([[8521],{77341:function(n,e,o){o.d(e,{Z:function(){return d}});var t=o(55894),r=o(18733);function d(n){let{collectionId:e,locale:o,children:d}=n;return(0,r.tZ)(t.k,{value:{locale:o,base:"p/"+o+"/events/"+e,products:"products",exhibitors:"exhibitors",producers:"producers",home:"",productLists:"lists"}},d)}},58588:function(n,e,o){o.r(e),o.d(e,{default:function(){return c}});var t=o(36211),r=o(18733),d=o(77341);function c(n){const{collectionId:e,companyId:o,productId:c}=n.params;return(0,r.tZ)(d.Z,{collectionId:e,locale:"en"},(0,r.tZ)(t.Z,{collectionId:e,locale:"en",companyId:o,productId:c}))}},45960:function(n,e,o){o.d(e,{Z:function(){return l}});var t=o(70675),r=o(18733),d=o(63569),c=o(88650),u=o(64817);function l(n){let{children:e,locale:o,...l}=n;const i=(0,u.Z)();return(0,r.tZ)(d.f,{theme:i},(0,r.tZ)(c.Z,l,(0,r.tZ)(t.xu,{as:"main"},e)))}},36211:function(n,e,o){o.d(e,{Z:function(){return x}});var t,r=o(61401),d=o(64316),c=o(31230),u=o(70675),l=o(18733),i=o(55894),a=o(54829),s=o(86360),p=o(94669),I=o(45960),Z=o(43611),h=o(90852),v=o(72172),f=o(83458),b=o(25108);function x(n){let{productId:e,companyId:o,collectionId:t,locale:r}=n;const c=(0,i.Z)(),{data:h,loading:f,error:x}=(0,d.a)(m,{variables:{collectionId:t,locale:r,companyId:o,productId:e}});if(f)return(0,l.tZ)(I.Z,{locale:r},"Loadingâ¦");if(x)return b.error(x),(0,l.tZ)(I.Z,{locale:r},"We're sorry, but there was an error.");const{exhibitor:g,producer:P,product:y,previous:$,next:k}=function(n){var e,o,t;let{event:r}=n;const d=(null==r||null===(e=r.registeredProducts)||void 0===e||null===(o=e.nodes)||void 0===o?void 0:o[0])||{},c=null==r?void 0:r.exhibitor,{producer:u}=d||{},l=null==c||null===(t=c.products)||void 0===t?void 0:t.nodes,i=null==l?void 0:l.findIndex((n=>{var e;return(null==n?void 0:n.productId)===(null===(e=d.product)||void 0===e?void 0:e.productId)})),a=i>0?null==l?void 0:l[i-1]:null,s=i>-1?null==l?void 0:l[i+1]:null;return{exhibitor:c,producer:u,product:{...d,...d.product},previous:a,next:s}}(h),_=g?c.exhibitor(g):c.producer(P);return(0,l.tZ)(I.Z,{locale:r},g?(0,l.tZ)(a.Z,g):(0,l.tZ)(a.Z,P),(0,l.tZ)(u.W2,null,(0,l.tZ)(p.Z,{product:y,overlapImage:!0,previous:$,next:k,standPath:_})),(0,l.tZ)(u.W2,null,(0,l.tZ)(s.Z,null,(0,l.tZ)(u.JX,{sx:{paddingY:3}},(0,l.tZ)(Z.Z,{product:y})))),(0,l.tZ)(v.Z,{exhibitor:g,product:y,eventId:t}))}const m=(0,c.Ps)(t||(t=(0,r.Z)(["\n query ProductPreviewPage(\n $collectionId: ID!\n $productId: ID!\n $companyId: ID!\n $locale: ContentLocale\n ) {\n event(eventId: $collectionId, locale: $locale) {\n eventId # used for the cache.\n exhibitor(exhibitorId: $companyId) {\n exhibitorId # used for the cache.\n slug(useIdOnly: true)\n name\n ...BrandBanner\n products {\n nodes {\n productId\n ...ProductNavigation\n }\n }\n }\n registeredProducts(\n filter: { productId: { eq: $productId }, partnerId: { eq: $companyId } }\n ) {\n nodes {\n ...ProductSections\n ...ProductActions_RegisteredProduct\n ...bb_ProductLabel_RegisteredProduct\n product {\n productId # used for the cache.\n producer {\n producerId # used for the cache.\n slug(useIdOnly: true)\n name\n ...BrandBanner\n ...useLink_Producer\n }\n ...EventProductPageHeader\n ...ProductActions\n ... on ExtendedProduct {\n exhibitor {\n exhibitorId # needed for the apolloClient cache.\n ...useLink_Exhibitor\n }\n }\n }\n }\n }\n }\n }\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n"])),h.Z.fragment,a.I,p.F,Z.Z.fragment,v.Z.fragment,i.Z.producerFragment,i.Z.exhibitorFragment,f.s)}}]); 2//# sourceMappingURL=component---node-modules-bottlebooks-gatsby-theme-event-preview-src-pages-p-events-collection-id-products-by-exhibitor-company-id-product-id-js-09d3eba4dfe5b52e0ee7.js.map
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.