PageSourceSearch

https://ninedevelopments.com/wp-content/themes/belfort/assets/plug…/jquery.twentytwenty.js?ver=7.1.2

js ninedevelopments.com collected 2026-10-06 21:01:12 UTC 1,896 bytes, 1 lines download raw bytes

1!function(t){t.fn.twentytwenty=function(e){var e=t.extend({default_offset_pct:.5,orientation:"horizontal"},e);return this.each(function(){var n=e.default_offset_pct,i=t(this),a=e.orientation;i.wrap("<div class='twentytwenty-wrapper twentytwenty-"+a+"'></div>"),i.append("<div class='twentytwenty-overlay'></div>");var s=i.find("img:first"),d=i.find("img:last");i.append("<div class='twentytwenty-handle'></div>");var r=i.find(".twentytwenty-handle");r.append("<span class='twentytwenty-"+("vertical"===a?"down":"left")+"-arrow'></span>"),r.append("<span class='twentytwenty-"+("vertical"===a?"up":"right")+"-arrow'></span>"),i.addClass("twentytwenty-container"),s.addClass("twentytwenty-before"),d.addClass("twentytwenty-after");var c=i.find(".twentytwenty-overlay");c.append("<div class='twentytwenty-before-label'></div>"),c.append("<div class='twentytwenty-after-label'></div>");var w=function(t){var e=s.width(),n=s.height();return{w:e+"px",h:n+"px",cw:t*e+"px",ch:t*n+"px"}},o=function(t){"vertical"===a?s.css("clip","rect(0,"+t.w+","+t.ch+",0)"):s.css("clip","rect(0,"+t.cw+","+t.h+",0)"),i.css("height",t.h)},l=function(t){var e=w(t);r.css("vertical"===a?"top":"left","vertical"===a?e.ch:e.cw),o(e)};t(window).on("resize.twentytwenty",function(t){l(n)});var v=0,f=0,p=0,y=0;r.on("movestart",function(t){(t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&"vertical"!==a?t.preventDefault():(t.distX<t.distY&&t.distX<-t.distY||t.distX>t.distY&&t.distX>-t.distY)&&"vertical"===a&&t.preventDefault(),i.addClass("active"),v=i.offset().left,f=i.offset().top,p=s.width(),y=s.height()}),r.on("moveend",function(t){i.removeClass("active")}),r.on("move",function(t){i.hasClass("active")&&((n="vertical"===a?(t.pageY-f)/y:(t.pageX-v)/p)<0&&(n=0),n>1&&(n=1),l(n))}),i.find("img").on("mousedown",function(t){t.preventDefault()}),t(window).trigger("resize.twentytwenty")})}}(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.