Server IP : 108.163.255.210 / Your IP : 18.118.1.100 Web Server : Apache System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64 User : ( 1172) PHP Version : 7.2.34 Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/unilinki/public_html/indijourneys.com/node_modules/autoprefixer/lib/ |
Upload File : |
"use strict"; var vendor = require('postcss').vendor; var Browsers = require('./browsers'); var utils = require('./utils'); /** * Recursively clone objects */ function _clone(obj, parent) { var cloned = new obj.constructor(); for (var _i = 0, _Object$keys = Object.keys(obj || {}); _i < _Object$keys.length; _i++) { var i = _Object$keys[_i]; var value = obj[i]; if (i === 'parent' && typeof value === 'object') { if (parent) { cloned[i] = parent; } } else if (i === 'source' || i === null) { cloned[i] = value; } else if (value instanceof Array) { cloned[i] = value.map(function (x) { return _clone(x, cloned); }); } else if (i !== '_autoprefixerPrefix' && i !== '_autoprefixerValues') { if (typeof value === 'object' && value !== null) { value = _clone(value, cloned); } cloned[i] = value; } } return cloned; } var Prefixer = /*#__PURE__*/ function () { /** * Add hack to selected names */ Prefixer.hack = function hack(klass) { var _this = this; if (!this.hacks) { this.hacks = {}; } return klass.names.map(function (name) { _this.hacks[name] = klass; return _this.hacks[name]; }); } /** * Load hacks for some names */ ; Prefixer.load = function load(name, prefixes, all) { var Klass = this.hacks && this.hacks[name]; if (Klass) { return new Klass(name, prefixes, all); } else { return new this(name, prefixes, all); } } /** * Clone node and clean autprefixer custom caches */ ; Prefixer.clone = function clone(node, overrides) { var cloned = _clone(node); for (var name in overrides) { cloned[name] = overrides[name]; } return cloned; }; function Prefixer(name, prefixes, all) { this.prefixes = prefixes; this.name = name; this.all = all; } /** * Find prefix in node parents */ var _proto = Prefixer.prototype; _proto.parentPrefix = function parentPrefix(node) { var prefix; if (typeof node._autoprefixerPrefix !== 'undefined') { prefix = node._autoprefixerPrefix; } else if (node.type === 'decl' && node.prop[0] === '-') { prefix = vendor.prefix(node.prop); } else if (node.type === 'root') { prefix = false; } else if (node.type === 'rule' && node.selector.indexOf(':-') !== -1 && /:(-\w+-)/.test(node.selector)) { prefix = node.selector.match(/:(-\w+-)/)[1]; } else if (node.type === 'atrule' && node.name[0] === '-') { prefix = vendor.prefix(node.name); } else { prefix = this.parentPrefix(node.parent); } if (Browsers.prefixes().indexOf(prefix) === -1) { prefix = false; } node._autoprefixerPrefix = prefix; return node._autoprefixerPrefix; } /** * Clone node with prefixes */ ; _proto.process = function process(node, result) { if (!this.check(node)) { return undefined; } var parent = this.parentPrefix(node); var prefixes = this.prefixes.filter(function (prefix) { return !parent || parent === utils.removeNote(prefix); }); var added = []; for (var _iterator = prefixes, _isArray = Array.isArray(_iterator), _i2 = 0, _iterator = _isArray ? _iterator : _iterator[Symbol.iterator]();;) { var _ref; if (_isArray) { if (_i2 >= _iterator.length) break; _ref = _iterator[_i2++]; } else { _i2 = _iterator.next(); if (_i2.done) break; _ref = _i2.value; } var prefix = _ref; if (this.add(node, prefix, added.concat([prefix]), result)) { added.push(prefix); } } return added; } /** * Shortcut for Prefixer.clone */ ; _proto.clone = function clone(node, overrides) { return Prefixer.clone(node, overrides); }; return Prefixer; }(); module.exports = Prefixer;