{% trans_default_domain 'frontend' %}
{% set currentPath = app.request.pathInfo %}
{% set currentRoute = app.request.attributes.get('_route') %}
{% set isThemeModeLight = preferredTheme.getPreferredTheme(app.request) == 'light-mode' %}
<div class="nk-header nk-header-fixed">
<div class="nk-header-wrap container m-auto">
<div class="nk-header-brand">
<a href="{{ path('shop_video_list') }}" class="logo-link d-inline-flex align-center">
<span class="logo-icon d-md-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" width="200" height="204" viewBox="0 0 200 204"><path d="M198.210828,302 L166.368221,302 C149.507587,302 135.791696,288.253692 135.791696,271.35803 L135.791696,164.506807 C135.791696,147.611785 149.507587,133.866118 166.368221,133.866118 L198.210828,133.866118 C234.603018,133.866118 264.20824,163.533486 264.20824,199.999359 C264.20824,236.465873 234.603018,266.133241 198.210828,266.133241 L197.910293,266.133241 C183.393829,266.133241 171.582178,254.299614 171.582178,239.752351 L171.582178,199.999359 C171.582178,194.670126 175.89453,190.349455 181.212715,190.349455 C186.531539,190.349455 190.843252,194.670126 190.843252,199.999359 L190.843252,239.752351 C190.843252,243.657166 194.013573,246.832792 197.910293,246.832792 L198.210828,246.832792 C223.981995,246.832792 244.947804,225.823426 244.947804,199.999359 C244.947804,174.176574 223.981995,153.167208 198.210828,153.167208 L166.368221,153.167208 C160.12797,153.167208 155.052132,158.254232 155.052132,164.506807 L155.052132,271.35803 C155.052132,277.611886 160.12861,282.698269 166.3695,282.698269 L198.210828,282.698269 C243.717531,282.698269 280.738925,245.599962 280.738925,199.999359 C280.738925,154.400038 243.717531,117.30109 198.210828,117.30109 L130.57774,117.30109 C124.337489,117.30109 119.26165,122.388114 119.26165,128.641329 L119.261011,292.349455 C119.261011,297.679329 114.949298,302 109.630473,302 C104.311649,302 99.9999361,297.679329 99.9999361,292.349455 L99.9999361,128.641329 C99.9999361,111.746308 113.717105,98 130.57774,98 L198.210828,98 C254.338554,98 300,143.756949 300,199.999359 C300,256.24241 254.338554,302 198.210828,302" transform="translate(-100 -98)"/></svg>
</span>
<span class="logo-text d-none d-md-inline-block">
<svg xmlns="http://www.w3.org/2000/svg" width="280" height="33" viewBox="0 0 280 33"><path d="M86.8014457,183.5 C86.8014457,173.371758 80.6347414,167.570605 70.151344,167.570605 L63.2730969,167.570605 C61.1859047,167.570605 60,168.711816 60,170.851585 L60,196.148415 C60,198.240634 61.1859047,199.429395 63.2730969,199.429395 L70.151344,199.429395 C80.6347414,199.429395 86.8014457,193.628242 86.8014457,183.5 Z M80.5873052,183.5 C80.5873052,187.494236 79.7334538,190.347262 77.9783149,192.34438 C75.985995,194.626801 73.3770047,195.62536 69.1551841,195.62536 L66.6885024,195.62536 C66.0718319,195.62536 65.6923424,195.244957 65.6923424,194.626801 L65.6923424,172.373199 C65.6923424,171.755043 66.0718319,171.37464 66.6885024,171.37464 L69.1551841,171.37464 C73.3770047,171.37464 75.985995,172.373199 77.9783149,174.65562 C79.7334538,176.652738 80.5873052,179.505764 80.5873052,183.5 Z M121.540547,198.240634 C121.540547,197.907781 121.445674,197.622478 121.208493,197.289625 C121.208493,197.289625 121.208493,197.289625 111.578947,185.164265 C112.717416,185.069164 113.096905,184.974063 114.093065,184.736311 C118.362322,183.642651 120.829004,180.504323 120.829004,176.700288 C120.829004,172.563401 118.314886,167.570605 107.546871,167.570605 C107.546871,167.570605 107.499435,167.570605 100.810933,167.570605 C98.6763045,167.570605 97.4903998,168.759366 97.4903998,170.851585 L97.4903998,197.717579 C97.4903998,198.811239 98.1070703,199.429395 99.2455387,199.429395 L101.47504,199.429395 C102.566072,199.429395 103.230178,198.811239 103.230178,197.717579 L103.182742,172.230548 C103.182742,171.612392 103.562232,171.279539 104.226338,171.279539 L104.178902,171.279539 C104.178902,171.279539 104.463519,171.279539 106.977637,171.279539 C110.155862,171.279539 112.29049,171.802594 113.523831,172.991354 C114.425119,173.847262 115.136661,175.036023 115.136661,176.700288 C115.136661,180.314121 112.432799,181.835735 107.831489,181.835735 L107.499435,181.835735 C106.360967,181.835735 105.459679,182.311239 105.08019,183.119597 C104.937881,183.404899 104.843009,183.737752 104.843009,184.023055 C104.843009,184.64121 105.08019,185.306916 105.554552,185.877522 C105.554552,185.877522 105.554552,185.972622 115.041789,198.335735 C115.658459,199.144092 116.370002,199.429395 117.366162,199.429395 L120.070025,199.429395 C121.018749,199.429395 121.540547,198.85879 121.540547,198.240634 Z M151.77321,196.956772 C151.77321,196.100865 151.203976,195.530259 150.350124,195.530259 L139.20262,195.530259 C138.58595,195.530259 138.20646,195.197406 138.20646,194.579251 L138.20646,185.782421 C138.20646,185.211816 138.58595,184.878963 139.155184,184.878963 L150.350124,184.878963 C151.203976,184.878963 151.77321,184.355908 151.77321,183.45245 L151.77321,182.40634 C151.77321,181.502882 151.203976,180.979827 150.350124,180.979827 L139.155184,180.979827 C138.58595,180.979827 138.20646,180.646974 138.20646,180.076369 L138.20646,172.420749 C138.20646,171.802594 138.58595,171.42219 139.20262,171.42219 L150.350124,171.42219 C151.251412,171.42219 151.77321,170.899135 151.77321,170.043228 L151.77321,168.949568 C151.77321,168.09366 151.251412,167.570605 150.350124,167.570605 L135.834651,167.570605 C133.747459,167.570605 132.561554,168.711816 132.561554,170.851585 L132.561554,196.148415 C132.561554,198.288184 133.747459,199.429395 135.882087,199.429395 C135.882087,199.429395 135.882087,199.429395 140.151344,199.429395 C142.285972,199.429395 145.511633,199.429395 150.350124,199.429395 C151.251412,199.429395 151.77321,198.90634 151.77321,198.050432 L151.77321,196.956772 Z M181.816128,190.442363 C181.816128,185.782421 178.400723,183.357349 174.131466,180.932277 C169.719901,178.459654 167.585272,177.270893 167.442964,175.036023 C167.442964,174.940922 167.442964,174.798271 167.442964,174.70317 C167.442964,172.230548 169.530156,170.756484 172.423763,170.756484 C175.08019,170.756484 176.455839,171.755043 177.594308,172.943804 C178.06867,173.466859 178.637904,173.704611 179.207138,173.704611 C179.918681,173.704611 180.630224,173.276657 181.009713,172.51585 C181.199458,172.135447 181.29433,171.755043 181.29433,171.37464 C181.29433,170.661383 181.009713,169.995677 180.393043,169.472622 C178.875085,168.04611 176.218658,167.04755 172.613508,167.04755 C167.964762,167.04755 162.414728,169.23487 162.082674,175.321326 C162.082674,175.511527 162.082674,175.701729 162.082674,175.84438 C162.082674,180.409222 165.49808,182.834294 169.48272,185.021614 C173.846849,187.399135 176.313531,188.730548 176.313531,191.821326 C176.313531,191.868876 176.313531,191.916427 176.313531,192.011527 C176.218658,196.053314 172.09171,196.195965 170.810933,196.195965 C167.964762,196.195965 166.399368,194.5317 165.355771,193.342939 C165.023718,192.914986 164.407048,192.677233 163.790377,192.677233 C162.936526,192.677233 162.082674,193.105187 161.703185,194.103746 C161.608313,194.436599 161.560876,194.721902 161.560876,195.054755 C161.560876,195.910663 161.940366,196.71902 162.557036,197.289625 C164.454484,199.096542 167.205783,200 170.763497,200 C177.025073,200 181.484075,196.386167 181.816128,191.012968 C181.816128,190.822767 181.816128,190.632565 181.816128,190.442363 Z M211.859047,190.442363 C211.859047,185.782421 208.443641,183.357349 204.174384,180.932277 C199.762819,178.459654 197.628191,177.270893 197.485882,175.036023 C197.485882,174.940922 197.485882,174.798271 197.485882,174.70317 C197.485882,172.230548 199.573074,170.756484 202.466682,170.756484 C205.123108,170.756484 206.498758,171.755043 207.637226,172.943804 C208.111588,173.466859 208.680822,173.704611 209.250056,173.704611 C209.961599,173.704611 210.673142,173.276657 211.052632,172.51585 C211.242376,172.135447 211.337249,171.755043 211.337249,171.37464 C211.337249,170.661383 211.052632,169.995677 210.435961,169.472622 C208.918003,168.04611 206.261577,167.04755 202.656426,167.04755 C198.00768,167.04755 192.457646,169.23487 192.125593,175.321326 C192.125593,175.511527 192.125593,175.701729 192.125593,175.84438 C192.125593,180.409222 195.540998,182.834294 199.525638,185.021614 C203.889767,187.399135 206.356449,188.730548 206.356449,191.821326 C206.356449,191.868876 206.356449,191.916427 206.356449,192.011527 C206.261577,196.053314 202.134628,196.195965 200.853851,196.195965 C198.00768,196.195965 196.442286,194.5317 195.39869,193.342939 C195.066637,192.914986 194.449966,192.677233 193.833296,192.677233 C192.979444,192.677233 192.125593,193.105187 191.746103,194.103746 C191.651231,194.436599 191.603795,194.721902 191.603795,195.054755 C191.603795,195.910663 191.983284,196.71902 192.599955,197.289625 C194.497402,199.096542 197.248701,200 200.806415,200 C207.067992,200 211.526993,196.386167 211.859047,191.012968 C211.859047,190.822767 211.859047,190.632565 211.859047,190.442363 Z M244.985317,176.747839 C244.985317,173.419308 243.609668,170.899135 240.905805,169.282421 C239.008358,168.09366 236.399368,167.570605 232.462164,167.570605 C232.462164,167.570605 232.462164,167.570605 230.564717,167.570605 C229.568557,167.570605 228.145471,167.570605 225.963406,167.570605 C223.876214,167.570605 222.690309,168.759366 222.690309,170.851585 L222.690309,197.717579 C222.690309,198.811239 223.354416,199.429395 224.445448,199.429395 L226.674949,199.429395 C227.765981,199.429395 228.430088,198.811239 228.430088,197.717579 L228.430088,186.971182 C228.430088,186.353026 228.809578,185.972622 229.426248,185.972622 L232.5096,185.972622 C237.253219,185.972622 240.194262,185.164265 242.376327,183.309798 C244.08403,181.788184 244.985317,179.600865 244.985317,176.795389 L244.985317,176.747839 Z M238.913485,176.795389 C238.913485,178.459654 238.48656,179.695965 237.585272,180.551873 C236.446804,181.645533 234.88141,182.168588 231.89293,182.168588 L229.426248,182.168588 C228.762141,182.168588 228.430088,181.835735 228.430088,181.217579 L228.430088,172.373199 C228.430088,171.755043 228.762141,171.37464 229.426248,171.37464 L231.89293,171.37464 C234.88141,171.37464 236.446804,171.897695 237.585272,172.991354 C238.48656,173.847262 238.913485,175.083573 238.913485,176.795389 Z M273.273097,196.956772 C273.273097,196.100865 272.751299,195.57781 271.850011,195.57781 L262.125593,195.57781 C261.508923,195.57781 261.129433,195.197406 261.129433,194.579251 L261.129433,169.282421 C261.129433,168.188761 260.512763,167.570605 259.374294,167.570605 L257.19223,167.570605 C256.053761,167.570605 255.437091,168.188761 255.437091,169.282421 L255.437091,196.148415 C255.437091,197.194524 255.721708,198.050432 256.290942,198.621037 C256.860176,199.144092 257.666591,199.429395 258.710187,199.429395 L271.850011,199.429395 C272.751299,199.429395 273.273097,198.90634 273.273097,198.050432 L273.273097,196.956772 Z M311.190422,198.240634 C311.190422,198.002882 311.142986,197.76513 311.048114,197.527378 L299.473684,169.092219 C299.094195,168.09366 297.90829,167 296.437768,167 C295.156991,167 293.876214,167.808357 293.354416,169.044669 C293.354416,169.044669 293.354416,169.092219 281.827423,197.479827 C281.685114,197.76513 281.637678,198.050432 281.637678,198.288184 C281.637678,198.95389 282.11204,199.429395 283.060763,199.429395 L284.294104,199.429395 C285.432573,199.429395 285.954371,199.001441 286.33386,198.050432 L288.990287,191.440922 C289.180032,190.965418 289.512085,190.775216 290.033883,190.775216 L301.228823,190.775216 C301.750621,190.775216 302.082674,190.965418 302.272419,191.440922 L304.928846,198.050432 C305.308335,199.048991 305.925006,199.429395 306.968602,199.429395 L309.719901,199.429395 C310.621188,199.429395 311.190422,198.95389 311.190422,198.240634 Z M300.232663,186.638329 C300.232663,186.876081 300.090355,186.971182 299.805738,186.971182 L291.409532,186.971182 C291.124915,186.971182 290.982607,186.876081 290.982607,186.638329 C290.982607,186.543228 290.982607,186.448127 291.030043,186.305476 L295.204427,175.79683 C295.2993,175.606628 295.441608,175.511527 295.583917,175.511527 C295.726225,175.511527 295.868534,175.606628 295.963406,175.79683 L300.185227,186.305476 C300.232663,186.448127 300.232663,186.543228 300.232663,186.638329 Z M340,168.664265 C340,168.04611 339.573074,167.570605 338.624351,167.570605 L337.248701,167.570605 C336.205105,167.570605 335.683307,167.808357 335.0192,168.806916 L328.710187,178.412104 C328.567879,178.602305 328.378134,178.697406 328.235826,178.697406 C328.046081,178.697406 327.903772,178.602305 327.761464,178.412104 L321.262706,168.759366 C320.693472,167.903458 320.171674,167.570605 319.128078,167.570605 L315.997289,167.570605 C315.190874,167.570605 314.716512,168.09366 314.716512,168.711816 C314.716512,169.044669 314.811385,169.329971 315.048566,169.662824 L324.061441,182.739193 C324.346058,183.167147 324.440931,183.5 324.440931,184.118156 L324.440931,197.717579 C324.440931,198.811239 325.057601,199.429395 326.19607,199.429395 L328.42557,199.429395 C329.564039,199.429395 330.180709,198.811239 330.180709,197.717579 L330.180709,184.118156 C330.180709,183.5 330.275582,183.167147 330.607635,182.691643 L339.667947,169.567723 C339.857691,169.282421 340,168.949568 340,168.664265 Z" transform="translate(-60 -167)"/></svg>
</span>
</a>
</div>
<div class="nk-header-menu">
{% block header_menu %}
{% include 'partials/menu/menu_main.html.twig' with {isThemeModeLight: isThemeModeLight} %}
{% endblock %}
</div>
<div class="nk-header-tools">
{% if not is_granted('ROLE_USER') %}
<div class="nk-header-menu d-lg-none" data-content="sidebarMenu">
{% include 'partials/menu/menu_main_mobile.html.twig' with {isThemeModeLight: isThemeModeLight} %}
</div>
{% endif %}
{% if is_granted('ROLE_USER') %}
<div class="nk-header-menu d-lg-none" data-content="settingsMenu">
{% include 'partials/menu/menu_user_mobile.html.twig' %}
</div>
{% endif %}
<ul class="nk-quick-nav account-nav">
{% if is_granted('ROLE_USER') %}
<li class="nk-header-credits-info">
<a class="d-flex align-center user-credits" href="{{ path('credit_history') }}">
<em class="icon dp-icon-credits mr-1"></em>
<span class="fw-normal">{{ app.user.creditsFloat | price_format(true) }}</span>
</a>
</li>
<li class="nk-header-add-credits-cta">
<a id="purchase-credits" class="cursor-pointer" data-toggle="modal" data-target="#purchase-credits-dialog">
<i class="dp-icon-buy_credits"></i>
</a>
</li>
<li class="dropdown user-dropdown pr-0">
<a href="#" class="hide-md dropdown-toggle" data-toggle="dropdown">
{% include 'partials/header_user_avatar.html.twig' %}
</a>
<a href="#" class="d-lg-none nk-nav-toggle" data-target="settingsMenu">
{% include 'partials/header_user_avatar.html.twig' %}
</a>
{% include 'partials/menu/menu_user.html.twig' %}
</li>
{% else %}
<li class="nk-menu-item nk-header-login-cta border-bottom-0">
<a href="{{ path('app_login') }}" class="nk-menu-link p-0 mr-1">
<span class="nk-menu-text">{{ 'header.login_link'|trans }}</span>
</a>
</li>
<li class="hide-md pr-0 nk-header-join-cta">
<a href="{{ path('registration') }}" class="btn btn-secondary btn-round mr-1">
{{- 'header.join_link'|trans -}}
</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>