(window.webpackJsonpvtex_store_components_3_178_5=window.webpackJsonpvtex_store_components_3_178_5||[]).push([["InfoCard"],{0:function(e,t){e.exports=React},1:function(e,t){e.exports=R},17:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.native-types@0.x/formatIOMessage"]},172:function(e,t,n){"use strict";n.r(t),function(e){var t=n(3);n.p=Object(t.getPublicPath)("vtex.store-components@3.178.5");var a=Object(t.register)((function(){return n(228)}),e,"vtex.store-components@3.178.5","vtex.store-components@3.x","InfoCard");a.renderHotReload,a.setupHMR}.call(this,n(15)(e))},19:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return d}));var a=n(0),i=n.n(a),o=n(35),l=n.n(o),r={allowedAttributes:{"*":["id","title","accesskey","class","style","aria-label","width","height","hidden"],a:["href","name","target"],iframe:["allow","allowfullscreen","frameborder","src"],img:["src","alt"],link:["rel","type","href"],td:["colspan","rowspan","headers"]},allowedClasses:{},allowedSchemes:["http","https","mailto","tel"],allowedTags:["a","abbr","article","b","blockquote","br","caption","code","del","details","div","em","figure","h1","h2","h3","h4","h5","h6","hr","header","footer","i","img","ins","iframe","kbd","li","main","mark","ol","p","picture","pre","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","th","thead","tr","u","ul"]};function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowedAttributes,a=t.allowedClasses,i=t.allowedTags,o=Object.assign({},r);return i&&(o.allowedTags=i),a&&(o.allowedClasses=a),n&&(o.allowedAttributes=n),l()(e,o)}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{__html:c(e,t)}}var d=function(e){var t=e.content,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowedAttributes,i=t.allowedClasses,o=t.allowedTags,l=Object(a.useMemo)((function(){return s(e,{allowedAttributes:n,allowedClasses:i,allowedTags:o})}),[n,i,o,e]);return l}(t,{allowedAttributes:e.allowedAttributes,allowedClasses:e.allowedClasses,allowedTags:e.allowedTags});return t?i.a.createElement("div",{style:{display:"contents"},dangerouslySetInnerHTML:n}):null}},2:function(e,t){e.exports=PropTypes},228:function(e,t,n){"use strict";n.r(t);var a,i,o,l,r=n(10),c=n(5),s=n(6),d=n.n(s),m=n(2),u=n.n(m),f=n(0),T=n.n(f),b=n(1),g=n(4),p=n(8),x=n(17),_=n.n(x),O=n(7),E=n.n(O),v=n(84),A=n.n(v),h=n(29),C=n.n(h),y="left",N="center",w="right",j="left",I="center",L="right",M="none",P="button",k={TEXT_MODE_HTML:{name:"admin/editor.info-card.textMode.html",value:"html"},TEXT_MODE_RICHTEXT:{name:"admin/editor.info-card.textMode.rich-text",value:"rich-text"}},S={TEXT_POSITION_LEFT:{name:"admin/editor.info-card.textPosition.left",value:y},TEXT_POSITION_CENTER:{name:"admin/editor.info-card.textPosition.center",value:N},TEXT_POSITION_RIGHT:{name:"admin/editor.info-card.textPosition.right",value:w}},R={TEXT_ALIGNMENT_LEFT:{name:"admin/editor.info-card.textAlignment.left",value:j},TEXT_ALIGNMENT_CENTER:{name:"admin/editor.info-card.textAlignment.center",value:I},TEXT_ALIGNMENT_RIGHT:{name:"admin/editor.info-card.textAlignment.right",value:L}},U={CALL_ACTION_NONE:{name:"admin/editor.info-card.callAction.none",value:M},CALL_ACTION_BUTTON:{name:"admin/editor.info-card.callAction.button",value:P},CALL_ACTION_LINK:{name:"admin/editor.info-card.callAction.link",value:"link"}},X=["infoCardCallActionContainer","infoCardCallActionText"],F=function(){},D=function(e){var t=e.mode,n=e.text,a=e.url,i=e.linkTarget,o=E()(X).handles;if(t===M)return null;var l=function(e){var t=e.text;return e.mode===P?T.a.createElement(C.a,{onClick:F},t):T.a.createElement("p",{className:"".concat(o.infoCardCallActionText," link t-body b underline c-action-primary")},t)};return T.a.createElement(p.Link,{className:"".concat(o.infoCardCallActionContainer," mt6 mb6"),target:i,to:a,alt:n},T.a.createElement(l,{text:n,mode:t}))},H=function(e){var t=e.imageActionUrl,n=e.children,a=e.extraCondition,i=e.linkProps,o=void 0===i?{}:i;return!t||0===t.length||a?T.a.createElement(f.Fragment,null,n):T.a.createElement(p.Link,Object(r.a)({},o,{to:t}),n)},G=n(19);function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function z(e){for(var t=1;t