{"version":3,"sources":["webpack:///./src/pages/daily-reports.jsx","webpack:///./node_modules/react-bootstrap/esm/CardImg.js","webpack:///./node_modules/react-bootstrap/esm/Card.js","webpack:///./src/components/IntegrationCard/IntegrationCard.jsx","webpack:///./node_modules/react-bootstrap/esm/divWithClassName.js","webpack:///./src/components/HeaderExpanded/HeaderExpanded.jsx","webpack:///./node_modules/react-bootstrap/esm/CardDeck.js"],"names":["DailyReports","useEffect","window","scrollTo","name","content","title","className","md","as","Link","to","fluid","type","CardImg","forwardRef","_ref","ref","bsPrefix","variant","_ref$as","Component","props","prefix","createElement","displayName","defaultProps","DivStyledAsH5","divWithClassName","DivStyledAsH6","CardBody","createWithBsPrefix","CardTitle","CardSubtitle","CardLink","CardText","CardHeader","CardFooter","CardImgOverlay","Card","bg","text","border","body","children","cardContext","cardHeaderBsPrefix","CardContext","Provider","value","Img","Title","Subtitle","Body","Text","Header","Footer","ImgOverlay","IntegrationCard","harvest","subtitle","colour","link","campbell","metris","ricado","property","residues","irrigation","diseasemodels","traplog","sprayview","sprayplanmanager","spraylog","dailyreports","colourStyle","backgroundColor","padding","borderRadius","style","fontWeight","fontSize","p","HeaderExpanded","image","backgroundImageStyle","backgroundImage","backgroundSize","backgroundPosition","backgroundRepeat","noGutters","xs"],"mappings":"8FAAA,wJAmFeA,UA3Ef,WAKE,OAJAC,qBAAU,WACRC,OAAOC,SAAS,EAAG,KAClB,IAGD,oCAEE,kBAAC,IAAD,KACE,+EACA,0BACEC,KAAK,cACLC,QAAQ,mKAKZ,kBAAC,IAAD,CAAgBC,MAAO,kBACvB,kBAAC,IAAD,CAAWC,UAAU,QACnB,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAKC,GAAI,GACP,6LAKA,qJAIA,kMAKA,kBAAC,IAAD,CAAQD,UAAU,OAAOE,GAAIC,OAAMC,GAAI,YAAvC,gCAIF,kBAAC,IAAD,CAAKH,GAAI,GACP,wBAAID,UAAU,cAAd,YACA,4BACE,6IAIA,4IAIA,qJAQR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AAY,MACZC,SAAU,QAewB1E,UAAU,gCACtC,2BAAID,IAEN,kBAAC,EAAK+C,KAAN,CAAW9C,UAAU,aAAaoC,O,yDC9I1C,0DAGgB,gBACd,OAAO,IAAM5B,YAAW,SAAUmE,EAAGjE,GACnC,OAAoB,IAAMO,cAAc,MAAO,YAAS,GAAI0D,EAAG,CAC7DjE,IAAKA,EACLV,UAAW,IAAW2E,EAAE3E,UAAWA,W,kCCPzC,iFA2Ce4E,IAtCf,SAAwB7D,GAAQ,IACtB8D,EAAiB9D,EAAjB8D,MAAO9E,EAAUgB,EAAVhB,MAEX+E,EAAuB,CACzBC,gBAAgB,OAAQF,EAAT,IACfG,eAAgB,QAChBC,mBAAoB,eACpBC,iBAAkB,aAGdlC,EACJ,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAKmC,WAAS,GACZ,kBAAC,IAAD,CAAKC,GAAI,GAAInF,GAAI,EAAGD,UAAU,uCAC5B,4BAAQA,UAAU,4CAA4CD,MAMtE,OAAO8E,EACL,kBAAC,IAAD,CACExE,OAAK,EACLL,UAAU,wEAEV,yBAAKwE,MAAOM,EAAsB9E,UAAU,6BAC3CgD,GAGH,kBAAC,IAAD,CACE3C,OAAK,EACLL,UAAU,kFAETgD,K,2DCtCP,gBACe,gBAAmB,c","file":"component---src-pages-daily-reports-jsx-9f8b6bb73f208a993ffe.js","sourcesContent":["import React, { useEffect } from 'react';\nimport { Col, CardDeck, Container, Row, Button } from 'react-bootstrap';\nimport { Link } from 'gatsby';\nimport HeaderExpanded from '../components/HeaderExpanded/HeaderExpanded';\nimport IntegrationCard from '../components/IntegrationCard/IntegrationCard';\nimport '../styles/daily-reports.scss';\nimport { Helmet } from 'react-helmet';\n\nfunction DailyReports() {\n useEffect(() => {\n window.scrollTo(0, 0);\n }, []);\n\n return (\n <>\n {/* Add meta tags inside here. */}\n \n HortPlus | Daily Weather and Disease Reports\n \n \n \n \n \n \n

\n Get comprehensive weather forecasts for your property straight to\n your inbox from nearby weather stations located in key\n growing-areas throughout New Zealand.\n

\n

\n Weather reports include daily forecasts and hourly forecasts, as\n well as summaries with GDD and Winter Chilling Units.\n

\n

\n Disease reports include interpretations of the weather data to\n identify potential disease risk events for specific crops\n including Apples, Grapes, and Summerfruit.\n

\n \n \n \n
Features
\n
    \n
  • \n Get weather reports and forecasts local to your property\n straight to your inbox in an easy-to-read PDF format\n
  • \n
  • \n Get a broad overview of the upcoming weather situation for your\n local area to make better spraying decisions\n
  • \n
  • \n Detailed disease reports give insight into the potential disease\n risk for your crop relative to your growing area\n
  • \n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default DailyReports;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nvar defaultProps = {\n variant: null\n};\nvar CardImg = React.forwardRef( // Need to define the default \"as\" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595\nfunction (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n variant = _ref.variant,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'img' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"variant\", \"as\"]);\n\n var prefix = useBootstrapPrefix(bsPrefix, 'card-img');\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref,\n className: classNames(variant ? prefix + \"-\" + variant : prefix, className)\n }, props));\n});\nCardImg.displayName = 'CardImg';\nCardImg.defaultProps = defaultProps;\nexport default CardImg;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport { useBootstrapPrefix } from './ThemeProvider';\nimport createWithBsPrefix from './createWithBsPrefix';\nimport divWithClassName from './divWithClassName';\nimport CardContext from './CardContext';\nimport CardImg from './CardImg';\nvar DivStyledAsH5 = divWithClassName('h5');\nvar DivStyledAsH6 = divWithClassName('h6');\nvar CardBody = createWithBsPrefix('card-body');\nvar CardTitle = createWithBsPrefix('card-title', {\n Component: DivStyledAsH5\n});\nvar CardSubtitle = createWithBsPrefix('card-subtitle', {\n Component: DivStyledAsH6\n});\nvar CardLink = createWithBsPrefix('card-link', {\n Component: 'a'\n});\nvar CardText = createWithBsPrefix('card-text', {\n Component: 'p'\n});\nvar CardHeader = createWithBsPrefix('card-header');\nvar CardFooter = createWithBsPrefix('card-footer');\nvar CardImgOverlay = createWithBsPrefix('card-img-overlay');\nvar defaultProps = {\n body: false\n};\nvar Card = React.forwardRef(function (_ref, ref) {\n var bsPrefix = _ref.bsPrefix,\n className = _ref.className,\n bg = _ref.bg,\n text = _ref.text,\n border = _ref.border,\n body = _ref.body,\n children = _ref.children,\n _ref$as = _ref.as,\n Component = _ref$as === void 0 ? 'div' : _ref$as,\n props = _objectWithoutPropertiesLoose(_ref, [\"bsPrefix\", \"className\", \"bg\", \"text\", \"border\", \"body\", \"children\", \"as\"]);\n\n var prefix = useBootstrapPrefix(bsPrefix, 'card');\n var cardContext = useMemo(function () {\n return {\n cardHeaderBsPrefix: prefix + \"-header\"\n };\n }, [prefix]);\n return /*#__PURE__*/React.createElement(CardContext.Provider, {\n value: cardContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: ref\n }, props, {\n className: classNames(className, prefix, bg && \"bg-\" + bg, text && \"text-\" + text, border && \"border-\" + border)\n }), body ?\n /*#__PURE__*/\n // @ts-ignore\n React.createElement(CardBody, null, children) : children));\n});\nCard.displayName = 'Card';\nCard.defaultProps = defaultProps;\nCard.Img = CardImg;\nCard.Title = CardTitle;\nCard.Subtitle = CardSubtitle;\nCard.Body = CardBody;\nCard.Link = CardLink;\nCard.Text = CardText;\nCard.Header = CardHeader;\nCard.Footer = CardFooter;\nCard.ImgOverlay = CardImgOverlay;\nexport default Card;","import React from 'react';\nimport { Link } from 'gatsby';\nimport { Card } from 'react-bootstrap';\nimport './IntegrationCard.scss';\n\n/** Component which takes in a string which corresponds to a specific card */\nfunction IntegrationCard(props) {\n const { type } = props;\n\n const card = {\n harvest: {\n title: 'Harvest Weather Stations',\n subtitle: 'Weather Station Hardware',\n colour: '#28A745',\n body: 'Connect Harvest Weather Stations',\n link: 'https://www.hortplus.com/connect-harvest-weather-station-to-hortplus-network/'\n },\n\n campbell: {\n title: 'Campbell Scientific',\n subtitle: 'Weather Station Hardware',\n colour: '#28A745',\n body: 'Connect Campbell Scientific Weather Stations',\n link: '/technology'\n },\n\n metris: {\n title: 'Metris Nodes',\n subtitle: 'Weather Station Hardware',\n colour: '#28A745',\n body: 'Metris Weather Nodes',\n link: '/technology'\n },\n\n ricado: {\n title: 'Ricado',\n subtitle: 'Weather Data Systems',\n colour: '#28A745',\n body:\n 'Connect Ricado industrial monitoring systems',\n link: '/ricado'\n },\n\n property: {\n title: 'Property ID Systems',\n subtitle: 'Properties & Blocks',\n colour: '#83366D',\n body:\n 'Integrate industry property and block naming systems such as Apple RPINs',\n link: '/technology'\n },\n \n residues: {\n title: 'Residue Testing Data',\n subtitle: 'Data Integration',\n colour: '#D9382E',\n body: 'Integrate with AsureQuality & Hill Labs data',\n link: '/technology'\n },\n\n irrigation: {\n title: 'Irrigation Feeds',\n subtitle: 'Irrigation Monitoring',\n colour: '#48A0B5',\n body: 'Integrate irrigation and recommendation services',\n link: '/technology'\n },\n\n diseasemodels: {\n title: 'Risk Models',\n subtitle: 'Pest & Disease Models',\n colour: '#3F75C6',\n body:\n 'Understand potential crop disease risks with a range of models and indicators',\n link: '/disease-models'\n },\n\n traplog: {\n title: 'HortPlus TrapLog',\n subtitle: 'Pest Monitoring',\n colour: '#691C0A',\n body:\n 'Monitor incidence of pests in the field and report on trapping thresholds',\n link: '/technology'\n },\n\n sprayview: {\n title: 'HortPlus SprayView',\n subtitle: 'Spray Diary Analysis',\n colour: '#4F4F4F',\n body: 'Analyse sprays and residue results at an industry-level',\n link: '/technology'\n },\n\n sprayplanmanager: {\n title: 'HortPlus SprayPlan',\n subtitle: 'Spray Planning',\n colour: '#4F4F4F',\n body:\n 'Determine sensitive areas and hazards for responsible agrichemical use',\n link: '/spray-plan-manager'\n },\n\n spraylog: {\n title: 'HortPlus SprayLog',\n subtitle: 'Spray Diary Entry',\n colour: '#4F4F4F',\n body: 'Record agrichemical spray applications easily',\n link: '/spraylog'\n },\n\n dailyreports: {\n title: 'Daily Email Reports',\n subtitle: 'Notifications',\n colour: '#1285D3',\n body: 'Daily email reports customised for grower locations',\n link: '/daily-reports'\n }\n };\n\n const { title, subtitle, colour, body, link } = card[type];\n\n const fontStyle = {\n fontWeight: '600',\n fontSize: '24px'\n };\n\n const colourStyle = {\n backgroundColor: colour,\n padding: '20px',\n borderRadius: '4px 4px 0 0'\n };\n\n return (\n \n \n \n {subtitle}\n \n \n {title}\n \n {body}\n \n \n );\n}\n\nexport default IntegrationCard;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport React from 'react';\nimport classNames from 'classnames';\nexport default (function (className) {\n return React.forwardRef(function (p, ref) {\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, p, {\n ref: ref,\n className: classNames(p.className, className)\n }));\n });\n});","import React from 'react';\nimport { Col, Container, Row } from 'react-bootstrap';\nimport './HeaderExpanded.scss';\nimport '../HomepageFrames/Frame.scss';\n\nfunction HeaderExpanded(props) {\n const { image, title } = props;\n\n var backgroundImageStyle = {\n backgroundImage: `url(${image})`,\n backgroundSize: 'cover',\n backgroundPosition: 'center right',\n backgroundRepeat: 'no-repeat'\n };\n\n const Header = (\n \n \n \n
{title}
\n \n
\n
\n );\n\n return image ? (\n \n
\n {Header}\n \n ) : (\n \n {Header}\n \n );\n}\n\nexport default HeaderExpanded;\n","import createWithBsPrefix from './createWithBsPrefix';\nexport default createWithBsPrefix('card-deck');"],"sourceRoot":""}