!function(p){"use strict";var n=["jpg","jpeg","png","gif","mov","avi","mpg","3gp","3g2","midi","mid","pdf","doc","ppt","odt","pptx","docx","pps","ppsx","xls","xlsx","key","mp3","ogg","wma","m4a","wav","mp4","m4v","webm","ogv","wmv","flv","svg","svgz"],a=p("body"),l="undefined"!==loftloaderPro.insiteTransitionShowAll&&loftloaderPro.insiteTransitionShowAll,s=void 0===loftloaderPro.leavingProgressMax?60:loftloaderPro.leavingProgressMax,i=p(),e="",o="",d=parseInt(.9*s,10),f={getItem:function(t){try{return sessionStorage.getItem(t)}catch(t){return!1}},setItem:function(t,e){try{sessionStorage.setItem(t,e)}catch(t){}}};function r(t){if(t&&t.length){var e=t.attr("target"),r=t.attr("href");return(void 0===e||"_blank"!==e.toLowerCase())&&function(t){p("#loftloader-wrapper");var e=t.attr("class"),r=e&&-1!==e.indexOf("ajax"),o=t.parent(".site-header-cart").length,e=loftloaderPro.insiteTransitionCustomExcluded||!1;return e=!(!e||!p(e).length)&&p(e),!t.parent(".product-remove").length&&(!i.length||t.not(i).length)&&(e&&t.not(e).length||!e)&&void 0===t.attr("onclick")&&!r&&!o}(t)&&r&&function(t){if(t){var e=!1,r=document.createElement("a"),o=document.createElement("a"),a=document.createElement("a");return a.href=t,o.href=window.location.href,r.href=loftloaderPro.siteRootURL,e=a.pathname.split(".").pop(),0===a.href.replace(/https?:\/\//i,"").indexOf(r.href.replace(/https?:\/\//i,""))&&"#"!==t.substr(0,1)&&(o.pathname!=a.pathname||!a.hash&&-1===t.indexOf("#"))&&-1===n.indexOf(e)}return}(r)}}function c(){var t=p("#loftloader-wrapper .loader-message"),e=w();t.length&&e&&(t.html(e),f.setItem("loftloader-pro-next-random-message",e))}function h(t){var o=t.attr("href");t.data("loftloader-pro-checked")||(o&&r(t)&&t.off("click").on("click",function(t){t.preventDefault();var e,t=p("#loftloader-wrapper"),r=t.find(".loader-close-button");c(),p(document).trigger("loftloaderpro.spt.start"),p("html").removeClass("loftloader-pro-spt-hide"),t.length&&!loftloaderPro.insiteTransitionDisplayOption&&t.css("transition-delay",""),a.addClass("leaves"),l?(e=void 0===loftloaderPro.leavingTimer?900:loftloaderPro.leavingTimer,e=isNaN(e)?900:Math.max(0,parseInt(e,10)),a.addClass("spt-show-all"),p(document).trigger("loftloaderpro.image.check"),P.initValue=0,P.reset(),P.render(d,.7*e),setTimeout(function(){P.render(loftloaderPro.insiteTransitionDisplayOnCurrent?100:s,.3*e)},.7*e),f.setItem("loftloader-pro-smooth-transition","on"),setTimeout(function(){window.location.href=o,r.length&&loftloaderPro.insiteTransitionShowCloseButton&&r.css({display:"",opacity:1})},e)):window.location.href=o}),t.data("loftloader-pro-checked",!0))}function x(t){g("loftloader-pro-progress-percentage-style",'#loftloader-wrapper span.percentage:after, #loftloader-wrapper .load-count:after { content: "'+Math.ceil(t)+'%"; };')}function u(t,e){var r;e&&e.length&&(r=e.next(".load-count"),t=(t=e.width()*t/100)>r.width()?t-r.width():0,e=e.parent().hasClass("bottom")?"-100%":"100%",r.css("transform","translate("+t+"px, "+e+")"))}function g(t,e){var r=p("head").find("#"+t);r.length||(r=p("