{"version":3,"sources":["webpack:///./node_modules/reactstrap/es/CardBody.js","webpack:///./node_modules/fetch-jsonp/build/fetch-jsonp.js","webpack:///./node_modules/reactstrap/es/CardTitle.js","webpack:///./node_modules/reactstrap/es/Button.js","webpack:///./src/components/Feedback.js","webpack:///./src/components/TagLink.js","webpack:///./src/components/ArticlePageTags.js","webpack:///./src/templates/article-page.js","webpack:///./node_modules/reactstrap/es/Card.js","webpack:///./node_modules/reactstrap/es/CardHeader.js","webpack:///./src/components/TagCard.js","webpack:///./src/components/BodySide.js","webpack:///./node_modules/reactstrap/es/ListGroup.js","webpack:///./src/components/Content.js","webpack:///./node_modules/reactstrap/es/ListGroupItem.js"],"names":["_excluded","CardBody","props","className","cssModule","innerRef","Tag","tag","attributes","classes","createElement","ref","defaultProps","exports","module","defaultOptions","generateCallbackFunction","Date","now","Math","ceil","random","clearFunction","functionName","window","e","undefined","removeScript","scriptId","script","document","getElementById","getElementsByTagName","removeChild","_url","options","arguments","length","url","timeout","jsonpCallback","timeoutId","Promise","resolve","reject","callbackFunction","jsonpCallbackFunction","response","ok","json","clearTimeout","indexOf","jsonpScript","setAttribute","charset","nonce","referrerPolicy","id","appendChild","setTimeout","Error","onerror","_React$Component","Button","_this","call","this","onClick","bind","_proto","prototype","disabled","preventDefault","render","_this$props","active","ariaLabel","block","close","color","outline","size","children","btnOutlineColor","href","defaultAriaLabel","type","Component","Feedback","clickOK","clickNG","sendComment","post","classList","add","remove","comment","value","feedback","endpoint","location","text","fetchJsonp","then","console","log","catch","ex","edges","name","debug","Card","htmlFor","rows","React","TagLink","map","i","node","key","to","fields","slug","frontmatter","title","ArticlePageTags","data","tags","allTags","allTagsYaml","main","tagNames","reduce","obj","groups","allMarkdownRemark","group","fieldValue","includes","query","ArticlePageTemplate","content","contentComponent","description","prev","next","helmet","PostContent","Content","isEnglish","Row","BodySide","lang","Col","md","ArticlePage","updateDimensions","componentDidMount","addEventListener","innerWidth","isApp","navigator","userAgent","toLowerCase","element","componentWillUnmount","removeEventListener","allTagsRemark","markdownRemark","yaml","allCategoriesYaml","categoryEdges","index","forEach","edge","categories","category","Layout","breadcrumbs","link","html","HTMLContent","site","siteMetadata","body","inverse","TagCard","ListGroup","flush","ListGroupItem","tagPages","horizontal","getHorizontalClass","dangerouslySetInnerHTML","__html","handleDisabledOnClick","action"],"mappings":"6FAAA,kFAEIA,EAAY,CAAC,YAAa,YAAa,WAAY,OAQnDC,EAAW,SAAkBC,GAC/B,IAAIC,EAAYD,EAAMC,UAClBC,EAAYF,EAAME,UAClBC,EAAWH,EAAMG,SACjBC,EAAMJ,EAAMK,IACZC,EAAa,YAA8BN,EAAOF,GAElDS,EAAU,YAAgB,IAAWN,EAAW,aAAcC,GAClE,OAAoB,IAAMM,cAAcJ,EAAK,YAAS,GAAIE,EAAY,CACpEL,UAAWM,EACXE,IAAKN,MAITJ,EAASW,aAlBU,CACjBL,IAAK,OAkBQ,O,uBCzBf,UAEI,EAAO,CAAC,EAAW,QAAkB,0BAAP,EAUzB,SAAUM,EAASC,GAC1B,aAEA,IAAIC,EACO,IADPA,EAEa,WAIjB,SAASC,IACP,MAAO,SAAWC,KAAKC,MAAQ,IAAMC,KAAKC,KAAqB,IAAhBD,KAAKE,UAGtD,SAASC,EAAcC,GAGrB,WACSC,OAAOD,GACd,MAAOE,GACPD,OAAOD,QAAgBG,GAI3B,SAASC,EAAaC,GACpB,IAAIC,EAASC,SAASC,eAAeH,GAEjCC,GACFC,SAASE,qBAAqB,QAAQ,GAAGC,YAAYJ,GAmFzDf,EAAOD,QA/EP,SAAoBqB,GAClB,IAAIC,EAAUC,UAAUC,QAAU,QAAsBX,IAAjBU,UAAU,GAAmB,GAAKA,UAAU,GAE/EE,EAAMJ,EACNK,EAAUJ,EAAQI,SAAWxB,EAC7ByB,EAAgBL,EAAQK,eAAiBzB,EACzC0B,OAAYf,EAChB,OAAO,IAAIgB,SAAQ,SAAUC,EAASC,GACpC,IAAIC,EAAmBV,EAAQW,uBAAyB9B,IACpDY,EA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I,K,kCCR9B,kFAEI7I,EAAY,CAAC,YAAa,YAAa,MAAO,SAAU,WAAY,SAAU,SAQ9EmM,EAAwB,SAA+B1K,GACzDA,EAAE+C,kBAGAqH,EAAgB,SAAuB3L,GACzC,IAAIC,EAAYD,EAAMC,UAClBC,EAAYF,EAAME,UAClBE,EAAMJ,EAAMK,IACZoE,EAASzE,EAAMyE,OACfJ,EAAWrE,EAAMqE,SACjB6H,EAASlM,EAAMkM,OACfrH,EAAQ7E,EAAM6E,MACdvE,EAAa,YAA8BN,EAAOF,GAElDS,EAAU,YAAgB,IAAWN,IAAWwE,GAAS,WAAkBJ,GAAW,aAAoB6H,GAAS,2BAAkCrH,GAAQ,mBAAqBA,EAAe,mBAAoB3E,GAMzN,OAJImE,IACF/D,EAAW2D,QAAUgI,GAGH,IAAMzL,cAAcJ,EAAK,YAAS,GAAIE,EAAY,CACpEL,UAAWM,MAIfoL,EAAcjL,aA7BK,CACjBL,IAAK,MA6BQ","file":"component---src-templates-article-page-js-895e39793bf2e60c9565.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"innerRef\", \"tag\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardBody = function CardBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nCardBody.defaultProps = defaultProps;\nexport default CardBody;","(function (global, factory) {\n if (typeof define === 'function' && define.amd) {\n define(['exports', 'module'], factory);\n } else if (typeof exports !== 'undefined' && typeof module !== 'undefined') {\n factory(exports, module);\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, mod);\n global.fetchJsonp = mod.exports;\n }\n})(this, function (exports, module) {\n 'use strict';\n\n var defaultOptions = {\n timeout: 5000,\n jsonpCallback: 'callback',\n jsonpCallbackFunction: null\n };\n\n function generateCallbackFunction() {\n return 'jsonp_' + Date.now() + '_' + Math.ceil(Math.random() * 100000);\n }\n\n function clearFunction(functionName) {\n // IE8 throws an exception when you try to delete a property on window\n // http://stackoverflow.com/a/1824228/751089\n try {\n delete window[functionName];\n } catch (e) {\n window[functionName] = undefined;\n }\n }\n\n function removeScript(scriptId) {\n var script = document.getElementById(scriptId);\n\n if (script) {\n document.getElementsByTagName('head')[0].removeChild(script);\n }\n }\n\n function fetchJsonp(_url) {\n var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; // to avoid param reassign\n\n var url = _url;\n var timeout = options.timeout || defaultOptions.timeout;\n var jsonpCallback = options.jsonpCallback || defaultOptions.jsonpCallback;\n var timeoutId = undefined;\n return new Promise(function (resolve, reject) {\n var callbackFunction = options.jsonpCallbackFunction || generateCallbackFunction();\n var scriptId = jsonpCallback + '_' + callbackFunction;\n\n window[callbackFunction] = function (response) {\n resolve({\n ok: true,\n // keep consistent with fetch API\n json: function json() {\n return Promise.resolve(response);\n }\n });\n if (timeoutId) clearTimeout(timeoutId);\n removeScript(scriptId);\n clearFunction(callbackFunction);\n }; // Check if the user set their own params, and if not add a ? to start a list of params\n\n\n url += url.indexOf('?') === -1 ? '?' : '&';\n var jsonpScript = document.createElement('script');\n jsonpScript.setAttribute('src', '' + url + jsonpCallback + '=' + callbackFunction);\n\n if (options.charset) {\n jsonpScript.setAttribute('charset', options.charset);\n }\n\n if (options.nonce) {\n jsonpScript.setAttribute('nonce', options.nonce);\n }\n\n if (options.referrerPolicy) {\n jsonpScript.setAttribute('referrerPolicy', options.referrerPolicy);\n }\n\n jsonpScript.id = scriptId;\n document.getElementsByTagName('head')[0].appendChild(jsonpScript);\n timeoutId = setTimeout(function () {\n reject(new Error('JSONP request to ' + _url + ' timed out'));\n clearFunction(callbackFunction);\n removeScript(scriptId);\n\n window[callbackFunction] = function () {\n clearFunction(callbackFunction);\n };\n }, timeout); // Caught if got 404/500\n\n jsonpScript.onerror = function () {\n reject(new Error('JSONP request to ' + _url + ' failed'));\n clearFunction(callbackFunction);\n removeScript(scriptId);\n if (timeoutId) clearTimeout(timeoutId);\n };\n });\n } // export as global function\n\n /*\n let local;\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n local.fetchJsonp = fetchJsonp;\n */\n\n\n module.exports = fetchJsonp;\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"tag\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardTitle = function CardTitle(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'card-title'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nCardTitle.defaultProps = defaultProps;\nexport default CardTitle;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nvar _excluded = [\"active\", \"aria-label\", \"block\", \"className\", \"close\", \"cssModule\", \"color\", \"outline\", \"size\", \"tag\", \"innerRef\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n color: 'secondary',\n tag: 'button'\n};\n\nvar Button = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Button, _React$Component);\n\n function Button(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = Button.prototype;\n\n _proto.onClick = function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n\n if (this.props.onClick) {\n return this.props.onClick(e);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n active = _this$props.active,\n ariaLabel = _this$props['aria-label'],\n block = _this$props.block,\n className = _this$props.className,\n close = _this$props.close,\n cssModule = _this$props.cssModule,\n color = _this$props.color,\n outline = _this$props.outline,\n size = _this$props.size,\n Tag = _this$props.tag,\n innerRef = _this$props.innerRef,\n attributes = _objectWithoutPropertiesLoose(_this$props, _excluded);\n\n if (close && typeof attributes.children === 'undefined') {\n attributes.children = /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true\n }, \"\\xD7\");\n }\n\n var btnOutlineColor = \"btn\" + (outline ? '-outline' : '') + \"-\" + color;\n var classes = mapToCssModules(classNames(className, {\n close: close\n }, close || 'btn', close || btnOutlineColor, size ? \"btn-\" + size : false, block ? 'btn-block' : false, {\n active: active,\n disabled: this.props.disabled\n }), cssModule);\n\n if (attributes.href && Tag === 'button') {\n Tag = 'a';\n }\n\n var defaultAriaLabel = close ? 'Close' : null;\n return /*#__PURE__*/React.createElement(Tag, _extends({\n type: Tag === 'button' && attributes.onClick ? 'button' : undefined\n }, attributes, {\n className: classes,\n ref: innerRef,\n onClick: this.onClick,\n \"aria-label\": ariaLabel || defaultAriaLabel\n }));\n };\n\n return Button;\n}(React.Component);\n\nButton.defaultProps = defaultProps;\nexport default Button;","import React from 'react'\nimport PropTypes from 'prop-types'\nimport fetchJsonp from 'fetch-jsonp'\nimport {Card, CardBody, CardTitle, Button} from 'reactstrap'\n\nclass Feedback extends React.Component {\n\n constructor(props) {\n super(props)\n this.clickOK = this.clickOK.bind(this)\n this.clickNG = this.clickNG.bind(this)\n this.sendComment = this.sendComment.bind(this)\n this.post = this.post.bind(this)\n }\n\n clickOK() {\n this.post(1, '')\n document.getElementById('button-area').classList.add('hide')\n document.getElementById('thanks-area').classList.remove('hide')\n }\n\n clickNG() {\n this.post(2, '')\n document.getElementById('button-area').classList.add('hide')\n document.getElementById('comment-area').classList.remove('hide')\n }\n\n sendComment() {\n const comment = document.getElementById('comment-textarea').value\n this.post(2, comment)\n document.getElementById('comment-area').classList.add('hide')\n document.getElementById('thanks-area').classList.remove('hide')\n }\n\n post(feedback, comment) {\n const data = {\n URL: window.location.href,\n title: document.getElementsByTagName('title')[0].text,\n feedback: feedback,\n comment: comment,\n }\n // https://docs.google.com/spreadsheets/d/1NlCtRD1nGXNA9bYq9n_dOcuRkov4XRgLtGtnbbt5YdA/edit#gid=0\n const endpoint = 'https://script.google.com/macros/s/AKfycbyZEHhh5ShoggYWYj3xuADLneWDJC4U4GdQQgM3z-wax-k6c_4/exec';\n const url = endpoint + '?URL=' + data.URL + '&title=' + data.title + '&feedback=' + data.feedback + '&comment=' + data.comment;\n fetchJsonp(url).then(function(response) {\n return response.json()\n }).then(function(json) {\n console.log('parsed json', json)\n }).catch(function(ex) {\n console.log('parsing failed', ex)\n })\n // fetch(endpoint, {\n // method: 'POST',\n // headers: {\n // 'Accept': 'application/json',\n // 'Content-Type': 'application/json',\n // },\n // body: JSON.stringify(data)\n // })\n }\n\n render() {\n const {edges, tag, name} = this.props\n console.debug(edges, tag, name)\n\n return (\n \n \n \n この記事は役に立ちましたか?\n \n
\n \n {' '}\n \n
\n
\n

よろしければ、コメントを下さい。

\n \n \n \n
\n
\n

貴重なご意見ご感想を頂き、誠にありがとうございました。

\n
\n\n
\n
\n )\n }\n}\n\nFeedback.propTypes = {\n edges: PropTypes.object,\n tag: PropTypes.object,\n name: PropTypes.object,\n}\n\nexport default Feedback","import React from 'react'\nimport PropTypes from 'prop-types'\nimport {Link} from 'gatsby'\n// import {Card, CardHeader, ListGroup, ListGroupItem} from 'reactstrap'\n\nclass TagLink extends React.Component {\n render() {\n const {edges, tag, name} = this.props\n console.debug(edges, tag, name)\n\n return (\n
\n
その他の{name}
\n
\n {edges &&\n edges.map(({node}, i) => (\n [\n {node.frontmatter.title}\n , ' ']\n ))}\n
\n
\n )\n }\n}\n\nTagLink.propTypes = {\n edges: PropTypes.arrayOf(PropTypes.shape({\n node: PropTypes.shape({\n fields: PropTypes.shape({\n slug: PropTypes.string,\n }),\n frontmatter: PropTypes.shape({\n title: PropTypes.string,\n }),\n }),\n })),\n}\n\nexport default TagLink","import React from 'react'\nimport PropTypes from 'prop-types'\nimport {graphql, StaticQuery} from 'gatsby'\nimport TagLink from './TagLink'\n\nclass ArticlePageTags extends React.Component {\n render() {\n const {data, tags} = this.props\n const allTags = data.allTagsYaml.edges[0].node.main;\n const tagNames = data.allTagsYaml.edges[0].node.data.reduce((obj, tag) => {\n obj[tag.tag] = tag.name\n return obj\n }, {})\n const groups = data.allMarkdownRemark.group.reduce((obj, group) => {\n obj[group.fieldValue] = group\n return obj\n }, {})\n\n return (\n
\n {allTags.map((tag, i) => (\n groups[tag] && tags.includes(tag) ? : null\n ))}\n
\n )\n }\n}\n\nArticlePageTags.propTypes = {\n data: PropTypes.shape({\n allMarkdownRemark: PropTypes.shape({\n edges: PropTypes.array,\n }),\n }),\n};\n\nexport default (props) => (\n }\n />\n)\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport Helmet from 'react-helmet'\nimport {graphql, Link} from 'gatsby'\nimport Layout from '../components/Layout'\nimport Content, {HTMLContent} from '../components/Content'\nimport {Col, Row, Card, CardBody, CardTitle} from \"reactstrap\";\nimport BodySide from \"../components/BodySide\";\nimport Feedback from \"../components/Feedback\";\nimport ArticlePageTags from \"../components/ArticlePageTags\";\n\nexport const ArticlePageTemplate = ({\n content,\n contentComponent,\n description,\n prev,\n next,\n tags,\n title,\n helmet,\n data\n }) => {\n const PostContent = contentComponent || Content\n\n const isEnglish = tags && tags.includes('english')\n return (\n
\n \n \n \n \n \n
\n {helmet || ''}\n
\n \n

