PageSourceSearch

https://superiorbikes.com/_next/static/chunks/150-33da39a175c7937e.js

js superiorbikes.com collected 2026-09-24 13:05:07 UTC 6,901 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{150:function(e,t,r){r.d(t,{ck:function(){return Z},fC:function(){return P},z$:function(){return V}});var o=r(7462),n=r(7294),a=r(6206),u=r(8771),c=r(5360),l=r(5320),i=r(6681),d=r(7342),s=r(8990),f=r(7546),p=r(7898),m=r(9115);let v="Radio",[b,w]=(0,c.b)(v),[E,h]=b(v),k=(0,n.forwardRef)((e,t)=>{let{__scopeRadio:r,name:c,checked:i=!1,required:d,disabled:s,value:f="on",onCheck:p,...m}=e,[v,b]=(0,n.useState)(null),w=(0,u.e)(t,e=>b(e)),h=(0,n.useRef)(!1),k=!v||!!v.closest("form");return(0,n.createElement)(E,{scope:r,checked:i,disabled:s},(0,n.createElement)(l.WV.button,(0,o.Z)({type:"button",role:"radio","aria-checked":i,"data-state":C(i),"data-disabled":s?"":void 0,disabled:s,value:f},m,{ref:w,onClick:(0,a.M)(e.onClick,e=>{i||null==p||p(),k&&(h.current=e.isPropagationStopped(),h.current||e.stopPropagation())})})),k&&(0,n.createElement)(g,{control:v,bubbles:!h.current,name:c,value:f,checked:i,required:d,disabled:s,style:{transform:"translateX(-100%)"}}))}),R=(0,n.forwardRef)((e,t)=>{let{__scopeRadio:r,forceMount:a,...u}=e,c=h("RadioIndicator",r);return(0,n.createElement)(m.z,{present:a||c.checked},(0,n.createElement)(l.WV.span,(0,o.Z)({"data-state":C(c.checked),"data-disabled":c.disabled?"":void 0},u,{ref:t})))}),g=e=>{let{control:t,checked:r,bubbles:a=!0,...u}=e,c=(0,n.useRef)(null),l=(0,p.D)(r),i=(0,f.t)(t);return(0,n.useEffect)(()=>{let e=c.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==r&&t){let o=new Event("click",{bubbles:a});t.call(e,r),e.dispatchEvent(o)}},[l,r,a]),(0,n.createElement)("input",(0,o.Z)({type:"radio","aria-hidden":!0,defaultChecked:r},u,{tabIndex:-1,ref:c,style:{...e.style,...i,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function C(e){return e?"checked":"unchecked"}let y=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],I="RadioGroup",[F,_]=(0,c.b)(I,[i.Pc,w]),A=(0,i.Pc)(),D=w(),[M,T]=F(I),S=(0,n.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,name:a,defaultValue:u,value:c,required:f=!1,disabled:p=!1,orientation:m,dir:v,loop:b=!0,onValueChange:w,...E}=e,h=A(r),k=(0,s.gm)(v),[R,g]=(0,d.T)({prop:c,defaultProp:u,onChange:w});return(0,n.createElement)(M,{scope:r,name:a,required:f,disabled:p,value:R,onValueChange:g},(0,n.createElement)(i.fC,(0,o.Z)({asChild:!0},h,{orientation:m,dir:k,loop:b}),(0,n.createElement)(l.WV.div,(0,o.Z)({role:"radiogroup","aria-required":f,"aria-orientation":m,"data-disabled":p?"":void 0,dir:k},E,{ref:t}))))}),G=(0,n.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,disabled:c,...l}=e,d=T("RadioGroupItem",r),s=d.disabled||c,f=A(r),p=D(r),m=(0,n.useRef)(null),v=(0,u.e)(t,m),b=d.value===l.value,w=(0,n.useRef)(!1);return(0,n.useEffect)(()=>{let e=e=>{y.includes(e.key)&&(w.current=!0)},t=()=>w.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,n.createElement)(i.ck,(0,o.Z)({asChild:!0},f,{focusable:!s,active:b}),(0,n.createElement)(k,(0,o.Z)({disabled:s,required:d.required,checked:b},p,l,{name:d.name,ref:v,onCheck:()=>d.onValueChange(l.value),onKeyDown:(0,a.M)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,a.M)(l.onFocus,()=>{var e;w.current&&(null===(e=m.current)||void 0===e||e.click())})})))}),L=(0,n.forwardRef)((e,t)=>{let{__scopeRadioGroup:r,...a}=e,u=D(r);return(0,n.createElement)(R,(0,o.Z)({},u,a,{ref:t}))}),P=S,Z=G,V=L},6681:function(e,t,r){r.d(t,{Pc:function(){return R},ck:function(){return M},fC:function(){return D}});var o=r(7462),n=r(7294),a=r(6206),u=r(5936),c=r(8771),l=r(5360),i=r(1276),d=r(5320),s=r(9698),f=r(7342),p=r(8990);let m="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[w,E,h]=(0,u.B)(b),[k,R]=(0,l.b)(b,[h]),[g,C]=k(b),y=(0,n.forwardRef)((e,t)=>(0,n.createElement)(w.Provider,{scope:e.__scopeRovingFocusGroup},(0,n.createElement)(w.Slot,{scope:e.__scopeRovingFocusGroup},(0,n.createElement)(I,(0,o.Z)({},e,{ref:t}))))),I=(0,n.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:u,loop:l=!1,dir:i,currentTabStopId:b,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:h,onEntryFocus:k,...R}=e,C=(0,n.useRef)(null),y=(0,c.e)(t,C),I=(0,p.gm)(i),[F=null,_]=(0,f.T)({prop:b,defaultProp:w,onChange:h}
1),[D,M]=(0,n.useState)(!1),T=(0,s.W)(k),S=E(r),G=(0,n.useRef)(!1),[L,P]=(0,n.useState)(0);return(0,n.useEffect)(()=>{let e=C.current;if(e)return e.addEventListener(m,T),()=>e.removeEventListener(m,T)},[T]),(0,n.createElement)(g,{scope:r,orientation:u,dir:I,loop:l,currentTabStopId:F,onItemFocus:(0,n.useCallback)(e=>_(e),[_]),onItemShiftTab:(0,n.useCallback)(()=>M(!0),[]),onFocusableItemAdd:(0,n.useCallback)(()=>P(e=>e+1),[]),onFocusableItemRemove:(0,n.useCallback)(()=>P(e=>e-1),[])},(0,n.createElement)(d.WV.div,(0,o.Z)({tabIndex:D||0===L?-1:0,"data-orientation":u},R,{ref:y,style:{outline:"none",...e.style},onMouseDown:(0,a.M)(e.onMouseDown,()=>{G.current=!0}),onFocus:(0,a.M)(e.onFocus,e=>{let t=!G.current;if(e.target===e.currentTarget&&t&&!D){let t=new CustomEvent(m,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=S().filter(e=>e.focusable);A([e.find(e=>e.active),e.find(e=>e.id===F),...e].filter(Boolean).map(e=>e.ref.current))}}G.current=!1}),onBlur:(0,a.M)(e.onBlur,()=>M(!1))})))}),F=(0,n.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:u=!0,active:c=!1,tabStopId:l,...s}=e,f=(0,i.M)(),p=l||f,m=C("RovingFocusGroupItem",r),v=m.currentTabStopId===p,b=E(r),{onFocusableItemAdd:h,onFocusableItemRemove:k}=m;return(0,n.useEffect)(()=>{if(u)return h(),()=>k()},[u,h,k]),(0,n.createElement)(w.ItemSlot,{scope:r,id:p,focusable:u,active:c},(0,n.createElement)(d.WV.span,(0,o.Z)({tabIndex:v?0:-1,"data-orientation":m.orientation},s,{ref:t,onMouseDown:(0,a.M)(e.onMouseDown,e=>{u?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,a.M)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,a.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,r){var o;let n=(o=e.key,"rtl"!==r?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return _[n]}(e,m.orientation,m.dir);if(void 0!==t){e.preventDefault();let n=b().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){var r,o;"prev"===t&&n.reverse();let a=n.indexOf(e.currentTarget);n=m.loop?(r=n,o=a+1,r.map((e,t)=>r[(o+t)%r.length])):n.slice(a+1)}setTimeout(()=>A(n))}})})))}),_={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e){let t=document.activeElement;for(let r of e)if(r===t||(r.focus(),document.activeElement!==t))return}let D=y,M=F}}]);

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.