PageSourceSearch

https://www.bankruptcywatch.com/_next/static/chunks/7316.b5330fd482357205.js

js bankruptcywatch.com collected 2026-10-05 00:46:06 UTC 7,785 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7316],{1760:(e,t,i)=>{i.d(t,{A:()=>a});var s=i(5155),l=i(2115),o=i(6942);class a extends l.Component{openModal(){this.setState({isOpen:!0})}closeModal(){this.setState({isOpen:!1}),"function"==typeof this.props.onClose&&this.props.onClose()}keydownHandler(e){27===e.keyCode&&this.closeModal()}componentDidMount(){document.addEventListener("keydown",this.keydownHandler.bind(this)),window.addEventListener("resize",this.resizeModalVideoWhenHeightGreaterThanWindowHeight.bind(this)),this.setState({modalVideoWidth:this.getWidthFulfillAspectRatio(this.props.ratio,window.innerHeight,window.innerWidth)})}componentWillUnmount(){document.removeEventListener("keydown",this.keydownHandler.bind(this)),window.removeEventListener("resize",this.resizeModalVideoWhenHeightGreaterThanWindowHeight.bind(this))}static getDerivedStateFromProps(e){return{isOpen:e.isOpen}}componentDidUpdate(){this.state.isOpen&&this.modal&&this.modal.focus()}updateFocus(e){this.state.isOpen&&(e.preventDefault(),e.stopPropagation(),9===e.keyCode&&(this.modal===document.activeElement?this.modaliflame.focus():this.modalbtn===document.activeElement&&this.modal.focus()))}resizeModalVideoWhenHeightGreaterThanWindowHeight(){clearTimeout(this.timeout),this.timeout=setTimeout(()=>{let e=this.getWidthFulfillAspectRatio(this.props.ratio,window.innerHeight,window.innerWidth);this.state.modalVideoWidth!=e&&this.setState({modalVideoWidth:e})},10)}getQueryString(e){let t="";for(let i in e)e.hasOwnProperty(i)&&null!==e[i]&&(t+="".concat(i,"=").concat(e[i],"&"));return t.substr(0,t.length-1)}getYoutubeUrl(e,t){let i=this.getQueryString(e);return"//www.youtube.com/embed/".concat(t,"?").concat(i)}getVimeoUrl(e,t){let i=this.getQueryString(e);return"//player.vimeo.com/video/".concat(t,"?").concat(i)}getYoukuUrl(e,t){let i=this.getQueryString(e);return"//player.youku.com/embed/".concat(t,"?").concat(i)}getVideoUrl(e,t){return"youtube"===e.channel?this.getYoutubeUrl(e.youtube,t):"vimeo"===e.channel?this.getVimeoUrl(e.vimeo,t):"youku"===e.channel?this.getYoukuUrl(e.youku,t):"custom"===e.channel?e.url:void 0}getPadding(e){let t=e.split(":"),i=Number(t[0]),s=Number(t[1]);return"".concat(100*s/i,"%")}getWidthFulfillAspectRatio(e,t,i){let s=e.split(":"),l=Number(s[0]),o=Number(s[1]);return t<o/l*i?Math.floor(l/o*t):"100%"}render(){let e={width:this.state.modalVideoWidth},t={paddingBottom:this.getPadding(this.props.ratio)};return(0,s.jsx)(o.A,{classNames:this.props.classNames.modalVideoEffect,timeout:this.props.animationSpeed,children:()=>this.state.isOpen?(0,s.jsx)("div",{className:this.props.classNames.modalVideo,tabIndex:"-1",role:"dialog","area-modal":"true","aria-label":this.props.aria.openMessage,onClick:this.closeModal,ref:e=>{this.modal=e},onKeyDown:this.updateFocus,children:(0,s.jsx)("div",{className:this.props.classNames.modalVideoBody,children:(0,s.jsx)("div",{className:this.props.classNames.modalVideoInner,style:e,children:(0,s.jsxs)("div",{className:this.props.classNames.modalVideoIframeWrap,style:t,children:[this.props.children||(0,s.jsx)("iframe",{width:"460",height:"230",src:this.getVideoUrl(this.props,this.props.videoId),frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:this.props.allowFullScreen,onKeyDown:this.updateFocus,ref:e=>{this.modaliflame=e},tabIndex:"-1"}),(0,s.jsx)("button",{className:this.props.classNames.modalVideoCloseBtn,"aria-label":this.props.aria.dismissBtnMessage,ref:e=>{this.modalbtn=e},onKeyDown:this.updateFocus})]})})})}):null})}constructor(e){super(e),this.state={isOpen:!1,modalVideoWidth:"100%"},this.closeModal=this.closeModal.bind(this),this.updateFocus=this.updateFocus.bind(this),this.timeout}}a.defaultProps={channel:"youtube",isOpen:!1,youtube:{autoplay:1,cc_load_policy:1,color:null,controls:1,disablekb:0,enablejsapi:0,end:null,fs:1,h1:null,iv_load_policy:1,list:null,listType:null,loop:0,modestbranding:null,origin:null,playlist:null,playsinline:null,rel:0,showinfo:1,start:0,wmode:"transparent",theme:"dark",mute:0},ratio:"16:9",vimeo:{api:!1,autopause:!0,autoplay:!0,byline:!0,callback:null,color:null,height:null,loop:!1,maxheight:null,maxwidth:null,player_id:null,portrait:!0,title:!0,width:null,xhtml:!1}
1,youku:{autoplay:1,show_related:0},allowFullScreen:!0,animationSpeed:300,classNames:{modalVideoEffect:"modal-video-effect",modalVideo:"modal-video",modalVideoClose:"modal-video-close",modalVideoBody:"modal-video-body",modalVideoInner:"modal-video-inner",modalVideoIframeWrap:"modal-video-movie-wrap",modalVideoCloseBtn:"modal-video-close-btn"},aria:{openMessage:"You just opened the modal video",dismissBtnMessage:"Close the modal by clicking here"}}},7316:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var s=i(5155),l=i(2115),o=i(207),a=i(5111),r=i(1673),n=i(2659),d=i(1760),c=i(5239);let m=e=>{let{slice:t}=e,[i,m]=(0,l.useState)(!1);return(0,s.jsx)("section",{id:"hero",children:(0,s.jsxs)("div",{className:"py-4 bg-grid object-cover relative",children:[(0,s.jsx)(c.default,{src:"/beams.jpeg",style:{objectFit:"cover"},alt:"",fill:!0,sizes:"100vw",className:"object-cover pointer-events-none -z-10 object-left-top"}),(0,s.jsx)(r.m,{children:(0,s.jsxs)("div",{className:"mx-auto flex flex-col lg:grid lg:grid-cols-12 lg:gap-8 ",children:[(0,s.jsx)("div",{className:"text-left my-auto md:max-w-3xl lg:col-span-7",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"mt-4 py-1 text-3xl font-bold tracking-tight sm:text-4xl md:text-6xl text-transparent bg-clip-text bg-gradient-to-br from-gray-800 to-gray-900",children:(0,s.jsx)("span",{className:"inline",children:(0,s.jsx)(o.$,{field:t.primary.title})})}),(0,s.jsx)("div",{className:"mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl",children:(0,s.jsx)(o.$,{field:t.primary.description})}),(0,s.jsxs)("div",{className:"mt-6 flex flex-wrap lg:mt-10 lg:justify-start",children:[(0,s.jsx)(a.s,{field:t.primary.primary_button_link,className:"px-8 py-3 my-2 mr-4 font-medium rounded-md shadow text-white bg-gradient-to-br from-blue-500 to-blue-600 hover:bg-blue-800 md:text-xl md:py-4 md:px-10",children:(0,s.jsx)(o.$,{field:t.primary.primary_button_label})}),(0,s.jsx)(a.s,{field:t.primary.secondary_button_link,className:"px-8 py-3 my-2 font-medium rounded-md text-blue-600 bg-white hover:text-blue-700 hover:bg-blue-50 md:text-xl md:py-4 md:px-10 md:mx-6",children:(0,s.jsx)(o.$,{field:t.primary.secondary_button_label})})]})]})}),(0,s.jsxs)("div",{className:"w-full my-4 block lg:col-span-5 relative",children:[(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)(n.PrismicNextImage,{field:t.primary.image,className:"responsive z-0",priority:!0,fetchPriority:"high",loading:"eager",sizes:"(max-width: 48rem) 100vw,  25vw",width:800,height:680}),(0,s.jsxs)("div",{className:"absolute inset-0 flex items-center justify-center",style:{top:"50%",left:"50%",transform:"translate(-50%, -50%)"},children:[(0,s.jsx)("div",{className:"absolute w-24 h-24 rounded-full bg-blue-500 bg-opacity-50 animate-pulse"}),(0,s.jsx)("button",{onClick:()=>m(!0),className:"relative flex items-center justify-center w-16 h-16 bg-black bg-opacity-50 text-white rounded-full p-2 transition-opacity duration-300 hover:bg-opacity-70","aria-label":"Play video",children:(0,s.jsxs)("svg",{className:"w-8 h-8",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,s.jsx)("polygon",{fill:"currentColor",points:"10,8 16,12 10,16 10,8"})]})})]})]}),i&&(0,s.jsx)(d.A,{channel:"custom",isOpen:i,url:"https://player.vimeo.com/video/950589544?badge=0&autopause=0&player_id=0&app_id=58479",onClose:()=>m(!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.