{"version":3,"file":"static/chunks/328.afc23f58ce57c6b5.js","mappings":"kQAGaA,G,UAA4BC,EAAAA,EAAAA,GAAO,MAAPA,CAAc,CACrDC,KAAM,eACNC,MAAO,0BAEIC,GAAkCH,EAAAA,EAAAA,GAAO,SAAPA,CAAiB,CAC9DC,KAAM,qBACNC,MAAO,gCAEIE,GAAyBJ,EAAAA,EAAAA,GAAO,IAAPA,CAAY,CAChDC,KAAM,YACNC,MAAO,uBAEIG,GAA2BL,EAAAA,EAAAA,GAAO,SAAPA,CAAiB,CACvDC,KAAM,cACNC,MAAO,yBAEII,GAAqBN,EAAAA,EAAAA,GAAOO,EAAAA,GAAPP,CAAuB,CACvDC,KAAM,QACNC,MAAO,mBAGTM,EAAQ,Q,+MCrBFF,EAAQ,SAAC,GAAD,IACZG,EADY,EACZA,SACAC,EAFY,EAEZA,QACAC,EAHY,EAGZA,gBACAC,EAJY,EAIZA,eACAC,EALY,EAKZA,OACAC,EANY,EAMZA,SACGC,GAPS,mBAQR,gBAAC,MAAD,QAASL,QAAS,gCACPA,EACAC,GAAmB,gBAAC,KAAD,CAAeK,QAAS,SAAAC,GACxDA,EAAMC,kBACNN,KACC,aAAW,iBACQ,gBAAC,KAAD,QAEPO,MAAM,eAAeP,eAAgBA,EAAgBC,OAAQA,EAAQC,SAAUA,GAAcC,GACrGN,IAUTH,EAAMc,aAAe,CACnBR,eAAgB,aAChBD,iBAAiB,EACjBE,OAAQ,IACRC,SAAU,KAEZ,IClCA,GDkCeO,EAAAA,EAAAA,MAAKf,I","sources":["webpack://_N_E/./src/components/Tippy/Tippy.styled.js","webpack://_N_E/./src/components/Tippy/Tippy.js","webpack://_N_E/./src/components/Tippy/index.js"],"sourcesContent":["import { styled } from \"@linaria/react\";\nimport TippyComponent from \"@tippyjs/react\";\nimport { colors } from \"common/styles/config\";\nexport const TippyContent = /*#__PURE__*/styled(\"div\")({\n name: \"TippyContent\",\n class: \"TippyContent_tjra0ov\"\n});\nexport const TippyContentStrong = /*#__PURE__*/styled(\"strong\")({\n name: \"TippyContentStrong\",\n class: \"TippyContentStrong_t15qbqw7\"\n});\nexport const CrossIcon = /*#__PURE__*/styled(\"i\")({\n name: \"CrossIcon\",\n class: \"CrossIcon_c1wl0heh\"\n});\nexport const CloseButton = /*#__PURE__*/styled(\"button\")({\n name: \"CloseButton\",\n class: \"CloseButton_c1v1axde\"\n});\nexport const Tippy = /*#__PURE__*/styled(TippyComponent)({\n name: \"Tippy\",\n class: \"Tippy_t1yzcz46\"\n});\n\nrequire(\"./Tippy.styled.linaria.module.css!=!../../../node_modules/@linaria/webpack5-loader/lib/outputCssLoader.js!./Tippy.styled.js\");","import React, { memo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport * as S from \"./Tippy.styled\";\nconst Tippy = ({\n children,\n content,\n withCloseButton,\n onClickOutside,\n zIndex,\n maxWidth,\n ...restProps\n}) => \n {content}\n {withCloseButton && {\n event.stopPropagation();\n onClickOutside();\n }} aria-label=\"Close tooltip\">\n \n }\n } theme=\"light-border\" onClickOutside={onClickOutside} zIndex={zIndex} maxWidth={maxWidth} {...restProps}>\n {children}\n ;\nTippy.propTypes = {\n children: PropTypes.node.isRequired,\n content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n onClickOutside: PropTypes.func,\n withCloseButton: PropTypes.bool,\n zIndex: PropTypes.number,\n maxWidth: PropTypes.number\n};\nTippy.defaultProps = {\n onClickOutside: () => {},\n withCloseButton: false,\n zIndex: 100,\n maxWidth: 490\n};\nexport default memo(Tippy);","import Tippy from \"./Tippy\";\n\nexport default Tippy;\n"],"names":["TippyContent","styled","name","class","TippyContentStrong","CrossIcon","CloseButton","Tippy","TippyComponent","require","children","content","withCloseButton","onClickOutside","zIndex","maxWidth","restProps","onClick","event","stopPropagation","theme","defaultProps","memo"],"sourceRoot":""}