!function($,o,a,i){$(function(){var a=$("#soliloquy-tabs"),s=$("#soliloquy-tabs-nav"),l=o.location.hash,t=o.location.hash.replace("!","");l&&l.indexOf("soliloquy-tab-")>=0&&($(".soliloquy-active").removeClass("soliloquy-active nav-tab-active"),s.find('a[href="'+t+'"]').addClass("soliloquy-active nav-tab-active"),a.find(t).addClass("soliloquy-active").show()),$(".soliloquy-start-upgrade").on("click",function(a){a.preventDefault();var s=$(this);$(".soliloquy-spinner").css({display:"inline-block","float":"none","vertical-align":"text-bottom"});var l={action:"soliloquy_upgrade_sliders",nonce:i.upgrade_nonce};$.post(i.ajax,l,function(a){$(".soliloquy-spinner").hide(),o.location.replace(i.redirect)},"json")}),$("#soliloquy-tabs-nav a").on("click",function(i){i.preventDefault();var t=$(this);if(!t.hasClass("soliloquy-active")){o.location.hash=l=this.hash.split("#").join("#!");var e=s.find(".soliloquy-active").removeClass("soliloquy-active nav-tab-active").attr("href");t.addClass("soliloquy-active nav-tab-active"),a.find(e).removeClass("soliloquy-active").hide(),a.find(t.attr("href")).addClass("soliloquy-active").show()}}),$(".soliloquy-chosen").each(function(){var o=$(this).data("soliloquy-chosen-options");$(this).chosen(o)})})}(jQuery,window,document,soliloquy_settings);