1// JavaScript Document 2 3 4$(document).ready(function () { 5 6 $(document).on("touchend", '.header-bar-user .user', function() { 7 if($(".profile").is(":visible")) { 8 $('.profile').css('display', 'none'); 9 $('.profile').fadeOut(); 10 } else { 11 $('.profile').fadeIn('fast'); 12 $('.profile').css('display', 'flex'); 13 console.log('dentro'); 14 } 15 }); 16 17 $('.header-bar-user .user').mouseenter(function() { 18 $('.profile').fadeIn('fast'); 19 $('.profile').css('display', 'flex'); 20 console.log('dentro'); 21 }); 22 $('.header-bar-user .profile').mouseleave(function() { 23 if(!$(".header-top.movil").is(":visible")) { 24 //$('.profile').css('display', 'none'); 25 $('.profile').fadeOut(); 26 } 27 console.log('fuera'); 28 }); 29 30 31 $('.tips .completar').click(function(e) { 32 e.preventDefault(); 33 //$('.perfil-opciones').css('display', 'flex'); 34 $('.tips').toggleClass("open"); 35 $('.perfil-opciones').toggleClass("open"); 36 }); 37 38 39 delay = 50; 40 $( ".fadeIn" ).each(function( index ) { 41 ScrollReveal().reveal($(this), { delay: delay }); 42 delay += 250; 43 }); 44 45 window.addEventListener('scroll', function(e){ 46 var distanceY = window.pageYOffset || document.documentElement.scrollTop, 47 shrinkOn = 20, 48 body = document.querySelector("body"), 49 header = document.querySelector("header"); 50 var subir = document.querySelector(".subir"); 51 var submenu = document.querySelector(".submenu"); 52 var menuCreador = document.querySelector(".menu-creador"); 53 54 if (distanceY > shrinkOn) { 55 classie.add(body,"scroller"); 56 classie.add(header,"smaller"); 57 if(menuCreador) classie.add(menuCreador,"smaller"); 58 //if(submenu) classie.add(submenu,"smaller"); 59 } else { 60 if (classie.has(header,"smaller")) { 61 classie.remove(header,"smaller"); 62 classie.remove(body,"scroller"); 63 if(menuCreador) classie.remove(menuCreador,"smaller"); 64 //if(submenu) classie.remove(submenu,"smaller"); 65 } 66 } 67 if (distanceY > 300) { 68 classie.add(subir,"visible"); 69 } else { 70 if (classie.has(subir,"visible")) { 71 classie.remove(subir,"visible"); 72 } 73 } 74 }); 75 76 77 $('.to_top').click(function() { 78 $('body,html').animate({scrollTop: 0}, 800); 79 return false; 80 }); 81 82 $('.btn-buscador-movil').click(function() { 83 $('.header-bar .pre-buscador').css('display', 'block'); 84 $('.header-bar .buscador').css('display', 'flex'); 85 //$( "#mostrarmenu a" ).trigger( "click" ); 86 $("#mostrarmenu a").removeClass('is-active'); 87 $('.menu-movil').css('display', 'none'); 88 $('#mostrarmenu a').parent().find('.alerta').removeClass('hide'); 89 $(".header-bar .buscador input").focus(); 90 }); 91 92 $('.btn-close-buscador-movil').click(function() { 93 $('.header-bar .pre-buscador').css('display', 'none'); 94 $('.header-bar .buscador').css('display', 'none'); 95 }); 96 97 $('#mostrarmenu a').click(function(event){ 98 event.preventDefault(); 99 if ($(this).hasClass('is-active')){ 100 $(this).removeClass('is-active'); 101 $('.header-bar .container').css('display', 'none'); 102 //$('.header-bar .navegacion').css('display', 'none'); 103 $('.header-bar-user').css('display', 'none'); 104 $(this).parent().find('.alerta').removeClass('hide'); 105 } else { 106 $(this).addClass('is-active'); 107 $('.header-bar .container').css('display', 'flex'); 108 //$('.header-bar .navegacion').css('display', 'block'); 109 $('.header-bar-user').css('display', 'flex'); 110 $(this).parent().find('.alerta').addClass('hide'); 111 } 112 }); 113 114 115 116}); // FIN document.ready 117 118 119function readCookie(name) { 120 121 var nameEQ = name + "="; 122 var ca = document.cookie.split(';'); 123 124 for(var i=0;i < ca.length;i++) { 125 126 var c = ca[i]; 127 while (c.charAt(0)==' ') c = c.substring(1,c.length); 128 if (c.indexOf(nameEQ) == 0) { 129 return decodeURIComponent( c.substring(nameEQ.length,c.length) ); 130 } 131 132 } 133 134 return null; 135 136} 137 138/* **** CLASSIE **** */ 139 140!function(s){"use strict";function e(s){return new RegExp("(^|\\s+)"+s+"(\\s+|$)")}function n(s,e){var n=a(s,e)?c:t;n(s,e)}var a,t,c;"classList"in document.documentElement?(a=function(s,e){return s.classList.contains(e)},t=function(s,e){s.classList.add(e)},c=function(s,e){s.classList.remove(e)}):(a=function(s,n){return e(n).test(s.className)},t=function(s,e){a(s,e)||(s.className=s.className+" "+e)},c=function(s,n){s.className=s.className.replace(e(n)," ")}
vendor: 4,886 bytes, lines 140-169
140);var i={hasClass:a,addClass:t,removeClass:c,toggleClass:n,has:a,add:t,remove:c,toggle:n};"function"==typeof define&&define.amd?define(i):s.classie=i}(window); 141 142/* **** ?ScrollReveal **** */ 143 144!function(b,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):b.ScrollReveal=a()}(this,function(){"use strict";var e,f,g,h,i,j,k,l,m={delay:0,distance:"0",duration:600,easing:"cubic-bezier(0.5, 0, 0, 1)",interval:0,opacity:0,origin:"bottom",rotate:{x:0,y:0,z:0},scale:1,cleanup:!1,container:document.documentElement,desktop:!0,mobile:!0,reset:!1,useDelay:"always",viewFactor:0,viewOffset:{top:0,right:0,bottom:0,left:0},afterReset:function(){},afterReveal:function(){},beforeReset:function(){},beforeReveal:function(){}},n={success:function(){document.documentElement.classList.add("sr"),document.body?document.body.style.height="100%":document.addEventListener("DOMContentLoaded",function(){document.body.style.height="100%"})},failure:function(){return document.documentElement.classList.remove("sr"),{clean:function(){},destroy:function(){},reveal:function(){},sync:function(){},get noop(){return!0}}}}; 145 146/*! @license is-dom-node v1.0.4 147 Copyright 2018 Fisssion LLC. 148 149*/ function o(a){return"object"==typeof window.Node?a instanceof window.Node:null!==a&&"object"==typeof a&&"number"==typeof a.nodeType&&"string"==typeof a.nodeName}/*! @license Tealight v0.3.6 150 151 Copyright 2018 Fisssion LLC. 152 153*/ function p(a,b){if(void 0===b&&(b=document),a instanceof Array)return a.filter(o);if(o(a))return[a];if(d=a,e=Object.prototype.toString.call(d),"object"==typeof window.NodeList?d instanceof window.NodeList:null!==d&&"object"==typeof d&&"number"==typeof d.length&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(e)&&(0===d.length||o(d[0])))return Array.prototype.slice.call(a);if("string"==typeof a)try{var d,e,c=b.querySelectorAll(a);return Array.prototype.slice.call(c)}catch(f){}return[]}function q(a){return null!==a&&a instanceof Object&&(a.constructor===Object||"[object Object]"===Object.prototype.toString.call(a))}function r(a,b){if(q(a))return Object.keys(a).forEach(function(c){return b(a[c],c,a)});if(a instanceof Array)return a.forEach(function(c,d){return b(c,d,a)});throw new TypeError("Expected either an array or object literal.")}function s(c){for(var b=[],a=arguments.length-1;a-- >0;)b[a]=arguments[a+1];if(this.constructor.debug&&console){var d="%cScrollReveal: "+c;b.forEach(function(a){return d+="\n \u2014 "+a}),console.log(d,"color: #ea654b;")}}function t(){var f=this,a=function(){return{active:[],stale:[]}},b=a(),c=a(),d=a();try{r(p("[data-sr-id]"),function(a){var c=parseInt(a.getAttribute("data-sr-id"));b.active.push(c)})}catch(e){throw e}r(this.store.elements,function(a){-1===b.active.indexOf(a.id)&&b.stale.push(a.id)}),r(b.stale,function(a){return delete f.store.elements[a]}),r(this.store.elements,function(a){-1===d.active.indexOf(a.containerId)&&d.active.push(a.containerId),a.hasOwnProperty("sequence")&& -1===c.active.indexOf(a.sequence.id)&&c.active.push(a.sequence.id)}),r(this.store.containers,function(a){-1===d.active.indexOf(a.id)&&d.stale.push(a.id)}),r(d.stale,function(a){var b=f.store.containers[a].node;b.removeEventListener("scroll",f.delegate),b.removeEventListener("resize",f.delegate),delete f.store.containers[a]}),r(this.store.sequences,function(a){-1===c.active.indexOf(a.id)&&c.stale.push(a.id)}),r(c.stale,function(a){return delete f.store.sequences[a]})}function u(a){var b,e=this;try{r(p(a),function(a){var c=a.getAttribute("data-sr-id");if(null!==c){b=!0;var d=e.store.elements[c];d.callbackTimer&&window.clearTimeout(d.callbackTimer.clock),a.setAttribute("style",d.styles.inline.generated),a.removeAttribute("data-sr-id"),delete e.store.elements[c]}})}catch(c){return s.call(this,"Clean failed.",c.message)}if(b)try{t.call(this)}catch(d){return s.call(this,"Clean failed.",d.message)}}function v(){var a=this;r(this.store.elements,function(a){a.node.setAttribute("style",a.styles.inline.generated),a.node.removeAttribute("data-sr-id")}),r(this.store.containers,function(b){var c=b.node===document.documentElement?window:b.node;c.removeEventListener("scroll",a.delegate),c.removeEventListener("resize",a.delegate)}),this.store={containers:{},elements:{},history:[],sequences:{}}}/*! @license Rematrix v0.3.0 154Copyright 2018 Julian Lloyd. 155 156*/ /** 157 * @module Rematrix 158 */ /** 159 * Transformation matrices in the browser come in two flavors: 160 * 161 * - `matrix` using 6 values (short) 162 * - `matrix3d` using 16 values (long) 163 * 164 * This utility follows this [conversion guide](https://goo.gl/EJlUQ1) 165 * to expand short form matrices to their equivalent long form. 166 * 167 * @param {array} source - Accepts both short and long form matrices. 168 * @return {array} 169 */ function w(a){if(a.constructor!==Array)throw new TypeError("Expected array.");if(16===a.length)return a;
169if(6===a.length){var b=x();return b[0]=a[0],b[1]=a[1],b[4]=a[2],b[5]=a[3],b[12]=a[4],b[13]=a[5],b}throw new RangeError("Expected array with either 6 or 16 values.")}function x(){for(var a=[],b=0;b<16;b++)b%5==0?a.push(1):a.push(0);return a}function y(i,j){for(var c=w(i),d=w(j),h=[],a=0;a<4;a++)for(var e=[c[a],c[a+4],c[a+8],c[a+12]],g=0;g<4;g++){var b=4*g,f=[d[b],d[b+1],d[b+2],d[b+3]],k=e[0]*f[0]+e[1]*f[1]+e[2]*f[2]+e[3]*f[3];h[a+b]=k}return h}function z(b,c){var a=x();return a[0]=b,a[5]="number"==typeof c?c:b,a}var A=function(){var b={},c=document.documentElement.style;function a(a,d){if(void 0===d&&(d=c),a&&"string"==typeof a){if(b[a])return b[a];if("string"==typeof d[a])return b[a]=a;if("string"==typeof d["-webkit-"+a])return b[a]="-webkit-"+a;throw new RangeError('Unable to find "'+a+'" style property.')}throw new TypeError("Expected a string.")}return a.clearCache=function(){return b={}},a}();function B(a,b){void 0===b&&(b={});var c=b.pristine||this.pristine,d="always"===a.config.useDelay||"onload"===a.config.useDelay&&c||"once"===a.config.useDelay&&!a.seen,e=a.visible&&!a.revealed,f=!a.visible&&a.revealed&&a.config.reset;return b.reveal||e?C.call(this,a,d):b.reset||f?D.call(this,a):void 0}function C(a,c){var b=[a.styles.inline.generated,a.styles.opacity.computed,a.styles.transform.generated.final];c?b.push(a.styles.transition.generated.delayed):b.push(a.styles.transition.generated.instant),a.revealed=a.seen=!0,a.node.setAttribute("style",b.filter(function(a){return""!==a}).join(" ")),E.call(this,a,c)}function D(a){var b=[a.styles.inline.generated,a.styles.opacity.generated,a.styles.transform.generated.initial,a.styles.transition.generated.instant];a.revealed=!1,a.node.setAttribute("style",b.filter(function(a){return""!==a}).join(" ")),E.call(this,a)}function E(a,c){var f=this,d=c?a.config.duration+a.config.delay:a.config.duration,e=a.revealed?a.config.beforeReveal:a.config.beforeReset,g=a.revealed?a.config.afterReveal:a.config.afterReset,b=0;a.callbackTimer&&(b=Date.now()-a.callbackTimer.start,window.clearTimeout(a.callbackTimer.clock)),e(a.node),a.callbackTimer={start:Date.now(),clock:window.setTimeout(function(){g(a.node),a.callbackTimer=null,a.revealed&&!a.config.reset&&a.config.cleanup&&u.call(f,a.node)},d-b)}}var b,F=(b=0,function(){return b++});function G(c,b){if(void 0===b&&(b=this.pristine),!c.visible&&c.revealed&&c.config.reset)return B.call(this,c,{reset:!0});var a=this.store.sequences[c.sequence.id],d=c.sequence.index;if(a){var e=new I(a,"visible",this.store),f=new I(a,"revealed",this.store);if(a.models={visible:e,revealed:f},!f.body.length){var h=a.members[e.body[0]],g=this.store.elements[h];if(g)return J.call(this,a,e.body[0],-1,b),J.call(this,a,e.body[0],1,b),B.call(this,g,{reveal:!0,pristine:b})}if(!a.blocked.head&&d===[].concat(f.head).pop()&&d>=[].concat(e.body).shift())return J.call(this,a,d,-1,b),B.call(this,c,{reveal:!0,pristine:b});if(!a.blocked.foot&&d===[].concat(f.foot).shift()&&d<=[].concat(e.body).pop())return J.call(this,a,d,1,b),B.call(this,c,{reveal:!0,pristine:b})}}function H(b){var a=Math.abs(b);if(isNaN(a))throw new RangeError("Invalid sequence interval.");this.id=F(),this.interval=Math.max(a,16),this.members=[],this.models={},this.blocked={head:!1,foot:!1}}function I(a,b,c){var d=this;this.head=[],this.body=[],this.foot=[],r(a.members,function(e,f){var a=c.elements[e];a&&a[b]&&d.body.push(f)}),this.body.length&&r(a.members,function(f,a){var e=c.elements[f];e&&!e[b]&&(a<d.body[0]?d.head.push(a):d.foot.push(a))})}function J(a,c,b,f){var g=this,d=["head",null,"foot"][1+b],e=a.members[c+b],h=this.store.elements[e];a.blocked[d]=!0,setTimeout(function(){a.blocked[d]=!1,h&&G.call(g,h,f)},a.interval)}function K(){var a=this;t.call(this),r(this.store.elements,function(a){var b=[a.styles.inline.generated];a.visible?(b.push(a.styles.opacity.computed),b.push(a.styles.transform.generated.final),a.revealed=!0):(b.push(a.styles.opacity.generated),b.push(a.styles.transform.generated.initial),a.revealed=!1),a.node.setAttribute("style",b.filter(function(a){return""!==a}).join(" "))}),r(this.store.containers,function(b){var c=b.node===document.documentElement?window:b.node;c.addEventListener("scroll",a.delegate),c.addEventListener("resize",a.delegate)}),this.delegate(),this.initTimeout=null}function L(a){return void 0===a&&(a=navigator.userAgent),/Android|iPhone|iPad|iPod/i.test(a)}function M(b){for(var c=[],a=arguments.length-1;a-- >0;)c[a]=arguments[a+1];if(q(b))return r(c,function(a){r(a,function(c,a){q(c)?(b[a]&&q(b[a])||(b[a]={}
169),M(b[a],c)):b[a]=c})}),b;throw new TypeError("Target must be an object literal.")}function N(d,a,c){var b,j=this;void 0===a&&(a={}),void 0===c&&(c=!1);var g=[],e=a.interval||m.interval;try{e&&(b=new H(e));var f=p(d);if(!f.length)throw new Error("Invalid reveal target.");var h=f.reduce(function(h,i){var d,c={},k=i.getAttribute("data-sr-id");k?(M(c,j.store.elements[k]),c.node.setAttribute("style",c.styles.inline.computed)):(c.id=F(),c.node=i,c.seen=!1,c.revealed=!1,c.visible=!1);var e=M({},c.config||j.defaults,a);if(!e.mobile&&L()|| !e.desktop&&!L())return k&&u.call(j,c),h;var f=p(e.container)[0];if(!f)throw new Error("Invalid container.");return f.contains(i)&&(d=O(f,g,j.store.containers),null===d&&(d=F(),g.push({id:d,node:f})),c.config=e,c.containerId=d,c.styles=function(j){var v,p,g,B,q,h,C,r,i,f=window.getComputedStyle(j.node),L=f.position,a=j.config,k={},l=(j.node.getAttribute("style")||"").match(/[\w-]+\s*:\s*[^;]+\s*/gi)||[];k.computed=l?l.map(function(a){return a.trim()}).join("; ")+";":"",k.generated=l.some(function(a){return a.match(/visibility\s?:\s?visible/i)})?k.computed:l.concat(["visibility: visible"]).map(function(a){return a.trim()}).join("; ")+";";var s=parseFloat(f.opacity),t=isNaN(parseFloat(a.opacity))?parseFloat(f.opacity):parseFloat(a.opacity),u={computed:s!==t?"opacity: "+s+";":"",generated:s!==t?"opacity: "+t+";":""},d=[];if(parseFloat(a.distance)){var D,E,F,G,H="top"===a.origin||"bottom"===a.origin?"Y":"X",e=a.distance;("top"===a.origin||"left"===a.origin)&&(e=/^-/.test(e)?e.substr(1):"-"+e);var I=e.match(/(^-?\d+\.?\d?)|(em$|px$|%$)/g),m=I[0],M=I[1];switch(M){case"em":e=parseInt(f.fontSize)*m;break;case"px":e=m;break;case"%":e="Y"===H?j.node.getBoundingClientRect().height*m/100:j.node.getBoundingClientRect().width*m/100;break;default:throw new RangeError("Unrecognized or missing distance unit.")}"Y"===H?d.push((D=e,(E=x())[13]=D,E)):d.push((F=e,(G=x())[12]=F,G))}a.rotate.x&&d.push((v=a.rotate.x,p=Math.PI/180*v,(g=x())[5]=g[10]=Math.cos(p),g[6]=g[9]=Math.sin(p),g[9]*=-1,g)),a.rotate.y&&d.push((B=a.rotate.y,q=Math.PI/180*B,(h=x())[0]=h[10]=Math.cos(q),h[2]=h[8]=Math.sin(q),h[2]*=-1,h)),a.rotate.z&&d.push((C=a.rotate.z,r=Math.PI/180*C,(i=x())[0]=i[5]=Math.cos(r),i[1]=i[4]=Math.sin(r),i[4]*=-1,i)),1!==a.scale&&(0===a.scale?d.push(z(2e-4)):d.push(z(a.scale)));var c={};if(d.length){c.property=A("transform"),c.computed={raw:f[c.property],matrix:function(a){if("string"==typeof a){var b=a.match(/matrix(3d)?\(([^)]+)\)/);if(b){var c=b[2].split(", ").map(parseFloat);return w(c)}}return x()}(f[c.property])},d.unshift(c.computed.matrix);var N=d.reduce(y);c.generated={initial:c.property+": matrix3d("+N.join(", ")+");",final:c.property+": matrix3d("+c.computed.matrix.join(", ")+");"}}else c.generated={initial:"",final:""};var b={};if(u.generated||c.generated.initial){b.property=A("transition"),b.computed=f[b.property],b.fragments=[];var J=a.delay,n=a.duration,o=a.easing;u.generated&&b.fragments.push({delayed:"opacity "+n/1e3+"s "+o+" "+J/1e3+"s",instant:"opacity "+n/1e3+"s "+o+" 0s"}),c.generated.initial&&b.fragments.push({delayed:c.property+" "+n/1e3+"s "+o+" "+J/1e3+"s",instant:c.property+" "+n/1e3+"s "+o+" 0s"}),b.computed&&!b.computed.match(/all 0s/)&&b.fragments.unshift({delayed:b.computed,instant:b.computed});var K=b.fragments.reduce(function(b,a,c){return b.delayed+=0===c?a.delayed:", "+a.delayed,b.instant+=0===c?a.instant:", "+a.instant,b},{delayed:"",instant:""});b.generated={delayed:b.property+": "+K.delayed+";",instant:b.property+": "+K.instant+";"}}else b.generated={delayed:"",instant:""};return{inline:k,opacity:u,position:L,transform:c,transition:b}}(c),b&&(c.sequence={id:b.id,index:b.members.length},b.members.push(c.id)),h.push(c)),h},[]);r(h,function(a){j.store.elements[a.id]=a,a.node.setAttribute("data-sr-id",a.id)})}catch(i){return s.call(this,"Reveal failed.",i.message)}r(g,function(a){j.store.containers[a.id]={id:a.id,node:a.node}}),b&&(this.store.sequences[b.id]=b),!0!==c&&(this.store.history.push({target:d,options:a}),this.initTimeout&&window.clearTimeout(this.initTimeout),this.initTimeout=window.setTimeout(K.bind(this),0))}function O(d){for(var b=[],a=arguments.length-1;a-- >0;)b[a]=arguments[a+1];var c=null;return r(b,function(a){r(a,function(a){null===c&&a.node===d&&(c=a.id)})}),c}function P(){var a=this;r(this.store.history,function(b){N.call(a,b.target,b.options,!0)}),K.call(this)}var c,Q=Math.sign||function(a){return(a>0)-(a<0)||+a},d=(c=Date.now(),function(b){var a=Date.now();a-c>16?(c=a,b(a)):setTimeout(function(){return d(b)},0)}),R=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||d;function S(b,e){var f=e?b.node.clientHeight:b.node.offsetHeight,g=e?b.node.clientWidth:b.node.offsetWidth,c=0,d=0,a=b.node;do isNaN(a.offsetTop)||(c+=a.offsetTop),isNaN(a.offsetLeft)||(d+=a.offsetLeft),a=a.offsetParent;while(a)return{bounds:{top:c,right:d+g,bottom:c+f,left:d},height:f,width:g}}function T(a){var b,c;return a.node===document.documentElement?(b=window.pageYOffset,c=window.pageXOffset):(b=a.node.scrollTop,c=a.node.scrollLeft),{top:b,left:c}}function U(a){void 0===a&&(a={});var b=this.store.containers[a.containerId];if(b){var c=Math.max(0,Math.min(1,a.config.viewFactor)),d=a.config.viewOffset,e={top:a.geometry.bounds.top+a.geometry.height*c,right:a.geometry.bounds.right-a.geometry.width*c,bottom:a.geometry.bounds.bottom-a.geometry.height*c,left:a.geometry.bounds.left+a.geometry.width*c},f={top:b.geometry.bounds.top+b.scroll.top+d.top,right:b.geometry.bounds.right+b.scroll.left-d.right,bottom:b.geometry.bounds.bottom+b.scroll.top-d.bottom,left:b.geometry.bounds.left+b.scroll.left+d.left};return e.top<f.bottom&&e.right>f.left&&e.bottom>f.top&&e.left<f.right||"fixed"===a.styles.position}}function V(a,b){var c=this;void 0===a&&(a={type:"init"}),void 0===b&&(b=this.store.elements),R(function(){var d="init"===a.type||"resize"===a.type;r(c.store.containers,function(a){d&&(a.geometry=S.call(c,a,!0));var b=T.call(c,a);a.scroll&&(a.direction={x:Q(b.left-a.scroll.left),y:Q(b.top-a.scroll.top)}),a.scroll=b}),r(b,function(a){d&&(a.geometry=S.call(c,a)),a.visible=U.call(c,a)}),r(b,function(a){a.sequence?G.call(c,a):B.call(c,a)}),c.pristine=!1})}function a(b){var c;if(void 0===b&&(b={}),void 0===this||Object.getPrototypeOf(this)!==a.prototype)return new a(b);if(!a.isSupported())return s.call(this,"Instantiation failed.","This browser is not supported."),n.failure();try{c=j?M({},j,b):M({},m,b)}catch(d){return s.call(this,"Invalid configuration.",d.message),n.failure()}try{if(!p(c.container)[0])throw new Error("Invalid container.")}catch(k){return s.call(this,k.message),n.failure()}return!(j=c).mobile&&L()|| !j.desktop&&!L()?(s.call(this,"This device is disabled.","desktop: "+j.desktop,"mobile: "+j.mobile),n.failure()):(n.success(),this.store={containers:{},elements:{},history:[],sequences:{}},this.pristine=!0,e=e||V.bind(this),f=f||v.bind(this),g=g||N.bind(this),h=h||u.bind(this),i=i||P.bind(this),Ob
169ject.defineProperty(this,"delegate",{get:function(){return e}}),Object.defineProperty(this,"destroy",{get:function(){return f}}),Object.defineProperty(this,"reveal",{get:function(){return g}}),Object.defineProperty(this,"clean",{get:function(){return h}}),Object.defineProperty(this,"sync",{get:function(){return i}}),Object.defineProperty(this,"defaults",{get:function(){return j}}),Object.defineProperty(this,"version",{get:function(){return"4.0.5"}}),Object.defineProperty(this,"noop",{get:function(){return!1}}),l||(l=this))}return a.isSupported=function(){var a,b;return("transform"in(a=document.documentElement.style)||"WebkitTransform"in a)&&("transition"in(b=document.documentElement.style)||"WebkitTransition"in b)},Object.defineProperty(a,"debug",{get:function(){return k||!1},set:function(a){return k="boolean"==typeof a?a:k}}),a(),a})
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.