PageSourceSearch

https://www.amnesty.tw/modules/contrib/blazy/js/base/blazy.drupal.min.js?tlv4q3

js amnesty.tw collected 2026-09-24 09:56:36 UTC 2,564 bytes, 1 lines download raw bytes

1!function(r,e,t,l,a){"use strict";var s="data",o=".b-blur",u=".media",i="successClass",c=(n="blazy")+".done",n=function(){},d={};e.blazy={context:a,name:"Drupal.blazy",init:null,instances:[],resizeTick:0,resizeTrigger:!1,blazySettings:t.blazy||{},ioSettings:t.blazyIo||{},options:{},clearCompat:n,clearScript:n,checkResize:n,resizing:n,revalidate:n,isIo:function(){return!0},isBlazy:function(){return!r.isIo&&"Blazy"in l},isFluid:function(t,n){return r.equal(t.parentNode,"picture")&&r.hasAttr(n,"data-b-ratios data-ratios")},isLoaded:function(t){return r.hasClass(t,this.options[i])},globals:function(){var t=this,n={isMedia:!0,success:t.clearing.bind(t),error:t.clearing.bind(t),resizing:t.resizing.bind(t),selector:".b-lazy",parent:u,errorClass:"b-error",successClass:"b-loaded"};return r.extend(t.blazySettings,t.ioSettings,n)},extend:function(t){d=r.extend({},d,t)},merge:function(t){var n=this;return n.options=r.extend({},n.globals(),n.options,t||{}),n.options},run:function(t){return new BioMedia(t)},mount:function(t){var n=this;return n.merge(),t&&r.each(d,function(t){r.isFun(t)&&t.call(n)}),r.extend(n,d)},selector:function(t){t=t||"";var n=this.options;return n.selector+t+":not(."+n[i]+")"},clearing:function(t){var n=this,i=r.hasClass(t,"b-responsive")&&r.hasAttr(t,s+"-pfsrc");l.picturefill&&i&&l.picturefill({reevaluate:!0,elements:[t]}),l.setTimeout(function(){r.isHtml(t)&&e.attachBehaviors(t),r.isFun(r.unloading)&&r.unloading(t)},300),n.clearCompat(t),n.clearScript(t),r.trigger(t,c+" blazy:done",{options:n.options,warning:e.t("blazy.done is deprecated in 2.17, use with colon blazy:done to allow namespacing instead.")})},windowData:function(){return this.init?this.init.windowData():{}},load:function(n){var i=this;l.setTimeout(function(){var t=r.findAll(n||a,i.selector());t.length&&r.each(t,i.update.bind(i))},100)},update:function(t,n,i){function e(){r.hasAttr(t,"data-b-bg")&&r.isFun(r.bg)?r.bg(t,i||a.windowData()):a.init&&(r.hasClass(t,o.substring(1))||(t=r.find(t,o)||t),a.init.load(t,!0,s))}var a=this,s=a.options,o=s.selector;(n=n||!1)?l.setTimeout(e,100):e()},rebind:function(t,i,e){var n=r.findAll(t,this.options.selector+":not("+o+")"),a=n.length;a||(n=r.findAll(t,"img:not("+o+")")),n.length&&r.each(n,function(t){var n=a?c:"load";r.one(t,n,i,a),e&&e.observe(t)})},pad:function(n,i,t){var e=this,a=r.closest(n,u)||n;setTimeout(function(){var t=Math.round(n.naturalHeight/n.naturalWidth*100,2);e.isFluid(n,a)&&(a.style.paddingBottom=t+"%"),r.isFun(i)&&i.call(e,n,a,t)},t||0)}}}(dBlazy,Drupal,drupalSettings,this,this.document);

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.