{"version":3,"sources":["webpack:///./assets/nohelp.inline.svg","webpack:///./src/components/NavBar.tsx","webpack:///./assets/arrow_left.inline.svg","webpack:///./src/components/Feedback.tsx","webpack:///./src/templates/article.tsx","webpack:///./assets/help.inline.svg","webpack:///./assets/arrow.inline.svg"],"names":["React","NohelpInline","props","createElement","defaultProps","module","exports","default","PCNavBar","render","this","collections","collection","onCollectEvent","className","edges","map","index","node","to","fields","slug","key","id","onClick","sx","fontWeight","borderBottom","title","Component","MobileNavBar","onNavClick","value","setState","isShowNav","state","margin","fontSize","padding","position","top","right","marginTop","width","height","transform","transition","ArrowLeftInline","Feedback","feedbackClick","window","open","display","justifyContent","alignItems","bg","isMobile","undefined","color","target","ArticleTemplate","isPreventClick","isHelp","isNoHelp","onHelpIconClick","collectEventHelp","onNoHelpIconClick","result","pageContext","data","collectionId","article","collectionIndex","findIndex","sections","articleIndex","includes","collectEvent","location","isdisabled","indexBgImg","site","siteTitle","siteMetadata","description","NavBarCp","section","footerRender","childImageSharp","fixed","frontmatter","excerpt","texts","allCollectionsText","pb","dangerouslySetInnerHTML","__html","html","disabled","style","marginRight","HelpInline","ArrowInline"],"mappings":"gFAAA,IAAIA,EAAQ,EAAQ,QAEpB,SAASC,EAAcC,GACnB,OAAOF,EAAMG,cAAc,MAAMD,EAAMF,EAAMG,cAAc,IAAI,CAAC,UAAY,mFAAmFH,EAAMG,cAAc,OAAO,CAAC,EAAI,ysCAAysC,GAAK,WAGj5CF,EAAaG,aAAe,CAAC,MAAQ,OAAO,OAAS,OAAO,QAAU,YAAY,QAAU,OAE5FC,EAAOC,QAAUL,EAEjBA,EAAaM,QAAUN,G,wLCIVO,G,UAAb,kGACEC,OAAA,WAAS,MAC6CC,KAAKR,MAAjDS,EADD,EACCA,YAAaC,EADd,EACcA,WAAYC,EAD1B,EAC0BA,eACjC,OACE,mBAAKC,UAAU,oBACb,mBAAKA,UAAU,0BACZH,EAAYI,MAAMC,KAAI,WAAWC,GAAU,IAAlBC,EAAkB,EA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EAAYnG,GACjB,OAAOF,EAAMG,cAAc,MAAMD,EAAM,CAACF,EAAMG,cAAc,QAAQ,CAAC,IAAM,GAAG,cAAcH,EAAMG,cAAc,IAAI,CAAC,GAAK,KAAK,OAAS,OAAO,YAAc,IAAI,KAAO,OAAO,SAAW,UAAU,IAAM,GAAGH,EAAMG,cAAc,IAAI,CAAC,GAAK,cAAcH,EAAMG,cAAc,IAAI,CAAC,GAAK,OAAO,CAACH,EAAMG,cAAc,OAAO,CAAC,GAAK,KAAK,EAAI,IAAI,EAAI,IAAI,MAAQ,KAAK,OAAS,KAAK,IAAM,IAAIH,EAAMG,cAAc,OAAO,CAAC,EAAI,ysCAAysC,GAAK,OAAO,KAAO,UAAU,IAAM,UAG1oDkG,EAAWjG,aAAe,CAAC,MAAQ,OAAO,OAAS,OAAO,QAAU,YAAY,QAAU,OAE1FC,EAAOC,QAAU+F,EAEjBA,EAAW9F,QAAU8F,G,qBCVrB,IAAIrG,EAAQ,EAAQ,QAEpB,SAASsG,EAAapG,GAClB,OAAOF,EAAMG,cAAc,MAAMD,EAAM,CAACF,EAAMG,cAAc,OAAO,CAAC,IAAM,GAAGH,EAAMG,cAAc,QAAQ,CAAC,KAAO,cAAcH,EAAMG,cAAc,OAAO,CAAC,EAAI,sMAAsM,KAAO,UAAU,IAAM,OAAO,IAAM,MAG7YmG,EAAYlG,aAAe,CAAC,EAAI,gBAAgB,UAAY,OAAO,QAAU,gBAAgB,QAAU,MAAM,IAAM,OAAO,MAAQ,MAAM,OAAS,OAEjJC,EAAOC,QAAUgG,EAEjBA,EAAY/F,QAAU+F","file":"component---src-templates-article-tsx-e155ccc317b3d45f1c41.js","sourcesContent":["var React = require('react');\n\nfunction NohelpInline (props) {\n return React.createElement(\"svg\",props,React.createElement(\"g\",{\"transform\":\"translate(10.000000, 10.000000) scale(1, -1) translate(-10.000000, -10.000000) \"},React.createElement(\"path\",{\"d\":\"M5,16.5 C4.17157288,16.5 3.5,15.8284271 3.5,15 L3.5,15 L3.5,8 C3.5,7.17157288 4.17157288,6.5 5,6.5 L5,6.5 L6.715,6.49946432 L8.10755496,4.16000857 C8.44035971,3.60051746 9.02245758,3.24099591 9.66473241,3.1889955 L9.82644536,3.18246432 L10.2082493,3.18246432 C11.1663881,3.18246432 11.943113,3.95918928 11.943113,4.91732807 L11.943113,4.91732807 L11.943,6.499 L16.3867727,6.5 C16.8996085,6.5 17.3222798,6.88604019 17.380045,7.38337887 L17.380045,7.38337887 L17.3867727,7.5 C17.3867727,7.56763278 17.3799114,7.63509109 17.3662943,7.70133887 L17.3662943,7.70133887 L15.7219091,15.7013389 C15.6263379,16.1662968 15.2170661,16.5 14.7423875,16.5 L14.7423875,16.5 Z M10.2082493,4.18246432 L9.82644536,4.18246432 C9.47382523,4.18246432 9.1472694,4.36817876 8.96700016,4.67123645 L8.96700016,4.67123645 L7.5,7.136 L7.5,15.499 L14.7423875,15.5 L16.3867727,7.5 L11.443113,7.5 C11.1669706,7.5 10.943113,7.27614237 10.943113,7 L10.943113,7 L10.943113,4.91732807 C10.943113,4.51147403 10.6141033,4.18246432 10.2082493,4.18246432 L10.2082493,4.18246432 Z M6.5,7.5 L5,7.5 C4.75454011,7.5 4.55039163,7.67687516 4.50805567,7.91012437 L4.50805567,7.91012437 L4.5,8 L4.5,15 C4.5,15.2761424 4.72385763,15.5 5,15.5 L5,15.5 L6.5,15.5 L6.5,7.5 Z\",\"id\":\"形状结合\"})));\n}\n\nNohelpInline.defaultProps = {\"width\":\"20px\",\"height\":\"20px\",\"viewBox\":\"0 0 20 20\",\"version\":\"1.1\"};\n\nmodule.exports = NohelpInline;\n\nNohelpInline.default = NohelpInline;\n","/** @jsx jsx */\nimport { jsx } from 'theme-ui';\nimport React from 'react';\nimport { Link } from 'gatsby';\nimport ArrowIcon from '../../assets/arrow.inline.svg';\nimport '../styles/navBar.css';\nimport { CollectionsNode } from '$interface';\n\nexport interface PCNavBarProps {\n onCollectEvent?: (index: number) => void;\n collection: CollectionsNode;\n collections: { edges: { node: CollectionsNode }[] };\n}\n\nexport class PCNavBar extends React.Component {\n render() {\n const { collections, collection, onCollectEvent } = this.props;\n return (\n
\n
\n {collections.edges.map(({ node }, index) => {\n return (\n \n {\n onCollectEvent && onCollectEvent(index);\n }}\n sx={{\n fontWeight:\n collection && collection.id === node.id\n ? 'header'\n : 'normal',\n borderBottom:\n collection && collection.id === node.id\n ? '2px solid #26282a'\n : 'none',\n }}>\n {node.title}\n
\n \n );\n })}\n
\n \n );\n }\n}\n\nexport interface MobileNavBarProps {\n onCollectEvent?: (index: number) => void;\n collection: CollectionsNode;\n collections: { edges: { node: CollectionsNode }[] };\n}\nexport interface MobileNavBarState {\n isShowNav: boolean;\n}\n\nexport class MobileNavBar extends React.Component<\n MobileNavBarProps,\n MobileNavBarState\n> {\n constructor(props: MobileNavBarProps) {\n super(props);\n this.state = {\n isShowNav: false,\n };\n }\n\n onNavClick = (value?: boolean) => {\n this.setState({\n isShowNav: value || !this.state.isShowNav,\n });\n };\n\n render() {\n const { collections, collection, onCollectEvent } = this.props;\n if (!collection) return null;\n const { isShowNav } = this.state;\n return (\n \n {isShowNav && (\n
\n {collections.edges.map(({ node }, index) => {\n return (\n \n onCollectEvent && onCollectEvent(index)}>\n {node.title}\n \n \n );\n })}\n
\n )}\n this.onNavClick()}\n key={collection.id}\n sx={{\n fontSize: '14px',\n fontWeight: 'bold',\n padding: '13px 0',\n borderBottom: '1px solid #cfcfd0',\n }}>\n {collection.title}\n \n {\n this.onNavClick();\n }}>\n \n \n \n );\n }\n}\n","var React = require('react');\n\nfunction ArrowLeftInline (props) {\n return React.createElement(\"svg\",props,[React.createElement(\"title\",{\"key\":0},\"icon_web_arrow_14_nor\"),React.createElement(\"g\",{\"id\":\"icon_web_arrow_14_nor\",\"stroke\":\"none\",\"strokeWidth\":\"1\",\"fill\":\"none\",\"fillRule\":\"evenodd\",\"key\":1},React.createElement(\"g\",null,[React.createElement(\"rect\",{\"id\":\"Rectangle\",\"x\":\"0\",\"y\":\"0\",\"width\":\"14\",\"height\":\"14\",\"key\":0}),React.createElement(\"path\",{\"d\":\"M3.80304035,9.54042748 C3.54922546,9.6492053 3.43164967,9.94314476 3.54042748,10.1969596 C3.6492053,10.4507745 3.94314476,10.5683503 4.19695965,10.4595725 L11.1969596,7.45957252 C11.6010135,7.2864066 11.6010135,6.7135934 11.1969596,6.54042748 L4.19695965,3.54042748 C3.94314476,3.43164967 3.6492053,3.54922546 3.54042748,3.80304035 C3.43164967,4.05685524 3.54922546,4.3507947 3.80304035,4.45957252 L9.73070448,7 L3.80304035,9.54042748 Z\",\"id\":\"Path-7\",\"fill\":\"#A4A4A4\",\"key\":1})]))]);\n}\n\nArrowLeftInline.defaultProps = {\"width\":\"14px\",\"height\":\"14px\",\"viewBox\":\"0 0 14 14\",\"version\":\"1.1\"};\n\nmodule.exports = ArrowLeftInline;\n\nArrowLeftInline.default = ArrowLeftInline;\n","import { Button } from '@transno/mt-design';\nimport React from 'react';\n/** @jsx jsx */\nimport { jsx } from 'theme-ui';\n\nimport { isMobile } from '../utils';\n\nimport '../styles/feedback.css';\n\nclass Feedback extends React.Component {\n feedbackClick = () => {\n window.open(\n 'https://xiaobaotong.feishu.cn/share/base/form/shrcnsSYLxSqpOcDyv3dENBCNZc'\n );\n };\n\n render() {\n return (\n \n \n 更多咨询或反馈?\n \n \n \n 提交留言\n \n \n \n );\n }\n}\n\nexport default Feedback;\n","import { Button } from '@transno/mt-design';\nimport { graphql, Link } from 'gatsby';\nimport React from 'react';\n/** @jsx jsx */\nimport { jsx } from 'theme-ui';\n\nimport { CollectionsNode, Section, SiteMetadata } from '$interface';\n\nimport Feedback from '../components/Feedback';\nimport Layout from '../components/Layout';\nimport { MobileNavBar, PCNavBar } from '../components/NavBar';\nimport SEO from '../components/seo';\nimport { isMobile } from '../utils';\n\nimport ArrowleftIcon from '../../assets/arrow_left.inline.svg';\nimport HelpIcon from '../../assets/help.inline.svg';\nimport NohelpIcon from '../../assets/nohelp.inline.svg';\n\nexport interface ArticleTemplateProps {\n data: {\n indexBgImg: { childImageSharp: { fixed: { src: string } } };\n site: {\n siteMetadata: SiteMetadata;\n };\n collections: {\n edges: {\n node: CollectionsNode;\n }[];\n };\n article: {\n id: string;\n html: string;\n excerpt: string;\n frontmatter: { title: string; description: string };\n fields: { collection: CollectionsNode; section: Section };\n };\n };\n pageContext: { slug: string };\n}\n\nexport interface ArticleTemplateState {\n isHelp: boolean;\n isNoHelp: boolean;\n}\n\nclass ArticleTemplate extends React.Component<\n ArticleTemplateProps,\n ArticleTemplateState\n> {\n constructor(props: ArticleTemplateProps) {\n super(props);\n this.state = {\n isHelp: false,\n isNoHelp: false,\n };\n }\n\n isPreventClick = () => {\n const { isHelp, isNoHelp } = this.state;\n return isHelp || isNoHelp;\n };\n\n onHelpIconClick = () => {\n if (this.isPreventClick()) return;\n this.collectEventHelp('help');\n this.setState({\n isHelp: true,\n });\n };\n\n onNoHelpIconClick = () => {\n if (this.isPreventClick()) return;\n this.collectEventHelp('no_help');\n this.setState({\n isNoHelp: true,\n });\n };\n\n collectEventHelp = (result: 'help' | 'no_help') => {\n const { slug } = this.props.pageContext;\n const { collections, article } = this.props.data;\n const collectionId = article.fields.collection.id;\n const collectionIndex = collections.edges.findIndex(\n ({ node }) => node.id === collectionId\n );\n if (\n collections.edges[collectionIndex] &&\n collections.edges[collectionIndex].node.sections\n ) {\n const target = collections.edges[collectionIndex];\n if (target && target.node && target.node.sections) {\n const articleIndex = target.node.sections.findIndex((article) =>\n slug.includes(article.id || '')\n );\n window.collectEvent('client_help_feedback', {\n location: `${collectionIndex + 1}-${articleIndex + 1}`,\n result,\n });\n }\n }\n };\n\n isdisabled = () => {\n const { isHelp, isNoHelp } = this.state;\n return (isHelp && !isNoHelp) || (!isHelp && isNoHelp);\n };\n\n render() {\n const { article, indexBgImg, site, collections } = this.props.data;\n\n const siteTitle = site.siteMetadata.title;\n const description = site.siteMetadata.description;\n const collection = article.fields.collection;\n const section = article.fields.section;\n\n const NavBarCp = isMobile() ? MobileNavBar : PCNavBar;\n return (\n }\n indexBgImg={indexBgImg.childImageSharp.fixed}>\n \n\n \n

\n {site.siteMetadata.texts.allCollectionsText}{' '}\n \n {collection && (\n <>\n {collection.title}{' '}\n \n \n )}\n {article.frontmatter.title}\n

\n
\n
\n
\n {article.frontmatter.title}\n
\n
\n \n
\n
\n \n \n 有帮助\n \n
\n
\n \n \n 无帮助\n \n
\n
\n
\n \n );\n }\n}\n\nexport default ArticleTemplate;\n\nexport const pageQuery = graphql`\n fragment squareImage on File {\n childImageSharp {\n fixed(width: 1634, height: 520) {\n ...GatsbyImageSharpFixed\n }\n }\n }\n query ArticleBySlug($slug: String!) {\n site {\n siteMetadata {\n title\n description\n texts {\n allCollectionsText\n }\n language\n }\n }\n collections: allCollectionsYaml {\n edges {\n node {\n id\n title\n icon\n description\n sections {\n id\n }\n fields {\n slug\n }\n }\n }\n }\n indexBgImg: file(relativePath: { eq: \"main_bg.png\" }) {\n ...squareImage\n }\n article: markdownRemark(fields: { slug: { eq: $slug } }) {\n id\n excerpt(pruneLength: 160)\n html\n fields {\n section {\n id\n title\n }\n collection {\n id\n title\n fields {\n slug\n }\n }\n }\n frontmatter {\n title\n date\n modifiedDate\n }\n }\n }\n`;\n","var React = require('react');\n\nfunction HelpInline (props) {\n return React.createElement(\"svg\",props,[React.createElement(\"title\",{\"key\":0},\"web-有帮助-20\"),React.createElement(\"g\",{\"id\":\"控件\",\"stroke\":\"none\",\"strokeWidth\":\"1\",\"fill\":\"none\",\"fillRule\":\"evenodd\",\"key\":1},React.createElement(\"g\",{\"id\":\"web-有帮助-20\"},React.createElement(\"g\",{\"id\":\"有帮助\"},[React.createElement(\"rect\",{\"id\":\"矩形\",\"x\":\"0\",\"y\":\"0\",\"width\":\"20\",\"height\":\"20\",\"key\":0}),React.createElement(\"path\",{\"d\":\"M5,16.5 C4.17157288,16.5 3.5,15.8284271 3.5,15 L3.5,15 L3.5,8 C3.5,7.17157288 4.17157288,6.5 5,6.5 L5,6.5 L6.715,6.49946432 L8.10755496,4.16000857 C8.44035971,3.60051746 9.02245758,3.24099591 9.66473241,3.1889955 L9.82644536,3.18246432 L10.2082493,3.18246432 C11.1663881,3.18246432 11.943113,3.95918928 11.943113,4.91732807 L11.943113,4.91732807 L11.943,6.499 L16.3867727,6.5 C16.8996085,6.5 17.3222798,6.88604019 17.380045,7.38337887 L17.380045,7.38337887 L17.3867727,7.5 C17.3867727,7.56763278 17.3799114,7.63509109 17.3662943,7.70133887 L17.3662943,7.70133887 L15.7219091,15.7013389 C15.6263379,16.1662968 15.2170661,16.5 14.7423875,16.5 L14.7423875,16.5 Z M10.2082493,4.18246432 L9.82644536,4.18246432 C9.47382523,4.18246432 9.1472694,4.36817876 8.96700016,4.67123645 L8.96700016,4.67123645 L7.5,7.136 L7.5,15.499 L14.7423875,15.5 L16.3867727,7.5 L11.443113,7.5 C11.1669706,7.5 10.943113,7.27614237 10.943113,7 L10.943113,7 L10.943113,4.91732807 C10.943113,4.51147403 10.6141033,4.18246432 10.2082493,4.18246432 L10.2082493,4.18246432 Z M6.5,7.5 L5,7.5 C4.75454011,7.5 4.55039163,7.67687516 4.50805567,7.91012437 L4.50805567,7.91012437 L4.5,8 L4.5,15 C4.5,15.2761424 4.72385763,15.5 5,15.5 L5,15.5 L6.5,15.5 L6.5,7.5 Z\",\"id\":\"形状结合\",\"fill\":\"#FFFFFF\",\"key\":1})])))]);\n}\n\nHelpInline.defaultProps = {\"width\":\"20px\",\"height\":\"20px\",\"viewBox\":\"0 0 20 20\",\"version\":\"1.1\"};\n\nmodule.exports = HelpInline;\n\nHelpInline.default = HelpInline;\n","var React = require('react');\n\nfunction ArrowInline (props) {\n return React.createElement(\"svg\",props,[React.createElement(\"defs\",{\"key\":0},React.createElement(\"style\",{\"type\":\"text/css\"})),React.createElement(\"path\",{\"d\":\"M898 730c-6.4 0-12.8-2.4-17.7-7.3L512 354.4 143.7 722.7c-9.8 9.8-25.6 9.8-35.4 0-9.8-9.8-9.8-25.6 0-35.4l386-386c9.8-9.8 25.6-9.8 35.4 0l386 386c9.8 9.8 9.8 25.6 0 35.4-4.9 4.9-11.3 7.3-17.7 7.3z\",\"fill\":\"#bfbfbf\",\"pId\":\"1139\",\"key\":1})]);\n}\n\nArrowInline.defaultProps = {\"t\":\"1594178754190\",\"className\":\"icon\",\"viewBox\":\"0 0 1024 1024\",\"version\":\"1.1\",\"pId\":\"1138\",\"width\":\"200\",\"height\":\"200\"};\n\nmodule.exports = ArrowInline;\n\nArrowInline.default = ArrowInline;\n"],"sourceRoot":""}