{"version":3,"sources":["webpack:///./src/pages/Latest/index.jsx","webpack:///./src/components/Layout/SEOHelmet.jsx","webpack:///./node_modules/@material-ui/core/esm/Grid/Grid.js"],"names":["useStyles","makeStyles","theme","root","flexGrow","paper","padding","spacing","margin","maxWidth","image","width","height","img","display","maxHeight","headmenu","overflow","whiteSpace","marginBottom","menubutton","textAlign","textDecoration","menubuttonactive","borderBottom","borderBottomWidth","borderBottomStyle","borderBottomColor","seodata","FrontGrid","data","classes","className","title","description","location","to","variant","color","container","item","xs","sm","latest","edges","map","index","node","key","frontmatter","path","style","cursor","alt","src","toc","direction","dateChanged","timeToRead","latestfaq","props","defaultTitle","titleTemplate","charSet","httpEquiv","content","name","rel","href","property","lang","SPACINGS","GRID_SIZES","getOffset","val","div","arguments","length","undefined","parse","parseFloat","concat","String","replace","Grid","ref","_props$alignContent","alignContent","_props$alignItems","alignItems","classNameProp","_props$component","component","Component","_props$container","_props$direction","_props$item","_props$justify","justify","_props$lg","lg","_props$md","md","_props$sm","_props$spacing","_props$wrap","wrap","_props$xl","xl","_props$xs","_props$zeroMinWidth","zeroMinWidth","other","StyledGrid","boxSizing","flexWrap","minWidth","flexDirection","justifyContent","breakpoint","styles","forEach","themeSpacing","generateGutter","breakpoints","keys","reduce","accumulator","globalStyles","size","Math","round","flexBasis","up","generateGrid"],"mappings":"6FAAA,4JAWMA,EAAYC,aAAW,SAACC,GAAD,MAAY,CACvCC,KAAM,CACJC,SAAU,GAEZC,MAAO,CACLC,QAASJ,EAAMK,QAAQ,GACvBC,OAAQN,EAAMK,QAAQ,GACtBE,SAAU,KAEZC,MAAO,CACLC,MAAO,GACPC,OAAQ,IAEVC,IAAK,CACHL,OAAQ,OACRM,QAAS,QACTL,SAAU,OACVM,UAAW,QAEbC,SAAU,CACRC,SAAS,OACTC,WAAW,SACXC,aAAc,IAEhBC,WAAY,CACVN,QAAQ,eACRO,UAAU,SACVf,QAAS,GACTgB,eAAe,QAEjBC,iBAAkB,CAChBT,QAAQ,eACR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AAIyE,OAAOR,EAAUiD,EAAc,IAC3C/G,MAAO,eAAesE,OAAOR,EAAUiD,GAAe,KACtD,YAAa,CACXpH,QAASmE,EAAUiD,EAAc,SAIhCF,EAgIJG,CAAezH,EAAO,MAAOA,EAAM0H,YAAYC,KAAKC,QAAO,SAAUC,EAAa/E,GAGnF,OApMJ,SAAsBgF,EAAc9H,EAAOqH,GACzC,IAAIC,EAAS,GACbhD,EAAWiD,SAAQ,SAAUQ,GAC3B,IAAIjF,EAAM,QAAQiC,OAAOsC,EAAY,KAAKtC,OAAOgD,GAEjD,IAAa,IAATA,EAUJ,GAAa,SAATA,EAAJ,CAUA,IAAItH,EAAQ,GAAGsE,OAAOiD,KAAKC,MAAMF,EAAO,GAAK,KAAQ,IAAM,KAG3DT,EAAOxE,GAAO,CACZoF,UAAWzH,EACXP,SAAU,EACVK,SAAUE,QAfV6G,EAAOxE,GAAO,CACZoF,UAAW,OACXhI,SAAU,EACVK,SAAU,aAZZ+G,EAAOxE,GAAO,CACZoF,UAAW,EACXhI,SAAU,EACVK,SAAU,WAyBG,OAAf8G,EACF,YAASS,EAAcR,GAEvBQ,EAAa9H,EAAM0H,YAAYS,GAAGd,IAAeC,EA6JjDc,CAAaP,EAAa7H,EAAO8C,GAC1B+E,IACN,OA4C+B,CAClC7D,KAAM,WADS,CAEdkB,GAmBY","file":"component---src-pages-latest-index-jsx-1d917f3e69f4d78e0d20.js","sourcesContent":["import React from 'react'\nimport { Link, graphql } from \"gatsby\"\nimport { makeStyles } from '@material-ui/core/styles'\nimport Grid from '@material-ui/core/Grid'\nimport Paper from '@material-ui/core/Paper'\nimport Typography from '@material-ui/core/Typography'\nimport ButtonBase from '@material-ui/core/ButtonBase'\n\nimport SEOHelmet from '../../components/Layout/SEOHelmet'\n\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n flexGrow: 1\n },\n paper: {\n padding: theme.spacing(1),\n margin: theme.spacing(1),\n maxWidth: 425\n },\n image: {\n width: 50,\n height: 50\n },\n img: {\n margin: 'auto',\n display: 'block',\n maxWidth: '100%',\n maxHeight: '100%'\n },\n headmenu: {\n overflow: `auto`,\n whiteSpace: `nowrap`,\n marginBottom: 35\n }, \n menubutton: {\n display: `inline-block`,\n textAlign: `center`,\n padding: 14,\n textDecoration: `none`\n },\n menubuttonactive: {\n display: `inline-block`,\n textAlign: `center`,\n padding: `14px 14px 7px 14px`,\n textDecoration: `none`,\n borderBottom: `3px solid #2f78f9`,\n borderBottomWidth: 3,\n borderBottomStyle: `solid`,\n borderBottomColor: `rgb(47, 120, 249)`\n }\n}))\n\n\nconst seodata = {\n title: 'INSTAR Wiki :: Knowledgebase for IP Cameras and Network Surveillance',\n description: 'INSTAR is one of the best-known brands of high quality security technology developed in Germany. INSTAR offers indoor / outdoor IP cameras / surveillance cameras and also offers a unique cloud capture platform including false alarms and object detection. All INSTAR cameras are & quot; not & quot; Cloud-bound and can be integrated easily without Internet in the local network via LAN, WLAN or PoE. No matter which surveillance camera of INSTAR you use, all cameras are compatible with third-party systems such as. Synology, QNAP, Asustor, Netgear, Luxone, KNX, Homeatic and many more. As a supplier of WLAN network cameras, HD IP cameras, controllable IP cameras, IP cameras with infrared night vision as well as PoE injectors, Gigabit PoE injectors, Powerline adapters, routers, switches, motion detectors with PIR and microwaves, microphones, lenses, a patented heater, INSTAR also offers additional accessories for your IP surveillance camera.',\n image: '/images/Search/QI_SearchThumb_SetupWizard.png'\n}\n\n\nexport default function FrontGrid({data}) {\n const classes = useStyles();\n\n return (\n
\n\n \n\n
\n \n Accueil\n \n \n Dernièr\n \n \n Populaire\n \n \n Smarthome\n \n \n Recherchez\n \n
\n\n \n \n\n Latest Articles\n
\n\n {data.latest.edges.map(({ node }, index) => (\n \n \n \n \n \n \"complex\"\n \n \n \n \n \n \n \n \n {node.frontmatter.title}\n \n \n {node.frontmatter.dateChanged}\n \n \n \n \n \n {node.timeToRead} Min\n \n \n \n \n ))}\n\n
\n \n\n Latest FAQs\n
\n \n {data.latestfaq.edges.map(({ node }, index) => (\n \n \n \n \n \n \"complex\"\n \n \n \n \n \n \n \n \n {node.frontmatter.title}\n \n \n {node.frontmatter.dateChanged}\n \n \n \n \n \n {node.timeToRead} Min\n \n \n \n \n ))}\n\n
\n
\n
\n );\n}\n\n\nexport const LatestPageQuery = graphql`\n query LatestPageQuery {\n latest: allMarkdownRemark(sort: {order: DESC, fields: frontmatter___dateChanged}, limit: 50, filter: {frontmatter: {chapter: {ne: \"FAQs\"}}}) {\n edges {\n node {\n id\n frontmatter {\n dateChanged\n title\n path\n toc\n chapter\n }\n timeToRead\n }\n }\n }\n latestfaq: allMarkdownRemark(sort: {order: DESC, fields: frontmatter___dateChanged}, limit: 50, filter: {frontmatter: {chapter: {eq: \"FAQs\"}}}) {\n edges {\n node {\n id\n frontmatter {\n dateChanged\n title\n path\n toc\n chapter\n }\n timeToRead\n }\n }\n }\n }\n`\n","import React from 'react'\nimport Helmet from 'react-helmet'\n\n\n\nexport default (props) => (\n \n \n \n \n \n \n\n {/* General tags */}\n {props.title}\n \n \n\n {/* OpenGraph tags */}\n \n \n \n \n \n \n\n {/* Twitter Card tags */}\n \n \n \n \n \n \n\n \n \n \n)\n\n","import \"core-js/modules/es.array.reduce.js\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\"; // A grid component using the following libs as inspiration.\n//\n// For the implementation:\n// - https://getbootstrap.com/docs/4.3/layout/grid/\n// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css\n// - https://github.com/roylee0704/react-flexbox-grid\n// - https://material.angularjs.org/latest/layout/introduction\n//\n// Follow this flexbox Guide to better understand the underlying model:\n// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport requirePropFactory from '../utils/requirePropFactory';\nvar SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\nvar GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];\n\nfunction generateGrid(globalStyles, theme, breakpoint) {\n var styles = {};\n GRID_SIZES.forEach(function (size) {\n var key = \"grid-\".concat(breakpoint, \"-\").concat(size);\n\n if (size === true) {\n // For the auto layouting\n styles[key] = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n return;\n }\n\n if (size === 'auto') {\n styles[key] = {\n flexBasis: 'auto',\n flexGrow: 0,\n maxWidth: 'none'\n };\n return;\n } // Keep 7 significant numbers.\n\n\n var width = \"\".concat(Math.round(size / 12 * 10e7) / 10e5, \"%\"); // Close to the bootstrap implementation:\n // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41\n\n styles[key] = {\n flexBasis: width,\n flexGrow: 0,\n maxWidth: width\n };\n }); // No need for a media query for the first size.\n\n if (breakpoint === 'xs') {\n _extends(globalStyles, styles);\n } else {\n globalStyles[theme.breakpoints.up(breakpoint)] = styles;\n }\n}\n\nfunction getOffset(val) {\n var div = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var parse = parseFloat(val);\n return \"\".concat(parse / div).concat(String(val).replace(String(parse), '') || 'px');\n}\n\nfunction generateGutter(theme, breakpoint) {\n var styles = {};\n SPACINGS.forEach(function (spacing) {\n var themeSpacing = theme.spacing(spacing);\n\n if (themeSpacing === 0) {\n return;\n }\n\n styles[\"spacing-\".concat(breakpoint, \"-\").concat(spacing)] = {\n margin: \"-\".concat(getOffset(themeSpacing, 2)),\n width: \"calc(100% + \".concat(getOffset(themeSpacing), \")\"),\n '& > $item': {\n padding: getOffset(themeSpacing, 2)\n }\n };\n });\n return styles;\n} // Default CSS values\n// flex: '0 1 auto',\n// flexDirection: 'row',\n// alignItems: 'flex-start',\n// flexWrap: 'nowrap',\n// justifyContent: 'flex-start',\n\n\nexport var styles = function styles(theme) {\n return _extends({\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `container={true}`. */\n container: {\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%'\n },\n\n /* Styles applied to the root element if `item={true}`. */\n item: {\n boxSizing: 'border-box',\n margin: '0' // For instance, it's useful when used with a `figure` element.\n\n },\n\n /* Styles applied to the root element if `zeroMinWidth={true}`. */\n zeroMinWidth: {\n minWidth: 0\n },\n\n /* Styles applied to the root element if `direction=\"column\"`. */\n 'direction-xs-column': {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `direction=\"column-reverse\"`. */\n 'direction-xs-column-reverse': {\n flexDirection: 'column-reverse'\n },\n\n /* Styles applied to the root element if `direction=\"row-reverse\"`. */\n 'direction-xs-row-reverse': {\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `wrap=\"nowrap\"`. */\n 'wrap-xs-nowrap': {\n flexWrap: 'nowrap'\n },\n\n /* Styles applied to the root element if `wrap=\"reverse\"`. */\n 'wrap-xs-wrap-reverse': {\n flexWrap: 'wrap-reverse'\n },\n\n /* Styles applied to the root element if `alignItems=\"center\"`. */\n 'align-items-xs-center': {\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-start\"`. */\n 'align-items-xs-flex-start': {\n alignItems: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-end\"`. */\n 'align-items-xs-flex-end': {\n alignItems: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignItems=\"baseline\"`. */\n 'align-items-xs-baseline': {\n alignItems: 'baseline'\n },\n\n /* Styles applied to the root element if `alignContent=\"center\"`. */\n 'align-content-xs-center': {\n alignContent: 'center'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-start\"`. */\n 'align-content-xs-flex-start': {\n alignContent: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-end\"`. */\n 'align-content-xs-flex-end': {\n alignContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-between\"`. */\n 'align-content-xs-space-between': {\n alignContent: 'space-between'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-around\"`. */\n 'align-content-xs-space-around': {\n alignContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"center\"`. */\n 'justify-xs-center': {\n justifyContent: 'center'\n },\n\n /* Styles applied to the root element if `justify=\"flex-end\"`. */\n 'justify-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justify=\"space-between\"`. */\n 'justify-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justify=\"space-around\"`. */\n 'justify-xs-space-around': {\n justifyContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"space-evenly\"`. */\n 'justify-xs-space-evenly': {\n justifyContent: 'space-evenly'\n }\n }, generateGutter(theme, 'xs'), theme.breakpoints.keys.reduce(function (accumulator, key) {\n // Use side effect over immutability for better performance.\n generateGrid(accumulator, theme, key);\n return accumulator;\n }, {}));\n};\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(props, ref) {\n var _props$alignContent = props.alignContent,\n alignContent = _props$alignContent === void 0 ? 'stretch' : _props$alignContent,\n _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'stretch' : _props$alignItems,\n classes = props.classes,\n classNameProp = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$container = props.container,\n container = _props$container === void 0 ? false : _props$container,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'row' : _props$direction,\n _props$item = props.item,\n item = _props$item === void 0 ? false : _props$item,\n _props$justify = props.justify,\n justify = _props$justify === void 0 ? 'flex-start' : _props$justify,\n _props$lg = props.lg,\n lg = _props$lg === void 0 ? false : _props$lg,\n _props$md = props.md,\n md = _props$md === void 0 ? false : _props$md,\n _props$sm = props.sm,\n sm = _props$sm === void 0 ? false : _props$sm,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 0 : _props$spacing,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? 'wrap' : _props$wrap,\n _props$xl = props.xl,\n xl = _props$xl === void 0 ? false : _props$xl,\n _props$xs = props.xs,\n xs = _props$xs === void 0 ? false : _props$xs,\n _props$zeroMinWidth = props.zeroMinWidth,\n zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth,\n other = _objectWithoutProperties(props, [\"alignContent\", \"alignItems\", \"classes\", \"className\", \"component\", \"container\", \"direction\", \"item\", \"justify\", \"lg\", \"md\", \"sm\", \"spacing\", \"wrap\", \"xl\", \"xs\", \"zeroMinWidth\"]);\n\n var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes[\"spacing-xs-\".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== 'row' && classes[\"direction-xs-\".concat(String(direction))], wrap !== 'wrap' && classes[\"wrap-xs-\".concat(String(wrap))], alignItems !== 'stretch' && classes[\"align-items-xs-\".concat(String(alignItems))], alignContent !== 'stretch' && classes[\"align-content-xs-\".concat(String(alignContent))], justify !== 'flex-start' && classes[\"justify-xs-\".concat(String(justify))], xs !== false && classes[\"grid-xs-\".concat(String(xs))], sm !== false && classes[\"grid-sm-\".concat(String(sm))], md !== false && classes[\"grid-md-\".concat(String(md))], lg !== false && classes[\"grid-lg-\".concat(String(lg))], xl !== false && classes[\"grid-xl-\".concat(String(xl))]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: className,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nvar StyledGrid = withStyles(styles, {\n name: 'MuiGrid'\n})(Grid);\n\nif (process.env.NODE_ENV !== 'production') {\n var requireProp = requirePropFactory('Grid');\n StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {\n alignContent: requireProp('container'),\n alignItems: requireProp('container'),\n direction: requireProp('container'),\n justify: requireProp('container'),\n lg: requireProp('item'),\n md: requireProp('item'),\n sm: requireProp('item'),\n spacing: requireProp('container'),\n wrap: requireProp('container'),\n xs: requireProp('item'),\n zeroMinWidth: requireProp('item')\n });\n}\n\nexport default StyledGrid;"],"sourceRoot":""}