(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{MErq:function(t,o,a){"use strict";a.r(o);var e=a("rFsW"),r=a("XHB6"),n=a("gP9L"),s=a("RLXn"),l=a("uGDn"),c={components:{ColorPicker:r.a,FontFamilySelector:n.a,FontStyleSelector:s.a,RmSwitcher:l.a},watch:{isHidden:function(t){this.overlay.style.display=t?"none":"block"}},mounted:function(){var t=this;this.overlay=document.createElement("div"),this.overlay.classList.add("panel-overlay"),document.body.append(this.overlay),this.onOverlayClick&&this.overlay.addEventListener("click",this.onOverlayClick),this.$watch("model",(function(o){t.$emit("change",o)}),{deep:!0})},methods:{closeOthersPopups:function(t){t&&e.a.each(this.$children,(function(o){o!==t&&(o.visibleBox=!1)}))},changePropHandler:function(t,o){this.model[t]=o},changeShadow:function(t){this.model["bar-shadow"]=t}}},i=(a("eVPB"),a("KHd+")),d=Object(i.a)(c,(function(){var t=this,o=t.$createElement,a=t._self._c||o;return t.isHidden?t._e():a("div",{staticClass:"panel setting-panel"},[a("div",{staticClass:"panel-header"},[t._v("Cart bar settings")]),t._v(" "),a("div",{staticClass:"separator-dotted"}),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"caption"},[t._v("Bar color")]),t._v(" "),a("color-picker",{staticClass:"round",attrs:{color:t.model["bar-background-color"],alpha:t.model["bar-background-color-opacity"]},on:{showPopup:t.closeOthersPopups,"update:color":function(o){return t.changePropHandler("bar-background-color",o)},"update:alpha":function(o){return t.changePropHandler("bar-background-color-opacity",o)}}})],1),t._v(" "),a("div",{staticClass:"separator-dotted"}),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"caption"},[t._v("Shadow")]),t._v(" "),a("rm-switcher",{attrs:{value:t.model["bar-shadow"],callback:t.changeShadow,"color-off":"#B8B8B8","color-on":"#0080FF",height:24,width:40}})],1),t._v(" "),a("div",{staticClass:"separator-dotted"}),t._v(" "),a("div",{staticClass:"row"},[a("font-family-selector",{attrs:{family:t.model["bar-font-family"]},on:{showPopup:t.closeOthersPopups,change:function(o){return t.changePropHandler("bar-font-family",o)}}})],1),t._v(" "),a("div",{staticClass:"separator-dotted"}),t._v(" "),a("div",{staticClass:"row"},[a("font-style-selector",{style:{"font-family":t.model["bar-font-family"]},attrs:{"font-style":[t.model["bar-font-style"]],"font-weight":[t.model["bar-font-weight"]],"font-family":[t.model["bar-font-family"]]},on:{showPopup:t.closeOthersPopups,"update:fontStyle":function(o){return t.changePropHandler("bar-font-style",o)},"update:fontWeight":function(o){return t.changePropHandler("bar-font-weight",o)}}})],1),t._v(" "),a("div",{staticClass:"separator-dotted"}),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"caption"},[t._v("Text color")]),t._v(" "),a("color-picker",{staticClass:"round",attrs:{color:t.model["bar-color"],alpha:t.model["bar-color-opacity"]},on:{showPopup:t.closeOthersPopups,"update:color":function(o){return t.changePropHandler("bar-color",o)},"update:alpha":function(o){return t.changePropHandler("bar-color-opacity",o)}}})],1)])}),[],!1,null,null,null);o.default=d.exports},eVPB:function(t,o,a){"use strict";var e=a("kv7G");a.n(e).a},kv7G:function(t,o,a){}}]);