PageSourceSearch

https://ferryguy.com/wp-content/plugins/setsail-membership/assets/js/membership.min.js?ver=6.9.5

js ferryguy.com collected 2026-10-08 08:57:05 UTC 5,909 bytes, 1 lines download raw bytes

1if(function(e,o,a){var n,s=e.getElementsByTagName(o)[0];e.getElementById(a)||((n=e.createElement(o)).id=a,n.src="//connect.facebook.net/en_US/sdk.js",s.parentNode.insertBefore(n,s))}(document,"script","facebook-jssdk"),"undefined"!=typeof qodefSocialLoginVars)var facebookAppId=qodefSocialLoginVars.social.facebookAppId;facebookAppId&&(window.fbAsyncInit=function(){FB.init({appId:facebookAppId,cookie:!0,xfbml:!0,version:"v2.5"}),window.FB=FB}),function(i){"use strict";var e={};function o(){var e=i(".qodef-login-opener"),o=i(".qodef-login-register-holder");if(i(document.body).on("open_user_login_trigger",function(){o.fadeIn(300),o.addClass("opened")}),e){var a=i(".qodef-login-register-content");e.on("click",function(e){e.preventDefault(),o.fadeIn(300),o.addClass("opened")}),o.on("click",function(e){o.hasClass("opened")&&(o.fadeOut(300),o.removeClass("opened"))}),a.on("click",function(e){e.stopPropagation()}),i(window).on("keyup",function(e){o.hasClass("opened")&&27===e.keyCode&&(o.fadeOut(300),o.removeClass("opened"))}),a.tabs()}}function a(){i(".qodef-login-form").on("submit",function(e){e.preventDefault();var o={action:"setsail_membership_login_user",security:i(this).find("#qodef-login-security").val(),login_data:i(this).serialize()};return i.ajax({type:"POST",data:o,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){var o;t(o=JSON.parse(e)),"success"===o.status&&(window.location=o.redirect)}}),!1})}function n(){i(".qodef-register-form").on("submit",function(e){e.preventDefault();var o={action:"setsail_membership_register_user",security:i(this).find("#qodef-register-security").val(),register_data:i(this).serialize()};return i.ajax({type:"POST",data:o,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){var o;t(o=JSON.parse(e)),"success"===o.status&&(window.location=o.redirect)}}),!1})}function s(){var a=i(".qodef-reset-pass-form");a.on("submit",function(e){e.preventDefault();var o={action:"setsail_membership_user_lost_password",user_login:a.find("#user_reset_password_login").val()};i.ajax({type:"POST",data:o,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){var o=JSON.parse(e);t(o),"success"===o.status&&(window.location=o.redirect)}})})}function t(e){var o=i(".qodef-membership-response-holder"),a=_.template(i(".qodef-membership-response-template").html())({messageClass:"success"===e.status?"qodef-membership-message-succes":"qodef-membership-message-error",message:e.message});o.html(a)}function r(){i(".qodef-facebook-login-holder").on("submit",function(e){e.preventDefault(),window.FB.login(function(e){var o;"connected"===(o=e).status?(console.log("Welcome! Fetching information from Facebook..."),FB.api("/me","GET",{fields:"id, name, email, link, picture"},function(e){var o=i(".qodef-facebook-login-holder [name^=qodef_nonce_facebook_login]").val();e.nonce=o,e.image=e.picture.data.url;var a={action:"setsail_membership_check_facebook_user",response:e};i.ajax({type:"POST",data:a,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){var o;t(o=JSON.parse(e)),"success"===o.status&&(window.location=o.redirect)}})})):"not_authorized"===o.status?console.log("Please log into this app"):console.log("Please log into Facebook")},{scope:"email, public_profile"})})}function d(){if("undefined"!=typeof qodefSocialLoginVars)var e=qodefSocialLoginVars.social.googleClientId;e?gapi.load("auth2",function(){window.auth2=gapi.auth2.init({client_id:e}),i(".qodef-google-login-holder").on("submit",function(e){e.preventDefault(),window.auth2.signIn(),function(){if(window.auth2.isSignedIn.get()){var e=window.auth2.currentUser.get(),o=e.getBasicProfile(),a=i(".qodef-google-login-holder [name^=qodef_nonce_google_login]").val(),n={id:o.getId(),name:o.getName(),email:o.getEmail(),image:o.getImageUrl(),link:"https://plus.google.com/"+o.getId(),nonce:a},s={action:"setsail_membership_check_google_user",response:n};i.ajax({type:"POST",data:s,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){var o;t(o=JSON.parse(e)),"success"===o.status&&(window.location=o.redirect)}})}}()})}):i(".qodef-google-login-holder").on("submit",function(e){e.preventDefault()})}"undefined"!=typeof qodef&&(qodef.modules.socialLogin=e),e.qodefUserLogin=a,e.qodefUserRegister=n,e.qodefUserLostPassword=s,e.qodefInitLoginWidgetModal=o,e.qodefInitFacebookLogin=r,e.qodefInitGooglePlusLogin=d,e.qodefRenderAjaxResponseMessage=t,i(document).ready(function(){o(),a(),n(),s(),e=i(".qodef-mobile-header .qodef-user-logged-in"),e.length&&e.each(function(){var e=i(this),o=e.find(".qodef-logged-in-user"),a=e.find(".qodef-login-dropdown");o.on("click",function(e){e.preventDefault(),a.hasClass("qodef-active")?a.removeClass("qodef-active"):a.addClass("qodef-active")})});var e}),i(window).load(function(){r(),d(),function(){i(".qodef-membership-main-wrapper");var e=i(".page-template-user-dashboard .qodef-content"),o=i(".qodef-page-footer"),a=0;!qodef.body.hasClass("qodef-header-transparent")&&1024<qodef.windowWidth&&(a=a+qodefGlobalVars.vars.qodefMenuAreaHeight+qodefGlobalVars.vars.qodefLogoAreaHeight);0<o.length&&(a+=o.outerHeight());if(1024<qodef.windowWidth){var n=qodef.windowHeight-a;e.css({"min-height":n+"px"})}}()})}(jQuery),function(i){"use strict";var e={};function o(){a(),i(document.body).on("setsail_membership_favorites_trigger",function(){a()})}function a(){i(".qodef-membership-item-favorites").on("click",function(e){e.preventDefault();var o,a,n,s=i(this);void 0!==s.data("item-id")&&(o=s.data("item-id")),a=s,n={action:"setsail_membership_add_item_to_favorites",item_id:o},i.ajax({type:"POST",data:n,url:qodefGlobalVars.vars.qodefAjaxUrl,success:function(e){var o=JSON.parse(e);"success"===o.status&&(a.hasClass("qodef-icon-only")||a.find("span").text(o.data.message),a.find(".qodef-favorites-icon").removeClass("fa-heart fa-heart-o").addClass(o.data.icon))}})})}(qodef.modules.membershipFavorites=e).qodefOnDocumentReady=o,i(document).ready(o)}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.