/usr/share/javascript/requirejs/normalize.min.js is in libjs-require-css 0.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 | define(function(){var e=/([^:])\/+/g;var b=function(h){return h.replace(e,"$1/")};var c=/[^\:\/]*:\/\/([^\/])*/;function g(l,m,k){if(l.indexOf("data:")===0){return l}l=b(l);var j=k.match(c);var h=m.match(c);if(h&&(!j||j[1]!=h[1]||j[2]!=h[2])){return a(l,m)}else{return d(a(l,m),k)}}function a(k,l){if(k.substr(0,2)=="./"){k=k.substr(2)}if(k.match(/^\//)||k.match(c)){return k}var j=l.split("/");var h=k.split("/");j.pop();while(curPart=h.shift()){if(curPart==".."){j.pop()}else{j.push(curPart)}}return j.join("/")}function d(k,l){var j=l.split("/");j.pop();l=j.join("/")+"/";i=0;while(l.substr(i,1)==k.substr(i,1)){i++}while(l.substr(i,1)!="/"){i--}l=l.substr(i+1);k=k.substr(i+1);j=l.split("/");var h=k.split("/");out="";while(j.shift()){out+="../"}while(curPart=h.shift()){out+=curPart+"/"}return out.substr(0,out.length-1)}var f=function(m,o,k){o=b(o);k=b(k);var p=/@import\s*("([^"]*)"|'([^']*)')|url\s*\(\s*(\s*"([^"]*)"|'([^']*)'|[^\)]*\s*)\s*\)/ig;var h,j,m;while(h=p.exec(m)){j=h[3]||h[2]||h[5]||h[6]||h[4];var n;n=g(j,o,k);var l=h[5]||h[6]?1:0;m=m.substr(0,p.lastIndex-j.length-l-1)+n+m.substr(p.lastIndex-l-1);p.lastIndex=p.lastIndex+(n.length-j.length)}return m};f.convertURIBase=g;f.absoluteURI=a;f.relativeURI=d;return f});
|