UNPKG

@dialpad/dialtone-icons

Version:
3 lines (2 loc) 2.23 kB
"use strict";const s=require("../../utils-Bndrzhtw.cjs"),r=require("../../constants-CHwVJpfT.cjs"),e=require("vue"),i=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),o={name:"DtIconMessenger",props:{size:{type:String,default:"500",validator:t=>Object.keys(r.I).includes(t)},ariaLabel:{type:String,default:void 0}},emits:["loaded"],computed:{iconSizeClass(){return r.I[this.size]},ariaHidden(){return this.ariaLabel?"false":"true"},dataQA(){return this.$attrs["data-qa"]??"dt-icon"}},created(){this.$emit("loaded"),this.uniqueID=s.g()}},d=["aria-label","data-qa","aria-hidden"],c=["fill"],u=["id"];function f(t,a,n,m,g,l){return e.openBlock(),e.createElementBlock("svg",{"aria-label":n.ariaLabel,class:e.normalizeClass([l.iconSizeClass,"d-icon d-icon--messenger"]),"data-qa":l.dataQA,"aria-hidden":l.ariaHidden,role:"img","data-name":"Messenger",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 2.86c-5.281 0-9.375 3.868-9.375 9.093 0 2.733 1.12 5.095 2.944 6.726a.75.75 0 0 1 .252.535l.051 1.668a.75.75 0 0 0 1.053.663l1.86-.822a.748.748 0 0 1 .501-.037c.855.236 1.765.36 2.714.36 5.281 0 9.375-3.868 9.375-9.093S17.281 2.86 12 2.86Z",fill:`url(#${t.uniqueID}a)`},null,8,c),a[1]||(a[1]=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"m6.37 14.613 2.754-4.37a1.406 1.406 0 0 1 2.034-.375l2.19 1.643c.2.15.477.15.678-.002l2.958-2.245c.394-.3.91.173.646.592l-2.754 4.37a1.406 1.406 0 0 1-2.034.374l-2.19-1.642a.562.562 0 0 0-.678.002l-2.958 2.245c-.395.3-.91-.173-.646-.592Z",fill:"#fff"},null,-1)),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`${t.uniqueID}a`,cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.234 21.51) scale(20.4299)"},[...a[0]||(a[0]=[e.createElementVNode("stop",{"stop-color":"#09F"},null,-1),e.createElementVNode("stop",{offset:".61","stop-color":"#A033FF"},null,-1),e.createElementVNode("stop",{offset:".935","stop-color":"#FF5280"},null,-1),e.createElementVNode("stop",{offset:"1","stop-color":"#FF7061"},null,-1)])],8,u)])],10,d)}const p=i._(o,[["render",f]]);module.exports=p; //# sourceMappingURL=messenger.cjs.map