PageSourceSearch

https://traton.com/.resources/vw-tab-website-light-module/webresou…/js/modules/MediaboxDownloadBar-b5eee67a.js

js traton.com collected 2026-10-02 05:22:02 UTC 1,250 bytes, 1 lines download raw bytes

1import{$ as n,P as s}from"./vendor-34b46c5c.js";import{c as t}from"../index-2c20db78.js";import{s as o}from"./Session-8928d819.js";var d=".delete-all-btn",c=".download-all-btn";function i(l){this.$target=n(l),this.$downloadAllButton=this.$target.find(c),this.$deleteAllButton=this.$target.find(d),s.subscribe(t.CART_DELETE_ALL,this.deleteSelection.bind(this))}i.prototype.init=function(){var l=this;this.getSelectionList().length&&(this.$downloadAllButton.removeClass(t.class.hidden),this.$deleteAllButton.removeClass(t.class.hidden)),this.$downloadAllButton.on("click",function(e){e.preventDefault();var a=l.getSelectionList();a.length&&window.open(n(this).attr("href")+"ids="+a,"_blank")}),this.$deleteAllButton.on("click",function(e){e.preventDefault(),s.publish(t.LAYER_OPEN,[t.CART_DELETE_ALL,n(this).attr("data-dialog"),n(this).attr("data-label-cancel"),n(this).attr("data-label-cta")])})};i.prototype.deleteSelection=function(){o.set("selection",""),s.publish(t.CART_CHANGE),this.$downloadAllButton.addClass(t.class.hidden),this.$deleteAllButton.addClass(t.class.hidden)};i.prototype.getSelectionList=function(){return o.get("selection")?o.get("selection").split(","):[]};function f(l){const e=new i(l);return e.init(),e}export{f as Factory};

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.