{"version":3,"sources":["webpack:///./javascript/_shared/micro-apps/product-preview/index.js"],"names":["styled","peerDependencies","React","ReactDOM","window","pageContextJavascript","pageModel","microConfig","View","Name","Version","MicroApp","config"],"mappings":"6IAAA,I,IAAA,M,IACA,OACA,UACYA,E,wJAAZ,O,oDAGA,IAAAC,kBAAiBC,UAAOC,UAAUH,G,MAY9BI,OAAOC,sBATTC,U,gBAQI,G,GAPFC,mB,MAAc,CACZC,KAAM,CAEJC,KAAM,kBACNC,QAAS,W,YAQL,kBAAM,wBAAC,EAAAC,SAAD,CAAUC,OAAQL","file":"productPreview-b78ba52823f3c39e284b.js","sourcesContent":["import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { MicroApp, peerDependencies } from '@gcc/autobahn-micro-app';\r\nimport * as styled from 'styled-components';\r\n\r\n// Expose micro app peer dependencies.\r\npeerDependencies(React, ReactDOM, styled);\r\n\r\nconst {\r\n pageModel: {\r\n microConfig = {\r\n View: {\r\n // Fall back config\r\n Name: 'product-preview',\r\n Version: 'latest',\r\n },\r\n },\r\n } = {},\r\n} = window.pageContextJavascript;\r\n\r\n// microConfig.View.Path = `http://localhost:3001/marketplace/${microConfig.View.Name}/${microConfig.View.Name}.${microConfig.View.Version}.js`;\r\n\r\nconst App = () => <MicroApp config={microConfig} />;\r\n\r\nexport default App;\r\n"],"sourceRoot":""}