﻿window.Modernizr=function(n,t,i){function et(n){nt.cssText=n}function h(n,t){return typeof n===t}function ht(n,t){return!!~(""+n).indexOf(t)}function ot(n,t){var u,r;for(u in n)if(r=n[u],!ht(r,"-")&&nt[r]!==i)return t=="pfx"?r:!0;return!1}function ct(n,t,r){var f,u;for(f in n)if(u=t[n[f]],u!==i)return r===!1?n[f]:h(u,"function")?u.bind(r||t):u;return!1}function s(n,t,i){var r=n.charAt(0).toUpperCase()+n.slice(1),u=(n+" "+rt.join(r+" ")+r).split(" ");return h(t,"string")||h(t,"undefined")?ot(u,t):(u=(n+" "+ut.join(r+" ")+r).split(" "),ct(u,t,i))}function lt(){r.input=function(i){for(var r=0,f=i.length;r<f;r++)c[i[r]]=!!(i[r]in u);return c.list&&(c.list=!!(t.createElement("datalist")&&n.HTMLDataListElement)),c}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "));r.inputtypes=function(n){for(var f=0,r,e,s,h=n.length;f<h;f++)u.setAttribute("type",e=n[f]),r=u.type!=="text",r&&(u.value=tt,u.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&u.style.WebkitAppearance!==i?(o.appendChild(u),s=t.defaultView,r=s.getComputedStyle&&s.getComputedStyle(u,null).WebkitAppearance!=="textfield"&&u.offsetHeight!==0,o.removeChild(u)):/^(search|tel)$/.test(e)||(r=/^(url|email)$/.test(e)?u.checkValidity&&u.checkValidity()===!1:u.value!=tt)),ft[n[f]]=!!r;return ft}("search tel url email datetime date month week time datetime-local number range color".split(" "))}var r={},v=!0,o=t.documentElement,e="modernizr",g=t.createElement(e),nt=g.style,u=t.createElement("input"),tt=":)",at={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),it="Webkit Moz O ms",rt=it.split(" "),ut=it.toLowerCase().split(" "),st={svg:"http://www.w3.org/2000/svg"},f={},ft={},c={},p=[],w=p.slice,l,b=function(n,i,r,u){var l,a,c,v,f=t.createElement("div"),h=t.body,s=h||t.createElement("body");if(parseInt(r,10))while(r--)c=t.createElement("div"),c.id=u?u[r]:e+(r+1),f.appendChild(c);return l=["&#173;",'<style id="s',e,'">',n,"<\/style>"].join(""),f.id=e,(h?f:s).innerHTML+=l,s.appendChild(f),h||(s.style.background="",s.style.overflow="hidden",v=o.style.overflow,o.style.overflow="hidden",o.appendChild(s)),a=i(f,n),h?f.parentNode.removeChild(f):(s.parentNode.removeChild(s),o.style.overflow=v),!!a},k={}.hasOwnProperty,d,a;d=h(k,"undefined")||h(k.call,"undefined")?function(n,t){return t in n&&h(n.constructor.prototype[t],"undefined")}:function(n,t){return k.call(n,t)};Function.prototype.bind||(Function.prototype.bind=function(n){var t=this,i,r;if(typeof t!="function")throw new TypeError;return i=w.call(arguments,1),r=function(){var f,e,u;return this instanceof r?(f=function(){},f.prototype=t.prototype,e=new f,u=t.apply(e,i.concat(w.call(arguments))),Object(u)===u)?u:e:t.apply(n,i.concat(w.call(arguments)))},r});f.touch=function(){var i;return"ontouchstart"in n||n.DocumentTouch&&t instanceof DocumentTouch?i=!0:b(["@media (",y.join("touch-enabled),("),e,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(n){i=n.offsetTop===9}),i};f.history=function(){return!!(n.history&&history.pushState)};f.csscolumns=function(){return s("columnCount")};f.csstransforms=function(){return!!s("transform")};f.csstransforms3d=function(){var n=!!s("perspective");return n&&"webkitPerspective"in o.style&&b("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){n=t.offsetLeft===9&&t.offsetHeight===3}),n};f.csstransitions=function(){return s("transition")};f.localstorage=function(){try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(n){return!1}};f.sessionstorage=function(){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(n){return!1}};f.svg=function(){return!!t.createElementNS&&!!t.createElementNS(st.svg,"svg").createSVGRect};for(a in f)d(f,a)&&(l=a.toLowerCase(),r[l]=f[a](),p.push((r[l]?"":"no-")+l));return r.input||lt(),r.addTest=function(n,t){if(typeof n=="object")for(var u in n)d(n,u)&&r.addTest(u,n[u]);else{if(n=n.toLowerCase(),r[n]!==i)return r;t=typeof t=="function"?t():t;typeof v!="undefined"&&v&&(o.className+=" "+(t?"":"no-")+n);r[n]=t}return r},et(""),g=u=null,r._version="2.6.2",r._prefixes=y,r._domPrefixes=ut,r._cssomPrefixes=rt,r.testProp=function(n){return ot([n])},r.testAllProps=s,r.testStyles=b,r.prefixed=function(n,t,i){return t?s(n,t,i):s(n,"pfx")},o.className=o.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(v?" js "+p.join(" "):""),r}(this,this.document);Modernizr.addTest("placeholder",function(){return!!("placeholder"in(Modernizr.input||document.createElement("input"))&&"placeholder"in(Modernizr.textarea||document.createElement("textarea")))});var ADLIB=ADLIB||{},LIB=LIB||{};document.head||(document.head=document.getElementsByTagName("head")[0]);LIB.hasClass=function(n,t){"use strict";return(" "+n.className+" ").indexOf(" "+t+" ")>-1};LIB.namespace=function(n){"use strict";var r,i,t=n.split("."),u=t[0];if(u!=="ADLIB"&&u!=="LIB")throw new Error("Namespace - Parent (ADLIB or LIB) must be specified.");else r=window[u],t=t.slice(1);for(i=0;i<t.length;i+=1){if(typeof r[t[i]]=="undefined")r[t[i]]={};else if(i===t.length-1)throw new Error(u+".namespace - namespace already defined. Please rename.");r=r[t[i]]}return r},function(n,t){"use strict";function o(n,t){return h.call(n,t)}function s(n,t,r){var f,s,e;if(n!==null)if(i.forEach&&n.forEach===i.forEach)n.forEach(t,r);else if(n.length===+n.length){for(f=0,s=n.length;f<s;f+=1)if(t.call(r,n[f],f,n)===u)return}else for(e in n)if(o(n,e)&&t.call(r,n[e],e,n)===u)return}var i=Array.prototype,r=Object.prototype,u={},f=r.toString,h=r.hasOwnProperty,e=n.documentElement;s(["Arguments","Function","String","Number","Date","RegExp"],function(n){LIB["is"+n]=function(t){return f.call(t)==="[object "+n+"]"}});LIB.isArray=Array.isArray||function(n){return f.call(n)==="[object Array]"};LIB.each=s;LIB.has=o;LIB.iOS=/(iPad|iPhone|iPod)/i.test(navigator.userAgent);LIB.iPhone=/(iPhone|iPod)/i.test(navigator.userAgent);LIB.android=/(Android)/i.test(navigator.userAgent);LIB.android2x=/(Android 2)/i.test(navigator.userAgent);LIB.chrome=/(Chrome)/i.test(navigator.userAgent);LIB.phantomJS=/(PhantomJS)/i.test(navigator.userAgent);LIB.lteie9=LIB.hasClass(e,"ie");LIB.ie=!!(LIB.lteie9||LIB.gtie9);LIB.isMondo=LIB.hasClass(e,"mondo");t.addTest("android-legacy",function(){return LIB.android===!0&&!LIB.chrome});t.addTest("ios",function(){return LIB.iOS=/(iPad|iPhone|iPod)/i.test(navigator.userAgent),LIB.iOS});LIB.touch=t.touch&&!LIB.phantomJS}(document,Modernizr);LIB.namespace("LIB.init"),function(n,t){"use strict";function f(n){r.push(n)}function e(n){if(typeof n=="function")return n;for(var u=n.split("."),r=0,f=u.length;r<f;r+=1){if(i[u[r]]===t)return t;i=i[u[r]]}return i}function o(t){var f,u,o;for(t=t||r,u=0,o=t.length;u<o;u+=1)i=n,t[u].func?(f=e(t[u].func),typeof f=="function"&&f.apply(null,t[u].params)):(f=e(t[u]),typeof f=="function"&&f())}var r=[],i,u=!1;LIB.init=function(n){if(u){LIB.isString(n)&&(n=[n]);o(n);return}if(!n){r.length>0&&o();u=!0;return}LIB.isString(n)||typeof n=="function"?f(n):LIB.isArray(n)&&LIB.each(n,function(n){f(n)})}}(window);LIB.namespace("LIB.debug");LIB.debug=!1;LIB.namespace("LIB.log");LIB.log=function(n,t){"use strict";t=t||"info";LIB.debug&&window.console&&window.console[t](n)};LIB.namespace("LIB.module");LIB.module=function(){"use strict";function r(n){t[n]||(t[n]=!0,u+=1)}function f(t){if(typeof t=="string")r(t);else for(n=0,i=t.length;n<i;n+=1)r(t[n])}var t={},u=0,n,i;return{include:f,modulesIncluded:t}}()