Viewing File: /usr/local/cpanel/3rdparty/wpinstaller/files/plugins/optinmonster/vue/dist/js/settings.bb78a5ed.js

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["settings"],{"25ae":function(t,e,s){"use strict";s("7af0")},"7af0":function(t,e,s){},b41f:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("core-page",[e("div",{staticClass:"omapi-settings"},[e(t.componentName,{tag:"component",scopedSlots:t._u([{key:"tabs",fn:function(){return[e("common-tabnav",{attrs:{active:t.currentTab,tabs:t.allTabs},on:{go:t.goTo}})]},proxy:!0}])})],1)])},n=[],o=s("f225"),i={mixins:[o["a"]],data(){return{pageSlug:"settings"}},computed:{componentName(){return"settings-"+this.currentTab}},methods:{goTo(t){if("billing"===t){"billing"===this.selectedTab&&this.goTab({page:this.pageSlug});let t=window.location.href;return window.open(this.$urls.app("account/billing/?utm_source=WordPress&utm_medium=BillingSettingsTab&utm_campaign=Plugin&return="+t))}if("subaccounts"===t){"subaccounts"===this.selectedTab&&this.goTab({page:this.pageSlug});let t=window.location.href;return window.open(this.$urls.app("account/users/?utm_source=WordPress&utm_medium=SubAccountsSettingsTab&utm_campaign=Plugin&return="+t))}this.goTab({page:this.pageSlug,tab:t})}}},u=i,r=(s("25ae"),s("2877")),c=Object(r["a"])(u,a,n,!1,null,null,null);e["default"]=c.exports},f225:function(t,e,s){"use strict";s.d(e,"a",(function(){return i}));var a=s("9b02"),n=s.n(a),o=s("2f62");const i={computed:{...Object(o["d"])("tabs",["settingsTab","settingsTabs"]),allTabs(){return this.$store.getters[`tabs/${this.pageSlug}Tabs`]},currentTab(){return this.$store.getters[`tabs/${this.pageSlug}Tab`]},selectedTab(){return this.$get("$route.params.selectedTab")}},mounted(){this.goToSelected()},watch:{$route(t){this.goTo(n()(t,"params.selectedTab"))}},methods:{...Object(o["c"])("tabs",["goTab"]),navTo(t){this.goTab({page:this.pageSlug,tab:t,baseUrl:""})},goTo(t){this.goTab({page:this.pageSlug,tab:t})},goToSelected(){this.selectedTab&&this.goTo(this.selectedTab)}}}}}]);
//# sourceMappingURL=settings.bb78a5ed.js.map
Back to Directory File Manager