public function style($area)
    {
        if (in_array($area,
                $this->jsIncluded) || singleton('env')->get('messages.exclude_js') || singleton('env')->get('messages.exclude_' . $area . '_js')
        ) {
            return;
        }

        $params = [
            'Before' => '',
            'Link'   => singleton('Milkyway\SS\FlashMessage\Controller')->Link($area),
        ];

        foreach ($this->before as $link => $areas) {
            if (empty($areas) || in_array($area, $areas)) {
                $params['Before'] .= $link . ',';
            }
        }

        $params['Before'] = trim($params['Before'], ',');

        Requirements::javascriptTemplate(
            singleton('env')->get('messages.dir') . '/js/mwm.flash-messages.link.js',
            $params,
            singleton('env')->get('messages.dir') . '/js/mwm.flash-messages.link.js:' . $area
        );

        $this->jsIncluded[] = $area;

        if (!singleton('env')->get('messages.exclude_lib_js')) {
            Requirements::javascript(THIRDPARTY_DIR . '/jquery/jquery.js');

            Requirements::javascript(singleton('env')->get('messages.dir') . '/js/mwm.flash-messages.js');
        }

        if (!singleton('env')->get('messages.exclude_lib_css')) {
            Requirements::css(singleton('env')->get('messages.dir') . '/css/mwm.flash-messages.css');
        }
    }