<?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;
/* @Application/inc/central_header.html.twig */
class __TwigTemplate_68afe8944dfa519ca51a13cd6909e036a855a82a7f29bbcf8c5fe5f2d61aa632 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;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Application/inc/central_header.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Application/inc/central_header.html.twig"));
// line 5
if ( !array_key_exists("include_html", $context)) {
// line 6
yield " ";
$context["include_html"] = 1;
// line 7
yield " ";
if ((0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "request", [], "any", false, false, false, 7), "get", ["skipHTML"], "method", false, false, false, 7), ""))) {
$context["include_html"] = 0;
}
// line 8
yield " ";
if ((0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "query", [], "any", false, false, false, 8), "get", ["skipHTML"], "method", false, false, false, 8), ""))) {
$context["include_html"] = 0;
}
}
// line 10
if ((0 === CoreExtension::compare((isset($context["include_html"]) || array_key_exists("include_html", $context) ? $context["include_html"] : (function () { throw new RuntimeError('Variable "include_html" does not exist.', 10, $this->source); })()), 1))) {
// line 11
yield "<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui\">
<meta name=\"description\"
content=\"";
// line 18
((array_key_exists("og_description", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["og_description"]) || array_key_exists("og_description", $context) ? $context["og_description"] : (function () { throw new RuntimeError('Variable "og_description" does not exist.', 18, $this->source); })()), "html", null, true)) : (yield "HoneyBee โ The digital operating layer for EPC, energy, and multi-site industrial operations. Unify finance, projects, IoT, Edge+ site intelligence, billing and AI reporting. From โฌ7.99/user/month."));
yield "\">
<meta name=\"keywords\"
content=\"HoneyBee, EPC software, system integrator platform, energy asset management, IoT Edge+ deployment, project lifecycle software, industrial operations, DATEV accounting, multi-site management\">
<meta name=\"author\" content=\"HoneyBee Ecosystem\">
<title id=\"pageTitle\">";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page_title"]) || array_key_exists("page_title", $context) ? $context["page_title"] : (function () { throw new RuntimeError('Variable "page_title" does not exist.', 22, $this->source); })()), "html", null, true);
yield "</title>
<meta property=\"og:title\" content=\"";
// line 24
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("og_title", $context)) ? ((isset($context["og_title"]) || array_key_exists("og_title", $context) ? $context["og_title"] : (function () { throw new RuntimeError('Variable "og_title" does not exist.', 24, $this->source); })())) : ((isset($context["page_title"]) || array_key_exists("page_title", $context) ? $context["page_title"] : (function () { throw new RuntimeError('Variable "page_title" does not exist.', 24, $this->source); })()))), "html", null, true);
yield "\"/>
<meta property=\"og:description\"
content=\"";
// line 26
((array_key_exists("og_description", $context)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["og_description"]) || array_key_exists("og_description", $context) ? $context["og_description"] : (function () { throw new RuntimeError('Variable "og_description" does not exist.', 26, $this->source); })()), "html", null, true)) : (yield "HoneyBee โ Operating system for EPC companies, system integrators, energy asset owners, and multi-site industrial businesses."));
yield "\"/>
<meta property=\"og:image\"
content=\"";
// line 28
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("og_image", $context)) ? (($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")) . (isset($context["og_image"]) || array_key_exists("og_image", $context) ? $context["og_image"] : (function () { throw new RuntimeError('Variable "og_image" does not exist.', 28, $this->source); })()))) : (($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")) . "honeybee_web_assets/icons/honeybeeicon.svg"))), "html", null, true);
yield "\"/>
";
// line 29
$context["_noindex_routes"] = ["user_login", "sign_up", "reset_password", "verify_email", "verify_otp", "reset_new_password", "honeybee_otp_verification"];
// line 30
yield " ";
if (CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "request", [], "any", false, false, false, 30), "get", ["_route"], "method", false, false, false, 30), (isset($context["_noindex_routes"]) || array_key_exists("_noindex_routes", $context) ? $context["_noindex_routes"] : (function () { throw new RuntimeError('Variable "_noindex_routes" does not exist.', 30, $this->source); })()))) {
// line 31
yield " <meta name=\"robots\" content=\"noindex, nofollow\">
";
} else {
// line 33
yield " <meta name=\"robots\" content=\"index, follow\">
";
}
// line 35
yield "
";
// line 37
yield " <link rel=\"shortcut icon\" type=\"image/x-icon\"
href=\"";
// line 38
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon.ico"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\"
href=\"";
// line 40
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("apple-icon.png"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\"
href=\"";
// line 42
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-32x32.png"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\"
href=\"";
// line 44
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("favicon-16x16.png"), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"manifest\" href=\"";
// line 45
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("site.webmanifest"), "html", null, true);
yield "\">
<link rel=\"mask-icon\" href=\"";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("safari-pinned-tab.svg"), "html", null, true);
yield "\" color=\"#C07D2A\">
<meta name=\"msapplication-TileColor\" content=\"#1A1D2E\">
<meta name=\"theme-color\" content=\"#F7F5F0\">
";
// line 51
yield " <link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Montserrat:wght@500&display=swap\"
rel=\"stylesheet\">
<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
";
// line 58
yield " <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css\"
integrity=\"sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css\">
<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css\">
<link rel=\"stylesheet\"
href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-datetimepicker/2.7.1/css/bootstrap-material-datetimepicker.min.css\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.13.3/css/selectize.css\">
<link rel=\"stylesheet\"
href=\"";
// line 67
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/css/bootstrap.css?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"stylesheet\"
href=\"";
// line 69
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/css/style.css?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"stylesheet\" id=\"dark-theme-css\"
href=\"";
// line 71
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/css/dark.css?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\"
disabled=\"true\">
<link rel=\"stylesheet\"
href=\"";
// line 74
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/css/responsive.css?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"stylesheet\"
href=\"";
// line 76
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/css/central_responsive.css?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
<link rel=\"stylesheet\"
href=\"";
// line 78
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/css/temporary_inline.css?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\">
";
// line 81
yield " <style>";
if ((0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 81, $this->source); })()), "session", [], "any", false, false, false, 81), "get", ["devAdminMode"], "method", false, false, false, 81), 1))) {
yield ".sf-toolbar {
display: none !important
}";
}
// line 83
yield "</style>
";
// line 86
yield " <style>
#hb-preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: #F7F5F0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 99999;
}
.hb-pre-logo {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 28px;
}
.hb-pre-logo img {
width: 34px;
height: 34px;
}
.hb-pre-logo span {
font-family: 'DM Sans', sans-serif;
font-size: 17px;
font-weight: 800;
color: #1A1D2E;
letter-spacing: -.01em;
}
.hb-pre-logo span b {
color: #C07D2A;
font-weight: 800;
}
.hb-pre-bar-wrap {
width: 120px;
height: 2px;
background: rgba(26, 29, 46, .08);
border-radius: 2px;
overflow: hidden;
}
.hb-pre-bar {
height: 100%;
width: 40%;
background: #C07D2A;
border-radius: 2px;
animation: hb-slide 1.5s ease-in-out infinite;
}
@keyframes hb-slide {
0% {
transform: translateX(-100%);
}
50% {
transform: translateX(250%);
}
100% {
transform: translateX(-100%);
}
}
</style>
";
// line 156
yield " <script>
var logger = (function () {
var _old = null, pub = {};
pub.enableLogger = function () {
if (_old) window['console']['log'] = _old;
};
pub.disableLogger = function () {
_old = console.log;
window['console']['log'] = function () {
};
};
return pub;
}());
";
// line 169
if ((0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 169, $this->source); })()), "session", [], "any", false, false, false, 169), "get", ["devAdminMode"], "method", false, false, false, 169), 1))) {
// line 170
yield " window['console']['log'] = function () {
};
";
}
// line 173
yield " </script>
<script>
function changeTheme(isDark) {
var darkCss = document.getElementById('dark-theme-css');
var cb = document.getElementById('theme-toggle-checkbox');
var track = document.getElementById('hbThemeTrack');
document.querySelectorAll('img').forEach(function (img) {
if (isDark) {
img.src = img.src.replace('/honeybee_web_assets/', '/honeybee_web_assets/dark/');
} else {
img.src = img.src.replace('/honeybee_web_assets/dark/', '/honeybee_web_assets/');
}
});
if (darkCss) darkCss.disabled = !isDark;
if (cb) cb.checked = isDark;
if (track) track.classList.toggle('hb-dark', isDark);
localStorage.setItem('theme', isDark ? 'dark' : 'light');
}
</script>
<script>if (typeof module === 'object') {
window.module = module;
module = undefined;
}</script>
<script src=\"https://code.jquery.com/jquery-3.4.1.min.js\"
integrity=\"sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=\" crossorigin=\"anonymous\"></script>
<script data-ad-client=\"ca-pub-8286883017903771\" async
src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>
<script>var BaseURL = '";
// line 203
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("dashboard");
yield "';</script>
</head>
";
// line 207
yield "<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-V22132YMJ3\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-V22132YMJ3');
</script>
";
// line 220
$context["BUDDYBEE_ADMIN_LEVEL"] = 0;
// line 221
$context["isConsultant"] = 0;
// line 222
if (CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 222, $this->source); })()), "USER_ID", [], "any", false, false, false, 222), [], "array", true, true, false, 222)) {
// line 223
yield " ";
$context["isConsultant"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 223, $this->source); })()), "IS_CONSULTANT", [], "any", false, false, false, 223), [], "array", true, true, false, 223)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 223, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 223, $this->source); })()), "IS_CONSULTANT", [], "any", false, false, false, 223), [], "array", false, false, false, 223)) : (0));
// line 224
yield " ";
$context["BUDDYBEE_ADMIN_LEVEL"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 224, $this->source); })()), "BUDDYBEE_ADMIN_LEVEL", [], "any", false, false, false, 224), [], "array", true, true, false, 224)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 224, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 224, $this->source); })()), "BUDDYBEE_ADMIN_LEVEL", [], "any", false, false, false, 224), [], "array", false, false, false, 224)) : (0));
}
// line 226
yield "
";
// line 228
if ((0 <= CoreExtension::compare((isset($context["BUDDYBEE_ADMIN_LEVEL"]) || array_key_exists("BUDDYBEE_ADMIN_LEVEL", $context) ? $context["BUDDYBEE_ADMIN_LEVEL"] : (function () { throw new RuntimeError('Variable "BUDDYBEE_ADMIN_LEVEL" does not exist.', 228, $this->source); })()), 1))) {
// line 229
yield "<body class=\"buddybee_body has_admin_bar body-mask\">
";
} elseif (CoreExtension::getAttribute($this->env, $this->source, // line 230
($context["session"] ?? null), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 230, $this->source); })()), "USER_ID", [], "any", false, false, false, 230), [], "array", true, true, false, 230)) {
// line 231
yield "<body class=\"buddybee_body body-mask\">
";
} else {
// line 233
yield "<body class=\"body-mask\">
";
}
// line 235
yield "
";
// line 237
yield "<div id=\"hb-preloader\">
<div class=\"hb-pre-logo\">
<img src=\"";
// line 239
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/icons/honeybeeicon.svg?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\"
alt=\"HoneyBee\">
<span>Honey<b>Bee</b></span>
</div>
<div class=\"hb-pre-bar-wrap\">
<div class=\"hb-pre-bar\"></div>
</div>
</div>
";
// line 249
yield "<div id=\"buddybee_processing_loader\">
<div><p>Processing</p></div>
</div>
";
// line 256
yield "<style>
/* โโ Design tokens โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
:root {
--hb-ink: #1A1D2E;
--hb-ink-2: #252840;
--hb-amber: #C07D2A;
--hb-amber-lt: #D4954A;
--hb-muted: #6B6E7F;
--hb-border: rgba(26, 29, 46, .08);
--hb-border-md: rgba(26, 29, 46, .14);
--hb-cream: #F7F5F0;
--hb-white: #FFFFFF;
--hb-shadow: 0 2px 20px rgba(26, 29, 46, .07);
--hb-shadow-lg: 0 8px 32px rgba(26, 29, 46, .10);
--hb-radius: 10px;
--hb-font: 'DM Sans', 'Gilroy', system-ui, sans-serif;
}
/* โโ Navbar shell โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9999;
background: rgba(247, 245, 240, .97);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid var(--hb-border);
transition: box-shadow .2s, border-color .2s;
font-family: var(--hb-font);
}
.hb-navbar.hb-scrolled {
box-shadow: var(--hb-shadow);
border-color: var(--hb-border-md);
}
/* โโ Inner container โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-nav-inner {
max-width: 1280px;
margin: 0 auto;
padding: 0 28px;
height: 64px;
display: flex;
align-items: center;
gap: 24px;
}
/* โโ Brand โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-brand {
display: flex;
align-items: center;
gap: 9px;
text-decoration: none;
flex-shrink: 0;
}
.hb-brand img {
height: 30px;
width: auto;
}
.hb-brand-name {
font-size: 15.5px;
font-weight: 800;
color: var(--hb-ink);
letter-spacing: -.01em;
line-height: 1;
}
.hb-brand-name b {
color: var(--hb-amber);
font-weight: 800;
}
/* โโ Nav links โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-links {
display: flex;
align-items: center;
gap: 2px;
list-style: none;
margin: 0;
padding: 0;
flex: 1;
}
.hb-links .hb-link > a,
.hb-links .hb-drop > a {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 7px 11px;
font-size: 13.5px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 7px;
white-space: nowrap;
transition: color .15s, background .15s;
position: relative;
}
.hb-links .hb-link > a:hover,
.hb-links .hb-drop > a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-links .hb-link > a.active {
color: var(--hb-ink);
font-weight: 600;
}
.hb-links .hb-link > a.active::after {
content: '';
position: absolute;
bottom: 2px;
left: 11px;
right: 11px;
height: 1.5px;
background: var(--hb-amber);
border-radius: 2px;
}
/* โโ Dropdown โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-drop {
position: relative;
}
.hb-caret {
font-size: 9px;
opacity: .5;
transition: transform .2s;
}
.hb-drop:hover .hb-caret {
transform: rotate(180deg);
}
.hb-dd-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%) translateY(0);
min-width: 195px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 6px;
padding-top: 12px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transition: opacity .16s, transform .16s;
transition-delay: 0s, 0s; /* show instantly */
list-style: none;
margin: 0;
z-index: 10001;
}
.hb-drop:hover .hb-dd-menu,
.hb-dd-menu:hover {
opacity: 1;
pointer-events: all;
transform: translateX(-50%) translateY(0);
}
.hb-drop:not(:hover) .hb-dd-menu:not(:hover) {
transition-delay: .12s;
}
/* slight lag on hide */
.hb-dd-menu li a {
display: block;
padding: 8px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: color .12s, background .12s;
}
.hb-dd-menu li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-dd-menu li a.active {
color: var(--hb-ink);
font-weight: 600;
}
.hb-dd-div {
height: 1px;
background: var(--hb-border);
margin: 4px 6px;
}
/* โโ Right side โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-nav-right {
display: flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
}
/* โโ Language switcher โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-lang {
position: relative;
}
.hb-lang-btn {
display: flex;
align-items: center;
gap: 5px;
padding: 6px 10px;
font-size: 12.5px;
font-weight: 600;
color: var(--hb-muted);
background: none;
border: 1px solid var(--hb-border);
border-radius: 7px;
cursor: pointer;
transition: all .15s;
font-family: var(--hb-font);
}
.hb-lang-btn:hover {
color: var(--hb-ink);
border-color: var(--hb-border-md);
background: rgba(26, 29, 46, .03);
}
.hb-lang-menu {
position: absolute;
top: 100%;
right: 0;
min-width: 155px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 6px;
padding-top: 10px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transform: translateY(0);
transition: opacity .15s;
z-index: 10001;
list-style: none;
margin: 0;
}
.hb-lang:hover .hb-lang-menu,
.hb-lang-menu:hover {
opacity: 1;
pointer-events: all;
}
.hb-lang:not(:hover) .hb-lang-menu:not(:hover) {
transition-delay: .12s;
}
.hb-lang-menu li a {
display: block;
padding: 7px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: all .12s;
}
.hb-lang-menu li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
/* โโ User dropdown โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-user {
position: relative;
}
.hb-user-btn {
display: flex;
align-items: center;
gap: 7px;
background: none;
border: none;
cursor: pointer;
padding: 4px 6px;
border-radius: 8px;
transition: background .15s;
}
.hb-user-btn:hover {
background: rgba(26, 29, 46, .05);
}
.hb-user-avatar {
width: 30px;
height: 30px;
border-radius: 50%;
background-size: cover !important;
background-position: center !important;
border: 1.5px solid var(--hb-border-md);
flex-shrink: 0;
}
.hb-user-name {
font-size: 13px;
font-weight: 600;
color: var(--hb-ink);
max-width: 110px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.hb-user-menu {
position: absolute;
top: 100%;
right: 0;
min-width: 185px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 6px;
padding-top: 12px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transform: translateY(0);
transition: opacity .15s;
z-index: 10001;
list-style: none;
margin: 0;
}
.hb-user:hover .hb-user-menu {
opacity: 1;
pointer-events: all;
}
.hb-user:not(:hover) .hb-user-menu:not(:hover) {
transition-delay: .12s;
}
.hb-user-menu li a {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: all .12s;
}
.hb-user-menu li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-user-menu li a i {
font-size: 12px;
width: 14px;
opacity: .5;
}
.hb-u-div {
height: 1px;
background: var(--hb-border);
margin: 4px 6px;
}
/* โโ Auth + Companies buttons โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-btn-login {
padding: 7px 16px;
font-size: 13px;
font-weight: 600;
color: var(--hb-ink);
background: none;
border: 1.5px solid var(--hb-border-md);
border-radius: 8px;
text-decoration: none;
transition: all .15s;
}
.hb-btn-login:hover {
color: var(--hb-ink);
border-color: var(--hb-ink);
background: rgba(26, 29, 46, .03);
}
.hb-btn-signup {
padding: 7px 16px;
font-size: 13px;
font-weight: 700;
color: #fff;
background: var(--hb-ink);
border: 1.5px solid transparent;
border-radius: 8px;
text-decoration: none;
transition: all .15s;
}
.hb-btn-signup:hover {
color: #fff;
background: var(--hb-ink-2);
box-shadow: 0 4px 14px rgba(26, 29, 46, .2);
}
.hb-btn-companies {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 15px;
font-size: 13px;
font-weight: 700;
color: #fff;
background: var(--hb-amber);
border: none;
border-radius: 8px;
text-decoration: none;
transition: all .15s;
}
.hb-btn-companies:hover {
color: #fff;
background: var(--hb-amber-lt);
box-shadow: 0 4px 14px rgba(192, 125, 42, .28);
}
/* โโ Switch-user panel (admin only) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-switch {
position: relative;
}
.hb-switch-btn {
padding: 6px 11px;
font-size: 12px;
font-weight: 600;
color: var(--hb-muted);
background: none;
border: 1px solid var(--hb-border);
border-radius: 7px;
cursor: pointer;
font-family: var(--hb-font);
transition: all .15s;
}
.hb-switch-btn:hover {
color: var(--hb-ink);
border-color: var(--hb-border-md);
}
.hb-switch-panel {
position: absolute;
top: 100%;
right: 0;
min-width: 225px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 10px;
padding-top: 14px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transform: translateY(0);
transition: opacity .15s;
z-index: 10001;
list-style: none;
margin: 0;
}
.hb-switch:hover .hb-switch-panel {
opacity: 1;
pointer-events: all;
}
.hb-switch:not(:hover) .hb-switch-panel:not(:hover) {
transition-delay: .12s;
}
.hb-switch-panel li a {
display: block;
padding: 8px 10px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: all .12s;
}
.hb-switch-panel li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-sw-div {
height: 1px;
background: var(--hb-border);
margin: 6px 0;
}
.hb-switch-panel select {
width: 100%;
font-size: 12px;
font-family: var(--hb-font);
border: 1px solid var(--hb-border-md);
border-radius: 6px;
padding: 6px 8px;
color: var(--hb-ink);
background: var(--hb-cream);
}
/* โโ Theme toggle โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-theme {
display: flex;
align-items: center;
gap: 6px;
padding: 0 2px;
}
.hb-theme-img {
width: 14px;
height: 14px;
opacity: .45;
display: block;
}
#theme-toggle-checkbox {
display: none;
}
.hb-theme-track {
position: relative;
width: 34px;
height: 19px;
background: rgba(26, 29, 46, .14);
border-radius: 10px;
cursor: pointer;
transition: background .2s;
flex-shrink: 0;
display: block;
}
.hb-theme-track::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 15px;
height: 15px;
background: white;
border-radius: 50%;
box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
transition: transform .2s;
}
.hb-theme-track.hb-dark {
background: var(--hb-amber);
}
.hb-theme-track.hb-dark::after {
transform: translateX(15px);
}
/* โโ Mobile hamburger โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-toggler {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
flex-direction: column;
gap: 5px;
border-radius: 7px;
margin-left: auto;
flex-shrink: 0;
transition: background .15s;
}
.hb-toggler:hover {
background: rgba(26, 29, 46, .06);
}
.hb-toggler span {
display: block;
width: 21px;
height: 1.5px;
background: var(--hb-ink);
border-radius: 2px;
transition: all .22s;
}
.hb-toggler.hb-open span:nth-child(1) {
transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hb-toggler.hb-open span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
.hb-toggler.hb-open span:nth-child(3) {
transform: rotate(-45deg) translate(4.5px, -4.5px);
}
/* โโ Responsive โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
@media (max-width: 1024px) {
.hb-toggler {
display: flex;
}
.hb-links, .hb-nav-right {
display: none;
}
.hb-nav-inner {
height: 56px;
}
.hb-navbar.hb-open .hb-nav-inner {
height: auto;
flex-wrap: wrap;
padding-top: 12px;
padding-bottom: 14px;
align-items: flex-start;
}
.hb-navbar.hb-open .hb-links {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
flex: 0 0 100%;
gap: 2px; /* flex: 0 0 100% overrides base flex:1 to force row wrap */
}
.hb-navbar.hb-open .hb-links .hb-link,
.hb-navbar.hb-open .hb-links .hb-drop {
width: 100%;
}
.hb-navbar.hb-open .hb-links .hb-link > a,
.hb-navbar.hb-open .hb-links .hb-drop > a {
width: 100%;
justify-content: space-between;
}
.hb-navbar.hb-open .hb-dd-menu {
position: static;
transform: none;
opacity: 0;
pointer-events: none;
display: none;
box-shadow: none;
border: none;
background: rgba(26, 29, 46, .03);
border-radius: 7px;
margin: 2px 0 2px 12px;
}
.hb-navbar.hb-open .hb-drop.hb-mob-open .hb-dd-menu {
display: block;
opacity: 1;
pointer-events: all;
}
.hb-navbar.hb-open .hb-nav-right {
display: flex;
flex-wrap: wrap;
width: 100%;
flex: 0 0 100%;
gap: 8px;
padding-top: 12px;
border-top: 1px solid var(--hb-border);
margin-top: 4px;
}
}
/* โโ Body offset for fixed navbar โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
body {
padding-top: 64px;
}
@media (max-width: 1024px) {
body {
padding-top: 56px;
}
}
/* โโ Processing loader โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
#buddybee_processing_loader {
position: fixed;
inset: 0;
background: rgba(247, 245, 240, .88);
backdrop-filter: blur(4px);
z-index: 999999;
display: none;
align-items: center;
justify-content: center;
}
#buddybee_processing_loader div {
background: var(--hb-white);
border-radius: 14px;
padding: 28px 44px;
box-shadow: 0 12px 40px rgba(26, 29, 46, .12);
text-align: center;
}
#buddybee_processing_loader p {
color: var(--hb-ink);
font-weight: 700;
font-size: 12px;
letter-spacing: .1em;
text-transform: uppercase;
margin: 0;
font-family: var(--hb-font);
}
a:hover {
text-decoration: none;
}
</style>
<nav class=\"hb-navbar\" id=\"hbNavbar\">
<div class=\"hb-nav-inner\">
";
// line 996
yield " <a class=\"hb-brand\" href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("dashboard");
yield "\">
<img src=\"";
// line 997
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("dashboard")), "html", null, true);
yield "honeybee_web_assets/icons/honeybeeicon.svg?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "\"
alt=\"HoneyBee\">
<span class=\"hb-brand-name\">Honey<b>Bee</b></span>
</a>
";
// line 1003
yield " <button class=\"hb-toggler\" id=\"hbToggler\" aria-label=\"Open menu\" type=\"button\">
<span></span><span></span><span></span>
</button>
";
// line 1008
yield " <ul class=\"hb-links\">
<li class=\"hb-link\">
<a href=\"";
// line 1010
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_product");
yield "\"
class=\"";
// line 1011
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1011, $this->source); })()), "request", [], "any", false, false, false, 1011), "get", ["_route"], "method", false, false, false, 1011), "honeybee_product"))) ? ("active") : (""));
yield " trn\"
data-trn-key=\"_PRODUCTS_\">Product</a>
</li>
<li class=\"hb-link\">
<a href=\"";
// line 1015
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_solutions");
yield "\"
class=\"";
// line 1016
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1016, $this->source); })()), "request", [], "any", false, false, false, 1016), "get", ["_route"], "method", false, false, false, 1016), "honeybee_solutions"))) ? ("active") : (""));
yield "\">Solutions</a>
</li>
<li class=\"hb-link\">
<a href=\"";
// line 1019
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_pricing");
yield "\"
class=\"";
// line 1020
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1020, $this->source); })()), "request", [], "any", false, false, false, 1020), "get", ["_route"], "method", false, false, false, 1020), "honeybee_pricing"))) ? ("active") : (""));
yield " trn\"
data-trn-key=\"_PRICING_\">Pricing</a>
</li>
<li class=\"hb-link\">
<a href=\"";
// line 1024
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_partners");
yield "\"
class=\"";
// line 1025
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1025, $this->source); })()), "request", [], "any", false, false, false, 1025), "get", ["_route"], "method", false, false, false, 1025), "honeybee_partners"))) ? ("active") : (""));
yield "\">Partners</a>
</li>
<li class=\"hb-drop\">
<a href=\"#\">Company <i class=\"fa-solid fa-chevron-down hb-caret\"></i></a>
<ul class=\"hb-dd-menu\">
<li><a href=\"";
// line 1030
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_about_us");
yield "\"
class=\"";
// line 1031
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1031, $this->source); })()), "request", [], "any", false, false, false, 1031), "get", ["_route"], "method", false, false, false, 1031), "honeybee_about_us"))) ? ("active") : (""));
yield "\">About</a></li>
<li><a href=\"";
// line 1032
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_FAQ");
yield "\"
class=\"";
// line 1033
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1033, $this->source); })()), "request", [], "any", false, false, false, 1033), "get", ["_route"], "method", false, false, false, 1033), "honeybee_FAQ"))) ? ("active") : (""));
yield "\">FAQ</a></li>
<li><a href=\"";
// line 1034
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_contact");
yield "\"
class=\"";
// line 1035
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1035, $this->source); })()), "request", [], "any", false, false, false, 1035), "get", ["_route"], "method", false, false, false, 1035), "honeybee_contact"))) ? ("active") : (""));
yield "\">Contact</a>
</li>
</ul>
</li>
</ul>
";
// line 1042
yield " <div class=\"hb-nav-right\">
";
// line 1045
yield " <div class=\"hb-lang\">
<button class=\"hb-lang-btn\" type=\"button\">
<i class=\"fa-solid fa-globe\" style=\"font-size:12px\"></i>
<span class=\"curr_locale_text\">en</span>
<i class=\"fa-solid fa-chevron-down\" style=\"font-size:8px;opacity:.5\"></i>
</button>
<ul class=\"hb-lang-menu\">
<li><a href=\"#\" class=\"locale_changer en\" data-locale=\"en\">๐ฌ๐ง English</a></li>
<li><a href=\"#\" class=\"locale_changer bn\" data-locale=\"bn\">๐ง๐ฉ เฆฌเฆพเฆเฆฒเฆพ</a></li>
<li><a href=\"#\" class=\"locale_changer it\" data-locale=\"it\">๐ฎ๐น Italiano</a></li>
<li><a href=\"#\" class=\"locale_changer de\" data-locale=\"de\">๐ฉ๐ช Deutsch</a></li>
<li><a href=\"#\" class=\"locale_changer fr\" data-locale=\"fr\">๐ซ๐ท Franรงais</a></li>
<li><a href=\"#\" class=\"locale_changer sp\" data-locale=\"sp\">๐ช๐ธ Espaรฑol</a></li>
<li><a href=\"#\" class=\"locale_changer cn\" data-locale=\"cn\">๐จ๐ณ ไธญๆ</a></li>
</ul>
</div>
";
// line 1063
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 1063, $this->source); })()), "USER_ID", [], "any", false, false, false, 1063), [], "array", true, true, false, 1063) && ((0 <= CoreExtension::compare((isset($context["BUDDYBEE_ADMIN_LEVEL"]) || array_key_exists("BUDDYBEE_ADMIN_LEVEL", $context) ? $context["BUDDYBEE_ADMIN_LEVEL"] : (function () { throw new RuntimeError('Variable "BUDDYBEE_ADMIN_LEVEL" does not exist.', 1063, $this->source); })()), 1)) || CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), "actualUserIsAdmin", [], "array", true, true, false, 1063)))) {
// line 1064
yield " <div class=\"hb-switch\">
<button class=\"hb-switch-btn\" type=\"button\">Switch User</button>
<ul class=\"hb-switch-panel\">
<li>
<a href=\"";
// line 1068
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\HttpFoundationExtension']->generateAbsoluteUrl($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("view_as_user_central")), "html", null, true);
yield "/";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), "actualUserId", [], "array", true, true, false, 1068)) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 1068, $this->source); })()), "actualUserId", [], "array", false, false, false, 1068)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 1068, $this->source); })()), "userId", [], "array", false, false, false, 1068))), "html", null, true);
yield "\">
โฉ Back to Mine
</a>
</li>
<li class=\"hb-sw-div\"></li>
<li style=\"padding:2px 0\"><select name=\"viewAsId\" id=\"viewAsId\"></select></li>
</ul>
</div>
";
}
// line 1077
yield "
";
// line 1078
if (CoreExtension::getAttribute($this->env, $this->source, ($context["session"] ?? null), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 1078, $this->source); })()), "USER_ID", [], "any", false, false, false, 1078), [], "array", true, true, false, 1078)) {
// line 1079
yield "
";
// line 1081
yield " <div class=\"hb-user\">
<button class=\"hb-user-btn\" type=\"button\">
<div class=\"hb-user-avatar\"
";
// line 1084
if (((0 !== CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 1084, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 1084, $this->source); })()), "USER_IMAGE", [], "any", false, false, false, 1084), [], "array", false, false, false, 1084), "")) && !(null === CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 1084, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 1084, $this->source); })()), "USER_IMAGE", [], "any", false, false, false, 1084), [], "array", false, false, false, 1084)))) {
// line 1085
yield " style=\"background:url('";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("dashboard");
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 1085, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 1085, $this->source); })()), "USER_IMAGE", [], "any", false, false, false, 1085), [], "array", false, false, false, 1085), "html", null, true);
yield "?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "')\"
";
} else {
// line 1087
yield " style=\"background:url('";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("dashboard");
yield "honeybee_web_assets/images/profiles/profile.png?v=";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::constant("ApplicationBundle\\Constants\\GeneralConstant::ENTITY_APP_VERSION"), "html", null, true);
yield "')\"
";
}
// line 1089
yield " ></div>
<span class=\"hb-user-name\">";
// line 1090
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["session"]) || array_key_exists("session", $context) ? $context["session"] : (function () { throw new RuntimeError('Variable "session" does not exist.', 1090, $this->source); })()), CoreExtension::getAttribute($this->env, $this->source, (isset($context["UserConstants"]) || array_key_exists("UserConstants", $context) ? $context["UserConstants"] : (function () { throw new RuntimeError('Variable "UserConstants" does not exist.', 1090, $this->source); })()), "USER_NAME", [], "any", false, false, false, 1090), [], "array", false, false, false, 1090), "html", null, true);
yield "</span>
<i class=\"fa-solid fa-chevron-down\" style=\"font-size:9px;color:var(--hb-muted);opacity:.55\"></i>
</button>
<ul class=\"hb-user-menu\">
<li>
<a href=\"";
// line 1095
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_my_freelancer_profile");
yield "\"
class=\"";
// line 1096
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1096, $this->source); })()), "request", [], "any", false, false, false, 1096), "get", ["_route"], "method", false, false, false, 1096), "honeybee_my_freelancer_profile"))) ? ("active") : (""));
yield "\">
<i class=\"fa-regular fa-circle-user\"></i> Profile
</a>
</li>
<li>
<a href=\"";
// line 1101
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("ticket_list");
yield "\"
class=\"";
// line 1102
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1102, $this->source); })()), "request", [], "any", false, false, false, 1102), "get", ["_route"], "method", false, false, false, 1102), "ticket_list"))) ? ("active") : (""));
yield "\">
<i class=\"fa-regular fa-ticket\"></i> <span class=\"trn\" data-trn-key=\"_MY_TICKETS_\">My Tickets</span>
</a>
</li>
<li>
<a href=\"";
// line 1107
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("central_landing");
yield "\"
class=\"";
// line 1108
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1108, $this->source); })()), "request", [], "any", false, false, false, 1108), "get", ["_route"], "method", false, false, false, 1108), "central_landing"))) ? ("active") : (""));
yield "\">
<i class=\"fas fa-border-all\"></i> <span class=\"trn\" data-trn-key=\"_MY_COMPANIES_\">My Companies</span>
</a>
</li>
";
// line 1112
if ((0 <= CoreExtension::compare((isset($context["BUDDYBEE_ADMIN_LEVEL"]) || array_key_exists("BUDDYBEE_ADMIN_LEVEL", $context) ? $context["BUDDYBEE_ADMIN_LEVEL"] : (function () { throw new RuntimeError('Variable "BUDDYBEE_ADMIN_LEVEL" does not exist.', 1112, $this->source); })()), 1))) {
// line 1113
yield " <li class=\"hb-u-div\"></li>
<li>
<a href=\"";
// line 1115
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("super_admin_command_center");
yield "\"
class=\"";
// line 1116
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1116, $this->source); })()), "request", [], "any", false, false, false, 1116), "get", ["_route"], "method", false, false, false, 1116), "super_admin_command_center"))) ? ("active") : (""));
yield "\">
<i class=\"fa-solid fa-gauge-high\"></i> Super Admin
</a>
</li>
<li class=\"hb-u-div\"></li>
<li>
<a href=\"";
// line 1122
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("datev_home");
yield "\"
class=\"";
// line 1123
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1123, $this->source); })()), "request", [], "any", false, false, false, 1123), "get", ["_route"], "method", false, false, false, 1123), "datev_home"))) ? ("active") : (""));
yield "\">
<i class=\"fa-solid fa-gauge-high\"></i> Datev Control
</a>
</li>
";
}
// line 1129
yield " ";
if ((1 === CoreExtension::compare((isset($context["BUDDYBEE_ADMIN_LEVEL"]) || array_key_exists("BUDDYBEE_ADMIN_LEVEL", $context) ? $context["BUDDYBEE_ADMIN_LEVEL"] : (function () { throw new RuntimeError('Variable "BUDDYBEE_ADMIN_LEVEL" does not exist.', 1129, $this->source); })()), 1))) {
// line 1130
yield " <li class=\"hb-u-div\"></li>
<li>
<a href=\"";
// line 1132
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_demo_pending_list");
yield "\"
class=\"";
// line 1133
yield ((CoreExtension::inFilter(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1133, $this->source); })()), "request", [], "any", false, false, false, 1133), "get", ["_route"], "method", false, false, false, 1133), ["admin_demo_pending_list", "admin_demo_request_detail"])) ? ("active") : (""));
yield "\">
<i class=\"fa-solid fa-calendar-check\"></i> Demo Requests
</a>
</li>
<li>
<a href=\"";
// line 1138
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("admin_demo_all_list");
yield "\"
class=\"";
// line 1139
yield (((0 === CoreExtension::compare(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1139, $this->source); })()), "request", [], "any", false, false, false, 1139), "get", ["_route"], "method", false, false, false, 1139), "admin_demo_all_list"))) ? ("active") : (""));
yield "\">
<i class=\"fa-solid fa-list-check\"></i> All Bookings
</a>
</li>
";
}
// line 1144
yield " <li class=\"hb-u-div\"></li>
<li>
<a href=\"";
// line 1146
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_logout");
yield "\" style=\"color:#B04030\">
<i class=\"fa-solid fa-right-from-bracket\"></i> Logout
</a>
</li>
</ul>
</div>
";
// line 1154
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("central_landing");
yield "\" class=\"hb-btn-companies trn\" data-trn-key=\"_COMPANIES_\">
<i class=\"fa-solid fa-building\" style=\"font-size:11px\"></i>
<span>Companies</span>
</a>
";
// line 1160
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_contact");
yield "\" class=\"hb-btn-companies\" style=\"background:var(--hb-amber)\">Book
Demo</a>
";
} else {
// line 1164
yield "
";
// line 1166
yield " <a href=\"";
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_login");
yield "\" class=\"hb-btn-login trn\" data-trn-key=\"_LOGIN_\">Login</a>
<a href=\"";
// line 1167
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("sign_up");
yield "\" class=\"hb-btn-signup trn\" data-trn-key=\"_CREATE_ACCOUNT_\">Get Started</a>
<a href=\"";
// line 1168
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("honeybee_contact");
yield "\" class=\"hb-btn-companies\" style=\"background:var(--hb-amber)\">Book
Demo</a>
";
}
// line 1172
yield "
";
// line 1174
yield " ";
// line 1175
yield " ";
// line 1176
yield " ";
// line 1177
yield " ";
// line 1178
yield " ";
// line 1179
yield " ";
// line 1180
yield "
</div>";
// line 1182
yield " </div>";
// line 1183
yield "</nav>
";
// line 1186
yield "<script>
(function () {
var saved = localStorage.getItem('theme') || 'light';
if (saved === 'dark') {
var css = document.getElementById('dark-theme-css');
var cb = document.getElementById('theme-toggle-checkbox');
var track = document.getElementById('hbThemeTrack');
if (css) css.disabled = false;
if (cb) cb.checked = true;
if (track) track.classList.add('hb-dark');
}
}());
</script>
";
// line 1201
yield "<script>
(function () {
var navbar = document.getElementById('hbNavbar');
var toggler = document.getElementById('hbToggler');
window.addEventListener('scroll', function () {
navbar.classList.toggle('hb-scrolled', window.scrollY > 6);
}, {passive: true});
if (toggler) {
toggler.addEventListener('click', function () {
navbar.classList.toggle('hb-open');
toggler.classList.toggle('hb-open');
});
}
navbar.querySelectorAll('.hb-drop > a').forEach(function (a) {
a.addEventListener('click', function (e) {
if (window.innerWidth <= 1024) {
e.preventDefault();
a.closest('.hb-drop').classList.toggle('hb-mob-open');
}
});
});
var cb = document.getElementById('theme-toggle-checkbox');
var track = document.getElementById('hbThemeTrack');
if (cb && track) {
track.addEventListener('click', function () {
changeTheme(!cb.checked);
});
}
}());
</script>
";
// line 1237
yield "<script>
document.body.style.overflow = 'hidden';
window.addEventListener('load', function () {
var pre = document.getElementById('hb-preloader');
if (pre) {
pre.style.transition = 'opacity .35s ease';
pre.style.opacity = '0';
setTimeout(function () {
pre.style.display = 'none';
}, 360);
}
document.body.style.overflow = 'auto';
});
</script>
";
// line 1253
$context["full_js_included"] = 0;
}
// line 1255
yield "
<input type=\"hidden\" id=\"timeStampOnHeaderLoad\" value=\"";
// line 1256
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "U"), "html", null, true);
yield "\">
";
// line 1257
yield from $this->loadTemplate("@Application/inc/ajax_route_library.html.twig", "@Application/inc/central_header.html.twig", 1257)->unwrap()->yield($context);
// line 1258
yield "
";
// line 1260
yield "<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-datetimepicker/2.7.1/js/bootstrap-material-datetimepicker.min.js\"></script>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "@Application/inc/central_header.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 1616 => 1260, 1613 => 1258, 1611 => 1257, 1607 => 1256, 1604 => 1255, 1601 => 1253, 1583 => 1237, 1546 => 1201, 1530 => 1186, 1526 => 1183, 1524 => 1182, 1521 => 1180, 1519 => 1179, 1517 => 1178, 1515 => 1177, 1513 => 1176, 1511 => 1175, 1509 => 1174, 1506 => 1172, 1499 => 1168, 1495 => 1167, 1490 => 1166, 1487 => 1164, 1479 => 1160, 1470 => 1154, 1460 => 1146, 1456 => 1144, 1448 => 1139, 1444 => 1138, 1436 => 1133, 1432 => 1132, 1428 => 1130, 1425 => 1129, 1416 => 1123, 1412 => 1122, 1403 => 1116, 1399 => 1115, 1395 => 1113, 1393 => 1112, 1386 => 1108, 1382 => 1107, 1374 => 1102, 1370 => 1101, 1362 => 1096, 1358 => 1095, 1350 => 1090, 1347 => 1089, 1339 => 1087, 1330 => 1085, 1328 => 1084, 1323 => 1081, 1320 => 1079, 1318 => 1078, 1315 => 1077, 1301 => 1068, 1295 => 1064, 1292 => 1063, 1273 => 1045, 1269 => 1042, 1260 => 1035, 1256 => 1034, 1252 => 1033, 1248 => 1032, 1244 => 1031, 1240 => 1030, 1232 => 1025, 1228 => 1024, 1221 => 1020, 1217 => 1019, 1211 => 1016, 1207 => 1015, 1200 => 1011, 1196 => 1010, 1192 => 1008, 1186 => 1003, 1176 => 997, 1171 => 996, 430 => 256, 424 => 249, 410 => 239, 406 => 237, 403 => 235, 399 => 233, 395 => 231, 393 => 230, 390 => 229, 388 => 228, 385 => 226, 381 => 224, 378 => 223, 376 => 222, 374 => 221, 372 => 220, 358 => 207, 352 => 203, 320 => 173, 315 => 170, 313 => 169, 298 => 156, 227 => 86, 223 => 83, 216 => 81, 209 => 78, 202 => 76, 195 => 74, 187 => 71, 180 => 69, 173 => 67, 162 => 58, 154 => 51, 147 => 46, 143 => 45, 137 => 44, 130 => 42, 123 => 40, 116 => 38, 113 => 37, 110 => 35, 106 => 33, 102 => 31, 99 => 30, 97 => 29, 93 => 28, 88 => 26, 83 => 24, 78 => 22, 71 => 18, 62 => 11, 60 => 10, 54 => 8, 49 => 7, 46 => 6, 44 => 5,);
}
public function getSourceContext()
{
return new Source("{# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Central Header โ HoneyBee Ecosystem
Scandinavian SaaS design ยท single source of truth for all public pages
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
{% if not include_html is defined %}
{% set include_html = 1 %}
{% if app.request.request.get('skipHTML') != '' %}{% set include_html = 0 %}{% endif %}
{% if app.request.query.get('skipHTML') != '' %}{% set include_html = 0 %}{% endif %}
{% endif %}
{% if include_html == 1 %}
<!DOCTYPE html>
<html lang=\"en\">
<head>
<meta charset=\"UTF-8\">
<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui\">
<meta name=\"description\"
content=\"{{ og_description is defined ? og_description : 'HoneyBee โ The digital operating layer for EPC, energy, and multi-site industrial operations. Unify finance, projects, IoT, Edge+ site intelligence, billing and AI reporting. From โฌ7.99/user/month.' }}\">
<meta name=\"keywords\"
content=\"HoneyBee, EPC software, system integrator platform, energy asset management, IoT Edge+ deployment, project lifecycle software, industrial operations, DATEV accounting, multi-site management\">
<meta name=\"author\" content=\"HoneyBee Ecosystem\">
<title id=\"pageTitle\">{{ page_title }}</title>
<meta property=\"og:title\" content=\"{{ og_title is defined ? og_title : page_title }}\"/>
<meta property=\"og:description\"
content=\"{{ og_description is defined ? og_description : 'HoneyBee โ Operating system for EPC companies, system integrators, energy asset owners, and multi-site industrial businesses.' }}\"/>
<meta property=\"og:image\"
content=\"{{ og_image is defined ? (absolute_url(path('dashboard'))~og_image) : (absolute_url(path('dashboard'))~'honeybee_web_assets/icons/honeybeeicon.svg') }}\"/>
{% set _noindex_routes = ['user_login','sign_up','reset_password','verify_email','verify_otp','reset_new_password','honeybee_otp_verification'] %}
{% if app.request.get('_route') in _noindex_routes %}
<meta name=\"robots\" content=\"noindex, nofollow\">
{% else %}
<meta name=\"robots\" content=\"index, follow\">
{% endif %}
{# โโ Favicons โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<link rel=\"shortcut icon\" type=\"image/x-icon\"
href=\"{{ asset('favicon.ico') }}?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"apple-touch-icon\" sizes=\"180x180\"
href=\"{{ asset('apple-icon.png') }}?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"32x32\"
href=\"{{ asset('favicon-32x32.png') }}?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"icon\" type=\"image/png\" sizes=\"16x16\"
href=\"{{ asset('favicon-16x16.png') }}?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"manifest\" href=\"{{ asset('site.webmanifest') }}\">
<link rel=\"mask-icon\" href=\"{{ asset('safari-pinned-tab.svg') }}\" color=\"#C07D2A\">
<meta name=\"msapplication-TileColor\" content=\"#1A1D2E\">
<meta name=\"theme-color\" content=\"#F7F5F0\">
{# โโ Fonts โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">
<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>
<link href=\"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Montserrat:wght@500&display=swap\"
rel=\"stylesheet\">
<link href=\"https://fonts.googleapis.com/icon?family=Material+Icons\" rel=\"stylesheet\">
{# โโ Core stylesheets โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css\"
integrity=\"sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==\"
crossorigin=\"anonymous\" referrerpolicy=\"no-referrer\">
<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css\">
<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css\">
<link rel=\"stylesheet\"
href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-datetimepicker/2.7.1/css/bootstrap-material-datetimepicker.min.css\">
<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.13.3/css/selectize.css\">
<link rel=\"stylesheet\"
href=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/bootstrap.css?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"stylesheet\"
href=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/style.css?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"stylesheet\" id=\"dark-theme-css\"
href=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/dark.css?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\"
disabled=\"true\">
<link rel=\"stylesheet\"
href=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/responsive.css?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"stylesheet\"
href=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/central_responsive.css?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
<link rel=\"stylesheet\"
href=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/css/temporary_inline.css?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\">
{# โโ Dev toolbar suppression โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<style>{% if app.session.get('devAdminMode') != 1 %}.sf-toolbar {
display: none !important
}{% endif %}</style>
{# โโ Preloader โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<style>
#hb-preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background: #F7F5F0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 99999;
}
.hb-pre-logo {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 28px;
}
.hb-pre-logo img {
width: 34px;
height: 34px;
}
.hb-pre-logo span {
font-family: 'DM Sans', sans-serif;
font-size: 17px;
font-weight: 800;
color: #1A1D2E;
letter-spacing: -.01em;
}
.hb-pre-logo span b {
color: #C07D2A;
font-weight: 800;
}
.hb-pre-bar-wrap {
width: 120px;
height: 2px;
background: rgba(26, 29, 46, .08);
border-radius: 2px;
overflow: hidden;
}
.hb-pre-bar {
height: 100%;
width: 40%;
background: #C07D2A;
border-radius: 2px;
animation: hb-slide 1.5s ease-in-out infinite;
}
@keyframes hb-slide {
0% {
transform: translateX(-100%);
}
50% {
transform: translateX(250%);
}
100% {
transform: translateX(-100%);
}
}
</style>
{# โโ Inline JS (runs before body paint) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<script>
var logger = (function () {
var _old = null, pub = {};
pub.enableLogger = function () {
if (_old) window['console']['log'] = _old;
};
pub.disableLogger = function () {
_old = console.log;
window['console']['log'] = function () {
};
};
return pub;
}());
{% if app.session.get('devAdminMode') != 1 %}
window['console']['log'] = function () {
};
{% endif %}
</script>
<script>
function changeTheme(isDark) {
var darkCss = document.getElementById('dark-theme-css');
var cb = document.getElementById('theme-toggle-checkbox');
var track = document.getElementById('hbThemeTrack');
document.querySelectorAll('img').forEach(function (img) {
if (isDark) {
img.src = img.src.replace('/honeybee_web_assets/', '/honeybee_web_assets/dark/');
} else {
img.src = img.src.replace('/honeybee_web_assets/dark/', '/honeybee_web_assets/');
}
});
if (darkCss) darkCss.disabled = !isDark;
if (cb) cb.checked = isDark;
if (track) track.classList.toggle('hb-dark', isDark);
localStorage.setItem('theme', isDark ? 'dark' : 'light');
}
</script>
<script>if (typeof module === 'object') {
window.module = module;
module = undefined;
}</script>
<script src=\"https://code.jquery.com/jquery-3.4.1.min.js\"
integrity=\"sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=\" crossorigin=\"anonymous\"></script>
<script data-ad-client=\"ca-pub-8286883017903771\" async
src=\"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js\"></script>
<script>var BaseURL = '{{ url('dashboard') }}';</script>
</head>
{# โโ Google Analytics โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<script async src=\"https://www.googletagmanager.com/gtag/js?id=G-V22132YMJ3\"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-V22132YMJ3');
</script>
{# โโ Resolve admin level & consultant flag โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
{% set BUDDYBEE_ADMIN_LEVEL = 0 %}
{% set isConsultant = 0 %}
{% if session[UserConstants.USER_ID] is defined %}
{% set isConsultant = session[UserConstants.IS_CONSULTANT] is defined ? session[UserConstants.IS_CONSULTANT] : 0 %}
{% set BUDDYBEE_ADMIN_LEVEL = session[UserConstants.BUDDYBEE_ADMIN_LEVEL] is defined ? session[UserConstants.BUDDYBEE_ADMIN_LEVEL] : 0 %}
{% endif %}
{# Single <body> tag โ classes set in one place, no duplicate tags #}
{% if BUDDYBEE_ADMIN_LEVEL >= 1 %}
<body class=\"buddybee_body has_admin_bar body-mask\">
{% elseif session[UserConstants.USER_ID] is defined %}
<body class=\"buddybee_body body-mask\">
{% else %}
<body class=\"body-mask\">
{% endif %}
{# โโ Preloader โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<div id=\"hb-preloader\">
<div class=\"hb-pre-logo\">
<img src=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/icons/honeybeeicon.svg?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\"
alt=\"HoneyBee\">
<span>Honey<b>Bee</b></span>
</div>
<div class=\"hb-pre-bar-wrap\">
<div class=\"hb-pre-bar\"></div>
</div>
</div>
{# โโ Processing overlay (shown during AJAX) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<div id=\"buddybee_processing_loader\">
<div><p>Processing</p></div>
</div>
{# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ NAVBAR โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Scandinavian navbar: glass-morphism, fixed, minimal, fully responsive
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<style>
/* โโ Design tokens โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
:root {
--hb-ink: #1A1D2E;
--hb-ink-2: #252840;
--hb-amber: #C07D2A;
--hb-amber-lt: #D4954A;
--hb-muted: #6B6E7F;
--hb-border: rgba(26, 29, 46, .08);
--hb-border-md: rgba(26, 29, 46, .14);
--hb-cream: #F7F5F0;
--hb-white: #FFFFFF;
--hb-shadow: 0 2px 20px rgba(26, 29, 46, .07);
--hb-shadow-lg: 0 8px 32px rgba(26, 29, 46, .10);
--hb-radius: 10px;
--hb-font: 'DM Sans', 'Gilroy', system-ui, sans-serif;
}
/* โโ Navbar shell โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 9999;
background: rgba(247, 245, 240, .97);
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid var(--hb-border);
transition: box-shadow .2s, border-color .2s;
font-family: var(--hb-font);
}
.hb-navbar.hb-scrolled {
box-shadow: var(--hb-shadow);
border-color: var(--hb-border-md);
}
/* โโ Inner container โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-nav-inner {
max-width: 1280px;
margin: 0 auto;
padding: 0 28px;
height: 64px;
display: flex;
align-items: center;
gap: 24px;
}
/* โโ Brand โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-brand {
display: flex;
align-items: center;
gap: 9px;
text-decoration: none;
flex-shrink: 0;
}
.hb-brand img {
height: 30px;
width: auto;
}
.hb-brand-name {
font-size: 15.5px;
font-weight: 800;
color: var(--hb-ink);
letter-spacing: -.01em;
line-height: 1;
}
.hb-brand-name b {
color: var(--hb-amber);
font-weight: 800;
}
/* โโ Nav links โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-links {
display: flex;
align-items: center;
gap: 2px;
list-style: none;
margin: 0;
padding: 0;
flex: 1;
}
.hb-links .hb-link > a,
.hb-links .hb-drop > a {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 7px 11px;
font-size: 13.5px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 7px;
white-space: nowrap;
transition: color .15s, background .15s;
position: relative;
}
.hb-links .hb-link > a:hover,
.hb-links .hb-drop > a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-links .hb-link > a.active {
color: var(--hb-ink);
font-weight: 600;
}
.hb-links .hb-link > a.active::after {
content: '';
position: absolute;
bottom: 2px;
left: 11px;
right: 11px;
height: 1.5px;
background: var(--hb-amber);
border-radius: 2px;
}
/* โโ Dropdown โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-drop {
position: relative;
}
.hb-caret {
font-size: 9px;
opacity: .5;
transition: transform .2s;
}
.hb-drop:hover .hb-caret {
transform: rotate(180deg);
}
.hb-dd-menu {
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%) translateY(0);
min-width: 195px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 6px;
padding-top: 12px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transition: opacity .16s, transform .16s;
transition-delay: 0s, 0s; /* show instantly */
list-style: none;
margin: 0;
z-index: 10001;
}
.hb-drop:hover .hb-dd-menu,
.hb-dd-menu:hover {
opacity: 1;
pointer-events: all;
transform: translateX(-50%) translateY(0);
}
.hb-drop:not(:hover) .hb-dd-menu:not(:hover) {
transition-delay: .12s;
}
/* slight lag on hide */
.hb-dd-menu li a {
display: block;
padding: 8px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: color .12s, background .12s;
}
.hb-dd-menu li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-dd-menu li a.active {
color: var(--hb-ink);
font-weight: 600;
}
.hb-dd-div {
height: 1px;
background: var(--hb-border);
margin: 4px 6px;
}
/* โโ Right side โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-nav-right {
display: flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
}
/* โโ Language switcher โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-lang {
position: relative;
}
.hb-lang-btn {
display: flex;
align-items: center;
gap: 5px;
padding: 6px 10px;
font-size: 12.5px;
font-weight: 600;
color: var(--hb-muted);
background: none;
border: 1px solid var(--hb-border);
border-radius: 7px;
cursor: pointer;
transition: all .15s;
font-family: var(--hb-font);
}
.hb-lang-btn:hover {
color: var(--hb-ink);
border-color: var(--hb-border-md);
background: rgba(26, 29, 46, .03);
}
.hb-lang-menu {
position: absolute;
top: 100%;
right: 0;
min-width: 155px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 6px;
padding-top: 10px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transform: translateY(0);
transition: opacity .15s;
z-index: 10001;
list-style: none;
margin: 0;
}
.hb-lang:hover .hb-lang-menu,
.hb-lang-menu:hover {
opacity: 1;
pointer-events: all;
}
.hb-lang:not(:hover) .hb-lang-menu:not(:hover) {
transition-delay: .12s;
}
.hb-lang-menu li a {
display: block;
padding: 7px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: all .12s;
}
.hb-lang-menu li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
/* โโ User dropdown โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-user {
position: relative;
}
.hb-user-btn {
display: flex;
align-items: center;
gap: 7px;
background: none;
border: none;
cursor: pointer;
padding: 4px 6px;
border-radius: 8px;
transition: background .15s;
}
.hb-user-btn:hover {
background: rgba(26, 29, 46, .05);
}
.hb-user-avatar {
width: 30px;
height: 30px;
border-radius: 50%;
background-size: cover !important;
background-position: center !important;
border: 1.5px solid var(--hb-border-md);
flex-shrink: 0;
}
.hb-user-name {
font-size: 13px;
font-weight: 600;
color: var(--hb-ink);
max-width: 110px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.hb-user-menu {
position: absolute;
top: 100%;
right: 0;
min-width: 185px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 6px;
padding-top: 12px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transform: translateY(0);
transition: opacity .15s;
z-index: 10001;
list-style: none;
margin: 0;
}
.hb-user:hover .hb-user-menu {
opacity: 1;
pointer-events: all;
}
.hb-user:not(:hover) .hb-user-menu:not(:hover) {
transition-delay: .12s;
}
.hb-user-menu li a {
display: flex;
align-items: center;
gap: 8px;
padding: 8px 12px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: all .12s;
}
.hb-user-menu li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-user-menu li a i {
font-size: 12px;
width: 14px;
opacity: .5;
}
.hb-u-div {
height: 1px;
background: var(--hb-border);
margin: 4px 6px;
}
/* โโ Auth + Companies buttons โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-btn-login {
padding: 7px 16px;
font-size: 13px;
font-weight: 600;
color: var(--hb-ink);
background: none;
border: 1.5px solid var(--hb-border-md);
border-radius: 8px;
text-decoration: none;
transition: all .15s;
}
.hb-btn-login:hover {
color: var(--hb-ink);
border-color: var(--hb-ink);
background: rgba(26, 29, 46, .03);
}
.hb-btn-signup {
padding: 7px 16px;
font-size: 13px;
font-weight: 700;
color: #fff;
background: var(--hb-ink);
border: 1.5px solid transparent;
border-radius: 8px;
text-decoration: none;
transition: all .15s;
}
.hb-btn-signup:hover {
color: #fff;
background: var(--hb-ink-2);
box-shadow: 0 4px 14px rgba(26, 29, 46, .2);
}
.hb-btn-companies {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 7px 15px;
font-size: 13px;
font-weight: 700;
color: #fff;
background: var(--hb-amber);
border: none;
border-radius: 8px;
text-decoration: none;
transition: all .15s;
}
.hb-btn-companies:hover {
color: #fff;
background: var(--hb-amber-lt);
box-shadow: 0 4px 14px rgba(192, 125, 42, .28);
}
/* โโ Switch-user panel (admin only) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-switch {
position: relative;
}
.hb-switch-btn {
padding: 6px 11px;
font-size: 12px;
font-weight: 600;
color: var(--hb-muted);
background: none;
border: 1px solid var(--hb-border);
border-radius: 7px;
cursor: pointer;
font-family: var(--hb-font);
transition: all .15s;
}
.hb-switch-btn:hover {
color: var(--hb-ink);
border-color: var(--hb-border-md);
}
.hb-switch-panel {
position: absolute;
top: 100%;
right: 0;
min-width: 225px;
background: var(--hb-white);
border: 1px solid var(--hb-border-md);
border-radius: var(--hb-radius);
box-shadow: var(--hb-shadow-lg);
padding: 10px;
padding-top: 14px; /* gap lives inside โ no dead zone */
opacity: 0;
pointer-events: none;
transform: translateY(0);
transition: opacity .15s;
z-index: 10001;
list-style: none;
margin: 0;
}
.hb-switch:hover .hb-switch-panel {
opacity: 1;
pointer-events: all;
}
.hb-switch:not(:hover) .hb-switch-panel:not(:hover) {
transition-delay: .12s;
}
.hb-switch-panel li a {
display: block;
padding: 8px 10px;
font-size: 13px;
font-weight: 500;
color: var(--hb-muted);
text-decoration: none;
border-radius: 6px;
transition: all .12s;
}
.hb-switch-panel li a:hover {
color: var(--hb-ink);
background: rgba(26, 29, 46, .04);
}
.hb-sw-div {
height: 1px;
background: var(--hb-border);
margin: 6px 0;
}
.hb-switch-panel select {
width: 100%;
font-size: 12px;
font-family: var(--hb-font);
border: 1px solid var(--hb-border-md);
border-radius: 6px;
padding: 6px 8px;
color: var(--hb-ink);
background: var(--hb-cream);
}
/* โโ Theme toggle โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-theme {
display: flex;
align-items: center;
gap: 6px;
padding: 0 2px;
}
.hb-theme-img {
width: 14px;
height: 14px;
opacity: .45;
display: block;
}
#theme-toggle-checkbox {
display: none;
}
.hb-theme-track {
position: relative;
width: 34px;
height: 19px;
background: rgba(26, 29, 46, .14);
border-radius: 10px;
cursor: pointer;
transition: background .2s;
flex-shrink: 0;
display: block;
}
.hb-theme-track::after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 15px;
height: 15px;
background: white;
border-radius: 50%;
box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
transition: transform .2s;
}
.hb-theme-track.hb-dark {
background: var(--hb-amber);
}
.hb-theme-track.hb-dark::after {
transform: translateX(15px);
}
/* โโ Mobile hamburger โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
.hb-toggler {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
flex-direction: column;
gap: 5px;
border-radius: 7px;
margin-left: auto;
flex-shrink: 0;
transition: background .15s;
}
.hb-toggler:hover {
background: rgba(26, 29, 46, .06);
}
.hb-toggler span {
display: block;
width: 21px;
height: 1.5px;
background: var(--hb-ink);
border-radius: 2px;
transition: all .22s;
}
.hb-toggler.hb-open span:nth-child(1) {
transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hb-toggler.hb-open span:nth-child(2) {
opacity: 0;
transform: scaleX(0);
}
.hb-toggler.hb-open span:nth-child(3) {
transform: rotate(-45deg) translate(4.5px, -4.5px);
}
/* โโ Responsive โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
@media (max-width: 1024px) {
.hb-toggler {
display: flex;
}
.hb-links, .hb-nav-right {
display: none;
}
.hb-nav-inner {
height: 56px;
}
.hb-navbar.hb-open .hb-nav-inner {
height: auto;
flex-wrap: wrap;
padding-top: 12px;
padding-bottom: 14px;
align-items: flex-start;
}
.hb-navbar.hb-open .hb-links {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
flex: 0 0 100%;
gap: 2px; /* flex: 0 0 100% overrides base flex:1 to force row wrap */
}
.hb-navbar.hb-open .hb-links .hb-link,
.hb-navbar.hb-open .hb-links .hb-drop {
width: 100%;
}
.hb-navbar.hb-open .hb-links .hb-link > a,
.hb-navbar.hb-open .hb-links .hb-drop > a {
width: 100%;
justify-content: space-between;
}
.hb-navbar.hb-open .hb-dd-menu {
position: static;
transform: none;
opacity: 0;
pointer-events: none;
display: none;
box-shadow: none;
border: none;
background: rgba(26, 29, 46, .03);
border-radius: 7px;
margin: 2px 0 2px 12px;
}
.hb-navbar.hb-open .hb-drop.hb-mob-open .hb-dd-menu {
display: block;
opacity: 1;
pointer-events: all;
}
.hb-navbar.hb-open .hb-nav-right {
display: flex;
flex-wrap: wrap;
width: 100%;
flex: 0 0 100%;
gap: 8px;
padding-top: 12px;
border-top: 1px solid var(--hb-border);
margin-top: 4px;
}
}
/* โโ Body offset for fixed navbar โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
body {
padding-top: 64px;
}
@media (max-width: 1024px) {
body {
padding-top: 56px;
}
}
/* โโ Processing loader โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ */
#buddybee_processing_loader {
position: fixed;
inset: 0;
background: rgba(247, 245, 240, .88);
backdrop-filter: blur(4px);
z-index: 999999;
display: none;
align-items: center;
justify-content: center;
}
#buddybee_processing_loader div {
background: var(--hb-white);
border-radius: 14px;
padding: 28px 44px;
box-shadow: 0 12px 40px rgba(26, 29, 46, .12);
text-align: center;
}
#buddybee_processing_loader p {
color: var(--hb-ink);
font-weight: 700;
font-size: 12px;
letter-spacing: .1em;
text-transform: uppercase;
margin: 0;
font-family: var(--hb-font);
}
a:hover {
text-decoration: none;
}
</style>
<nav class=\"hb-navbar\" id=\"hbNavbar\">
<div class=\"hb-nav-inner\">
{# Brand #}
<a class=\"hb-brand\" href=\"{{ url('dashboard') }}\">
<img src=\"{{ absolute_url(path('dashboard')) }}honeybee_web_assets/icons/honeybeeicon.svg?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}\"
alt=\"HoneyBee\">
<span class=\"hb-brand-name\">Honey<b>Bee</b></span>
</a>
{# Mobile hamburger #}
<button class=\"hb-toggler\" id=\"hbToggler\" aria-label=\"Open menu\" type=\"button\">
<span></span><span></span><span></span>
</button>
{# Primary navigation #}
<ul class=\"hb-links\">
<li class=\"hb-link\">
<a href=\"{{ url('honeybee_product') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_product' ? 'active' : '' }} trn\"
data-trn-key=\"_PRODUCTS_\">Product</a>
</li>
<li class=\"hb-link\">
<a href=\"{{ url('honeybee_solutions') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_solutions' ? 'active' : '' }}\">Solutions</a>
</li>
<li class=\"hb-link\">
<a href=\"{{ url('honeybee_pricing') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_pricing' ? 'active' : '' }} trn\"
data-trn-key=\"_PRICING_\">Pricing</a>
</li>
<li class=\"hb-link\">
<a href=\"{{ url('honeybee_partners') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_partners' ? 'active' : '' }}\">Partners</a>
</li>
<li class=\"hb-drop\">
<a href=\"#\">Company <i class=\"fa-solid fa-chevron-down hb-caret\"></i></a>
<ul class=\"hb-dd-menu\">
<li><a href=\"{{ url('honeybee_about_us') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_about_us' ? 'active' : '' }}\">About</a></li>
<li><a href=\"{{ url('honeybee_FAQ') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_FAQ' ? 'active' : '' }}\">FAQ</a></li>
<li><a href=\"{{ url('honeybee_contact') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_contact' ? 'active' : '' }}\">Contact</a>
</li>
</ul>
</li>
</ul>
{# Right-side controls #}
<div class=\"hb-nav-right\">
{# Language switcher #}
<div class=\"hb-lang\">
<button class=\"hb-lang-btn\" type=\"button\">
<i class=\"fa-solid fa-globe\" style=\"font-size:12px\"></i>
<span class=\"curr_locale_text\">en</span>
<i class=\"fa-solid fa-chevron-down\" style=\"font-size:8px;opacity:.5\"></i>
</button>
<ul class=\"hb-lang-menu\">
<li><a href=\"#\" class=\"locale_changer en\" data-locale=\"en\">๐ฌ๐ง English</a></li>
<li><a href=\"#\" class=\"locale_changer bn\" data-locale=\"bn\">๐ง๐ฉ เฆฌเฆพเฆเฆฒเฆพ</a></li>
<li><a href=\"#\" class=\"locale_changer it\" data-locale=\"it\">๐ฎ๐น Italiano</a></li>
<li><a href=\"#\" class=\"locale_changer de\" data-locale=\"de\">๐ฉ๐ช Deutsch</a></li>
<li><a href=\"#\" class=\"locale_changer fr\" data-locale=\"fr\">๐ซ๐ท Franรงais</a></li>
<li><a href=\"#\" class=\"locale_changer sp\" data-locale=\"sp\">๐ช๐ธ Espaรฑol</a></li>
<li><a href=\"#\" class=\"locale_changer cn\" data-locale=\"cn\">๐จ๐ณ ไธญๆ</a></li>
</ul>
</div>
{# Admin only: switch user #}
{% if session[UserConstants.USER_ID] is defined and (BUDDYBEE_ADMIN_LEVEL >= 1 or session['actualUserIsAdmin'] is defined) %}
<div class=\"hb-switch\">
<button class=\"hb-switch-btn\" type=\"button\">Switch User</button>
<ul class=\"hb-switch-panel\">
<li>
<a href=\"{{ absolute_url(path('view_as_user_central')) }}/{{ session['actualUserId'] is defined ? session['actualUserId'] : session['userId'] }}\">
โฉ Back to Mine
</a>
</li>
<li class=\"hb-sw-div\"></li>
<li style=\"padding:2px 0\"><select name=\"viewAsId\" id=\"viewAsId\"></select></li>
</ul>
</div>
{% endif %}
{% if session[UserConstants.USER_ID] is defined %}
{# Authenticated: user avatar + dropdown #}
<div class=\"hb-user\">
<button class=\"hb-user-btn\" type=\"button\">
<div class=\"hb-user-avatar\"
{% if session[UserConstants.USER_IMAGE] != '' and session[UserConstants.USER_IMAGE] is not null %}
style=\"background:url('{{ url('dashboard') }}{{ session[UserConstants.USER_IMAGE] }}?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}')\"
{% else %}
style=\"background:url('{{ url('dashboard') }}honeybee_web_assets/images/profiles/profile.png?v={{ constant('ApplicationBundle\\\\Constants\\\\GeneralConstant::ENTITY_APP_VERSION') }}')\"
{% endif %}
></div>
<span class=\"hb-user-name\">{{ session[UserConstants.USER_NAME] }}</span>
<i class=\"fa-solid fa-chevron-down\" style=\"font-size:9px;color:var(--hb-muted);opacity:.55\"></i>
</button>
<ul class=\"hb-user-menu\">
<li>
<a href=\"{{ url('honeybee_my_freelancer_profile') }}\"
class=\"{{ app.request.get('_route') == 'honeybee_my_freelancer_profile' ? 'active' : '' }}\">
<i class=\"fa-regular fa-circle-user\"></i> Profile
</a>
</li>
<li>
<a href=\"{{ url('ticket_list') }}\"
class=\"{{ app.request.get('_route') == 'ticket_list' ? 'active' : '' }}\">
<i class=\"fa-regular fa-ticket\"></i> <span class=\"trn\" data-trn-key=\"_MY_TICKETS_\">My Tickets</span>
</a>
</li>
<li>
<a href=\"{{ url('central_landing') }}\"
class=\"{{ app.request.get('_route') == 'central_landing' ? 'active' : '' }}\">
<i class=\"fas fa-border-all\"></i> <span class=\"trn\" data-trn-key=\"_MY_COMPANIES_\">My Companies</span>
</a>
</li>
{% if BUDDYBEE_ADMIN_LEVEL >= 1 %}
<li class=\"hb-u-div\"></li>
<li>
<a href=\"{{ url('super_admin_command_center') }}\"
class=\"{{ app.request.get('_route') == 'super_admin_command_center' ? 'active' : '' }}\">
<i class=\"fa-solid fa-gauge-high\"></i> Super Admin
</a>
</li>
<li class=\"hb-u-div\"></li>
<li>
<a href=\"{{ url('datev_home') }}\"
class=\"{{ app.request.get('_route') == 'datev_home' ? 'active' : '' }}\">
<i class=\"fa-solid fa-gauge-high\"></i> Datev Control
</a>
</li>
{% endif %}
{% if BUDDYBEE_ADMIN_LEVEL > 1 %}
<li class=\"hb-u-div\"></li>
<li>
<a href=\"{{ url('admin_demo_pending_list') }}\"
class=\"{{ app.request.get('_route') in ['admin_demo_pending_list','admin_demo_request_detail'] ? 'active' : '' }}\">
<i class=\"fa-solid fa-calendar-check\"></i> Demo Requests
</a>
</li>
<li>
<a href=\"{{ url('admin_demo_all_list') }}\"
class=\"{{ app.request.get('_route') == 'admin_demo_all_list' ? 'active' : '' }}\">
<i class=\"fa-solid fa-list-check\"></i> All Bookings
</a>
</li>
{% endif %}
<li class=\"hb-u-div\"></li>
<li>
<a href=\"{{ url('user_logout') }}\" style=\"color:#B04030\">
<i class=\"fa-solid fa-right-from-bracket\"></i> Logout
</a>
</li>
</ul>
</div>
{# Companies shortcut #}
<a href=\"{{ url('central_landing') }}\" class=\"hb-btn-companies trn\" data-trn-key=\"_COMPANIES_\">
<i class=\"fa-solid fa-building\" style=\"font-size:11px\"></i>
<span>Companies</span>
</a>
{# Book Demo CTA (authenticated) #}
<a href=\"{{ url('honeybee_contact') }}\" class=\"hb-btn-companies\" style=\"background:var(--hb-amber)\">Book
Demo</a>
{% else %}
{# Guest: login + get started + book demo #}
<a href=\"{{ url('user_login') }}\" class=\"hb-btn-login trn\" data-trn-key=\"_LOGIN_\">Login</a>
<a href=\"{{ url('sign_up') }}\" class=\"hb-btn-signup trn\" data-trn-key=\"_CREATE_ACCOUNT_\">Get Started</a>
<a href=\"{{ url('honeybee_contact') }}\" class=\"hb-btn-companies\" style=\"background:var(--hb-amber)\">Book
Demo</a>
{% endif %}
{# Dark / Light mode toggle #}
{# <div class=\"hb-theme\"> #}
{# <img class=\"hb-theme-img\" src=\"{{ absolute_url(asset('honeybee_web_assets/icons/sun.svg')) }}\" alt=\"Light mode\"> #}
{# <input type=\"checkbox\" id=\"theme-toggle-checkbox\"> #}
{# <label for=\"theme-toggle-checkbox\" class=\"hb-theme-track\" id=\"hbThemeTrack\"></label> #}
{# <img class=\"hb-theme-img\" src=\"{{ absolute_url(asset('honeybee_web_assets/icons/moon.svg')) }}\" alt=\"Dark mode\"> #}
{# </div> #}
</div>{# /hb-nav-right #}
</div>{# /hb-nav-inner #}
</nav>
{# โโ Apply saved theme immediately (no flash of wrong theme) โโโโโโโโโโโโโโโ #}
<script>
(function () {
var saved = localStorage.getItem('theme') || 'light';
if (saved === 'dark') {
var css = document.getElementById('dark-theme-css');
var cb = document.getElementById('theme-toggle-checkbox');
var track = document.getElementById('hbThemeTrack');
if (css) css.disabled = false;
if (cb) cb.checked = true;
if (track) track.classList.add('hb-dark');
}
}());
</script>
{# โโ Navbar interaction scripts โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<script>
(function () {
var navbar = document.getElementById('hbNavbar');
var toggler = document.getElementById('hbToggler');
window.addEventListener('scroll', function () {
navbar.classList.toggle('hb-scrolled', window.scrollY > 6);
}, {passive: true});
if (toggler) {
toggler.addEventListener('click', function () {
navbar.classList.toggle('hb-open');
toggler.classList.toggle('hb-open');
});
}
navbar.querySelectorAll('.hb-drop > a').forEach(function (a) {
a.addEventListener('click', function (e) {
if (window.innerWidth <= 1024) {
e.preventDefault();
a.closest('.hb-drop').classList.toggle('hb-mob-open');
}
});
});
var cb = document.getElementById('theme-toggle-checkbox');
var track = document.getElementById('hbThemeTrack');
if (cb && track) {
track.addEventListener('click', function () {
changeTheme(!cb.checked);
});
}
}());
</script>
{# โโ Preloader: hide on load โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ #}
<script>
document.body.style.overflow = 'hidden';
window.addEventListener('load', function () {
var pre = document.getElementById('hb-preloader');
if (pre) {
pre.style.transition = 'opacity .35s ease';
pre.style.opacity = '0';
setTimeout(function () {
pre.style.display = 'none';
}, 360);
}
document.body.style.overflow = 'auto';
});
</script>
{% set full_js_included = 0 %}
{% endif %}{# /include_html #}
<input type=\"hidden\" id=\"timeStampOnHeaderLoad\" value=\"{{ 'now'|date('U') }}\">
{% include '@Application/inc/ajax_route_library.html.twig' %}
{# Date-picker scripts #}
<script src=\"https://code.jquery.com/jquery-3.6.0.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js\"></script>
<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-material-datetimepicker/2.7.1/js/bootstrap-material-datetimepicker.min.js\"></script>
", "@Application/inc/central_header.html.twig", "/home/u405565514/domains/ourhoneybee.eu/public_html/honeybee_main/src/ApplicationBundle/Resources/views/inc/central_header.html.twig");
}
}