{"version":3,"file":"index-DgfBLV-j.cjs","sources":["../../../node_modules/.pnpm/@radix-ui+number@1.1.3/node_modules/@radix-ui/number/dist/index.mjs","../../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.4_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/number.ts\nfunction clamp(value, [min, max]) {\n  return Math.min(max, Math.max(min, value));\n}\n__name(clamp, \"clamp\");\nexport {\n  clamp\n};\n//# sourceMappingURL=index.mjs.map\n","var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n  const ref = React.useRef({ value, previous: value });\n  return React.useMemo(() => {\n    if (ref.current.value !== value) {\n      ref.current.previous = ref.current.value;\n      ref.current.value = value;\n    }\n    return ref.current.previous;\n  }, [value]);\n}\n__name(usePrevious, \"usePrevious\");\nexport {\n  usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["__defProp","__name","target","value","clamp","min","max","usePrevious","ref","React"],"mappings":"6UAAA,IAAIA,EAAY,OAAO,eACnBC,EAAS,CAACC,EAAQC,IAAUH,EAAUE,EAAQ,OAAQ,CAAE,MAAAC,EAAO,aAAc,GAAM,EAGvF,SAASC,EAAMD,EAAO,CAACE,EAAKC,CAAG,EAAG,CAChC,OAAO,KAAK,IAAIA,EAAK,KAAK,IAAID,EAAKF,CAAK,CAAC,CAC3C,CACAF,EAAOG,EAAO,OAAO,ECPrB,IAAIJ,EAAY,OAAO,eACnBC,EAAS,CAACC,EAAQC,IAAUH,EAAUE,EAAQ,OAAQ,CAAE,MAAAC,EAAO,aAAc,GAAM,EAIvF,SAASI,EAAYJ,EAAO,CAC1B,MAAMK,EAAMC,EAAM,OAAO,CAAE,MAAAN,EAAO,SAAUA,EAAO,EACnD,OAAOM,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUL,IACxBK,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQL,GAEfK,EAAI,QAAQ,UAClB,CAACL,CAAK,CAAC,CACZ,CACAF,EAAOM,EAAa,aAAa","x_google_ignoreList":[0,1]}