vendor: 4,826 bytes, line 1
1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6816],{93708:function(e,t,n){n.r(t),n.d(t,{createClient:function(){return Hf}});var r=n(25574),o=n(28316),i=n(2784),a=n(13980),u=n.n(a),c=n(1768),s=n(80326),l=n(30002),f=n(41247),h=n(22264),p=n.n(h),d=n(56536),v=n(86468),g=n.n(v),m=n(95698),w=n(22504),y=n(84429),b=n(41360),C=n(32957),E=n(5254),x=n(60517),k=n(99542),F=n.n(k);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(){S=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(A){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return F()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=b(a,n);if(u){if(u===l)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=s(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(A){return{type:"throw",arg:A}}}e.wrap=c;var l={};function f(){}function h(){}function p(){}var d={};u(d,o,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(k([])));g&&g!==t&&n.call(g,o)&&(d=g);var m=p.prototype=f.prototype=Object.create(d);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function y(e,t){function r(o,i,a,u){var c=s(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function b(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,b(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function k(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:F}}function F(){return{value:void 0,done:!0}}return h.prototype=p,u(m,"constructor",p),u(p,"constructor",h),h.displayName=u(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,u(e,a,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},w(y.prototype),u(y.prototype,i,(function(){return this})),e.AsyncIterator=y,e.async=function(t,n,r,o,i){void 0===i&&(i=Prom
1ise);var a=new y(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(m),u(m,a,"Generator"),u(m,o,(function(){return this})),u(m,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=k,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}function P(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(s){return void n(s)}u.done?t(c):Promise.resolve(c).then(r,o)}function j(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){P(i,r,o,a,u,"next",e)}function u(e){P(i,r,o,a,u,"throw",e)}a(void 0)}))}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function O(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)}function M(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z(e,t)}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}function z(e,t){return z=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z(e,t)}function U(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function R(e,t,n){return R=U()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&z(o,n.prototype),o},R.apply(null,arguments)}function N(e){var t="function"===typeof Map?new Map:void 0;return N=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return R(e,arguments,q(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),z(r,e)},N(e)}function V(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z(e,t){if(t&&("object"===typeof t||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return W(e)}function H(e){var t=U();return function(){var n,r=q(e);if(t){var o=q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Z(this,n)}}function G(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(e,t)||X(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(e){return function(e){if(Array.isArray(e))return K(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||X(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){if(e){if("string"===typeof e)return K(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?K(e,t):void 0}}function K(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Q(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function J(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}((void 0===t||null===t)&&n.path)}},n.exports),n.exports}e=n.hmd(e);J((function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new D(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===d)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var c=s(e,t,n);if("normal"===c.type){if(r=n.done?p:f,c.arg===d)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}e.wrap=c;var l="suspendedStart",f="suspendedYield",h="executing",p="completed",d={};function v(){}function g(){}function m(){}var w={};w[i]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(S([])));b&&b!==n&&r.call(b,i)&&(w=b);var C=m.prototype=v.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e,t){function n(o,i,a,u){var c=s(e[o],e,i);if("throw"!==c.type){var l=c.arg,f=l.value;return f&&"object"===_(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,u)}),(function(e){n("throw",e,a,u)})):t.resolve(f).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return d;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,d;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,d):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,d)}function F(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(F,this),this.reset(!0)}function S(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return g.prototype=C.constructor=m,m.constructor=g,m[u]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Prom
1ise);var a=new x(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(C),C[u]="Generator",C[i]=function(){return this},C.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=S,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;A(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:S(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=t}catch(n){Function("r","regeneratorRuntime = r")(t)}}));function ee(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var te="undefined"!==typeof n.g?n.g:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{},ne="object"==_(te)&&te&&te.Object===Object&&te,re="object"==("undefined"===typeof self?"undefined":_(self))&&self&&self.Object===Object&&self,oe=ne||re||Function("return this")(),ie=oe.Symbol,ae=Object.prototype,ue=ae.hasOwnProperty,ce=ae.toString,se=ie?ie.toStringTag:void 0;var le=Object.prototype.toString;var fe=ie?ie.toStringTag:void 0;function he(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":fe&&fe in Object(e)?function(e){var t=ue.call(e,se),n=e[se];try{e[se]=void 0;var r=!0}catch(i){}var o=ce.call(e);return r&&(t?e[se]=n:delete e[se]),o}(e):function(e){return le.call(e)}(e)}function pe(e){return null!=e&&"object"==_(e)}function de(e){return pe(e)&&"[object Arguments]"==he(e)}var ve=Object.prototype,ge=ve.hasOwnProperty,me=ve.propertyIsEnumerable,we=de(function(){return arguments}())?de:function(e){return pe(e)&&ge.call(e,"callee")&&!me.call(e,"callee")},ye=Array.isArray,be=ie?ie.isConcatSpreadable:void 0;function Ce(e){return ye(e)||we(e)||!!(be&&e&&e[be])}function Ee(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ce),o||(o=[]);++i<a;){var u=e[i];t>0&&n(u)?t>1?Ee(u,t-1,n,r,o):ee(o,u):r||(o[o.length]=u)}return o}function xe(e){return e}function ke(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Fe=Math.max;function Ae(e,t,n){return t=Fe(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Fe(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var u=Array(t+1);++o<t;)u[o]=r[o];return u[t]=n(a),ke(e,this,u)}}function De(e){var t=_(e);return null!=e&&("object"==t||"function"==t)}function Se(e){if(!De(e))return!1;var t=he(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}
1var _e=oe["__core-js_shared__"],Pe=function(){var e=/[^.]+$/.exec(_e&&_e.keys&&_e.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var je=Function.prototype.toString;function Te(e){if(null!=e){try{return je.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Le=/^\[object .+?Constructor\]$/,Oe=Function.prototype,Be=Object.prototype,Ie=Oe.toString,Me=Be.hasOwnProperty,qe=RegExp("^"+Ie.call(Me).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ze(e){return!(!De(e)||(t=e,Pe&&Pe in t))&&(Se(e)?qe:Le).test(Te(e));var t}function Ue(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return ze(n)?n:void 0}var Re=function(){try{var e=Ue(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Ne=Re?function(e,t){return Re(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:xe,Ve=Date.now;var We=function(e){var t=0,n=0;return function(){var r=Ve(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Ne);function Ze(e,t){return We(Ae(e,t,xe),e+"")}var He=Ue(Object,"create");var Ge=Object.prototype.hasOwnProperty;var Ye=Object.prototype.hasOwnProperty;function $e(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Xe(e,t){return e===t||e!==e&&t!==t}function Ke(e,t){for(var n=e.length;n--;)if(Xe(e[n][0],t))return n;return-1}$e.prototype.clear=function(){this.__data__=He?He(null):{},this.size=0},$e.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$e.prototype.get=function(e){var t=this.__data__;if(He){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Ge.call(t,e)?t[e]:void 0},$e.prototype.has=function(e){var t=this.__data__;return He?void 0!==t[e]:Ye.call(t,e)},$e.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=He&&void 0===t?"__lodash_hash_undefined__":t,this};var Qe=Array.prototype.splice;function Je(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Je.prototype.clear=function(){this.__data__=[],this.size=0},Je.prototype.delete=function(e){var t=this.__data__,n=Ke(t,e);return!(n<0)&&(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,!0)},Je.prototype.get=function(e){var t=this.__data__,n=Ke(t,e);return n<0?void 0:t[n][1]},Je.prototype.has=function(e){return Ke(this.__data__,e)>-1},Je.prototype.set=function(e,t){var n=this.__data__,r=Ke(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var et=Ue(oe,"Map");function tt(e,t){var n=e.__data__;return function(e){var t=_(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function nt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}nt.prototype.clear=function(){this.size=0,this.__data__={hash:new $e,map:new(et||Je),string:new $e}},nt.prototype.delete=function(e){var t=tt(this,e).delete(e);return this.size-=t?1:0,t},nt.prototype.get=function(e){return tt(this,e).get(e)},nt.prototype.has=function(e){return tt(this,e).has(e)},nt.prototype.set=function(e,t){var n=tt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function rt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new nt;++t<n;)this.add(e[t])}function ot(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function it(e){return e!==e}function at(e,t,n){return t===t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):ot(e,it,n)}function ut(e,t){return!!(null==e?0:e.length)&&at(e,t,0)>-1}function ct(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function st(e,t){return e.has(t)}rt.prototype.add=rt.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},rt.prototype.has=function(e){return this.__data__.has(e)};var lt=Ue(oe,"Set");function ft(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var ht=lt&&1/ft(new lt([,-0]))[1]==1/0?function(e){return new lt(e)}:function(){};function pt(e,t,n){var r=-1,o=ut,i=e.length,a=!0,u=[],c=u;if(n)a=!1,o=ct;else if(i>=200){var s=t?null:ht(e);
1if(s)return ft(s);a=!1,o=st,c=new rt}else c=t?[]:u;e:for(;++r<i;){var l=e[r],f=t?t(l):l;if(l=n||0!==l?l:0,a&&f===f){for(var h=c.length;h--;)if(c[h]===f)continue e;t&&c.push(f),u.push(l)}else o(c,f,n)||(c!==u&&c.push(f),u.push(l))}return u}function dt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function vt(e){return null!=e&&dt(e.length)&&!Se(e)}function gt(e){return pe(e)&&vt(e)}var mt=Ze((function(e){return pt(Ee(e,1,gt,!0))}));function wt(e,t){return function(n){return e(t(n))}}var yt=wt(Object.getPrototypeOf,Object),bt=Function.prototype,Ct=Object.prototype,Et=bt.toString,xt=Ct.hasOwnProperty,kt=Et.call(Object);function Ft(e){if(!pe(e)||"[object Object]"!=he(e))return!1;var t=yt(e);if(null===t)return!0;var n=xt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Et.call(n)==kt}function At(e){return void 0===e}function Dt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length>0?Dt.apply(void 0,[St(e,n[0])].concat($(n.slice(1)))):e}function St(e,t){return mt(Object.keys(e),Object.keys(t)).reduce((function(n,r){return Ft(e[r])&&Ft(t[r])?n[r]=St(e[r],t[r]):At(e[r])?n[r]=t[r]:n[r]=e[r],n}),{})}var _t=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).isUserError=!0,e}return O(n,null,[{key:"fromAppError",value:function(e){return new n(e.errorUserMsg||e.errorDescription||e.error)}}]),n}(N(Error));function Pt(e){return"symbol"==_(e)||pe(e)&&"[object Symbol]"==he(e)}var jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tt=/^\w*$/;function Lt(e,t){if(ye(e))return!1;var n=_(e);return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Pt(e))||(Tt.test(e)||!jt.test(e)||null!=t&&e in Object(t))}function Ot(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ot.Cache||nt),n}Ot.Cache=nt;var Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,It=/\\(\\)?/g,Mt=function(e){var t=Ot(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Bt,(function(e,n,r,o){t.push(r?o.replace(It,"$1"):n||e)})),t}));function qt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var zt=ie?ie.prototype:void 0,Ut=zt?zt.toString:void 0;function Rt(e){if("string"==typeof e)return e;if(ye(e))return qt(e,Rt)+"";if(Pt(e))return Ut?Ut.call(e):"";var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}function Nt(e){return null==e?"":Rt(e)}function Vt(e,t){return ye(e)?e:Lt(e,t)?[e]:Mt(Nt(e))}function Wt(e){if("string"==typeof e||Pt(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}function Zt(e,t){for(var n=0,r=(t=Vt(t,e)).length;null!=e&&n<r;)e=e[Wt(t[n++])];return n&&n==r?e:void 0}function Ht(e,t,n){"__proto__"==t&&Re?Re(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Gt=Object.prototype.hasOwnProperty;function Yt(e,t,n){var r=e[t];Gt.call(e,t)&&Xe(r,n)&&(void 0!==n||t in e)||Ht(e,t,n)}var $t=/^(?:0|[1-9]\d*)$/;function Xt(e,t){var n=_(e);return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&$t.test(e))&&e>-1&&e%1==0&&e<t}function Kt(e,t,n,r){if(!De(e))return e;for(var o=-1,i=(t=Vt(t,e)).length,a=i-1,u=e;null!=u&&++o<i;){var c=Wt(t[o]),s=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(o!=a){var l=u[c];void 0===(s=r?r(l,c,u):void 0)&&(s=De(l)?l:Xt(t[o+1])?[]:{})}Yt(u,c,s),u=u[c]}return e}function Qt(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],u=Zt(e,a);n(u,a)&&Kt(i,Vt(a,e),u)}return i}function Jt(e,t){return null!=e&&t in Object(e)}function en(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=Vt(t,e)).length,i=!1;++r<o;){var a=Wt(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&dt(o)&&Xt(a,o)&&(ye(e)||we(e))}(e,t,Jt)}function tn(e){return(null==e?0:e.length)?Ee(e,1):[]}function nn(e){return We(Ae(e,void 0,tn),e+"")}var rn=nn((function(e,t){return null==e?{}:function(e,t){return Qt(e,t,(function(t,n){return en(e,n)}))}(e,t)}));function on(e,t,n){var r=null==e?void 0:Zt(e,t);return void 0===r?n:r}var an="#fff",un="#e9ecef",cn="#ced4da",sn="#adb5bd",ln="#868e96",fn="#495057",hn="#212529",pn=function(e){return"0 0 0 3px ".concat((0,s.DZ)(.5,e))};function dn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new vn(e,{animateWidgetEntrance:function(){return!0},fontSize:function(){return 14},smallTextFontSize:function(){return 12},lineHeight:function(){return 1.428571429},headingColor:function(){return hn},textColor:function(){return fn},mutedTextColor:function(){return sn},borderRadius:function(){return 3},borderColor:function(){return cn},borderWidth:function(){return 1},backgroundColor:function(){return"#ffffff"},primaryColor:function(){return"#229955"},dangerColor:function(){return"#dc4e41"},warningColor:function(){return"#ffc107"},successColor:function(){return"#229955"}
1,lightBackgroundColor:function(){return un},paddingY:function(e){return Math.round(e.get("fontSize")*e.get("lineHeight"))/2-e.get("borderWidth")},paddingX:function(e){return Math.round(4*e.get("paddingY")/3)},spacing:function(e){return Math.round(e.get("_blockHeight")/4)},maxWidth:function(){return 400},_absoluteLineHeight:function(e){return Math.round(e.get("fontSize")*e.get("lineHeight"))},_blockInnerHeight:function(e){return e.get("_absoluteLineHeight")+2*e.get("paddingY")},_blockHeight:function(e){return e.get("_blockInnerHeight")+2*e.get("borderWidth")},link:{color:function(e){return e.get("primaryColor")},decoration:function(){return"none"},hoverColor:function(e){return(0,s._j)(.15,e.get("link.color"))},hoverDecoration:function(){return"none"}},input:{color:function(){return fn},placeholderColor:function(){return ln},fontSize:function(e){return e.get("fontSize")},lineHeight:function(e){return e.get("lineHeight")},paddingX:function(e){return e.get("paddingX")},paddingY:function(e){return e.get("paddingY")},borderRadius:function(e){return e.get("borderRadius")},borderColor:function(e){return e.get("borderColor")},borderWidth:function(e){return e.get("borderWidth")},background:function(){return an},disabledBackground:function(){return un},boxShadow:function(){return"none"},focusBorderColor:function(e){return(0,s.$n)(.25,e.get("primaryColor"))},focusBoxShadow:function(){return pn},height:function(e){return Math.round(e.get("input.fontSize")*e.get("input.lineHeight"))+2*e.get("input.paddingY")+2*e.get("input.borderWidth")}},button:{fontWeight:function(){return"bold"},fontSize:function(e){return e.get("fontSize")},lineHeight:function(e){return e.get("lineHeight")},paddingX:function(e){return e.get("paddingX")},paddingY:function(e){return e.get("paddingY")},borderRadius:function(e){return e.get("borderRadius")},borderWidth:function(e){return e.get("borderWidth")},focusBoxShadow:function(){return pn},height:function(e){return Math.round(e.get("button.fontSize")*e.get("button.lineHeight"))+2*e.get("button.paddingY")+2*e.get("button.borderWidth")}},socialButton:{inline:function(){return!1},textVisible:function(e){return!e.get("socialButton.inline")},fontWeight:function(e){return e.get("button.fontWeight")},fontSize:function(e){return e.get("button.fontSize")},lineHeight:function(e){return e.get("button.lineHeight")},paddingX:function(e){return e.get("button.paddingX")},paddingY:function(e){return e.get("button.paddingY")},borderRadius:function(e){return e.get("button.borderRadius")},borderWidth:function(e){return e.get("button.borderWidth")},focusBoxShadow:function(){return function(){}},height:function(e){return e.get("socialButton.fontSize")*e.get("socialButton.lineHeight")+2*e.get("socialButton.paddingY")+2*e.get("socialButton.borderWidth")}},passwordStrengthValidator:{color0:function(e){return e.get("dangerColor")},color1:function(e){return e.get("dangerColor")},color2:function(e){return e.get("warningColor")},color3:function(e){return(0,s.$n)(.2,e.get("successColor"))},color4:function(e){return e.get("successColor")}}})}var vn=function(){function e(t,n){T(this,e),this.props=t,this.defaults=n,this.cache={}}return O(e,[{key:"get",value:function(e){return e in this.cache||(this.cache[e]=this._doGet(e)),this.cache[e]}},{key:"_doGet",value:function(e){var t=on(this.props,e);if(!At(t))return t;var n=on(this.defaults,e);if(At(n))throw new Error("Unknown theme attribute: "+e);if(!Se(n))throw new Error("Invalid theme attribute resolver: "+n);return n(this)}}]),e}();function gn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=D(D({},e),mn(t));return function(e,t){var r=n[e]||e;return t?Object.keys(t).reduce((function(e,n){return e.replace("{".concat(n,"}"),t[n])}),r):r}}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return Ft(e)?Object.keys(e).reduce((function(n,r){return D(D({},n),mn(e[r],[].concat($(t),[r])))}),{}):B({},t.join("."),e)}var wn,yn,bn,Cn,En,xn,kn,Fn=(0,c.fw)({theme:u().object.isRequired}),An=(0,c.fw)({i18n:u().func.isRequired}),Dn=(0,c.fw)({config:u().object.isRequired}),Sn=(0,c.fw)({apiClient:u().object.isRequired}),_n=(0,c.fw)({goTo:u().func.isRequired}),Pn=Fn(l.ZP.div(wn||(wn=G(["\n margin-bottom: ","px;\n text-align: center;\n color: ",";\n font-weight: bold;\n font-size: ","px;\n"])),(function(e){return 1.5*e.theme.get("spacing")}),(function(e){return e.theme.get("headingColor")}),(function(e){return 1.2*e.theme.get("fontSize")}))),jn=l.ZP.div(yn||(yn=G(["\n text-align: center;\n margin-bottom: ","px;\n"])),(function(e){return e.theme.get("spacing")})),Tn=Fn((0,l.ZP)(jn)(bn||(bn=G(["\n color: ",";\n"])),(function(e){return e.theme.get("textColor")}))),Ln=Fn((0,l.ZP)(jn)(Cn||(Cn=G(["\n color: ",";\n"])),(function(e){return e.theme.get("dangerColor")}))),On=Tn,Bn=Fn(l.ZP.div(En||(En=G(["\n color: ",";\n display: block;\n text-align: center;\n overflow: hidden;\n white-space: nowrap;\n margin: ","px 0;\n\n & > span {\n position: relative;\n display: inline-block;\n }\n\n & > span:before,\n & > span:after {\n content: '';\n position: absolute;\n top: 50%;\n width: 9999px;\n height: 1px;\n background: ",";\n }\n\n & > span:before {\n right: 100%;\n margin-right: ","px;\n }\n\n & > span:after {\n left: 100%;\n margin-left: ","px;\n }\n"])),(function(e){return e.theme.get("mutedTextColor")}),(function(e){return e.theme.get("spacing")}),(function(e){return e.theme.get("borderColor")}),(function(e){return e.theme.get("fontSize")}),(function(e){return e.theme.get("fontSize")}))),In=function(e){var t=e.text;return i.createElement(Bn,null,i.createElement("span",null,t))},Mn=Fn(l.ZP.div(xn||(xn=G(["\n text-align: center;\n margin-top: ","px;\n color: ",";\n"])),(function(e){return 1.5*e.theme.get("spacing")}),(function(e){return e.theme.get("textColor")}))),qn=(0,c.qC)(_n,Fn)((0,l.ZP)((function(e){var t=e.target,n=e.href,r=void 0===n?"#":n,o=e.children,a=e.goTo,u=e.className,c=t?function(e){e.preventDefault(),a(t)}:function(){};return i.createElement("a",{href:r,onClick:c,className:u},o)}))(kn||(kn=G(["\n color: ",";\n text-decoration: ",";\n &:hover {\n color: ",";\n text-decoration: ",";\n }\n"])),(function(e){return e.theme.get("link.color")}),(function(e){return e.theme.get("link.decoration")}),(function(e){return e.theme.get("link.hoverColor")}),(function(e){return e.theme.get("link.hoverDecoration")})));var zn,Un=function(){var e=new d._,t=e.renderer.rules.link_open;return e.inline.ruler.enable(["text","newline","emphasis","links","ins"]),e.block.ruler.enable(["list"]),e.renderer.rules.link_open=function(){return t.apply(null,arguments).replace(">",' target="_blank" rel="nofollow noreferrer noopener">')},e}(),Rn=function(e){var t=e.source,n=e.root;return i.createElement(n,{"data-text":"md",dangerouslySetInnerHTML:{__html:Un.render(t)}})},Nn=(0,l.ZP)((function(e){var t,n=e.name,r=void 0!==n&&n,o=e.className,a=e.children;return i.createElement("div",{className:p()((t={},B(t,o,!0),B(t,"r5-".concat(r),!!r),B(t,"r5-widget-active",!!r),t))},a)}))(zn||(zn=G(["\n font-size: ","px;\n transition:\n transform 400ms ease,\n opacity 400ms ease;\n\n opacity: ",";\n\n ","\n"])),(function(e){return e.theme.get("fontSize")}),(function(e){return"entered"===e.transition?"1":"0"}),(function(e){return e.standalone&&"\n padding: ".concat(2*e.theme.get("spacing"),"px;\n border-radius: ").concat(e.theme.get("borderRadius"),"px;\n background-color: ").concat(e.theme.get("backgroundColor"),";\n max-width: ").concat(e.theme.get("maxWidth"),"px;\n box-sizing: border-box;\n margin: 0 auto;\n ")}));function Vn(e){var t=e.name,n=e.standalone,r=void 0===n||n,o=e.noIntro,a=void 0!==o&&o,u=e.title,c=e.intro,s=e.theme,l=e.children;return i.createElement(f.ZP,{in:!0,appear:s.get("animateWidgetEntrance"),timeout:400},(function(e){return i.createElement(Nn,{standalone:r,theme:s,name:t,transition:e},u&&i.createElement(Pn,null,u),!a&&c&&i.createElement(On,null,c),l)}))}var Wn=["component","prepare"],Zn=["i18n","theme"],Hn=["prepare"],Gn=(0,c.lb)({theme:u().object.isRequired,i18n:u().func.isRequired,config:u().object.isRequired,apiClient:u().object.isRequired,redirectUrl:u().object},(function(e){return rn(e,["theme","i18n","config","apiClient"])}));function Yn(e){var t=e.component,n=e.prepare,r=void 0===n?function(e){return e}:n,o=V(e,Wn);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Promise.resolve(r(e,n)).then((function(e){var r=Gn(t),a=e.i18n,u=e.theme,c=D(D(D({},V(e,Zn)),n),{},{i18n:gn(n.defaultI18n,a),theme:dn(u)});return i.createElement(Vn,I({},o,c),i.createElement(r,c))}))}}var $n=function(e){var t=e.prepare;return Yn({component:Xn(V(e,Hn)),prepare:t,noIntro:!0})};function Xn(e){var t,n=e.initialView,r=e.views,o=e.initialState,a=void 0===o?{}:o,c=e.onStartup,s=e.handlers;return t=function(e){M(o,e);var t=H(o);function o(){var e;T(this,o);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return B(W(e=t.call.apply(t,[this].concat(i))),"state",D(D({},a),{},{activeView:Se(n)?n(e.props):n}
1)),B(W(e),"_setState",(function(t){return e.setState(t)})),B(W(e),"_goTo",(function(t,n){return e.setState(D({activeView:t},n))})),e}return O(o,[{key:"getChildContext",value:function(){return{goTo:this._goTo}}},{key:"componentDidMount",value:function(){c&&c(this.props,this._setState)}},{key:"render",value:function(){var e=s?s(this.props,this._setState):{},t=r[this.state.activeView];return i.createElement(t,I({},this.props,e,this.state,{goTo:this._goTo}))}}]),o}(i.Component),B(t,"childContextTypes",{goTo:u().func.isRequired}),t}function Kn(e){var t=this.__data__=new Je(e);this.size=t.size}function Qn(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}Kn.prototype.clear=function(){this.__data__=new Je,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Je){var r=n.__data__;if(!et||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new nt(r)}return n.set(e,t),this.size=n.size,this};function Jn(e,t,n,r,o,i){var a=1&n,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;var s=i.get(e),l=i.get(t);if(s&&l)return s==t&&l==e;var f=-1,h=!0,p=2&n?new rt:void 0;for(i.set(e,t),i.set(t,e);++f<u;){var d=e[f],v=t[f];if(r)var g=a?r(v,d,f,t,e,i):r(d,v,f,e,t,i);if(void 0!==g){if(g)continue;h=!1;break}if(p){if(!Qn(t,(function(e,t){if(!st(p,t)&&(d===e||o(d,e,n,r,i)))return p.push(t)}))){h=!1;break}}else if(d!==v&&!o(d,v,n,r,i)){h=!1;break}}return i.delete(e),i.delete(t),h}var er=oe.Uint8Array;function tr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}var nr=ie?ie.prototype:void 0,rr=nr?nr.valueOf:void 0;function or(e,t,n){var r=t(e);return ye(e)?r:ee(r,n(e))}function ir(){return[]}var ar=Object.prototype.propertyIsEnumerable,ur=Object.getOwnPropertySymbols,cr=ur?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}(ur(e),(function(t){return ar.call(e,t)})))}:ir;var sr="object"==("undefined"===typeof exports?"undefined":_(exports))&&exports&&!exports.nodeType&&exports,lr=sr&&"object"==_(e)&&e&&!e.nodeType&&e,fr=lr&&lr.exports===sr?oe.Buffer:void 0,hr=(fr?fr.isBuffer:void 0)||function(){return!1},pr={};function dr(e){return function(t){return e(t)}}pr["[object Float32Array]"]=pr["[object Float64Array]"]=pr["[object Int8Array]"]=pr["[object Int16Array]"]=pr["[object Int32Array]"]=pr["[object Uint8Array]"]=pr["[object Uint8ClampedArray]"]=pr["[object Uint16Array]"]=pr["[object Uint32Array]"]=!0,pr["[object Arguments]"]=pr["[object Array]"]=pr["[object ArrayBuffer]"]=pr["[object Boolean]"]=pr["[object DataView]"]=pr["[object Date]"]=pr["[object Error]"]=pr["[object Function]"]=pr["[object Map]"]=pr["[object Number]"]=pr["[object Object]"]=pr["[object RegExp]"]=pr["[object Set]"]=pr["[object String]"]=pr["[object WeakMap]"]=!1;var vr="object"==("undefined"===typeof exports?"undefined":_(exports))&&exports&&!exports.nodeType&&exports,gr=vr&&"object"==_(e)&&e&&!e.nodeType&&e,mr=gr&&gr.exports===vr&&ne.process,wr=function(){try{var e=gr&&gr.require&&gr.require("util").types;return e||mr&&mr.binding&&mr.binding("util")}catch(t){}}(),yr=wr&&wr.isTypedArray,br=yr?dr(yr):function(e){return pe(e)&&dt(e.length)&&!!pr[he(e)]},Cr=Object.prototype.hasOwnProperty;function Er(e,t){var n=ye(e),r=!n&&we(e),o=!n&&!r&&hr(e),i=!n&&!r&&!o&&br(e),a=n||r||o||i,u=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=u.length;for(var s in e)!t&&!Cr.call(e,s)||a&&("length"==s||o&&("offset"==s||"parent"==s)||i&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||Xt(s,c))||u.push(s);return u}var xr=Object.prototype;function kr(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||xr)}var Fr=wt(Object.keys,Object),Ar=Object.prototype.hasOwnProperty;function Dr(e){if(!kr(e))return Fr(e);var t=[];for(var n in Object(e))Ar.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Sr(e){return vt(e)?Er(e):Dr(e)}function _r(e){return or(e,Sr,cr)}var Pr=Object.prototype.hasOwnProperty;var jr=Ue(oe,"DataView"),Tr=Ue(oe,"Promise"),Lr=Ue(oe,"WeakMap"),Or="[object Map]",Br="[object Promise]",Ir="[object Set]",Mr="[object WeakMap]",qr="[object DataView]",zr=Te(jr),Ur=Te(et),Rr=Te(Tr),Nr=Te(lt),Vr=Te(Lr),Wr=he;(jr&&Wr(new jr(new ArrayBuffer(1)))!=qr||et&&Wr(new et)!=Or||Tr&&Wr(Tr.resolve())!=Br||lt&&Wr(new lt)!=Ir||Lr&&Wr(new Lr)!=Mr)&&(Wr=function(e){var t=he(e),n="[object Object]"==t?e.constructor:void 0,r=n?Te(n):"";if(r)switch(r){case zr:return qr;case Ur:return Or;case Rr:return Br;case Nr:return Ir;case Vr:return Mr}return t});var Zr=Wr,Hr="[object Arguments]",Gr="[object Array]",Yr="[object Object]",$r=Object.prototype.hasOwnProperty;function Xr(e,t,n,r,o,i){var a=ye(e),u=ye(t),c=a?Gr:Zr(e),s=u?Gr:Zr(t),l=(c=c==Hr?Yr:c)==Yr,f=(s=s==Hr?Yr:s)==Yr,h=c==s;
1if(h&&hr(e)){if(!hr(t))return!1;a=!0,l=!1}if(h&&!l)return i||(i=new Kn),a||br(e)?Jn(e,t,n,r,o,i):function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new er(e),new er(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Xe(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var u=tr;case"[object Set]":var c=1&r;if(u||(u=ft),e.size!=t.size&&!c)return!1;var s=a.get(e);if(s)return s==t;r|=2,a.set(e,t);var l=Jn(u(e),u(t),r,o,i,a);return a.delete(e),l;case"[object Symbol]":if(rr)return rr.call(e)==rr.call(t)}return!1}(e,t,c,n,r,o,i);if(!(1&n)){var p=l&&$r.call(e,"__wrapped__"),d=f&&$r.call(t,"__wrapped__");if(p||d){var v=p?e.value():e,g=d?t.value():t;return i||(i=new Kn),o(v,g,n,r,i)}}return!!h&&(i||(i=new Kn),function(e,t,n,r,o,i){var a=1&n,u=_r(e),c=u.length;if(c!=_r(t).length&&!a)return!1;for(var s=c;s--;){var l=u[s];if(!(a?l in t:Pr.call(t,l)))return!1}var f=i.get(e),h=i.get(t);if(f&&h)return f==t&&h==e;var p=!0;i.set(e,t),i.set(t,e);for(var d=a;++s<c;){var v=e[l=u[s]],g=t[l];if(r)var m=a?r(g,v,l,t,e,i):r(v,g,l,e,t,i);if(!(void 0===m?v===g||o(v,g,n,r,i):m)){p=!1;break}d||(d="constructor"==l)}if(p&&!d){var w=e.constructor,y=t.constructor;w==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof y&&y instanceof y||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,i))}function Kr(e,t,n,r,o){return e===t||(null==e||null==t||!pe(e)&&!pe(t)?e!==e&&t!==t:Xr(e,t,n,r,Kr,o))}function Qr(e){return e===e&&!De(e)}function Jr(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function eo(e){var t=function(e){for(var t=Sr(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Qr(o)]}return t}(e);return 1==t.length&&t[0][2]?Jr(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++o<i;){var c=(u=n[o])[0],s=e[c],l=u[1];if(a&&u[2]){if(void 0===s&&!(c in e))return!1}else{var f=new Kn;if(r)var h=r(s,l,c,e,t,f);if(!(void 0===h?Kr(l,s,3,r,f):h))return!1}}return!0}(n,e,t)}}function to(e){return Lt(e)?(t=Wt(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Zt(t,e)}}(e);var t}function no(e){return"function"==typeof e?e:null==e?xe:"object"==_(e)?ye(e)?(t=e[0],n=e[1],Lt(t)&&Qr(n)?Jr(Wt(t),n):function(e){var r=on(e,t);return void 0===r&&r===n?en(e,t):Kr(n,r,3)}):eo(e):to(e);var t,n}var ro,oo=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var u=i[ro?a:++r];if(!1===t(o[u],u,o))break}return e};var io=function(e,t){return function(n,r){if(null==n)return n;if(!vt(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}((function(e,t){return e&&oo(e,t,Sr)}));function ao(e,t){var n=-1,r=vt(e)?Array(e.length):[];return io(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function uo(e,t){return(ye(e)?qt:ao)(e,no(t))}var co=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)ee(t,cr(e)),e=yt(e);return t}:ir;var so=Object.prototype.hasOwnProperty;function lo(e){if(!De(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=kr(e),n=[];for(var r in e)("constructor"!=r||!t&&so.call(e,r))&&n.push(r);return n}function fo(e){return vt(e)?Er(e,!0):lo(e)}function ho(e){return or(e,fo,co)}function po(e,t){if(null==e)return{};var n=qt(ho(e),(function(e){return[e]}));return t=no(t),Qt(e,n,(function(e,n){return t(e,n[0])}))}function vo(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function go(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function mo(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}var wo=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function yo(e){return wo.test(e)}var bo="[\\ud800-\\udfff]",Co="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Eo="\\ud83c[\\udffb-\\udfff]",xo="[^\\ud800-\\udfff]",ko="(?:\\ud83c[\\udde6-\\uddff]){2}",Fo="[\\ud800-\\udbff][\\udc00-\\udfff]",Ao="(?:"+Co+"|"+Eo+")"+"?",Do="[\\ufe0e\\ufe0f]?",So=Do+Ao+("(?:\\u200d(?:"+[xo,ko,Fo].join("|")+")"+Do+Ao+")*"),_o="(?:"+[xo+Co+"?",Co,ko,Fo,bo].join("|")+")",Po=RegExp(Eo+"(?="+Eo+")|"+_o+So,"g");function jo(e){return yo(e)?function(e){return e.match(Po)||[]}(e):function(e){return e.split("")}(e)}var To,Lo=(To="toUpperCase",function(e){var t=yo(e=Nt(e))?jo(e):void 0,n=t?t[0]:e.charAt(0),r=t?function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:mo(e,t,n)}(t,1).join(""):e.slice(1);return n[To]()+r});var Oo,Bo=(Oo={"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"
1c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"},function(e){return null==Oo?void 0:Oo[e]}
1),Io=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Mo=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var qo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var zo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Uo="\\u2700-\\u27bf",Ro="a-z\\xdf-\\xf6\\xf8-\\xff",No="A-Z\\xc0-\\xd6\\xd8-\\xde",Vo="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Wo="["+Vo+"]",Zo="\\d+",Ho="[\\u2700-\\u27bf]",Go="["+Ro+"]",Yo="[^\\ud800-\\udfff"+Vo+Zo+Uo+Ro+No+"]",$o="(?:\\ud83c[\\udde6-\\uddff]){2}",Xo="[\\ud800-\\udbff][\\udc00-\\udfff]",Ko="["+No+"]",Qo="(?:"+Go+"|"+Yo+")",Jo="(?:"+Ko+"|"+Yo+")",ei="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",ti="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ni="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ri="[\\ufe0e\\ufe0f]?",oi=ri+ni+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",$o,Xo].join("|")+")"+ri+ni+")*"),ii="(?:"+[Ho,$o,Xo].join("|")+")"+oi,ai=RegExp([Ko+"?"+Go+"+"+ei+"(?="+[Wo,Ko,"$"].join("|")+")",Jo+"+"+ti+"(?="+[Wo,Ko+Qo,"$"].join("|")+")",Ko+"?"+Qo+"+"+ei,Ko+"+"+ti,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zo,ii].join("|"),"g");function ui(e,t,n){return e=Nt(e),void 0===(t=n?void 0:t)?function(e){return zo.test(e)}(e)?function(e){return e.match(ai)||[]}(e):function(e){return e.match(qo)||[]}(e):e.match(t)||[]}var ci=RegExp("['\u2019]","g");function si(e){return function(t){return vo(ui(function(e){return(e=Nt(e))&&e.replace(Io,Bo).replace(Mo,"")}(t).replace(ci,"")),e,"")}}var li=si((function(e,t,n){return t=t.toLowerCase(),e+(n?Lo(Nt(t).toLowerCase()):t)})),fi=si((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),hi=function(e){return e.split(".").map(li).join(".")},pi=function(e){return vi(e,li)},di=function(e){return vi(e,fi)};function vi(e,t){return ye(e)?e.map((function(e){return vi(e,t)})):De(e)?function(e,t,n){var r=ye(e)?vo:go,o=arguments.length<3;return r(e,no(t),n,o,io)}(e,(function(e,n,r){return e[t(r)]=vi(n,t),e}),{}):e}function gi(e){var t=e.split("&").reduce((function(e,t){var n=Y(t.split("="),2),r=n[0],o=n[1],i=void 0===o?"":o;return r&&r.length?D(D({},e),{},B({},r,decodeURIComponent(i.replace(/\+/g," ")))):e}),{});return pi(t)}function mi(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=t?di(e):e;return uo(po(n,(function(e){return null!==e&&void 0!==e})),(function(e,t){return""!==e?"".concat(t,"=").concat(encodeURIComponent(e)):t})).join("&")}var wi,yi,bi,Ci,Ei={key:"amazon",name:"Amazon",color:"#ff9900",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1551%201476q15-6%2026-3t11%2017.5-15%2033.5q-13%2016-44%2043.5t-95.5%2068-141%2074-188%2058-229.5%2024.5q-119%200-238-31t-209-76.5-172.5-104-132.5-105-84-87.5q-8-9-10-16.5t1-12%208-7%2011.5-2%2011.5%204.5q192%20117%20300%20166%20389%20176%20799%2090%20190-40%20391-135zm207-115q11%2016%202.5%2069.5t-28.5%20102.5q-34%2083-85%20124-17%2014-26%209t0-24q21-45%2044.5-121.5t6.5-98.5q-5-7-15.5-11.5t-27-6-29.5-2.5-35%200-31.5%202-31%203-22.5%202q-6%201-13%201.5t-11%201-8.5%201-7%20.5h-10l-3-.5-2-1.5-1.5-3q-6-16%2047-40t103-30q46-7%20108-1t76%2024zm-394-443q0%2031%2013.5%2064t32%2058%2037.5%2046%2033%2032l13%2011-227%20224q-40-37-79-75.5t-58-58.5l-19-20q-11-11-25-33-38%2059-97.5%20102.5t-127.5%2063.5-140%2023-137.5-21-117.5-65.5-83-113-31-162.5q0-84%2028-154t72-116.5%20106.5-83%20122.5-57%20130-34.5%20119.5-18.5%2099.5-6.5v-127q0-65-21-97-34-53-121-53-6%200-16.5%201t-40.5%2012-56%2029.5-56%2059.5-48%2096l-294-27q0-60%2022-119t67-113%20108-95%20151.5-65.5%20190.5-24.5q100%200%20181%2025t129.5%2061.5%2081%2083%2045%2086%2012.5%2073.5v589zm-672%2021q0%2086%2070%20133%2066%2044%20139%2022%2084-25%20114-123%2014-45%2014-101v-162q-59%202-111%2012t-106.5%2033.5-87%2071-32.5%20114.5z%22%20fill%3D%22%23fff%22%2F%3
1E%3C%2Fsvg%3E",windowSize:{width:715,height:525}},xi={key:"apple",name:"Sign in with Apple",color:"#000",fontWeight:400,fontFamily:"SF Pro Text,SF Pro Icons,Helvetica Neue,Helvetica,Arial,sans-serif",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22170%22%20height%3D%22170%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M150.37%20130.25c-2.45%205.66-5.35%2010.87-8.71%2015.66-4.58%206.53-8.33%2011.05-11.22%2013.56-4.48%204.12-9.28%206.23-14.42%206.35-3.69%200-8.14-1.05-13.32-3.18-5.197-2.12-9.973-3.17-14.34-3.17-4.58%200-9.492%201.05-14.746%203.17-5.262%202.13-9.501%203.24-12.742%203.35-4.929.21-9.842-1.96-14.746-6.52-3.13-2.73-7.045-7.41-11.735-14.04-5.032-7.08-9.169-15.29-12.41-24.65-3.471-10.11-5.211-19.9-5.211-29.378%200-10.857%202.346-20.221%207.045-28.068%203.693-6.303%208.606-11.275%2014.755-14.925s12.793-5.51%2019.948-5.629c3.915%200%209.049%201.211%2015.429%203.591%206.362%202.388%2010.447%203.599%2012.238%203.599%201.339%200%205.877-1.416%2013.57-4.239%207.275-2.618%2013.415-3.702%2018.445-3.275%2013.63%201.1%2023.87%206.473%2030.68%2016.153-12.19%207.386-18.22%2017.731-18.1%2031.002.11%2010.337%203.86%2018.939%2011.23%2025.769%203.34%203.17%207.07%205.62%2011.22%207.36-.9%202.61-1.85%205.11-2.86%207.51zM119.11%207.24c0%208.102-2.96%2015.667-8.86%2022.669-7.12%208.324-15.732%2013.134-25.071%2012.375a25.222%2025.222%200%200%201-.188-3.07c0-7.778%203.386-16.102%209.399-22.908%203.002-3.446%206.82-6.311%2011.45-8.597%204.62-2.252%208.99-3.497%2013.1-3.71.12%201.083.17%202.166.17%203.24z%22%2F%3E%3C%2Fsvg%3E"},ki={key:"bconnect",name:"B.connect",color:"#ff4f00",btnBorderColor:"rgba(0,0,0,.15)",btnTextColor:"#58666e",btnBackgroundColor:"#ffffff",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056.7%2056.7%22%20xmlns%3Av%3D%22https%3A%2F%2Fvecta.io%2Fnano%22%3E%3ClinearGradient%20id%3D%22A%22%20gradientUnits%3D%22userSpaceOnUse%22%20x1%3D%228.33%22%20y1%3D%2248.363%22%20x2%3D%2254.917%22%20y2%3D%221.776%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23ff0254%22%2F%3E%3Cstop%20offset%3D%22.999%22%20stop-color%3D%22%23ff5b00%22%2F%3E%3C%2FlinearGradient%3E%3Cpath%20d%3D%22M29.4%2056.2h-2.2C12.5%2056.2.4%2044.1.4%2029.4v-2.2C.4%2012.5%2012.5.4%2027.2.4h24.5a4.48%204.48%200%200%201%204.5%204.5v24.5c0%2014.8-12%2026.8-26.8%2026.8z%22%20fill%3D%22url%28%23A%29%22%2F%3E%3Cg%20fill%3D%22%23fff%22%3E%3Cpath%20d%3D%22M45.4%2031.6s0-.1%200%200v-.4-.3c-.2-1.3-1.2-2.4-2.6-2.6-1.1-.2-2.1.2-2.8%201l-.1.1c-.2.2-.3.5-.5.8-.1.2-.2.5-.3.8-1.6%206-7.8%209.3-13.7%207.5-1.5-.5-2.9-1.3-4.1-2.4l-.3-.3-.3-.3c-1.1-1.2-1.9-2.6-2.4-4.1-1.8-5.9%201.6-12.1%207.5-13.7.3-.1.5-.2.8-.3s.5-.3.8-.5l.1-.1c.8-.7%201.2-1.7%201-2.8-.2-1.4-1.3-2.4-2.6-2.6h-.3-.3-.1-.2-.2-.1-.1-.1c-2.4.5-4.6%201.6-6.5%203.2-.2.1-.4.3-.5.5%200%200-.1%200-.1.1-.2.1-.3.3-.5.4l-.4.4-.1.1c-3.1%203.2-5%207.5-4.9%2012.1v.1c0%201%20.1%202%20.3%203%200%20.1.1.3.1.4s0%20.2.1.3v.1c.7%202.6%201.9%205%203.6%207v.1l.4.4.2.2.3.3.3.3.2.2.4.4h.1c2%201.7%204.4%202.9%207%203.6h.1c.1%200%20.2%200%20.3.1.1%200%20.3.1.4.1%201%20.2%202%20.3%203%20.3h.1c4.5%200%208.9-1.8%2012.1-4.9l.1-.1.4-.4c.2-.2.3-.3.4-.5%200%200%200-.1.1-.1.2-.2.3-.4.5-.5%201.5-1.9%202.6-4.1%203.2-6.5V32v-.1-.1-.2c.1.1.2.1.2%200z%22%2F%3E%3Cpath%20d%3D%22M28.7%2032.3c-2.3%200-4-1.6-4-3.8%200-2.4%201.5-4.2%203.8-4.2%203.4%200%206.7-3%206.8-6.8.1-2.1%201.6-3.7%203.6-3.8%202.2-.2%204%201.2%204.4%203.2.4%202.1-.7%204.1-2.7%204.7-.6.2-1.2.2-1.8.3-3.5.5-5.9%203.1-6%206.6-.2%202.2-1.9%203.8-4.1%203.8z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"},Fi={key:"facebook",name:"Facebook",color:"#3b5998",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%3E%3Cpath%20d%3D%22M1343%2012v264h-157q-86%200-116%2036t-30%20108v189h293l-39%20296h-254v759h-306v-759h-255v-296h255v-218q0-186%20104-288.5t277-102.5q147%200%20228%2012z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:650,height:400}},Ai={key:"franceconnect",name:"France Connect",color:"#034ea2",icon:"data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2272%22%20height%3D%2272.5%22%20viewBox%3D%220%200%2072%2072.500002%22%20fill%3D%22%23fff%22%3E%20%20%20%20%3Cpath%20d%3D%22M35.9492188%201.2998045l-30.1992186%2017.5v34.900391l30.1992186%2017.5%2030.300781-17.5v-34.900391zm.701172%208.400391l13.699218%207.90039%209.300782%205.398438v26.5l-23%2013.300781-22.999999-13.300781v-26.5l9.298827-5.398438z%22%2F%3
1E%20%20%20%20%3Cpath%20d%3D%22M50.7499998%2043.1998043c-.2-.4-.5-.7-.8-1.1-.3-.5-.7-.9-.8-1.5-.2-.6%200-1.1%200-1.7%200-1.1-.3-2.2-.6-3.2-.2-.5-.3-1.1-.5-1.6-.1-.3-.2-.6-.4-.9-.1-.1-.1-.4%200-.5.3-.2.6-.5.8-.7.2-.4%200-.9-.3-1.1-.5-.2-.4.5-.8.7h-.2c-.1-.2.1-.3.2-.4%200-.1%200-.2-.1-.2-.3%200-.6-.1-.7-.2-.8-1-1.8-1.5-2.9-1.9.3.1.6.1.9.1.5.1%201.1%200%201.5-.2.4-.2.4-.7.5-1.1.1-.1%200-.2%200-.4s-.2-.4-.3-.6c0%200-.1-.1-.2-.3-.8-.9-3.9-3.5-9.7-3.1-2.5.2-5.6.9-9.2%202.7-.1%200-.2.1-.4.1-.6.3-1.4.8-1.9%201.4-.6.7-1.1%201.5-1.3%202.4-.9.6-1.5%201.5-2%202.4-.6%201.2-1.4%202.2-1.4%203.5v.2c.1.4.1.7.2%201.1.2.8.4%201.6.5%202.4l.3%201.2c.2.4%200%20.9.3%201.3.1.2.1.5.4.6v.3c.1.1.1.1.2.1v.3c.6.7%201.3%201.3%201.7%202.1.2.4-.7.2-1.1.1-.7-.3-1.2-.9-1.8-1.4l-.1.1c.3.5%201.4%201.1.8%201.5-.3.2-.7-.2-.9.1-.1.1%200%20.3%200%20.4-.4-.3-.9-.1-1.3-.3-.3-.1-.4-.6-.7-.6-.9-.2-1.8-.4-2.8-.4h-.2c-.9-.1-1.8-.2-2.6-.1v1c.8-.2%201.6-.4%202.4-.4h.2c.2%200%20.5-.1.7%200-.3%200-.7%200-1%20.1-.8.1-1.6.4-2.4.7v1c.4.1.9.1%201.3.2.5.1%201%20.2%201.5.4.7.2%201.2.5%201.8.8.3.2.4.4.7.6.4.2.9.2%201.2%200h.4c1.1-.3%202.2-.6%202.9-1.5%200%20.1.1.1.1.1-.2.6-.2%201.2-.6%201.8%200%20.1-.1.2.1.3h.1c-.1%200-.1%200-.1.1s.2%200%20.3.1c-.4.1-.7.2-.9.5%200%20.1.1.1.2.1-.1.1-.4.1-.4.2l.1.1c-.1%200-.1%200-.1.1v.2c-.2%200-.3.2-.4.2.3.2.5%200%20.8%200-.8.3-1.4.8-2.2%201-.1%200%200%20.2-.1.2.2.1.4-.1.6-.1-.4.3-.8.5-1.2.7l2.4%201.4c1-.6%201.9-1.3%202.7-2.2l.1.1c-.2.7-.6%201.2-1.2%201.7-.4.2-.7.6-1%20.7l1.8%201c.4-.3.7-.5%201.2-.7.1%200%20.2.1.4.1.6-.6%201.3-1.3%202.3-1.1%200%20.1%200%20.1.1.1%200%200%20.1%200%20.1-.1%200%20.1%200%20.1-.1.1-.3.2-.5.4-.8.6-.1.1%200%20.1.1.1.4-.2.6-.4.9-.6-.1.1-.1.2-.1.3-.9.7-1.6%201.4-2.3%202.2l9.5%205.5c.3-.4.7-1%201.1-1.5%201.8-2.6%204.4-6.1%205.2-6.9.3-.2.6-.2%201-.3%201.2%200%202.5.3%203.7.4.1%200%20.3.1.4.1.4.1.9%200%201.4-.1.5-.2%201.1-.5%201.3-1.1.2-.5.3-1.1%200-1.6-.5-.6.4-.9.7-1.3.2-.4-.2-.6-.2-.9-.1-.1-.4-.1-.5-.3.5-.2%201.3-.7.9-1.3-.2-.4-.6-.9-.2-1.3.5-.3%201.3-.3%201.5-.8.6-1-.2-1.7-.7-2.4zm-3.1-3.6c-.1.1.2.2.2.4-.1.1-.3.2-.4.2l-.4.4c.1%200%200%20.2.2.2-.3.4.2%201.1-.3%201.2-.5.2-1.1.2-1.7%200%20.3-.1.7.1.9-.2v-.3c0-.1-.1-.1-.1-.1l-.1.1c0-.1-.2-.3-.2-.3-.4.1-.8-.1-1.1-.4.2-.1.4-.2.7-.1.2%200%20.1-.4.3-.5h.2c.4-.6%201.3-.8%201.4-1.3%200-.1-.4-.1-.7-.2-.4-.1-.8%200-1.2%200-.6.2-1.1.2-1.6.5.4-.3.9-.6%201.4-.8.4-.1.7-.3%201.1-.3.4-.1.9-.2%201.2-.1.4.1.9.1%201%20.3-.1.6-.4%201-.8%201.3z%22%2F%3E%3C%2Fsvg%3E"},Di={key:"google",name:"Google",color:"#ea4335",btnBorderColor:"rgba(0,0,0,.15)",btnTextColor:"#58666e",btnBackgroundColor:"#ffffff",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20x%3D%220px%22%20y%3D%220px%22%20%20width%3D%22400px%22%20height%3D%22400px%22%20viewBox%3D%220%200%20400%20400%22%20enable-background%3D%22new%200%200%20400%20400%22%20xml%3Aspace%3D%22preserve%22%3E%3Cg%3E%20%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M142.9%2C24.2C97.6%2C39.7%2C59%2C73.6%2C37.5%2C116.5c-7.5%2C14.8-12.9%2C30.5-16.2%2C46.8c-8.2%2C40.4-2.5%2C83.5%2C16.1%2C120.3%20%20c12.1%2C24%2C29.5%2C45.4%2C50.5%2C62.1c19.9%2C15.8%2C43%2C27.6%2C67.6%2C34.1c31%2C8.3%2C64%2C8.1%2C95.2%2C1c28.2-6.5%2C54.9-20%2C76.2-39.6%20%20c22.5-20.7%2C38.6-47.9%2C47.1-77.2c9.3-31.9%2C10.5-66%2C4.7-98.8c-58.3%2C0-116.7%2C0-175%2C0c0%2C24.2%2C0%2C48.4%2C0%2C72.6c33.8%2C0%2C67.6%2C0%2C101.4%2C0%20%20c-3.9%2C23.2-17.7%2C44.4-37.2%2C57.5c-12.3%2C8.3-26.4%2C13.6-41%2C16.2c-14.6%2C2.5-29.8%2C2.8-44.4-0.1c-14.9-3-29-9.2-41.4-17.9%20%20c-19.8-13.9-34.9-34.2-42.6-57.1c-7.9-23.3-8-49.2%2C0-72.4c5.6-16.4%2C14.8-31.5%2C27-43.9c15-15.4%2C34.5-26.4%2C55.6-30.9%20%20c18-3.8%2C37-3.1%2C54.6%2C2.2c15%2C4.5%2C28.8%2C12.8%2C40.1%2C23.6c11.4-11.4%2C22.8-22.8%2C34.2-34.2c6-6.1%2C12.3-12%2C18.1-18.3%20%20c-17.3-16-37.7-28.9-59.9-37.1C228.2%2C10.6%2C183.2%2C10.3%2C142.9%2C24.2z%22%2F%3
1E%20%3Cg%3E%20%20%3Cpath%20fill%3D%22%23EA4335%22%20d%3D%22M142.9%2C24.2c40.2-13.9%2C85.3-13.6%2C125.3%2C1.1c22.2%2C8.2%2C42.5%2C21%2C59.9%2C37.1c-5.8%2C6.3-12.1%2C12.2-18.1%2C18.3%20%20%20c-11.4%2C11.4-22.8%2C22.8-34.2%2C34.2c-11.3-10.8-25.1-19-40.1-23.6c-17.6-5.3-36.6-6.1-54.6-2.2c-21%2C4.5-40.5%2C15.5-55.6%2C30.9%20%20%20c-12.2%2C12.3-21.4%2C27.5-27%2C43.9c-20.3-15.8-40.6-31.5-61-47.3C59%2C73.6%2C97.6%2C39.7%2C142.9%2C24.2z%22%2F%3E%20%3C%2Fg%3E%20%3Cg%3E%20%20%3Cpath%20fill%3D%22%23FBBC05%22%20d%3D%22M21.4%2C163.2c3.3-16.2%2C8.7-32%2C16.2-46.8c20.3%2C15.8%2C40.6%2C31.5%2C61%2C47.3c-8%2C23.3-8%2C49.2%2C0%2C72.4%20%20%20c-20.3%2C15.8-40.6%2C31.6-60.9%2C47.3C18.9%2C246.7%2C13.2%2C203.6%2C21.4%2C163.2z%22%2F%3E%20%3C%2Fg%3E%20%3Cg%3E%20%20%3Cpath%20fill%3D%22%234285F4%22%20d%3D%22M203.7%2C165.1c58.3%2C0%2C116.7%2C0%2C175%2C0c5.8%2C32.7%2C4.5%2C66.8-4.7%2C98.8c-8.5%2C29.3-24.6%2C56.5-47.1%2C77.2%20%20%20c-19.7-15.3-39.4-30.6-59.1-45.9c19.5-13.1%2C33.3-34.3%2C37.2-57.5c-33.8%2C0-67.6%2C0-101.4%2C0C203.7%2C213.5%2C203.7%2C189.3%2C203.7%2C165.1z%22%2F%3E%20%3C%2Fg%3E%20%3Cg%3E%20%20%3Cpath%20fill%3D%22%2334A853%22%20d%3D%22M37.5%2C283.5c20.3-15.7%2C40.6-31.5%2C60.9-47.3c7.8%2C22.9%2C22.8%2C43.2%2C42.6%2C57.1c12.4%2C8.7%2C26.6%2C14.9%2C41.4%2C17.9%20%20%20c14.6%2C3%2C29.7%2C2.6%2C44.4%2C0.1c14.6-2.6%2C28.7-7.9%2C41-16.2c19.7%2C15.3%2C39.4%2C30.6%2C59.1%2C45.9c-21.3%2C19.7-48%2C33.1-76.2%2C39.6%20%20%20c-31.2%2C7.1-64.2%2C7.3-95.2-1c-24.6-6.5-47.7-18.2-67.6-34.1C67%2C328.9%2C49.6%2C307.5%2C37.5%2C283.5z%22%2F%3E%20%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E",windowSize:{width:560,height:630}},Si={key:"kakaotalk",name:"KakaoTalk",color:"#ffe806",btnTextColor:"#000000",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20width%3D%2235%22%20height%3D%2232%22%20viewBox%3D%220%200%2035%2032%22%3E%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%3Cline%20stroke-width%3D%221%22%20x1%3D%22%22%20y1%3D%22%22%20x2%3D%22%22%20y2%3D%22%22%20stroke%3D%22%23449FDB%22%20opacity%3D%22%22%3E%3C%2Fline%3E%20%20%20%20%3C%2Fg%3E%20%20%20%20%3Cpath%20d%3D%22M7.594%2025.211c0%200-0.578%203.132-3.843%206.319-0.062%200.064-0.166%200.151-0.134%200.315%200.023%200.116%200.148%200.25%200.332%200.223%201.218-0.183%206.994-2.312%2010.284-4.696%201.030%200.15%202.091%200.228%203.175%200.228%209.634%200%2017.444-6.173%2017.444-13.788s-7.81-13.789-17.444-13.789c-9.634%200-17.444%206.173-17.444%2013.788%200%204.738%203.024%208.918%207.629%2011.4z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M6.416%2011.811h-1.697c-0.619%200-0.877-0.451-0.877-0.89%200-0.452%200.322-0.89%200.877-0.89h5.328c0.555%200%200.877%200.438%200.877%200.89%200%200.438-0.258%200.89-0.877%200.89h-1.696v6.128c0%200.645-0.413%201.006-0.968%201.006s-0.967-0.361-0.967-1.006v-6.128z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M11.829%2017.175l-0.36%201.087c-0.13%200.4-0.4%200.684-0.929%200.684-0.516%200-0.955-0.387-0.955-0.903%200-0.206%200.065-0.36%200.091-0.426l2.488-6.592c0.219-0.593%200.722-1.071%201.38-1.071%200.684%200%201.162%200.451%201.381%201.071l2.414%206.592c0.078%200.207%200.104%200.388%200.104%200.477%200%200.503-0.413%200.851-0.89%200.851-0.541%200-0.812-0.284-0.941-0.67l-0.351-1.1h-3.43zM13.557%2011.967h-0.026l-1.148%203.469h2.322l-1.148-3.469z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M18.119%2010.96c0-0.645%200.413-1.006%200.967-1.006s0.968%200.362%200.968%201.006v6.205h2.272c0.658%200%200.955%200.49%200.93%200.929-0.013%200.424-0.361%200.85-0.93%200.85h-3.202c-0.631%200-1.006-0.413-1.006-1.057v-6.928z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M29.967%2017.145c0.257%200.335%200.49%200.632%200.438%201.032-0.064%200.593-0.593%200.813-1.109%200.761-0.374-0.038-0.581-0.284-0.903-0.722l-2.181-2.973-0.497%200.507v2.267c0%200.503-0.387%200.928-0.968%200.928-0.554%2
100-0.967-0.361-0.967-0.928v-7.109c0-0.529%200.387-0.954%200.967-0.954%200.555%200%200.968%200.362%200.968%200.954v2.481l2.838-2.957c0.155-0.155%200.4-0.348%200.761-0.348%200.491%200.013%200.942%200.348%200.929%200.903%200%200.335-0.233%200.522-0.658%201.007l-2.006%202.023%202.387%203.128z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M14.299%208.056c0%200.023-0.013%200.034-0.040%200.034h-0.638c-0.018%200-0.031-0.005-0.040-0.015s-0.016-0.023-0.024-0.037l-0.535-0.969v0.96c0%200.016-0.006%200.030-0.018%200.042s-0.026%200.018-0.042%200.018h-0.495c-0.016%200-0.031-0.006-0.044-0.018s-0.020-0.026-0.020-0.042v-2.139c0-0.016%200.007-0.030%200.020-0.041s0.028-0.017%200.044-0.017h0.495c0.016%200%200.030%200.006%200.042%200.017s0.018%200.025%200.018%200.041v0.963l0.583-0.972c0.008-0.014%200.017-0.026%200.027-0.035s0.023-0.014%200.040-0.014h0.583c0.028%200%200.043%200.011%200.043%200.033%200%200.012-0.004%200.023-0.012%200.033l-0.662%201.045%200.665%201.081c0.006%200.010%200.009%200.020%200.009%200.030z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M18.469%208.056c0%200.023-0.013%200.034-0.039%200.034h-0.638c-0.018%200-0.032-0.005-0.040-0.015s-0.016-0.023-0.024-0.037l-0.535-0.969v0.96c0%200.016-0.006%200.030-0.018%200.042s-0.026%200.018-0.042%200.018h-0.495c-0.016%200-0.031-0.006-0.044-0.018s-0.020-0.026-0.020-0.042v-2.139c0-0.016%200.007-0.030%200.020-0.041s0.028-0.017%200.044-0.017h0.495c0.016%200%200.030%200.006%200.042%200.017s0.018%200.025%200.018%200.041v0.963l0.583-0.972c0.008-0.014%200.017-0.026%200.027-0.035s0.023-0.014%200.040-0.014h0.583c0.029%200%200.043%200.011%200.043%200.033%200%200.012-0.004%200.023-0.012%200.033l-0.663%201.045%200.665%201.081c0.006%200.010%200.009%200.020%200.009%200.030z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M22.482%207.118c0%200.186-0.024%200.343-0.074%200.469s-0.117%200.229-0.202%200.308c-0.085%200.079-0.184%200.136-0.298%200.17s-0.233%200.052-0.358%200.052c-0.126%200-0.245-0.017-0.359-0.052s-0.213-0.091-0.298-0.17c-0.085-0.079-0.153-0.182-0.202-0.308s-0.074-0.283-0.074-0.469v-0.313c0-0.184%200.024-0.34%200.074-0.468s0.117-0.231%200.202-0.31c0.085-0.079%200.184-0.136%200.298-0.172s0.233-0.053%200.359-0.053c0.125%200%200.245%200.018%200.358%200.053s0.213%200.093%200.298%200.172c0.085%200.079%200.153%200.182%200.202%200.31s0.074%200.284%200.074%200.468v0.313zM21.857%206.805c0-0.164-0.024-0.281-0.073-0.352s-0.127-0.107-0.234-0.107c-0.107%200-0.185%200.036-0.234%200.107s-0.073%200.188-0.073%200.352v0.313c0%200.164%200.024%200.281%200.073%200.351s0.127%200.104%200.234%200.104c0.107%200%200.185-0.035%200.234-0.104s0.073-0.187%200.073-0.351v-0.313z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M20.554%208.042c0-0.001-0-0.007-0.002-0.017l-0.376-1.718c-0.058-0.251-0.162-0.503-0.614-0.503s-0.556%200.252-0.614%200.503l-0.376%201.718c-0.002%200.009-0.003%200.016-0.003%200.017-0.002%200.032%200.017%200.047%200.051%200.047h0.526c0.016%200%200.029-0.006%200.040-0.017s0.017-0.025%200.021-0.041l0.072-0.422h0.568l0.071%200.422c0.004%200.017%200.011%200.030%200.021%200.041s0.023%200.017%200.039%200.017h0.526c0.035%200%200.053-0.015%200.051-0.047zM19.353%207.141c0%200%200.131-0.705%200.135-0.72%200.008-0.041%200.026-0.062%200.074-0.062s0.065%200.021%200.074%200.062c0.003%200.015%200.135%200.72%200.135%200.72h-0.416z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%20%20%20%20%3Cpath%20d%3D%22M16.384%208.042c0-0.001-0.001-0.007-0.003-0.017l-0.376-1.718c-0.058-0.251-0.162-0.503-0.614-0.503s-0.556%200.252-0.614%200.503l-0.376%201.718c-0.002%200.009-0.003%200.016-0.003%200.017-0.002%200.032%200.017%200.047%200.051%200.047h0.526c0.016%200%200.029-0.006%200.039-0.017s0.017-0.025%200.021-0.041l0.072-0.422h0.568l0.072%200.422c0.004%200.017%200.011%200.030%200.021%200.041s0.023%200.017%200.040%200.017h0.526c0.034%200%200.053-0.015%200.051-0.047zM15.183%207.141c0%200%200.131-0.705%200.134-0.72%200.009-0.041%200.026-0.062%200.074-0.062s0.065%200.021%200.074%200.062c0.003%200.015%200.135%200.72%200.135%200.72h-0.416z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",windowSize:{width:450,height:400}},_i={key:"line",name:"Line",color:"#00c300
vendor: 6,368 bytes, line 1
1",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20%20%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%20%20%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%20%20%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%20%20%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20%20xmlns%3Asodipodi%3D%22http%3A%2F%2Fsodipodi.sourceforge.net%2FDTD%2Fsodipodi-0.dtd%22%20%20%20xmlns%3Ainkscape%3D%22http%3A%2F%2Fwww.inkscape.org%2Fnamespaces%2Finkscape%22%20%20%20viewBox%3D%220%200%20369.58011%20345.90307%22%20%20%20height%3D%22345.90308%22%20%20%20width%3D%22369.58011%22%20%20%20xml%3Aspace%3D%22preserve%22%20%20%20id%3D%22svg2%22%20%20%20version%3D%221.1%22%20%20%20inkscape%3Aversion%3D%220.91%20r13725%22%20%20%20sodipodi%3Adocname%3D%22line-logo.svg%22%3E%3Csodipodi%3Anamedview%20%20%20%20%20pagecolor%3D%22%23808080%22%20%20%20%20%20bordercolor%3D%22%23666666%22%20%20%20%20%20borderopacity%3D%221%22%20%20%20%20%20objecttolerance%3D%2210%22%20%20%20%20%20gridtolerance%3D%2210%22%20%20%20%20%20guidetolerance%3D%2210%22%20%20%20%20%20inkscape%3Apageopacity%3D%221%22%20%20%20%20%20inkscape%3Apageshadow%3D%222%22%20%20%20%20%20inkscape%3Awindow-width%3D%221280%22%20%20%20%20%20inkscape%3Awindow-height%3D%22751%22%20%20%20%20%20id%3D%22namedview3425%22%20%20%20%20%20showgrid%3D%22false%22%20%20%20%20%20inkscape%3Azoom%3D%220.73701575%22%20%20%20%20%20inkscape%3Acx%3D%22175.26955%22%20%20%20%20%20inkscape%3Acy%3D%22205.82195%22%20%20%20%20%20inkscape%3Awindow-x%3D%220%22%20%20%20%20%20inkscape%3Awindow-y%3D%221%22%20%20%20%20%20inkscape%3Awindow-maximized%3D%221%22%20%20%20%20%20inkscape%3Acurrent-layer%3D%22svg2%22%20%20%20%20%20showborder%3D%22true%22%20%20%20%20%20fit-margin-top%3D%220%22%20%20%20%20%20fit-margin-left%3D%220%22%20%20%20%20%20fit-margin-right%3D%220%22%20%20%20%20%20fit-margin-bottom%3D%220%22%20%2F%3E%3Cmetadata%20%20%20%20%20id%3D%22metadata8%22%3E%3Crdf%3ARDF%3E%3Ccc%3AWork%20%20%20%20%20%20%20%20%20rdf%3Aabout%3D%22%22%3E%3Cdc%3Aformat%3Eimage%2Fsvg%2Bxml%3C%2Fdc%3Aformat%3E%3Cdc%3Atype%20%20%20%20%20%20%20%20%20%20%20rdf%3Aresource%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fdcmitype%2FStillImage%22%20%2F%3E%3Cdc%3Atitle%3E%3C%2Fdc%3Atitle%3E%3C%2Fcc%3AWork%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cdefs%20%20%20%20%20id%3D%22defs6%22%3E%3CclipPath%20%20%20%20%20%20%20id%3D%22clipPath18%22%20%20%20%20%20%20%20clipPathUnits%3D%22userSpaceOnUse%22%3E%3Cpath%20%20%20%20%20%20%20%20%20id%3D%22path16%22%20%20%20%20%20%20%20%20%20d%3D%22m%200%2C841.89%20595.276%2C0%20L%20595.276%2C0%200%2C0%20Z%22%20%20%20%20%20%20%20%20%20inkscape%3Aconnector-curvature%3D%220%22%20%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3Cpath%20%20%20%20%20style%3D%22fill-opacity%3A1%3Bfill-rule%3Anonzero%3Bstroke%3Anone%22%20%20%20%20%20fill%3D%22%23ffffff%22%20%20%20%20%20d%3D%22M%20184.78906%2C0%20C%2082.73173%2C0%20-0.00299992%2C66.24804%208.1583437e-8%2C147.9707%208.1583437e-8%2C220.8147%2065.73362%2C281.36316%20152.29492%2C293.66016%20l%200%2C0.002%200.0391%2C0.004%20c%202.03333%2C0.288%204.08462%2C0.54001%206.14062%2C0.77734%2029.472%2C6.13734%203.92552%2C43.02507%2013.57618%2C50.56641%2011.10134%2C8.676%2095.21311%2C-47.55831%20146.31445%2C-94.79297%207.396%2C-6.19333%2014.12236%2C-12.9035%2020.0957%2C-20.04883%20l%200.10938%2C-0.11719%20c%201.42533%2C-1.57066%202.55459%2C-2.9913%203.41992%2C-4.2793%2017.48667%2C-22.60267%2027.58984%2C-49.25544%2027.58984%2C-77.80078%200%2C-81.72266%20-82.73368%2C-147.9707%20-184.79101%2C-147.9707%20z%20m%20-99.54102%2C104.41211%200.80469%2C0%20c%205.30133%2C0%209.63672%2C4.33733%209.63672%2C9.63867%20l%200%2C61.03711%2026.82812%2C0%20c%205.30134%2C0%209.63672%2C4.336%209.63672%2C9.63867%20l%200%2C0.80274%20c%200%2C5.30267%20-4.33538%2C9.64062%20-9.63672%2C9.64062%20l%20-36.46484%2C0%20-0.18555%2C0%20-0.61914%2C0%20c%20-5.30133%2C0%20-9.63672%2C-4.33662%20-9.63672%2C-9.64062%20l%200%2C-71.47852%20c%200%2C-5.30134%204.33539%2C-9.63867%209.63672%2C-9.63867%20z%20m%2064.32227%2C0.002%200.80469%2C0%20c%205.30133%2C0%209.63671%2C4.33539%209.63671%2C9.63672%20l%200%2C71.47852%20c%200%2C5.30267%20-4.33538%2C9.64062%20-9.63671%2C9.64062%20l%20-0.80469%2C0%20c%20-5.30133%2C0%20-9.63867%2C-4.33795%20-9.63867%2C-9.64062%20l%200%2C-71.47852%20c%200%2C-5.30133%204.33734%2C-9.63672%209.63867%2C-9.63672%20z%20m%2033.64648%2C0.002%200.80469%2C0%20c%203.57067%2C0%206.70319%2C1.96771%208.36719%2C4.87304%20l%2034.83593%2C46.72266%200%2C-41.95899%20c%200%2C-5.30133%204.33602%2C-9.63671%209.63868%2C-9.63671%20l%200.80273%2C0%20c%205.304%2C0%209.63867%2C4.33538%209.63867%2C9.63671%20l%200%2C71.47852%20c%200%2C2.62666%20-1.06648%2C5.01577%20-2.78515%2C6.75977%20l%20-0.004%2C0.004%20c%20-0.57334%2C0.69733%20-1.38561%2C1.28938%20-2.34961%2C1.74805%20-1.34666%2C0.71733%20-2.87795%2C1.12695%20-4.50195%2C1.12695%20l%20-0.80469%2C0%20c%20-1.292%2C0%20-2.52692%2C-0.25928%20-3.65625%2C-0.72461%20-1.46934%2C-0.55067%20-2.78662%2C-1.45486%20-3.75195%2C-2.76953%20-0.25466%2C-0.308%20-0.48908%2C-0.6308%20-0.70508%2C-0.9668%20l%20-35.08789%2C-47.92187%200%2C42.74414%20c%200%2C5.30266%20-4.33539%2C9.64062%20-9.63672%2C9.64062%20l%20-0.80469%2C0%20c%20-5.30267%2C1e-5%20-9.63867%2C-4.33796%20-9.63867%2C-9.64062%20l%200%2C-71.47852%20c%200%2C-5.30133%204.33734%2C-9.63671%209.63867%2C-9.63671%20z%20m%2086.0625%2C0.16796%200.6211%2C0%200.18359%2C0%2036.46484%2C0%20c%205.30266%2C0%209.63868%2C4.33601%209.63868%2C9.63868%20l%200%2C0.80273%20c%200%2C5.30133%20-4.33602%2C9.63867%20-9.63868%2C9.63867%20l%20-26.82617%2C0%200%2C15.25977%2026.82617%2C0%20c%205.30266%2C0%209.63868%2C4.33601%209.63868%2C9.63867%20l%200%2C0.80273%20c%200%2C5.30133%20-4.33602%2C9.63777%20-9.63868%2C9.63477%20l%20-26.82617%2C0%200%2C15.25977%2026.82617%2C0%20c%205.30266%2C0%209.63868%2C4.33601%209.63868%2C9.63867%20l%200%2C0.80273%20c%200%2C5.30267%20-4.33602%2C9.63867%20-9.63868%2C9.63867%20l%20-36.46484%2C0%20-0.18359%2C0%20-0.6211%2C0%20c%20-5.3%2C0%20-9.63476%2C-4.336%20-9.63476%2C-9.63867%20l%200%2C-71.47851%20c%200%2C-5.30267%204.33476%2C-9.63868%209.63476%2C-9.63868%20z%22%20%20%20%20%20id%3D%22path22%22%20%20%20%20%20inkscape%3Aconnector-curvature%3D%220%22%20%2F%3E%3C%2Fsvg%3E",windowSize:{width:440,height:550}},
1Pi={key:"linkedin",name:"LinkedIn",color:"#0077b5",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M477%20625v991h-330v-991h330zm21-306q1%2073-50.5%20122t-135.5%2049h-2q-82%200-132-49t-50-122q0-74%2051.5-122.5t134.5-48.5%20133%2048.5%2051%20122.5zm1166%20729v568h-329v-530q0-105-40.5-164.5t-126.5-59.5q-63%200-105.5%2034.5t-63.5%2085.5q-11%2030-11%2081v553h-329q2-399%202-647t-1-296l-1-48h329v144h-2q20-32%2041-56t56.5-52%2087-43.5%20114.5-15.5q171%200%20275%20113.5t104%20332.5z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"},ji={key:"mailru",name:"Mail.ru",color:"#4988c3",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20viewBox%3D%220%200%20512%20512%22%3E%20%20%20%20%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22m338.9325%2C254.73273c-2.7587%2C-53.7213%20-42.64825%2C-86.03352%20-90.81926%2C-86.03352l-1.81364%2C0c-55.58786%2C0%20-86.41135%2C43.71193%20-86.41135%2C93.36995c0%2C55.58963%2037.28972%2C90.70813%2086.20149%2C90.70813c54.51491%2C0%2090.37047%2C-39.94247%2092.96495%2C-87.17941l-0.12253%2C-10.86514l0.00037%2C0l-0.00003%2C0zm-92.36253%2C-134.12075c37.14186%2C0%2072.06859%2C16.419%2097.70509%2C42.12824l0%2C0.09587c0%2C-12.33736%208.30704%2C-21.64256%2019.83444%2C-21.64256l2.91922%2C-0.01956c18.02805%2C0%2021.74091%2C17.06667%2021.74091%2C22.4655l0.08163%2C191.87061c-1.27
1533%2C12.56726%2012.96695%2C19.05533%2020.858%2C10.98727c30.81427%2C-31.66293%2067.66794%2C-162.77498%20-19.1539%2C-238.72443c-80.91397%2C-70.82441%20-189.48596%2C-59.1584%20-247.22675%2C-19.35647c-61.38795%2C42.33453%20-100.65891%2C136.04395%20-62.50809%2C224.05164c41.59364%2C95.98645%20160.60377%2C124.61685%20231.34043%2C96.05566c35.81735%2C-14.45566%2052.35477%2C33.95807%2015.15643%2C49.7803c-56.20123%2C23.93597%20-212.65044%2C21.52026%20-285.72825%2C-105.07782c-49.37709%2C-85.47534%20-46.76059%2C-235.87268%2084.20552%2C-313.78905c100.17726%2C-59.62546%20232.2637%2C-43.12263%20311.90784%2C40.05385c83.25119%2C86.95306%2078.38718%2C249.78824%20-2.80414%2C313.08463c-36.79355%2C28.76538%20-91.44339%2C0.78082%20-91.0986%2C-41.12851l-0.37408%2C-13.70035c-25.61804%2C25.41931%20-59.71478%2C40.25085%20-96.85658%2C40.25085c-73.38423%2C0%20-137.95771%2C-64.55344%20-137.95771%2C-137.95044c0%2C-74.10297%2064.57348%2C-139.43562%20137.95771%2C-139.43562l0%2C0%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:450,height:400}},Ti={key:"microsoft",fontKey:"windows",name:"Microsoft",color:"#00a1f1",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20height%3D%2288%22%20width%3D%2288%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22m0%2C12.402%2C35.687-4.8602%2C0.0156%2C34.423-35.67%2C0.20313zm35.67%2C33.529%2C0.0277%2C34.453-35.67-4.9041-0.002-29.78zm4.3261-39.025%2C47.318-6.906%2C0%2C41.527-47.318%2C0.37565zm47.329%2C39.349-0.0111%2C41.34-47.318-6.6784-0.0663-34.739z%22%2F%3E%3C%2Fsvg%3E"},Li={key:"naver",name:"Naver",color:"#19CE60",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%220%200%20512%20512%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M9%2032V480H181.366V255.862L331.358%20480H504V32H331.358V255.862L181.366%2032H9Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",windowSize:{width:450,height:400}},Oi={key:"oney",name:"Oney",color:"#8bbc06",icon:"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%201500%20750%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M%20145.507812%20616.734375%20C%2093.640625%20616.734375%2051.414062%20574.609375%2051.414062%20520.867188%20C%2051.414062%20467.121094%2093.640625%20424.894531%20145.507812%20424.894531%20C%20197.03125%20424.894531%20239.46875%20467.121094%20239.46875%20520.867188%20C%20239.46875%20574.609375%20197.03125%20616.734375%20145.507812%20616.734375%20M%20145.507812%20375.074219%20C%2063.894531%20375.074219%200%20439.054688%200%20520.867188%20C%200%20602.574219%2063.894531%20666.65625%20145.507812%20666.65625%20C%20226.910156%20666.65625%20290.804688%20602.574219%20290.804688%20520.867188%20C%20290.804688%20439.054688%20226.910156%20375.074219%20145.507812%20375.074219%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M%20893.976562%20517.019531%20C%20893.496094%20438.929688%20830.347656%20375.402344%20753.089844%20375.402344%20C%20673.589844%20375.402344%20611.269531%20439.15625%20611.269531%20520.511719%20C%20611.269531%20558.714844%20625.914062%20594.980469%20652.265625%20622.667969%20C%20679.09375%20650.6875%20714.476562%20666.128906%20752.128906%20666.128906%20C%20795.101562%20666.128906%20855.308594%20645.53125%20883.929688%20587.082031%20L%20884.679688%20585.195312%20L%20827.0625%20585.195312%20L%20826.714844%20585.625%20C%20811.242188%20604.109375%20782.035156%20616.582031%20754.214844%20616.582031%20C%20718.886719%20616.582031%20676.503906%20593.320312%20664.90625%20540.808594%20L%20892.855469%20540.808594%20C%20893.363281%20535.375%20893.976562%20524.511719%20893.976562%20517.019531%20M%20666.589844%20494.433594%20C%20673.589844%20459.25%20707.316406%20424.894531%20752.664062%20424.894531%20C%20797.933594%20424.894531%20831.632812%20459.25%20838.5
154688%20494.433594%20Z%20M%20666.589844%20494.433594%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M%20451.410156%20423.234375%20C%20400.050781%20423.234375%20373.941406%20450.722656%20373.941406%20505.148438%20L%20373.941406%20666.253906%20L%20321.1875%20666.253906%20L%20321.1875%20501.351562%20C%20321.695312%20472.453125%20326.828125%20452.007812%20338.640625%20432.816406%20C%20352.613281%20411.265625%20385.804688%20375%20451.410156%20375%20C%20516.855469%20375%20550.15625%20411.265625%20564.105469%20432.816406%20C%20575.808594%20452.007812%20581.101562%20472.453125%20581.421875%20501.351562%20L%20581.421875%20666.253906%20L%20528.722656%20666.253906%20L%20528.722656%20505.148438%20C%20528.722656%20450.722656%20502.773438%20423.234375%20451.410156%20423.234375%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M%201168.1875%20375.074219%20L%201057.015625%20645.933594%20L%201029.546875%20712.957031%20L%201014.367188%20750%20L%20959.53125%20750%20L%201002.074219%20645.984375%20L%20888.445312%20375.074219%20L%20946.382812%20375.074219%20L%201029.570312%20578.734375%20L%201112.921875%20375.074219%20Z%20M%201168.1875%20375.074219%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"},Bi={key:"orange",name:"Orange",color:"#ff6600",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3C!DOCTYPE%20svg%20PUBLIC%20%22-%2F%2FW3C%2F%2FDTD%20SVG%201.1%2F%2FEN%22%20%22http%3A%2F%2Fwww.w3.org%2FGraphics%2FSVG%2F1.1%2FDTD%2Fsvg11.dtd%22%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%22350%22%20height%3D%22350%22%3E%20%20%20%20%3Cpath%20id%3D%22background%22%20style%3D%22fill%3A%20rgb%28255%2C%20255%2C%20255%29%3B%22%20d%3D%22M%20350%2C350%200%2C350%200%2C0%20l%20350%2C0%200%2C350%20z%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22letter_o%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%2043.07789%2C321.77478%20c%20-12.673527%2C0%20-24.106883%2C-8.06959%20-24.106883%2C-25.70382%200%2C-17.63421%2011.433356%2C-25.7038%2024.106883%2C-25.7038%2012.673527%2C0%2024.089894%2C8.06959%2024.089894%2C25.7038%200%2C17.63422%20-11.416367%2C25.70382%20-24.089894%2C25.70382%20m%200%2C-40.56887%20c%20-9.581594%2C0%20-11.331424%2C8.63023%20-11.331424%2C14.86505%200%2C6.23485%201.74983%2C14.88207%2011.331424%2C14.88207%209.581594%2C0%2011.331424%2C-8.64722%2011.331424%2C-14.88207%200%2C-6.23482%20-1.74983%2C-14.86505%20-11.331424%2C-14.86505%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22letter_r%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%2075.959576%2C271.65166%2012.197845%2C0%200%2C5.72518%20c%202.327444%2C-3.09194%208.052616%2C-6.72751%2013.421029%2C-6.72751%200.50966%2C0%201.13824%2C0%201.66489%2C0.068%20l%200%2C12.04495%20-0.62858%2C0%20c%20-5.572279%2C0%20-11.671202%2C0.86642%20-13.641884%2C5.19853%20l%200%2C32.39734%20-13.0133%2C0%200%2C-48.70644%20z%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22letter_a%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%20137.30386%2C316.11774%20c%20-4.96068%2C3.26181%20-10.32909%2C4.84176%20-16.10523%2C4.84176%20-9.08892%2C0%20-14.47432%2C-6.04795%20-14.47432%2C-14.16853%200%2C-10.9067%2010.0233%2C-16.66585%2030.68149%2C-18.9933%20l%200%2C-2.71819%20c%200%2C-3.53364%20-2.68421%2C-5.60624%20-7.64489%2C-5.60624%20-4.96069%2C0%20-8.98699%2C1.97068%20-11.89205%2C5.60624%20l%20-8.64722%2C-4.9267%20c%204.53597%2C-6.35375%2011.45034%2C-9.53062%2020.74313%2C-9.53062%2012.70751%2C0%2019.84274%2C5.50432%2019.84274%2C14.45732%200%2C0%20-0.017%2C35.21747%200%2C35.3024%20l%20-11.36541%2C0%20-1.13824%2C-4.26414%20z%20m%20-17.95699%2C-10.26115%20c%200%2C3.27881%202.05563%2C6.33676%205.77614%2C6.33676%204.02631%2C0%207.95068%2C-1.66487%2011.87506%2C-5.13056%20l%200%2C-11.53528%20c%20-11.97699%2C1.47801%20-17.6512%2C4.56993%20-17.6512%2C10.32909%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22letter_n%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%20159.93783%2C272.9496%2010.6179%2C-1.46103%201.17222%2C5.77615%20c%205.98%2C-4.38307%2010.73682%2C-6.71052%2016.71682%2C-6.71052%2010.0233%2C0%2015.20483%2C5.31745%2015.20483%2C15.85039%20l%200%2C33.90934%20-12.82642%2C0%200%2C-31.68381%20c%200%2C-5.96302%20-1.54596%2C-8.64723%20-6.18386%2C-8.64723%20-3.82245%2C0%20-7.64489%2C1.73284%20-12.01097%2C5.4024%20l%200%2C34.92864%20-12.69052%2C0%200%2C-47.36433%20z%22%2F%3
1E%20%20%20%20%3Cpath%20id%3D%22letter_g%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%20235.02253%2C309.88953%20c%209.7175%2C-0.0679%2010.54995%2C-9.97234%2010.54995%2C-16.41103%200%2C-7.64489%20-3.72052%2C-13.81176%20-10.63489%2C-13.81176%20-4.60393%2C0%20-9.75148%2C3.36374%20-9.75148%2C14.33841%200%2C5.99699%200.42471%2C15.96931%209.83642%2C15.88438%20m%2022.86671%2C-38.41132%200%2C46.12416%20c%200%2C8.12057%20-0.64557%2C21.55859%20-23.83506%2C21.67751%20-9.5816%2C0.068%20-18.46666%2C-3.77148%20-20.23348%2C-12.12989%20l%2012.63955%2C-2.03864%20c%200.52665%2C2.3954%202.00466%2C4.77381%209.17387%2C4.77381%206.64256%2C0%209.83642%2C-3.17687%209.83642%2C-10.78779%20l%200%2C-5.6742%20-0.16988%2C-0.16989%20c%20-2.03864%2C3.65256%20-5.13057%2C7.10125%20-12.5716%2C7.10125%20-11.3654%2C0%20-20.30142%2C-7.88273%20-20.30142%2C-24.34472%200%2C-16.29211%209.22483%2C-25.41501%2019.57091%2C-25.432%209.73449%2C-0.017%2013.3191%2C4.41705%2014.16853%2C6.74449%20l%20-0.16989%2C-0.017%201.07029%2C-5.8271%2010.82176%2C0%20z%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22letter_e%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%20288.54015%2C321.24644%20c%20-14.3554%2C0%20-22.91768%2C-9.24183%20-22.91768%2C-25.26212%200%2C-16.20717%208.66421%2C-25.432%2022.71382%2C-25.432%2014.0496%2C0%2022.40802%2C8.95302%2022.40802%2C24.78643%200%2C0.84943%20-0.10194%2C1.68188%20-0.10194%2C2.51432%20l%20-32.43131%2C0%20c%200.0849%2C9.24182%203.92437%2C13.89671%2011.46733%2C13.89671%204.84176%2C0%208.05262%2C-1.95369%2011.0596%2C-6.23483%20l%209.37774%2C5.19852%20c%20-4.12824%2C6.91438%20-11.56927%2C10.53296%20-21.57558%2C10.53296%20m%209.61557%2C-31.70081%20c%200%2C-6.50665%20-3.7375%2C-10.34608%20-9.81943%2C-10.34608%20-5.79313%2C0%20-9.41171%2C3.75449%20-9.92137%2C10.34608%20l%2019.7408%2C0%20z%22%2F%3E%20%20%20%20%3Cpath%20id%3D%22letter_TM%22%20style%3D%22fill%3A%20rgb%28255%2C%20102%2C%200%29%3B%22%20d%3D%22m%20332.69028%2C253.16977%20-4.72284%2C12.21483%20-4.80779%2C-12.21483%20-4.11125%2C0%200%2C16.10523%202.66722%2C0%200%2C-13.43801%200.0679%2C0%205.28347%2C13.43801%201.69886%2C0%205.24949%2C-13.43801%200.0849%2C0%200%2C13.43801%202.65023%2C0%200%2C-16.10523%20-4.06029%2C0%20z%20m%20-29.64518%2C0%200%2C2.14057%205.02864%2C0%200%2C13.96466%202.66721%2C0%200%2C-13.96466%205.04563%2C0%200%2C-2.14057%20-12.74148%2C0%20z%22%2F%3E%3C%2Fsvg%3E",hidden:!0},Ii={key:"paypal",name:"PayPal",color:"#003087",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1647%20646q18%2084-4%20204-87%20444-565%20444h-44q-25%200-44%2016.5t-24%2042.5l-4%2019-55%20346-2%2015q-5%2026-24.5%2042.5t-44.5%2016.5h-251q-21%200-33-15t-9-36q9-56%2026.5-168t26.5-168%2027-167.5%2027-167.5q5-37%2043-37h131q133%202%20236-21%20175-39%20287-144%20102-95%20155-246%2024-70%2035-133%201-6%202.5-7.5t3.5-1%206%203.5q79%2059%2098%20162zm-172-282q0%20107-46%20236-80%20233-302%20315-113%2040-252%2042%200%201-90%201l-90-1q-100%200-118%2096-2%208-85%20530-1%2010-12%2010h-295q-22%200-36.5-16.5t-11.5-38.5l232-1471q5-29%2027.5-48t51.5-19h598q34%200%2097.5%2013t111.5%2032q107%2041%20163.5%20123t56.5%20196z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E"},Mi={key:"ping",name:"Ping",color:"#c90917",icon:"data:image/svg+xml,%3Csvg%20width%3D%22800px%22%20height%3D%22800px%22%20viewBox%3D%220%200%20128%20128%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-hidden%3D%22true%22%20role%3D%22img%22%20class%3D%22iconify%20iconify--noto%22%20preserveAspectRatio%3D%22xMidYMid%20meet%22%3E%3Cpath%20d%3D%22M72.51%2015.42H34.65c-.15%200-.28.06-.42.08h-6.47c-1.24%200-2.24%201-2.24%202.24v100.97c0%201.24%201%202.24%202.24%202.24h21.9c1.24%200%202.24-1%202.24-2.24V86.63h20.61c19.83%200%2035.96-15.97%2035.96-35.6c.01-19.63-16.13-35.61-35.96-35.61zm-1.72%2050.22c-.35.03-.7.06-1.06.06H52.28c-.05%200-.09-.04-.14-.06a.513.513%200%200%201-.24-.1a.577.577%200%200%201-.21-.43V36.94c0-.18.09-.32.21-.43c.06-.06.14-.07.22-.09c.06-.02.09-.06.15-.06h17.45c.4%200%20.8.03%201.19.06c7.25.63%2012.97%206.94%2012.97%2014.61c.01%207.71-5.77%2014.05-13.09%2014.61z%22%20fill%3D%22%23fff%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",windowSize:{width:450,height:400}},qi={key:"qq",name:"QQ",color:"#0071c3",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M270%20806q-8-19-8-52%200-20%2011-49t24-45q-1-22%207.5-53t22.5-43q0-139%2092.5-288.5t217.5-209.5q139-66%20324-66%20133%200%20266%2055%2049%2021%2090%2048t71%2056%2055%2068%2042%2074%2032.5%2084.5%2025.5%2089.5%2022%2098l1%205q55%2083%2055%20150%200%2014-9%2040t-9%2038q0%201%201.5%203.5t3.5%205%202%203.5q77%20114%20120.5%20214.5t43.5%20208.5q0%2043-19.5%20100t-55.5%2057q-9%200-19.5-7.5t-19-17.5-19-26-16-26.5-13.5-26-9-17.5q-1-1-3-1l-5%204q-59%20154-132%20223%2020%2020%2061.5%2038.5t69%2041.5%2035.5%2065q-2%204-4%2016t-7%2018q-64%2097-302%2097-53%200-110.5-9t-98-20-104.5-30q-15-5-23-7-14-4-46-4.5t-40-1.5q-41%2045-127.5%2065t-168.5%2020q-35%200-69-1.5t-93-9-101-20.5-74.5-40-32.5-64q0-40%2010-59.5t41-48.5q11-2%2040.5-13t49.5-12q4%200%2014-2%202-2%202-4l-2-3q-48-11-108-105.5t-73-156.5l-5-3q-4%200-12%2020-18%2041-54.5%2074.5t-77.5%2037.5h-1q-4%200-6-4.5t-5-5.5q-23-54-23-100%200-275%20252-466z
1%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:450,height:400}},zi={key:"twitter",name:"Twitter",color:"#55acee",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1684%20408q-67%2098-162%20167%201%2014%201%2042%200%20130-38%20259.5t-115.5%20248.5-184.5%20210.5-258%20146-323%2054.5q-271%200-496-145%2035%204%2078%204%20225%200%20401-138-105-2-188-64.5t-114-159.5q33%205%2061%205%2043%200%2085-11-112-23-185.5-111.5t-73.5-205.5v-4q68%2038%20146%2041-66-44-105-115t-39-154q0-88%2044-163%20121%20149%20294.5%20238.5t371.5%2099.5q-8-38-8-74%200-134%2094.5-228.5t228.5-94.5q140%200%20236%20102%20109-21%20205-78-37%20115-142%20178%2093-10%20186-50z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:800,height:440}},Ui={key:"vkontakte",fontKey:"vk",name:"VKontakte",color:"#45668e",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1853%20520q23%2064-150%20294-24%2032-65%2085-78%20100-90%20131-17%2041%2014%2081%2017%2021%2081%2082h1l1%201%201%201%202%202q141%20131%20191%20221%203%205%206.5%2012.5t7%2026.5-.5%2034-25%2027.5-59%2012.5l-256%204q-24%205-56-5t-52-22l-20-12q-30-21-70-64t-68.5-77.5-61-58-56.5-15.5q-3%201-8%203.5t-17%2014.5-21.5%2029.5-17%2052-6.5%2077.5q0%2015-3.5%2027.5t-7.5%2018.5l-4%205q-18%2019-53%2022h-115q-71%204-146-16.5t-131.5-53-103-66-70.5-57.5l-25-24q-10-10-27.5-30t-71.5-91-106-151-122.5-211-130.5-272q-6-16-6-27t3-16l4-6q15-19%2057-19l274-2q12%202%2023%206.5t16%208.5l5%203q16%2011%2024%2032%2020%2050%2046%20103.5t41%2081.5l16%2029q29%2060%2056%20104t48.5%2068.5%2041.5%2038.5%2034%2014%2027-5q2-1%205-5t12-22%2013.5-47%209.5-81%200-125q-2-40-9-73t-14-46l-6-12q-25-34-85-43-13-2%205-24%2017-19%2038-30%2053-26%20239-24%2082%201%20135%2013%2020%205%2033.5%2013.5t20.5%2024%2010.5%2032%203.5%2045.5-1%2055-2.5%2070.5-1.5%2082.5q0%2011-1%2042t-.5%2048%203.5%2040.5%2011.5%2039%2022.5%2024.5q8%202%2017%204t26-11%2038-34.5%2052-67%2068-107.5q60-104%20107-225%204-10%2010-17.5t11-10.5l4-3%205-2.5%2013-3%2020-.5%20288-2q39-5%2064%202.5t31%2016.5z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:655,height:430}},Ri={key:"wechat",name:"WeChat",color:"#44b549",icon:"data:image/svg+xml,%3Csvg%20width%3D%222048%22%20height%3D%221792%22%20viewBox%3D%220%200%202048%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M580%20461q0-41-25-66t-66-25q-43%200-76%2025.5t-33%2065.5q0%2039%2033%2064.5t76%2025.5q41%200%2066-24.5t25-65.5zm743%20507q0-28-25.5-50t-65.5-22q-27%200-49.5%2022.5t-22.5%2049.5q0%2028%2022.5%2050.5t49.5%2022.5q40%200%2065.5-22t25.5-51zm-236-507q0-41-24.5-66t-65.5-25q-43%200-76%2025.5t-33%2065.5q0%2039%2033%2064.5t76%2025.5q41%200%2065.5-24.5t24.5-65.5zm635%20507q0-28-26-50t-65-22q-27%200-49.5%2022.5t-22.5%2049.5q0%2028%2022.5%2050.5t49.5%2022.5q39%200%2065-22t26-51zm-266-397q-31-4-70-4-169%200-311%2077t-223.5%20208.5-81.5%20287.5q0%2078%2023%20152-35%203-68%203-26%200-50-1.5t-55-6.5-44.5-7-54.5-10.5-50-10.5l-253%20127%2072-218q-290-203-290-490%200-169%2097.5-311t264-223.5%20363.5-81.5q176%200%20332.5%2066t262%20182.5%20136.5%20260.5zm592%20561q0%20117-68.5%20223.5t-185.5%20193.5l55%20181-199-109q-150%2037-218%2037-169%200-311-70.5t-223.5-191.5-81.5-264%2081.5-264%20223.5-191.5%20311-70.5q161%200%20303%2070.5t227.5%20192%2085.5%20263.5z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:450,height:400}},Ni={key:"weibo",name:"Weibo",color:"#e71d34",icon:"data:image/svg+xml,%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M675%201284q21-34%2011-69t-45-50q-34-14-73-1t-60%2046q-22%2034-13%2068.5t43%2050.5%2074.5%202.5%2062.5-47.5zm94-121q8-13%203.5-26.5t-17.5-18.5q-14-5-28.5.5t-21.5%2018.5q-17%2031%2013%2045%2014%205%2029-.5t22-18.5zm174%20107q-45%20102-158%20150t-224%2012q-107-34-147.5-126.5t6.5-187.5q47-93%20151.5-139t210.5-19q111%2029%20158.5%20119.5t2.5%20190.5zm312-160q-9-96-89-170t-208.5-109-274.5-21q-223%2023-369.5%20141.5t-132.5%20264.5q9%2096%2089%20170t208.5%20109%20274.5%2021q223-23%20369.5-141.5t132.5-264.5zm308%204q0%2068-37%20139.5t-109%20137-168.5%20117.5-226%2083-270.5%2031-275-33.5-240.5-93-171.5-151-65-199.5q0-115%2069.5-245t197.5-258q169-169%20341.5-236t246.5%207q65%2064%2020%20209-4%2014-1%2020t10%207%2014.5-.5%2013.5-3.5l6-2q139-59%20246-59t153%2061q45%2063%200%20178-2%2013-4.5%2020t4.5%2012.5%2012%207.5%2017%206q57%2018%20103%2047t80%2081.5%2034%20116.5zm-74-624q42%2047%2054.5%20108.5t-6.5%20117.5q-8%2023-29.5%2034t-44.5%204q-23-8-34-29.5t-4-44.5q20-63-24-111t-107-35q-24%205-45-8t-25-37q-5-24%208-44.5t37-25.5q60-13%20119%205.5t101%2065.5zm181-163q87%2096%20112.5%20222.5t-13.5%20241.5q-9%2027-34%2040t-52%204-40-34-5-52q28-82%2010-172t-80-158q-62-69-148-95.5t-173-8.5q-28%206-52-9.5t-30-43.5%209.5-51.5%2043.5-29.5q123-26%20244%2011.5t208%20134.5z%22%20fill%3D%22%23fff%22%2F%3
1E%3C%2Fsvg%3E"},Vi={key:"yandex",name:"Yandex",color:"#d43b2f",icon:"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20width%3D%221792%22%20height%3D%221792%22%20viewBox%3D%220%200%201792%201792%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M937%201004l266-499h-112l-157%20312q-24%2048-44%2092l-42-92-155-312h-120l263%20493v324h101v-318zm727-588v960q0%20119-84.5%20203.5t-203.5%2084.5h-960q-119%200-203.5-84.5t-84.5-203.5v-960q0-119%2084.5-203.5t203.5-84.5h960q119%200%20203.5%2084.5t84.5%20203.5z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E",windowSize:{width:655,height:700}},Wi=Object.freeze({__proto__:null,amazon:Ei,apple:xi,bconnect:ki,facebook:Fi,franceconnect:Ai,google:Di,kakaotalk:Si,line:_i,linkedin:Pi,mailru:ji,microsoft:Ti,naver:Li,oney:Oi,orange:Bi,paypal:Ii,ping:Mi,qq:qi,twitter:zi,vkontakte:Ui,wechat:Ri,weibo:Ni,yandex:Vi}),Zi=function(e,t){return e.theme.get("".concat(e.themePrefix||"button",".").concat(t))},Hi=(0,l.ZP)((function(e){var t=e.tagname,n=void 0===t?"button":t,r=e.className,o=e.extendedClasses,a=e.title,u=e.disabled,c=e.type,s=e.dataTestId,l=e.onClick,f=e.children,h=n;return i.createElement(h,I({className:p()([o,r]),disabled:u,type:c,"data-testid":s||c,onClick:l},a?{title:a}:{}),f)}))(wi||(wi=G(["\n display: block;\n width: 100%;\n box-sizing: border-box;\n text-align: center;\n font-weight: ",";\n white-space: nowrap;\n vertical-align: middle;\n user-select: none;\n touch-action: manipulation;\n cursor: pointer;\n color: ",";\n background-color: ",";\n border: ","px solid ",";\n padding: ","px ","px;\n font-size: ","px;\n line-height: ",";\n border-radius: ","px;\n transition: all .15s ease-in-out;\n\n &:focus {\n outline: 0;\n box-shadow: ",";\n }\n\n &:hover,\n &:active {\n color: ",";\n background-color: ",";\n border-color: ",";\n }\n\n &[disabled] {\n opacity: .65;\n }\n"])),(function(e){return Zi(e,"fontWeight")}),(function(e){return e.color||"#ffffff"}),(function(e){return e.background}),(function(e){return Zi(e,"borderWidth")}),(function(e){return e.border}),(function(e){return Zi(e,"paddingY")}),(function(e){return Zi(e,"paddingX")}),(function(e){return Zi(e,"fontSize")}),(function(e){return Zi(e,"lineHeight")}),(function(e){return Zi(e,"borderRadius")}),(function(e){return Zi(e,"focusBoxShadow")(e.border)}),(function(e){return e.color}),(function(e){return(0,s._j)(.08,e.background)}),(function(e){return(0,s._j)(.08,e.border)})),Gi=Fn((function(e){return i.createElement(Hi,I({},e,{background:"#ffffff",border:e.theme.get("borderColor"),color:e.theme.get("textColor")}))})),Yi=Fn((function(e){var t=e.onClick,n=e.disabled,r=void 0!==n&&n,o=e.children,a=e.theme;return i.createElement(Hi,{type:"submit",onClick:t,disabled:r,background:a.get("primaryColor"),border:a.get("primaryColor"),theme:a},o)})),$i=gi(window.location.search.substring(1)),Xi=Object.keys(Wi).reduce((function(e,t){return D(D({},e),{},B({},t,Wi[t]))}),{}),Ki=Fn((0,l.ZP)((function(e){var t=e.className;return i.createElement("span",{className:p()(["r5-btn-social-icon",t])})}))(yi||(yi=G(["\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n width: ",";\n box-sizing: border-box;\n border-radius: ","px;\n background-image: url(",");\n background-repeat: no-repeat;\n background-size: ","px ","px;\n background-position: center center;\n\n ","\n"])),(function(e){return e.textVisible?e.theme.get("socialButton.height")-2+"px":"100%"}),(function(e){return e.theme.get("socialButton.borderRadius")-1}),(function(e){return e.icon}),(function(e){return e.theme.get("socialButton.height")/2}),(function(e){return e.theme.get("socialButton.height")/2}),(function(e){return!e.textVisible&&"height: 100%;"}))),Qi=function(e){var t=e.children;return i.createElement("span",{className:"r5-btn-social-text"},t)},Ji=Fn((0,l.ZP)(Hi).attrs((function(e){var t=e.provider,n=e.inline;return{tagname:"div",themePrefix:"socialButton",color:t.btnTextColor||"#ffffff",background:t.btnBackgroun
1dColor||t.color,border:t.btnBorderColor||t.color,extendedClasses:p()(["r5-btn-social","r5-btn-social-".concat(t.key)]),title:n&&t.name}}))(bi||(bi=G(["\n margin-bottom: ","px;\n position: relative;\n\n width: ",";\n height: ",";\n\n ","\n\n ","\n\n font-weight: ",";\n font-family: ",";\n"])),(function(e){return e.theme.get("spacing")}),(function(e){return e.width}),(function(e){return e.height}),(function(e){return e.inline&&"\n display: inline-block;\n margin: 0 4px;\n "}),(function(e){return e.inline&&e.textVisible&&"\n padding-left: ".concat(e.theme.get("socialButton.paddingX")+e.theme.get("socialButton.height")/2,"px;\n ")}),(function(e){return e.provider.fontWeight}),(function(e){return e.provider.fontFamily}))),ea=Fn((function(e){var t=e.provider,n=e.onClick,r=e.theme,o=e.count,a=r.get("socialButton.inline"),u=r.get("socialButton.textVisible"),c=r.get("socialButton.height")+"px",s=u?a?"calc(".concat(100/o,"% - 8px)"):"100%":r.get("socialButton.height")+"px";return i.createElement(Ji,{provider:t,inline:a,textVisible:u,width:s,height:c,onClick:function(){return n(t.key)}},i.createElement(Ki,{icon:t.icon,textVisible:u}),u&&i.createElement(Qi,null,t.name))})),ta=(0,l.ZP)((function(e){var t=e.providers,n=e.clickHandler,r=e.className;return i.createElement("div",{className:p()(["r5-social-buttons",r])},t.flatMap((function(e){var r=Y(e.split(":"),1)[0];return"bconnect"===r&&"true"!==$i.bconnectActivation?[]:void 0===Xi[r]?(console.error("".concat(r," provider not found.")),[]):[i.createElement(ea,{provider:Xi[r],count:t.length,onClick:function(){return n(e)},key:e})]})))}))(Ci||(Ci=G(["\n text-align: center;\n ","\n"])),(function(e){return e.theme.get("socialButton.inline")&&"margin: 0 -4px"})),na=(0,c.qC)(Fn,Sn,(0,c.CA)({clickHandler:function(e){var t=e.apiClient,n=e.auth;return function(e){return t.loginWithSocialProvider(e,n)}}}))(ta);function ra(e,t){var n;return io(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function oa(e,t,n){if(!De(n))return!1;var r=_(t);return!!("number"==r?vt(n)&&Xt(t,n.length):"string"==r&&t in n)&&Xe(n[t],e)}function ia(e,t,n){var r=ye(e)?Qn:ra;return n&&oa(e,t,n)&&(t=void 0),r(e,no(t))}function aa(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o}var ua=function(){return oe.Date.now()},ca=/\s/;var sa=/^\s+/;function la(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&ca.test(e.charAt(t)););return t}(e)+1).replace(sa,""):e}var fa=/^[-+]0x[0-9a-f]+$/i,ha=/^0b[01]+$/i,pa=/^0o[0-7]+$/i,da=parseInt;function va(e){if("number"==typeof e)return e;if(Pt(e))return NaN;if(De(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=De(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=la(e);var n=ha.test(e);return n||pa.test(e)?da(e.slice(2),n?2:8):fa.test(e)?NaN:+e}var ga,ma=Math.max,wa=Math.min;function ya(e,t,n){var r,o,i,a,u,c,s=0,l=!1,f=!1,h=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var n=r,i=o;return r=o=void 0,s=t,a=e.apply(i,n)}function d(e){return s=e,u=setTimeout(g,t),l?p(e):a}function v(e){var n=e-c;return void 0===c||n>=t||n<0||f&&e-s>=i}function g(){var e=ua();if(v(e))return m(e);u=setTimeout(g,function(e){var n=t-(e-c);return f?wa(n,i-(e-s)):n}(e))}function m(e){return u=void 0,h&&r?p(e):(r=o=void 0,a)}function w(){var e=ua(),n=v(e);if(r=arguments,o=this,c=e,n){if(void 0===u)return d(c);if(f)return clearTimeout(u),u=setTimeout(g,t),p(c)}return void 0===u&&(u=setTimeout(g,t)),a}return t=va(t)||0,De(n)&&(l=!!n.leading,i=(f="maxWait"in n)?ma(va(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h),w.cancel=function(){void 0!==u&&clearTimeout(u),s=0,r=c=o=u=void 0},w.flush=function(){return void 0===u?a:m(ua())},w}function ba(e,t){window.console&&(window.console.error?t?window.console.error(e,t):window.console.error(e):window.console.log&&window.console.log(e))}var Ca=l.ZP.form(ga||(ga=G(["\n position: relative;\n"])));function Ea(e){var t=function(e){M(n,e);var t=H(n);function n(e){var r;return T(this,n),B(W(r=t.call(this,e)),"handleFieldChange",(function(e,t){r.props.onFieldChange(r.state.fields),r.setState((function(n){var r=n.fields[e],o=D(D({},r),Se(t)?t(r):t);return{fields:D(D({},n.fields),{},B({},e,D({},o)))}}))})),B(W(r),"handleFieldValidation",(function(e){r.setState((function(t){var n=t.fields[e],o=r.validateField(r.fieldByKey[e],n,r.state),i=D(D({},t.fields),{},B({},e,D(D({},n),{},{validation:o})));return{hasErrors:!!o.error||ia(i,(function(e){var t=e.validation;return(void 0===t?{}:t).error})),fields:i}}))})),B(W(r),"onSuccess",(function(e){r.props.onSuccess&&r.props.onSuccess(e),r.unmounted||r.setState(D({isLoading:!r.props.supportMultipleSubmits,errorMessage:null},r.props.resetAfterSuccess?{fields:r.applyModel({})}:{}))})),B(W(r),"onError",(function(e){r.props.onError&&r.props.onError(e),e.errorUserMsg||(e.errorDescription?ba(e.errorDescription):ba(e)),r.unmounted||r.setState(D({isLoading:!1,errorMessage:r.formatErrorMessage(e)||r.props.i18n("unexpectedErrorOccurred")},r.props.resetAfterError?{fields:r.applyModel({})}:{}))})),B(W(r),"handleSubmit",(function(e){e.preventDefault(),r.validateAllFields((function(e){if(e){r.setState({isLoading:!0});var t=r.inputFields.reduce((function(e,t){return t.unbind(e,r.state.fields[t.key])}),{}),n=r.props.beforeSubmit?r.props.beforeSubmit(t):t;r.props.handler(n).then(r.onSuccess).catch((function(e){return"function"===typeof r.props.skipError&&r.props.skipError(e)?r.onSuccess():r.onError(e)}))}}))})),B(W(r),"handleClick",(function(e){e.preventDefault(),r.validateAllFields((function(e){if(e){r.setState({isLoading:!0});var t=r.inputFields.reduce((function(e,t){return t.unbind(e,r.state.fields[t.key])}),{});r.props.redirect(t)}}))})),r.allFields=aa(Se(e.fields)?e.fields(e):e.fields).map((function(t){return t.staticContent?t:t.create({i18n:e.i18n,showLabel:e.showLabels})})),r.inputFields=r.allFields.filter((function(e){return!e.staticContent})),r.fieldByKey=r.inputFields.reduce((function(e,t){return D(D({},e),{},B({},t.key,t))}),{}),r.state={isLoading:!1,hasErrors:!1,errorMessage:null,fields:r.applyModel(e.initialModel)},r}
1return O(n,[{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"applyModel",value:function(e){return this.inputFields.reduce((function(t,n){return D(D({},t),{},B({},n.key,n.initialize(e)))}),{})}},{key:"validateField",value:function(e,t,n){return e.validate(t,n)||{}}},{key:"formatErrorMessage",value:function(e){var t=this.props.i18n(e.errorMessageKey);return t===e.errorMessageKey?e.errorUserMsg:t}},{key:"validateAllFields",value:function(e){var t=this;this.setState((function(e){return t.inputFields.reduce((function(n,r){var o=e.fields[r.key],i=t.validateField(r,o,D(D({},e),{},{isSubmitted:!0}));return{isSubmitted:!0,hasErrors:n.hasErrors||!!i.error,fields:D(D({},n.fields),{},B({},r.key,D(D({},o),{},{validation:i})))}}),{hasErrors:!1,fields:[]})}),(function(){return e&&e(!t.state.hasErrors)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.submitLabel,r=t.allowWebAuthnLogin,o=t.i18n,a=t.fieldValidationDebounce,u=this.state,c=u.errorMessage,s=u.isLoading,l=u.fields;return i.createElement(Ca,{noValidate:!0,onSubmit:this.handleSubmit},c&&i.createElement(Ln,null,c),this.allFields.map((function(t){return t.staticContent?t.staticContent:t.render(D({state:l[t.key],onChange:function(n){e.handleFieldChange(t.key,n),ya((function(e){e.handleFieldValidation(t.key)}),a)(e)}},e.props.sharedProps))})),!r&&i.createElement(Yi,{disabled:s},o(n)),r&&this.props.webAuthnButtons(s,this.handleClick))}}]),n}(i.Component);return B(t,"defaultProps",D({initialModel:{},supportMultipleSubmits:!1,submitLabel:"send",showLabels:!1,skipError:!1,fieldValidationDebounce:1e3,onFieldChange:function(e){return e}},e)),An(t)}var xa=Object.prototype.hasOwnProperty;function ka(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(n<t.length){var o=e[t[n]]||{};return D(D({},e),{},B({},t[n],ka(o,t,n+1,r)))}return r}var Fa=function(){function e(t){T(this,e),this.modelPath=t}return O(e,[{key:"bind",value:function(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(arguments.length>1?arguments[1]:void 0).split(".").reduce((function(e,t){if(e)return e[t]}),e)}(e,this.modelPath)}},{key:"unbind",value:function(e,t){return function(){var e=arguments.length>2?arguments[2]:void 0;return ka(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},(arguments.length>1?arguments[1]:void 0).split("."),0,e)}(e,this.modelPath,t)}}]),e}();function Aa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"raw",n=De(e)?e[t]:e;return null!==n&&void 0!==n&&""!==n&&!Number.isNaN(n)&&(!Array.isArray(n)||n.length>0)}function Da(e){return e.identifier?D(D(D({},e),{},{identifier:void 0},function(e){return/\S+@\S+\.\S+/.test(e)}(e.identifier)?{email:e.identifier}:(0,m.q)(e.identifier)?{phoneNumber:e.identifier.replace(/\s+/g,"")}:{customIdentifier:e.identifier}),{},{customIdentifier:e.customIdentifier}):e}var Sa=function(){function e(t,n){T(this,e),this.current=t,this.next=n}return O(e,[{key:"create",value:function(e){var t=this.current.create(e),n=this.next.create(e);return function(e,r){return t(e,r)||n(e,r)}}},{key:"and",value:function(t){return new e(this,t)}}]),e}(),_a=function(){function e(t){var n=t.rule,r=t.hint,o=t.parameters,i=void 0===o?[]:o;T(this,e),this.rule=n,this.hint=Se(r)?r:function(){return r},this.parameters=i}return O(e,[{key:"create",value:function(e){var t=this;return function(n,r){return!t.rule(n,r)&&{error:(o=n,e("validation.".concat(t.hint(o)),t.parameters))};var o}}},{key:"and",value:function(e){return new Sa(this,e)}}]),e}(),Pa=new _a({rule:function(){return!0}}),ja=new _a({rule:function(e){return Aa(e)},hint:"required"}),Ta=new _a({rule:function(e){return!0===e},hint:"checked"}),La=new _a({rule:g().isEmail,hint:"email"}),Oa=new _a({rule:g().isInt,hint:"integer"}),Ba=new _a({rule:g().isFloat,hint:"float"}),Ia=Math.ceil,Ma=Math.max;var qa=1/0;function za(e){return e?(e=va(e))===qa||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}var Ua=function(e){return function(t,n,r){return r&&"number"!=typeof r&&oa(t,n,r)&&(n=r=void 0),t=za(t),void 0===n?(n=t,t=0):n=za(n),function(e,t,n,r){for(var o=-1,i=Ma(Ia((t-e)/(n||1)),0),a=Array(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,n,r=void 0===r?t<n?1:-1:za(r),e)}}();function Ra(e){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.length,n=void 0===t?8:t,r=e.charset,o=void 0===r?"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789":r;return Ua(0,n).map((function(){return o.charAt(Math.floor(Math.random()*o.length))})).join("")}({length:6,charset:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"})}var Na=["state"],Va=function(e){var t=e.key,n=e.path,r=void 0===n?t:n,o=e.label,a=e.defaultValue,u=e.required,
1c=void 0===u||u,s=e.readOnly,l=void 0!==s&&s,f=e.validator,h=void 0===f?Pa:f,p=e.mapping,d=void 0===p?new Fa(hi(r)):p,v=e.format,g=void 0===v?{bind:function(e){return Aa(e)?e:""},unbind:function(e){return function(e){if(null==e)return!0;if(vt(e)&&(ye(e)||"string"==typeof e||"function"==typeof e.splice||hr(e)||br(e)||we(e)))return!e.length;var t=Zr(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(kr(e))return!Dr(e).length;for(var n in e)if(xa.call(e,n))return!1;return!0}(e)?null:e}}:v,m=e.rawProperty,w=void 0===m?"raw":m,y=e.component,b=e.extendedParams,C=void 0===b?{}:b;return{path:r,create:function(e){var n=e.i18n,r=e.showLabel,u=Se(C)?C(n):C,s=D({inputId:Ra(),key:t,path:t,label:n(o),required:c,readOnly:l,i18n:n,showLabel:r},u),f=(c?ja.and(h):h).create(n),p=y;return{key:t,render:function(e){var t=e.state,n=V(e,Na);return i.createElement(p,I({},t,n,s))},initialize:function(e){var t=d.bind(e),n=Aa(t,w)?t:a;return{value:g.bind(n),isDirty:!1}},unbind:function(e,t){var n=t.value;return d.unbind(e,g.unbind(n))},validate:function(e,t){var n=e.value;return c||Aa(n)?f(n,t):{}}}}}};function Wa(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var u=t[i],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),o?Ht(n,u,c):Yt(n,u,c)}return n}var Za="object"==("undefined"===typeof exports?"undefined":_(exports))&&exports&&!exports.nodeType&&exports,Ha=Za&&"object"==_(e)&&e&&!e.nodeType&&e,Ga=Ha&&Ha.exports===Za?oe.Buffer:void 0,Ya=Ga?Ga.allocUnsafe:void 0;function $a(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Xa=Object.prototype.hasOwnProperty;function Ka(e){var t=new e.constructor(e.byteLength);return new er(t).set(new er(e)),t}var Qa=/\w*$/;var Ja=ie?ie.prototype:void 0,eu=Ja?Ja.valueOf:void 0;function tu(e,t,n){var r,o=e.constructor;switch(t){case"[object ArrayBuffer]":return Ka(e);case"[object Boolean]":case"[object Date]":return new o(+e);case"[object DataView]":return function(e,t){var n=t?Ka(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(e,t){var n=t?Ka(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}(e,n);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(e);case"[object RegExp]":return function(e){var t=new e.constructor(e.source,Qa.exec(e));return t.lastIndex=e.lastIndex,t}(e);case"[object Symbol]":return r=e,eu?Object(eu.call(r)):{}}}var nu=Object.create,ru=function(){function e(){}return function(t){if(!De(t))return{};if(nu)return nu(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var ou=wr&&wr.isMap,iu=ou?dr(ou):function(e){return pe(e)&&"[object Map]"==Zr(e)};var au=wr&&wr.isSet,uu=au?dr(au):function(e){return pe(e)&&"[object Set]"==Zr(e)},cu="[object Arguments]",su="[object Function]",lu="[object Object]",fu={};function hu(e,t,n,r,o,i){var a,u=1&t,c=2&t,s=4&t;if(n&&(a=o?n(e,r,o,i):n(e)),void 0!==a)return a;if(!De(e))return e;var l=ye(e);if(l){if(a=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Xa.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!u)return $a(e,a)}else{var f=Zr(e),h=f==su||"[object GeneratorFunction]"==f;if(hr(e))return function(e,t){if(t)return e.slice();var n=e.length,r=Ya?Ya(n):new e.constructor(n);return e.copy(r),r}(e,u);if(f==lu||f==cu||h&&!o){if(a=c||h?{}:function(e){return"function"!=typeof e.constructor||kr(e)?{}:ru(yt(e))}(e),!u)return c?function(e,t){return Wa(e,co(e),t)}(e,function(e,t){return e&&Wa(t,fo(t),e)}(a,e)):function(e,t){return Wa(e,cr(e),t)}(e,function(e,t){return e&&Wa(t,Sr(t),e)}(a,e))}else{if(!fu[f])return o?e:{};a=tu(e,f,u)}}i||(i=new Kn);var p=i.get(e);if(p)return p;i.set(e,a),uu(e)?e.forEach((function(r){a.add(hu(r,t,n,r,e,i))})):iu(e)&&e.forEach((function(r,o){a.set(o,hu(r,t,n,o,e,i))}));var d=l?void 0:(s?c?ho:_r:c?fo:Sr)(e);return function(e,t){for(var n=-1,r=null==e?0:e.length;
1++n<r&&!1!==t(e[n],n,e););}(d||e,(function(r,o){d&&(r=e[o=r]),Yt(a,o,hu(r,t,n,o,e,i))})),a}function pu(e,t){return null==(e=function(e,t){return t.length<2?e:Zt(e,mo(t,0,-1))}(e,t=Vt(t,e)))||delete e[Wt(function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(t))]}function du(e){return Ft(e)?void 0:e}fu[cu]=fu["[object Array]"]=fu["[object ArrayBuffer]"]=fu["[object DataView]"]=fu["[object Boolean]"]=fu["[object Date]"]=fu["[object Float32Array]"]=fu["[object Float64Array]"]=fu["[object Int8Array]"]=fu["[object Int16Array]"]=fu["[object Int32Array]"]=fu["[object Map]"]=fu["[object Number]"]=fu[lu]=fu["[object RegExp]"]=fu["[object Set]"]=fu["[object String]"]=fu["[object Symbol]"]=fu["[object Uint8Array]"]=fu["[object Uint8ClampedArray]"]=fu["[object Uint16Array]"]=fu["[object Uint32Array]"]=!0,fu["[object Error]"]=fu[su]=fu["[object WeakMap]"]=!1;var vu,gu,mu,wu,yu,bu,Cu,Eu,xu,ku,Fu,Au=nn((function(e,t){var n={};if(null==e)return n;var r=!1;t=qt(t,(function(t){return t=Vt(t,e),r||(r=t.length>1),t})),Wa(e,ho(e),n),r&&(n=hu(n,7,du));for(var o=t.length;o--;)pu(n,t[o]);return n})),Du=["options","placeholder"],Su=["options","onChange","value","inputId"],_u=(0,l.F4)(vu||(vu=G(["\n 0% { opacity: 0; }\n 100% { opacity: 1; }\n"]))),Pu=Fn(l.ZP.div(gu||(gu=G(["\n padding-top: 3px;\n animation: "," 0.3s both;\n color: ",";\n"])),_u,(function(e){return e.theme.get("dangerColor")}))),ju=Fn(l.ZP.label(mu||(mu=G(["\n color: ",";\n margin-bottom: ","px;\n display: ",";\n"])),(function(e){return e.theme.get("textColor")}),(function(e){return e.theme.get("spacing")/2}),(function(e){return e.visible?"inline-block":"none"}))),Tu=Fn(l.ZP.div(wu||(wu=G(["\n margin-bottom: ","px;\n"])),(function(e){return e.theme.get("spacing")}))),Lu=function(e){var t=e.inputId,n=e.labelText,r=e.showLabel,o=e.error,a=e.children;return i.createElement(Tu,null,i.createElement(ju,{visible:r,htmlFor:t},n),a,o&&i.createElement(Pu,null,o))},Ou=(0,l.iv)(yu||(yu=G(["\n display: block;\n width: 100%;\n box-sizing: border-box;\n font-size: ","px;\n line-height: ",";\n color: ",";\n border-radius: ","px;\n border-width: ","px;\n border-style: solid;\n border-color: ",";\n background-color: ",";\n background-image: none;\n padding: ","px ","px;\n transition:\n border-color ease-in-out .15s,\n box-shadow ease-in-out .15s;\n box-shadow: ",";\n -webkit-appearance: none;\n\n &:focus {\n border-color: ",";\n box-shadow: ",";\n outline: 0;\n }\n\n &:disabled, &[readonly] {\n background-color: ",";\n }\n\n &::placeholder {\n color: ",";\n }\n"])),(function(e){return e.theme.get("input.fontSize")}),(function(e){return e.theme.get("input.lineHeight")}),(function(e){return e.hasError?e.theme.get("dangerColor"):e.theme.get("input.color")}),(function(e){return e.theme.get("input.borderRadius")}),(function(e){return e.theme.get("input.borderWidth")}),(function(e){return e.hasError?e.theme.get("dangerColor"):e.theme.get("input.borderColor")}),(function(e){return e.theme.get("input.background")}),(function(e){return e.theme.get("input.paddingY")}),(function(e){return e.theme.get("input.paddingX")}),(function(e){return e.theme.get("input.boxShadow")}),(function(e){return e.hasError?e.theme.get("dangerColor"):e.theme.get("input.focusBorderColor")}),(function(e){return e.theme.get("input.focusBoxShadow")(e.hasError?e.theme.get("dangerColor"):e.theme.get("input.focusBorderColor"))}),(function(e){return e.theme.get("input.disabledBackground")}),(function(e){return e.theme.get("input.placeholderColor")})),Bu=Fn(l.ZP.input(bu||(bu=G(["",""])),Ou)),Iu=Fn((0,l.ZP)((function(e){var t=e.options,n=e.placeholder,r=void 0===n?"":n,o=V(e,Du);return i.createElement("select",Au(o,["hasError"]),i.createElement("option",{value:"",disabled:!0},r),t.map((function(e){var t=e.label,n=e.value;return i.createElement("option",{value:n,key:n},t)})))}))(Cu||(Cu=G(["\n ","\n appearance: none;\n background-image:\n linear-gradient(45deg, transparent 50%, gray 50%),\n linear-gradient(135deg, gray 50%, transparent 50%);\n background-position:\n calc(100% - 17px) ","px,\n calc(100% - 12px) ","px;\n background-size:\n 5px 5px,\n 5px 5px;\n background-repeat: no-repeat;\n text-transform: none;\n &:required:invalid {\n color: ",";\n }\n"])),Ou,(function(e){return e.theme.get("input.height")/2-3}),(function(e){return e.theme.get("input.height")/2-3}),(function(e){return e.theme.get("mutedTextColor")}))),Mu=Fn((0,l.ZP)((function(e){var t=e.checked,n=e.onSelect,r=e.label,o=e.radio,a=e.name,u=e.className,c=e.required,s=e.value;return i.createElement("label",{className:u},i.createElement("input",{type:o?"radio":"checkbox",checked:t,name:a,onChange:n,required:c,value:s}),r)}))(Eu||(Eu=G(["\n padding-left: ","px;\n margin-bottom: 0;\n cursor: pointer;\n font-weight: normal;\n\n ","\n\n & > input {\n position: absolute;\n margin-left: -","px;\n margin-top: 2px;\n line-height: normal;\n }\n"])),20,(function(e){return e.inline&&"\n position: relative;\n vertical-align: middle;\n display: inline-block;\n\n & + & {\n margin-left: ".concat(e.theme.get("spacing"),"px;\n }\n ")}),20)),qu=Fn((0,l.ZP)((function(e){var t=e.value,n=e.onToggle,r=e.label,o=e.name,a=e.className,u=e.error,c=e.required;return i.createElement("div",{className:a},i.createElement(Mu,{checked:t,onSelect:n,label:r,name:o,required:c}),u&&i.createElement(Pu,null,u))}))(xu||(xu=G(["\n margin-bottom: ","px;\n"])),(function(e){return e.theme.get("spacing")}
1))),zu=function(e){var t=e.options,n=e.onChange,r=e.value,o=e.inputId,a=V(e,Su),u=function(e){n({value:e.target.value})};return i.createElement(Lu,I({inputId:o},a),t.map((function(e){var t=e.label,n=e.value,o=e.key;return i.createElement(Mu,{key:o,checked:r===n,onSelect:u,label:t,name:o,inline:!0,value:n,radio:!0})})))},Uu=Fn(l.ZP.div(ku||(ku=G(["\n font-size: ","px;\n color: ",";\n text-align: center;\n margin-bottom: ","px;\n\n p {\n margin: 0;\n }\n\n a {\n color: ",";\n text-decoration: underline;\n }\n\n a:hover {\n color: ",";\n }\n"])),(function(e){return.8*e.theme.get("fontSize")}),(function(e){return e.theme.get("mutedTextColor")}),(function(e){return e.theme.get("spacing")}),(function(e){return e.theme.get("mutedTextColor")}),(function(e){return e.theme.get("mutedTextColor")})));function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ru.apply(this,arguments)}var Nu;function Vu(){return Vu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vu.apply(this,arguments)}var Wu,Zu,Hu=["placeholder","autoComplete","canShowPassword"],Gu="\n position: absolute;\n top: 13px;\n right: 10px;\n cursor: pointer;\n opacity: 0.6;\n fill: #495057;\n width: 14px;\n height: 14px;\n",Yu=(0,l.ZP)((function(e){return(0,i.createElement)("svg",Ru({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",role:"img"},e),Fu||(Fu=(0,i.createElement)("path",{d:"M569.354 231.631C512.97 135.949 407.81 72 288 72 168.14 72 63.004 135.994 6.646 231.631a47.999 47.999 0 0 0 0 48.739C63.031 376.051 168.19 440 288 440c119.86 0 224.996-63.994 281.354-159.631a47.997 47.997 0 0 0 0-48.738zM288 392c-102.556 0-192.091-54.701-240-136 44.157-74.933 123.677-127.27 216.162-135.007C273.958 131.078 280 144.83 280 160c0 30.928-25.072 56-56 56s-56-25.072-56-56l.001-.042C157.794 179.043 152 200.844 152 224c0 75.111 60.889 136 136 136s136-60.889 136-136c0-31.031-10.4-59.629-27.895-82.515C451.704 164.638 498.009 205.106 528 256c-47.908 81.299-137.444 136-240 136z"})))}))(Wu||(Wu=G(["",""])),Gu),$u=(0,l.ZP)((function(e){return(0,i.createElement)("svg",Vu({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512",role:"img"},e),Nu||(Nu=(0,i.createElement)("path",{d:"M272.702 359.139c-80.483-9.011-136.212-86.886-116.93-167.042l116.93 167.042zM288 392c-102.556 0-192.092-54.701-240-136 21.755-36.917 52.1-68.342 88.344-91.658l-27.541-39.343C67.001 152.234 31.921 188.741 6.646 231.631a47.999 47.999 0 0 0 0 48.739C63.004 376.006 168.14 440 288 440a332.89 332.89 0 0 0 39.648-2.367l-32.021-45.744A284.16 284.16 0 0 1 288 392zm281.354-111.631c-33.232 56.394-83.421 101.742-143.554 129.492l48.116 68.74c3.801 5.429 2.48 12.912-2.949 16.712L450.23 509.83c-5.429 3.801-12.912 2.48-16.712-2.949L102.084 33.399c-3.801-5.429-2.48-12.912 2.949-16.712L125.77 2.17c5.429-3.801 12.912-2.48 16.712 2.949l55.526 79.325C226.612 76.343 256.808 72 288 72c119.86 0 224.996 63.994 281.354 159.631a48.002 48.002 0 0 1 0 48.738zM528 256c-44.157-74.933-123.677-127.27-216.162-135.007C302.042 131.078 296 144.83 296 160c0 30.928 25.072 56 56 56s56-25.072 56-56l-.001-.042c30.632 57.277 16.739 130.26-36.928 171.719l26.695 38.135C452.626 346.551 498.308 306.386 528 256z"})))}))(Zu||(Zu=G(["",""])),Gu),Xu=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"state",{showPassword:!1}),B(W(e),"toggleShowPassword",(function(){var t=!e.state.showPassword;e.setState(D(D({},e.state),{},{showPassword:t}))})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.path,n=e.validation,r=void 0===n?{}:n,o=e.onChange,a=e.inputId,u=e.label,c=this.state.showPassword;return i.createElement(Lu,I({inputId:a,labelText:u},rn(r,"error"),{showLabel:this.props.showLabel}),i.createElement("div",{style:{position:"relative"}}
1,i.createElement(Bu,{id:a,name:t,type:c?"text":"password",value:this.props.value||"",placeholder:this.props.placeholder||u,autoComplete:this.props.autoComplete,title:u,required:this.props.required,hasError:Boolean(r.error),onChange:function(e){return o({value:e.target.value})},onBlur:function(){return o({isDirty:!0})},"data-testid":t}),this.props.canShowPassword&&(c?i.createElement($u,{onClick:this.toggleShowPassword}):i.createElement(Yu,{onClick:this.toggleShowPassword}))))}}]),n}(i.Component),Ku=function(e){var t=e.placeholder,n=e.autoComplete,r=e.canShowPassword,o=void 0!==r&&r,i=V(e,Hu);return Va(D(D({},i),{},{component:Xu,extendedParams:{placeholder:t,autoComplete:n,canShowPassword:o}}))},Qu=function(e){var t=e.value,n=e.onChange,r=e.label,o=e.path,a=e.required,u=e.validation,c=void 0===u?{}:u,s=function(e){return{value:!e.value,isDirty:!0}};return i.createElement(qu,I({value:t,onToggle:function(){return n(s)},name:o,label:r},rn(c,"error"),{required:a,"data-testid":o}))};function Ju(e){return Va(D(D({},e),{},{format:{bind:function(e){return!!e},unbind:function(e){return e}},component:Qu}))}function ec(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){};return e&&/^\+?[0-9]+$/.test(t)?D(D({raw:t},n(t)),{},{type:"tel"}):/@/.test(t)?D(D({raw:t},r(t)),{},{type:"email"}):D(D({raw:t},o(t)),{},{type:"text"})}function tc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(e){return e},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e};return"tel"===e.type?t(e):"email"===e.type?n(e):r(e)}var nc=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"asYouType",(function(t){var n=e.props.value.country,r=new w.R(n).input(t),o=(0,y.W)(r,n,"International"),i=(0,m.q)(r,n);return{country:n,formatted:o,isValid:i,raw:i?r:t}})),e}return O(n,[{key:"componentDidMount",value:function(){var e=this.props.value,t=e.userInput,n=e.country;if(t)try{var r=(0,b.Q)(t,n),o=n===r.country?(0,y.W)(r,"National"):t;this.asYouType(o)}catch(i){console.error(i)}}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=this,t=this.props,n=t.path,r=t.value,o=t.validation,a=void 0===o?{}:o,u=t.inputId,c=t.required,s=void 0===c||c,l=t.label,f=t.placeholder,h=void 0===f?l:f,p=t.readOnly,d=t.withPhoneNumber;return i.createElement(Lu,I({inputId:u,labelText:l},rn(a,"error"),{showLabel:this.props.showLabel}),i.createElement(Bu,{id:u,name:n,type:"text",value:r.raw||"",placeholder:h,title:l,required:s,readOnly:p,hasError:!!a.error,onChange:function(t){return e.props.onChange({value:D(D({},e.props.value),ec(d,t.target.value,e.asYouType))})},onBlur:function(){return e.props.onChange({isDirty:!0})},"data-testid":n}))}}]),n}(i.Component);function rc(e,t){return Va(D(D({},e),{},{key:"identifier",label:"identifier",format:{bind:function(n){return ec(e.withPhoneNumber,n,(function(){return{country:t.countryCode,isValid:!0}}),(function(){return{country:t.countryCode,isValid:!0}}),(function(){return{country:t.countryCode,isValid:!0}}))},unbind:function(e){return tc(e,(function(e){return e.formatted||e.raw}),(function(e){return e.raw}),(function(e){return e.raw}))}},validator:new _a({rule:function(t){return tc(t,(function(t){return t.isValid||!e.withPhoneNumber}),(function(e){return La.rule(e.raw)}),(function(e){return e.isValid}))},hint:function(e){return tc(e,(function(){return"phone"}),(function(){return"email"}),(function(){return"identifier"}))}}),component:nc,extendedParams:{withPhoneNumber:e.withPhoneNumber}}))}var oc=O((function e(){T(this,e)}));function ic(e){var t=document.createElement("script");t.src="https://www.google.com/recaptcha/api.js?render="+e,document.body.appendChild(t)}function ac(e){var t=e.captchaToken;return delete e.captchaToken,t}B(oc,"getRecaptchaToken",function(){var e=j(S().mark((function e(t,n){return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.grecaptcha.execute(t,{action:n});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),B(oc,"handle",function(){var e=j(S().mark((function e(t,n,r,o){var i;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.recaptcha_enabled){e.next=13;break}return e.prev=1,e.next=4,oc.getRecaptchaToken(n.recaptcha_site_key,o);case 4:return i=e.sent,e.abrupt("return",r(D(D({},t),{},{captchaToken:i})));case 8:return e.prev=8,e.t0=e.catch(1),e.abrupt("return",Promise.reject({errorUserMsg:"Error recaptcha",errorMessageKey:"recaptcha.error"}));case 11:e.next=14;break;case 13:return e.abrupt("return",r(t));case 14:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n,r,o){return e.apply(this,arguments)}}());var uc,cc,sc,lc=["type","placeholder","autoComplete"],fc=function(e){var t=e.path,n=e.value,r=e.validation,o=void 0===r?{}:r,a=e.onChange,u=e.showLabel,c=e.inputId,s=e.label,l=e.placeholder,f=void 0===l?s:l;return i.createElement(Lu,I({inputId:c,labelText:s},rn(o,"error"),{showLabel:u}),i.createElement(Bu,{id:c,name:t,type:e.type,value:n||"",placeholder:f,autoComplete:e.autoComplete,title:s,required:e.required,readOnly:e.readOnly,hasError:!!o.error,onChange:function(e){return a({value:e.target.value})},onBlur:function(){return a({isDirty:!0})},"data-testid":t}))},hc=function(e){var t=e.type,n=e.placeholder,r=e.autoComplete,o=V(e,l
1c);return Va(D(D({},o),{},{component:fc,extendedParams:{type:t,placeholder:n,autoComplete:r}}))},pc=Fn(l.ZP.div(uc||(uc=G(["\n margin-bottom: ","px;\n text-align: right;\n ",";\n"])),(function(e){return e.theme.get("spacing")}),(function(e){return e.floating&&"\n position: absolute;\n right: 0;\n "}))),dc=Ea({prefix:"r5-login-",fields:function(e){var t=e.showIdentifier,n=void 0===t||t,r=e.showRememberMe,o=e.canShowPassword,a=e.showForgotPassword,u=e.defaultIdentifier,c=e.i18n,s=e.config,l=e.allowCustomIdentifier;return[n&&s.sms?rc({defaultValue:u,withPhoneNumber:!0,required:!l},s):rc({defaultValue:u,withPhoneNumber:!1,required:!l},s),l&&{staticContent:i.createElement(In,{text:c("or")})},l&&hc({key:"customIdentifier",type:"text",placeholder:c("customIdentifier"),required:!1}),Ku({key:"password",label:"password",autoComplete:"current-password",canShowPassword:o}),a&&{staticContent:i.createElement(pc,{key:"forgot-password",floating:r},i.createElement(qn,{target:"forgot-password"},c("login.forgotPasswordLink")))},r&&Ju({key:"auth.persistent",label:"rememberMe",defaultValue:!1})]},submitLabel:"login.submitLabel"}),vc=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"callback",(function(t){var n=Da(t);return e.props.apiClient.loginWithPassword(D(D({},n),{},{captchaToken:t.captchaToken,auth:D(D({},n.auth),e.props.auth)})).then((function(t){return null!==t&&void 0!==t&&t.stepUpToken?e.props.goTo("fa-selection",{token:t.stepUpToken,amr:t.amr}):t}))})),e}return O(n,[{key:"componentDidMount",value:function(){ic(this.props.recaptcha_site_key)}},{key:"render",value:function(){var e=this,t=this.props,n=t.socialProviders,r=t.session,o=void 0===r?{}:r,a=t.i18n,u=t.allowCustomIdentifier,c="password"===o.lastLoginType?o.email:null;return i.createElement("div",null,i.createElement(Pn,null,a("login.title")),n&&n.length>0&&i.createElement(na,{providers:n,auth:this.props.auth,acceptTos:this.props.acceptTos}),n&&n.length>0&&i.createElement(In,{text:a("or")}),i.createElement(dc,{showLabels:this.props.showLabels,showRememberMe:this.props.showRememberMe,showForgotPassword:this.props.allowForgotPassword,canShowPassword:this.props.canShowPassword,defaultIdentifier:c,allowCustomIdentifier:u,handler:function(t){return oc.handle(t,e.props,e.callback,"login")},config:this.props.config}),this.props.allowSignup&&i.createElement(Mn,null,i.createElement("span",null,a("login.signupLinkPrefix")),"\xa0",i.createElement(qn,{target:"signup"},a("login.signupLink"))))}}]),n}(i.Component);function gc(){return gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gc.apply(this,arguments)}var mc,wc;function yc(){return yc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yc.apply(this,arguments)}var bc,Cc,Ec,xc,kc,Fc,Ac,Dc="\n width: 40px;\n height: 40px;\n",Sc=(0,l.ZP)((function(e){return(0,i.createElement)("svg",gc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",role:"img"},e),cc||(cc=(0,i.createElement)("path",{d:"M0 0h24v24H0z",fill:"none"})),sc||(sc=(0,i.createElement)("path",{d:"M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2a.506.506 0 0 1 .2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67a.49.49 0 0 1-.44.28zM3.5 9.72a.499.499 0 0 1-.41-.79c.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25a.5.5 0 0 1-.12.7c-.23.16-.54.11-.7-.12a9.388 9.388 0 0 0-3.39-2.94c-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21zm6.25 12.07a.47.47 0 0 1-.35-.15c-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39-2.57 0-4.66 1.97-4.66 4.39 0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15zm7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12zM14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1a7.297 7.297 0 0 1-2.17-5.22c0-1.62 1.38-2.94 3.08-2.94 1.7 0 3.08 1.32 3.08 2.94 0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-
15.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29a11.14 11.14 0 0 1-.73-3.96c0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38z"})))}))(bc||(bc=G(["",""])),Dc),_c=(0,l.ZP)((function(e){return(0,i.createElement)("svg",yc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",role:"img"},e),mc||(mc=(0,i.createElement)("path",{d:"M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"})),wc||(wc=(0,i.createElement)("path",{d:"M0 0h24v24H0zm0 0h24v24H0z",fill:"none"})))}))(Cc||(Cc=G(["",""])),Dc),Pc=(0,l.ZP)(Fn((function(e){var t=e.type,n=void 0===t?"submit":t,r=e.dataTestId,o=e.onClick,a=e.disabled,u=void 0!==a&&a,c=e.title,s=e.text,l=e.children,f=e.theme,h=e.className;return i.createElement(Hi,{type:n,dataTestId:r,title:c,className:p()(["r5-button-with-icon"],h),onClick:o,disabled:u,background:f.get("backgroundColor"),border:f.get("backgroundColor"),color:f.get("primaryColor"),theme:f},l,s&&i.createElement("span",{className:"r5-button-text"},s))})))(Ec||(Ec=G(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n .r5-button-text {\n margin-left: 10px;\n text-transform: uppercase;\n }\n"]))),jc=Fn(l.ZP.div(xc||(xc=G(["\n text-align: center;\n color: ","\n"])),(function(e){return e.theme.get("mutedTextColor")}))),Tc=(0,l.ZP)((function(e){var t=e.disabled,n=e.onPasswordClick,r=e.i18n,o=e.className;return i.createElement("div",{className:p()(["r5-webauthn-login-buttons"],o)},i.createElement(Pc,{type:"submit",dataTestId:"webauthn-button",title:r("login.withBiometrics"),disabled:t},i.createElement(Sc,null)),i.createElement(jc,null,r("or")),i.createElement(Pc,{dataTestId:"password-button",title:r("login.withPassword"),disabled:t,onClick:n},i.createElement(_c,null)))}))(kc||(kc=G(["\n display: flex;\n align-items: center;\n\n & > :not(:last-child) {\n margin-right: 20px;\n }\n"]))),Lc=(0,l.ZP)((function(e){var t=e.onBiometricClick,n=e.onPasswordClick,r=e.i18n,o=e.className;return i.createElement("div",{className:p()(["r5-webauthn-signup-buttons"],o)},i.createElement(Pc,{dataTestId:"webauthn-button",onClick:t,title:r("signup.withBiometrics"),text:r("biometrics")},i.createElement(Sc,null)),i.createElement(In,{text:r("or")}),i.createElement(Pc,{dataTestId:"password-button",onClick:n,title:r("signup.withPassword"),text:r("password")},i.createElement(_c,null)))}))(Fc||(Fc=G([""]))),Oc=Ea({prefix:"r5-login-",fields:function(e){var t=e.showIdentifier,n=void 0===t||t,r=e.defaultIdentifier,o=e.config;return[n&&o.sms?rc({defaultValue:r},o):hc({key:"email",label:"email",type:"email",autoComplete:"email",defaultValue:r,validator:La})]},allowWebAuthnLogin:!0}),Bc=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleWebAuthnLogin",(function(t){var n=Da(t);return e.props.apiClient.loginWithWebAuthn(D(D({},n),{},{auth:D(D({},n.auth),e.props.auth)}))})),B(W(e),"redirectToPasswordLoginView",(function(t){var n=t.identifier||t.email;e.props.goTo("login-with-password",{username:n})})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.socialProviders,n=e.session,r=void 0===n?{}:n,o=e.i18n,a="password"===r.lastLoginType?r.email:null;return i.createElement("div",null,i.createElement(Pn,null,o("login.title")),t&&t.length>0&&i.createElement(na,{providers:t,auth:this.props.auth,acceptTos:this.props.acceptTos}),t&&t.length>0&&i.createElement(In,{text:o("or")}),i.createElement(Oc,{showLabels:this.props.showLabels,defaultIdentifier:a,handler:this.handleWebAuthnLogin,redirect:this.redirectToPasswordLoginView,webAuthnButtons:function(e,t){return i.createElement(Tc,{disabled:e,i18n:o,onPasswordCl
1ick:t})},config:this.props.config}),this.props.allowSignup&&i.createElement(Mn,null,i.createElement("span",null,o("login.signupLinkPrefix")),"\xa0",i.createElement(qn,{target:"signup"},o("login.signupLink"))))}}]),n}(i.Component),Ic=Fn(l.ZP.div(Ac||(Ac=G(["\n margin-bottom: ","px;\n text-align: right;\n ",";\n"])),(function(e){return e.theme.get("spacing")}),(function(e){return e.floating&&"\n position: absolute;\n right: 0;\n "}))),Mc=Ea({prefix:"r5-login-",fields:function(e){var t=e.username,n=e.showRememberMe,r=e.canShowPassword,o=e.showForgotPassword,a=e.i18n,u=e.config;return[u.sms?rc({key:"identifier",defaultValue:t,withPhoneNumber:!0,readOnly:!0},u):rc({key:"identifier",defaultValue:t,withPhoneNumber:!1,readOnly:!0},u),Ku({key:"password",label:"password",autoComplete:"current-password",canShowPassword:r}),o&&{staticContent:i.createElement(Ic,{key:"forgot-password",floating:n},i.createElement(qn,{target:"forgot-password"},a("login.forgotPasswordLink")))},n&&Ju({key:"auth.persistent",label:"rememberMe",defaultValue:!1})]},submitLabel:"login.submitLabel"}),qc=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"callback",(function(t){var n=Da(t);return e.props.apiClient.loginWithPassword(D(D({},n),{},{captchaToken:t.captchaToken,auth:D(D({},n.auth),e.props.auth)})).then((function(t){return null!==t&&void 0!==t&&t.stepUpToken?e.props.goTo("fa-selection",{token:t.stepUpToken,amr:t.amr}):t}))})),e}return O(n,[{key:"componentDidMount",value:function(){ic(this.props.recaptcha_site_key)}},{key:"render",value:function(){var e=this,t=this.props.i18n;return i.createElement("div",null,i.createElement(Pn,null,t("login.title")),i.createElement(Mc,{username:this.props.username,showLabels:this.props.showLabels,showRememberMe:this.props.showRememberMe,showForgotPassword:this.props.allowForgotPassword,canShowPassword:this.props.canShowPassword,handler:function(t){return oc.handle(t,e.props,e.callback,"login")},config:this.props.config}),i.createElement(Mn,null,i.createElement(qn,{target:"login-with-web-authn"},t("login.password.userAnotherIdentifier"))))}}]),n}(i.Component);function zc(e){return e&&e.length?pt(e):[]}function Uc(e){return"string"==typeof e||!ye(e)&&pe(e)&&"[object String]"==he(e)}var Rc=Math.max;var Nc,Vc=(Nc=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:function(e){var t=za(e),n=t%1;return t===t?n?t-n:t:0}(n);return o<0&&(o=Rc(r+o,0)),ot(e,no(t),o)},function(e,t,n){var r=Object(e);if(!vt(e)){var o=no(t);e=Sr(e),t=function(e){return o(r[e],e,r)}}var i=Nc(e,t,n);return i>-1?r[o?e[i]:i]:void 0}),Wc=["values"],Zc=function(e){var t=e.value,n=void 0===t?"":t,r=e.validation,o=void 0===r?{}:r,a=e.onChange,u=e.inputId,c=e.label,s=e.placeholder,l=void 0===s?c:s;return i.createElement(Lu,I({inputId:u,labelText:c},rn(o,"error"),{showLabel:e.showLabel}),i.createElement(Iu,{id:u,name:e.path,required:e.required,value:n,hasError:!!o.error,onChange:function(e){return a({value:e.target.value})},onBlur:function(){return a({isDirty:!0})},placeholder:l,options:e.values,"data-testid":e.path}))};function Hc(e){var t=e.values,n=V(e,Wc);return Va(D(D({},n),{},{component:Zc,extendedParams:function(e){return{values:t.map((function(t){var n=t.label,r=t.value;return{value:r,label:e(n||r)}}))}}}))}var Gc,Yc,$c=l.ZP.div(Gc||(Gc=G(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: ","px;\n"])),10),Xc=l.ZP.div(Yc||(Yc=G(["\n flex-basis: ","%;\n"])),(function(e){return e.width})),Kc=function(e){var t=e.i18n,n=e.inputId,r=e.label,o=e.locale,a=e.onChange,u=e.path,c=e.required,s=e.showLabel,l=e.validation,f=e.value,h=Y((0,i.useState)(Aa(f)?f.raw.day:void 0),2),p=h[0],d=h[1],v=Y((0,i.useState)(Aa(f)?f.raw.month:void 0),2),g=v[0],m=v[1],w=Y((0,i.useState)(Aa(f)?f.raw.year:void 0),2),y=w[0],b=w[1],C=function(e,t){var n=Y((0,i.useState)(e),2),r=n[0],o=n[1];return(0,i.useEffect)((function(){var n=setTimeout((function(){o(e)}),t);return function(){clearTimeout(n)}}),[e,t]),r}(y,1e3),x=function(e,t){Number.isNaN(Number(t))||e(Number(t))};(0,i.useEffect)((function(){p&&g&&C&&a((function(){return{value:{raw:E.ou.fromObject({year:C,month:g,day:p})},isDirty:!0}}))}),[C,g,p]);var k=(0,i.useMemo)((function(){return E.kI.months("long",{locale:o})}),[o]),F=(0,i.useMemo)((function(){return Array.from({length:E.ou.fromObject({year:C,month:g}).daysInMonth},(function(e,t){return t+1}))}),[C,g]);p&&!F.includes(p)&&d(void 0);var A=(0,i.useMemo)((function(){return E.ou.now().setLocale(o).toLocaleParts().map((function(e){return e.type})).filter((function(e){return"literal"!==e}))}),[o]),D="object"===_(l)&&"error"in l?l.error:null,S={day:i.createElement(Xc,{key:"day",width:20},i.createElement(Iu,{name:"".concat(u,".day"),value:p||"",hasError:D,required:c,onChange:function(e){return x(d,e.target.value)},placeholder:t("day"),options:F.map((function(e){return{value:e,label:e}})),"data-testid":"".concat(u,".day"),"aria-label":t("day")})),month:i.createElement(Xc,{key:"month",width:50},i.createElement(Iu,{name:"".concat(u,".month"),value:g||"",hasError:D,required:c,onChange:function(e){return x(m,e.target.value)},placeholder:t("month"),options:k.map((function(e,t){return{value:t+1,label:e}})),"data-testid":"".concat(u,".month"),"aria-label":t("month")})),year:i.createElement(Xc,{key:"year",width:30},i.createElement(Bu,{type:"number",maxlength:"4",inputmode:"numeric",name:"".concat(u,".year"),value:y||"",hasError:D,required:c,onChange:function(e){return x(b,e.target.value)},placeholder:t("year"),"data-testid":"".concat(u,".year"),"aria-label":t("year")}))};return i.createElement(Lu,{inputId:n,labelText:r,error:D,showLabel:s},i.createElement($c,null,A.map((function(e){return S[e]}))))},Qc=function(e){return E.ou.now().setLocale(e).toLocaleParts().map((function(e){switch(e.type){case"day":return"dd";case"month":return"mm";case"year":return"yyyy";
1case"literal":return e.value}})).join("")},Jc=function(e){return new _a({rule:function(e){return Aa(e)&&e.raw.isValid},hint:"date",parameters:{format:Qc(e)}})};function es(e,t){return Va(D(D({},e),{},{format:{bind:function(e){var t=e?E.ou.fromISO(e):E.ou.invalid("empty value");return t.isValid?{raw:t}:void 0},unbind:function(e){return e.raw.toISODate()}},validator:e.validator?Jc(t.language).and(e.validator):Jc(t.language),component:Kc,extendedParams:{locale:t.language}}))}var ts=["min","max","label"],ns=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:129;return new _a({rule:function(n){var r=E.ou.now().diff(n.raw,"years").years;return e<r&&r<t},hint:"birthdate.yearLimit",parameters:{min:e,max:t}})};var rs=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"asYouType",(function(t){var n=e.props.value.country,r=new w.R(n).input(t),o=(0,y.W)(r,n,"International"),i=(0,m.q)(r,n);e.props.onChange({value:{country:n,raw:r,formatted:o,isValid:i}})})),e}return O(n,[{key:"componentDidMount",value:function(){var e=this.props.value,t=e.raw,n=e.country;try{var r=(0,b.Q)(t,n),o=n===r.country?(0,y.W)(r,"National"):t;this.asYouType(o)}catch(i){console.error(i)}}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=this,t=this.props,n=t.path,r=t.value,o=t.validation,a=void 0===o?{}:o,u=t.inputId,c=t.required,s=void 0===c||c,l=t.label,f=t.placeholder,h=void 0===f?l:f;return i.createElement(Lu,I({inputId:u,labelText:l},rn(a,"error"),{showLabel:this.props.showLabel}),i.createElement(Bu,{id:u,name:n,type:"tel",value:r.raw||"",placeholder:h,title:l,required:s,hasError:!!a.error,onChange:function(t){return e.asYouType(t.target.value)},onBlur:function(){return e.props.onChange({isDirty:!0})},"data-testid":n}))}}]),n}(i.Component);function os(e,t){return Va(D(D({},e),{},{key:"phone_number",label:"phoneNumber",format:{bind:function(e){return{country:t.countryCode,raw:e,isValid:!0}},unbind:function(e){return e.formatted||e.raw}},validator:new _a({rule:function(e){return e.isValid},hint:"phone"}),component:rs}))}var is,as,us,cs,ss,ls,fs,hs=["className"],ps=["className","i18n"],ds=Fn((0,l.ZP)((function(e){var t=e.className,n=V(e,hs);return i.createElement("div",{className:t},i.createElement("input",{type:"checkbox",checked:n.checked,onChange:function(){}}),i.createElement("label",null))}))(is||(is=G(['\n position: relative;\n margin-right: 5px;\n\n > label {\n position: absolute;\n top: 0;\n left: 0;\n height: 15px;\n width: 15px;\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 50%;\n }\n\n > label:after {\n position: absolute;\n top: 4px;\n left: 3px;\n height: 3px;\n width: 7px;\n border: 1px solid #fff;\n border-top: none;\n border-right: none;\n content: "";\n opacity: 0;\n transform: rotate(-45deg);\n }\n\n > input[type="checkbox"] {\n visibility: hidden;\n }\n\n > input[type="checkbox"]:checked + label {\n background-color: ',";\n border-color: ",';\n }\n\n > input[type="checkbox"]:checked + label:after {\n opacity: 1;\n }\n'])),(function(e){return e.theme.get("primaryColor")}),(function(e){return e.theme.get("primaryColor")}))),vs=Fn(l.ZP.div(as||(as=G(["\n display: flex;\n margin-bottom: 2px;\n"])))),gs=An(Fn((0,l.ZP)((function(e){var t=e.i18n,n=e.className;return i.createElement(ju,{className:n,visible:!0},t("validation.password.must.contain"))}))(us||(us=G(["\n margin-bottom: ","px;\n"])),(function(e){return e.theme.get("spacing")})))),ms=An(Fn((0,l.ZP)((function(e){var t=e.className,n=e.i18n,r=V(e,ps);return i.createElement("div",{className:t},0!==r.minStrength&&i.createElement(vs,null,i.createElement(ds,{checked:r.strength>=r.minStrength}),i.createElement(ju,{visible:!0},n("passwordStrength.minimum.required")," ",n("passwordStrength.score".concat(r.minStrength)).toLowerCase(),".")),i.createElement(gs,null),Object.keys(r.rules).map((function(e){var t=r.rules[e];return i.createElement(vs,{key:e},i.createElement(ds,{checked:t.verify(r.value)}),i.createElement(ju,{visible:!0},t.label))})))}))(cs||(cs=G(["\n margin-top: ","px;\n"])),(function(e){return e.theme.get("spacing")})))),ws=["label","canShowPassword"],ys=["state"],bs=Fn(l.ZP.div(ss||(ss=G(["\n position: relative;\n height: 8px;\n border-radius: ","px;\n background-color: ",";\n"])),(function(e){return e.theme.get("borderRadius")}
1),(function(e){return e.theme.get("lightBackgroundColor")}))),Cs=function(e){var t=e.theme,n=e.score;return t.get("passwordStrengthValidator.color"+n)},Es=Fn(l.ZP.div(ls||(ls=G(["\n text-align: right;\n color: ",";\n font-weight: bold;\n"])),Cs)),xs=Fn(l.ZP.div(fs||(fs=G(["\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n background-color: ",";\n width: ","%;\n border-radius: ","px;\n transition: width 300ms ease-out, background-color 300ms linear;\n"])),Cs,(function(e){return 25*e.score}),(function(e){return e.theme.get("borderRadius")}))),ks=An(Fn((function(e){var t=e.score,n=e.theme,r=e.i18n;return i.createElement("div",{style:{marginTop:"".concat(n.get("spacing")/2,"px")}},i.createElement(bs,null,i.createElement(xs,{score:t})),i.createElement(Es,{score:t},r("passwordStrength.score"+t)))}))),Fs=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"state",{showPassword:!1}),B(W(e),"toggleShowPassword",(function(){var t=!e.state.showPassword;e.setState(D(D({},e.state),{},{showPassword:t}))})),e}return O(n,[{key:"componentDidUpdate",value:function(e){if(!(0,C.Z)(e.blacklist,this.props.blacklist)){var t=this.props,n=t.value;(0,t.onChange)({strength:Ds(t.blacklist,n)})}}},{key:"componentDidMount",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.blacklist;this.setState(D({},this.state)),n({strength:Ds(r,t)})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=this.props,t=e.validation,n=void 0===t?{}:t,r=e.onChange,o=e.inputId,a=e.label,u=e.isTouched,c=e.value,s=e.blacklist,l=void 0===s?[]:s,f=e.strength,h=this.state.showPassword;return i.createElement(Tu,null,i.createElement("div",{style:{position:"relative"}},i.createElement(ju,{visible:this.props.showLabel,htmlFor:o},a),i.createElement("div",{style:{position:"relative"}},i.createElement(Bu,{id:o,name:"password",type:h?"text":"password",value:c||"",placeholder:this.props.placeholder||a,autoComplete:this.props.autoComplete,title:a,required:this.props.required,hasError:Boolean(n.error),onChange:function(e){return r({value:e.target.value,strength:Ds(l,e.target.value)})},onFocus:function(){return r({isTouched:!0})},onBlur:function(){return r({isDirty:!0})},"data-testid":"password"}),this.props.canShowPassword&&(h?i.createElement($u,{onClick:this.toggleShowPassword}):i.createElement(Yu,{onClick:this.toggleShowPassword}))),u&&i.createElement(ks,{score:f||0}),n.error&&i.createElement(Pu,null,n.error),u&&i.createElement(ms,{value:c,strength:f,minStrength:this.props.minStrength,rules:this.props.enabledRules})))}}]),n}(i.Component);function As(e,t){if(!t)return{};var n={minLength:{label:e("validation.password.minLength",{min:t.minLength}),verify:function(e){return e.length>=t.minLength}},specialCharacters:{label:e("validation.password.specials.characters"),verify:function(e){return Array.from(e).some((function(e){return" !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~".includes(e)}))}},lowercaseCharacters:{label:e("validation.password.specials.lowercase"),verify:function(e){return Array.from(e).some((function(e){return(0,x.Ex)(e)}))}},uppercaseCharacters:{label:e("validation.password.specials.uppercase"),verify:function(e){return Array.from(e).some((function(e){return(0,x.G0)(e)}))}},digitCharacters:{label:e("validation.password.specials.digit"),verify:function(e){return Array.from(e).some((function(e){return(0,x.X1)(e)}))}}};return Object.keys(n).reduce((function(e,r){return t[r]&&(e[r]=n[r]),e}),{})}function Ds(e,t){var n="".concat(t||"").toLowerCase().trim();return F()(n,e).score}var Ss,_s=function(e,t){var n=e.label,r=void 0===n?"password":n,o=e.canShowPassword,a=void 0!==o&&o,u=V(e,ws),c=t.passwordPolicy;return{path:"password",create:function(e){var t=e.i18n,n=e.showLabel,o=t(r);return{key:"password",render:function(e){var t=e.state,r=V(e,ys);return i.createElement(Fs,I({},t,r,u,{key:"password",showLabel:n,canShowPassword:a,label:o}))},initialize:function(){return{value:"",strength:0,enabledRules:As(t,c),minStrength:c&&c.minStrength,isTouched:!1,isDirty:!1,blackl
1ist:[]}},unbind:function(e,t){var n=t.value;return D(D({},e),{},{password:n})},validate:function(e,n){var r=e.value,o=e.strength;if(!e.isDirty&&!n.isSubmitted)return{};var i=[];return r?(o<c.minStrength&&i.push(t("validation.password.minStrength")),r.length>255&&i.push(t("validation.password.maxLength",{max:255}))):i.push(t("validation.required")),0==i.length?{}:{error:i.join(" ")}}}}}},Ps=Fn(l.ZP.div(Ss||(Ss=G(["\n font-size: ","px;\n color: ",";\n margin: 5px 5px 10px 5px;\n text-align: justify;\n display: block;\n\n & > p {\n margin-top: 1px;\n margin-bottom: 1px;\n }\n"])),(function(e){return e.theme.get("smallTextFontSize")}),(function(e){return e.theme.get("mutedTextColor")}))),js=function(e){var t=e.value,n=e.onChange,r=e.label,o=e.description,a=e.path,u=e.required,c=e.validation,s=e.consentCannotBeGranted,l=function(e){var t=e.value;return{value:!s&&!t,isDirty:!0}};return i.createElement("div",{style:{position:"relative"}},i.createElement(qu,I({value:t,onToggle:function(){return n(l)},name:a,label:r,"data-testid":a,required:u},rn(c,"error"))),i.createElement(Rn,{root:Ps,source:o}))};var Ts=["canShowPassword","errorArchivedConsents"],Ls={customIdentifier:function(e){return hc(D({key:"custom_identifier",label:"customIdentifier"},e))},givenName:function(e){return hc(D({key:"given_name",label:"givenName"},e))},familyName:function(e){return hc(D({key:"family_name",label:"familyName"},e))},email:function(e){return hc(D(D({key:"email",label:"email",type:"email"},e),{},{validator:La}))},phoneNumber:os,password:_s,passwordConfirmation:function(e){return Ku(D(D({key:"password_confirmation",label:"passwordConfirmation"},e),{},{canShowPassword:!1,validator:new _a({rule:function(e,t){return e===t.fields.password.value},hint:"passwordMatch"}),mapping:{bind:function(){},unbind:function(e){return e}}}))},gender:function(e){return Hc(D(D({key:"gender",label:"gender"},e),{},{values:[{value:"male",label:"genders.male"},{value:"female",label:"genders.female"},{value:"other",label:"genders.other"}]}))},birthdate:function(e,t){var n=e.min,r=e.max,o=e.label;return es(D(D({},V(e,ts)),{},{label:o||"birthdate",validator:ns(n,r)}),t)},"address.streetAddress":function(e){return hc(D({key:"address.streetAddress",label:"address.streetAddress"},e))},"address.locality":function(e){return hc(D({key:"address.locality",label:"address.locality"},e))},"address.region":function(e){return hc(D({key:"address.region",label:"address.region"},e))},"address.postalCode":function(e){return hc(D({key:"address.postalCode",label:"address.postalCode"},e))},"address.country":function(e){return hc(D({key:"address.country",label:"address.country"},e))},friendlyName:function(e){return hc(D({key:"friendly_name",label:"webauthn.friendly.name",required:!1},e))}};function Os(e,t,n){if(t.errorArchivedConsents&&"archived"===e.status)throw new _t("The '".concat(e.key,"' consent is archived and cannot be displayed."));var r=parseInt(n||Math.max.apply(Math,$(Object.values(e.versions.map((function(e){return e.versionId})))))),o=e.versions.find((function(e){return e.versionId===r}));if(!o)throw new _t("Unknown version ID n\xb0".concat(r," of consent '").concat(e.key,"'."));var i,a=D(D({},t),{},{label:o.title,extendedParams:{version:{versionId:r,language:o.language},description:o.description,consentCannotBeGranted:!t.errorArchivedConsents&&"archived"===e.status},type:e.consentType,key:"consents.".concat(e.key,".").concat(r),path:"consents.".concat(e.key)});return Va(D(D({},i=a),{},{required:!!i.required,defaultValue:i.defaultValue&&{granted:i.defaultValue},format:{bind:function(e){return!(!e||!e.granted)},unbind:function(e){return{granted:e,consentType:i.type,consentVersion:i.extendedParams.version}}},validator:i.required?Ta:Pa,rawProperty:"granted",component:js}))}var Bs=function(e,t){var n=hi(e.key);if(Ls[n])return Ls[n](e,t);var r=function(e,t){return Vc(e.customFields,(function(e){var n=li(e.path);return t===n||t==="customFields.".concat(n)}))}(t,n);if(r)return function(e,t,n){var r=D(D({label:e.name},t),{},{key:"custom_fields.".concat(e.path)});if("checkbox"===e.dataType)return Ju(t.required?D(D({},r),{},{validator:Ta}):D({},r));if("date"===e.dataType)return es(r,n);if("integer"===e.dataType)return hc(D(D({},r),{},{type:"number",format:{bind:function(e){return"number"===typeof e?e.toString():""},unbind:function(e){return parseInt(e)}},validator:Oa}));if("decimal"===e.dataType)return hc(D(D({},r),{},{type:"number",format:{bind:function(e){return"number"===typeof e?e.toString():""},unbind:function(e){return parseFloat(e)}},validator:Ba}));if("select"===e.dataType)return Hc(D(D({},r),{},{values:e.selectableValues}));if("email"===e.dataType)return hc(D(D({},r),{},{type:"email",validator:La}));if("phone"===e.dataType)return hc(r);if("string"===e.dataType)return hc(r);throw new _t("Custom field '".concat(e.id,"' cannot be displayed. Type '").concat(e.dataType,"' is not supported in forms."))}(r,e,t);var o=n.split(".v"),i=function(e,t){return Vc(e.consentsVersions,(function(e){var n=li(e.ke
1y);return t===n||t==="consents.".concat(n)}))}(t,o[0]);if(i){var a=i.versions[0].versionId;return Os(i,e,o[1]||a)}throw new _t("Unknown field: ".concat(e.key))},Is=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=t.canShowPassword,r=t.errorArchivedConsents,o=V(t,Ts);return aa(e).map((function(e){return Bs(Uc(e)?{key:e,canShowPassword:n,errorArchivedConsents:r}:D(D({},e),{},{canShowPassword:n,errorArchivedConsents:r}),o)}))},Ms=function(e){return e.map((function(e){return e.path})).join(",")},qs=["given_name","family_name","email","password","password_confirmation"],zs=Ea({prefix:"r5-signup-",submitLabel:"signup.submitLabel"}),Us=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"state",{blacklist:[]}),B(W(e),"callback",(function(t){var n=ac(t);return e.props.apiClient.signup({captchaToken:n,data:di(t),auth:e.props.auth,redirectUrl:e.props&&e.props.redirectUrl,returnToAfterEmailConfirmation:e.props&&e.props.returnToAfterEmailConfirmation})})),B(W(e),"refreshBlacklist",(function(t){var n=t.email&&t.email.value||"",r=t.given_name&&t.given_name.value||"",o=t.family_name&&t.family_name.value||"",i=zc([n.split("@"),n,r.split(" "),o.split(" ")].flat(1).map((function(e){return e.trim().toLowerCase()})).filter((function(e){return Aa(e)})));(0,C.Z)(i,e.state.blacklist)||e.setState({blacklist:i})})),e}return O(n,[{key:"componentDidMount",value:function(){ic(this.props.recaptcha_site_key)}},{key:"render",value:function(){var e=this,t=this.props,n=t.beforeSignup,r=void 0===n?function(e){return e}:n,o=t.signupFields,a=void 0===o?qs:o,u=t.userAgreement,c=t.canShowPassword,s=t.config,l=Is(a,D(D({},s),{},{canShowPassword:c,errorArchivedConsents:!0})),f=u?[].concat($(l),[{staticContent:i.createElement(Rn,{key:"user-aggreement",root:Uu,source:u})}]):l,h={blacklist:this.state.blacklist};return i.createElement(zs,{fields:f,showLabels:this.props.showLabels,beforeSubmit:r,onFieldChange:this.refreshBlacklist,sharedProps:h,handler:function(t){return oc.handle(t,e.props,e.callback,"signup")}})}}]),n}(i.Component),Rs=function(e){M(n,e);var t=H(n);function n(){return T(this,n),t.apply(this,arguments)}return O(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.socialProviders,r=t.i18n;return i.createElement("div",null,i.createElement(Pn,null,r("signup.title")),n&&n.length>0&&i.createElement(na,{providers:n,auth:this.props.auth}),n&&n.length>0&&i.createElement(In,{text:r("or")}),this.props.allowWebAuthnSignup?i.createElement(Lc,{i18n:r,onPasswordClick:function(){return e.props.goTo("signup-with-password")},onBiometricClick:function(){return e.props.goTo("signup-with-web-authn")}}):i.createElement(Us,this.props),this.props.allowLogin&&i.createElement(Mn,null,i.createElement("span",null,r("signup.loginLinkPrefix")),"\xa0",i.createElement(qn,{target:this.props.allowWebAuthnLogin?"login-with-web-authn":"login"},r("signup.loginLink"))))}}]),n}(i.Component),Ns=function(e){M(n,e);var t=H(n);function n(){return T(this,n),t.apply(this,arguments)}return O(n,[{key:"render",value:function(){return i.createElement("div",null,i.createElement(Pn,null,this.props.i18n("signup.withPassword")),i.createElement(Us,this.props),i.createElement(Mn,null,i.createElement(qn,{target:"signup"},this.props.i18n("back"))))}}]),n}(i.Component),Vs=["given_name","family_name","email"],Ws=Ea({prefix:"r5-webauthn-signup-",submitLabel:"signup.submitLabel"}),Zs=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSignup",(function(t){return e.props.apiClient.signupWithWebAuthn({profile:di(t),friendlyName:t.friendlyName,redirectUrl:e.props&&e.props.redirectUrl,returnToAfterEmailConfirmation:e.props&&e.props.returnToAfterEmailConfirmation},e.props.auth)})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.beforeSignup,n=void 0===t?function(e){return e}:t,r=e.signupFields,o=void 0===r?Vs:r,a=e.userAgreement,u=o.filter((function(e){return"password"!==e&&"password_confirmation"!==e})).concat("friendly_name"),c=Is(u,this.props.config),s=a?[].concat($(c),[{staticContent:i.createElement(Rn,{key:"user-aggreement",root:Uu,source:a})}]):c;return i.createElement("div",null,i.createElement(Pn,null,this.props.i18n("signup.withBiometrics")),i.createElement(Ws,{fields:s,showLabels:this.props.showLabels,beforeSubmit:n,handler:this.handleSignup}),i.createElement(Mn,null,i.createElement(qn,{target:"signup"},this.props.i18n("back"))))}}]),n}(i.Component),Hs=Ea({prefix:"r5-forgot-password-",fields:[hc({key:"email",label:"email",type:"email",validator:La})],submitLabel:"forgotPassword.submitLabel"}),Gs=function(e){return"resource_not_found"===e.error},Ys=(0,c.CA)({callback:function(e){var t=e.apiClient,n=e.redirectUrl,r=e.returnToAfterPasswordReset,o=e.recaptcha_enabled,i=e.recaptcha_site_key;return function(e){return oc.handle(D(D({},e),{},{redirectUrl:n,returnToAfterPasswordReset:r}),{apiClient:t,redirectUrl:n,returnToAfterPasswordReset:r,recaptcha_enabled:o,recaptcha_site_key:i},t.requestPasswordReset,"forgot_password")}},handleSubmit:function(e){var t=e.apiClient,n=e.redirectUrl,r=e.returnToAfterPasswordReset;return function(e){return t.requestPasswordReset(D(D({},e),{},{redirectUrl:n,returnToAfterPasswordReset:r}))}}})((function(e){var t=e.i18n,n=e.goTo,r=e.allowLogin,o=e.callback,a=e.displaySafeErrorMessage,u=e.showLabels,c=e.allowWebAuthnLogin,s=e.recaptcha_site_key;return i.createElement("div",null,ic(s),i.createElement(Pn,null,t("forgotPassword.title")),i.createElement(On,null,t("forgotPassword.prompt")),i.createElement(Hs,{showLabels:u,handler:o,onSuccess:function(){return n("forgot-password-success")},skipError:a&&Gs}),r&&i.createElement(Mn,null,i.createElement(qn,{target:c?"login-with-web-authn":"login"},t("forgotPassword.backToLoginLink"))))})),$s=function(e){M(n,e);var t=H(n);function n(){return T(this,n),t.apply(this,arguments)}return O(n,[{key:"render",value:function(){var e=this.props,t=e.i18n,n=e.session,r=void 0===n?{}:n,o=e.allowWebAuthnLogin;return i.createElement("div",null,i.createElement(Pn,null,r.name||r.email),i.createElement(On,null,t("lastTimeYouLoggedInWith")),i.createElement(na,{providers:[r.lastLoginType],auth:this.props.auth}),i.createElement(Mn,null,i.createElement(qn,{target:o?"login-with-web-authn":"login"},t("notYourAccount"))))}}]),n}(i.Component),Xs=Math.min;function Ks(e){return gt(e)?e:[]}var Qs=Ze((function(e){var t=qt(e,Ks);return t.length&&t[0]===e[0]?function(e,t,n){for(var r=n?ct:ut,o=e[0].length,i=e.length,a=i,u=Array(i),c=1/0,s=[];a--;){var l=e[a];a&&t&&(l=qt(l,dr(t))),c=Xs(l.length,c),u[a]=!n&&(t||o>=120&&l.length>=120)?new rt(a&&l):void 0}l=e[0];var f=-1,h=u[0];e:for(;++f<o&&s.length<c;){var p=l[f],d=t?t(p):p;
1if(p=n||0!==p?p:0,!(h?st(h,d):r(s,d,n))){for(a=i;--a;){var v=u[a];if(!(v?st(v,d):r(e[a],d,n)))continue e}h&&h.push(d),s.push(p)}}return s}(t):[]})),Js=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handlePasswordLogin",(function(t){var n=t.password;e.props.apiClient.loginWithPassword({email:e.props.session.email,password:n,auth:e.props.auth})})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.socialProviders,n=e.session,r=void 0===n?{}:n,o=e.i18n,a=Qs(t,r.socialProviders);return i.createElement("div",null,i.createElement(Pn,null,r.name),i.createElement(On,null,o("confirmYourIdentity")),a&&a.length>0&&i.createElement(na,{providers:a,auth:this.props.auth}),a&&a.length>0&&r.hasPassword&&i.createElement(In,{text:o("or")}),r.hasPassword&&i.createElement(dc,{showLabels:this.props.showLabels,showRememberMe:!1,showForgotPassword:this.props.allowForgotPassword,showEmail:!1,handler:this.handlePasswordLogin}))}}]),n}(i.Component),el=["options"],tl=function(e){var t=e.options,n=e.onChange,r=e.inputId;return i.createElement(zu,I({options:t,inputId:r,onChange:n},e))};function nl(e){var t=e.options,n=V(e,el);return Va(D(D({},n),{},{defaultValue:1===t.length?t[0].value:void 0,component:tl,extendedParams:function(e){return{options:t.map((function(t){var n=t.label,r=t.value,o=t.key;return{value:r,label:e(n||r),key:o}}))}}}))}var rl=Ea({prefix:"r5-mfa-start-step-up-",submitLabel:"mfa.stepUp.start"}),ol=Ea({prefix:"r5-passwordless-sms-",fields:[hc({key:"verification_code",label:"verificationCode",type:"text"})]}),il=Ea({prefix:"r5-mfa-start-passwordless",fields:function(e){return[nl({key:"authType",options:e.options})]}}),al=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"onGetStepUpToken",(function(){return e.props.apiClient.getMfaStepUpToken({options:e.props.auth,accessToken:e.props.accessToken})})),e}return O(n,[{key:"render",value:function(){var e=this;return i.createElement("div",null,i.createElement(rl,{handler:this.onGetStepUpToken,onSuccess:function(t){return e.props.goTo("fa-selection",D({},t))}}))}}]),n}(i.Component),ul=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"onChooseFa",(function(t){return e.props.apiClient.startPasswordless(D(D({},t),{},{stepUp:e.props.token})).then((function(e){return D(D({},e),t)}))})),e}return O(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.amr,r=t.showIntro,o=t.i18n;return i.createElement("div",null,r&&i.createElement(On,null,o("mfa.select.factor")),i.createElement(il,{options:n.map((function(e){return{key:e,value:e,label:e}})),handler:this.onChooseFa,onSuccess:function(t){return e.props.goTo("verification-code",D(D({},t),{},{amr:n}))}}))}}]),n}(i.Component),cl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){var n=e.props,r=n.apiClient,o=n.auth,i=n.challengeId;return r.verifyMfaPasswordless({challengeId:i,verificationCode:t.verificationCode}).then((function(e){return window.location.replace(o.redirectUri+"?"+mi(e))}))})),e}return O(n,[{key:"render",value:function(){return i.createElement("div",null,"sms"===this.props.authType&&i.createElement(Tn,null,this.props.i18n("passwordless.sms.verification.intro")),"email"===this.props.authType&&i.createElement(Tn,null,this.props.i18n("passwordless.email.verification.intro")),i.createElement(ol,{handler:this.handleSubmit}))}}]),n}(i.Component),sl=$n({initialView:"mfa-step-up",views:{"mfa-step-up":al,"fa-selection":ul,"verification-code":cl},prepare:function(e){return Dt({},e,{showIntro:!0})}}),ll=$n({initialView:function(e){var t=e.initialScreen,n=e.allowLogin,r=e.allowQuickLogin,o=e.allowSignup,i=e.allowWebAuthnLogin,a=e.socialProviders,u=e.session,c=void 0===u?{}:u,s=r&&!c.isAuthenticated&&c.lastLoginType&&a.indexOf(c.lastLoginType)>=0;return t||s&&"quick-login"||c.isAuthenticated&&"reauth"||n&&!i&&"login"||n&&"login-with-web-authn"||o&&"signup"||"forgot-password"},views:{login:vc,"login-with-web-authn":Bc,"login-with-password":qc,signup:Rs,"signup-with-password":Ns,"signup-with-web-authn":Zs,"forgot-password":Ys,"forgot-password-success":function(e){var t=e.i18n,n=e.allowLogin,r=e.allowWebAuthnLogin;return i.createElement("div",null,i.createElement(Pn,null,t("forgotPassword.title")),i.createElement(Tn,null,t("forgotPassword.successMessage")),n&&i.createElement(Mn,null,i.createElement(qn,{target:r?"login-with-web-authn":"login"},t("back"))))},"quick-login":$s,"fa-selection":ul,"verification-code":cl,reauth:Js},prepare:function(e,t){var n=t.config;if(!n.passwordPolicy)throw new _t("This feature is not available on your account.");if(!n.webAuthn&&e.allowWebAuthnLogin)throw new _t("The WebAuthn feature is not available on your account.");return Dt({},e,{showLabels:!1,allowLogin:!0,allowSignup:!0,allowQuickLogin:!0,allowForgotPassword:!0,socialProviders:n.socialProviders,theme:{socialButtons:{}}})}}),fl=Ea({prefix:"r5-email-editor-",supportMultipleSubmits:!0,fields:[hc({key:"email",label:"email",type:"email",validator:La})]}),hl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"callback",(function(t){var n=e.props,r=n.apiClient,o=n.accessToken,i=n.redirectUrl;return r.updateEmail(D(D({},t),{},{accessToken:o,redirectUrl:i}))})),B(W(e),"handleSuccess",(function(){return e.props.goTo("success")})),e}
1return O(n,[{key:"componentDidMount",value:function(){ic(this.props.recaptcha_site_key)}},{key:"render",value:function(){var e=this;return i.createElement("div",null,i.createElement(On,null,this.props.i18n("emailEditor.intro")),i.createElement(fl,{showLabels:this.props.showLabels,handler:function(t){return oc.handle(t,e.props,e.callback,"update_email")},onSuccess:this.handleSuccess}))}}]),n}(i.Component),pl=$n({initialView:"main",views:{main:hl,success:function(e){var t=e.i18n;return i.createElement(Tn,null,t("emailEditor.successMessage"))}}}),dl=J((function(e,t){t.__esModule=!0,t.default=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}),(function(e){return e}))};t.default=n})),vl=Q(dl),gl=vl(An,Dn)(Ea({prefix:"r5-password-editor-",fields:function(e){var t=e.promptOldPassword,n=e.canShowPassword,r=e.config;return aa([t&&Ku({key:"old_password",label:"oldPassword"}),_s({label:"newPassword",autoComplete:"new-password",canShowPassword:n},r),Ku({key:"password_confirmation",label:"passwordConfirmation",autoComplete:"new-password",validator:new _a({rule:function(e,t){return e===t.fields.password.value},hint:"passwordMatch"})})])},resetAfterSuccess:!0,resetAfterError:!0})),ml=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){return e.props.apiClient.updatePassword(D(D({},Au(t,["passwordConfirmation"])),e.props.authentication))})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.promptOldPassword,n=e.showLabels,r=e.onSuccess,o=e.onError,a=e.canShowPassword;return i.createElement(gl,{handler:this.handleSubmit,supportMultipleSubmits:t,promptOldPassword:t,canShowPassword:a,showLabels:n,onSuccess:r,onError:o})}}]),n}(i.Component);B(ml,"defaultProps",{onSuccess:function(){},onError:function(){}});var wl=Yn({component:ml,prepare:function(e){return D(D({promptOldPassword:!1},e),(t=e.accessToken,n=e.userId,t?{authentication:{accessToken:t}}:n?{authentication:{userId:n}}:{}));var t,n}}),yl=Ea({prefix:"r5-phonenumber-editor-",fields:[hc({key:"verification_code",label:"verificationCode",type:"text"})]}),bl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){var n=e.props,r=n.apiClient,o=n.accessToken;return r.updatePhoneNumber(D(D({},t),{},{accessToken:o})).then((function(){return t}))})),B(W(e),"handleSuccess",(function(t){return e.props.goTo("verificationCode",t)})),e}return O(n,[{key:"render",value:function(){var e=Ea({prefix:"r5-phonenumber-editor-",fields:[os({required:!0},this.props.config)]});return i.createElement("div",null,i.createElement(On,null,this.props.i18n("phoneNumberEditor.intro")),i.createElement(e,{showLabels:this.props.showLabels,handler:this.handleSubmit,onSuccess:this.handleSuccess}))}}]),n}(i.Component),Cl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){var n=e.props,r=n.apiClient,o=n.accessToken,i=n.phoneNumber;return r.verifyPhoneNumber(D(D({},t),{},{phoneNumber:i,accessToken:o}))})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.onSuccess,n=e.onError;return i.createElement("div",null,i.createElement(Tn,null,this.props.i18n("phoneNumberEditor.verification.intro")),i.createElement(yl,{handler:this.handleSubmit,onSuccess:t,onError:n}))}}]),n}(i.Component);B(Cl,"defaultProps",{onSuccess:function(){},onError:function(){}});var El=$n({initialView:"main",views:{main:bl,verificationCode:Cl}}),xl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){return e.props.apiClient.updatePassword(D(D({},Au(t,["passwordConfirmation"])),e.props.authentication))})),B(W(e),"onSuccess",(function(){e.props.onSuccess(),e.props.goTo("success")})),e}return O(n,[{key:"render",value:function(){var e=this.props.i18n;return i.createElement("div",null,i.createElement(Pn,null,e("passwordReset.title")),i.createElement(Tn,null,e("passwordReset.intro")),i.createElement(gl,{handler:this.handleSubmit,canShowPassword:this.props.canShowPassword,showLabels:this.props.showLabels,onSuccess:this.onSuccess,onError:this.props.onError}))}}]),n}(i.Component);B(xl,"defaultProps",{onSuccess:function(){},onError:function(){}});var kl=$n({initialView:"main",views:{main:xl,success:function(e){var t=e.i18n,n=e.loginLink;return i.createElement("div",null,i.createElement(Pn,null,t("passwordReset.successTitle")),i.createElement(Tn,null,t("passwordReset.successMessage")),n&&i.createElement(Tn,null,i.createElement(qn,{href:n},t("passwordReset.loginLink"))))}},prepare:function(e){return D(D({},e),function(){var e=window.location.search&&window.location.search.length?window.location.search.substr(1):"";return{authentication:rn(gi(e),["verificationCode","email"])}}())}}),Fl=Ea({prefix:"r5-passwordless-",fields:[hc({key:"email",label:"email",type:"email",validator:La})]}),Al=Ea({prefix:"r5-passwordless-sms-",fields:[hc({key:"verification_code",label:"verificationCode",type:"text"})]}),Dl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"callback",(function(t){return e.props.apiClient.startPasswordless(t,e.props.auth).then((function(){return t}))})),B(W(e),"handleSuccess",(function(t){return t.email?e.props.goTo("emailSent"):e.props.goTo("verificationCode",t)})),e}
1return O(n,[{key:"componentDidMount",value:function(){ic(this.props.recaptcha_site_key)}},{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,r=t.showSocialLogins,o=t.socialProviders,a=t.showIntro,u=t.authType,c="magic_link"===u||""===u||!u,s=Ea({prefix:"r5-passwordless-sms-",fields:[os({required:!0},this.props.config)]});return i.createElement("div",null,r&&o&&o.length>0&&i.createElement(na,{providers:o,auth:this.props.auth}),r&&o&&o.length>0&&i.createElement(In,{text:n("or")}),c&&a&&i.createElement(On,null,n("passwordless.intro")),c&&i.createElement(Fl,{handler:function(t){return oc.handle(t,e.props,e.callback,"passwordless_email")},onSuccess:this.handleSuccess}),!c&&a&&i.createElement(On,null,n("passwordless.sms.intro")),!c&&i.createElement(s,{handler:function(t){return oc.handle(t,e.props,e.callback,"passwordless_phone")},onSuccess:this.handleSuccess}))}}]),n}(i.Component),Sl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){var n=e.props,r=n.apiClient,o=n.auth,i=n.phoneNumber;return r.verifyPasswordless(D({phoneNumber:i},t),o)})),e}return O(n,[{key:"render",value:function(){var e=this;return i.createElement("div",null,i.createElement(Tn,null,this.props.i18n("passwordless.sms.verification.intro")),i.createElement(Al,{handler:function(t){return oc.handle(t,e.props,e.handleSubmit,"verify_passwordless_sms")}}))}}]),n}(i.Component),_l=$n({initialView:"main",views:{main:Dl,emailSent:function(e){var t=e.i18n;return i.createElement(Tn,null,t("passwordless.emailSent"))},verificationCode:Sl},prepare:function(e,t){return D({socialProviders:t.config.socialProviders,auth:{},showSocialLogins:!1,showIntro:!0,authType:"magic_link"},e)}}),Pl=Ea({prefix:"r5-profile-editor-",supportMultipleSubmits:!0,submitLabel:"save"}),jl=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"handleSubmit",(function(t){return e.props.apiClient.updateProfile({data:di(t),accessToken:e.props.accessToken,redirectUrl:e.props&&e.props.redirectUrl})})),e}return O(n,[{key:"render",value:function(){return i.createElement(Pl,{handler:this.handleSubmit,initialModel:this.props.profile,fields:this.props.resolvedFields,showLabels:this.props.showLabels,onSuccess:this.props.onSuccess,onError:this.props.onError})}}]),n}(i.Component);B(jl,"defaultProps",{onSuccess:function(){},onError:function(){}});var Tl=Yn({component:jl,prepare:function(e,t){var n=t.apiClient,r=t.config,o=D({showLabels:!0,fields:[]},e),i=o.accessToken,a=o.fields,u=void 0===a?[]:a;if(u.some((function(e){var t=e.key||e;return"password"===t||"password_confirmation"===t})))throw new _t("These fields are not allowed: password, password_confirmation.");var c=Is(u,D(D({},r),{},{errorArchivedConsents:!1}));return n.getUser({accessToken:i,fields:Ms(c)}).then((function(e){var t=pi(e),n=t&&t.consents,i=n&&Object.keys(n).length&&Ll(u,r.consentsVersions,n),a=D(D({},e),{},{consents:i});return D(D({},o),{},{profile:a,resolvedFields:c.filter((function(e){return("email"!==e.path||!a.email)&&("phone_number"!==e.path||!r.sms||!a.phoneNumber)}))})}))}}),Ll=function(e,t,n){return Object.keys(n).filter((function(r){var o=e.find((function(e){return e.startsWith("consents.".concat(r))})).split(".v"),i=t[r].versions[0].versionId,a=o[1]||i,u=n[r].consentVersion.versionId;return!a||parseInt(a)===u})).reduce((function(e,t){return e[t]=n[t],e}),{})};var Ol,Bl,Il,Ml,ql=Ze((function(e,t){return gt(e)?function(e,t,n,r){var o=-1,i=ut,a=!0,u=e.length,c=[],s=t.length;if(!u)return c;n&&(t=qt(t,dr(n))),r?(i=ct,a=!1):t.length>=200&&(i=st,a=!1,t=new rt(t));e:for(;++o<u;){var l=e[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,a&&f===f){for(var h=s;h--;)if(t[h]===f)continue e;c.push(l)}else i(t,f,r)||c.push(l)}return c}(e,Ee(t,1,gt,!0)):[]})),zl=Fn(l.ZP.span(Ol||(Ol=G(["\n position: absolute;\n right: ","px;\n top: ","px;\n width: ","px;\n height: ","px;\n cursor: pointer;\n box-sizing: border-box;\n overflow: hidden;\n &:hover {\n &::before, &::after {\n background: ",";\n }\n }\n\n &::before, &::after {\n content: '';\n position: absolute;\n height: 3px;\n width: 75%;\n top: 50%;\n left: 0;
1\n margin-top: -1px;\n background: ",";\n background-position: center center;\n }\n &::before {\n transform: rotate(45deg);\n }\n &::after {\n transform: rotate(-45deg);\n }\n"])),(function(e){return e.theme.get("paddingY")}),(function(e){return e.theme.get("paddingY")}),(function(e){return e.theme.get("_absoluteLineHeight")}),(function(e){return e.theme.get("_absoluteLineHeight")}),(function(e){return(0,s._j)(.2,e.theme.get("mutedTextColor"))}),(function(e){return e.theme.get("mutedTextColor")}))),Ul=Fn(l.ZP.div(Bl||(Bl=G(["\n padding: ","px ","px;\n border: ","px solid ",";\n color: ",";\n box-sizing: border-box;\n white-space: nowrap;\n vertical-align: middle;\n position: relative;\n\n &:only-child {\n border-radius: ","px;\n }\n\n &:not(:only-child) {\n &:first-child {\n border-radius: ","px ","px 0 0;\n }\n\n &:last-child {\n border-radius: 0 0 ","px ","px;\n }\n\n &:not(:last-child) {\n border-bottom-width: 0;\n }\n\n }\n"])),(function(e){return e.theme.get("paddingY")}),(function(e){return e.theme.get("_blockInnerHeight")}),(function(e){return e.theme.get("borderWidth")}),(function(e){return e.theme.get("borderColor")}),(function(e){return e.theme.get("textColor")}),(function(e){return e.theme.get("borderRadius")}),(function(e){return e.theme.get("borderRadius")}),(function(e){return e.theme.get("borderRadius")}),(function(e){return e.theme.get("borderRadius")}),(function(e){return e.theme.get("borderRadius")}))),Rl=i.Fragment,Nl=Object.keys(Wi).reduce((function(e,t){return D(D({},e),{},B({},t,Wi[t]))}),{}),Vl=Fn(l.ZP.span(Il||(Il=G(["\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n width: ","px;\n box-sizing: border-box;\n background-image: url(",");\n background-repeat: no-repeat;\n background-size: ","px ","px;\n background-position: center center;\n"])),(function(e){return e.theme.get("_blockInnerHeight")}),(function(e){return e.icon}),(function(e){return e.theme.get("_absoluteLineHeight")}),(function(e){return e.theme.get("_absoluteLineHeight")}))),Wl=An(Fn((function(e){var t=e.identities,n=e.onUnlink,r=e.i18n,o=e.theme;return i.createElement("div",null,0===t.length&&i.createElement(Tn,null,r("socialAccounts.noLinkedAccount")),t.map((function(e){var t=e.provider,a=e.id,u=e.username,c=Nl[t];return i.createElement(Ul,{key:a},i.createElement(Vl,{icon:c.coloredIcon}),i.createElement("span",null,c.name),"\xa0",i.createElement("span",{style:{color:o.get("mutedTextColor")}},"-\xa0",u),i.createElement(zl,{title:r("remove"),onClick:function(){return n(a)}}))})))}))),Zl=$n({initialView:"links",views:{links:_n((function(e){var t=e.getAvailableProviders,n=e.identities,r=e.onUnlink,o=e.goTo,a=e.theme,u=e.i18n;return i.createElement(Rl,null,i.createElement(Wl,{identities:n,onUnlink:r}),t(n).length>0&&i.createElement("div",{style:{marginTop:a.get("spacing")}},i.createElement(Gi,{onClick:function(){return o("link-account")}},u("socialAccounts.linkNewAccount"))))})),"link-account":An((function(e){var t=e.auth,n=e.accessToken,r=e.identities,o=e.getAvailableProviders,a=e.i18n;return i.createElement(Rl,null,i.createElement(na,{providers:o(r),auth:D(D({},t),{},{accessToken:n})}),i.createElement(Mn,null,i.createElement(qn,{target:"links"},a("back"))))}))},prepare:function(e,t){var n=t.config;return D(D({auth:{},providers:n.socialProviders},e),{},{getAvailableProviders:function(t){return ql(e.providers||n.socialProviders,t.map((function(e){return e.provider})))}})},initialState:{identities:[]},onStartup:function(e,t){var n=e.accessToken,r=e.auth,o=e.apiClient;function i(){o.getUser({accessToken:n,fields:"social_identities{id,provider,username}"}).then((function(e){var n=e.socialIdentities;return t({activeView:"links",identities:n})}))}r.popupMode&&o.on("authenticated",i),i()},handlers:function(e,t){var n=e.accessToken,r=e.apiClient;return{onUnlink:function(e){r.unlink({accessToken:n,identityId:e}),t((function(t){return{identities:t.identities.filter((function(t){return t.id!==e}))}}))}}}}),Hl=Yn({name:"social-login",standalone:!1,component:na,prepare:function(e,t){var n=Dt(e,{socialProviders:t.config.socialProviders});return D(D({providers:n.socialProviders},n),{},{theme:{socialButton:e.theme}})}}),Gl=l.ZP.div(Ml||(Ml=G(["\n text-align: center;
1\n"]))),Yl=Ea({prefix:"r5-device-editor-",submitLabel:"add",supportMultipleSubmits:!0,resetAfterSuccess:!0}),$l=An(Fn((function(e){var t=e.devices,n=e.i18n,r=e.theme,o=e.removeWebAuthnDevice;return i.createElement("div",{style:{marginBottom:r.get("spacing")}},i.createElement(Pn,null,n("webauthn.registredDevices.list")),i.createElement("div",null,t.map((function(e){var t=e.id;return i.createElement(Ul,{key:t,theme:r},i.createElement(Gl,null,e.friendlyName),i.createElement(zl,{title:n("remove"),onClick:function(){return o(t)}}))}))))})));var Xl,Kl,Ql=Yn({name:"webauthn-devices",component:function(e){var t=e.i18n,n=e.theme,r=Y((0,i.useState)(e.devices||[]),2),o=r[0],a=r[1],u=Is(["friendly_name"],e.config);return i.createElement("div",null,0===o.length?i.createElement(Tn,null,t("webauthn.registredDevices.no.list")):i.createElement($l,{devices:o,i18n:t,theme:n,removeWebAuthnDevice:function(n){var r=e.accessToken,o=e.apiClient;if(confirm(t("webauthn.registredDevices.confirm.removal")))return o.removeWebAuthnDevice(r,n).then((function(){return o.listWebAuthnDevices(r).then((function(e){return a(e)}))}))}}),i.createElement(In,{text:t("webauthn.registredDevices.add")}),i.createElement(Yl,{fields:u,showLabels:e.showLabels,handler:function(t){var n=e.accessToken,r=e.apiClient;return r.addNewWebAuthnDevice(n,t.friendlyName).then((function(){return r.listWebAuthnDevices(n).then((function(e){return a(e)}))}))}}))},prepare:function(e,t){var n=t.apiClient,r=t.config,o=e.accessToken;if(!r.webAuthn)throw new _t("The WebAuthn feature is not available on your account.");if(!o)throw new _t("You must be logged in to manage the FIDO2 devices.");return n.listWebAuthnDevices(o).then((function(t){return D(D({},e),{},{devices:t})}))}}),Jl=Ea({prefix:"r5-mfa-credentials-email-",submitLabel:"mfa.register.email"}),ef=Ea({prefix:"r5-mfa-credentials-email-removal-",submitLabel:"mfa.remove.email"}),tf=Ea({prefix:"r5-mfa-credentials-phone-number-removal-",submitLabel:"mfa.remove.phoneNumber"}),nf=Ea({prefix:"r5-mfa-credentials-verification-code-",fields:[hc({key:"verification_code",label:"verificationCode",type:"text"})]}),rf=Fn(l.ZP.div(Xl||(Xl=G(["\n margin-left: ","px;\n margin-bottom: 5em;\n"])),(function(e){return e.theme.get("_blockInnerHeight")}))),of=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"onEmailRegistering",(function(){return e.props.apiClient.startMfaEmailRegistration({accessToken:e.props.accessToken})})),B(W(e),"onPhoneNumberRegistering",(function(t){return e.props.apiClient.startMfaPhoneNumberRegistration(D({accessToken:e.props.accessToken},t))})),B(W(e),"onEmailRemoval",(function(){return e.props.apiClient.removeMfaEmail({accessToken:e.props.accessToken})})),B(W(e),"onPhoneNumberRemoval",(function(t){return e.props.apiClient.removeMfaPhoneNumber({accessToken:e.props.accessToken,phoneNumber:t.phoneNumber})})),e}return O(n,[{key:"render",value:function(){var e=this,t=this.props,n=t.i18n,r=t.showIntro,o=t.config,a=t.showRemoveMfaCredentials,u=t.credentials,c=function(e){return Ea({prefix:"r5-mfa-credentials-phone-number-",fields:[os({required:!0},e)],submitLabel:"mfa.register.phoneNumber"})}(o),s=u.find((function(e){return"sms"===e.type})),l=u.some((function(e){return"email"===e.type}));return i.createElement("div",null,i.createElement(rf,null,o.mfaEmailEnabled&&i.createElement("div",null,r&&i.createElement(On,null,n("mfa.email.explain")),i.createElement(Jl,{handler:this.onEmailRegistering,onSuccess:function(t){return e.props.goTo("verification-code",D(D({},t),{},{registrationType:"email"}))}})),o.mfaEmailEnabled&&o.mfaSmsEnabled&&i.createElement(In,null),o.mfaSmsEnabled&&i.createElement("div",null,r&&i.createElement(On,null,n("mfa.phoneNumber.explain")),i.createElement(c,{handler:this.onPhoneNumberRegistering,onSuccess:function(t){return e.props.goTo("verification-code",D(D({},t),{},{registrationType:"sms"}))}}))),i.createElement(rf,null,a&&o.mfaEmailEnabled&&l&&i.createElement("div",null,r&&i.createElement(On,null,n("mfa.email.remove.explain")),i.createElement(ef,{handler:this.onEmailRemoval,onSuccess:function(){return e.props.goTo("credential-removed",{credentialType:"email"})}})),a&&o.mfaEmailEnabled&&o.mfaSmsEnabled&&s&&l&&i.createElement(In,null),a&&o.mfaSmsEnabled&&s&&i.createElement("div",null,r&&i.createElement(On,null,n("mfa.phoneNumber.remove.explain")),i.createElement(tf,{handler:function(t){return e.onPhoneNumberRemoval(D(D({},t),s))},onSuccess:function(){return e.props.goTo("credential-removed",{credentialType:"sms"})}}))))}}]),n}(i.Component),af=function(e){M(n,e);var t=H(n);function n(){var e;T(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return B(W(e=t.call.apply(t,[this].concat(o))),"onEmailCodeVerification",(function(t){return e.props.apiClient.verifyMfaEmailRegistration(D(D({},t),{},{accessToken:e.props.accessToken}))})),B(W(e),"onSmsCodeVerification",(function(t){return e.props.apiClient.verifyMfaPhoneNumberRegistration(D(D({},t),{},{accessToken:e.props.accessToken}))})),e}return O(n,[{key:"render",value:function(){var e=this.props,t=e.i18n,n=e.showIntro,r=e.status,o=e.goTo,a=e.registrationType;return i.createElement("div",null,n&&"email_sent"===r&&i.createElement(On,null,t("mfa.verify.email")),"email_sent"===r&&i.createElement(nf,{handler:this.onEmailCodeVerification,onSuccess:function(e){return o("credential-registered",D(D({},e),{},{registrationType:a}))}}),n&&"sms_sent"===r&&i.createElement(On,null,t("mfa.verify.sms")),"sms_sent"===r&&i.createElement(nf,{handler:this.onSmsCodeVerification,onSuccess:function(e){return o("credential-registered",D(D({},e),{},{registrationType:a}))}}),n&&"enabled"===r&&o("credential-registered",{i18n:t,registrationType:a}))}}]),n}(i.Component),uf=$n({initialView:"main",views:{main:of,"credential-registered":function(e){var t=e.i18n,n=e.registrationType;return i.createElement("div",null,"email"===n&&i.createElement(Tn,null,t("mfa.email.registered")),"sms"===n&&i.createElement(Tn,null,t("mfa.phoneNumber.registered")))},"verification-code":af,"credential-removed":function(e){var t=e.i18n,n=e.credentialType;return i.createElement("div",null,"email"===n&&i.createElement(Tn,null,t("mfa.email.removed")),"sms"===n&&i.createElement(Tn,null,t("mfa.phoneNumber.removed")))}},prepare:function(e,t){return t.apiClient.listMfaCredentials(e.accessToken).catch((function(e){throw new _t.fromAppError(e)})).then((function(t){return Dt(D(D({showIntro:!0,showRemoveMfaCredentials:!0},e),t))}))}});function cf(){return cf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cf.apply(this,arguments)}var sf;function lf(){return lf=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lf.apply(this,arguments)}for(var ff,hf,pf,df,vf=function(e){return"\n width: ".concat(2*e.theme.get("fontSize"),"px;\n height: ").concat(2*e.theme.get("fontSize"),"px;\n fill: ").concat(e.theme.get("textColor"),";\n flex-shrink: 0;\n")},gf=Fn((0,l.ZP)((function(e){return(0,i.createElement)("svg",cf({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",role:"img"},e),Kl||(Kl=(0,i.createElement)("path",{d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.5
179-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"})))}))(ff||(ff=G(["",""])),(function(e){return vf(e)}))),mf=Fn((0,l.ZP)((function(e){return(0,i.createElement)("svg",lf({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",role:"img"},e),sf||(sf=(0,i.createElement)("path",{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288zM128 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm128 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm128 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"})))}))(hf||(hf=G(["",""])),(function(e){return vf(e)}))),wf=Fn((0,l.ZP)(Ul)(pf||(pf=G(["\n display: flex;\n flex-direction: row;\n align-items: center;\n color: ",";\n line-height: 1.5;\n"])),(function(e){return e.theme.get("textColor")}))),yf=Fn(l.ZP.div(df||(df=G(["\n margin-left: ","px;\n white-space: initial;\n"])),(function(e){return e.theme.get("_blockInnerHeight")}))),bf=vl(An,Dn)((function(e){var t=e.credentials,n=e.i18n,r=e.config;return i.createElement("div",null,0===t.length&&i.createElement(Tn,null,n("mfaList.noCredentials")),t.map((function(e,t){var o,a,u=e.type,c=e.createdAt,s=e.friendlyName,l=e.email,f=e.phoneNumber;return i.createElement(wf,{key:"credential-".concat(t)},function(e){switch(e){case"email":return i.createElement(gf,null);case"sms":return i.createElement(mf,null)}}(u),i.createElement(yf,null,i.createElement("div",{style:{fontWeight:"bold"}},s),i.createElement("div",null,l||f),i.createElement("div",null,i.createElement("span",null,n("mfaList.createdAt"),"\xa0: "),i.createElement("time",{dateTime:c},(o=c,a=r.language,new Date(o).toLocaleDateString(a,{timeZone:"UTC"}))))))})))})),Cf=Yn({component:bf,prepare:function(e,t){return t.apiClient.listMfaCredentials(e.accessToken).catch((function(e){throw new _t.fromAppError(e)})).then((function(t){return D(D({},e),t)}))}}),Ef=function(){function e(t,n,r,o){T(this,e),this.config=t,this.urlParser=n,this.core=r,this.defaultI18n=o}return O(e,[{key:"showAuth",value:function(e){this._ssoCheck(ll,e)}},{key:"showSocialLogin",value:function(e){this._ssoCheck(Hl,e)}},{key:"showPasswordless",value:function(e){this._ssoCheck(_l,e)}},{key:"showEmailEditor",value:function(e){this._showWidget(pl,e)}},{key:"showPasswordEditor",value:function(e){this._showWidget(wl,e)}},{key:"showPhoneNumberEditor",value:function(e){this._showWidget(El,e)}},{key:"showProfileEditor",value:function(e){this._showWidget(Tl,e)}},{key:"showPasswordReset",value:function(e){this._showWidget(kl,e)}},{key:"showSocialAccounts",value:function(e){this._showWidget(Zl,e)}},{key:"showWebAuthnDevices",value:function(e){this._showWidget(Ql,e)}},{key:"showMfa",value:function(e){this._showWidget(uf,e)}},{key:"showStepUp",value:function(e){this._showWidget(sl,e)}},{key:"showMfaCredentials",value:function(e){this._showWidget(Cf,e)}},{key:"_showWidget",value:function(){var e=j(S().mark((function e(t){var n,r,i,a,u,c,s=arguments;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=s.length>1&&void 0!==s[1]?s[1]:{},r=s.length>2&&void 0!==s[2]?s[2]:{},i="string"===typeof n.container?document.getElementById(n.container):n.container){e.next=5;break}throw new Error("Container '#".concat(n.container,"' not found."));case 5:return e.prev=5,a=D(D({},this.config),{},{countryCode:n.countryCode||this.config.countryCode||"FR"}),e.next=9,t(n,D(D({},r),{},{config:a,apiClient:this.core,defaultI18n:this.defaultI18n}));case 9:u=e.sent,o.render(u,i),n.onReady&&"function"===typeof n.onReady&&n.onReady({destroy:function(){o.unmountComponentAtNode(i)}}),e.next=19;break;case 14:e.prev=14,e.t0=e.catch(5),c=e.t0.isUserError?e.t0.message:"Unexpected error",i.innerHTML='<div style="color: red; text-align: center;">'.concat(c,"</div>
1"),e.t0.isUserError?ba("ReachFive widget display fails: ".concat(e.t0.message)):ba(e.t0);case 19:case"end":return e.stop()}}),e,this,[[5,14]])})));return function(t){return e.apply(this,arguments)}}()},{key:"_ssoCheck",value:function(e,t){var n=this,r=t.auth,o=void 0===r?{}:r,i=function(r){return n._showWidget(e,t,{session:r})};this.config.sso||o.idTokenHint||o.loginHint?setTimeout((function(){return Promise.resolve(n.urlParser.parseUrlFragment(window.location.href)).then((function(e){e||n.core.getSessionInfo().then((function(e){var t=o&&o.prompt&&"login"===o.prompt;e.isAuthenticated&&!t?n.core.loginFromSession(o):i(e)})).catch((function(e){ba(e),i()}))}))}),0):i()}}]),e}(),xf=function(e){var t=Tf(e),n=t[0],r=t[1];return 3*(n+r)/4-r},kf=function(e){var t,n,r=Tf(e),o=r[0],i=r[1],a=new Sf(function(e,t,n){return 3*(t+n)/4-n}(0,o,i)),u=0,c=i>0?o-4:o;for(n=0;n<c;n+=4)t=Df[e.charCodeAt(n)]<<18|Df[e.charCodeAt(n+1)]<<12|Df[e.charCodeAt(n+2)]<<6|Df[e.charCodeAt(n+3)],a[u++]=t>>16&255,a[u++]=t>>8&255,a[u++]=255&t;2===i&&(t=Df[e.charCodeAt(n)]<<2|Df[e.charCodeAt(n+1)]>>4,a[u++]=255&t);
vendor: 6,957 bytes, line 1
11===i&&(t=Df[e.charCodeAt(n)]<<10|Df[e.charCodeAt(n+1)]<<4|Df[e.charCodeAt(n+2)]>>2,a[u++]=t>>8&255,a[u++]=255&t);return a},Ff=function(e){for(var t,n=e.length,r=n%3,o=[],i=16383,a=0,u=n-r;a<u;a+=i)o.push(Lf(e,a,a+i>u?u:a+i));1===r?(t=e[n-1],o.push(Af[t>>2]+Af[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],o.push(Af[t>>10]+Af[t>>4&63]+Af[t<<2&63]+"="));return o.join("")},Af=[],Df=[],Sf="undefined"!==typeof Uint8Array?Uint8Array:Array,_f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pf=0,jf=_f.length;Pf<jf;++Pf)Af[Pf]=_f[Pf],Df[_f.charCodeAt(Pf)]=Pf;function Tf(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function Lf(e,t,n){for(var r,o,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),i.push(Af[(o=r)>>18&63]+Af[o>>12&63]+Af[o>>6&63]+Af[63&o]);return i.join("")}Df["-".charCodeAt(0)]=62,Df["_".charCodeAt(0)]=63;var Of={byteLength:xf,toByteArray:kf,fromByteArray:Ff},Bf=function(e,t,n,r,o){var i,a,u=8*o-r-1,c=(1<<u)-1,s=c>>1,l=-7,f=n?o-1:0,h=n?-1:1,p=e[t+f];for(f+=h,i=p&(1<<-l)-1,p>>=-l,l+=u;l>0;i=256*i+e[t+f],f+=h,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=r;l>0;a=256*a+e[t+f],f+=h,l-=8);if(0===i)i=1-s;else{if(i===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=s}return(p?-1:1)*a*Math.pow(2,i-r)},If=function(e,t,n,r,o,i){var a,u,c,s=8*i-o-1,l=(1<<s)-1,f=l>>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,d=r?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(a++,c/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(t*c-1)*Math.pow(2,o),a+=f):(u=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&u,p+=d,u/=256,o-=8);for(a=a<<o|u,s+=o;s>0;e[n+p]=255&a,p+=d,a/=256,s-=8);e[n+p-d]|=128*v};J((function(e,t){var n="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=i,t.SlowBuffer=function(e){+e!=e&&(e=0);return i.alloc(+e)},t.INSPECT_MAX_BYTES=50;var r=2147483647;function o(e){if(e>r)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,i.prototype),t}function i(e,t,n){if("number"===typeof e){if("string"===typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return c(e)}return a(e,t,n)}function a(e,t,n){if("string"===typeof e)return function(e,t){"string"===typeof t&&""!==t||(t="utf8");if(!i.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=o(n),a=r.write(e,t);a!==n&&(r=r.slice(0,a));return r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(Q(e,Uint8Array)){var t=new Uint8Array(e);return l(t.buffer,t.byteOffset,t.byteLength)}return s(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+_(e));if(Q(e,ArrayBuffer)||e&&Q(e.buffer,ArrayBuffer))return l(e,t,n);if("undefined"!==typeof SharedArrayBuffer&&(Q(e,SharedArrayBuffer)||e&&Q(e.buffer,SharedArrayBuffer)))return l(e,t,n);if("number"===typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return i.from(r,t,n);var a=function(e){if(i.isBuffer(e)){var t=0|f(e.length),n=o(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!==typeof e.length||J(e.length)?o(0):s(e);if("Buffer"===e.type&&Array.isArray(e.data))return s(e.data)}(e);if(a)return a;if("undefined"!==typeof Symbol&&null!=Symbol.toPrimitive&&"function"===typeof e[Symbol.toPrimitive])return i.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+_(e))}function u(e){if("number"!==typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),o(e<0?0:0|f(e))}function s(e){for(var t=e.length<0?0:0|f(e.length),n=o(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function l(e,t,n){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw new RangeError('"length" is outside of buffer bounds');var r;return r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,i.prototype),r}function f(e){if(e>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function h(e,t){if(i.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Q(e,ArrayBuffer))return e.byteLength;if("string"!==typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+_(e));var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return $(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(e).length;default:if(o)return r?-1:$(e).length;t=(""+t).toLowerCase(),o=!0}}function p(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return x(this,t,n);case"ascii":return F(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function d(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),J(n=+n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,o);if("number"===typeof t)return t&=255,"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,o){var i,a=1,u=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,u/=2,c/=2,n/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=n;i<u;i++)if(s(e,i)===s(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===c)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(n+c>u&&(n=u-c),i=n;i>=0;i--){for(var f=!0,h=0;h<c;
vendor: 4,572 bytes, line 1
1h++)if(s(e,i+h)!==s(t,h)){f=!1;break}if(f)return i}return-1}function m(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i,a=t.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){var u=parseInt(t.substr(2*i,2),16);if(J(u))return i;e[n+i]=u}return i}function w(e,t,n,r){return K($(t,e.length-n),e,n,r)}function y(e,t,n,r){return K(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function b(e,t,n,r){return K(X(t),e,n,r)}function C(e,t,n,r){return K(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function E(e,t,n){return 0===t&&n===e.length?Of.fromByteArray(e):Of.fromByteArray(e.slice(t,n))}function x(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i=e[o],a=null,u=i>239?4:i>223?3:i>191?2:1;if(o+u<=n){var c=void 0,s=void 0,l=void 0,f=void 0;switch(u){case 1:i<128&&(a=i);break;case 2:128===(192&(c=e[o+1]))&&(f=(31&i)<<6|63&c)>127&&(a=f);break;case 3:c=e[o+1],s=e[o+2],128===(192&c)&&128===(192&s)&&(f=(15&i)<<12|(63&c)<<6|63&s)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:c=e[o+1],s=e[o+2],l=e[o+3],128===(192&c)&&128===(192&s)&&128===(192&l)&&(f=(15&i)<<18|(63&c)<<12|(63&s)<<6|63&l)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,u=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=u}return function(e){var t=e.length;if(t<=k)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=k));return n}(r)}t.kMaxLength=r,i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(n){return!1}}(),i.TYPED_ARRAY_SUPPORT||"undefined"===typeof console||"function"!==typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}}),i.poolSize=8192,i.from=function(e,t,n){return a(e,t,n)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array),i.alloc=function(e,t,n){return function(e,t,n){return u(e),e<=0?o(e):void 0!==t?"string"===typeof n?o(e).fill(t,n):o(e).fill(t):o(e)}(e,t,n)},i.allocUnsafe=function(e){return c(e)},i.allocUnsafeSlow=function(e){return c(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==i.prototype},i.compare=function(e,t){if(Q(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),Q(t,Uint8Array)&&(t=i.from(t,t.offset,t.byteLength)),!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o<a;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return i.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=i.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(Q(a,Uint8Array))o+a.length>r.length?(i.isBuffer(a)||(a=i.from(a)),a.copy(r,o)):Uint8Array.prototype.set.call(r,a,o);else{if(!i.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o)}o+=a.length}return r},i.byteLength=h,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)d(this,t,t+1);return this},i.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)d(this,t,t+3),d(this,t+1,t+2);return this},i.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)d(this,t,t+7),d(this,t+1,t+6),d(this,t+2,t+5),d(this,t+3,t+4);return this},i.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?x(this,0,e):p.apply(this,arguments)}
vendor: 12,382 bytes, line 1
1,i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(e){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===i.compare(this,e)},i.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},n&&(i.prototype[n]=i.prototype.inspect),i.prototype.compare=function(e,t,n,r,o){if(Q(e,Uint8Array)&&(e=i.from(e,e.offset,e.byteLength)),!i.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+_(e));if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(r>>>=0),u=(n>>>=0)-(t>>>=0),c=Math.min(a,u),s=this.slice(r,o),l=e.slice(t,n),f=0;f<c;++f)if(s[f]!==l[f]){a=s[f],u=l[f];break}return a<u?-1:u<a?1:0},i.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},i.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},i.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},i.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return m(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":case"latin1":case"binary":return y(this,e,t,n);case"base64":return b(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function F(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function A(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function D(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=ee[e[i]];return o}function S(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length-1;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function P(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r,o){V(t,r,o,e,n,7);var i=Number(t&BigInt(4294967295));e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i,i>>=8,e[n++]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function B(e,t,n,r,o){V(t,r,o,e,n,7);var i=Number(t&BigInt(4294967295));e[n+7]=i,i>>=8,e[n+6]=i,i>>=8,e[n+5]=i,i>>=8,e[n+4]=i;var a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function I(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function q(e,t,n,r,o){return t=+t,n>>>=0,o||I(e,0,n,4),If(e,t,n,r,23,4),n+4}function z(e,t,n,r,o){return t=+t,n>>>=0,o||I(e,0,n,8),If(e,t,n,r,52,8),n+8}i.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,i.prototype),r},i.prototype.readUintLE=i.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},i.prototype.readUintBE=i.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUint8=i.prototype.readUInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),this[e]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||P(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readBigUInt64LE=te((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);var r=t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24),o=this[++e]+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+n*Math.pow(2,24);return BigInt(r)+(BigInt(o)<<BigInt(32))})),i.prototype.readBigUInt64BE=te((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);var r=t*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e],o=this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n;return(BigInt(r)<<BigInt(32))+BigInt(o)})),i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||P(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},i.prototype.readInt8=function(e,t){return e>>>=0,t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readBigInt64LE=te((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);var r=this[e+4]+this[e+5]*Math.pow(2,8)+this[e+6]*Math.pow(2,16)+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*Math.pow(2,8)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,24))})),i.prototype.readBigInt64BE=te((function(e){Z(e>>>=0,"offset");var t=this[e],n=this[e+7];void 0!==t&&void 0!==n||G(e,this.length-8);var r=(t<<24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*Math.pow(2,24)+this[++e]*Math.pow(2,16)+this[++e]*Math.pow(2,8)+n)})),i.prototype.readFloatLE=function(e,t){return e>>>=0,t||P(e,4,this.length),Bf(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||P(e,4,this.length),Bf(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||P(e,8,this.length),Bf(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||P(e,8,this.length),Bf(this,e,!1,52,8)},i.prototype.writeUintLE=i.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||j(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t>>>=0,n>>>=0,r)||j(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},i.prototype.writeUint8=i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeBigUInt64LE=te((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return L(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),i.prototype.writeBigUInt64BE=te((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);j(this,e,t,n,o-1,-o)}var i=0,a=1,u=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===u&&0!==this[t+i-1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);j(this,e,t,n,o-1,-o)}var i=n-1,a=1,u=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===u&&0!==this[t+i+1]&&(u=1),this[t+i]=(e/a>>0)-u&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeBigInt64LE=te((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return L(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),i.prototype.writeBigInt64BE=te((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),i.prototype.writeFloatLE=function(e,t,n){return q(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return q(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return z(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return z(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(!i.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o=r-n;return this===e&&"function"===typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),o},i.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!i.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var o=e.charCodeAt(0);("utf8"===r&&o<128||"latin1"===r)&&(e=o)}}else"number"===typeof e?e&=255:"boolean"===typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var a;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(a=t;a<n;++a)this[a]=e;else{var u=i.isBuffer(e)?e:i.from(e,r),c=u.length;
1if(0===c)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<n-t;++a)this[a+t]=u[a%c]}return this};var U={};function R(e,t,n){U[e]=function(n){M(o,n);var r=H(o);function o(){var n;return T(this,o),n=r.call(this),Object.defineProperty(W(n),"message",{value:t.apply(W(n),arguments),writable:!0,configurable:!0}),n.name="".concat(n.name," [").concat(e,"]"),n.stack,delete n.name,n}return O(o,[{key:"code",get:function(){return e},set:function(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}},{key:"toString",value:function(){return"".concat(this.name," [").concat(e,"]: ").concat(this.message)}}]),o}(n)}function N(e){for(var t="",n=e.length,r="-"===e[0]?1:0;n>=r+4;n-=3)t="_".concat(e.slice(n-3,n)).concat(t);return"".concat(e.slice(0,n)).concat(t)}function V(e,t,n,r,o,i){if(e>n||e<t){var a,u="bigint"===typeof t?"n":"";throw a=i>3?0===t||t===BigInt(0)?">= 0".concat(u," and < 2").concat(u," ** ").concat(8*(i+1)).concat(u):">= -(2".concat(u," ** ").concat(8*(i+1)-1).concat(u,") and < 2 ** ")+"".concat(8*(i+1)-1).concat(u):">= ".concat(t).concat(u," and <= ").concat(n).concat(u),new U.ERR_OUT_OF_RANGE("value",a,e)}!function(e,t,n){Z(t,"offset"),void 0!==e[t]&&void 0!==e[t+n]||G(t,e.length-(n+1))}(r,o,i)}function Z(e,t){if("number"!==typeof e)throw new U.ERR_INVALID_ARG_TYPE(t,"number",e)}function G(e,t,n){if(Math.floor(e)!==e)throw Z(e,n),new U.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new U.ERR_BUFFER_OUT_OF_BOUNDS;throw new U.ERR_OUT_OF_RANGE(n||"offset",">= ".concat(n?1:0," and <= ").concat(t),e)}R("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?"".concat(e," is outside of buffer bounds"):"Attempt to access memory outside buffer bounds"}),RangeError),R("ERR_INVALID_ARG_TYPE",(function(e,t){return'The "'.concat(e,'" argument must be of type number. Received type ').concat(_(t))}),TypeError),R("ERR_OUT_OF_RANGE",(function(e,t,n){var r='The value of "'.concat(e,'" is out of range.'),o=n;return Number.isInteger(n)&&Math.abs(n)>Math.pow(2,32)?o=N(String(n)):"bigint"===typeof n&&(o=String(n),(n>Math.pow(BigInt(2),BigInt(32))||n<-Math.pow(BigInt(2),BigInt(32)))&&(o=N(o)),o+="n"),r+=" It must be ".concat(t,". Received ").concat(o)}),RangeError);var Y=/[^+/0-9A-Za-z-_]/g;function $(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function X(e){return Of.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Y,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function K(e,t,n,r){var o;for(o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function Q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function J(e){return e!==e}var ee=function(){for(var e="0123456789abcdef",t=new Array(256),n=0;n<16;++n)for(var r=16*n,o=0;o<16;++o)t[r+o]=e[n]+e[o];return t}();function te(e){return"undefined"===typeof BigInt?ne:e}function ne(){throw new Error("BigInt not supported")}}));function Mf(e){return e=e.replace(/-/g,"+").replace(/_/g,"/"),t=e,decodeURIComponent(Array.prototype.map.call(window.atob(t),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""));var t}function qf(e){if(e.idToken)try{var t=function(e){var t=e.split(".")[1];return pi(JSON.parse(Mf(t)))}(e.idToken);return D(D({},e),{},{idTokenPayload:t})}catch(n){ba("id token parsing error: "+n)}return e}function zf(e){return e&&(e.accessToken||e.idToken)}function Uf(e){return e&&e.error}function Rf(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}var Nf=Array.prototype.splice;var Vf=Ze((function(e,t){return e&&e.length&&t&&t.length?function(e,t,n,r){var o=r?Rf:at,i=-1,a=t.length,u=e;for(e===t&&(t=$a(t)),n&&(u=qt(e,dr(n)));++i<a;)for(var c=0,s=t[i],l=n?n(s):s;(c=o(u,l,c,r))>-1;)u!==e&&Nf.call(u,c,1),Nf.call(e,c,1);return e}(e,t):e})),Wf=function(){function e(){T(this,e),this.listeners={}}return O(e,[{key:"fire",value:function(e,t){Zf(this.listeners,e).forEach((function(e){try{e(t)}catch(n){ba(n)}}))}},{key:"on",value:function(e,t){Zf(this.listeners,e).push(t)}},{key:"off",value:function(e,t){Vf(Zf(this.listeners,e),t)}}]),e}();function Zf(e,t){return e[t]||(e[t]=[])}function Hf(e){var t,n=(t=function(){var e=new Wf;return{on:function(t,n){e.on(t,n)},off:function(t,n){e.off(t,n)},fireEvent:function(t,n){"authenticated"===t?e.fire(t,qf(n)):e.fire(t,n)}}}(),{checkUrlFragment:function(e){var n=this.parseUrlFragment(e);return zf(n)?(t.fireEvent("authenticated",n),!0):!!Uf(n)&&(t.fireEvent("authentication_failed",n),!0)},parseUrlFragment:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.indexOf("#");if(t>=0){var n=gi(e.substr(t+1)),r=n.expiresIn?parseInt(n.expiresIn,10):void 0;return zf(n)?D(D({},n),{},{expiresIn:r}):Uf(n)?n:void 0}}}),o=(0,r.eI)(e),i=o.remoteSettings.then((function(t){var r=pi(t),i=e.language||r.language;return fetch("https://".concat(e.domain,"/identity/v1/config/consents?").concat(mi({lang:i}))).then((function(e){return e.json()})).then((function(a){return fetch("".concat(t.resourceBaseUrl,"/").concat(i,".json")).then((function(e){return e.json()})).then((function(t){return new Ef(D(D(D({},e),r),{},{consentsVersions:pi(a)}),n,o,t)})).catch(console.error)}
1)).catch(console.error)}));return{core:o,showAuth:function(e){return i.then((function(t){return t.showAuth(e)}))},showEmailEditor:function(e){return i.then((function(t){return t.showEmailEditor(e)}))},showPasswordEditor:function(e){return i.then((function(t){return t.showPasswordEditor(e)}))},showPhoneNumberEditor:function(e){return i.then((function(t){return t.showPhoneNumberEditor(e)}))},showPasswordReset:function(e){return i.then((function(t){return t.showPasswordReset(e)}))},showPasswordless:function(e){return i.then((function(t){return t.showPasswordless(e)}))},showProfileEditor:function(e){return i.then((function(t){return t.showProfileEditor(e)}))},showSocialAccounts:function(e){return i.then((function(t){return t.showSocialAccounts(e)}))},showSocialLogin:function(e){return i.then((function(t){return t.showSocialLogin(e)}))},showWebAuthnDevices:function(e){return i.then((function(t){return t.showWebAuthnDevices(e)}))},showMfa:function(e){return i.then((function(t){return t.showMfa(e)}))},showMfaCredentials:function(e){return i.then((function(t){return t.showMfaCredentials(e)}))},showStepUp:function(e){return i.then((function(t){return t.showStepUp(e)}))}}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.