epfl-elements 4.1.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,7 +59,7 @@ module.exports = function (key) {
59
59
 
60
60
  "use strict";
61
61
 
62
- var charAt = __webpack_require__(28710).charAt;
62
+ var charAt = (__webpack_require__(28710).charAt);
63
63
 
64
64
  // `AdvanceStringIndex` abstract operation
65
65
  // https://tc39.es/ecma262/#sec-advancestringindex
@@ -465,25 +465,6 @@ module.exports = !fails(function () {
465
465
  });
466
466
 
467
467
 
468
- /***/ }),
469
-
470
- /***/ 14230:
471
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
472
-
473
- var requireObjectCoercible = __webpack_require__(84488);
474
-
475
- var quot = /"/g;
476
-
477
- // `CreateHTML` abstract operation
478
- // https://tc39.es/ecma262/#sec-createhtml
479
- module.exports = function (string, tag, attribute, value) {
480
- var S = String(requireObjectCoercible(string));
481
- var p1 = '<' + tag;
482
- if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '&quot;') + '"';
483
- return p1 + '>' + S + '</' + tag + '>';
484
- };
485
-
486
-
487
468
  /***/ }),
488
469
 
489
470
  /***/ 24994:
@@ -491,7 +472,7 @@ module.exports = function (string, tag, attribute, value) {
491
472
 
492
473
  "use strict";
493
474
 
494
- var IteratorPrototype = __webpack_require__(13383).IteratorPrototype;
475
+ var IteratorPrototype = (__webpack_require__(13383).IteratorPrototype);
495
476
  var create = __webpack_require__(70030);
496
477
  var createPropertyDescriptor = __webpack_require__(79114);
497
478
  var setToStringTag = __webpack_require__(58003);
@@ -747,7 +728,7 @@ module.exports = [
747
728
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
748
729
 
749
730
  var global = __webpack_require__(17854);
750
- var getOwnPropertyDescriptor = __webpack_require__(31236).f;
731
+ var getOwnPropertyDescriptor = (__webpack_require__(31236).f);
751
732
  var createNonEnumerableProperty = __webpack_require__(68880);
752
733
  var redefine = __webpack_require__(31320);
753
734
  var setGlobal = __webpack_require__(83505);
@@ -1626,7 +1607,7 @@ module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O)
1626
1607
 
1627
1608
  var has = __webpack_require__(86656);
1628
1609
  var toIndexedObject = __webpack_require__(45656);
1629
- var indexOf = __webpack_require__(41318).indexOf;
1610
+ var indexOf = (__webpack_require__(41318).indexOf);
1630
1611
  var hiddenKeys = __webpack_require__(3501);
1631
1612
 
1632
1613
  module.exports = function (object, names) {
@@ -1848,7 +1829,7 @@ var regexpFlags = __webpack_require__(67066);
1848
1829
  var stickyHelpers = __webpack_require__(52999);
1849
1830
  var shared = __webpack_require__(72309);
1850
1831
  var create = __webpack_require__(70030);
1851
- var getInternalState = __webpack_require__(29909).get;
1832
+ var getInternalState = (__webpack_require__(29909).get);
1852
1833
  var UNSUPPORTED_DOT_ALL = __webpack_require__(9441);
1853
1834
  var UNSUPPORTED_NCG = __webpack_require__(38173);
1854
1835
 
@@ -2068,7 +2049,7 @@ module.exports = function (key, value) {
2068
2049
  /***/ 58003:
2069
2050
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2070
2051
 
2071
- var defineProperty = __webpack_require__(3070).f;
2052
+ var defineProperty = (__webpack_require__(3070).f);
2072
2053
  var has = __webpack_require__(86656);
2073
2054
  var wellKnownSymbol = __webpack_require__(5112);
2074
2055
 
@@ -2147,23 +2128,6 @@ module.exports = function (O, defaultConstructor) {
2147
2128
  };
2148
2129
 
2149
2130
 
2150
- /***/ }),
2151
-
2152
- /***/ 43429:
2153
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2154
-
2155
- var fails = __webpack_require__(47293);
2156
-
2157
- // check the existence of a method, lowercase
2158
- // of a tag and escaping quotes in arguments
2159
- module.exports = function (METHOD_NAME) {
2160
- return fails(function () {
2161
- var test = ''[METHOD_NAME]('"');
2162
- return test !== test.toLowerCase() || test.split('"').length > 3;
2163
- });
2164
- };
2165
-
2166
-
2167
2131
  /***/ }),
