REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 846 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/babel-plugin-styled-components/lib/css/placeholderUtils.js
Text
Base64
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.splitByPlaceholders = exports.placeholderRegex = exports.makePlaceholder = void 0; // The capture group makes sure that the split contains the interpolation index const placeholderRegex = /(?:__PLACEHOLDER_(\d+)__)/g; // Alternative regex that splits without a capture group exports.placeholderRegex = placeholderRegex; const placeholderNonCapturingRegex = /__PLACEHOLDER_(?:\d+)__/g; // Generates a placeholder from an index const makePlaceholder = index => `__PLACEHOLDER_${index}__`; // Splits CSS by placeholders exports.makePlaceholder = makePlaceholder; const splitByPlaceholders = ([css, ...rest], capture = true) => [css.split(capture ? placeholderRegex : placeholderNonCapturingRegex), ...rest]; exports.splitByPlaceholders = splitByPlaceholders;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
placeholderUtils.js
846 B
lrw-r--r--
2026-02-28 00:28:14
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).