mirror of https://github.com/dnomd343/echoIP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
120 KiB
1 line
120 KiB
4 years ago
|
function loadProject(a,b){$.get("work/"+a+".html",(function(c){setModalNav(a),$("#showcase").scrollTop(0).modal("show").find(".modal-content").html(c),b&&b.stop()}))}function setModalNav(a){var b,c=$('.project a[href="#'+a+'"]').parents(".project"),d={prev:c.prev(".project"),next:c.next(".project")};$.each(d,(function(a,b){$(".modal-nav ."+a).hide().attr("href","#"),b.length&&(newHash=b.find("a").attr("href"),$(".modal-nav ."+a).show().attr("href",newHash))}))}if(function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,(function(a,b){function c(a){var b="length"in a&&a.length,c=$.type(a);return"function"!==c&&!$.isWindow(a)&&(!(1!==a.nodeType||!b)||"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a)}function d(a,b,c){if($.isFunction(b))return $.grep(a,(function(a,d){return!!b.call(a,d,a)!==c}));if(b.nodeType)return $.grep(a,(function(a){return a===b!==c}));if("string"==typeof b){if(da.test(b))return $.filter(b,a,c);b=$.filter(b,a)}return $.grep(a,(function(a){return U.call(b,a)>=0!==c}))}function e(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function f(a){var b=ja[a]={};return $.each(a.match(ia)||[],(function(a,c){b[c]=!0})),b}function g(){Z.removeEventListener("DOMContentLoaded",g,!1),a.removeEventListener("load",g,!1),$.ready()}function h(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=$.expando+h.uid++}function i(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(pa,"-$1").toLowerCase(),"string"==typeof(c=a.getAttribute(d))){try{c="true"===c||"false"!==c&&("null"===c?null:+c+""===c?+c:oa.test(c)?$.parseJSON(c):c)}catch(a){}na.set(a,b,c)}else c=void 0;return c}function j(){return!0}function k(){return!1}function l(){try{return Z.activeElement}catch(a){}}function m(a,b){return $.nodeName(a,"table")&&$.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function n(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function o(a){var b=Ea.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function p(a,b){for(var c=0,d=a.length;c<d;c++)ma.set(a[c],"globalEval",!b||ma.get(b[c],"globalEval"))}function q(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(ma.hasData(a)&&(f=ma.access(a),g=ma.set(b,f),j=f.events))for(e in delete g.handle,g.events={},j)for(c=0,d=j[e].length;c<d;c++)$.event.add(b,e,j[e][c]);na.hasData(a)&&(h=na.access(a),i=$.extend({},h),na.set(b,i))}}function r(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&$.nodeName(a,b)?$.merge([a],c):c}function s(a,b){var c=b.nodeName.toLowerCase();"input"===c&&ta.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function t(b,c){var d,e=$(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:$.css(e[0],"display");return e.detach(),f}function u(a){var b=Z,c=Ha[a];return c||("none"!==(c=t(a,b))&&c||((b=(Ga=(Ga||$("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement))[0].contentDocument).write(),b.close(),c=t(a,b),Ga.detach()),Ha[a]=c),c}function v(a,b,c){var d,e,f,g,h=a.style;return(c=c||Ka(a))&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||$.contains(a.ownerDocument,a)||(g=$.style(a,b)),Ja.test(g)&&Ia.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function w(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}function x(a,b){if(b in a)return b;for(var c=b[0].toUpperCase()+b.slice(1),d=b,e=Qa.length;e--;)if((b=Qa[e]+c)in a)return b;return d}function y(a,b,c){var d=Ma.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function z(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"wid
|