ICT30016-Assignment-3/node_modules/.cache/babel-loader/3e12d18468907f4e083572d853858df004e5c8eee4270e3e7e911b54aa005afa.json
dlawler489 a79a6afd34 intial
intial
2025-09-16 12:09:52 +10:00

1 line
No EOL
1.4 KiB
JSON

{"ast":null,"code":"import { clamp } from 'motion-utils';\nconst number = {\n test: v => typeof v === \"number\",\n parse: parseFloat,\n transform: v => v\n};\nconst alpha = {\n ...number,\n transform: v => clamp(0, 1, v)\n};\nconst scale = {\n ...number,\n default: 1\n};\nexport { alpha, number, scale };","map":{"version":3,"names":["clamp","number","test","v","parse","parseFloat","transform","alpha","scale","default"],"sources":["/Users/davidl/Nextcloud/Uni/Swinburne/ICT30016 - ICT Project/Assignment 3/incident-response-game/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs"],"sourcesContent":["import { clamp } from 'motion-utils';\n\nconst number = {\n test: (v) => typeof v === \"number\",\n parse: parseFloat,\n transform: (v) => v,\n};\nconst alpha = {\n ...number,\n transform: (v) => clamp(0, 1, v),\n};\nconst scale = {\n ...number,\n default: 1,\n};\n\nexport { alpha, number, scale };\n"],"mappings":"AAAA,SAASA,KAAK,QAAQ,cAAc;AAEpC,MAAMC,MAAM,GAAG;EACXC,IAAI,EAAGC,CAAC,IAAK,OAAOA,CAAC,KAAK,QAAQ;EAClCC,KAAK,EAAEC,UAAU;EACjBC,SAAS,EAAGH,CAAC,IAAKA;AACtB,CAAC;AACD,MAAMI,KAAK,GAAG;EACV,GAAGN,MAAM;EACTK,SAAS,EAAGH,CAAC,IAAKH,KAAK,CAAC,CAAC,EAAE,CAAC,EAAEG,CAAC;AACnC,CAAC;AACD,MAAMK,KAAK,GAAG;EACV,GAAGP,MAAM;EACTQ,OAAO,EAAE;AACb,CAAC;AAED,SAASF,KAAK,EAAEN,MAAM,EAAEO,KAAK","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}