window._wca = window._wca || [];
var breeze_prefetch = {"local_url":"https:\/\/hobbylegends.com","ignore_remote_prefetch":"1","ignore_list":["\/cart\/","\/checkout\/","\/my-account\/","wp-admin","wp-login.php"]};
https://hobbylegends.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
https://hobbylegends.com/wp-includes/js/jquery/jquery.min.js
https://hobbylegends.com/wp-includes/js/jquery/jquery-migrate.min.js
!function($){"use strict";$(document).ready(function(){$(this).scrollTop()>100&&$(".hfe-scroll-to-top-wrap").removeClass("hfe-scroll-to-top-hide"),$(window).scroll(function(){$(this).scrollTop()<100?$(".hfe-scroll-to-top-wrap").fadeOut(300):$(".hfe-scroll-to-top-wrap").fadeIn(300)}),$(".hfe-scroll-to-top-wrap").on("click",function(){$("html, body").animate({scrollTop:0},300);return!1})})}(jQuery); !function($){'use strict';$(document).ready(function(){var bar=$('.hfe-reading-progress-bar');if(!bar.length)return;$(window).on('scroll',function(){var s=$(window).scrollTop(),d=$(document).height()-$(window).height(),p=d? s/d*100:0;bar.css('width',p+'%')});});}(jQuery);
https://hobbylegends.com/wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
var wc_add_to_cart_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"View cart","cart_url":"https:\/\/hobbylegends.com\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
https://hobbylegends.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
https://hobbylegends.com/wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
var woocommerce_params = {"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_password_show":"Show password","i18n_password_hide":"Hide password"};
https://hobbylegends.com/wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
var wcpayAssets = {"url":"https:\/\/hobbylegends.com\/wp-content\/plugins\/woocommerce-payments\/dist\/"};
var _EPYT_ = {"ajaxurl":"https:\/\/hobbylegends.com\/wp-admin\/admin-ajax.php","security":"182d92f70f","gallery_scrolloffset":"20","eppathtoscripts":"https:\/\/hobbylegends.com\/wp-content\/plugins\/youtube-embed-plus\/scripts\/","eppath":"https:\/\/hobbylegends.com\/wp-content\/plugins\/youtube-embed-plus\/","epresponsiveselector":"[\"iframe.__youtube_prefs_widget__\"]","epdovol":"1","version":"14.2.6","evselector":"iframe.__youtube_prefs__[src], iframe[src*=\"youtube.com\/embed\/\"], iframe[src*=\"youtube-nocookie.com\/embed\/\"]","ajax_compat":"","maxres_facade":"eager","ytapi_load":"light","pause_others":"","stopMobileBuffer":"1","facade_mode":"","not_live_on_channel":""};
https://hobbylegends.com/wp-content/plugins/youtube-embed-plus/scripts/ytprefs.min.js
document.createElement( "picture" );if(!window.HTMLPictureElement && document.addEventListener) {window.addEventListener("DOMContentLoaded", function() {var s = document.createElement("script");s.src = "https://hobbylegends.com/wp-content/plugins/webp-express/js/picturefill.min.js";document.body.appendChild(s);});}
jQuery(document).ready(function() {jQuery('#filters').prev().remove();jQuery('#change-page-sizes').prev().remove();jQuery('.woocommerce-MyAccount-navigation-link--sumo-reward-points').remove();jQuery('.woocommerce-MyAccount-navigation-link--subscriptions').remove();jQuery('.woocommerce-MyAccount-navigation-link--points').remove();jQuery('h2.my_rewards_title').remove();jQuery('h4.my_reward_total').remove();jQuery('#filters').remove();jQuery('#change-page-sizes').remove();jQuery('form.rs-my-reward-table-form').remove();jQuery('i.wpfTitleToggle').remove();jQuery('div.wpfFilterContent').removeClass('wpfHide');});
info@hobbylegends.com (714) 582-2584
Logout Log In/ Register
  • Home
  • Live Break Videos
  • Shop Now
    • Breaks on Ebay
    • Breaks on Fanatics
    • Consignment on Ebay
    • Retail Card Shop on Ebay
  • Contact
  • Useful Links

    • Consignment Auctions
    • Live Break Videos
    • Contact
  • Contact Info

    • 1277 W Central Ave Brea CA 92821
    • info@hobbylegends.com
    • 714 582 2584
  • Follow Us

  • 2023 © All Rights Reserved. Hobby Legends.

    • Privacy Policy
    • Terms & Conditions
  • https://hobbylegends.com/wp-content/uploads/2023/04/image0-removebg-preview.png
    ×

    Please enter you Paypal email ID to verfication

    Verfiy

    function paypaltogglePopup() { jQuery(".paypalemailid").toggle(); } function validatePhone(txtPhone) { var phonenumber = txtPhone; var filter = /^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/; if (filter.test(phonenumber)) { return true; } else { return false; } } //validating address field on register page so that user cant enter random data function validateAddress(addressInput, e) { if (typeof placeId === 'undefined' || placeId === null || !placeId) { // User hasn't selected an address from the suggestions console.log('Please select an address from the suggestions.'); var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please select a valid address from the autocomplete suggestions.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); // Prevent form submission if the address is empty jQuery('html, body').animate({ scrollTop: jQuery('.woocommerce-error').offset().top - 300 }, 1000); return false; } else { // User has selected an address from the suggestions // Proceed with your further validation or processing console.log('Address is validated. Place ID: ' + placeId); // var user_address = addressInput.val(); if (user_address === '') { var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please select a valid address from the autocomplete suggestions.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); // Prevent form submission if the address is empty jQuery('html, body').animate({ scrollTop: jQuery('.woocommerce-error').offset().top - 300 }, 1000); return false; } else { // Make a synchronous API request to the Google Geocoding API var apiKey = 'AIzaSyB0mAr0TtwwE4kSoCh42pquepIYhDw3VBs'; // Replace with your Google API key var geocodingApiUrl = 'https://maps.googleapis.com/maps/api/geocode/json'; // Prepare the parameters for the API request var requestData = { address: user_address, key: apiKey }; var isValid = false; // Send the API request $.ajax({ url: geocodingApiUrl, data: requestData, async: false, // Make the request synchronous success: function(response) { if (response.status === 'OK') { // Address is valid isValid = true; var location = response.results[0].geometry.location; var latitude = location.lat; var longitude = location.lng; console.log('Latitude: ' + latitude); console.log('Longitude: ' + longitude); e.preventDefault(); } else { // Address is not valid, display an error message var errorMessage = 'Invalid or incomplete address. Please select a valid address.'; var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> ' + errorMessage + '</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); // Scroll to the error message jQuery('html, body').animate({ scrollTop: jQuery('.woocommerce-error').offset().top - 300 }, 1000); // You can adjust the scrolling duration (1000ms = 1 second) } } }); return isValid; } } } jQuery(document).ready(function() { //jQuery('form.woocommerce-EditAccountForm fieldset').remove(); jQuery('form.woocommerce-form-register').on('submit', function(e) { var reg_username = jQuery('form.woocommerce-form-register input#reg_username').val(); var reg_email = jQuery('form.woocommerce-form-register input#reg_email').val(); var reg_password = jQuery('form.woocommerce-form-register input#reg_password').val(); var phonenumber = jQuery('form.woocommerce-form-register input#phone_number').val(); //var user_address = jQuery('form.woocommerce-form-register textarea#user_address').val(); var addressInput = jQuery('form.woocommerce-form-register textarea#user_address'); jQuery('.woocommerce-error').remove(); if (reg_username == '') { var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a username.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); } else if (reg_email == '') { var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a valid email address.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); } else if (phonenumber != '' || phonenumber == '') { if (phonenumber == '') { var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a phone number.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); } else { if (!validatePhone(phonenumber)) { var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide a valid phone number.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); } else { // if (user_address == '' ) { // var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide address.</li></ul>'; // jQuery(html).insertBefore("form.woocommerce-form-register"); // e.preventDefault(); // } if (!validateAddress(addressInput, e)) { e.preventDefault(); // Prevent form submission if the address is not valid } } } } else if (user_address == '') { var html = '<ul class="woocommerce-error"><li><strong>Error:</strong> Please provide address.</li></ul>'; jQuery(html).insertBefore("form.woocommerce-form-register"); e.preventDefault(); } else { } }) jQuery('.paymentGateway button').click(function() { jQuery('body').addClass('popup-body'); }); jQuery('.paypalemailid .close-btn').click(function() { jQuery('body').removeClass('popup-body'); }); jQuery('#paypalemailbutton').click(function() { var paypalemail = jQuery('#paypalemail').val(); if (paypalemail) { jQuery('.loadingImg').show(); var ajax_url = "https://hobbylegends.com/wp-admin/admin-ajax.php"; var datas = { 'action': 'verificationPaypalEmail', 'paypalemail': paypalemail }; jQuery.ajax({ url: ajax_url, type: 'POST', data: datas, success: function(response) { jQuery('.loadingImg').hide(); jQuery('#requestresponse').html(response); setTimeout(function() { location.reload(); }, 1500); } }); } else { jQuery('#paypalemail').css('border', '1px solid red'); } }) }); var video = document.getElementById('banner-vdo'); function toggleMutes() { video.muted = !video.muted; } jQuery(document).ready(function($) { //var video=document.getElementById("banner-vdo") ; $(video).on("click", function(e) { video.muted = !video.muted; }); })
    const lazyloadRunObserver = () => { const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` ); const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => { entries.forEach( ( entry ) => { if ( entry.isIntersecting ) { let lazyloadBackground = entry.target; if( lazyloadBackground ) { lazyloadBackground.classList.add( 'e-lazyloaded' ); } lazyloadBackgroundObserver.unobserve( entry.target ); } }); }, { rootMargin: '200px 0px 200px 0px' } ); lazyloadBackgrounds.forEach( ( lazyloadBackground ) => { lazyloadBackgroundObserver.observe( lazyloadBackground ); } ); }; const events = [ 'DOMContentLoaded', 'elementor/lazyload/observe', ]; events.forEach( ( event ) => { document.addEventListener( event, lazyloadRunObserver ); } );
    if (typeof initGoogleMaps === "undefined") { function initGoogleMaps() { console.log("Google Maps API loaded successfully"); } }
    var astra = {"break_point":"921","isRtl":""};
    https://hobbylegends.com/wp-content/themes/astra/assets/js/minified/frontend.min.js
    var gapFrontendData = {"configs":[],"googleApiKey":"AIzaSyB0mAr0TtwwE4kSoCh42pquepIYhDw3VBs","isPremium":"","isPlan":""};
    https://hobbylegends.com/wp-content/plugins/autocomplete-google-address/frontend/dist/index.js
    https://hobbylegends.com/wp-includes/js/dist/hooks.min.js
    https://hobbylegends.com/wp-includes/js/dist/i18n.min.js
    wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
    https://hobbylegends.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js
    var wpcf7 = { "api": { "root": "https:\/\/hobbylegends.com\/wp-json\/", "namespace": "contact-form-7\/v1" }, "cached": 1 };
    https://hobbylegends.com/wp-content/plugins/contact-form-7/includes/js/index.js
    var ajax_object = {"ajax_url":"https:\/\/hobbylegends.com\/wp-admin\/admin-ajax.php"};
    https://hobbylegends.com/wp-content/themes/astra-child/assets/js/custom.js
    https://hobbylegends.com/wp-content/themes/astra/assets/js/custom.js
    https://hobbylegends.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-lazy-load.min.js
    function breezeInitLazyLoad() { window.lazyLoadInstance = new LazyLoad({ elements_selector: ".br-lazy", data_src: "breeze", data_srcset: "brsrcset", data_sizes: "brsizes", class_loaded: "br-loaded", threshold: 300, }); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", breezeInitLazyLoad); } else { breezeInitLazyLoad(); }
    https://hobbylegends.com/wp-content/plugins/woocommerce/assets/js/sourcebuster/sourcebuster.min.js
    var wc_order_attribution = {"params":{"lifetime":1.0e-5,"session":30,"base64":false,"ajaxurl":"https:\/\/hobbylegends.com\/wp-admin\/admin-ajax.php","prefix":"wc_order_attribution_","allowTracking":true},"fields":{"source_type":"current.typ","referrer":"current_add.rf","utm_campaign":"current.cmp","utm_source":"current.src","utm_medium":"current.mdm","utm_content":"current.cnt","utm_id":"current.id","utm_term":"current.trm","utm_source_platform":"current.plt","utm_creative_format":"current.fmt","utm_marketing_tactic":"current.tct","session_entry":"current_add.ep","session_start_time":"current_add.fd","session_pages":"session.pgs","session_count":"udata.vst","user_agent":"udata.uag"}};
    https://hobbylegends.com/wp-content/plugins/woocommerce/assets/js/frontend/order-attribution.min.js
    https://hobbylegends.com/wp-content/plugins/youtube-embed-plus/scripts/fitvids.min.js
    _stq = window._stq || []; _stq.push([ "view", JSON.parse("{\"v\":\"ext\",\"blog\":\"201200908\",\"post\":\"1299\",\"tz\":\"0\",\"srv\":\"hobbylegends.com\",\"j\":\"1:14.8\"}") ]); _stq.push([ "clickTrackerInit", "201200908", "1299" ]);
    /(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
    /*oldcode*/ jQuery(document).ready(function($) { $("#user_address").on("change keyup paste", function() { if (typeof placeId !== 'undefined' || placeId !== null) { placeId = null; } }) $('#user_address').each(function() { var autocomplete = new google.maps.places.Autocomplete(this); // When the user selects an address from the autocomplete suggestions autocomplete.addListener('place_changed', function() { var place = autocomplete.getPlace(); placeId = place.place_id; // alert(placeId); }); }); });
    paypal.use(['login'], function(login) { login.render({ "appid": "AXg0zeyv1Ch2CveyjpyOtaHmzKhp9tXXeEsaUKXcH58MGjbfl4unqixu_eSK2vLpgTQmAzfLt_x-6APA", "scopes": "email", "containerid": "confirm_email", "responseType": "code id_Token", "locale": "en-us", "buttonType": "LWP", "buttonShape": "pill", "buttonSize": "lg", "fullPage": "true", "returnurl": "https://hobbylegends.com/paypalreturns/" }); });
    //paste this code under the head tag or in a separate js file. // Wait for window load $(document).ready(function(){ // Animate loader off screen $(".se-pre-con").fadeOut("slow"); });
    $(document).ready(function(){ $('#custom-woo').prepend('<button type="button" class="user-nav-toggle">User Menu <i class="fa fa-bars"></i></button>'); $(".user-nav-toggle").click(function(){ $(".woocommerce nav").slideToggle(); }); });
    /*ypedits jQuery(document).ready(function($) { $("#user_address").on("change keyup paste", function(){ if( typeof placeId !== 'undefined' || placeId !== null){ placeId = null; } }) $('#user_address').each(function() { var autocomplete = new google.maps.places.Autocomplete(this); // When the user selects an address from the autocomplete suggestions autocomplete.addListener('place_changed', function() { var place = autocomplete.getPlace(); placeId = place.place_id; // alert(placeId); }); }); });*/