pcRunDynamicModulesJs = function() { }; pcStartsWith = function(str, search) { return typeof str === 'string' && str.substr(0, search.length) === search; }; processDynamicModules = function(dyndatas) { for (var key in dyndatas) { if (key=='js') { // Keep spaces arround 'key', some Prestashop removes [key] otherwise (?!) $('body').append(dyndatas[ key ]); } else if (pcStartsWith(key, 'dyn')) { // Keep spaces arround 'key', some Prestashop removes [key] otherwise (?!) try { $('#'+key).replaceWith(dyndatas[ key ]); } catch (error) { console.error('A javasript error occured during the "eval" of the refreshed content ' + key + ': ' + error); } } } if (typeof pcRunDynamicModulesJs == 'function') { pcRunDynamicModulesJs(); } }; console.log('st_responsive'); var st_responsive = 1; var st_responsive_max = 1; var st_addtocart_animation = 0; var st_sticky_menu = 2; var st_sticky_adv = 0; var st_sticky_mobile_header = 2; var st_is_rtl = false; var zoom_type = 2; var st_retina = true; var st_sticky_mobile_header_height = 60; var secure_key = 'ed87b48601003ca8709a6c60f3a46f3e'; var redirect = 'no_redirect'; var authentication_page = 'https://todoparalaindustria.com/mi-cuenta'; var hi_sc_fb_front_controller_dir = 'https://todoparalaindustria.com/module/hifacebookconnect/facebookconnect?content_only=1'; var hi_sc_fb_module_dir = 'https://todoparalaindustria.com/modules/hifacebookconnect'; var hi_sc_fb_base_url = 'https://todoparalaindustria.com/'; var facebook_id = ''; var sc_fb_loader = 'https://todoparalaindustria.com/modules/hifacebookconnect/views/img/loaders/spinner.gif'; (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&version=v2.10&appId="; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); var baseDir = 'https://todoparalaindustria.com/'; var isLogged = ''; var single_mode = ''; var added_to_wishlist = 'The product was successfully added to your wishlist.' var added_to_wishlist_btn = 'Added to wishlist' var static_token = '1c736eef2f624d02280597f6103d2d4a'; var advansedwishlist_ajax_controller_url = 'https://todoparalaindustria.com/module/advansedwishlist/ajax'; var idDefaultWishlist = '0'; var wishlist_btn_icon = ''; var ps_ws_version = 'advansedwishlistis16'; var esc_countries = {"6":{"id":"6","name":"Espa\u00f1a","iso_code":"ES","states":[{"id_state":"313","id_country":"6","id_zone":"16","name":"A Coru\u00f1a","iso_code":"ES-C","tax_behavior":"0","active":"1"},{"id_state":"316","id_country":"6","id_zone":"10","name":"Alacant","iso_code":"ES-A","tax_behavior":"0","active":"1"},{"id_state":"314","id_country":"6","id_zone":"14","name":"\u00c1lava","iso_code":"ES-VI","tax_behavior":"0","active":"1"},{"id_state":"315","id_country":"6","id_zone":"10","name":"Albacete","iso_code":"ES-AB","tax_behavior":"0","active":"1"},{"id_state":"317","id_country":"6","id_zone":"10","name":"Almer\u00eda","iso_code":"ES-AL","tax_behavior":"0","active":"1"},{"id_state":"318","id_country":"6","id_zone":"15","name":"Asturias","iso_code":"ES-O","tax_behavior":"0","active":"1"},{"id_state":"319","id_country":"6","id_zone":"13","name":"\u00c1vila","iso_code":"ES-AV","tax_behavior":"0","active":"1"},{"id_state":"320","id_country":"6","id_zone":"14","name":"Badajoz","iso_code":"ES-BA","tax_behavior":"0","active":"1"},{"id_state":"321","id_country":"6","id_zone":"18","name":"Balears","iso_code":"ES-PM","tax_behavior":"0","active":"1"},{"id_state":"322","id_country":"6","id_zone":"13","name":"Barcelona","iso_code":"ES-B","tax_behavior":"0","active":"1"},{"id_state":"360","id_country":"6","id_zone":"15","name":"Bizkaia","iso_code":"ES-BI","tax_behavior":"0","active":"1"},{"id_state":"323","id_country":"6","id_zone":"14","name":"Burgos","iso_code":"ES-BU","tax_behavior":"0","active":"1"},{"id_state":"324","id_country":"6","id_zone":"14","name":"C\u00e1ceres","iso_code":"ES-CC","tax_behavior":"0","active":"1"},{"id_state":"325","id_country":"6","id_zone":"14","name":"C\u00e1diz","iso_code":"ES-CA","tax_behavior":"0","active":"1"},{"id_state":"326","id_country":"6","id_zone":"15","name":"Cantabria","iso_code":"ES-S","tax_behavior":"0","active":"1"},{"id_state":"327","id_country":"6","id_zone":"12","name":"Castell\u00f3","iso_code":"ES-CS","tax_behavior":"0","active":"1"},{"id_state":"328","id_country":"6","id_zone":"12","name":"Ciudad Real","iso_code":"ES-CR","tax_behavior":"0","active":"1"},{"id_state":"329","id_country":"6","id_zone":"13","name":"C\u00f3rdoba","iso_code":"ES-CO","tax_behavior":"0","active":"1"},{"id_state":"330","id_country":"6","id_zone":"12","name":"Cuenca","iso_code":"ES-CU","tax_behavior":"0","active":"1"},{"id_state":"334","id_country":"6","id_zone":"15","name":"Gipuzkoa","iso_code":"ES-SS","tax_behavior":"0","active":"1"},{"id_state":"331","id_country":"6","id_zone":"13","name":"Girona","iso_code":"ES-GI","tax_behavior":"0","active":"1"},{"id_state":"332","id_country":"6","id_zone":"12","name":"Granada","iso_code":"ES-GR","tax_behavior":"0","active":"1"},{"id_state":"333","id_country":"6","id_zone":"13","name":"Guadalajara","iso_code":"ES-GU","tax_behavior":"0","active":"1"},{"id_state":"335","id_country":"6","id_zone":"14","name":"Huelva","iso_code":"ES-H","tax_behavior":"0","active":"1"},{"id_state":"336","id_country":"6","id_zone":"14","name":"Huesca","iso_code":"ES-HU","tax_behavior":"0","active":"1"},{"id_state":"337","id_country":"6","id_zone":"12","name":"Ja\u00e9n","iso_code":"ES-J","tax_behavior":"0","active":"1"},{"id_state":"338","id_country":"6","id_zone":"14","name":"La Rioja","iso_code":"ES-LO","tax_behavior":"0","active":"1"},{"id_state":"339","id_country":"6","id_zone":"19","name":"Las Palmas","iso_code":"ES-GC","tax_behavior":"0","active":"1"},{"id_state":"340","id_country":"6","id_zone":"14","name":"Le\u00f3n","iso_code":"ES-LE","tax_behavior":"0","active":"1"},{"id_state":"341","id_country":"6","id_zone":"13","name":"Lleida","iso_code":"ES-L","tax_behavior":"0","active":"1"},{"id_state":"342","id_country":"6","id_zone":"16","name":"Lugo","iso_code":"ES-LU","tax_behavior":"0","active":"1"},{"id_state":"343","id_country":"6","id_zone":"13","name":"Madrid","iso_code":"ES-M","tax_behavior":"0","active":"1"},{"id_state":"344","id_country":"6","id_zone":"13","name":"M\u00e1laga","iso_code":"ES-MA","tax_behavior":"0","active":"1"},{"id_state":"345","id_country":"6","id_zone":"9","name":"Murcia","iso_code":"ES-MU","tax_behavior":"0","active":"1"},{"id_state":"346","id_country":"6","id_zone":"14","name":"Nafarroa","iso_code":"ES-NA","tax_behavior":"0","active":"1"},{"id_state":"347","id_country":"6","id_zone":"16","name":"Ourense","iso_code":"ES-OR","tax_behavior":"0","active":"1"},{"id_state":"348","id_country":"6","id_zone":"14","name":"Palencia","iso_code":"ES-P","tax_behavior":"0","active":"1"},{"id_state":"349","id_country":"6","id_zone":"16","name":"Pontevedra","iso_code":"ES-PO","tax_behavior":"0","active":"1"},{"id_state":"350","id_country":"6","id_zone":"13","name":"Salamanca","iso_code":"ES-SA","tax_behavior":"0","active":"1"},{"id_state":"351","id_country":"6","id_zone":"19","name":"Santa Cruz de Tenerife","iso_code":"ES-TF","tax_behavior":"0","active":"1"},{"id_state":"352","id_country":"6","id_zone":"13","name":"Segovia","iso_code":"ES-SG","tax_behavior":"0","active":"1"},{"id_state":"353","id_country":"6","id_zone":"13","name":"Sevilla","iso_code":"ES-SE","tax_behavior":"0","active":"1"},{"id_state":"354","id_country":"6","id_zone":"13","name":"Soria","iso_code":"ES-SO","tax_behavior":"0","active":"1"},{"id_state":"355","id_country":"6","id_zone":"13","name":"Tarragona","iso_code":"ES-T","tax_behavior":"0","active":"1"},{"id_state":"356","id_country":"6","id_zone":"12","name":"Teruel","iso_code":"ES-TE","tax_behavior":"0","active":"1"},{"id_state":"357","id_country":"6","id_zone":"13","name":"Toledo","iso_code":"ES-TO","tax_behavior":"0","active":"1"},{"id_state":"358","id_country":"6","id_zone":"11","name":"Val\u00e8ncia","iso_code":"ES-V","tax_behavior":"0","active":"1"},{"id_state":"359","id_country":"6","id_zone":"13","name":"Valladolid","iso_code":"ES-VA","tax_behavior":"0","active":"1"},{"id_state":"361","id_country":"6","id_zone":"14","name":"Zamora","iso_code":"ES-ZA","tax_behavior":"0","active":"1"},{"id_state":"362","id_country":"6","id_zone":"13","name":"Zaragoza","iso_code":"ES-Z","tax_behavior":"0","active":"1"},{"id_state":"363","id_country":"6","id_zone":"1","name":"\u00a0Ceuta","iso_code":"ES-CE","tax_behavior":"0","active":"1"},{"id_state":"364","id_country":"6","id_zone":"1","name":"\u00a0Melilla","iso_code":"ES-ML","tax_behavior":"0","active":"1"}]},"15":{"id":"15","name":"Portugal","iso_code":"PT","states":[]}}; var esc_static_token = '3951e513255f4d075626900f6361d4a2'; var esc_module_dir = '/modules/estimateshippingcost/'; var actions_estimateshippingcost = 'https://todoparalaindustria.com/module/estimateshippingcost/actions'; var EstimateShippingCost = { CONFIGS : {"ESC_VERSION":"2.0.1","ESC_ID_CUSTOMER":"1","ESC_ENABLE_DEBUG":false,"ESC_SHOW_COUNTRY":true,"ESC_SHOW_ZIP_CODE":true,"ESC_SHOW_CITY":false,"ESC_SHOW_STATE":true,"ESC_OVERRIDE_CSS":null,"ESC_OVERRIDE_JS":null,"ESC_SHOW_DESC_CARRIER":false,"ESC_BUTTON_COLOR":null,"ESC_BUTTON_TEXT_COLOR":null,"ESC_BUTTON_BORDER_COLOR":null,"ESC_SHOW_TOTAL":false,"ESC_SHOW_QUANTITY_FIELD":false,"ESC_SHOW_ADD_CART_BTN":false,"ESC_COUNTRY_TYPEAHEAD":true,"ESC_STATE_TYPEAHEAD":true,"ESC_RM":false} }; AppESC.MSG = { select_lang: "Seleccione", no_carrier_available: "No hay transportistas disponibles para su área.", days: "día(s)", no_estimate_days: "No se especificó entrega estimada" };
/* * 2007-2018 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author 2007-2019 PayPal * @author 2007-2013 PrestaShop SA * @author 2014-2019 202 ecommerce * @copyright PayPal * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * */ function updateFormDatas() { var nb = $('#quantity_wanted').val(); var id = $('#idCombination').val(); $('.paypal_payment_form input[name=quantity]').val(nb); $('.paypal_payment_form input[name=id_p_attr]').val(id); } $(document).ready( function() { var baseDirPP = baseDir.replace('http:', 'https:'); if($('#in_context_checkout_enabled').val() != 1) { $(document).on('click','#payment_paypal_express_checkout', function() { $('#paypal_payment_form_cart').submit(); return false; }); } var jquery_version = $.fn.jquery.split('.'); if(jquery_version[0]>=1 && jquery_version[1] >= 7) { $('body').on('submit',".paypal_payment_form", function () { updateFormDatas(); }); } else { $('.paypal_payment_form').live('submit', function () { updateFormDatas(); }); } function displayExpressCheckoutShortcut() { var id_product = $('input[name="id_product"]').val(); var id_product_attribute = $('input[name="id_product_attribute"]').val(); $.ajax({ type: "GET", url: baseDirPP+'/modules/paypal/express_checkout/ajax.php', data: { get_qty: "1", id_product: id_product, id_product_attribute: id_product_attribute }, cache: false, success: function(result) { if (result == '1') { $('#container_express_checkout').slideDown(); } else { $('#container_express_checkout').slideUp(); } return true; } }); } $('select[name^="group_"]').change(function () { setTimeout(function(){displayExpressCheckoutShortcut()}, 500); }); $('.color_pick').click(function () { setTimeout(function(){displayExpressCheckoutShortcut()}, 500); }); if($('body#product').length > 0) { setTimeout(function(){displayExpressCheckoutShortcut()}, 500); } var modulePath = 'modules/paypal'; var subFolder = '/integral_evolution'; var fullPath = baseDirPP + modulePath + subFolder; var confirmTimer = false; if ($('form[target="hss_iframe"]').length == 0) { if ($('select[name^="group_"]').length > 0) displayExpressCheckoutShortcut(); return false; } else { checkOrder(); } function checkOrder() { if(confirmTimer == false) confirmTimer = setInterval(getOrdersCount, 1000); } }); var lgconsultas_default_display = 3; var lgconsultas_extradisplay = 10; var lgconsultas_url_envio_consulta = 'https://todoparalaindustria.com/module/lgconsultas/responses'; var lgconsultas_messages_fields_mandatory = 'Todos los campos son obligatorios'; var lgconsultas_messages_email_invalid = 'La dirección de email no es válida'; var lgconsultas_messages_recaptcha = 'Por favor verifique que no es un robot'; var lgconsultas_messages_sended = 'La cuestión se ha enviado correctamente'; var lgconsultas_messages_accept_conditions = 'Debe aceptar las condiciones de uso'; var lgconsultas_faqcaptcha = 0; var lgconsultas_faqcondition = 1; var lgconsultas_error_unknown = 1; var lgconsultas_token = 'b8b9a4035f447ee94b08141b27491f70'; var alcafbp_id = 712296139696381; var alcafbp_type = 'ViewContent'; var alcafbp_content = {content_name: 'TORNILLO HEXAGONAL DIN-933 ACERO 8.8 ZINC (ES)', content_ids: ['10750'], content_type: 'product', value: 0.02, currency: 'EUR'}; var alcafbp_track = 'track'; var alcafbp_controller = 'product'; var alcafbp_category_product = 'TORNILLERiA HIERRO (ES)'; var alcafbp_contact = '0'; { "@context": "http://schema.org", "@type": "Organization", "name": "todoparalaindustria.com", "aggregateRating" : { "@type": "AggregateRating", "ratingValue" : "4.57", "bestRating" : "5.00", "ratingCount" : "117" }} window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-3Q721507PY'); var dfProductLinks = []; var dfLinks = Object.keys(dfProductLinks); var doofinderAppendAfterBanner = "none"; var doofinderQuerySelector = "#search_query_top"; (function() { let isConnectifInitialized = false; function getConnectifCartFromAjax(ajaxCart) { const connectifCart = { cartId: ajaxCart.cn_cart_id?.toString(), totalPrice: +ajaxCart.cn_total_price, totalQuantity: +ajaxCart.cn_total_quantity, products: ajaxCart.cn_products.map(mapFromCartItem) }; return connectifCart; } function mapFromCartItem(cartItem) { const productBasketItem = { productDetailUrl: cartItem.url?.toString(), productId: cartItem.product_id?.toString(), name: cartItem.name?.toString(), description: cartItem.description, imageUrl: cartItem.image_url, unitPrice: +cartItem.unit_price, availability: cartItem.availability, brand: cartItem.brand, unitPriceOriginal: cartItem.unit_price_original, unitPriceWithoutVAT: cartItem.unit_price_without_vat, discountedPercentage: cartItem.discounted_percentage, discountedAmount: cartItem.discounted_amount, quantity: +cartItem.quantity, price: +cartItem.price, publishedAt: cartItem.published_at, categories: cartItem.categories, relatedExternalProductIds: cartItem.relatedProductsArray, tags: cartItem.tagsArray }; return productBasketItem; } function onConnectifStarted() { isConnectifInitialized = true; if (typeof prestashop !== 'undefined') { prestashop.on( 'updateCart', function(event) { var baseUrl = ''; $.ajax({ type: 'GET', url: baseUrl + 'modules/connectif/cn-cart-ajax.php' + '?retrieve_cart=1', success: function(ajaxCart) { if (!ajaxCart) { return; } const cnCart = JSON.parse(ajaxCart); if (cnCart.cn_cart_exist) { const cart = getConnectifCartFromAjax(cnCart); window.connectif.managed.sendEvents([], { cart }); } } }); } ); } } if (window.connectif?.managed) { onConnectifStarted(); } else { document.addEventListener( 'connectif.managed.initialized', onConnectifStarted ); } })(); var _cnid = "34c1cdb7-8bf7-4938-aed6-d536a24b9c7d"; (function(w, r, a, cn, s) { w['ConnectifObject'] = r; w[r] = w[r] || function () {( w[r].q = w[r].q || [] ).push(arguments)}; cn = document.createElement('script'); cn.type = 'text/javascript'; cn.async = true; cn.src = a; cn.id = '__cn_client_script_' + _cnid; s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(cn, s); })(window, 'cn', 'https://cdn.connectif.cloud/eu6/client-script/' + '34c1cdb7-8bf7-4938-aed6-d536a24b9c7d'); /* Copyright 2012 Google Inc. All rights reserved. */ (function(){ var data = { "resource": { "version":"1", "macros":[{"function":"__e"},{"function":"__dee"}], "tags":[{"function":"__asprv","vtp_globalName":"google_optimize","vtp_listenForMutations":false,"tag_id":6},{"function":"__asprv","tag_id":7}], "predicates":[{"function":"_eq","arg0":["macro",0],"arg1":["macro",1]},{"function":"_eq","arg0":["macro",0],"arg1":"optimize.callback"}], "rules":[[["if",0],["add",0]],[["if",1],["add",1]]] }, "runtime":[] }; /* Copyright 2012 Google Inc. All rights reserved. */ var ba,ca=function(a){var b=0;return function(){return b < a.length?{done:!1,value:a[b++]}:{done:!0}}},da="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ea;if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={a:!0},ia={};try{ia.__proto__=ha;fa=ia.a;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null} var ja=ea,ka=function(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Fk=b.prototype},la=this||self,ma=function(a){return a};var na=function(){},oa=function(a){return"function"===typeof a},h=function(a){return"string"===typeof a},pa=function(a){return"number"===typeof a&&!isNaN(a)},qa=Array.isArray,ra=function(a,b){if(a&&qa(a))for(var c=0;cb)a=0,b=2147483647;return Math.floor(Math.random()*(b-a+1)+a)},ua=function(a,b){for(var c=new ta,d=0;d>2,n=(f&3)<<4|g>>4,p=(g&15)<<2|l>>6,q=l&63;e||(q=64,d||(p=64));b.push(Qa[m],Qa[n],Qa[p],Qa[q])}return b.join("")} function Ua(a){function b(m){for(;d>4);64!=g&&(c+=String.fromCharCode(f<<4&240|g>>2),64!=l&&(c+=String.fromCharCode(g<<6&192|l)))}};var Va={},Wa=function(a,b){Va[a]=Va[a]||[];Va[a][b]=!0},Xa=function(){delete Va.GA4_EVENT},Ya=function(a){var b=Va[a];if(!b||0===b.length)return"";for(var c=[],d=0,e=0;e"+a+"");void 0!==c.tagName&&mb(c);c.innerHTML=kb(d);b=b.lastChild;for(var e=[];b.firstChild;)e.push(b.removeChild(b.firstChild));return e},Db=function(a,b,c){c=c||100;for(var d={},e=0;e=f)return!0;(d=d.parentElement)&&(e=E.getComputedStyle(d,null))}return!1};var Pe=/:[0-9]+$/,Qe=function(a,b,c){for(var d=a.split("&"),e=0;ec?a.href:a.href.substr(0,c)}return b},Ve=function(a){var b=F.createElement("a");a&&(b.href=a);var c=b.pathname;"/"!==c[0]&&(a||Wa("TAGGING",1),c="/"+c);var d=b.hostname.replace(Pe,"");return{href:b.href,protocol:b.protocol,host:b.host,hostname:d,pathname:c,search:b.search,hash:b.hash,port:b.port}},We=function(a){function b(n){var p=n.split("=")[0];return 0>d.indexOf(p)?n:p+"=0"}function c(n){return n.split("&").map(b).filter(function(p){return void 0!==p}).join("&")}var d="gclid dclid gbraid wbraid gclaw gcldc gclha gclgf gclgb _gl".split(" "), e=Ve(a),f=a.split(/[?#]/)[0],g=e.search,l=e.hash;"?"===g[0]&&(g=g.substring(1));"#"===l[0]&&(l=l.substring(1));g=c(g);l=c(l);""!==g&&(g="?"+g);""!==l&&(l="#"+l);var m=""+f+g+l;"/"===m[m.length-1]&&(m=m.substring(0,m.length-1));return m};var Xe={};var zf={},Af=function(a,b){if(E._gtmexpgrp&&E._gtmexpgrp.hasOwnProperty(a))return E._gtmexpgrp[a];void 0===zf[a]&&(zf[a]=Math.floor(Math.random()*b));return zf[a]};var Cf={fh:"",Wj:""};var Df=new function(a,b){this.h=a;this.defaultValue=void 0===b?!1:b}(1933);var Ef=function(a){Ef[" "](a);return a};Ef[" "]=function(){};var Gf=function(){var a=Ff,b="kf";if(a.kf&&a.hasOwnProperty(b))return a.kf;var c=new a;return a.kf=c};var Ff=function(){var a={};this.h=function(){var b=Df.h,c=Df.defaultValue;return null!=a[b]?a[b]:c};this.m=function(){a[Df.h]=!0}};var Hf=[];function If(){var a=pb("google_tag_data",{});a.ics||(a.ics={entries:{},set:Jf,update:Kf,addListener:Lf,notifyListeners:Mf,active:!1,usedDefault:!1,usedUpdate:!1,accessedDefault:!1,accessedAny:!1,wasSetLate:!1});return a.ics} function Jf(a,b,c,d,e,f){var g=If();g.usedDefault||!g.accessedDefault&&!g.accessedAny||(g.wasSetLate=!0);g.active=!0;g.usedDefault=!0;if(void 0!=b){var l=g.entries,m=l[a]||{},n=m.region,p=c&&h(c)?c.toUpperCase():void 0;d=d.toUpperCase();e=e.toUpperCase();if(""===d||p===e||(p===d?n!==e:!p&&!n)){var q=!!(f&&0d&&P(66);cg=c},eg=function(a){var b=Pf(a);return void 0!=b?b:!0},fg=function(){return"G1"+$f(Pf)},gg=function(a, b){Xf(a,b)},hg=function(a,b){Wf(a,b)};var ig=function(a){var b=1,c,d,e;if(a)for(b=0,d=a.length-1;0<=d;d--)e=a.charCodeAt(d),b=(b<<6&268435455)+e+(e<<14),c=b&266338304,b=0!==c?b^c>>21:b;return b};var jg=function(a,b,c){for(var d=[],e=b.split(";"),f=0;fd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))},kh=/[?&]($|#)/,lh=function(a,b,c){for(var d,e=a.search(ih),f=0,g,l=[];0<=(g=hh(a,f,b,e));)l.push(a.substring(f, g)),f=Math.min(a.indexOf("&",g)+1||e,e);l.push(a.slice(f));d=l.join("").replace(kh,"$1");var m,n=null!=c?"="+encodeURIComponent(String(c)):"";var p=b+n;if(p){var q,t=d.indexOf("#");0>t&&(t=d.length);var u=d.indexOf("?"),r;0>u||u>t?(u=t,r=""):r=d.substring(u+1,t);q=[d.slice(0,u),r,d.slice(t)];var v=q[1];q[1]=p?v?v+"&"+p:p:v;m=q[0]+(q[1]?"?"+q[1]:"")+q[2]}else m=d;return m};var mh=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b(a[c],c,a)};function nh(a){if(!a||!F.head)return null;var b=oh("META");F.head.appendChild(b);b.httpEquiv="origin-trial";b.content=a;return b} var ph=function(){if(E.top==E)return 0;var a=E.location.ancestorOrigins;if(a)return a[a.length-1]==E.location.origin?1:2;var b;var c=E.top;try{var d;if(d=!!c&&null!=c.location.href)b:{try{Ef(c.foo);d=!0;break b}catch(e){}d=!1}b=d}catch(e){b=!1}return b?1:2},oh=function(a,b){b=void 0===b?document:b;return b.createElement(String(a).toLowerCase())};function qh(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=oh("IMG",a.document);if(c){var e=function(){if(c){var f=a.google_image_requests,g=Za(f,d);0<=g&&Array.prototype.splice.call(f,g,1)}d.removeEventListener&&d.removeEventListener("load",e,!1);d.removeEventListener&&d.removeEventListener("error",e,!1)};dh(d,"load",e);dh(d,"error",e)}d.src=b;a.google_image_requests.push(d)} var sh=function(a){var b;b=void 0===b?!1:b;var c="https://pagead2.googlesyndication.com/pagead/gen_204?id=tcfe";mh(a,function(d,e){d&&(c+="&"+e+"="+encodeURIComponent(d))});rh(c,b)},rh=function(a,b){var c=window;b=void 0===b?!1:b;c.fetch?c.fetch(a,{keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"}):qh(c,a,void 0===b?!1:b)};var th=function(){};var uh=function(a){void 0!==a.addtlConsent&&"string"!==typeof a.addtlConsent&&(a.addtlConsent=void 0);void 0!==a.gdprApplies&&"boolean"!==typeof a.gdprApplies&&(a.gdprApplies=void 0);return void 0!==a.tcString&&"string"!==typeof a.tcString||void 0!==a.listenerId&&"number"!==typeof a.listenerId?2:a.cmpStatus&&"error"!==a.cmpStatus?0:3},vh=function(a,b,c){this.m=a;this.h=null;this.K={};this.Ga=0;this.P=void 0===b?500:b;this.D=void 0===c?!1:c;this.B=null};ka(vh,th); vh.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.D},d=lg(function(){return a(c)}),e=0;-1!==this.P&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.P));var f=function(g,l){clearTimeout(e);g?(c=g,c.internalErrorState=uh(c),c.internalBlockOnErrors=b.D,l&&0===c.internalErrorState||(c.tcString="tcunavailable",l||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{wh(this,"addEventListener",f)}catch(g){c.tcString= "tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};vh.prototype.removeEventListener=function(a){a&&a.listenerId&&wh(this,"removeEventListener",null,a.listenerId)}; var yh=function(a,b,c){var d;d=void 0===d?"755":d;var e;a:{if(a.publisher&&a.publisher.restrictions){var f=a.publisher.restrictions[b];if(void 0!==f){e=f[void 0===d?"755":d];break a}}e=void 0}var g=e;if(0===g)return!1;var l=c;2===c?(l=0,2===g&&(l=1)):3===c&&(l=1,1===g&&(l=0));var m;if(0===l)if(a.purpose&&a.vendor){var n=xh(a.vendor.consents,void 0===d?"755":d);m=n&&"1"===b&&a.purposeOneTreatment&&"CH"===a.publisherCC?!0:n&&xh(a.purpose.consents,b)}else m=!0;else m=1===l?a.purpose&&a.vendor?xh(a.purpose.legitimateInterests, b)&&xh(a.vendor.legitimateInterests,void 0===d?"755":d):!0:!0;return m},xh=function(a,b){return!(!a||!a[b])},wh=function(a,b,c,d){c||(c=function(){});if("function"===typeof a.m.__tcfapi){var e=a.m.__tcfapi;e(b,2,c,d)}else if(zh(a)){Ah(a);var f=++a.Ga;a.K[f]=c;if(a.h){var g={};a.h.postMessage((g.__tcfapiCall={command:b,version:2,callId:f,parameter:d},g),"*")}}else c({},!1)},zh=function(a){if(a.h)return a.h;var b;a:{for(var c=a.m,d=0;50>d;++d){var e;try{e=!(!c.frames||!c.frames.__tcfapiLocator)}catch(l){e= !1}if(e){b=c;break a}var f;b:{try{var g=c.parent;if(g&&g!=c){f=g;break b}}catch(l){}f=null}if(!(c=f))break}b=null}a.h=b;return a.h},Ah=function(a){a.B||(a.B=function(b){try{var c;c=("string"===typeof b.data?JSON.parse(b.data):b.data).__tcfapiReturn;a.K[c.callId](c.returnValue,c.success)}catch(d){}},dh(a.m,"message",a.B))},Bh=function(a){if(!1===a.gdprApplies)return!0;void 0===a.internalErrorState&&(a.internalErrorState=uh(a));return"error"===a.cmpStatus||0!==a.internalErrorState?a.internalBlockOnErrors? (sh({e:String(a.internalErrorState)}),!1):!0:"loaded"!==a.cmpStatus||"tcloaded"!==a.eventStatus&&"useractioncomplete"!==a.eventStatus?!1:!0};var Ch=!0;Ch=!1;var Dh={1:0,3:0,4:0,7:3,9:3,10:3},Eh=ch("",550),Fh=ch("",500);function Gh(){var a=Vd.tcf||{};return Vd.tcf=a} var Lh=function(){var a=Gh(),b=new vh(E,Ch?3E3:-1);if(!0===E.gtag_enable_tcf_support&&!a.active&&("function"===typeof E.__tcfapi||"function"===typeof b.m.__tcfapi||null!=zh(b))){a.active=!0;a.hd={};Hh();var c=null;Ch?c=E.setTimeout(function(){Ih(a);Jh(a);c=null},Fh):a.tcString="tcunavailable";try{b.addEventListener(function(d){c&&(clearTimeout(c),c=null);if(0!==d.internalErrorState)Ih(a),Jh(a);else{var e;a.gdprApplies=d.gdprApplies;if(!1===d.gdprApplies)e=Kh(),b.removeEventListener(d);else if("tcloaded"=== d.eventStatus||"useractioncomplete"===d.eventStatus||"cmpuishown"===d.eventStatus){var f={},g;for(g in Dh)if(Dh.hasOwnProperty(g))if("1"===g){var l,m=d,n=!0;n=void 0===n?!1:n;l=Bh(m)?!1===m.gdprApplies||"tcunavailable"===m.tcString||void 0===m.gdprApplies&&!n||"string"!==typeof m.tcString||!m.tcString.length?!0:yh(m,"1",0):!1;f["1"]=l}else f[g]=yh(d,g,Dh[g]);e=f}e&&(a.tcString=d.tcString||"tcempty",a.hd=e,Jh(a))}})}catch(d){c&&(clearTimeout(c),c=null),Ih(a),Jh(a)}}}; function Ih(a){a.type="e";a.tcString="tcunavailable";Ch&&(a.hd=Kh())}function Hh(){var a={},b=(a.ad_storage="denied",a.wait_for_update=Eh,a);bg(b)}function Kh(){var a={},b;for(b in Dh)Dh.hasOwnProperty(b)&&(a[b]=!0);return a}function Jh(a){var b={},c=(b.ad_storage=a.hd["1"]?"granted":"denied",b);dg(c,{eventId:0},{gdprApplies:a?a.gdprApplies:void 0,tcString:Mh()})} var Mh=function(){var a=Gh();return a.active?a.tcString||"":""},Nh=function(){var a=Gh();return a.active&&void 0!==a.gdprApplies?a.gdprApplies?"1":"0":""},Oh=function(a){if(!Dh.hasOwnProperty(String(a)))return!0;var b=Gh();return b.active&&b.hd?!!b.hd[String(a)]:!0};var Ph=["L","S","Y"],Qh=["S","E"],Rh={sampleRate:"0.005000",Kh:"",Jh:Number("5"),Ih:Number("")},Sh=0<=F.location.search.indexOf("?gtm_latency=")||0<=F.location.search.indexOf(">m_latency="),Th; if(!(Th=Sh)){var Uh=Math.random(),Vh=Rh.sampleRate;Th=Uh