@@ -26,4 +26,4 @@ yarn-error.log* | |||
# package | |||
/dist | |||
/.next | |||
# /.next |
@@ -0,0 +1 @@ | |||
w06712eiO-VXwnDaAcBZJ |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHonda.js\";\nimport Footer from \"components/Footer/FooterHonda.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport SectionCarrer from \"pages-sections/honda/carrer/carrer.js\";\nimport Getcarrer from \"api/carrer/carrer.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst Carrer = function (_ref) {\n let {\n user,\n backend,\n s1,\n d3,\n sma\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"user\", \"backend\", \"s1\", \"d3\", \"sma\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/carrer.png\"),\n height: \"50px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(SectionCarrer, {\n s1: s1,\n d3: d3,\n sma: sma,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport default Carrer;\nexport async function getServerSideProps(context) {\n var s1 = [];\n var d3 = [];\n var sma = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"HONDA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await Getcarrer.GetCarrerS1Honda();\n\n if (res[\"STATUS\"] === 1) {\n s1 = res[\"DATA\"][\"carrers\"];\n }\n\n var res = await Getcarrer.GetCarrerD3Honda();\n\n if (res[\"STATUS\"] === 1) {\n d3 = res[\"DATA\"][\"carrers\"];\n }\n\n var res = await Getcarrer.GetCarrerSMAHonda();\n\n if (res[\"STATUS\"] === 1) {\n sma = res[\"DATA\"][\"carrers\"];\n }\n\n return {\n props: {\n user,\n s1,\n d3,\n sma,\n backend\n } // will be passed to the page component as props\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CompanyLink from \"components/Header/LinkCompany.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataProfile = function DataProfile(_ref) {\n var backend = _ref.backend,\n businessPartners = _ref.businessPartners,\n service = _ref.service,\n carousel = _ref.carousel,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n var classes = useStyles();\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n padding: \"5px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\",\n justify: \"center\"\n }, __jsx(CompanyLink, null))), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n src: \"http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png\"\n })), __jsx(\"h1\", {\n className: classes.cardTitle\n }, __jsx(\"b\", null, \"Profile Thamrin Group\")), __jsx(\"p\", null, \"Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti\"), __jsx(\"h3\", null, \"Visi\"), __jsx(\"p\", null, \"Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik\"), __jsx(\"h3\", null, \"Misi\"), __jsx(\"p\", null, \"1. Melayani 21,7 juta pelanggan di tahun 2022\"), __jsx(\"p\", null, \"2. Mengembangkan pemimpin yang sukses\"), __jsx(\"p\", null, \"3. Mengelola proses administrasi yang simple & excellent\"), __jsx(\"p\", null, \"4. Mendukung continuous improvement\"))));\n};\n\nexport default DataProfile;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHonda.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport Footer from \"components/Footer/FooterHonda.js\";\nimport DataSnackbarContent from \"pages-sections/yamaha/snackbar.js\";\nimport DataCarousel from \"pages-sections/honda/home/carousel.js\";\nimport DataService from \"pages-sections/honda/home/service.js\";\nimport DataFeature from \"pages-sections/honda/home/feature.js\";\nimport stylecss from \"pages/home.css\";\nvar useStyles = makeStyles(styles);\n\nvar Home = function Home(_ref) {\n var backend = _ref.backend,\n businessPartners = _ref.businessPartners,\n service = _ref.service,\n carousel = _ref.carousel,\n user = _ref.user,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\", \"user\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n __jsx(DataService, {\n service: props.service\n });\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"dark\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/honda.jpg\"),\n styles: {\n marginTop: \"50px\"\n }\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(DataSnackbarContent, null), __jsx(DataCarousel, {\n carousel: carousel,\n backend: backend\n }), __jsx(DataService, {\n service: service,\n backend: backend\n }), __jsx(DataFeature, null), __jsx(\"a\", {\n href: \"https://wa.me/087797315685\",\n target: \"_blank\",\n \"class\": \"float\"\n }, __jsx(\"i\", {\n \"class\": \"fa fa-phone my-float\"\n }))), __jsx(Footer, null));\n};\n\nexport var __N_SSP = true;\nexport default Home;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import { primaryColor, warningColor, dangerColor, successColor, infoColor, roseColor, grayColor, title } from \"assets/jss/nextjs-material-kit.js\";\nvar infoStyle = {\n infoArea: {\n maxWidth: \"360px\",\n margin: \"0 auto\",\n padding: \"0px\"\n },\n iconWrapper: {\n \"float\": \"left\",\n marginTop: \"24px\",\n marginRight: \"10px\"\n },\n primary: {\n color: primaryColor\n },\n warning: {\n color: warningColor\n },\n danger: {\n color: dangerColor\n },\n success: {\n color: successColor\n },\n info: {\n color: infoColor\n },\n rose: {\n color: roseColor\n },\n gray: {\n color: grayColor\n },\n icon: {\n width: \"36px\",\n height: \"36px\"\n },\n descriptionWrapper: {\n color: grayColor,\n overflow: \"hidden\"\n },\n title: title,\n description: {\n color: grayColor,\n overflow: \"hidden\",\n marginTop: \"0px\",\n fontSize: \"14px\"\n },\n iconWrapperVertical: {\n \"float\": \"none\"\n },\n iconVertical: {\n width: \"61px\",\n height: \"61px\"\n }\n};\nexport default infoStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from 'react';\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Paginations from \"components/Pagination/Pagination.js\";\nimport Icon from \"@material-ui/core/Icon\";\nvar useStyles = makeStyles(styles);\n\nvar DataLatestNews = function DataLatestNews(_ref) {\n var backend = _ref.backend,\n news = _ref.news,\n props = _objectWithoutProperties(_ref, [\"backend\", \"news\"]);\n\n var classes = useStyles();\n var latnews = news.map(function (data) {\n return __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"100%\",\n display: \"block\"\n },\n className: classes.imgCardTop,\n src: \"\".concat(backend).concat(data.img[0][\"url\"])\n }), __jsx(CardBody, null, __jsx(\"p\", null, data.title), __jsx(\"p\", null, data.published_at), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/latest_news/latestnews_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Read More\"))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"News\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Latest News\")), __jsx(GridContainer, {\n justify: \"center\"\n }, latnews)), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Paginations, {\n pages: [{\n text: \"PREV\"\n }, {\n text: 1\n }, {\n text: 2\n }, {\n active: true,\n text: 3\n }, {\n text: 4\n }, {\n text: 5\n }, {\n text: \"NEXT\"\n }],\n color: \"info\"\n })));\n};\n\nexport default DataLatestNews;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHonda.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport Footer from \"components/Footer/FooterHonda.js\";\nimport GetbusinessPartners from \"api/home/businessPartner.js\";\nimport Getservices from \"api/home/service.js\";\nimport Getcarousels from \"api/home/carousel.js\";\nimport DataSnackbarContent from \"pages-sections/yamaha/snackbar.js\";\nimport DataCarousel from \"pages-sections/honda/home/carousel.js\";\nimport DataService from \"pages-sections/honda/home/service.js\";\nimport DataFeature from \"pages-sections/honda/home/feature.js\";\nimport stylecss from \"pages/home.css\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst Home = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel,\n user\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\", \"user\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n\n __jsx(DataService, {\n service: props.service\n });\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"dark\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/honda.jpg\"),\n styles: {\n marginTop: \"50px\"\n }\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(DataSnackbarContent, null), __jsx(DataCarousel, {\n carousel: carousel,\n backend: backend\n }), __jsx(DataService, {\n service: service,\n backend: backend\n }), __jsx(DataFeature, null), __jsx(\"a\", {\n href: \"https://wa.me/087797315685\",\n target: \"_blank\",\n class: \"float\"\n }, __jsx(\"i\", {\n class: \"fa fa-phone my-float\"\n }))), __jsx(Footer, null));\n};\n\nexport async function getServerSideProps(context) {\n var businessPartners = [];\n var service = [];\n var carousel = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"HONDA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await GetbusinessPartners.GetbusinessPartners();\n\n if (res[\"STATUS\"] === 1) {\n businessPartners = res[\"DATA\"][\"businessPartners\"];\n }\n\n var res = await Getservices.GetservicesYamaha();\n\n if (res[\"STATUS\"] === 1) {\n service = res[\"DATA\"][\"services\"];\n }\n\n var res = await Getcarousels.GetCarouselsHonda();\n\n if (res[\"STATUS\"] === 1) {\n carousel = res[\"DATA\"][\"carousels\"];\n }\n\n console.log(carousel);\n return {\n props: {\n businessPartners,\n service,\n carousel,\n backend,\n user\n } // will be passed to the page component as props\n\n };\n}\nexport default Home;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { container, title } from \"assets/jss/nextjs-material-kit.js\";\nconst notificationsStyles = {\n section: {\n backgroundColor: \"#000000\",\n display: \"block\",\n width: \"100%\",\n position: \"relative\"\n },\n title: _objectSpread({}, title, {\n marginTop: \"30px\",\n minHeight: \"32px\",\n textDecoration: \"none\"\n }),\n container\n};\nexport default notificationsStyles;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderSuzuki from \"components/Header/HeaderSuzuki.js\";\nimport FooterSuzuki from \"components/Footer/FooterSuzuki.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport TugasFungsi from \"pages-sections/yamaha/about_us/tugas_fungsi.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nconst useStyles = makeStyles(styles);\n\nconst AboutUS = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderSuzuki, null),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(TugasFungsi, null)), __jsx(FooterSuzuki, null));\n};\n\nexport default AboutUS;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHonda.js\";\nimport Footer from \"components/Footer/FooterHonda.js\";\nimport Checkout from \"pages-sections/honda/cart/checkout.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport GetCheckoutproduct from \"api/cart/checkout.js\";\nimport GetCheckoutprofile from \"api/profile/profile.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst ProductDetails = function (_ref) {\n let {\n backend,\n checkoutproduct,\n checkoutprofile,\n user\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"checkoutproduct\", \"checkoutprofile\", \"user\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/honda.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(Checkout, {\n checkoutproduct: checkoutproduct,\n checkoutprofile: checkoutprofile,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport default ProductDetails;\nexport async function getServerSideProps(context) {\n var {\n query\n } = context;\n var checkoutproduct = [];\n var checkoutprofile = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"YAMAHA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await GetCheckoutproduct.GetCheckoutproduct(query.s || 0);\n\n if (res[\"STATUS\"] === 1) {\n checkoutproduct = res[\"DATA\"][\"products\"];\n }\n\n var res = await GetCheckoutprofile.profile();\n\n if (res[\"STATUS\"] === 1) {\n checkoutprofile = res[\"DATA\"][\"users\"];\n }\n\n return {\n props: {\n user,\n checkoutproduct,\n backend,\n checkoutprofile\n } // will be passed to the page component as props\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CompanyLink from \"components/Header/LinkCompany.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataStrukturOrganisasi = function DataStrukturOrganisasi(_ref) {\n var backend = _ref.backend,\n businessPartners = _ref.businessPartners,\n service = _ref.service,\n carousel = _ref.carousel,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n var classes = useStyles();\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n padding: \"5px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\",\n justify: \"center\"\n }, __jsx(CompanyLink, null))), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n src: \"http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png\"\n })), __jsx(\"h1\", {\n className: classes.cardTitle\n }, __jsx(\"b\", null, \"Struktur Organisasi Thamrin Group\")), __jsx(\"p\", null, \"Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti\"), __jsx(\"h3\", null, \"Visi\"), __jsx(\"p\", null, \"Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik\"), __jsx(\"h3\", null, \"Misi\"), __jsx(\"p\", null, \"1. Melayani 21,7 juta pelanggan di tahun 2022\"), __jsx(\"p\", null, \"2. Mengembangkan pemimpin yang sukses\"), __jsx(\"p\", null, \"3. Mengelola proses administrasi yang simple & excellent\"), __jsx(\"p\", null, \"4. Mendukung continuous improvement\"))));\n};\n\nexport default DataStrukturOrganisasi;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Dashboard from \"@material-ui/icons/Dashboard\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport NavPills from \"components/NavPills/NavPills.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CardFooter from \"components/Card/CardFooter.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport Icon from \"@material-ui/core/Icon\";\nvar useStyles = makeStyles(styles);\n\nvar DataProduct = function DataProduct(_ref) {\n var backend = _ref.backend,\n car = _ref.car,\n props = _objectWithoutProperties(_ref, [\"backend\", \"car\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var ProductSuzuki = car.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n style: {\n width: \"250px\",\n display: \"block\"\n },\n src: \"\".concat(backend).concat(data.img[0][\"url\"]),\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/honda/product/product_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/honda/cart/checkout?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"shopping_cart\"), \"Add to Cart\"))))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"Product\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Product & Facilities\")), __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(GridItem, null, __jsx(NavPills, {\n alignCenter: true,\n color: \"primary\",\n tabs: [{\n tabButton: \"Brio\",\n tabIcon: Dashboard,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, ProductSuzuki)\n }]\n })))));\n};\n\nexport default DataProduct;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CompanyLink from \"components/Header/LinkCompany.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataProfile = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n padding: \"5px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\",\n justify: \"center\"\n }, __jsx(CompanyLink, null))), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n src: \"http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png\"\n })), __jsx(\"h1\", {\n className: classes.cardTitle\n }, __jsx(\"b\", null, \"Profile Thamrin Group\")), __jsx(\"p\", null, \"Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti\"), __jsx(\"h3\", null, \"Visi\"), __jsx(\"p\", null, \"Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik\"), __jsx(\"h3\", null, \"Misi\"), __jsx(\"p\", null, \"1. Melayani 21,7 juta pelanggan di tahun 2022\"), __jsx(\"p\", null, \"2. Mengembangkan pemimpin yang sukses\"), __jsx(\"p\", null, \"3. Mengelola proses administrasi yang simple & excellent\"), __jsx(\"p\", null, \"4. Mendukung continuous improvement\"))));\n};\n\nexport default DataProfile;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\"; // nodejs library to set properties for components\n\n// nodejs library that concatenates classes\nimport classNames from \"classnames\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/components/infoStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function InfoArea(props) {\n const classes = useStyles();\n const {\n title,\n description,\n iconColor,\n vertical\n } = props;\n const iconWrapper = classNames({\n [classes.iconWrapper]: true,\n [classes[iconColor]]: true,\n [classes.iconWrapperVertical]: vertical\n });\n const iconClasses = classNames({\n [classes.icon]: true,\n [classes.iconVertical]: vertical\n });\n return __jsx(\"div\", {\n className: classes.infoArea\n }, __jsx(\"div\", {\n className: classes.descriptionWrapper\n }, __jsx(\"h4\", {\n className: classes.title\n }, title), __jsx(\"p\", {\n className: classes.description\n }, description)));\n}\nInfoArea.defaultProps = {\n iconColor: \"gray\"\n};","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CompanyLink from \"components/Header/LinkCompany.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataPenghargaan = function DataPenghargaan(_ref) {\n var backend = _ref.backend,\n businessPartners = _ref.businessPartners,\n service = _ref.service,\n carousel = _ref.carousel,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n var classes = useStyles();\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n padding: \"5px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\",\n justify: \"center\"\n }, __jsx(CompanyLink, null))), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n src: \"http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png\"\n })), __jsx(\"h1\", {\n className: classes.cardTitle\n }, __jsx(\"b\", null, \"Penghargaan Thamrin Group\")), __jsx(\"p\", null, \"Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti\"), __jsx(\"h3\", null, \"Visi\"), __jsx(\"p\", null, \"Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik\"), __jsx(\"h3\", null, \"Misi\"), __jsx(\"p\", null, \"1. Melayani 21,7 juta pelanggan di tahun 2022\"), __jsx(\"p\", null, \"2. Mengembangkan pemimpin yang sukses\"), __jsx(\"p\", null, \"3. Mengelola proses administrasi yang simple & excellent\"), __jsx(\"p\", null, \"4. Mendukung continuous improvement\"))));\n};\n\nexport default DataPenghargaan;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React, { useState, useEffect } from \"react\";\nimport ReactHtmlParser from \"react-html-parser\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport ReactPaginate from \"react-paginate\";\nimport classNames from \"classnames\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport Carousel from \"react-slick\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataLatestNews = function DataLatestNews(_ref) {\n var backend = _ref.backend,\n news = _ref.news,\n othernews = _ref.othernews,\n props = _objectWithoutProperties(_ref, [\"backend\", \"news\", \"othernews\"]);\n\n var classes = useStyles();\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var otherlatnews = othernews.map(function (data) {\n return __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"5px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"100%\",\n display: \"block\"\n },\n className: classes.imgCardTop,\n src: \"\".concat(backend).concat(data.img[0][\"url\"])\n }), __jsx(CardBody, null, __jsx(\"p\", null, data.title), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/latestnews_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Read More\"))));\n });\n var latnews = news.map(function (data) {\n return __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(Grid, {\n fluid: true,\n xs: 4\n }, __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\"\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, {\n className: classes.marginAuto\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, __jsx(\"img\", {\n className: navImageClasses,\n width: \"300px\",\n alt: \"First slide\",\n src: \"\".concat(backend).concat(data.img[0][\"url\"])\n }))))))))), __jsx(Grid, {\n xs: 7,\n style: {\n padding: \"40px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"h4\", null, data.title), __jsx(\"h4\", null, data.published_at), __jsx(\"hr\", null), __jsx(\"div\", {\n align: \"justify\"\n }, __jsx(\"p\", null, ReactHtmlParser(data.description)))));\n });\n return __jsx(\"div\", null, latnews);\n};\n\nexport default DataLatestNews;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport YGPDetail from \"pages-sections/yamaha/product/ygp_details.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport GetDetailYGP from \"../../../api/product/accessories.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst YGPDetails = function (_ref) {\n let {\n user,\n backend,\n detailygp\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"user\", \"backend\", \"detailygp\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/yamalube.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(YGPDetail, {\n detailygp: detailygp,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport default YGPDetails;\nexport async function getServerSideProps(context) {\n var {\n query\n } = context;\n var detailygp = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"YAMAHA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await GetDetailYGP.GetDetailAccessories(query.s || 0);\n\n if (res[\"STATUS\"] === 1) {\n detailygp = res[\"DATA\"][\"accessories\"];\n }\n\n return {\n props: {\n user,\n detailygp,\n backend\n } // will be passed to the page component as props\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nvar __jsx = React.createElement;\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport Footer from \"components/Footer/FooterHome.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport HeaderHome from \"components/Header/HeaderHome.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/home.js\"; // Sections for this page\n\nimport Carousel from \"pages-sections/home/Carousel.js\";\nimport CoreValue from \"pages-sections/home/CoreValue.js\";\nimport BusineesPartner from \"pages-sections/home/Businees-Partner.js\";\nimport Gallery from \"pages-sections/home/gallery.js\";\nimport stylecss from \"../pages/home.css\"; //image\n\nimport Logo from \"assets/img/Black.png\";\nimport Wa from \"assets/img/wa.png\";\nvar dashboardRoutes = [];\nvar useStyles = makeStyles(styles);\nexport default function LandingPage(props) {\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n console.log(stylecss.act);\n return __jsx(\"div\", null, __jsx(\"link\", {\n rel: \"stylesheet\",\n href: \"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css\"\n }), __jsx(Header, {\n color: \"dark\",\n routes: dashboardRoutes,\n leftLinks: __jsx(HeaderHome, null),\n fixed: true\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised),\n style: {\n marginTop: \"70px\"\n }\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(Carousel, null), __jsx(BusineesPartner, null), __jsx(Gallery, null), __jsx(\"a\", {\n href: \"https://wa.me/+6287797315685\",\n \"class\": \"float\",\n target: \"_blank\"\n }, __jsx(\"i\", {\n \"class\": \"fa fa-whatsapp my-float\"\n })))), __jsx(\"br\", null), __jsx(Footer, null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __jsx = React.createElement;\n\n/*eslint-disable*/\nimport React from \"react\"; // nodejs library to set properties for components\n\nimport classNames from \"classnames\";\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\";\nimport CLM from \"assets/img/clm.png\";\nimport Hino from \"assets/img/logohino.png\";\nvar useStyles = makeStyles(styles);\nexport default function Footer(props) {\n var _classNames, _classNames2;\n\n var classes = useStyles();\n var whiteFont = props.whiteFont;\n var footerClasses = classNames((_classNames = {}, _defineProperty(_classNames, classes.footer, true), _defineProperty(_classNames, classes.footerWhiteFont, whiteFont), _classNames));\n var aClasses = classNames((_classNames2 = {}, _defineProperty(_classNames2, classes.a, true), _defineProperty(_classNames2, classes.footerWhiteFont, whiteFont), _classNames2));\n return __jsx(GridItem, {\n xs: 12\n }, __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: CLM,\n style: {\n width: \"250px\",\n padding: \"20px\"\n }\n }), __jsx(\"img\", {\n className: classes.imgCard,\n src: Hino,\n style: {\n width: \"250px\",\n padding: \"20px\"\n }\n }))), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/home\",\n className: classes.block\n }, \" Home \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/product/product\",\n className: classes.block\n }, \" Product \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/latestsnews\",\n className: classes.block\n }, \" Latest News \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/carrer\",\n className: classes.block\n }, \" Carrer \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/about_us/aboutus\",\n className: classes.block\n }, \" About Us \")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Facebook\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Instagram\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Twitter\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Youtube\")))), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, \"\\xA9 \", 1900 + new Date().getYear(), \" , All Right Reserved\", \" \", \" by\", \" \", \" @Thamrin Brothers\"), __jsx(\"br\", null), __jsx(\"br\", null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport GetLatestNews from \"../../../api/latest_news/news.js\";\nimport DataSnackbarContent from \"../../../pages-sections/yamaha/snackbar.js\";\nimport DetailLatestNews from \"../../../pages-sections/yamaha/latest_news/news_details.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst detailLatestNews = function (_ref) {\n let {\n user,\n backend,\n news,\n othernews\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"user\", \"backend\", \"news\", \"othernews\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n\n __jsx(DetailLatestNews, {\n news: props.news\n });\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/simulasicicilan.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(DetailLatestNews, {\n news: news,\n othernews: othernews,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport default detailLatestNews;\nexport async function getServerSideProps(context) {\n var {\n query\n } = context;\n var news = [];\n var othernews = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"YAMAHA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await GetLatestNews.GetDetailNews(query.s || 0);\n\n if (res[\"STATUS\"] === 1) {\n news = res[\"DATA\"][\"latestNews\"];\n }\n\n var res = await GetLatestNews.GetOtherNewsYamaha();\n\n if (res[\"STATUS\"] === 1) {\n othernews = res[\"DATA\"][\"latestNews\"];\n }\n\n return {\n props: {\n user,\n othernews,\n news,\n backend\n } // will be passed to the page component as props\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport Footer from \"components/Footer/FooterHome.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport HeaderHome from \"components/Header/HeaderHome.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/home.js\"; // Sections for this page\n\nimport Carousel from \"pages-sections/home/Carousel.js\";\nimport CoreValue from \"pages-sections/home/CoreValue.js\";\nimport BusineesPartner from \"pages-sections/home/Businees-Partner.js\";\nimport Gallery from \"pages-sections/home/gallery.js\";\nimport stylecss from \"../pages/home.css\"; //image\n\nimport Logo from \"assets/img/Black.png\";\nimport Wa from \"assets/img/wa.png\";\nconst dashboardRoutes = [];\nconst useStyles = makeStyles(styles);\nexport default function LandingPage(props) {\n const classes = useStyles();\n const rest = Object.assign({}, props);\n console.log(stylecss.act);\n return __jsx(\"div\", null, __jsx(\"link\", {\n rel: \"stylesheet\",\n href: \"https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css\"\n }), __jsx(Header, {\n color: \"dark\",\n routes: dashboardRoutes,\n leftLinks: __jsx(HeaderHome, null),\n fixed: true\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised),\n style: {\n marginTop: \"70px\"\n }\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(Carousel, null), __jsx(BusineesPartner, null), __jsx(Gallery, null), __jsx(\"a\", {\n href: \"https://wa.me/+6287797315685\",\n class: \"float\",\n target: \"_blank\"\n }, __jsx(\"i\", {\n class: \"fa fa-whatsapp my-float\"\n })))), __jsx(\"br\", null), __jsx(Footer, null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHino.js\";\nimport Footer from \"components/Footer/FooterHino.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport AboutUs from \"pages-sections/yamaha/about_us/about_us.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst AboutUS = function (_ref) {\n let {\n user\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"user\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(AboutUs, null)), __jsx(Footer, null));\n};\n\nexport async function getServerSideProps(context) {\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"YAMAHA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n return {\n props: {\n user\n } // will be passed to the page component as props\n\n };\n}\nexport default AboutUS;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n/*\nMIT License\n\nCopyright (c) Jason Miller (https://jasonformat.com/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n*/\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nfunction mitt() {\n var all = Object.create(null);\n return {\n on: function on(type, handler) {\n ;\n (all[type] || (all[type] = [])).push(handler);\n },\n off: function off(type, handler) {\n if (all[type]) {\n // tslint:disable-next-line:no-bitwise\n all[type].splice(all[type].indexOf(handler) >>> 0, 1);\n }\n },\n emit: function emit(type) {\n for (var _len = arguments.length, evts = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n evts[_key - 1] = arguments[_key];\n }\n\n // eslint-disable-next-line array-callback-return\n ;\n (all[type] || []).slice().map(function (handler) {\n handler.apply(void 0, evts);\n });\n }\n };\n}\n\nexports[\"default\"] = mitt;","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from 'react';\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Paginations from \"components/Pagination/Pagination.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataLatestNews = function (_ref) {\n let {\n backend,\n news\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"news\"]);\n\n const classes = useStyles();\n const latnews = news.map(data => {\n return __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"100%\",\n display: \"block\"\n },\n className: classes.imgCardTop,\n src: `${backend}${data.img[0][\"url\"]}`\n }), __jsx(CardBody, null, __jsx(\"p\", null, data.title), __jsx(\"p\", null, data.published_at), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/honda/latest_news/latestnews_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Read More\"))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"News\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Latest News\")), __jsx(GridContainer, {\n justify: \"center\"\n }, latnews)), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Paginations, {\n pages: [{\n text: \"PREV\"\n }, {\n text: 1\n }, {\n text: 2\n }, {\n active: true,\n text: 3\n }, {\n text: 4\n }, {\n text: 5\n }, {\n text: \"NEXT\"\n }],\n color: \"info\"\n })));\n};\n\nexport default DataLatestNews;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nvar __importStar = this && this.__importStar || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) {\n if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\n }\n result[\"default\"] = mod;\n return result;\n};\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar React = __importStar(require(\"react\"));\n\nexports.RouterContext = React.createContext(null);\n\nif (false) {\n exports.RouterContext.displayName = 'RouterContext';\n}","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import { hexToRGBAlpha, grayColor, primaryColor, infoColor, successColor, warningColor, dangerColor, roseColor } from \"assets/jss/nextjs-material-kit.js\";\nvar paginationStyle = {\n pagination: {\n display: \"inline-block\",\n paddingLeft: \"0\",\n margin: \"0 0 20px 0\",\n borderRadius: \"4px\"\n },\n paginationItem: {\n display: \"inline\"\n },\n paginationLink: {\n \":first-of-type\": {\n marginleft: \"0\"\n },\n letterSpacing: \"unset\",\n border: \"0\",\n borderRadius: \"30px !important\",\n transition: \"all .3s\",\n padding: \"0px 11px\",\n margin: \"0 3px\",\n minWidth: \"30px\",\n height: \"30px\",\n minHeight: \"auto\",\n lineHeight: \"30px\",\n fontWeight: \"400\",\n fontSize: \"12px\",\n textTransform: \"uppercase\",\n background: \"transparent\",\n position: \"relative\",\n \"float\": \"left\",\n textDecoration: \"none\",\n boxSizing: \"border-box\",\n \"&,&:hover,&:focus\": {\n color: grayColor\n },\n \"&:hover,&:focus\": {\n zIndex: \"3\",\n backgroundColor: \"#eee\",\n borderColor: \"#ddd\"\n },\n \"&:hover\": {\n cursor: \"pointer\"\n }\n },\n primary: {\n \"&,&:hover,&:focus\": {\n backgroundColor: primaryColor,\n borderColor: primaryColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 5px 0 \".concat(hexToRGBAlpha(primaryColor, 0.14), \", 0 1px 10px 0 \").concat(hexToRGBAlpha(primaryColor, 0.12), \", 0 2px 4px -1px \").concat(hexToRGBAlpha(primaryColor, 0.2))\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n info: {\n \"&,&:hover,&:focus\": {\n backgroundColor: infoColor,\n borderColor: infoColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 5px 0 \".concat(hexToRGBAlpha(infoColor, 0.14), \", 0 1px 10px 0 \").concat(hexToRGBAlpha(infoColor, 0.12), \", 0 2px 4px -1px \").concat(hexToRGBAlpha(infoColor, 0.2))\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n success: {\n \"&,&:hover,&:focus\": {\n backgroundColor: successColor,\n borderColor: successColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 5px 0 \".concat(hexToRGBAlpha(successColor, 0.14), \", 0 1px 10px 0 \").concat(hexToRGBAlpha(successColor, 0.12), \", 0 2px 4px -1px \").concat(hexToRGBAlpha(successColor, 0.2))\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n warning: {\n \"&,&:hover,&:focus\": {\n backgroundColor: warningColor,\n borderColor: warningColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 5px 0 \".concat(hexToRGBAlpha(warningColor, 0.14), \", 0 1px 10px 0 \").concat(hexToRGBAlpha(warningColor, 0.12), \", 0 2px 4px -1px \").concat(hexToRGBAlpha(warningColor, 0.2))\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n danger: {\n \"&,&:hover,&:focus\": {\n backgroundColor: dangerColor,\n borderColor: dangerColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 5px 0 \".concat(hexToRGBAlpha(dangerColor, 0.14), \", 0 1px 10px 0 \").concat(hexToRGBAlpha(dangerColor, 0.12), \", 0 2px 4px -1px \").concat(hexToRGBAlpha(dangerColor, 0.2))\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n rose: {\n \"&,&:hover,&:focus\": {\n backgroundColor: roseColor,\n borderColor: roseColor,\n color: \"#FFFFFF\",\n boxShadow: \"0 4px 5px 0 \".concat(hexToRGBAlpha(roseColor, 0.14), \", 0 1px 10px 0 \").concat(hexToRGBAlpha(roseColor, 0.12), \", 0 2px 4px -1px \").concat(hexToRGBAlpha(roseColor, 0.2))\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n disabled: {\n \"&,&:hover,&:focus\": {\n color: \"#777\",\n cursor: \"not-allowed\",\n backgroundColor: \"#fff\",\n borderColor: \"#ddd\"\n }\n }\n};\nexport default paginationStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Dashboard from \"@material-ui/icons/Dashboard\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport NavPills from \"components/NavPills/NavPills.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CardFooter from \"components/Card/CardFooter.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport { Motorcycle } from \"@material-ui/icons\";\nconst useStyles = makeStyles(styles);\n\nconst DataProduct = function (_ref) {\n let {\n backend,\n car\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"car\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n const imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n const navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n const ProductSuzuki = car.map(data => {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n style: {\n width: \"250px\",\n display: \"block\"\n },\n src: `${backend}${data.img[0][\"url\"]}`,\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/suzuki/product/product_detail?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/suzuki/cart/checkout?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"shopping_cart\"), \"Add to Cart\"))))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"Product\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Product & Facilities\")), __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(GridItem, null, __jsx(NavPills, {\n alignCenter: true,\n color: \"primary\",\n tabs: [{\n tabButton: \"XL7\",\n tabIcon: Motorcycle,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, ProductSuzuki)\n }]\n })))));\n};\n\nexport default DataProduct;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\"; // nodejs library to set properties for components\n\n// nodejs library that concatenates classes\nimport classNames from \"classnames\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"@material-ui/core/Button\";\nimport styles from \"assets/jss/nextjs-material-kit/components/paginationStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function Pagination(props) {\n const classes = useStyles();\n const {\n pages,\n color\n } = props;\n return __jsx(\"ul\", {\n className: classes.pagination\n }, pages.map((prop, key) => {\n const paginationLink = classNames({\n [classes.paginationLink]: true,\n [classes[color]]: prop.active,\n [classes.disabled]: prop.disabled\n });\n return __jsx(\"li\", {\n className: classes.paginationItem,\n key: key\n }, prop.onClick !== undefined ? __jsx(Button, {\n onClick: prop.onClick,\n className: paginationLink\n }, prop.text) : __jsx(Button, {\n onClick: () => alert(\"you've clicked \" + prop.text),\n className: paginationLink\n }, prop.text));\n }));\n}\nPagination.defaultProps = {\n color: \"primary\"\n};","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React, { useState, useEffect } from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport ReactHtmlParser from \"react-html-parser\";\nimport Dashboard from \"@material-ui/icons/Dashboard\";\nimport Icon from \"@material-ui/core/Icon\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport NavPills from \"components/NavPills/NavPills.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CardFooter from \"components/Card/CardFooter.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport Carousel from \"react-slick\";\nvar useStyles = makeStyles(styles);\n\nvar DetailDataAccessories = function DetailDataAccessories(_ref) {\n var backend = _ref.backend,\n detailaccessories = _ref.detailaccessories,\n props = _objectWithoutProperties(_ref, [\"backend\", \"detailaccessories\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var Accessoriesdetails = detailaccessories.map(function (data) {\n return __jsx(\"div\", null, __jsx(GridContainer, null, __jsx(Grid, {\n fluid: true,\n xs: 5\n }, __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\"\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, {\n className: classes.marginAuto\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, __jsx(\"img\", {\n className: navImageClasses,\n width: \"300px\",\n alt: \"First slide\",\n src: \"\".concat(backend).concat(data.img[\"url\"])\n }))))))))), __jsx(Grid, {\n xs: 7,\n style: {\n padding: \"40px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"h3\", null, data.name), __jsx(\"h3\", null, \"Rp.\", data.price), __jsx(\"hr\", null), __jsx(\"ul\", null, __jsx(\"li\", null, __jsx(\"h4\", null, \"Stock : \", data.stock)), __jsx(\"li\", null, __jsx(\"h4\", null, \"Part Code : \", data.part_code))))), __jsx(GridContainer, null, __jsx(Grid, {\n className: classes.marginAuto,\n style: {\n padding: \"10px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"img\", {\n className: navImageClasses,\n src: \"\".concat(backend).concat(data.img[\"url\"]),\n height: \"165px\",\n width: \"200px\"\n })), __jsx(Grid, {\n className: classes.marginAuto,\n style: {\n padding: \"10px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"img\", {\n className: navImageClasses,\n src: \"\".concat(backend).concat(data.img[\"url\"]),\n height: \"165px\",\n width: \"200px\"\n })), __jsx(Grid, {\n className: classes.marginAuto,\n style: {\n padding: \"10px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"img\", {\n className: navImageClasses,\n src: \"\".concat(backend).concat(data.img[\"url\"]),\n height: \"165px\",\n width: \"200px\"\n }))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"hr\", null), __jsx(\"h2\", null, \"Deskripsi\")), __jsx(\"div\", {\n align: \"justify\"\n }, __jsx(\"p\", null, ReactHtmlParser(data.description))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"Product Detail\")), __jsx(CardBody, null, __jsx(\"div\", null, Accessoriesdetails)), __jsx(CardFooter, {\n className: classes.textMuted,\n textAlign: \"center\"\n }, \"\\xA9 2020 , All Right Reserved by @Thamrin Brother Company\"));\n};\n\nexport default DetailDataAccessories;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Penghargaan from \"pages-sections/yamaha/about_us/penghargaan.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nvar useStyles = makeStyles(styles);\n\nvar penghargaan = function penghargaan(_ref) {\n var backend = _ref.backend,\n businessPartners = _ref.businessPartners,\n service = _ref.service,\n carousel = _ref.carousel,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, null),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(Penghargaan, null)), __jsx(Footer, null));\n};\n\nexport default penghargaan;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { title } from \"assets/jss/nextjs-material-kit.js\";\nconst productStyle = {\n section: {\n padding: \"70px 0\",\n textAlign: \"center\"\n },\n title: _objectSpread({}, title, {\n marginBottom: \"1rem\",\n marginTop: \"30px\",\n minHeight: \"32px\",\n textDecoration: \"none\"\n }),\n description: {\n color: \"#999\"\n }\n};\nexport default productStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CompanyLink from \"components/Header/LinkCompany.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataSejarah = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n padding: \"5px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\",\n justify: \"center\"\n }, __jsx(CompanyLink, null))), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n src: \"http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png\"\n })), __jsx(\"h1\", {\n className: classes.cardTitle\n }, __jsx(\"b\", null, \"Sejarah Thamrin Group\")), __jsx(\"p\", null, \"Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti\"), __jsx(\"h3\", null, \"Visi\"), __jsx(\"p\", null, \"Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik\"), __jsx(\"h3\", null, \"Misi\"), __jsx(\"p\", null, \"1. Melayani 21,7 juta pelanggan di tahun 2022\"), __jsx(\"p\", null, \"2. Mengembangkan pemimpin yang sukses\"), __jsx(\"p\", null, \"3. Mengelola proses administrasi yang simple & excellent\"), __jsx(\"p\", null, \"4. Mendukung continuous improvement\"))));\n};\n\nexport default DataSejarah;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderSuzuki from \"components/Header/HeaderSuzuki.js\";\nimport FooterSuzuki from \"components/Footer/FooterSuzuki.js\";\nimport DataProduct from \"pages-sections/suzuki/product/product.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nvar useStyles = makeStyles(styles);\n\nvar Product = function Product(_ref) {\n var backend = _ref.backend,\n car = _ref.car,\n user = _ref.user,\n props = _objectWithoutProperties(_ref, [\"backend\", \"car\", \"user\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderSuzuki, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/dekstop_pandemi.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(DataProduct, {\n car: car,\n backend: backend\n })), __jsx(FooterSuzuki, null));\n};\n\nexport var __N_SSP = true;\nexport default Product;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHino.js\";\nimport Footer from \"components/Footer/FooterHino.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport SectionCarrer from \"pages-sections/hino/carrer/carrer.js\";\nvar useStyles = makeStyles(styles);\n\nvar Carrer = function Carrer(_ref) {\n var user = _ref.user,\n backend = _ref.backend,\n s1 = _ref.s1,\n d3 = _ref.d3,\n sma = _ref.sma,\n props = _objectWithoutProperties(_ref, [\"user\", \"backend\", \"s1\", \"d3\", \"sma\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"dark\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/carrer.png\"),\n height: \"50px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(SectionCarrer, {\n s1: s1,\n d3: d3,\n sma: sma,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport var __N_SSP = true;\nexport default Carrer;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from 'react';\nimport ReactHtmlParser from \"react-html-parser\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport classNames from \"classnames\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport Carousel from \"react-slick\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataCarrer = function DataCarrer(_ref) {\n var backend = _ref.backend,\n detailcarrer = _ref.detailcarrer,\n props = _objectWithoutProperties(_ref, [\"backend\", \"detailcarrer\"]);\n\n var classes = useStyles();\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var carrer = detailcarrer.map(function (data) {\n return __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(Grid, {\n fluid: true,\n xs: 4\n }, __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\"\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, {\n className: classes.marginAuto\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, __jsx(\"img\", {\n className: navImageClasses,\n width: \"300px\",\n alt: \"First slide\",\n src: \"\".concat(backend).concat(data.img[0][\"url\"])\n }))))))))), __jsx(Grid, {\n xs: 7,\n style: {\n padding: \"40px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"h4\", null, data.name), __jsx(\"h4\", null, data.published_at), __jsx(\"hr\", null), __jsx(\"div\", {\n align: \"justify\"\n }, __jsx(\"p\", null, ReactHtmlParser(data.description)))));\n });\n return __jsx(\"div\", null, carrer);\n};\n\nexport default DataCarrer;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\"; // core components\n\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/landingPageSections/workStyle.js\";\nimport Paper from '@material-ui/core/Paper';\nimport Grid from '@material-ui/core/Grid'; //image\n\nimport img1 from \"assets/img/gallery/1.jpg\";\nimport img2 from \"assets/img/gallery/2.jpg\";\nimport img3 from \"assets/img/gallery/3.jpg\";\nimport img4 from \"assets/img/gallery/4.jpg\";\nimport img5 from \"assets/img/gallery/5.jpg\";\nimport img6 from \"assets/img/gallery/6.jpg\";\nimport img7 from \"assets/img/gallery/7.jpg\";\nimport img8 from \"assets/img/gallery/8.jpg\";\nconst useStyles = makeStyles(styles);\nexport default function WorkSection() {\n const classes = useStyles();\n return __jsx(\"div\", null, __jsx(\"br\", null), __jsx(\"h3\", {\n className: classes.title\n }, \"Thamrin Group Gallery\"), __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\",\n style: {\n marginTop: \"-150px\"\n }\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container,\n align: \"center\"\n }, __jsx(Grid, {\n container: true,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img1,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img2,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img3,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img4,\n alt: \"First slide\",\n className: \"slick-image\"\n })))), __jsx(Grid, {\n container: true,\n style: {\n padding: \"10px\",\n marginTop: \"-80px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img5,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img6,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img7,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img8,\n alt: \"First slide\",\n className: \"slick-image\"\n }))))))));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\";\nimport Link from \"next/link\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // nodejs library to set properties for components\n\n// @material-ui/core components\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport AppBar from \"@material-ui/core/AppBar\";\nimport Toolbar from \"@material-ui/core/Toolbar\";\nimport IconButton from \"@material-ui/core/IconButton\";\nimport Button from \"@material-ui/core/Button\";\nimport Hidden from \"@material-ui/core/Hidden\";\nimport Drawer from \"@material-ui/core/Drawer\"; // @material-ui/icons\n\nimport Menu from \"@material-ui/icons/Menu\"; // core components\n\nimport styles from \"assets/jss/nextjs-material-kit/components/headerStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function Header(props) {\n const classes = useStyles();\n const [mobileOpen, setMobileOpen] = React.useState(false);\n React.useEffect(() => {\n if (props.changeColorOnScroll) {\n window.addEventListener(\"scroll\", headerColorChange);\n }\n\n return function cleanup() {\n if (props.changeColorOnScroll) {\n window.removeEventListener(\"scroll\", headerColorChange);\n }\n };\n });\n\n const handleDrawerToggle = () => {\n setMobileOpen(!mobileOpen);\n };\n\n const headerColorChange = () => {\n const {\n color,\n changeColorOnScroll\n } = props;\n const windowsScrollTop = window.pageYOffset;\n\n if (windowsScrollTop > changeColorOnScroll.height) {\n document.body.getElementsByTagName(\"header\")[0].classList.remove(classes[color]);\n document.body.getElementsByTagName(\"header\")[0].classList.add(classes[changeColorOnScroll.color]);\n } else {\n document.body.getElementsByTagName(\"header\")[0].classList.add(classes[color]);\n document.body.getElementsByTagName(\"header\")[0].classList.remove(classes[changeColorOnScroll.color]);\n }\n };\n\n const {\n color,\n rightLinks,\n leftLinks,\n brand,\n fixed,\n absolute\n } = props;\n const appBarClasses = classNames({\n [classes.appBar]: true,\n [classes[color]]: color,\n [classes.absolute]: absolute,\n [classes.fixed]: fixed\n });\n\n const brandComponent = __jsx(Link, {\n href: \"/components\",\n as: \"/components\"\n }, __jsx(Button, {\n className: classes.title\n }, brand));\n\n return __jsx(AppBar, {\n className: appBarClasses\n }, __jsx(Toolbar, {\n className: classes.container\n }, leftLinks !== undefined ? brandComponent : null, __jsx(\"div\", {\n className: classes.flex\n }, leftLinks !== undefined ? __jsx(Hidden, {\n smDown: true,\n implementation: \"css\"\n }, leftLinks) : brandComponent), __jsx(Hidden, {\n smDown: true,\n implementation: \"css\"\n }, rightLinks), __jsx(Hidden, {\n mdUp: true\n }, __jsx(IconButton, {\n color: \"inherit\",\n \"aria-label\": \"open drawer\",\n onClick: handleDrawerToggle\n }, __jsx(Menu, null)))), __jsx(Hidden, {\n mdUp: true,\n implementation: \"js\"\n }, __jsx(Drawer, {\n variant: \"temporary\",\n anchor: \"right\",\n open: mobileOpen,\n classes: {\n paper: classes.drawerPaper\n },\n onClose: handleDrawerToggle\n }, __jsx(\"div\", {\n className: classes.appResponsive\n }, leftLinks, rightLinks))));\n}\nHeader.defaultProp = {\n color: \"black\"\n};","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Carousel from \"react-slick\";\nimport Grid from '@material-ui/core/Grid';\nconst useStyles = makeStyles(styles);\n\nconst DataCarousel = function (_ref) {\n let {\n backend,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"carousel\"]);\n\n const classes = useStyles();\n const settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n const Carousels = carousel.map(data => {\n return __jsx(\"div\", null, __jsx(\"img\", {\n src: `${backend}${data.img[0][\"url\"]}`,\n alt: \"First slide\",\n className: \"slick-image\"\n }));\n });\n return __jsx(\"div\", {\n className: classes.root,\n style: {\n marginTop: \"-30px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 12,\n sm: 12,\n className: classes.marginAuto\n }, __jsx(Card, null, __jsx(\"div\", {\n className: \"container\"\n }, __jsx(Carousel, settings, Carousels)))), __jsx(Grid, {\n container: true,\n style: {\n marginTop: \"-60px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 6,\n className: classes.marginAuto\n }, __jsx(Card, null, __jsx(\"div\", {\n className: \"container\"\n }, __jsx(Carousel, settings, __jsx(\"iframe\", {\n height: \"300px\",\n src: \"https://www.youtube.com/embed/zkbnKHqcez4?list=PLGDlwziWaTGKL0aphOH8j_6D29JQ1TgYY\",\n title: \"YouTube video player\",\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowFullScreen: true\n }))))), __jsx(Grid, {\n item: true,\n xs: 6,\n className: classes.marginAuto\n }, __jsx(Card, null, __jsx(\"div\", {\n className: \"container\"\n }, __jsx(Carousel, settings, __jsx(\"iframe\", {\n height: \"300px\",\n src: \"https://www.youtube.com/embed/zkbnKHqcez4?list=PLGDlwziWaTGKL0aphOH8j_6D29JQ1TgYY\",\n title: \"YouTube video player\",\n frameBorder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowFullScreen: true\n })))))));\n};\n\nexport default DataCarousel;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Carousel from \"react-slick\";\nimport Grid from '@material-ui/core/Grid';\nvar useStyles = makeStyles(styles);\n\nvar DataCarousel = function DataCarousel(_ref) {\n var backend = _ref.backend,\n carousels = _ref.carousels,\n props = _objectWithoutProperties(_ref, [\"backend\", \"carousels\"]);\n\n var classes = useStyles();\n var settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n var Carousels = carousels.map(function (data) {\n return __jsx(\"div\", null, __jsx(\"img\", {\n src: \"\".concat(backend).concat(data.img[0][\"url\"]),\n alt: \"First slide\",\n className: \"slick-image\"\n }));\n });\n return __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\"\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, {\n className: classes.marginAuto\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, Carousels)))), __jsx(GridContainer, null, __jsx(GridItem, {\n className: classes.marginAuto,\n xs: 6\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, __jsx(\"iframe\", {\n height: \"300px\",\n src: \"https://www.youtube.com/embed/lF8mfdLz2A8\",\n title: \"YouTube video player\",\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowfullscreen: true\n })))), __jsx(GridItem, {\n className: classes.marginAuto,\n xs: 6\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, __jsx(\"iframe\", {\n height: \"300px\",\n src: \"https://www.youtube.com/embed/W5y2C8lqOeA\",\n title: \"YouTube video player\",\n frameborder: \"0\",\n allow: \"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",\n allowfullscreen: true\n }))))))));\n};\n\nexport default DataCarousel;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports[\"default\"] = initHeadManager;\nvar DOMAttributeNames = {\n acceptCharset: 'accept-charset',\n className: 'class',\n htmlFor: 'for',\n httpEquiv: 'http-equiv'\n};\n\nfunction reactElementToDOM(_ref) {\n var type = _ref.type,\n props = _ref.props;\n var el = document.createElement(type);\n\n for (var p in props) {\n if (!props.hasOwnProperty(p)) continue;\n if (p === 'children' || p === 'dangerouslySetInnerHTML') continue; // we don't render undefined props to the DOM\n\n if (props[p] === undefined) continue;\n var attr = DOMAttributeNames[p] || p.toLowerCase();\n el.setAttribute(attr, props[p]);\n }\n\n var children = props.children,\n dangerouslySetInnerHTML = props.dangerouslySetInnerHTML;\n\n if (dangerouslySetInnerHTML) {\n el.innerHTML = dangerouslySetInnerHTML.__html || '';\n } else if (children) {\n el.textContent = typeof children === 'string' ? children : children.join('');\n }\n\n return el;\n}\n\nfunction updateElements(type, components) {\n var headEl = document.getElementsByTagName('head')[0];\n var headCountEl = headEl.querySelector('meta[name=next-head-count]');\n\n if (false) {\n if (!headCountEl) {\n console.error('Warning: next-head-count is missing. https://err.sh/next.js/next-head-count-missing');\n return;\n }\n }\n\n var headCount = Number(headCountEl.content);\n var oldTags = [];\n\n for (var i = 0, j = headCountEl.previousElementSibling; i < headCount; i++, j = j.previousElementSibling) {\n if (j.tagName.toLowerCase() === type) {\n oldTags.push(j);\n }\n }\n\n var newTags = components.map(reactElementToDOM).filter(function (newTag) {\n for (var k = 0, len = oldTags.length; k < len; k++) {\n var oldTag = oldTags[k];\n\n if (oldTag.isEqualNode(newTag)) {\n oldTags.splice(k, 1);\n return false;\n }\n }\n\n return true;\n });\n oldTags.forEach(function (t) {\n return t.parentNode.removeChild(t);\n });\n newTags.forEach(function (t) {\n return headEl.insertBefore(t, headCountEl);\n });\n headCountEl.content = (headCount - oldTags.length + newTags.length).toString();\n}\n\nfunction initHeadManager() {\n var updatePromise = null;\n return function (head) {\n var promise = updatePromise = Promise.resolve().then(function () {\n if (promise !== updatePromise) return;\n updatePromise = null;\n var tags = {};\n head.forEach(function (h) {\n var components = tags[h.type] || [];\n components.push(h);\n tags[h.type] = components;\n });\n var titleComponent = tags.title ? tags.title[0] : null;\n var title = '';\n\n if (titleComponent) {\n var children = titleComponent.props.children;\n title = typeof children === 'string' ? children : children.join('');\n }\n\n if (title !== document.title) document.title = title;\n ['meta', 'base', 'link', 'style', 'script'].forEach(function (type) {\n updateElements(type, tags[type] || []);\n });\n });\n };\n}","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // Component\n\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataSnackbarContent = function () {\n const classes = useStyles();\n return __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"Thamrin Group bersama Anda melawan COVID-19. Untuk informasi silakan \", __jsx(\"a\", {\n href: \"https://covid19.go.id/\",\n target: \"_blank\",\n className: classes.block\n }, \"klik di sini.\")),\n align: \"center\",\n color: \"info\"\n })));\n};\n\nexport default DataSnackbarContent;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderSuzuki from \"components/Header/HeaderSuzuki.js\";\nimport FooterSuzuki from \"components/Footer/FooterSuzuki.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport StrukturOrganisasi from \"pages-sections/yamaha/about_us/struktur_organisasi.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nconst useStyles = makeStyles(styles);\n\nconst Strukturorganisasi = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderSuzuki, null),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(StrukturOrganisasi, null)), __jsx(FooterSuzuki, null));\n};\n\nexport default Strukturorganisasi;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CompanyLink from \"components/Header/LinkCompany.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataPenghargaan = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n padding: \"5px\"\n }\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\",\n justify: \"center\"\n }, __jsx(CompanyLink, null))), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"img\", {\n src: \"http://3.bp.blogspot.com/-_dTNAAE-TMY/VL3Zyiti2OI/AAAAAAAAAT0/YSd7Ok_3I0k/s1600/Thamrin-brother-loker.png\"\n })), __jsx(\"h1\", {\n className: classes.cardTitle\n }, __jsx(\"b\", null, \"Penghargaan Thamrin Group\")), __jsx(\"p\", null, \"Thamrin Group adalah perusahaan terkemuka di Sumatera Selatan & Bengkulu dengan fokus bisnis pada sektor otomotif dan properti\"), __jsx(\"h3\", null, \"Visi\"), __jsx(\"p\", null, \"Berdampak bagi masyarakat melalui SDM yang dimiliki, pelayanan prima & pengembangan usaha secara berkelanjutan dengan membangun perusahaan yang terpercaya & memiliki reputasi yang baik\"), __jsx(\"h3\", null, \"Misi\"), __jsx(\"p\", null, \"1. Melayani 21,7 juta pelanggan di tahun 2022\"), __jsx(\"p\", null, \"2. Mengembangkan pemimpin yang sukses\"), __jsx(\"p\", null, \"3. Mengelola proses administrasi yang simple & excellent\"), __jsx(\"p\", null, \"4. Mendukung continuous improvement\"))));\n};\n\nexport default DataPenghargaan;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport ApparelDetail from \"pages-sections/yamaha/product/apparel_details.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nvar useStyles = makeStyles(styles);\n\nvar ApparelDetails = function ApparelDetails(_ref) {\n var backend = _ref.backend,\n detailapparel = _ref.detailapparel,\n user = _ref.user,\n props = _objectWithoutProperties(_ref, [\"backend\", \"detailapparel\", \"user\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/yamalube.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(ApparelDetail, {\n detailapparel: detailapparel,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport var __N_SSP = true;\nexport default ApparelDetails;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __jsx = React.createElement;\n\n/*eslint-disable*/\nimport React from \"react\"; // nodejs library to set properties for components\n\n// nodejs library that concatenates classes\nimport classNames from \"classnames\"; // material-ui core components\n\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\";\nvar useStyles = makeStyles(styles);\nexport default function Footer(props) {\n var _classNames, _classNames2;\n\n var classes = useStyles();\n var whiteFont = props.whiteFont;\n var footerClasses = classNames((_classNames = {}, _defineProperty(_classNames, classes.footer, true), _defineProperty(_classNames, classes.footerWhiteFont, whiteFont), _classNames));\n var aClasses = classNames((_classNames2 = {}, _defineProperty(_classNames2, classes.a, true), _defineProperty(_classNames2, classes.footerWhiteFont, whiteFont), _classNames2));\n return __jsx(\"footer\", {\n className: footerClasses\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(\"div\", null, __jsx(List, {\n justify: \"center\",\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"tugas_fungsi\",\n className: classes.block\n }, \"Tugas & Fungsi\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"sejarah\",\n className: classes.block\n }, \"Sejarah Perusahaan\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"profile\",\n className: classes.block\n }, \"Profil Perusahaan\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"tata_kelola\",\n className: classes.block\n }, \"Tata Kelola Perusahaan\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"struktur_organisasi\",\n className: classes.block\n }, \"Struktur Organisasi\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"saham\",\n className: classes.block\n }, \"Kepemilikan Saham\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"penghargaan\",\n className: classes.block\n }, \"Penghargaan\"))))));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // Component\n\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataSnackbarContent = function DataSnackbarContent() {\n var classes = useStyles();\n return __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"Thamrin Group bersama Anda melawan COVID-19. Untuk informasi silakan \", __jsx(\"a\", {\n href: \"https://covid19.go.id/\",\n target: \"_blank\",\n className: classes.block\n }, \"klik di sini.\")),\n align: \"center\",\n color: \"info\"\n })));\n};\n\nexport default DataSnackbarContent;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // nodejs library to set properties for components\n\n// @material-ui/core components\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport styles from \"assets/jss/nextjs-material-kit/components/cardStyle.js\";\nvar useStyles = makeStyles(styles);\nexport default function Card(props) {\n var _classNames;\n\n var classes = useStyles();\n\n var className = props.className,\n children = props.children,\n plain = props.plain,\n carousel = props.carousel,\n rest = _objectWithoutProperties(props, [\"className\", \"children\", \"plain\", \"carousel\"]);\n\n var cardClasses = classNames((_classNames = {}, _defineProperty(_classNames, classes.card, true), _defineProperty(_classNames, classes.cardPlain, plain), _defineProperty(_classNames, classes.cardCarousel, carousel), _defineProperty(_classNames, className, className !== undefined), _classNames));\n return __jsx(\"div\", _extends({\n className: cardClasses\n }, rest), children);\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // nodejs library to set properties for components\n\n// @material-ui/core components\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport styles from \"assets/jss/nextjs-material-kit/components/cardFooterStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function CardFooter(props) {\n const classes = useStyles();\n\n const {\n className,\n children\n } = props,\n rest = _objectWithoutProperties(props, [\"className\", \"children\"]);\n\n const cardFooterClasses = classNames({\n [classes.cardFooter]: true,\n [className]: className !== undefined\n });\n return __jsx(\"div\", _extends({\n className: cardFooterClasses\n }, rest), children);\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Favorite from \"@material-ui/icons/Favorite\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Paper from '@material-ui/core/Paper';\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\"; // import StyleYamaha from \"components/Footer/footersosmed.css\";\n\nconst useStyles = makeStyles(styles);\nexport default function Footer(props) {\n const classes = useStyles();\n const {\n whiteFont\n } = props;\n const footerClasses = classNames({\n [classes.footer]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n const aClasses = classNames({\n [classes.a]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n return __jsx(GridItem, {\n xs: 12\n }, __jsx(\"link\", {\n rel: \"stylesheet\",\n href: \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\"\n }), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/home\",\n className: classes.block\n }, \" Home \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/product\",\n className: classes.block\n }, \" Motor \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/ygp\",\n className: classes.block\n }, \" YGP \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/yamalube\",\n className: classes.block\n }, \" Yamalube \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/apparel\",\n className: classes.block\n }, \" Apparel \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/helmet\",\n className: classes.block\n }, \" Helmet \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/accessories\",\n className: classes.block\n }, \" Accessories \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/service\",\n className: classes.block\n }, \" Service \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/product/dealer\",\n className: classes.block\n }, \" Dealer \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/latestsnews\",\n className: classes.block\n }, \" Latest News \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/carrer\",\n className: classes.block\n }, \" Carrer \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/about_us/aboutus\",\n className: classes.block\n }, \" About Us \")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n class: \"fa fa-facebook\"\n })), __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n class: \"fa fa-instagram\"\n })), __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n class: \"fa fa-twitter\"\n })), __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n class: \"fa fa-youtube\"\n })))), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, \"\\xA9 \", 1900 + new Date().getYear(), \" , All Right Reserved\", \" \", \" by\", \" \", \" @Thamrin Brothers\"), __jsx(\"br\", null), __jsx(\"br\", null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport { title } from \"assets/jss/nextjs-material-kit.js\";\nvar productStyle = {\n section: {\n padding: \"70px 0\",\n textAlign: \"center\"\n },\n title: _objectSpread({}, title, {\n marginBottom: \"1rem\",\n marginTop: \"30px\",\n minHeight: \"32px\",\n textDecoration: \"none\"\n }),\n description: {\n color: \"#999\"\n }\n};\nexport default productStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"const cardStyle = {\n card: {\n border: \"0\",\n marginBottom: \"30px\",\n marginTop: \"30px\",\n borderRadius: \"6px\",\n color: \"rgba(0, 0, 0, 0.87)\",\n background: \"#fff\",\n width: \"100%\",\n boxShadow: \"0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12)\",\n position: \"relative\",\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: \"0\",\n wordWrap: \"break-word\",\n fontSize: \".875rem\",\n transition: \"all 300ms linear\"\n },\n cardPlain: {\n background: \"transparent\",\n boxShadow: \"none\"\n },\n cardCarousel: {\n overflow: \"hidden\"\n }\n};\nexport default cardStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nfunction getRouteMatcher(routeRegex) {\n var re = routeRegex.re,\n groups = routeRegex.groups;\n return function (pathname) {\n var routeMatch = re.exec(pathname);\n\n if (!routeMatch) {\n return false;\n }\n\n var decode = function decode(param) {\n try {\n return decodeURIComponent(param);\n } catch (_) {\n var err = new Error('failed to decode param');\n err.code = 'DECODE_FAILED';\n throw err;\n }\n };\n\n var params = {};\n Object.keys(groups).forEach(function (slugName) {\n var g = groups[slugName];\n var m = routeMatch[g.pos];\n\n if (m !== undefined) {\n params[slugName] = ~m.indexOf('/') ? m.split('/').map(function (entry) {\n return decode(entry);\n }) : g.repeat ? [decode(m)] : decode(m);\n }\n });\n return params;\n };\n}\n\nexports.getRouteMatcher = getRouteMatcher;","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Favorite from \"@material-ui/icons/Favorite\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Paper from '@material-ui/core/Paper';\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\";\nimport NSCB from \"assets/img/nscb.png\";\nimport Suzuki from \"assets/img/Suzuki.png\";\nvar useStyles = makeStyles(styles);\nexport default function Footer(props) {\n var _classNames, _classNames2;\n\n var classes = useStyles();\n var whiteFont = props.whiteFont;\n var footerClasses = classNames((_classNames = {}, _defineProperty(_classNames, classes.footer, true), _defineProperty(_classNames, classes.footerWhiteFont, whiteFont), _classNames));\n var aClasses = classNames((_classNames2 = {}, _defineProperty(_classNames2, classes.a, true), _defineProperty(_classNames2, classes.footerWhiteFont, whiteFont), _classNames2));\n return __jsx(GridItem, {\n xs: 12\n }, __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: NSCB,\n style: {\n width: \"350px\",\n padding: \"20px\"\n }\n }), __jsx(\"img\", {\n className: classes.imgCard,\n src: Suzuki,\n style: {\n width: \"350px\",\n padding: \"20px\"\n }\n }))), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/home\",\n className: classes.block\n }, \" Home \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/product/product\",\n className: classes.block\n }, \" Product \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/latestsnews\",\n className: classes.block\n }, \" Latest News \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/carrer\",\n className: classes.block\n }, \" Carrer \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/about_us/aboutus\",\n className: classes.block\n }, \" About Us \")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Facebook\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Instagram\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Twitter\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Youtube\")))), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, \"\\xA9 \", 1900 + new Date().getYear(), \" , All Right Reserved\", \" \", \" by\", \" \", \" @Thamrin Brothers\"), __jsx(\"br\", null), __jsx(\"br\", null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\"; // core components\n\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/landingPageSections/workStyle.js\";\nimport Paper from '@material-ui/core/Paper';\nimport Grid from '@material-ui/core/Grid'; //image\n\nimport img1 from \"assets/img/gallery/1.jpg\";\nimport img2 from \"assets/img/gallery/2.jpg\";\nimport img3 from \"assets/img/gallery/3.jpg\";\nimport img4 from \"assets/img/gallery/4.jpg\";\nimport img5 from \"assets/img/gallery/5.jpg\";\nimport img6 from \"assets/img/gallery/6.jpg\";\nimport img7 from \"assets/img/gallery/7.jpg\";\nimport img8 from \"assets/img/gallery/8.jpg\";\nvar useStyles = makeStyles(styles);\nexport default function WorkSection() {\n var classes = useStyles();\n return __jsx(\"div\", null, __jsx(\"br\", null), __jsx(\"h3\", {\n className: classes.title\n }, \"Thamrin Group Gallery\"), __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\",\n style: {\n marginTop: \"-150px\"\n }\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container,\n align: \"center\"\n }, __jsx(Grid, {\n container: true,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img1,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img2,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img3,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img4,\n alt: \"First slide\",\n className: \"slick-image\"\n })))), __jsx(Grid, {\n container: true,\n style: {\n padding: \"10px\",\n marginTop: \"-80px\"\n }\n }, __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img5,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img6,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img7,\n alt: \"First slide\",\n className: \"slick-image\"\n }))), __jsx(Grid, {\n item: true,\n xs: 3,\n style: {\n padding: \"10px\"\n }\n }, __jsx(Card, null, __jsx(\"img\", {\n src: img8,\n alt: \"First slide\",\n className: \"slick-image\"\n }))))))));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\nimport React from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/homeStyle.js\";\nimport Carousel from \"react-slick\";\nimport Grid from '@material-ui/core/Grid';\nimport image1 from 'assets/img/carousel/1.jpg';\nimport image2 from 'assets/img/carousel/2.jpg';\nimport image3 from 'assets/img/carousel/3.jpg';\nimport image4 from 'assets/img/carousel/4.jpg';\nvar useStyles = makeStyles(styles);\n\nvar DataCarousel = function DataCarousel() {\n var classes = useStyles();\n var settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n return __jsx(\"div\", {\n className: classes.root\n }, __jsx(Grid, {\n item: true,\n xs: 12,\n sm: 12,\n className: classes.marginAuto\n }, __jsx(Card, null, __jsx(\"div\", {\n className: \"container\"\n }, __jsx(Carousel, settings, __jsx(\"img\", {\n src: image3,\n alt: \"First slide\",\n className: \"slick-image\"\n }), __jsx(\"img\", {\n src: image4,\n alt: \"First slide\",\n className: \"slick-image\"\n }))))));\n};\n\nexport default DataCarousel;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Dashboard from \"@material-ui/icons/Dashboard\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport NavPills from \"components/NavPills/NavPills.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport CardFooter from \"components/Card/CardFooter.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/profilePage.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport { Motorcycle } from \"@material-ui/icons\";\nvar useStyles = makeStyles(styles);\n\nvar DataProduct = function DataProduct(_ref) {\n var backend = _ref.backend,\n car = _ref.car,\n props = _objectWithoutProperties(_ref, [\"backend\", \"car\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var ProductSuzuki = car.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n style: {\n width: \"250px\",\n display: \"block\"\n },\n src: \"\".concat(backend).concat(data.img[0][\"url\"]),\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/hino/product/product_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/hino/cart/checkout?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"shopping_cart\"), \"Add to Cart\"))))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"Product\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Product & Facilities\")), __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(GridItem, null, __jsx(NavPills, {\n alignCenter: true,\n color: \"primary\",\n tabs: [{\n tabButton: \"Profia\",\n tabIcon: Dashboard,\n tabContent: __jsx(GridContainer, {\n justify: \"center\"\n }, ProductSuzuki)\n }]\n })))));\n};\n\nexport default DataProduct;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"// Apollo Value Configuration\nconst ApolloConfig = {\n graphql_uri: process.env.API_GRAPHQL_URI\n};\nexport default ApolloConfig;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { title } from \"assets/jss/nextjs-material-kit.js\";\nconst workStyle = {\n section: {\n padding: \"70px 0\"\n },\n title: _objectSpread({}, title, {\n marginBottom: \"50px\",\n marginTop: \"30px\",\n minHeight: \"32px\",\n textDecoration: \"none\",\n textAlign: \"center\"\n }),\n description: {\n color: \"#999\",\n textAlign: \"center\"\n },\n textCenter: {\n textAlign: \"center\"\n },\n textArea: {\n marginRight: \"15px\",\n marginLeft: \"15px\"\n }\n};\nexport default workStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { useState, useEffect } from \"react\";\nimport ReactHtmlParser from \"react-html-parser\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport ReactPaginate from \"react-paginate\";\nimport classNames from \"classnames\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Card from \"components/Card/Card.js\";\nimport Carousel from \"react-slick\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataLatestNews = function (_ref) {\n let {\n backend,\n news,\n othernews\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"news\", \"othernews\"]);\n\n const classes = useStyles();\n const imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n const settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n const navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n const otherlatnews = othernews.map(data => {\n return __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"5px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"100%\",\n display: \"block\"\n },\n className: classes.imgCardTop,\n src: `${backend}${data.img[0][\"url\"]}`\n }), __jsx(CardBody, null, __jsx(\"p\", null, data.title), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/latestnews_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Read More\"))));\n });\n const latnews = news.map(data => {\n return __jsx(GridContainer, {\n justify: \"center\"\n }, __jsx(Grid, {\n fluid: true,\n xs: 4\n }, __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\"\n }, __jsx(\"div\", {\n className: classes.section\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, {\n className: classes.marginAuto\n }, __jsx(Card, {\n carousel: true\n }, __jsx(Carousel, settings, __jsx(\"img\", {\n className: navImageClasses,\n width: \"300px\",\n alt: \"First slide\",\n src: `${backend}${data.img[0][\"url\"]}`\n }))))))))), __jsx(Grid, {\n xs: 7,\n style: {\n padding: \"40px\",\n marginTop: \"-30px\"\n }\n }, __jsx(\"h4\", null, data.title), __jsx(\"h4\", null, data.published_at), __jsx(\"hr\", null), __jsx(\"div\", {\n align: \"justify\"\n }, __jsx(\"p\", null, ReactHtmlParser(data.description)))));\n });\n return __jsx(Card, {\n className: classes.textCenter\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(CardHeader, {\n color: \"info\"\n }, \"News\")), __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }), __jsx(GridContainer, {\n justify: \"center\"\n }, latnews)));\n};\n\nexport default DataLatestNews;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Penghargaan from \"pages-sections/yamaha/about_us/penghargaan.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nconst useStyles = makeStyles(styles);\n\nconst penghargaan = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, null),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(Penghargaan, null)), __jsx(Footer, null));\n};\n\nexport default penghargaan;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHino.js\";\nimport Footer from \"components/Footer/FooterHino.js\";\nimport Checkout from \"pages-sections/yamaha/cart/checkout.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport GetCheckoutproduct from \"api/cart/checkout.js\";\nimport GetCheckoutprofile from \"api/profile/profile.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst ProductDetails = function (_ref) {\n let {\n checkoutprofile,\n backend,\n checkoutproduct,\n user\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"checkoutprofile\", \"backend\", \"checkoutproduct\", \"user\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/Promotion_2-1.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(Checkout, {\n checkoutprofile: checkoutprofile,\n checkoutproduct: checkoutproduct,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport default ProductDetails;\nexport async function getServerSideProps(context) {\n var {\n query\n } = context;\n var checkoutproduct = [];\n var checkoutprofile = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"YAMAHA\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await GetCheckoutproduct.GetCheckoutproduct(query.s || 0);\n\n if (res[\"STATUS\"] === 1) {\n checkoutproduct = res[\"DATA\"][\"products\"];\n }\n\n var res = await GetCheckoutprofile.profile();\n\n if (res[\"STATUS\"] === 10) {\n checkoutprofile = res[\"DATA\"][\"users\"];\n }\n\n return {\n props: {\n user,\n checkoutproduct,\n backend,\n checkoutprofile\n } // will be passed to the page component as props\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nvar _regeneratorRuntime = require(\"@babel/runtime/regenerator\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar url_1 = require(\"url\");\n/**\n * Utils\n */\n\n\nfunction execOnce(fn) {\n var used = false;\n var result;\n return function () {\n if (!used) {\n used = true;\n result = fn.apply(void 0, arguments);\n }\n\n return result;\n };\n}\n\nexports.execOnce = execOnce;\n\nfunction getLocationOrigin() {\n var _window$location = window.location,\n protocol = _window$location.protocol,\n hostname = _window$location.hostname,\n port = _window$location.port;\n return \"\".concat(protocol, \"//\").concat(hostname).concat(port ? ':' + port : '');\n}\n\nexports.getLocationOrigin = getLocationOrigin;\n\nfunction getURL() {\n var href = window.location.href;\n var origin = getLocationOrigin();\n return href.substring(origin.length);\n}\n\nexports.getURL = getURL;\n\nfunction getDisplayName(Component) {\n return typeof Component === 'string' ? Component : Component.displayName || Component.name || 'Unknown';\n}\n\nexports.getDisplayName = getDisplayName;\n\nfunction isResSent(res) {\n return res.finished || res.headersSent;\n}\n\nexports.isResSent = isResSent;\n\nfunction loadGetInitialProps(App, ctx) {\n var _a, message, res, props, _message;\n\n return _regeneratorRuntime.async(function loadGetInitialProps$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n if (!false) {\n _context.next = 4;\n break;\n }\n\n if (!((_a = App.prototype) === null || _a === void 0 ? void 0 : _a.getInitialProps)) {\n _context.next = 4;\n break;\n }\n\n message = \"\\\"\".concat(getDisplayName(App), \".getInitialProps()\\\" is defined as an instance method - visit https://err.sh/zeit/next.js/get-initial-props-as-an-instance-method for more information.\");\n throw new Error(message);\n\n case 4:\n // when called from _app `ctx` is nested in `ctx`\n res = ctx.res || ctx.ctx && ctx.ctx.res;\n\n if (App.getInitialProps) {\n _context.next = 12;\n break;\n }\n\n if (!(ctx.ctx && ctx.Component)) {\n _context.next = 11;\n break;\n }\n\n _context.next = 9;\n return _regeneratorRuntime.awrap(loadGetInitialProps(ctx.Component, ctx.ctx));\n\n case 9:\n _context.t0 = _context.sent;\n return _context.abrupt(\"return\", {\n pageProps: _context.t0\n });\n\n case 11:\n return _context.abrupt(\"return\", {});\n\n case 12:\n _context.next = 14;\n return _regeneratorRuntime.awrap(App.getInitialProps(ctx));\n\n case 14:\n props = _context.sent;\n\n if (!(res && isResSent(res))) {\n _context.next = 17;\n break;\n }\n\n return _context.abrupt(\"return\", props);\n\n case 17:\n if (props) {\n _context.next = 20;\n break;\n }\n\n _message = \"\\\"\".concat(getDisplayName(App), \".getInitialProps()\\\" should resolve to an object. But found \\\"\").concat(props, \"\\\" instead.\");\n throw new Error(_message);\n\n case 20:\n if (false) {\n if (Object.keys(props).length === 0 && !ctx.ctx) {\n console.warn(\"\".concat(getDisplayName(App), \" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://err.sh/zeit/next.js/empty-object-getInitialProps\"));\n }\n }\n\n return _context.abrupt(\"return\", props);\n\n case 22:\n case \"end\":\n return _context.stop();\n }\n }\n }, null, null, null, Promise);\n}\n\nexports.loadGetInitialProps = loadGetInitialProps;\nexports.urlObjectKeys = ['auth', 'hash', 'host', 'hostname', 'href', 'path', 'pathname', 'port', 'protocol', 'query', 'search', 'slashes'];\n\nfunction formatWithValidation(url, options) {\n if (false) {\n if (url !== null && typeof url === 'object') {\n Object.keys(url).forEach(function (key) {\n if (exports.urlObjectKeys.indexOf(key) === -1) {\n console.warn(\"Unknown key passed via urlObject into url.format: \".concat(key));\n }\n });\n }\n }\n\n return url_1.format(url, options);\n}\n\nexports.formatWithValidation = formatWithValidation;\nexports.SP = typeof performance !== 'undefined';\nexports.ST = exports.SP && typeof performance.mark === 'function' && typeof performance.measure === 'function';","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderSuzuki from \"components/Header/HeaderSuzuki.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport FooterSuzuki from \"components/Footer/FooterSuzuki.js\";\nimport DataSnackbarContent from \"pages-sections/suzuki/snackbar.js\";\nimport DataCarousel from \"pages-sections/suzuki/home/carousel.js\";\nimport DataService from \"pages-sections/suzuki/home/service.js\";\nimport DataSosmed from \"pages-sections/suzuki/home/sosmed.js\";\nimport DataFeature from \"pages-sections/suzuki/home/feature.js\";\nimport stylecss from \"pages/home.css\";\nvar useStyles = makeStyles(styles);\n\nvar Home = function Home(_ref) {\n var backend = _ref.backend,\n businessPartners = _ref.businessPartners,\n service = _ref.service,\n carousels = _ref.carousels,\n user = _ref.user,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousels\", \"user\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n __jsx(DataService, {\n service: props.service\n });\n\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderSuzuki, {\n username: user\n }),\n fixed: true,\n color: \"dark\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/dekstop_pandemi.jpg\"),\n styles: {\n marginTop: \"50px\"\n }\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(DataSnackbarContent, null), __jsx(DataCarousel, {\n carousels: carousels,\n backend: backend\n }), __jsx(DataService, {\n service: service,\n backend: backend\n }), __jsx(\"a\", {\n href: \"https://wa.me/087797315685\",\n target: \"_blank\",\n \"class\": \"float\"\n }, __jsx(\"i\", {\n \"class\": \"fa fa-phone my-float\"\n }))), __jsx(FooterSuzuki, null));\n};\n\nexport var __N_SSP = true;\nexport default Home;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // nodejs library to set properties for components\n\n// @material-ui/core components\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport styles from \"assets/jss/nextjs-material-kit/components/cardStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function Card(props) {\n const classes = useStyles();\n\n const {\n className,\n children,\n plain,\n carousel\n } = props,\n rest = _objectWithoutProperties(props, [\"className\", \"children\", \"plain\", \"carousel\"]);\n\n const cardClasses = classNames({\n [classes.card]: true,\n [classes.cardPlain]: plain,\n [classes.cardCarousel]: carousel,\n [className]: className !== undefined\n });\n return __jsx(\"div\", _extends({\n className: cardClasses\n }, rest), children);\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // nodejs library to set properties for components\n\n// @material-ui/core components\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport MenuList from \"@material-ui/core/MenuList\";\nimport ClickAwayListener from \"@material-ui/core/ClickAwayListener\";\nimport Paper from \"@material-ui/core/Paper\";\nimport Grow from \"@material-ui/core/Grow\";\nimport Divider from \"@material-ui/core/Divider\";\nimport Icon from \"@material-ui/core/Icon\";\nimport Popper from \"@material-ui/core/Popper\"; // core components\n\nimport Button from \"components/CustomButtons/Button.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/customDropdownStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function CustomDropdown(props) {\n const [anchorEl, setAnchorEl] = React.useState(null);\n\n const handleClick = event => {\n if (anchorEl && anchorEl.contains(event.target)) {\n setAnchorEl(null);\n } else {\n setAnchorEl(event.currentTarget);\n }\n };\n\n const handleClose = param => {\n setAnchorEl(null);\n\n if (props && props.onClick) {\n props.onClick(param);\n }\n };\n\n const handleCloseAway = event => {\n if (anchorEl.contains(event.target)) {\n return;\n }\n\n setAnchorEl(null);\n };\n\n const classes = useStyles();\n const {\n buttonText,\n buttonIcon,\n dropdownList,\n buttonProps,\n dropup,\n dropdownHeader,\n caret,\n hoverColor,\n left,\n rtlActive,\n noLiPadding,\n navDropdown\n } = props;\n const caretClasses = classNames({\n [classes.caret]: true,\n [classes.caretActive]: Boolean(anchorEl),\n [classes.caretRTL]: rtlActive\n });\n const dropdownItem = classNames({\n [classes.dropdownItem]: true,\n [classes[hoverColor + \"Hover\"]]: true,\n [classes.noLiPadding]: noLiPadding,\n [classes.dropdownItemRTL]: rtlActive\n });\n let icon = null;\n\n switch (typeof buttonIcon) {\n case \"object\":\n icon = __jsx(props.buttonIcon, {\n className: classes.buttonIcon\n });\n break;\n\n case \"string\":\n icon = __jsx(Icon, {\n className: classes.buttonIcon\n }, props.buttonIcon);\n break;\n\n default:\n icon = null;\n break;\n }\n\n return __jsx(\"div\", null, __jsx(\"div\", null, __jsx(Button, _extends({\n \"aria-label\": \"Notifications\",\n \"aria-owns\": anchorEl ? \"menu-list\" : null,\n \"aria-haspopup\": \"true\"\n }, buttonProps, {\n onClick: handleClick\n }), icon, buttonText !== undefined ? buttonText : null, caret ? __jsx(\"b\", {\n className: caretClasses\n }) : null)), __jsx(Popper, {\n open: Boolean(anchorEl),\n anchorEl: anchorEl,\n transition: true,\n disablePortal: true,\n placement: dropup ? left ? \"top-start\" : \"top\" : left ? \"bottom-start\" : \"bottom\",\n className: classNames({\n [classes.popperClose]: !anchorEl,\n [classes.popperResponsive]: true,\n [classes.pooperNav]: Boolean(anchorEl) && navDropdown\n })\n }, () => __jsx(Grow, {\n in: Boolean(anchorEl),\n id: \"menu-list\",\n style: dropup ? {\n transformOrigin: \"0 100% 0\"\n } : {\n transformOrigin: \"0 0 0\"\n }\n }, __jsx(Paper, {\n className: classes.dropdown\n }, __jsx(ClickAwayListener, {\n onClickAway: handleCloseAway\n }, __jsx(MenuList, {\n role: \"menu\",\n className: classes.menuList\n }, dropdownHeader !== undefined ? __jsx(MenuItem, {\n onClick: () => handleClose(dropdownHeader),\n className: classes.dropdownHeader\n }, dropdownHeader) : null, dropdownList.map((prop, key) => {\n if (prop.divider) {\n return __jsx(Divider, {\n key: key,\n onClick: () => handleClose(\"divider\"),\n className: classes.dropdownDividerItem\n });\n }\n\n return __jsx(MenuItem, {\n key: key,\n onClick: () => handleClose(prop),\n className: dropdownItem\n }, prop);\n })))))));\n}\nCustomDropdown.defaultProps = {\n caret: true,\n hoverColor: \"primary\"\n};","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport { defaultFont, primaryBoxShadow, infoBoxShadow, successBoxShadow, warningBoxShadow, dangerBoxShadow, container } from \"assets/jss/nextjs-material-kit.js\";\nvar snackbarContentStyle = {\n root: _objectSpread({}, defaultFont, {\n position: \"relative\",\n padding: \"20px 15px\",\n lineHeight: \"20px\",\n marginBottom: \"20px\",\n fontSize: \"14px\",\n backgroundColor: \"white\",\n color: \"#555555\",\n borderRadius: \"0px\",\n maxWidth: \"100%\",\n minWidth: \"auto\",\n boxShadow: \"0 12px 20px -10px rgba(255, 255, 255, 0.28), 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px rgba(255, 255, 255, 0.2)\"\n }),\n info: _objectSpread({\n backgroundColor: \"#212121\",\n color: \"#ffffff\"\n }, infoBoxShadow),\n success: _objectSpread({\n backgroundColor: \"#5cb860\",\n color: \"#ffffff\"\n }, successBoxShadow),\n warning: _objectSpread({\n backgroundColor: \"#ffa21a\",\n color: \"#ffffff\"\n }, warningBoxShadow),\n danger: _objectSpread({\n backgroundColor: \"#f55a4e\",\n color: \"#ffffff\"\n }, dangerBoxShadow),\n primary: _objectSpread({\n backgroundColor: \"#af2cc5\",\n color: \"#ffffff\"\n }, primaryBoxShadow),\n message: {\n padding: \"0\",\n display: \"block\",\n maxWidth: \"89%\",\n \"&,& *\": {\n letterSpacing: \"normal\"\n }\n },\n close: {\n width: \"14px\",\n height: \"14px\"\n },\n iconButton: {\n width: \"24px\",\n height: \"24px\",\n \"float\": \"right\",\n fontSize: \"1.5rem\",\n fontWeight: \"500\",\n lineHeight: \"1\",\n position: \"absolute\",\n right: \"-4px\",\n top: \"0\",\n padding: \"0\"\n },\n icon: {\n display: \"block\",\n \"float\": \"left\",\n marginRight: \"1.071rem\"\n },\n container: _objectSpread({}, container, {\n position: \"relative\"\n })\n};\nexport default snackbarContentStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import { warningCardHeader, successCardHeader, dangerCardHeader, infoCardHeader, primaryCardHeader } from \"assets/jss/nextjs-material-kit.js\";\nvar cardHeaderStyle = {\n cardHeader: {\n borderRadius: \"3px\",\n padding: \"1rem 15px\",\n marginLeft: \"15px\",\n marginRight: \"15px\",\n marginTop: \"-30px\",\n border: \"0\",\n marginBottom: \"0\"\n },\n cardHeaderPlain: {\n marginLeft: \"0px\",\n marginRight: \"0px\"\n },\n warningCardHeader: warningCardHeader,\n successCardHeader: successCardHeader,\n dangerCardHeader: dangerCardHeader,\n infoCardHeader: infoCardHeader,\n primaryCardHeader: primaryCardHeader\n};\nexport default cardHeaderStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import { hexToRGBAlpha, grayColor, primaryColor, infoColor, successColor, warningColor, dangerColor, roseColor } from \"assets/jss/nextjs-material-kit.js\";\nconst paginationStyle = {\n pagination: {\n display: \"inline-block\",\n paddingLeft: \"0\",\n margin: \"0 0 20px 0\",\n borderRadius: \"4px\"\n },\n paginationItem: {\n display: \"inline\"\n },\n paginationLink: {\n \":first-of-type\": {\n marginleft: \"0\"\n },\n letterSpacing: \"unset\",\n border: \"0\",\n borderRadius: \"30px !important\",\n transition: \"all .3s\",\n padding: \"0px 11px\",\n margin: \"0 3px\",\n minWidth: \"30px\",\n height: \"30px\",\n minHeight: \"auto\",\n lineHeight: \"30px\",\n fontWeight: \"400\",\n fontSize: \"12px\",\n textTransform: \"uppercase\",\n background: \"transparent\",\n position: \"relative\",\n float: \"left\",\n textDecoration: \"none\",\n boxSizing: \"border-box\",\n \"&,&:hover,&:focus\": {\n color: grayColor\n },\n \"&:hover,&:focus\": {\n zIndex: \"3\",\n backgroundColor: \"#eee\",\n borderColor: \"#ddd\"\n },\n \"&:hover\": {\n cursor: \"pointer\"\n }\n },\n primary: {\n \"&,&:hover,&:focus\": {\n backgroundColor: primaryColor,\n borderColor: primaryColor,\n color: \"#FFFFFF\",\n boxShadow: `0 4px 5px 0 ${hexToRGBAlpha(primaryColor, 0.14)}, 0 1px 10px 0 ${hexToRGBAlpha(primaryColor, 0.12)}, 0 2px 4px -1px ${hexToRGBAlpha(primaryColor, 0.2)}`\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n info: {\n \"&,&:hover,&:focus\": {\n backgroundColor: infoColor,\n borderColor: infoColor,\n color: \"#FFFFFF\",\n boxShadow: `0 4px 5px 0 ${hexToRGBAlpha(infoColor, 0.14)}, 0 1px 10px 0 ${hexToRGBAlpha(infoColor, 0.12)}, 0 2px 4px -1px ${hexToRGBAlpha(infoColor, 0.2)}`\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n success: {\n \"&,&:hover,&:focus\": {\n backgroundColor: successColor,\n borderColor: successColor,\n color: \"#FFFFFF\",\n boxShadow: `0 4px 5px 0 ${hexToRGBAlpha(successColor, 0.14)}, 0 1px 10px 0 ${hexToRGBAlpha(successColor, 0.12)}, 0 2px 4px -1px ${hexToRGBAlpha(successColor, 0.2)}`\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n warning: {\n \"&,&:hover,&:focus\": {\n backgroundColor: warningColor,\n borderColor: warningColor,\n color: \"#FFFFFF\",\n boxShadow: `0 4px 5px 0 ${hexToRGBAlpha(warningColor, 0.14)}, 0 1px 10px 0 ${hexToRGBAlpha(warningColor, 0.12)}, 0 2px 4px -1px ${hexToRGBAlpha(warningColor, 0.2)}`\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n danger: {\n \"&,&:hover,&:focus\": {\n backgroundColor: dangerColor,\n borderColor: dangerColor,\n color: \"#FFFFFF\",\n boxShadow: `0 4px 5px 0 ${hexToRGBAlpha(dangerColor, 0.14)}, 0 1px 10px 0 ${hexToRGBAlpha(dangerColor, 0.12)}, 0 2px 4px -1px ${hexToRGBAlpha(dangerColor, 0.2)}`\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n rose: {\n \"&,&:hover,&:focus\": {\n backgroundColor: roseColor,\n borderColor: roseColor,\n color: \"#FFFFFF\",\n boxShadow: `0 4px 5px 0 ${hexToRGBAlpha(roseColor, 0.14)}, 0 1px 10px 0 ${hexToRGBAlpha(roseColor, 0.12)}, 0 2px 4px -1px ${hexToRGBAlpha(roseColor, 0.2)}`\n },\n \"&:hover,&:focus\": {\n zIndex: \"2\",\n cursor: \"default\"\n }\n },\n disabled: {\n \"&,&:hover,&:focus\": {\n color: \"#777\",\n cursor: \"not-allowed\",\n backgroundColor: \"#fff\",\n borderColor: \"#ddd\"\n }\n }\n};\nexport default paginationStyle;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport StrukturOrganisasi from \"pages-sections/yamaha/about_us/struktur_organisasi.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nconst useStyles = makeStyles(styles);\n\nconst Strukturorganisasi = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, null),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(StrukturOrganisasi, null)), __jsx(Footer, null));\n};\n\nexport default Strukturorganisasi;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nvar _apollo = _interopRequireDefault(require(\"../../lib/apollo.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nasync function GetservicesYamaha(token = \"\") {\n var res = await _apollo.default.query(`\n\t\tquery{\n\t\t\tservices\n\t\t\t{\n\t\t\tname\n\t\t\t\timg{\n\t\t\t\turl\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\t\t`, token);\n return res;\n}\n\nasync function GetservicesSuzuki(token = \"\") {\n var res = await _apollo.default.query(`\n\t\tquery{\n\t\t\tservices\n\t\t\t{\n\t\t\tname\n\t\t\t\timg{\n\t\t\t\turl\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\t\t`, token);\n return res;\n}\n\nmodule.exports = {\n GetservicesYamaha: GetservicesYamaha,\n GetservicesSuzuki: GetservicesSuzuki\n};","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it[\"return\"] != null) it[\"return\"](); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nexports.__esModule = true;\nexports.observeLayoutShift = observeLayoutShift;\nexports.observeLargestContentfulPaint = observeLargestContentfulPaint;\nexports.observePaint = observePaint;\n\nfunction isTypeSupported(type) {\n if (self.PerformanceObserver && PerformanceObserver.supportedEntryTypes) {\n return PerformanceObserver.supportedEntryTypes.includes(type);\n }\n\n return false;\n}\n\nfunction observeLayoutShift(onPerfEntry) {\n if (isTypeSupported('layout-shift')) {\n var cumulativeScore = 0;\n var observer = new PerformanceObserver(function (list) {\n var _iterator = _createForOfIteratorHelper(list.getEntries()),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var entry = _step.value;\n\n // Only count layout shifts without recent user input.\n if (!entry.hadRecentInput) {\n cumulativeScore += entry.value;\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n });\n observer.observe({\n type: 'layout-shift',\n buffered: true\n });\n document.addEventListener('visibilitychange', function clsObserver() {\n if (document.visibilityState === 'hidden') {\n // Force any pending records to be dispatched.\n observer.takeRecords();\n observer.disconnect();\n document.removeEventListener('visibilitychange', clsObserver, true);\n onPerfEntry({\n name: 'cumulative-layout-shift',\n value: cumulativeScore\n });\n }\n }, true);\n }\n}\n\nfunction observeLargestContentfulPaint(onPerfEntry) {\n if (isTypeSupported('largest-contentful-paint')) {\n // Create a variable to hold the latest LCP value (since it can change).\n var lcp; // Create the PerformanceObserver instance.\n\n var observer = new PerformanceObserver(function (entryList) {\n var entries = entryList.getEntries();\n var lastEntry = entries[entries.length - 1];\n lcp = lastEntry.renderTime || lastEntry.loadTime;\n });\n observer.observe({\n type: 'largest-contentful-paint',\n buffered: true\n });\n document.addEventListener('visibilitychange', function lcpObserver() {\n if (lcp && document.visibilityState === 'hidden') {\n document.removeEventListener('visibilitychange', lcpObserver, true);\n onPerfEntry({\n name: 'largest-contentful-paint',\n value: lcp\n });\n }\n }, true);\n }\n}\n\nfunction observePaint(onPerfEntry) {\n var observer = new PerformanceObserver(function (list) {\n list.getEntries().forEach(onPerfEntry);\n });\n observer.observe({\n type: 'paint',\n buffered: true\n });\n}","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React, { Component } from \"react\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport Card from \"components/Card/Card.js\";\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport CardHeader from \"components/Card/CardHeader.js\";\nimport imagesStyles from \"assets/jss/nextjs-material-kit/imagesStyles.js\";\nimport { cardTitle } from \"assets/jss/nextjs-material-kit.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nconst useStyles = makeStyles(styles);\n\nconst DataDealer = function (_ref) {\n let {\n backend,\n dealers\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"dealers\"]);\n\n const classes = useStyles();\n const Dealer = dealers.map(data => {\n return __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"100%\",\n display: \"block\"\n },\n className: classes.imgCardTop,\n src: `${backend}${data.img[\"url\"]}`\n }), __jsx(CardBody, null, __jsx(\"p\", null, data.name), __jsx(\"p\", null, data.kota_dealer), __jsx(\"p\", null, data.telp), __jsx(\"p\", null, data.address), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Button, {\n color: \"info\",\n round: true,\n href: data.location,\n target: \"_blank\"\n }, __jsx(Icon, {\n className: classes.icons\n }, \"room\"), \"View Location\")))));\n });\n return __jsx(\"div\", null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n align: \"center\",\n color: \"info\"\n }))), __jsx(Grid, {\n container: true,\n style: {\n padding: \"40px\"\n },\n justify: \"center\"\n }, Dealer, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/dealers\",\n target: \"_blank\"\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"View More Dealers\"))));\n};\n\nexport default DataDealer;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nvar _apollo = _interopRequireDefault(require(\"../../lib/apollo.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nasync function GetApparel(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"RConcept\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparel46Asia(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"Asia\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparelBasic(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"Basic\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparelMerchandise(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"Merchandise\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparelMaxi(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"Maxi\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparelRainSuit(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"RainSuit\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparelMotoGP(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"motoGP\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetApparelOffRoad(filter, token = \"\") {\n var res = await _apollo.default.query(`\n query {\n apparels(where: { category: \"OffRoad\" ${filter != \"\" ? `name: \"${filter}\"` : \"\"}}) {\n id\n name\n price\n img {\n url\n }\n }\n }`, token);\n return res;\n}\n\nasync function GetDetailApparel(id, token = \"\") {\n var res = await _apollo.default.query(`\n query($input: ID!){\n apparels(where:{id:$input})\n {\n id\n name\n description\n price\n part_code\n img {\n url\n }\n stock\n }\n }\t`, token, {\n \"input\": id\n });\n return res;\n}\n\nmodule.exports = {\n GetApparel: GetApparel,\n GetApparel46Asia: GetApparel46Asia,\n GetApparelBasic: GetApparelBasic,\n GetApparelMerchandise: GetApparelMerchandise,\n GetApparelMaxi: GetApparelMaxi,\n GetApparelRainSuit: GetApparelRainSuit,\n GetApparelMotoGP: GetApparelMotoGP,\n GetApparelOffRoad: GetApparelOffRoad,\n GetDetailApparel: GetDetailApparel\n};","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderHino.js\";\nimport Footer from \"components/Footer/FooterHino.js\";\nimport ProductDetail from \"pages-sections/hino/product/product_details.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nimport GetDetailproduct from \"api/product/product.js\";\nimport Cookies from \"cookies\";\nconst useStyles = makeStyles(styles);\n\nconst ProductDetails = function (_ref) {\n let {\n backend,\n detailproduct,\n user\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"detailproduct\", \"user\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, {\n username: user\n }),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/Promotion_2-1.jpg\"),\n width: \"200px\"\n }), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(ProductDetail, {\n detailproduct: detailproduct,\n backend: backend\n })), __jsx(Footer, null));\n};\n\nexport default ProductDetails;\nexport async function getServerSideProps(context) {\n var {\n query\n } = context;\n var detailproduct = [];\n const backend = process.env.BACKEND_SERVER_URI;\n var {\n req,\n resp\n } = context;\n const cookies = new Cookies(req, resp);\n var user = \"\";\n var userObj = (await cookies.get(\"user\")) ? JSON.parse(await cookies.get(\"user\")) : null;\n\n if (userObj) {\n let sessionId = userObj[\"partners_login_states\"].filter(function (i) {\n return i.business_partner && i.business_partner.name.toUpperCase() == \"HINO\";\n });\n if (sessionId.length != 0) user = userObj[\"username\"];\n }\n\n var res = await GetDetailproduct.GetDetailProduct(query.s || 0);\n\n if (res[\"STATUS\"] === 1) {\n detailproduct = res[\"DATA\"][\"products\"];\n }\n\n return {\n props: {\n detailproduct,\n backend,\n user\n } // will be passed to the page component as props\n\n };\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\n/*eslint-disable*/\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Favorite from \"@material-ui/icons/Favorite\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Paper from '@material-ui/core/Paper';\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\";\nimport Logo from \"assets/img/White.png\";\nimport Carousel from \"react-slick\"; // import Styless from \"components/Footer/footersosmed.css\";\n\nconst useStyles = makeStyles(styles);\nexport default function Footer(props) {\n const classes = useStyles();\n const {\n whiteFont\n } = props;\n const footerClasses = classNames({\n [classes.footer]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n const aClasses = classNames({\n [classes.a]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n const settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n autoplay: true,\n time: 5\n };\n return __jsx(GridItem, {\n xs: 12\n }, __jsx(\"link\", {\n rel: \"stylesheet\",\n href: \"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\"\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/yamaha/home\",\n target: \"_blank\",\n className: classes.block\n }, \" Yamaha \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/home\",\n target: \"_blank\",\n className: classes.block\n }, \" Suzuki \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/honda/home\",\n target: \"_blank\",\n className: classes.block\n }, \" Honda \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/hino/home\",\n target: \"_blank\",\n className: classes.block\n }, \" Hino \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"https://www.thamrin.mercedes-benz.co.id/en/desktop/passenger-cars.html\",\n target: \"_blank\",\n className: classes.block\n }, \" Mercedes Benz \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"http://www.emilia-hotel.com/\",\n target: \"_blank\",\n className: classes.block\n }, \" Emilia Hotel \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"https://www.instagram.com/palembangindahmall/?hl=id\",\n target: \"_blank\",\n className: classes.block\n }, \" Palembang Indah Mall \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"http://bprberkatsejati.com/\",\n target: \"_blank\",\n className: classes.block\n }, \" BRP Berkat Sejati \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"http://homes.thamrin.xyz/\",\n target: \"_blank\",\n className: classes.block\n }, \" Thamrin Homes \")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n class: \"fa fa-facebook\"\n })), __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n class: \"fa fa-instagram\"\n })), __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n class: \"fa fa-twitter\"\n })), __jsx(ListItem, {\n className: classes.inlineBlock,\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n class: \"fa fa-youtube\"\n })))), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, \"\\xA9 \", 1900 + new Date().getYear(), \" , All Right Reserved\", \" \", \" by\", \" \", \" @Thamrin Group Company\"), __jsx(\"br\", null), __jsx(\"br\", null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"\"use strict\";\n\nvar _apollo = _interopRequireDefault(require(\"../../lib/apollo.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nasync function GetbusinessPartners(token = \"\") {\n var res = await _apollo.default.query(`\n\t\tquery{\n\t\t\tbusinessPartners\n\t\t\t{\n\t\t\tname\n\t\t\t\timg{\n\t\t\t\turl\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t`, token);\n return res;\n}\n\nmodule.exports = {\n GetbusinessPartners: GetbusinessPartners\n};","map":null,"metadata":{},"sourceType":"script"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\n/*eslint-disable*/\nimport React from \"react\"; // nodejs library to set properties for components\n\nimport classNames from \"classnames\";\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\";\nimport CLM from \"assets/img/clm.png\";\nimport Hino from \"assets/img/logohino.png\";\nconst useStyles = makeStyles(styles);\nexport default function Footer(props) {\n const classes = useStyles();\n const {\n whiteFont\n } = props;\n const footerClasses = classNames({\n [classes.footer]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n const aClasses = classNames({\n [classes.a]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n return __jsx(GridItem, {\n xs: 12\n }, __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: CLM,\n style: {\n width: \"250px\",\n padding: \"20px\"\n }\n }), __jsx(\"img\", {\n className: classes.imgCard,\n src: Hino,\n style: {\n width: \"250px\",\n padding: \"20px\"\n }\n }))), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/home\",\n className: classes.block\n }, \" Home \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/product/product\",\n className: classes.block\n }, \" Product \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/latestsnews\",\n className: classes.block\n }, \" Latest News \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/carrer\",\n className: classes.block\n }, \" Carrer \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/suzuki/about_us/aboutus\",\n className: classes.block\n }, \" About Us \")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Facebook\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Instagram\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Twitter\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Youtube\")))), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, \"\\xA9 \", 1900 + new Date().getYear(), \" , All Right Reserved\", \" \", \" by\", \" \", \" @Thamrin Brothers\"), __jsx(\"br\", null), __jsx(\"br\", null));\n}","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from 'react';\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport Button from \"components/CustomButtons/Button.js\";\nimport Paginations from \"components/Pagination/Pagination.js\";\nimport Icon from \"@material-ui/core/Icon\";\nconst useStyles = makeStyles(styles);\n\nconst DataLatestNews = function (_ref) {\n let {\n backend,\n news\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"news\"]);\n\n const classes = useStyles();\n const latnews = news.map(data => {\n return __jsx(Grid, {\n align: \"center\",\n style: {\n padding: \"30px\",\n marginTop: \"-50px\"\n }\n }, __jsx(Card, {\n style: {\n width: \"20rem\"\n }\n }, __jsx(\"img\", {\n style: {\n height: \"180px\",\n width: \"100%\",\n display: \"block\"\n },\n className: classes.imgCardTop,\n src: `${backend}${data.img[0][\"url\"]}`\n }), __jsx(CardBody, null, __jsx(\"p\", null, data.title), __jsx(\"p\", null, data.published_at), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/suzuki/latest_news/latestnews_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Read More\"))));\n });\n return __jsx(\"div\", {\n className: classes.section,\n id: \"notifications\"\n }, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h2\", null, \"Latest News\")), __jsx(\"div\", {\n align: \"center\"\n }, latnews), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(Paginations, {\n pages: [{\n text: \"PREV\"\n }, {\n text: 1\n }, {\n text: 2\n }, {\n active: true,\n text: 3\n }, {\n text: 4\n }, {\n text: 5\n }, {\n text: \"NEXT\"\n }],\n color: \"info\"\n })));\n};\n\nexport default DataLatestNews;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\"; // nodejs library that concatenates classes\n\nimport classNames from \"classnames\"; // react components for routing our app without refresh\n\nimport Link from \"next/link\"; // @material-ui/core components\n\nimport { makeStyles } from \"@material-ui/core/styles\"; // @material-ui/icons\n// core components\n\nimport Header from \"components/Header/Header.js\";\nimport HeaderLinks from \"components/Header/HeaderLinks.js\";\nimport Footer from \"components/Footer/Footer.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport GridItem from \"components/Grid/GridItem.js\";\nimport TataKelola from \"pages-sections/yamaha/about_us/tata_kelola.js\";\nimport Parallax from \"components/Parallax/Parallax.js\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/components.js\";\nconst useStyles = makeStyles(styles);\n\nconst Tatakelola = function (_ref) {\n let {\n backend,\n businessPartners,\n service,\n carousel\n } = _ref,\n props = _objectWithoutProperties(_ref, [\"backend\", \"businessPartners\", \"service\", \"carousel\"]);\n\n const classes = useStyles();\n const rest = Object.assign({}, props);\n return __jsx(\"div\", null, __jsx(Header, _extends({\n rightLinks: __jsx(HeaderLinks, null),\n fixed: true,\n color: \"info\",\n changeColorOnScroll: {\n height: 400,\n color: \"white\"\n }\n }, rest)), __jsx(Parallax, {\n image: require(\"assets/img/aboutus.jpg\"),\n width: \"200px\"\n }, __jsx(\"div\", {\n className: classes.container\n }, __jsx(GridContainer, null, __jsx(GridItem, null)))), __jsx(\"div\", {\n className: classNames(classes.main, classes.mainRaised)\n }, __jsx(TataKelola, null)), __jsx(Footer, null));\n};\n\nexport default Tatakelola;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar __jsx = React.createElement;\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Select from 'react-select';\nimport Button from \"components/CustomButtons/Button.js\";\nimport Icon from \"@material-ui/core/Icon\";\nimport styles from \"assets/jss/nextjs-material-kit/pages/componentsSections/notificationsStyles.js\";\nimport Card from \"components/Card/Card.js\";\nimport CardBody from \"components/Card/CardBody.js\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport SnackbarContent from \"components/Snackbar/SnackbarContent.js\";\nvar useStyles = makeStyles(styles);\n\nvar DataApparel = function DataApparel(_ref) {\n var selected = _ref.selected,\n handleName = _ref.handleName,\n backend = _ref.backend,\n apparel = _ref.apparel,\n asia = _ref.asia,\n basic = _ref.basic,\n merchand = _ref.merchand,\n maxi = _ref.maxi,\n rainsuit = _ref.rainsuit,\n motogp = _ref.motogp,\n offroad = _ref.offroad,\n props = _objectWithoutProperties(_ref, [\"selected\", \"handleName\", \"backend\", \"apparel\", \"asia\", \"basic\", \"merchand\", \"maxi\", \"rainsuit\", \"motogp\", \"offroad\"]);\n\n var classes = useStyles();\n\n var rest = _extends({}, props);\n\n var imageClasses = classNames(classes.imgRaised, classes.imgRoundedCircle, classes.imgFluid);\n var navImageClasses = classNames(classes.imgRounded, classes.imgGallery);\n var ProductApparelRCon = apparel.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n alt: \"...\",\n style: {\n height: \"150px\",\n display: \"block\"\n },\n src: \"\".concat(backend).concat(data.img[\"url\"]),\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/product/apparel_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"))))));\n });\n var ProductApparelAsia = asia.map(function (data) {\n return __jsx(\"div\", {\n style: {\n padding: \"20px\",\n marginTop: \"-40px\"\n }\n }, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\",\n style: {\n width: \"350px\"\n }\n }, __jsx(CardBody, null, __jsx(\"div\", {\n style: {\n padding: \"10px\"\n }\n }, __jsx(\"img\", {\n alt: \"...\",\n style: {\n height: \"150px\",\n display: \"block\"\n },\n src: \"\".concat(backend).concat(data.img[\"url\"]),\n className: navImageClasses\n }), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"h5\", null, data.name), __jsx(\"h5\", null, \"Rp.\", data.price), __jsx(Button, {\n color: \"info\",\n round: true,\n href: \"/yamaha/product/apparel_details?s=\" + data.id\n }, __jsx(Icon, {\n className: classes.icons\n }, \"open_in_new\"), \"Detail Product\"))))));\n });\n return __jsx(\"div\", null, __jsx(Card, {\n className: classes.textCenter,\n align: \"center\"\n }, __jsx(CardBody, null, __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"APPAREL R CONCEPT\"),\n align: \"center\",\n color: \"danger\"\n })), __jsx(GridContainer, {\n justify: \"center\"\n }, ProductApparelRCon)), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(\"div\", {\n align: \"center\",\n className: classes.section,\n id: \"notifications\"\n }, __jsx(SnackbarContent, {\n message: __jsx(\"h4\", null, \"APPAREL 46ASIA\"),\n align: \"center\",\n color: \"danger\"\n })), __jsx(GridContainer, {\n justify: \"center\"\n }, ProductApparelAsia)), __jsx(\"br\", null), __jsx(\"br\", null))));\n};\n\nexport default DataApparel;","map":null,"metadata":{},"sourceType":"module"} |
@@ -0,0 +1 @@ | |||
{"ast":null,"code":"var __jsx = React.createElement;\n\n/*eslint-disable*/\nimport React from \"react\";\nimport classNames from \"classnames\";\nimport { List, ListItem } from \"@material-ui/core\";\nimport { makeStyles } from \"@material-ui/core/styles\";\nimport Favorite from \"@material-ui/icons/Favorite\";\nimport GridContainer from \"components/Grid/GridContainer.js\";\nimport Grid from '@material-ui/core/Grid';\nimport GridItem from \"components/Grid/GridItem.js\";\nimport Paper from '@material-ui/core/Paper';\nimport Card from \"components/Card/Card.js\";\nimport styles from \"assets/jss/nextjs-material-kit/components/footerStyle.js\";\nconst useStyles = makeStyles(styles);\nexport default function Footer(props) {\n const classes = useStyles();\n const {\n whiteFont\n } = props;\n const footerClasses = classNames({\n [classes.footer]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n const aClasses = classNames({\n [classes.a]: true,\n [classes.footerWhiteFont]: whiteFont\n });\n return __jsx(GridItem, {\n xs: 12\n }, __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\",\n style: {\n marginTop: \"-20px\"\n }\n }, __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://cdn.pixabay.com/photo/2016/08/15/18/18/honda-1596081_640.png\",\n style: {\n width: \"300px\",\n padding: \"20px\"\n }\n }), __jsx(\"img\", {\n className: classes.imgCard,\n src: \"https://cdn.pixabay.com/photo/2016/08/15/18/18/honda-1596081_640.png\",\n style: {\n width: \"300px\",\n padding: \"20px\"\n }\n }))), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/honda/home\",\n className: classes.block\n }, \" Home \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/honda/product/product\",\n className: classes.block\n }, \" Product \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/honda/latestsnews\",\n className: classes.block\n }, \" Latest News \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/honda/carrer\",\n className: classes.block\n }, \" Carrer \")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"/honda/about_us/aboutus\",\n className: classes.block\n }, \" About Us \")))), __jsx(\"div\", {\n align: \"center\"\n }, __jsx(List, {\n className: classes.list\n }, __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Facebook\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Instagram\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Twitter\")), __jsx(ListItem, {\n className: classes.inlineBlock\n }, __jsx(\"a\", {\n href: \"#\",\n target: \"_blank\",\n className: classes.block\n }, \"Youtube\")))), __jsx(\"br\", null), __jsx(\"br\", null), __jsx(\"div\", {\n align: \"center\"\n }, \"\\xA9 \", 1900 + new Date().getYear(), \" , All Right Reserved\", \" \", \" by\", \" \", \" @Thamrin Brothers\"), __jsx(\"br\", null), __jsx(\"br\", null));\n}","map":null,"metadata":{},"sourceType":"module"} |