{"version":3,"file":"595.8830be56c6fd7fba79f2.js","mappings":"0LAEA,MAAM,KAAEA,GAASC,aA8BJC,EAhBA,CACX,CAAEC,SAAU,OAAQC,MAAO,MAAOC,QAAS,oBAC3C,CAAEF,SAAU,OAAQC,MAAO,OAAQC,QAAS,2BAC5C,CAAEF,SAAU,YAAaC,MAAO,OAAQC,QAAS,mBACjD,CAAEF,SAAU,YAAaC,MAAO,OAAQC,QAAS,aACjD,CAAEF,SAAU,SAAUC,MAAO,OAAQC,QAAS,qBAC9C,CAAEF,SAAU,SAAUC,MAAO,OAAQC,QAAS,eAC9C,CAAEF,SAAU,SAAUC,MAAO,OAAQC,QAAS,yBAC9C,CAAEF,SAAU,OAAQC,MAAO,MAAOC,QAAS,mBAC3C,CAAEF,SAAU,OAAQC,MAAO,OAAQC,QAAS,8BAC5C,CAAEF,SAAU,OAAQC,MAAO,OAAQC,QAAS,gCAC5C,CAAEF,SAAU,kBAAmBC,MAAO,MAAOC,QAAS,QACtD,CAAEF,SAAU,kBAAmBC,MAAO,MAAOC,QAAS,iCACtD,CAAEF,SAAU,kBAAmBC,MAAO,OAAQC,QAAS,kBAxBlDC,KACFC,IAAI,CAEDJ,SAAUH,EAAKQ,SAASD,EAAKJ,SAASM,QAAQ,KAAM,KACpDC,gBAAiBH,EAAKJ,SACtBQ,eAAgBJ,EAAKF,QACrBD,MAAOQ,WAAWL,EAAKH,OACvBC,QAASL,EAAKa,QAAQN,EAAKF,QAAQI,QAAQ,KAAM,Q","sources":["webpack://solutions-cost-savings-web/./src/data/products.ts"],"sourcesContent":["import { Product, RawProduct } from 'contexts/CalculatorContext';\n\nconst { DATA } = string_table;\n\nconst transformData = (data: RawProduct[]) =>\n data.map(\n (item) =>\n ({\n category: DATA.CATEGORY[item.category.replace(/’/g, '')],\n englishCategory: item.category,\n englishProduct: item.product,\n price: parseFloat(item.price),\n product: DATA.PRODUCT[item.product.replace(/’/g, '')],\n } as Product),\n );\n\nconst data = [\n { category: 'Home', price: '762', product: 'Rental Agreement' },\n { category: 'Home', price: '3375', product: 'Landlord/Tenant Dispute' },\n { category: 'Financial', price: '2750', product: 'Debt Collection' },\n { category: 'Financial', price: '4350', product: 'Tax Audit' },\n { category: 'Family', price: '3916', product: 'Domestic Adoption' },\n { category: 'Family', price: '1458', product: 'Name Change' },\n { category: 'Family', price: '2750', product: 'Pre-Nuptial Agreement' },\n { category: 'Auto', price: '325', product: 'Speeding Ticket' },\n { category: 'Auto', price: '4200', product: 'Property Damage Collection' },\n { category: 'Auto', price: '1490', product: 'Driver’s License Restoration' },\n { category: 'Estate Planning', price: '733', product: 'Will' },\n { category: 'Estate Planning', price: '183', product: 'Health Care Power of Attorney' },\n { category: 'Estate Planning', price: '2500', product: 'Living Trusts' },\n];\n\nexport const products = transformData(data);\n"],"names":["DATA","string_table","products","category","price","product","map","item","CATEGORY","replace","englishCategory","englishProduct","parseFloat","PRODUCT"],"sourceRoot":""}