2168
2132
 
2169
2133
  /***/ 28710:
@@ -2442,7 +2406,7 @@ $({ target: 'Array', proto: true, forced: FORCED }, {
2442
2406
  "use strict";
2443
2407
 
2444
2408
  var $ = __webpack_require__(82109);
2445
- var $find = __webpack_require__(42092).find;
2409
+ var $find = (__webpack_require__(42092).find);
2446
2410
  var addToUnscopables = __webpack_require__(51223);
2447
2411
 
2448
2412
  var FIND = 'find';
@@ -2518,7 +2482,7 @@ $({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
2518
2482
  "use strict";
2519
2483
 
2520
2484
  var $ = __webpack_require__(82109);
2521
- var $map = __webpack_require__(42092).map;
2485
+ var $map = (__webpack_require__(42092).map);
2522
2486
  var arrayMethodHasSpeciesSupport = __webpack_require__(81194);
2523
2487
 
2524
2488
  var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
@@ -2594,7 +2558,7 @@ $({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
2594
2558
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2595
2559
 
2596
2560
  var DESCRIPTORS = __webpack_require__(19781);
2597
- var defineProperty = __webpack_require__(3070).f;
2561
+ var defineProperty = (__webpack_require__(3070).f);
2598
2562
 
2599
2563
  var FunctionPrototype = Function.prototype;
2600
2564
  var FunctionPrototypeToString = FunctionPrototype.toString;
@@ -2690,7 +2654,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
2690
2654
 
2691
2655
  "use strict";
2692
2656
 
2693
- var charAt = __webpack_require__(28710).charAt;
2657
+ var charAt = (__webpack_require__(28710).charAt);
2694
2658
  var InternalStateModule = __webpack_require__(29909);
2695
2659
  var defineIterator = __webpack_require__(70654);
2696
2660
 
@@ -2720,26 +2684,6 @@ defineIterator(String, 'String', function (iterated) {
2720
2684
  });
2721
2685
 
2722
2686
 
2723
- /***/ }),
2724
-
2725
- /***/ 29254:
2726
- /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
2727
-
2728
- "use strict";
2729
-
2730
- var $ = __webpack_require__(82109);
2731
- var createHTML = __webpack_require__(14230);
2732
- var forcedStringHTMLMethod = __webpack_require__(43429);
2733
-
2734
- // `String.prototype.link` method
2735
- // https://tc39.es/ecma262/#sec-string.prototype.link
2736
- $({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {
2737
- link: function link(url) {
2738
- return createHTML(this, 'a', 'href', url);
2739
- }
2740
- });
2741
-
2742
-
2743
2687
  /***/ }),
2744
2688
 
2745
2689
  /***/ 4723:
@@ -8584,8 +8528,6 @@ var es_regexp_to_string = __webpack_require__(39714);
8584
8528
  });
8585
8529
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
8586
8530
  var es_string_split = __webpack_require__(23123);
8587
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.link.js
8588
- var es_string_link = __webpack_require__(29254);
8589
8531
  ;// CONCATENATED MODULE: ./assets/components/organisms/cookie-consent/cookie-consent.js
8590
8532
 
8591
8533
 
@@ -8626,19 +8568,13 @@ function get_cookieconsent_config() {
8626
8568
  // Translation
8627
8569
  var cookieI18n = {
8628
8570
  en: {
8629
- msg: 'By continuing your browsing on this site, you agree to the use ' + 'of cookies to improve your user experience and to make statistics ' + 'of visits.',
8630
- link: 'Read the disclaimer',
8631
- href: '//go.epfl.ch/privacy-policy'
8571
+ msg: 'When you access EPFL websites, we may set cookies on your ' + 'devices and process personal data about you in accordance with ' + 'our <a tabindex="0" class="cc-link" target="_blank" ' + 'href="//go.epfl.ch/privacy-policy">privacy policy</a>. ' + 'You can block cookies by using your browser settings.'
8632
8572
  },
8633
8573
  fr: {
8634
- msg: 'En poursuivant votre navigation sur ce site, vous acceptez ' + 'l\'utilisation de cookies pour am&eacute;liorer votre ' + 'exp&eacute;rience utilisateur et r&eacute;aliser des statistiques ' + 'de visites.',
8635
- link: 'Lire les mentions l&eacute;gales',
8636
- href: '//go.epfl.ch/protection-des-donnees'
8574
+ msg: 'Lorsque vous accédez aux sites web de l\'EPFL, nous pouvons ' + 'installer des cookies sur vos appareils et traiter des données ' + 'personnelles vous concernant conformément à notre ' + '<a tabindex="0" class="cc-link" target="_blank" ' + 'href="//go.epfl.ch/protection-des-donnees">' + 'politique de confidentialité</a>. Vous pouvez bloquer les ' + 'cookies à l\'aide des paramètres de votre navigateur.'
8637
8575
  },
8638
8576
  de: {
8639
- msg: 'Die Navigation auf dieser Seite verwendet Cookies zur ' + 'Verbesserung Ihrer Benutzererfahrung und zur Durchführung von Besucherstatistiken.',
8640
- link: 'Datenschutzerklärung lesen',
8641
- href: '//go.epfl.ch/privacy-policy'
8577
+ msg: 'Wenn Sie auf die Websites der EPFL zugreifen, können wir in ' + 'Übereinstimmung mit unserer ' + '<a tabindex="0" class="cc-link" target="_blank" ' + 'href="//go.epfl.ch/privacy-policy">Datenschutzerklärung</a> ' + 'Cookies auf Ihren Geräten speichern und Personendaten bearbeiten. ' + 'Über die Einstellungen in Ihrem Browser können Sie Cookies ' + 'blockieren.'
8642
8578
  }
8643
8579
  }; // Retrieve language, default 'fr'
8644
8580
 
@@ -8660,31 +8596,30 @@ function get_cookieconsent_config() {
8660
8596
  var hostParts = hostame.split('.').reverse();
8661
8597
 
8662
8598
  if (hostParts[0] !== undefined && hostParts[1] !== undefined) {
8663
- domain_name = hostParts[1] + '.' + hostParts[0];
8599
+ domain_name = "".concat(hostParts[1], ".").concat(hostParts[0]);
8664
8600
  }
8665
8601
  }
8666
8602
 
8667
8603
  var config = {
8668
- "theme": "classic",
8669
- "palette": {
8670
- "popup": {
8671
- "background": "rgba(69, 69, 69, 0.96)"
8604
+ theme: 'classic',
8605
+ palette: {
8606
+ popup: {
8607
+ background: 'rgba(69, 69, 69, 0.96)'
8672
8608
  },
8673
- "button": {
8674
- "background": "#b51f1f"
8609
+ button: {
8610
+ background: '#b51f1f'
8675
8611
  }
8676
8612
  },
8677
- "content": {
8678
- "message": cookieI18n[lang].msg,
8679
- "dismiss": "OK",
8680
- "link": cookieI18n[lang].link,
8681
- "href": cookieI18n[lang].href
8613
+ content: {
8614
+ message: cookieI18n[lang].msg,
8615
+ dismiss: 'OK'
8682
8616
  },
8683
- "cookie": {
8684
- "name": "petitpois",
8617
+ showLink: false,
8618
+ cookie: {
8619
+ name: 'petitpois',
8685
8620
  // Chosen by a magical unicorn!
8686
- "domain": domain_name,
8687
- "autoAttach": false // attach it manually to the end, or SEO will crawl it before any content
8621
+ domain: domain_name,
8622
+ autoAttach: false // attach it manually to the end, or SEO will crawl it before any content
8688
8623
 
8689
8624
  }
8690
8625
  };