1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3338],{21345:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return StoreIndividual_StoreIndividual}});var o=t(24246),i=t(38579),r=t.n(i),l=t(75275),a=t(27378),n=t(71897),c=t(42569),d=t(87618),_=t(982),v=t(10714),u=t.n(v);let h={visionTest:"clipboard-prescription",calendar:"calendar-check",truck:"truck",store:"store",settings:"screwdriver-wrench"};var StoreInfo_StoreInfo=e=>{var s,t;let{store:i,scheduleEvent:r}=e,v=null!==(t=null==i?void 0:i.services)&&void 0!==t?t:[],m=(0,a.useCallback)(()=>{r&&r()},[r]);return(0,o.jsxs)("div",{className:u().storeDetail,children:[(0,o.jsxs)("div",{className:u().storeInfo,children:[(0,o.jsx)(l.default,{weight:"bold",size:"base",children:i.address.fullAddress}),i.address.references&&(0,o.jsx)(l.default,{tag:"p",size:"sm",className:u().references,children:i.address.references}),i.schedule&&(0,o.jsx)(l.default,{tag:"p",size:"sm",className:u().schedule,children:i.schedule}),(null===(s=i.status)||void 0===s?void 0:s.code)!=="closed"&&(0,o.jsx)("div",{onClick:m,children:(0,o.jsx)(n.default,{href:"/stores/".concat(i.uid,"/appointment"),id:"".concat((0,_.Z)(i.name),"-schedule-cta"),className:u().scheduleButton,variant:"primary",children:"Agendar examen"})})]}),(0,o.jsx)("div",{children:(0,o.jsx)("div",{className:u().storeServices,children:v.map(e=>(0,o.jsx)("div",{className:u().service,children:(0,o.jsx)(c.Z,{content:e.description,placement:"bottom",behavior:"hover",fadeDuration:1e3,className:u().tooltip,contentclassName:u().tooltipContent,children:(0,o.jsx)(d.Z,{name:h[e.className],size:"xl"})},e.name)},e.name))})})]})},m=t(49258),x=t(47604),f=t(69055),p=t(49839),j=t.n(p);let I={visionTest:"clipboard-prescription",calendar:"calendar-check",truck:"truck",store:"store",settings:"screwdriver-wrench"};var StoreIndividual_StoreIndividual=e=>{var s;let{store:t,handleStoreSelectedEvent:i,title:a}=e,n=null!==(s=null==t?void 0:t.services)&&void 0!==s?s:[];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{children:(0,o.jsx)(l.default,{tag:"h1",className:j().storeTitle,children:null!=a?a:"".concat(t.address.state," / ").concat(t.name)})}),(0,o.jsxs)("div",{className:j().root,children:[(0,o.jsxs)("section",{children:[(0,o.jsx)(StoreInfo_StoreInfo,{store:t,scheduleEvent:i}),(0,o.jsx)("div",{className:j().mobileMap,children:(0,o.jsx)(m.Z,{stores:[t],style:{display:"flex",height:"365px"},defaultZoom:13,centerZoom:{lat:t.location.lat,lng:t.location.lng}})}),(0,o.jsxs)("div",{className:j().storeImage,children:[(0,o.jsx)(r(),{src:t.s3ImageUrl,width:520,height:250,layout:"responsive",style:{objectFit:"cover"},alt:t.name}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:j().logoContainer,children:(0,o.jsx)(x.Z,{variant:"icon",className:j().logo,size:"small"})}),(0,o.jsx)(l.default,{weight:"light",className:j().infoText,children:"Las citas son solo para los ex\xe1menes de la vista, no necesitas agendar para recoger tus lentes"})]})]})]}),(0,o.jsx)("aside",{children:(0,o.jsx)("div",{className:j().desktopMap,children:(0,o.jsx)(m.Z,{stores:[t],style:{display:"flex",height:"100%"},defaultZoom:13,centerZoom:{lat:t.location.lat,lng:t.location.lng}})})})]}),(0,o.jsx)("div",{className:j().services,children:n.length>0&&(0,o.jsx)(f.Z,{title:"Recuerda:",children:n.map(e=>(0,o.jsxs)("div",{className:j().service,children:[(0,o.jsx)(d.Z,{name:I[e.className],size:"xl"}),(0,o.jsx)(l.default,{weight:"light",className:j().infoText,children:e.description})]},e.name))})})]})}},10714:function(e){e.exports={storeDetail:"StoreInfo_storeDetail__rpJoA",storeInfo:"StoreInfo_storeInfo__wlHdn",schedule:"StoreInfo_schedule__e3v_O",references:"StoreInfo_references___QWAd",storeServices:"StoreInfo_storeServices__hho_1",service:"StoreInfo_service__RxiF2",tooltip:"StoreInfo_tooltip__b1ie1",tooltipContent:"StoreInfo_tooltipContent__oCiYr",scheduleButton:"StoreInfo_scheduleButton__z8rh6"}},49839:function(e){e.exports={root:"StoreIndividual_root__2w1fR",storeTitle:"StoreIndividual_storeTitle__eEK3S",storeImage:"StoreIndividual_storeImage__9RMLR",infoText:"StoreIndividual_infoText___7Kwj",desktopMap:"StoreIndividual_desktopMap__MKkkU",mobileMap:"StoreIndividual_mobileMap__ND_DU",logoContainer:"StoreIndividual_logoContainer__sZK5w",logo:"StoreIndividual_logo__4iBj6",services:"StoreIndividual_services__gWZ9x",service:"StoreIndividual_service__NG0W8"}}}]);
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.