Files
WEBtomaste/Atomaste Reference/public_html/wp-content/plugins/updraftplus/js/tour-1-25-3.min.js

1 line
8.8 KiB
JavaScript
Raw Normal View History

2025-12-10 12:17:30 -05:00
(u=>{u(function(){var t,e,n,o;function a(){n.canceled=!0;var t={current_step:this.getCurrentStep().id};"function"==typeof updraft_send_command?updraft_send_command("set_tour_status",t,function(t){console.log("Successfully deactivated tour")},{alert_on_error:!1}):jQuery.ajax({url:ajaxurl,type:"POST",data:{action:"updraft_ajax",subaction:"set_tour_status",nonce:updraftplus_tour_i18n.nonce,current_step:this.getCurrentStep().id}})}u(".updraftplus-welcome .close").on("click",function(t){t.preventDefault(),u(this).closest(".updraftplus-welcome").remove()}),window.Shepherd&&(t="button button-primary",e=window.updraft_plugins_page_tour=new Shepherd.Tour,(n=window.updraft_main_tour=new Shepherd.Tour).options.defaults=e.options.defaults={classes:"shepherd-theme-arrows-plain-buttons shepherd-main-tour",showCancelLink:!0,scrollTo:!1,tetherOptions:{constraints:[{to:"scrollParent",attachment:"together",pin:!1}]}},e.addStep("intro",{title:updraftplus_tour_i18n.plugins_page.title,text:updraftplus_tour_i18n.plugins_page.text,attachTo:".js-updraftplus-settings top",buttons:[{classes:t,text:updraftplus_tour_i18n.plugins_page.button.text,action:function(){window.location=updraftplus_tour_i18n.plugins_page.button.url}}],tetherOptions:{constraints:[{to:"scrollParent",attachment:"together",pin:!1}],offset:"20px 0"},when:{show:function(){u("body").addClass("highlight-udp");var t=u(this.el);u("body, html").animate({scrollTop:t.offset().top-50},500,function(){window.scrollTo(0,t.offset().top-50)})},hide:function(){u("body").removeClass("highlight-udp")}}}),n.addStep("backup_now",{title:updraftplus_tour_i18n.backup_now.title,text:updraftplus_tour_i18n.backup_now.text,attachTo:"#updraft-backupnow-button bottom",buttons:[{classes:"udp-tour-end",text:updraftplus_tour_i18n.end_tour,action:n.cancel},{classes:t,text:updraftplus_tour_i18n.next,action:function(){u("#updraft-navtab-settings").trigger("click")}}]}),n.addStep("backup_options",{title:updraftplus_tour_i18n.backup_options.title,text:updraftplus_tour_i18n.backup_options.text,classes:"shepherd-theme-arrows-plain-buttons shepherd-main-tour super-index",attachTo:"#backupnow_includedb left",tetherOptions:{offset:"-15px 25px"},buttons:[{classes:"udp-tour-back",text:updraftplus_tour_i18n.back,action:function(){u("#updraft-backupnow-modal").dialog("close")}},{classes:t,text:updraftplus_tour_i18n.next,action:n.next}]}),n.addStep("backup_now_btn",{title:updraftplus_tour_i18n.backup_now_btn.title,text:updraftplus_tour_i18n.backup_now_btn.text,classes:"shepherd-theme-arrows-plain-buttons shepherd-main-tour super-index",attachTo:".js-tour-backup-now-button top",buttons:[{classes:"udp-tour-back",text:updraftplus_tour_i18n.back,action:function(){n.back()}},{classes:t,text:updraftplus_tour_i18n.backup_now_btn.btn_text,action:function(){u("#updraft-backupnow-modal").dialog("close"),u("#updraft-navtab-settings").trigger("click")}}]}),n.addStep("backup_now_btn_success",{title:updraftplus_tour_i18n.backup_now_btn_success.title,text:updraftplus_tour_i18n.backup_now_btn_success.text,attachTo:"#updraft_activejobs_table top",buttons:[{classes:"udp-tour-back",text:updraftplus_tour_i18n.back,action:function(){u("#updraft-backupnow-button").trigger("click"),n.show("backup_now_btn")}},{classes:t,text:updraftplus_tour_i18n.backup_now_btn_success.btn_text,action:function(){u("#updraft-navtab-settings").trigger("click")}}],when:{show:function(){setTimeout(function(){u(window).trigger("scroll")})}}}),n.addStep("settings_timing",{title:updraftplus_tour_i18n.settings_timing.title,text:updraftplus_tour_i18n.settings_timing.text,attachTo:".retain-files right",buttons:[{classes:"udp-tour-back",text:updraftplus_tour_i18n.back,action:function(){u("#updraft-navtab-backups").trigger("click")}},{classes:t,text:updraftplus_tour_i18n.next,action:n.next}],tetherOptions:u.extend({},n.options.defaults.tetherOptions,{offset:"-33px -15px"}),when:{show:function(){o()}}}),n.addStep("settings_remote_storage",{title:updraftplus_tour_i18n.settings_remote_storage.title,text:updraftplus_tour_i18n.settings_remote_storage.text,attachTo:{element:"labe