PageSourceSearch

https://assets.midilibre.fr/js/vendors~waves.73b9222179abca47d7c2.js

js midilibre.fr collected 2026-09-24 08:39:55 UTC 4,515 bytes, 8 lines download raw bytes

1(self.webpackChunkpackage=self.webpackChunkpackage||[]).push([[166],{3568:function(){/*!
2 * Waves v0.6.4
3 * http://fian.my.id/Waves
4 *
5 * Copyright 2014 Alfiana E. Sibuea and other contributors
6 * Released under the MIT license
7 * https://github.com/fians/Waves/blob/master/LICENSE
8 */(function(l){"use strict";var f=f||{},h=document.querySelectorAll.bind(document);function w(t){return t!==null&&t===t.window}function b(t){return w(t)?t:t.nodeType===9&&t.defaultView}function g(t){var e,n,a={top:0,left:0},o=t&&t.ownerDocument;return e=o.documentElement,typeof t.getBoundingClientRect!="undefined"&&(a=t.getBoundingClientRect()),n=b(o),{top:a.top+n.pageYOffset-e.clientTop,left:a.left+n.pageXOffset-e.clientLeft}}function p(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}var i={duration:750,show:function(t,e){if(t.button===2)return!1;var n=e||this,a=document.createElement("div");a.className="waves-ripple",n.appendChild(a);var o=g(n),u=t.pageY-o.top,d=t.pageX-o.left,s="scale("+n.clientWidth/100*10+")";"touches"in t&&(u=t.touches[0].pageY-o.top,d=t.touches[0].pageX-o.left),a.setAttribute("data-hold",Date.now()),a.setAttribute("data-scale",s),a.setAttribute("data-x",d),a.setAttribute("data-y",u);var r={top:u+"px",left:d+"px"};a.className=a.className+" waves-notransition",a.setAttribute("style",p(r)),a.className=a.className.replace("waves-notransition",""),r["-webkit-transform"]=s,r["-moz-transform"]=s,r["-ms-transform"]=s,r["-o-transform"]=s,r.transform=s,r.opacity="1",r["-webkit-transition-duration"]=i.duration+"ms",r["-moz-transition-duration"]=i.duration+"ms",r["-o-transition-duration"]=i.duration+"ms",r["transition-duration"]=i.duration+"ms",r["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",a.setAttribute("style",p(r))},hide:function(t){c.touchup(t);var e=this,n=e.clientWidth*1.4,a=null,o=e.getElementsByClassName("waves-ripple");if(o.length>0)a=o[o.length-1];else return!1;var u=a.getAttribute("data-x"),d=a.getAttribute("data-y"),s=a.getAttribute("data-scale"),r=Date.now()-Number(a.getAttribute("data-hold")),m=350-r;m<0&&(m=0),setTimeout(function(){var E={top:d+"px",left:u+"px",opacity:"0","-webkit-transition-duration":i.duration+"ms","-moz-transition-duration":i.duration+"ms","-o-transition-duration":i.duration+"ms","transition-duration":i.duration+"ms","-webkit-transform":s,"-moz-transform":s,"-ms-transform":s,"-o-transform":s,transform:s};a.setAttribute("style",p(E)),setTimeout(function(){try{e.removeChild(a)}catch(N){return!1}},i.duration)},m)},wrapInput:function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.tagName.toLowerCase()==="input"){var a=n.parentNode;if(a.tagName.toLowerCase()==="i"&&a.className.indexOf("waves-effect")!==-1)continue;var o=document.createElement("i");o.className=n.className+" waves-input-wrapper";var u=n.getAttribute("style");u||(u=""),o.setAttribute("style",u),n.className="waves-button-input",n.removeAttribute("style"),a.replaceChild(o,n),o.appendChild(n)}}}},c={touches:0,allowEvent:function(t){var e=!0;return t.type==="touchstart"?c.touches+=1:t.type==="touchend"||t.type==="touchcancel"?setTimeout(function(){c.touches>0&&(c.touches-=1)},500):t.type==="mousedown"&&c.touches>0&&(e=!1),e},touchup:function(t){c.allowEvent(t)}};function y(t){if(c.allowEvent(t)===!1)return null;for(var e=null,n=t.target||t.srcElement;n.parentNode!==null;){if(!(n instanceof SVGElement)&&n.className.indexOf("waves-effect")!==-1){e=n;break}n=n.parentNode}return e}function v(t){var e=y(t);e!==null&&(i.show(t,e),"ontouchstart"in l&&(e.addEventListener("touchend",i.hide,!1),e.addEventListener("touchcancel",i.hide,!1)),e.addEventListener("mouseup",i.hide,!1),e.addEventListener("mouseleave",i.hide,!1),e.addEventListener("dragend",i.hide,!1))}f.displayEffect=function(t){t=t||{},"duration"in t&&(i.duration=t.duration),i.wrapInput(h(".waves-effect")),"ontouchstart"in l&&document.body.addEventListener("touchstart",v,!1),document.body.addEventListener("mousedown",v,!1)},f.attach=function(t){t.tagName.toLowerCase()==="input"&&(i.wrapInput([t]),t=t.parentNode),"ontouchstart"in l&&t.addEventListener("touchstart",v,!1),t.addEventListener("mousedown",v,!1)},l.Waves=f,document.addEventListener("DOMContentLoaded",function(){f.displayEffect()},!1)})(window)}}]);

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.