'use strict';

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _addonActions = require('@storybook/addon-actions');

var _react3 = require('@storybook/react');

var _addonKnobs = require('@storybook/addon-knobs');

var _ButtonKnobs = require('../../atoms/buttons/Button/Button.knobs.options');

var _ButtonKnobs2 = _interopRequireDefault(_ButtonKnobs);

var _index = require('./index');

var _index2 = _interopRequireDefault(_index);

var _GenTeaser = require('./GenTeaser.md');

var _GenTeaser2 = _interopRequireDefault(_GenTeaser);

var _index3 = require('../../../index');

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

(0, _react3.storiesOf)('organisms/GenTeaser', module).addDecorator((0, _addonKnobs.withKnobs)({ escapeHTML: false })).add('GenTeaser as Basic', function () {
  var basic = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'Title info here', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'Basic Search Result', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', '#', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    description: (0, _addonKnobs.text)('description', 'A paragraph (from the Greek paragraphos, "to write beside" or "written beside") is a self-contained unit of a discourse in <b>writing dealing with a particular</b> point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.', 'GenTeaser.Description')
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: basic.title }),
      _react2.default.createElement(_index2.default.Description, { description: basic.description })
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as DataCatalog', function () {
  var dataCatalog = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'Title info here', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'School and District Profiles', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'http://profiles.doe.mass.edu/', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    description: (0, _addonKnobs.text)('description', 'The Massachusetts Department of Early and Seconday Education\'s school and district profile exploration tool.', 'GenTeaser.Description'),
    subLinks: (0, _addonKnobs.object)('subLinks', [{
      text: 'Teacher Salaries Report',
      href: 'http://profiles.doe.mass.edu/statereport/teachersalaries.aspx',
      description: 'Total teaching salaries, divided by the number of full-time equivalent teachers, equals the average teacher salary.'
    }, {
      text: 'MCAS Achievement Results',
      href: 'http://profiles.doe.mass.edu/statereport/mcas.aspx',
      description: 'This report contains results for legacy MCAS only.'
    }, {
      text: 'Next Generation MCAS Achievement Results',
      href: 'http://profiles.doe.mass.edu/statereport/nextgenmcas.aspx',
      description: 'This report contains results for Next Generation MCAS only.'
    }, {
      text: 'Per Pupil Expenditures',
      href: 'http://profiles.doe.mass.edu/statereport/ppx.aspx',
      description: "Per pupil expenditures are calculated by dividing a district's operating costs by its average pupil membership (FTEs), including in-district expenditures per pupil and total expenditures per pupil, which includes in-district and out-of-district spending and enrollment."
    }], 'GenTeaser.SubLinks'),
    date: (0, _addonKnobs.text)('date', '01/01/2019', 'GenTeaser.Date'),
    orgs: (0, _addonKnobs.text)('orgs', 'Massachusetts Department of Early and Seconday Education', 'GenTeaser.Orgs'),
    search: {
      placeholder: (0, _addonKnobs.text)('search: placeholder', 'search profiles.doe.mass.edu...', 'GenTeaser.Search'),
      target: (0, _addonKnobs.text)('search: target', 'http://profiles.doe.mass.edu/search/search_new.aspx?leftNavId=11241', 'GenTeaser.Search'),
      queryInput: (0, _addonKnobs.text)('search: queryInput', '', 'GenTeaser.Search'),
      id: (0, _addonKnobs.text)('search: id', 'jahdfjadh', 'GenTeaser.Search')
    },
    stat: (0, _addonKnobs.text)('stat', _react2.default.createElement(
      'span',
      null,
      'Total Items: ',
      _react2.default.createElement(
        'b',
        null,
        '143'
      )
    ), 'GenTeaser.Stat'),
    eyebrow: (0, _addonKnobs.text)('eyebrow', _react2.default.createElement(
      'span',
      null,
      _react2.default.createElement(_index3.Icon, { name: 'catalog', svgWidth: 16, svgHeight: 16 }),
      ' Data Catalog'
    ), 'GenTeaser.Eyebrow')
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(
        _index2.default.Stat,
        null,
        dataCatalog.stat
      ),
      _react2.default.createElement(_index2.default.Eyebrow, { eyebrow: dataCatalog.eyebrow }),
      _react2.default.createElement(_index2.default.Title, { title: dataCatalog.title }),
      _react2.default.createElement(
        _index2.default.Emphasis,
        null,
        _react2.default.createElement(_index2.default.Date, { date: dataCatalog.date }),
        _react2.default.createElement(_index2.default.Orgs, { orgs: dataCatalog.orgs })
      ),
      _react2.default.createElement(_index2.default.Description, { description: dataCatalog.description }),
      _react2.default.createElement(_index2.default.SearchBar, { search: dataCatalog.search }),
      _react2.default.createElement(
        _index2.default.SubLinks,
        null,
        dataCatalog.subLinks.map(function (item) {
          return _react2.default.createElement(_index2.default.KeyAction, item);
        })
      )
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as Dataset', function () {
  var dataset = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'Deer harvest data', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/service-details/deer-harvest-data', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    description: (0, _addonKnobs.text)('description', 'Review the recent white-tailed deer harvest data before heading out to hunt. Though Massachusetts is the 3rd most densely populated state in the country, it is a state where quality deer can be found anywhere. MassWildlife biologists estimate that there are over 100,000 deer statewide. Estimated densities range from about 12-18 per square mile in western and central Massachusetts to over 50 deer per square mile on Martha\'s Vineyard and Nantucket Islands, and certain areas of eastern MA where hunting access is restricted.', 'GenTeaser.Description'),
    eyebrow: (0, _addonKnobs.text)('eyebrow', _react2.default.createElement(
      'span',
      null,
      _react2.default.createElement(_index3.Icon, { name: 'data', svgWidth: 16, svgHeight: 16 }),
      ' Dataset'
    ), 'GenTeaser.Eyebrow'),
    date: (0, _addonKnobs.text)('date', '01/01/2019', 'GenTeaser.Date'),
    orgs: (0, _addonKnobs.text)('orgs', 'Division of Fisheries and Wildlife, Executive Office of Energy and Environmental Affairs', 'GenTeaser.Orgs'),
    tags: (0, _addonKnobs.array)('tags', ['kml', 'xls', 'json', 'csv'], ',', 'GenTeaser.Tags'),
    button: {
      text: (0, _addonKnobs.text)('button: text', 'Show Details', 'GenTeaser.Button'),
      usage: (0, _addonKnobs.select)('button: usage', _ButtonKnobs2.default.usage, 'secondary', 'GenTeaser.Button'),
      theme: (0, _addonKnobs.select)('button: theme', _ButtonKnobs2.default.theme, 'c-primary', 'GenTeaser.Button')
    }
  };
  return _react2.default.createElement(
    _index2.default,
    { onClick: function onClick(e) {
        return (0, _addonActions.action)(e);
      }, onKeyDown: function onKeyDown(e) {
        return (0, _addonActions.action)(e);
      } },
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Eyebrow, { eyebrow: dataset.eyebrow }),
      _react2.default.createElement(_index2.default.Button, { button: dataset.button }),
      _react2.default.createElement(_index2.default.Title, { title: dataset.title }),
      _react2.default.createElement(
        _index2.default.Emphasis,
        null,
        _react2.default.createElement(_index2.default.Date, { date: dataset.date }),
        _react2.default.createElement(_index2.default.Orgs, { orgs: dataset.orgs })
      ),
      _react2.default.createElement(_index2.default.Description, { description: dataset.description }),
      _react2.default.createElement(_index2.default.Tags, { tags: dataset.tags })
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as Data Download', function () {
  var dataDownload = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', '2015 Monthly Electric Customer Migration Data', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/files/documents/2018/06/15/2015%20Annual%20Electric%20Monthly%20Migration-Complete.xlxs', 'GenTeaser.Title'),
      icon: 'download',
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', true, 'GenTeaser.Title'),
      details: '(30 MB)'
    },
    description: (0, _addonKnobs.text)('description', 'Jun 15, 2018 <b>...</b> <b>Annual Electric</b>. <b>Migration</b>. 2,015,302. 18,322,632,032. 758,696 .... <b>Monthly</b>  Competitive Supply Load Served (2015). State. Lg C &amp; I. Med C &amp; I.', 'GenTeaser.Description'),
    date: (0, _addonKnobs.text)('date', 'Updated on 9/06/2019', 'GenTeaser.Date'),
    orgs: (0, _addonKnobs.text)('orgs', 'Department of Public Health, Executive Office of Health and Human Services', 'GenTeaser.Orgs')
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: dataDownload.title }),
      _react2.default.createElement(
        _index2.default.Emphasis,
        null,
        _react2.default.createElement(_index2.default.Date, { date: dataDownload.date }),
        _react2.default.createElement(_index2.default.Orgs, { orgs: dataDownload.orgs })
      ),
      _react2.default.createElement(_index2.default.Description, { description: dataDownload.description })
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as News', function () {
  var news = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'State public health officials announce two new confirmed human cases of EEE', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/news/state-public-health-officials-announce-two-new-confirmed-human-cases-of-eee', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    eyebrow: (0, _addonKnobs.text)('eyebrow', 'Press Release', 'GenTeaser.Eyebrow'),
    description: (0, _addonKnobs.text)('description', 'The Massachusetts Department of Public Health (DPH) today announced that laboratory testing has confirmed two new cases of Eastern ...', 'GenTeaser.Description'),
    date: (0, _addonKnobs.text)('date', '9/06/2019', 'GenTeaser.Date'),
    orgs: (0, _addonKnobs.text)('orgs', 'Bureau of Substance Addiction Services, Department of Mental Health, Department of Public Health, Executive Office of Health and Human Services', 'GenTeaser.Orgs')
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Eyebrow, { eyebrow: news.eyebrow }),
      _react2.default.createElement(_index2.default.Title, { title: news.title }),
      _react2.default.createElement(
        _index2.default.Emphasis,
        null,
        _react2.default.createElement(_index2.default.Date, { date: news.date }),
        _react2.default.createElement(_index2.default.Orgs, { orgs: news.orgs })
      ),
      _react2.default.createElement(_index2.default.Description, { description: news.description })
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser  as Laws and Regs', function () {
  var regulation = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', '101 CMR 350.00: Home Health Services', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/regulations/101-CMR-35000-home-health-services', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    eyebrow: (0, _addonKnobs.text)('eyebrow', 'Regulation', 'GenTeaser.Eyebrow'),
    description: (0, _addonKnobs.text)('description', 'This is an unofficial version of Commonwealth regulations and is posted here for the convenience of the public. It is not an official statement of the regulations.', 'GenTeaser.Description'),
    date: (0, _addonKnobs.text)('date', '7/12/2019', 'GenTeaser.Date'),
    orgs: (0, _addonKnobs.text)('orgs', 'Executive Office of Health and Human Services', 'GenTeaser.Orgs')
  };
  var law = {
    title: {
      info: 'This is the info',
      text: 'General Law - Part I, Title XV, Chapter 93, Section 78',
      href: 'https://malegislature.gov/Laws/GeneralLaws/PartI/TitleXV/Chapter93/Section78',
      showFileIcon: false
    },
    eyebrow: 'General Law',
    description: "''Contract for health club services'', a contract which has the primary purpose of providing a person with the right to use the facilities of a health club or with ..",
    date: '7/13/2019',
    orgs: 'Massachusetts Legislature',
    subLinks: [{
      text: 'Search Sections within this Chapter',
      href: 'http://malegislature.gov/Laws/GeneralLaws/PartI/TitleXV/Chapter93'
    }, {
      text: 'Search for General Laws',
      href: 'http://malegislature.gov/Laws/GeneralLaws'
    }]
  };
  return _react2.default.createElement(
    _react2.default.Fragment,
    null,
    _react2.default.createElement(
      _index2.default,
      null,
      _react2.default.createElement(
        _index2.default.Details,
        null,
        _react2.default.createElement(_index2.default.Eyebrow, { eyebrow: regulation.eyebrow }),
        _react2.default.createElement(_index2.default.Title, { title: regulation.title }),
        _react2.default.createElement(
          _index2.default.Emphasis,
          null,
          _react2.default.createElement(_index2.default.Date, { date: regulation.date }),
          _react2.default.createElement(_index2.default.Orgs, { orgs: regulation.orgs })
        ),
        _react2.default.createElement(_index2.default.Description, { description: regulation.description })
      )
    ),
    _react2.default.createElement(
      _index2.default,
      null,
      _react2.default.createElement(
        _index2.default.Details,
        null,
        _react2.default.createElement(_index2.default.Eyebrow, { eyebrow: law.eyebrow }),
        _react2.default.createElement(_index2.default.Title, { title: law.title }),
        _react2.default.createElement(
          _index2.default.Emphasis,
          null,
          _react2.default.createElement(_index2.default.Date, { date: law.date }),
          _react2.default.createElement(_index2.default.Orgs, { orgs: law.orgs })
        ),
        _react2.default.createElement(_index2.default.Description, { description: law.description }),
        _react2.default.createElement(
          _index2.default.SubLinks,
          null,
          law.subLinks.map(function (item) {
            return _react2.default.createElement(_index2.default.KeyAction, item);
          })
        )
      )
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as Services', function () {
  var service = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'SNAP outreach', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/snap-outreach', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    eyebrow: (0, _addonKnobs.text)('eyebrow', 'General Law', 'GenTeaser.Eyebrow'),
    description: (0, _addonKnobs.text)('description', 'If you are a client, you can get help with you SNAP case and benefits through a SNAP outreach partner. You can find SNAP outreach ... Contact Information ...', 'GenTeaser.Description'),
    subLinks: (0, _addonKnobs.object)('subLinks', [{
      text: 'Apply for SNAP benefits (food stamps)',
      href: 'https://www.mass.gov/how-to/apply-for-snap-benefits-food-stamps'
    }, {
      text: 'Snap Outreach For Partners',
      href: 'https://www.mass.gov/service-details/snap-outreach-for-partners'
    }], 'GenTeaser.SubLinks')
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: service.title }),
      _react2.default.createElement(_index2.default.Description, { description: service.description }),
      _react2.default.createElement(
        _index2.default.SubLinks,
        null,
        service.subLinks.map(function (link) {
          return _react2.default.createElement(_index2.default.KeyAction, link);
        })
      )
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser (State Org)', function () {
  var stateOrg = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'MassHire Department of Career Services', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/orgs/masshire-department-of-career-services', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    description: (0, _addonKnobs.text)('description', 'The MassHire Department of Career Services provides job seekers with a variety of job assistance services, ... How to Access State Jobs - Information Session.', 'GenTeaser.Description'),
    phone: {
      number: (0, _addonKnobs.text)('phone: number', '6176265300', 'GenTeaser.PrimaryInfo'),
      details: (0, _addonKnobs.text)('phone: details', '8:30 a.m. - 4:30 p.m. weekdays', 'GenTeaser.PrimaryInfo')
    },
    email: {
      email: (0, _addonKnobs.text)('email', 'DCSFeedback@MassMail.State.MA.US', 'GenTeaser.SecondaryInfo')
    },
    locations: {
      icon: (0, _addonKnobs.text)('locations: icon', 'marker', 'GenTeaser.PrimaryInfo'),
      href: (0, _addonKnobs.text)('locations: href', 'https://www.mass.gov/orgs/masshire-department-of-career-services/locations', 'GenTeaser.PrimaryInfo'),
      text: (0, _addonKnobs.text)('locations: text', 'MassHire Department of Career Services Locations', 'GenTeaser.PrimaryInfo')
    },
    infodetails: {
      icon: (0, _addonKnobs.text)('infodetails: icon', 'laptop', 'GenTeaser.SecondaryInfo'),
      text: (0, _addonKnobs.text)('infodetails: text', 'Find a job with MassHire JobQuest', 'GenTeaser.SecondaryInfo'),
      href: (0, _addonKnobs.text)('infodetails: href', 'https://jobquest.detma.org/jobquest/Default.aspx', 'GenTeaser.SecondaryInfo')
    }
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: stateOrg.title }),
      _react2.default.createElement(_index2.default.Description, { description: stateOrg.description }),
      _react2.default.createElement(
        _index2.default.MoreInfo,
        null,
        _react2.default.createElement(
          _index2.default.PrimaryInfo,
          null,
          _react2.default.createElement(_index2.default.Phone, stateOrg.phone),
          _react2.default.createElement(_index2.default.InfoDetails, stateOrg.locations)
        ),
        _react2.default.createElement(
          _index2.default.SecondaryInfo,
          null,
          _react2.default.createElement(_index2.default.Email, stateOrg.email),
          _react2.default.createElement(_index2.default.InfoDetails, stateOrg.infodetails)
        )
      )
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as Location', function () {
  var location = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'Haverhill RMV Service Center', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/locations/haverhill-rmv-service-center', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    description: (0, _addonKnobs.text)('description', 'Aug 29, 2019 ... 229c Lincoln Avenue, Haverhill, MA 01830. directions · Start your application online See and compare wait times at RMV Service Centers in ...', 'GenTeaser.Description'),
    address: {
      address: (0, _addonKnobs.text)('address: address', '229c Lincoln Avenue<br>Haverhill, MA 01830<br>United States', 'GenTeaser.PrimaryInfo'),
      directionLink: (0, _addonKnobs.text)('address: directionLink', 'https://maps.google.com/?q=229c+Lincoln+Avenue%2C+Haverhill%2C+MA+01830', 'GenTeaser.PrimaryInfo'),
      details: (0, _addonKnobs.text)('address: details', 'details', 'Monday - Friday: 9:00 am-5:00 pm', 'GenTeaser.PrimaryInfo')
    }
  };

  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: location.title }),
      _react2.default.createElement(_index2.default.Description, { description: location.description }),
      _react2.default.createElement(
        _index2.default.MoreInfo,
        null,
        _react2.default.createElement(
          _index2.default.PrimaryInfo,
          null,
          _react2.default.createElement(_index2.default.Address, location.address)
        )
      )
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser as Event', function () {
  var startTime = new Date(2019, 7, 12, 13, 0, 0);
  var endTime = new Date(2019, 7, 17, 16, 0, 0);
  var event = {
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'Job Fair 2019', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/locations/haverhill-rmv-service-center', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    orgs: (0, _addonKnobs.text)('orgs', 'MassHire Department of Career Services', 'GenTeaser.Orgs'),
    description: (0, _addonKnobs.text)('description', 'Jul 17, 2019 ... offered by. MassHire Department of Career Services. show 0 more. related to. MassHire Plymouth Career Center · MassHire ... Job Fair 2019.', 'GenTeaser.Description'),
    address: {
      address: (0, _addonKnobs.text)('address: address', 'Kingston Collection 101 Kingston Collection Way<br>Kingston MA 02364', 'GenTeaser.PrimaryInfo'),
      directionLink: (0, _addonKnobs.text)('address: directionLink', 'https://maps.google.com/?q=Kingston+Collection+101+Kingston+Collection+Way+Kingston+MA+02364', 'GenTeaser.PrimaryInfo'),
      details: (0, _addonKnobs.text)('address: details', 'details', '', 'GenTeaser.PrimaryInfo')
    },
    event: {
      startDate: startTime,
      endDate: endTime,
      details: (0, _addonKnobs.text)('details', 'First come first serve.'),
      location: '324-R Clark Street, Worcester MA 01606',
      description: 'Go to this link https://www.mass.gov/',
      title: 'Title here',
      calendars: [{
        text: 'iCal or Outlook',
        type: 'outlook'
      }, {
        text: 'Yahoo Calendar',
        type: 'yahoo'
      }, {
        text: 'Google Calendar',
        type: 'google'
      }]
    }
  };
  return _react2.default.createElement(
    _index2.default,
    null,
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: event.title }),
      _react2.default.createElement(
        _index2.default.Emphasis,
        null,
        _react2.default.createElement(_index2.default.Orgs, { orgs: event.orgs })
      ),
      _react2.default.createElement(_index2.default.Description, { description: event.description }),
      _react2.default.createElement(
        _index2.default.MoreInfo,
        null,
        _react2.default.createElement(
          _index2.default.PrimaryInfo,
          null,
          _react2.default.createElement(_index2.default.Event, event.event)
        ),
        _react2.default.createElement(
          _index2.default.SecondaryInfo,
          null,
          _react2.default.createElement(_index2.default.Address, event.address)
        )
      )
    )
  );
}, { info: _GenTeaser2.default }).add('GenTeaser with Image', function () {
  var teaser = {
    stacked: (0, _addonKnobs.boolean)('image: stacked', false),
    align: (0, _addonKnobs.select)('image: align', ['top', 'center'], 'top'),
    title: {
      info: (0, _addonKnobs.text)('title: info', 'This is the info', 'GenTeaser.Title'),
      text: (0, _addonKnobs.text)('title: text', 'Job Fair 2019', 'GenTeaser.Title'),
      href: (0, _addonKnobs.text)('title: href', 'https://www.mass.gov/locations/haverhill-rmv-service-center', 'GenTeaser.Title'),
      showFileIcon: (0, _addonKnobs.boolean)('title: showFileIcon', false, 'GenTeaser.Title')
    },
    description: (0, _addonKnobs.text)('description', 'Jul 17, 2019 ... offered by. MassHire Department of Career Services. show 0 more. related to. MassHire Plymouth Career Center · MassHire ... Job Fair 2019.', 'GenTeaser.Description'),
    img: {
      src: 'https://via.placeholder.com/150',
      alt: '',
      shape: 'circular'
    }
  };
  return _react2.default.createElement(
    _index2.default,
    { stacked: teaser.stacked, align: teaser.align },
    _react2.default.createElement(_index2.default.Image, { img: teaser.img }),
    _react2.default.createElement(
      _index2.default.Details,
      null,
      _react2.default.createElement(_index2.default.Title, { title: teaser.title }),
      _react2.default.createElement(_index2.default.Description, { description: teaser.description })
    )
  );
}, { info: _GenTeaser2.default });