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AAG,SAAA,GAAA9B,EAAA4B,IAAA,SAAAC,UAAA,yBAAAC,SAAA,IAAA9B,EAAA+B,GAAA,UAAAD,SAAA,MAAAtC,GAAA,MAAA6B,CAAAA,EAAA7B,EAAA0C,eAAA,SAAAZ,CAAAA,EAAAD,EAAAc,MAAA,SAAAb,EAAA2B,eAAA,MAAAjD,EAAA+B,GAAA,EAAAzB,EAAA,CAAAyC,KAAA","sources":["webpack://_N_E/./components/ArticleFeedback/ArticleFeedback.js","webpack://_N_E/"],"sourcesContent":["import React, { useState } from 'react'\nimport dynamic from 'next/dynamic';\nconst Image = dynamic(() => import('../Image/Image'))\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks';\nconst Icon = dynamic(() => import('../Icon/Icon'))\n\nfunction ArticleFeeback(props) {\n const [isFeedbackResponsed, setIsFeedbackResponsed] = useState(true);\n const handleButtonClick=()=>{ \n setIsFeedbackResponsed(false);\n }\n return (\n
\n \n {isFeedbackResponsed ?
\n :
{props?.articleFeedback?.fields?.feedbackMessage}
}\n {isFeedbackResponsed &&
\n \n \n
}\n
\n )\n}\n\nexport default mediaQueryHOC(ArticleFeeback)","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1513],{61513:function(e,l,a){a.r(l);var n=a(67294),c=a(5152),i=a.n(c),d=a(71357),s=a(85893),t=i()((function(){return a.e(8084).then(a.bind(a,48084))}),{loadableGenerated:{webpack:function(){return[48084]}}}),u=i()((function(){return a.e(713).then(a.bind(a,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}});l.default=(0,d.Ui)((function(e){var l,a,c,i,d,r,o,b,k,f,v,h,m,j,x,p,N,F,g,C,L=(0,n.useState)(!0),_=L[0],w=L[1],y=function(){w(!1)};return(0,s.jsxs)(\"div\",{className:\"article-feedback-body\",children:[(0,s.jsx)(t,{image:e.isLarge?null==e||null==(c=e.articleFeedback)||null==(i=c.fields)?void 0:i.mobileImage:null==e||null==(l=e.articleFeedback)||null==(a=l.fields)?void 0:a.desktopImage}),_?(0,s.jsx)(\"div\",{className:\"article-feedback-title\",dangerouslySetInnerHTML:{__html:null==e||null==(d=e.articleFeedback)||null==(r=d.fields)?void 0:r.title}}):(0,s.jsx)(\"div\",{className:\"article-thankyou-message\",children:null==e||null==(o=e.articleFeedback)||null==(b=o.fields)?void 0:b.feedbackMessage}),_&&(0,s.jsxs)(\"div\",{className:\"article-feedback-response-body\",children:[(0,s.jsx)(\"button\",{className:\"article-feedback-response \".concat(null==e||null==(k=e.articleFeedback)||null==(f=k.fields)?void 0:f.gaEventClass,\" \"),\"data-action-detail\":null==e||null==(v=e.articleFeedback)||null==(h=v.fields)?void 0:h.dataActionLabelYes,onClick:y,children:(0,s.jsxs)(\"div\",{className:\"article-feedback-block\",children:[(0,s.jsx)(\"span\",{children:null==e||null==(m=e.articleFeedback)||null==(j=m.fields)?void 0:j.feedbackYesLabel}),(0,s.jsx)(u,{name:\"thumbsUp\"})]})}),(0,s.jsx)(\"button\",{className:\"article-feedback-response \".concat(null==e||null==(x=e.articleFeedback)||null==(p=x.fields)?void 0:p.gaEventClass),\"data-action-detail\":null==e||null==(N=e.articleFeedback)||null==(F=N.fields)?void 0:F.dataActionLabelNo,onClick:y,children:(0,s.jsxs)(\"div\",{className:\"article-feedback-block\",children:[(0,s.jsx)(\"span\",{children:null==e||null==(g=e.articleFeedback)||null==(C=g.fields)?void 0:C.feedbackNoLabel}),(0,s.jsx)(u,{name:\"thumbsDown\"})]})})]})]})}))}}]);"],"names":["self","webpackChunk_N_E","push","e","l","a","r","n","c","i","d","s","t","then","bind","loadableGenerated","webpack","u","default","Ui","o","b","k","f","v","h","m","j","x","p","N","F","g","C","L","useState","_","w","y","jsxs","className","children","jsx","image","isLarge","articleFeedback","fields","mobileImage","desktopImage","dangerouslySetInnerHTML","__html","title","feedbackMessage","concat","gaEventClass","dataActionLabelYes","onClick","feedbackYesLabel","name","dataActionLabelNo","feedbackNoLabel"],"sourceRoot":""}