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,IAAA,GAAAtB,EAAA4G,kBAAA,CAAAhH,EAAA,QAAAE,EAAAH,EAAAkG,IAAA,eAAAlG,EAAA4B,MAAA,WAAAgE,IAAAzF,CAAA,4BAAAH,EAAA6B,IAAA,KAAA7B,EAAA,aAAAA,CAAA,SAAAC,GAAA6B,KAAA,MAAAC,UAAA,MAAA1B,CAAA,EAAAkC,EAAA2E,SAAA,CAAAjH,CAAAA,EAAAqG,OAAA,CAAAxC,CAAA,iBAAA9D,CAAA,CAAAC,CAAA,CAAAC,CAAA,GAAAiH,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAArH,IAAA,2BAAAG,EAAA,qBAAAF,CAAA,EAAAA,EAAA0C,CAAA,oDAAA1C,EAAAA,EAAAO,CAAA,UAAA8G,KAAArH,EAAA0C,CAAA","sources":["webpack://_N_E/./adapters/model/ContentfulClient.js","webpack://_N_E/./pages/faq.js","webpack://_N_E/","webpack://_N_E/"],"sourcesContent":["const contentful = require('contentful');\n\nclass ContentfulClient {\n\n constructor() {\n this.personalAccessToken = process.env.CF_PERSONAL_ACCESS_TOKEN;\n this.deliveryAccessToken = process.env.CF_DELIVERY_ACCESS_TOKEN;\n this.spaceId = process.env.CF_SPACE_ID;\n this.environmentId = process.env.CF_ENVIRONMENT;\n\n if(this.deliveryAccessToken && this.deliveryAccessToken !== '') {\n this.contentfulClient = contentful.createClient({\n space: this.spaceId,\n accessToken: this.deliveryAccessToken,\n environment: this.environmentId\n });\n }\n\n }\n\n static create() {\n return new ContentfulClient();\n }\n getPersonalAccessToken() {\n return this.personalAccessToken;\n }\n getDeliveryAccessToken() {\n return this.deliveryAccessToken;\n }\n getSpaceId() {\n return this.spaceId;\n }\n getEnvironmentId() {\n return this.environmentId;\n }\n\n async getClient() {\n return this.contentfulClient;\n }\n}\n\nexport default new ContentfulClient();","import '@babel/polyfill';\nimport React, {Fragment} from 'react'\nimport PropTypes from 'prop-types'\nimport dynamic from 'next/dynamic';\nimport Router from 'next/router';\nimport Block from '../adapters/helpers/Block';\nconst Meta = dynamic(()=>import('../components/Meta/Meta'))\nconst GTMScriptFunction = dynamic(() => import('../components/GTMScriptFunction'));\nimport contentfulClient from '../adapters/model/ContentfulClient';\n\nclass FAQ extends React.Component {\n\n componentDidMount() {\n Router.beforePopState(({as}) => {\n location.href = as;\n });\n }\n\n static async getInitialProps({ asPath }) {\n const client = await contentfulClient.getClient();\n const locales = await client.getLocales();\n const defaultLocale = locales.items.find(locale => locale.default);\n const languageCode = defaultLocale.code.substring(0, 2);\n const countryCode = defaultLocale.code.slice(-2);\n\n const baseProps = await this.initPage(asPath);\n baseProps.countryCode = countryCode;\n baseProps.languageCode = languageCode;\n\n return {\n ...baseProps\n }\n }\n\n static async initPage(slug) {\n let faq = undefined;\n\n // Errors pages doesn't have a page entry in Contentful CMS\n if (slug) {\n const { default: faqDao } = await import('Model/dao/FAQDao');\n faq = await faqDao.getActiveFAQBySlug(slug);\n }\n\n return {'faq' : faq};\n }\n\n constructor(props) {\n super(props);\n }\n\n /**\n * Rendering of the page. This always render the page using a common layout.\n *\n * Override the render method to do otherwise.\n *\n * @returns {*}\n */\n render() {\n let faq = this.getFAQ();\n let pagePath = faq?.slug?.fields?.slug;\n let metaData = this.getMetadata()\n if(metaData){\n metaData.pageType = 'faq'\n }\n return (\n \n \n
\n {this.renderBody()}\n
\n \n
\n )\n }\n\n getFAQ() {\n return this.props?.faq?.fields;\n }\n\n getMetadata() {\n return this.props?.faq?.fields?.metadata?.fields;\n }\n\n /**\n * By default, the page will render the modules of the Product.\n * Can be overridden on the child class to do specific rendering.\n * @returns {*|void}\n */\n renderBody() {\n return new Block(this.props.faq).renderChildBlocks({ extraAttributes : {entity: this.getFAQ()}});\n }\n}\n\nFAQ.propTypes = {\n faq: PropTypes.object,\n languageCode: PropTypes.string,\n countryCode: PropTypes.string\n}\n\nexport default FAQ\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/faq\",\n function () {\n return require(\"private-next-pages/faq.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/faq\"])\n });\n }\n ","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7746],{57503:function(e,t,n){\"use strict\";var r=n(49376),u=n.n(r),i=n(33227),c=n.n(i),s=n(88361),o=n.n(s),a=n(87794),l=n.n(a),f=n(96454),p=function(){function e(){c()(this,e),this.personalAccessToken=\"\",this.deliveryAccessToken=\"98n-XsE3-TWhr-b_aHbb9og3-bxgKT5Upq7lyXO1Mxs\",this.spaceId=\"2gbekol4uxxy\",this.environmentId=\"master\",this.deliveryAccessToken&&\"\"!==this.deliveryAccessToken&&(this.contentfulClient=f.createClient({space:this.spaceId,accessToken:this.deliveryAccessToken,environment:this.environmentId}))}var t;return o()(e,[{key:\"getPersonalAccessToken\",value:function(){return this.personalAccessToken}},{key:\"getDeliveryAccessToken\",value:function(){return this.deliveryAccessToken}},{key:\"getSpaceId\",value:function(){return this.spaceId}},{key:\"getEnvironmentId\",value:function(){return this.environmentId}},{key:\"getClient\",value:(t=u()(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",this.contentfulClient);case 1:case\"end\":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}],[{key:\"create\",value:function(){return new e}}]),e}();t.Z=new p},16351:function(e,t,n){\"use strict\";n.r(t);var r=n(930),u=n.n(r),i=n(49376),c=n.n(i),s=n(33227),o=n.n(s),a=n(88361),l=n.n(a),f=n(85971),p=n.n(f),d=n(52715),h=n.n(d),v=n(91193),y=n.n(v),g=n(87794),b=n.n(g),k=(n(26981),n(67294)),w=n(5152),m=n.n(w),O=n(11163),x=n.n(O),P=n(40483),j=n(57503),A=n(85893);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t