PageSourceSearch

https://www.trier.de/___/attributematrix/scripts/attributematrix.js

js trier.de collected 2026-10-01 11:59:40 UTC 1,900 bytes, 1 lines download raw bytes

1let attrMessage=[],setFeatures=function(a,t,e){Ext.select("[rel="+t+e._id+"]").each(function(t){if(isObject(a)){var e=t.dom.getAttribute("data-count");if(a[e])switch(t.dom.nodeName.toLowerCase()){case"a":t.dom.href=a[e];break;case"img":t.dom.src=a[e]}}else t.dom.innerHTML=a;recon.fireEvent("setFeatures",[t])})},configureOptions=function(t,e,a,s){attrMessage=[];let r=Ext.get(e),n=[],i={},o=[],u=0,d=!1,c=a||"attributes",l=e.split("_")[1],m=null;return r&&r.select("[rel=attributematrix]").each(function(t){var e,a;t.dom.type&&"radio"===t.dom.type&&!t.dom.checked||(e=t.dom.getAttribute("data-attr"),a=t.dom.getAttribute("data-disabled"),e?(n.push(c+"["+l+"]["+u+"][key]="+encodeURIComponent(e)),n.push(c+"["+l+"]["+u+"][value]="+encodeURIComponent(t.dom.value)),(isEmpty(t.dom.value)||a)&&(m||(m=getEl("title"+i._mod+i._id))&&attrMessage.push("<b>"+(a?" Folgender Artikel ist nicht verf&uuml;gbar: ":"")+m.innerHTML+"</b>"),a||attrMessage.push(translate("Bitte "+htmlentities(e)+" w&auml;hlen")),d=!0),u+=1):(o.push(t.dom.name+"="+encodeURIComponent(t.dom.value)),i[t.dom.name]=t.dom.value))}),!0===t?(attrMessage.length&&attrMessage.push("<br>"),!(d&&!s)&&n):(r.mask('<img src="'+basepath+'_/pics/loading.gif" style="vertical-align:middle; margin-right:5px;">Loading...'),Ext.Ajax.request({url:"attr.js?_func=attrConfig&"+n.join("&")+"&"+o.join("&")+(d?"":"&_aps=1"),success:function(t){r.unmask(!0);var e,t=decode(t.responseText);isObject(t)&&(recon.fireEvent("configureOptions",[t,i,n]),isEmpty(t.attrset)||(e=r.insertHtml("afterEnd",t.attrset,!0),r.replace(e)),isObject(t.data))&&foreach(t.data,setFeatures.createDelegate(r,[i],!0))}}),!1)},attributeToShop=function(t,e,a){var s=configureOptions(!0,"attrmatrix_"+a),r=Ext.get(t).up("[data-hash]"),r=r?r.dom.getAttribute("data-hash"):null;return attrMessage.length?(msgBox("Achtung",attrMessage.join("<br>"),"ok"),!1):(shop(t,e,a,null,s,r),!0)};

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.