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Content":["import { FAQBlockConstants } from '../../adapters/helpers/Constants'\nimport dynamic from 'next/dynamic'\nimport PropTypes from 'prop-types'\nimport React, { useState } from 'react'\nconst Heading = dynamic(() => import('../Heading/Heading'))\nconst MarkdownText = dynamic(() => import('../MarkdownText/MarkdownText'))\nconst Icon = dynamic(() => import('../Icon/Icon'))\nimport classNames from 'classnames'\n\nexport default function FAQQA({ topics, activeIndex }) {\n const [activeFaq, setActiveFaq] = useState(null)\n const topicsQA = topics && topics[activeIndex]\n\n return (\n
\n
\n {topicsQA?.fields?.topic}\n
\n
\n \n \n )\n })}\n \n \n )\n}\n\nFAQQA.propTypes = {\n topics: PropTypes.any,\n activeIndex: PropTypes.any,\n}\n\nFAQQA.defaultProps = {\n topics: [],\n}\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1130],{81130:function(n,e,l){l.r(e),l.d(e,{default:function(){return b}});var i=l(24036),a=l(5152),o=l.n(a),c=l(67294),s=l(94184),t=l.n(s),r=l(85893),d=o()((function(){return Promise.resolve().then(l.bind(l,92116))}),{loadableGenerated:{webpack:function(){return[92116]}}}),u=o()((function(){return Promise.all([l.e(5982),l.e(811)]).then(l.bind(l,80811))}),{loadableGenerated:{webpack:function(){return[80811]}}}),f=o()((function(){return Promise.resolve().then(l.bind(l,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}});function b(n){var e,l,a,o=n.topics,s=n.activeIndex,b=(0,c.useState)(null),h=b[0],v=b[1],_=o&&o[s];return(0,r.jsxs)(\"div\",{className:\"ob-faq-block__qa\",id:\"ob-faq-qa-index-\".concat(s),children:[(0,r.jsx)(\"div\",{children:(0,r.jsx)(d,{tag:\"h2\",children:null==_||null==(e=_.fields)?void 0:e.topic})}),(0,r.jsx)(\"ul\",{children:null==_||null==(l=_.fields)||null==(a=l.faqs)?void 0:a.map((function(n,e){var l,a,o,c;return(0,r.jsxs)(\"li\",{className:\"ob-faq-li event_button_click\",\"data-action-detail\":\"faq: \".concat(null==n||null==(l=n.fields)?void 0:l.accordionTitle),children:[(0,r.jsxs)(\"div\",{role:\"button\",tabIndex:0,onKeyPress:function(){v(e)},onClick:function(){v(e==h?null:e)},children:[(0,r.jsx)(\"div\",{className:\"ob-faq-block__icon-wrapper\",children:(0,r.jsx)(\"div\",{className:\"ob-faq-block__icon ob-faq-block__icon-arrow\",children:(0,r.jsx)(f,{name:i.az.arrowRight,size:2})})}),(0,r.jsx)(\"h2\",{className:\"ob-faq-block__question-text\",children:null==n||null==(a=n.fields)?void 0:a.accordionTitle})]}),(0,r.jsx)(u,{className:t()(h==e?\"showFaqDesc\":\"ob-accordion__desc\",null==n||null==(o=n.fields)?void 0:o.classNames),value:null==n||null==(c=n.fields)?void 0:c.accordionContent})]},e)}))})]})}b.defaultProps={topics:[]}}}]);"],"names":["self","webpackChunk_N_E","push","n","e","l","r","d","default","b","i","a","o","c","s","t","Promise","resolve","then","bind","loadableGenerated","webpack","u","all","f","topics","activeIndex","useState","h","v","_","jsxs","className","id","concat","children","jsx","tag","fields","topic","faqs","map","accordionTitle","role","tabIndex","onKeyPress","onClick","name","az","arrowRight","size","classNames","value","accordionContent","defaultProps"],"sourceRoot":""}