{"ast":null,"code":"import { __assign } from 'tslib';\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.js';\nimport { buildSVGAttrs } from './utils/build-attrs.js';\nimport { createSvgRenderState } from './utils/create-render-state.js';\nfunction useSVGProps(props, visualState) {\n  var visualProps = useMemo(function () {\n    var state = createSvgRenderState();\n    buildSVGAttrs(state, visualState, undefined, undefined, {\n      enableHardwareAcceleration: false\n    }, props.transformTemplate);\n    return __assign(__assign({}, state.attrs), {\n      style: __assign({}, state.style)\n    });\n  }, [visualState]);\n  if (props.style) {\n    var rawStyles = {};\n    copyRawValuesOnly(rawStyles, props.style, props);\n    visualProps.style = __assign(__assign({}, rawStyles), visualProps.style);\n  }\n  return visualProps;\n}\nexport { useSVGProps };","map":{"version":3,"names":["__assign","useMemo","copyRawValuesOnly","buildSVGAttrs","createSvgRenderState","useSVGProps","props","visualState","visualProps","state","undefined","enableHardwareAcceleration","transformTemplate","attrs","style","rawStyles"],"sources":["C:/LDT/DSP_Management/node_modules/framer-motion/dist/es/render/svg/use-props.js"],"sourcesContent":["import { __assign } from 'tslib';\nimport { useMemo } from 'react';\nimport { copyRawValuesOnly } from '../html/use-props.js';\nimport { buildSVGAttrs } from './utils/build-attrs.js';\nimport { createSvgRenderState } from './utils/create-render-state.js';\n\nfunction useSVGProps(props, visualState) {\n    var visualProps = useMemo(function () {\n        var state = createSvgRenderState();\n        buildSVGAttrs(state, visualState, undefined, undefined, { enableHardwareAcceleration: false }, props.transformTemplate);\n        return __assign(__assign({}, state.attrs), { style: __assign({}, state.style) });\n    }, [visualState]);\n    if (props.style) {\n        var rawStyles = {};\n        copyRawValuesOnly(rawStyles, props.style, props);\n        visualProps.style = __assign(__assign({}, rawStyles), visualProps.style);\n    }\n    return visualProps;\n}\n\nexport { useSVGProps };\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,OAAO,QAAQ,OAAO;AAC/B,SAASC,iBAAiB,QAAQ,sBAAsB;AACxD,SAASC,aAAa,QAAQ,wBAAwB;AACtD,SAASC,oBAAoB,QAAQ,gCAAgC;AAErE,SAASC,WAAWA,CAACC,KAAK,EAAEC,WAAW,EAAE;EACrC,IAAIC,WAAW,GAAGP,OAAO,CAAC,YAAY;IAClC,IAAIQ,KAAK,GAAGL,oBAAoB,CAAC,CAAC;IAClCD,aAAa,CAACM,KAAK,EAAEF,WAAW,EAAEG,SAAS,EAAEA,SAAS,EAAE;MAAEC,0BAA0B,EAAE;IAAM,CAAC,EAAEL,KAAK,CAACM,iBAAiB,CAAC;IACvH,OAAOZ,QAAQ,CAACA,QAAQ,CAAC,CAAC,CAAC,EAAES,KAAK,CAACI,KAAK,CAAC,EAAE;MAAEC,KAAK,EAAEd,QAAQ,CAAC,CAAC,CAAC,EAAES,KAAK,CAACK,KAAK;IAAE,CAAC,CAAC;EACpF,CAAC,EAAE,CAACP,WAAW,CAAC,CAAC;EACjB,IAAID,KAAK,CAACQ,KAAK,EAAE;IACb,IAAIC,SAAS,GAAG,CAAC,CAAC;IAClBb,iBAAiB,CAACa,SAAS,EAAET,KAAK,CAACQ,KAAK,EAAER,KAAK,CAAC;IAChDE,WAAW,CAACM,KAAK,GAAGd,QAAQ,CAACA,QAAQ,CAAC,CAAC,CAAC,EAAEe,SAAS,CAAC,EAAEP,WAAW,CAACM,KAAK,CAAC;EAC5E;EACA,OAAON,WAAW;AACtB;AAEA,SAASH,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}