UNPKG

@fe6/icon-img

Version:

Water Icon 的纯 HTML 图标

8 lines (7 loc) 5.25 kB
var IconsAntdGooglePlus=function(c){"use strict";var v={size:"1em",spin:!1,strokeWidth:4,strokeLinecap:"round",strokeLinejoin:"round",rtl:!1,theme:"outline",colors:{outline:{outStrokeColor:"#333",outFillColor:"transparent"},filled:{outStrokeColor:"#333",outFillColor:"#fff"},twoTone:{outStrokeColor:"#333",outFillColor:"#2f88ff"},multiColor:{outStrokeColor:"#333",outFillColor:"#2f88ff",innerStrokeColor:"#fff",innerFillColor:"#43ccf8"}},prefix:"cube"},h=function(){return"icon-"+((1+Math.random())*4294967296|0).toString(16).substring(1)},f=function(l,t,r){var o=t?.colors||[],e=[],n=t?.theme||r.theme;switch(n){case"outline":e.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor),e.push(typeof o[0]=="string"?o[0]:r.colors.outline.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.outline.outFillColor);break;case"filled":e.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),e.push(typeof o[0]=="string"?o[0]:r.colors.filled.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor),e.push(typeof o[1]=="string"?o[1]:r.colors.filled.outFillColor);break;case"twoTone":e.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor),e.push(typeof o[0]=="string"?o[0]:r.colors.twoTone.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.twoTone.outFillColor);break;case"multiColor":e.push(typeof o[0]=="string"?o[0]:r.colors.multiColor.outStrokeColor),e.push(typeof o[1]=="string"?o[1]:r.colors.multiColor.outFillColor),e.push(typeof o[2]=="string"?o[2]:r.colors.multiColor.innerStrokeColor),e.push(typeof o[3]=="string"?o[3]:r.colors.multiColor.innerFillColor);break}return{size:t?.size||r.size,strokeWidth:t?.strokeWidth||r.strokeWidth,strokeLinecap:t?.strokeLinecap||r.strokeLinecap,strokeLinejoin:t?.strokeLinejoin||r.strokeLinejoin,colors:e,svg:t?.svg||"",id:l}},p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",k=function(l,t){for(var r="",o=0,e=l.length,n,s,u,i=t?g:p;o<e;){if(n=l.charCodeAt(o++)&255,o===e){r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4),r+="==";break}if(s=l.charCodeAt(o++),o===e){r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4|(s&240)>>4),r+=i.charAt((s&15)<<2),r+="=";break}u=l.charCodeAt(o++),r+=i.charAt(n>>2),r+=i.charAt((n&3)<<4|(s&240)>>4),r+=i.charAt((s&15)<<2|(u&192)>>6),r+=i.charAt(u&63)}return r},m=function(l){var t="",r,o,e=l.length;for(r=0;r<e;r++)o=l.charCodeAt(r),o>=1&&o<=127?t+=l.charAt(r):o>2047?(t+=String.fromCharCode(224|o>>12&15),t+=String.fromCharCode(128|o>>6&63),t+=String.fromCharCode(128|o>>0&63)):(t+=String.fromCharCode(192|o>>6&31),t+=String.fromCharCode(128|o>>0&63));return t},S=v,A=function(){return S},y=function(l,t,r){return function(o){var e=A(),n=["".concat(e.prefix,"-icon")];n.push("".concat(e.prefix,"-icon-").concat(l)),t&&e.rtl&&n.push("".concat(e.prefix,"-icon-rtl")),o!=null&&o.spin&&n.push("".concat(e.prefix,"-icon-spin"));var s=f(h(),o,e),u=r(s),i=k(m(u)),d="data:image/svg+xml;base64,".concat(i);return o!=null&&o.base64?d:'<span class="'.concat(n.join(" "),`"> <img class="`).concat(e.prefix,'-icon-img" src="').concat(d,`" /> </span>`)}},C=function(l){var t;return`<?xml version="1.0" encoding="UTF-8"?> <svg width="`.concat(l.size,'" height="').concat(l.size,`" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <rect width="48" height="48" fill="white" fill-opacity="0.01"/> <path fill="`).concat((t=l.colors)===null||t===void 0?void 0:t[0],`" d="M43.6532227,13.0526354 C43.6371434,11.6054963 43.6317836,10.1476375 43.6264238,8.69513858 L39.2957258,8.69513858 C39.2796465,10.1422778 39.2689269,11.5947767 39.2582074,13.0526354 C37.8003487,13.0579952 36.3532095,13.0687148 34.9060703,13.0847941 L34.9060703,17.4208519 C36.3532095,17.4369312 37.8110682,17.4476507 39.2582074,17.4637301 C39.2742867,18.9108692 39.2742867,20.3633682 39.2850063,21.8105074 L43.621064,21.8105074 C43.6264238,20.3633682 43.6371434,18.9108692 43.6478629,17.4530105 C45.1057216,17.4369312 46.5528608,17.4315714 48,17.4154921 L48,13.0794343 C46.5582206,13.0687148 45.1003619,13.0687148 43.6532227,13.0526354 Z M15.2464166,13.0740745 C15.2410568,14.8052818 15.2464166,16.5418488 15.2517763,18.273056 C18.1567742,18.369532 21.0671319,18.3266538 23.9721298,18.369532 C22.6911437,24.817341 13.927912,26.9076531 9.29170683,22.6948702 C4.52150731,19.0019854 4.74661785,10.9033658 9.70440948,7.47310994 C13.1721837,4.70746618 18.0978167,5.38815757 21.565591,7.78397688 C22.9269738,6.52442981 24.2026002,5.17376658 25.4299886,3.78022515 C22.5464298,1.48088178 19.0089784,-0.159209287 15.2464166,0.0123035045 C7.3889868,-0.250325458 0.169370223,6.63162531 0.0407356289,14.4944149 C-0.463083197,20.9207848 3.7604193,27.2185201 9.72048881,29.4910646 C15.6591192,31.7796884 23.2753591,30.2199939 27.0700796,24.8816583 C29.5730944,21.51036 30.1144317,17.1689424 29.8196441,13.0901539 C24.9583284,13.0526354 20.1023725,13.0579952 15.2464166,13.0740745 Z"/> </svg>`)},w=y("antd-google-plus",!1,C);return c.default=w,c.getIconAntdGooglePlusSvgHtml=C,Object.defineProperty(c,"__esModule",{value:!0}),c}({});