vendor: 9,146 bytes, lines 1-23
1var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,b){a.raw=b;return a};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.makeIterator=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):$jscomp.arrayIterator(a)}; 2$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; 3$jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={}; 4$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b){var c=$jscomp.propertyToPolyfillSymbol[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]};$jscomp.polyfill=function(a,b,c,f){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,f):$jscomp.polyfillUnisolated(a,b,c,f))}; 5$jscomp.polyfillUnisolated=function(a,b,c,f){c=$jscomp.global;a=a.split(".");for(f=0;f<a.length-1;f++){var d=a[f];if(!(d in c))return;c=c[d]}a=a[a.length-1];f=c[a];b=b(f);b!=f&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}; 6$jscomp.polyfillIsolated=function(a,b,c,f){var d=a.split(".");a=1===d.length;f=d[0];f=!a&&f in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var k=0;k<d.length-1;k++){var e=d[k];if(!(e in f))return;f=f[e]}d=d[d.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?f[d]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,d,{configurable:!0,writable:!0,value:b}):b!==c&&(void 0===$jscomp.propertyToPolyfillSymbol[d]&&(c=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE? 7$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+c+"$"+d),$jscomp.defineProperty(f,$jscomp.propertyToPolyfillSymbol[d],{configurable:!0,writable:!0,value:b})))};$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},b={};try{return b.__proto__=a,b.a}catch(c){}return!1}; 8$jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null;$jscomp.generator={};$jscomp.generator.ensureIteratorResultIsObject_=function(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}; 9$jscomp.generator.Context=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};$jscomp.generator.Context.prototype.start_=function(){if(this.isRunning_)throw new TypeError("Generator is already running");this.isRunning_=!0};$jscomp.generator.Context.prototype.stop_=function(){this.isRunning_=!1}; 10$jscomp.generator.Context.prototype.jumpToErrorHandler_=function(){this.nextAddress=this.catchAddress_||this.finallyAddress_};$jscomp.generator.Context.prototype.next_=function(a){this.yieldResult=a};$jscomp.generator.Context.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.jumpToErrorHandler_()};$jscomp.generator.Context.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_}; 11$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks=function(a){this.abruptCompletion_={jumpTo:a};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype.yield=function(a,b){this.nextAddress=b;return{value:a}};$jscomp.generator.Context.prototype.yieldAll=function(a,b){a=$jscomp.makeIterator(a);var c=a.next();$jscomp.generator.ensureIteratorResultIsObject_(c);if(c.done)this.yieldResult=c.value,this.nextAddress=b;else return this.yieldAllIterator_=a,this.yield(c.value,b)}; 12$jscomp.generator.Context.prototype.jumpTo=function(a){this.nextAddress=a};$jscomp.generator.Context.prototype.jumpToEnd=function(){this.nextAddress=0};$jscomp.generator.Context.prototype.setCatchFinallyBlocks=function(a,b){this.catchAddress_=a;void 0!=b&&(this.finallyAddress_=b)};$jscomp.generator.Context.prototype.setFinallyBlock=function(a){this.catchAddress_=0;this.finallyAddress_=a||0};$jscomp.generator.Context.prototype.leaveTryBlock=function(a,b){this.nextAddress=a;this.catchAddress_=b||0}; 13$jscomp.generator.Context.prototype.enterCatchBlock=function(a){this.catchAddress_=a||0;a=this.abruptCompletion_.exception;this.abruptCompletion_=null;return a};$jscomp.generator.Context.prototype.enterFinallyBlock=function(a,b,c){c?this.finallyContexts_[c]=this.abruptCompletion_:this.finallyContexts_=[this.abruptCompletion_];this.catchAddress_=a||0;this.finallyAddress_=b||0}; 14$jscomp.generator.Context.prototype.leaveFinallyBlock=function(a,b){b=this.finallyContexts_.splice(b||0)[0];if(b=this.abruptCompletion_=this.abruptCompletion_||b){if(b.isException)return this.jumpToErrorHandler_();void 0!=b.jumpTo&&this.finallyAddress_<b.jumpTo?(this.nextAddress=b.jumpTo,this.abruptCompletion_=null):this.nextAddress=this.finallyAddress_}else this.nextAddress=a};$jscomp.generator.Context.prototype.forIn=function(a){return new $jscomp.generator.Context.PropertyIterator(a)}; 15$jscomp.generator.Context.PropertyIterator=function(a){this.object_=a;this.properties_=[];for(var b in a)this.properties_.push(b);this.properties_.reverse()};$jscomp.generator.Context.PropertyIterator.prototype.getNext=function(){for(;0<this.properties_.length;){var a=this.properties_.pop();if(a in this.object_)return a}return null};$jscomp.generator.Engine_=function(a){this.context_=new $jscomp.generator.Context;this.program_=a}; 16$jscomp.generator.Engine_.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return this.nextStep_()}; 17$jscomp.generator.Engine_.prototype.return_=function(a){this.context_.start_();var b=this.context_.yieldAllIterator_;if(b)return this.yieldAllStep_("return"in b?b["return"]:function(c){return{value:c,done:!0}},a,this.context_.return);this.context_.return(a);return this.nextStep_()}; 18$jscomp.generator.Engine_.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return this.nextStep_()}; 19$jscomp.generator.Engine_.prototype.yieldAllStep_=function(a,b,c){try{var f=a.call(this.context_.yieldAllIterator_,b);$jscomp.generator.ensureIteratorResultIsObject_(f);if(!f.done)return this.context_.stop_(),f;var d=f.value}catch(k){return this.context_.yieldAllIterator_=null,this.context_.throw_(k),this.nextStep_()}this.context_.yieldAllIterator_=null;c.call(this.context_,d);return this.nextStep_()}; 20$jscomp.generator.Engine_.prototype.nextStep_=function(){for(;this.context_.nextAddress;)try{var a=this.program_(this.context_);if(a)return this.context_.stop_(),{value:a.value,done:!1}}catch(b){this.context_.yieldResult=void 0,this.context_.throw_(b)}this.context_.stop_();if(this.context_.abruptCompletion_){a=this.context_.abruptCompletion_;this.context_.abruptCompletion_=null;if(a.isException)throw a.exception;return{value:a.return,done:!0}}return{value:void 0,done:!0}}; 21$jscomp.generator.Generator_=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return a.return_(b)};this[Symbol.iterator]=function(){return this}};$jscomp.generator.createGenerator=function(a,b){b=new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(b));$jscomp.setPrototypeOf&&a.prototype&&$jscomp.setPrototypeOf(b,a.prototype);return b}; 22$jscomp.asyncExecutePromiseGenerator=function(a){function b(f){return a.next(f)}function c(f){return a.throw(f)}return new Promise(function(f,d){function k(e){e.done?f(e.value):Promise.resolve(e.value).then(b,c).then(k,d)}k(a.next())})};$jscomp.asyncExecutePromiseGeneratorFunction=function(a){return $jscomp.asyncExecutePromiseGenerator(a())};$jscomp.asyncExecutePromiseGeneratorProgram=function(a){return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(a)))}; 23$jscomp.initSymbol=function(){};
23$jscomp.polyfill("Symbol",function(a){if(a)return a;var b=function(k,e){this.$jscomp$symbol$id_=k;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:e})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",f=0,d=function(k){if(this instanceof d)throw new TypeError("Symbol is not a constructor");return new b(c+(k||"")+"_"+f++,k)};return d},"es6","es3"); 24$jscomp.polyfill("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c<b.length;c++){var f=$jscomp.global[b[c]];"function"===typeof f&&"function"!=typeof f.prototype[a]&&$jscomp.defineProperty(f.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return a},"es6", 25"es3");$jscomp.iteratorPrototype=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}; 26$jscomp.polyfill("Promise",function(a){function b(){this.batch_=null}function c(e){return e instanceof d?e:new d(function(g,h){g(e)})}if(a&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return a;b.prototype.asyncExecute=function(e){if(null==this.batch_){this.batch_=[];var g=this;this.asyncExecuteFunction(function(){g.executeBatch_()})}this.batch_.push(e)}; 27var f=$jscomp.global.setTimeout;b.prototype.asyncExecuteFunction=function(e){f(e,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var e=this.batch_;this.batch_=[];for(var g=0;g<e.length;++g){var h=e[g];e[g]=null;try{h()}catch(m){this.asyncThrow_(m)}}}this.batch_=null};b.prototype.asyncThrow_=function(e){this.asyncExecuteFunction(function(){throw e;})};var d=function(e){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var g=this.createResolveAndReject_(); 28try{e(g.resolve,g.reject)}catch(h){g.reject(h)}};d.prototype.createResolveAndReject_=function(){function e(m){return function(l){h||(h=!0,m.call(g,l))}}var g=this,h=!1;return{resolve:e(this.resolveTo_),reject:e(this.reject_)}};d.prototype.resolveTo_=function(e){if(e===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof d)this.settleSameAsPromise_(e);else{a:switch(typeof e){case "object":var g=null!=e;break a;case "function":g=!0;break a;default:g=!1}g?this.resolveToNonPromiseObj_(e): 29this.fulfill_(e)}};d.prototype.resolveToNonPromiseObj_=function(e){var g=void 0;try{g=e.then}catch(h){this.reject_(h);return}"function"==typeof g?this.settleSameAsThenable_(g,e):this.fulfill_(e)};d.prototype.reject_=function(e){this.settle_(2,e)};d.prototype.fulfill_=function(e){this.settle_(1,e)};d.prototype.settle_=function(e,g){if(0!=this.state_)throw Error("Cannot settle("+e+", "+g+"): Promise already settled in state"+this.state_);this.state_=e;this.result_=g;2===this.state_&&this.scheduleUnhandledRejectionCheck_(); 30this.executeOnSettledCallbacks_()};d.prototype.scheduleUnhandledRejectionCheck_=function(){var e=this;f(function(){if(e.notifyUnhandledRejection_()){var g=$jscomp.global.console;"undefined"!==typeof g&&g.error(e.result_)}},1)};d.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var e=$jscomp.global.CustomEvent,g=$jscomp.global.Event,h=$jscomp.global.dispatchEvent;if("undefined"===typeof h)return!0;"function"===typeof e?e=new e("unhandledrejection",{cancelable:!0}): 31"function"===typeof g?e=new g("unhandledrejection",{cancelable:!0}):(e=$jscomp.global.document.createEvent("CustomEvent"),e.initCustomEvent("unhandledrejection",!1,!0,e));e.promise=this;e.reason=this.result_;return h(e)};d.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var e=0;e<this.onSettledCallbacks_.length;++e)k.asyncExecute(this.onSettledCallbacks_[e]);this.onSettledCallbacks_=null}};var k=new b;d.prototype.settleSameAsPromise_=function(e){var g=this.createResolveAndReject_(); 32e.callWhenSettled_(g.resolve,g.reject)};d.prototype.settleSameAsThenable_=function(e,g){var h=this.createResolveAndReject_();try{e.call(g,h.resolve,h.reject)}catch(m){h.reject(m)}};d.prototype.then=function(e,g){function h(n,q){return"function"==typeof n?function(t){try{m(n(t))}catch(u){l(u)}}:q}var m,l,v=new d(function(n,q){m=n;l=q});this.callWhenSettled_(h(e,m),h(g,l));return v};d.prototype.catch=function(e){return this.then(void 0,e)};d.prototype.callWhenSettled_=function(e,g){function h(){switch(m.state_){case 1:e(m.result_); 33break;case 2:g(m.result_);break;default:throw Error("Unexpected state: "+m.state_);}}var m=this;null==this.onSettledCallbacks_?k.asyncExecute(h):this.onSettledCallbacks_.push(h);this.isRejectionHandled_=!0};d.resolve=c;d.reject=function(e){return new d(function(g,h){h(e)})};d.race=function(e){return new d(function(g,h){for(var m=$jscomp.makeIterator(e),l=m.next();!l.done;l=m.next())c(l.value).callWhenSettled_(g,h)})};d.all=function(e){var g=$jscomp.makeIterator(e),h=g.next();return h.done?c([]):new d(function(m, 34l){function v(t){return function(u){n[t]=u;q--;0==q&&m(n)}}var n=[],q=0;do n.push(void 0),q++,c(h.value).callWhenSettled_(v(n.length-1),l),h=g.next();while(!h.done)})};return d},"es6","es3");$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var f=a.length,d=0;d<f;d++){var k=a[d];if(b.call(c,k,d,a))return{i:d,v:k}}return{i:-1,v:void 0}};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(b,c){return $jscomp.findInternal(this,b,c).v}},"es6","es3"); 35$jscomp.polyfill("Array.from",function(a){return a?a:function(b,c,f){c=null!=c?c:function(g){return g};var d=[],k="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof k){b=k.call(b);for(var e=0;!(k=b.next()).done;)d.push(c.call(f,k.value,e++))}else for(k=b.length,e=0;e<k;e++)d.push(c.call(f,b[e],e));return d}},"es6","es3"); 36$jscomp.checkStringArgs=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}; 37$jscomp.polyfill("String.prototype.repeat",function(a){return a?a:function(b){var c=$jscomp.checkStringArgs(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var f="";b;)if(b&1&&(f+=c),b>>>=1)c+=c;return f}},"es6","es3");$jscomp.stringPadding=function(a,b){a=void 0!==a?String(a):" ";return 0<b&&a?a.repeat(Math.ceil(b/a.length)).substring(0,b):""}; 38$jscomp.polyfill("String.prototype.padStart",function(a){return a?a:function(b,c){var f=$jscomp.checkStringArgs(this,null,"padStart");return $jscomp.stringPadding(c,b-f.length)+f}},"es8","es3");"object"!==typeof FUNI&&(FUNI={}); 39FUNI.sticky={offset:null,stickyTimer:null,activeSticky:!1,init:function(){this.offset=110;$(window).scroll(FUNI.sticky.onScroll);this.refresh()},refresh:function(){var a=$(window).scrollTop()>=FUNI.sticky.offset;
39!a&&FUNI.sticky.activeSticky?FUNI.sticky.unstickIt():a&&!FUNI.sticky.activeSticky&&FUNI.sticky.stickyIt()},onScroll:function(a){FUNI.sticky.refresh()},stickyIt:function(){$("body").css("padding-top",FUNI.sticky.offset+"px");$("#header").sticky({topSpacing:0,zIndex:10002});$(".js-head-search").length&& 40$(".js-head-search").removeClass("active");$("#filters").length&&$("#filters").sticky({topSpacing:$("#header").height(),zIndex:10001});$(".shopping-ctd-sticky").length&&(FUNI.sticky.isMobile()||$(".shopping-ctd-sticky").sticky({topSpacing:70,zIndex:10002}));FUNI.sticky.activeSticky=!0},unstickIt:function(){$("body").css("padding-top","0");$("#header").unstick();$("#filters").length&&$("#filters").unstick();$(".shopping-ctd-sticky").length&&$(".shopping-ctd-sticky").unstick();FUNI.sticky.activeSticky= 41!1},isMobile:function(){return 1080>$(window).width()}};function openHeadSearch(a){$(a).toggleClass("active");$("#header-search").toggleClass("open");$("#searchForm-query-header").focus()} 42$(document).ready(function(){$(window).scroll(function(){180<$(this).scrollTop()?$(".back-to-top").fadeIn(200):$(".back-to-top").fadeOut(200)});$(".back-to-top").click(function(a){a.preventDefault();$("html, body").animate({scrollTop:0},200);return!1});$("#slidemenuBtn").on("click touchstart",function(a){$("body").toggleClass("slidemenu-open")});$(".js-head-search").length&&($(".js-head-search").click(function(){openHeadSearch(this)}),$(".js-head-search").keypress(function(a){a=a.keyCode?a.keyCode: 43a.which;13!==a&&10!==a||$("#searhForm-header").submit()}));$("#menu-movil-user-btn").click(function(){$("#header .header-menu-nav li").removeClass("open");$("#menu-movil-user-btn").toggleClass("active");$("#header-movil-user").toggleClass("active");$("#menu-movil-language-btn").removeClass("active");$("#header-movil-language").removeClass("active");$(".header-menu-movil-att").removeClass("nd");$("#header-menu li.opt-normal ul.all").removeClass("nd");$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").removeClass("nd"); 44$("#header-menu li.opt-normal .header-menu-tags .menu-column-title a").removeClass("active");$("#header-menu li.opt-normal.open .menu-h2 a").removeClass("active");$("#header-menu li .menu-h2 a").removeClass("nd");$("#header .header-menu-nav li.opt-normal .menu-h2 a").removeClass("active");$(".header-menu-tags ul.lst-tags").removeClass("open")});$("#menu-movil-language-btn").click(function(){$("#header .header-menu-nav li").removeClass("open");$("#menu-movil-language-btn").toggleClass("active");$("#header-movil-language").toggleClass("active"); 45$("#menu-movil-user-btn").removeClass("active");$("#header-movil-user").removeClass("active");$(".header-menu-movil-att").removeClass("nd");$("#header-menu li.opt-normal ul.all").removeClass("nd");$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").removeClass("nd");$("#header-menu li.opt-normal .header-menu-tags .menu-column-title a").removeClass("active");$("#header-menu li.opt-normal.open .menu-h2 a").removeClass("active");$("#header-menu li .menu-h2 a").removeClass("nd"); 46$("#header .header-menu-nav li.opt-normal .menu-h2 a").removeClass("active");$(".header-menu-tags ul.lst-tags").removeClass("open")});starMenu();FUNI.sticky.init();navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad)/);700>$(window).width()?($("#slidecartBtn").length&&$("#slidecartBtn").attr("data-toggle",""),$("#header .header-menu-nav li.opt-normal .menu-h2 a").click(function(a){$(this).on("click")}),$("#header .header-menu-nav li.opt-normal .menu-h2 a").click(function(a){a.preventDefault(); 47$(this).closest("li").hasClass("open")?($(".header-menu-movil-att").removeClass("nd"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").not(this).removeClass("nd"),$(this).removeClass("active"),$("#header .header-menu-nav li.opt-normal").removeClass("open")):($(".header-menu-movil-att").addClass("nd"),$("#header .header-menu-nav li.opt-normal").removeClass("open"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").not(this).addClass("nd"),$(this).addClass("active"),$(this).closest("li").addClass("open")); 48$("#menu-movil-user-btn").removeClass("active");$("#header-movil-user").removeClass("active");$("#menu-movil-language-btn").removeClass("active");$("#header-movil-language").removeClass("active")}),$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").click(function(a){a.preventDefault();$(this).closest(".menu-column-title").next("ul.lst-tags").hasClass("open")?($("#header-menu li.opt-normal ul.all").removeClass("nd"),$("#header-menu li.opt-normal.open .menu-h2 a.active").removeClass("nd"), 49$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").not(this).removeClass("nd"),$(this).removeClass("active"),$(".header-menu-tags ul.lst-tags").removeClass("open")):($("#header-menu li.opt-normal ul.all").addClass("nd"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").addClass("nd"),$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").not(this).addClass("nd"),$(".header-menu-tags ul.lst-tags").removeClass("open"),$(this).addClass("active"), 50$(this).closest(".menu-column-title").next("ul.lst-tags").addClass("open"))}),$("#slidemenu .sidr-close-window").click(function(){$(".header-menu-movil-att").removeClass("nd");$("#header-menu li.opt-normal ul.all").removeClass("nd");$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").removeClass("nd");$("#header-menu li.opt-normal .header-menu-tags .menu-column-title a").removeClass("active");$("#header-menu li.opt-normal.open .menu-h2 a").removeClass("active");$("#header-menu li .menu-h2 a").removeClass("nd"); 51$("#header .header-menu-nav li.opt-normal .menu-h2 a").removeClass("active");$(".header-menu-tags ul.lst-tags").removeClass("open");$.sidr("close","slidemenu")})):($("#slidecartBtn").length&&$("#slidecartBtn").attr("data-toggle","dropdown"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").click(function(a){$(this).unbind("click")}));$("#nav-mobile a").click(function(){$(".lat-menu").toggleClass("show");$("#nav-mobile").toggleClass("active")})}); 52function starMenu(){var a=$(document).innerWidth();$("#slidemenuBtn").sidr({name:"slidemenu",side:"left",displace:!0,body:"body",bind:"touchstart click",onOpen:function(){$("html").css("overflow-y","hidden");
52$(".js-head-search").length&&($(".js-head-search").removeClass("active"),$("#header-search").removeClass("open"))},onClose:function(){$("html").css("overflow-y","auto");$("#header .header-menu-nav li").removeClass("open");$("#menu-movil-user-btn").removeClass("active");$("#header-movil-user").removeClass("active"); 53$("#menu-movil-language-btn").removeClass("active");$("#header-movil-language").removeClass("active")}});700<=a&&(waitExecute(200,$.sidr("close","slidemenu")),$(".header-menu-movil-att").removeClass("nd"),$("#header-menu li.opt-normal ul.all").removeClass("nd"),$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").removeClass("nd"),$("#header-menu li.opt-normal .header-menu-tags .menu-column-title a").removeClass("active"),$("#header-menu li.opt-normal.open .menu-h2 a").removeClass("active"), 54$("#header-menu li .menu-h2 a").removeClass("nd"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").removeClass("active"),$(".header-menu-tags ul.lst-tags").removeClass("open"))}function waitExecute(a,b){var c;return function(){var f=this,d=arguments;clearTimeout(c);c=setTimeout(function(){b.apply(f,d)},a)}}$(document).ready(function(){handleCart()}); 55function handleCart(){var a=0;$(document).on("focus","[id^='shoppingForm-'][id$='-sel'], [id^='cartForm-sel-']",function(b){a=$(this).val()}).on("change","[id^='shoppingForm-'][id$='-sel'], [id^='cartForm-sel-']",function(b){b=b.target;if($("#"+$(b).val()).length)$(b).hide().parent().css("display","none"),$("#"+$(b).val()).show().focus();else{var c=b.id.replace("shoppingForm-","");c=c.replace("cartForm-sel-","");c=c.replace("-sel","");updateQuantity(a,$(b).val(),c)}});$("[id^=shoppingForm-][id$=-manual], [id^='cartForm-manual-']").on("focus", 56function(){a=parseInt($(this).attr("rel"))||0;$(this).val("")}
56).on("blur",function(){""===$(this).val()&&$(this).val(a)}).change(function(){var b=this.id.replace("cartForm-","");b=b.replace("shoppingForm-","");b=b.replace("-manual","");updateQuantity(a,$(this).val(),b)})}function updateQuantity(a,b,c){a=b-a;0===b&&deleteProduct(c);0<a?upQuantity(c,a):0>a&&downQuantity(c,a)} 57function upQuantity(a,b){"undefined"!==typeof b&&b||(b=1);var c=0,f=0,d=a.split("-");a=parseFloat(d[0]);"undefined"!==typeof d[1]&&(c=parseFloat(d[1]));"undefined"!==typeof d[2]&&(f=parseFloat(d[2]));window.location.href="/cart.php?add&dontRedirect&summary&id_product="+a+"&ipa="+c+(0!==f?"&id_customization="+f:"")+"&qty="+b+"&token="+static_token} 58function downQuantity(a,b){"undefined"!==typeof b&&b?0>b&&(b=-b):b=1;var c=0,f=0,d=a.split("-");a=parseFloat(d[0]);"undefined"!==typeof d[1]&&(c=parseFloat(d[1]));"undefined"!==typeof d[2]&&(f=parseFloat(d[2]));window.location.href="/cart.php?add&dontRedirect&summary&id_product="+a+"&ipa="+c+"&op=down"+(0!==f?"&id_customization="+f:"")+"&qty="+b+"&token="+static_token} 59function deleteProduct(a){a=a.split("-");var b=0,c=0,f=parseFloat(a[0]);"undefined"!==typeof a[1]&&(b=parseFloat(a[1]));"undefined"!==typeof a[2]&&(c=parseFloat(a[2]));window.location.href="/cart.php?delete&summary&id_product="+f+"&ipa="+b+(0!==c?"&id_customization="+c:"")+"&token="+static_token} 60$(document).ready(function(){pageCategory&&pageCategory.match(/home|\//g)&&(gtmEECPromoViews(),$("div.home-carousel .item .d-desktop a").click(function(){gtmEECPromoClick(this)}),shouldExecuteVertexEvent()&>mCloudRetailHomePageView());
60pageCategory&&pageCategory.match(/order-confirmation/g)&&(gtmEECPurchase(),shouldExecuteVertexEvent()&>mCloudRetailPurchaseComplete());pageCategory&&pageCategory.match(/search|\//g)&&shouldExecuteVertexEvent()&>mCloudRetailSearch();pageCategory&&pageCategory.match(/home|search|landing|static-page/g)&& 61fillRemarketingPixelGeneral(pageCategory);pageCategory&&pageCategory.match(/order-confirmation/g)&&fillRemarketingPixelPurchase(order,order_products)}); 62function gtmEECPromoClick(a){try{var b=(b=$(a).attr("href").match(/\/\d+/g)[0])?b.slice(1):"";var c=$.trim($(a).attr("title"));var f=$(a).find("img").attr("src");var d=$(a).parents(".item").index()+1||1;window.dataLayer&&dataLayer.push({event:"eec_promoClick",ecommerce:{promoClick:{promotions:[{id:b,name:c,creative:f,position:d}]}}})}catch(k){console&&console.error("GTM Error: "+k.message)}} 63function gtmEECPromoViews(){var a=[];try{var b=$("div.home-carousel .slick-active .item .d-desktop a");if(b.length){for(var c=0;c<b.length;c++){var f=(f=$(b[c]).attr("href").match(/\/\d+/g)[0])?f.slice(1):"";var d=$.trim($(b[c]).attr("title"));var k=$(b[c]).find("img").attr("src");
63var e=$(b[c]).parents(".item").index()+1||1;a.push({id:f,name:d,creative:k,position:e})}window.dataLayer&&dataLayer.push({event:"eec_promoView",ecommerce:{promoView:{promotions:a}}})}}catch(g){console&&console.error("GTM Error: "+ 64g.message)}} 65function gtmEECPurchase(){var a,b,c,f,d,k,e,g,h,m,l,v,n,q,t,u,x,w,y,z;return $jscomp.asyncExecutePromiseGeneratorProgram(function(r){switch(r.nextAddress){case 1:g=[];h=0;u=t=q=n="";if(!(window.dataLayer&&order&&order_products)){r.jumpTo(0);break}r.setCatchFinallyBlocks(3);for(x in order_products)l=order_products[x],c=l.product_id,a=l.product_name,b=l.product_price_wt?(Math.round(100*l.product_price_wt)/100).toString():"",m=l.category_default?l.category_default.name:"",f=l.manufacturer_extra?l.manufacturer_extra.name: 66"",d=l.product_id+"-"+l.product_attribute_id,v=l.product_quantity?Number(l.product_quantity):1,k=l.reviews?l.reviews.count:"0",e=l.reviews?l.reviews.avgVal:"0",n=l.target?l.target:"",q=l.topics?"_"+l.topics+"_":"",t=l.typologies?"_"+l.typologies+"_":"",g.push({name:a,id:c,price:b,brand:f,category:m,variant:d,quantity:v,dimension15:k+"_"+e,dimension17:n,dimension18:q,dimension19:t});h=(h=Math.round(100*(order.total_paid-order.total_paid_tax_excl))/100)?h.toString():"0";u="undefined"!==typeof sem_total_price? 67Math.round(100*window.sem_total_price)/100:"";w="";if(!email){r.jumpTo(5);break}return r.yield(sha256(email),6);case 6:w=r.yieldResult;case 5:y={event:"eec_purchase",sem_total_price:u,sha256_email_address:w,ecommerce:{purchase:{actionField:{id:order.id.toString(),affiliation:"Funidelia",revenue:order.total_paid,tax:h,shipping:order.total_shipping,coupon:order.voucher_code},products:g}}};dataLayer.push(y);r.leaveTryBlock(0);break;case 3:z=r.enterCatchBlock(),console&&console.error("GTM Error: "+z.message), 68r.jumpToEnd()}})}function sha256(a){var b,c,f;return $jscomp.asyncExecutePromiseGeneratorProgram(function(d){if(1==d.nextAddress)return d.setCatchFinallyBlocks(2),d.yield(crypto.subtle.digest("SHA-256",(new TextEncoder).encode(a)),4);if(2!=d.nextAddress)return b=d.yieldResult,c=Array.from(new Uint8Array(b)).map(function(k){return k.toString(16).padStart(2,"0")}).join(""),d.return(c);f=d.enterCatchBlock();console.error("Hashing Error:",f.message);return d.return("")})} 69function fillRemarketingPixelGeneral(a){if(window.dataLayer){var b=a;"search"===a?b="searchresults":"landing"===a?b="category":"static-page"===a&&(b="other");dataLayer.push({event:"dyn_remarketing",google_tag_params:{ecomm_pagetype:b}})}} 70function fillRemarketingPixelPurchase(a,b){if(window.dataLayer){var c=[],f=[];a=a.total_paid;for(var d in b)d=b[d],c.push(d.product_id),f.push(d.product_price_wt);dataLayer.push({event:"dyn_remarketing",google_tag_params:{ecomm_prodid:c,ecomm_pagetype:"purchase",ecomm_totalvalue:a?Number(a):a}})}} 71function gtmCloudRetailHomePageView(){dataLayer=window.dataLayer||[];try{dataLayer.push({event:"cloud-retail_home-page-view",cloud_retail:{eventType:"home-page-view",experimentIds:[testABGroup],visitorId:globalVisitorId}})}catch(a){console&&console.error("GTM Error: "+a.message)}} 72function gtmCloudRetailSearch(a){dataLayer=dataLayer||[];var b,c=[],f=(new URLSearchParams(window.location.search)).get("query")||"",d=window.location.host.replace(/^(www\.|local\.)/,""),k="undefined"!==typeof vertexAttributionToken&&vertexAttributionToken?vertexAttributionToken:"attributionToken";try{if("undefined"!==typeof $.Products&&$.Products){var e=$($.Products.getSelector());var g=$(a).find("#id_product").text();jsProductInfo&&(p=$.grep(jsProductInfo,function(m){return m.id_product===g})[0]); 73var h=0;for(b=e.length;h<b;h++)(g=$(e[h]).find("#id_product").text())&&c.push({product:{id:String(g)}});dataLayer.push({event:"cloud-retail_search",cloud_retail:{entity:d,visitorId:globalVisitorId,eventType:"search",searchQuery:f,filter:jsFilterOrderPagecategories.filter,orderBy:jsFilterOrderPagecategories.orderBy,experimentIds:[testABGroup],attributionToken:k,productDetails:c}})}else dataLayer.push({event:"cloud-retail_search",cloud_retail:{entity:d,visitorId:globalVisitorId,eventType:"search",searchQuery:f, 74filter:jsFilterOrderPagecategories.filter,orderBy:jsFilterOrderPagecategories.orderBy,experimentIds:[testABGroup],attributionToken:k,productDetails:[]}})}catch(m){console&&console.error("GTM Error: "+m.message)}} 75function gtmCloudRetailPurchaseComplete(){dataLayer=dataLayer||[];var a=[],b=$.grep(dataLayer,function(e){return e.hasOwnProperty("currency")})[0];b=b?b.currency:"EUR";if(window.dataLayer&&order&&order_products)try{for(var c in order_products){var f=order_products[c];var d=f.product_id;var k=f.product_quantity?Number(f.product_quantity):1;a.push({product:{id:String(d)},quantity:Number(k)})}dataLayer.push({event:"cloud-retail_purchase-complete",cloud_retail:{visitorId:globalVisitorId,eventType:"purchase-complete", 76experimentIds:[testABGroup],productDetails:a,purchaseTransaction:{revenue:order.total_paid,currencyCode:b}}})}catch(e){console&&console.error("GTM Error: "+e.message)}}$("#header-menu li.opt-normal > h2 > a").on("click",function(){trackMenuClick("ClickTab",$(this).attr("title"))});$("#header-menu li.opt-links a").on("click",function(){trackMenuClick("ClickFeatured",$(this).attr("title"))});$("#header-menu li.opt-outlet > h2 > a").on("click",function(){trackMenuClick("ClickTab",$(this).attr("title"))}); 77$("#header-menu .header-menu-spe a").on("click",function(){trackMenuClick("ClickImg",$(this).attr("title"))});$("#header-menu .lst-tags a").on("click",function(){trackMenuClick("ClickTag",$(this).attr("title"))});$("#header-menu .lst-cats a").on("click",function(){trackMenuClick("ClickLink",$(this).attr("title"))});$("#header-menu li.all a").on("click",function(){trackMenuClick("ClickAll",$(this).attr("title"))}); 78function trackMenuClick(a,b){var c="/"===window.location.pathname?"MenuSuperior-Home":"MenuSuperior";"undefined"!==typeof ga&&ga("send","event",c,a,b)}function logError(a,b){b=JSON.stringify(b);"undefined"!==typeof ga&&ga("send","event","error",a,b)}createCookiesTable(); 79function createCookiesTable(){var a=$("#cc-fields .cookies-table").text();if(a){var b=initCookieConsent();a=JSON.parse(a);var c=defaultBlocks(),f;for(f in a){var d=fillCookieTable(a,f);d=createCustomBlock(d,f);c.push(d)}b.run({autorun:!0,current_lang:"en",autoclear_cookies:!0,languages:{en:{consent_modal:{title:$
79("#cc-fields .cc-title").text(),description:$("#cc-fields .cc-description").text()+'<button type="button" data-cc="c-settings" class="cc-link">'+$("#cc-fields .cc-open").text()+"</button>", 80primary_btn:{text:$("#cc-fields .cc-accept").text(),role:"accept_all"}},settings_modal:{title:$("#cc-fields .cc-settings").text(),save_settings_btn:$("#cc-fields .cc-save-settings").text(),accept_all_btn:$("#cc-fields .cc-accept-all").text(),close_btn_label:$("#cc-fields .cc-close").text(),cookie_table_headers:[{col1:"Name"},{col2:"Domain"},{col3:"Expiration"}],blocks:c}}}})}} 81function fillCookieTable(a,b){var c=[];a=$jscomp.makeIterator(a[b]);for(b=a.next();!b.done;b=a.next())b=b.value,c.push({col1:b.cookie,col2:b.domain,col3:b.expiration});return c}function createCustomBlock(a,b){return{title:$("#cc-fields .cc-"+b+"-title").text(),description:$("#cc-fields .cc-"+b).text(),toggle:{value:b,enabled:!0,readonly:!1},cookie_table:a}} 82function defaultBlocks(){return[{title:$("#cc-fields .cc-usage-title").text(),description:$("#cc-fields .cc-usage").text()},{title:$("#cc-fields .cc-necessary-title").text(),description:$("#cc-fields .cc-necessary").text(),toggle:{value:"necessary",enabled:!0,readonly:!0}}]}dataLayer=window.dataLayer||[];var screenDisplay=0,initProductMediaPhoto=0,windowWidth,pageCategory;String.prototype.startsWith||(String.prototype.startsWith=function(a,b){return this.substr(b||0,a.length)===a}); 83function acceptCGVAuth(){if($("#cgv").length&&!$("input#cgv:checked").length){var a=$("#cgv-alert-msg").text()?$("#cgv-alert-msg").text():msg;alert(a);return!1}return $("input#is_company:checked").length&&$("input#is_intracommunity_tax:checked").length&&!valid_vat?(alert(invalid_vat_msg),!1):!0} 84$(document).ready(function(){$(".js-tabhor").length&&$(".js-tabhor").easyResponsiveTabs({type:"default",width:"100%",fit:!0,tabidentify:"hor_1"});$(".js-tabver").length&&$(".js-tabver").easyResponsiveTabs({type:"vertical",width:"100%",fit:!0,tabidentify:"ver_1"});$(".js-tabacc").length&&$(".js-tabacc").easyResponsiveTabs({type:"accordion",width:"100%",fit:!0,closed:!0,tabidentify:"acc_1"});$("[data-load-remote]").on("click",function(a){a.preventDefault();a=$(this);var b=a.data("load-remote");b&&$(a.data("remote-target")).load(b)}); 85$(".js-anchor").click(function(a){a.preventDefault();a=15;$("#header").length&&(a+=$("#header").height());$("#filters").length&&(a+=$("#filters").height());var b=$(this).attr("href");$("html,body").animate({scrollTop:$(b).offset().top-a},"slow")});$('[data-toggle="tooltip"]').tooltip();$(".dropdown-menu input, .dropdown-menu label, .dropdown-menu select, .dropdown-menu textarea").click(function(a){a.stopPropagation()});0<$("#clock").length&&void 0!==limit_date&&$.getScript("/newfront/js/funidelia7/libs/jquery.countdown.min.js", 86function(a,b,c){"success"===b&&200===c.status&&(a=new Date,a=a.toJSON().slice(0,10)+" "+a.toTimeString().slice(0,8),limit_date>a?(limit_date=limit_date.replace("-","/").replace("-","/"),$("#clock").countdown(limit_date,function(f){$(this).html(f.strftime('<span class="icf-clock-speed"></span> <i>%H</i>:<i>%M</i>:<i>%S</i>'))}).on("finish.countdown",function(){$("#header-msg.wclock").slideUp()})):$("#header-msg.wclock").hide())});windowWidth=$(window).width();$(window).bind("resize",onWindowResize); 87$(".breadcrumb-toggle").on("click",function(){$(".breadcrumb").show();$(".breadcrumb-mobile-wrapper").hide()})}); 88function onWindowResize(){var a=$(window).width();a===windowWidth?console.log("EXIT - window resize "+a+" vs "+windowWidth+" h="+$(window).height()):(windowWidth=$(window).width(),starMenu(),screenDisplay=700<=$(window).width()?!1:!0,700<=$(window).width()?($("#slidecartBtn").length&&$("#slidecartBtn").attr("data-toggle","dropdown"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").click(function(b){$(this).unbind("click")}),$(".js-head-search").length&&($(".js-head-search").removeClass("active"), 89$("#header-search").removeClass("open"))):($("#slidecartBtn").length&&$("#slidecartBtn").attr("data-toggle",""),$("#header .header-menu-nav li.opt-normal .menu-h2 a").click(function(b){b.preventDefault();$(this).closest("li").hasClass("open")?($(".header-menu-movil-att").removeClass("nd"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").not(this).removeClass("nd"),$(this).removeClass("active"),$("#header .header-menu-nav li.opt-normal").removeClass("open")):($(".header-menu-movil-att").addClass("nd"), 90$("#header .header-menu-nav li.opt-normal").removeClass("open"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").not(this).addClass("nd"),$(this).addClass("active"),$(this).closest("li").addClass("open"));$("#menu-movil-user-btn").removeClass("active");$("#header-movil-user").removeClass("active");$("#menu-movil-language-btn").removeClass("active");$("#header-movil-language").removeClass("active")}),$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").click(function(b){b.preventDefault(); 91$(this).closest(".menu-column-title").next("ul.lst-tags").hasClass("open")?($("#header-menu li.opt-normal ul.all").removeClass("nd"),$("#header-menu li.opt-normal.open .menu-h2 a.active").removeClass("nd"),$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").not(this).removeClass("nd"),$(this).removeClass("active"),$(".header-menu-tags ul.lst-tags").removeClass("open")):($("#header-menu li.opt-normal ul.all").addClass("nd"),$("#header .header-menu-nav li.opt-normal .menu-h2 a").addClass("nd"), 92$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").not(this).addClass("nd"),$(".header-menu-tags ul.lst-tags").removeClass("open"),$(this).addClass("active"),$(this).closest(".menu-column-title").next("ul.lst-tags").addClass("open"))}),$("#slidemenu .sidr-close-window").click(function(){$(".header-menu-movil-att").removeClass("nd");$("#header-menu li.opt-normal ul.all").removeClass("nd");$("#header .header-menu-nav li.opt-normal .header-menu-tags .menu-column-title a").removeClass("nd"); 93$("#header-menu li.opt-normal .header-menu-tags .menu-column-title a").removeClass("active");$("#header-menu li.opt-normal.open .menu-h2 a").removeClass("active");$("#header-menu li .menu-h2 a").removeClass("nd");$("#header .header-menu-nav li.opt-normal .menu-h2 a").removeClass("active");$(".header-menu-tags ul.lst-tags").removeClass("open");$.sidr("close","slidemenu")})))};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.