PageSourceSearch

https://tomtalks.blog/wp-content/themes/author/js/build/production.min.js?ver=7.1.2

js tomtalks.blog collected 2026-10-02 10:19:56 UTC 6,988 bytes, 1 lines download raw bytes

1!function(a){"use strict";a.fn.fitVids=function(b){var c={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var d=document.head||document.getElementsByTagName("head")[0],e=document.createElement("div");e.innerHTML='<p>x</p><style id="fit-vids-style">'+".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}"+"</style>",d.appendChild(e.childNodes[1])}return b&&a.extend(c,b),this.each(function(){var b=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];c.customSelector&&b.push(c.customSelector);var d=".fitvidsignore";c.ignore&&(d=d+", "+c.ignore);var e=a(this).find(b.join(","));e=e.not("object object"),e=e.not(d),e.each(function(){var b=a(this);if(!(b.parents(d).length>0||"embed"===this.tagName.toLowerCase()&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)){b.css("height")||b.css("width")||!isNaN(b.attr("height"))&&!isNaN(b.attr("width"))||(b.attr("height",9),b.attr("width",16));var c="object"===this.tagName.toLowerCase()||b.attr("height")&&!isNaN(parseInt(b.attr("height"),10))?parseInt(b.attr("height"),10):b.height(),e=isNaN(parseInt(b.attr("width"),10))?b.width():parseInt(b.attr("width"),10),f=c/e;if(!b.attr("name")){var g="fitvid"+a.fn.fitVids._count;b.attr("name",g),a.fn.fitVids._count++}b.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*f+"%"),b.removeAttr("height").removeAttr("width")}})})},a.fn.fitVids._count=0}(window.jQuery||window.Zepto),jQuery(document).ready(function(a){function b(){if(r.hasClass("open"))r.trigger("close"),r.removeClass("open"),a(this).children("span").text(ct_author_objectL10n.openPrimaryMenu),a(this).attr("aria-expanded","false"),a("#menu-primary-items ul, .menu-unset ul").removeAttr("style"),a(".menu-item-has-children").each(function(){a(this).hasClass("open")&&a(this).removeClass("open")}),g(),d(),a(window).unbind("scroll",k);else{r.addClass("open"),r.trigger("open"),a(this).children("span").text(ct_author_objectL10n.closePrimaryMenu),a(this).attr("aria-expanded","true");var b=window.innerWidth;if(b>549&&b<950){var c=0;s.find(".social-media-icons").length&&(c=s.find(".social-media-icons").find("ul").outerHeight());var e=y.outerHeight(),f=r.outerHeight(),h=u.height(),i=h+f+c+e;i>window.innerHeight&&t.css("min-height",i+"px"),a(window).scroll(k)}}}function c(){var b=a(this).parent();b.hasClass("open")?(b.removeClass("open"),a(this).children("span").text(ct_author_objectL10n.openChildMenu),a(this).attr("aria-expanded","false")):(b.addClass("open"),a(this).children("span").text(ct_author_objectL10n.closeChildMenu),a(this).attr("aria-expanded","true"),A=!1),e(a(this)),g()}function d(){var b=window.innerWidth;if(b>549&&b<950){var c=0;s.find(".social-media-icons").length&&(c=s.find(".social-media-icons").find("ul").outerHeight());var d=y.outerHeight(),e=r.outerHeight();a("#menu-primary").css("top",e+c+24+"px"),u.css("top",e+c+d+48+"px")}else a("#sidebar-primary, #menu-primary").css("top","")}function e(b){0==b&&(b=a(".menu-primary-items .menu-item-has-children.open > button"));var c=window.innerWidth;if(c>549&&c<950){var d=b.next(),e=0;d.children().each(function(){e+=36});var f=u.css("top"),g=t.css("min-height");f=parseInt(f),g=parseInt(g);b.parent().hasClass("open")?(u.css("top",f+e+"px"),t.css("min-height",g+e+"px")):(u.css("top",f-e+"px"),t.css("min-height",g-e+"px"))}}function f(){window.innerWidth>949&&r.hasClass("open")&&b()}function g(){if(t.css("min-height",""),C>549){var a=v.height();x.length>0&&(a-=x.outerHeight()),G=r.outerHeight(),G>a&&(a=G),a>window.innerHeight&&t.css("min-height",a.toString()+"px")}}function h(){if(C=window.innerWidth,D=a(window).height(),E=a("body").hasClass("admin-bar")?a("#wpadminbar").height():0,F=v.height(),G=r.outerHeight(),window.innerWidth<950){r.removeAttr("style")}}function i(){if(!(950>C)){var b=a(window).scrollTop();G+E>D&&1!=A?b>z?n?(n=!1,B=r.offset().top>0?r.offset().top-E:0,r.attr("style","top: "+B+"px;")):!o&&b+D>=G+r.offset().top&&G+E<=F?(o=!0,r.attr("style","position: fixed; bottom: 0;")):G+E>D&&!o&&(B=r.offset().top>0?r.offset().top-E:0,r.attr("style","top: "+B+"px;")):b<z?o?(o=!1,B=r.offset().top>0?r.offset().top-E:0,r.attr("style","top: "+B+"px;")):!n&&b>
1=0&&b+E<=r.offset().top&&(n=!0,r.attr("style","position: fixed;")):n=o=!1:(n=!0,A=!0,r.attr("style","position: fixed;")),z=b}}function j(){h(),i()}function k(){var c=u.offset().top+u.height();a(window).scrollTop()>c+50&&b()}function l(){"object-fit"in document.body.style||a(".featured-image").each(function(){if(!a(this).parent(".entry").hasClass("ratio-natural")){var b=a(this).children("img").add(a(this).children("a").children("img"));if(b.hasClass("no-object-fit"))return;b.addClass("no-object-fit"),b.outerWidth()<a(this).outerWidth()&&b.css({width:"100%","min-width":"100%","max-width":"100%",height:"auto","min-height":"100%","max-height":"none"}),b.outerHeight()<a(this).outerHeight()&&b.css({height:"100%","min-height":"100%","max-height":"100%",width:"auto","min-width":"100%","max-width":"none"})}})}function m(){a(".infinite-wrap").children(".entry").detach().appendTo(w),a(".infinite-wrap, .infinite-loader").remove()}var n,o,p,q=a(".toggle-dropdown"),r=a("#main-sidebar"),s=a("#site-header"),t=a("#main"),u=a("#sidebar-primary"),v=a("#overflow-container"),w=a("#loop-container"),x=a("#header-image"),y=a(a(".menu-unset").length?".menu-unset":"#menu-primary-items"),z=0,A=!1,B=0,C=window.innerWidth,D=a(window).height(),E=a("body").hasClass("admin-bar")?a("#wpadminbar").height():0,F=v.height(),G=r.outerHeight();d(),l(),a("#toggle-navigation").on("click",b),q.on("click",c),a(document).ready(function(){g(),e(!1)}),a(window).on("resize",function(){d(),f(),g(),l()}),a(document.body).on("post-load",function(){a.when(m()).then(function(){l()})}),a(".post-content").fitVids({customSelector:'iframe[src*="dailymotion.com"], iframe[src*="slideshare.net"], iframe[src*="animoto.com"], iframe[src*="blip.tv"], iframe[src*="funnyordie.com"], iframe[src*="hulu.com"], iframe[src*="ted.com"], iframe[src*="wordpress.tv"]'}),a(".current-menu-ancestor").addClass("open"),a(window).on("scroll",i).on("resize",function(){clearTimeout(p),p=setTimeout(j,500)}),r.on("click keydown","button",j),j(),0!==a("#scroll-to-top").length&&(a(window).on("scroll",function(){a(this).scrollTop()>=200?a("#scroll-to-top").addClass("visible"):a("#scroll-to-top").removeClass("visible")}),a("#scroll-to-top").click(function(b){a("body,html").animate({scrollTop:0},800),a(this).blur()}))}),window.addEventListener("hashchange",function(a){var b=document.getElementById(location.hash.substring(1));b&&(/^(?:a|select|input|button|textarea)$/i.test(b.tagName)||(b.tabIndex=-1),b.focus())},!1);

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.