PageSourceSearch

https://www.stakeland.com/_next/static/chunks/2493-1cb2a9863855e611.js

js stakeland.com collected 2026-10-07 15:54:19 UTC 7,808 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2493],{62493:function(e,t,r){r.d(t,{VY:function(){return en},h4:function(){return et},ck:function(){return ee},fC:function(){return X},xz:function(){return er}});var n=r(27198),o=r(7653),l=r(46341),a=r(11171),i=r(88556),c=r(21082),d=r(37840),u=r(38671),s=r(41469),p=r(7575),f=r(36303);let m="Collapsible",[b,g]=(0,l.b)(m),[v,E]=b(m),h=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:r,open:l,defaultOpen:a,disabled:i,onOpenChange:c,...s}=e,[p=!1,m]=(0,d.T)({prop:l,defaultProp:a,onChange:c});return(0,o.createElement)(v,{scope:r,disabled:i,contentId:(0,f.M)(),open:p,onOpenToggle:(0,o.useCallback)(()=>m(e=>!e),[m])},(0,o.createElement)(u.WV.div,(0,n.Z)({"data-state":_(p),"data-disabled":i?"":void 0},s,{ref:t})))}),w=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:r,...l}=e,a=E("CollapsibleTrigger",r);return(0,o.createElement)(u.WV.button,(0,n.Z)({type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":_(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled},l,{ref:t,onClick:(0,c.M)(e.onClick,a.onOpenToggle)}))}),C="CollapsibleContent",y=(0,o.forwardRef)((e,t)=>{let{forceMount:r,...l}=e,a=E(C,e.__scopeCollapsible);return(0,o.createElement)(p.z,{present:r||a.open},({present:e})=>(0,o.createElement)(A,(0,n.Z)({},l,{ref:t,present:e})))}),A=(0,o.forwardRef)((e,t)=>{let{__scopeCollapsible:r,present:l,children:a,...c}=e,d=E(C,r),[p,f]=(0,o.useState)(l),m=(0,o.useRef)(null),b=(0,i.e)(t,m),g=(0,o.useRef)(0),v=g.current,h=(0,o.useRef)(0),w=h.current,y=d.open||p,A=(0,o.useRef)(y),R=(0,o.useRef)();return(0,o.useEffect)(()=>{let e=requestAnimationFrame(()=>A.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=m.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,h.current=t.width,A.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),f(l)}},[d.open,l]),(0,o.createElement)(u.WV.div,(0,n.Z)({"data-state":_(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!y},c,{ref:b,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":w?`${w}px`:void 0,...e.style}}),y&&a)});function _(e){return e?"open":"closed"}var R=r(87205);let I="Accordion",k=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[x,M,V]=(0,a.B)(I),[Z,D]=(0,l.b)(I,[V,g]),O=g(),S=o.forwardRef((e,t)=>{let{type:r,...l}=e;return o.createElement(x.Provider,{scope:e.__scopeAccordion},"multiple"===r?o.createElement(B,(0,n.Z)({},l,{ref:t})):o.createElement(z,(0,n.Z)({},l,{ref:t})))});S.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[T,N]=Z(I),[P,W]=Z(I,{collapsible:!1}),z=o.forwardRef((e,t)=>{let{value:r,defaultValue:l,onValueChange:a=()=>{},collapsible:i=!1,...c}=e,[u,s]=(0,d.T)({prop:r,defaultProp:l,onChange:a});return o.createElement(T,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:s,onItemClose:o.useCallback(()=>i&&s(""),[i,s])},o.createElement(P,{scope:e.__scopeAccordion,collapsible:i},o.createElement(q,(0,n.Z)({},c,{ref:t}))))}),B=o.forwardRef((e,t)=>{let{value:r,defaultValue:l,onValueChange:a=()=>{},...i}=e,[c=[],u]=(0,d.T)({prop:r,defaultProp:l,onChange:a}),s=o.useCallback(e=>u((t=[])=>[...t,e]),[u]),p=o.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return o.createElement(T,{scope:e.__scopeAccordion,value:c,onItemOpen:s,onItemClose:p},o.createElement(P,{scope:e.__scopeAccordion,collapsible:!0},o.createElement(q,(0,n.Z)({},i,{ref:t}))))}),[H,$]=Z(I),q=o.forwardRef((e,t)=>
1{let{__scopeAccordion:r,disabled:l,dir:a,orientation:d="vertical",...s}=e,p=o.useRef(null),f=(0,i.e)(p,t),m=M(r),b="ltr"===(0,R.gm)(a),g=(0,c.M)(e.onKeyDown,e=>{var t;if(!k.includes(e.key))return;let r=e.target,n=m().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),o=n.findIndex(e=>e.ref.current===r),l=n.length;if(-1===o)return;e.preventDefault();let a=o,i=l-1,c=()=>{(a=o+1)>i&&(a=0)},u=()=>{(a=o-1)<0&&(a=i)};switch(e.key){case"Home":a=0;break;case"End":a=i;break;case"ArrowRight":"horizontal"===d&&(b?c():u());break;case"ArrowDown":"vertical"===d&&c();break;case"ArrowLeft":"horizontal"===d&&(b?u():c());break;case"ArrowUp":"vertical"===d&&u()}null===(t=n[a%l].ref.current)||void 0===t||t.focus()});return o.createElement(H,{scope:r,disabled:l,direction:a,orientation:d},o.createElement(x.Slot,{scope:r},o.createElement(u.WV.div,(0,n.Z)({},s,{"data-orientation":d,ref:f,onKeyDown:l?void 0:g}))))}),F="AccordionItem",[K,L]=Z(F),U=o.forwardRef((e,t)=>{let{__scopeAccordion:r,value:l,...a}=e,i=$(F,r),c=N(F,r),d=O(r),u=(0,f.M)(),s=l&&c.value.includes(l)||!1,p=i.disabled||e.disabled;return o.createElement(K,{scope:r,open:s,disabled:p,triggerId:u},o.createElement(h,(0,n.Z)({"data-orientation":i.orientation,"data-state":Q(s)},d,a,{ref:t,disabled:p,open:s,onOpenChange:e=>{e?c.onItemOpen(l):c.onItemClose(l)}})))}),Y=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...l}=e,a=$(I,r),i=L("AccordionHeader",r);return o.createElement(u.WV.h3,(0,n.Z)({"data-orientation":a.orientation,"data-state":Q(i.open),"data-disabled":i.disabled?"":void 0},l,{ref:t}))}),j="AccordionTrigger",G=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...l}=e,a=$(I,r),i=L(j,r),c=W(j,r),d=O(r);return o.createElement(x.ItemSlot,{scope:r},o.createElement(w,(0,n.Z)({"aria-disabled":i.open&&!c.collapsible||void 0,"data-orientation":a.orientation,id:i.triggerId},d,l,{ref:t})))}),J=o.forwardRef((e,t)=>{let{__scopeAccordion:r,...l}=e,a=$(I,r),i=L("AccordionContent",r),c=O(r);return o.createElement(y,(0,n.Z)({role:"region","aria-labelledby":i.triggerId,"data-orientation":a.orientation},c,l,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function Q(e){return e?"open":"closed"}let X=S,ee=U,et=Y,er=G,en=J},11171:function(e,t,r){r.d(t,{B:function(){return i}});var n=r(7653),o=r(46341),l=r(88556),a=r(50432);function i(e){let t=e+"CollectionProvider",[r,i]=(0,o.b)(t),[c,d]=r(t,{collectionRef:{current:null},itemMap:new Map}),u=e+"CollectionSlot",s=n.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=d(u,r),c=(0,l.e)(t,i.collectionRef);return n.createElement(a.g7,{ref:c},o)}),p=e+"CollectionItemSlot",f="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:r}=e,o=n.useRef(null),l=n.useRef(new Map).current;return n.createElement(c,{scope:t,itemMap:l,collectionRef:o},r)},Slot:s,ItemSlot:n.forwardRef((e,t)=>{let{scope:r,children:o,...i}=e,c=n.useRef(null),u=(0,l.e)(t,c),s=d(p,r);return n.useEffect(()=>(s.itemMap.set(c,{ref:c,...i}),()=>void s.itemMap.delete(c))),n.createElement(a.g7,{[f]:"",ref:u},o)})},function(t){let r=d(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},i]}},87205:function(e,t,r){r.d(t,{gm:function(){return l}});var n=r(7653);let o=(0,n.createContext)(void 0);function l(e){let t=(0,n.useContext)(o);return e||t||"ltr"}}}]);

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.