{"version":3,"sources":["webpack:///./Avensia.Common/Features/CustomerService/components/LinkBlockContentArea.tsx","webpack:///./Avensia.Common/Features/Shared/Icon/mail.tsx","webpack:///./Avensia.Common/Features/CustomerService/components/ContactUs.tsx","webpack:///./Avensia.Common/Features/Shared/Icon/glyphs/mail.svg"],"names":["props","for","items","component","innerProps","LinkBlockHolder","children","Array","fill","map","elem","index","Placeholder","key","LinkBlockItem","flexBasis","maxWidth","width","padding","xy","x","y","div","display","flexFlow","justifyContent","marginTop","margin","ContactUsContent","Header","header","Text","text","EmailWrapper","Email","email","section","height","maxHeight","backgroundColor","span","fontSize","marginBottom","fontWeight","letterSpacing","paddingLeft","React","Mail","createElement","defaultProps","module","exports","default"],"mappings":"uJAUe,aAACA,GAad,OAAO,kBAAC,IAAW,CAACC,IAAKD,EAAME,MAAOC,UAAW,SAAAC,GAAc,SAZ1CF,EAYsDE,IATrE,kBAACC,EAAe,eAAKH,GAClBA,EAAMI,SACN,IAAIC,MAAM,GAAGC,KAAK,GAAGC,KAAI,SAACC,EAAMC,GAAU,OACzC,kBAACC,EAAW,CAACC,IAAKF,QANR,IAACT,MAevB,IAAMY,IAAa,GACjBC,UAAW,SACXC,SAAU,SACVC,MAAO,OACPC,QAAS,CACPC,GAAI,aAAa,MAElB,MAAsB,CACrBJ,UAAW,MACXC,SAAU,MACVE,QAAS,CACPE,EAAG,aAAa,IAChBC,EAAG,O,GAKHhB,EAAkB,IAAOiB,IAAI,iBACjCC,QAAS,OACTC,SAAU,WACVC,eAAgB,SAChBC,UAAW,OACV,MAAsB,CACrBD,eAAgB,gBACjB,GAEE,YAAO,qBAAsB,eAAKX,MAGjCF,EAAc,IAAOU,IAAI,2BAC1BR,GAAa,CAChBa,OAAQ,CACNR,GAAI,GAEND,QAAS,CACPC,GAAI,O,2FC1DO,cAAQ,K,OCmBjBS,GAXS,aAAC5B,GAAoB,OAClC,kBAAC4B,EAAgB,KACf,kBAACC,EAAM,KAAE7B,EAAM8B,QACf,kBAACC,EAAI,KAAE/B,EAAMgC,MACb,kBAACC,EAAY,KACX,kBAAC,EAAQ,MACT,kBAACC,EAAK,KAAElC,EAAMmC,UAKK,IAAOC,UAAO,GACrCnB,MAAO,OACPoB,OAAQ,OACRX,UAAW,aAAa,IACxBV,SAAU,OACVE,QAAS,CAAEC,GAAI,aAAa,OAC3B,MAAsB,CACrBH,SAAU,MACVE,QAAS,CAAEC,GAAI,aAAa,MAE9B,EAAAmB,UAAW,aAAa,KACxB,EAAAC,gBAAiB,U,KAGbV,EAAS,IAAOW,OAAI,GACxBjB,QAAS,QACTkB,SAAU,IACVC,aAAc,aAAa,IAC3BC,WAAY,OACZC,cAAe,aAAa,KAC3B,MAAsB,CACrBA,cAAe,aAAa,KAC5BH,SAAU,K,IAGRV,EAAO,IAAOT,MAAG,GACrBmB,SAAU,IACVC,aAAc,aAAa,MAC1B,MAAsB,CACrBD,SAAU,IACVC,aAAc,aAAa,KAG7B,EAAAC,WAAY,O,IAGRV,EAAe,IAAOX,IAAI,CAC9BC,QAAS,SAELW,EAAQ,IAAOM,KAAK,CACxBK,YAAa,aAAa,M,oBC9D5B,IAAIC,EAAQ,EAAQ,GAEpB,SAASC,EAAM/C,GACX,OAAO8C,EAAME,cAAc,MAAMhD,EAAM8C,EAAME,cAAc,IAAI,CAAC,GAAK,OAAO,OAAS,OAAO,YAAc,IAAI,KAAO,OAAO,SAAW,WAAWF,EAAME,cAAc,OAAO,CAAC,EAAI,qUAAqU,UAAY,iBAAiB,KAAO,OAAO,SAAW,UAAU,GAAK,qBAGhkBD,EAAKE,aAAe,CAAC,MAAQ,KAAK,OAAS,KAAK,QAAU,aAE1DC,EAAOC,QAAUJ,EAEjBA,EAAKK,QAAUL","file":"assets/14.chunk.d7d5a0f0ff8c432c8f3b.js","sourcesContent":["import React from 'react';\r\nimport { styled } from '@glitz/react';\r\nimport { EpiProperty } from '@avensia/scope-episerver';\r\nimport { minMediumMediaQuery, small, pixelsToUnit } from 'Shared/Style';\r\nimport { pseudo } from '@glitz/core';\r\n\r\ntype PropType = {\r\n  items: Scope.Property<Scope.ContentArea>;\r\n};\r\n\r\nexport default (props: PropType) => {\r\n  const BlockHolder = (items: React.ReactNode | any) => {\r\n    return (\r\n      !!items && (\r\n        <LinkBlockHolder {...items}>\r\n          {items.children}\r\n          {new Array(4).fill(0).map((elem, index) => (\r\n            <Placeholder key={index} />\r\n          ))}\r\n        </LinkBlockHolder>\r\n      )\r\n    );\r\n  };\r\n  return <EpiProperty for={props.items} component={innerProps => BlockHolder(innerProps)} />;\r\n};\r\n\r\nconst LinkBlockItem = {\r\n  flexBasis: '33.33%',\r\n  maxWidth: '33.33%',\r\n  width: '100%',\r\n  padding: {\r\n    xy: pixelsToUnit(5),\r\n  },\r\n  [minMediumMediaQuery]: {\r\n    flexBasis: '25%',\r\n    maxWidth: '25%',\r\n    padding: {\r\n      x: pixelsToUnit(10),\r\n      y: small,\r\n    },\r\n  },\r\n};\r\n\r\nconst LinkBlockHolder = styled.div({\r\n  display: 'flex',\r\n  flexFlow: 'row wrap',\r\n  justifyContent: 'center',\r\n  marginTop: small,\r\n  [minMediumMediaQuery]: {\r\n    justifyContent: 'space-around',\r\n  },\r\n\r\n  ...pseudo(':first-child > div', { ...LinkBlockItem }),\r\n});\r\n\r\nconst Placeholder = styled.div({\r\n  ...LinkBlockItem,\r\n  margin: {\r\n    xy: 0,\r\n  },\r\n  padding: {\r\n    xy: 0,\r\n  },\r\n});\r\n","import factory from './icon';\r\nimport mail from './glyphs/mail.svg';\r\n\r\nexport default factory(mail);\r\n","import React from 'react';\r\nimport { styled } from '@glitz/react';\r\nimport MailIcon from 'Shared/Icon/mail';\r\nimport { pixelsToUnit, iota, delta, minMediumMediaQuery, epsilon } from 'Shared/Style';\r\n\r\ntype PropType = {\r\n  header: string;\r\n  text: string;\r\n  email: string;\r\n};\r\n\r\nexport default (props: PropType) => (\r\n  <ContactUsContent>\r\n    <Header>{props.header}</Header>\r\n    <Text>{props.text}</Text>\r\n    <EmailWrapper>\r\n      <MailIcon />\r\n      <Email>{props.email}</Email>\r\n    </EmailWrapper>\r\n  </ContactUsContent>\r\n);\r\n\r\nconst ContactUsContent = styled.section({\r\n  width: '100%',\r\n  height: '100%',\r\n  marginTop: pixelsToUnit(50),\r\n  maxWidth: '100%',\r\n  padding: { xy: pixelsToUnit(17) },\r\n  [minMediumMediaQuery]: {\r\n    maxWidth: '50%',\r\n    padding: { xy: pixelsToUnit(23) },\r\n  },\r\n  maxHeight: pixelsToUnit(168),\r\n  backgroundColor: '#F1F1F1',\r\n});\r\n\r\nconst Header = styled.span({\r\n  display: 'block',\r\n  fontSize: delta,\r\n  marginBottom: pixelsToUnit(20),\r\n  fontWeight: 'bold',\r\n  letterSpacing: pixelsToUnit(2),\r\n  [minMediumMediaQuery]: {\r\n    letterSpacing: pixelsToUnit(2.4),\r\n    fontSize: iota,\r\n  },\r\n});\r\nconst Text = styled.div({\r\n  fontSize: epsilon,\r\n  marginBottom: pixelsToUnit(15),\r\n  [minMediumMediaQuery]: {\r\n    fontSize: delta,\r\n    marginBottom: pixelsToUnit(20),\r\n  },\r\n\r\n  fontWeight: 'bold',\r\n});\r\n\r\nconst EmailWrapper = styled.div({\r\n  display: 'flex',\r\n});\r\nconst Email = styled.span({\r\n  paddingLeft: pixelsToUnit(8),\r\n});\r\n","var React = require('react');\n\nfunction Mail (props) {\n    return React.createElement(\"svg\",props,React.createElement(\"g\",{\"id\":\"mail\",\"stroke\":\"none\",\"strokeWidth\":\"1\",\"fill\":\"none\",\"fillRule\":\"evenodd\"},React.createElement(\"path\",{\"d\":\"M1.802 2.646L11 9.085l9.198-6.44A1.258 1.258 0 0019 1.75H3c-.563 0-1.044.38-1.198.896zM1.75 4.44V15c0 .686.564 1.25 1.25 1.25h16c.686 0 1.25-.564 1.25-1.25V4.44l-8.82 6.174a.75.75 0 01-.86 0L1.75 4.44zm20-1.452V15A2.756 2.756 0 0119 17.75H3A2.756 2.756 0 01.25 15V2.988A2.756 2.756 0 013 .25h16a2.756 2.756 0 012.75 2.738z\",\"transform\":\"translate(1 3)\",\"fill\":\"#000\",\"fillRule\":\"nonzero\",\"id\":\"Combined-Shape\"})));\n}\n\nMail.defaultProps = {\"width\":\"24\",\"height\":\"24\",\"viewBox\":\"0 0 24 24\"};\n\nmodule.exports = Mail;\n\nMail.default = Mail;\n"],"sourceRoot":""}