(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{1268:function(t,n,o){var e=o(1847);"string"==typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);(0,o(567).default)("725eec6b",e,!0,{})},1846:function(t,n,o){"use strict";o(1268)},1847:function(t,n,o){(t.exports=o(566)(!1)).push([t.i,"h3[data-v-2482fbd6]{margin-top:0;margin-bottom:0.5em}.columns[data-v-2482fbd6]{-moz-column-count:2;-webkit-column-count:2;column-count:2;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px}.columns .country[data-v-2482fbd6]{-webkit-column-break-inside:avoid;page-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid}.country[data-v-2482fbd6]{margin-bottom:2em;color:#4f4f4f}ul[data-v-2482fbd6]{margin:0;padding:0;list-style-type:none;margin-left:-1em}ul li[data-v-2482fbd6]{display:inline-block;margin-left:1em}ul li a[data-v-2482fbd6]{font-size:0.9em}\n",""])},2041:function(t,n,o){"use strict";o.r(n);var e=o(609),a=o(1);function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u={components:{Modal:e.a},data:function(){return{minCountryPerColumn:3,componentLoaded:!1}},computed:{fullCountryName:function(){return a.i18n.fullCountryName},fullLanguageName:function(){return a.i18n.fullLanguageName},enableColumns:function(){return Object.keys(this.storeViews).length>this.minCountryPerColumn},storeViews:function(){var t=this;return Object.keys(a.storeViews).reduce((function(n,o){return t.isValidStoreCode(o)&&(n[o]=a.storeViews[o]),n}),{})}},mounted:function(){var t=this;this.$nextTick((function(){t.componentLoaded=!0,t.$bus.$emit("modal-show","modal-switcher")}))},methods:{close:function(){this.$bus.$emit("modal-hide","modal-switcher")},isValidStoreCode:function(t){var n=a.storeViews[t];return!(!n||"object"!==i(n)||!n.i18n)}}},r=(o(1846),o(123)),l=Object(r.a)(u,(function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("modal",{attrs:{name:"modal-switcher",width:650}},[o("p",{attrs:{slot:"header"},slot:"header"},[t._v("\n "+t._s(t.$t("Choose your country"))+"\n ")]),t._v(" "),o("div",{attrs:{slot:"content"},slot:"content"},[o("div",{class:{columns:t.enableColumns}},[o("div",{staticClass:"country country-current"},[o("h3",[t._v(t._s(t.$t(t.fullCountryName)))]),t._v(" "),o("ul",[o("li",[o("a",{attrs:{href:"/"}},[t._v(t._s(t.$t(t.fullLanguageName)))])])])]),t._v(" "),t._l(t.storeViews,(function(n,e){return o("div",{key:e,staticClass:"country country-available"},[o("h3",[t._v(t._s(t.$t(n.i18n.fullCountryName)))]),t._v(" "),o("ul",[o("li",[o("a",{attrs:{href:n.url}},[t._v(t._s(t.$t(n.i18n.fullLanguageName)))])])])])}))],2)])])}),[],!1,null,"2482fbd6",null);n.default=l.exports}}]); //# sourceMappingURL=vsf-languages-modal.56c1b3df03a7533fb193.js.map