1(self.webpackChunkflo_flex_builder=self.webpackChunkflo_flex_builder||[]).push([[462],{610:(t,e,s)=>{"use strict";s.r(e);var n=s(4791),i=s.n(n),o=s(3609),a=s.n(o);s(2244),s(2752);const l=()=>{const t="flex-element-type-image-comparison";a()("."+t).each(((e,s)=>{const n=a()(s),o=n.find(`.${t}__handle`);n.parents(".flex-block").first().find("*[draggable!=true]",".slick-track").unbind("dragstart");const l=n.width(),r=o.width();let d=n.css("--initialPosition");d=parseInt(d.slice(0,-1));const c=r/2/l*100;let f=d;d<=c&&(f=c),d>=100-c&&(f=100-c),n.css({"--handlePosition":`${f}%`}),n.css("opacity",1),o.on("draggable mouseenter mousedown",(function(t){t.stopPropagation()})),o.draggable({axis:"x",start:()=>{n.addClass(`${t}--dragging`)},drag:(t,e)=>{const a=Number(n.css("--animation-scale")||1);e.position.left=i()(e.position.left,0,n.width()*a-o.width()*a),e.position.left/=a;const l=(e.position.left+o.width()/2)/n.width()*100+"%";s.style.setProperty("--handlePosition",l)},stop:()=>{n.removeClass(`${t}--dragging`),n.parents(".flex-element-type-tabs2").length&&(o.css({top:"",left:""}),setTimeout((function(){n.css({"--handlePosition":"50%"})}),10))}})}))};l(),a()(window).on("reRenderAll",(()=>{l()}))}}]);
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.