(window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./portoHeaderLogo/index.js":function(e,t,o){"use strict";o.r(t);var n=o("./node_modules/vc-cake/index.js"),s=o.n(n),r=o("./node_modules/@babel/runtime/helpers/extends.js"),a=o.n(r),c=o("./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=o.n(c),l=o("./node_modules/@babel/runtime/helpers/createClass.js"),p=o.n(l),u=o("./node_modules/@babel/runtime/helpers/get.js"),d=o.n(u),h=o("./node_modules/@babel/runtime/helpers/inherits.js"),m=o.n(h),g=o("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),f=o.n(g),v=o("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),b=o.n(v),y=o("./node_modules/react/index.js"),j=o.n(y);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=b()(e);if(t){var s=b()(this).constructor;o=Reflect.construct(n,arguments,s)}else o=n.apply(this,arguments);return f()(this,o)}}var S=function(e){m()(o,e);var t=_(o);function o(e){return i()(this,o),t.call(this,e)}return p()(o,[{key:"componentDidMount",value:function(){d()(b()(o.prototype),"updateShortcodeToHtml",this).call(this,this.getHBLogoShortcode(),this.ref)}},{key:"componentDidUpdate",value:function(e,t){this.props.atts;var n=this.getHBLogoShortcode();n!==this.getHBLogoShortcode()&&d()(b()(o.prototype),"updateShortcodeToHtml",this).call(this,n,this.ref)}},{key:"shouldComponentUpdate",value:function(e,t){return!0}},{key:"getHBLogoShortcode",value:function(){return"[porto_hb_logo]"}},{key:"render",value:function(){var e=this,t=this.props,o=t.id,n=t.editor,s=t.atts,r=this.applyDO("all"),c=s.el_class;return j.a.createElement("div",a()({className:"vce-porto-hb-logo"+(c?" "+c:"")},n,{id:"el-"+o},r),j.a.createElement("div",{className:"porto-hb-logo vcvhelper",ref:function(t){e.ref=t},"data-vcvs-html":this.getHBLogoShortcode()}))}}]),o}(Object(n.getService)("portoComponent").shortcodeComponent);(0,s.a.getService("cook").add)(o("./portoHeaderLogo/settings.json"),(function(e){e.add(S)}),{css:!1,editorCss:!1,mixins:!1})},"./portoHeaderLogo/settings.json":function(e){e.exports=JSON.parse('{"el_class":{"type":"string","access":"public","value":"","options":{"label":"Extra class name","description":"Add an extra class name to the element and refer to it from Custom CSS option."}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["el_class"],"options":{"label":"Logo"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"tag":{"access":"protected","type":"string","value":"portoHeaderLogo"}}')}},[["./portoHeaderLogo/index.js"]]]);