Files
ETB/ETB-FrontEnd/node_modules/.cache/babel-loader/638321e82e0eb36467c179ee068abdd13b670cf19cf72f00058cd7f04a765490.json
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

1 line
1.7 KiB
JSON

{"ast":null,"code":"const invisibleValues = new Set([\"none\", \"hidden\"]);\n/**\n * Returns a function that, when provided a progress value between 0 and 1,\n * will return the \"none\" or \"hidden\" string only when the progress is that of\n * the origin or target.\n */\nfunction mixVisibility(origin, target) {\n if (invisibleValues.has(origin)) {\n return p => p <= 0 ? origin : target;\n } else {\n return p => p >= 1 ? target : origin;\n }\n}\nexport { invisibleValues, mixVisibility };","map":{"version":3,"names":["invisibleValues","Set","mixVisibility","origin","target","has","p"],"sources":["/home/gnx/Desktop/ETB/ETB-FrontEnd/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs"],"sourcesContent":["const invisibleValues = new Set([\"none\", \"hidden\"]);\n/**\n * Returns a function that, when provided a progress value between 0 and 1,\n * will return the \"none\" or \"hidden\" string only when the progress is that of\n * the origin or target.\n */\nfunction mixVisibility(origin, target) {\n if (invisibleValues.has(origin)) {\n return (p) => (p <= 0 ? origin : target);\n }\n else {\n return (p) => (p >= 1 ? target : origin);\n }\n}\n\nexport { invisibleValues, mixVisibility };\n"],"mappings":"AAAA,MAAMA,eAAe,GAAG,IAAIC,GAAG,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA,SAASC,aAAaA,CAACC,MAAM,EAAEC,MAAM,EAAE;EACnC,IAAIJ,eAAe,CAACK,GAAG,CAACF,MAAM,CAAC,EAAE;IAC7B,OAAQG,CAAC,IAAMA,CAAC,IAAI,CAAC,GAAGH,MAAM,GAAGC,MAAO;EAC5C,CAAC,MACI;IACD,OAAQE,CAAC,IAAMA,CAAC,IAAI,CAAC,GAAGF,MAAM,GAAGD,MAAO;EAC5C;AACJ;AAEA,SAASH,eAAe,EAAEE,aAAa","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}