PageSourceSearch

https://www.landrover.at/etc.clientlibs/jlr/clientlibs/clientlib-d…ion-dx-accordion-js.43efc135850d1c054dd4.js

js landrover.at collected 2026-10-06 09:24:22 UTC 2,314 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkaem_maven_archetype=self.webpackChunkaem_maven_archetype||[]).push([["components-dx-accordion-dx-accordion-js"],{9314:function(e,t,o){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}o.r(t),o.d(t,{default:function(){return c}});var c=function(){function e(t){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.allowMultiple=t.hasAttribute("data-allow-multiple"),this.sections=t.querySelectorAll(".DxAccordion__section"),this.openAccordion(this.sections[0],0),Array.prototype.forEach.call(this.sections,function(e,t){e.querySelector(".DxAccordion__trigger").addEventListener("click",function(r){return o.handleClick(r,e,t)})})}return t=e,r=[{key:"closeAccordion",value:function(e){var t=e.querySelector(".DxAccordion__trigger"),o=e.querySelector(".DxAccordion__panel");t.setAttribute("aria-expanded","false"),o.setAttribute("hidden",""),e.classList.remove("DxAccordion__section--active")}}],(o=[{key:"handleClick",value:function(t,o,r){o.classList.contains("DxAccordion__section--active")?e.closeAccordion(o):this.openAccordion(o,r)}},{key:"openAccordion",value:function(t,o){var r=t.querySelector(".DxAccordion__trigger"),n=t.querySelector(".DxAccordion__panel");r.setAttribute("aria-expanded","true"),n.removeAttribute("hidden"),t.classList.add("DxAccordion__section--active"),this.allowMultiple||Array.prototype.forEach.call(this.sections,function(t,r){r!==o&&t.classList.contains("DxAccordion__section--active")&&e.closeAccordion(t)})}}])&&n(t.prototype,o),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,o,r}()}}]);

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.