/*! For license information please see Label.js.LICENSE.txt */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports["l3-style"]=t(require("react")):e["l3-style"]=t(e.react)}(this,(e=>(()=>{var t={94184:(e,t)=>{var r;!function(){"use strict";var o={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var l=s.apply(null,r);l&&e.push(l)}}else if("object"===i){if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]")){e.push(r.toString());continue}for(var n in r)o.call(r,n)&&r[n]&&e.push(n)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(r=function(){return s}.apply(t,[]))||(e.exports=r)}()},5725:(e,t,r)=>{"use strict";r.r(t)},42487:(e,t,r)=>{"use strict";r.r(t)},75251:(e,t,r)=>{"use strict";var o=r(8156),s=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;s=i("react.element"),t.Fragment=i("react.fragment")}var l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,n=Object.prototype.hasOwnProperty,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var o,i={},c=null,u=null;for(o in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)n.call(t,o)&&!a.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:s,type:e,key:c,ref:u,props:i,_owner:l.current}}t.jsx=c,t.jsxs=c},85893:(e,t,r)=>{"use strict";e.exports=r(75251)},1024:function(e,t,r){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const s=r(85893),i=r(8156),l=o(r(94184)),n=r(86762),a=o(r(81358));r(5725);const c={FILL:"fill",LINE:"line"},u={PRIMARY:"primary",DARK:"dark",NEGATIVE:"negative",POSITIVE:"positive"},p=({className:e,wrapperClassName:t,kind:r=c.FILL,color:o=u.PRIMARY,text:p="",isAnimationDisabled:f=!1,isLegIncluded:d=!1})=>{const y=(0,n.backwardCompatibilityForProperties)([e,t]),v=(0,i.useMemo)((()=>(0,l.default)("l3-style-label",`l3-style-label--kind-${r}`,`l3-style-label--color-${o}`,{"l3-style-label--with-animation":!f,"l3-style-label--with-leg":d})),[r,o,f,d]);return(0,s.jsx)("span",Object.assign({className:y},{children:(0,s.jsxs)("div",Object.assign({className:v},{children:[(0,s.jsx)("span",{children:p}),(0,s.jsx)("span",Object.assign({className:"l3-style-label__leg-wrapper"},{children:d?(0,s.jsx)(a.default,{}):null}))]}))}))};p.colors=u,p.kinds=c,t.default=p},81358:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=r(85893),s=()=>(0,o.jsx)("svg",Object.assign({width:"8",height:"5",viewBox:"0 0 8 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,o.jsx)("path",{d:"M0 0V2.76772C0 4.21783 1.77351 4.92116 2.76736 3.86519L5.45681 1.00765C6.06097 0.365738 6.90294 0.00127805 7.7843 3.35493e-06C5.30942 2.53165e-06 2.69058 1.4328e-06 0 0Z",fill:"#E44258"})}));s.displayName="Leg",t.default=s},86762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.backwardCompatibilityForProperties=void 0,t.backwardCompatibilityForProperties=function(e=[],t){const r=e.find((e=>void 0!==e));return void 0===r?t:r}},41921:(e,t,r)=>{"use strict";r(42487)},8156:t=>{"use strict";t.exports=e}},r={};function o(e){var s=r[e];if(void 0!==s)return s.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}return o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(41921),o(1024)})()));
//# sourceMappingURL=Label.js.map