(window.vcvWebpackJsonp4x=window.vcvWebpackJsonp4x||[]).push([[0],{"./portoShopActions/index.js":function(e,o,t){"use strict";t.r(o);var r=t("./node_modules/vc-cake/index.js"),n=t("./node_modules/@babel/runtime/helpers/extends.js"),s=t.n(n),c=t("./node_modules/@babel/runtime/helpers/classCallCheck.js"),a=t.n(c),i=t("./node_modules/@babel/runtime/helpers/createClass.js"),l=t.n(i),p=t("./node_modules/@babel/runtime/helpers/inherits.js"),u=t.n(p),d=t("./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),h=t.n(d),m=t("./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),v=t.n(m),f=t("./node_modules/react/index.js"),b=t.n(f);function _(e){var o=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 t,r=v()(e);if(o){var n=v()(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h()(this,t)}}var g=function(e){u()(t,e);var o=_(t);function t(){return a()(this,t),o.apply(this,arguments)}return l()(t,[{key:"getAttr",value:function(e){for(var o="",t=0;t<Object.keys(e).length;t++){var r=Object.keys(e)[t],n=e[r];""!==n&&("boolean"==typeof n&&!1===n&&(n=""),o+=r+"=",o+="number"==typeof n||"boolean"==typeof n?n+" ":'"'+n+'" ')}return o}},{key:"getShortcode",value:function(e){var o={action:e.hookActions?e.hookActions:""};return"[porto_sb_actions "+this.getAttr(o)+"]"}},{key:"render",value:function(){var e=this.props,o=e.id,t=e.atts,r=e.editor,n=t.el_class,c="vc-shop-hook";"string"==typeof n&&n&&(c+=" "+n);var a=this.applyDO("margin border padding animation");return b.a.createElement("div",s()({className:c},r,{id:"el-"+o},a),b.a.createElement("div",{className:"vcvhelper",ref:"vcvhelper","data-vcvs-html":this.getShortcode(t)},"To change the products Archives's layout, go to Porto / Theme Options / WooCommerce / Product Archives.",b.a.createElement("br",null),"The editor's preview might look different from the live site. Please check the frontend."))}}]),t}(Object(r.getService)("portoComponent").shortcodeComponent);(0,Object(r.getService)("cook").add)(t("./portoShopActions/settings.json"),(function(e){e.add(g)}))},"./portoShopActions/settings.json":function(e){e.exports=JSON.parse('{"hookActions":{"type":"dropdown","access":"public","value":"woocommerce_before_shop_loop","options":{"label":"Hook Type","values":[{"label":"woocommerce_before_shop_loop","value":"woocommerce_before_shop_loop"},{"label":"woocommerce_after_shop_loop","value":"woocommerce_after_shop_loop"}]}},"designOptions":{"type":"designOptions","access":"public","value":{},"options":{"label":"Design Options"}},"editFormTab1":{"type":"group","access":"protected","value":["hookActions","el_class"],"options":{"label":"General"}},"metaEditFormTabs":{"type":"group","access":"protected","value":["editFormTab1","designOptions"]},"relatedTo":{"type":"group","access":"protected","value":["General"]},"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."}},"tag":{"access":"protected","type":"string","value":"portoShopActions"}}')}},[["./portoShopActions/index.js"]]]);