PageSourceSearch

https://www.nexans.co/.resources/nexans-base/webresources/js/pages/catalog-group.js

js nexans.co collected 2026-09-30 12:44:02 UTC 1,388 bytes, 37 lines download raw bytes

1(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
2"use strict";
3
4/** PDF PANEL */
5
6$('.js-group-checkbox').on('change', function () {
7  var children = $(this).parents('.group').find('.group-children');
8  if ($(this).prop('checked')) {
9    children.show();
10  } else {
11    children.hide();
12  }
13}).trigger('change');
14$('.js-pdf-form').on('submit', function () {
15  $('#panel-group-pdf').data('panel').close();
16});
17
18/** MOBILE FILTERS */
19
20var $submit = $('.js-filters-submit-button');
21var $countItems = $('.js-count-items');
22var $inputs = $('.navigation__expends-container--filters .custom-checkbox__input');
23var updateLink = function updateLink() {
24  var ids = [];
25  $inputs.each(function () {
26    var $this = $(this);
27    if ($this.prop('checked')) {
28      ids.push($this.val());
29    }
30  });
31  $countItems.text(ids.length);
32  $submit.attr('href', '?category=' + ids.join());
33};
34$inputs.on('change', updateLink);
35updateLink();
36
37},{}]},{},[1]);

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.