{"version":3,"file":"js/7741-a1e8e02b9d59468f231b.chunk.js","mappings":"uIAgCA,UAxB6B,WAE3B,IAAAA,GAAsDC,EAAAA,EAAAA,YAAWC,EAAAA,SAAzDC,EAAmBH,EAAnBG,oBAAqBC,EAAoBJ,EAApBI,qBAG7B,OACEC,EAAAA,cAAA,OAAKC,UAAU,2BACbD,EAAAA,cAACE,EAAAA,OAAM,CAACC,KAAK,WAAWC,MAAO,IAAKC,OAAQ,MAE1CN,GACAC,EAAAA,cAAA,KAAGC,UAAU,oDAAoDK,KAAMP,EAAsBQ,OAAO,UAChGC,KAAKC,EAAE,kDAIXX,GACAE,EAAAA,cAAA,KAAGC,UAAU,mDAAmDK,KAAMR,EAAqBS,OAAO,UAC9FC,KAAKC,EAAE,sCAKnB,C","sources":["webpack:///./app/javascript/components/DetailedViewHeader/ClosedLocationBanner/index.jsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport { SvgIco } from \"../../SharedComponents/Icons\";\nimport { Context } from \"../index\";\n\nimport './index.sass';\n\n\nconst ClosedLocationBanner = () => {\n\n const { nearbyLocationsLink, similarLocationsLink } = useContext(Context);\n\n\n return (\n <div className=\"closed-locations-banner\">\n <SvgIco name=\"locators\" width={306} height={143} />\n\n { similarLocationsLink &&\n <a className=\"closed-locations-banner__button similar-locations\" href={similarLocationsLink} target=\"_blank\">\n { I18n.t('search_agents.invalid_order.similar_locations') }\n </a>\n }\n\n { nearbyLocationsLink &&\n <a className=\"closed-locations-banner__button nearby-locations\" href={nearbyLocationsLink} target=\"_blank\">\n { I18n.t('apps.lb_showroom.nearby_locations') }\n </a>\n }\n </div>\n )\n};\n\nexport default ClosedLocationBanner;\n"],"names":["_useContext","useContext","Context","nearbyLocationsLink","similarLocationsLink","React","className","SvgIco","name","width","height","href","target","I18n","t"],"sourceRoot":""}