protected function mergeReplacements(array $replacements)
    {
        return $this->getShortcodes()
            ->transform(function ($key) use ($replacements) {
                return Arr::get($replacements, $key);
            })
            ->filter();
    }