PageSourceSearch

https://www.blendcompany.com/_next/static/chunks/61-5b8394ca407f3a46.js

js blendcompany.com collected 2026-09-26 20:02:03 UTC 7,470 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[61],{40061:function(e,r,t){t.d(r,{ck:function(){return K},fC:function(){return G},z$:function(){return V}});var n=t(2265),o=t(79648),a=t(91307),u=t(52539),i=t(259),l=t(8841),c=t(21727),s=t(55750),d=t(49373),f=t(3848),p=t(85952),v=t(57437),m="Radio",[w,h]=(0,u.b)(m),[b,y]=w(m),R=n.forwardRef((e,r)=>{let{__scopeRadio:t,name:u,checked:l=!1,required:c,disabled:s,value:d="on",onCheck:f,form:p,...m}=e,[w,h]=n.useState(null),y=(0,a.e)(r,e=>h(e)),R=n.useRef(!1),g=!w||p||!!w.closest("form");return(0,v.jsxs)(b,{scope:t,checked:l,disabled:s,children:[(0,v.jsx)(i.WV.button,{type:"button",role:"radio","aria-checked":l,"data-state":x(l),"data-disabled":s?"":void 0,disabled:s,value:d,...m,ref:y,onClick:(0,o.Mj)(e.onClick,e=>{l||null==f||f(),g&&(R.current=e.isPropagationStopped(),R.current||e.stopPropagation())})}),g&&(0,v.jsx)(j,{control:w,bubbles:!R.current,name:u,value:d,checked:l,required:c,disabled:s,form:p,style:{transform:"translateX(-100%)"}})]})});R.displayName=m;var g="RadioIndicator",k=n.forwardRef((e,r)=>{let{__scopeRadio:t,forceMount:n,...o}=e,a=y(g,t);return(0,v.jsx)(p.z,{present:n||a.checked,children:(0,v.jsx)(i.WV.span,{"data-state":x(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:r})})});k.displayName=g;var j=n.forwardRef((e,r)=>{let{__scopeRadio:t,control:o,checked:u,bubbles:l=!0,...c}=e,s=n.useRef(null),p=(0,a.e)(s,r),m=(0,f.D)(u),w=(0,d.t)(o);return n.useEffect(()=>{let e=s.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(m!==u&&r){let t=new Event("click",{bubbles:l});r.call(e,u),e.dispatchEvent(t)}},[m,u,l]),(0,v.jsx)(i.WV.input,{type:"radio","aria-hidden":!0,defaultChecked:u,...c,tabIndex:-1,ref:p,style:{...c.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function x(e){return e?"checked":"unchecked"}j.displayName="RadioBubbleInput";var E=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],C="RadioGroup",[I,A]=(0,u.b)(C,[l.Pc,h]),D=(0,l.Pc)(),F=h(),[M,T]=I(C),L=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,name:n,defaultValue:o,value:a,required:u=!1,disabled:d=!1,orientation:f,dir:p,loop:m=!0,onValueChange:w,...h}=e,b=D(t),y=(0,s.gm)(p),[R,g]=(0,c.T)({prop:a,defaultProp:null!=o?o:null,onChange:w,caller:C});return(0,v.jsx)(M,{scope:t,name:n,required:u,disabled:d,value:R,onValueChange:g,children:(0,v.jsx)(l.fC,{asChild:!0,...b,orientation:f,dir:y,loop:m,children:(0,v.jsx)(i.WV.div,{role:"radiogroup","aria-required":u,"aria-orientation":f,"data-disabled":d?"":void 0,dir:y,...h,ref:r})})})});L.displayName=C;var P="RadioGroupItem",S=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,disabled:u,...i}=e,c=T(P,t),s=c.disabled||u,d=D(t),f=F(t),p=n.useRef(null),m=(0,a.e)(r,p),w=c.value===i.value,h=n.useRef(!1);return n.useEffect(()=>{let e=e=>{E.includes(e.key)&&(h.current=!0)},r=()=>h.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",r)}},[]),(0,v.jsx)(l.ck,{asChild:!0,...d,focusable:!s,active:w,children:(0,v.jsx)(R,{disabled:s,required:c.required,checked:w,...f,...i,name:c.name,ref:m,onCheck:()=>c.onValueChange(i.value),onKeyDown:(0,o.Mj)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.Mj)(i.onFocus,()=>{var e;h.current&&(null===(e=p.current)||void 0===e||e.click())})})})});S.displayName=P;var N=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,...n}=e,o=F(t);return(0,v.jsx)(k,{...o,...n,ref:r})});N.displayName="RadioGroupIndicator";var G=L,K=S,V=N},8841:function(e,r,t){t.d(r,{Pc:function(){return g},ck:function(){return M},fC:function(){return F}});var n=t(2265),o=t(79648),a=t(47462),u=t(91307),i=t(52539),l=t(13721),c=t(259),s=t(20137),d=t(21727),f=t(55750),p=t(57437),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},w="RovingFocusGroup",[h,b,y]=(0,a.B)(w),[R,g]=(0,i.b)(w,[y]),[k,j]=R(w),x=n.forwardRef((e,r)=>(0,p.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(E,{...e,ref:r})})}));x.displayName=w;var E=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:a,loop:i=!1,dir:l,currentTabStopId:h,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:R,onEntryFocus:g,preventScrollOnEntryFocus:j=!1,...x}=e,E=n.useRef(null),C=(0,u.e)(r,E),I=(0,f.gm)(l),[A,F]=(0,d.T)({prop:h,defaultProp:null!=y?y:null,onChange:R,caller:w}),[M,T]=n.useState(!1),L=(0,s.W)(g),P=b(t),S=n.useRef(!1),[N,G]=n.useState(0);return n.useEffect(()=>{let e=E.current;
1if(e)return e.addEventListener(v,L),()=>e.removeEventListener(v,L)},[L]),(0,p.jsx)(k,{scope:t,orientation:a,dir:I,loop:i,currentTabStopId:A,onItemFocus:n.useCallback(e=>F(e),[F]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>G(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>G(e=>e-1),[]),children:(0,p.jsx)(c.WV.div,{tabIndex:M||0===N?-1:0,"data-orientation":a,...x,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.Mj)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.Mj)(e.onFocus,e=>{let r=!S.current;if(e.target===e.currentTarget&&r&&!M){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=P().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),j)}}S.current=!1}),onBlur:(0,o.Mj)(e.onBlur,()=>T(!1))})})}),C="RovingFocusGroupItem",I=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:u=!1,tabStopId:i,children:s,...d}=e,f=(0,l.M)(),v=i||f,m=j(C,t),w=m.currentTabStopId===v,y=b(t),{onFocusableItemAdd:R,onFocusableItemRemove:g,currentTabStopId:k}=m;return n.useEffect(()=>{if(a)return R(),()=>g()},[a,R,g]),(0,p.jsx)(h.ItemSlot,{scope:t,id:v,focusable:a,active:u,children:(0,p.jsx)(c.WV.span,{tabIndex:w?0:-1,"data-orientation":m.orientation,...d,ref:r,onMouseDown:(0,o.Mj)(e.onMouseDown,e=>{a?m.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.Mj)(e.onFocus,()=>m.onItemFocus(v)),onKeyDown:(0,o.Mj)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return A[o]}(e,m.orientation,m.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=y().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var t,n;"prev"===r&&o.reverse();let a=o.indexOf(e.currentTarget);o=m.loop?(t=o,n=a+1,t.map((e,r)=>t[(n+r)%t.length])):o.slice(a+1)}setTimeout(()=>D(o))}}),children:"function"==typeof s?s({isCurrentTabStop:w,hasTabStop:null!=k}):s})})});I.displayName=C;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var F=x,M=I},3848:function(e,r,t){t.d(r,{D:function(){return o}});var n=t(2265);function o(e){let r=n.useRef({value:e,previous:e});return n.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}}}]);

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.