Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/rentals.picotech.app/public_html/node_modules/tailwindcss/src/util/ drwxr-xr-x |
Viewing file: Select action/file-type: export default function negateValue(value) { value = `${value}` if (value === '0') { return '0' } // Flip sign of numbers if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(value)) { return value.replace(/^[+-]?/, (sign) => (sign === '-' ? '' : '-')) } // What functions we support negating numeric values for // var() isn't inherently a numeric function but we support it anyway // The trigonometric functions are omitted because you'll need to use calc(…) with them _anyway_ // to produce generally useful results and that will be covered already let numericFunctions = ['var', 'calc', 'min', 'max', 'clamp'] for (const fn of numericFunctions) { if (value.includes(`${fn}(`)) { return `calc(${value} * -1)` } } } |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0031 ]-- |