!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=39)}({39:function(e,t,r){"use strict";(function(e){var t={data:function(){return{pageOptions:window.jetSmartFiltersSettingsConfig.settingsData,preparedOptions:{},savingStatus:!1,ajaxSaveHandler:null}},watch:{pageOptions:{handler:function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r].value);this.preparedOptions=t,this.saveOptions()},deep:!0}},methods:{saveOptions:function(){var t=this;t.savingStatus=!0,t.ajaxSaveHandler=e.ajax({type:"POST",url:window.jetSmartFiltersSettingsConfig.settingsApiUrl,dataType:"json",data:t.preparedOptions,beforeSend:function(e,r){null!==t.ajaxSaveHandler&&t.ajaxSaveHandler.abort()},success:function(e,r,n){t.savingStatus=!1,"success"===e.status&&t.$CXNotice.add({message:e.message,type:"success",duration:3e3}),"error"===e.status&&t.$CXNotice.add({message:e.message,type:"error",duration:3e3})}})}}};Vue.component("jet-smart-filters-general-settings",{template:"#jet-dashboard-jet-smart-filters-general-settings",mixins:[t]}),Vue.component("jet-smart-filters-indexer-settings",{template:"#jet-dashboard-jet-smart-filters-indexer-settings",mixins:[t]}),Vue.component("jet-smart-filters-url-structure-settings",{template:"#jet-dashboard-jet-smart-filters-url-structure-settings",mixins:[t]}),Vue.component("jet-smart-filters-ajax-request-type",{template:"#jet-dashboard-jet-smart-filters-ajax-request-type",mixins:[t]})}).call(this,r(6))},6:function(e,t){e.exports=jQuery}});