PageSourceSearch

https://emersonandfriends.com/cdn/shopifycloud/checkout-web/assets/c1/33d2e4fc.BePxI6ur.js

js emersonandfriends.com collected 2026-10-06 11:04:29 UTC 3,215 bytes, 1 lines download raw bytes

1import{D as e,z as t,g as n,q as a,h as r,u as o,m as i}from"./2c1ab0fe.Bywc2Brn.js";import{aR as u,A as l,T as c,a1 as s}from"./164ad2e3.CZ86Jn5i.js";import"./app.DWJ9FfA1.js";import"./9dba8418.ogFVeXB5.js";var m="_1170e3g2 _1fragempp _1fragemri _1fragemnw _1fragemtb",d="_1170e3g3 _1fragem11v _1fragemyc _1fragem11z";function p({label:e="",maxDisabled:t,minDisabled:l,onChange:c,onMouseDown:p}){const f=u(),b=n(),g=a(()=>{b.current&&(clearTimeout(b.current),document.removeEventListener("mouseup",g),b.current=void 0)},[]),y=a((e,t)=>{if(0!==e?.button)return;e.preventDefault(),p(e);let n=200;const a=()=>{n>50&&(n-=10),c(t),b.current=setTimeout(a,n)};b.current=setTimeout(a,0),document.addEventListener("mouseup",g)},[p,c,g]);return r(()=>{(t||l)&&g()},[t,l,g]),r(()=>g,[g]),o("div",{className:i("_1170e3g1 _1170e3g0 _1fragem64 _1fragem1y"),role:"group",children:[o("button",{type:"button","aria-label":f("decrease",{type:e}),onTouchStart:l?void 0:()=>c(-1),onMouseDown:e=>y(e,-1),className:i(m,l&&d),disabled:l,tabIndex:-1,children:o(s,{type:"minus",size:"small"})}),o("button",{type:"button","aria-label":f("increase",{type:e}),onTouchStart:t?void 0:()=>c(1),onMouseDown:e=>y(e,1),className:i(m,t&&d),disabled:t,tabIndex:-1,children:o(s,{type:"plus",size:"small"})})]})}const f=e(function({accessibilityDescription:e,accessoryEnd:i,autocomplete:s,controls:m="auto",disabled:d,error:f,icon:b,id:g,inputMode:y="decimal",label:v,labelAccessibilityVisibility:h,max:x,min:_,name:D,onBlur:V,onChange:N,onFocus:M,onInput:T,placeholder:w,prefix:E,readOnly:j,required:z,step:C=1,suffix:F,value:I},S){const A=u(),[{editingValue:R,committedValue:q},B]=t({editingValue:I,committedValue:I}),L=n(I),O=n(),$=a(e=>{"function"==typeof S?S(e):S&&(S.current=e),O.current=e},[S]),W=a(e=>{L.current=e,B({editingValue:e,committedValue:e})},[]);r(()=>{W(I)},[I,W]);const k=a(e=>{const t=function({factor:e,prevValue:t,max:n,min:a,step:r}){const o=void 0===n?1/0:n,i=void 0===a?-1/0:a,u=t?Number(t):0;if(isNaN(u))return"0";const l=e=>(e.toString().split(".")[1]||[]).length,c=Math.max(l(u),l(r)),s=Math.min(Number(o),Math.max(u+e*r,Number(i)));return parseFloat(s.toFixed(c)).toString()}({factor:e,prevValue:L.current,max:x,min:_,step:C});W(t),"function"==typeof T&&T(t),"function"==typeof N&&N(t)},[C,_,x,N,T,W]),G="stepper"===m,H=null!=R&&""!==R&&null!=x&&Number(R)>=x,J=null!=R&&""!==R&&null!=_&&Number(R)<=_,K=`${H?A("maximumReached",{value:x}):""} ${J?A("minimumReached",{value:_}):""}`.trim(),P=n(!1);return r(()=>{if(P.current)return K?l({content:K}):void 0;P.current=!0},[K]),o(c,{accessibilityDescription:e,accessoryEnd:!G||d||j?i:o(p,{label:v,maxDisabled:H,minDisabled:J,onChange:k,onMouseDown:()=>{document.activeElement!==O.current&&O.current?.focus()}}),autocomplete:s,controlledValue:R,disabled:d,error:f,icon:b,id:g,inputMode:G?"decimal":y,label:v,labelAccessibilityVisibility:h,max:x,min:_,name:D,onBlur:()=>{"function"==typeof V&&V()},onChange:e=>{W(e),"function"==typeof N&&N(e)},onFocus:M,onInput:e=>{L.current=e,B(t=>({...t,editingValue:e})),"function"==typeof T&&T(e)},onWheel:e=>{G||e.preventDefault()},placeholder:w,prefix:E,readOnly:j,ref:$,required:z,step:C,suffix:F,type:"number",value:q})});export{f as N};

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.