HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/web/matomo.circ/tmp/templates_c/4e/4e72f2f380f9015265f23deab65e7c28.php
<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @Referrers/_actionTooltip.twig */
class __TwigTemplate_cf2443e2ff05108d68ef6f5483f12e36 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        yield "

";
        // line 3
        yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_ConversionAttribution"), "html", null, true);
        yield "
";
        // line 4
        if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 4, $this->source); })()), "referrerType", [], "any", false, false, false, 4) == "website")) {
            // line 5
            yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_ColumnWebsite"), "html", null, true);
            yield ": ";
            yield $this->env->getFilter('rawSafeDecoded')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 5, $this->source); })()), "referrerName", [], "any", false, false, false, 5));
            yield "
";
        }
        // line 7
        if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 7, $this->source); })()), "referrerType", [], "any", false, false, false, 7) == "campaign")) {
            // line 8
            yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_ColumnCampaign"), "html", null, true);
            yield ": ";
            yield $this->env->getFilter('rawSafeDecoded')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 8, $this->source); })()), "referrerName", [], "any", false, false, false, 8));
            // line 9
            if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 9, $this->source); })()), "referrerKeyword", [], "any", false, false, false, 9))) {
                yield " - ";
                yield \Piwik\piwik_escape_filter($this->env, CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 9, $this->source); })()), "referrerKeyword", [], "any", false, false, false, 9), "html", null, true);
            }
        }
        // line 11
        if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 11, $this->source); })()), "referrerType", [], "any", false, false, false, 11) == "social")) {
            // line 12
            yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_ColumnSocial"), "html", null, true);
            yield ": ";
            yield $this->env->getFilter('rawSafeDecoded')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 12, $this->source); })()), "referrerName", [], "any", false, false, false, 12));
            yield "
";
        }
        // line 14
        if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 14, $this->source); })()), "referrerType", [], "any", false, false, false, 14) == "search")) {
            // line 15
            $context["keywordNotDefined"] = $this->env->getFilter('translate')->getCallable()("General_NotDefined", $this->env->getFilter('translate')->getCallable()("General_ColumnKeyword"));
            // line 16
            $context["showKeyword"] = ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 16, $this->source); })()), "referrerKeyword", [], "any", false, false, false, 16)) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 16, $this->source); })()), "referrerKeyword", [], "any", false, false, false, 16) != (isset($context["keywordNotDefined"]) || array_key_exists("keywordNotDefined", $context) ? $context["keywordNotDefined"] : (function () { throw new RuntimeError('Variable "keywordNotDefined" does not exist.', 16, $this->source); })())));
            // line 17
            yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_ColumnSearchEngine"), "html", null, true);
            yield ": ";
            yield $this->env->getFilter('rawSafeDecoded')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 17, $this->source); })()), "referrerName", [], "any", false, false, false, 17));
            // line 18
            if ((isset($context["showKeyword"]) || array_key_exists("showKeyword", $context) ? $context["showKeyword"] : (function () { throw new RuntimeError('Variable "showKeyword" does not exist.', 18, $this->source); })())) {
                yield ", ";
                yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_Keywords"), "html", null, true);
                yield ": &quot;";
                yield $this->env->getFilter('rawSafeDecoded')->getCallable()(CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 18, $this->source); })()), "referrerKeyword", [], "any", false, false, false, 18));
                yield "&quot;";
            }
        }
        // line 20
        if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["action"]) || array_key_exists("action", $context) ? $context["action"] : (function () { throw new RuntimeError('Variable "action" does not exist.', 20, $this->source); })()), "referrerType", [], "any", false, false, false, 20) == "direct")) {
            yield \Piwik\piwik_escape_filter($this->env, $this->env->getFilter('translate')->getCallable()("Referrers_DirectEntry"), "html", null, true);
        }
        return; yield '';
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName()
    {
        return "@Referrers/_actionTooltip.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable()
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo()
    {
        return array (  95 => 20,  86 => 18,  82 => 17,  80 => 16,  78 => 15,  76 => 14,  69 => 12,  67 => 11,  61 => 9,  57 => 8,  55 => 7,  48 => 5,  46 => 4,  42 => 3,  38 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("

{{ 'Referrers_ConversionAttribution'|translate }}
{% if action.referrerType == 'website' %}
{{ 'Referrers_ColumnWebsite'|translate }}: {{ action.referrerName|rawSafeDecoded }}
{% endif %}
{% if action.referrerType == 'campaign' %}
{{ 'Referrers_ColumnCampaign'|translate }}: {{ action.referrerName|rawSafeDecoded }}
{%- if action.referrerKeyword is not empty %} - {{ action.referrerKeyword }}{% endif %}
{% endif %}
{% if action.referrerType == 'social' %}
{{ 'Referrers_ColumnSocial'|translate }}: {{ action.referrerName|rawSafeDecoded }}
{% endif %}
{% if action.referrerType == 'search' %}
{%- set keywordNotDefined = 'General_NotDefined'|translate('General_ColumnKeyword'|translate) -%}
{%- set showKeyword = action.referrerKeyword is not empty and action.referrerKeyword != keywordNotDefined -%}
{{ 'Referrers_ColumnSearchEngine'|translate }}: {{ action.referrerName|rawSafeDecoded }}
{%- if showKeyword %}, {{ 'Referrers_Keywords'|translate }}: &quot;{{ action.referrerKeyword|rawSafeDecoded }}&quot;{% endif %}
{% endif %}
{% if action.referrerType == 'direct' %}{{ 'Referrers_DirectEntry'|translate }}{% endif %}", "@Referrers/_actionTooltip.twig", "D:\\web\\matomo.circ\\plugins\\Referrers\\templates\\_actionTooltip.twig");
    }
}