import{s as e,_ as t}from"./style-inject.es-f40f6556.js";import n from"prop-types";import r from"react";import{FormattedMessage as l}from"react-intl";var a={labelContent:"cc_labelContent_3804785543",labelLink:"cc_labelLink_3804785543"};function i(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 s(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?i(Object(r),!0).forEach(function(n){t(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}e(".cc_labelContent_3804785543{font-size:var(--font-size-14);line-height:20px}@media (max-width:767px){.cc_labelContent_3804785543{display:none}}.cc_labelLink_3804785543{text-decoration:none!important}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9jb21tb24vTGFiZWwubW9kdWxlLmxlc3MiLCJMYWJlbC5tb2R1bGUubGVzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSw0QkFDRSw2QkFBQSxDQUNBLGdCQ0ZGLENESUUseUJBQUEsNEJBQ0UsWUNERixDQUNGLENESUEseUJBQ0UsOEJDRkYiLCJmaWxlIjoiTGFiZWwubW9kdWxlLmxlc3MifQ== */");var o=function(e){var t=e.styles,n=e.message,i=e.link,o=e.target,c=void 0===o?"_self":o,p=s(s({},a),t);return r.createElement("span",{className:p.labelContent},r.createElement(l,{id:n}),i&&r.createElement("sup",null," ",r.createElement("a",{className:p.labelLink,href:i,target:c},"[?]")))};o.propTypes={styles:n.shape({labelContent:n.string,labelLink:n.string}),message:n.string.isRequired,link:n.string},o.defaultProps={styles:{},link:null};export{o as L};
//# sourceMappingURL=Label-ebd8fac0.js.map
