(window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./node_modules/raw-loader/index.js!./portoHeaderWishlist/cssMixins/wishlist.pcss":function(e,t){e.exports="@if ($fontSize != false || $color != false) {\r\n\t#header.header-builder .my-wishlist {\r\n\t\t@if $fontSize != false {\r\n\t\t\tfont-size: $(fontSize);\r\n\t\t}\r\n\t\t@if $color != false {\r\n\t\t\tcolor: $(color);\r\n\t\t}\r\n\t}\r\n}"},"./portoHeaderWishlist/index.js":function(e,t,s){"use strict";s.r(t);var o=s("./node_modules/vc-cake/index.js"),i=s.n(o),n=s("./node_modules/@babel/runtime/helpers/extends.js"),r=s.n(n),l=s("./node_modules/@babel/runtime/helpers/classCallCheck.js"),c=s.n(l),a=s("./node_modules/@babel/runtime/helpers/createClass.js"),p=s.n(a),d=s("./node_modules/@babel/runtime/helpers/get.js"),u=s.n(d),h=s("./node_modules/@babel/runtime/helpers/inherits.js"),f=s.n(h),m=s("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),v=s.n(m),b=s("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),y=s.n(b),_=s("./node_modules/react/index.js"),g=s.n(_);function x(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 s,o=y()(e);if(t){var i=y()(this).constructor;s=Reflect.construct(o,arguments,i)}else s=o.apply(this,arguments);return v()(this,s)}}var S=function(e){f()(s,e);var t=x(s);function s(e){return c()(this,s),t.call(this,e)}return p()(s,[{key:"componentDidMount",value:function(){var e=this.props.atts;u()(y()(s.prototype),"updateShortcodeToHtml",this).call(this,this.getHBWishlistShortcode(e.icon_cl),this.ref)}},{key:"componentDidUpdate",value:function(e,t){var o=this.props.atts,i=this.getHBWishlistShortcode(o.icon_cl);i!==this.getHBWishlistShortcode(e.atts.icon_cl)&&u()(y()(s.prototype),"updateShortcodeToHtml",this).call(this,i,this.ref)}},{key:"shouldComponentUpdate",value:function(e,t){return!0}},{key:"getHBWishlistShortcode",value:function(e){return'[porto_hb_wishlist icon_cl="'.concat(e,'"]')}},{key:"render",value:function(){var e=this,t=this.props,s=t.id,o=t.editor,i=t.atts,n=this.applyDO("all"),l=i.el_class;return g.a.createElement("div",r()({className:"vce-porto-hb-wishlist"+(l?" "+l:"")},o,{id:"el-"+s},n),g.a.createElement("div",{className:"porto-hb-wishlist vcvhelper",ref:function(t){e.ref=t},"data-vcvs-html":this.getHBWishlistShortcode(i.icon_cl)}))}}]),s}(Object(o.getService)("portoComponent").shortcodeComponent);(0,i.a.getService("cook").add)(s("./portoHeaderWishlist/settings.json"),(function(e){e.add(S)}),{css:!1,editorCss:!1,mixins:{wishlist:{mixin:s("./node_modules/raw-loader/index.js!./portoHeaderWishlist/cssMixins/wishlist.pcss")}}})},"./portoHeaderWishlist/settings.json":function(e){e.exports=JSON.parse('{"icon_cl":{"type":"string","access":"public","value":"","options":{"label":"Custom Icon Class"}},"font_size":{"type":"string","access":"public","value":"","options":{"label":"Font Size","cssMixin":{"mixin":"wishlist","property":"fontSize","namePattern":"[\\\\da-f]+"}}},"color":{"type":"color","access":"public","value":"","options":{"label":"Icon Color","cssMixin":{"mixin":"wishlist","property":"color","namePattern":"[\\\\da-f]+"}}},"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":["icon_cl","font_size","color","el_class"],"options":{"label":"Wishlist Icon"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"tag":{"access":"protected","type":"string","value":"portoHeaderWishlist"}}')}},[["./portoHeaderWishlist/index.js"]]]);