Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

formidable-oss-badges

Package Overview
Dependencies
Maintainers
30
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formidable-oss-badges - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

CHANGELOG.md

2

dist/formidable-oss-badges.min.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("stylis/stylis.min"),require("stylis-rule-sheet"),require("react"),require("react-is"),require("stream"),require("prop-types"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","stylis/stylis.min","stylis-rule-sheet","react","react-is","stream","prop-types","react-dom"],t):t(e.ProjectBadges={},e.Stylis,e._insertRulePlugin,e.React,e.reactIs,e.stream,e.propTypes,e.ReactDOM)}(this,function(e,t,n,r,o,i,a,s){"use strict";function l(e,t){void 0===t&&(t=P);var n,r,o=[],i=!1,a=function(e,n){return t(e,o[n],n)};return function(){for(var t=arguments.length,s=new Array(t),l=0;l<t;l++)s[l]=arguments[l];return i&&n===this&&s.length===o.length&&s.every(a)?r:(r=e.apply(this,s),i=!0,n=this,o=s,r)}}function c(e){return"function"==typeof e}function u(e){return e.displayName||e.name||"Component"}function d(e){return e&&"string"==typeof e.styledComponentId}function p(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=e.join("").replace(ne,""),i=t&&n?n+" "+t+" { "+o+" }":o;return le=r,ce=t,ue=new RegExp("\\"+ce+"\\b","g"),oe(n||!t?"":t,i)}function f(e){return e.replace(He,"-$1").toLowerCase().replace(Ge,"-ms-")}function h(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in N?String(t).trim():t+"px"}function m(e,t,n){if(Array.isArray(e)){for(var r,i=[],a=0,s=e.length;a<s;a+=1)null!==(r=m(e[a],t,n))&&(Array.isArray(r)?i.push.apply(i,r):i.push(r));return i}if(Ve(e))return null;if(d(e))return"."+e.styledComponentId;if(c(e)){if(t){var l=!1;try{o.isElement(new e(t))&&(l=!0)}catch(e){}if(l)throw new ee(13,u(e));return m(e(t),t,n)}return e}return e instanceof De?n?(e.inject(n),e.getName()):e:$(e)?qe(e):e.toString()}function y(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m(c(e)||$(e)?L(X,[e].concat(n)):L(e,n))}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y;if(!o.isValidElementType(t))throw new ee(1,String(t));var r=function(){return e(t,n,y.apply(void 0,arguments))};return r.withConfig=function(r){return g(e,t,V({},n,r))},r.attrs=function(r){return g(e,t,V({},n,{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r}function v(e){for(var t,n=0|e.length,r=0|n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r^=r>>>13,((r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}function b(e){var t="",n=void 0;for(n=e;n>We;n=Math.floor(n/We))t=Ue(n%We)+t;return Ue(n%We)+t}function S(e){for(var t in e)if(c(e[t]))return!0;return!1}function w(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(Array.isArray(r)&&!w(r,t))return!1;if(c(r)&&!d(r))return!1}return!t.some(function(e){return c(e)||S(e)})}function x(e){return e.replace(Ze,"-").replace(Ke,"")}function C(e){return"string"==typeof e}function O(e){return C(e)?"styled."+e:"Styled("+u(e)+")"}function I(e,t,n){if("string"!=typeof t){var r=st(t);r&&r!==lt&&I(e,r,n);for(var o=ct.concat(rt(t),it(t)),i=tt[e.$$typeof]||Qe,a=tt[t.$$typeof]||Qe,s=o.length,l=void 0,c=void 0;s--;)if(c=o[s],!(et[c]||n&&n[c]||a&&a[c]||i&&i[c])&&(l=at(t,c)))try{nt(e,c,l)}catch(e){}return e}return e}function k(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)}function E(e,t,n){var r="string"!=typeof t?"sc":x(t),o=(ht[r]||0)+1;ht[r]=o;var i=r+"-"+e.generateName(r+o);return n?n+"-"+i:i}function A(e,t,n){var r=d(e),o=!C(e),i=t.displayName,a=void 0===i?O(e):i,s=t.componentId,l=void 0===s?E(Ye,t.displayName,t.parentComponentId):s,c=t.ParentComponent,p=void 0===c?mt:c,f=t.attrs,h=void 0===f?X:f,m=t.displayName&&t.componentId?x(t.displayName)+"-"+t.componentId:t.componentId||l,y=r&&e.attrs?Array.prototype.concat(e.attrs,h).filter(Boolean):h,g=new Ye(r?e.componentStyle.rules.concat(n):n,y,m),v=R.forwardRef(function(e,t){return R.createElement(p,V({},e,{forwardedClass:v,forwardedRef:t}))});return v.attrs=y,v.componentStyle=g,v.displayName=a,v.styledComponentId=m,v.target=r?e.target:e,v.withComponent=function(e){var r=t.componentId,o=W(t,["componentId"]),i=r&&r+"-"+(C(e)?e:x(u(e)));return A(e,V({},o,{attrs:y,componentId:i,ParentComponent:p}),n)},v.toString=function(){return"."+v.styledComponentId},o&&I(v,e,{attrs:!0,componentStyle:!0,displayName:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}function j(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=y.apply(void 0,[e].concat(n)),i=b(v(vt(JSON.stringify(o))));return new De(i,p(o,i,"@keyframes"))}t=t&&t.hasOwnProperty("default")?t.default:t,n=n&&n.hasOwnProperty("default")?n.default:n;var R="default"in r?r.default:r;i=i&&i.hasOwnProperty("default")?i.default:i,a=a&&a.hasOwnProperty("default")?a.default:a,s=s&&s.hasOwnProperty("default")?s.default:s;var M=function(e){return RegExp("[gjpqy]").test(e)?"50%":"52%"},T=function(e,t,n,r){if(0===n)return e.concat(t);if(t.length+e[e.length-1].length<=10){var o=e.pop()+" "+t;return e.concat(o)}return e.concat(t)},N={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},P=function(e,t){return e===t},F=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class)|(on[A-Z].*)|((data|aria|x)-.*))$/i,B=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(F.test.bind(F)),_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z=function(e,t){return e.raw=t,e},L=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},D="function"==typeof Symbol&&"symbol"===_(Symbol.iterator)?function(e){return void 0===e?"undefined":_(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":_(e)},H=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},G=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),V=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":_(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},W=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},U=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":_(t))&&"function"!=typeof t?e:t},$=function(e){return"object"===(void 0===e?"undefined":D(e))&&e.constructor===Object},X=Object.freeze([]),Y=Object.freeze({}),J="undefined"!=typeof process&&process.env.SC_ATTR||"data-styled",Z="undefined"!=typeof window&&"HTMLElement"in window,K="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||!1,Q={},ee=function(e){function t(n){H(this,t);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=U(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/src/utils/errors.md#"+n+" for more information. "+(o?"Additional arguments: "+o.join(", "):"")));return U(a)}return q(t,e),t}(Error),te=function(e){var t=""+(e||""),n=[];return t.replace(/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,function(e,t,r){return n.push({componentId:t,matchIndex:r}),e}),n.map(function(e,r){var o=e.componentId,i=e.matchIndex,a=n[r+1];return{componentId:o,cssFromDOM:a?t.slice(i,a.matchIndex):t.slice(i)}})},ne=/^\s*\/\/.*$/gm,re=new t({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),oe=new t({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),ie=[],ae=function(e){if(-2===e){var t=ie;return ie=[],t}},se=n(function(e){ie.push(e)}),le=void 0,ce=void 0,ue=void 0,de=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf(ce)&&n.slice(t-ce.length,t)!==ce?"."+le:e},pe=function(e,t,n){2===e&&n.length&&n[0].lastIndexOf(ce)>0&&(n[0]=n[0].replace(ue,de))};oe.use([pe,se,ae]),re.use([se,ae]);var fe=function(e){return re("",e)},he=function(){return"undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null},me=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},ye=function(e,t){e[t]=Object.create(null)},ge=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},ve=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},be=function(e){var t=Object.create(null);for(var n in e)t[n]=V({},e[n]);return t},Se=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets.length,n=0;n<t;n+=1){var r=document.styleSheets[n];if(r.ownerNode===e)return r}throw new ee(10)},we=function(e,t,n){if(!t)return!1;var r=e.cssRules.length;try{e.insertRule(t,n<=r?n:r)}catch(e){return!1}return!0},xe=function(e,t,n){for(var r=t-n,o=t;o>r;o-=1)e.deleteRule(o)},Ce=function(e){return"\n/* sc-component-id: "+e+" */\n"},Oe=function(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},Ie=function(e,t,n){var r=document.createElement("style");r.setAttribute(J,""),r.setAttribute("data-styled-version","4.1.1");var o=he();if(o&&r.setAttribute("nonce",o),r.appendChild(document.createTextNode("")),e&&!t)e.appendChild(r);else{if(!t||!e||!t.parentNode)throw new ee(6);t.parentNode.insertBefore(r,n?t:t.nextSibling)}return r},ke=function(e,t){return function(n){var r=he();return"<style "+[r&&'nonce="'+r+'"',J+'="'+ve(t)+'"','data-styled-version="4.1.1"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},Ee=function(e,t){return function(){var n,r=(n={},n[J]=ve(t),n["data-styled-version"]="4.1.1",n),o=he();return o&&(r.nonce=o),R.createElement("style",V({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},Ae=function(e){return function(){return Object.keys(e)}},je=function(e,t){var n=Object.create(null),r=Object.create(null),o=[],i=void 0!==t,a=!1,s=function(e){var t=r[e];return void 0!==t?t:(r[e]=o.length,o.push(0),ye(n,e),r[e])},l=function(r,l,c){for(var u=s(r),d=Se(e),p=Oe(o,u),f=0,h=[],m=l.length,y=0;y<m;y+=1){var g=l[y],v=i;v&&-1!==g.indexOf("@import")?h.push(g):we(d,g,p+f)&&(v=!1,f+=1)}i&&h.length>0&&(a=!0,t().insertRules(r+"-import",h)),o[u]+=f,me(n,r,c)},c=function(s){var l=r[s];if(void 0!==l){var c=o[l],u=Se(e),d=Oe(o,l)-1;xe(u,d,c),o[l]=0,ye(n,s),i&&a&&t().removeRules(s+"-import")}},u=function(){var t=Se(e).cssRules,n="";for(var i in r){n+=Ce(i);for(var a=r[i],s=Oe(o,a),l=s-o[a];l<s;l+=1){var c=t[l];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new ee(5)},css:u,getIds:Ae(r),hasNameForId:ge(n),insertMarker:s,insertRules:l,removeRules:c,sealed:!1,styleTag:e,toElement:Ee(u,n),toHTML:ke(u,n)}},Re=function(e){return document.createTextNode(Ce(e))},Me=function(e,t){var n=Object.create(null),r=Object.create(null),o=void 0!==t,i=!1,a=function(t){var o=r[t];return void 0!==o?o:(r[t]=Re(t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},s=function(e,r,s){for(var l=a(e),c=[],u=r.length,d=0;d<u;d+=1){var p=r[d],f=o;if(f&&-1!==p.indexOf("@import"))c.push(p);else{f=!1;var h=d===u-1?"":" ";l.appendData(""+p+h)}}me(n,e,s),o&&c.length>0&&(i=!0,t().insertRules(e+"-import",c))},l=function(a){var s=r[a];if(void 0!==s){var l=Re(a);e.replaceChild(l,s),r[a]=l,ye(n,a),o&&i&&t().removeRules(a+"-import")}},c=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new ee(5)},css:c,getIds:Ae(r),hasNameForId:ge(n),insertMarker:a,insertRules:s,removeRules:l,sealed:!1,styleTag:e,toElement:Ee(c,n),toHTML:ke(c,n)}},Te=function e(t,n){var r=void 0===t?Object.create(null):t,o=void 0===n?Object.create(null):n,i=function(e){var t=o[e];return void 0!==t?t:o[e]=[""]},a=function(e,t,n){i(e)[0]+=t.join(" "),me(r,e,n)},s=function(e){var t=o[e];void 0!==t&&(t[0]="",ye(r,e))},l=function(){var e="";for(var t in o){var n=o[t][0];n&&(e+=Ce(t)+n)}return e};return{clone:function(){var t=be(r),n=Object.create(null);for(var i in o)n[i]=[o[i][0]];return e(t,n)},css:l,getIds:Ae(o),hasNameForId:ge(r),insertMarker:i,insertRules:a,removeRules:s,sealed:!1,styleTag:null,toElement:Ee(l,r),toHTML:ke(l,r)}},Ne=function(e,t,n,r,o){if(Z&&!n){var i=Ie(e,t,r);return K?Me(i,o):je(i,o)}return Te()},Pe=function(e,t,n){for(var r=0,o=n.length;r<o;r+=1){var i=n[r],a=i.componentId,s=i.cssFromDOM,l=fe(s);e.insertRules(a,l)}for(var c=0,u=t.length;c<u;c+=1){var d=t[c];d.parentNode&&d.parentNode.removeChild(d)}},Fe=void 0;Fe=Z?K?40:1e3:-1;var Be,_e=0,ze=void 0,Le=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];H(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=Ne(t.target,n?n.styleTag:null,t.forceServer,!0)},_e+=1,this.id=_e,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!Z||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+J+'][data-styled-version="4.1.1"]'),o=r.length;if(!o)return this;for(var i=0;i<o;i+=1){var a=r[i];n||(n=!!a.getAttribute("data-styled-streamed"));for(var s,l=(a.getAttribute(J)||"").trim().split(/\s+/),c=l.length,u=0;u<c;u+=1)s=l[u],this.rehydratedNames[s]=!0;t.push.apply(t,te(a.textContent)),e.push(a)}var d=t.length;if(!d)return this;var p=this.makeTag(null);Pe(p,e,t),this.capacity=Math.max(1,Fe-d),this.tags.push(p);for(var f=0;f<d;f+=1)this.tagMap[t[f].componentId]=p;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ze=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map(function(e){for(var n=e.getIds(),r=e.clone(),o=0;o<n.length;o+=1)t.tagMap[n[o]]=r;return r}),t.rehydratedNames=V({},this.rehydratedNames),t.deferred=V({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach(function(e){e.sealed=!0})},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return Ne(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=Fe,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var r=this.clones,o=0;o<r.length;o+=1)r[o].inject(e,t,n);var i=this.getTagForId(e);if(void 0!==this.deferred[e]){var a=this.deferred[e].concat(t);i.insertRules(e,a,n),this.deferred[e]=void 0}else i.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map(function(e){return e.toHTML()}).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map(function(t,n){var o="sc-"+e+"-"+n;return r.cloneElement(t.toElement(),{key:o})})},G(e,null,[{key:"master",get:function(){return ze||(ze=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),De=function(){function e(t,n){var r=this;H(this,e),this.inject=function(e){e.hasNameForId(r.id,r.name)||e.inject(r.id,r.rules,r.name)},this.toString=function(){throw new ee(12,String(r.name))},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),He=/([A-Z])/g,Ge=/^ms-/,Ve=function(e){return void 0===e||null===e||!1===e||""===e},qe=function e(t,n){var r=Object.keys(t).filter(function(e){return!Ve(t[e])}).map(function(n){return $(t[n])?e(t[n],n):f(n)+": "+h(n,t[n])+";"}).join(" ");return n?n+" {\n "+r+"\n}":r},We=52,Ue=function(e){return String.fromCharCode(e+(e>25?39:97))},$e=!1,Xe=function(e){return b(v(e))},Ye=function(){function e(t,n,r){H(this,e),this.rules=t,this.isStatic=!$e&&w(t,n),this.componentId=r,Le.master.hasId(r)||Le.master.deferredInject(r,[])}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,r=this.componentId,o=this.lastClassName;if(Z&&n&&"string"==typeof o&&t.hasNameForId(r,o))return o;var i=m(this.rules,e,t),a=Xe(this.componentId+i.join(""));return t.hasNameForId(r,a)||t.inject(this.componentId,p(i,"."+a,void 0,r),a),this.lastClassName=a,a},e.generateName=function(e){return Xe(e)},e}(),Je=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Y,r=!!n&&e.theme===n.theme;return e.theme&&!r?e.theme:t||n.theme},Ze=/[[\].#*$><+~=|^:(),"'`-]+/g,Ke=/(^-|-$)/g,Qe={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},et={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tt=(Be={},Be[o.ForwardRef]={$$typeof:!0,render:!0},Be),nt=Object.defineProperty,rt=Object.getOwnPropertyNames,ot=Object.getOwnPropertySymbols,it=void 0===ot?function(){return[]}:ot,at=Object.getOwnPropertyDescriptor,st=Object.getPrototypeOf,lt=Object.prototype,ct=Array.prototype,ut=r.createContext(),dt=ut.Consumer,pt=(function(e){function t(n){H(this,t);var r=U(this,e.call(this,n));return r.getContext=l(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}q(t,e),t.prototype.render=function(){return this.props.children?R.createElement(ut.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return R.createElement(ut.Provider,{value:t},R.Children.only(this.props.children))},t.prototype.getTheme=function(e,t){if(c(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":D(e)))throw new ee(8);return V({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(r.Component),r.createContext()),ft=pt.Consumer,ht=(function(e){function t(n){H(this,t);var r=U(this,e.call(this,n));return r.getContext=l(r.getContext),r}q(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new Le(t);throw new ee(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return R.createElement(pt.Provider,{value:this.getContext(n,r)},t)}}(r.Component),{}),mt=function(e){function t(){H(this,t);var n=U(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return q(t,e),t.prototype.render=function(){return R.createElement(ft,null,this.renderOuter)},t.prototype.renderOuter=function(e){return this.styleSheet=e,this.props.forwardedClass.componentStyle.isStatic?this.renderInner():R.createElement(dt,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedClass,n=t.componentStyle,o=t.defaultProps,i=t.styledComponentId,a=t.target,s=void 0;s=n.isStatic?this.generateAndInjectStyles(Y,this.props,this.styleSheet):void 0!==e?this.generateAndInjectStyles(Je(this.props,e,o),this.props,this.styleSheet):this.generateAndInjectStyles(this.props.theme||Y,this.props,this.styleSheet);var l=this.props.as||this.attrs.as||a,c=C(l),u={},d=V({},this.attrs,this.props),p=void 0;for(p in d)"forwardedClass"!==p&&"as"!==p&&("forwardedRef"===p?u.ref=d[p]:c&&!B(p)||(u[p]=d[p]));return this.props.style&&this.attrs.style&&(u.style=V({},this.attrs.style,this.props.style)),u.className=[this.props.className,i,this.attrs.className,s].filter(Boolean).join(" "),r.createElement(l,u)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,o=V({},t,{theme:e});return n.length?(this.attrs={},n.forEach(function(e){var n=e,i=!1,a=void 0,s=void 0;c(n)&&(n=n(t),i=!0);for(s in n)a=n[s],i||!c(a)||k(a)||d(a)||(a=a(o)),r.attrs[s]=a,o[s]=a}),o):o},t.prototype.generateAndInjectStyles=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Le.master,r=t.forwardedClass,o=r.attrs,i=r.componentStyle;r.warnTooManyClasses;return i.isStatic&&!o.length?i.generateAndInjectStyles(Y,n):i.generateAndInjectStyles(this.buildExecutionContext(e,t,o),n)},t}(r.Component),yt=function(e){return g(A,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){yt[e]=yt(e)});var gt=function(){function e(t,n){H(this,e),this.rules=t,this.componentId=n,this.isStatic=w(t,X),Le.master.hasId(n)||Le.master.deferredInject(n,[])}return e.prototype.createStyles=function(e,t){var n=p(m(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)},e}();Z&&(window.scCGSHMRCache={});var vt=function(e){return e.replace(/\s|\\n/g,"")},bt=z(['\n @font-face {\n font-family: "Bai Jamjuree Semi Bold";\n src: url(',');\n }\n \n @font-face {\n font-family: "Work Sans Semi Bold";\n src: url(',");\n }\n"],['\n @font-face {\n font-family: "Bai Jamjuree Semi Bold";\n src: url(',');\n }\n \n @font-face {\n font-family: "Work Sans Semi Bold";\n src: url(',");\n }\n"]),St=z([""],[""]),wt=z(["\n 0% {\n opacity: 0.4;\n }\n 60% {\n opacity: 0.1;\n }\n 75% {\n opacity: 0.1;\n }\n 85% {\n opacity: 0.5;\n }\n 100% {\n opacity: 0.4;\n }\n"],["\n 0% {\n opacity: 0.4;\n }\n 60% {\n opacity: 0.1;\n }\n 75% {\n opacity: 0.1;\n }\n 85% {\n opacity: 0.5;\n }\n 100% {\n opacity: 0.4;\n }\n"]),xt=z(["\n 0% {\n opacity: 0.7;\n }\n 60% {\n opacity: 0.4;\n }\n 75% {\n opacity: 0.4;\n }\n 85% {\n opacity: 0.8;\n }\n 100% {\n opacity: 0.7;\n }\n"],["\n 0% {\n opacity: 0.7;\n }\n 60% {\n opacity: 0.4;\n }\n 75% {\n opacity: 0.4;\n }\n 85% {\n opacity: 0.8;\n }\n 100% {\n opacity: 0.7;\n }\n"]),Ct=z(["\n &:hover "," {\n animation: "," 1s;\n }\n &:hover "," {\n animation: "," 1s;\n }\n"],["\n &:hover "," {\n animation: "," 1s;\n }\n &:hover "," {\n animation: "," 1s;\n }\n"]),Ot=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=y.apply(void 0,[e].concat(n)),i="sc-global-"+v(JSON.stringify(o)),a=new gt(o,i),s=function(e){function t(){H(this,t);var n=U(this,e.call(this)),r=n.constructor,o=r.globalStyle,i=r.styledComponentId;return Z&&(window.scCGSHMRCache[i]=(window.scCGSHMRCache[i]||0)+1),n.state={globalStyle:o,styledComponentId:i},n}return q(t,e),t.prototype.componentDidMount=function(){},t.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},t.prototype.render=function(){var e=this;return R.createElement(ft,null,function(t){e.styleSheet=t||Le.master;var n=e.state.globalStyle;return n.isStatic?(n.renderStyles(Q,e.styleSheet),null):R.createElement(dt,null,function(t){var r=e.constructor.defaultProps,o=V({},e.props);return void 0!==t&&(o.theme=Je(e.props,t,r)),n.renderStyles(o,e.styleSheet),null})})},t}(R.Component);return s.defaultProps={suppressMultiMountWarning:!1},s.globalStyle=a,s.styledComponentId=i,s}(bt),It=yt.path(St),kt=yt.path(St),Et=j(wt),At=j(xt),jt=yt.svg(Ct,It,At,kt,Et),Rt=function(e){var t=e.color,n=void 0===t?"#FFFFFF":t,r=e.abbreviation,o=e.description,i=e.number,a=e.className,s=e.children,l=o&&o.split(" ").reduce(T,[]),c=l&&l.map(function(e,t,n){return R.createElement("text",{key:"description-"+t,x:"39%",y:(1===n.length?"66":65+6*t)+"%",fontFamily:"Work Sans Semi Bold",fontSize:1===n.length?"24":"18",letterSpacing:1.8,fill:"#1D1E1F",textAnchor:"middle"},e.toUpperCase())}),u=M(r);return R.createElement(R.Fragment,null,R.createElement(Ot,null),R.createElement(jt,{viewBox:"0 0 380 374",className:a},R.createElement("defs",null,R.createElement("filter",{x:"-25.7%",y:"-25.2%",width:"151.3%",height:"150.3%",filterUnits:"objectBoundingBox",id:"Badge_Copy_svg__a"},R.createElement("feOffset",{in:"SourceAlpha",result:"shadowOffsetOuter1"}),R.createElement("feGaussianBlur",{stdDeviation:20,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),R.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),R.createElement("feMerge",null,R.createElement("feMergeNode",{in:"shadowMatrixOuter1"}),R.createElement("feMergeNode",{in:"SourceGraphic"})))),R.createElement("g",{filter:"url(#Badge_Copy_svg__a)",transform:"translate(40 34)",x:"0",fill:"none",fillRule:"evenodd"},R.createElement("path",{d:"M170.918 9.364l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z",fill:"#202020"}),R.createElement("path",{d:"M7 220h286c-4.967 18.355-52.765 44.09-143.393 77.203C57.192 265.586 9.657 239.852 7 220z",fill:n}),R.createElement(kt,{d:"M149.822 39.175L45.223 85.501A15.5 15.5 0 0 0 36 99.673v106.543a15.5 15.5 0 0 0 9.314 14.212l104.508 45.485 104.508-45.485a15.5 15.5 0 0 0 9.315-14.212V99.673a15.5 15.5 0 0 0-9.223-14.172l-104.6-46.326zm0-13.124l109.476 48.401c9.717 4.378 16.347 14.34 16.347 25.221v106.543a27.5 27.5 0 0 1-16.526 25.215L149.822 279 40.526 231.431A27.5 27.5 0 0 1 24 206.216V99.673c0-10.88 6.826-21.025 16.364-25.22L149.822 26.05z",fill:n,fillRule:"nonzero",opacity:.4,className:"innerRing"}),R.createElement(It,{d:"M149.822 26.118L40.691 74.3A28 28 0 0 0 24 99.914v106.172A28 28 0 0 0 40.691 231.7l109.131 48.182L258.954 231.7a28 28 0 0 0 16.69-25.614V99.914a28 28 0 0 0-16.69-25.614L149.822 26.118zM149.988 13l113.657 50.643c14.493 6.399 24 20.428 24 36.271v106.172a40 40 0 0 1-23.844 36.592L149.822 293 35.844 242.678A40 40 0 0 1 12 206.086V99.914c0-15.843 9.66-29.91 23.844-36.23L149.988 13z",fill:n,fillRule:"nonzero",opacity:.7,className:"middleRing"}),R.createElement("path",{d:"M166.05 20.332a40 40 0 0 0-32.455 0l-97.823 43.42A40 40 0 0 0 12 100.311v105.377a40 40 0 0 0 23.772 36.56l97.823 43.42a40 40 0 0 0 32.455 0l97.822-43.42a40 40 0 0 0 23.773-36.56V100.31a40 40 0 0 0-23.773-36.56l-97.822-43.42zm4.868-10.968l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z",fill:n,fillRule:"nonzero"}),s||R.createElement("text",{fill:n,fontFamily:"Bai Jamjuree Semi Bold",fontSize:140,x:"39%",y:u,textAnchor:"middle",letterSpacing:-4},r),R.createElement("path",{d:"M150.175 9l35.21 18.827c-4.524 15.062-18.576 26.044-35.21 26.044-16.556 0-30.554-10.878-35.146-25.831L150.175 9z",fill:n}),R.createElement("text",{fontFamily:"Work Sans Semi Bold",fill:"#1D1E1F",fontSize:"24px",letterSpacing:.138,textAnchor:"middle",x:"39.5%",y:"10%"},i),c)))},Mt=function(e){var t=e.color,n=void 0===t?"#FFFFFF":t,r=e.className,o=e.children;return R.createElement(R.Fragment,null,R.createElement(Ot,null),R.createElement(jt,{viewBox:"0 0 380 374",className:r},R.createElement("defs",null,R.createElement("filter",{x:"-25.7%",y:"-25.2%",width:"151.3%",height:"150.3%",filterUnits:"objectBoundingBox",id:"Badge_Copy_svg__a"},R.createElement("feOffset",{in:"SourceAlpha",result:"shadowOffsetOuter1"}),R.createElement("feGaussianBlur",{stdDeviation:20,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),R.createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),R.createElement("feMerge",null,R.createElement("feMergeNode",{in:"shadowMatrixOuter1"}),R.createElement("feMergeNode",{in:"SourceGraphic"})))),R.createElement("g",{filter:"url(#Badge_Copy_svg__a)",transform:"translate(40 34)",x:"0",fill:"none",fillRule:"evenodd"},R.createElement("path",{d:"M170.918 9.364l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z",fill:"#202020"}),R.createElement("path",{d:"M166.05 20.332a40 40 0 0 0-32.455 0l-97.823 43.42A40 40 0 0 0 12 100.311v105.377a40 40 0 0 0 23.772 36.56l97.823 43.42a40 40 0 0 0 32.455 0l97.822-43.42a40 40 0 0 0 23.773-36.56V100.31a40 40 0 0 0-23.773-36.56l-97.822-43.42zm4.868-10.968l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z",fill:n,fillRule:"nonzero"}),o)))};e.ProjectBadge=Rt,e.IconBadge=Mt,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("styled-components"),require("react"),require("prop-types")):"function"==typeof define&&define.amd?define(["exports","styled-components","react","prop-types"],t):t(e.ProjectBadges={},e.styled,e.React,e.PropTypes)}(this,function(e,t,l,a){"use strict";var n="default"in t?t.default:t;l=l&&l.hasOwnProperty("default")?l.default:l,a=a&&a.hasOwnProperty("default")?a.default:a;var c=function(e){return RegExp("[gjpqy]").test(e)?"50%":"52%"},r=function(e,t,l,a){if(0===l)return e.concat(t);if(t.length+e[e.length-1].length<=10){var n=e.pop()+" "+t;return e.concat(n)}return e.concat(t)},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},o=function(e,t){var l={};for(var a in e)t.indexOf(a)>=0||Object.prototype.hasOwnProperty.call(e,a)&&(l[a]=e[a]);return l},f=function(e,t){return e.raw=t,e},m=f([""],[""]),s=f(["\n 0% {\n opacity: 0.4;\n }\n 60% {\n opacity: 0.1;\n }\n 75% {\n opacity: 0.1;\n }\n 85% {\n opacity: 0.5;\n }\n 100% {\n opacity: 0.4;\n }\n"],["\n 0% {\n opacity: 0.4;\n }\n 60% {\n opacity: 0.1;\n }\n 75% {\n opacity: 0.1;\n }\n 85% {\n opacity: 0.5;\n }\n 100% {\n opacity: 0.4;\n }\n"]),p=f(["\n 0% {\n opacity: 0.7;\n }\n 60% {\n opacity: 0.4;\n }\n 75% {\n opacity: 0.4;\n }\n 85% {\n opacity: 0.8;\n }\n 100% {\n opacity: 0.7;\n }\n"],["\n 0% {\n opacity: 0.7;\n }\n 60% {\n opacity: 0.4;\n }\n 75% {\n opacity: 0.4;\n }\n 85% {\n opacity: 0.8;\n }\n 100% {\n opacity: 0.7;\n }\n"]),d=f(["\n &:hover "," {\n animation: "," 1s;\n }\n &:hover "," {\n animation: "," 1s;\n }\n"],["\n &:hover "," {\n animation: "," 1s;\n }\n &:hover "," {\n animation: "," 1s;\n }\n"]),h=n.path(m),E=n.path(m),v=t.keyframes(s),F=t.keyframes(p),u=n.svg(d,h,F,E,v),y=function(e){var t=e.color,a=void 0===t?"#FFFFFF":t,n=e.abbreviation,i=e.description,o=(e.className,e.children),f=i&&i.split(" ").reduce(r,[]),m=f&&f.map(function(e,t,a){var n;return l.createElement("text",(n={key:"description-"+t,x:"50%",y:(1===a.length?74:70+6*t)+"%",fontFamily:"Helvetica",fontSize:1===a.length?"44":"36",letterSpacing:1.8,fill:"#202020",fontWeight:"bold"},n.letterSpacing=1,n.textAnchor="middle",n),e.toUpperCase())}),s=c(n);return l.createElement(l.Fragment,null,l.createElement(u,{viewBox:"0 0 600 595"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{d:"M342.277 9.4l195.971 87.165C575.801 113.268 600 150.515 600 191.616v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L61.752 498.628C24.199 481.925 0 444.678 0 403.578V191.615c0-41.1 24.199-78.348 61.752-95.05L257.723 9.4a104.029 104.029 0 0184.554 0z",fill:a}),l.createElement("path",{d:"M327.97 42.47a68.877 68.877 0 00-56.109.037l-196.786 87.92c-23.663 10.572-38.9 34.067-38.9 59.985v213.356c0 26.74 15.739 50.973 40.167 61.848l195.557 87.055a68.877 68.877 0 0056.006.008l195.732-87.07c24.437-10.872 40.184-35.11 40.184-61.856v-212.32c0-26.738-15.738-50.972-40.166-61.847L327.97 42.47z",strokeOpacity:.3,stroke:"#202020",strokeWidth:24.247}),l.createElement("path",{d:"M337.399 20.368a92.026 92.026 0 00-74.798 0l-195.97 87.165c-33.221 14.775-54.628 47.725-54.628 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.971 87.164a92.026 92.026 0 0074.798 0l195.97-87.164c33.221-14.776 54.628-47.726 54.628-84.084v-211.96c0-36.359-21.407-69.309-54.627-84.084L337.399 20.368z",strokeOpacity:.6,stroke:"#202020",strokeWidth:24.007}),o||l.createElement("text",{fill:"#202020",fontFamily:"Helvetica",fontSize:230,letterSpacing:-5.5,textAnchor:"middle",x:"50%",y:s},n),m)))},M=function(e){var t=e.color,a=void 0===t?"#202020":t,n=(e.className,e.children);return l.createElement(l.Fragment,null,l.createElement(u,{viewBox:"0 0 600 595"},l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{d:"M342.277 9.4l195.971 87.165C575.801 113.268 600 150.515 600 191.616v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L61.752 498.628C24.199 481.925 0 444.678 0 403.578V191.615c0-41.1 24.199-78.348 61.752-95.05L257.723 9.4a104.029 104.029 0 0184.554 0z",fill:"#1F1F1F"}),l.createElement("path",{d:"M337.399 20.368a92.026 92.026 0 00-74.798 0l-195.97 87.165c-33.221 14.775-54.628 47.725-54.628 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.971 87.164a92.026 92.026 0 0074.798 0l195.97-87.164c33.221-14.776 54.628-47.726 54.628-84.084v-211.96c0-36.359-21.407-69.309-54.627-84.084L337.399 20.368z",strokeOpacity:.6,stroke:a,strokeWidth:24.007}),n)))},z={renature:function(e){e.styles;var t=o(e,["styles"]);return l.createElement("svg",i({viewBox:"0 0 604 598",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},t),l.createElement("defs",null,l.createElement("circle",{id:"a",cx:"98.239",cy:"98.239",r:"98.239"})),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{d:"M344.08 9.423l197.004 87.624c37.75 16.79 62.077 54.234 62.077 95.551v213.078c0 41.317-24.326 78.76-62.077 95.552L344.08 588.852a104.577 104.577 0 01-85 0L62.078 501.228C24.327 484.437 0 446.993 0 405.676V192.598c0-41.317 24.326-78.76 62.077-95.551L259.081 9.423a104.577 104.577 0 0185 0z",fill:"#202020",fillRule:"nonzero"}),l.createElement("path",{d:"M334.02 43.503a80.297 80.297 0 00-65.083 0l-192.154 85.18c-24.973 11.07-41.074 35.82-41.074 63.136v214.828c0 27.317 16.1 52.066 41.074 63.136l192.154 85.18a80.297 80.297 0 0065.082 0l192.155-85.18c24.973-11.07 41.074-35.82 41.074-63.136V191.82c0-27.317-16.101-52.066-41.074-63.136l-192.155-85.18z",stroke:"#9580FF",strokeWidth:"24.374",opacity:".499"}),l.createElement("path",{d:"M339.176 20.448a92.51 92.51 0 00-75.191 0L66.98 108.072c-33.395 14.853-54.914 47.977-54.914 84.526v213.078c0 36.55 21.519 69.673 54.914 84.527l197.004 87.623a92.51 92.51 0 0075.191 0l197.004-87.623c33.395-14.854 54.914-47.977 54.914-84.527V192.598c0-36.55-21.519-69.673-54.914-84.526L339.176 20.448z",stroke:"#9580FF",strokeWidth:"24.133"}),l.createElement("text",{fill:"#9580FF",fontFamily:"Helvetica-Bold, Helvetica",fontSize:"51",fontWeight:"bold",letterSpacing:"2"},l.createElement("tspan",{x:"153",y:"455"},"RENATURE")),l.createElement("g",{transform:"rotate(-23.5 629.254 -64.262)"},l.createElement("ellipse",{fill:"#202020",fillRule:"nonzero",transform:"matrix(-1 0 0 1 393.732 0)",cx:"196.866",cy:"111.856",rx:"190.87",ry:"37.71"}),l.createElement("ellipse",{fill:"#202020",fillRule:"nonzero",transform:"matrix(-1 0 0 1 397.916 0)",cx:"198.958",cy:"107.879",rx:"198.54",ry:"41.719"}),l.createElement("circle",{cx:"98.239",cy:"98.239",r:"98.239",fill:"#D8D8D8",fillRule:"nonzero",transform:"translate(101.531 2.01)"}),l.createElement("g",{transform:"translate(101.531 2.01)"},l.createElement("mask",{id:"b",fill:"#fff"},l.createElement("use",{xlinkHref:"#a"})),l.createElement("g",{fillRule:"nonzero",mask:"url(#b)"},l.createElement("path",{fill:"#7860ED",d:"M0-2.707h200.732V180.62H0z"}),l.createElement("path",{d:"M22.056 51.675c50.903-4.814 105.932-4.733 165.086.24l5.718 34.59C140.834 90.37 85.284 85.494 26.21 71.879c-3.6-10.945-4.985-17.68-4.154-20.203z",fill:"#6C55D6"}),l.createElement("path",{d:"M17.457 37.389c74.036-11.322 125.479-14.658 154.33-10.01 30.388 2.922 36.904 11.96 19.546 27.112C103.745 49.355 40.135 51.486.502 60.884c-39.633 9.399-33.98 1.567 16.955-23.495zM-2.707 101.333c73.775 10.812 141.588 10.812 203.44 0 33.906 4.383 33.906 13.15 0 26.3H-2.708v-26.3z",fill:"#6551C5"}),l.createElement("path",{fill:"#6C55D6",d:"M2.144 123.936h194.334l-9.026 26.062L6.3 138.868zM1.16 12.763c52.171-9.476 107.12-7.508 164.847 5.905l20.462 20.157C140.373 26.829 79.989 23.119 5.315 27.695 1.715 19.605.33 14.628 1.16 12.763z"}))),l.createElement("path",{d:"M130.412 169.715c38.365 38.365 98.69 41.777 139.699.768 0 0-69.364 13.178-114.674-44.099-45.31-57.276 9.182-119.151 9.472-119.441-82.786 42.716-72.861 124.407-34.497 162.772z",fill:"#4C4086",fillRule:"nonzero"}),l.createElement("path",{d:"M134.193 163.696c38.364 38.364 98.689 41.777 139.698.767 0 0-69.363 13.178-114.674-44.098C113.907 63.088 167.41 5.774 167.7 5.484 84.914 48.2 95.828 125.33 134.193 163.696z",fill:"#1F1F1F",fillRule:"nonzero"}),l.createElement("circle",{stroke:"#1F1F1F",strokeWidth:"5.802",cx:"199.491",cy:"100.25",r:"98.239"}),l.createElement("path",{d:"M389.255 111.856c0 20.827-85.456 37.71-190.87 37.71-74.397 0-138.853-8.41-170.343-20.68 35.168 5.845 83.86 9.464 137.661 9.464 107.23 0 194.157-14.373 194.157-32.102 0-8.946-22.13-17.036-57.83-22.858a101.652 101.652 0 00-.751-3.302c52.913 6.705 87.976 18.427 87.976 31.768z",fill:"#202020",fillRule:"nonzero"}),l.createElement("path",{d:"M74.37 82.87l-.753.219c-15.8 4.605-24.885 9.994-24.885 15.754 0 15.551 66.21 28.4 152.05 30.404 85.058-2.127 150.44-14.911 150.44-30.365 0-5.76-9.084-11.15-24.884-15.754l-.754-.219c24.51 5.324 39.304 12.226 39.304 19.768 0 16.842-73.771 30.494-164.772 30.494-32.397 0-62.61-1.73-88.09-4.719a506.717 506.717 0 01-11.364-1.46c-39.844-5.566-65.596-14.404-65.596-24.354 0-7.542 14.794-14.444 39.304-19.767z",fill:"#D6CFF9",fillRule:"nonzero"}),l.createElement("path",{d:"M198.91 144.974c-105.414 0-190.869-16.883-190.869-37.71 0-13.34 35.063-25.063 87.976-31.767a101.654 101.654 0 00-.75 3.302c-35.702 5.82-57.832 13.912-57.832 22.857 0 15.932 70.193 29.153 162.235 31.67 92.043-2.518 162.235-15.738 162.235-31.67 0-8.945-22.13-17.036-57.831-22.857a101.652 101.652 0 00-.751-3.302c52.913 6.704 87.976 18.427 87.976 31.767 0 20.827-85.455 37.71-190.87 37.71h-1.518z",fill:"#B5ACE1",fillRule:"nonzero"}))))},victory:function(e){e.styles;var t=o(e,["styles"]);return l.createElement("svg",i({viewBox:"0 0 600 595",xmlns:"http://www.w3.org/2000/svg"},t),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{d:"M342.277 9.4l195.971 87.165C575.801 113.268 600 150.515 600 191.616v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L61.752 498.628C24.199 481.925 0 444.678 0 403.578V191.615c0-41.1 24.199-78.348 61.752-95.05L257.723 9.4a104.029 104.029 0 0184.554 0z",fill:"#202020"}),l.createElement("path",{d:"M332.269 43.303a79.877 79.877 0 00-64.741 0L76.38 128.036c-24.842 11.012-40.858 35.632-40.858 62.805v213.702c0 27.174 16.016 51.793 40.858 62.805l191.148 84.734a79.877 79.877 0 0064.74 0l191.148-84.734c24.842-11.012 40.859-35.631 40.859-62.805V190.841c0-27.173-16.017-51.793-40.859-62.805L332.27 43.303z",stroke:"#FF684F",strokeWidth:"24.247",opacity:".499"}),l.createElement("path",{d:"M337.399 20.368a92.026 92.026 0 00-74.798 0l-195.97 87.165c-33.221 14.775-54.628 47.725-54.628 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.971 87.164a92.026 92.026 0 0074.798 0l195.97-87.164c33.221-14.776 54.628-47.726 54.628-84.084v-211.96c0-36.359-21.407-69.309-54.627-84.084L337.399 20.368z",stroke:"#FF684F",strokeWidth:"24.007"}),l.createElement("text",{fontFamily:"Helvetica-Bold, Helvetica",fontSize:"51",fontWeight:"bold",letterSpacing:"2",fill:"#FF684F",transform:"translate(0 -10)"},l.createElement("tspan",{x:"181",y:"459"},"VICTORY")),l.createElement("path",{fill:"#FF684F",d:"M223.963 151h21.98l58.319 213H282.28z"}),l.createElement("path",{fill:"#E04126",d:"M362.13 233.44H340L304.263 364h21.973z"}),l.createElement("path",{fill:"#FF684F",d:"M401.607 169.473h-21.904l-26.201 95.357h21.814z"}),l.createElement("path",{d:"M201.981 151h21.982l58.317 213a28.809 28.809 0 01-27.786-21.201L201.981 151z",fill:"#E04126"}),l.createElement("path",{d:"M245.944 151a28.809 28.809 0 0127.786 21.201L326.243 364h-21.981l-58.318-213z",fill:"#FF9877"}),l.createElement("path",{d:"M223.963 151l5.068 18.473h-24.595A25.079 25.079 0 01180.243 151h43.72z",fill:"#FF684F"}),l.createElement("path",{d:"M409.967 203.367c8.993-6.29 11.19-18.675 4.911-27.675l-18.836-26.996-30.789 14.49c-9.982 4.698-14.266 16.599-9.568 26.581l.01.021 33.724-15.872 20.548 29.45z",fill:"#FF684F",fillRule:"nonzero"})))},spectacle:function(e){e.styles;var t=o(e,["styles"]);return l.createElement("svg",i({viewBox:"0 0 601 595",xmlns:"http://www.w3.org/2000/svg"},t),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{d:"M342.944 9.4l195.97 87.165c37.554 16.703 61.753 53.95 61.753 95.051v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L62.419 498.628C24.865 481.925.667 444.678.667 403.578V191.615c0-41.1 24.198-78.348 61.752-95.05L258.389 9.4a104.029 104.029 0 0184.555 0z",fill:"#202020"}),l.createElement("path",{d:"M332.935 43.303a79.877 79.877 0 00-64.74 0L77.047 128.036c-24.842 11.012-40.859 35.632-40.859 62.805v213.702c0 27.174 16.017 51.793 40.859 62.805l191.148 84.734a79.877 79.877 0 0064.74 0l191.148-84.734c24.842-11.012 40.859-35.631 40.859-62.805V190.841c0-27.173-16.017-51.793-40.859-62.805L332.935 43.303z",stroke:"#FC6986",strokeWidth:"24.247",opacity:".499"}),l.createElement("path",{d:"M338.066 20.368a92.026 92.026 0 00-74.798 0L67.297 107.533c-33.22 14.775-54.627 47.725-54.627 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.97 87.164a92.026 92.026 0 0074.799 0l195.97-87.164c33.22-14.776 54.627-47.726 54.627-84.084v-211.96c0-36.359-21.406-69.309-54.626-84.084L338.066 20.368z",stroke:"#FC6986",strokeWidth:"24.007"}),l.createElement("path",{d:"M288.664 351.514L180.78 246.686c-13.206-12.832-11.667-34.537 3.217-45.356 14.884-10.82 35.883-5.501 43.882 11.116l65.348 135.75c1.392 2.891-2.266 5.55-4.564 3.318",fill:"#F14E74"}),l.createElement("path",{d:"M293.222 348.17l-65.465-135.692c-8.014-16.61.855-36.461 18.532-41.483 17.678-5.023 35.579 7.223 37.408 25.59l14.946 150.046c.319 3.196-4.027 4.43-5.42 1.54",fill:"#FC6986"}),l.createElement("path",{d:"M285.442 356.155l-137.206-61.1c-16.795-7.48-22.787-28.39-12.52-43.697 10.266-15.307 31.804-17.577 45.008-4.743L288.591 351.46c2.297 2.233-.226 5.996-3.149 4.694",fill:"#E13E65"}),l.createElement("path",{d:"M134.672 253.137c.735-1.507 6.488-12.257 22.256-14.9 7.153-1.198 17.405 1.147 25.97 10.593l99.313 96.342.715 4.147-97.933-76.994s-15.567-12.2-33.373-.767l-.042-.046a12.583 12.583 0 01-6.664 1.913c-7.015 0-12.701-5.715-12.701-12.763 0-2.818.92-5.413 2.459-7.525",fill:"#FC6986"}),l.createElement("path",{d:"M182.112 202.702c1.204-1.166 10.262-9.297 25.981-6.375 7.131 1.326 15.97 7.047 20.814 18.862l60.587 125.147-.736 4.144-65.863-106.488s-10.489-16.806-31.108-12.164l-.024-.058a12.569 12.569 0 01-6.914-.486c-6.593-2.406-9.998-9.727-7.604-16.352a12.68 12.68 0 014.867-6.23M244.214 171.788c1.528-.678 12.82-5.18 26.577 3.002 6.24 3.71 12.58 12.138 13.08 24.907l14.01 138.455-2.11 3.635-25.356-122.76s-4.092-19.407-25.04-22.18l-.004-.062a12.587 12.587 0 01-6.324-2.85c-5.366-4.538-6.055-12.589-1.538-17.981a12.619 12.619 0 016.705-4.166",fill:"#FF92AC"}),l.createElement("path",{d:"M281.943 188.953l-1.022 133.213s4.055 29.884 9.105 36.032l-23.664-10.511c-8.94-7.605-6.593-24.569-6.593-24.569l22.174-134.165z",fill:"#FF92AC"}),l.createElement("path",{d:"M299.583 359.707c-17.64 0-31.939-14.367-31.939-32.09L286.22 147.77c.71-6.88 6.48-12.106 13.364-12.106 6.883 0 12.652 5.226 13.363 12.106l18.575 179.847c0 17.723-14.3 32.09-31.938 32.09",fill:"#E13E65"}),l.createElement("path",{fill:"#FF92AC",d:"M290.292 166.361l9.306 16.484 9.353-16.273"}),l.createElement("path",{d:"M312.93 149.076c0 7.407-2.815 24.036-13.347 24.036-10.092 0-13.349-16.629-13.349-24.036s5.977-13.412 13.349-13.412 13.348 6.005 13.348 13.412M353.455 170.994c-15.436-4.386-31.042 4.398-35.969 18.926l16.575 101.17 37.926-78.611c8.014-16.61-.855-36.463-18.532-41.485M300.19 336.453c-1.096-.137-17.919-2.58-17.508-22.395l3.59-89.137a114.848 114.848 0 00-4.318-36.15l-14.32 138.864a7.42 7.42 0 00.075 2.034c.37 5.013 2.533 18.102 14.921 25.297 4.188 2.432 9.66 4.675 16.396 4.732l.002-.026c.107.003.21.016.318.016 6.397 0 11.583-5.21 11.583-11.64 0-6.14-4.737-11.16-10.74-11.595",fill:"#FC6986"}),l.createElement("path",{d:"M271.52 224.343s2.258 13.802-.283 29.306l2.54-7.94 2.447-18.908-4.704-2.458zM362.235 175.954a12.619 12.619 0 00-6.704-4.166c-1.529-.678-12.82-5.18-26.577 3.001-4.513 2.684-9.066 7.847-11.436 15.322l7.866 48.02 3.946-19.104s4.091-19.406 25.04-22.18l.004-.062a12.592 12.592 0 006.323-2.849c5.367-4.539 6.056-12.59 1.538-17.982",fill:"#FF92AC"}),l.createElement("path",{d:"M415.747 201.33c-14.884-10.82-35.883-5.5-43.882 11.116l-37.818 78.56 5.328 32.518s.024.156.058.44l79.531-77.278c13.206-12.832 11.666-34.537-3.217-45.356",fill:"#F14E74"}),l.createElement("path",{d:"M422.5 208.932a12.685 12.685 0 00-4.867-6.23c-1.204-1.166-10.263-9.298-25.982-6.374-7.13 1.325-15.97 7.045-20.813 18.86l-36.77 75.95 2.077 12.667 40.704-65.812s10.49-16.807 31.108-12.165l.024-.058c2.233.468 4.614.353 6.914-.487 6.594-2.405 9.999-9.726 7.605-16.351",fill:"#FF92AC"}),l.createElement("path",{d:"M464.029 251.358c-10.267-15.307-31.805-17.577-45.008-4.743l-79.587 77.358c.324 2.7 1.61 16.966-6.419 23.849l118.494-52.767c16.795-7.48 22.786-28.39 12.52-43.697",fill:"#E13E65"}),l.createElement("path",{d:"M465.073 253.137c-.736-1.507-6.489-12.257-22.257-14.9-7.153-1.199-17.405 1.147-25.97 10.593l-77.414 75.128c.128 1.057.407 3.946.2 7.476l75.12-59.109s15.567-12.201 33.372-.767l.042-.046a12.58 12.58 0 006.665 1.913c7.014 0 12.701-5.715 12.701-12.763 0-2.818-.92-5.413-2.46-7.525",fill:"#FC6986"}),l.createElement("text",{fontFamily:"Helvetica-Bold, Helvetica",fontSize:"52.014",fontWeight:"bold",letterSpacing:"3.853",fill:"#FC6986",transform:"translate(.667 -10)"},l.createElement("tspan",{x:"125.5",y:"467"},"SPECTACLE"))))},urql:function(e){e.styles;var t=o(e,["styles"]);return l.createElement("svg",i({viewBox:"0 0 600 595",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},t),l.createElement("defs",null,l.createElement("path",{id:"a",d:"M0 .9h242.898v228.749H0z"}),l.createElement("path",{id:"c",d:"M0 .9h161.932v122.147H0z"}),l.createElement("path",{id:"e",d:"M0 .9H142.26v122.147H0z"})),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("path",{d:"M342.277 9.4l195.971 87.165C575.801 113.268 600 150.515 600 191.616v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L61.752 498.628C24.199 481.925 0 444.678 0 403.578V191.615c0-41.1 24.199-78.348 61.752-95.05L257.723 9.4a104.029 104.029 0 0184.554 0z",fill:"#202020"}),l.createElement("path",{d:"M332.269 43.303a79.877 79.877 0 00-64.741 0L76.38 128.036c-24.842 11.012-40.858 35.632-40.858 62.805v213.702c0 27.174 16.016 51.793 40.858 62.805l191.148 84.734a79.877 79.877 0 0064.74 0l191.148-84.734c24.842-11.012 40.859-35.631 40.859-62.805V190.841c0-27.173-16.017-51.793-40.859-62.805L332.27 43.303z",stroke:"#8196FF",strokeWidth:"24.247",opacity:".499"}),l.createElement("path",{d:"M337.399 20.368a92.026 92.026 0 00-74.798 0l-195.97 87.165c-33.221 14.775-54.628 47.725-54.628 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.971 87.164a92.026 92.026 0 0074.798 0l195.97-87.164c33.221-14.776 54.628-47.726 54.628-84.084v-211.96c0-36.359-21.407-69.309-54.627-84.084L337.399 20.368z",stroke:"#8196FF",strokeWidth:"24.007"}),l.createElement("text",{fontFamily:"Helvetica-Bold, Helvetica",fontSize:"51",fontWeight:"bold",letterSpacing:"2",fill:"#8196FF",transform:"translate(0 -10)"},l.createElement("tspan",{x:"223",y:"464"},"URQL")),l.createElement("g",{transform:"translate(138 147.451)"},l.createElement("mask",{id:"b",fill:"#fff"},l.createElement("use",{xlinkHref:"#a"})),l.createElement("path",{d:"M135.063 169.782l45.166 45.214v14.653l15.112-14.763-33.75-33.789v-18.136l15.537 15.556 40.898.117 24.872 24.897v-26.5c0-8.98-3.564-17.594-9.908-23.944l-71.058-71.135-71.424-71.5a32.556 32.556 0 00-46.073 0L0 54.934h26.658c7.23-7.238 18.953-7.238 26.183 0l.316.316 54.296 54.354H80.768l-27.611-27.64v12.537a33.79 33.79 0 009.88 23.88l18.009 18.028 26.685 26.712a21.14 21.14 0 006.181 14.94l21.104 21.129 13.528 13.54-.104 12.55 12.751-11.127v14.391l14.571-13.888-40.699-40.743",fill:"#8196FF",mask:"url(#b)"})),l.createElement("g",{transform:"translate(299.932 147.451)"},l.createElement("mask",{id:"d",fill:"#fff"},l.createElement("use",{xlinkHref:"#c"})),l.createElement("path",{d:"M0 81.952l71.424-71.5a32.556 32.556 0 0146.073 0l44.435 44.482h-26.658c-7.23-7.238-18.953-7.238-26.183 0l-.316.316-67.724 67.797",fill:"#647BED",mask:"url(#d)"})),l.createElement("g",{transform:"translate(198.724 147.451)"},l.createElement("mask",{id:"f",fill:"#fff"},l.createElement("use",{xlinkHref:"#e"})),l.createElement("path",{d:"M142.259 123.047l-41.051-41.095-71.425-71.5A32.562 32.562 0 006.747.898C4.461.9 2.202 1.146 0 1.614a32.558 32.558 0 0116.29 8.837l71.423 71.5 41.01 41.055 13.536.04z",fill:"#A2B1FF",mask:"url(#f)"})),l.createElement("path",{d:"M203.975 268.774h58.135l11.707-11.718h-55.05l-27.61-27.64v12.537a33.79 33.79 0 009.88 23.88l2.938 2.941z",fill:"#A2B1FF"}),l.createElement("path",{d:"M354.523 309.991a3.252 3.252 0 003.25 3.255 3.252 3.252 0 003.251-3.255 3.252 3.252 0 00-3.25-3.254h-3.251v3.254z",fill:"#4D65DD"}),l.createElement("path",{d:"M215.456 198.648c-12.929-12.943-33.89-12.943-46.817 0l-2.152 2.154c7.26-5.59 17.703-5.074 24.354 1.584l.124.123h.192l66.02 66.277 28.053-.29-66.379-66.449-3.395-3.399z",fill:"#647BED"}),l.createElement("path",{d:"M384.327 198.648c12.929-12.943 33.89-12.943 46.817 0l2.152 2.154c-7.26-5.59-17.704-5.074-24.354 1.584l-.124.123h-.192l-67.683 67.95-14.175-14.19 54.162-54.222 3.397-3.399zM233.344 298.175l12.387 12.4a21.14 21.14 0 006.181 14.939l21.104 21.127 13.528 13.541-.104 12.55 12.751-11.126v14.391l14.571-13.89-40.699-40.742 1.995-2.136 43.17 43.219V377.1l15.114-14.763-33.752-33.788v-18.137a41.72 41.72 0 00-29.513-12.237h-36.733z",fill:"#4D65DD"}),l.createElement("path",{d:"M313.762 362.108l-40.7-40.743-23.165-23.19h-16.553l12.386 12.4a21.14 21.14 0 006.182 14.939l21.105 21.127 13.528 13.542-.105 12.55 12.752-11.128v14.392l14.57-13.89z",fill:"#647BED"}),l.createElement("path",{d:"M417.428 157.903a32.556 32.556 0 00-23.036-9.552c-2.286 0-4.545.247-6.747.714a32.548 32.548 0 0116.289 8.838l44.435 44.483h13.495l-44.436-44.483z",fill:"#8196FF"})))}},g=function(e){var t=e.name,a=e.className,n=z[t.toLowerCase()];return n?l.createElement(n,{className:a}):null};g.propTypes={name:function(e,t){if(!Object.keys(z).some(function(l){var a=new RegExp(e[t],"i");return l.match(a)}))throw new Error("The supplied name must match one of the featured logos")},className:a.string},g.defaultProps={className:""},e.ProjectBadge=y,e.IconBadge=M,e.FeaturedBadge=g,Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "formidable-oss-badges",
"version": "0.2.1",
"version": "0.3.0",
"description": "Badges for Formidable OSS",

@@ -9,4 +9,4 @@ "license": "MIT",

"module": "dist/formidable-oss-badges.es.js",
"dependencies": {
"buble": "0.19.6"
"peerDependencies": {
"styled-components": ">= 4.0.0"
},

@@ -21,2 +21,3 @@ "devDependencies": {

"babel-preset-react": "^6.23.0",
"buble": "0.19.6",
"react": "16.8.3",

@@ -28,5 +29,5 @@ "rollup": "^0.55.3",

"rollup-plugin-node-resolve": "^3.0.2",
"rollup-plugin-react-svg": "^3.0.3",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify-es": "^0.0.1",
"rollup-plugin-url": "2.2.1",
"styled-components": "4.1.1"

@@ -33,0 +34,0 @@ },

@@ -9,7 +9,7 @@ # Formidable OSS Badges

- [ProjectBadge](#projectbadge)
- [Component props](#projectbadge-props)
- [Component children](#projectbadge-children)
- [Component props](#projectbadge-props)
- [Component children](#projectbadge-children)
- [IconBadge](#iconbadge)
- [Component props](#iconbadge-props)
- [Component children](#iconbadge-children)
- [Component props](#iconbadge-props)
- [Component children](#iconbadge-children)
- [Examples](#examples)

@@ -25,2 +25,3 @@ - [Try component locally](#try-the-component-locally)

## ProjectBadge
### ProjectBadge props

@@ -35,3 +36,2 @@

| description | String | Title or brief description. Smaller text, displayed in all-caps. | `"Enzyme Matchers"` |
| number | Number or String | Number that appears at the top of the badge | `9` or `"09"` |
| className | String | Class to apply directly to the SVG | `"project-badge"` |

@@ -42,2 +42,3 @@

### ProjectBadge children
Will accept any svg child (we recommend to use an `<image/>` with an embedded png, svg or lossless image format of your choice. See example 5).

@@ -49,20 +50,23 @@

e.g:
e.g:
```jsx
<image
x="14%"
y="20%"
/>
```
<image x="14%" y="20%" />
```
### Featured Badges
If the description you pass in matches one of the featured badges available, the featured badge will instead be returned and any customisation will be lost.
## IconBadge
### IconBadge props
`<IconBadge />` only accepts a color prop.
Prop | Type | Description | Example |
Prop | Type | Description | Example |
| ------------ | ---------------- | -------------------------------------------------------------------------------------------- | ------------------- |
| color | String (hex/RGB) | Base color of the badge | `"#FF00FF"` |
| color | String (hex/RGB) | Base color of the badge | `"#FF00FF"` |
### IconBadge children
### IconBadge children
Like `ProjectBadge`, will accept any svg child (we recommend to use an `<image/>` with an embedded png, svg or lossless image format of your choice. See example 4).

@@ -85,8 +89,3 @@

```jsx
<ProjectBadge
color="#E48055"
abbreviation="Em"
description="Enzyme Matchers"
number="09"
/>
<ProjectBadge color="#E48055" abbreviation="Em" description="Enzyme Matchers" />
```

@@ -132,6 +131,18 @@

![Example project badges](https://user-images.githubusercontent.com/19417581/56662487-fe10f900-669b-11e9-8af1-373793f4326b.png)
6:
![Example image embedded badges](https://user-images.githubusercontent.com/21056165/57460381-eb3a1f00-726c-11e9-8811-e8adc048c6fb.png)
Featured ProjectBadge:
```jsx
<ProjectBadge description="Victory" />
```
| 1 | 2 | 3 |
| --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- |
| ![Number](https://user-images.githubusercontent.com/35961363/75203096-16213100-5722-11ea-9bd8-6b77b828696f.png) | ![Enzyme Matchers](https://user-images.githubusercontent.com/35961363/75203147-381ab380-5722-11ea-975f-8a79e32879d8.png) | ![Blank](https://user-images.githubusercontent.com/35961363/75203192-5680af00-5722-11ea-8d93-8b1a26a0d7d9.png) |
| 4 | 5 | 6 |
| ------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| ![ProjectBadge with png](https://user-images.githubusercontent.com/35961363/75203481-06561c80-5723-11ea-9930-04ecd6028990.png) | ![IconBadge with png](https://user-images.githubusercontent.com/35961363/75203537-2f76ad00-5723-11ea-9aad-93079de1498b.png) | ![Featured badge](https://user-images.githubusercontent.com/35961363/75203570-487f5e00-5723-11ea-87d2-590524ae71f0.png) |
## Try the components locally

@@ -148,4 +159,4 @@

You can then edit `examples/src/App.js`, either by returning the components directly, or by adding an object with the props you would like to trial in the `dataForExamples` array.
You can then edit `examples/src/App.js`, either by returning the components directly, or by adding an object with the props you would like to trial in the `dataForExamples` array.
Note that this array is currently just used for passing *props* into `<ProjectBadge />` and not for passing children or for rendering `<IconBadge />`.
Note that this array is currently just used for passing _props_ into `<ProjectBadge />` and not for passing children or for rendering `<IconBadge />`.
import React from "react";
import { GlobalStyle, Svg } from "./ProjectBadge.styles";
import { Svg } from "./ProjectBadge.styles";
// IconBadge accepts any children, you will need to position it youself
// IconBadge accepts any children, you will need to position via the passed child
const IconBadge = ({ color = "#FFFFFF", className, children }) => {
const IconBadge = ({ color = "#202020", className, children }) => {
return (
<React.Fragment>
<GlobalStyle />
<Svg viewBox="0 0 380 374" className={className}>
<defs>
<filter
x="-25.7%"
y="-25.2%"
width="151.3%"
height="150.3%"
filterUnits="objectBoundingBox"
id="Badge_Copy_svg__a"
>
<feOffset in="SourceAlpha" result="shadowOffsetOuter1" />
<feGaussianBlur
stdDeviation={20}
in="shadowOffsetOuter1"
result="shadowBlurOuter1"
/>
<feColorMatrix
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"
in="shadowBlurOuter1"
result="shadowMatrixOuter1"
/>
<feMerge>
<feMergeNode in="shadowMatrixOuter1" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
</defs>
<g
filter="url(#Badge_Copy_svg__a)"
transform="translate(40 34)"
x="0"
fill="none"
fillRule="evenodd"
>
<Svg viewBox="0 0 600 595">
<g fill="none" fillRule="evenodd">
<path
d="M170.918 9.364l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z"
fill="#202020"
d="M342.277 9.4l195.971 87.165C575.801 113.268 600 150.515 600 191.616v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L61.752 498.628C24.199 481.925 0 444.678 0 403.578V191.615c0-41.1 24.199-78.348 61.752-95.05L257.723 9.4a104.029 104.029 0 0184.554 0z"
fill="#1F1F1F"
/>
<path
d="M166.05 20.332a40 40 0 0 0-32.455 0l-97.823 43.42A40 40 0 0 0 12 100.311v105.377a40 40 0 0 0 23.772 36.56l97.823 43.42a40 40 0 0 0 32.455 0l97.822-43.42a40 40 0 0 0 23.773-36.56V100.31a40 40 0 0 0-23.773-36.56l-97.822-43.42zm4.868-10.968l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z"
fill={color}
fillRule="nonzero"
d="M337.399 20.368a92.026 92.026 0 00-74.798 0l-195.97 87.165c-33.221 14.775-54.628 47.725-54.628 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.971 87.164a92.026 92.026 0 0074.798 0l195.97-87.164c33.221-14.776 54.628-47.726 54.628-84.084v-211.96c0-36.359-21.407-69.309-54.627-84.084L337.399 20.368z"
strokeOpacity={0.6}
stroke={color}
strokeWidth={24.007}
/>

@@ -54,0 +22,0 @@ {children}

export { default as ProjectBadge } from "./ProjectBadge";
export { default as IconBadge } from "./IconBadge";
export { default as FeaturedBadge } from "./FeaturedBadge";

@@ -5,3 +5,3 @@ import React from "react";

import reducerFn from "./reducerFn";
import { GlobalStyle, MiddleRing, InnerRing, Svg } from "./ProjectBadge.styles";
import { MiddleRing, InnerRing, Svg } from "./ProjectBadge.styles";

@@ -15,3 +15,2 @@ // ProjectBadge can accept SVG as children in that case it will

description,
number,
className,

@@ -28,8 +27,10 @@ children

key={`description-${idx}`}
x="39%"
y={`${array.length === 1 ? "66" : 65 + idx * 6}%`}
fontFamily="Work Sans Semi Bold"
fontSize={`${array.length === 1 ? "24" : "18"}`}
x="50%"
y={`${array.length === 1 ? 74 : 70 + idx * 6}%`}
fontFamily="Helvetica"
fontSize={`${array.length === 1 ? "44" : "36"}`}
letterSpacing={1.8}
fill="#1D1E1F"
fill="#202020"
fontWeight="bold"
letterSpacing={1}
textAnchor="middle"

@@ -45,63 +46,19 @@ >

<React.Fragment>
<GlobalStyle />
<Svg viewBox="0 0 380 374" className={className}>
<defs>
<filter
x="-25.7%"
y="-25.2%"
width="151.3%"
height="150.3%"
filterUnits="objectBoundingBox"
id="Badge_Copy_svg__a"
>
<feOffset in="SourceAlpha" result="shadowOffsetOuter1" />
<feGaussianBlur
stdDeviation={20}
in="shadowOffsetOuter1"
result="shadowBlurOuter1"
/>
<feColorMatrix
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0"
in="shadowBlurOuter1"
result="shadowMatrixOuter1"
/>
<feMerge>
<feMergeNode in="shadowMatrixOuter1" />
<feMergeNode in="SourceGraphic" />
</feMerge>
</filter>
</defs>
<g
filter="url(#Badge_Copy_svg__a)"
transform="translate(40 34)"
x="0"
fill="none"
fillRule="evenodd"
>
<Svg viewBox="0 0 600 595">
<g fill="none" fillRule="evenodd">
<path
d="M170.918 9.364l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z"
fill="#202020"
d="M342.277 9.4l195.971 87.165C575.801 113.268 600 150.515 600 191.616v211.961c0 41.1-24.199 78.348-61.752 95.051l-195.971 87.165a104.029 104.029 0 01-84.554 0L61.752 498.628C24.199 481.925 0 444.678 0 403.578V191.615c0-41.1 24.199-78.348 61.752-95.05L257.723 9.4a104.029 104.029 0 0184.554 0z"
fill={color}
/>
<path
d="M7 220h286c-4.967 18.355-52.765 44.09-143.393 77.203C57.192 265.586 9.657 239.852 7 220z"
fill={color}
d="M327.97 42.47a68.877 68.877 0 00-56.109.037l-196.786 87.92c-23.663 10.572-38.9 34.067-38.9 59.985v213.356c0 26.74 15.739 50.973 40.167 61.848l195.557 87.055a68.877 68.877 0 0056.006.008l195.732-87.07c24.437-10.872 40.184-35.11 40.184-61.856v-212.32c0-26.738-15.738-50.972-40.166-61.847L327.97 42.47z"
strokeOpacity={0.3}
stroke="#202020"
strokeWidth={24.247}
/>
<InnerRing
d="M149.822 39.175L45.223 85.501A15.5 15.5 0 0 0 36 99.673v106.543a15.5 15.5 0 0 0 9.314 14.212l104.508 45.485 104.508-45.485a15.5 15.5 0 0 0 9.315-14.212V99.673a15.5 15.5 0 0 0-9.223-14.172l-104.6-46.326zm0-13.124l109.476 48.401c9.717 4.378 16.347 14.34 16.347 25.221v106.543a27.5 27.5 0 0 1-16.526 25.215L149.822 279 40.526 231.431A27.5 27.5 0 0 1 24 206.216V99.673c0-10.88 6.826-21.025 16.364-25.22L149.822 26.05z"
fill={color}
fillRule="nonzero"
opacity={0.4}
className="innerRing"
/>
<MiddleRing
d="M149.822 26.118L40.691 74.3A28 28 0 0 0 24 99.914v106.172A28 28 0 0 0 40.691 231.7l109.131 48.182L258.954 231.7a28 28 0 0 0 16.69-25.614V99.914a28 28 0 0 0-16.69-25.614L149.822 26.118zM149.988 13l113.657 50.643c14.493 6.399 24 20.428 24 36.271v106.172a40 40 0 0 1-23.844 36.592L149.822 293 35.844 242.678A40 40 0 0 1 12 206.086V99.914c0-15.843 9.66-29.91 23.844-36.23L149.988 13z"
fill={color}
fillRule="nonzero"
opacity={0.7}
className="middleRing"
/>
<path
d="M166.05 20.332a40 40 0 0 0-32.455 0l-97.823 43.42A40 40 0 0 0 12 100.311v105.377a40 40 0 0 0 23.772 36.56l97.823 43.42a40 40 0 0 0 32.455 0l97.822-43.42a40 40 0 0 0 23.773-36.56V100.31a40 40 0 0 0-23.773-36.56l-97.822-43.42zm4.868-10.968l97.823 43.419a52 52 0 0 1 30.904 47.528V205.69a52 52 0 0 1-30.904 47.528l-97.823 43.42a52 52 0 0 1-42.192 0l-97.822-43.42A52 52 0 0 1 0 205.689V100.31a52 52 0 0 1 30.904-47.528l97.822-43.42a52 52 0 0 1 42.192 0z"
fill={color}
fillRule="nonzero"
d="M337.399 20.368a92.026 92.026 0 00-74.798 0l-195.97 87.165c-33.221 14.775-54.628 47.725-54.628 84.083v211.961c0 36.358 21.407 69.308 54.627 84.084l195.971 87.164a92.026 92.026 0 0074.798 0l195.97-87.164c33.221-14.776 54.628-47.726 54.628-84.084v-211.96c0-36.359-21.407-69.309-54.627-84.084L337.399 20.368z"
strokeOpacity={0.6}
stroke="#202020"
strokeWidth={24.007}
/>

@@ -112,9 +69,9 @@ {!!children ? (

<text
fill={color}
fontFamily="Bai Jamjuree Semi Bold"
fontSize={140}
x="39%"
fill="#202020"
fontFamily="Helvetica"
fontSize={230}
letterSpacing={-5.5}
textAnchor="middle"
x="50%"
y={abbrYAxis}
textAnchor="middle"
letterSpacing={-4}
>

@@ -124,18 +81,2 @@ {abbreviation}

)}
<path
d="M150.175 9l35.21 18.827c-4.524 15.062-18.576 26.044-35.21 26.044-16.556 0-30.554-10.878-35.146-25.831L150.175 9z"
fill={color}
/>
<text
fontFamily="Work Sans Semi Bold"
fill="#1D1E1F"
fontSize="24px"
letterSpacing={0.138}
textAnchor="middle"
x="39.5%"
y="10%"
>
{number}
</text>
{descriptionText}

@@ -142,0 +83,0 @@ </g>

@@ -1,18 +0,3 @@

import styled, { keyframes, createGlobalStyle } from "styled-components";
import styled, { keyframes } from "styled-components";
import BaiJamjureeSemiBold from "../fonts/BaiJamjuree-SemiBold.woff";
import WorkSansSemiBold from "../fonts/WorkSans-SemiBold.woff";
export const GlobalStyle = createGlobalStyle`
@font-face {
font-family: "Bai Jamjuree Semi Bold";
src: url(${BaiJamjureeSemiBold});
}
@font-face {
font-family: "Work Sans Semi Bold";
src: url(${WorkSansSemiBold});
}
`;
export const MiddleRing = styled.path``;

@@ -19,0 +4,0 @@ export const InnerRing = styled.path``;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc