react-form-validator-component
Version:
React Form Validator exposes a single React component which uses the render prop pattern to validate the input on its child form. It is built as a pure React component, with no additional dependencies, making it efficient and cheap to add to any React
1 lines • 78.4 kB
JavaScript
!function(t,n){for(var r in n)t[r]=n[r]}(exports,function(t){var n={};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)r.d(e,i,function(n){return t[n]}.bind(null,i));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=211)}([function(t,n,r){var e=r(2),i=r(26),o=r(10),u=r(18),a=r(16),c=function(t,n,r){var f,s,l,h,v=t&c.F,p=t&c.G,d=t&c.S,y=t&c.P,g=t&c.B,m=p?e:d?e[n]||(e[n]={}):(e[n]||{}).prototype,b=p?i:i[n]||(i[n]={}),w=b.prototype||(b.prototype={});for(f in p&&(r=n),r)l=((s=!v&&m&&void 0!==m[f])?m:r)[f],h=g&&s?a(l,e):y&&"function"==typeof l?a(Function.call,l):l,m&&u(m,f,l,t&c.U),b[f]!=l&&o(b,f,h),y&&w[f]!=l&&(w[f]=l)};e.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n,r){var e=r(1);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){var e=r(63)("wks"),i=r(24),o=r(2).Symbol,u="function"==typeof o;(t.exports=function(t){return e[t]||(e[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=e},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(3),i=r(91),o=r(40),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(21),i=Math.min;t.exports=function(t){return t>0?i(e(t),9007199254740991):0}},function(t,n,r){t.exports=!r(5)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(6),i=r(25);t.exports=r(8)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(0),i=r(26),o=r(5);t.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o(function(){r(1)}),"Object",u)}},function(t,n,r){var e=r(66),i=r(20);t.exports=function(t){return e(i(t))}},function(t,n,r){var e=r(36),i=r(25),o=r(12),u=r(40),a=r(9),c=r(91),f=Object.getOwnPropertyDescriptor;n.f=r(8)?f:function(t,n){if(t=o(t),n=u(n,!0),c)try{return f(t,n)}catch(t){}if(a(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){"use strict";if(r(8)){var e=r(22),i=r(2),o=r(5),u=r(0),a=r(48),c=r(67),f=r(16),s=r(34),l=r(25),h=r(10),v=r(35),p=r(21),d=r(7),y=r(90),g=r(32),m=r(40),b=r(9),w=r(59),S=r(1),_=r(15),x=r(58),O=r(38),E=r(29),P=r(39).f,j=r(57),A=r(24),M=r(4),F=r(37),L=r(65),T=r(60),V=r(56),k=r(30),I=r(46),R=r(47),N=r(61),C=r(84),W=r(6),U=r(13),B=W.f,D=U.f,z=i.RangeError,G=i.TypeError,q=i.Uint8Array,Z=Array.prototype,$=c.ArrayBuffer,K=c.DataView,Y=F(0),H=F(2),J=F(3),X=F(4),Q=F(5),tt=F(6),nt=L(!0),rt=L(!1),et=V.values,it=V.keys,ot=V.entries,ut=Z.lastIndexOf,at=Z.reduce,ct=Z.reduceRight,ft=Z.join,st=Z.sort,lt=Z.slice,ht=Z.toString,vt=Z.toLocaleString,pt=M("iterator"),dt=M("toStringTag"),yt=A("typed_constructor"),gt=A("def_constructor"),mt=a.CONSTR,bt=a.TYPED,wt=a.VIEW,St=F(1,function(t,n){return Pt(T(t,t[gt]),n)}),_t=o(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),xt=!!q&&!!q.prototype.set&&o(function(){new q(1).set({})}),Ot=function(t,n){var r=p(t);if(r<0||r%n)throw z("Wrong offset!");return r},Et=function(t){if(S(t)&&bt in t)return t;throw G(t+" is not a typed array!")},Pt=function(t,n){if(!(S(t)&&yt in t))throw G("It is not a typed array constructor!");return new t(n)},jt=function(t,n){return At(T(t,t[gt]),n)},At=function(t,n){for(var r=0,e=n.length,i=Pt(t,e);e>r;)i[r]=n[r++];return i},Mt=function(t,n,r){B(t,n,{get:function(){return this._d[r]}})},Ft=function(t){var n,r,e,i,o,u,a=_(t),c=arguments.length,s=c>1?arguments[1]:void 0,l=void 0!==s,h=j(a);if(void 0!=h&&!x(h)){for(u=h.call(a),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);a=e}for(l&&c>2&&(s=f(s,arguments[2],2)),n=0,r=d(a.length),i=Pt(this,r);r>n;n++)i[n]=l?s(a[n],n):a[n];return i},Lt=function(){for(var t=0,n=arguments.length,r=Pt(this,n);n>t;)r[t]=arguments[t++];return r},Tt=!!q&&o(function(){vt.call(new q(1))}),Vt=function(){return vt.apply(Tt?lt.call(Et(this)):Et(this),arguments)},kt={copyWithin:function(t,n){return C.call(Et(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return X(Et(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return N.apply(Et(this),arguments)},filter:function(t){return jt(this,H(Et(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Et(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Et(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Y(Et(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return rt(Et(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Et(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Et(this),arguments)},lastIndexOf:function(t){return ut.apply(Et(this),arguments)},map:function(t){return St(Et(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Et(this),arguments)},reduceRight:function(t){return ct.apply(Et(this),arguments)},reverse:function(){for(var t,n=Et(this).length,r=Math.floor(n/2),e=0;e<r;)t=this[e],this[e++]=this[--n],this[n]=t;return this},some:function(t){return J(Et(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return st.call(Et(this),t)},subarray:function(t,n){var r=Et(this),e=r.length,i=g(t,e);return new(T(r,r[gt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,d((void 0===n?e:g(n,e))-i))}},It=function(t,n){return jt(this,lt.call(Et(this),t,n))},Rt=function(t){Et(this);var n=Ot(arguments[1],1),r=this.length,e=_(t),i=d(e.length),o=0;if(i+n>r)throw z("Wrong length!");for(;o<i;)this[n+o]=e[o++]},Nt={entries:function(){return ot.call(Et(this))},keys:function(){return it.call(Et(this))},values:function(){return et.call(Et(this))}},Ct=function(t,n){return S(t)&&t[bt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},Wt=function(t,n){return Ct(t,n=m(n,!0))?l(2,t[n]):D(t,n)},Ut=function(t,n,r){return!(Ct(t,n=m(n,!0))&&S(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?B(t,n,r):(t[n]=r.value,t)};mt||(U.f=Wt,W.f=Ut),u(u.S+u.F*!mt,"Object",{getOwnPropertyDescriptor:Wt,defineProperty:Ut}),o(function(){ht.call({})})&&(ht=vt=function(){return ft.call(this)});var Bt=v({},kt);v(Bt,Nt),h(Bt,pt,Nt.values),v(Bt,{slice:It,set:Rt,constructor:function(){},toString:ht,toLocaleString:Vt}),Mt(Bt,"buffer","b"),Mt(Bt,"byteOffset","o"),Mt(Bt,"byteLength","l"),Mt(Bt,"length","e"),B(Bt,dt,{get:function(){return this[bt]}}),t.exports=function(t,n,r,c){var f=t+((c=!!c)?"Clamped":"")+"Array",l="get"+t,v="set"+t,p=i[f],g=p||{},m=p&&E(p),b=!p||!a.ABV,_={},x=p&&p.prototype,j=function(t,r){B(t,r,{get:function(){return function(t,r){var e=t._d;return e.v[l](r*n+e.o,_t)}(this,r)},set:function(t){return function(t,r,e){var i=t._d;c&&(e=(e=Math.round(e))<0?0:e>255?255:255&e),i.v[v](r*n+i.o,e,_t)}(this,r,t)},enumerable:!0})};b?(p=r(function(t,r,e,i){s(t,p,f,"_d");var o,u,a,c,l=0,v=0;if(S(r)){if(!(r instanceof $||"ArrayBuffer"==(c=w(r))||"SharedArrayBuffer"==c))return bt in r?At(p,r):Ft.call(p,r);o=r,v=Ot(e,n);var g=r.byteLength;if(void 0===i){if(g%n)throw z("Wrong length!");if((u=g-v)<0)throw z("Wrong length!")}else if((u=d(i)*n)+v>g)throw z("Wrong length!");a=u/n}else a=y(r),o=new $(u=a*n);for(h(t,"_d",{b:o,o:v,l:u,e:a,v:new K(o)});l<a;)j(t,l++)}),x=p.prototype=O(Bt),h(x,"constructor",p)):o(function(){p(1)})&&o(function(){new p(-1)})&&I(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=r(function(t,r,e,i){var o;return s(t,p,f),S(r)?r instanceof $||"ArrayBuffer"==(o=w(r))||"SharedArrayBuffer"==o?void 0!==i?new g(r,Ot(e,n),i):void 0!==e?new g(r,Ot(e,n)):new g(r):bt in r?At(p,r):Ft.call(p,r):new g(y(r))}),Y(m!==Function.prototype?P(g).concat(P(m)):P(g),function(t){t in p||h(p,t,g[t])}),p.prototype=x,e||(x.constructor=p));var A=x[pt],M=!!A&&("values"==A.name||void 0==A.name),F=Nt.values;h(p,yt,!0),h(x,bt,f),h(x,wt,!0),h(x,gt,p),(c?new p(1)[dt]==f:dt in x)||B(x,dt,{get:function(){return f}}),_[f]=p,u(u.G+u.W+u.F*(p!=g),_),u(u.S,f,{BYTES_PER_ELEMENT:n}),u(u.S+u.F*o(function(){g.of.call(p,1)}),f,{from:Ft,of:Lt}),"BYTES_PER_ELEMENT"in x||h(x,"BYTES_PER_ELEMENT",n),u(u.P,f,kt),R(f),u(u.P+u.F*xt,f,{set:Rt}),u(u.P+u.F*!M,f,Nt),e||x.toString==ht||(x.toString=ht),u(u.P+u.F*o(function(){new p(1).slice()}),f,{slice:It}),u(u.P+u.F*(o(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!o(function(){x.toLocaleString.call([1,2])})),f,{toLocaleString:Vt}),k[f]=M?A:F,e||M||h(x,pt,F)}}else t.exports=function(){}},function(t,n,r){var e=r(20);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(23);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(24)("meta"),i=r(1),o=r(9),u=r(6).f,a=0,c=Object.isExtensible||function(){return!0},f=!r(5)(function(){return c(Object.preventExtensions({}))}),s=function(t){u(t,e,{value:{i:"O"+ ++a,w:{}}})},l=t.exports={KEY:e,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,e)){if(!c(t))return"F";if(!n)return"E";s(t)}return t[e].i},getWeak:function(t,n){if(!o(t,e)){if(!c(t))return!0;if(!n)return!1;s(t)}return t[e].w},onFreeze:function(t){return f&&l.NEED&&c(t)&&!o(t,e)&&s(t),t}}},function(t,n,r){var e=r(2),i=r(10),o=r(9),u=r(24)("src"),a=Function.toString,c=(""+a).split("toString");r(26).inspectSource=function(t){return a.call(t)},(t.exports=function(t,n,r,a){var f="function"==typeof r;f&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(f&&(o(r,u)||i(r,u,t[n]?""+t[n]:c.join(String(n)))),t===e?t[n]=r:a?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||a.call(this)})},function(t,n,r){var e=r(89),i=r(62);t.exports=Object.keys||function(t){return e(t,i)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n){t.exports=!1},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var r=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(1);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,r){var e=r(4)("unscopables"),i=Array.prototype;void 0==i[e]&&r(10)(i,e,{}),t.exports=function(t){i[e][t]=!0}},function(t,n,r){var e=r(9),i=r(15),o=r(64)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n){t.exports={}},function(t,n,r){var e=r(6).f,i=r(9),o=r(4)("toStringTag");t.exports=function(t,n,r){t&&!i(t=r?t:t.prototype,o)&&e(t,o,{configurable:!0,value:n})}},function(t,n,r){var e=r(21),i=Math.max,o=Math.min;t.exports=function(t,n){return(t=e(t))<0?i(t+n,0):o(t,n)}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(18);t.exports=function(t,n,r){for(var i in n)e(t,i,n[i],r);return t}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(16),i=r(66),o=r(15),u=r(7),a=r(201);t.exports=function(t,n){var r=1==t,c=2==t,f=3==t,s=4==t,l=6==t,h=5==t||l,v=n||a;return function(n,a,p){for(var d,y,g=o(n),m=i(g),b=e(a,p,3),w=u(m.length),S=0,_=r?v(n,w):c?v(n,0):void 0;w>S;S++)if((h||S in m)&&(y=b(d=m[S],S,g),t))if(r)_[S]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return S;case 2:_.push(d)}else if(s)return!1;return l?-1:f||s?s:_}}},function(t,n,r){var e=r(3),i=r(202),o=r(62),u=r(64)("IE_PROTO"),a=function(){},c=function(){var t,n=r(68)("iframe"),e=o.length;for(n.style.display="none",r(88).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c.prototype[o[e]];return c()};t.exports=Object.create||function(t,n){var r;return null!==t?(a.prototype=e(t),r=new a,a.prototype=null,r[u]=t):r=c(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(89),i=r(62).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,i)}},function(t,n,r){var e=r(1);t.exports=function(t,n){if(!e(t))return t;var r,i;if(n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!e(i=r.call(t)))return i;if(!n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n,r){"use strict";var e=r(10),i=r(18),o=r(5),u=r(20),a=r(4);t.exports=function(t,n,r){var c=a(t),f=r(u,c,""[t]),s=f[0],l=f[1];o(function(){var n={};return n[c]=function(){return 7},7!=""[t](n)})&&(i(String.prototype,t,s),e(RegExp.prototype,c,2==n?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}},function(t,n,r){var e=r(2).navigator;t.exports=e&&e.userAgent||""},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){"use strict";var e=r(2),i=r(0),o=r(18),u=r(35),a=r(17),c=r(45),f=r(34),s=r(1),l=r(5),h=r(46),v=r(31),p=r(189);t.exports=function(t,n,r,d,y,g){var m=e[t],b=m,w=y?"set":"add",S=b&&b.prototype,_={},x=function(t){var n=S[t];o(S,t,"delete"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,r){return n.call(this,0===t?0:t,r),this})};if("function"==typeof b&&(g||S.forEach&&!l(function(){(new b).entries().next()}))){var O=new b,E=O[w](g?{}:-0,1)!=O,P=l(function(){O.has(1)}),j=h(function(t){new b(t)}),A=!g&&l(function(){for(var t=new b,n=5;n--;)t[w](n,n);return!t.has(-0)});j||((b=n(function(n,r){f(n,b,t);var e=p(new m,n,b);return void 0!=r&&c(r,y,e[w],e),e})).prototype=S,S.constructor=b),(P||A)&&(x("delete"),x("has"),y&&x("get")),(A||E)&&x(w),g&&S.clear&&delete S.clear}else b=d.getConstructor(n,t,y,w),u(b.prototype,r),a.NEED=!0;return v(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=m),_),g||d.setStrong(b,t,y),b}},function(t,n,r){var e=r(16),i=r(82),o=r(58),u=r(3),a=r(7),c=r(57),f={},s={};(n=t.exports=function(t,n,r,l,h){var v,p,d,y,g=h?function(){return t}:c(t),m=e(r,l,n?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(v=a(t.length);v>b;b++)if((y=n?m(u(p=t[b])[0],p[1]):m(t[b]))===f||y===s)return y}else for(d=g.call(t);!(p=d.next()).done;)if((y=i(d,m,p.value,n))===f||y===s)return y}).BREAK=f,n.RETURN=s},function(t,n,r){var e=r(4)("iterator"),i=!1;try{var o=[7][e]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var r=!1;try{var o=[7],u=o[e]();u.next=function(){return{done:r=!0}},o[e]=function(){return u},t(o)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(2),i=r(6),o=r(8),u=r(4)("species");t.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){for(var e,i=r(2),o=r(10),u=r(24),a=u("typed_array"),c=u("view"),f=!(!i.ArrayBuffer||!i.DataView),s=f,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(e=i[h[l++]])?(o(e.prototype,a,!0),o(e.prototype,c,!0)):s=!1;t.exports={ABV:f,CONSTR:s,TYPED:a,VIEW:c}},function(t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n,r){"use strict";var e=r(6),i=r(25);t.exports=function(t,n,r){n in t?e.f(t,n,i(0,r)):t[n]=r}},function(t,n,r){var e=r(4)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,r){var e=r(73),i=r(20);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(t))}},function(t,n,r){var e,i,o,u=r(16),a=r(79),c=r(88),f=r(68),s=r(2),l=s.process,h=s.setImmediate,v=s.clearImmediate,p=s.MessageChannel,d=s.Dispatch,y=0,g={},m=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},b=function(t){m.call(t.data)};h&&v||(h=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return g[++y]=function(){a("function"==typeof t?t:Function(t),n)},e(y),y},v=function(t){delete g[t]},"process"==r(33)(l)?e=function(t){l.nextTick(u(m,t,1))}:d&&d.now?e=function(t){d.now(u(m,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,e=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",b,!1)):e="onreadystatechange"in f("script")?function(t){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:h,clear:v}},function(t,n,r){var e=r(1),i=r(3),o=function(t,n){if(i(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(16)(Function.call,r(13).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return o(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:o}},function(t,n,r){"use strict";var e=r(28),i=r(86),o=r(30),u=r(12);t.exports=r(85)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])},"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},function(t,n,r){var e=r(59),i=r(4)("iterator"),o=r(30);t.exports=r(26).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,n,r){var e=r(30),i=r(4)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||o[i]===t)}},function(t,n,r){var e=r(33),i=r(4)("toStringTag"),o="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?r:o?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(3),i=r(23),o=r(4)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||void 0==(r=e(u)[o])?n:i(r)}},function(t,n,r){"use strict";var e=r(15),i=r(32),o=r(7);t.exports=function(t){for(var n=e(this),r=o(n.length),u=arguments.length,a=i(u>1?arguments[1]:void 0,r),c=u>2?arguments[2]:void 0,f=void 0===c?r:i(c,r);f>a;)n[a++]=t;return n}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(26),i=r(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(22)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(63)("keys"),i=r(24);t.exports=function(t){return e[t]||(e[t]=i(t))}},function(t,n,r){var e=r(12),i=r(7),o=r(32);t.exports=function(t){return function(n,r,u){var a,c=e(n),f=i(c.length),s=o(u,f);if(t&&r!=r){for(;f>s;)if((a=c[s++])!=a)return!0}else for(;f>s;s++)if((t||s in c)&&c[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(33);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){"use strict";var e=r(2),i=r(8),o=r(22),u=r(48),a=r(10),c=r(35),f=r(5),s=r(34),l=r(21),h=r(7),v=r(90),p=r(39).f,d=r(6).f,y=r(61),g=r(31),m="prototype",b="Wrong index!",w=e.ArrayBuffer,S=e.DataView,_=e.Math,x=e.RangeError,O=e.Infinity,E=w,P=_.abs,j=_.pow,A=_.floor,M=_.log,F=_.LN2,L=i?"_b":"buffer",T=i?"_l":"byteLength",V=i?"_o":"byteOffset";function k(t,n,r){var e,i,o,u=new Array(r),a=8*r-n-1,c=(1<<a)-1,f=c>>1,s=23===n?j(2,-24)-j(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=P(t))!=t||t===O?(i=t!=t?1:0,e=c):(e=A(M(t)/F),t*(o=j(2,-e))<1&&(e--,o*=2),(t+=e+f>=1?s/o:s*j(2,1-f))*o>=2&&(e++,o/=2),e+f>=c?(i=0,e=c):e+f>=1?(i=(t*o-1)*j(2,n),e+=f):(i=t*j(2,f-1)*j(2,n),e=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(e=e<<n|i,a+=n;a>0;u[l++]=255&e,e/=256,a-=8);return u[--l]|=128*h,u}function I(t,n,r){var e,i=8*r-n-1,o=(1<<i)-1,u=o>>1,a=i-7,c=r-1,f=t[c--],s=127&f;for(f>>=7;a>0;s=256*s+t[c],c--,a-=8);for(e=s&(1<<-a)-1,s>>=-a,a+=n;a>0;e=256*e+t[c],c--,a-=8);if(0===s)s=1-u;else{if(s===o)return e?NaN:f?-O:O;e+=j(2,n),s-=u}return(f?-1:1)*e*j(2,s-n)}function R(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function C(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function U(t){return k(t,52,8)}function B(t){return k(t,23,4)}function D(t,n,r){d(t[m],n,{get:function(){return this[r]}})}function z(t,n,r,e){var i=v(+r);if(i+n>t[T])throw x(b);var o=t[L]._b,u=i+t[V],a=o.slice(u,u+n);return e?a:a.reverse()}function G(t,n,r,e,i,o){var u=v(+r);if(u+n>t[T])throw x(b);for(var a=t[L]._b,c=u+t[V],f=e(+i),s=0;s<n;s++)a[c+s]=f[o?s:n-s-1]}if(u.ABV){if(!f(function(){w(1)})||!f(function(){new w(-1)})||f(function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name})){for(var q,Z=(w=function(t){return s(this,w),new E(v(t))})[m]=E[m],$=p(E),K=0;$.length>K;)(q=$[K++])in w||a(w,q,E[q]);o||(Z.constructor=w)}var Y=new S(new w(2)),H=S[m].setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||c(S[m],{setInt8:function(t,n){H.call(this,t,n<<24>>24)},setUint8:function(t,n){H.call(this,t,n<<24>>24)}},!0)}else w=function(t){s(this,w,"ArrayBuffer");var n=v(t);this._b=y.call(new Array(n),0),this[T]=n},S=function(t,n,r){s(this,S,"DataView"),s(t,w,"DataView");var e=t[T],i=l(n);if(i<0||i>e)throw x("Wrong offset!");if(i+(r=void 0===r?e-i:h(r))>e)throw x("Wrong length!");this[L]=t,this[V]=i,this[T]=r},i&&(D(w,"byteLength","_l"),D(S,"buffer","_b"),D(S,"byteLength","_l"),D(S,"byteOffset","_o")),c(S[m],{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){var n=z(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=z(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return R(z(this,4,t,arguments[1]))},getUint32:function(t){return R(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return I(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return I(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){G(this,1,t,N,n)},setUint8:function(t,n){G(this,1,t,N,n)},setInt16:function(t,n){G(this,2,t,C,n,arguments[2])},setUint16:function(t,n){G(this,2,t,C,n,arguments[2])},setInt32:function(t,n){G(this,4,t,W,n,arguments[2])},setUint32:function(t,n){G(this,4,t,W,n,arguments[2])},setFloat32:function(t,n){G(this,4,t,B,n,arguments[2])},setFloat64:function(t,n){G(this,8,t,U,n,arguments[2])}});g(w,"ArrayBuffer"),g(S,"DataView"),a(S[m],u.VIEW,!0),n.ArrayBuffer=w,n.DataView=S},function(t,n,r){var e=r(1),i=r(2).document,o=e(i)&&e(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,r){var e=r(7),i=r(74),o=r(20);t.exports=function(t,n,r,u){var a=String(o(t)),c=a.length,f=void 0===r?" ":String(r),s=e(n);if(s<=c||""==f)return a;var l=s-c,h=i.call(f,Math.ceil(l/f.length));return h.length>l&&(h=h.slice(0,l)),u?h+a:a+h}},function(t,n,r){var e=r(19),i=r(12),o=r(36).f;t.exports=function(t){return function(n){for(var r,u=i(n),a=e(u),c=a.length,f=0,s=[];c>f;)o.call(u,r=a[f++])&&s.push(t?[r,u[r]]:u[r]);return s}}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,r){var e=r(1),i=Math.floor;t.exports=function(t){return!e(t)&&isFinite(t)&&i(t)===t}},function(t,n,r){var e=r(1),i=r(33),o=r(4)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,r){"use strict";var e=r(21),i=r(20);t.exports=function(t){var n=String(i(this)),r="",o=e(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(r+=n);return r}},function(t,n,r){var e=r(12),i=r(39).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(e(t))}},function(t,n,r){n.f=r(4)},function(t,n,r){"use strict";var e=r(23);t.exports.f=function(t){return new function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=e(n),this.reject=e(r)}(t)}},function(t,n,r){var e=r(39),i=r(43),o=r(3),u=r(2).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(o(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n){t.exports=function(t,n,r){var e=void 0===r;switch(n.length){case 0:return e?t():t.call(r);case 1:return e?t(n[0]):t.call(r,n[0]);case 2:return e?t(n[0],n[1]):t.call(r,n[0],n[1]);case 3:return e?t(n[0],n[1],n[2]):t.call(r,n[0],n[1],n[2]);case 4:return e?t(n[0],n[1],n[2],n[3]):t.call(r,n[0],n[1],n[2],n[3])}return t.apply(r,n)}},function(t,n,r){"use strict";var e=r(35),i=r(17).getWeak,o=r(3),u=r(1),a=r(34),c=r(45),f=r(37),s=r(9),l=r(27),h=f(5),v=f(6),p=0,d=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,n){return h(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var r=g(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=v(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,o){var f=t(function(t,e){a(t,f,n,"_i"),t._t=n,t._i=p++,t._l=void 0,void 0!=e&&c(e,r,t[o],t)});return e(f.prototype,{delete:function(t){if(!u(t))return!1;var r=i(t);return!0===r?d(l(this,n)).delete(t):r&&s(r,this._i)&&delete r[this._i]},has:function(t){if(!u(t))return!1;var r=i(t);return!0===r?d(l(this,n)).has(t):r&&s(r,this._i)}}),f},def:function(t,n,r){var e=i(o(n),!0);return!0===e?d(t).set(n,r):e[t._i]=r,t},ufstore:d}},function(t,n,r){"use strict";var e=r(19),i=r(43),o=r(36),u=r(15),a=r(66),c=Object.assign;t.exports=!c||r(5)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=c({},t)[r]||Object.keys(c({},n)).join("")!=e})?function(t,n){for(var r=u(t),c=arguments.length,f=1,s=i.f,l=o.f;c>f;)for(var h,v=a(arguments[f++]),p=s?e(v).concat(s(v)):e(v),d=p.length,y=0;d>y;)l.call(v,h=p[y++])&&(r[h]=v[h]);return r}:c},function(t,n,r){var e=r(3);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){var o=t.return;throw void 0!==o&&e(o.call(t)),n}}},function(t,n,r){"use strict";var e=r(6).f,i=r(38),o=r(35),u=r(16),a=r(34),c=r(45),f=r(85),s=r(86),l=r(47),h=r(8),v=r(17).fastKey,p=r(27),d=h?"_s":"size",y=function(t,n){var r,e=v(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,f){var s=t(function(t,e){a(t,s,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[d]=0,void 0!=e&&c(e,r,t[f],t)});return o(s.prototype,{clear:function(){for(var t=p(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var r=p(this,n),e=y(r,t);if(e){var i=e.n,o=e.p;delete r._i[e.i],e.r=!0,o&&(o.n=i),i&&(i.p=o),r._f==e&&(r._f=i),r._l==e&&(r._l=o),r[d]--}return!!e},forEach:function(t){p(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!y(p(this,n),t)}}),h&&e(s.prototype,"size",{get:function(){return p(this,n)[d]}}),s},def:function(t,n,r){var e,i,o=y(t,n);return o?o.v=r:(t._l=o={i:i=v(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=o),e&&(e.n=o),t[d]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,n,r){f(t,n,function(t,r){this._t=p(t,n),this._k=r,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))},r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){"use strict";var e=r(15),i=r(32),o=r(7);t.exports=[].copyWithin||function(t,n){var r=e(this),u=o(r.length),a=i(t,u),c=i(n,u),f=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===f?u:i(f,u))-c,u-a),l=1;for(c<a&&a<c+s&&(l=-1,c+=s-1,a+=s-1);s-- >0;)c in r?r[a]=r[c]:delete r[a],a+=l,c+=l;return r}},function(t,n,r){"use strict";var e=r(22),i=r(0),o=r(18),u=r(10),a=r(30),c=r(199),f=r(31),s=r(29),l=r(4)("iterator"),h=!([].keys&&"next"in[].keys()),v=function(){return this};t.exports=function(t,n,r,p,d,y,g){c(r,n,p);var m,b,w,S=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},_=n+" Iterator",x="values"==d,O=!1,E=t.prototype,P=E[l]||E["@@iterator"]||d&&E[d],j=P||S(d),A=d?x?S("entries"):j:void 0,M="Array"==n&&E.entries||P;if(M&&(w=s(M.call(new t)))!==Object.prototype&&w.next&&(f(w,_,!0),e||"function"==typeof w[l]||u(w,l,v)),x&&P&&"values"!==P.name&&(O=!0,j=function(){return P.call(this)}),e&&!g||!h&&!O&&E[l]||u(E,l,j),a[n]=j,a[_]=v,d)if(m={values:x?j:S("values"),keys:y?j:S("keys"),entries:A},g)for(b in m)b in E||o(E,b,m[b]);else i(i.P+i.F*(h||O),n,m);return m}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){var e=r(33);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(2).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(9),i=r(12),o=r(65)(!1),u=r(64)("IE_PROTO");t.exports=function(t,n){var r,a=i(t),c=0,f=[];for(r in a)r!=u&&e(a,r)&&f.push(r);for(;n.length>c;)e(a,r=n[c++])&&(~o(f,r)||f.push(r));return f}},function(t,n,r){var e=r(21),i=r(7);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=i(n);if(n!==r)throw RangeError("Wrong length!");return r}},function(t,n,r){t.exports=!r(8)&&!r(5)(function(){return 7!=Object.defineProperty(r(68)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=function(){return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,n){var r=[],e=!0,i=!1,o=void 0;try{for(var u,a=t[Symbol.iterator]();!(e=(u=a.next()).done)&&(r.push(u.value),!n||r.length!==n);e=!0);}catch(t){i=!0,o=t}finally{try{!e&&a.return&&a.return()}finally{if(i)throw o}}return r}(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();n.default=function(t){return Object.entries(t).reduce(function(t,n){var r=e(n,2),i=r[0],o=r[1];return t.concat({key:i,value:o})},[])}},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t,n,r){r.setState(function(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}({},t,Object.assign(r.state[t],n)),function(){"validation"===t&&r.setState({isFormValid:Object.values(r.state.validation).every(function(t){return!0===t})})})}},function(t,n,r){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var e=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,i=/^(.{1,})@(.{2,})/,o=/^[a-zA-Z]+(([',. -][a-zA-Z ])?[a-zA-Z]*)*$/,u=/^[+]?(\d{1,3})\s?(\d{10})$/,a=/^(([A-Za-z0-9]{2,4})\s?([A-Za-z0-9]{1,5})?)?$/,c=/^(\d{2}(\s|[-])\d{2}(\s|[-])\d{2}$)|\d{6}|^$/,f=/^((([A-Za-z]{6}[0-9A-Za-z]{2})|([A-Za-z]{4}(\s|-)?[A-Za-z]{2}(\s|-)?[0-9A-Za-z]{2}))[0-9A-Za-z]{3}?$)|^$/,s=/^([0-9A-Za-z]{4}\s?){4,6}([0-9A-Za-z]{1,4}|[0-9A-Za-z]{4}\s?[0-9A-Za-z]{1|4})?$/,l=/^\d{8,15}$/,h=/^[A-Z0-9a-z\-/\s]+$/i,v=/^-?\d*[.]?\d+$/,p=/^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([-.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?$/g,d={validator:function(t){return!!(Array.isArray(t)&&t.length>0||!1===t||t&&!Array.isArray(t))},error:"Please provide a value."},y={validator:function(t){return!!t.match(o)},error:"Please provide a full name"},g={validator:function(t){return void 0!==t&&!!t.match(e)},error:"Please provide a valid email address"},m={validator:function(t){return!!t.match(i)},error:"Please provide a valid email address, or several emails comma delimited"},b={validator:function(t){return!!t.match(u)},error:"Please provide a valid UK phone number"},w={validator:function(t){return!!t.match(a)},error:"Please provide a valid UK postcode"},S={validator:function(t){return!!t.match(c)},error:"Please provide a UK Sort Code"},_={validator:function(t){return!!t.match(f)},error:"Please provide a valid Swift Code"},x={validator:function(t){return!!t.match(s)},error:"Please provide a valid Swift Code"},O={validator:function(t){return!!t.match(l)},error:"Please provide a valid UK VAT Number"},E={validator:function(t){return!!t.match(h)},error:"Please provide an alphanumeric input"},P={validator:function(t){return"number"==typeof t||!!t.match(v)},error:"Please provide an numeric input"},j={validator:function(t){return!!t.match(p)},error:"Please provide a valid URL"},A={validator:function(t,n){return t.length===n},error:"Please provide an input of exactly "+length+" characters"},M={validator:function(t,n){return t.length<=n},error:"The maximum length of this input is "+length+" characters"},F={validator:function(t,n){return t.length>=n},error:"The minimum length of this input is "+length+" characters"};n.isRequired=d,n.isEmail=g,n.isEmailArray=m,n.isFullName=y,n.isPhoneNumber=b,n.isPostCode=w,n.isSortCode=S,n.isSwiftCode=_,n.isIban=x,n.isVatNumber=O,n.isAlphaNumeric=E,n.isNumeric=P,n.isUrl=j,n.isLength=A,n.maxLength=M,n.minLength=F},function(t,n){!function(n){"use strict";var r,e=Object.prototype,i=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",f="object"==typeof t,s=n.regeneratorRuntime;if(s)f&&(t.exports=s);else{(s=n.regeneratorRuntime=f?t.exports:{}).wrap=w;var l="suspendedStart",h="suspendedYield",v="executing",p="completed",d={},y={};y[u]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(L([])));m&&m!==e&&i.call(m,u)&&(y=m);var b=O.prototype=_.prototype=Object.create(y);x.prototype=b.constructor=O,O.constructor=x,O[c]=x.displayName="GeneratorFunction",s.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===x||"GeneratorFunction"===(n.displayName||n.name))},s.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,O):(t.__proto__=O,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},s.awrap=function(t){return{__await:t}},E(P.prototype),P.prototype[a]=function(){return this},s.AsyncIterator=P,s.async=function(t,n,r,e){var i=new P(w(t,n,r,e));return s.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},E(b),b[c]="Generator",b[u]=function(){return this},b.toString=function(){return"[object Generator]"},s.keys=function(t){var n=[];for(var r in t)n.push(r);return n.reverse(),function r(){for(;n.length;){var e=n.pop();if(e in t)return r.value=e,r.done=!1,r}return r.done=!0,r}},s.values=L,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function e(e,i){return a.type="throw",a.arg=t,n.next=e,i&&(n.method="next",n.arg=r),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],a=u.completion;if("root"===u.tryLoc)return e("end");if(u.tryLoc<=this.prev){var c=i.call(u,"catchLoc"),f=i.call(u,"finallyLoc");if(c&&f){if(this.prev<u.catchLoc)return e(u.catchLoc,!0);if(this.prev<u.finallyLoc)return e(u.finallyLoc)}else if(c){if(this.prev<u.catchLoc)return e(u.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return e(u.finallyLoc)}}}},abrupt:function(t,n){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&i.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var o=e;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=t,u.arg=n,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(u)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),d},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),M(r),d}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var i=e.arg;M(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,e){return this.delegate={iterator:L(t),resultName:n,nextLoc:e},"next"===this.method&&(this.arg=r),d}}}function w(t,n,r,e){var i=n&&n.prototype instanceof _?n:_,o=Object.create(i.prototype),u=new F(e||[]);return o._invoke=function(t,n,r){var e=l;return function(i,o){if(e===v)throw new Error("Generator is already running");if(e===p){if("throw"===i)throw o;return T()}for(r.method=i,r.arg=o;;){var u=r.delegate;if(u){var a=j(u,r);if(a){if(a===d)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(e===l)throw e=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e=v;var c=S(t,n,r);if("normal"===c.type){if(e=r.done?p:h,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(e=p,r.method="throw",r.arg=c.arg)}}}(t,r,u),o}function S(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}function _(){}function x(){}function O(){}function E(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function P(t){var n;this._invoke=function(r,e){function o(){return new Promise(function(n,o){!function n(r,e,o,u){var a=S(t[r],t,e);if("throw"!==a.type){var c=a.arg,f=c.value;return f&&"object"==typeof f&&i.call(f,"__await")?Promise.resolve(f.__await).then(function(t){n("next",t,o,u)},function(t){n("throw",t,o,u)}):Promise.resolve(f).then(function(t){c.value=t,o(c)},u)}u(a.arg)}(r,e,n,o)})}return n=n?n.then(o,o):o()}}function j(t,n){var e=t.iterator[n.method];if(e===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=r,j(t,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=S(e,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=r),n.delegate=null,d):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function A(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function M(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(t){if(t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,o=function n(){for(;++e<t.length;)if(i.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=r,n.done=!0,n};return o.next=o}}return{next:T}}function T(){return{value:r,done:!0}}}(function(){return this}()||Function("return this")())},function(t,n,r){for(var e=r(56),i=r(19),o=r(18),u=r(2),a=r(10),c=r(30),f=r(4),s=f("iterator"),l=f("toStringTag"),h=c.Array,v={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(v),d=0;d<p.length;d++){var y,g=p[d],m=v[g],b=u[g],w=b&&b.prototype;if(w&&(w[s]||a(w,s,h),w[l]||a(w,l,g),c[g]=h,m))for(y in e)w[y]||o(w,y,e[y],!0)}},function(t,n,r){var e=r(0),i=r(54);e(e.G+e.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,r){var e=r(2),i=r(0),o=r(42),u=[].slice,a=/MSIE .\./.test(o),c=function(t){return function(n,r){var e=arguments.length>2,i=!!e&&u.call(arguments,2);return t(e?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,r)}};i(i.G+i.B+i.F*a,{setTimeout:c(e.setTimeout),setInterval:c(e.setInterval)})},function(t,n,r){"use strict";var e=r(0),i=r(69),o=r(42);e(e.P+e.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,r){"use strict";var e=r(0),i=r(69),o=r(42);e(e.P+e.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(o),"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,r){var e=r(0),i=r(78),o=r(12),u=r(13),a=r(51);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r,e=o(t),c=u.f,f=i(e),s={},l=0;f.length>l;)void 0!==(r=c(e,n=f[l++]))&&a(s,n,r);return s}})},function(t,n,r){var e=r(0),i=r(70)(!0);e(e.S,"Object",{entries:function(t){return i(t)}})},function(t,n,r){var e=r(0),i=r(70)(!1);e(e.S,"Object",{values:function(t){return i(t)}})},function(t,n,r){"use strict";var e=r(0),i=r(65)(!0);e(e.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(28)("includes")},function(t,n,r){var e=r(0);e(e.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,r){var e=r(0),i=r(49),o=Math.exp;e(e.S,"Math",{tanh:function(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},function(t,n,r){var e=r(0),i=r(49),o=Math.exp;e(e.S+e.F*r(5)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{sign:r(50)})},function(t,n,r){var e=r(0);e(e.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log1p:r(71)})},function(t,n,r){var e=r(0),i=Math.imul;e(e.S+e.F*r(5)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,n){var r=+t,e=+n,i=65535&r,o=65535&e;return 0|i*o+((65535&r>>>16)*o+i*(65535&e>>>16)<<16>>>0)}})},function(t,n,r){var e=r(0),i=Math.abs;e(e.S,"Math",{hypot:function(t,n){for(var r,e,o=0,u=0,a=arguments.length,c=0;u<a;)c<(r=i(arguments[u++]))?(o=o*(e=c/r)*e+1,c=r):o+=r>0?(e=r/c)*e:r;return c===1/0?1/0:c*Math.sqrt(o)}})},function(t,n,r){var e=r(50),i=Math.pow,o=i(2,-52),u=i(2,-23),a=i(2,127)*(2-u),c=i(2,-126);t.exports=Math.fround||function(t){var n,r,i=Math.abs(t),f=e(t);return i<c?f*function(t){return t+1/o-1/o}(i/c/u)*c*u:(r=(n=(1+u/o)*i)-(n-i))>a||r!=r?f*(1/0):f*r}},function(t,n,r){var e=r(0);e(e.S,"Math",{fround:r(114)})},function(t,n,r){var e=r(0),i=r(49);e(e.S+e.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,r){var e=r(0),i=Math.exp;e(e.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,r){var e=r(0);e(e.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,r){var e=r(0),i=r(50);e(e.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,r){var e=r(0),i=Math.atanh;e(e.S+e.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,r){var e=r(0),i=Math.asinh;e(e.S+e.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,r){var e=r(0),i=r(71),o=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,r){var e=r(0);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,r){var e=r(0);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,r){var e=r(0);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,r){var e=r(0);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){var e=r(0),i=r(72),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,r){var e=r(0);e(e.S,"Number",{isInteger:r(72)})},function(t,n,r){var e=r(0),i=r(2).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,r){var e=r(0);e(e.P,"Array",{fill:r(61)}),r(28)("fill")},function(t,n,r){"use strict";var e=r(0),i=r(37)(6),o="findIndex",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(28)(o)},function(t,n,r){"use strict";var e=r(0),i=r(37)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),e(e.P+e.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(28)("find")},function(t,n,r){var e=r(0);e(e.P,"Array",{copyWithin:r(84)}),r(28)("copyWithin")},function(t,n,r){"use strict";var e=r(0),i=r(51);e(e.S+e.F*r(5)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)i(r,t,arguments[t++]);return r.length=n,r}})},function(t,n,r){"use strict";var e=r(16),i=r(0),o=r(15),u=r(82),a=r(58),c=r(7),f=r(51),s=r(57);i(i.S+i.F*!r(46)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,i,l,h=o(t),v="function"==typeof this?this:Array,p=arguments.length,d=p>1?arguments[1]:void 0,y=void 0!==d,g=0,m=s(h);if(y&&(d=e(d,p>2?arguments[2]:void 0,2)),void 0==m||v==Array&&a(m))for(r=new v(n=c(h.length));n>g;g++)f(r,g,y?d(h[g],g):h[g]);else for(l=m.call(h),r=new v;!(i=l.next()).done;g++)f(r,g,y?u(l,d,[i.value,g],!0):i.value);return r.length=g,r}})},function(t,n,r){r(41)("search",1,function(t,n,r){return[function(r){"use strict";var e=t(this),i=void 0==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},r]})},function(t,n,r){r(41)("split",2,function(t,n,e){"use strict";var i=r(73),o=e,u=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var a=void 0===/()??/.exec("")[1];e=function(t,n){var r=String(this);if(void 0===t&&0===n)return[];if(!i(t))return o.call(r,t,n);var e,c,f,s,l,h=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,d=void 0===n?4294967295:n>>>0,y=new RegExp(t.source,v+"g");for(a||(e=new RegExp("^"+y.source+"$(?!\\s)",v));(c=y.exec(r))&&!((f=c.index+c[0].length)>p&&(h.push(r.slice(p,c.index)),!a&&c.length>1&&c[0].replace(e,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(c[l]=void 0)}),c.length>1&&c.index<r.length&&u.apply(h,c.slice(1)),s=c[0].length,p=f,h.length>=d));)y.lastIndex===c.index&&y.lastIndex++;return p===r.length?!s&&y.test("")||h.push(""):h.push(r.slice(p)),h.length>d?h.slice(0,d):h}}else"0".split(void 0,0).length&&(e=function(t,n){return void 0===t&&0===n?[]:o.call(this,t,n)});return[function(r,i){var o=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,o,i):e.call(String(o),r,i)},e]})},function(t,n,r){r(41)("replace",2,function(t,n,r){r