function _typeof(n){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var XSLTProcessor,NBP;if(!function(n,t){"function"==typeof define&&define.amd?define(t):"object"===("undefined"==typeof exports?"undefined":_typeof(exports))?module.exports=t():n.Blazy=t()}(this,function(){"use strict";function p(n){var t=n._util;t.elements=function(n){for(var t=[],i=n.root.querySelectorAll(n.selector),r=i.length;r--;t.unshift(i[r]));return t}(n.options);t.count=t.elements.length;t.destroyed&&(t.destroyed=!1,n.options.container&&i(n.options.container,function(n){r(n,"scroll",t.validateT)}),r(window,"resize",t.saveViewportOffsetT),r(window,"resize",t.validateT),r(window,"scroll",t.validateT));w(n)}function w(t){for(var u,i=t._util,r=0;rn.top?r:n.top,right:un.left?t:n.left},o(e,i)):o(e,n)}(u,t.options)||c(u,t.options.successClass))&&(t.load(u),i.elements.splice(r,1),i.count--,r--);0===i.count&&t.destroy()}function o(n,t){return n.right>=t.left&&n.bottom>=t.top&&n.left<=t.right&&n.top<=t.bottom}function b(n,f,o){var p,w,b,g,v,nt,tt;!c(n,o.successClass)&&(f||o.loadInvisible||0=window.screen.width)return e=n.src,!1});setTimeout(function(){p(u)})}}),!function(n){var t,r=n.event,i=r.special.debouncedresize={setup:function(){n(this).on("resize",i.handler)},teardown:function(){n(this).off("resize",i.handler)},handler:function(n,u){function f(){n.type="debouncedresize";r.dispatch.apply(e,o)}var e=this,o=arguments;t&&clearTimeout(t);u?f():t=setTimeout(f,i.threshold)},threshold:150}}(jQuery),!function(n){"function"==typeof define&&define.amd?define(["jquery","./jquery.validate"],n):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=n(require("jquery")):n(jQuery)}(function(n){function t(n){return n.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ").replace(/[.(),;:!?%#$'\"_+=\/\-“”’]*/g,"")}return n.validator.addMethod("maxWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length<=r},n.validator.format("Please enter {0} words or less.")),n.validator.addMethod("minWords",function(n,i,r){return this.optional(i)||t(n).match(/\b\w+\b/g).length>=r},n.validator.format("Please enter at least {0} words.")),n.validator.addMethod("rangeWords",function(n,i,r){var n=t(n),u=/\b\w+\b/g;return this.optional(i)||n.match(u).length>=r[0]&&n.match(u).length<=r[1]},n.validator.format("Please enter between {0} and {1} words.")),n.validator.addMethod("accept",function(t,i,r){var u,f,r="string"==typeof r?r.replace(/\s/g,""):"image/*",e=this.optional(i);if(e)return e;if("file"===n(i).attr("type")&&(r=r.replace(/[\-\[\]\/\{\}\(\)\+\?\.\\\^\$\|]/g,"\\$&").replace(/,/g,"|").replace(/\/\*/g,"/.*"),i.files)&&i.files.length)for(f=new RegExp(".?("+r+")$","i"),u=0;u,.\/? ])+/g,"")).length){var t,i=0,u=parseInt(n.substring(9,10),10),f=parseInt(n.substring(10,11),10),r=function(n,t){return n=10*n%11,(n=10!==n&&11!==n?n:0)===t};if(""!==n&&"00000000000"!==n&&"11111111111"!==n&&"22222222222"!==n&&"33333333333"!==n&&"44444444444"!==n&&"55555555555"!==n&&"66666666666"!==n&&"77777777777"!==n&&"88888888888"!==n&&"99999999999"!==n){for(t=1;t<=9;t++)i+=parseInt(n.substring(t-1,t),10)*(11-t);if(r(i,u)){for(i=0,t=1;t<=10;t++)i+=parseInt(n.substring(t-1,t),10)*(12-t);return r(i,f)}}}return!1},"Please specify a valid CPF number"),n.validator.addMethod("creditcard",function(n,t){if(this.optional(t))return"dependency-mismatch";if(/[^0-9 \-]+/.test(n))return!1;var i,f,e=0,r=0,u=!1;if((n=n.replace(/\D/g,"")).length<13||19=r[0];return f.data("valid_req_grp",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),r},n.validator.format("Please fill at least {0} of these fields.")),n.validator.addMethod("skip_or_fill_minimum",function(t,i,r){var u=n(r[1],i.form),f=u.eq(0),e=f.data("valid_skip")?f.data("valid_skip"):n.extend({},this),o=u.filter(function(){return e.elementValue(this)}).length,o=0===o||o>=r[0];return f.data("valid_skip",e),n(i).data("being_validated")||(u.data("being_validated",!0),u.each(function(){e.element(this)}),u.data("being_validated",!1)),o},n.validator.format("Please either skip these fields or fill at least {0} of them.")),n.validator.addMethod("stateUS",function(n,t,i){var r=void 0===i,f=!r&&void 0!==i.caseSensitive&&i.caseSensitive,u=!r&&void 0!==i.includeTerritories&&i.includeTerritories,r=!r&&void 0!==i.includeMilitary&&i.includeMilitary,i=u||r?u&&r?"^(A[AEKLPRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":u?"^(A[KLRSZ]|C[AOT]|D[CE]|FL|G[AU]|HI|I[ADLN]|K[SY]|LA|M[ADEINOPST]|N[CDEHJMVY]|O[HKR]|P[AR]|RI|S[CD]|T[NX]|UT|V[AIT]|W[AIVY])$":"^(A[AEKLPRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$":"^(A[KLRZ]|C[AOT]|D[CE]|FL|GA|HI|I[ADLN]|K[SY]|LA|M[ADEINOST]|N[CDEHJMVY]|O[HKR]|PA|RI|S[CD]|T[NX]|UT|V[AT]|W[AIVY])$";return i=f?new RegExp(i):new RegExp(i,"i"),this.optional(t)||i.test(n)},"Please specify a valid state"),n.validator.addMethod("strippedminlength",function(t,i,r){return n(t).text().length>=r},n.validator.format("Please enter at least {0} characters")),n.validator.addMethod("time",function(n,t){return this.optional(t)||/^([01]\d|2[0-3]|[0-9])(:[0-5]\d){1,2}$/.test(n)},"Please enter a valid time, between 00:00 and 23:59"),n.validator.addMethod("time12h",function(n,t){return this.optional(t)||/^((0?[1-9]|1[012])(:[0-5]\d){1,2}(\ ?[AP]M))$/i.test(n)},"Please enter a valid time in 12-hour am/pm format"),n.validator.addMethod("url2",function(n,t){return this.optional(t)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)*(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(n)},n.validator.messages.url),n.validator.addMethod("vinUS",function(n){if(17!==n.length)return!1;for(var i,t,f,e,u,o=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y","Z"],h=[1,2,3,4,5,6,7,8,1,2,3,4,5,7,9,2,3,4,5,6,7,8,9],c=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],s=0,r=0;r<17;r++){if(f=c[r],t=n.slice(r,r+1),8===r&&(u=t),isNaN(t)){for(i=0;i"+e+"<\/style>",!!i.insertBefore(u.lastChild,i.firstChild))),y||(r=n,(t=f).cache||(t.cache={},t.createElem=r.createElement,t.createFrag=r.createDocumentFragment,t.frag=t.createFrag()),r.createElement=function(n){return p.shivMethods?ii(n,r,t):t.createElem(n)},r.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+ti().join().replace(/[\w\-]+/g,function(n){return t.createElem(n),t.frag.createElement(n),'c("'+n+'")'})+");return n}")(p,t.frag)),n}var b,rt,vt,k,u={},s=t.documentElement,e="modernizr",c=t.createElement(e).style,o=t.createElement("input"),ut=":)",yt={}.toString,d=" -webkit- -moz- -o- -ms- ".split(" "),g="Webkit Moz O ms",pt=g.split(" "),wt=g.toLowerCase().split(" "),nt="http://www.w3.org/2000/svg",r={},bt={},tt={},ft=[],et=ft.slice,a=function(n,i,r,u){var h,l,a,f=t.createElement("div"),c=t.body,o=c||t.createElement("body");if(parseInt(r,10))for(;r--;)(l=t.createElement("div")).id=u?u[r]:e+(r+1),f.appendChild(l);return h=["­",'