PageSourceSearch

https://static.brightspot.com/resource/00000194-70ff-d274-afdf-f3ff98cc0000/559.b70d4722504e8ac69bb0.js

js brightspot.com collected 2026-10-02 05:52:59 UTC 1,991 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkbundle_default=self.webpackChunkbundle_default||[]).push([[559],{9559:(t,e,o)=>{o.r(e),o.d(e,{default:()=>i});var s=o(4572);class a{constructor(t){(0,s.Z)(this,"modal",void 0),(0,s.Z)(this,"modalId",""),(0,s.Z)(this,"closeButton",null),this.modal=t,this.modal&&(this.modalId=this.modal.getAttribute("id")||"",this.closeButton=this.modal.querySelector("[data-bsp-modal-close]"),this.closeButton&&this.closeButton.addEventListener("click",(()=>{this.close()})),this.modal.addEventListener("click",(t=>{console.log(t.target),t.target===this.modal&&this.close()})),document.addEventListener("keydown",(t=>{"Escape"===t.key&&this.close()})))}open(){this.modal.showModal(),this.modal.setAttribute("data-bsp-modal-open","true"),document.body.setAttribute("data-bsp-modal-open",this.modalId),this.modal.dispatchEvent(new Event("open"))}close(){this.modal.close(),this.modal.removeAttribute("data-bsp-modal-open"),document.body.removeAttribute("data-bsp-modal-open"),this.modal.dispatchEvent(new Event("close"))}on(t,e){this.modal.addEventListener(t,e)}}var d=o(2442),l=o.n(d);class i extends HTMLElement{constructor(){super(...arguments),(0,s.Z)(this,"modalDiv",this.querySelector("[data-bsp-modal]")),(0,s.Z)(this,"modal",new a(this.modalDiv)),(0,s.Z)(this,"carouselSlides",this.modalDiv.querySelector(".HotspotModule-modal-carousel"))}connectedCallback(){const t=this.querySelector(".HotspotModule-hotspotCount"),e=this.querySelectorAll(".HotspotModule-hotspot");this.carouselSlides&&(t&&t.addEventListener("click",(()=>{this.openModal(0)})),e.forEach(((t,e)=>{t.addEventListener("click",(()=>{this.openModal(e)}))})))}openModal(t){if(!this.carouselSlides)return;this.modal.open();const e=new(l())(this.carouselSlides,{adaptiveHeight:!1,imagesLoaded:!0,pageDots:!1,lazyLoad:1,initialIndex:t});setTimeout((()=>{e?.resize(),this.setAttribute("data-carousel-ready","")}),200),this.modal.on("close",(()=>{e.destroy(),this.removeAttribute("data-carousel-ready")}))}}}}]);

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.