bachelorthesis/Webseiten/Docker - Build, Ship, and Run Any App, Anywhere_files/forms2.min.js

7 lines
164 KiB
JavaScript
Raw Normal View History

2016-06-15 12:40:15 +00:00
/*! forms2 2016-03-08 See forms2.js for license info */
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){function c(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function d(a){return"function"==typeof a}function e(a){return"number"==typeof a}function f(a){return"object"==typeof a&&null!==a}function g(a){return void 0===a}b.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._maxListeners=void 0,c.defaultMaxListeners=10,c.prototype.setMaxListeners=function(a){if(!e(a)||0>a||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},c.prototype.emit=function(a){var b,c,e,h,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||f(this._events.error)&&!this._events.error.length)){if(b=arguments[1],b instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],g(c))return!1;if(d(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:for(e=arguments.length,h=new Array(e-1),i=1;e>i;i++)h[i-1]=arguments[i];c.apply(this,h)}else if(f(c)){for(e=arguments.length,h=new Array(e-1),i=1;e>i;i++)h[i-1]=arguments[i];for(j=c.slice(),e=j.length,i=0;e>i;i++)j[i].apply(this,h)}return!0},c.prototype.addListener=function(a,b){var e;if(!d(b))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,d(b.listener)?b.listener:b),this._events[a]?f(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,f(this._events[a])&&!this._events[a].warned){var e;e=g(this._maxListeners)?c.defaultMaxListeners:this._maxListeners,e&&e>0&&this._events[a].length>e&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"==typeof console.trace&&console.trace())}return this},c.prototype.on=c.prototype.addListener,c.prototype.once=function(a,b){function c(){this.removeListener(a,c),e||(e=!0,b.apply(this,arguments))}if(!d(b))throw TypeError("listener must be a function");var e=!1;return c.listener=b,this.on(a,c),this},c.prototype.removeListener=function(a,b){var c,e,g,h;if(!d(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],g=c.length,e=-1,c===b||d(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit("removeListener",a,b);else if(f(c)){for(h=g;h-->0;)if(c[h]===b||c[h].listener&&c[h].listener===b){e=h;break}if(0>e)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(e,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},c.prototype.removeAllListeners=function(a){var b,c;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],d(c))this.removeListener(a,c);else for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},c.prototype.listeners=function(a){var b;return b=this._events&&this._events[a]?d(this._events[a])?[this._events[a]]:this._events[a].slice():[]},c.listenerCount=function(a,b){var c;return c=a._events&&a._events[b]?d(a._events[b])?1:a._events[b].length:0}},{}],2:[function(a,b,c){(function(a){!function(d){function e(a){throw RangeError(H[a])}function f(a,b){for(var c=a.length;
},validatorElem:g,onChange:function(a){g.on("change",a)}}}},{"../jquery.js":31,"../modernizr.js":34,"./fieldHelpers.js":15}],23:[function(a,b){var c=a("../jquery.js"),d=(c.build,a("./fieldHelpers.js")),e=/^([0-9()+. \t-])+(\s?(x|ext|extension)\s?([0-9()])+)?$/,f={};b.exports=f,f.fieldType="phone";var g=function(a){var b=a.val()||"";return b?b.match(e):!0};f.newField=function(a,b){var e=d.renderInput("tel",a,b);return{name:a.Name,elem:d.formatStandardField(e,a,b),val:c.proxy(e.val,e),required:a.IsRequired,validator:function(){return g(e)},validatorElem:e,onChange:function(a){e.on("change",a)}}}},{"../jquery.js":31,"./fieldHelpers.js":15}],24:[function(a,b){var c=a("../jquery.js"),d=(c.build,a("./fieldHelpers.js")),e={};b.exports=e,e.fieldType="string",e.newField=function(a,b){var c=a.Maxlength||255,e=d.renderInput("text",a,b);return a.FieldMask&&e.addClass("mktoInputMask").data("mktoInputMask",a.FieldMask),{name:a.Name,elem:d.formatStandardField(e,a,b),val:function(a){return 0===arguments.length?e.val():(a&&a.length>c&&(a=a.substring(0,c)),e.val(a))},required:a.IsRequired,validatorElem:e,onChange:function(a){e.on("change",a)}}}},{"../jquery.js":31,"./fieldHelpers.js":15}],25:[function(a,b){var c=a("../jquery.js"),d=(c.build,a("./fieldHelpers.js")),e={};b.exports=e,e.fieldType="url";var f=/^[a-zA-z0-9\.\-_~:/\?#\[\]@!$&\'\(\)\*\+,;=%]*$/,g=function(a){if(!a)return!0;var b=a.indexOf("://");return 1>b?!1:a.match(f)};e.newField=function(a,b){var e=d.renderInput("url",a,b);return{name:a.Name,elem:d.formatStandardField(e,a,b),val:c.proxy(e.val,e),required:a.IsRequired,validatorElem:e,validator:g,onChange:function(a){e.on("change",a)}}}},{"../jquery.js":31,"./fieldHelpers.js":15}],26:[function(a,b){var c=a("../jquery.js"),d=c.build,e=a("./fieldHelpers.js"),f=function(a,b){return function(d){return 0===arguments.length?a.val():(b&&d&&!c.isArray(d)&&(d=e.splitSemis(d)),a.val(d))}},g={};b.exports=g,g.fieldType="picklist",g.newField=function(a,b){var g=d("select.mktoField",{id:a.Name,name:a.Name,title:a.Description},[c.map(a.PicklistValues||[],function(a){return!a.isDefault||a.selected?d("option",{value:a.value},a.label||a.name):void 0})]);return a.IsMultiselect&&(g.attr("multiple","multiple"),g.attr("size",a.VisibleRows||5)),{name:a.Name,elem:e.formatStandardField(g,a,b),val:f(g,a.IsMultiselect),required:a.IsRequired,validatorElem:g,onChange:function(a){g.on("change",a)}}}},{"../jquery.js":31,"./fieldHelpers.js":15}],27:[function(a,b){var c=a("../jquery.js"),d=c.build,e=a("./fieldHelpers.js"),f={};b.exports=f,f.fieldType="textarea",f.newField=function(a,b){var c=a.Maxlength||2e3,f=d("textarea.mktoField",{id:a.Name,name:a.Name,placeholder:a.PlaceholderText,rows:Math.max(2,a.VisibleRows||2),title:a.Description});try{f.attr("maxlength",c)}catch(g){f.get(0).setAttribute("maxlength",""+c)}return{name:a.Name,elem:e.formatStandardField(f,a,b),val:function(a){return 0===arguments.length?f.val():(a&&a.length>c&&(a=a.substring(0,c)),f.val(a))},required:a.IsRequired,validatorElem:f,onChange:function(a){f.on("change",a)}}}},{"../jquery.js":31,"./fieldHelpers.js":15}],28:[function(a,b){var c=a("./jquery.js"),d=c.build,e=a("./validation.js"),f=a("./measure.js"),g=a("./fields/fieldhelpers.js"),h=g.cap,i=g.isSet,j=g.first,k=a("querystring"),l=a("url"),m=a("cookie"),n=a("./cookiehelper.js"),o=a("./tokenTemplate.js"),p=a("./changeManager.js"),q=a("./urlhelper.js"),r=a("./prefillcoercer.js"),s=a("./iframeproxy.js"),t=a("./safelog.js"),u=[a("./fields/inputRadio.js"),a("./fields/inputDate.js"),a("./fields/inputEmail.js"),a("./fields/inputCheckbox.js"),a("./fields/select.js"),a("./fields/inputRange.js"),a("./fields/inputText.js"),a("./fields/inputUrl.js"),a("./fields/inputTel.js"),a("./fields/inputNumber.js"),a("./fields/textarea.js"),a("./fields/currency.js")],v={};c.each(u,function(a,b){v[b.fieldType]=b}),v["int"]=v.number,v["double"]=v.number,v.single_checkbox=v.checkbox;var w=(a("./comparators.js"),navigator.userAgent.match(/msie ([6789])/i)),x=w?"ie"+w[1]:"",y=function(a,b,u){var w={},y={};y.hiddenFields={formid:a.Id},y.onSuccess=[],y.onSubmit=[],
return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Q(k,j.opts.specialEasing);g>f;f++)if(d=ed[f].call(j,a,k,j.opts))return d;return lb.map(k,O,j),lb.isFunction(j.opts.start)&&j.opts.start.call(a,j),lb.fx.timer(lb.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}function Q(a,b){var c,d,e,f,g;for(c in a)if(d=lb.camelCase(c),e=b[d],f=a[c],lb.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=lb.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function R(a,b,c){var d,e,f,g,h,i,j=this,k={},l=a.style,m=a.nodeType&&y(a),n=lb._data(a,"fxshow");c.queue||(h=lb._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,j.always(function(){j.always(function(){h.unqueued--,lb.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[l.overflow,l.overflowX,l.overflowY],"inline"===lb.css(a,"display")&&"none"===lb.css(a,"float")&&(lb.support.inlineBlockNeedsLayout&&"inline"!==D(a.nodeName)?l.zoom=1:l.display="inline-block")),c.overflow&&(l.overflow="hidden",lb.support.shrinkWrapBlocks||j.always(function(){l.overflow=c.overflow[0],l.overflowX=c.overflow[1],l.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],bd.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(m?"hide":"show"))continue;k[d]=n&&n[d]||lb.style(a,d)}if(!lb.isEmptyObject(k)){n?"hidden"in n&&(m=n.hidden):n=lb._data(a,"fxshow",{}),f&&(n.hidden=!m),m?lb(a).show():j.done(function(){lb(a).hide()}),j.done(function(){var b;lb._removeData(a,"fxshow");for(b in k)lb.style(a,b,k[b])});for(d in k)g=O(m?n[d]:0,d,j),d in n||(n[d]=g.start,m&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function S(a,b,c,d,e){return new S.prototype.init(a,b,c,d,e)}function T(a,b){var c,d={height:a},e=0;for(b=b?1:0;4>e;e+=2-b)c=yc[e],d["margin"+c]=d["padding"+c]=a;return b&&(d.opacity=d.width=a),d}function U(a){return lb.isWindow(a)?a:9===a.nodeType?a.defaultView||a.parentWindow:!1}var V,W,X=typeof c,Y=a.location,Z=a.document,$=Z.documentElement,_=a.jQuery,ab=a.$,bb={},cb=[],db="1.10.2",eb=cb.concat,fb=cb.push,gb=cb.slice,hb=cb.indexOf,ib=bb.toString,jb=bb.hasOwnProperty,kb=db.trim,lb=function(a,b){return new lb.fn.init(a,b,W)},mb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,nb=/\S+/g,ob=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pb=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,qb=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,rb=/^[\],:{}\s]*$/,sb=/(?:^|:|,)(?:\s*\[)+/g,tb=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ub=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,vb=/^-ms-/,wb=/-([\da-z])/gi,xb=function(a,b){return b.toUpperCase()},yb=function(a){(Z.addEventListener||"load"===a.type||"complete"===Z.readyState)&&(zb(),lb.ready())},zb=function(){Z.addEventListener?(Z.removeEventListener("DOMContentLoaded",yb,!1),a.removeEventListener("load",yb,!1)):(Z.detachEvent("onreadystatechange",yb),a.detachEvent("onload",yb))};lb.fn=lb.prototype={jquery:db,constructor:lb,init:function(a,b,d){var e,f;if(!a)return this;if("string"==typeof a){if(e="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:pb.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof lb?b[0]:b,lb.merge(this,lb.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:Z,!0)),qb.test(e[1])&&lb.isPlainObject(b))for(e in b)lb.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}if(f=Z.getElementById(e[2]),f&&f.parentNode){if(f.id!==e[2])return d.find(a);this.length=1,this[0]=f}return this.context=Z,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):lb.isFunction(a)?d.ready(a):(a.selector!==c&&(this.selector=a.selector,this.context=a.context),lb.makeArray(a,this))},selector:"",length:0,toArray:function(){return gb.call(this)},get:function(a){retur
}),l.cloneNode(!0).click());for(k in{submit:!0,change:!0,focusin:!0})l.setAttribute(i="on"+k,"t"),b[k+"Bubbles"]=i in a||l.attributes[i].expando===!1;l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===l.style.backgroundClip;for(k in lb(b))break;return b.ownLast="0"!==k,lb(function(){var c,d,e,f="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",g=Z.getElementsByTagName("body")[0];g&&(c=Z.createElement("div"),c.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",g.appendChild(c).appendChild(l),l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=l.getElementsByTagName("td"),e[0].style.cssText="padding:0;margin:0;border:0;display:none",j=0===e[0].offsetHeight,e[0].style.display="",e[1].style.display="none",b.reliableHiddenOffsets=j&&0===e[0].offsetHeight,l.innerHTML="",l.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",lb.swap(g,null!=g.style.zoom?{zoom:1}:{},function(){b.boxSizing=4===l.offsetWidth}),a.getComputedStyle&&(b.pixelPosition="1%"!==(a.getComputedStyle(l,null)||{}).top,b.boxSizingReliable="4px"===(a.getComputedStyle(l,null)||{width:"4px"}).width,d=l.appendChild(Z.createElement("div")),d.style.cssText=l.style.cssText=f,d.style.marginRight=d.style.width="0",l.style.width="1px",b.reliableMarginRight=!parseFloat((a.getComputedStyle(d,null)||{}).marginRight)),typeof l.style.zoom!==X&&(l.innerHTML="",l.style.cssText=f+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=3===l.offsetWidth,l.style.display="block",l.innerHTML="<div></div>",l.firstChild.style.width="5px",b.shrinkWrapBlocks=3!==l.offsetWidth,b.inlineBlockNeedsLayout&&(g.style.zoom=1)),g.removeChild(c),c=l=e=d=null)}),c=f=g=h=d=e=null,b}({});var Bb=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Cb=/([A-Z])/g;lb.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?lb.cache[a[lb.expando]]:a[lb.expando],!!a&&!i(a)},data:function(a,b,c){return f(a,b,c)},removeData:function(a,b){return g(a,b)},_data:function(a,b,c){return f(a,b,c,!0)},_removeData:function(a,b){return g(a,b,!0)},acceptData:function(a){if(a.nodeType&&1!==a.nodeType&&9!==a.nodeType)return!1;var b=a.nodeName&&lb.noData[a.nodeName.toLowerCase()];return!b||b!==!0&&a.getAttribute("classid")===b}}),lb.fn.extend({data:function(a,b){var d,e,f=null,g=0,i=this[0];if(a===c){if(this.length&&(f=lb.data(i),1===i.nodeType&&!lb._data(i,"parsedAttrs"))){for(d=i.attributes;g<d.length;g++)e=d[g].name,0===e.indexOf("data-")&&(e=lb.camelCase(e.slice(5)),h(i,e,f[e]));lb._data(i,"parsedAttrs",!0)}return f}return"object"==typeof a?this.each(function(){lb.data(this,a)}):arguments.length>1?this.each(function(){lb.data(this,a,b)}):i?h(i,a,lb.data(i,a)):null},removeData:function(a){return this.each(function(){lb.removeData(this,a)})}}),lb.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=lb._data(a,b),c&&(!d||lb.isArray(c)?d=lb._data(a,b,lb.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=lb.queue(a,b),d=c.length,e=c.shift(),f=lb._queueHooks(a,b),g=function(){lb.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return lb._data(a,c)||lb._data(a,c,{empty:lb.Callbacks("once memory").add(function(){lb._removeData(a,b+"queue"),lb._removeData(a,c)})})}}),lb.fn.extend({queue:function(a,b){var d=2;return"string"!=typeof a&&(b=a,a="fx",d--),arguments.length<d?lb.queue(this[0],a):b===c?this:this.each(function(){var c=lb.queue(this,a,b);lb._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&lb.dequeue(this,a)})},dequeue:function(a){return this.each(function(){lb.dequeue(this,a)})},delay:function(a,b){return a=lb.fx?lb.fx.speeds[a]||a:a,b=b||"fx",this.queue(b
lb.fn.extend({css:function(a,b){return lb.access(this,function(a,b,d){var e,f,g={},h=0;if(lb.isArray(b)){for(f=lc(a),e=b.length;e>h;h++)g[b[h]]=lb.css(a,b[h],!1,f);return g}return d!==c?lb.style(a,b,d):lb.css(a,b)},a,b,arguments.length>1)},show:function(){return z(this,!0)},hide:function(){return z(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){y(this)?lb(this).show():lb(this).hide()})}}),lb.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=mc(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":lb.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,d,e){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var f,g,h,i=lb.camelCase(b),j=a.style;if(b=lb.cssProps[i]||(lb.cssProps[i]=x(j,i)),h=lb.cssHooks[b]||lb.cssHooks[i],d===c)return h&&"get"in h&&(f=h.get(a,!1,e))!==c?f:j[b];if(g=typeof d,"string"===g&&(f=uc.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(lb.css(a,b)),g="number"),!(null==d||"number"===g&&isNaN(d)||("number"!==g||lb.cssNumber[i]||(d+="px"),lb.support.clearCloneStyle||""!==d||0!==b.indexOf("background")||(j[b]="inherit"),h&&"set"in h&&(d=h.set(a,d,e))===c)))try{j[b]=d}catch(k){}}},css:function(a,b,d,e){var f,g,h,i=lb.camelCase(b);return b=lb.cssProps[i]||(lb.cssProps[i]=x(a.style,i)),h=lb.cssHooks[b]||lb.cssHooks[i],h&&"get"in h&&(g=h.get(a,!0,d)),g===c&&(g=mc(a,b,e)),"normal"===g&&b in xc&&(g=xc[b]),""===d||d?(f=parseFloat(g),d===!0||lb.isNumeric(f)?f||0:g):g}}),a.getComputedStyle?(lc=function(b){return a.getComputedStyle(b,null)},mc=function(a,b,d){var e,f,g,h=d||lc(a),i=h?h.getPropertyValue(b)||h[b]:c,j=a.style;return h&&(""!==i||lb.contains(a.ownerDocument,a)||(i=lb.style(a,b)),tc.test(i)&&rc.test(b)&&(e=j.width,f=j.minWidth,g=j.maxWidth,j.minWidth=j.maxWidth=j.width=i,i=h.width,j.width=e,j.minWidth=f,j.maxWidth=g)),i}):Z.documentElement.currentStyle&&(lc=function(a){return a.currentStyle},mc=function(a,b,d){var e,f,g,h=d||lc(a),i=h?h[b]:c,j=a.style;return null==i&&j&&j[b]&&(i=j[b]),tc.test(i)&&!pc.test(b)&&(e=j.left,f=a.runtimeStyle,g=f&&f.left,g&&(f.left=a.currentStyle.left),j.left="fontSize"===b?"1em":i,i=j.pixelLeft+"px",j.left=e,g&&(f.left=g)),""===i?"auto":i}),lb.each(["height","width"],function(a,b){lb.cssHooks[b]={get:function(a,c,d){return c?0===a.offsetWidth&&qc.test(lb.css(a,"display"))?lb.swap(a,wc,function(){return C(a,b,d)}):C(a,b,d):void 0},set:function(a,c,d){var e=d&&lc(a);return A(a,c,d?B(a,b,d,lb.support.boxSizing&&"border-box"===lb.css(a,"boxSizing",!1,e),e):0)}}}),lb.support.opacity||(lb.cssHooks.opacity={get:function(a,b){return oc.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=lb.isNumeric(b)?"alpha(opacity="+100*b+")":"",f=d&&d.filter||c.filter||"";c.zoom=1,(b>=1||""===b)&&""===lb.trim(f.replace(nc,""))&&c.removeAttribute&&(c.removeAttribute("filter"),""===b||d&&!d.filter)||(c.filter=nc.test(f)?f.replace(nc,e):f+" "+e)}}),lb(function(){lb.support.reliableMarginRight||(lb.cssHooks.marginRight={get:function(a,b){return b?lb.swap(a,{display:"inline-block"},mc,[a,"marginRight"]):void 0}}),!lb.support.pixelPosition&&lb.fn.position&&lb.each(["top","left"],function(a,b){lb.cssHooks[b]={get:function(a,c){return c?(c=mc(a,b),tc.test(c)?lb(a).position()[b]+"px":c):void 0}}})}),lb.expr&&lb.expr.filters&&(lb.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0||!lb.support.reliableHiddenOffsets&&"none"===(a.style&&a.style.display||lb.css(a,"display"))},lb.expr.filters.visible=function(a){return!lb.expr.filters.hidden(a)}),lb.each({margin:"",padding:"",border:"Width"},function(a,b){lb.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+yc[d]+b]=f[d]||f[d-2]||f[0];return e}},rc.test(a)||(lb.cssHooks[a+b].set=A)});var Ac=/%20/g,Bc=/\[\]$/,Cc=/\r?\n/g,Dc=/^(?:submit|button|image|reset|file)$/i,Ec=/^(?:input|select|textarea|keygen)/i;lb.f
}function e(a,b){var c=g.parse(a,!0);return h.extend(c.query,b),c.search="",a=g.format(c)}function f(a,b){if(!b)return a;h.isArray(b)||(b=[""+b]);var c=g.parse(a,!0);return h.each(b,function(a,b){delete c.query[b]}),c.search="",a=g.format(c)}var g=a("url"),h=a("./jquery.js");b.exports={swapHostsProtocols:c,addQueryParams:e,removeQueryParams:f,remapLandingPageUrl:d}},{"./jquery.js":31,url:6}],40:[function(a,b){var c=a("./jquery.js"),d=c.build,e=a("./measure.js"),f=a("./modernizr.js"),g=function(a){var b={};b.currentErrorElem=null,b.currentErrorMsg=null;var g=".mktoFieldDescriptor";return b.checkOne=function(a){var b=!0,d=!0,e=a.data("mktoFieldDescriptor"),f=e.val();return e.required&&(b=e.requiredValFn?e.requiredValFn(f):!!c.trim(f)),e.validator&&(d=e.validator(e.val())),b&&d&&e.validatorElem?(e.validatorElem.removeClass("mktoInvalid"),e.validatorElem.addClass("mktoValid")):e.validatorElem&&(e.validatorElem.removeClass("mktoValid"),e.validatorElem.addClass("mktoInvalid")),b?d?null:e.validationMessage||"Validation failed":e.requiredMessage||e.validationMessage||"This field is required"},b.checkOneAndHide=function(){var a=c(this),d=b.checkOne(a);!d&&b.currentErrorMsg&&b.currentErrorMsg.fadeOut()},b.checkOneAndShow=function(){var a=c(this);if(a.data("mktoErrorShowBlocked"))return b.checkOneAndHide.call(this);var d=a.data("mktoFieldDescriptor").validatorElem,e=b.checkOne(a);e?b.currentErrorElem!=a&&(b.currentErrorMsg&&b.currentErrorMsg.fadeOut(),b.showError(d,e)):b.currentErrorMsg&&b.currentErrorMsg.fadeOut()},b.initScoped=function(a){var d=function(a,d){d=c(d),d.data("mktoErrorShowBlocked",!0);var e=function(){d.data("mktoErrorShowBlocked",!1),b.checkOneAndHide.call(this)},f=function(a){return function(b){"div"!=b.target.tagName.toLowerCase()&&a.apply(this,arguments)}};d.on("focusin",f(b.checkOneAndShow)).on("focusout",f(e)).on("keyup",e).on("click",b.checkOneAndHide)};if(a.find(g).each(d),a.is(g)){var e=a.get(0);d.call(e,0,e)}},b.init=function(){b.clear(),b.initScoped(a)},b.showError=function(a,c){b.currentErrorMsg&&b.currentErrorMsg.remove();var g,h=d(".mktoError",[g=d(".mktoErrorArrowWrap",[d(".mktoErrorArrow")]),d(".mktoErrorMsg",d.html(c))]).hide();f.csstransforms||g.addClass("mktoArrowImage"),a.after(h),b.currentErrorElem=a,b.currentErrorMsg=h;var i,j=e.measure(h),k=a.outerWidth();i=k<j.w?-1*(j.w-k):(k-j.w)/2,h.css({right:i,bottom:-1*j.h}),h.fadeIn()},b.check=function(){b.clear();var d=null;if(a.find(g).each(function(){var a=c(this);a.data("mktoErrorShowBlocked",!1);var e=b.checkOne(a);e&&!d&&(d=a)}),d){var e=d.data("mktoFieldDescriptor"),f=e.validatorFocusElem||e.validatorElem;return f&&setTimeout(function(){f.focus()},10),!1}return!0},b.clear=function(){b.currentErrorElem=null,b.currentErrorMsg=null,a.find(".mktoInvalid").removeClass("mktoInvalid"),a.find(".mktoValid").removeClass("mktoValid"),a.find(".mktoError").remove()},b};b.exports=g},{"./jquery.js":31,"./measure.js":32,"./modernizr.js":34}],41:[function(a,b){!function(a,c,d){function e(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function f(a,b,d,f,g,i){var j,k,l=c.createElement("script");f=f||m.errorTimeout,l.src=a;for(k in d)l.setAttribute(k,d[k]);b=i?h:b||s,l.onreadystatechange=l.onload=function(){!j&&e(l.readyState)&&(j=1,b(),l.onload=l.onreadystatechange=null)},setTimeout(function(){j||(j=1,b(1))},f),F(),g?l.onload():o.parentNode.insertBefore(l,o)}function g(a,b,d,e,f,g){var i,j=c.createElement("link");e=e||m.errorTimeout,b=g?h:b||s,j.href=a,j.rel="stylesheet",j.type="text/css";for(i in d)j.setAttribute(i,d[i]);f||(F(),o.parentNode.insertBefore(j,o),setTimeout(b,0))}function h(){var a=q.shift();r=1,a?a.t?setTimeout(function(){("c"==a.t?m.injectCss:m.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):r=0}function i(a,b,d,f,g,i,j){function k(c){if(!n&&e(l.readyState)&&(s.r=n=1,!r&&h(),c)){"img"!=a&&setTimeout(function(){v.removeChild(l)},50);for(var d in H[b])H[b].hasOwnProperty(d)&&H[b][d].onload();l.onload=l.onreadystatechange=null}}j=j||m.errorTimeout;var l=c.createElement(a),n=0,p=0,s={t:d,s:b,e:g,a:i,x:j};1===H[b]&&(p=1,H[b]=[]),"object"==a?(l