PageSourceSearch

https://swingcatalyst.com/_next/static/chunks/9030-e6e95278e2cbfed4.js

js swingcatalyst.com collected 2026-10-02 05:31:29 UTC 8,622 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9030],{31066:(e,t,s)=>{s.d(t,{A:()=>r});let r={src:"/_next/static/media/product-img-placeholder.6fad3128.svg",height:56,width:56,blurWidth:0,blurHeight:0}},31135:(e,t,s)=>{s.d(t,{E:()=>r});let r=e=>{let t=e.replace(/https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([a-zA-Z0-9_-]+)(?:[^\s<>"]*)?/g,"https://www.youtube-nocookie.com/embed/$1?rel=0&modestbranding=1&playsinline=1&loop=1&playlist=$1");return t.replace(/https?:\/\/(?:www\.)?youtube(?:-nocookie)?\.com\/embed\/([a-zA-Z0-9_-]+)(?:\?[^\s<>"]*)?/g,"https://www.youtube-nocookie.com/embed/$1?rel=0&modestbranding=1&playsinline=1&loop=1&playlist=$1")}},40599:(e,t,s)=>{s.r(t),s.d(t,{default:()=>l});var r=s(95155),a=s(12115);let l=e=>{let{breadcrumbItems:t,sections:s,isSticky:l=!1}=e,[n,i]=(0,a.useState)(l),c=(0,a.useRef)(null),o=(0,a.useRef)(null),[d,u]=(0,a.useState)(!0);return(0,a.useEffect)(()=>{if(!l)return;let e=null,t=()=>{c.current&&o.current&&(i(o.current.getBoundingClientRect().top<=0),o.current.style.height="0.5px"),e=requestAnimationFrame(t)};t();let s=()=>{null!==e&&cancelAnimationFrame(e),e=requestAnimationFrame(t)};return window.addEventListener("resize",s),window.addEventListener("orientationchange",s),()=>{null!==e&&cancelAnimationFrame(e),window.removeEventListener("resize",s),window.removeEventListener("orientationchange",s)}},[l]),(0,r.jsxs)(r.Fragment,{children:[l&&(0,r.jsx)("div",{ref:o,style:{height:"0.5px"}}),t&&t.length>1&&(0,r.jsx)("div",{ref:c,className:"transition-all duration-300 ".concat(l&&n?"fixed top-0 left-0 right-0 z-50 bg-sand-400":"relative","  text-black-600 py-3 px-4 md:px-12 lg:px-16"),children:(0,r.jsxs)("div",{className:"flex max-w-[1920px] mx-auto justify-between",children:[(0,r.jsx)("div",{className:"flex gap-1 items-center text-sm",children:t&&t.map((e,s)=>(0,r.jsxs)("div",{className:"flex gap-1 last:text-black-700",children:[(0,r.jsx)("div",{className:"".concat(e.bold?"font-semibold":"font-normal"),children:(0,r.jsx)("a",{href:e.link,children:e.name})}),s<t.length-1&&(0,r.jsx)("div",{children:"\xa0>\xa0"})]},s))}),(0,r.jsx)("ul",{className:"hidden md:flex gap-6 text-sm",children:s&&s.map((e,t)=>(0,r.jsx)("li",{className:"".concat(e.bold?"font-semibold":"font-normal"),children:(0,r.jsx)("a",{href:e.link,onClick:t=>{var s;return((e,t)=>{e.preventDefault();let s=t.split("#")[1],r=document.getElementById(s);if(r&&c.current){let e=c.current.offsetHeight;u(!1);let t=r.getBoundingClientRect().top+window.scrollY-(d?2:1)*e;window.scrollTo({top:t,behavior:"smooth"})}})(t,null!=(s=e.link)?s:"")},children:e.name})},t))})]})})]})}},61346:(e,t,s)=>{s.d(t,{lW:()=>m,ip:()=>i,G7:()=>h,Ao:()=>d,bx:()=>u,H3:()=>c,B8:()=>n,Ed:()=>o.E});let r=new Set(["youtube.com","www.youtube.com","m.youtube.com","youtu.be","www.youtu.be","youtube-nocookie.com","www.youtube-nocookie.com"]);function a(e){if(!e)return;if(/^\d+$/.test(e))return Number(e);let t=e.match(/(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?/i);if(!t)return;let s=Number(t[1]||0),r=3600*s+60*Number(t[2]||0)+Number(t[3]||0);return r>0?r:void 0}function l(e){let t,s,r=e.hostname.toLowerCase(),l=e.pathname;if(r.includes("youtu.be"))t=l.replace(/^\//,"").split("/")[0]||void 0,s=a(e.searchParams.get("t")||e.searchParams.get("start")||void 0);else if(l.startsWith("/watch"))t=e.searchParams.get("v")||void 0,s=a(e.searchParams.get("t")||e.searchParams.get("start")||void 0);else if(l.startsWith("/embed/"))t=l.split("/")[2]||void 0,s=a(e.searchParams.get("start")||e.searchParams.get("t")||void 0);else if(l.startsWith("/shorts/"))t=l.split("/")[2]||void 0,s=a(e.searchParams.get("t")||e.searchParams.get("start")||void 0);else if(l.startsWith("/live/"))t=l.split("/")[2]||void 0,s=a(e.searchParams.get("t")||e.searchParams.get("start")||void 0);else{let e=l.split("/").filter(Boolean);e.length>0&&(t=e[e.length-1])}return t&&!/^[A-Za-z0-9_-]{6,}$/.test(t)&&(t=void 0),{id:t,start:s}}function n(e){let t;if(!e||"string"!=typeof e)return;let s=e.trim();if(!s)return;try{t=new URL(/^https?:\/\//i.test(s)?s:"https://"+s)}catch(e){return}let a=t.hostname.toLowerCase();if(!r.has(a))return;let{id:n,start:i}=l(t);if(!n)return;let c=new URLSearchParams;return c.set("rel","0"),c.set("modestbranding","1"),c.set("playsinline","1"),c.set("enablejsapi","1"),"number"==typeof i&&i>0&&c.set("start",String(i)),"https://www.youtube-nocookie.com/embed/".concat(n,"?").concat(c.toString())}function i(e){if(!e)return;let t=e.match(/(https?:\/\/(?:www\.)?(?:youtube(?:-nocookie)?\.com\/(?:watch\?v=[A-Za-z0-9_-]+|embed\/[A-Za-z0-9_-]+|shorts\/[A-Za-z0-9_-]+|live\/[A-Za-z0-9_-]+)[^\s"']*|youtu\.be\/[A-Za-z0-9_-]+[^\s"']*))/i);return t?t[1]:void 0}function c(e){var t;let s;if(!e||"string"!=typeof e)return;let a=(null!=(t=i(e))?t:e).trim();if(a){try{s=new URL(/^https?:\/\//i.test(a)?a:"https://"+a)}catch(e){return}if(r.has(s.hostname.toLowerCase()))return l(s).id}}var o=s(31135);function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"Blue":return"bg-slate-800";case"Grey":return"bg-gray-100";case"White":return"bg-white";default:return t}}function u(e){return"Blue"===e?"text-white":"text-black"}let m=e=>{navigator.clipboard.writeText(e).then(()=>{console.log("Copied to clipboard!")}
1).catch(e=>{console.error("Failed to copy: ",e)})};function h(e){if(!e)return"";let t=new Date(e),s=["January","February","March","April","May","June","July","August","September","October","November","December"][t.getUTCMonth()],r=t.getUTCDate(),a=t.getUTCFullYear();return"".concat(s," ").concat(r,", ").concat(a)}},99264:(e,t,s)=>{s.d(t,{A:()=>u});var r=s(95155),a=s(12115),l=s(90605),n=s(29260),i=s(20704),c=s(15239),o=s(52619),d=s.n(o);let u=e=>{let{message:t,imageUrl:s,duration:o=3e3,type:u="success",onClose:m}=e,[h,x]=(0,a.useState)(!0),[f,p]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>{p(window.innerWidth<768)};e(),window.addEventListener("resize",e);let t=setTimeout(()=>{x(!1),m&&m()},o);return()=>{clearTimeout(t),window.removeEventListener("resize",e)}},[o,m]);let b=()=>{x(!1),m&&m()};if(!h)return null;let w=(0,r.jsx)("div",{className:"text-black-800 w-full top-[58px] left-0 absolute border border-gray bg-white shadow-xl rounded-lg py-6 px-8 flex flex-col z-50 min-w-80",children:(0,r.jsxs)("div",{className:"flex gap-x-6",children:[s?(0,r.jsx)("div",{className:"h-[64px] w-[96px] relative",children:(0,r.jsx)(d(),{href:"/cart",children:(0,r.jsx)(c.default,{src:s,alt:"alert",fill:!0,className:"object-cover rounded-xl"})})}):null,(0,r.jsxs)("div",{className:"flex flex-col grow",children:[(0,r.jsxs)("header",{className:"flex gap-x-2 mb-2 items-center justify-between",children:[(0,r.jsxs)("div",{className:"flex gap-x-2",children:["success"===u?(0,r.jsx)(l.A,{className:"w-6 text-online-green"}):(0,r.jsx)(n.A,{className:"w-6 text-red-600"}),(0,r.jsx)("span",{className:"text-base font-medium text-black",children:"success"===u?"Success":"Error"})]}),(0,r.jsx)(i.A,{className:"w-10 p-2 text-black-600 transition hover:bg-gray-200 cursor-pointer rounded-xl",onClick:b})]}),(0,r.jsx)("span",{className:"mb-1 text-lg font-medium text-black-800",children:t}),s&&(0,r.jsx)(d(),{href:"/cart",className:"font-medium text-orange-700 hover:underline",children:"View cart ›"})]})]})}),g=(0,r.jsxs)("div",{className:"flex flex-col fixed border-solid border-2 bottom-0 left-0 right-0 px-6 pt-8 pb-6 justify-between z-50 rounded-t-xl bg-white",children:[(0,r.jsxs)("header",{className:"flex gap-x-2 justify-between mb-3 items-center",children:[(0,r.jsxs)("div",{className:"flex gap-x-2",children:["success"===u?(0,r.jsx)(l.A,{className:"w-6 text-online-green"}):(0,r.jsx)(n.A,{className:"w-6 text-red-600"}),(0,r.jsx)("span",{className:"font-medium text-base text-gray-600",children:"success"===u?"Success":"Error"})]}),(0,r.jsx)(i.A,{className:"w-10 p-2 text-black-600 transition hover:bg-gray-200 rounded-xl",onClick:b})]}),(0,r.jsxs)("div",{className:"flex gap-x-4 mb-8 items-center shrink",children:[s&&(0,r.jsx)("div",{className:"h-[64px] w-[96px] relative",children:(0,r.jsx)(d(),{href:"/cart",children:(0,r.jsx)(c.default,{src:s,alt:"alert",fill:!0,className:"object-cover rounded-xl"})})}),(0,r.jsx)("div",{className:"flex flex-col gap-y-1 text-black-600",children:(0,r.jsx)("span",{className:"mb-05 font-medium text-lg capitalize",children:t})})]}),s&&(0,r.jsx)(d(),{href:"/cart",className:"flex justify-center py-2 pr-5 pl-4 bg-black-700 rounded-lg font-medium w-full",children:"View cart ›"})]});return(0,r.jsxs)(r.Fragment,{children:[f?g:w,(0,r.jsx)("div",{className:"fixed inset-0 bg-black-800 bg-opacity-50 z-40 transition",onClick:b})]})}}}]);

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.