src/Aviatur/TwigBundle/Resources/views/mayatur_colombia/Flux/App/base.html.twig line 1

Open in your IDE?
  1. {% set parameters = json_decode(app.session.get(app.request.server.get('HTTP_HOST') ~ '[parameters]'), true) %}
  2. {% set agencyDataInfo = app.session.get('agencyDataInfo') %}
  3. {% if parameters['blob_azure_assets'] is defined %}
  4.     {% set assetsBlobUrl = parameters['blob_azure_assets'] %}
  5. {% else %}
  6.     {% set assetsBlobUrl = "https://aviaturcdndev.z5.web.core.windows.net/"%}
  7. {% endif %}
  8. <!DOCTYPE html>
  9. <html>
  10.     <head>
  11.         <meta charset="utf-8">
  12.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  13.         {% block head_viewport %}
  14.             <meta name="viewport" content="width=device-width, initial-scale=1">
  15.         {% endblock head_viewport %}
  16.         <title>{% block head_title %}{% endblock head_title %}</title>
  17.         <meta name="description" content="{% block head_description_content %}{% endblock head_description_content %}">
  18.         <meta name="title" content="{% block head_meta_title %}{% endblock head_meta_title %}">
  19.         <meta name="keywords" content="{% block head_keywords %}{% endblock head_keywords %}">
  20.         {# <meta name="apple-itunes-app" content="app-id=1070612402">
  21.         <meta name="google-play-app" content="app-id=app.android.Pasabordo"> #}
  22.         <link rel="icon" type="image/x-icon" href="{{ assetsBlobUrl ~  'assets/'~ agency_folder.assetStyle() ~'/img/header/favicon.png' }}" />
  23.         <link rel="apple-touch-icon" href="{{  assetsBlobUrl ~  'assets/'~ agency_folder.assetStyle() ~'/img/header/favicon.png'}}" />
  24.         <link rel="android-touch-icon" href="{{  assetsBlobUrl ~ 'assets/'~ agency_folder.assetStyle() ~'/img/header/favicon.png' }}" />
  25.         {# styles #}
  26.         {% block stylesheets %}
  27.         <link rel="preconnect" href="https://fonts.googleapis.com">
  28.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  29.         <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap" rel="stylesheet">
  30.         <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@24,400,0,0" />
  31.         <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
  32.         <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Outlined" rel="stylesheet">
  33.         <link type="text/css" rel="stylesheet" href="{{ style('default_assets/css/main.css') }}" />
  34.         {# <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/css/main.css')) }}" />
  35.         <link type="text/css" rel="stylesheet" href="{{ absolute_url(asset('assets/'~ agency_folder.assetStyle() ~'/css/special.css')) }}" /> #}
  36.         {# llamado estilos api hoteles #}
  37.         <link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.3/dist/leaflet.css"/>
  38.         <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.css" />
  39.         <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.Default.css" />
  40.         <script defer src="https://unpkg.com/leaflet.markercluster@1.3.0/dist/leaflet.markercluster-src.js" integrity="sha384-NAOEbWFcjnXc7U9GkULPhupHZNAbqru9dS3c+4ANYAwtFoVAWuVuMVDH0DIy4ESp" crossorigin="anonymous"></script>
  41.         <script src="https://cdn.tailwindcss.com"></script>
  42.         <script>
  43.             tailwind.config = {
  44.                theme: {
  45.                     container: {
  46.                         center: false,
  47.                     },
  48.                     extend: {
  49.                         screens: {
  50.                             xs:{max: "575px"}, // mini-mobile
  51.                             s:{min:"576px", max:"767px"}, // mobile
  52.                             m:{min:"768px", max:"992px"}, // tablet
  53.                             l:{min:"993px"}, // desktop
  54.                         },
  55.                         colors: {
  56.                         },
  57.                     },
  58.                 },
  59.                 plugins: [],
  60.         }
  61.         </script>
  62.         <style>
  63.             .nav-main__item.is-active,
  64.             .is-active.nav-main__item--blog {
  65.                 border-top: 0.175rem inset #0d4961;
  66.                 color: #0d4961;
  67.             }
  68.             .nav-scroll a.is-active {
  69.                 color: #0d4961;
  70.             }
  71.             .nav-scroll a {
  72.                 color: #5a5a5a;
  73.             }
  74.             
  75.            @media screen and (max-width: 768px) {
  76.             .nav-main__item, .nav-scroll a {
  77.                 color: white; 
  78.                 text-decoration: none;
  79.                 padding: 10px 15px; 
  80.                 font-size: 1rem; 
  81.                 transition: color 0.3s, border-top 0.3s; 
  82.             }
  83.              .nav-scroll a.is-active {
  84.                 color: white;
  85.             
  86.             }
  87.                 
  88.             }
  89.             .btn,
  90.             .btn-flight-blog,
  91.             .btn--slim {
  92.                 background-color: #00a7c5;
  93.                 border-color: #00a7c5;
  94.             }
  95.             .btn:hover {
  96.                 background-color: #00a7c5;
  97.                 filter: brightness(1.1);
  98.                 border-color: #00a7c5;
  99.             }
  100.         </style>
  101.         {% endblock stylesheets %}
  102.         {# end styles #}
  103.         {# scripts #}
  104.         <script src="{{ script('common.js') }}"></script>
  105.         <script src="https://apis.google.com/js/api:client.js" integrity="sha384-5UngWscP4SmNwWewInYpRPek0ZFzNRs/QS6r/vutuBBCFwz28liNRLjQUamFj/Pk" crossorigin="anonymous"></script>
  106.         <script async defer crossorigin="anonymous" integrity="sha384-IeNX8AcVzU9jPDvE21Ts4tNKmR3lTRQMunAKZX/yRKryWWSvhp5FUSJt1eHYpScS" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v6.0&appId=#xfbml=1&version=v7.0&appId={{facebook_appid_login}}&autoLogAppEvents=1"></script>
  107.         {% if app.session.get('WorldChangeCoin') is defined and app.session.get('WorldChangeCoin') == 'true' %}
  108.             {% include twig_exists('@AviaturTwig/'~ agency_folder.twigFlux() ~'/General/Components/worldpayFunction.html.twig') %}
  109.         {% endif %}
  110.         {% if parameters['firebasescripts'] == 'true' %}
  111.         <link rel="stylesheet" href="https://aviaturcdndev.z5.web.core.windows.net/source/main.css">
  112.         <script src="https://aviaturcdndev.z5.web.core.windows.net/source/script.js" type="text/javascript"></script>
  113.         {% endif %}
  114.         {% if pdfGenerator is not defined %}
  115.             <script type="text/javascript">
  116.                 var clientId;
  117.                 var domain = '{{ app.session.get('domain') }}';
  118.                 var domainsecure = '{{ app.session.get('domainsecure') }}';
  119.                 (function (i, s, o, g, r, a, m) {
  120.                     i['GoogleAnalyticsObject'] = r;
  121.                     i[r] = i[r] || function () {
  122.                         (i[r].q = i[r].q || []).push(arguments)
  123.                     }, i[r].l = 1 * new Date();
  124.                     a = s.createElement(o),
  125.                             m = s.getElementsByTagName(o)[0];
  126.                     a.async = 1;
  127.                     a.src = g;
  128.                     m.parentNode.insertBefore(a, m)
  129.                 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  130.                 ga('create', 'UA-64309537-1', 'auto', {cookieDomain: '{{app.request.server.get("HTTP_HOST")|replace({'www.':''})}}', allowLinker: true});
  131.                 ga('require', 'displayfeatures');
  132.                 ga('require', 'linkid', 'linkid.js');
  133.                 ga('require', 'linker');
  134.                 ga('require', 'ec');
  135.                 ga('linker:autoLink', [domain, domainsecure, 'pasabordo.com.co', 'grupoaviatur.com']);
  136.                 ga('linker:autoLink', [domain, domainsecure, 'pasabordo.com.co', 'grupoaviatur.com'], false, true);
  137.                 var dimensionValue = '{{ app.request.server.get("REMOTE_ADDR") }}';
  138.                 {% if (app.session.has('transactionId')) %}
  139.                 var dimensionValue2 = '{{ app.session.get('transactionId') }}';
  140.                 {% else %}
  141.                     var dimensionValue2 = '';
  142.                 {% endif %}
  143.                     var dimensionValue3 = '';
  144.                     var dimensionValue4 = '';
  145.                     var dimensionValue5 = '';
  146.                     var dimensionValue6 = '';
  147.                     ga('send', 'pageview', {
  148.                         'dimension1': dimensionValue,
  149.                         'dimension2': dimensionValue2,
  150.                         'dimension3': dimensionValue3,
  151.                         'dimension4': dimensionValue4,
  152.                         'dimension5': dimensionValue5,
  153.                         'dimension6': dimensionValue6}
  154.                     );
  155.             </script>
  156.         {% endif %}
  157.         {% if parameters['aviatur_close_modal_login'] is defined %}
  158.             {% set activate_login = json_decode(parameters['aviatur_close_modal_login'], true) %}
  159.             {% if activate_login[app.session.get('agencyId')] is defined %}
  160.                 {% set swLoginClose = activate_login[app.session.get('agencyId')] %}
  161.             {% else %}
  162.                 {% set swLoginClose = activate_login['all'] %}
  163.             {% endif %}
  164.         {% endif %}
  165.             {# Parametrización boton continuar sin iniciar sesión #}
  166.         {% if parameters['aviatur_continue_without_logging'] is defined %}
  167.             {% set continue_without_logging = json_decode(parameters['aviatur_continue_without_logging'], true) %}
  168.             {% if continue_without_logging[app.session.get('agencyId')] is defined %}
  169.                 {% set continueWithoutLogging = continue_without_logging[app.session.get('agencyId')] %}
  170.             {% else %}
  171.                 {% set continueWithoutLogging = continue_without_logging['all'] %}
  172.             {% endif %}
  173.         {% endif %}
  174.             <script>
  175.                 var continueWithoutLogging = '{{continueWithoutLogging}}';
  176.                 var swLoginClose = '{{swLoginClose}}';
  177.                 var clicked = false;
  178.                 var pathname = window.location.pathname.split( '/' );
  179.                 var googleUser = {};
  180.                 var startApp = function() {
  181.                     gapi.load('auth2', function(){
  182.                     // Retrieve the singleton for the GoogleAuth library and set up the client.
  183.                     auth2 = gapi.auth2.init({
  184.                         client_id: '{{google_idclient_login}}',
  185.                         cookiepolicy: 'single_host_origin'
  186.                     });
  187.                     attachSignin(document.getElementById('customBtn'));
  188.                     });
  189.                 };
  190.                 function attachSignin(element) {
  191.                     auth2.attachClickHandler(element, {},
  192.                     function(googleUser) {
  193.                         var profile = googleUser.getBasicProfile();
  194.                         var $modalLogin = jQuery('#js-modalLogin');
  195.                         var id_token = googleUser.getAuthResponse().id_token;
  196.                         jQuery(".js-globalOverlay").attr("style", "z-index: 1200 !important;");
  197.                         jQuery(".js-globalOverlay-text").text("Iniciando sesión");
  198.                         jQuery(".js-globalOverlay").show();
  199.                         jQuery.ajax({
  200.                             url: '/customer/social-networks-callback',
  201.                             type: 'POST',
  202.                             data: {idtoken: id_token, red: "google"},
  203.                             crossDomain: true,
  204.                             beforeSend: function() {
  205.                                 jQuery(".js-globalOverlay-text").text("Iniciando sesión");
  206.                                 jQuery(".js-globalOverlay").show();
  207.                             },
  208.                             success: function (data) {
  209.                                 if(data.status == "redirect") {
  210.                                     signOut();
  211.                                     if(pathname[2] == "detalle" || pathname[2] == "pasajeros-reserva" || pathname[2] == "formulario") {
  212.                                         location.reload();
  213.                                     } else {
  214.                                         window.location.replace("/");
  215.                                     }
  216.                                 }
  217.                             },
  218.                             error: function () {
  219.                                 $modalLogin.find('.close[data-dismiss="modal"]').trigger('click');
  220.                                 jQuery(".js-globalOverlay").hide();
  221.                             },
  222.                             complete: function () {}
  223.                         });
  224.                         /*document.getElementById('name').innerText = "Signed in: " +
  225.                         googleUser.getBasicProfile().getName();*/
  226.                     }, function(error) {
  227.                         //alert(JSON.stringify(error, undefined, 2));
  228.                     });
  229.                 }
  230.                 function signOut() {
  231.                     var auth2 = gapi.auth2.getAuthInstance();
  232.                     auth2.signOut().then(function () {});
  233.                 }
  234.             </script>
  235.             <script>
  236.                 var fbid = '{{facebook_appid_login}}';
  237.                 window.fbAsyncInit = function() {
  238.                     FB.init({
  239.                         appId      : fbid,
  240.                         cookie     : true,
  241.                         xfbml      : true,
  242.                         version    : 'v7.0',
  243.                         oauth   : true,
  244.                         status  : true
  245.                     });
  246.                     FB.AppEvents.logPageView();
  247.                 };
  248.                 (function(d, s, id){
  249.                     var js, fjs = d.getElementsByTagName(s)[0];
  250.                     if (d.getElementById(id)) {return;}
  251.                     js = d.createElement(s); js.id = id;
  252.                     js.src = "https://connect.facebook.net/en_US/sdk.js";
  253.                     fjs.parentNode.insertBefore(js, fjs);
  254.                 }(document, 'script', 'facebook-jssdk'));
  255.                 /*function checkLoginState() {
  256.                     FB.getLoginStatus(function(response) {
  257.                         statusChangeCallback(response);
  258.                     });
  259.                 }*/
  260.                 function loginFace(){
  261.                     FB.login(function(response) {
  262.                         if (response.authResponse) {
  263.                             var $modalLogin = jQuery('#js-modalLogin');
  264.                             //console.log('Welcome!  Fetching your information.... ');
  265.                             FB.api('/me', {fields: 'first_name, last_name, email, picture'}, function (response2) {
  266.                                 response2.picture2 = "http://graph.facebook.com/" + response2.id + "/picture?type=normal";
  267.                                 jQuery(".js-globalOverlay").attr("style", "z-index: 1200 !important;");
  268.                                 jQuery(".js-globalOverlay-text").text("Iniciando sesión");
  269.                                 jQuery(".js-globalOverlay").show();
  270.                                 jQuery.ajax({
  271.                                     url: '/customer/social-networks-callback',
  272.                                     type: 'POST',
  273.                                     crossDomain: true,
  274.                                     data: {data: response2, red: "facebook"},
  275.                                     //async: true,
  276.                                     success: function (data) {
  277.                                         if(data.status == "redirect") {
  278.                                             FB.logout();
  279.                                             if(pathname[2] == "detalle" || pathname[2] == "pasajeros-reserva" || pathname[2] == "formulario") {
  280.                                                 location.reload();
  281.                                             } else {
  282.                                                 window.location.replace("/");
  283.                                             }
  284.                                         }
  285.                                     },
  286.                                     error: function () {
  287.                                         $modalLogin.find('.close[data-dismiss="modal"]').trigger('click');
  288.                                         jQuery(".js-globalOverlay").hide();
  289.                                     },
  290.                                     complete: function () {}
  291.                                 });
  292.                             });
  293.                         } else {
  294.                             console.log('User cancelled login or did not fully authorize.');
  295.                         }
  296.                     },{scope: 'email,public_profile'});
  297.                 }
  298.             </script>
  299.             {% if app.user %}
  300.             <script>
  301.                 var customerLogged = true;
  302.                 var documentNum = '{{app.user.documentNumber}}';
  303.                 var documentType = '{{app.user.documentType}}';
  304.                 {% if parameters['switch_login_agencies'] is defined %}
  305.                     {% set login_agencies = json_decode(parameters['switch_login_agencies'], true) %}
  306.                     {% if login_agencies[app.session.get('agencyId')] is defined %}
  307.                         {% set login_is_on = login_agencies[app.session.get('agencyId')] %}
  308.                     {% else %}
  309.                         {% set login_is_on = login_agencies['all'] %}
  310.                     {% endif %}
  311.                 {% else %}
  312.                     {% set login_is_on = '0' %}
  313.                 {% endif %}
  314.                 var login_is_on = "{{login_is_on}}";
  315.             </script>
  316.         {% else %}
  317.             <script>var customerLogged = false;</script>
  318.         {% endif %}
  319.         {% if 'aviatur_general_homepage' in app.request.get('_route') %}
  320.             {% if app.user.username is defined %}
  321.                 <script>
  322.                     jQuery(document).ready(function () {
  323.                         var dtCustomerFacebook = '{{app.user.facebookId}}';
  324.                         var dtCustomerGoogle = '{{app.user.googleId}}';
  325.                         var address = '{{app.user.address}}';
  326.                         var documentNum = '{{app.user.documentNumber}}';
  327.                         if(dtCustomerFacebook || dtCustomerGoogle){
  328.                             if(documentNum.length == 0 && address.length == 0) {
  329.                                  window.location.replace("/customer/edit");
  330.                             }
  331.                         }
  332.                     });
  333.                 </script>
  334.             {% else %}
  335.                 <script>
  336.                     sessionStorage.setItem('countDialogLogin', 0);
  337.                     var countDialogLogin = 0;
  338.                     jQuery(document).ready(function () {
  339.                         jQuery("#close-dialog-login").on('click', function(){
  340.                             jQuery("#dialog-login-home").hide();
  341.                         });
  342.                     });
  343.                 </script>
  344.             {% endif %}
  345.         {% endif %}
  346.         {% if 'aviatur_customer_edit_info' in app.request.get('_route') %}
  347.             {% if app.user.username is defined %}
  348.                 <script>
  349.                     jQuery(document).ready(function () {
  350.                         var dtCustomerFacebook = '{{app.user.facebookId}}';
  351.                         var dtCustomerGoogle = '{{app.user.googleId}}';
  352.                         jQuery("#customer_edit_form_email").attr("type","email");
  353.                         jQuery("#customer_edit_form_CivilStatus").parent().parent().parent().hide();
  354.                         if(dtCustomerFacebook || dtCustomerGoogle){
  355.                             if(jQuery("#customer_edit_form_DocumentNumber").val() == "") {
  356.                                 jQuery("#customer_edit_form_DocumentNumber").removeAttr("readonly");
  357.                             }
  358.                             jQuery(".js-reserva-submit-password").hide();
  359.                             jQuery("#customer_edit_form_email").hide();
  360.                             jQuery('[for^="customer_edit_form_email"]').hide();
  361.                         }
  362.                     });
  363.                 </script>
  364.             {% endif %}
  365.         {% endif %}
  366.         {% if app.session.get('AnonymousEmail') is not null %}
  367.             {# When user set email on "See Booking", this JS set email in input after redirection #}
  368.             {% set anonymousEmail = app.session.get('AnonymousEmail') %}
  369.             <script type="text/javascript">
  370.                 jQuery(document).ready(function () {
  371.                     var anonymousEmail = "{{ anonymousEmail }}";
  372.                     jQuery("#username").val(anonymousEmail);
  373.                     jQuery("#fos_user_registration_form_email").val(anonymousEmail);
  374.                 });
  375.             </script>
  376.         {% endif %}
  377.         {# end scripts  #}
  378.         {% if "payment_success_secure" in app.request.attributes.get('_route') %}
  379.         {% endif %}
  380.         {% block javascripts_header %}
  381.             {# {% if cards is defined %}
  382.                 {% set src = "https://h.online-metrix.net/fp/tags.js?org_id="~cybersource.org_id~"&session_id=aviaturcom"~ app.session.get('transactionId') %}
  383.                 <script type="text/javascript" src="{{src}}"></script>
  384.             {% endif %} #}
  385.         {% endblock %}
  386.     </head>
  387.     <body ontouchstart="">
  388.         {% if agencyDataInfo['agency_phones'] %}
  389.             {% set agencyWhat = agencyDataInfo['agency_phones']['what']%}
  390.             {% set agencyPhones = agencyDataInfo['agency_phones']['all']%}
  391.         {% endif %}
  392.         <p class="app-name hide">{{ (app.session.get('domain')) }}</p>
  393.         {% block body_scripts %}
  394.             {% if cards is defined %}
  395.                 {# {% set src = "https://h.online-metrix.net/fp/tags?org_id="~cybersource.org_id~"&session_id=aviaturcom"~ app.session.get('transactionId') %}
  396.                 <noscript>
  397.                 <iframe style="width: 100px; height: 100px; border: 0; position:absolute; top: -5000px;" src="{{src}}"></iframe>
  398.                 </noscript> #}
  399.             {% endif %}
  400.         {% endblock %}
  401.         {% for flashMessage in app.session.flashbag.get('notice') %}
  402.             <div class="flash-notice">
  403.                 {{ flashMessage }}
  404.             </div>
  405.         {% endfor %}
  406.         {% block overlay %}
  407. <script>
  408.     document.addEventListener("DOMContentLoaded", function () {
  409.         const overlay = document.querySelector(".js-globalOverlay");
  410.         if (overlay) {
  411.             overlay.style.display = "none";
  412.             window.addEventListener("load", function () {
  413.                 overlay.style.display = "none";
  414.             });
  415.             window.addEventListener("pageshow", function () {
  416.                 overlay.style.display = "none";
  417.             });
  418.         }
  419.     });
  420. </script>
  421.             <div class="overlay js-globalOverlay" style="display: none;">
  422.                 <div class="overlay-center">
  423.                     <svg class="mat-loader--200 center-block" height="200" width="200">
  424.                         <circle class="mat-loader--200__path" cx="100" cy="100" r="80" fill="none" stroke-width="6" stroke-miterlimit="10" />
  425.                     </svg>
  426.                     <p class="spin-text js-globalOverlay-text">Cargando...</p>
  427.                 </div>
  428.             </div>
  429.             <div class="responsive-js"></div>
  430.         {% endblock %}
  431.         {% block base_content %}
  432.             {% block header %}
  433.             {% endblock %}
  434.             {% block body %}
  435.             {% endblock body %}
  436.             {% block content %}
  437.             {% endblock content %}
  438.             {% block footer %}
  439.             {% endblock footer %}
  440.             {% block modal %}
  441.                 <div id="js-globalModal" class="modal fade">
  442.                     <div class="modal-dialog">
  443.                         <div class="modal-content">
  444.                             <div class="modal-header">
  445.                                 <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
  446.                                 <h4 id="js-globalModal-title" class="modal-title">Modal title</h4>
  447.                             </div>
  448.                             <div class="modal-body">
  449.                                 <div id="js-globalModal-illustration" {# class="modal-illustration" #}></div>
  450.                                 <p id="js-globalModal-text" class="modal-text modal-text--error"></p>
  451.                             </div>
  452.                         </div>
  453.                     </div>
  454.                 </div>
  455.             {% endblock modal %}
  456.         {% endblock base_content %}
  457.         {% block javascripts %}
  458. {% endblock %}
  459. {% block javascripts_bottom %}
  460.             {# llamados de scripts de hoteles #}
  461.             <script src="https://unpkg.com/leaflet@1.3.1/dist/leaflet-src.js" integrity="sha512-IkGU/uDhB9u9F8k+2OsA6XXoowIhOuQL1NTgNZHY1nkURnqEGlDZq3GsfmdJdKFe1k1zOc6YU2K7qY+hF9AodA==" crossorigin="anonymous"></script>
  462.             <script src="https://unpkg.com/leaflet.markercluster@1.3.0/dist/leaflet.markercluster-src.js" integrity="sha384-NAOEbWFcjnXc7U9GkULPhupHZNAbqru9dS3c+4ANYAwtFoVAWuVuMVDH0DIy4ESp" crossorigin="anonymous"></script>
  463.             <script src="{{ asset('assets/common_assets/js/vendor/leaflet.bezier.js') }}"></script>
  464.         {% endblock javascripts_bottom %}
  465.         <!-- Facebook Pixel Code -->
  466.         <script>
  467.             !function (f, b, e, v, n, t, s)
  468.             {
  469.                 if (f.fbq)
  470.                     return;
  471.                 n = f.fbq = function () {
  472.                     n.callMethod ?
  473.                             n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  474.                 };
  475.                 if (!f._fbq)
  476.                     f._fbq = n;
  477.                 n.push = n;
  478.                 n.loaded = !0;
  479.                 n.version = '2.0';
  480.                 n.queue = [];
  481.                 t = b.createElement(e);
  482.                 t.async = !0;
  483.                 t.src = v;
  484.                 s = b.getElementsByTagName(e)[0];
  485.                 s.parentNode.insertBefore(t, s)
  486.             }(window, document, 'script',
  487.                     'https://connect.facebook.net/en_US/fbevents.js');
  488.             fbq('init', '124649384848609');
  489.             fbq('track', 'PageView');
  490.         </script>
  491.         <noscript>
  492.         <img height="1" width="1"
  493.              src="https://www.facebook.com/tr?id=124649384848609&ev=PageView
  494.              &noscript=1"/>
  495.         </noscript>
  496.         <!-- End Facebook Pixel Code -->
  497.             </body>
  498.         </html>