{"version":3,"file":"chunks/Components-Detail-ShippingInfo.js","mappings":"6UA8CA,UA3CsBA,IAElB,IAaMC,EAA2BC,IAC7B,OAAQA,GACJ,IAAK,gBACD,MAAO,0BACX,IAAK,iBACD,MAAO,2BACX,QACI,MAAO,8BACf,EAGJ,OACIC,EAAAA,EAAAA,MAAA,OAAKC,UAAU,kBAAiBC,SAAA,EAC5BC,EAAAA,EAAAA,KAAA,OAAKF,UAAU,0BAAyBC,UACpCC,EAAAA,EAAAA,KAAA,MAAIF,UAAU,2BAA0BC,SAAEE,WAAWC,UAAU,gDAEnEL,EAAAA,EAAAA,MAAA,OAAKC,UAAU,2BAA0BC,SAAA,CA5BhBL,EAAMS,mBAAmBC,KAAIR,GAAUD,EAAwBC,KAC9DQ,KAAI,CAACC,EAAOC,KACtCN,EAAAA,EAAAA,KAAAO,EAAAA,SAAA,CAAAR,UACIC,EAAAA,EAAAA,KAACQ,EAAAA,SAAQ,CAAAT,UACLC,EAAAA,EAAAA,KAAA,OAAKF,UAAU,0BAAyBC,UACpCC,EAAAA,EAAAA,KAACS,EAAAA,QAAe,CAACC,KAAML,OAFhBA,OA2BdX,EAAMiB,iBACHd,EAAAA,EAAAA,MAAA,OAAKC,UAAU,0BAAyBC,SAAA,EACpCC,EAAAA,EAAAA,KAACS,EAAAA,QAAe,CAACC,KAAM,4BACvBV,EAAAA,EAAAA,KAAA,KAAGF,UAAU,+CAGvB,C","sources":["webpack:///./React/Components/Detail/ShippingInfo.jsx"],"sourcesContent":["import { Fragment } from 'react';\r\nimport TranslationText from '@Components/Utilities/TranslationText';\r\n\r\nconst ShippingInfo = (props) => {\r\n\r\n const buildFulfillmentOptionsDisplay = () => {\r\n let fulfillmentOptionsKeys = props.FulfillmentOptions.map(option => getFulfillmentOptionKey(option));\r\n return fulfillmentOptionsKeys.map((value, index) =>\r\n <>\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n );\r\n };\r\n\r\n const getFulfillmentOptionKey = (option) => {\r\n switch (option) {\r\n case 'InStorePickup':\r\n return 'sandhills.instorepickup';\r\n case 'CurbsidePickup':\r\n return 'sandhills.curbsidepickup';\r\n default:\r\n return 'sandhills.shippingavailable';\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n

{translator.translate('sandhills.crm.dscrm.shippinginformation')}

\r\n
\r\n
\r\n {buildFulfillmentOptionsDisplay()}\r\n {props.IsFreeShipping &&\r\n
\r\n \r\n \r\n
}\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default ShippingInfo;"],"names":["props","getFulfillmentOptionKey","option","_jsxs","className","children","_jsx","translator","translate","FulfillmentOptions","map","value","index","_Fragment","Fragment","TranslationText","tKey","IsFreeShipping"],"sourceRoot":""}