{title}

\n
\n

{description}

\n
\n \n
\n
\n
\n
\n {isEnglish ? null : }\n
\n \n
{isEnglish ? \"Other pages\" : \"同カテゴリの他のページ\" }
\n
\n {!prev ? null :\n \n <\n {' '}\n {prev.node.frontmatter.title}\n \n }\n {!next ? null :\n \n {next.node.frontmatter.title}\n {' '}\n >\n \n }\n
\n
\n \n \n
\n
\n )\n}\n\nArticlePageTemplate.propTypes = {\n content: PropTypes.node.isRequired,\n contentComponent: PropTypes.func,\n description: PropTypes.string,\n title: PropTypes.string,\n helmet: PropTypes.object,\n}\n\nclass ArticlePage extends React.Component {\n\n constructor(props) {\n super(props);\n console.debug('IndexPage', this.props)\n this.updateDimensions = this.updateDimensions.bind(this);\n }\n\n componentDidMount() {\n window.addEventListener('load', this.updateDimensions);\n window.addEventListener('resize', this.updateDimensions);\n this.updateDimensions()\n }\n\n updateDimensions() {\n console.debug('updateDimensions', window.innerWidth)\n var ua = navigator.userAgent.toLowerCase();\n var isApp = ua.indexOf('anbai') > -1\n let element = document.getElementById('main-wrapper');\n if (isApp) {\n element.classList.add('is-app');\n } else {\n element.classList.remove('is-app');\n }\n // let element = document.getElementById('main-wrapper');\n // const width = window.innerWidth\n // if (width < 1170) {\n // element.setAttribute('data-sidebartype', 'mini-sidebar');\n // element.classList.add('mini-sidebar');\n // } else {\n // element.setAttribute(\n // 'data-sidebartype',\n // 'full'\n // );\n // element.classList.remove('mini-sidebar');\n // }\n }\n\n componentWillUnmount() {\n window.removeEventListener('load', this.updateDimensions);\n window.removeEventListener('resize', this.updateDimensions);\n }\n\n render() {\n\n const data = this.props.data\n const {allTagsRemark} = data\n const {markdownRemark: post} = data\n const {allCategoriesYaml: yaml} = data\n const {allMarkdownRemark: posts} = data\n\n const categoryEdges = posts.group[0].edges\n var prev = null\n var next = null\n var index = -1\n categoryEdges.forEach((edge, i) => {\n if(edge.node.id === post.id) {\n index = i\n }\n })\n if (index !== -1) {\n if(index > 0) {\n prev = categoryEdges[index - 1]\n }\n if(index < categoryEdges.length) {\n next = categoryEdges[index + 1]\n }\n }\n\n const categories = yaml.edges[0].node.data.reduce((obj, category) => {\n obj[category.category] = category\n return obj\n }, {})\n\n const category = post.frontmatter.category\n\n return (\n \n \n {`${post.frontmatter.title} | ${data.site.siteMetadata.title}`}\n \n \n }\n prev={prev}\n next={next}\n tags={post.frontmatter.tags}\n title={post.frontmatter.title}\n data={data}\n />\n \n )\n }\n}\n\nArticlePage.propTypes = {\n data: PropTypes.shape({\n markdownRemark: PropTypes.object,\n }),\n}\n\nexport default ArticlePage\n\nexport const pageQuery = graphql`\n query ArticlePageByID($id: String!, $category: String!) {\n site {\n siteMetadata {\n title\n description\n }\n }\n allCategoriesYaml(filter: {data: {elemMatch: {lang: {eq: \"ja\"}}}}) {\n edges {\n node {\n data {\n category\n name\n icon\n }\n }\n }\n }\n markdownRemark(id: { eq: $id }) {\n id\n html\n fields {\n slug\n }\n frontmatter {\n published_date(formatString: \"MMMM DD, YYYY\")\n modified_date(formatString: \"MMMM DD, YYYY\")\n title\n description\n category\n tags\n lang\n }\n }\n allMarkdownRemark(\n sort: {fields: [frontmatter___index], order: ASC},\n filter: {frontmatter: {templateKey: { eq: \"article-page\" }, category: {eq: $category}, invisible:{ne: true}}}\n ) {\n group(field: frontmatter___category) {\n fieldValue\n totalCount\n edges {\n node {\n id\n fields {\n slug\n }\n frontmatter {\n index\n title\n }\n }\n }\n }\n } \n }\n`\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"color\", \"body\", \"inverse\", \"outline\", \"tag\", \"innerRef\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar Card = function Card(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n body = props.body,\n inverse = props.inverse,\n outline = props.outline,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'card', inverse ? 'text-white' : false, body ? 'card-body' : false, color ? (outline ? 'border' : 'bg') + \"-\" + color : false), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\n\nCard.defaultProps = defaultProps;\nexport default Card;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"tag\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'div'\n};\n\nvar CardHeader = function CardHeader(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'card-header'), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nCardHeader.defaultProps = defaultProps;\nexport default CardHeader;","import React from 'react'\nimport PropTypes from 'prop-types'\nimport {Link} from 'gatsby'\nimport {Card, CardHeader, ListGroup, ListGroupItem} from 'reactstrap'\n\nclass TagCard extends React.Component {\n render() {\n const {edges, tag, name} = this.props\n\n return (\n \n \n

{name}

\n
\n \n {edges &&\n edges.map(({node}, i) => (\n \n \n {node.frontmatter.title}\n \n \n ))}\n \n
\n )\n }\n}\n\nTagCard.propTypes = {\n edges: PropTypes.arrayOf(PropTypes.shape({\n node: PropTypes.shape({\n fields: PropTypes.shape({\n slug: PropTypes.string,\n }),\n frontmatter: PropTypes.shape({\n title: PropTypes.string,\n }),\n }),\n })),\n}\n\nexport default TagCard","import React from 'react'\nimport PropTypes from 'prop-types'\nimport {graphql, StaticQuery} from 'gatsby'\nimport {Col} from 'reactstrap'\nimport TagCard from './TagCard'\n\nclass BodySide extends React.Component {\n render() {\n const {data, lang} = this.props\n const tags = data.allTagsYaml.edges[0].node.main;\n const tagNames = data.allTagsYaml.edges[0].node.data.reduce((obj, tag) => {\n obj[tag.tag] = tag.name\n return obj\n }, {})\n const groups = data.tagPages.group.reduce((obj, group) => {\n obj[group.fieldValue] = group\n return obj\n }, {})\n\n console.debug(data, tags, tagNames, groups)\n\n return (\n \n {tags.map((tag, i) => (\n groups[tag] ? : null\n ))}\n \n )\n }\n}\n\nBodySide.propTypes = {\n data: PropTypes.shape({\n tagPages: PropTypes.shape({\n edges: PropTypes.array,\n }),\n allTagsYaml: PropTypes.shape({\n edges: PropTypes.array,\n })\n }),\n};\n\nexport default () => (\n }\n />\n)\n\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"tag\", \"flush\", \"horizontal\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'ul',\n horizontal: false\n};\n\nvar getHorizontalClass = function getHorizontalClass(horizontal) {\n if (horizontal === false) {\n return false;\n } else if (horizontal === true || horizontal === \"xs\") {\n return \"list-group-horizontal\";\n }\n\n return \"list-group-horizontal-\" + horizontal;\n};\n\nvar ListGroup = function ListGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n flush = props.flush,\n horizontal = props.horizontal,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, 'list-group', // list-group-horizontal cannot currently be mixed with list-group-flush\n // we only try to apply horizontal classes if flush is false\n flush ? 'list-group-flush' : getHorizontalClass(horizontal)), cssModule);\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nListGroup.defaultProps = defaultProps;\nexport default ListGroup;","import React from 'react'\nimport PropTypes from 'prop-types'\n\nexport const HTMLContent = ({ content, className }) => (\n
\n)\n\nconst Content = ({ content, className }) => (\n
{content}
\n)\n\nContent.propTypes = {\n content: PropTypes.node,\n className: PropTypes.string,\n}\n\nHTMLContent.propTypes = Content.propTypes\n\nexport default Content\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nvar _excluded = [\"className\", \"cssModule\", \"tag\", \"active\", \"disabled\", \"action\", \"color\"];\nimport React from 'react';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar defaultProps = {\n tag: 'li'\n};\n\nvar handleDisabledOnClick = function handleDisabledOnClick(e) {\n e.preventDefault();\n};\n\nvar ListGroupItem = function ListGroupItem(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n active = props.active,\n disabled = props.disabled,\n action = props.action,\n color = props.color,\n attributes = _objectWithoutPropertiesLoose(props, _excluded);\n\n var classes = mapToCssModules(classNames(className, active ? 'active' : false, disabled ? 'disabled' : false, action ? 'list-group-item-action' : false, color ? \"list-group-item-\" + color : false, 'list-group-item'), cssModule); // Prevent click event when disabled.\n\n if (disabled) {\n attributes.onClick = handleDisabledOnClick;\n }\n\n return /*#__PURE__*/React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\n\nListGroupItem.defaultProps = defaultProps;\nexport default ListGroupItem;"],"sourceRoot":""}