(window.webpackJsonpvtex_store_components_3_176_2=window.webpackJsonpvtex_store_components_3_176_2||[]).push([["Logo"],{0:function(e,t){e.exports=React},130:function(e,t){e.exports=ReactAMPHTML},177:function(e,t,i){"use strict";i.r(t),function(e){var t=i(3);i.p=Object(t.getPublicPath)("vtex.store-components@3.176.2");var o=Object(t.register)((function(){return i(244)}),e,"vtex.store-components@3.176.2","vtex.store-components@3.x","Logo");o.renderHotReload,o.setupHMR}.call(this,i(15)(e))},244:function(e,t,i){"use strict";i.r(t);var o=i(0),n=i.n(o),l=i(8),r=i(7),a=i.n(r),s=i(130);function c(e){var t=e.width,i=e.height,o=e.title;return n.a.createElement("svg",{width:t,height:i,viewBox:"0 0 142 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n.a.createElement("title",null,o),n.a.createElement("rect",{width:"142",height:"80",fill:"#F2F4F5",stroke:"#E3E4E6"}),n.a.createElement("path",{d:"M84.8156 47.5402L77.8157 33.9407C77.5479 33.4222 77.0282 33.0703 76.4349 33.0108C75.8434 32.9445 75.2572 33.1876 74.8844 33.6381L68.8854 40.9206L64.9707 38.386C64.5717 38.1293 64.08 38.0392 63.6162 38.1412C63.149 38.2432 62.7447 38.5271 62.4997 38.9249L57.2497 47.4246C56.9242 47.9499 56.9172 48.6026 57.227 49.1381C57.5367 49.6719 58.1195 50 58.7495 50H83.2494C83.8567 50 84.4184 49.694 84.7386 49.1925C85.0589 48.691 85.0851 48.0655 84.8156 47.5402Z",fill:"#CACBCC"}),n.a.createElement("path",{d:"M67.5 33C69.433 33 71 31.433 71 29.5C71 27.567 69.433 26 67.5 26C65.567 26 64 27.567 64 29.5C64 31.433 65.567 33 67.5 33Z",fill:"#CACBCC"}),n.a.createElement("defs",null,n.a.createElement("clipPath",{id:"clip0"},n.a.createElement("rect",{width:"127",height:"65",fill:"white"}))))}var d=Object(o.memo)(c),m=i(98),p=i.n(m),g=["logoLink","logoImage","logoContainer"];function h(e){var t=e.url,i=e.href,o=e.width,r=e.height,c=e.title,m=e.mobileWidth,h=e.mobileHeight,u=e.classes,w=Object(l.useRuntime)(),b=w.amp,C=w.account,f=w.hints.mobile,E=a()(g,{classes:u}).handles,_="store-logo ".concat(E.logoContainer," ").concat(f?p.a.sizeMobile:p.a.sizeDesktop),v=f&&m?m:o,x=f&&h?h:r,L=null==t?void 0:t.replace(/{{account}}/g,C),y=null;b&&t?y=n.a.createElement(s.AmpImg,{specName:"default",width:v,height:x,alt:c,src:L,className:E.logoImage}):t&&(y=n.a.createElement("img",{src:L,width:v,height:x,alt:c,className:E.logoImage}));var M=n.a.createElement("span",{className:"".concat(_," pv4 ph6")},t?y:n.a.createElement(d,{width:o,height:r,title:c}));return i?n.a.createElement(l.Link,{to:i,className:E.logoLink},M):M}h.schema={title:"admin/editor.logo.title",description:"admin/editor.logo.description",type:"object",properties:{href:{title:"admin/editor.logo.href.title",description:"admin/editor.logo.href.description",type:"string"},url:{title:"admin/editor.logo.url.title",description:"admin/editor.logo.url.description",type:"string",widget:{"ui:widget":"image-uploader"}},width:{title:"admin/editor.logo.width.title",description:"admin/editor.logo.width.description",type:"number",isLayout:!0},height:{title:"admin/editor.logo.height.title",description:"admin/editor.logo.height.description",type:"number",isLayout:!0},title:{title:"admin/editor.logo.title.title",description:"admin/editor.logo.title.description",type:"string"},mobileWidth:{title:"admin/editor.logo.mobileWidth.title",description:"admin/editor.logo.mobileWidth.description",type:"number",isLayout:!0},mobileHeight:{title:"admin/editor.logo.mobileHeight.title",description:"admin/editor.logo.mobileHeight.description",type:"number",isLayout:!0}}};t.default=h},7:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},8:function(e,t){e.exports=__RENDER_8_RUNTIME__},98:function(e,t,i){e.exports={sizeDesktop:"vtex-store-components-3-x-sizeDesktop",sizeMobile:"vtex-store-components-3-x-sizeMobile"}}},[[177,"common"]]]);