diff --git a/src/app/aurelia_project/aurelia.json b/src/app/aurelia_project/aurelia.json index 901ba1b..47c87f9 100644 --- a/src/app/aurelia_project/aurelia.json +++ b/src/app/aurelia_project/aurelia.json @@ -155,8 +155,9 @@ }, { "name": "auth0-lock", - "path": "../node_modules/auth0-lock", - "main": "lib/index" + "path": "lib", + "main": "lock.min", + "exports": "Auth0Lock" } ] } diff --git a/src/app/src/lib/lock.min.js b/src/app/src/lib/lock.min.js new file mode 100644 index 0000000..a0ddd0c --- /dev/null +++ b/src/app/src/lib/lock.min.js @@ -0,0 +1,10 @@ +/*! + * lock v10.16.0 + * + * Author: Auth0 (http://auth0.com) + * Date: 5/8/2017, 8:23:20 PM + * License: MIT + * + */ +!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=366)}([function(t,e,n){"use strict";t.exports=n(26)},function(t,e,n){"use strict";function r(t,e,n,r,i,o){var a=jt(t,at.a.fromJS({clientBaseUrl:z(r,n),tenantBaseUrl:v(r,n),languageBaseUrl:b(r,n),auth:m(r),clientID:e,domain:n,emitEventFn:o,hookRunner:i,useTenantInfo:r.__useTenantInfo||!1,oidcConformant:r.oidcConformant||!1,hashCleanup:r.hashCleanup!==!1,allowedConnections:at.a.fromJS(r.allowedConnections||[]),ui:L(t,r),defaultADUsernameFromEmailPrefix:r.defaultADUsernameFromEmailPrefix!==!1,prefill:r.prefill||{}}));return a=lt.initI18n(a)}function i(t){return t.get("id")}function o(t){return Dt(t,"clientID")}function a(t){return Dt(t,"domain")}function s(t){return Dt(t,"clientBaseUrl")}function u(t){return Dt(t,"tenantBaseUrl")}function c(t){return Dt(t,"useTenantInfo")}function l(t){return Dt(t,"oidcConformant")}function M(t){return Dt(t,"languageBaseUrl")}function p(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t=wt(t,"submitting",e),t=D(t),t=n&&!e?d(t,n):f(t)}function g(t){return mt(t,"submitting",!1)}function d(t,e){return wt(t,"globalError",e)}function h(t){return mt(t,"globalError","")}function f(t){return zt(t,"globalError")}function y(t,e){return wt(t,"globalSuccess",e)}function N(t){return mt(t,"globalSuccess","")}function D(t){return zt(t,"globalSuccess")}function j(t){return mt(t,"render",!1)}function I(t){return zt(t,"render")}function L(t,e){var r=!e.container&&(void 0===e.closable||!!e.closable),i=e.theme||{},o=i.labeledSubmitButton,a=i.hideMainScreenTitle,s=i.logo,u=i.primaryColor,c=i.authButtons,l=null!==e.avatar,M=e.avatar&&"function"==typeof e.avatar.url&&"function"==typeof e.avatar.displayName&&e.avatar,p=M||gt;return new at.a.fromJS({containerID:e.container||"auth0-lock-container-"+t,appendContainer:!e.container,autoclose:void 0!==e.autoclose&&(r&&e.autoclose),autofocus:void 0===e.autofocus?!(e.container||n.i(st.a)()):!!e.autofocus,avatar:l,avatarProvider:p,logo:"string"==typeof s?s:void 0,closable:r,hideMainScreenTitle:!!a,labeledSubmitButton:void 0===o||!!o,language:void 0===e.language?"en":pt()(e.language||"").toLowerCase(),dict:"object"===yt(e.languageDictionary)?e.languageDictionary:{},disableWarnings:void 0!==e.disableWarnings&&!!e.disableWarnings,mobile:void 0!==e.mobile&&!!e.mobile,popupOptions:void 0===e.popupOptions?{}:e.popupOptions,primaryColor:"string"==typeof u?u:void 0,rememberLastLogin:void 0===e.rememberLastLogin||!!e.rememberLastLogin,authButtonsTheme:"object"===(void 0===c?"undefined":yt(c))?c:{}})}function m(t){var e=t.auth||{},n=e.audience,r=e.connectionScopes,i=e.params,o=e.autoParseHash,a=e.redirect,s=e.redirectUrl,u=e.responseMode,c=e.responseType,l=e.sso,M=e.state,p=e.nonce,g=t.oidcConformant;if(n="string"==typeof n?n:void 0,r="object"===(void 0===r?"undefined":yt(r))?r:{},i="object"===(void 0===i?"undefined":yt(i))?i:{},s="string"==typeof s&&s?s:null,o="boolean"!=typeof o||o,a="boolean"!=typeof a||a,u="string"==typeof u?u:void 0,M="string"==typeof M?M:void 0,p="string"==typeof p?p:void 0,c="string"==typeof c?c:s?"code":"token",s=s||window.location.href,l="boolean"!=typeof l||l,g||"openid profile"!==pt()(i.scope||"")||O(t,"Usage of scope 'openid profile' is not recommended. See https://auth0.com/docs/scopes for more details."),g&&!a&&c.indexOf("id_token")>-1)throw new Error("It is not possible to request an 'id_token' while using popup mode.");if(!g&&n)throw new Error("It is not possible to use the `auth.audience` option when the `oidcConformant` flag is set to false");return g||i.scope||(i.scope="openid"),at.a.fromJS({audience:n,connectionScopes:r,params:i,autoParseHash:o,redirect:a,redirectUrl:s,responseMode:u,responseType:c,sso:l,state:M,nonce:p})}function w(t,e){return at.a.fromJS(e).merge(Dt(t,"auth")).toJS()}function z(t,e){if(t.clientBaseUrl&&"string"==typeof t.clientBaseUrl)return t.clientBaseUrl;if(t.configurationBaseUrl&&"string"==typeof t.configurationBaseUrl)return t.configurationBaseUrl;if(t.assetsUrl&&"string"==typeof t.assetsUrl)return t.assetsUrl;var r="https://"+e,i=n.i(ct.a)(r).hostname,o=".auth0.com";if(n.i(ut.a)(i,o)){var a=i.split(".");return a.length>3?"https://cdn."+a[a.length-3]+o:"https://cdn.auth0.com"}return r}function v(t,e){if(t.configurationBaseUrl&&"string"==typeof t.configurationBaseUrl)return it()(t.configurationBaseUrl,"info-v1.js");if(t.assetsUrl&&"string"==typeof t.assetsUrl)return t.assetsUrl;var e,r="https://"+e,i=n.i(ct.a)(r).hostname,o=".auth0.com",a="https://cdn.auth0.com",s=i.split("."),u=s[0];return n.i(ut.a)(i,o)?(e=s.length>3?"https://cdn."+s[s.length-3]+o:a,it()(e,"tenants","v1",u+".js")):it()(r,"info-v1.js")}function b(t,e){return t.languageBaseUrl&&"string"==typeof t.languageBaseUrl?t.languageBaseUrl:t.assetsUrl&&"string"==typeof t.assetsUrl?t.assetsUrl:"https://cdn.auth0.com"}function C(t){return wt(t,"render",!0)}function T(t,e){return wt(t,"loggedIn",e)}function E(t){return mt(t,"loggedIn",!1)}function k(t){return Dt(t,"defaultADUsernameFromEmailPrefix",!0)}function x(t){return Dt(t,"prefill",{})}function O(t,e){(ot.Map.isMap(t)?!Ot.disableWarnings(t):!t.disableWarnings)&&console&&console.warn&&console.warn(e)}function S(t,e){(ot.Map.isMap(t)?!Ot.disableWarnings(t):!t.disableWarnings)&&console&&console.error&&console.error(e)}function A(t){return mt(t,"allowedConnections")||Dt(t,"allowedConnections")}function U(t){for(var e=arguments.length,r=Array(e>2?e-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:void 0;if(1===arguments.length)return mt(t,"connections",n.i(ot.Map)()).filter(function(t,e){return"unknown"!==e}).valueSeq().flatten(!0);var a=mt(t,["connections",o],n.i(ot.List)());return r.length>0?a.filter(function(t){return~r.indexOf(t.get("strategy"))}):a}function _(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:void 0,n=U(t);return 1===n.count()&&(!e||n.getIn([0,"type"])===e)}function Q(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=U(t).count(),r=arguments.length,i=Array(r>2?r-2:0),o=2;o0&&n===a}function B(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),i=2;i0}function P(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),i=2;i=0}).sort(function(t,e){return r(t)-r(e)})}))}function H(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),i=2;i3&&void 0!==arguments[3]?arguments[3]:function(t){return z()(t).length>0},a=t.getIn(["field",e,"value"]),s=t.getIn(["field",e,"showInvalid"],!1),u=arguments.length,c=Array(u>4?u-4:0),l=4;l2?r-2:0),o=2;o2&&void 0!==arguments[2]?arguments[2]:new m.Map({});return t.getIn(["field",e],n)}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return g(t,e).get("value",n)}function h(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return g(t,e).get("label",n)}function f(t){return d(t,"email")}function y(t){return d(t,"password")}function N(t){return d(t,"username")}function D(t){return!!t.getIn(["field","selecting"])}function j(t){var e=t.getIn(["field","selecting","name"]);return D(t)?L.a.createElement(v.a,{model:t,name:e,icon:t.getIn(["field","selecting","icon"]),iconUrl:t.getIn(["field","selecting","iconUrl"]),items:t.getIn(["field",e,"options"])}):null}var I=n(0),L=n.n(I),m=n(9),w=(n.n(m),n(35)),z=n.n(w),v=n(217),b=n(1);e.g=r,e.f=o,e.h=a,e.c=s,e.o=u,e.k=c,e.d=l,e.a=M,e.b=p,e.m=g,e.e=d,e.n=h,e.i=f,e.j=y,e.p=N,e.l=j;var C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return o(t)?t:T(t)}function n(t){return a(t)?t:E(t)}function r(t){return s(t)?t:k(t)}function i(t){return o(t)&&!u(t)?t:x(t)}function o(t){return!(!t||!t[cn])}function a(t){return!(!t||!t[ln])}function s(t){return!(!t||!t[Mn])}function u(t){return a(t)||s(t)}function c(t){return!(!t||!t[pn])}function l(t){return t.value=!1,t}function M(t){t&&(t.value=!0)}function p(){}function g(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?d(t)+e:e}function f(){return!0}function y(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function N(t,e){return j(t,e,0)}function D(t,e){return j(t,e,e)}function j(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function I(t){this.next=t}function L(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function m(){return{value:void 0,done:!0}}function w(t){return!!b(t)}function z(t){return t&&"function"==typeof t.next}function v(t){var e=b(t);return e&&e.call(t)}function b(t){var e=t&&(mn&&t[mn]||t[wn]);if("function"==typeof e)return e}function C(t){return t&&"number"==typeof t.length}function T(t){return null===t||void 0===t?Y():o(t)?t.toSeq():P(t)}function E(t){return null===t||void 0===t?Y().toKeyedSeq():o(t)?a(t)?t.toSeq():t.fromEntrySeq():Q(t)}function k(t){return null===t||void 0===t?Y():o(t)?a(t)?t.entrySeq():t.toIndexedSeq():B(t)}function x(t){return(null===t||void 0===t?Y():o(t)?a(t)?t.entrySeq():t:B(t)).toSetSeq()}function O(t){this._array=t,this.size=t.length}function S(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function A(t){this._iterable=t,this.size=t.length||t.size}function U(t){this._iterator=t,this._iteratorCache=[]}function _(t){return!(!t||!t[vn])}function Y(){return bn||(bn=new O([]))}function Q(t){var e=Array.isArray(t)?new O(t).fromEntrySeq():z(t)?new U(t).fromEntrySeq():w(t)?new A(t).fromEntrySeq():"object"==typeof t?new S(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function B(t){var e=G(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function P(t){var e=G(t)||"object"==typeof t&&new S(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function G(t){return C(t)?new O(t):z(t)?new U(t):w(t)?new A(t):void 0}function R(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(e(s[1],r?s[0]:a,t)===!1)return a+1}return a}return t.__iterateUncached(e,n)}function Z(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new I(function(){var t=i[n?o-a:a];return a++>o?m():L(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function H(t,e){return e?W(e,t,"",{"":t}):V(t)}function W(t,e,n,r){return Array.isArray(e)?t.call(r,n,k(e).map(function(n,r){return W(t,n,r,e)})):F(e)?t.call(r,n,E(e).map(function(n,r){return W(t,n,r,e)})):e}function V(t){return Array.isArray(t)?k(t).map(V).toList():F(t)?E(t).map(V).toMap():t}function F(t){return t&&(t.constructor===Object||void 0===t.constructor)}function J(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function q(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||c(t)!==c(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!u(t);if(c(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&J(i[1],t)&&(n||J(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var l=t;t=e,e=l}var M=!0,p=e.__iterate(function(e,r){if(n?!t.has(e):i?!J(e,t.get(r,yn)):!J(t.get(r,yn),e))return M=!1,!1});return M&&t.size===p}function X(t,e){if(!(this instanceof X))return new X(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Cn)return Cn;Cn=this}}function K(t,e){if(!t)throw new Error(e)}function $(t,e,n){if(!(this instanceof $))return new $(t,e,n);if(K(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e>>1&1073741824|3221225471&t}function ot(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&((t=t.valueOf())===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>_n?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return ut(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Bn[t];return void 0===e&&(e=st(t),Qn===Yn&&(Qn=0,Bn={}),Qn++,Bn[t]=e),e}function st(t){for(var e=0,n=0;n0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function lt(t){K(t!==1/0,"Cannot perform this action with an infinite size.")}function Mt(t){return null===t||void 0===t?Lt():pt(t)&&!c(t)?t:Lt().withMutations(function(e){var r=n(t);lt(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function pt(t){return!(!t||!t[Pn])}function gt(t,e){this.ownerID=t,this.entries=e}function dt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function ht(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function ft(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Nt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&jt(t._root)}function Dt(t,e){return L(t,e[0],e[1])}function jt(t,e){return{node:t,index:0,__prev:e}}function It(t,e,n,r){var i=Object.create(Gn);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Lt(){return Rn||(Rn=It(0))}function mt(t,e,n){var r,i;if(t._root){var o=l(Nn),a=l(Dn);if(r=wt(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===yn?-1:1:0)}else{if(n===yn)return t;i=1,r=new gt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?It(i,r):Lt()}function wt(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===yn?t:(M(s),M(a),new yt(e,r,[i,o]))}function zt(t){return t.constructor===yt||t.constructor===ft}function vt(t,e,n,r,i){if(t.keyHash===r)return new ft(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&fn,s=(0===n?r:r>>>n)&fn;return new dt(e,1<>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new ht(t,o+1,a)}function Et(t,e,r){for(var i=[],a=0;a>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function Ut(t,e,n,r){var i=r?t:g(t);return i[e]=n,i}function _t(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,s=0;s0&&io?0:o-n,c=a-n;return c>hn&&(c=hn),function(){if(i===c)return qn;var t=e?--c:i++;return r&&r[t]}}function i(t,r,i){var s,u=t&&t.array,c=i>o?0:o-i>>r,l=1+(a-i>>r);return l>hn&&(l=hn),function(){for(;;){if(s){var t=s();if(t!==qn)return t;s=null}if(c===l)return qn;var o=e?--l:c++;s=n(u&&u[o],r-dn,i+(o<=t.size||e<0)return t.withMutations(function(t){e<0?Jt(t,e).set(0,n):Jt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=l(Dn);return e>=Xt(t._capacity)?r=Wt(r,t.__ownerID,0,e,n,o):i=Wt(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Rt(t._origin,t._capacity,t._level,i,r):t}function Wt(t,e,n,r,i,o){var a=r>>>n&fn,s=t&&a0){var c=t&&t.array[a],l=Wt(c,e,n-dn,r,i,o);return l===c?t:(u=Vt(t,e),u.array[a]=l,u)}return s&&t.array[a]===i?t:(M(o),u=Vt(t,e),void 0===i&&a===u.array.length-1?u.array.pop():u.array[a]=i,u)}function Vt(t,e){return e&&t&&e===t.ownerID?t:new Pt(t?t.array.slice():[],e)}function Ft(t,e){if(e>=Xt(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&fn],r-=dn;return n}}function Jt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new p,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var u=t._level,c=t._root,l=0;a+l<0;)c=new Pt(c&&c.array.length?[void 0,c]:[],r),u+=dn,l+=1<=1<M?new Pt([],r):d;if(d&&g>M&&adn;y-=dn){var N=M>>>y&fn;f=f.array[N]=Vt(f.array[N],r)}f.array[M>>>dn&fn]=d}if(s=g)a-=g,s-=g,u=dn,c=null,h=h&&h.removeBefore(r,0,a);else if(a>i||g>>u&fn;if(D!==g>>>u&fn)break;D&&(l+=(1<i&&(c=c.removeBefore(r,u,a-l)),c&&ga&&(a=c.size),o(u)||(c=c.map(function(t){return H(t)})),i.push(c)}return a>t.size&&(t=t.setSize(a)),Ot(t,e,i)}function Xt(t){return t>>dn<=hn&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&s!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(u){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):te(r,i)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Ce(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Te,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return e(n,t,r)!==!1},n)},e.__iteratorUncached=function(e,n){if(e===Ln){var r=t.__iterator(e,n);return new I(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===In?jn:In,n)},e}function ue(t,e,n){var r=Ce(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,yn);return o===yn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return r(e.call(n,t,i,a),i,o)!==!1},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(Ln,i);return new I(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return L(r,s,e.call(n,a[1],s,t),i)})},r}function ce(t,e){var n=Ce(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Te,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function le(t,e,n,r){var i=Ce(t);return r&&(i.has=function(r){var i=t.get(r,yn);return i!==yn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,yn);return o!==yn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,u){if(e.call(n,t,o,u))return s++,i(t,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(Ln,o),s=0;return new I(function(){for(;;){var o=a.next();if(o.done)return o;var u=o.value,c=u[0],l=u[1];if(e.call(n,l,c,t))return L(i,r?c:s++,l,o)}})},i}function Me(t,e,n){var r=Mt().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function pe(t,e,n){var r=a(t),i=(c(t)?Kt():Mt()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=be(t);return i.map(function(e){return we(t,o(e))})}function ge(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),y(e,n,i))return t;var o=N(e,i),a=D(n,i);if(o!==o||a!==a)return ge(t.toSeq().cacheResult(),e,n,r);var s,u=a-o;u===u&&(s=u<0?0:u);var c=Ce(t);return c.size=0===s?s:t.size&&s||void 0,!r&&_(t)&&s>=0&&(c.get=function(e,n){return e=h(this,e),e>=0&&es)return m();var t=i.next();return r||e===In?t:e===jn?L(e,u-1,void 0,t):L(e,u-1,t.value[1],t)})},c}function de(t,e,n){var r=Ce(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(Ln,i),s=!0;return new I(function(){if(!s)return m();var t=a.next();if(t.done)return t;var i=t.value,u=i[0],c=i[1];return e.call(n,c,u,o)?r===Ln?t:L(r,u,c,t):(s=!1,m())})},r}function he(t,e,n,r){var i=Ce(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,u=0;return t.__iterate(function(t,o,c){if(!s||!(s=e.call(n,t,o,c)))return u++,i(t,r?o:u-1,a)}),u},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(Ln,o),u=!0,c=0;return new I(function(){var t,o,l;do{if(t=s.next(),t.done)return r||i===In?t:i===jn?L(i,c++,void 0,t):L(i,c++,t.value[1],t);var M=t.value;o=M[0],l=M[1],u&&(u=e.call(n,l,o,a))}while(u);return i===Ln?t:L(i,o,l,t)})},i}function fe(t,e){var r=a(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?Q(t):B(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var u=i[0];if(u===t||r&&a(u)||s(t)&&s(u))return u}var c=new O(i);return r?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}function ye(t,e,n){var r=Ce(t);return r.__iterateUncached=function(r,i){function a(t,c){var l=this;t.__iterate(function(t,i){return(!e||c0}function me(t,n,r){var i=Ce(t);return i.size=new O(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(In,e),i=0;!(n=r.next()).done&&t(n.value,i++,this)!==!1;);return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=e(t),v(i?t.reverse():t)}),a=0,s=!1;return new I(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?m():L(t,a++,n.apply(null,e.map(function(t){return t.value})))})},i}function we(t,e){return _(t)?e:t.constructor(e)}function ze(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function ve(t){return lt(t.size),d(t)}function be(t){return a(t)?n:s(t)?r:i}function Ce(t){return Object.create((a(t)?E:s(t)?k:x).prototype)}function Te(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):T.prototype.cacheResult.call(this)}function Ee(t,e){return t>e?1:te?-1:0}function on(t){if(t.size===1/0)return 0;var e=c(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(ot(t),ot(e))|0}:function(t,e){r=r+sn(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0}),r)}function an(t,e){return e=kn(e,3432918353),e=kn(e<<15|e>>>-15,461845907),e=kn(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=kn(e^e>>>16,2246822507),e=kn(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var un=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=a,e.isIndexed=s,e.isAssociative=u,e.isOrdered=c,e.Keyed=n,e.Indexed=r,e.Set=i;var cn="@@__IMMUTABLE_ITERABLE__@@",ln="@@__IMMUTABLE_KEYED__@@",Mn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",gn="delete",dn=5,hn=1<r?m():L(t,i,n[e?r-i++:i++])})},t(S,E),S.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},S.prototype.has=function(t){return this._object.hasOwnProperty(t)},S.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(t(n[a],a,this)===!1)return o+1}return o},S.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new I(function(){var a=r[e?i-o:o];return o++>i?m():L(t,a,n[a])})},S.prototype[pn]=!0,t(A,k),A.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=v(n),i=0;if(z(r))for(var o;!(o=r.next()).done&&t(o.value,i++,this)!==!1;);return i},A.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=v(n);if(!z(r))return new I(m);var i=0;return new I(function(){var e=r.next();return e.done?e:L(t,i++,e.value)})},t(U,k),U.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return L(t,i,r[i++])})};var bn;t(X,k),X.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},X.prototype.get=function(t,e){return this.has(t)?this._value:e},X.prototype.includes=function(t){return J(this._value,t)},X.prototype.slice=function(t,e){var n=this.size;return y(t,e,n)?this:new X(this._value,D(e,n)-N(t,n))},X.prototype.reverse=function(){return this},X.prototype.indexOf=function(t){return J(this._value,t)?0:-1},X.prototype.lastIndexOf=function(t){return J(this._value,t)?this.size:-1},X.prototype.__iterate=function(t,e){for(var n=0;n=0&&e=0&&nn?m():L(t,o++,a)})},$.prototype.equals=function(t){return t instanceof $?this._start===t._start&&this._end===t._end&&this._step===t._step:q(this,t)};var Tn;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var En,kn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},xn=Object.isExtensible,On=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Sn="function"==typeof WeakMap;Sn&&(En=new WeakMap);var An=0,Un="__immutablehash__";"function"==typeof Symbol&&(Un=Symbol(Un));var _n=16,Yn=255,Qn=0,Bn={};t(Mt,et),Mt.of=function(){var t=un.call(arguments,0);return Lt().withMutations(function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},Mt.prototype.toString=function(){return this.__toString("Map {","}")},Mt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Mt.prototype.set=function(t,e){return mt(this,t,e)},Mt.prototype.setIn=function(t,e){return this.updateIn(t,yn,function(){return e})},Mt.prototype.remove=function(t){return mt(this,t,yn)},Mt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return yn})},Mt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Mt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=St(this,ke(t),e,n);return r===yn?void 0:r},Mt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Lt()},Mt.prototype.merge=function(){return Et(this,void 0,arguments)},Mt.prototype.mergeWith=function(t){return Et(this,t,un.call(arguments,1))},Mt.prototype.mergeIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,Lt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},Mt.prototype.mergeDeep=function(){return Et(this,kt,arguments)},Mt.prototype.mergeDeepWith=function(t){var e=un.call(arguments,1);return Et(this,xt(t),e)},Mt.prototype.mergeDeepIn=function(t){var e=un.call(arguments,1);return this.updateIn(t,Lt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},Mt.prototype.sort=function(t){return Kt(je(this,t))},Mt.prototype.sortBy=function(t,e){return Kt(je(this,e,t))},Mt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Mt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},Mt.prototype.asImmutable=function(){return this.__ensureOwner()},Mt.prototype.wasAltered=function(){return this.__altered},Mt.prototype.__iterator=function(t,e){return new Nt(this,t,e)},Mt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},Mt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?It(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Mt.isMap=pt;var Pn="@@__IMMUTABLE_MAP__@@",Gn=Mt.prototype;Gn[Pn]=!0,Gn[gn]=Gn.remove,Gn.removeIn=Gn.deleteIn,gt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o=Zn)return bt(t,u,r,i);var d=t&&t===this.ownerID,h=d?u:g(u);return p?s?c===l-1?h.pop():h[c]=h.pop():h[c]=[r,i]:h.push([r,i]),d?(this.entries=h,this):new gt(t,h)}},dt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&fn),o=this.bitmap;return 0==(o&i)?r:this.nodes[At(o&i-1)].get(t+dn,e,n,r)},dt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&fn,u=1<=Hn)return Tt(t,p,c,s,d);if(l&&!d&&2===p.length&&zt(p[1^M]))return p[1^M];if(l&&d&&1===p.length&&zt(d))return d;var h=t&&t===this.ownerID,f=l?d?c:c^u:c|u,y=l?d?Ut(p,M,d,h):Yt(p,M,h):_t(p,M,d,h);return h?(this.bitmap=f,this.nodes=y,this):new dt(t,f,y)},ht.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&fn,o=this.nodes[i];return o?o.get(t+dn,e,n,r):r},ht.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&fn,u=i===yn,c=this.nodes,l=c[s];if(u&&!l)return this;var M=wt(l,t,e+dn,n,r,i,o,a);if(M===l)return this;var p=this.count;if(l){if(!M&&--p=0&&t>>e&fn;if(r>=this.array.length)return new Pt([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-dn,n))===a&&o)return this}if(o&&!i)return this;var s=Vt(this,t);if(!o)for(var u=0;u>>e&fn;if(r>=this.array.length)return this;var i;if(e>0){var o=this.array[r];if((i=o&&o.removeAfter(t,e-dn,n))===o&&r===this.array.length-1)return this}var a=Vt(this,t);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Jn,qn={};t(Kt,Mt),Kt.of=function(){return this(arguments)},Kt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Kt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Kt.prototype.set=function(t,e){return ne(this,t,e)},Kt.prototype.remove=function(t){return ne(this,t,yn)},Kt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Kt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Kt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Kt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Kt.isOrderedMap=$t,Kt.prototype[pn]=!0,Kt.prototype[gn]=Kt.prototype.remove;var Xn;t(re,E),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ce(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=ue(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?ve(this):0,function(i){return t(i,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(In,e),r=e?ve(this):0;return new I(function(){var i=n.next();return i.done?i:L(t,e?--r:r++,i.value,i)})},re.prototype[pn]=!0,t(ie,k),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(In,e),r=0;return new I(function(){var e=n.next();return e.done?e:L(t,r++,e.value,e)})},t(oe,x),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(In,e);return new I(function(){var e=n.next();return e.done?e:L(t,e.value,e.value,e)})},t(ae,E),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){ze(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(In,e);return new I(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){ze(r);var i=o(r);return L(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=Te,t(xe,et),xe.prototype.toString=function(){return this.__toString(Se(this)+" {","}")},xe.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},xe.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},xe.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Oe(this,Lt()))},xe.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Se(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Oe(this,n)},xe.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Oe(this,e)},xe.prototype.wasAltered=function(){return this._map.wasAltered()},xe.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},xe.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},xe.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Oe(this,e,t):(this.__ownerID=t,this._map=e,this)};var Kn=xe.prototype;Kn[gn]=Kn.remove,Kn.deleteIn=Kn.removeIn=Gn.removeIn,Kn.merge=Gn.merge,Kn.mergeWith=Gn.mergeWith,Kn.mergeIn=Gn.mergeIn,Kn.mergeDeep=Gn.mergeDeep,Kn.mergeDeepWith=Gn.mergeDeepWith,Kn.mergeDeepIn=Gn.mergeDeepIn,Kn.setIn=Gn.setIn,Kn.update=Gn.update,Kn.updateIn=Gn.updateIn,Kn.withMutations=Gn.withMutations,Kn.asMutable=Gn.asMutable,Kn.asImmutable=Gn.asImmutable,t(_e,rt),_e.of=function(){return this(arguments)},_e.fromKeys=function(t){return this(n(t).keySeq())},_e.prototype.toString=function(){return this.__toString("Set {","}")},_e.prototype.has=function(t){return this._map.has(t)},_e.prototype.add=function(t){return Qe(this,this._map.set(t,!0))},_e.prototype.remove=function(t){return Qe(this,this._map.remove(t))},_e.prototype.clear=function(){return Qe(this,this._map.clear())},_e.prototype.union=function(){var t=un.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Fe(t,e)},We.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;lt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Fe(e,n)},We.prototype.pop=function(){return this.slice(1)},We.prototype.unshift=function(){return this.push.apply(this,arguments)},We.prototype.unshiftAll=function(t){return this.pushAll(t)},We.prototype.shift=function(){return this.pop.apply(this,arguments)},We.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Je()},We.prototype.slice=function(t,e){if(y(t,e,this.size))return this;var n=N(t,this.size);if(D(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Fe(r,i)},We.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Fe(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},We.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&t(r.value,n++,this)!==!1;)r=r.next;return n},We.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new I(function(){if(r){var e=r.value;return r=r.next,L(t,n++,e)}return m()})},We.isStack=Ve;var ir="@@__IMMUTABLE_STACK__@@",or=We.prototype;or[ir]=!0,or.withMutations=Gn.withMutations,or.asMutable=Gn.asMutable,or.asImmutable=Gn.asImmutable,or.wasAltered=Gn.wasAltered;var ar;e.Iterator=I,qe(e,{toArray:function(){lt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return Mt(this.toKeyedSeq())},toObject:function(){lt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Kt(this.toKeyedSeq())},toOrderedSet:function(){return Ge(a(this)?this.valueSeq():this)},toSet:function(){return _e(a(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return We(a(this)?this.valueSeq():this)},toList:function(){return Qt(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return we(this,fe(this,un.call(arguments,0)))},includes:function(t){return this.some(function(e){return J(e,t)})},entries:function(){return this.__iterator(Ln)},every:function(t,e){lt(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return we(this,le(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return lt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){lt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(jn)},map:function(t,e){return we(this,ue(this,t,e))},reduce:function(t,e,n){lt(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return we(this,ce(this,!0))},slice:function(t,e){return we(this,ge(this,t,e,!0))},some:function(t,e){return!this.every($e(t),e)},sort:function(t){return we(this,je(this,t))},values:function(){return this.__iterator(In)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return d(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return Me(this,t,e)},equals:function(t){return q(this,t)},entrySeq:function(){var t=this;if(t._cache)return new O(t._cache);var e=t.toSeq().map(Ke).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter($e(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(f)},flatMap:function(t,e){return we(this,Ne(this,t,e))},flatten:function(t){return we(this,ye(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return J(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=ke(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,yn):yn)===yn)return e}return r},groupBy:function(t,e){return pe(this,t,e)},has:function(t){return this.get(t,yn)!==yn},hasIn:function(t){return this.getIn(t,yn)!==yn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return J(e,t)})},keySeq:function(){return this.toSeq().map(Xe).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Ie(this,t)},maxBy:function(t,e){return Ie(this,e,t)},min:function(t){return Ie(this,t?tn(t):rn)},minBy:function(t,e){return Ie(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return we(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return we(this,he(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile($e(t),e)},sortBy:function(t,e){return we(this,je(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return we(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return we(this,de(this,t,e))},takeUntil:function(t,e){return this.takeWhile($e(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=e.prototype;sr[cn]=!0,sr[zn]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=en,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,qe(n,{flip:function(){return we(this,se(this))},mapEntries:function(t,e){var n=this,r=0;return we(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return we(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var ur=n.prototype;return ur[ln]=!0,ur[zn]=sr.entries,ur.__toJS=sr.toObject,ur.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},qe(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return we(this,le(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return we(this,ce(this,!1))},slice:function(t,e){return we(this,ge(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=N(t,t<0?this.count():this.size);var r=this.slice(0,t);return we(this,1===n?r:r.concat(g(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return we(this,ye(this,t,!1))},get:function(t,e){return t=h(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=h(this,t))>=0&&(void 0!==this.size?this.size===1/0||t-1;return r||Q.warn(t,"The `"+e+"` option will be ignored, because it is not one of the following allowed values: "+n.map(function(t){return JSON.stringify(t)}).join(", ")+"."),r}function a(t,e){var n=void 0===t[e]||"string"==typeof t[e]&&Z()(t[e]).length>0;return n||Q.warn(t,"The `"+e+"` option will be ignored, because it is not a non-empty string."),n}function s(e,n){var r=void 0===e[n]||t.Array.isArray(e[n]);return r||Q.warn(e,"The `"+n+"` option will be ignored, because it is not an array."),r}function u(e){var r=e.additionalSignUpFields,u=e.defaultDatabaseConnection,l=e.forgotPasswordLink,M=e.loginAfterSignUp,p=e.mustAcceptTerms,g=e.signUpLink,d=e.usernameStyle,h=c(e),f=h.initialScreen,y=h.screens;return o(e,"usernameStyle",["email","username"])||(d=void 0),a(e,"defaultDatabaseConnection")||(u=void 0),a(e,"forgotPasswordLink")||(l=void 0),a(e,"signUpLink")||(g=void 0),i(e,"mustAcceptTerms")||(p=void 0),s(e,"additionalSignUpFields")?r&&(r=r.reduce(function(n,r){var i=r.icon,o=r.name,a=r.options,s=r.placeholder,u=r.prefill,c=r.type,l=r.validator,M=!0,p=["email","username","password"];("string"!=typeof o||!o.match(/^[a-zA-Z0-9_]+$/)||p.indexOf(o)>-1)&&(Q.warn(e,"Ignoring an element of `additionalSignUpFields` because it does not contain valid `name` property. Every element of `additionalSignUpFields` must be an object with a `name` property that is a non-empty string consisting of letters, numbers and underscores. The following names are reserved, and therefore, cannot be used: "+p.join(", ")+"."),M=!1),"string"==typeof s&&s||(Q.warn(e,"Ignoring an element of `additionalSignUpFields` because it does not contain a valid `placeholder` property. Every element of `additionalSignUpFields` must have a `placeholder` property that is a non-empty string."),M=!1),void 0==i||"string"==typeof i&&i||(Q.warn(e,"When provided, the `icon` property of an element of `additionalSignUpFields` must be a non-empty string."),i=void 0),void 0==u||"string"==typeof u&&u||"function"==typeof u||(Q.warn(e,"When provided, the `prefill` property of an element of `additionalSignUpFields` must be a non-empty string or a function."),u=void 0);var g=["select","text","checkbox"];return void 0==c||"string"==typeof c&&g.indexOf(c)!==-1||(Q.warn(e,'When provided, the `type` property of an element of `additionalSignUpFields` must be one of the following strings: "'+g.join('", "')+'".'),c=void 0),void 0!=l&&"select"===c&&(Q.warn(e,'Elements of `additionalSignUpFields` with a "select" `type` cannot specify a `validator` function, all of its `options` are assumed to be valid.'),l=void 0),void 0!=l&&"function"!=typeof l&&(Q.warn(e,"When provided, the `validator` property of an element of `additionalSignUpFields` must be a function."),l=void 0),void 0!=a&&"select"!=c&&(Q.warn(e,'The `options` property can only by provided for an element of `additionalSignUpFields` when its `type` equals to "select"'),a=void 0),(void 0!=a&&!t.Array.isArray(a)&&"function"!=typeof a||"select"===c&&void 0===a)&&(Q.warn(e,'Ignoring an element of `additionalSignUpFields` because it has a "select" `type` but does not specify an `options` property that is an Array or a function.'),M=!1),M?n.concat([{icon:i,name:o,options:a,placeholder:s,prefill:u,type:c,validator:l}]):n},[]),r=Y.a.fromJS(r).map(function(t){return t.filter(function(t){return void 0!==t})})):r=void 0,M=M!==!1,n.i(_.Map)({additionalSignUpFields:r,defaultConnectionName:u,forgotPasswordLink:l,initialScreen:f,loginAfterSignUp:M,mustAcceptTerms:p,screens:y,signUpLink:g,usernameStyle:d}).filter(function(t){return void 0!==t}).toJS()}function c(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{allowLogin:!0,allowSignUp:!0,allowForgotPassword:!0,initialScreen:void 0},n=t.allowForgotPassword,r=t.allowLogin,a=t.allowSignUp,s=t.initialScreen,u=[];return(r===!0||!i(t,"allowLogin")&&e.allowLogin||void 0===r&&e.allowLogin)&&u.push("login"),(a===!0||!i(t,"allowSignUp")&&e.allowSignUp||void 0===a&&e.allowSignUp)&&u.push("signUp"),(n===!0||!i(t,"allowForgotPassword")&&e.allowForgotPassword||void 0===n&&e.allowForgotPassword)&&u.push("forgotPassword"),u.push("mfaLogin"),o(t,"initialScreen",u)||(s=void 0),void 0===s&&(s=e.initialScreen||u[0]),{initialScreen:s,screens:new _.List(u)}}function l(t,e){var n=c(e,{allowLogin:D(t).contains("login"),allowSignUp:D(t).contains("signUp"),allowForgotPassword:D(t).contains("forgotPassword"),initialScreen:F(t,"initialScreen")}),r=n.initialScreen,i=n.screens;return t=X(t,"initialScreen",r),t=X(t,"screens",i)}function M(t){var e=p(t);return e&&Q.findConnection(t,e)}function p(t){return F(t,"defaultConnectionName")}function g(t){return n.i(H.b)(t)||M(t)||Q.connection(t,"database")}function d(t){return(g(t)||n.i(_.Map)()).get("name")}function h(t){return F(t,"forgotPasswordLink",arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}function f(t){return F(t,"signUpLink",arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")}function y(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t=Q.clearGlobalError(t),t=Q.clearGlobalSuccess(t),t=n.i(B.a)(t,r),t=n.i(B.b)(t,r),X(t,"screen",e)}function N(t){return[q(t,"screen"),j(t),"login","signUp","forgotPassword","mfaLogin"].filter(function(e){return b(t,e)})[0]}function D(t){return q(t,"screens")||F(t,"screens",new _.List)}function j(t){return q(t,"initialScreen")||F(t,"initialScreen")}function I(t,e){return j(t)===e}function L(t){return(g(t)||n.i(_.Map)()).toJS().requireUsername}function m(t){return Q.hasSomeConnections(t,"database")?L(t)?F(t,"usernameStyle","any"):"email":Q.hasSomeConnections(t,"enterprise")&&n.i(W.i)(t)?"username":"email"}function w(t){return"email"===m(t)}function z(t){return n.i(B.e)(t,w(t)?"email":"username")}function v(t){return L(t)||"username"===F(t,"usernameStyle","email")}function b(t,e){var r=(g(t)||n.i(_.Map)()).toJS(),i=r.allowForgot,o=r.allowSignup;return!(i===!1&&"forgotPassword"===e)&&!(o===!1&&"signUp"===e)&&D(t).contains(e)}function C(t){return F(t,"loginAfterSignUp")}function T(t){return(g(t)||n.i(_.Map)()).get("passwordPolicy","none")}function E(t){return F(t,"additionalSignUpFields",n.i(_.List)())}function k(t){return F(t,"mustAcceptTerms",!1)}function x(t){return!k(t)||q(t,"termsAccepted",!1)}function O(t){return X(t,"termsAccepted",!x(t))}function S(t){return E(t).reduce(function(t,e){return"select"===e.get("type")?A(t,e):U(t,e)},t)}function A(t,e){var r=e.get("name"),i=["additionalSignUpField",r],o=e.get("prefill"),a=e.get("options"),s="function"==typeof o?void 0:o||"",u="function"==typeof a?void 0:a,c=function(t){return void 0!==s&&void 0!==u?n.i(B.f)(t,r,Y.a.fromJS(u),s):t};return void 0===s&&(t=n.i(G.d)(t,i.concat("prefill"),{recoverResult:"",successFn:function(t,e){return s=e,c(t)},syncFn:function(t,e){return o(e)}})),void 0===u&&(t=n.i(G.d)(t,i.concat("options"),{successFn:function(t,e){return u=e,c(t)},syncFn:function(t,e){return a(e)}})),void 0!==s&&void 0!==u&&(t=n.i(B.f)(t,r,Y.a.fromJS(u),s)),t}function U(t,e){var r=e.get("name"),i=["additionalSignUpField",r,"prefill"],o=e.get("prefill"),a=e.get("validator"),s="function"==typeof o?void 0:o||"";return t=void 0===s?n.i(G.d)(t,i,{recoverResult:"",successFn:function(t,e){return n.i(B.g)(t,r,e,a)},syncFn:function(t,e){return o(e)}}):n.i(B.g)(t,r,s,a)}var _=n(9),Y=n.n(_),Q=n(1),B=n(8),P=n(20),G=n(46),R=n(35),Z=n.n(R),H=n(69),W=n(18);e.f=r,e.g=l,e.e=M,e.d=p,e.u=g,e.l=d,e.x=h,e.v=f,e.p=y,e.i=N,e.j=j,e.c=I,e.m=L,e.w=m,e.k=w,e.a=z,e.b=v,e.h=b,e.o=C,e.t=T,e.n=E,e.s=k,e.r=x,e.q=O;var V=n.i(P.a)(["database"]),F=V.get,J=V.initNS,q=V.tget,X=V.tset}).call(e,n(13))},function(t,e,n){"use strict";function r(t,e,n){i(t+"-"+e,function(t,r,i){var o=c(i,"lock",e);o!=c(r,"lock",e)&&n(o)})}function i(t,e){d.addWatch(t,e)}function o(){return d.swap.apply(d,arguments)}function a(t,e,n,r){for(var i=arguments.length,o=Array(i>4?i-4:0),a=4;a1?e-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:0;return t.getIn([e,n])}function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return t.removeIn([e,n])}function M(t,e){return t.get(e,n.i(g.Map)()).toList()}var p=n(233),g=n(9);n.n(g);e.a=r,e.b=o,e.g=a,e.c=s,e.d=u,e.f=c,e.h=l,e.e=M;var d=n.i(p.a)(new g.Map({}))},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";function r(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i2?n-2:0),o=2;o3&&void 0!==arguments[3]?arguments[3]:"";Object.keys(n).forEach(function(i){e.hasOwnProperty(i)?"object"===I(n[i])&&s(t,e[i],n[i],""+r+i+"."):f.warn(t,"language does not have property "+r+i)})}function u(t,e,r){n.i(j.a)({method:"registerLanguageDictionary",url:f.languageBaseUrl(t)+"/js/lock/10.16.0/"+e+".js",check:function(t){return t&&t===e},cb:function(t,e,n){r(t,n)}})}function c(t,e){z[t]=g.a.fromJS(e)}Object.defineProperty(e,"__esModule",{value:!0});var l=n(0),M=n.n(l),p=n(9),g=n.n(p),d=n(105),h=(n.n(d),n(46)),f=n(1),y=n(20),N=n(219),D=n.n(N),j=n(77);e.str=r,e.html=i,e.group=o,e.initI18n=a;var I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L=n.i(y.a)(["i18n"]),m=L.get,w=L.set,z=[];c("en",D.a),n.i(j.b)({method:"registerLanguageDictionary",cb:c})},function(t,e,n){"use strict";var r=null;t.exports={debugTool:r}},function(t,e,n){var r,i;!function(o,a,s){void 0!==t&&t.exports?t.exports=s():(r=s,void 0!==(i="function"==typeof r?r.call(e,n,e,t):r)&&(t.exports=i))}(0,0,function(){function t(t,e){return t=t.replace(/:\//g,"://"),t=t.replace(/([^:\s])\/+/g,"$1/"),t=t.replace(/\/(\?|&|#[^!])/g,"$1"),t=t.replace(/(\?.+)\?/g,"$1&")}return function(){var e=arguments,n={};return"object"==typeof arguments[0]&&(e=arguments[0],n=arguments[1]||{}),t([].slice.call(e,0).join("/"),n)}})},function(t,e,n){function r(t,e){return e.reduce(function(e,n){return t[n]&&(e[n]=t[n]),e},{})}function i(t,e){var n=[];for(var r in t)e.indexOf(r)===-1&&n.push(r);return n}function o(t){var e=[];for(var n in t)e.push(t[n]);return e}function a(){var t=o(arguments);return t.unshift({}),d.get().apply(void 0,t)}function s(t,e){return{base:e?r(t,e):t,with:function(t,e){return t=e?r(t,e):t,a(this.base,t)}}}function u(t,e){return Object.keys(t).reduce(function(n,r){return e.indexOf(r)===-1&&(n[r]=t[r]),n},{})}function c(t){for(var e,n="",r=0,i=!0,o=!0;r=65&&e<=90||!i&&e>=48&&e<=57?(n+="_",n+=t[r].toLowerCase()):n+=t[r].toLowerCase(),i=e>=48&&e<=57,o=e>=65&&e<=90,r++;return n}function l(t){var e=t.split("_");return e.reduce(function(t,e){return t+e.charAt(0).toUpperCase()+e.slice(1)},e.shift())}function M(t,e){return"object"!=typeof t||g.isArray(t)||null===t?t:(e=e||[],Object.keys(t).reduce(function(n,r){return n[e.indexOf(r)===-1?c(r):r]=M(t[r]),n},{}))}function p(t,e){return"object"!=typeof t||g.isArray(t)||null===t?t:(e=e||[],Object.keys(t).reduce(function(n,r){return n[e.indexOf(r)===-1?l(r):r]=p(t[r]),n},{}))}var g=n(28),d=n(172);t.exports={toSnakeCase:M,toCamelCase:p,blacklist:u,merge:s,pick:r,getKeysNotIn:i,extend:a}},function(t,e,n){"use strict";function r(t,e){return k(t,m.a.fromJS(i(e)))}function i(t){var e=t.defaultEnterpriseConnection;return void 0!=e&&"string"!=typeof e&&(w.warn(options,"The `defaultEnterpriseConnection` option will be ignored, because it is not a string."),e=void 0),void 0===e?{}:{defaultConnectionName:e}}function o(t){var e=a(t);return e&&g(t,e)}function a(t){return E(t,"defaultConnectionName")}function s(t){if(j(t)){return u(t,x(t,"hrdEmail",""))||d(t)}return o(t)||g(t)}function u(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=n.i(v.a)(e);return!!i&&w.connections.apply(w,[t,"enterprise"].concat(r)).find(function(t){return t.get("domains").contains(i)})}function c(t,e){return!!u(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])}function l(t){return y(t)?w.connections(t,"enterprise").getIn([0,"domains",0]):n.i(v.a)(x(t,"hrdEmail"))}function M(t){return!p(t)&&w.hasOneConnection(t,"enterprise")?w.connections(t,"enterprise").get(0):null}function p(t){return w.hasSomeConnections(t,"enterprise","ad","auth0-adldap")}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return w.connections(t,"enterprise","ad","auth0-adldap").find(function(t){return t.get("domains").isEmpty()&&(!e||t.get("name")===e)})}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return w.connections(t,"enterprise","ad","auth0-adldap").find(function(t){return!e||t.get("name")===e})}function h(t){return void 0!==f(t)}function f(t){var e=t.getIn(["sso","connection"]),n=t.getIn(["sso","strategy"]);return e&&n&&m.a.Map({name:e,strategy:n})}function y(t){return p(t)&&1===w.connections(t).count()}function N(t,e){return c(t,e,["ad","auth0-adldap"])}function D(t,e){if(e){var r=w.defaultADUsernameFromEmailPrefix(t)?n.i(v.b)(e):e;t=n.i(b.a)(t,r,"username",!1),t=S(t,"hrdEmail",e)}else t=O(t,"hrdEmail");return S(t,"hrd",!!e)}function j(t){return x(t,"hrd",y(t))}function I(t,e){return!(n.i(v.c)(e)&&!w.hasSomeConnections(t,"database")&&!g(t)&&!n.i(C.b)(t,e))}var L=n(9),m=n.n(L),w=n(1),z=(n(8),n(20)),v=n(29),b=n(72),C=n(57);n(10),n(11);n.d(e,"a",function(){return U}),e.e=r,e.d=o,e.c=a,e.l=s,e.k=u,e.b=c,e.o=l,e.g=M,e.r=p,e.i=g,e.f=h,e.q=f,e.p=y,e.n=N,e.j=D,e.h=j,e.m=I;var T=n.i(z.a)(["enterprise"]),E=T.get,k=T.initNS,x=T.tget,O=T.tremove,S=T.tset,A=n.i(z.a)(["core"]),U=(A.tremove,A.tset,A.tget,{ad:"AD / LDAP",adfs:"ADFS","auth0-adldap":"AD/LDAP",custom:"Custom Auth","google-apps":"Google Apps",ip:"IP Address",mscrm:"Dynamics CRM",office365:"Office365",pingfederate:"Ping Federate",samlp:"SAML",sharepoint:"SharePoint Apps",waad:"Windows Azure AD"})},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=(n(1),n(14)),o=n(10),a=function(){function t(e){r(this,t),this.name=e}return t.prototype.backHandler=function(){return null},t.prototype.escHandler=function(){return null},t.prototype.submitButtonLabel=function(t){return i.str(t,["submitLabel"])},t.prototype.isFirstScreen=function(t){var e=n.i(o.j)(t),r=this.name.split("."),i=r[1]||r[0];return!("signUp"!==i||!n.i(o.h)(t,"login"))||[e,"loading","lastLogin"].indexOf(i)!==-1},t.prototype.getTitle=function(t){return this.isFirstScreen(t)?i.str(t,"title"):this.getScreenTitle(t)},t.prototype.getScreenTitle=function(t){return i.str(t,"title")},t.prototype.submitHandler=function(){return null},t.prototype.isSubmitDisabled=function(t){return!1},t.prototype.renderAuxiliaryPane=function(){return null},t.prototype.renderTabs=function(){return!1},t.prototype.renderTerms=function(){return null},t}();e.a=a},function(t,e,n){"use strict";function r(t){function e(t,e){return t.concat("object"===(void 0===e?"undefined":o(e))?e:[e])}function n(t){return function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return n.getIn(e(t,r),i)}}function r(t){return function(n,r,i){return n.setIn(e(t,r),i)}}function a(t){return function(n,r){return n.removeIn(e(t,r))}}var s=t.concat(["transient"]);return{get:n(t),set:r(t),remove:a(t),tget:n(s),tset:r(s),tremove:a(s),reset:function(t){return t.map(function(t){return i.Map.isMap(t)?t.remove("transient"):t})},init:function(e,n){return new i.Map({id:e}).setIn(t,n)},initNS:function(e,n){return e.setIn(t,n)}}}var i=n(9);n.n(i);e.a=r;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}},function(t,e,n){"use strict";function r(){b.ReactReconcileTransaction&&I||l("123")}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=b.ReactReconcileTransaction.getPooled(!0)}function o(t,e,n,i,o,a){return r(),I.batchedUpdates(t,e,n,i,o,a)}function a(t,e){return t._mountOrder-e._mountOrder}function s(t){var e=t.dirtyComponentsLength;e!==y.length&&l("124",e,y.length),y.sort(a),N++;for(var n=0;n0,i=t.location.href.split("#")[0],a=function(e,n){!(!e&&!n)&&!r&&t.history.replaceState(null,"",i)};o(t.location.hash,a)}function o(t,e){n.i(j.d)(j.e,"lock").forEach(function(n){return L.auth.redirect(n)&&a(n,t,e)})}function a(t,e,n){D.a.parseHash(L.id(t),e,function(e,r){e?L.emitHashParsedEvent(t,e):L.emitHashParsedEvent(t,r),e?L.emitAuthorizationErrorEvent(t,e):r&&L.emitAuthenticatedEvent(t,r),n(e,r)})}function s(t,e){var r=n.i(j.d)(j.f,"lock",t);if(!r)throw new Error("The Lock can't be opened again after it has been destroyed");if(L.rendering(r))return!1;if(e.flashMessage){if(!e.flashMessage.type||["error","success"].indexOf(e.flashMessage.type)===-1)return L.emitUnrecoverableErrorEvent(r,"'flashMessage' must provide a valid type ['error','success']");if(!e.flashMessage.text)return L.emitUnrecoverableErrorEvent(r,"'flashMessage' must provide a text")}return L.emitEvent(r,"show"),n.i(j.b)(j.g,"lock",t,function(t){return t=L.overrideOptions(t,e),t=L.filterConnections(t),t=L.runHook(t,"willShow",e),L.render(t)}),!0}function u(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},i=n.i(j.d)(j.f,"lock",t);(L.ui.closable(i)||e)&&L.rendering(i)&&(L.emitEvent(i,"hide"),L.ui.appendContainer(i)?(n.i(j.b)(j.g,"lock",t,L.stopRendering),setTimeout(function(){n.i(j.b)(j.g,"lock",t,function(t){return t=n.i(z.a)(t),t=L.reset(t),t=n.i(z.b)(t)}),i=n.i(j.d)(j.f,"lock",t),r(i)},1e3)):(n.i(j.b)(j.g,"lock",t,function(t){return t=n.i(z.a)(t),t=L.reset(t),t=n.i(z.b)(t)}),r(i)))}function c(t){n.i(j.b)(j.g,"lock",t,L.stopRendering),n.i(j.b)(j.h,"lock",t)}function l(t,e){return n.i(j.b)(j.g,"lock",t,e)}function M(t){n.i(j.d)(j.f,"lock",t).get("isLoadingPanePinned")||n.i(j.b)(j.g,"lock",t,function(t){return t.set("isLoadingPanePinned",!0)})}function p(t){n.i(j.b)(j.g,"lock",t,function(t){return t.set("isLoadingPanePinned",!1)})}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2];n.i(j.b)(j.g,"lock",t,function(t){return e.reduce(function(e,r){return e&&n.i(z.c)(t,r)},!0)?L.setSubmitting(t,!0):e.reduce(function(t,e){return n.i(z.d)(t,e)},t)});var i=n.i(j.d)(j.f,"lock",t);L.submitting(i)&&r(i)}function d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(t,e,n,r){return r()};g(t,e,function(i){D.a.logIn(t,n,L.auth.params(i).toJS(),function(n,i){n?setTimeout(function(){return f(t,e,n,r)},250):h(t,i)})})}function h(t,e){var r=n.i(j.d)(j.f,"lock",t);L.ui.autoclose(r)?u(t,!1,function(t){return L.emitAuthenticatedEvent(t,e)}):(n.i(j.b)(j.g,"lock",t,function(t){return t=L.setSubmitting(t,!1),L.setLoggedIn(t,!0)}),L.emitAuthenticatedEvent(r,e))}function f(t,e,r,i){i(t,r,e,function(){return setTimeout(function(){var i=n.i(j.d)(j.f,"lock",t),o=L.loginErrorMessage(i,r,y(e));["blocked_user","rule_error","lock.unauthorized"].indexOf(r.code)>-1&&L.emitAuthorizationErrorEvent(i,r),n.i(j.b)(j.g,"lock",t,L.setSubmitting,!1,o)},0)}),n.i(j.b)(j.g,"lock",t,L.setSubmitting,!1)}function y(t){if(t)return~t.indexOf("vcode")?"code":~t.indexOf("username")?"username":~t.indexOf("email")?"email":void 0}var N=n(9),D=(n.n(N),n(56)),j=n(11),I=n(204),L=n(1),m=n(125),w=n(121),z=n(8);e.a=r,e.b=i,e.d=o,e.e=s,e.c=u,e.f=c,e.g=l,e.k=M,e.l=p,e.i=g,e.h=d,e.j=h;var v=Object.assign||function(t){for(var e=1;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,}))$/},function(t,e,n){"use strict";var r=n(101),i=r;t.exports=i},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.closeHandler=p.c,e.key="auxiliarypane",e.lock=t,g.loggedIn(t)?l.a.createElement(h,e):null}var s=n(3),u=n.n(s),c=n(0),l=n.n(c),M=n(74),p=n(23),g=n(1),d=n(14);e.a=a;var h=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.lock;e(g.id(n))},e.prototype.render=function(){var t=this.props.lock,e=g.ui.closable(t)?this.handleClose.bind(this):void 0;return l.a.createElement(M.a,{closeHandler:e},l.a.createElement("p",null,d.html(t,["success","logIn"])))},e}(l.a.Component);h.propTypes={closeHandler:u.a.func.isRequired,lock:u.a.object.isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.before,n=t.focused,r=t.invalidHint,i=t.isValid,o=t.name,a=t.icon,s="auth0-lock-input-block auth0-lock-input-"+o;i||(s+=" auth0-lock-error");var u="auth0-lock-input-wrap";n&&i&&(u+=" auth0-lock-focused");var l=null;"string"==typeof a?l=c.a.createElement("span",{dangerouslySetInnerHTML:{__html:a}}):a&&(l=a),l&&(u+=" auth0-lock-input-wrap-with-icon");var M=!i&&r?c.a.createElement("div",{className:"auth0-lock-error-msg"},c.a.createElement("span",null,r)):null;return c.a.createElement("div",{className:s},e,c.a.createElement("div",{className:u},l,this.props.children),M)},e}(c.a.Component);e.a=l,l.propTypes={before:s.a.element,children:s.a.oneOfType([s.a.element.isRequired,s.a.arrayOf(s.a.element).isRequired]),focused:s.a.bool,invalidHint:s.a.string,isValid:s.a.bool.isRequired,name:s.a.string.isRequired,svg:s.a.string}},function(t,e,n){"use strict";var r=n(4),i=(n(2),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n),i}return new r(t,e,n)},s=function(t,e,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,n,r),o}return new i(t,e,n,r)},u=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length1&&void 0!==arguments[1]&&arguments[1],r=n.i(D.d)(D.f,"lock",t),i=n.i(w.k)(r)?"email":"username",o=m.e(r,i),a={connection:n.i(w.l)(r),username:o,password:m.e(r,"password")},s=[i,"password"],u=m.e(r,"mfa_code");e&&(a.mfa_code=u,s.push("mfa_code")),n.i(I.h)(t,s,a,function(t,e,n,r){return"a0.mfa_required"===e.error?y(t):r()})}function i(t){var e=n.i(D.d)(D.f,"lock",t),r=["email","password"];n.i(w.m)(e)&&r.push("username"),n.i(w.n)(e).forEach(function(t){return r.push(t.get("name"))}),n.i(I.i)(t,r,function(e){var r={connection:n.i(w.l)(e),email:m.e(e,"email"),password:m.e(e,"password"),autoLogin:n.i(w.o)(e)};n.i(w.m)(e)&&(r.username=m.e(e,"username")),n.i(w.n)(e).isEmpty()||(r.user_metadata={},n.i(w.n)(e).forEach(function(t){r.user_metadata[t.get("name")]=m.e(e,t.get("name"))})),j.a.signUp(t,r,function(e,n,r){for(var i=arguments.length,s=Array(i>3?i-3:0),u=3;u1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:["password"];n.i(D.b)(D.g,"lock",t,w.p,"login",e)}function p(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];n.i(D.b)(D.g,"lock",t,w.p,"signUp",e)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["password"];n.i(D.b)(D.g,"lock",t,w.p,"forgotPassword",e)}function d(t){return M(t)}function h(t){return M(t)}function f(t){n.i(D.b)(D.g,"lock",t,w.q)}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["mfa_code"];n.i(D.b)(D.g,"lock",t,w.p,"mfaLogin",e)}var N=n(9),D=(n.n(N),n(11)),j=n(56),I=n(23),L=n(1),m=n(8),w=n(10),z=n(14);e.a=r,e.c=i,e.h=u,e.e=M,e.f=p,e.i=g,e.g=d,e.b=h,e.d=f},function(t,e,n){"use strict";function r(t,e){return y(t,l.a.fromJS(o(e)))}function i(t){return["oauth1","oauth2"].indexOf(t.get("strategy"))!==-1?t.get("name"):g[t.get("strategy")]}function o(t){var e={},n=t.socialButtonStyle;return["big","small"].indexOf(n)>-1&&(e.socialButtonStyle=n),e}function a(t){return M.connections(t,"social")}function s(t){return M.ui.authButtonsTheme(t)}function u(t,e){var n=f(t,"socialButtonStyle")||h(t,"socialButtonStyle");return n?"big"===n:M.connections(t,"social").count()<=e}var c=n(9),l=n.n(c),M=n(1),p=n(20);n.d(e,"b",function(){return g}),e.d=r,e.g=i,e.a=o,e.f=a,e.e=s,e.c=u;var g={amazon:"Amazon",aol:"Aol",baidu:"百度",bitbucket:"Bitbucket",box:"Box",dropbox:"Dropbox",dwolla:"Dwolla",ebay:"ebay",exact:"Exact",facebook:"Facebook",fitbit:"Fitbit",github:"GitHub","google-openid":"Google OpenId","google-oauth2":"Google",instagram:"Instagram",linkedin:"LinkedIn",miicard:"miiCard",paypal:"PayPal","paypal-sandbox":"PayPal Sandbox",planningcenter:"Planning Center",renren:"人人",salesforce:"Salesforce","salesforce-community":"Salesforce Community","salesforce-sandbox":"Salesforce (sandbox)",evernote:"Evernote","evernote-sandbox":"Evernote (sandbox)",shopify:"Shopify",soundcloud:"Soundcloud",thecity:"The City","thecity-sandbox":"The City (sandbox)",thirtysevensignals:"37 Signals",twitter:"Twitter",vkontakte:"vKontakte",windowslive:"Microsoft Account",wordpress:"Wordpress",yahoo:"Yahoo!",yammer:"Yammer",yandex:"Yandex",weibo:"新浪微博"},d=n.i(p.a)(["social"]),h=d.get,f=d.tget,y=d.initNS},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(M===clearTimeout)return clearTimeout(t);if((M===r||!M)&&clearTimeout)return M=clearTimeout,clearTimeout(t);try{return M(t)}catch(e){try{return M.call(null,t)}catch(e){return M.call(this,t)}}}function a(){h&&g&&(h=!1,g.length?d=g.concat(d):f=-1,d.length&&s())}function s(){if(!h){var t=i(a);h=!0;for(var e=d.length;e;){for(g=d,d=[];++f1)for(var n=1;n1){for(var f=Array(h),y=0;y1){for(var D=Array(N),j=0;j0&&e.reduce(function(e,n){return e&&!a(t,n)},!0)}function a(t,e){return["loading","pending","waiting"].indexOf(f(t,e))>-1}function s(t,e,n){var r=y(t,e,"error");if("sso"!==e){var i=new Error("An error occurred when fetching "+e+" data for Lock: "+n.message);i.code="sync",i.origin=n,r=l.stop(r,i)}return r}var u=n(9),c=(n.n(u),n(20)),l=n(1),M=n(11);n.d(e,"a",function(){return j}),e.b=i,e.c=o;var p=n.i(c.a)(["sync"]),g=p.get,d=p.set;e.d=function(t,e,r){if(void 0!==g(t,e))return t;var i=r.waitFn?"waiting":!r.conditionFn||r.conditionFn(t)?"pending":"no";return d(t,e,n.i(u.Map)({conditionFn:r.conditionFn,errorFn:r.errorFn,recoverResult:r.recoverResult,syncStatus:i,successFn:r.successFn,syncFn:r.syncFn,timeout:r.timeout||6e3,waitFn:r.waitFn}))};var h=function(t){return(r.Array.isArray(t)?t:[t]).concat(["syncStatus"])},f=function(t,e){return g(t,h(e))},y=function(t,e,n){return d(t,h(e),n)},N=function(t,e,n){return g(t,e).get(n)},D=function t(e){return e.reduce(function(e,n,r){var i=u.Map.isMap(n)&&n.has("syncStatus")?[r]:[],o=u.Map.isMap(n)?t(n).map(function(t){return[r].concat(t)}):[];return e.concat.apply(e,[i].concat([o]))},[])},t=function(t,e){return D(g(t,[],n.i(u.Map)())).reduce(function(t,r){if("function"!=typeof N(t,r,"syncFn"))return t;if("pending"===f(t,r)){t=y(t,r,"loading");var i=!1;N(t,r,"syncFn")(t,function(o,a){i||(i=!0,setTimeout(function(){n.i(M.b)(M.g,"lock",e,function(e){var n=N(t,r,"errorFn");o&&"function"==typeof n&&setTimeout(function(){return n(e,o)},0);var i=N(e,r,"recoverResult");return o&&void 0===i?s(e,r,o):(e=y(e,r,"ok"),N(e,r,"successFn")(e,o?i:a))})},0))})}else if("waiting"===f(t,r)&&N(t,r,"waitFn")(t)){var o=N(t,r,"conditionFn");t=y(t,r,!o||o(t)?"pending":"no")}return t},t)},j=function(e){n.i(M.a)("sync",e,function(r){setTimeout(function(){return n.i(M.b)(M.g,"lock",e,t,e)},0)})}}).call(e,n(39),n(13))},function(t,e,n){"use strict";var r=n(261);t.exports=function(t){return r(t,!1)}},function(t,e,n){"use strict";t.exports=n(137)},function(t,e,n){"use strict";function r(t){return"button"===t||"input"===t||"select"===t||"textarea"===t}function i(t,e,n){switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(e));default:return!1}}var o=n(4),a=n(83),s=n(84),u=n(88),c=n(147),l=n(148),M=(n(2),{}),p=null,g=function(t,e){t&&(s.executeDispatchesInOrder(t,e),t.isPersistent()||t.constructor.release(t))},d=function(t){return g(t,!0)},h=function(t){return g(t,!1)},f=function(t){return"."+t._rootNodeID},y={injection:{injectEventPluginOrder:a.injectEventPluginOrder,injectEventPluginsByName:a.injectEventPluginsByName},putListener:function(t,e,n){"function"!=typeof n&&o("94",e,typeof n);var r=f(t);(M[e]||(M[e]={}))[r]=n;var i=a.registrationNameModules[e];i&&i.didPutListener&&i.didPutListener(t,e,n)},getListener:function(t,e){var n=M[e];if(i(e,t._currentElement.type,t._currentElement.props))return null;var r=f(t);return n&&n[r]},deleteListener:function(t,e){var n=a.registrationNameModules[e];n&&n.willDeleteListener&&n.willDeleteListener(t,e);var r=M[e];if(r){delete r[f(t)]}},deleteAllListeners:function(t){var e=f(t);for(var n in M)if(M.hasOwnProperty(n)&&M[n][e]){var r=a.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(t,n),delete M[n][e]}},extractEvents:function(t,e,n,r){for(var i,o=a.plugins,s=0;s1&&void 0!==arguments[1]?arguments[1]:"",n=arguments[2];return this.clients[t].parseHash(e,n)},t.prototype.getUserInfo=function(t,e,n){return this.clients[t].getUserInfo(e,n)},t.prototype.getProfile=function(t,e,n){return this.clients[t].getProfile(e,n)},t.prototype.getSSOData=function(t){for(var e,n=arguments.length,r=Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:void 0,n=arguments.length,r=Array(n>2?n-2:0),i=2;i ',close:''},u=function(t){var e=t.name,n=t.onClick,r=t.svg;return a.a.createElement("span",{className:"auth0-lock-"+e+"-button",dangerouslySetInnerHTML:{__html:r},onClick:function(t){t.preventDefault(),n()}})};u.propTypes={name:i.a.string.isRequired,onClick:i.a.func.isRequired,svg:i.a.string.isRequired};var c=function(t){var e=t.onClick;return a.a.createElement(u,{name:"close",svg:s.close,onClick:e})};c.propTypes={onClick:i.a.func.isRequired};var l=function(t){var e=t.onClick;return a.a.createElement(u,{name:"back",svg:s.back,onClick:e})};l.propTypes={onClick:i.a.func.isRequired}},function(t,e,n){(function(e){function n(t){r["is"+t]=function(e){return u.call(e)==="[object "+t+"]"}}for(var r={},i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},o=Array.isArray,a=Object.keys,s=Object.prototype,u=s.toString,c=function(t){return function(e){return null==e?void 0:e[t]}},l=Math.pow(2,53)-1,M=c("length"),p=function(t){var e=M(t);return"number"==typeof e&&e>=0&&e<=l},g=["Arguments","Function","String","Number"],d=0;d]/;t.exports=i},function(t,e,n){"use strict";var r,i=n(12),o=n(82),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(90),c=u(function(t,e){if(t.namespaceURI!==o.svg||"innerHTML"in t)t.innerHTML=e;else{r=r||document.createElement("div"),r.innerHTML=""+e+"";for(var n=r.firstChild;n.firstChild;)t.appendChild(n.firstChild)}});if(i.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(t,e){if(t.parentNode&&t.parentNode.replaceChild(t,t),a.test(e)||"<"===e[0]&&s.test(e)){t.innerHTML=String.fromCharCode(65279)+e;var n=t.firstChild;1===n.data.length?t.removeChild(n):n.deleteData(0,1)}else t.innerHTML=e}),l=null}t.exports=c},function(t,e,n){function r(t){this.request=t,this.method=t.method,this.url=t.url,this.body=t._data,this.headers=t._header}function i(t){this.request=t}function o(t){this._sendTelemetry=t._sendTelemetry!==!1||t._sendTelemetry,this._telemetryInfo=t._telemetryInfo||null,this.headers=t.headers||{}}var a=n(103),s=n(109),u=n(55);r.prototype.abort=function(){this.request.abort()},r.prototype.getMethod=function(){return this.method},r.prototype.getBody=function(){return this.body},r.prototype.getUrl=function(){return this.url},r.prototype.getHeaders=function(){return this.headers},i.prototype.set=function(t,e){return this.request=this.request.set(t,e),this},i.prototype.send=function(t){return this.request=this.request.send(t),this},i.prototype.withCredentials=function(){return this.request=this.request.withCredentials(),this},i.prototype.end=function(t){return this.request=this.request.end(t),new r(this.request)},o.prototype.setCommonConfiguration=function(t,e){if(e=e||{},e.noHeaders)return t;var n=this.headers;t=t.set("Content-Type","application/json");for(var r=Object.keys(this.headers),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};if(null==t.username)return null;var e=d({},N,t),n=N.username.min,r=N.username.max;return e.username.min=parseInt(e.username.min,10)||n,e.username.max=parseInt(e.username.max,10)||r,e.username.min>e.username.max&&(e.username.min=n,e.username.max=r),e}function i(t,e,n){return f(t,o(e,n))}function o(t,e){return new M.a.fromJS({connections:a(t,e),defaultDirectory:e.defaultDirectory||null})}function a(t,e){var n=D.toJS(),r=Object.keys(e.connections).filter(function(t){return"passwordless"!=t}),i=null;return e.clientsConnections&&e.clientsConnections[t]&&(i=e.clientsConnections[t]),r.forEach(function(t){var r,o=e.connections[t].map(function(e){return s(t,e)}).filter(function(t){return null===i||i.includes(t.name)});(r=n[t]).push.apply(r,o)}),n}function s(t,e){var n={name:e.name,strategy:e.strategy,type:t};return"database"===t&&(e.validation&&e.validation.passwordPolicy&&(n.passwordPolicy=e.validation.passwordPolicy),n.passwordPolicy=n.passwordPolicy||"none",n.allowSignup="boolean"!=typeof e.allowSignup||e.allowSignup,n.allowForgot="boolean"!=typeof e.allowForgot||e.allowForgot,n.requireUsername="boolean"==typeof e.requiresUsername&&e.requiresUsername,n.validation=r(e.validation)),"enterprise"===t&&(n.domains=e.domains),n}function u(t){var e=c(t);return e&&g.findConnection(t,e)}function c(t){return y(t,"defaultDirectory",null)}var l=n(9),M=n.n(l),p=n(20),g=n(1);e.c=i,e.b=u,e.a=c;var d=Object.assign||function(t){for(var e=1;e2&&void 0!==arguments[2]?arguments[2]:p.username;if(!e||null==n)return M()(t).length>0;var r=M()(t.toLowerCase());if(r.lengthn.max)return!1;var i=g.exec(r);return i&&i[0]}function i(t){var e=n.i(c.u)(t).getIn(["validation","username"]);return e?e.toJS():null}function o(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"username",c=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=c?i(t):null,M=function(t){switch(o){case"email":return n.i(u.e)(t);case"username":return r(t,c,l);default:return a(t)?n.i(u.e)(t):r(t,c,l)}};return n.i(s.g)(t,"username",e,M)}function a(t){return t.indexOf("@")>-1}var s=n(8),u=n(29),c=n(10),l=n(35),M=n.n(l);e.b=i,e.a=o,e.c=a;var p={username:{min:1,max:15}},g=/^[a-zA-Z0-9_]+$/},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=n(231),M=n(8),p=n(11),g=n(1),d=n(72),h=n(112),f=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.componentDidMount=function(){var t=this.props.lock;g.ui.avatar(t)&&M.p(t)&&n.i(h.a)(g.id(t),M.p(t))},e.prototype.handleChange=function(t){var e=this.props,r=e.lock,i=e.validateFormat,o=e.usernameStyle;g.ui.avatar(r)&&n.i(h.b)(g.id(r),t.target.value),n.i(p.b)(p.g,"lock",g.id(r),d.a,t.target.value,o,i)},e.prototype.render=function(){var t=this.props,e=t.i18n,r=t.lock,i=t.placeholder,o=t.validateFormat,a=M.e(r,"username"),s=o?n.i(d.b)(r):{},u=function(t){return t?n.i(d.c)(t)||!o?"invalidErrorHint":"usernameFormatErrorHint":"blankErrorHint"},p=function(t){var n=u(t);return"usernameFormatErrorHint"===n&&o&&null!=s?e.str(n,s.min,s.max):e.str(n)};return c.a.createElement(l.a,{value:a,invalidHint:p(a),isValid:!M.k(r,"username"),onChange:this.handleChange.bind(this),placeholder:i})},e}(c.a.Component);e.a=f,f.propTypes={i18n:s.a.object.isRequired,lock:s.a.object.isRequired,placeholder:s.a.string.isRequired,validateFormat:s.a.bool.isRequired,usernameStyle:s.a.oneOf(["any","email","username"])},f.defaultProps={validateFormat:!1,usernameStyle:"username"}},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(222),a=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(3),u=n.n(s),c=n(0),l=n.n(c),M=n(32),p=n(229);n.d(e,"a",function(){return d});var g=Object.assign||function(t){for(var e=1;e3?r-3:0),a=3;a1)){var s=t.document.createElement("script");s.src=o,t.document.getElementsByTagName("head")[0].appendChild(s);var u=function(t){a[i]=a[i].filter(function(e){return e.url!==o||(setTimeout(function(){return e.cb(t)},0),!1)})},c=setTimeout(function(){return u(new Error(o+" timed out"))},2e4);s.addEventListener("load",function(){return clearTimeout(c)}),s.addEventListener("error",function(){clearTimeout(c),u(new Error(o+" could not be loaded."))})}}function i(e){var n=e.method,r=e.cb;t.Auth0[n]=r}var o=n(54);n.n(o);e.a=r,e.b=i,t.Auth0||(t.Auth0={});var a={}}).call(e,n(13))},function(t,e,n){"use strict";function r(t,e){return e.toLowerCase().indexOf(t.toLowerCase())>-1}function i(t,e){return t.indexOf(e,t.length-e.length)!==-1}e.b=r,e.a=i},function(t,e,n){var r=n(60),i=[" ","!",'"',"#","\\$","%","&","'","\\(","\\)","\\*","\\+",",","-","\\.","/",":",";","<","=",">","\\?","@","\\[","\\\\","\\]","\\^","_","`","{","\\|","}","~"].join("|"),o=new RegExp(i);t.exports={validate:function(t){if(!r.isObject(t))throw new Error("options should be an object");if(!r.isArray(t.expressions)||r.isEmpty(t.expressions))throw new Error("contains expects expressions to be a non-empty array");if(!t.expressions.every(function(t){return r.isFunction(t.explain)&&r.isFunction(t.test)}))throw new Error("contains expressions are invalid: An explain and a test function should be provided");return!0},explain:function(t){return{message:"Should contain:",code:"shouldContain",items:t.expressions.map(function(t){return t.explain()})}},missing:function(t,e){var n=t.expressions.map(function(t){var n=t.explain();return n.verified=t.test(e),n});return{message:"Should contain:",code:"shouldContain",verified:n.every(function(t){return t.verified}),items:n}},assert:function(t,e){return!!e&&t.expressions.every(function(t){return t.test(e)})},charsets:{upperCase:{explain:function(){return{message:"upper case letters (A-Z)",code:"upperCase"}},test:function(t){return/[A-Z]/.test(t)}},lowerCase:{explain:function(){return{message:"lower case letters (a-z)",code:"lowerCase"}},test:function(t){return/[a-z]/.test(t)}},specialCharacters:{explain:function(){return{message:"special characters (e.g. !@#$%^&*)",code:"specialCharacters"}},test:function(t){return o.test(t)}},numbers:{explain:function(){return{message:"numbers (i.e. 0-9)",code:"numbers"}},test:function(t){return/\d/.test(t)}}}}},function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},function(t,e,n){"use strict";function r(t,e){return Array.isArray(e)&&(e=e[1]),e?e.nextSibling:t.firstChild}function i(t,e,n){l.insertTreeBefore(t,e,n)}function o(t,e,n){Array.isArray(e)?s(t,e[0],e[1],n):h(t,e,n)}function a(t,e){if(Array.isArray(e)){var n=e[1];e=e[0],u(t,e,n),t.removeChild(n)}t.removeChild(e)}function s(t,e,n,r){for(var i=e;;){var o=i.nextSibling;if(h(t,i,r),i===n)break;i=o}}function u(t,e,n){for(;;){var r=e.nextSibling;if(r===n)break;t.removeChild(r)}}function c(t,e,n){var r=t.parentNode,i=t.nextSibling;i===e?n&&h(r,document.createTextNode(n),i):n?(d(i,n),u(r,i,e)):u(r,t,e)}var l=n(41),M=n(272),p=(n(7),n(15),n(90)),g=n(65),d=n(154),h=p(function(t,e,n){t.insertBefore(e,n)}),f=M.dangerouslyReplaceNodeWithMarkup,y={dangerouslyReplaceNodeWithMarkup:f,replaceDelimitedText:c,processUpdates:function(t,e){for(var n=0;n-1||a("96",t),!c.plugins[n]){e.extractEvents||a("97",t),c.plugins[n]=e;var r=e.eventTypes;for(var o in r)i(r[o],e,o)||a("98",o,t)}}}function i(t,e,n){c.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),c.eventNameDispatchConfigs[n]=t;var r=t.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];o(s,e,n)}return!0}return!!t.registrationName&&(o(t.registrationName,e,n),!0)}function o(t,e,n){c.registrationNameModules[t]&&a("100",t),c.registrationNameModules[t]=e,c.registrationNameDependencies[t]=e.eventTypes[n].dependencies}var a=n(4),s=(n(2),null),u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(t){s&&a("101"),s=Array.prototype.slice.call(t),r()},injectEventPluginsByName:function(t){var e=!1;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];u.hasOwnProperty(n)&&u[n]===i||(u[n]&&a("102",n),u[n]=i,e=!0)}e&&r()},getPluginModuleForEvent:function(t){var e=t.dispatchConfig;if(e.registrationName)return c.registrationNameModules[e.registrationName]||null;if(void 0!==e.phasedRegistrationNames){var n=e.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var i=c.registrationNameModules[n[r]];if(i)return i}}return null},_resetEventPlugins:function(){s=null;for(var t in u)u.hasOwnProperty(t)&&delete u[t];c.plugins.length=0;var e=c.eventNameDispatchConfigs;for(var n in e)e.hasOwnProperty(n)&&delete e[n];var r=c.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};t.exports=c},function(t,e,n){"use strict";function r(t){return"topMouseUp"===t||"topTouchEnd"===t||"topTouchCancel"===t}function i(t){return"topMouseMove"===t||"topTouchMove"===t}function o(t){return"topMouseDown"===t||"topTouchStart"===t}function a(t,e,n,r){var i=t.type||"unknown-event";t.currentTarget=y.getNodeFromInstance(r),e?h.invokeGuardedCallbackWithCatch(i,n,t):h.invokeGuardedCallback(i,n,t),t.currentTarget=null}function s(t,e){var n=t._dispatchListeners,r=t._dispatchInstances;if(Array.isArray(n))for(var i=0;i0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function o(t,e){var n=s.get(t);if(!n){return null}return n}var a=n(4),s=(n(27),n(51)),u=(n(15),n(21)),c=(n(2),n(6),{isMounted:function(t){var e=s.get(t);return!!e&&!!e._renderedComponent},enqueueCallback:function(t,e,n){c.validateCallback(e,n);var i=o(t);if(!i)return null;i._pendingCallbacks?i._pendingCallbacks.push(e):i._pendingCallbacks=[e],r(i)},enqueueCallbackInternal:function(t,e){t._pendingCallbacks?t._pendingCallbacks.push(e):t._pendingCallbacks=[e],r(t)},enqueueForceUpdate:function(t){var e=o(t,"forceUpdate");e&&(e._pendingForceUpdate=!0,r(e))},enqueueReplaceState:function(t,e,n){var i=o(t,"replaceState");i&&(i._pendingStateQueue=[e],i._pendingReplaceState=!0,void 0!==n&&null!==n&&(c.validateCallback(n,"replaceState"),i._pendingCallbacks?i._pendingCallbacks.push(n):i._pendingCallbacks=[n]),r(i))},enqueueSetState:function(t,e){var n=o(t,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(e),r(n)}},enqueueElementInternal:function(t,e,n){t._pendingElement=e,t._context=n,r(t)},validateCallback:function(t,e){t&&"function"!=typeof t&&a("122",e,i(t))}});t.exports=c},function(t,e,n){"use strict";var r=function(t){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,r,i){MSApp.execUnsafeLocalFunction(function(){return t(e,n,r,i)})}:t};t.exports=r},function(t,e,n){"use strict";function r(t){var e,n=t.keyCode;return"charCode"in t?0===(e=t.charCode)&&13===n&&(e=13):e=n,e>=32||13===e?e:0}t.exports=r},function(t,e,n){"use strict";function r(t){var e=this,n=e.nativeEvent;if(n.getModifierState)return n.getModifierState(t);var r=o[t];return!!r&&!!n[r]}function i(t){return r}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=i},function(t,e,n){"use strict";function r(t){var e=t.target||t.srcElement||window;return e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}t.exports=r},function(t,e,n){"use strict";function r(t,e){if(!o.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&i&&"wheel"===t&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(12);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},function(t,e,n){"use strict";function r(t,e){var n=null===t||t===!1,r=null===e||e===!1;if(n||r)return n===r;var i=typeof t,o=typeof e;return"string"===i||"number"===i?"string"===o||"number"===o:"object"===o&&t.type===e.type&&t.key===e.key}t.exports=r},function(t,e,n){"use strict";var r=(n(5),n(25)),i=(n(6),r);t.exports=i},function(t,e,n){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!==t&&e!==e}function i(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(var a=0;a=0?"&":"?")+t),this._sort){var e=this.url.indexOf("?");if(e>=0){var n=this.url.substring(e+1).split("&");f(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,e)+"?"+n.join("&")}}},l.prototype._isHost=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},l.prototype.end=function(t){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||r,this._appendQueryString(),this._end()},l.prototype._end=function(){var t=this,e=this.xhr=D.getXHR(),n=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var n=e.readyState;if(n>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4==n){var r;try{r=e.status}catch(t){r=0}if(!r){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var r=function(e,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=e,t.emit("progress",n)};if(this.hasListeners("progress"))try{e.onprogress=r.bind(null,"download"),e.upload&&(e.upload.onprogress=r.bind(null,"upload"))}catch(t){}try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],o=this._serializer||D.serialize[i?i.split(";")[0]:""];!o&&u(i)&&(o=D.serialize["application/json"]),o&&(n=o(n))}for(var a in this.header)null!=this.header[a]&&e.setRequestHeader(a,this.header[a]);return this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0!==n?n:null),this},D.get=function(t,e,n){var r=D("GET",t);return"function"==typeof e&&(n=e,e=null),e&&r.query(e),n&&r.end(n),r},D.head=function(t,e,n){var r=D("HEAD",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},D.options=function(t,e,n){var r=D("OPTIONS",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},D.del=M,D.delete=M,D.patch=function(t,e,n){var r=D("PATCH",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},D.post=function(t,e,n){var r=D("POST",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},D.put=function(t,e,n){var r=D("PUT",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r}},function(t,e){function n(t){return null!==t&&"object"==typeof t}t.exports=n},function(t,e,n){(function(t,r){function i(t,n){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),h(n)?r.showHidden=n:n&&e._extend(r,n),I(r.showHidden)&&(r.showHidden=!1),I(r.depth)&&(r.depth=2),I(r.colors)&&(r.colors=!1),I(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),u(r,t,r.depth)}function o(t,e){var n=i.styles[e];return n?"["+i.colors[n][0]+"m"+t+"["+i.colors[n][1]+"m":t}function a(t,e){return t}function s(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}function u(t,n,r){if(t.customInspect&&n&&v(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return D(i)||(i=u(t,i,r)),i}var o=c(t,n);if(o)return o;var a=Object.keys(n),h=s(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),z(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(n);if(0===a.length){if(v(n)){var f=n.name?": "+n.name:"";return t.stylize("[Function"+f+"]","special")}if(L(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(z(n))return l(n)}var y="",N=!1,j=["{","}"];if(d(n)&&(N=!0,j=["[","]"]),v(n)){y=" [Function"+(n.name?": "+n.name:"")+"]"}if(L(n)&&(y=" "+RegExp.prototype.toString.call(n)),w(n)&&(y=" "+Date.prototype.toUTCString.call(n)),z(n)&&(y=" "+l(n)),0===a.length&&(!N||0==n.length))return j[0]+y+j[1];if(r<0)return L(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");t.seen.push(n);var I;return I=N?M(t,n,r,h,a):a.map(function(e){return p(t,n,r,h,e,N)}),t.seen.pop(),g(I,y,j)}function c(t,e){if(I(e))return t.stylize("undefined","undefined");if(D(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}return N(e)?t.stylize(""+e,"number"):h(e)?t.stylize(""+e,"boolean"):f(e)?t.stylize("null","null"):void 0}function l(t){return"["+Error.prototype.toString.call(t)+"]"}function M(t,e,n,r,i){for(var o=[],a=0,s=e.length;a-1&&(s=o?s.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+s.split("\n").map(function(t){return" "+t}).join("\n"))):s=t.stylize("[Circular]","special")),I(a)){if(o&&i.match(/^\d+$/))return s;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+s}function g(t,e,n){var r=0;return t.reduce(function(t,e){return r++,e.indexOf("\n")>=0&&r++,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1]:n[0]+e+" "+t.join(", ")+" "+n[1]}function d(t){return Array.isArray(t)}function h(t){return"boolean"==typeof t}function f(t){return null===t}function y(t){return null==t}function N(t){return"number"==typeof t}function D(t){return"string"==typeof t}function j(t){return"symbol"==typeof t}function I(t){return void 0===t}function L(t){return m(t)&&"[object RegExp]"===C(t)}function m(t){return"object"==typeof t&&null!==t}function w(t){return m(t)&&"[object Date]"===C(t)}function z(t){return m(t)&&("[object Error]"===C(t)||t instanceof Error)}function v(t){return"function"==typeof t}function b(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t}function C(t){return Object.prototype.toString.call(t)}function T(t){return t<10?"0"+t.toString(10):t.toString(10)}function E(){var t=new Date,e=[T(t.getHours()),T(t.getMinutes()),T(t.getSeconds())].join(":");return[t.getDate(),A[t.getMonth()],e].join(" ")}function k(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var x=/%[sdj%]/g;e.format=function(t){if(!D(t)){for(var e=[],n=0;n=o)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),s=r[n];n * { display: none; } html.auth0-lock-html body .auth0-lock-container { background: #fff; display: block !important; } } .auth0-lock.auth0-lock, .auth0-lock.auth0-lock * { box-sizing: initial; } .auth0-lock.auth0-lock svg { background-color: transparent; } .auth0-lock.auth0-lock .auth0-global-message { color: #fff; text-align: center; padding: 10px; line-height: 1.8; font-size: 11px; font-weight: 600; text-transform: uppercase; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-error { background: #ff3e00; } .auth0-lock.auth0-lock .auth0-global-message.auth0-global-message-success { background: #7ed321; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter { height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message.global-message-enter.global-message-enter-active { -webkit-transition: all 0.2s; transition: all 0.2s; height: auto; paddingTop: 10px; paddingBottom: 10px; } .auth0-lock.auth0-lock .auth0-global-message.global-message-leave { -webkit-transition: all 0.2s; transition: all 0.2s; height: 0; paddingTop: 0; paddingBottom: 0; } .auth0-lock.auth0-lock .auth0-global-message span { -webkit-animation-delay: 0.2s; animation-delay: 0.2s; } .auth0-lock.auth0-lock { font-family: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif; text-rendering: optimizeLegibility; pointer-events: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 100%; right: 0; z-index: 1000000; } @media (min-width: 481px) { .auth0-lock.auth0-lock { display: table; } } .auth0-lock.auth0-lock a { text-decoration: none; } .auth0-lock.auth0-lock a:active, .auth0-lock.auth0-lock a:focus { outline: none; } .auth0-lock.auth0-lock input:focus, .auth0-lock.auth0-lock button:focus { outline: none; } .auth0-lock.auth0-lock .auth0-lock-overlay { background: -webkit-radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); background: radial-gradient(#40404b, #111118) rgba(34,34,40,0.94); position: fixed; top: 0; bottom: 0; right: 0; left: 0; z-index: -1; opacity: 0; -webkit-transition: opacity 0.2s ease-in 0.4s; transition: opacity 0.2s ease-in 0.4s; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-center { vertical-align: middle; display: table-cell; margin: auto; overflow-y: auto; } } .auth0-lock.auth0-lock .auth0-lock-widget { width: 300px; opacity: 0; -webkit-transform: translateY(100%) scale(0.8); transform: translateY(100%) scale(0.8); -webkit-transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); transition-timing-function: cubic-bezier(0.3, 0, 0, 1.4); margin: 0 auto; border-radius: 5px; max-height: 100vh; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-widget { -webkit-transition: -webkit-transform 0.4s, opacity 0.3s; -webkit-transition: opacity 0.3s, -webkit-transform 0.4s; transition: opacity 0.3s, -webkit-transform 0.4s; transition: transform 0.4s, opacity 0.3s; transition: transform 0.4s, opacity 0.3s, -webkit-transform 0.4s; } } .auth0-lock.auth0-lock .auth0-lock-widget-container { position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane { height: 100%; border-radius: 6px; background: #fff; position: relative; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-content, .auth0-lock.auth0-lock .auth0-lock-cred-pane.horizontal-fade-leave .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock .auth0-lock-cred-pane.auth0-lock-moving { overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-header { text-align: center; padding: 11px; height: 118px; color: #333; position: relative; background: #fff; border-radius: 5px 5px 0 0; overflow: hidden; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-close-button, .auth0-lock.auth0-lock .auth0-lock-back-button { box-sizing: content-box !important; background: #fff; border-radius: 100px; height: 10px; width: 10px; position: absolute; top: 14px; right: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); color: #333; z-index: 100; border: 6px solid #fff; cursor: pointer; line-height: 0; } .auth0-lock.auth0-lock .auth0-lock-close-button svg, .auth0-lock.auth0-lock .auth0-lock-back-button svg { box-sizing: content-box; } .auth0-lock.auth0-lock .auth0-lock-close-button polygon, .auth0-lock.auth0-lock .auth0-lock-back-button polygon { fill: #373737; } .auth0-lock.auth0-lock .auth0-lock-back-button { left: 14px; } .auth0-lock.auth0-lock .auth0-lock-header-avatar { height: 80px; width: 80px; display: block; border-radius: 100px; margin: -16px auto 0; position: absolute; left: 0; right: 0; z-index: 1000; box-shadow: 0 1px 2px rgba(0,0,0,0.4); -webkit-animation: fadeIn 0.75s both; animation: fadeIn 0.75s both; } @media (min-width: 768px) { .auth0-lock.auth0-lock .auth0-lock-header-avatar { -webkit-animation: fadeInDown 0.75s both; animation: fadeInDown 0.75s both; } } .auth0-lock.auth0-lock .auth0-lock-header-bg { position: absolute; height: 118px; width: 100%; overflow: hidden; top: 0; left: 0; pointer-events: none; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg { background: rgba(241,241,241,0.8); } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur { display: none; height: 100%; width: 100%; border-top-left-radius: 5px; border-top-right-radius: 5px; -webkit-filter: blur(40px) grayscale(1); -ms-filter: blur(40px) grayscale(1); filter: blur(40px) grayscale(1); -webkit-backdrop-filter: blur(0); background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: 300px; opacity: 0; -webkit-transition: 0s ease 0s; transition: 0s ease 0s; } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { -webkit-filter: blur(30px); -ms-filter: blur(30px); filter: blur(30px); -webkit-backdrop-filter: blur(0); background-position: center; background-size: 800px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-header-bg.auth0-lock-blur-support .auth0-lock-header-bg-blur { display: block; } } .auth0-lock.auth0-lock .auth0-lock-header-bg .auth0-lock-header-bg-solid { height: 100%; opacity: 0.08; } .auth0-lock.auth0-lock .auth0-lock-header-welcome { font-size: 18px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-header-logo { width: auto; height: 58px; display: inline-block; margin: 0 0 11px; vertical-align: middle; -webkit-transition: margin-top 0.4s; transition: margin-top 0.4s; } .auth0-lock.auth0-lock .auth0-lock-header-logo.centered { margin-top: 20px; } .auth0-lock.auth0-lock .auth0-lock-firstname { font-size: 18px; margin-top: 64px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; padding: 0 10px; } .auth0-lock.auth0-lock .auth0-lock-name { font-size: 22px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; padding: 0 10px; } .auth0-lock.auth0-lock .auth0-lock-content { padding: 20px; box-sizing: border-box; } .auth0-lock.auth0-lock .auth0-lock-form { display: block; -webkit-animation: fadeIn 0.2s; animation: fadeIn 0.2s; } .auth0-lock.auth0-lock .auth0-lock-form h2 { font-size: 22px; font-weight: normal; text-align: center; margin: 0 0 15px; color: #000; } .auth0-lock.auth0-lock .auth0-lock-form p { font-size: 13px; line-height: 1.8; text-align: center; margin-top: 0; margin-bottom: 15px; color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative { margin-top: 20px; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-form .auth0-lock-alternative .auth0-lock-alternative-link { font-size: 13px; color: rgba(0,0,0,0.87); cursor: pointer; margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-block { position: relative; margin-bottom: 15px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-input-block { margin-bottom: 10px; } } .auth0-lock.auth0-lock .auth0-lock-input-block:last-child { margin-bottom: 0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap { border-radius: 3px; border: 1px solid #f1f1f1; position: relative; background: #f1f1f1; -webkit-transition: border-color 0.8s; transition: border-color 0.8s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-input-wrap-with-icon { padding-left: 40px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon-arrow { position: absolute; right: 15px; top: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon { position: absolute; font-size: 12px; top: 13px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon path, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon path { fill: #888; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-mobile, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-mobile { width: 9px; height: 14px; top: 14px; left: 16px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-icon.auth0-lock-icon-box, .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-custom-icon.auth0-lock-icon-box { width: 12px; height: 14px; top: auto; bottom: 14px; left: 14px; } .auth0-lock.auth0-lock .auth0-lock-input-wrap.auth0-lock-focused { border-color: #a0a0a0; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input { border: 0; padding: 0 14px; right: 0; height: 40px; font-size: 13px; width: 100%; border-radius: 0 2px 2px 0; box-sizing: border-box; position: relative; color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.animated { -webkit-animation-duration: 0.5s; animation-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location { background-color: #f9f9f9; text-align: left; } .auth0-lock.auth0-lock .auth0-lock-input-wrap .auth0-lock-input.auth0-lock-input-location.auth0-lock-input-with-placeholder { color: rgba(0,0,0,0.54); } .auth0-lock.auth0-lock .auth0-lock-error .auth0-lock-input-wrap { border-color: #f00; -webkit-transition: 0.3s ease-in-out; transition: 0.3s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-input-checkbox { text-align: left; display: block; font-size: 12px; color: rgba(0,0,0,0.54); line-height: 22px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-input-checkbox label input { float: left; margin-top: 5px; } .auth0-lock.auth0-lock .auth0-lock-input-checkbox span { display: block; margin-left: 20px; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane, .auth0-lock.auth0-lock .auth0-lock-last-login-pane { position: relative; } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container { -webkit-animation: fadeIn 0.75s ease-in-out !important; animation: fadeIn 0.75s ease-in-out !important; position: absolute; width: 54px; height: 54px; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .auth0-lock.auth0-lock .auth-lock-social-buttons-pane .auth0-loading-container .auth0-loading, .auth0-lock.auth0-lock .auth0-lock-last-login-pane .auth0-loading-container .auth0-loading { width: 50px; height: 50px; border-radius: 50%; top: 0; left: 0; opacity: 1; } .auth0-lock.auth0-lock .auth0-lock-social-buttons-container { text-align: center; } .auth0-lock.auth0-lock .auth0-lock-social-button { border: 0; padding: 0; display: inline-block; box-sizing: border-box; overflow: hidden; border-radius: 3px; margin: 4px; position: relative; width: 40px; height: 40px; -webkit-transition: background-color 0.2s ease-in-out; transition: background-color 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-icon { width: 40px; height: 40px; position: absolute; top: 0; left: 0; transition: background-color 0.3s; -webkit-transition: background-color 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button:hover .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button:focus .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button .auth0-lock-social-button-text { display: none; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button { display: block; margin: 10px 0 0; width: 100%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:first-child { margin-top: 0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""], .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] { background-color: #c0c0c0; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider=""] .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button[data-provider="auth0"] .auth0-lock-social-button-icon { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iNTNweCIgaGVpZ2h0PSI2NXB4IiB2aWV3Qm94PSIwIDAgNTMgNjUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+U2hhcGU8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFnZS0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSI2NHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTE1My4wMDAwMDAsIC02MDMzLjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTYxLjEyNSw2MDk4IEMxMTU2LjYzNzk3LDYwOTggMTE1Myw2MDk0LjM2MTg2IDExNTMsNjA4OS44NzU2MyBMMTE1Myw2MDY1LjQ5OTQ5IEMxMTUzLDYwNjEuMDEyMjUgMTE1Ni42Mzc5Nyw2MDU3LjM3MzEgMTE2MS4xMjUsNjA1Ny4zNzMxIEwxMTYxLjEyNSw2MDUxLjI4MjExIEMxMTYxLjEyNSw2MDQxLjE4NjMyIDExNjkuMzA5OTIsNjAzMyAxMTc5LjQwNjI1LDYwMzMgQzExODkuNTAyNTgsNjAzMyAxMTk3LjY4NzUsNjA0MS4xODYzMiAxMTk3LjY4NzUsNjA1MS4yODIxMSBMMTE5Ny42ODc1LDYwNTcuMzc0MTEgQzEyMDIuMTc0NTMsNjA1Ny4zNzQxMSAxMjA1LjgxMjUsNjA2MS4wMTIyNSAxMjA1LjgxMjUsNjA2NS40OTk0OSBMMTIwNS44MTI1LDYwODkuODc1NjMgQzEyMDUuODEyNSw2MDk0LjM2MTg2IDEyMDIuMTc0NTMsNjA5OCAxMTk3LjY4NzUsNjA5OCBMMTE2MS4xMjUsNjA5OCBaIE0xMTkzLjYyNjAyLDYwNTEuMjgyMTEgQzExOTMuNjI2MDIsNjA0My40Mjk5NCAxMTg3LjI1OTA2LDYwMzcuMDYyNjkgMTE3OS40MDcyNyw2MDM3LjA2MjY5IEMxMTcxLjU1NTQ3LDYwMzcuMDYyNjkgMTE2NS4xODg1Miw2MDQzLjQyOTk0IDExNjUuMTg4NTIsNjA1MS4yODIxMSBMMTE2NS4xODg1Miw2MDU3LjM3MzEgTDExOTMuNjI2MDIsNjA1Ny4zNzMxIEwxMTkzLjYyNjAyLDYwNTEuMjgyMTEgTDExOTMuNjI2MDIsNjA1MS4yODIxMSBaIE0xMjAxLjc1LDYwNjUuNDk5NDkgQzEyMDEuNzUsNjA2My4yNTQ4NiAxMTk5LjkzMTAyLDYwNjEuNDM1NzkgMTE5Ny42ODc1LDYwNjEuNDM1NzkgTDExNjEuMTI1LDYwNjEuNDM1NzkgQzExNTguODgxNDgsNjA2MS40MzU3OSAxMTU3LjA2MjUsNjA2My4yNTQ4NiAxMTU3LjA2MjUsNjA2NS40OTk0OSBMMTE1Ny4wNjI1LDYwODkuODc1NjMgQzExNTcuMDYyNSw2MDkyLjExNjIxIDExNTguODgxNDgsNjA5My45MzUyOCAxMTYxLjEyNSw2MDkzLjkzNTI4IEwxMTk3LjY4NzUsNjA5My45MzUyOCBDMTE5OS45MzEwMiw2MDkzLjkzNTI4IDEyMDEuNzUsNjA5Mi4xMTYyMSAxMjAxLjc1LDYwODkuODc1NjMgTDEyMDEuNzUsNjA2NS40OTk0OSBMMTIwMS43NSw2MDY1LjQ5OTQ5IFogTTExNzcuMzc1LDYwODMuNzgwNTggTDExNzcuMzc1LDYwNzEuNTkyNTEgQzExNzcuMzc1LDYwNzAuNDcxMjEgMTE3OC4yODM5OCw2MDY5LjU2MTE3IDExNzkuNDA2MjUsNjA2OS41NjExNyBDMTE4MC41Mjg1Miw2MDY5LjU2MTE3IDExODEuNDM3NSw2MDcwLjQ3MTIxIDExODEuNDM3NSw2MDcxLjU5MjUxIEwxMTgxLjQzNzUsNjA4My43ODA1OCBDMTE4MS40Mzc1LDYwODQuOTAwODcgMTE4MC41Mjg1Miw2MDg1LjgxMDkxIDExNzkuNDA2MjUsNjA4NS44MTA5MSBDMTE3OC4yODUsNjA4NS44MTA5MSAxMTc3LjM3NSw2MDg0LjkwMDg3IDExNzcuMzc1LDYwODMuNzgwNTggWiIgaWQ9IlNoYXBlIj48L3BhdGg+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-size: 38%; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button .auth0-lock-social-button-text { box-sizing: border-box; display: block; overflow: hidden; width: 100%; padding-left: 54px; padding-right: 15px; line-height: 40px; text-align: left; text-transform: uppercase; text-overflow: ellipsis; font-size: 10px; font-weight: 600; letter-spacing: 0.7px; color: #fff; white-space: nowrap; transition: background 0.3s; -webkit-transition: background 0.3s; } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover:not([disabled]) .auth0-lock-social-button-icon, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus:not([disabled]) .auth0-lock-social-button-icon { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:hover:not([disabled]) .auth0-lock-social-button-text, .auth0-lock.auth0-lock .auth0-lock-social-button.auth0-lock-social-big-button:focus:not([disabled]) .auth0-lock-social-button-text { background-color: rgba(0,0,0,0.3); } .auth0-lock.auth0-lock .auth0-lock-social-button[disabled] { background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-terms { background: #eee; text-align: center; display: block; font-size: 12px; color: rgba(0,0,0,0.54); line-height: 22px; padding: 10px; position: relative; } .auth0-lock.auth0-lock .auth0-lock-terms a { color: rgba(0,0,0,0.87); } .auth0-lock.auth0-lock .auth0-lock-submit { border: 0; padding: 14px; display: block; box-sizing: border-box; width: 100%; height: 70px; overflow: hidden; border-radius: 0 0 5px 5px; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; color: #fff; letter-spacing: 1px; font-size: 14px; text-transform: uppercase; /*submit button animation*/ } .auth0-lock.auth0-lock .auth0-lock-submit span { display: inline-block; -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit span svg { vertical-align: middle; } .auth0-lock.auth0-lock .auth0-lock-submit span svg.icon-text { margin: -4px 0 0 5px; } .auth0-lock.auth0-lock .auth0-lock-submit .auth0-label-submit { height: 42px; line-height: 42px; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-submit:hover:not([disabled]) span { -webkit-transform: scale(1.05); transform: scale(1.05); } } .auth0-lock.auth0-lock .auth0-lock-submit:focus { box-shadow: inset 0 0 100px 20px rgba(0,0,0,0.2); } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] { background-color: #9b9b9b !important; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg circle, .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { stroke: rgba(255,255,255,0.6); -webkit-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } .auth0-lock.auth0-lock .auth0-lock-submit[disabled] span svg path { fill: rgba(255,255,255,0.6); } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter { opacity: 0; } .auth0-lock.auth0-lock .auth0-lock-submit.vslide-enter.vslide-enter-active { opacity: 1; -webkit-transition-duration: 0.5s; transition-duration: 0.5s; } .auth0-lock.auth0-lock .auth0-loading-container { position: relative; display: none; } .auth0-lock.auth0-lock .auth0-loading-container .auth0-loading { position: absolute; top: 4px; left: 44%; width: 30px; height: 30px; border-width: 2px; border-style: solid; border-color: rgba(0,0,0,0.4) rgba(0,0,0,0.4) rgba(0,0,0,0.2) rgba(0,0,0,0.2); opacity: 0.9; border-radius: 20px; -webkit-animation: rotate 1s linear infinite; animation: rotate 1s linear infinite; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-terms { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit { background-color: #eee !important; -webkit-transition: background 0.5s ease; transition: background 0.5s ease; cursor: initial; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-submit span { -webkit-animation: fadeOutDownBig 1s both; animation: fadeOutDownBig 1s both; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-loading-container { -webkit-animation: fadeInDownBig 1s both; animation: fadeInDownBig 1s both; display: block; } .auth0-lock.auth0-lock.auth0-lock-mode-loading .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-header-avatar { -webkit-animation: fadeOut 0.3s both; animation: fadeOut 0.3s both; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-content, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-terms, .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-submit { opacity: 0.3; pointer-events: none; } .auth0-lock.auth0-lock.auth0-lock-auxiliary .auth0-lock-back-button { opacity: 0; visibility: hidden; -webkit-transition: 0.25s; transition: 0.25s; } .auth0-lock.auth0-lock .auth0-lock-select-country { background-color: #fff; position: absolute; padding: 0; font-size: 14px; color: #666; bottom: 0; top: 0; right: 0; left: 0; border-radius: 5px; overflow: hidden; z-index: 200; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-back-button { opacity: 1; visibility: visible; top: 19px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-search { background-color: #e3e5e9; padding: 10px; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-wrap { margin: 0; border: none; margin-left: 40px; overflow: hidden; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-icon { width: 16px; height: 16px; top: 12px; left: 9px; z-index: 1; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-input-search { border: none; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code { position: relative; height: calc(100% - 60px); overflow-y: scroll; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code ul { margin: 0; padding: 0; } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { list-style: none; text-align: left; border-bottom: 1px solid #eee; cursor: pointer; color: #000; font-size: 14px; padding: 15px 20px; margin: 0; text-overflow: ellipsis; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; } @media (min-width: 481px) { .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li { padding: 10px 20px; } } .auth0-lock.auth0-lock .auth0-lock-select-country .auth0-lock-list-code li.auth0-lock-list-code-highlighted { background-color: #2eb5ff; color: #fff; } .auth0-lock.auth0-lock .auth0-lock-confirmation { background-color: #fff; position: absolute; text-align: center; line-height: 2; font-size: 14px; color: #666; width: 100%; height: 100%; top: 0; left: 0; z-index: 200; border-radius: 5px; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-confirmation-content { width: 100%; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); position: absolute; } .auth0-lock.auth0-lock .auth0-lock-confirmation p { padding: 0 14px; margin-bottom: 6px; } .auth0-lock.auth0-lock .auth0-lock-confirmation a { display: block; font-weight: 500; color: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg { width: 15px; height: 16px; margin-bottom: -4px; margin-left: 0px; display: inline-block; -webkit-transition: -webkit-transform 1s ease; transition: -webkit-transform 1s ease; transition: transform 1s ease; transition: transform 1s ease, -webkit-transform 1s ease; -webkit-transform: rotate(120deg); transform: rotate(120deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation a svg path { fill: #09c; } .auth0-lock.auth0-lock .auth0-lock-confirmation a:hover svg { -webkit-transform: rotate(490deg); transform: rotate(490deg); } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-label { color: #008000; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-sent-failed-label { color: #f00; -webkit-animation: fadeIn 1s both; animation: fadeIn 1s both; font-weight: 600; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 2; stroke-miterlimit: 10; stroke: #7ac142; fill: none; -webkit-animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; animation: stroke 0.6s 0.4s cubic-bezier(0.65, 0, 0.45, 1) forwards; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark { width: 56px; height: 56px; border-radius: 50%; display: block; stroke-width: 2; stroke: #fff; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #7ac142; -webkit-animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; animation: fill 0.4s ease-in-out 0.7s forwards, scale 0.3s ease-in-out 1.1s both; } .auth0-lock.auth0-lock .auth0-lock-confirmation .checkmark__check { -webkit-transform-origin: 50% 50%; transform-origin: 50% 50%; } .auth0-lock.auth0-lock .auth0-lock-confirmation .auth0-lock-back-button { opacity: 1; visibility: visible; } .auth0-lock.auth0-lock .auth0-lock-forgot-link { font-size: 12px; display: block; text-align: center; margin: 30px 0 0 0; color: #5c666f; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom { position: absolute; bottom: 15px; left: 15px; z-index: -1; text-align: center; padding: 6px 10px; border-radius: 3px; background: rgba(255,255,255,0.1); } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge { display: inline-block; color: rgba(255,255,255,0.7); font-size: 14px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge svg { vertical-align: middle; margin: 0 4px; } .auth0-lock.auth0-lock .auth0-lock-badge-bottom .auth0-lock-badge:hover svg g#LogoBadge { fill: #eb5424; fill-opacity: 1; } .auth0-lock.auth0-lock.auth0-lock-opened { opacity: 1; pointer-events: auto; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened { position: absolute; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { opacity: 0.9; -webkit-transition: opacity 0.3s ease-in 0s; transition: opacity 0.3s ease-in 0s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-overlay { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header { border-radius: 0; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-header-avatar { width: 70px; height: 70px; margin: 10px auto 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-firstname { margin-top: 72px; } } .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); } @media (min-width: 481px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; box-shadow: 0 0 40px 4px #111118; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget { width: 100%; height: 100%; position: absolute; top: 0; bottom: 0; border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-widget-container { height: 100%; overflow-y: scroll; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-cred-pane { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-body-content { background: #fff; min-height: calc(100vh - 188px); display: table; width: 100%; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content { width: 100%; display: table-cell; vertical-align: middle; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-content .auth0-lock-form p { font-size: 14px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-tabs-container { position: absolute; top: 0; left: 0; width: 100%; margin: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-terms { position: absolute; bottom: -42px; width: 100%; left: 0; box-sizing: border-box; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-sign-up-terms-agreement label input { top: 2px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-submit { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-badge-bottom { display: none; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened .auth0-lock-confirmation { border-radius: 0; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 256px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit .auth0-lock-body-content { min-height: calc(100vh - 118px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-no-submit.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 186px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-terms .auth0-lock-body-content { margin-bottom: 42px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs .auth0-lock-body-content { min-height: calc(100vh - 228px); padding-top: 40px; } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-with-terms .auth0-lock-body-content { min-height: calc(100vh - 228px - 42px); } } @media screen and (max-width: 480px) { .auth0-lock.auth0-lock.auth0-lock-opened.auth0-lock-with-tabs.auth0-lock-iphone .auth0-lock-body-content { min-height: calc(100vh - 296px); } } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame { opacity: 1; pointer-events: auto; position: relative; width: auto; margin-left: auto; margin-right: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur { opacity: 0.4; -webkit-transition: 1s ease 1s; transition: 1s ease 1s; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-header-bg .auth0-lock-header-bg-blur.auth0-lock-no-grayscale { opacity: 0.5; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .auth0-lock-widget { opacity: 1; -webkit-transform: translateY(0%) scale(1); transform: translateY(0%) scale(1); -webkit-transition: -webkit-transform 0.6s, opacity 0.6s; -webkit-transition: opacity 0.6s, -webkit-transform 0.6s; transition: opacity 0.6s, -webkit-transform 0.6s; transition: transform 0.6s, opacity 0.6s; transition: transform 0.6s, opacity 0.6s, -webkit-transform 0.6s; -webkit-transition-delay: 0.5s; transition-delay: 0.5s; margin: auto; } .auth0-lock.auth0-lock.auth0-lock-opened-in-frame .global-error { position: absolute; display: none; } .auth0-lock .auth0-lock-form div.auth0-lock-pane-separator { padding-top: 15px; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content { opacity: 1; } #social-container.lock-container .auth0-lock-mode-loading .auth0-lock-content .auth0-lock-social-buttons-container { opacity: 0.3; } .auth0-lock.auth0-lock .auth0-lock-tabs-container { margin: -20px -20px 20px; height: 40px; } .auth0-lock.auth0-lock .auth0-lock-tabs { background: #fff; padding: 0; margin: 0; font-size: 13px; letter-spacing: 0.7px; box-shadow: 0 1px 0 0 rgba(92,102,111,0.2); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -ms-flex-line-pack: center; align-content: center; -webkit-box-align: stretch; -ms-flex-align: stretch; align-items: stretch; } .auth0-lock.auth0-lock .auth0-lock-tabs:after { content: ""; display: table; clear: both; } .auth0-lock.auth0-lock .auth0-lock-tabs li { width: 50%; display: block; list-style: none; float: left; padding: 0; margin: 0; text-align: center; cursor: pointer; } .auth0-lock.auth0-lock .auth0-lock-tabs li a { padding: 11px 10px; display: block; text-decoration: none; color: rgba(92,102,111,0.6); font-weight: 500; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current { box-shadow: 0 1px 0 0 #5c666f; cursor: default; } .auth0-lock.auth0-lock .auth0-lock-tabs li.auth0-lock-tabs-current a { color: #5c666f; } .auth0-lock-password-strength { width: 100%; bottom: 41px; display: block; text-align: left; padding-top: 0; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-transition: height 0.3s ease; transition: height 0.3s ease; } @media (min-width: 481px) { .auth0-lock-password-strength { position: absolute; background: #1f242e; box-shadow: 0 0 20px 0 rgba(0,0,0,0.5); -webkit-transition: none; transition: none; width: 100%; border-radius: 3px; z-index: 1000; } .auth0-lock-password-strength:after { top: 100%; left: 21px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; border-top-color: #1f242e; border-width: 9px; margin-left: -9px; } } .auth0-lock-password-strength.fadeOut { opacity: 0; -webkit-transition: 0.3s 0.3s ease; transition: 0.3s 0.3s ease; visibility: hidden; } .auth0-lock-password-strength.fadeIn ul { -webkit-animation: fadeIn 0.3s 0.1s both; animation: fadeIn 0.3s 0.1s both; } .auth0-lock-password-strength li, .auth0-lock-password-strength ul { margin: 0; padding: 0; list-style: none; color: #dd4b39; } .auth0-lock-password-strength > ul { padding: 15px; padding-top: 0; } @media (min-width: 481px) { .auth0-lock-password-strength > ul { padding-top: 12px; } } .auth0-lock-password-strength li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTJweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTIgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+RXJyb3I8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+PC9kZWZzPiAgICA8ZyBpZD0iUGFzc3dvcmQtUG9saWN5IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJBcnRib2FyZC0xIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAwLjAwMDAwMCwgLTE0OC4wMDAwMDApIj4gICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTUwLjAwMDAwMCwgNzUuMDAwMDAwKSI+ICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC1Db3B5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNS4wMDAwMDAsIDM2LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9IkVycm9yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNS4wMDAwMDAsIDM3LjAwMDAwMCkiPiAgICAgICAgICAgICAgICAgICAgICAgIDxlbGxpcHNlIGlkPSJPdmFsLTkwIiBmaWxsPSIjQkU0NTI3IiBjeD0iNiIgY3k9IjYiIHJ4PSI2IiByeT0iNiI+PC9lbGxpcHNlPiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05LDMuNjA0Mjg1NzEgTDguMzk1NzE0MjksMyBMNiw1LjM5NTcxNDI5IEwzLjYwNDI4NTcxLDMgTDMsMy42MDQyODU3MSBMNS4zOTU3MTQyOSw2IEwzLDguMzk1NzE0MjkgTDMuNjA0Mjg1NzEsOSBMNiw2LjYwNDI4NTcxIEw4LjM5NTcxNDI5LDkgTDksOC4zOTU3MTQyOSBMNi42MDQyODU3MSw2IEw5LDMuNjA0Mjg1NzEgWiIgaWQ9IlNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICAgICAgICAgICAgICA8L2c+ICAgICAgICAgICAgICAgIDwvZz4gICAgICAgICAgICA8L2c+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4="); background-position: left center; background-repeat: no-repeat; padding-left: 20px; } .auth0-lock-password-strength ul li ul { margin-left: 20px; } .auth0-lock-password-strength ul li ul li { color: #000; } @media (min-width: 481px) { .auth0-lock-password-strength ul li ul li { color: #fff; } } .auth0-lock-password-strength ul li ul li span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+T3ZhbCAxPC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPjwvZGVmcz4gICAgPGcgaWQ9IlBhZ2UtMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iSXBob25lLTYtLS1OYXRpdmUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NC4wMDAwMDAsIC0yMTQuMDAwMDAwKSIgZmlsbD0iI0QwRDJEMyI+ICAgICAgICAgICAgPHBhdGggZD0iTTUwLjExNDk3MzMsMjI2IEM1My40Mjg2ODE4LDIyNiA1Ni4xMTQ5NzMzLDIyMy4zMTM3MDggNTYuMTE0OTczMywyMjAgQzU2LjExNDk3MzMsMjE2LjY4NjI5MiA1My40Mjg2ODE4LDIxNCA1MC4xMTQ5NzMzLDIxNCBDNDYuODAxMjY0OCwyMTQgNDQuMTE0OTczMywyMTYuNjg2MjkyIDQ0LjExNDk3MzMsMjIwIEM0NC4xMTQ5NzMzLDIyMy4zMTM3MDggNDYuODAxMjY0OCwyMjYgNTAuMTE0OTczMywyMjYgWiIgaWQ9Ik92YWwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+"); } .auth0-lock-password-strength li { line-height: 1.5; margin-top: 5px; font-size: 13px; -webkit-transition: color 0.3s ease-in; transition: color 0.3s ease-in; position: relative; } .auth0-lock-password-strength li.auth0-lock-checked { color: #7ed321; } .auth0-lock-password-strength li.auth0-lock-checked span { background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+PHN2ZyB3aWR0aD0iMTNweCIgaGVpZ2h0PSIxMnB4IiB2aWV3Qm94PSIwIDAgMTMgMTIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+R3JvdXAgNDwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9IklwaG9uZS02LS0tTmF0aXZlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQuMDAwMDAwLCAtMjQwLjAwMDAwMCkiPiAgICAgICAgICAgIDxnIGlkPSJHcm91cC00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NC4xMTQ5NzMsIDI0MC4wMDAwMDApIj4gICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtOTAiIGZpbGw9IiM4MEQxMzUiIGN4PSI2IiBjeT0iNiIgcng9IjYiIHJ5PSI2Ij48L2VsbGlwc2U+ICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik00LjU0MjM1MzYxLDcuNzMzNzgwNzYgTDIuNjQ1ODIxNDksNS44NjgwMDg5NSBMMiw2LjQ5ODg4MTQzIEw0LjU0MjM1MzYxLDkgTDEwLDMuNjMwODcyNDggTDkuMzU4NzI2NTUsMyBMNC41NDIzNTM2MSw3LjczMzc4MDc2IFoiIGlkPSJTaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPiAgICAgICAgICAgIDwvZz4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg=="); } .auth0-lock-error-msg { color: #f00; font-size: 12px; margin-top: 5px; } @media (min-width: 481px) { .auth0-lock-error-msg { color: #000; background: #fff; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); margin: 0; border-radius: 3px; position: absolute; left: calc(100% + 7px); top: 1px; display: inline-table; } .auth0-lock-error-msg span { background: #fff; padding: 12px 15px; display: block; position: relative; border-radius: 3px; z-index: 1; } .auth0-lock-error-msg:after { content: ""; background: #fff; height: 6px; width: 6px; position: absolute; pointer-events: none; box-shadow: 0 0 5px 0 rgba(0,0,0,0.6); right: calc(100% - 3px); top: 50%; -webkit-transform: translateY(-50%) rotate(45deg); transform: translateY(-50%) rotate(45deg); } } .auth0-lock .auth0-loading-screen { min-height: 42px; } .auth0-lock .auth0-loading-screen .auth0-loading-container { display: block; } .auth0-lock .auth0-sso-notice-container { background: rgba(0,0,0,0.03); color: rgba(0,0,0,0.54); padding: 10px 0; margin: -20px -20px 20px; text-align: center; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; } .auth0-lock .auth0-sso-notice-container .auth0-lock-icon { width: 12px; height: 14px; position: relative; top: 2px; right: 2px; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button.auth0-lock-social-big-button { margin-top: 0; } .auth0-lock .auth0-lock-last-login-pane .auth0-lock-social-button[data-provider="auth0"] .auth0-lock-social-button-text { text-transform: none; font-size: 12px; font-weight: normal; } .auth0-lock .auth0-lock-sign-up-terms-agreement label input { margin-right: 5px; position: relative; } input[type="button"] { cursor: pointer; } ',l=function(t){function e(n,o,s){r(this,e);var c=i(this,t.call(this,n,o,s,u.a));return a(),c}return o(e,t),e}(s.a);e.a=l,l.version="10.16.0",l.css=c},function(t,e,n){function r(){this.webAuth=null,this.version=i.raw,this.extensibilityPoints=["popup.authorize","popup.getPopupHandler"]}var i=n(55),o=n(22),a=n(166);r.prototype.setWebAuth=function(t){this.webAuth=t},r.prototype.supports=function(t){var e=o.getWindow();return(!!e.cordova||!!e.electron)&&this.extensibilityPoints.indexOf(t)>-1},r.prototype.init=function(){return new a(this.webAuth)},t.exports=r},function(t,e,n){function r(t){u.check(t,{type:"object",message:"options parameter is not valid"},{domain:{type:"string",message:"domain option is required"},clientID:{type:"string",message:"clientID option is required"},responseType:{optional:!0,type:"string",message:"responseType is not valid"},responseMode:{optional:!0,type:"string",message:"responseMode is not valid"},redirectUri:{optional:!0,type:"string",message:"redirectUri is not valid"},scope:{optional:!0,type:"string",message:"scope is not valid"},audience:{optional:!0,type:"string",message:"audience is not valid"},_disableDeprecationWarnings:{optional:!0,type:"boolean",message:"_disableDeprecationWarnings option is not valid"},_sendTelemetry:{optional:!0,type:"boolean",message:"_sendTelemetry option is not valid"},_telemetryInfo:{optional:!0,type:"object",message:"_telemetryInfo option is not valid"}}),this.baseOptions=t,this.baseOptions._sendTelemetry=this.baseOptions._sendTelemetry!==!1||this.baseOptions._sendTelemetry,this.baseOptions.rootUrl="https://"+this.baseOptions.domain,this.request=new o(this.baseOptions),this.passwordless=new p(this.request,this.baseOptions),this.dbConnection=new g(this.request,this.baseOptions),this.warn=new M({disableWarnings:!!t._disableDeprecationWarnings})}var i=n(16),o=n(66),a=n(40),s=n(17),u=n(28),c=n(36),l=n(173),M=n(53),p=n(169),g=n(168);r.prototype.buildAuthorizeUrl=function(t){var e,n;return u.check(t,{type:"object",message:"options parameter is not valid"}),e=s.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience"]).with(t),u.check(e,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},redirectUri:{optional:!0,type:"string",message:"redirectUri option is required"},responseType:{type:"string",message:"responseType option is required"},nonce:{type:"string",message:"nonce option is required",condition:function(t){return t.responseType.indexOf("code")===-1&&t.responseType.indexOf("id_token")!==-1}},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e.connection_scope&&u.isArray(e.connection_scope)&&(e.connection_scope=e.connection_scope.join(",")),e=s.toSnakeCase(e,["auth0Client"]),e=l.oauthAuthorizeParams(this.warn,e),n=a.stringify(e),i(this.baseOptions.rootUrl,"authorize","?"+n)},r.prototype.buildLogoutUrl=function(t){var e,n;return u.check(t,{optional:!0,type:"object",message:"options parameter is not valid"}),e=s.merge(this.baseOptions,["clientID"]).with(t||{}),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e=s.toSnakeCase(e,["auth0Client","returnTo"]),n=a.stringify(e),i(this.baseOptions.rootUrl,"v2","logout","?"+n)},r.prototype.loginWithDefaultDirectory=function(t,e){return u.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),t.grantType="password",this.oauthToken(t,e)},r.prototype.login=function(t,e){return u.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},realm:{type:"string",message:"realm option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),t.grantType="http://auth0.com/oauth/grant-type/password-realm",this.oauthToken(t,e)},r.prototype.oauthToken=function(t,e){var n,r;return u.check(t,{type:"object",message:"options parameter is not valid"}),u.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"oauth","token"),r=s.merge(this.baseOptions,["clientID","scope","audience"]).with(t),u.check(r,{type:"object",message:"options parameter is not valid"},{clientID:{type:"string",message:"clientID option is required"},grantType:{type:"string",message:"grantType option is required"},scope:{optional:!0,type:"string",message:"scope option is required"},audience:{optional:!0,type:"string",message:"audience option is required"}}),r=s.toSnakeCase(r,["auth0Client"]),r=l.oauthTokenParams(this.warn,r),r.grant_type=r.grant_type,this.request.post(n).send(r).end(c(e))},r.prototype.loginWithResourceOwner=function(t,e){var n,r;return u.check(t,{type:"object",message:"options parameter is not valid"},{username:{type:"string",message:"username option is required"},password:{type:"string",message:"password option is required"},connection:{type:"string",message:"connection option is required"},scope:{optional:!0,type:"string",message:"scope option is required"}}),u.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"oauth","ro"),r=s.merge(this.baseOptions,["clientID","scope"]).with(t,["username","password","scope","connection","device"]),r=s.toSnakeCase(r,["auth0Client"]),r.grant_type=r.grant_type||"password",this.request.post(n).send(r).end(c(e))},r.prototype.getSSOData=function(t,e){var n,r="";return"function"==typeof t&&(e=t,t=!1),u.check(t,{type:"boolean",message:"withActiveDirectories parameter is not valid"}),u.check(e,{type:"function",message:"cb parameter is not valid"}),t&&(r="?"+a.stringify({ldaps:1,client_id:this.baseOptions.clientID})),n=i(this.baseOptions.rootUrl,"user","ssodata",r),this.request.get(n,{noHeaders:!0}).withCredentials().end(c(e))},r.prototype.userInfo=function(t,e){var n;return u.check(t,{type:"string",message:"accessToken parameter is not valid"}),u.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"userinfo"),this.request.get(n).set("Authorization","Bearer "+t).end(c(e,{ignoreCasing:!0}))},r.prototype.delegation=function(t,e){var n,r;return u.check(t,{type:"object",message:"options parameter is not valid"},{grant_type:{type:"string",message:"grant_type option is required"}}),u.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"delegation"),r=s.merge(this.baseOptions,["clientID"]).with(t),r=s.toSnakeCase(r,["auth0Client"]),this.request.post(n).send(r).end(c(e))},r.prototype.getUserCountry=function(t){var e;return u.check(t,{type:"function",message:"cb parameter is not valid"}),e=i(this.baseOptions.rootUrl,"user","geoloc","country"),this.request.get(e).end(c(t))},t.exports=r},function(t,e,n){function r(t){var e=t.length%4,n=4-e;return 0===e?t:t+new Array(1+n).join("=")}function i(t){for(var e=new Array(t.length),n=0;n4&&void 0!==arguments[4]&&arguments[4];n.i(s.b)(s.g,"lock",t,function(t){return(o||g(t,"src")===e)&&(t=d(t,"syncStatus","ok"),t=d(t,"url",r),t=d(t,"src",e),t=d(t,"displayName",i)),t})}function a(t,e){n.i(s.b)(s.g,"lock",t,function(t){return"src"===g(t,"src")?d(t,"syncStatus","error"):t})}var s=n(11),u=n(20),c=n(125),l=n(235),M=n(1);e.a=r,n.d(e,"b",function(){return f});var p=n.i(u.a)(["avatar"]),g=p.tget,d=p.tset,h={},f=l.a(r,300)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=n(37),M=n(1),p=n(10),g=n(23),d=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.lock,r=t.loginLabel,i=t.signUpLink,o=t.signUpLabel,a="login"===n.i(p.i)(e);return c.a.createElement("div",{className:"auth0-lock-tabs-container"},c.a.createElement("ul",{className:"auth0-lock-tabs"},c.a.createElement(h,{label:r,current:a,clickHandler:this.handleLoginClick.bind(this)}),c.a.createElement(h,{label:o,current:!a,clickHandler:this.handleSignUpClick.bind(this),clickWithHrefHandler:this.handleSignUpWithHrefClick.bind(this),href:i})))},e.prototype.handleLoginClick=function(){n.i(l.e)(M.id(this.props.lock))},e.prototype.handleSignUpClick=function(){this.props.signUpLink&&n.i(g.c)(M.id(this.props.lock),!0),n.i(l.f)(M.id(this.props.lock))},e.prototype.handleSignUpWithHrefClick=function(){n.i(g.c)(M.id(this.props.lock),!0)},e}(c.a.Component);e.a=d,d.propTypes={lock:s.a.object.isRequired,loginLabel:s.a.string.isRequired,signUpLabel:s.a.string.isRequired,signUpLink:s.a.string};var h=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.handleClick=function(t){this.props.href?this.props.clickWithHrefHandler():(t.preventDefault(),this.props.clickHandler())},e.prototype.render=function(){var t=this.props,e=t.current,n=t.href,r=t.label,i=e?"auth0-lock-tabs-current":"";return c.a.createElement("li",{className:i},c.a.createElement("a",{href:n||"#",onClick:this.handleClick.bind(this)},r))},e}(c.a.Component)},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(75);e.a=function(t){var e=t.children;return i.a.createElement("div",{className:"auth0-sso-notice-container"},i.a.createElement("span",{dangerouslySetInnerHTML:{__html:o.a}})," "," ",i.a.createElement("span",{className:"auth0-sso-notice"},e))}},function(t,e,n){"use strict";function r(t){return["free","dev"].indexOf(I(t,["tenant","subscription"]))>-1}function i(t,e){return t.getIn(["client","strategies"],n.i(g.List)()).find(o(e))||n.i(g.Map)()}function o(t){return function(e){return e.get("name")===t}}function a(t){return"auth0"===t?"database":"email"===t||"sms"===t?"passwordless":f.b[t]?"social":y.a[t]?"enterprise":["oauth1","oauth2"].indexOf(t)!==-1?"social":"unknown"}function s(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==t.username)return null;var e=N({},L,t),n=L.username.min,r=L.username.max;return e.username.min=parseInt(e.username.min,10)||n,e.username.max=parseInt(e.username.max,10)||r,e.username.min>e.username.max&&(e.username.min=n,e.username.max=r),e}function u(t,e){return j(t,c(e))}function c(t){return new d.a.fromJS({id:t.id,tenant:{name:t.tenant,subscription:t.subscription},connections:l(t)})}function l(t){for(var e=m.toJS(),n=function(){var n,i=t.strategies[r],o=a(i.name);if("passwordless"===o)return"continue";var s=i.connections.map(function(t){return M(o,i.name,t)});(n=e[o]).push.apply(n,s)},r=0;r<(t.strategies||[]).length;r++){n()}return e}function M(t,e,n){var r={name:n.name,strategy:e,type:t};if("database"===t&&(r.passwordPolicy=n.passwordPolicy||"none",r.allowSignup="boolean"!=typeof n.showSignup||n.showSignup,r.allowForgot="boolean"!=typeof n.showForgot||n.showForgot,r.requireUsername="boolean"==typeof n.requires_username&&n.requires_username,r.validation=s(n.validation)),"enterprise"===t){var i=n.domain_aliases||[];n.domain&&i.unshift(n.domain),r.domains=i}return r}function p(t){return I(t,"connections",m)}var g=n(9),d=n.n(g),h=n(20),f=n(38),y=n(18);e.b=r,e.c=u,e.a=p;var N=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t){if(!t)return t;if("User closed the popup window"===t.status)return{code:"lock.popup_closed",error:"lock.popup_closed",description:"Popup window closed."};if("unauthorized"===t.code)return t.description&&"access_denied"!==t.description?"user is blocked"===t.description?{code:"blocked_user",error:"blocked_user",description:t.description}:{code:"rule_error",error:"rule_error",description:t.description}:{code:"lock.unauthorized",error:"lock.unauthorized",description:t.description||"Permissions were not granted."};var e={error:t.code?t.code:t.statusCode||t.error,description:t.description||t.code};return void 0===e.error&&void 0===e.description?t:e}function o(t,e){return t?function(t){return e(i(t))}:function(t,n){return e(i(t),n)}}function a(t){t.connection_scope,t.popup,t.popupOptions;return r(t,["connection_scope","popup","popupOptions"])}e.c=i,e.a=o,e.b=a},function(t,e,n){"use strict";function r(t,e,n,r){for(var i=arguments.length,o=Array(i>4?i-4:0),a=4;a=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(0),u=n.n(s),c=n(32),l=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:function(){},n=document.createElement("img");return n.addEventListener("load",function(){e(null,n)}),n.addEventListener("error",function(t){e(t)}),n.src=t,n}e.a=r},function(t,e,n){"use strict";function r(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[e-2]?2:"="===t[e-1]?1:0}function i(t){return 3*t.length/4-r(t)}function o(t){var e,n,i,o,a,s,u=t.length;a=r(t),s=new M(3*u/4-a),i=a>0?u-4:u;var c=0;for(e=0,n=0;e>16&255,s[c++]=o>>8&255,s[c++]=255&o;return 2===a?(o=l[t.charCodeAt(e)]<<2|l[t.charCodeAt(e+1)]>>4,s[c++]=255&o):1===a&&(o=l[t.charCodeAt(e)]<<10|l[t.charCodeAt(e+1)]<<4|l[t.charCodeAt(e+2)]>>2,s[c++]=o>>8&255,s[c++]=255&o),s}function a(t){return c[t>>18&63]+c[t>>12&63]+c[t>>6&63]+c[63&t]}function s(t,e,n){for(var r,i=[],o=e;ol?l:u+a));return 1===r?(e=t[n-1],i+=c[e>>2],i+=c[e<<4&63],i+="=="):2===r&&(e=(t[n-2]<<8)+t[n-1],i+=c[e>>10],i+=c[e>>4&63],i+=c[e<<2&63],i+="="),o.push(i),o.join("")}e.byteLength=i,e.toByteArray=o,e.fromByteArray=u;for(var c=[],l=[],M="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=0,d=p.length;g-1}};t.exports=i},function(t,e,n){function r(t){var e=t.length%4,n=4-e;return 0===e?t:t+new Array(1+n).join("=")}function i(t){for(var e="",n=0;n60)throw new s.ConfigurationError("The leeway should be positive and lower than a minute.");if(c.indexOf(this.expectedAlg)===-1)throw new s.ConfigurationError("Algorithm "+this.expectedAlg+" is not supported. (Expected algs: ["+c.join(",")+"])")}var i=n(250),o=n(128),a=n(249),s=n(248),u=n(247),c=["RS256"];r.prototype.verify=function(t,e,n){var r=this.decode(t);if(r instanceof Error)return n(r,!1);var i=r.encoded.header+"."+r.encoded.payload,a=o.decodeToHEX(r.encoded.signature),u=r.header.alg,l=r.header.kid,M=r.payload.aud,p=r.payload.iss,g=r.payload.exp,d=r.payload.iat,h=r.payload.nonce||null;if(this.issuer!==p)return n(new s.TokenValidationError("Issuer "+p+" is not valid."),!1);if(this.audience!==M)return n(new s.TokenValidationError("Audience "+M+" is not valid."),!1);if(this.expectedAlg!==u)return n(new s.TokenValidationError("Algorithm "+u+" is not supported. (Expected algs: ["+c.join(",")+"])"),!1);if(h!==e)return n(new s.TokenValidationError("Nonce does not match."),!1);var f=this.verifyExpAndIat(g,d);if(f)return n(f,!1);this.getRsaVerifier(p,l,function(t,e){if(t)return n(t);e.verify(i,a)?n(null,r.payload):n(new s.TokenValidationError("Invalid signature."))})},r.prototype.verifyExpAndIat=function(t,e){if(this.__disableExpirationCheck)return null;var n=new Date,r=new Date(0);if(r.setUTCSeconds(t+this.leeway),n>r)return new s.TokenValidationError("Expired token.");var i=new Date(0);return i.setUTCSeconds(e-this.leeway),n=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?n+=e.charAt(r):o<128?n+=i[o]:o<2048?n+=i[192|o>>6]+i[128|63&o]:o<55296||o>=57344?n+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o]:(r+=1,o=65536+((1023&o)<<10|1023&e.charCodeAt(r)),n+=i[240|o>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o])}return n},e.compact=function(t,n){if("object"!=typeof t||null===t)return t;var r=n||[],i=r.indexOf(t);if(i!==-1)return r[i];if(r.push(t),Array.isArray(t)){for(var o=[],a=0;a.":"function"==typeof e?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=e&&void 0!==e.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=f.createElement(Y,{child:e});if(t){var u=L.get(t);a=u._processChildContext(u._context)}else a=b;var l=p(n);if(l){if(E(l._currentElement.props.child,e)){var M=l._renderedComponent.getPublicInstance(),d=r&&function(){r.call(M)};return Q._updateRootComponent(l,s,a,n,d),M}Q.unmountComponentAtNode(n)}var h=i(n),y=h&&!!o(h),N=c(n),D=y&&!l&&!N,j=Q._renderNewRootComponent(s,n,D,a)._renderedComponent.getPublicInstance();return r&&r.call(j),j},render:function(t,e,n){return Q._renderSubtreeIntoContainer(null,t,e,n)},unmountComponentAtNode:function(t){l(t)||g("40");var e=p(t);if(!e){c(t),1===t.nodeType&&t.hasAttribute(x);return!1}return delete U[e._instance.rootID],v.batchedUpdates(u,e,t,!1),!0},_mountImageIntoNode:function(t,e,n,o,a){if(l(e)||g("41"),o){var s=i(e);if(m.canReuseMarkup(t,s))return void N.precacheNode(n,s);var u=s.getAttribute(m.CHECKSUM_ATTR_NAME);s.removeAttribute(m.CHECKSUM_ATTR_NAME);var c=s.outerHTML;s.setAttribute(m.CHECKSUM_ATTR_NAME,u);var M=t,p=r(M,c),h=" (client) "+M.substring(p-20,p+20)+"\n (server) "+c.substring(p-20,p+20);e.nodeType===S&&g("42",h)}if(e.nodeType===S&&g("43"),a.useCreateElement){for(;e.lastChild;)e.removeChild(e.lastChild);d.insertTreeBefore(e,t,null)}else T(e,t),N.precacheNode(n,e.firstChild)}};t.exports=Q},function(t,e,n){"use strict";var r=n(4),i=n(26),o=(n(2),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(t){return null===t||t===!1?o.EMPTY:i.isValidElement(t)?"function"==typeof t.type?o.COMPOSITE:o.HOST:void r("26",t)}});t.exports=o},function(t,e,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(t){r.currentScrollLeft=t.x,r.currentScrollTop=t.y}};t.exports=r},function(t,e,n){"use strict";function r(t,e){return null==e&&i("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}var i=n(4);n(2);t.exports=r},function(t,e,n){"use strict";function r(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}t.exports=r},function(t,e,n){"use strict";function r(t){for(var e;(e=t._renderedNodeType)===i.COMPOSITE;)t=t._renderedComponent;return e===i.HOST?t._renderedComponent:e===i.EMPTY?null:void 0}var i=n(145);t.exports=r},function(t,e,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(12),o=null;t.exports=r},function(t,e,n){"use strict";function r(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n["ms"+t]="MS"+e,n["O"+t]="o"+e.toLowerCase(),n}function i(t){if(s[t])return s[t];if(!a[t])return t;var e=a[t];for(var n in e)if(e.hasOwnProperty(n)&&n in u)return s[t]=e[n];return""}var o=n(12),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};o.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),t.exports=i},function(t,e,n){"use strict";function r(t){if(t){var e=t.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(t){return"function"==typeof t&&void 0!==t.prototype&&"function"==typeof t.prototype.mountComponent&&"function"==typeof t.prototype.receiveComponent}function o(t,e){var n;if(null===t||t===!1)n=c.create(o);else if("object"==typeof t){var s=t,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var p="";p+=r(s._owner),a("130",null==u?u:typeof u,p)}"string"==typeof s.type?n=l.createInternalComponent(s):i(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new M(s)}else"string"==typeof t||"number"==typeof t?n=l.createInstanceForText(t):a("131",typeof t);return n._mountIndex=0,n._mountImage=null,n}var a=n(4),s=n(5),u=n(279),c=n(140),l=n(142),M=(n(356),n(2),n(6),function(t){this.construct(t)});s(M.prototype,u,{_instantiateReactComponent:o}),t.exports=o},function(t,e,n){"use strict";function r(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!i[t.type]:"textarea"===e}var i={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=r},function(t,e,n){"use strict";var r=n(12),i=n(64),o=n(65),a=function(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e};r.canUseDOM&&("textContent"in document.documentElement||(a=function(t,e){if(3===t.nodeType)return void(t.nodeValue=e);o(t,i(e))})),t.exports=a},function(t,e,n){"use strict";function r(t,e){return t&&"object"==typeof t&&null!=t.key?c.escape(t.key):e.toString(36)}function i(t,e,n,o){var p=typeof t;if("undefined"!==p&&"boolean"!==p||(t=null),null===t||"string"===p||"number"===p||"object"===p&&t.$$typeof===s)return n(o,t,""===e?l+r(t,0):e),1;var g,d,h=0,f=""===e?l:e+M;if(Array.isArray(t))for(var y=0;y-1){var n=new RegExp("rv:([0-9]{2,2}[.0-9]{0,})");null!==n.exec(e)&&(t=parseFloat(RegExp.$1))}return t>=8}function r(){try{var t=navigator.userAgent;return t.indexOf("Fennec/")!=-1||t.indexOf("Firefox/")!=-1&&t.indexOf("Android")!=-1}catch(t){}return!1}function i(){return"undefined"!=typeof window&&window.JSON&&window.JSON.stringify&&window.JSON.parse&&window.postMessage}function o(t){/^https?:\/\//.test(t)||(t=window.location.href);var e=/^(https?:\/\/[\-_a-zA-Z\.0-9:]+)/.exec(t);return e?e[1]:t}function a(){for(var t=(window.location,window.opener.frames),e=t.length-1;e>=0;e--)try{if(t[e].location.protocol===window.location.protocol&&t[e].location.host===window.location.host&&t[e].name===s)return t[e]}catch(t){}}var s="__winchan_relay_frame",u="die",c=n();return i()?{open:function(n,i){function a(){if(p&&document.body.removeChild(p),p=void 0,f&&(f=clearInterval(f)),e(window,"message",l),e(window,"unload",a),h)try{h.close()}catch(t){d.postMessage(u,g)}h=d=void 0}function l(t){if(t.origin===g){try{var e=JSON.parse(t.data)}catch(t){if(!i)throw t;i(t)}"ready"===e.a?d.postMessage(y,g):"error"===e.a?(a(),i&&(i(e.d),i=null)):"response"===e.a&&(a(),i&&(i(null,e.d),i=null))}}if(!i)throw"missing required callback argument";var M;n.url||(M="missing required 'url' parameter"),n.relay_url||(M="missing required 'relay_url' parameter"),M&&setTimeout(function(){i(M)},0),n.window_name||(n.window_name=null),n.window_features&&!r()||(n.window_features=void 0);var p,g=n.origin||o(n.url);if(g!==o(n.relay_url))return setTimeout(function(){i("invalid arguments: origin of url and relay_url must match")},0);var d;c&&(p=document.createElement("iframe"),p.setAttribute("src",n.relay_url),p.style.display="none",p.setAttribute("name",s),document.body.appendChild(p),d=p.contentWindow);var h=n.popup||window.open(n.url,n.window_name,n.window_features);n.popup&&(h.location.href=n.url),d||(d=h);var f=setInterval(function(){h&&h.closed&&(a(),i&&(i("User closed the popup window"),i=null))},500),y=JSON.stringify({a:"request",d:n.params});return t(window,"unload",a),t(window,"message",l),{close:a,focus:function(){if(h)try{h.focus()}catch(t){}}}},onOpen:function(n){function r(t){t=JSON.stringify(t),c?l.doPost(t,s):l.postMessage(t,s)}function i(t){var o;try{o=JSON.parse(t.data)}catch(t){}o&&"request"===o.a&&(e(window,"message",i),s=t.origin,n&&setTimeout(function(){n(s,o.d,function(t){n=void 0,r({a:"response",d:t})})},0))}function o(t){if(t.data===u)try{window.close()}catch(t){}}var s="*",l=c?a():window.opener;if(!l)throw"can't find relay frame";t(c?l:window,"message",i),t(c?l:window,"message",o);try{r({a:"ready"})}catch(e){t(l,"load",function(t){r({a:"ready"})})}var M=function(){try{e(c?l:window,"message",o)}catch(t){}n&&r({a:"error",d:"client closed window"}),n=void 0;try{window.close()}catch(t){}};return t(window,"unload",M),{detach:function(){e(window,"unload",M)}}}}:{open:function(t,e,n,r){setTimeout(function(){r("unsupported browser")},0)},onOpen:function(t){setTimeout(function(){t("unsupported browser")},0)}}}();void 0!==t&&t.exports&&(t.exports=n)},function(t,e,n){function r(t){this.webAuth=t}var i=n(16),o=n(167);r.prototype.processParams=function(t){return t.redirectUri=i("https://"+t.domain,"mobile"),delete t.owp,t},r.prototype.getPopupHandler=function(){return new o(this.webAuth)},t.exports=r},function(t,e,n){function r(t){this.webAuth=t,this._current_popup=null,this.options=null}var i=n(22),o=n(40),a=n(16);r.prototype.preload=function(t){var e=this,n=i.getWindow(),r=t.url||"about:blank",a=t.popupOptions||{};a.location="yes",delete a.width,delete a.height;var s=o.stringify(a,{encode:!1,delimiter:","});return this._current_popup&&!this._current_popup.closed?this._current_popup:(this._current_popup=n.open(r,"_blank",s),this._current_popup.kill=function(t){e._current_popup.success=t,this.close(),e._current_popup=null},this._current_popup)},r.prototype.load=function(t,e,n,r){var i=this;this.url=t,this.options=n,this._current_popup?this._current_popup.location.href=t:(n.url=t,this.preload(n)),this.transientErrorHandler=function(t){i.errorHandler(t,r)},this.transientStartHandler=function(t){i.startHandler(t,r)},this.transientExitHandler=function(){i.exitHandler(r)},this._current_popup.addEventListener("loaderror",this.transientErrorHandler),this._current_popup.addEventListener("loadstart",this.transientStartHandler),this._current_popup.addEventListener("exit",this.transientExitHandler)},r.prototype.errorHandler=function(t,e){this._current_popup&&(this._current_popup.kill(!0),e({error:"window_error",errorDescription:t.message}))},r.prototype.unhook=function(){this._current_popup.removeEventListener("loaderror",this.transientErrorHandler),this._current_popup.removeEventListener("loadstart",this.transientStartHandler),this._current_popup.removeEventListener("exit",this.transientExitHandler)},r.prototype.exitHandler=function(t){this._current_popup&&(this.unhook(),this._current_popup.success||t({error:"window_closed",errorDescription:"Browser window closed"}))},r.prototype.startHandler=function(t,e){var n=this;if(this._current_popup){var r=a("https:",this.webAuth.baseOptions.domain,"/mobile");if(!t.url||0===t.url.indexOf(r+"#")){var i=t.url.split("#");if(1!==i.length){var o={hash:i.pop(),_idTokenVerification:!1};this.options.nonce&&(o.nonce=this.options.nonce),this.webAuth.parseHash(o,function(t,r){(t||r)&&(n._current_popup.kill(!0),e(t,r))})}}}},t.exports=r},function(t,e,n){function r(t,e){this.baseOptions=e,this.request=t}var i=n(16),o=n(17),a=n(28),s=n(36);r.prototype.signup=function(t,e){var n,r;return a.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"},password:{type:"string",message:"password option is required"}}),a.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"dbconnections","signup"),r=o.merge(this.baseOptions,["clientID"]).with(t),r=o.blacklist(r,["scope"]),r=o.toSnakeCase(r,["auth0Client"]),this.request.post(n).send(r).end(s(e))},r.prototype.changePassword=function(t,e){var n,r;return a.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},email:{type:"string",message:"email option is required"}}),a.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"dbconnections","change_password"),r=o.merge(this.baseOptions,["clientID"]).with(t,["email","connection"]),r=o.toSnakeCase(r,["auth0Client"]),this.request.post(n).send(r).end(s(e))},t.exports=r},function(t,e,n){function r(t,e){this.baseOptions=e,this.request=t}var i=n(16),o=n(17),a=n(28),s=n(40),u=n(36);r.prototype.buildVerifyUrl=function(t){var e,n;return a.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(t){return!t.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(t){return!t.phoneNumber}}}),e=o.merge(this.baseOptions,["clientID","responseType","responseMode","redirectUri","scope","audience"]).with(t),this.baseOptions._sendTelemetry&&(e.auth0Client=this.request.getTelemetryData()),e=o.toSnakeCase(e,["auth0Client"]),n=s.stringify(e),i(this.baseOptions.rootUrl,"passwordless","verify_redirect","?"+n)},r.prototype.start=function(t,e){var n,r;return a.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},send:{type:"string",message:"send option is required",values:["link","code"],value_message:"send is not valid ([link, code])"},phoneNumber:{optional:!0,type:"string",message:"phoneNumber option is required",condition:function(t){return"code"===t.send||!t.email}},email:{optional:!0,type:"string",message:"email option is required",condition:function(t){return"link"===t.send||!t.phoneNumber}},authParams:{optional:!0,type:"object",message:"authParams option is required"}}),a.check(e,{type:"function",message:"cb parameter is not valid"}),n=i(this.baseOptions.rootUrl,"passwordless","start"),r=o.merge(this.baseOptions,["clientID","responseType","redirectUri","scope"]).with(t),r.scope&&(r.authParams=r.authParams||{},r.authParams.scope=r.scope),r.redirectUri&&(r.authParams=r.authParams||{},r.authParams.redirect_uri=r.redirectUri),r.responseType&&(r.authParams=r.authParams||{},r.authParams.response_type=r.responseType),delete r.redirectUri,delete r.responseType,delete r.scope,r=o.toSnakeCase(r,["auth0Client","authParams"]),this.request.post(n).send(r).end(u(e))},r.prototype.verify=function(t,e){var n,r;return a.check(t,{type:"object",message:"options parameter is not valid"},{connection:{type:"string",message:"connection option is required"},verificationCode:{type:"string",message:"verificationCode option is required"},phoneNumber:{optional:!1,type:"string",message:"phoneNumber option is required",condition:function(t){return!t.email}},email:{optional:!1,type:"string",message:"email option is required",condition:function(t){return!t.phoneNumber}}}),a.check(e,{type:"function",message:"cb parameter is not valid"}),r=o.toSnakeCase(t,["auth0Client"]),n=i(this.baseOptions.rootUrl,"passwordless","verify"),this.request.post(n).send(r).end(u(e))},t.exports=r},function(t,e,n){function r(t,e,n){var r,i;if(void 0===a.getDocument().cookie||null===a.getDocument().cookie)throw new Error("cookie storage not available");n?(r=new Date,r.setTime(r.getTime()+24*n*60*60*1e3),i="; expires="+r.toGMTString()):i="",a.getDocument().cookie=t+"="+s.encode(e)+i+"; path=/"}function i(t){var e,n,r,i=t+"=";if(void 0===a.getDocument().cookie||null===a.getDocument().cookie)throw new Error("cookie storage not available");for(r=a.getDocument().cookie.split(";"),e=0;e0&&t.warning("Following parameters are not allowed on the `/authorize` endpoing: ["+n.join(",")+"]"),e}function i(t,e){return o.pick(e,a)}var o=n(17),a=["realm","audience","client_id","client_secret","redirect_uri","scope","code","grant_type","username","password","refresh_token","assertion","client_assertion","client_assertion_type","code_verifier"],s=["connection","connection_scope","auth0Client","owp","device","protocol","_csrf","_intstate","client_id","response_type","response_mode","redirect_uri","audience","scope","state","nonce","display","prompt","max_age","ui_locales","claims_locales","id_token_hint","login_hint","acr_values","claims","registration","request","request_uri","code_challenge","code_challenge_method"];t.exports={oauthTokenParams:i,oauthAuthorizeParams:r}},function(t,e,n){function r(t,e){this.plugins=e;for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return e.closeHandler=p.c,e.key="auxiliarypane",e.lock=t,t.get("passwordResetted")?l.a.createElement(h,e):null}var s=n(3),u=n.n(s),c=n(0),l=n.n(c),M=n(74),p=n(23),g=n(1),d=n(14);e.a=a;var h=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.lock;e(g.id(n))},e.prototype.render=function(){var t=this.props.lock,e=g.ui.closable(t)?this.handleClose.bind(this):void 0;return l.a.createElement(M.a,{closeHandler:e},l.a.createElement("p",null,d.html(this.props.lock,["success","forgotPassword"])))},e}(l.a.Component);h.propTypes={closeHandler:u.a.func.isRequired,lock:u.a.object.isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(19),c=n(193),l=n(10),M=n(37),p=n(191),g=n(14),d=function(t){var e=t.i18n,n=t.model,r=e.html("forgotPasswordInstructions")||null,i=r&&s.a.createElement("p",null,r);return s.a.createElement(c.a,{emailInputPlaceholder:e.str("emailInputPlaceholder"),header:i,i18n:e,lock:n})},h=function(t){function e(){return r(this,e),i(this,t.call(this,"forgotPassword"))}return o(e,t),e.prototype.backHandler=function(t){return n.i(l.h)(t,"login")?M.g:void 0},e.prototype.submitButtonLabel=function(t){return g.str(t,["forgotPasswordSubmitLabel"])},e.prototype.getScreenTitle=function(t){return g.str(t,"forgotPasswordTitle")},e.prototype.submitHandler=function(){return M.h},e.prototype.renderAuxiliaryPane=function(t){return n.i(p.a)(t)},e.prototype.render=function(){return d},e}(u.a);e.a=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=n(70),M=(n(1),function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.emailInputPlaceholder,n=t.header,r=t.i18n,i=t.lock;return c.a.createElement("div",null,n,c.a.createElement(l.a,{i18n:r,lock:i,placeholder:e}))},e}(c.a.Component));M.propTypes={emailInputPlaceholder:s.a.string.isRequired,lock:s.a.object.isRequired},e.a=M},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=function(t){var e=t.checkHandler,n=t.checked,r=t.children;return e?i.a.createElement("span",{className:"auth0-lock-sign-up-terms-agreement"},i.a.createElement("label",null,i.a.createElement("input",{type:"checkbox",onChange:e,checked:n}),r)):r};e.a=o},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.closeHandler=p.c,e.key="auxiliarypane",e.lock=t,t.get("signedUp")&&!n.i(d.o)(t)?l.a.createElement(f,e):null}var s=n(3),u=n.n(s),c=n(0),l=n.n(c),M=n(74),p=n(23),g=n(1),d=n(10),h=n(14);e.a=a;var f=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.handleClose=function(){var t=this.props,e=t.closeHandler,n=t.lock;e(g.id(n))},e.prototype.render=function(){var t=this.props.lock,e=g.ui.closable(t)?this.handleClose.bind(this):void 0;return l.a.createElement(M.a,{closeHandler:e},l.a.createElement("p",null,h.html(t,["success","signUp"])))},e}(l.a.Component);f.propTypes={closeHandler:u.a.func.isRequired,lock:u.a.object.isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=n(73),M=n(71),p=(n(1),function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.header,n=t.i18n,r=t.model,i=t.passwordInputPlaceholder,o=t.usernameInputPlaceholder;return c.a.createElement("div",null,e,c.a.createElement(l.a,{i18n:n,lock:r,placeholder:o,validateFormat:!1}),c.a.createElement(M.a,{i18n:n,lock:r,placeholder:i}))},e}(c.a.Component));e.a=p,p.propTypes={header:s.a.element,i18n:s.a.object.isRequired,model:s.a.object.isRequired,passwordInputPlaceholder:s.a.string.isRequired,usernameInputPlaceholder:s.a.string.isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(19),c=n(31),l=n(196),M=n(67),p=n(18),g=n(14),d=function(t){var e,r=t.i18n,i=t.model,o=n.i(p.o)(i);e=null!=o?r.html("enterpriseActiveLoginInstructions",o):r.html("enterpriseLoginIntructions"),e=e||null;var a=e&&s.a.createElement("p",null,e);return s.a.createElement(l.a,{header:a,i18n:r,model:i,passwordInputPlaceholder:r.str("passwordInputPlaceholder"),usernameInputPlaceholder:r.str("usernameInputPlaceholder")})},h=function(t){function e(){return r(this,e),i(this,t.call(this,"hrd"))}return o(e,t),e.prototype.backHandler=function(t){return n.i(p.p)(t)?null:M.c},e.prototype.submitButtonLabel=function(t){return g.str(t,["loginSubmitLabel"])},e.prototype.submitHandler=function(t){return M.a},e.prototype.renderAuxiliaryPane=function(t){return n.i(c.a)(t)},e.prototype.render=function(){return d},e}(u.a);e.a=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(19),c=n(76),l=n(58),M=n(31),p=n(1),g=n(18),d=function(t){var e=t.i18n,r=t.model,i=e.html("windowsAuthInstructions")||null,o=i&&s.a.createElement("p",null,i);return s.a.createElement(c.a,{alternativeLabel:e.str("notYourAccountAction"),alternativeClickHandler:function(){return n.i(l.b)(p.id(r))},buttonLabel:e.str("windowsAuthLabel"),buttonClickHandler:function(t){return n.i(l.a)(p.id(r),n.i(g.q)(r))},header:o,strategy:"windows"})},h=function(t){function e(){return r(this,e),i(this,t.call(this,"kerberos"))}return o(e,t),e.prototype.renderAuxiliaryPane=function(t){return n.i(M.a)(t)},e.prototype.render=function(){return d},e}(u.a);e.a=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return"google-apps"===t?t:~["adfs","office365","waad"].indexOf(t)?"windows":"auth0"}var s=n(0),u=n.n(s),c=n(19),l=n(76),M=n(58),p=n(31),g=n(1),d=n(18),h=n(38),f=function(t){var e=t.i18n,r=t.model,i=e.html("enterpriseLoginIntructions")||null,o=i&&u.a.createElement("p",null,i),s=n.i(h.e)(r),c=n.i(d.g)(r),p=c.getIn(["name"]),f=c.getIn(["domains",0]),y=s.get(c.get("name")),N=y&&y.get("displayName")||f&&e.str("loginAtLabel",f)||e.str("loginAtLabel",p),D=y&&y.get("primaryColor"),j=y&&y.get("foregroundColor"),I=y&&y.get("icon");return u.a.createElement(l.a,{buttonLabel:N,buttonClickHandler:function(t){return n.i(M.a)(g.id(r),n.i(d.g)(r))},header:o,buttonIcon:I,primaryColor:D,foregroundColor:j,strategy:a(n.i(d.g)(r).get("strategy"))})},y=function(t){function e(){return r(this,e),i(this,t.call(this,"enterpriseQuickAuth"))}return o(e,t),e.prototype.renderAuxiliaryPane=function(t){return n.i(p.a)(t)},e.prototype.render=function(){return f},e}(c.a);e.a=y},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(245),s=(n.n(a),n(11)),u=n(220),c=n(56),l=n(23),M=n(1),p=(n(8),n(236)),g=n(14),d=n(46),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=function(t){function e(o,a){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},f=arguments[3];if(r(this,e),"string"!=typeof o)throw new Error("A `clientID` string must be provided as first argument.");if("string"!=typeof a)throw new Error("A `domain` string must be provided as second argument.");if("object"!=(void 0===c?"undefined":h(c)))throw new Error("When provided, the third argument must be an `options` object.");var y=i(this,t.call(this));y.validEvents=["show","hide","unrecoverable_error","authenticated","authorization_error","hash_parsed","signin ready","signup ready"],y.id=p.a(),y.engine=f;var N=y.runHook.bind(y),D=y.emit.bind(y);n.i(d.a)(y.id);var j=n.i(l.a)(y.id,o,a,c,N,D);return y.on("newListener",function(t){y.validEvents.indexOf(t)===-1&&M.emitUnrecoverableErrorEvent(j,'Invalid event "'+t+'".')}),M.auth.autoParseHash(j)&&!e.hasScheduledAuthCallback&&(e.hasScheduledAuthCallback=!0,setTimeout(l.b,0)),n.i(s.a)("render",y.id,function(t){var e=function(e,n){var r=e[n](t);return r?function(){for(var e=arguments.length,n=Array(e),i=0;i1?n-1:0),i=1;i1?n-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:{};n.i(l.e)(this.id,t)},e.prototype.hide=function(){n.i(l.c)(this.id,!0)},e.prototype.destroy=function(){n.i(l.f)(this.id)},e.prototype.getProfile=function(t,e){return c.a.getProfile(this.id,t,e)},e.prototype.getUserInfo=function(t,e){return c.a.getUserInfo(this.id,t,e)},e.prototype.logout=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};c.a.logout(this.id,t)},e.prototype.update=function(t){return n.i(l.g)(this.id,t)},e.prototype.setModel=function(t){return this.update(function(){return t})},e.prototype.runHook=function(t,e){var n;if("function"!=typeof this.engine[t])return e;for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1],n=d.a.parse(t.replace(/^#?\/?/,"")),r=this.authOpt.state||n.state;if(this.client.transactionManager.getStoredTransaction(r),n.hasOwnProperty("error")){var i={error:n.error,error_description:n.error_description};return n.state&&(i.state=n.state),e(i)}if(!n.hasOwnProperty("access_token")&&!n.hasOwnProperty("id_token")&&!n.hasOwnProperty("refresh_token"))return e(null,null);var a;if(n.hasOwnProperty("id_token")){var s=function(t){return{error:"invalid_token",error_description:t}};if(a=new o.a({}).decode(n.id_token).payload,a.aud!==this.clientID)return e(s("The clientID configured ("+this.clientID+") does not match with the clientID set in the token ("+a.aud+")."));if(a.iss!==this.tokenIssuer)return e(s("The domain configured ("+this.tokenIssuer+") does not match with the domain set in the token ("+a.iss+")."))}e(null,{accessToken:n.access_token,idToken:n.id_token,idTokenPayload:a,refreshToken:n.refresh_token,state:n.state})},t.prototype.getUserInfo=function(t,e){return this.client.client.userInfo(t,e)},t.prototype.getProfile=function(t,e){M.a.get("https://"+this.domain+"/tokeninfo?id_token="+t).end(function(t,n){return t?e({error:t.message,error_description:n.text||n.body}):e(null,n.body)})},t.prototype.getSSOData=function(){var t;return(t=this.client.client).getSSOData.apply(t,arguments)},t.prototype.getUserCountry=function(t){return this.client.getUserCountry(t)},t}();e.a=f},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(54),o=n.n(i),a=n(107),s=n.n(a),u=n(1),c=n(11),l=n(117),M=Object.assign||function(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];return this.client.parseHash({hash:t,nonce:this.authOpt.nonce,state:this.authOpt.state},e)},t.prototype.getUserInfo=function(t,e){return this.client.client.userInfo(t,e)},t.prototype.getProfile=function(t,e){var r=n.i(c.d)(c.f,"lock",this.lockID);u.emitUnrecoverableErrorEvent(r,"`getProfile` is deprecated for oidcConformant clients")},t.prototype.getSSOData=function(){var t;return(t=this.client.client).getSSOData.apply(t,arguments)},t.prototype.getUserCountry=function(t){return this.client.getUserCountry(t)},t}();e.a=p},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function a(t){return!n.i(I.c)(t)&&(y.hasSomeConnections(t,"database")?n.i(g.h)(t,"signUp"):y.hasSomeConnections(t,"social")&&n.i(g.c)(t,"signUp")?n.i(g.h)(t,"signUp"):void 0)}var s=n(0),u=n.n(s),c=n(19),l=n(119),M=n(189),p=n(116),g=n(10),d=n(37),h=n(31),f=n(113),y=n(1),N=n(67),D=n(18),j=n(114),I=n(57),L=n(14),m=function(t){var e=t.i18n,r=t.model,i=n.i(I.c)(r),o=n.i(I.e)(r,"social"),s=a(r)&&u.a.createElement(f.a,{key:"loginsignup",lock:r,loginLabel:e.str("loginLabel"),signUpLink:n.i(g.v)(r),signUpLabel:e.str("signUpLabel")}),c=y.hasSomeConnections(r,"social")&&u.a.createElement(l.a,{bigButtons:n.i(I.d)(r),instructions:e.html("socialLoginInstructions"),labelFn:e.str,lock:r,showLoading:o,signUp:!1}),d=!i&&(y.hasSomeConnections(r,"database")||!!n.i(D.i)(r)),h=d&&y.hasSomeConnections(r,"database"),N=c?"databaseEnterpriseAlternativeLoginInstructions":"databaseEnterpriseLoginInstructions",L="any"===n.i(g.w)(r)||y.countConnections(r,"enterprise")>1?"usernameOrEmailInputPlaceholder":"usernameInputPlaceholder",m=n.i(g.w)(r),w=(i||y.hasSomeConnections(r,"database")||y.hasSomeConnections(r,"enterprise"))&&u.a.createElement(M.a,{emailInputPlaceholder:e.str("emailInputPlaceholder"),forgotPasswordAction:e.str("forgotPasswordAction"),i18n:e,instructions:e.html(N),lock:r,passwordInputPlaceholder:e.str("passwordInputPlaceholder"),showForgotPasswordLink:h,showPassword:d,usernameInputPlaceholder:e.str(L),usernameStyle:m}),z=i&&u.a.createElement(j.a,null,e.str("ssoEnabled")),v=c&&w&&u.a.createElement(p.a,null);return u.a.createElement("div",null,z,s,c,v,w)},w=function(t){function e(){return r(this,e),i(this,t.call(this,"main.login"))}return o(e,t),e.prototype.renderAuxiliaryPane=function(t){return n.i(h.a)(t)},e.prototype.renderTabs=function(t){return a(t)},e.prototype.submitButtonLabel=function(t){return L.str(t,["loginSubmitLabel"])},e.prototype.isSubmitDisabled=function(t){return!y.hasSomeConnections(t,"database")&&!n.i(D.i)(t)&&!n.i(I.c)(t)},e.prototype.submitHandler=function(t){return n.i(I.e)(t,"social")?null:n.i(D.n)(t,n.i(g.a)(t))?function(e){return n.i(N.b)(e,n.i(g.a)(t))}:n.i(I.c)(t)||!n.i(g.u)(t)||!n.i(g.e)(t)&&n.i(D.d)(t)?N.a:d.a},e.prototype.render=function(){return m},e}(c.a);e.a=w},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(19),c=n(190),l=n(14),M=n(37),p=n(10),g=n(31),d=function(t){var e=t.i18n,n=t.model;return s.a.createElement(c.a,{mfaInputPlaceholder:e.str("mfaInputPlaceholder"),i18n:e,instructions:e.str("mfaLoginInstructions"),lock:n,title:e.str("mfaLoginTitle")})},h=function(t){function e(){return r(this,e),i(this,t.call(this,"mfa.mfaCode"))}return o(e,t),e.prototype.renderAuxiliaryPane=function(t){return n.i(g.a)(t)},e.prototype.submitButtonLabel=function(t){return l.str(t,["mfaSubmitLabel"])},e.prototype.submitHandler=function(t){return function(t){return n.i(M.a)(t,!0)}},e.prototype.render=function(){return d},e.prototype.backHandler=function(t){return n.i(p.h)(t,"login")?M.b:void 0},e}(u.a);e.a=h},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(70),c=n(71),l=n(73),M=n(214),p=n(10),g=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.emailInputPlaceholder,r=t.instructions,i=t.i18n,o=t.model,a=t.onlyEmail,g=t.passwordInputPlaceholder,d=t.passwordStrengthMessages,h=t.usernameInputPlaceholder,f=r||null,y=f&&s.a.createElement("p",null,f),N=!a&&n.i(p.m)(o)?s.a.createElement(l.a,{i18n:i,lock:o,placeholder:h,validateFormat:!0}):null,D=!a&&n.i(p.n)(o).map(function(t){return s.a.createElement(M.a,{iconUrl:t.get("icon"),key:t.get("name"),model:o,name:t.get("name"),options:t.get("options"),placeholder:t.get("placeholder"),type:t.get("type"),validator:t.get("validator")})}),j=!a&&s.a.createElement(c.a,{i18n:i,lock:o,placeholder:g,policy:n.i(p.t)(o),strengthMessages:d});return s.a.createElement("div",null,y,s.a.createElement(u.a,{i18n:i,lock:o,placeholder:e}),N,j,D)},e}(s.a.Component);e.a=g},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(0),s=n.n(a),u=n(19),c=n(10),l=n(37),M=n(57),p=n(31),g=n(195),d=n(8),h=n(67),f=n(1),y=n(14),N=n(212),D=n(116),j=n(194),I=n(119),L=n(113),m=n(114),w=function(t){var e=t.i18n,r=t.model,i=n.i(M.c)(r)&&n.i(c.h)(r,"login"),o=i&&s.a.createElement(m.a,null,e.str("ssoEnabled")),a=!i&&n.i(c.h)(r,"login")&&s.a.createElement(L.a,{key:"loginsignup",lock:r,loginLabel:e.str("loginLabel"),signUpLabel:e.str("signUpLabel")}),u=f.hasSomeConnections(r,"social")&&s.a.createElement(I.a,{bigButtons:n.i(M.d)(r),instructions:e.html("socialSignUpInstructions"),labelFn:e.str,lock:r,signUp:!0,disabled:!n.i(c.r)(r)}),l=u?"databaseAlternativeSignUpInstructions":"databaseSignUpInstructions",p=(f.hasSomeConnections(r,"database")||f.hasSomeConnections(r,"enterprise"))&&s.a.createElement(N.a,{emailInputPlaceholder:e.str("emailInputPlaceholder"),i18n:e,instructions:e.html(l),model:r,onlyEmail:i,passwordInputPlaceholder:e.str("passwordInputPlaceholder"),passwordStrengthMessages:e.group("passwordStrength"),usernameInputPlaceholder:e.str("usernameInputPlaceholder")}),g=u&&p&&s.a.createElement(D.a,null);return s.a.createElement("div",null,o,a,u,g,p)},z=function(t){function e(){return r(this,e),i(this,t.call(this,"main.signUp"))}return o(e,t),e.prototype.submitButtonLabel=function(t){return y.str(t,["signUpSubmitLabel"])},e.prototype.submitHandler=function(t){return n.i(M.e)(t,"social")?null:n.i(M.c)(t)?h.a:l.c},e.prototype.isSubmitDisabled=function(t){return!n.i(c.r)(t)},e.prototype.renderAuxiliaryPane=function(t){return n.i(p.a)(t)||n.i(g.a)(t)||n.i(d.l)(t)},e.prototype.renderTabs=function(){return!0},e.prototype.getScreenTitle=function(t){return y.str(t,"signupTitle")},e.prototype.renderTerms=function(t,e){var r=n.i(c.s)(t)?function(){return n.i(l.d)(f.id(t))}:void 0;return e||n.i(c.s)(t)?s.a.createElement(j.a,{checkHandler:r,checked:n.i(c.r)(t)},e):null},e.prototype.render=function(){return w},e}(u.a);e.a=z},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(118),a=n(8),s=n(123),u=n(230),c=n(226),l=n(1),M=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:c.mfa_code,n=u()(t);if(n.lengthe.length)return!1;var r=l.exec(n);return r&&r[0]}function i(t,e){return n.i(a.g)(t,"mfa_code",e,r)}function o(t){return c.mfa_code}var a=n(8),s=(n(29),n(10),n(35)),u=n.n(s);e.a=i,e.b=o;var c={mfa_code:{length:6}},l=/^[0-9]+$/},function(t,e,n){"use strict";var r=n(0),i=n.n(r),o=n(232),a=n(118);e.a=function(t){var e=t.icon,r=t.iconUrl,s=t.model,u=t.name,c=t.items;return i.a.createElement(o.a,{icon:e,iconUrl:r,items:c,onSelect:function(t){return n.i(a.a)(s.get("id"),u,t)},onCancel:function(){return n.i(a.b)(s.get("id"))}})}},function(t,e,n){"use strict";function r(t,e){return a()(e).check(t)}function i(t,e,i){return n.i(s.g)(t,"password",e,r,i)}var o=n(130),a=n.n(o),s=n(8);e.a=i},function(t,e,n){"use strict";e.__esModule=!0,e.default={error:{forgotPassword:{too_many_requests:"You have reached the limit on password change attempts. Please wait before trying again.","lock.fallback":"We're sorry, something went wrong when requesting the password change."},login:{blocked_user:"The user is blocked.",invalid_user_password:"Wrong credentials.","lock.fallback":"We're sorry, something went wrong when attempting to log in.","lock.invalid_code":"Wrong code.","lock.invalid_email_password":"Wrong email or password.","lock.invalid_username_password":"Wrong username or password.","lock.network":"We could not reach the server. Please check your connection and try again.","lock.popup_closed":"Popup window closed. Try again.","lock.unauthorized":"Permissions were not granted. Try again.","lock.mfa_registration_required":"Multifactor authentication is required but your device is not enrolled. Please enroll it before moving on.","lock.mfa_invalid_code":"Wrong code. Please try again.",password_change_required:"You need to update your password because this is the first time you are logging in, or because your password has expired.",password_leaked:"We have detected a potential security issue with this account. To protect your account, we have blocked this login. An email was sent with instruction on how to unblock your account.",too_many_attempts:"Your account has been blocked after multiple consecutive login attempts.",session_missing:"Couldn't complete your authentication request. Please try again after closing all open dialogs","hrd.not_matching_email":"Please, use your corporate email to login."},passwordless:{"bad.email":"The email is invalid","bad.phone_number":"The phone number is invalid","lock.fallback":"We're sorry, something went wrong"},signUp:{invalid_password:"Password is invalid.","lock.fallback":"We're sorry, something went wrong when attempting to sign up.",password_dictionary_error:"Password is too common.",password_no_user_info_error:"Password is based on user information.",password_strength_error:"Password is too weak.",user_exists:"The user already exists.",username_exists:"The username already exists."}},success:{logIn:"Thanks for logging in.",forgotPassword:"We've just sent you an email to reset your password.",magicLink:"We sent you a link to log in
to %s.",signUp:"Thanks for signing up."},blankErrorHint:"Can't be blank",codeInputPlaceholder:"your code",databaseEnterpriseLoginInstructions:"",databaseEnterpriseAlternativeLoginInstructions:"or",databaseSignUpInstructions:"",databaseAlternativeSignUpInstructions:"or",emailInputPlaceholder:"yours@example.com",enterpriseLoginIntructions:"Login with your corporate credentials.",enterpriseActiveLoginInstructions:"Please enter your corporate credentials at %s.",failedLabel:"Failed!",forgotPasswordTitle:"Reset your password",forgotPasswordAction:"Don't remember your password?",forgotPasswordInstructions:"Please enter your email address. We will send you an email to reset your password.",forgotPasswordSubmitLabel:"Send email",invalidErrorHint:"Invalid",lastLoginInstructions:"Last time you logged in with",loginAtLabel:"Log in at %s",loginLabel:"Log In",loginSubmitLabel:"Log In",loginWithLabel:"Log in with %s",notYourAccountAction:"Not your account?",passwordInputPlaceholder:"your password",passwordStrength:{containsAtLeast:"Contain at least %d of the following %d types of characters:",identicalChars:'No more than %d identical characters in a row (e.g., "%s" not allowed)',nonEmpty:"Non-empty password required",numbers:"Numbers (i.e. 0-9)",lengthAtLeast:"At least %d characters in length",lowerCase:"Lower case letters (a-z)",shouldContain:"Should contain:",specialCharacters:"Special characters (e.g. !@#$%^&*)",upperCase:"Upper case letters (A-Z)"},passwordlessEmailAlternativeInstructions:"Otherwise, enter your email to sign in
or create an account",passwordlessEmailCodeInstructions:"An email with the code has been sent to %s.",passwordlessEmailInstructions:"Enter your email to sign in
or create an account",passwordlessSMSAlternativeInstructions:"Otherwise, enter your phone to sign in
or create an account",passwordlessSMSCodeInstructions:"An SMS with the code has been sent
to %s.",passwordlessSMSInstructions:"Enter your phone to sign in
or create an account",phoneNumberInputPlaceholder:"your phone number",resendCodeAction:"Did not get the code?",resendLabel:"Resend",resendingLabel:"Resending...",retryLabel:"Retry",sentLabel:"Sent!",signupTitle:"Sign Up",signUpLabel:"Sign Up",signUpSubmitLabel:"Sign Up",signUpTerms:"",signUpWithLabel:"Sign up with %s",socialLoginInstructions:"",socialSignUpInstructions:"",ssoEnabled:"Single Sign-On enabled",submitLabel:"Submit",unrecoverableError:"Something went wrong.
Please contact technical support.",usernameFormatErrorHint:'Use %d-%d letters, numbers and "_"',usernameInputPlaceholder:"your username",usernameOrEmailInputPlaceholder:"username/email",title:"Auth0",welcome:"Welcome %s!",windowsAuthInstructions:"You are connected from your corporate network…",windowsAuthLabel:"Windows Authentication",mfaInputPlaceholder:"Code",mfaLoginTitle:"2-Step Verification",mfaLoginInstructions:"Please enter the verification code generated by your mobile application.",mfaSubmitLabel:"Log In",mfaCodeErrorHint:"Use %d numbers"}},function(t,e,n){"use strict";(function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(0),o=n.n(i),a=n(48),s=n.n(a),u=n(127),c=n.n(u),l=n(121);n.d(e,"a",function(){return d}),n.d(e,"b",function(){return h});var M=function(){function e(){r(this,e)}return e.prototype.ensure=function(e,n){var r=t.document.getElementById(e);if(!r&&n&&(r=t.document.createElement("div"),r.id=e,r.className="auth0-lock-container",t.document.body.appendChild(r)),!r)throw new Error("Can't find element with id "+e);return r},e}(),p=function(){function e(){r(this,e),this.containerManager=new M,this.modals={}}return e.prototype.render=function(e,n){var r=n.isModal,i=this.containerManager.ensure(e,r);r&&!this.modals[e]&&c.a.addClass(t.document.getElementsByTagName("html")[0],"auth0-lock-html");var a=s.a.render(o.a.createElement(l.b,n),i);return r&&(this.modals[e]=a),a},e.prototype.remove=function(t){var e=this;this.modals[t]?(this.modals[t].hide(),setTimeout(function(){return e.unmount(t)},1e3)):this.unmount(t)},e.prototype.unmount=function(e){try{var n=this.containerManager.ensure(e);n&&s.a.unmountComponentAtNode(n)}catch(t){}this.modals[e]&&(delete this.modals[e],c.a.removeClass(t.document.getElementsByTagName("html")[0],"auth0-lock-html"))},e}(),g=new p,d=function(){return g.render.apply(g,arguments)},h=function(){return g.remove.apply(g,arguments)}}).call(e,n(13))},function(t,e,n){"use strict";(function(t){function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=n(48),M=n.n(l),p=n(266),g=n.n(p),d=n(225),h=n(223),f=n(224),y=Object.assign||function(t){for(var e=1;e9)}(),h=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.backgroundColor,n=t.imageUrl,r=t.grayScale,i={className:"auth0-lock-header-bg"};d&&(i.className+=" auth0-lock-blur-support");var o={className:"auth0-lock-header-bg-blur",style:{backgroundImage:"url('"+n+"')"}};r&&(o.className+=" auth0-lock-no-grayscale");var a={className:"auth0-lock-header-bg-solid",style:{backgroundColor:e}};return c.a.createElement("div",i,c.a.createElement("div",o),c.a.createElement("div",a))},e}(c.a.Component);h.propTypes={backgorundColor:s.a.string,grayScale:s.a.bool,imageUrl:s.a.string}}).call(e,n(13))},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a=n(3),s=n.n(a),u=n(0),c=n.n(u),l=n(48),M=n.n(l),p=n(127),g=n.n(p),d=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.state={children:{current:n.children}},o}return o(e,t),e.prototype.componentWillReceiveProps=function(t){this.state.children.current.key!=t.children.key?(this.setState({children:{current:t.children,prev:this.state.children.current},transitionName:this.props.transitionName}),this.animate=!0):this.timeout||this.setState({children:{current:t.children},transitionName:t.transitionName})},e.prototype.componentDidUpdate=function(){var t=this;if(this.animate){this.animate=!1;var e=this.state.transitionName,n=this.state.children,r=n.current,i=n.prev,o=this.props.reverse,a=this.refs[r.key],s=this.refs[i.key],u=function(t,e,n){var r=M.a.findDOMNode(t),i=e+"-active";g.a.addClass(r,e),setTimeout(function(){return g.a.addClass(r,i)},17),n&&setTimeout(function(){g.a.removeClass(r,e),g.a.removeClass(r,i)},n)},c=function(n){a.componentWillSlideIn(n);var r=o?"reverse-":"";u(a,""+r+e+"-enter",t.props.delay),u(s,""+r+e+"-leave"),t.timeout=setTimeout(function(){var e;t.setState({children:{current:t.state.children.current},transitionName:t.props.transitionName}),a.componentDidSlideIn((e=t.props).onDidAppear.bind(e)),t.props.onDidSlide(),t.timeout=null},t.props.delay)};this.props.onWillSlide(),s.componentWillSlideOut(c)}},e.prototype.componentWillUnmount=function(){this.timeout&&clearTimeout(this.timeout)},e.prototype.render=function(){var t=this.state.children,e=t.current,n=t.prev,r=n?[e,n]:[e],i=r.map(function(t){return c.a.cloneElement(c.a.createElement(h,{},t),{ref:t.key,key:t.key})});return c.a.createElement(this.props.component,{},i)},e}(c.a.Component);e.a=d,d.propTypes={children:s.a.node.isRequired,component:s.a.string,delay:s.a.number.isRequired,onDidAppear:s.a.func.isRequired,onDidSlide:s.a.func.isRequired,onWillSlide:s.a.func.isRequired,reverse:s.a.bool.isRequired,transitionName:s.a.string.isRequired},d.defaultProps={component:"span",onDidAppear:function(){},onDidSlide:function(){},onWillSlide:function(){},reverse:!1};var h=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.state={height:"",originalHeight:"",show:!0},o}return o(e,t),e.prototype.componentWillSlideIn=function(t){this.setState({height:t.height,originalHeight:parseInt(window.getComputedStyle(this.node,null).height,10),show:!1})},e.prototype.componentDidSlideIn=function(t){var e=this,n=this.state,r=n.height,i=n.originalHeight;if(r===i)this.setState({show:!0,height:""}),t();else{this.cb=t;var o=10,a=0,s=r,u=i,c=Math.abs(s-u)/o,l=s=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(0),u=n.n(s),c=n(32),l=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(3),u=n.n(s),c=n(0),l=n.n(c),M=n(32),p=n(75),g=Object.assign||function(t){for(var e=1;e',l=function(t){function e(n){r(this,e);var o=i(this,t.call(this,n));return o.state={},o}return o(e,t),e.prototype.render=function(){var t=this.props,e=t.iconUrl,n=t.isValid,r=t.label,i=t.name,o=t.onClick,a=t.placeholder,l=this.props.icon,M=this.state.focused,p=r||a;p.length>23&&(p=p.substr(0,20)+"..."),!l&&"string"==typeof e&&e&&(l=s.a.createElement("img",{className:"auth0-lock-custom-icon",src:e}));var g="auth0-lock-input auth0-lock-input-location";return r||(g+=" auth0-lock-input-with-placeholder"),s.a.createElement(u.a,{focused:M,isValid:n,name:"location",icon:l},s.a.createElement("input",{type:"button",name:i,className:g,value:p,onFocus:this.handleFocus.bind(this),onBlur:this.handleBlur.bind(this),onKeyDown:this.handleKeyDown.bind(this),onClick:o}),s.a.createElement("span",{dangerouslySetInnerHTML:{__html:c}}))},e.prototype.handleFocus=function(){this.setState({focused:!0})},e.prototype.handleBlur=function(){this.setState({focused:!1})},e.prototype.handleKeyDown=function(t){return"Tab"!==t.key&&t.preventDefault(),"ArrowDown"===t.key?this.props.onClick():t.keyCode>=65&&t.keyCode<=90?this.props.onClick(String.fromCharCode(t.keyCode).toLowerCase()):void 0},e}(s.a.Component);e.a=l},function(t,e,n){"use strict";function r(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var s=n(0),u=n.n(s),c=n(32),l=Object.assign||function(t){for(var e=1;en.clientHeight?o=i+r.offsetHeight-n.clientHeight:i<0&&(o=i),o&&(this.preventHighlight=!0,n.scrollTop+=o,this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){return t.preventHighlight=!1},100))}},e.prototype.mouseMoveHandler=function(t){!this.preventHighlight&&this.props.onMouseMove(t)},e.prototype.mouseLeaveHandler=function(){},e.prototype.render=function(){var t=this,e=this.props.items.map(function(e){var n=e===t.props.highlighted,r={highlighted:n,key:e.get("label"),label:e.get("label"),onClick:function(){return t.props.onClick(e)},onMouseMove:function(){return t.mouseMoveHandler(e)}};return n&&(r.ref="highlighted"),c.a.createElement(N,r)});return c.a.createElement("div",{className:"auth0-lock-list-code",onMouseLeave:this.mouseLeaveHandler.bind(this)},c.a.createElement("ul",null,e))},e}(c.a.Component),N=function(t){function e(){return r(this,e),i(this,t.apply(this,arguments))}return o(e,t),e.prototype.shouldComponentUpdate=function(t){return this.props.highlighted!=t.highlighted},e.prototype.render=function(){var t=this.props,e=t.highlighted,n=t.label,r=t.onClick,i=t.onMouseMove,o=e?"auth0-lock-list-code-highlighted":"";return c.a.createElement("li",{className:o,onClick:r,onMouseMove:i},n)},e}(c.a.Component);N.propTypes={highlighted:s.a.bool.isRequired,label:s.a.string.isRequired,onClick:s.a.func.isRequired,onMouseMove:s.a.func.isRequired}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t){return new o(t)}e.a=i;var o=function(){function t(e){r(this,t),this.state=e,this.watches={}}return t.prototype.reset=function(t){return this._change(t)},t.prototype.swap=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r1||this.fetch(i,e)},t.prototype.fetch=function(t,e){var n=this;this.fetchFn.apply(this,e.concat([function(e,r){e||(n.cache[t]=r),n.execCallbacks(t,e,r)}]))},t.prototype.registerCallback=function(t,e){return this.cbs[t]=this.cbs[t]||[],this.cbs[t].push(e),this.cbs[t].length},t.prototype.execCallbacks=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r>16)+(e>>16)+(n>>16)<<16|65535&n}function a(t,e){return t<>>32-e}function s(t,e,n,r,i,s){return o(a(o(o(e,t),o(r,s)),i),n)}function u(t,e,n,r,i,o,a){return s(e&n|~e&r,t,e,i,o,a)}function c(t,e,n,r,i,o,a){return s(e&r|n&~r,t,e,i,o,a)}function l(t,e,n,r,i,o,a){return s(e^n^r,t,e,i,o,a)}function M(t,e,n,r,i,o,a){return s(n^(e|~r),t,e,i,o,a)}function p(t,e){t[e>>5]|=128<>>9<<4)]=e;var n,r,i,a,s,p=1732584193,g=-271733879,d=-1732584194,h=271733878;for(n=0;n>5]>>>e%32&255);return n}function d(t){var e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e>5]|=(255&t.charCodeAt(e/8))<16&&(i=p(i,8*t.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=p(o.concat(d(e)),512+8*e.length),g(p(a.concat(r),640))}function y(t){var e,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&e);return i}function N(t){return unescape(encodeURIComponent(t))}function D(t){return h(N(t))}function j(t){return y(D(t))}function I(t,e){return f(N(t),N(e))}function L(t,e){return y(I(t,e))}function m(t,e,n){return e?n?I(e,t):L(e,t):n?D(t):j(t)}void 0!==(r=function(){return m}.call(e,n,e,t))&&(t.exports=r)}()},function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,i=0;i>>2]>>>24-o%4*8&255;e[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var o=0;o>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var e=this.words,n=this.sigBytes;e[n>>>2]&=4294967295<<32-n%4*8,e.length=t.ceil(n/4)},clone:function(){var t=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(e){for(var n,r=[],i=function(e){var e=e,n=987654321,r=4294967295;return function(){n=36969*(65535&n)+(n>>16)&r,e=18e3*(65535&e)+(e>>16)&r;var i=(n<<16)+e&r;return i/=4294967296,(i+=.5)*(t.random()>.5?1:-1)}},o=0;o>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r>>3]|=parseInt(t.substr(r,2),16)<<24-r%8*4;return new a.init(n,e/2)}},c=s.Latin1={stringify:function(t){for(var e=t.words,n=t.sigBytes,r=[],i=0;i>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(t){for(var e=t.length,n=[],r=0;r>>2]|=(255&t.charCodeAt(r))<<24-r%4*8;return new a.init(n,e)}},l=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},M=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=l.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(e){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=4*o,u=i/s;u=e?t.ceil(u):t.max((0|u)-this._minBufferSize,0);var c=u*o,l=t.min(4*c,i);if(c){for(var M=0;M>>7)^(d<<14|d>>>18)^d>>>3,f=c[g-2],y=(f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10;c[g]=h+c[g-7]+y+c[g-16]}var N=s&l^~s&M,D=r&i^r&o^i&o,j=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),I=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),L=p+I+N+u[g]+c[g],m=j+D;p=M,M=l,l=s,s=a+L|0,a=o,o=i,i=r,r=L+m|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+l|0,n[6]=n[6]+M|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});n.SHA256=o._createHelper(l),n.HmacSHA256=o._createHmacHelper(l)}(Math),t.SHA256})},function(t,e,n){(function(r){function i(){return!("undefined"==typeof window||!window||void 0===window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))}),t.splice(o,0,r)}}function a(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function u(){try{return e.storage.debug}catch(t){}if(void 0!==r&&"env"in r)return n.i({NODE_ENV:"production"}).DEBUG}function c(){try{return window.localStorage}catch(t){}}e=t.exports=n(244),e.log=a,e.formatArgs=o,e.save=s,e.load=u,e.useColors=i,e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:c(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(u())}).call(e,n(39))},function(t,e,n){function r(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function i(t){function n(){if(n.enabled){var t=n,r=+new Date,i=r-(c||r);t.diff=i,t.prev=c,t.curr=r,c=r;for(var o=new Array(arguments.length),a=0;a0&&this._events[t].length>i&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){function n(){this.removeListener(t,n),i||(i=!0,e.apply(this,arguments))}if(!r(e))throw TypeError("listener must be a function");var i=!1;return n.listener=e,this.on(t,n),this},n.prototype.removeListener=function(t,e){var n,i,a,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(n=this._events[t],a=n.length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[t],r(n))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){"use strict";var r=function(t,e,n,r,i,o,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;u=new Error("Invariant Violation: "+e.replace(/%s/g,function(){return c[l++]}))}throw u.framesToPop=1,u}};t.exports=r},function(t,e){function n(){}n.prototype.get=function(t){return null},n.prototype.has=function(t){return!1},n.prototype.set=function(t,e){},t.exports=n},function(t,e){function n(t){this.name="ConfigurationError",this.message=t||""}function r(t){this.name="TokenValidationError",this.message=t||""}n.prototype=Error.prototype,r.prototype=Error.prototype,t.exports={ConfigurationError:n,TokenValidationError:r}},function(t,e,n){function r(t){return{modulus:a.decodeToHEX(t.n),exp:a.decodeToHEX(t.e)}}function i(t,e){var n=o(t.iss,".well-known","jwks.json");return s.get(n).end(function(n,i){n&&e(n);for(var o=null,a=0;a0&&e.length>0))throw new Error("Invalid key data");this.n=new o(t,16),this.e=parseInt(e,16)}function i(t){for(var e in s){var n=s[e],r=n.length;if(t.substring(0,r)===n)return{alg:e,hash:t.substring(r)}}return[]}var o=n(251).BigInteger,a=n(242),s={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},u={sha256:a};r.prototype.verify=function(t,e){e=e.replace(/[^0-9a-f]|[\s\n]]/gi,"");var n=new o(e,16);if(n.bitLength()>this.n.bitLength())throw new Error("Signature does not match with the key modulus.");var r=n.modPowInt(this.e,this.n),a=r.toString(16).replace(/^1f+00/,""),s=i(a);if(0===s.length)return!1;if(!u.hasOwnProperty(s.alg))throw new Error("Hashing algorithm is not supported.");var c=u[s.alg](t).toString();return s.hash===c},t.exports=r},function(t,e,n){(function(){function n(t,e,n){null!=t&&("number"==typeof t?this.fromNumber(t,e,n):null==e&&"string"!=typeof t?this.fromString(t,256):this.fromString(t,e))}function r(){return new n(null)}function i(t,e,n,r,i,o){for(;--o>=0;){var a=e*this[t++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i}function o(t,e,n,r,i,o){for(var a=32767&e,s=e>>15;--o>=0;){var u=32767&this[t],c=this[t++]>>15,l=s*u+c*a;u=a*u+((32767&l)<<15)+n[r]+(1073741823&i),i=(u>>>30)+(l>>>15)+s*c+(i>>>30),n[r++]=1073741823&u}return i}function a(t,e,n,r,i,o){for(var a=16383&e,s=e>>14;--o>=0;){var u=16383&this[t],c=this[t++]>>14,l=s*u+c*a;u=a*u+((16383&l)<<14)+n[r]+i,i=(u>>28)+(l>>14)+s*c,n[r++]=268435455&u}return i}function s(t){return fe.charAt(t)}function u(t,e){var n=ye[t.charCodeAt(e)];return null==n?-1:n}function c(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s}function l(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0}function M(t){var e=r();return e.fromInt(t),e}function p(t,e){var r;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&t[i]:u(t,i);s<0?"-"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<>this.DB-a):this[this.t-1]|=s<=this.DB&&(a-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t}function d(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var n,r=(1<0)for(u>u)>0&&(i=!0,o=s(n));a>=0;)u>(u+=this.DB-e)):(n=this[a]>>(u-=e)&r,u<=0&&(u+=this.DB,--a)),n>0&&(i=!0),i&&(o+=s(n));return i?o:"0"}function h(){var t=r();return n.ZERO.subTo(this,t),t}function f(){return this.s<0?this.negate():this}function y(t){var e=this.s-t.s;if(0!=e)return e;var n=this.t;if(0!=(e=n-t.t))return this.s<0?-e:e;for(;--n>=0;)if(0!=(e=this[n]-t[n]))return e;return 0}function N(t){var e,n=1;return 0!=(e=t>>>16)&&(t=e,n+=16),0!=(e=t>>8)&&(t=e,n+=8),0!=(e=t>>4)&&(t=e,n+=4),0!=(e=t>>2)&&(t=e,n+=2),0!=(e=t>>1)&&(t=e,n+=1),n}function D(){return this.t<=0?0:this.DB*(this.t-1)+N(this[this.t-1]^this.s&this.DM)}function j(t,e){var n;for(n=this.t-1;n>=0;--n)e[n+t]=this[n];for(n=t-1;n>=0;--n)e[n]=0;e.t=this.t+t,e.s=this.s}function I(t,e){for(var n=t;n=0;--n)e[n+a+1]=this[n]>>i|s,s=(this[n]&o)<=0;--n)e[n]=0;e[a]=s,e.t=this.t+a+1,e.s=this.s,e.clamp()}function m(t,e){e.s=this.s;var n=Math.floor(t/this.DB);if(n>=this.t)return void(e.t=0);var r=t%this.DB,i=this.DB-r,o=(1<>r;for(var a=n+1;a>r;r>0&&(e[this.t-n-1]|=(this.s&o)<>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r-=t.s}e.s=r<0?-1:0,r<-1?e[n++]=this.DV+r:r>0&&(e[n++]=r),e.t=n,e.clamp()}function z(t,e){var r=this.abs(),i=t.abs(),o=r.t;for(e.t=o+i.t;--o>=0;)e[o]=0;for(o=0;o=0;)t[n]=0;for(n=0;n=e.DV&&(t[n+e.t]-=e.DV,t[n+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(n,e[n],t,2*n,0,1)),t.s=0,t.clamp()}function b(t,e,i){var o=t.abs();if(!(o.t<=0)){var a=this.abs();if(a.t0?(o.lShiftTo(l,s),a.lShiftTo(l,i)):(o.copyTo(s),a.copyTo(i));var M=s.t,p=s[M-1];if(0!=p){var g=p*(1<1?s[M-2]>>this.F2:0),d=this.FV/g,h=(1<=0&&(i[i.t++]=1,i.subTo(j,i)),n.ONE.dlShiftTo(M,j),j.subTo(s,s);s.t=0;){var I=i[--y]==p?this.DM:Math.floor(i[y]*d+(i[y-1]+f)*h);if((i[y]+=s.am(0,I,i,D,0,M))0&&i.rShiftTo(l,i),u<0&&n.ZERO.subTo(i,i)}}}function C(t){var e=r();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(n.ZERO)>0&&t.subTo(e,e),e}function T(t){this.m=t}function E(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t}function k(t){return t}function x(t){t.divRemTo(this.m,null,t)}function O(t,e,n){t.multiplyTo(e,n),this.reduce(n)}function S(t,e){t.squareTo(e),this.reduce(e)}function A(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return e=e*(2-(15&t)*e)&15,e=e*(2-(255&t)*e)&255,e=e*(2-((65535&t)*e&65535))&65535,e=e*(2-t*e%this.DV)%this.DV,e>0?this.DV-e:-e}function U(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(e,e),e}function Y(t){var e=r();return t.copyTo(e),this.reduce(e),e}function Q(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(n=e+this.m.t,t[n]+=this.m.am(0,r,t,e,0,this.m.t);t[n]>=t.DV;)t[n]-=t.DV,t[++n]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)}function B(t,e){t.squareTo(e),this.reduce(e)}function P(t,e,n){t.multiplyTo(e,n),this.reduce(n)}function G(){return 0==(this.t>0?1&this[0]:this.s)}function R(t,e){if(t>4294967295||t<1)return n.ONE;var i=r(),o=r(),a=e.convert(this),s=N(t)-1;for(a.copyTo(i);--s>=0;)if(e.sqrTo(i,o),(t&1<0)e.mulTo(o,a,i);else{var u=i;i=o,o=u}return e.revert(i)}function Z(t,e){var n;return n=t<256||e.isEven()?new T(e):new U(e),this.exp(t,n)}function H(){var t=r();return this.copyTo(t),t}function W(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24}function F(){return 0==this.t?this.s:this[0]<<16>>16}function J(t){return Math.floor(Math.LN2*this.DB/Math.log(t))}function q(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1}function X(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),n=Math.pow(t,e),i=M(n),o=r(),a=r(),s="";for(this.divRemTo(i,o,a);o.signum()>0;)s=(n+a.intValue()).toString(t).substr(1)+s,o.divRemTo(i,o,a);return a.intValue().toString(t)+s}function K(t,e){this.fromInt(0),null==e&&(e=10);for(var r=this.chunkSize(e),i=Math.pow(e,r),o=!1,a=0,s=0,c=0;c=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(e,a)),this.dAddOffset(s,0)),o&&n.ZERO.subTo(this,this)}function $(t,e,r){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(n.ONE.shiftLeft(t-1),st,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(n.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=1+(t>>3),e.nextBytes(i),o>0?i[0]&=(1<0)for(r>r)!=(this.s&this.DM)>>r&&(e[i++]=n|this.s<=0;)r<8?(n=(this[t]&(1<>(r+=this.DB-8)):(n=this[t]>>(r-=8)&255,r<=0&&(r+=this.DB,--t)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(e[i++]=n);return e}function et(t){return 0==this.compareTo(t)}function nt(t){return this.compareTo(t)<0?this:t}function rt(t){return this.compareTo(t)>0?this:t}function it(t,e,n){var r,i,o=Math.min(t.t,this.t);for(r=0;r>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function yt(){for(var t=0;t=this.t?0!=this.s:0!=(this[e]&1<>=this.DB;if(t.t>=this.DB;r+=this.s}else{for(r+=this.s;n>=this.DB;r+=t.s}e.s=r<0?-1:0,r>0?e[n++]=r:r<-1&&(e[n++]=this.DV+r),e.t=n,e.clamp()}function vt(t){var e=r();return this.addTo(t,e),e}function bt(t){var e=r();return this.subTo(t,e),e}function Ct(t){var e=r();return this.multiplyTo(t,e),e}function Tt(){var t=r();return this.squareTo(t),t}function Et(t){var e=r();return this.divRemTo(t,e,null),e}function kt(t){var e=r();return this.divRemTo(t,null,e),e}function xt(t){var e=r(),n=r();return this.divRemTo(t,e,n),new Array(e,n)}function Ot(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()}function St(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}}function At(){}function Ut(t){return t}function _t(t,e,n){t.multiplyTo(e,n)}function Yt(t,e){t.squareTo(e)}function Qt(t){return this.exp(t,new At)}function Bt(t,e,n){var r=Math.min(this.t+t.t,e);for(n.s=0,n.t=r;r>0;)n[--r]=0;var i;for(i=n.t-this.t;r=0;)n[r]=0;for(r=Math.max(e-this.t,0);r2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=r();return t.copyTo(e),this.reduce(e),e}function Zt(t){return t}function Ht(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)}function Wt(t,e){t.squareTo(e),this.reduce(e)}function Vt(t,e,n){t.multiplyTo(e,n),this.reduce(n)}function Ft(t,e){var n,i,o=t.bitLength(),a=M(1);if(o<=0)return a;n=o<18?1:o<48?3:o<144?4:o<768?5:6,i=o<8?new T(e):e.isEven()?new Gt(e):new U(e);var s=new Array,u=3,c=n-1,l=(1<1){var p=r();for(i.sqrTo(s[1],p);u<=l;)s[u]=r(),i.mulTo(p,s[u-2],s[u]),u+=2}var g,d,h=t.t-1,f=!0,y=r();for(o=N(t[h])-1;h>=0;){for(o>=c?g=t[h]>>o-c&l:(g=(t[h]&(1<0&&(g|=t[h-1]>>this.DB+o-c)),u=n;0==(1&g);)g>>=1,--u;if((o-=u)<0&&(o+=this.DB,--h),f)s[g].copyTo(a),f=!1;else{for(;u>1;)i.sqrTo(a,y),i.sqrTo(y,a),u-=2;u>0?i.sqrTo(a,y):(d=a,a=y,y=d),i.mulTo(y,s[g],a)}for(;h>=0&&0==(t[h]&1<0&&(e.rShiftTo(o,e),n.rShiftTo(o,n));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),e.compareTo(n)>=0?(e.subTo(n,e),e.rShiftTo(1,e)):(n.subTo(e,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n}function qt(t){if(t<=0)return 0;var e=this.DV%t,n=this.s<0?t-1:0;if(this.t>0)if(0==e)n=this[0]%t;else for(var r=this.t-1;r>=0;--r)n=(e*n+this[r])%t;return n}function Xt(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return n.ZERO;for(var r=t.clone(),i=this.clone(),o=M(1),a=M(0),s=M(0),u=M(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),e?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),e?(s.isEven()&&u.isEven()||(s.addTo(this,s),u.subTo(t,u)),s.rShiftTo(1,s)):u.isEven()||u.subTo(t,u),u.rShiftTo(1,u);r.compareTo(i)>=0?(r.subTo(i,r),e&&o.subTo(s,o),a.subTo(u,a)):(i.subTo(r,i),e&&s.subTo(o,s),u.subTo(a,u))}return 0!=i.compareTo(n.ONE)?n.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()<0?(u.addTo(t,u),u.signum()<0?u.add(t):u):u}function Kt(t){var e,n=this.abs();if(1==n.t&&n[0]<=Ne[Ne.length-1]){for(e=0;e>1)>Ne.length&&(t=Ne.length);for(var a=r(),s=0;s>8&255,Ie[Le++]^=t>>16&255,Ie[Le++]^=t>>24&255,Le>=ve&&(Le-=ve)}function ee(){te((new Date).getTime())}function ne(){if(null==je){for(ee(),je=ue(),je.init(Ie),Le=0;Le>>8,Ie[Le++]=255&me;Le=0,ee()}ie.prototype.nextBytes=re,oe.prototype.init=ae,oe.prototype.next=se;var ve=256;n.SecureRandom=ie,n.BigInteger=n,e=t.exports=n}).call(this)},function(t,e,n){function r(){}function i(t,e,n){function i(){u.parentNode&&u.parentNode.removeChild(u),window[M]=r,c&&clearTimeout(c)}function s(){window[M]&&i()}"function"==typeof e&&(n=e,e={}),e||(e={});var u,c,l=e.prefix||"__jp",M=e.name||l+a++,p=e.param||"callback",g=null!=e.timeout?e.timeout:6e4,d=encodeURIComponent,h=document.getElementsByTagName("script")[0]||document.head;return g&&(c=setTimeout(function(){i(),n&&n(new Error("Timeout"))},g)),window[M]=function(t){o("jsonp got",t),i(),n&&n(null,t)},t+=(~t.indexOf("?")?"&":"?")+p+"="+d(M),t=t.replace("?&","?"),o('jsonp req "%s"',t),u=document.createElement("script"),u.src=t,h.parentNode.insertBefore(u,h),s}var o=n(243)("jsonp");t.exports=i;var a=0},function(t,e){function n(t){if(t=String(t),!(t.length>1e4)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var n=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*l;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*u;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function r(t){return t>=c?Math.round(t/c)+"d":t>=u?Math.round(t/u)+"h":t>=s?Math.round(t/s)+"m":t>=a?Math.round(t/a)+"s":t+"ms"}function i(t){return o(t,c,"day")||o(t,u,"hour")||o(t,s,"minute")||o(t,a,"second")||t+" ms"}function o(t,e,n){if(!(t0)return n(t);if("number"===o&&isNaN(t)===!1)return e.long?i(t):r(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e,n){function r(t){return"string"==typeof t||t instanceof String}function i(t,e){function n(t,e){var n=new Array(e+1).join(" "),r=n+"* ";return r+=t.format?a.apply(null,[t.message].concat(t.format)):t.message,t.items&&(r+="\n"+n+i(t.items,e+1)),r}if(!t.length)return"";var r=n(t[0],e);return t=t.slice(1).reduce(function(t,r){return t+="\n"+n(r,e)},r)}function o(t,e){this.rules=t,this.ruleset=e||u,this._reduce(function(t,e,n){n.validate(e)})}var a=n(105).format,s=n(255),u={length:n(258),contains:n(79),containsAtLeast:n(256),identicalChars:n(257)};o.prototype={},o.prototype._reduce=function(t,e){var n=this;return Object.keys(this.rules).reduce(function(e,r){return t(e,n.rules[r],n.ruleset[r])},e)},o.prototype._applyRules=function(t){return this._reduce(function(e,n,r){return!!e&&(!!r&&r.assert(n,t))},!0)},o.prototype.missing=function(t){return this._reduce(function(e,n,r){var i=r.missing(n,t);return e.rules.push(i),e.verified=e.verified&&!!i.verified,e},{rules:[],verified:!0})},o.prototype.explain=function(){return this._reduce(function(t,e,n){return t.push(n.explain(e)),t},[])},o.prototype.missingAsMarkdown=function(t){return i(this.missing(t),1)},o.prototype.toString=function(){return i(this.explain(),0)},o.prototype.check=function(t){return!!r(t)&&this._applyRules(t)},o.prototype.assert=function(t){if(!this.check(t))throw new s("Password does not meet password policy")},t.exports=o},function(t,e){function n(t){var e=Error.call(this,t);return e.name="PasswordPolicyError",e}t.exports=n},function(t,e,n){function r(){return"Contain at least %d of the following %d types of characters:"}var i=n(60),o=n(79);t.exports={validate:function(t){if(!i.isObject(t))throw new Error("options should be an object");if(!i.isNumber(t.atLeast)||i.isNaN(t.atLeast)||t.atLeast<1)throw new Error("atLeast should be a valid, non-NaN number, greater than 0");if(!i.isArray(t.expressions)||i.isEmpty(t.expressions))throw new Error("expressions should be an non-empty array");if(t.expressions.length=t.atLeast;return{message:r(),code:"containsAtLeast",format:[t.atLeast,t.expressions.length],items:n,verified:o}},assert:function(t,e){return!!e&&t.expressions.filter(function(t){return t.test(e)}).length>=t.atLeast},charsets:o.charsets}},function(t,e,n){function r(t,e){if(!e)return!1;var n,r={c:null,count:0};for(n=0;nt.max)return!1;return!0}function i(t,e){var n=new Array(t.max+2).join("a"),r={message:'No more than %d identical characters in a row (e.g., "%s" not allowed)',code:"identicalChars",format:[t.max,n]};return void 0!==e&&(r.verified=e),r}var o=n(60);t.exports={validate:function(t){if(!o.isObject(t))throw new Error("options should be an object");if(!o.isNumber(t.max)||o.isNaN(t.max)||t.max<1)throw new Error("max should be a number greater than 1");return!0},explain:i,missing:function(t,e){return i(t,r(t,e))},assert:r}},function(t,e,n){function r(t,e){return!!e&&t.minLength<=e.length}function i(t){return 1===t.minLength?{message:"Non-empty password required",code:"nonEmpty"}:{message:"At least %d characters in length",format:[t.minLength],code:"lengthAtLeast"}}var o=n(60);t.exports={validate:function(t){if(!o.isObject(t))throw new Error("options should be an object");if(!o.isNumber(t.minLength)||o.isNaN(t.minLength))throw new Error("length expects minLength to be a non-zero number");return!0},explain:i,missing:function(t,e){var n=i(t);return n.verified=!!r(t,e),n},assert:r}},function(t,e,n){"use strict";function r(t,e,n,r,i){}t.exports=r},function(t,e,n){"use strict";var r=n(80),i=n(131);t.exports=function(){function t(){i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e,n){"use strict";var r=n(80),i=n(131),o=(n(263),n(262)),a=n(259);t.exports=function(t,e){function n(t){var e=t&&(z&&t[z]||t[v]);if("function"==typeof e)return e}function s(t,e){return t===e?0!==t||1/t==1/e:t!==t&&e!==e}function u(t){this.message=t,this.stack=""}function c(t){function n(n,r,a,s,c,l,M){if(s=s||b,l=l||a,M!==o)if(e)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else;return null==r[a]?n?new u(null===r[a]?"The "+c+" `"+l+"` is marked as required in `"+s+"`, but its value is `null`.":"The "+c+" `"+l+"` is marked as required in `"+s+"`, but its value is `undefined`."):null:t(r,a,s,c,l)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function l(t){function e(e,n,r,i,o,a){var s=e[n];if(L(s)!==t)return new u("Invalid "+i+" `"+o+"` of type `"+m(s)+"` supplied to `"+r+"`, expected `"+t+"`.");return null}return c(e)}function M(){return c(r.thatReturnsNull)}function p(t){function e(e,n,r,i,a){if("function"!=typeof t)return new u("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s)){return new u("Invalid "+i+" `"+a+"` of type `"+L(s)+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c=0&&n.parseArrays&&a<=n.arrayLimit?(r=[],r[a]=s(t,e,n)):r[o]=s(t,e,n)}return r},u=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,u=o.exec(r),c=u?r.slice(0,u.index):r,l=[];if(c){if(!n.plainObjects&&i.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var M=0;null!==(u=a.exec(r))&&M8&&I<=11),w=32,z=String.fromCharCode(w),v={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},b=!1,C=null,T={eventTypes:v,extractEvents:function(t,e,n,r){return[c(t,e,n,r),p(t,e,n,r)]}};t.exports=T},function(t,e,n){"use strict";var r=n(134),i=n(12),o=(n(15),n(329),n(320)),a=n(336),s=n(339),u=(n(6),s(function(t){return a(t)})),c=!1,l="cssFloat";if(i.canUseDOM){var M=document.createElement("div").style;try{M.font=""}catch(t){c=!0}void 0===document.documentElement.style.cssFloat&&(l="styleFloat")}var p={createMarkupForStyles:function(t,e){var n="";for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];null!=i&&(n+=u(r)+":",n+=o(r,i,e)+";")}return n||null},setValueForStyles:function(t,e,n){var i=t.style;for(var a in e)if(e.hasOwnProperty(a)){var s=o(a,e[a],n);if("float"!==a&&"cssFloat"!==a||(a=l),s)i[a]=s;else{var u=c&&r.shorthandPropertyExpansions[a];if(u)for(var M in u)i[M]="";else i[a]=""}}}};t.exports=p},function(t,e,n){"use strict";function r(t){var e=t.nodeName&&t.nodeName.toLowerCase();return"select"===e||"input"===e&&"file"===t.type}function i(t){var e=w.getPooled(C.change,E,t,z(t));j.accumulateTwoPhaseDispatches(e),m.batchedUpdates(o,e)}function o(t){D.enqueueEvents(t),D.processEventQueue(!1)}function a(t,e){T=t,E=e,T.attachEvent("onchange",i)}function s(){T&&(T.detachEvent("onchange",i),T=null,E=null)}function u(t,e){if("topChange"===t)return e}function c(t,e,n){"topFocus"===t?(s(),a(e,n)):"topBlur"===t&&s()}function l(t,e){T=t,E=e,k=t.value,x=Object.getOwnPropertyDescriptor(t.constructor.prototype,"value"),Object.defineProperty(T,"value",A),T.attachEvent?T.attachEvent("onpropertychange",p):T.addEventListener("propertychange",p,!1)}function M(){T&&(delete T.value,T.detachEvent?T.detachEvent("onpropertychange",p):T.removeEventListener("propertychange",p,!1),T=null,E=null,k=null,x=null)}function p(t){if("value"===t.propertyName){var e=t.srcElement.value;e!==k&&(k=e,i(t))}}function g(t,e){if("topInput"===t)return e}function d(t,e,n){"topFocus"===t?(M(),l(e,n)):"topBlur"===t&&M()}function h(t,e){if(("topSelectionChange"===t||"topKeyUp"===t||"topKeyDown"===t)&&T&&T.value!==k)return k=T.value,E}function f(t){return t.nodeName&&"input"===t.nodeName.toLowerCase()&&("checkbox"===t.type||"radio"===t.type)}function y(t,e){if("topClick"===t)return e}function N(t,e){if(null!=t){var n=t._wrapperState||e._wrapperState;if(n&&n.controlled&&"number"===e.type){var r=""+e.value;e.getAttribute("value")!==r&&e.setAttribute("value",r)}}}var D=n(49),j=n(50),I=n(12),L=n(7),m=n(21),w=n(24),z=n(93),v=n(94),b=n(153),C={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},T=null,E=null,k=null,x=null,O=!1;I.canUseDOM&&(O=v("change")&&(!document.documentMode||document.documentMode>8));var S=!1;I.canUseDOM&&(S=v("input")&&(!document.documentMode||document.documentMode>11));var A={get:function(){return x.get.call(this)},set:function(t){k=""+t,x.set.call(this,t)}},U={eventTypes:C,extractEvents:function(t,e,n,i){var o,a,s=e?L.getNodeFromInstance(e):window;if(r(s)?O?o=u:a=c:b(s)?S?o=g:(o=h,a=d):f(s)&&(o=y),o){var l=o(t,e);if(l){var M=w.getPooled(C.change,l,n,i);return M.type="change",j.accumulateTwoPhaseDispatches(M),M}}a&&a(t,s,e),"topBlur"===t&&N(e,s)}};t.exports=U},function(t,e,n){"use strict";var r=n(4),i=n(41),o=n(12),a=n(332),s=n(25),u=(n(2),{dangerouslyReplaceNodeWithMarkup:function(t,e){if(o.canUseDOM||r("56"),e||r("57"),"HTML"===t.nodeName&&r("58"),"string"==typeof e){var n=a(e,s)[0];t.parentNode.replaceChild(n,t)}else i.replaceChildWithTree(t,e)}});t.exports=u},function(t,e,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=r},function(t,e,n){"use strict";var r=n(50),i=n(7),o=n(62),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:a,extractEvents:function(t,e,n,s){if("topMouseOver"===t&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==t&&"topMouseOver"!==t)return null;var u;if(s.window===s)u=s;else{var c=s.ownerDocument;u=c?c.defaultView||c.parentWindow:window}var l,M;if("topMouseOut"===t){l=e;var p=n.relatedTarget||n.toElement;M=p?i.getClosestInstanceFromNode(p):null}else l=null,M=e;if(l===M)return null;var g=null==l?u:i.getNodeFromInstance(l),d=null==M?u:i.getNodeFromInstance(M),h=o.getPooled(a.mouseLeave,l,n,s);h.type="mouseleave",h.target=g,h.relatedTarget=d;var f=o.getPooled(a.mouseEnter,M,n,s);return f.type="mouseenter",f.target=d,f.relatedTarget=g,r.accumulateEnterLeaveDispatches(h,f,l,M),[h,f]}};t.exports=s},function(t,e,n){"use strict";function r(t){this._root=t,this._startText=this.getText(),this._fallbackText=null}var i=n(5),o=n(33),a=n(150);i(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var t,e,n=this._startText,r=n.length,i=this.getText(),o=i.length;for(t=0;t1?1-e:void 0;return this._fallbackText=i.slice(t,s),this._fallbackText}}),o.addPoolingTo(r),t.exports=r},function(t,e,n){"use strict";var r=n(42),i=r.injection.MUST_USE_PROPERTY,o=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:o,allowTransparency:0,alt:0,as:0,async:o,autoComplete:0,autoPlay:o,capture:o,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:i|o,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:o,coords:0,crossOrigin:0,data:0,dateTime:0,default:o,defer:o,dir:0,disabled:o,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:o,formTarget:0,frameBorder:0,headers:0,height:0,hidden:o,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:o,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:i|o,muted:i|o,name:0,nonce:0,noValidate:o,open:o,optimum:0,pattern:0,placeholder:0,playsInline:o,poster:0,preload:0,profile:0,radioGroup:0,readOnly:o,referrerPolicy:0,rel:0,required:o,reversed:o,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:o,scrolling:0,seamless:o,selected:i|o,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:o,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(t,e){if(null==e)return t.removeAttribute("value");"number"!==t.type||t.hasAttribute("value")===!1?t.setAttribute("value",""+e):t.validity&&!t.validity.badInput&&t.ownerDocument.activeElement!==t&&t.setAttribute("value",""+e)}}};t.exports=c},function(t,e,n){"use strict";(function(e){function r(t,e,n,r){var i=void 0===t[n];null!=e&&i&&(t[n]=o(e,!0))}var i=n(43),o=n(152),a=(n(85),n(95)),s=n(155);n(6);void 0!==e&&n.i({NODE_ENV:"production"});var u={instantiateChildren:function(t,e,n,i){if(null==t)return null;var o={};return s(t,r,o),o},updateChildren:function(t,e,n,r,s,u,c,l,M){if(e||t){var p,g;for(p in e)if(e.hasOwnProperty(p)){g=t&&t[p];var d=g&&g._currentElement,h=e[p];if(null!=g&&a(d,h))i.receiveComponent(g,h,s,l),e[p]=g;else{g&&(r[p]=i.getHostNode(g),i.unmountComponent(g,!1));var f=o(h,!0);e[p]=f;var y=i.mountComponent(f,s,u,c,l,M);n.push(y)}}for(p in t)!t.hasOwnProperty(p)||e&&e.hasOwnProperty(p)||(g=t[p],r[p]=i.getHostNode(g),i.unmountComponent(g,!1))}},unmountChildren:function(t,e){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];i.unmountComponent(r,e)}}};t.exports=u}).call(e,n(39))},function(t,e,n){"use strict";var r=n(81),i=n(284),o={processChildrenUpdates:i.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=o},function(t,e,n){"use strict";function r(t){}function i(t,e){}function o(t){return!(!t.prototype||!t.prototype.isReactComponent)}function a(t){return!(!t.prototype||!t.prototype.isPureReactComponent)}var s=n(4),u=n(5),c=n(26),l=n(87),M=n(27),p=n(88),g=n(51),d=(n(15),n(145)),h=n(43),f=n(157),y=(n(2),n(97)),N=n(95),D=(n(6),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var t=g.get(this)._currentElement.type,e=t(this.props,this.context,this.updater);return i(t,e),e};var j=1,I={construct:function(t){this._currentElement=t,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(t,e,n,u){this._context=u,this._mountOrder=j++,this._hostParent=e,this._hostContainerInfo=n;var l,M=this._currentElement.props,p=this._processContext(u),d=this._currentElement.type,h=t.getUpdateQueue(),y=o(d),N=this._constructComponent(y,M,p,h);y||null!=N&&null!=N.render?a(d)?this._compositeType=D.PureClass:this._compositeType=D.ImpureClass:(l=N,i(d,l),null===N||N===!1||c.isValidElement(N)||s("105",d.displayName||d.name||"Component"),N=new r(d),this._compositeType=D.StatelessFunctional);N.props=M,N.context=p,N.refs=f,N.updater=h,this._instance=N,g.set(N,this);var I=N.state;void 0===I&&(N.state=I=null),("object"!=typeof I||Array.isArray(I))&&s("106",this.getName()||"ReactCompositeComponent"),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var L;return L=N.unstable_handleError?this.performInitialMountWithErrorHandling(l,e,n,t,u):this.performInitialMount(l,e,n,t,u),N.componentDidMount&&t.getReactMountReady().enqueue(N.componentDidMount,N),L},_constructComponent:function(t,e,n,r){return this._constructComponentWithoutOwner(t,e,n,r)},_constructComponentWithoutOwner:function(t,e,n,r){var i=this._currentElement.type;return t?new i(e,n,r):i(e,n,r)},performInitialMountWithErrorHandling:function(t,e,n,r,i){var o,a=r.checkpoint();try{o=this.performInitialMount(t,e,n,r,i)}catch(s){r.rollback(a),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(a),o=this.performInitialMount(t,e,n,r,i)}return o},performInitialMount:function(t,e,n,r,i){var o=this._instance,a=0;o.componentWillMount&&(o.componentWillMount(),this._pendingStateQueue&&(o.state=this._processPendingState(o.props,o.context))),void 0===t&&(t=this._renderValidatedComponent());var s=d.getType(t);this._renderedNodeType=s;var u=this._instantiateReactComponent(t,s!==d.EMPTY);this._renderedComponent=u;var c=h.mountComponent(u,r,e,n,this._processChildContext(i),a);return c},getHostNode:function(){return h.getHostNode(this._renderedComponent)},unmountComponent:function(t){if(this._renderedComponent){var e=this._instance;if(e.componentWillUnmount&&!e._calledComponentWillUnmount)if(e._calledComponentWillUnmount=!0,t){var n=this.getName()+".componentWillUnmount()";p.invokeGuardedCallback(n,e.componentWillUnmount.bind(e))}else e.componentWillUnmount();this._renderedComponent&&(h.unmountComponent(this._renderedComponent,t),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,g.remove(e)}},_maskContext:function(t){var e=this._currentElement.type,n=e.contextTypes;if(!n)return f;var r={};for(var i in n)r[i]=t[i];return r},_processContext:function(t){var e=this._maskContext(t);return e},_processChildContext:function(t){var e,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(e=r.getChildContext()),e){"object"!=typeof n.childContextTypes&&s("107",this.getName()||"ReactCompositeComponent");for(var i in e)i in n.childContextTypes||s("108",this.getName()||"ReactCompositeComponent",i);return u({},t,e)}return t},_checkContextTypes:function(t,e,n){},receiveComponent:function(t,e,n){var r=this._currentElement,i=this._context;this._pendingElement=null,this.updateComponent(e,r,t,i,n)},performUpdateIfNecessary:function(t){null!=this._pendingElement?h.receiveComponent(this,this._pendingElement,t,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(t,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(t,e,n,r,i){var o=this._instance;null==o&&s("136",this.getName()||"ReactCompositeComponent");var a,u=!1;this._context===i?a=o.context:(a=this._processContext(i),u=!0);var c=e.props,l=n.props;e!==n&&(u=!0),u&&o.componentWillReceiveProps&&o.componentWillReceiveProps(l,a);var M=this._processPendingState(l,a),p=!0;this._pendingForceUpdate||(o.shouldComponentUpdate?p=o.shouldComponentUpdate(l,M,a):this._compositeType===D.PureClass&&(p=!y(c,l)||!y(o.state,M))),this._updateBatchNumber=null,p?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,l,M,a,t,i)):(this._currentElement=n,this._context=i,o.props=l,o.state=M,o.context=a)},_processPendingState:function(t,e){var n=this._instance,r=this._pendingStateQueue,i=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(i&&1===r.length)return r[0];for(var o=u({},i?r[0]:n.state),a=i?1:0;a=0||null!=e.is}function d(t){var e=t.type;p(e),this._currentElement=t,this._tag=e.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var h=n(4),f=n(5),y=n(268),N=n(270),D=n(41),j=n(82),I=n(42),L=n(136),m=n(49),w=n(83),z=n(61),v=n(138),b=n(7),C=n(285),T=n(286),E=n(139),k=n(289),x=(n(15),n(298)),O=n(303),S=(n(25),n(64)),A=(n(2),n(94),n(97),n(96),n(6),v),U=m.deleteListener,_=b.getNodeFromInstance,Y=z.listenTo,Q=w.registrationNameModules,B={string:!0,number:!0},P="style",G="__html",R={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},Z=11,H={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},W={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},V={listing:!0,pre:!0,textarea:!0},F=f({menuitem:!0},W),J=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,q={},X={}.hasOwnProperty,K=1;d.displayName="ReactDOMComponent",d.Mixin={mountComponent:function(t,e,n,r){this._rootNodeID=K++,this._domID=n._idCounter++,this._hostParent=e,this._hostContainerInfo=n;var o=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(l,this);break;case"input":C.mountWrapper(this,o,e),o=C.getHostProps(this,o),t.getReactMountReady().enqueue(l,this);break;case"option":T.mountWrapper(this,o,e),o=T.getHostProps(this,o);break;case"select":E.mountWrapper(this,o,e),o=E.getHostProps(this,o),t.getReactMountReady().enqueue(l,this);break;case"textarea":k.mountWrapper(this,o,e),o=k.getHostProps(this,o),t.getReactMountReady().enqueue(l,this)}i(this,o);var a,M;null!=e?(a=e._namespaceURI,M=e._tag):n._tag&&(a=n._namespaceURI,M=n._tag),(null==a||a===j.svg&&"foreignobject"===M)&&(a=j.html),a===j.html&&("svg"===this._tag?a=j.svg:"math"===this._tag&&(a=j.mathml)),this._namespaceURI=a;var p;if(t.useCreateElement){var g,d=n._ownerDocument;if(a===j.html)if("script"===this._tag){var h=d.createElement("div"),f=this._currentElement.type;h.innerHTML="<"+f+">",g=h.removeChild(h.firstChild)}else g=o.is?d.createElement(this._currentElement.type,o.is):d.createElement(this._currentElement.type);else g=d.createElementNS(a,this._currentElement.type);b.precacheNode(this,g),this._flags|=A.hasCachedChildNodes,this._hostParent||L.setAttributeForRoot(g),this._updateDOMProperties(null,o,t);var N=D(g);this._createInitialChildren(t,o,r,N),p=N}else{var I=this._createOpenTagMarkupAndPutListeners(t,o),m=this._createContentMarkup(t,o,r);p=!m&&W[this._tag]?I+"/>":I+">"+m+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(s,this),o.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":t.getReactMountReady().enqueue(u,this),o.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":o.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"button":o.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":t.getReactMountReady().enqueue(c,this)}return p},_createOpenTagMarkupAndPutListeners:function(t,e){var n="<"+this._currentElement.type;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(null!=i)if(Q.hasOwnProperty(r))i&&o(this,r,i,t);else{r===P&&(i&&(i=this._previousStyleCopy=f({},e.style)),i=N.createMarkupForStyles(i,this));var a=null;null!=this._tag&&g(this._tag,e)?R.hasOwnProperty(r)||(a=L.createMarkupForCustomAttribute(r,i)):a=L.createMarkupForProperty(r,i),a&&(n+=" "+a)}}return t.renderToStaticMarkup?n:(this._hostParent||(n+=" "+L.createMarkupForRoot()),n+=" "+L.createMarkupForID(this._domID))},_createContentMarkup:function(t,e,n){var r="",i=e.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var o=B[typeof e.children]?e.children:null,a=null!=o?null:e.children;if(null!=o)r=S(o);else if(null!=a){var s=this.mountChildren(a,t,n);r=s.join("")}}return V[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(t,e,n,r){var i=e.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&D.queueHTML(r,i.__html);else{var o=B[typeof e.children]?e.children:null,a=null!=o?null:e.children;if(null!=o)""!==o&&D.queueText(r,o);else if(null!=a)for(var s=this.mountChildren(a,t,n),u=0;u"},receiveComponent:function(){},getHostNode:function(){return o.getNodeFromInstance(this)},unmountComponent:function(){o.uncacheNode(this)}}),t.exports=a},function(t,e,n){"use strict";var r={useCreateElement:!0,useFiber:!1};t.exports=r},function(t,e,n){"use strict";var r=n(81),i=n(7),o={dangerouslyProcessChildrenUpdates:function(t,e){var n=i.getNodeFromInstance(t);r.processUpdates(n,e)}};t.exports=o},function(t,e,n){"use strict";function r(){this._rootNodeID&&p.updateWrapper(this)}function i(t){return"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}function o(t){var e=this._currentElement.props,n=c.executeOnChange(e,t);M.asap(r,this);var i=e.name;if("radio"===e.type&&null!=i){for(var o=l.getNodeFromInstance(this),s=o;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),p=0;pe.end?(n=e.end,r=e.start):(n=e.start,r=e.end),i.moveToElementText(t),i.moveStart("character",n),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-n),i.select()}function s(t,e){if(window.getSelection){var n=window.getSelection(),r=t[l()].length,i=Math.min(e.start,r),o=void 0===e.end?i:Math.min(e.end,r);if(!n.extend&&i>o){var a=o;o=i,i=a}var s=c(t,i),u=c(t,o);if(s&&u){var M=document.createRange();M.setStart(s.node,s.offset),n.removeAllRanges(),i>o?(n.addRange(M),n.extend(u.node,u.offset)):(M.setEnd(u.node,u.offset),n.addRange(M))}}}var u=n(12),c=n(325),l=n(150),M=u.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:M?i:o,setOffsets:M?a:s};t.exports=p},function(t,e,n){"use strict";var r=n(4),i=n(5),o=n(81),a=n(41),s=n(7),u=n(64),c=(n(2),n(96),function(t){this._currentElement=t,this._stringText=""+t,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});i(c.prototype,{mountComponent:function(t,e,n,r){var i=n._idCounter++,o=" react-text: "+i+" ",c=" /react-text ";if(this._domID=i,this._hostParent=e,t.useCreateElement){var l=n._ownerDocument,M=l.createComment(o),p=l.createComment(c),g=a(l.createDocumentFragment());return a.queueChild(g,a(M)),this._stringText&&a.queueChild(g,a(l.createTextNode(this._stringText))),a.queueChild(g,a(p)),s.precacheNode(this,M),this._closingComment=p,g}var d=u(this._stringText);return t.renderToStaticMarkup?d:""+d+""},receiveComponent:function(t,e){if(t!==this._currentElement){this._currentElement=t;var n=""+t;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();o.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var t=this._commentNodes;if(t)return t;if(!this._closingComment)for(var e=s.getNodeFromInstance(this),n=e.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return t=[this._hostNode,this._closingComment],this._commentNodes=t,t},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=c},function(t,e,n){"use strict";function r(){this._rootNodeID&&l.updateWrapper(this)}function i(t){var e=this._currentElement.props,n=s.executeOnChange(e,t);return c.asap(r,this),n}var o=n(4),a=n(5),s=n(86),u=n(7),c=n(21),l=(n(2),n(6),{getHostProps:function(t,e){return null!=e.dangerouslySetInnerHTML&&o("91"),a({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue,onChange:t._wrapperState.onChange})},mountWrapper:function(t,e){var n=s.getValue(e),r=n;if(null==n){var a=e.defaultValue,u=e.children;null!=u&&(null!=a&&o("92"),Array.isArray(u)&&(u.length<=1||o("93"),u=u[0]),a=""+u),null==a&&(a=""),r=a}t._wrapperState={initialValue:""+r,listeners:null,onChange:i.bind(t)}},updateWrapper:function(t){var e=t._currentElement.props,n=u.getNodeFromInstance(t),r=s.getValue(e);if(null!=r){var i=""+r;i!==n.value&&(n.value=i),null==e.defaultValue&&(n.defaultValue=i)}null!=e.defaultValue&&(n.defaultValue=e.defaultValue)},postMountWrapper:function(t){var e=u.getNodeFromInstance(t),n=e.textContent;n===t._wrapperState.initialValue&&(e.value=n)}});t.exports=l},function(t,e,n){"use strict";function r(t,e){"_hostNode"in t||u("33"),"_hostNode"in e||u("33");for(var n=0,r=t;r;r=r._hostParent)n++;for(var i=0,o=e;o;o=o._hostParent)i++;for(;n-i>0;)t=t._hostParent,n--;for(;i-n>0;)e=e._hostParent,i--;for(var a=n;a--;){if(t===e)return t;t=t._hostParent,e=e._hostParent}return null}function i(t,e){"_hostNode"in t||u("35"),"_hostNode"in e||u("35");for(;e;){if(e===t)return!0;e=e._hostParent}return!1}function o(t){return"_hostNode"in t||u("36"),t._hostParent}function a(t,e,n){for(var r=[];t;)r.push(t),t=t._hostParent;var i;for(i=r.length;i-- >0;)e(r[i],"captured",n);for(i=0;i0;)n(u[c],"captured",o)}var u=n(4);n(2);t.exports={isAncestor:i,getLowestCommonAncestor:r,getParentInstance:o,traverseTwoPhase:a,traverseEnterLeave:s}},function(t,e,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(5),o=n(21),a=n(63),s=n(25),u={initialize:s,close:function(){p.isBatchingUpdates=!1}},c={initialize:s,close:o.flushBatchedUpdates.bind(o)},l=[c,u];i(r.prototype,a,{getTransactionWrappers:function(){return l}});var M=new r,p={isBatchingUpdates:!1,batchedUpdates:function(t,e,n,r,i,o){var a=p.isBatchingUpdates;return p.isBatchingUpdates=!0,a?t(e,n,r,i,o):M.perform(t,null,e,n,r,i,o)}};t.exports=p},function(t,e,n){"use strict";function r(){m||(m=!0,N.EventEmitter.injectReactEventListener(y),N.EventPluginHub.injectEventPluginOrder(s),N.EventPluginUtils.injectComponentTree(p),N.EventPluginUtils.injectTreeTraversal(d),N.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:L,EnterLeaveEventPlugin:u,ChangeEventPlugin:a,SelectEventPlugin:I,BeforeInputEventPlugin:o}),N.HostComponent.injectGenericComponentClass(M),N.HostComponent.injectTextComponentClass(h),N.DOMProperty.injectDOMPropertyConfig(i),N.DOMProperty.injectDOMPropertyConfig(c),N.DOMProperty.injectDOMPropertyConfig(j),N.EmptyComponent.injectEmptyComponentFactory(function(t){return new g(t)}),N.Updates.injectReconcileTransaction(D),N.Updates.injectBatchingStrategy(f),N.Component.injectEnvironment(l))}var i=n(267),o=n(269),a=n(271),s=n(273),u=n(274),c=n(276),l=n(278),M=n(280),p=n(7),g=n(282),d=n(290),h=n(288),f=n(291),y=n(295),N=n(296),D=n(301),j=n(306),I=n(307),L=n(308),m=!1;t.exports={inject:r}},function(t,e,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},function(t,e,n){"use strict";function r(t){i.enqueueEvents(t),i.processEventQueue(!1)}var i=n(49),o={handleTopLevel:function(t,e,n,o){r(i.extractEvents(t,e,n,o))}};t.exports=o},function(t,e,n){"use strict";function r(t){for(;t._hostParent;)t=t._hostParent;var e=M.getNodeFromInstance(t),n=e.parentNode;return M.getClosestInstanceFromNode(n)}function i(t,e){this.topLevelType=t,this.nativeEvent=e,this.ancestors=[]}function o(t){var e=g(t.nativeEvent),n=M.getClosestInstanceFromNode(e),i=n;do{t.ancestors.push(i),i=i&&r(i)}while(i);for(var o=0;o/,o=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(t){var e=r(t);return o.test(t)?t:t.replace(i," "+a.CHECKSUM_ATTR_NAME+'="'+e+'"$&')},canReuseMarkup:function(t,e){var n=e.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(t)===n}};t.exports=a},function(t,e,n){"use strict";function r(t,e,n){return{type:"INSERT_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:n,afterNode:e}}function i(t,e,n){return{type:"MOVE_EXISTING",content:null,fromIndex:t._mountIndex,fromNode:p.getHostNode(t),toIndex:n,afterNode:e}}function o(t,e){return{type:"REMOVE_NODE",content:null,fromIndex:t._mountIndex,fromNode:e,toIndex:null,afterNode:null}}function a(t){return{type:"SET_MARKUP",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(t){return{type:"TEXT_CONTENT",content:t,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(t,e){return e&&(t=t||[],t.push(e)),t}function c(t,e){M.processChildrenUpdates(t,e)}var l=n(4),M=n(87),p=(n(51),n(15),n(27),n(43)),g=n(277),d=(n(25),n(322)),h=(n(2),{Mixin:{_reconcilerInstantiateChildren:function(t,e,n){return g.instantiateChildren(t,e,n)},_reconcilerUpdateChildren:function(t,e,n,r,i,o){var a,s=0;return a=d(e,s),g.updateChildren(t,a,n,r,i,this,this._hostContainerInfo,o,s),a},mountChildren:function(t,e,n){var r=this._reconcilerInstantiateChildren(t,e,n);this._renderedChildren=r;var i=[],o=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],u=0,c=p.mountComponent(s,e,this,this._hostContainerInfo,n,u);s._mountIndex=o++,i.push(c)}return i},updateTextContent:function(t){var e=this._renderedChildren;g.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[s(t)])},updateMarkup:function(t){var e=this._renderedChildren;g.unmountChildren(e,!1);for(var n in e)e.hasOwnProperty(n)&&l("118");c(this,[a(t)])},updateChildren:function(t,e,n){this._updateChildren(t,e,n)},_updateChildren:function(t,e,n){var r=this._renderedChildren,i={},o=[],a=this._reconcilerUpdateChildren(r,t,o,i,e,n);if(a||r){var s,l=null,M=0,g=0,d=0,h=null;for(s in a)if(a.hasOwnProperty(s)){var f=r&&r[s],y=a[s];f===y?(l=u(l,this.moveChild(f,h,M,g)),g=Math.max(f._mountIndex,g),f._mountIndex=M):(f&&(g=Math.max(f._mountIndex,g)),l=u(l,this._mountChildAtIndex(y,o[d],h,M,e,n)),d++),M++,h=p.getHostNode(y)}for(s in i)i.hasOwnProperty(s)&&(l=u(l,this._unmountChild(r[s],i[s])));l&&c(this,l),this._renderedChildren=a}},unmountChildren:function(t){var e=this._renderedChildren;g.unmountChildren(e,t),this._renderedChildren=null},moveChild:function(t,e,n,r){if(t._mountIndex=e)return{node:n,offset:e-o};o=a}n=r(i(n))}}t.exports=o},function(t,e,n){"use strict";function r(t){return'"'+i(t)+'"'}var i=n(64);t.exports=r},function(t,e,n){"use strict";var r=n(144);t.exports=r.renderSubtreeIntoContainer},function(t,e,n){"use strict";function r(t){return t.replace(i,function(t,e){return e.toUpperCase()})}var i=/-(.)/g;t.exports=r},function(t,e,n){"use strict";function r(t){return i(t.replace(o,"ms-"))}var i=n(328),o=/^-ms-/;t.exports=r},function(t,e,n){"use strict";function r(t,e){return!(!t||!e)&&(t===e||!i(t)&&(i(e)?r(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}var i=n(338);t.exports=r},function(t,e,n){"use strict";function r(t){var e=t.length;if((Array.isArray(t)||"object"!=typeof t&&"function"!=typeof t)&&a(!1),"number"!=typeof e&&a(!1),0===e||e-1 in t||a(!1),"function"==typeof t.callee&&a(!1),t.hasOwnProperty)try{return Array.prototype.slice.call(t)}catch(t){}for(var n=Array(e),r=0;r":"<"+t+">",s[t]=!a.firstChild),s[t]?p[t]:null}var i=n(12),o=n(2),a=i.canUseDOM?document.createElement("div"):null,s={},u=[1,'"],c=[1,"","
"],l=[3,"","
"],M=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:u,option:u,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(t){p[t]=M,s[t]=!0}),t.exports=r},function(t,e,n){"use strict";function r(t){return t===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:t.scrollLeft,y:t.scrollTop}}t.exports=r},function(t,e,n){"use strict";function r(t){return t.replace(i,"-$1").toLowerCase()}var i=/([A-Z])/g;t.exports=r},function(t,e,n){"use strict";function r(t){return i(t).replace(o,"-ms-")}var i=n(335),o=/^ms-/;t.exports=r},function(t,e,n){"use strict";function r(t){return!(!t||!("function"==typeof Node?t instanceof Node:"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName))}t.exports=r},function(t,e,n){"use strict";function r(t){return i(t)&&3==t.nodeType}var i=n(337);t.exports=r},function(t,e,n){"use strict";function r(t){var e={};return function(n){return e.hasOwnProperty(n)||(e[n]=t.call(this,n)),e[n]}}t.exports=r},function(t,e,n){"use strict";var r=n(45),i=(n(34),function(t){var e=this;if(e.instancePool.length){var n=e.instancePool.pop();return e.call(n,t),n}return new e(t)}),o=function(t,e){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,t,e),r}return new n(t,e)},a=function(t,e,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,t,e,n),i}return new r(t,e,n)},s=function(t,e,n,r){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,n,r),o}return new i(t,e,n,r)},u=function(t){var e=this;t instanceof e||r("25"),t.destructor(),e.instancePool.length-1},matchesSelector:function(t,e){return(t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||function(e){return r(t,e)}).call(t,e)}};t.exports=o},function(t,e,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},function(t,e,n){function r(t){return"[object Function]"===(i(t)?Object.prototype.toString.call(t):"")}var i=n(104);t.exports=r},function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}var o=n(104);t.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(t){return this._parser=t,this},r.prototype.responseType=function(t){return this._responseType=t,this},r.prototype.serialize=function(t){return this._serializer=t,this},r.prototype.timeout=function(t){if(!t||"object"!=typeof t)return this._timeout=t,this._responseTimeout=0,this;for(var e in t)switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;default:console.warn("Unknown timeout option",e)}return this},r.prototype.retry=function(t){return 0!==arguments.length&&t!==!0||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(t,e){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){n.end(function(n,r){n?e(n):t(r)})})}return this._fullfilledPromise.then(t,e)},r.prototype.catch=function(t){return this.then(void 0,t)},r.prototype.use=function(t){return t(this),this},r.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},r.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},r.prototype.get=function(t){return this._header[t.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(t,e){if(o(t)){for(var n in t)this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},r.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},r.prototype.field=function(t,e){if(null===t||void 0===t)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),o(t)){for(var n in t)this.field(n,t[n]);return this}if(Array.isArray(e)){for(var r in e)this.field(t,e[r]);return this}if(null===e||void 0===e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=""+e),this._getFormData().append(t,e),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype.withCredentials=function(t){return void 0==t&&(t=!0),this._withCredentials=t,this},r.prototype.redirects=function(t){return this._maxRedirects=t,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(t){var e=o(t),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(e&&o(this._data))for(var r in t)this._data[r]=t[r];else"string"==typeof t?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+t:t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},r.prototype._timeoutError=function(t,e,n){if(!this._aborted){var r=new Error(t+e+"ms exceeded");r.timeout=e,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},r.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(t,e,n){function r(t){if(t)return i(t)}function i(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}var o=n(363);t.exports=r,r.prototype.get=function(t){return this.header[t.toLowerCase()]},r.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=o.type(e);var n=o.params(e);for(var r in n)this[r]=n[r];this.links={};try{t.link&&(this.links=o.parseLinks(t.link))}catch(t){}},r.prototype._setStatusProperties=function(t){var e=t/100|0;this.status=this.statusCode=t,this.statusType=e,this.info=1==e,this.ok=2==e,this.redirect=3==e,this.clientError=4==e,this.serverError=5==e,this.error=(4==e||5==e)&&this.toError(),this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.forbidden=403==t,this.notFound=404==t}},function(t,e){var n=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];t.exports=function(t,e){return!!(t&&t.code&&~n.indexOf(t.code))||(!!(e&&e.status&&e.status>=500)||!!(t&&"timeout"in t&&"ECONNABORTED"==t.code))}},function(t,e){e.type=function(t){return t.split(/ *; */).shift()},e.params=function(t){return t.split(/ *; */).reduce(function(t,e){var n=e.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(t[r]=i),t},{})},e.parseLinks=function(t){return t.split(/ *, */).reduce(function(t,e){var n=e.split(/ *; */),r=n[0].slice(1,-1);return t[n[1].split(/ *= */)[1].slice(1,-1)]=r,t},{})},e.cleanHeader=function(t,e){return delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&delete t.cookie,t}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r=n(106);"function"==typeof t.window.define&&t.window.define.amd?t.window.define("auth0Lock",function(){return r.a}):t.window&&(t.window.Auth0Lock=r.a)}).call(e,n(13))}]); +//# sourceMappingURL=lock.min.js.map \ No newline at end of file