/*! For license information please see 2.0a2e91af.chunk.js.LICENSE.txt */
(this.webpackJsonpeleven=this.webpackJsonpeleven||[]).push([[2],[function(e,n,t){"use strict";e.exports=t(559)},function(e,n,t){"use strict";t.r(n),t.d(n,"__extends",(function(){return r})),t.d(n,"__assign",(function(){return a})),t.d(n,"__rest",(function(){return i})),t.d(n,"__decorate",(function(){return s})),t.d(n,"__param",(function(){return c})),t.d(n,"__metadata",(function(){return u})),t.d(n,"__awaiter",(function(){return l})),t.d(n,"__generator",(function(){return d})),t.d(n,"__createBinding",(function(){return p})),t.d(n,"__exportStar",(function(){return m})),t.d(n,"__values",(function(){return h})),t.d(n,"__read",(function(){return f})),t.d(n,"__spread",(function(){return g})),t.d(n,"__spreadArrays",(function(){return v})),t.d(n,"__await",(function(){return y})),t.d(n,"__asyncGenerator",(function(){return b})),t.d(n,"__asyncDelegator",(function(){return C})),t.d(n,"__asyncValues",(function(){return w})),t.d(n,"__makeTemplateObject",(function(){return S})),t.d(n,"__importStar",(function(){return _})),t.d(n,"__importDefault",(function(){return E})),t.d(n,"__classPrivateFieldGet",(function(){return x})),t.d(n,"__classPrivateFieldSet",(function(){return O}));var o=function(e,n){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)};function r(e,n){function t(){this.constructor=e}o(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var a=function(){return(a=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)};function i(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t}function s(e,n,t,o){var r,a=arguments.length,i=a<3?n:null===o?o=Object.getOwnPropertyDescriptor(n,t):o;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)i=Reflect.decorate(e,n,t,o);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(i=(a<3?r(i):a>3?r(n,t,i):r(n,t))||i);return a>3&&i&&Object.defineProperty(n,t,i),i}function c(e,n){return function(t,o){n(t,o,e)}}function u(e,n){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,n)}function l(e,n,t,o){return new(t||(t=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(n){a(n)}}function s(e){try{c(o.throw(e))}catch(n){a(n)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((o=o.apply(e,n||[])).next())}))}function d(e,n){var t,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(s){a=[6,s],o=0}finally{t=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function p(e,n,t,o){void 0===o&&(o=t),e[o]=n[t]}function m(e,n){for(var t in e)"default"===t||n.hasOwnProperty(t)||(n[t]=e[t])}function h(e){var n="function"===typeof Symbol&&Symbol.iterator,t=n&&e[n],o=0;if(t)return t.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,n){var t="function"===typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return i}function g(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(f(arguments[n]));return e}function v(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var o=Array(e),r=0;for(n=0;n<t;n++)for(var a=arguments[n],i=0,s=a.length;i<s;i++,r++)o[r]=a[i];return o}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),a=[];return o={},i("next"),i("throw"),i("return"),o[Symbol.asyncIterator]=function(){return this},o;function i(e){r[e]&&(o[e]=function(n){return new Promise((function(t,o){a.push([e,n,t,o])>1||s(e,n)}))})}function s(e,n){try{(t=r[e](n)).value instanceof y?Promise.resolve(t.value.v).then(c,u):l(a[0][2],t)}catch(o){l(a[0][3],o)}var t}function c(e){s("next",e)}function u(e){s("throw",e)}function l(e,n){e(n),a.shift(),a.length&&s(a[0][0],a[0][1])}}function C(e){var n,t;return n={},o("next"),o("throw",(function(e){throw e})),o("return"),n[Symbol.iterator]=function(){return this},n;function o(o,r){n[o]=e[o]?function(n){return(t=!t)?{value:y(e[o](n)),done:"return"===o}:r?r(n):n}:r}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=h(e),n={},o("next"),o("throw"),o("return"),n[Symbol.asyncIterator]=function(){return this},n);function o(t){n[t]=e[t]&&function(n){return new Promise((function(o,r){(function(e,n,t,o){Promise.resolve(o).then((function(n){e({value:n,done:t})}),n)})(o,r,(n=e[t](n)).done,n.value)}))}}}function S(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function _(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function E(e){return e&&e.__esModule?e:{default:e}}function x(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function O(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return _})),t.d(n,"d",(function(){return O})),t.d(n,"e",(function(){return A})),t.d(n,"f",(function(){return S})),t.d(n,"g",(function(){return E})),t.d(n,"h",(function(){return g})),t.d(n,"i",(function(){return R})),t.d(n,"j",(function(){return b})),t.d(n,"k",(function(){return C})),t.d(n,"l",(function(){return s})),t.d(n,"m",(function(){return w})),t.d(n,"n",(function(){return u})),t.d(n,"o",(function(){return y})),t.d(n,"p",(function(){return L})),t.d(n,"q",(function(){return f})),t.d(n,"r",(function(){return o})),t.d(n,"s",(function(){return j})),t.d(n,"t",(function(){return l})),t.d(n,"u",(function(){return d})),t.d(n,"v",(function(){return T})),t.d(n,"w",(function(){return r})),t.d(n,"x",(function(){return m})),t.d(n,"y",(function(){return I})),t.d(n,"z",(function(){return M})),t.d(n,"A",(function(){return P})),t.d(n,"B",(function(){return h})),t.d(n,"C",(function(){return k})),t.d(n,"D",(function(){return p})),t.d(n,"E",(function(){return v})),t.d(n,"F",(function(){return x})),t.d(n,"G",(function(){return N}));var o,r,a,i,s,c=t(11),u={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",REGIONAL_AUTH_NON_MSI_QUERY_STRING:"allowestsrnonmsi=true",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},l=[u.OPENID_SCOPE,u.PROFILE_SCOPE,u.OFFLINE_ACCESS_SCOPE],d=Object(c.e)(l,[u.EMAIL_SCOPE]);!function(e){e.CONTENT_TYPE="Content-Type",e.RETRY_AFTER="Retry-After",e.CCS_HEADER="X-AnchorMailbox",e.WWWAuthenticate="WWW-Authenticate",e.AuthenticationInfo="Authentication-Info",e.X_MS_REQUEST_ID="x-ms-request-id",e.X_MS_HTTP_VERSION="x-ms-httpver"}(o||(o={})),function(e){e.ID_TOKEN="idtoken",e.CLIENT_INFO="client.info",e.ADAL_ID_TOKEN="adal.idtoken",e.ERROR="error",e.ERROR_DESC="error.description",e.ACTIVE_ACCOUNT="active-account",e.ACTIVE_ACCOUNT_FILTERS="active-account-filters"}(r||(r={})),function(e){e.COMMON="common",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers"}(a||(a={})),function(e){e.CLIENT_ID="client_id",e.REDIRECT_URI="redirect_uri",e.RESPONSE_TYPE="response_type",e.RESPONSE_MODE="response_mode",e.GRANT_TYPE="grant_type",e.CLAIMS="claims",e.SCOPE="scope",e.ERROR="error",e.ERROR_DESCRIPTION="error_description",e.ACCESS_TOKEN="access_token",e.ID_TOKEN="id_token",e.REFRESH_TOKEN="refresh_token",e.EXPIRES_IN="expires_in",e.STATE="state",e.NONCE="nonce",e.PROMPT="prompt",e.SESSION_STATE="session_state",e.CLIENT_INFO="client_info",e.CODE="code",e.CODE_CHALLENGE="code_challenge",e.CODE_CHALLENGE_METHOD="code_challenge_method",e.CODE_VERIFIER="code_verifier",e.CLIENT_REQUEST_ID="client-request-id",e.X_CLIENT_SKU="x-client-SKU",e.X_CLIENT_VER="x-client-VER",e.X_CLIENT_OS="x-client-OS",e.X_CLIENT_CPU="x-client-CPU",e.X_CLIENT_CURR_TELEM="x-client-current-telemetry",e.X_CLIENT_LAST_TELEM="x-client-last-telemetry",e.X_MS_LIB_CAPABILITY="x-ms-lib-capability",e.X_APP_NAME="x-app-name",e.X_APP_VER="x-app-ver",e.POST_LOGOUT_URI="post_logout_redirect_uri",e.ID_TOKEN_HINT="id_token_hint",e.DEVICE_CODE="device_code",e.CLIENT_SECRET="client_secret",e.CLIENT_ASSERTION="client_assertion",e.CLIENT_ASSERTION_TYPE="client_assertion_type",e.TOKEN_TYPE="token_type",e.REQ_CNF="req_cnf",e.OBO_ASSERTION="assertion",e.REQUESTED_TOKEN_USE="requested_token_use",e.ON_BEHALF_OF="on_behalf_of",e.FOCI="foci",e.CCS_HEADER="X-AnchorMailbox",e.RETURN_SPA_CODE="return_spa_code",e.NATIVE_BROKER="nativebroker",e.LOGOUT_HINT="logout_hint"}(i||(i={})),function(e){e.ACCESS_TOKEN="access_token",e.XMS_CC="xms_cc"}(s||(s={}));var p,m={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"};!function(e){e.ACCOUNT="account",e.SID="sid",e.LOGIN_HINT="login_hint",e.ID_TOKEN="id_token",e.DOMAIN_HINT="domain_hint",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers",e.ACCOUNT_ID="accountIdentifier",e.HOMEACCOUNT_ID="homeAccountIdentifier"}(p||(p={}));var h,f,g,v,y,b,C,w={PLAIN:"plain",S256:"S256"};!function(e){e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post"}(h||(h={})),function(e){e.IMPLICIT_GRANT="implicit",e.AUTHORIZATION_CODE_GRANT="authorization_code",e.CLIENT_CREDENTIALS_GRANT="client_credentials",e.RESOURCE_OWNER_PASSWORD_GRANT="password",e.REFRESH_TOKEN_GRANT="refresh_token",e.DEVICE_CODE_GRANT="device_code",e.JWT_BEARER="urn:ietf:params:oauth:grant-type:jwt-bearer"}(f||(f={})),function(e){e.MSSTS_ACCOUNT_TYPE="MSSTS",e.ADFS_ACCOUNT_TYPE="ADFS",e.MSAV1_ACCOUNT_TYPE="MSA",e.GENERIC_ACCOUNT_TYPE="Generic"}(g||(g={})),function(e){e.CACHE_KEY_SEPARATOR="-",e.CLIENT_INFO_SEPARATOR="."}(v||(v={})),function(e){e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",e.REFRESH_TOKEN="RefreshToken"}(y||(y={})),function(e){e.ACCOUNT="Account",e.CREDENTIAL="Credential",e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.REFRESH_TOKEN="RefreshToken",e.APP_METADATA="AppMetadata",e.TEMPORARY="TempCache",e.TELEMETRY="Telemetry",e.UNDEFINED="Undefined",e.THROTTLING="Throttling"}(b||(b={})),function(e){e[e.ADFS=1001]="ADFS",e[e.MSA=1002]="MSA",e[e.MSSTS=1003]="MSSTS",e[e.GENERIC=1004]="GENERIC",e[e.ACCESS_TOKEN=2001]="ACCESS_TOKEN",e[e.REFRESH_TOKEN=2002]="REFRESH_TOKEN",e[e.ID_TOKEN=2003]="ID_TOKEN",e[e.APP_METADATA=3001]="APP_METADATA",e[e.UNDEFINED=9999]="UNDEFINED"}(C||(C={}));var S,_="appmetadata",E="client_info",x="1",O={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400};!function(e){e.CONFIG="config",e.CACHE="cache",e.NETWORK="network",e.HARDCODED_VALUES="hardcoded_values"}(S||(S={}));var A,k={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"};!function(e){e.BEARER="Bearer",e.POP="pop",e.SSH="ssh-cert"}(A||(A={}));var T,P,M,I,R,j,N={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},L={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"};!function(e){e.username="username",e.password="password"}(T||(T={})),function(e){e[e.httpSuccess=200]="httpSuccess",e[e.httpBadRequest=400]="httpBadRequest"}(P||(P={})),function(e){e.FAILED_AUTO_DETECTION="1",e.INTERNAL_CACHE="2",e.ENVIRONMENT_VARIABLE="3",e.IMDS="4"}(M||(M={})),function(e){e.CONFIGURED_MATCHES_DETECTED="1",e.CONFIGURED_NO_AUTO_DETECTION="2",e.CONFIGURED_NOT_DETECTED="3",e.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",e.AUTO_DETECTION_REQUESTED_FAILED="5"}(I||(I={})),function(e){e.NO_CACHE_HIT="0",e.FORCE_REFRESH="1",e.NO_CACHED_ACCESS_TOKEN="2",e.CACHED_ACCESS_TOKEN_EXPIRED="3",e.REFRESH_CACHED_ACCESS_TOKEN="4"}(R||(R={})),function(e){e.Jwt="JWT",e.Jwk="JWK"}(j||(j={}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(31);function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach((function(n){Object(o.a)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return s})),t.d(n,"c",(function(){return r})),t.d(n,"d",(function(){return c})),t.d(n,"e",(function(){return i})),t.d(n,"f",(function(){return l}));var o=function(e,n){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function r(e,n){function t(){this.constructor=e}o(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var a=function(){return(a=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)};function i(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t}function s(e,n,t,o){return new(t||(t=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(n){a(n)}}function s(e){try{c(o.throw(e))}catch(n){a(n)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((o=o.apply(e,n||[])).next())}))}function c(e,n){var t,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(s){a=[6,s],o=0}finally{t=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function u(e,n){var t="function"===typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return i}function l(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(u(arguments[n]));return e}},function(e,n,t){e.exports=t(563)},function(e,n,t){"use strict";t.d(n,"b",(function(){return M})),t.d(n,"a",(function(){return w}));t(92);var o=t(79),r=t.n(o),a=(t(104),t(0)),i=t.n(a),s=(t(505),t(506)),c=t.n(s),u=t(507),l=t.n(u);function d(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?d(t,!0).forEach((function(n){r()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(t).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var m,h,f={bindI18n:"languageChanging languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},g=i.a.createContext();function v(){return h}function y(){return f}var b=function(){function e(){c()(this,e),this.usedNamespaces={}}return l()(e,[{key:"addUsedNamespaces",value:function(e){var n=this;e.forEach((function(e){n.usedNamespaces[e]||(n.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function C(){return m}var w={type:"3rdParty",init:function(e){!function(){f=p({},f,{},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}(e.options.react),function(e){m=e}(e)}};function S(){if(console&&console.warn){for(var e,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];"string"===typeof t[0]&&(t[0]="react-i18next:: ".concat(t[0])),(e=console).warn.apply(e,t)}}var _={};function E(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];"string"===typeof n[0]&&_[n[0]]||("string"===typeof n[0]&&(_[n[0]]=new Date),S.apply(void 0,n))}function x(e,n,t){e.loadNamespaces(n,(function(){if(e.isInitialized)t();else{e.on("initialized",(function n(){setTimeout((function(){e.off("initialized",n)}),0),t()}))}}))}function O(e,n){if(!n.languages||!n.languages.length)return E("i18n.languages were undefined or empty",n.languages),!0;var t=n.languages[0],o=!!n.options&&n.options.fallbackLng,r=n.languages[n.languages.length-1];if("cimode"===t.toLowerCase())return!0;var a=function(e,t){var o=n.services.backendConnector.state["".concat(e,"|").concat(t)];return-1===o||2===o};return!!n.hasResourceBundle(t,e)||(!n.services.backendConnector.backend||!(!a(t,e)||o&&!a(r,e)))}var A=t(112),k=t.n(A);function T(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function P(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?T(t,!0).forEach((function(n){r()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):T(t).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function M(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.i18n,o=Object(a.useContext)(g),r=v()&&o||{},i=r.i18n,s=r.defaultNS,c=t||i||C();if(c&&!c.reportNamespaces&&(c.reportNamespaces=new b),!c){E("You will need pass in an i18next instance by using initReactI18next");var u=[function(e){return e},{},!1];return u.t=function(e){return e},u.i18n={},u.ready=!1,u}var l=P({},y(),{},c.options.react),d=n.useSuspense,p=void 0===d?l.useSuspense:d,m=e||s||c.options&&c.options.defaultNS;m="string"===typeof m?[m]:m||["translation"],c.reportNamespaces.addUsedNamespaces&&c.reportNamespaces.addUsedNamespaces(m);var h=(c.isInitialized||c.initializedStoreOnce)&&m.every((function(e){return O(e,c)}));function f(){return{t:c.getFixedT(null,"fallback"===l.nsMode?m:m[0])}}var w=Object(a.useState)(f()),S=k()(w,2),_=S[0],A=S[1];Object(a.useEffect)((function(){var e=!0,n=l.bindI18n,t=l.bindI18nStore;function o(){e&&A(f())}return h||p||x(c,m,(function(){e&&A(f())})),n&&c&&c.on(n,o),t&&c&&c.store.on(t,o),function(){e=!1,n&&c&&n.split(" ").forEach((function(e){return c.off(e,o)})),t&&c&&t.split(" ").forEach((function(e){return c.store.off(e,o)}))}}),[m.join()]);var T=[_.t,c,h];if(T.t=_.t,T.i18n=c,T.ready=h,h)return T;if(!h&&!p)return T;throw new Promise((function(e){x(c,m,(function(){A(f()),e()}))}))}t(508)},function(e,n,t){"use strict";t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return p})),t.d(n,"d",(function(){return v})),t.d(n,"e",(function(){return y})),t.d(n,"f",(function(){return C})),t.d(n,"g",(function(){return b})),t.d(n,"h",(function(){return f})),t.d(n,"i",(function(){return a})),t.d(n,"j",(function(){return s})),t.d(n,"k",(function(){return l})),t.d(n,"l",(function(){return u})),t.d(n,"m",(function(){return g})),t.d(n,"n",(function(){return m})),t.d(n,"o",(function(){return o})),t.d(n,"p",(function(){return i})),t.d(n,"q",(function(){return h}));var o,r,a,i,s,c,u,l,d=t(2),p={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},m={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"};!function(e){e.HandshakeRequest="Handshake",e.HandshakeResponse="HandshakeResponse",e.GetToken="GetToken",e.Response="Response"}(o||(o={})),function(e){e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage"}(r||(r={})),function(e){e.GET="GET",e.POST="POST"}(a||(a={})),function(e){e.AUTHORITY="authority",e.ACQUIRE_TOKEN_ACCOUNT="acquireToken.account",e.SESSION_STATE="session.state",e.REQUEST_STATE="request.state",e.NONCE_IDTOKEN="nonce.id_token",e.ORIGIN_URI="request.origin",e.RENEW_STATUS="token.renew.status",e.URL_HASH="urlHash",e.REQUEST_PARAMS="request.params",e.SCOPES="scopes",e.INTERACTION_STATUS_KEY="interaction.status",e.CCS_CREDENTIAL="ccs.credential",e.CORRELATION_ID="request.correlationId",e.NATIVE_REQUEST="request.native",e.REDIRECT_CONTEXT="request.redirect.context"}(i||(i={})),function(e){e.WRAPPER_SKU="wrapper.sku",e.WRAPPER_VER="wrapper.version"}(s||(s={})),function(e){e[e.acquireTokenRedirect=861]="acquireTokenRedirect",e[e.acquireTokenPopup=862]="acquireTokenPopup",e[e.ssoSilent=863]="ssoSilent",e[e.acquireTokenSilent_authCode=864]="acquireTokenSilent_authCode",e[e.handleRedirectPromise=865]="handleRedirectPromise",e[e.acquireTokenByCode=866]="acquireTokenByCode",e[e.acquireTokenSilent_silentFlow=61]="acquireTokenSilent_silentFlow",e[e.logout=961]="logout",e[e.logoutPopup=962]="logoutPopup"}(c||(c={})),function(e){e.Redirect="redirect",e.Popup="popup",e.Silent="silent",e.None="none"}(u||(u={})),function(e){e.Startup="startup",e.Login="login",e.Logout="logout",e.AcquireToken="acquireToken",e.SsoSilent="ssoSilent",e.HandleRedirect="handleRedirect",e.None="none"}(l||(l={}));var h,f={scopes:d.t},g="jwk";!function(e){e.React="@azure/msal-react",e.Angular="@azure/msal-angular"}(h||(h={}));var v,y="msal.db",b=1,C=y+".keys";!function(e){e[e.Default=0]="Default",e[e.AccessToken=1]="AccessToken",e[e.AccessTokenAndRefreshToken=2]="AccessTokenAndRefreshToken",e[e.RefreshToken=3]="RefreshToken",e[e.RefreshTokenAndNetwork=4]="RefreshTokenAndNetwork",e[e.Skip=5]="Skip"}(v||(v={}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(113);function r(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var t=[],o=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(t.push(i.value),!n||t.length!==n);o=!0);}catch(c){r=!0,a=c}finally{try{o||null==s.return||s.return()}finally{if(r)throw a}}return t}}(e,n)||Object(o.a)(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,n,t){"use strict";function o(e){var n,t,r="";if("string"===typeof e||"number"===typeof e)r+=e;else if("object"===typeof e)if(Array.isArray(e))for(n=0;n<e.length;n++)e[n]&&(t=o(e[n]))&&(r&&(r+=" "),r+=t);else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}n.a=function(){for(var e,n,t=0,r="";t<arguments.length;)(e=arguments[t++])&&(n=o(e))&&(r&&(r+=" "),r+=n);return r}},function(e,n,t){"use strict";function o(e,n,t,o,r,a,i){try{var s=e[a](i),c=s.value}catch(u){return void t(u)}s.done?n(c):Promise.resolve(c).then(o,r)}function r(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var i=e.apply(n,t);function s(e){o(i,r,a,s,c,"next",e)}function c(e){o(i,r,a,s,c,"throw",e)}s(void 0)}))}}t.d(n,"a",(function(){return r}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return i})),t.d(n,"c",(function(){return r})),t.d(n,"d",(function(){return s})),t.d(n,"e",(function(){return c}));var o=function(e,n){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function r(e,n){function t(){this.constructor=e}o(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var a=function(){return(a=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)};function i(e,n,t,o){return new(t||(t=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(n){a(n)}}function s(e){try{c(o.throw(e))}catch(n){a(n)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((o=o.apply(e,n||[])).next())}))}function s(e,n){var t,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(s){a=[6,s],o=0}finally{t=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function c(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var o=Array(e),r=0;for(n=0;n<t;n++)for(var a=arguments[n],i=0,s=a.length;i<s;i++,r++)o[r]=a[i];return o}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s})),t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return u}));var o=t(1),r=function e(){var n=[],t=[],r=new Set,s=function(e){return n.forEach((function(n){e.add(n.middleware,Object(o.__assign)({},n))})),t.forEach((function(n){e.addRelativeTo(n.middleware,Object(o.__assign)({},n))})),e},c=function e(n){var t=[];return n.before.forEach((function(n){0===n.before.length&&0===n.after.length?t.push(n):t.push.apply(t,Object(o.__spread)(e(n)))})),t.push(n),n.after.reverse().forEach((function(n){0===n.before.length&&0===n.after.length?t.push(n):t.push.apply(t,Object(o.__spread)(e(n)))})),t},u=function(){var e,r=[],s=[],u={};return n.forEach((function(e){var n=Object(o.__assign)(Object(o.__assign)({},e),{before:[],after:[]});n.name&&(u[n.name]=n),r.push(n)})),t.forEach((function(e){var n=Object(o.__assign)(Object(o.__assign)({},e),{before:[],after:[]});n.name&&(u[n.name]=n),s.push(n)})),s.forEach((function(e){if(e.toMiddleware){var n=u[e.toMiddleware];if(void 0===n)throw new Error(e.toMiddleware+" is not found when adding "+(e.name||"anonymous")+" middleware "+e.relation+" "+e.toMiddleware);"after"===e.relation&&n.after.push(e),"before"===e.relation&&n.before.push(e)}})),(e=r,e.sort((function(e,n){return a[n.step]-a[e.step]||i[n.priority||"normal"]-i[e.priority||"normal"]}))).map(c).reduce((function(e,n){return e.push.apply(e,Object(o.__spread)(n)),e}),[]).map((function(e){return e.middleware}))},l={add:function(e,t){void 0===t&&(t={});var a=t.name,i=t.override,s=Object(o.__assign)({step:"initialize",priority:"normal",middleware:e},t);if(a){if(r.has(a)){if(!i)throw new Error("Duplicate middleware name '"+a+"'");var c=n.findIndex((function(e){return e.name===a})),u=n[c];if(u.step!==s.step||u.priority!==s.priority)throw new Error('"'+a+'" middleware with '+u.priority+" priority in "+u.step+" step cannot be overridden by same-name middleware with "+s.priority+" priority in "+s.step+" step.");n.splice(c,1)}r.add(a)}n.push(s)},addRelativeTo:function(e,n){var a=n.name,i=n.override,s=Object(o.__assign)({middleware:e},n);if(a){if(r.has(a)){if(!i)throw new Error("Duplicate middleware name '"+a+"'");var c=t.findIndex((function(e){return e.name===a})),u=t[c];if(u.toMiddleware!==s.toMiddleware||u.relation!==s.relation)throw new Error('"'+a+'" middleware '+u.relation+' "'+u.toMiddleware+'" middleware cannot be overridden by same-name middleware '+s.relation+' "'+s.toMiddleware+'" middleware.');t.splice(c,1)}r.add(a)}t.push(s)},clone:function(){return s(e())},use:function(e){e.applyToStack(l)},remove:function(e){return"string"===typeof e?function(e){var o=!1,a=function(n){return!n.name||n.name!==e||(o=!0,r.delete(e),!1)};return n=n.filter(a),t=t.filter(a),o}(e):function(e){var o=!1,a=function(n){return n.middleware!==e||(o=!0,n.name&&r.delete(n.name),!1)};return n=n.filter(a),t=t.filter(a),o}(e)},removeByTag:function(e){var o=!1,a=function(n){var t=n.tags,a=n.name;return!t||!t.includes(e)||(a&&r.delete(a),o=!0,!1)};return n=n.filter(a),t=t.filter(a),o},concat:function(n){var t=s(e());return t.use(n),t},applyToStack:s,resolve:function(e,n){var t,r;try{for(var a=Object(o.__values)(u().reverse()),i=a.next();!i.done;i=a.next()){e=(0,i.value)(e,n)}}catch(s){t={error:s}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return e}};return l},a={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},i={high:3,normal:2,low:1},s=function(){function e(e){this.middlewareStack=r(),this.config=e}return e.prototype.send=function(e,n,t){var o="function"!==typeof n?n:void 0,r="function"===typeof n?n:t,a=e.resolveMiddleware(this.middlewareStack,this.config,o);if(!r)return a(e).then((function(e){return e.output}));a(e).then((function(e){return r(null,e.output)}),(function(e){return r(e)})).catch((function(){}))},e.prototype.destroy=function(){this.config.requestHandler.destroy&&this.config.requestHandler.destroy()},e}(),c=function(){this.middlewareStack=r()};function u(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16)}))}var l=function(){var e=Object.getPrototypeOf(this).constructor,n=Function.bind.apply(String,Object(o.__spread)([null],arguments)),t=new n;return Object.setPrototypeOf(t,e.prototype),t};l.prototype=Object.create(String.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf(l,String);!function(e){function n(){return null!==e&&e.apply(this,arguments)||this}Object(o.__extends)(n,e),n.prototype.deserializeJSON=function(){return JSON.parse(e.prototype.toString.call(this))},n.prototype.toJSON=function(){return e.prototype.toString.call(this)},n.fromObject=function(e){return e instanceof n?e:new n(e instanceof String||"string"===typeof e?e:JSON.stringify(e))}}(l)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t.d(n,"b",(function(){return z})),t.d(n,"c",(function(){return K})),t.d(n,"d",(function(){return Q}));var o=t(0),r=t.n(o),a=(t(111),r.a.createContext(null));var i=function(e){e()},s={notify:function(){}};function c(){var e=i,n=null,t=null;return{clear:function(){n=null,t=null},notify:function(){e((function(){for(var e=n;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=n;t;)e.push(t),t=t.next;return e},subscribe:function(e){var o=!0,r=t={callback:e,next:null,prev:t};return r.prev?r.prev.next=r:n=r,function(){o&&null!==n&&(o=!1,r.next?r.next.prev=r.prev:t=r.prev,r.prev?r.prev.next=r.next:n=r.next)}}}}var u=function(){function e(e,n){this.store=e,this.parentSub=n,this.unsubscribe=null,this.listeners=s,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var n=e.prototype;return n.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},n.notifyNestedSubs=function(){this.listeners.notify()},n.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},n.isSubscribed=function(){return Boolean(this.unsubscribe)},n.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=c())},n.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=s)},e}();var l=function(e){var n=e.store,t=e.context,i=e.children,s=Object(o.useMemo)((function(){var e=new u(n);return e.onStateChange=e.notifyNestedSubs,{store:n,subscription:e}}),[n]),c=Object(o.useMemo)((function(){return n.getState()}),[n]);Object(o.useEffect)((function(){var e=s.subscription;return e.trySubscribe(),c!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,c]);var l=t||a;return r.a.createElement(l.Provider,{value:s},i)},d=t(28);function p(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}var m=t(93),h=t.n(m),f=t(148),g="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?o.useLayoutEffect:o.useEffect,v=[],y=[null,null];function b(e,n){var t=e[1];return[n.payload,t+1]}function C(e,n,t){g((function(){return e.apply(void 0,n)}),t)}function w(e,n,t,o,r,a,i){e.current=o,n.current=r,t.current=!1,a.current&&(a.current=null,i())}function S(e,n,t,o,r,a,i,s,c,u){if(e){var l=!1,d=null,p=function(){if(!l){var e,t,p=n.getState();try{e=o(p,r.current)}catch(m){t=m,d=m}t||(d=null),e===a.current?i.current||c():(a.current=e,s.current=e,i.current=!0,u({type:"STORE_UPDATED",payload:{error:t}}))}};t.onStateChange=p,t.trySubscribe(),p();return function(){if(l=!0,t.tryUnsubscribe(),t.onStateChange=null,d)throw d}}}var _=function(){return[null,0]};function E(e,n){void 0===n&&(n={});var t=n,i=t.getDisplayName,s=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,c=t.methodName,l=void 0===c?"connectAdvanced":c,m=t.renderCountProp,g=void 0===m?void 0:m,E=t.shouldHandleStateChanges,x=void 0===E||E,O=t.storeKey,A=void 0===O?"store":O,k=(t.withRef,t.forwardRef),T=void 0!==k&&k,P=t.context,M=void 0===P?a:P,I=p(t,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),R=M;return function(n){var t=n.displayName||n.name||"Component",a=s(t),i=Object(d.a)({},I,{getDisplayName:s,methodName:l,renderCountProp:g,shouldHandleStateChanges:x,storeKey:A,displayName:a,wrappedComponentName:t,WrappedComponent:n}),c=I.pure;var m=c?o.useMemo:function(e){return e()};function E(t){var a=Object(o.useMemo)((function(){var e=t.forwardedRef,n=p(t,["forwardedRef"]);return[t.context,e,n]}),[t]),s=a[0],c=a[1],l=a[2],h=Object(o.useMemo)((function(){return s&&s.Consumer&&Object(f.isContextConsumer)(r.a.createElement(s.Consumer,null))?s:R}),[s,R]),g=Object(o.useContext)(h),E=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch);Boolean(g)&&Boolean(g.store);var O=E?t.store:g.store,A=Object(o.useMemo)((function(){return function(n){return e(n.dispatch,i)}(O)}),[O]),k=Object(o.useMemo)((function(){if(!x)return y;var e=new u(O,E?null:g.subscription),n=e.notifyNestedSubs.bind(e);return[e,n]}),[O,E,g]),T=k[0],P=k[1],M=Object(o.useMemo)((function(){return E?g:Object(d.a)({},g,{subscription:T})}),[E,g,T]),I=Object(o.useReducer)(b,v,_),j=I[0][0],N=I[1];if(j&&j.error)throw j.error;var L=Object(o.useRef)(),F=Object(o.useRef)(l),U=Object(o.useRef)(),D=Object(o.useRef)(!1),B=m((function(){return U.current&&l===F.current?U.current:A(O.getState(),l)}),[O,j,l]);C(w,[F,L,D,l,B,U,P]),C(S,[x,O,T,A,F,L,D,U,P,N],[O,T,A]);var z=Object(o.useMemo)((function(){return r.a.createElement(n,Object(d.a)({},B,{ref:c}))}),[c,n,B]);return Object(o.useMemo)((function(){return x?r.a.createElement(h.Provider,{value:M},z):z}),[h,z,M])}var O=c?r.a.memo(E):E;if(O.WrappedComponent=n,O.displayName=a,T){var k=r.a.forwardRef((function(e,n){return r.a.createElement(O,Object(d.a)({},e,{forwardedRef:n}))}));return k.displayName=a,k.WrappedComponent=n,h()(k,n)}return h()(O,n)}}function x(e,n){return e===n?0!==e||0!==n||1/e===1/n:e!==e&&n!==n}function O(e,n){if(x(e,n))return!0;if("object"!==typeof e||null===e||"object"!==typeof n||null===n)return!1;var t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(var r=0;r<t.length;r++)if(!Object.prototype.hasOwnProperty.call(n,t[r])||!x(e[t[r]],n[t[r]]))return!1;return!0}var A=t(88);function k(e){return function(n,t){var o=e(n,t);function r(){return o}return r.dependsOnOwnProps=!1,r}}function T(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function P(e,n){return function(n,t){t.displayName;var o=function(e,n){return o.dependsOnOwnProps?o.mapToProps(e,n):o.mapToProps(e)};return o.dependsOnOwnProps=!0,o.mapToProps=function(n,t){o.mapToProps=e,o.dependsOnOwnProps=T(e);var r=o(n,t);return"function"===typeof r&&(o.mapToProps=r,o.dependsOnOwnProps=T(r),r=o(n,t)),r},o}}var M=[function(e){return"function"===typeof e?P(e):void 0},function(e){return e?void 0:k((function(e){return{dispatch:e}}))},function(e){return e&&"object"===typeof e?k((function(n){return Object(A.b)(e,n)})):void 0}];var I=[function(e){return"function"===typeof e?P(e):void 0},function(e){return e?void 0:k((function(){return{}}))}];function R(e,n,t){return Object(d.a)({},t,{},e,{},n)}var j=[function(e){return"function"===typeof e?function(e){return function(n,t){t.displayName;var o,r=t.pure,a=t.areMergedPropsEqual,i=!1;return function(n,t,s){var c=e(n,t,s);return i?r&&a(c,o)||(o=c):(i=!0,o=c),o}}}(e):void 0},function(e){return e?void 0:function(){return R}}];function N(e,n,t,o){return function(r,a){return t(e(r,a),n(o,a),a)}}function L(e,n,t,o,r){var a,i,s,c,u,l=r.areStatesEqual,d=r.areOwnPropsEqual,p=r.areStatePropsEqual,m=!1;function h(r,m){var h=!d(m,i),f=!l(r,a);return a=r,i=m,h&&f?(s=e(a,i),n.dependsOnOwnProps&&(c=n(o,i)),u=t(s,c,i)):h?(e.dependsOnOwnProps&&(s=e(a,i)),n.dependsOnOwnProps&&(c=n(o,i)),u=t(s,c,i)):f?function(){var n=e(a,i),o=!p(n,s);return s=n,o&&(u=t(s,c,i)),u}():u}return function(r,l){return m?h(r,l):(s=e(a=r,i=l),c=n(o,i),u=t(s,c,i),m=!0,u)}}function F(e,n){var t=n.initMapStateToProps,o=n.initMapDispatchToProps,r=n.initMergeProps,a=p(n,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),i=t(e,a),s=o(e,a),c=r(e,a);return(a.pure?L:N)(i,s,c,e,a)}function U(e,n,t){for(var o=n.length-1;o>=0;o--){var r=n[o](e);if(r)return r}return function(n,o){throw new Error("Invalid value of type "+typeof e+" for "+t+" argument when connecting component "+o.wrappedComponentName+".")}}function D(e,n){return e===n}function B(e){var n=void 0===e?{}:e,t=n.connectHOC,o=void 0===t?E:t,r=n.mapStateToPropsFactories,a=void 0===r?I:r,i=n.mapDispatchToPropsFactories,s=void 0===i?M:i,c=n.mergePropsFactories,u=void 0===c?j:c,l=n.selectorFactory,m=void 0===l?F:l;return function(e,n,t,r){void 0===r&&(r={});var i=r,c=i.pure,l=void 0===c||c,h=i.areStatesEqual,f=void 0===h?D:h,g=i.areOwnPropsEqual,v=void 0===g?O:g,y=i.areStatePropsEqual,b=void 0===y?O:y,C=i.areMergedPropsEqual,w=void 0===C?O:C,S=p(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),_=U(e,a,"mapStateToProps"),E=U(n,s,"mapDispatchToProps"),x=U(t,u,"mergeProps");return o(m,Object(d.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:E,initMergeProps:x,pure:l,areStatesEqual:f,areOwnPropsEqual:v,areStatePropsEqual:b,areMergedPropsEqual:w},S))}}var z=B();function V(){return Object(o.useContext)(a)}function G(e){void 0===e&&(e=a);var n=e===a?V:function(){return Object(o.useContext)(e)};return function(){return n().store}}var H=G();function q(e){void 0===e&&(e=a);var n=e===a?H:G(e);return function(){return n().dispatch}}var K=q(),W=function(e,n){return e===n};function $(e){void 0===e&&(e=a);var n=e===a?V:function(){return Object(o.useContext)(e)};return function(e,t){void 0===t&&(t=W);var r=n();return function(e,n,t,r){var a,i=Object(o.useReducer)((function(e){return e+1}),0)[1],s=Object(o.useMemo)((function(){return new u(t,r)}),[t,r]),c=Object(o.useRef)(),l=Object(o.useRef)(),d=Object(o.useRef)();try{a=e!==l.current||c.current?e(t.getState()):d.current}catch(p){throw c.current&&(p.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),p}return g((function(){l.current=e,d.current=a,c.current=void 0})),g((function(){function e(){try{var e=l.current(t.getState());if(n(e,d.current))return;d.current=e}catch(p){c.current=p}i({})}return s.onStateChange=e,s.trySubscribe(),e(),function(){return s.tryUnsubscribe()}}),[t,s]),a}(e,t,r.store,r.subscription)}}var Y,Q=$(),J=t(53);Y=J.unstable_batchedUpdates,i=Y},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return s})),t.d(n,"e",(function(){return c})),t.d(n,"f",(function(){return u})),t.d(n,"g",(function(){return l})),t.d(n,"h",(function(){return d})),t.d(n,"i",(function(){return p})),t.d(n,"j",(function(){return m})),t.d(n,"k",(function(){return h})),t.d(n,"l",(function(){return f})),t.d(n,"m",(function(){return g})),t.d(n,"o",(function(){return v})),t.d(n,"n",(function(){return y})),t.d(n,"p",(function(){return b})),t.d(n,"q",(function(){return C})),t.d(n,"r",(function(){return w})),t.d(n,"s",(function(){return S})),t.d(n,"t",(function(){return _})),t.d(n,"u",(function(){return E})),t.d(n,"v",(function(){return x})),t.d(n,"w",(function(){return O})),t.d(n,"x",(function(){return A})),t.d(n,"y",(function(){return k})),t.d(n,"z",(function(){return T})),t.d(n,"A",(function(){return P})),t.d(n,"B",(function(){return M})),t.d(n,"C",(function(){return I})),t.d(n,"D",(function(){return R})),t.d(n,"E",(function(){return j})),t.d(n,"F",(function(){return N})),t.d(n,"G",(function(){return L})),t.d(n,"H",(function(){return F})),t.d(n,"I",(function(){return U})),t.d(n,"J",(function(){return D})),t.d(n,"K",(function(){return B})),t.d(n,"L",(function(){return z})),t.d(n,"M",(function(){return V})),t.d(n,"N",(function(){return G})),t.d(n,"O",(function(){return H})),t.d(n,"P",(function(){return q})),t.d(n,"Q",(function(){return K})),t.d(n,"R",(function(){return W})),t.d(n,"S",(function(){return $})),t.d(n,"T",(function(){return Y})),t.d(n,"U",(function(){return Q})),t.d(n,"W",(function(){return J})),t.d(n,"V",(function(){return Z})),t.d(n,"X",(function(){return X})),t.d(n,"Y",(function(){return ee})),t.d(n,"Z",(function(){return ne})),t.d(n,"ab",(function(){return te})),t.d(n,"bb",(function(){return oe}));var o=t(0);var r=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{d:"M12 14l9-5-9-5-9 5 9 5z"}),o.createElement("path",{d:"M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"}),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"}))};var a=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"}))};var i=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5l7 7m0 0l-7 7m7-7H3"}))};var s=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"}))};var c=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728A9 9 0 015.636 5.636m12.728 12.728L5.636 5.636"}))};var u=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"}))};var l=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))};var d=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"}))};var p=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 19l-7-7 7-7m8 14l-7-7 7-7"}))};var m=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 5l7 7-7 7M5 5l7 7-7 7"}))};var h=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"}))};var f=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 15l7-7 7 7"}))};var g=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"}))};var v=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 10l-2 1m0 0l-2-1m2 1v2.5M20 7l-2 1m2-1l-2-1m2 1v2.5M14 4l-2-1-2 1M4 7l2-1M4 7l2 1M4 7v2.5M12 21l-2-1m2 1l2-1m-2 1v-2.5M6 18l-2-1v-2.5M18 18l2-1v-2.5"}))};var y=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"}))};var b=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 12h.01M12 12h.01M16 12h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))};var C=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"}))};var w=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"}))};var S=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.172 16.172a4 4 0 015.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))};var _=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"}))};var E=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))};var x=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v13m0-13V6a2 2 0 112 2h-2zm0 0V5.5A2.5 2.5 0 109.5 8H12zm-7 4h14M5 12a2 2 0 110-4h14a2 2 0 110 4M5 12v7a2 2 0 002 2h10a2 2 0 002-2v-7"}))};var O=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))};var A=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"}))};var k=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"}))};var T=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))};var P=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"}))};var M=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1"}))};var I=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"}))};var R=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7"}))};var j=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"}))};var N=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4"}))};var L=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"}))};var F=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z"}))};var U=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 6v6m0 0v6m0-6h6m-6 0H6"}))};var D=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v1m6 11h2m-6 0h-2v4m0-11v3m0 0h.01M12 12h4.01M16 20h4M4 12h4m12 0h.01M5 8h2a1 1 0 001-1V5a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1zm12 0h2a1 1 0 001-1V5a1 1 0 00-1-1h-2a1 1 0 00-1 1v2a1 1 0 001 1zM5 20h2a1 1 0 001-1v-2a1 1 0 00-1-1H5a1 1 0 00-1 1v2a1 1 0 001 1z"}))};var B=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}))};var z=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"}))};var V=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))};var G=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"}))};var H=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"}))};var q=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18.364 5.636a9 9 0 010 12.728m0 0l-2.829-2.829m2.829 2.829L21 21M15.536 8.464a5 5 0 010 7.072m0 0l-2.829-2.829m-4.243 2.829a4.978 4.978 0 01-1.414-2.83m-1.414 5.658a9 9 0 01-2.167-9.238m7.824 2.167a1 1 0 111.414 1.414m-1.414-1.414L3 3m8.293 8.293l1.414 1.414"}))};var K=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.636 18.364a9 9 0 010-12.728m12.728 0a9 9 0 010 12.728m-9.9-2.829a5 5 0 010-7.07m7.072 0a5 5 0 010 7.07M13 12a1 1 0 11-2 0 1 1 0 012 0z"}))};var W=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z"}))};var $=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))};var Y=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"}))};var Q=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"}))};var J=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 7a4 4 0 11-8 0 4 4 0 018 0zM9 14a6 6 0 00-6 6v1h12v-1a6 6 0 00-6-6zM21 12h-6"}))};var Z=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"}))};var X=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"}))};var ee=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 10h16M4 14h16M4 18h16"}))};var ne=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.536 8.464a5 5 0 010 7.072m2.828-9.9a9 9 0 010 12.728M5.586 15H4a1 1 0 01-1-1v-4a1 1 0 011-1h1.586l4.707-4.707C10.923 3.663 12 4.109 12 5v14c0 .891-1.077 1.337-1.707.707L5.586 15z"}))};var te=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z"}))};var oe=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},e),o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}))}},function(e,n,t){!function(e){"use strict";function n(e,n){return void 0===n&&(n=1),null==e}function t(e){throw void 0===e&&(e=1),new Error("Argument "+e+" is empty.")}function o(e){return"function"==typeof e&&"getType"in e}function r(e){throw void 0===e&&(e=1),new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions"')}function a(e,n){if(null==e)throw new Error("Argument contains array with empty element at index "+n);if(null==e.getType)throw new Error("Argument contains array with invalid element at index "+n+', it should be an action-creator instance from "typesafe-actions"')}function i(e){return"string"==typeof e||"symbol"==typeof e}function s(e){return!i(e)}function c(e){throw void 0===e&&(e=1),new Error("Argument "+e+" is invalid, it should be an action type of type: string | symbol")}function u(e,n){if(null==e)throw new Error("Argument contains array with empty element at index "+n);if("string"!=typeof e&&"symbol"!=typeof e)throw new Error("Argument contains array with invalid element at index "+n+", it should be of type: string | symbol")}function l(e,o,a,i){return n(e)&&t(1),s(e)&&r(1),{type:e,payload:o,meta:a,error:i}}function d(e,o){n(e)&&t(1),s(e)&&c(1);var r=null!=o?o(e):function(){return{type:e}};return Object.assign(r,{getType:function(){return e},toString:function(){return e}})}function p(e){return n(e)&&t(1),s(e)&&c(1),Object.assign((function(){return d(e,(function(e){return function(n,t){return{type:e,payload:n,meta:t}}}))}),{map:function(n){return d(e,(function(e){return function(t,o){return Object.assign(n(t,o),{type:e})}}))}})}function m(e){return n(e)&&t(1),o(e)||r(1),e.getType()}e.action=l,e.createAction=function(e,n){var t=null==n?function(){return l(e)}:n(l.bind(null,e));return Object.assign(t,{getType:function(){return e},toString:function(){return e}})},e.createActionDeprecated=function(e,n){var t;if(null!=n){if("function"!=typeof n)throw new Error("second argument is not a function");t=n}else t=function(){return{type:e}};if(null==e)throw new Error("first argument is missing");if("string"!=typeof e&&"symbol"!=typeof e)throw new Error("first argument should be type of: string | symbol");return t},e.createAsyncAction=function(e,n,t,o){return[e,n,t].forEach(u),Object.assign((function(){return{request:p(e)(),success:p(n)(),failure:p(t)(),cancel:o&&p(o)()}}),{})},e.createCustomAction=d,e.createReducer=function e(n,t){void 0===t&&(t={});var r=Object.assign({},t);return Object.assign((function(e,t){if(void 0===e&&(e=n),r.hasOwnProperty(t.type)){var o=r[t.type];if("function"!=typeof o)throw Error('Reducer under "'+t.type+'" key is not a valid reducer');return o(e,t)}return e}),{handlers:Object.assign({},r),handleAction:function(t,a){var s=Array.isArray(t)?t:[t],c={};return s.map((function(e){return o(e)?m(e):i(e)?e:function(e){throw void 0===e&&(e=1),new Error("Argument "+e+' is invalid, it should be an action-creator instance from "typesafe-actions" or action type of type: string | symbol')}()})).forEach((function(e){return c[e]=a})),e(n,Object.assign({},r,c))}})},e.createStandardAction=p,e.getType=m,e.isActionOf=function(e,o){n(e)&&t(1);var r=Array.isArray(e)?e:[e];r.forEach(a);var i=function(e){return r.some((function(n){return e.type===n.getType()}))};return void 0===o?i:i(o)},e.isOfType=function(e,o){n(e)&&t(1);var r=Array.isArray(e)?e:[e];r.forEach(u);var a=function(e){return r.includes(e.type)};return void 0===o?a:a(o)}}(n)},function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return a}));var o=function(){function e(e){this.statusCode=e.statusCode,this.headers=e.headers||{},this.body=e.body}return e.isInstance=function(e){if(!e)return!1;var n=e;return"number"===typeof n.statusCode&&"object"===typeof n.headers},e}(),r=t(1),a=function(){function e(e){this.method=e.method||"GET",this.hostname=e.hostname||"localhost",this.port=e.port,this.query=e.query||{},this.headers=e.headers||{},this.body=e.body,this.protocol=e.protocol?":"!==e.protocol.substr(-1)?e.protocol+":":e.protocol:"https:",this.path=e.path?"/"!==e.path.charAt(0)?"/"+e.path:e.path:"/"}return e.isInstance=function(e){if(!e)return!1;var n=e;return"method"in n&&"protocol"in n&&"hostname"in n&&"path"in n&&"object"===typeof n.query&&"object"===typeof n.headers},e.prototype.clone=function(){var n,t=new e(Object(r.__assign)(Object(r.__assign)({},this),{headers:Object(r.__assign)({},this.headers)}));return t.query&&(t.query=(n=t.query,Object.keys(n).reduce((function(e,t){var o,a=n[t];return Object(r.__assign)(Object(r.__assign)({},e),((o={})[t]=Array.isArray(a)?Object(r.__spread)(a):a,o))}),{}))),t},e}()},function(e,n,t){"use strict";function o(){return(o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function r(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}function a(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function i(e,n){var t;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"===typeof e)return a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?a(e,n):void 0}}(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r}))},function(e,n,t){(function(e,o){var r;(function(){var a,i="Expected a function",s="__lodash_hash_undefined__",c="__lodash_placeholder__",u=16,l=32,d=64,p=128,m=256,h=1/0,f=9007199254740991,g=NaN,v=4294967295,y=[["ary",p],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",l],["partialRight",d],["rearg",m]],b="[object Arguments]",C="[object Array]",w="[object Boolean]",S="[object Date]",_="[object Error]",E="[object Function]",x="[object GeneratorFunction]",O="[object Map]",A="[object Number]",k="[object Object]",T="[object Promise]",P="[object RegExp]",M="[object Set]",I="[object String]",R="[object Symbol]",j="[object WeakMap]",N="[object ArrayBuffer]",L="[object DataView]",F="[object Float32Array]",U="[object Float64Array]",D="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",V="[object Uint8Array]",G="[object Uint8ClampedArray]",H="[object Uint16Array]",q="[object Uint32Array]",K=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Y=/&(?:amp|lt|gt|quot|#39);/g,Q=/[&<>"']/g,J=RegExp(Y.source),Z=RegExp(Q.source),X=/<%-([\s\S]+?)%>/g,ee=/<%([\s\S]+?)%>/g,ne=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,oe=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ae=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(ae.source),se=/^\s+|\s+$/g,ce=/^\s+/,ue=/\s+$/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,de=/\{\n\/\* \[wrapped with (.+)\] \*/,pe=/,? & /,me=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,ve=/^[-+]0x[0-9a-f]+$/i,ye=/^0b[01]+$/i,be=/^\[object .+?Constructor\]$/,Ce=/^0o[0-7]+$/i,we=/^(?:0|[1-9]\d*)$/,Se=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,xe="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Ae="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Pe="\\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",Me="['\u2019]",Ie="[\\ud800-\\udfff]",Re="["+Pe+"]",je="["+xe+"]",Ne="\\d+",Le="[\\u2700-\\u27bf]",Fe="["+Ae+"]",Ue="[^\\ud800-\\udfff"+Pe+Ne+Oe+Ae+ke+"]",De="\\ud83c[\\udffb-\\udfff]",Be="[^\\ud800-\\udfff]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="["+ke+"]",He="(?:"+Fe+"|"+Ue+")",qe="(?:"+Ge+"|"+Ue+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",We="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+je+"|"+De+")"+"?",Ye="[\\ufe0e\\ufe0f]?",Qe=Ye+$e+("(?:\\u200d(?:"+[Be,ze,Ve].join("|")+")"+Ye+$e+")*"),Je="(?:"+[Le,ze,Ve].join("|")+")"+Qe,Ze="(?:"+[Be+je+"?",je,ze,Ve,Ie].join("|")+")",Xe=RegExp(Me,"g"),en=RegExp(je,"g"),nn=RegExp(De+"(?="+De+")|"+Ze+Qe,"g"),tn=RegExp([Ge+"?"+Fe+"+"+Ke+"(?="+[Re,Ge,"$"].join("|")+")",qe+"+"+We+"(?="+[Re,Ge+He,"$"].join("|")+")",Ge+"?"+He+"+"+Ke,Ge+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ne,Je].join("|"),"g"),on=RegExp("[\\u200d\\ud800-\\udfff"+xe+Te+"]"),rn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,an=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],sn=-1,cn={};cn[F]=cn[U]=cn[D]=cn[B]=cn[z]=cn[V]=cn[G]=cn[H]=cn[q]=!0,cn[b]=cn[C]=cn[N]=cn[w]=cn[L]=cn[S]=cn[_]=cn[E]=cn[O]=cn[A]=cn[k]=cn[P]=cn[M]=cn[I]=cn[j]=!1;var un={};un[b]=un[C]=un[N]=un[L]=un[w]=un[S]=un[F]=un[U]=un[D]=un[B]=un[z]=un[O]=un[A]=un[k]=un[P]=un[M]=un[I]=un[R]=un[V]=un[G]=un[H]=un[q]=!0,un[_]=un[E]=un[j]=!1;var ln={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},dn=parseFloat,pn=parseInt,mn="object"==typeof e&&e&&e.Object===Object&&e,hn="object"==typeof self&&self&&self.Object===Object&&self,fn=mn||hn||Function("return this")(),gn=n&&!n.nodeType&&n,vn=gn&&"object"==typeof o&&o&&!o.nodeType&&o,yn=vn&&vn.exports===gn,bn=yn&&mn.process,Cn=function(){try{var e=vn&&vn.require&&vn.require("util").types;return e||bn&&bn.binding&&bn.binding("util")}catch(n){}}(),wn=Cn&&Cn.isArrayBuffer,Sn=Cn&&Cn.isDate,_n=Cn&&Cn.isMap,En=Cn&&Cn.isRegExp,xn=Cn&&Cn.isSet,On=Cn&&Cn.isTypedArray;function An(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}function kn(e,n,t,o){for(var r=-1,a=null==e?0:e.length;++r<a;){var i=e[r];n(o,i,t(i),e)}return o}function Tn(e,n){for(var t=-1,o=null==e?0:e.length;++t<o&&!1!==n(e[t],t,e););return e}function Pn(e,n){for(var t=null==e?0:e.length;t--&&!1!==n(e[t],t,e););return e}function Mn(e,n){for(var t=-1,o=null==e?0:e.length;++t<o;)if(!n(e[t],t,e))return!1;return!0}function In(e,n){for(var t=-1,o=null==e?0:e.length,r=0,a=[];++t<o;){var i=e[t];n(i,t,e)&&(a[r++]=i)}return a}function Rn(e,n){return!!(null==e?0:e.length)&&Gn(e,n,0)>-1}function jn(e,n,t){for(var o=-1,r=null==e?0:e.length;++o<r;)if(t(n,e[o]))return!0;return!1}function Nn(e,n){for(var t=-1,o=null==e?0:e.length,r=Array(o);++t<o;)r[t]=n(e[t],t,e);return r}function Ln(e,n){for(var t=-1,o=n.length,r=e.length;++t<o;)e[r+t]=n[t];return e}function Fn(e,n,t,o){var r=-1,a=null==e?0:e.length;for(o&&a&&(t=e[++r]);++r<a;)t=n(t,e[r],r,e);return t}function Un(e,n,t,o){var r=null==e?0:e.length;for(o&&r&&(t=e[--r]);r--;)t=n(t,e[r],r,e);return t}function Dn(e,n){for(var t=-1,o=null==e?0:e.length;++t<o;)if(n(e[t],t,e))return!0;return!1}var Bn=Wn("length");function zn(e,n,t){var o;return t(e,(function(e,t,r){if(n(e,t,r))return o=t,!1})),o}function Vn(e,n,t,o){for(var r=e.length,a=t+(o?1:-1);o?a--:++a<r;)if(n(e[a],a,e))return a;return-1}function Gn(e,n,t){return n===n?function(e,n,t){var o=t-1,r=e.length;for(;++o<r;)if(e[o]===n)return o;return-1}(e,n,t):Vn(e,qn,t)}function Hn(e,n,t,o){for(var r=t-1,a=e.length;++r<a;)if(o(e[r],n))return r;return-1}function qn(e){return e!==e}function Kn(e,n){var t=null==e?0:e.length;return t?Qn(e,n)/t:g}function Wn(e){return function(n){return null==n?a:n[e]}}function $n(e){return function(n){return null==e?a:e[n]}}function Yn(e,n,t,o,r){return r(e,(function(e,r,a){t=o?(o=!1,e):n(t,e,r,a)})),t}function Qn(e,n){for(var t,o=-1,r=e.length;++o<r;){var i=n(e[o]);i!==a&&(t=t===a?i:t+i)}return t}function Jn(e,n){for(var t=-1,o=Array(e);++t<e;)o[t]=n(t);return o}function Zn(e){return function(n){return e(n)}}function Xn(e,n){return Nn(n,(function(n){return e[n]}))}function et(e,n){return e.has(n)}function nt(e,n){for(var t=-1,o=e.length;++t<o&&Gn(n,e[t],0)>-1;);return t}function tt(e,n){for(var t=e.length;t--&&Gn(n,e[t],0)>-1;);return t}function ot(e,n){for(var t=e.length,o=0;t--;)e[t]===n&&++o;return o}var rt=$n({"\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":"c","\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"}),at=$n({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function it(e){return"\\"+ln[e]}function st(e){return on.test(e)}function ct(e){var n=-1,t=Array(e.size);return e.forEach((function(e,o){t[++n]=[o,e]})),t}function ut(e,n){return function(t){return e(n(t))}}function lt(e,n){for(var t=-1,o=e.length,r=0,a=[];++t<o;){var i=e[t];i!==n&&i!==c||(e[t]=c,a[r++]=t)}return a}function dt(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t}function pt(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=[e,e]})),t}function mt(e){return st(e)?function(e){var n=nn.lastIndex=0;for(;nn.test(e);)++n;return n}(e):Bn(e)}function ht(e){return st(e)?function(e){return e.match(nn)||[]}(e):function(e){return e.split("")}(e)}var ft=$n({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var gt=function e(n){var t=(n=null==n?fn:gt.defaults(fn.Object(),n,gt.pick(fn,an))).Array,o=n.Date,r=n.Error,xe=n.Function,Oe=n.Math,Ae=n.Object,ke=n.RegExp,Te=n.String,Pe=n.TypeError,Me=t.prototype,Ie=xe.prototype,Re=Ae.prototype,je=n["__core-js_shared__"],Ne=Ie.toString,Le=Re.hasOwnProperty,Fe=0,Ue=function(){var e=/[^.]+$/.exec(je&&je.keys&&je.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),De=Re.toString,Be=Ne.call(Ae),ze=fn._,Ve=ke("^"+Ne.call(Le).replace(ae,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=yn?n.Buffer:a,He=n.Symbol,qe=n.Uint8Array,Ke=Ge?Ge.allocUnsafe:a,We=ut(Ae.getPrototypeOf,Ae),$e=Ae.create,Ye=Re.propertyIsEnumerable,Qe=Me.splice,Je=He?He.isConcatSpreadable:a,Ze=He?He.iterator:a,nn=He?He.toStringTag:a,on=function(){try{var e=pa(Ae,"defineProperty");return e({},"",{}),e}catch(n){}}(),ln=n.clearTimeout!==fn.clearTimeout&&n.clearTimeout,mn=o&&o.now!==fn.Date.now&&o.now,hn=n.setTimeout!==fn.setTimeout&&n.setTimeout,gn=Oe.ceil,vn=Oe.floor,bn=Ae.getOwnPropertySymbols,Cn=Ge?Ge.isBuffer:a,Bn=n.isFinite,$n=Me.join,vt=ut(Ae.keys,Ae),yt=Oe.max,bt=Oe.min,Ct=o.now,wt=n.parseInt,St=Oe.random,_t=Me.reverse,Et=pa(n,"DataView"),xt=pa(n,"Map"),Ot=pa(n,"Promise"),At=pa(n,"Set"),kt=pa(n,"WeakMap"),Tt=pa(Ae,"create"),Pt=kt&&new kt,Mt={},It=Da(Et),Rt=Da(xt),jt=Da(Ot),Nt=Da(At),Lt=Da(kt),Ft=He?He.prototype:a,Ut=Ft?Ft.valueOf:a,Dt=Ft?Ft.toString:a;function Bt(e){if(ts(e)&&!qi(e)&&!(e instanceof Ht)){if(e instanceof Gt)return e;if(Le.call(e,"__wrapped__"))return Ba(e)}return new Gt(e)}var zt=function(){function e(){}return function(n){if(!ns(n))return{};if($e)return $e(n);e.prototype=n;var t=new e;return e.prototype=a,t}}();function Vt(){}function Gt(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=a}function Ht(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=v,this.__views__=[]}function qt(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var o=e[n];this.set(o[0],o[1])}}function Kt(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var o=e[n];this.set(o[0],o[1])}}function Wt(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var o=e[n];this.set(o[0],o[1])}}function $t(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new Wt;++n<t;)this.add(e[n])}function Yt(e){var n=this.__data__=new Kt(e);this.size=n.size}function Qt(e,n){var t=qi(e),o=!t&&Hi(e),r=!t&&!o&&Yi(e),a=!t&&!o&&!r&&ls(e),i=t||o||r||a,s=i?Jn(e.length,Te):[],c=s.length;for(var u in e)!n&&!Le.call(e,u)||i&&("length"==u||r&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||ba(u,c))||s.push(u);return s}function Jt(e){var n=e.length;return n?e[Yo(0,n-1)]:a}function Zt(e,n){return La(Pr(e),so(n,0,e.length))}function Xt(e){return La(Pr(e))}function eo(e,n,t){(t!==a&&!zi(e[n],t)||t===a&&!(n in e))&&ao(e,n,t)}function no(e,n,t){var o=e[n];Le.call(e,n)&&zi(o,t)&&(t!==a||n in e)||ao(e,n,t)}function to(e,n){for(var t=e.length;t--;)if(zi(e[t][0],n))return t;return-1}function oo(e,n,t,o){return mo(e,(function(e,r,a){n(o,e,t(e),a)})),o}function ro(e,n){return e&&Mr(n,Is(n),e)}function ao(e,n,t){"__proto__"==n&&on?on(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function io(e,n){for(var o=-1,r=n.length,i=t(r),s=null==e;++o<r;)i[o]=s?a:As(e,n[o]);return i}function so(e,n,t){return e===e&&(t!==a&&(e=e<=t?e:t),n!==a&&(e=e>=n?e:n)),e}function co(e,n,t,o,r,i){var s,c=1&n,u=2&n,l=4&n;if(t&&(s=r?t(e,o,r,i):t(e)),s!==a)return s;if(!ns(e))return e;var d=qi(e);if(d){if(s=function(e){var n=e.length,t=new e.constructor(n);n&&"string"==typeof e[0]&&Le.call(e,"index")&&(t.index=e.index,t.input=e.input);return t}(e),!c)return Pr(e,s)}else{var p=fa(e),m=p==E||p==x;if(Yi(e))return Er(e,c);if(p==k||p==b||m&&!r){if(s=u||m?{}:va(e),!c)return u?function(e,n){return Mr(e,ha(e),n)}(e,function(e,n){return e&&Mr(n,Rs(n),e)}(s,e)):function(e,n){return Mr(e,ma(e),n)}(e,ro(s,e))}else{if(!un[p])return r?e:{};s=function(e,n,t){var o=e.constructor;switch(n){case N:return xr(e);case w:case S:return new o(+e);case L:return function(e,n){var t=n?xr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.byteLength)}(e,t);case F:case U:case D:case B:case z:case V:case G:case H:case q:return Or(e,t);case O:return new o;case A:case I:return new o(e);case P:return function(e){var n=new e.constructor(e.source,ge.exec(e));return n.lastIndex=e.lastIndex,n}(e);case M:return new o;case R:return r=e,Ut?Ae(Ut.call(r)):{}}var r}(e,p,c)}}i||(i=new Yt);var h=i.get(e);if(h)return h;i.set(e,s),ss(e)?e.forEach((function(o){s.add(co(o,n,t,o,e,i))})):os(e)&&e.forEach((function(o,r){s.set(r,co(o,n,t,r,e,i))}));var f=d?a:(l?u?aa:ra:u?Rs:Is)(e);return Tn(f||e,(function(o,r){f&&(o=e[r=o]),no(s,r,co(o,n,t,r,e,i))})),s}function uo(e,n,t){var o=t.length;if(null==e)return!o;for(e=Ae(e);o--;){var r=t[o],i=n[r],s=e[r];if(s===a&&!(r in e)||!i(s))return!1}return!0}function lo(e,n,t){if("function"!=typeof e)throw new Pe(i);return Ia((function(){e.apply(a,t)}),n)}function po(e,n,t,o){var r=-1,a=Rn,i=!0,s=e.length,c=[],u=n.length;if(!s)return c;t&&(n=Nn(n,Zn(t))),o?(a=jn,i=!1):n.length>=200&&(a=et,i=!1,n=new $t(n));e:for(;++r<s;){var l=e[r],d=null==t?l:t(l);if(l=o||0!==l?l:0,i&&d===d){for(var p=u;p--;)if(n[p]===d)continue e;c.push(l)}else a(n,d,o)||c.push(l)}return c}Bt.templateSettings={escape:X,evaluate:ee,interpolate:ne,variable:"",imports:{_:Bt}},Bt.prototype=Vt.prototype,Bt.prototype.constructor=Bt,Gt.prototype=zt(Vt.prototype),Gt.prototype.constructor=Gt,Ht.prototype=zt(Vt.prototype),Ht.prototype.constructor=Ht,qt.prototype.clear=function(){this.__data__=Tt?Tt(null):{},this.size=0},qt.prototype.delete=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n},qt.prototype.get=function(e){var n=this.__data__;if(Tt){var t=n[e];return t===s?a:t}return Le.call(n,e)?n[e]:a},qt.prototype.has=function(e){var n=this.__data__;return Tt?n[e]!==a:Le.call(n,e)},qt.prototype.set=function(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Tt&&n===a?s:n,this},Kt.prototype.clear=function(){this.__data__=[],this.size=0},Kt.prototype.delete=function(e){var n=this.__data__,t=to(n,e);return!(t<0)&&(t==n.length-1?n.pop():Qe.call(n,t,1),--this.size,!0)},Kt.prototype.get=function(e){var n=this.__data__,t=to(n,e);return t<0?a:n[t][1]},Kt.prototype.has=function(e){return to(this.__data__,e)>-1},Kt.prototype.set=function(e,n){var t=this.__data__,o=to(t,e);return o<0?(++this.size,t.push([e,n])):t[o][1]=n,this},Wt.prototype.clear=function(){this.size=0,this.__data__={hash:new qt,map:new(xt||Kt),string:new qt}},Wt.prototype.delete=function(e){var n=la(this,e).delete(e);return this.size-=n?1:0,n},Wt.prototype.get=function(e){return la(this,e).get(e)},Wt.prototype.has=function(e){return la(this,e).has(e)},Wt.prototype.set=function(e,n){var t=la(this,e),o=t.size;return t.set(e,n),this.size+=t.size==o?0:1,this},$t.prototype.add=$t.prototype.push=function(e){return this.__data__.set(e,s),this},$t.prototype.has=function(e){return this.__data__.has(e)},Yt.prototype.clear=function(){this.__data__=new Kt,this.size=0},Yt.prototype.delete=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},Yt.prototype.get=function(e){return this.__data__.get(e)},Yt.prototype.has=function(e){return this.__data__.has(e)},Yt.prototype.set=function(e,n){var t=this.__data__;if(t instanceof Kt){var o=t.__data__;if(!xt||o.length<199)return o.push([e,n]),this.size=++t.size,this;t=this.__data__=new Wt(o)}return t.set(e,n),this.size=t.size,this};var mo=jr(wo),ho=jr(So,!0);function fo(e,n){var t=!0;return mo(e,(function(e,o,r){return t=!!n(e,o,r)})),t}function go(e,n,t){for(var o=-1,r=e.length;++o<r;){var i=e[o],s=n(i);if(null!=s&&(c===a?s===s&&!us(s):t(s,c)))var c=s,u=i}return u}function vo(e,n){var t=[];return mo(e,(function(e,o,r){n(e,o,r)&&t.push(e)})),t}function yo(e,n,t,o,r){var a=-1,i=e.length;for(t||(t=ya),r||(r=[]);++a<i;){var s=e[a];n>0&&t(s)?n>1?yo(s,n-1,t,o,r):Ln(r,s):o||(r[r.length]=s)}return r}var bo=Nr(),Co=Nr(!0);function wo(e,n){return e&&bo(e,n,Is)}function So(e,n){return e&&Co(e,n,Is)}function _o(e,n){return In(n,(function(n){return Zi(e[n])}))}function Eo(e,n){for(var t=0,o=(n=Cr(n,e)).length;null!=e&&t<o;)e=e[Ua(n[t++])];return t&&t==o?e:a}function xo(e,n,t){var o=n(e);return qi(e)?o:Ln(o,t(e))}function Oo(e){return null==e?e===a?"[object Undefined]":"[object Null]":nn&&nn in Ae(e)?function(e){var n=Le.call(e,nn),t=e[nn];try{e[nn]=a;var o=!0}catch(i){}var r=De.call(e);o&&(n?e[nn]=t:delete e[nn]);return r}(e):function(e){return De.call(e)}(e)}function Ao(e,n){return e>n}function ko(e,n){return null!=e&&Le.call(e,n)}function To(e,n){return null!=e&&n in Ae(e)}function Po(e,n,o){for(var r=o?jn:Rn,i=e[0].length,s=e.length,c=s,u=t(s),l=1/0,d=[];c--;){var p=e[c];c&&n&&(p=Nn(p,Zn(n))),l=bt(p.length,l),u[c]=!o&&(n||i>=120&&p.length>=120)?new $t(c&&p):a}p=e[0];var m=-1,h=u[0];e:for(;++m<i&&d.length<l;){var f=p[m],g=n?n(f):f;if(f=o||0!==f?f:0,!(h?et(h,g):r(d,g,o))){for(c=s;--c;){var v=u[c];if(!(v?et(v,g):r(e[c],g,o)))continue e}h&&h.push(g),d.push(f)}}return d}function Mo(e,n,t){var o=null==(e=ka(e,n=Cr(n,e)))?e:e[Ua(Ja(n))];return null==o?a:An(o,e,t)}function Io(e){return ts(e)&&Oo(e)==b}function Ro(e,n,t,o,r){return e===n||(null==e||null==n||!ts(e)&&!ts(n)?e!==e&&n!==n:function(e,n,t,o,r,i){var s=qi(e),c=qi(n),u=s?C:fa(e),l=c?C:fa(n),d=(u=u==b?k:u)==k,p=(l=l==b?k:l)==k,m=u==l;if(m&&Yi(e)){if(!Yi(n))return!1;s=!0,d=!1}if(m&&!d)return i||(i=new Yt),s||ls(e)?ta(e,n,t,o,r,i):function(e,n,t,o,r,a,i){switch(t){case L:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case N:return!(e.byteLength!=n.byteLength||!a(new qe(e),new qe(n)));case w:case S:case A:return zi(+e,+n);case _:return e.name==n.name&&e.message==n.message;case P:case I:return e==n+"";case O:var s=ct;case M:var c=1&o;if(s||(s=dt),e.size!=n.size&&!c)return!1;var u=i.get(e);if(u)return u==n;o|=2,i.set(e,n);var l=ta(s(e),s(n),o,r,a,i);return i.delete(e),l;case R:if(Ut)return Ut.call(e)==Ut.call(n)}return!1}(e,n,u,t,o,r,i);if(!(1&t)){var h=d&&Le.call(e,"__wrapped__"),f=p&&Le.call(n,"__wrapped__");if(h||f){var g=h?e.value():e,v=f?n.value():n;return i||(i=new Yt),r(g,v,t,o,i)}}if(!m)return!1;return i||(i=new Yt),function(e,n,t,o,r,i){var s=1&t,c=ra(e),u=c.length,l=ra(n).length;if(u!=l&&!s)return!1;var d=u;for(;d--;){var p=c[d];if(!(s?p in n:Le.call(n,p)))return!1}var m=i.get(e);if(m&&i.get(n))return m==n;var h=!0;i.set(e,n),i.set(n,e);var f=s;for(;++d<u;){var g=e[p=c[d]],v=n[p];if(o)var y=s?o(v,g,p,n,e,i):o(g,v,p,e,n,i);if(!(y===a?g===v||r(g,v,t,o,i):y)){h=!1;break}f||(f="constructor"==p)}if(h&&!f){var b=e.constructor,C=n.constructor;b==C||!("constructor"in e)||!("constructor"in n)||"function"==typeof b&&b instanceof b&&"function"==typeof C&&C instanceof C||(h=!1)}return i.delete(e),i.delete(n),h}(e,n,t,o,r,i)}(e,n,t,o,Ro,r))}function jo(e,n,t,o){var r=t.length,i=r,s=!o;if(null==e)return!i;for(e=Ae(e);r--;){var c=t[r];if(s&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++r<i;){var u=(c=t[r])[0],l=e[u],d=c[1];if(s&&c[2]){if(l===a&&!(u in e))return!1}else{var p=new Yt;if(o)var m=o(l,d,u,e,n,p);if(!(m===a?Ro(d,l,3,o,p):m))return!1}}return!0}function No(e){return!(!ns(e)||(n=e,Ue&&Ue in n))&&(Zi(e)?Ve:be).test(Da(e));var n}function Lo(e){return"function"==typeof e?e:null==e?rc:"object"==typeof e?qi(e)?Vo(e[0],e[1]):zo(e):mc(e)}function Fo(e){if(!Ea(e))return vt(e);var n=[];for(var t in Ae(e))Le.call(e,t)&&"constructor"!=t&&n.push(t);return n}function Uo(e){if(!ns(e))return function(e){var n=[];if(null!=e)for(var t in Ae(e))n.push(t);return n}(e);var n=Ea(e),t=[];for(var o in e)("constructor"!=o||!n&&Le.call(e,o))&&t.push(o);return t}function Do(e,n){return e<n}function Bo(e,n){var o=-1,r=Wi(e)?t(e.length):[];return mo(e,(function(e,t,a){r[++o]=n(e,t,a)})),r}function zo(e){var n=da(e);return 1==n.length&&n[0][2]?Oa(n[0][0],n[0][1]):function(t){return t===e||jo(t,e,n)}}function Vo(e,n){return wa(e)&&xa(n)?Oa(Ua(e),n):function(t){var o=As(t,e);return o===a&&o===n?ks(t,e):Ro(n,o,3)}}function Go(e,n,t,o,r){e!==n&&bo(n,(function(i,s){if(r||(r=new Yt),ns(i))!function(e,n,t,o,r,i,s){var c=Pa(e,t),u=Pa(n,t),l=s.get(u);if(l)return void eo(e,t,l);var d=i?i(c,u,t+"",e,n,s):a,p=d===a;if(p){var m=qi(u),h=!m&&Yi(u),f=!m&&!h&&ls(u);d=u,m||h||f?qi(c)?d=c:$i(c)?d=Pr(c):h?(p=!1,d=Er(u,!0)):f?(p=!1,d=Or(u,!0)):d=[]:as(u)||Hi(u)?(d=c,Hi(c)?d=ys(c):ns(c)&&!Zi(c)||(d=va(u))):p=!1}p&&(s.set(u,d),r(d,u,o,i,s),s.delete(u));eo(e,t,d)}(e,n,s,t,Go,o,r);else{var c=o?o(Pa(e,s),i,s+"",e,n,r):a;c===a&&(c=i),eo(e,s,c)}}),Rs)}function Ho(e,n){var t=e.length;if(t)return ba(n+=n<0?t:0,t)?e[n]:a}function qo(e,n,t){var o=-1;return n=Nn(n.length?n:[rc],Zn(ua())),function(e,n){var t=e.length;for(e.sort(n);t--;)e[t]=e[t].value;return e}(Bo(e,(function(e,t,r){return{criteria:Nn(n,(function(n){return n(e)})),index:++o,value:e}})),(function(e,n){return function(e,n,t){var o=-1,r=e.criteria,a=n.criteria,i=r.length,s=t.length;for(;++o<i;){var c=Ar(r[o],a[o]);if(c)return o>=s?c:c*("desc"==t[o]?-1:1)}return e.index-n.index}(e,n,t)}))}function Ko(e,n,t){for(var o=-1,r=n.length,a={};++o<r;){var i=n[o],s=Eo(e,i);t(s,i)&&er(a,Cr(i,e),s)}return a}function Wo(e,n,t,o){var r=o?Hn:Gn,a=-1,i=n.length,s=e;for(e===n&&(n=Pr(n)),t&&(s=Nn(e,Zn(t)));++a<i;)for(var c=0,u=n[a],l=t?t(u):u;(c=r(s,l,c,o))>-1;)s!==e&&Qe.call(s,c,1),Qe.call(e,c,1);return e}function $o(e,n){for(var t=e?n.length:0,o=t-1;t--;){var r=n[t];if(t==o||r!==a){var a=r;ba(r)?Qe.call(e,r,1):pr(e,r)}}return e}function Yo(e,n){return e+vn(St()*(n-e+1))}function Qo(e,n){var t="";if(!e||n<1||n>f)return t;do{n%2&&(t+=e),(n=vn(n/2))&&(e+=e)}while(n);return t}function Jo(e,n){return Ra(Aa(e,n,rc),e+"")}function Zo(e){return Jt(zs(e))}function Xo(e,n){var t=zs(e);return La(t,so(n,0,t.length))}function er(e,n,t,o){if(!ns(e))return e;for(var r=-1,i=(n=Cr(n,e)).length,s=i-1,c=e;null!=c&&++r<i;){var u=Ua(n[r]),l=t;if(r!=s){var d=c[u];(l=o?o(d,u,c):a)===a&&(l=ns(d)?d:ba(n[r+1])?[]:{})}no(c,u,l),c=c[u]}return e}var nr=Pt?function(e,n){return Pt.set(e,n),e}:rc,tr=on?function(e,n){return on(e,"toString",{configurable:!0,enumerable:!1,value:nc(n),writable:!0})}:rc;function or(e){return La(zs(e))}function rr(e,n,o){var r=-1,a=e.length;n<0&&(n=-n>a?0:a+n),(o=o>a?a:o)<0&&(o+=a),a=n>o?0:o-n>>>0,n>>>=0;for(var i=t(a);++r<a;)i[r]=e[r+n];return i}function ar(e,n){var t;return mo(e,(function(e,o,r){return!(t=n(e,o,r))})),!!t}function ir(e,n,t){var o=0,r=null==e?o:e.length;if("number"==typeof n&&n===n&&r<=2147483647){for(;o<r;){var a=o+r>>>1,i=e[a];null!==i&&!us(i)&&(t?i<=n:i<n)?o=a+1:r=a}return r}return sr(e,n,rc,t)}function sr(e,n,t,o){n=t(n);for(var r=0,i=null==e?0:e.length,s=n!==n,c=null===n,u=us(n),l=n===a;r<i;){var d=vn((r+i)/2),p=t(e[d]),m=p!==a,h=null===p,f=p===p,g=us(p);if(s)var v=o||f;else v=l?f&&(o||m):c?f&&m&&(o||!h):u?f&&m&&!h&&(o||!g):!h&&!g&&(o?p<=n:p<n);v?r=d+1:i=d}return bt(i,4294967294)}function cr(e,n){for(var t=-1,o=e.length,r=0,a=[];++t<o;){var i=e[t],s=n?n(i):i;if(!t||!zi(s,c)){var c=s;a[r++]=0===i?0:i}}return a}function ur(e){return"number"==typeof e?e:us(e)?g:+e}function lr(e){if("string"==typeof e)return e;if(qi(e))return Nn(e,lr)+"";if(us(e))return Dt?Dt.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}function dr(e,n,t){var o=-1,r=Rn,a=e.length,i=!0,s=[],c=s;if(t)i=!1,r=jn;else if(a>=200){var u=n?null:Qr(e);if(u)return dt(u);i=!1,r=et,c=new $t}else c=n?[]:s;e:for(;++o<a;){var l=e[o],d=n?n(l):l;if(l=t||0!==l?l:0,i&&d===d){for(var p=c.length;p--;)if(c[p]===d)continue e;n&&c.push(d),s.push(l)}else r(c,d,t)||(c!==s&&c.push(d),s.push(l))}return s}function pr(e,n){return null==(e=ka(e,n=Cr(n,e)))||delete e[Ua(Ja(n))]}function mr(e,n,t,o){return er(e,n,t(Eo(e,n)),o)}function hr(e,n,t,o){for(var r=e.length,a=o?r:-1;(o?a--:++a<r)&&n(e[a],a,e););return t?rr(e,o?0:a,o?a+1:r):rr(e,o?a+1:0,o?r:a)}function fr(e,n){var t=e;return t instanceof Ht&&(t=t.value()),Fn(n,(function(e,n){return n.func.apply(n.thisArg,Ln([e],n.args))}),t)}function gr(e,n,o){var r=e.length;if(r<2)return r?dr(e[0]):[];for(var a=-1,i=t(r);++a<r;)for(var s=e[a],c=-1;++c<r;)c!=a&&(i[a]=po(i[a]||s,e[c],n,o));return dr(yo(i,1),n,o)}function vr(e,n,t){for(var o=-1,r=e.length,i=n.length,s={};++o<r;){var c=o<i?n[o]:a;t(s,e[o],c)}return s}function yr(e){return $i(e)?e:[]}function br(e){return"function"==typeof e?e:rc}function Cr(e,n){return qi(e)?e:wa(e,n)?[e]:Fa(bs(e))}var wr=Jo;function Sr(e,n,t){var o=e.length;return t=t===a?o:t,!n&&t>=o?e:rr(e,n,t)}var _r=ln||function(e){return fn.clearTimeout(e)};function Er(e,n){if(n)return e.slice();var t=e.length,o=Ke?Ke(t):new e.constructor(t);return e.copy(o),o}function xr(e){var n=new e.constructor(e.byteLength);return new qe(n).set(new qe(e)),n}function Or(e,n){var t=n?xr(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}function Ar(e,n){if(e!==n){var t=e!==a,o=null===e,r=e===e,i=us(e),s=n!==a,c=null===n,u=n===n,l=us(n);if(!c&&!l&&!i&&e>n||i&&s&&u&&!c&&!l||o&&s&&u||!t&&u||!r)return 1;if(!o&&!i&&!l&&e<n||l&&t&&r&&!o&&!i||c&&t&&r||!s&&r||!u)return-1}return 0}function kr(e,n,o,r){for(var a=-1,i=e.length,s=o.length,c=-1,u=n.length,l=yt(i-s,0),d=t(u+l),p=!r;++c<u;)d[c]=n[c];for(;++a<s;)(p||a<i)&&(d[o[a]]=e[a]);for(;l--;)d[c++]=e[a++];return d}function Tr(e,n,o,r){for(var a=-1,i=e.length,s=-1,c=o.length,u=-1,l=n.length,d=yt(i-c,0),p=t(d+l),m=!r;++a<d;)p[a]=e[a];for(var h=a;++u<l;)p[h+u]=n[u];for(;++s<c;)(m||a<i)&&(p[h+o[s]]=e[a++]);return p}function Pr(e,n){var o=-1,r=e.length;for(n||(n=t(r));++o<r;)n[o]=e[o];return n}function Mr(e,n,t,o){var r=!t;t||(t={});for(var i=-1,s=n.length;++i<s;){var c=n[i],u=o?o(t[c],e[c],c,t,e):a;u===a&&(u=e[c]),r?ao(t,c,u):no(t,c,u)}return t}function Ir(e,n){return function(t,o){var r=qi(t)?kn:oo,a=n?n():{};return r(t,e,ua(o,2),a)}}function Rr(e){return Jo((function(n,t){var o=-1,r=t.length,i=r>1?t[r-1]:a,s=r>2?t[2]:a;for(i=e.length>3&&"function"==typeof i?(r--,i):a,s&&Ca(t[0],t[1],s)&&(i=r<3?a:i,r=1),n=Ae(n);++o<r;){var c=t[o];c&&e(n,c,o,i)}return n}))}function jr(e,n){return function(t,o){if(null==t)return t;if(!Wi(t))return e(t,o);for(var r=t.length,a=n?r:-1,i=Ae(t);(n?a--:++a<r)&&!1!==o(i[a],a,i););return t}}function Nr(e){return function(n,t,o){for(var r=-1,a=Ae(n),i=o(n),s=i.length;s--;){var c=i[e?s:++r];if(!1===t(a[c],c,a))break}return n}}function Lr(e){return function(n){var t=st(n=bs(n))?ht(n):a,o=t?t[0]:n.charAt(0),r=t?Sr(t,1).join(""):n.slice(1);return o[e]()+r}}function Fr(e){return function(n){return Fn(Zs(Hs(n).replace(Xe,"")),e,"")}}function Ur(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var t=zt(e.prototype),o=e.apply(t,n);return ns(o)?o:t}}function Dr(e){return function(n,t,o){var r=Ae(n);if(!Wi(n)){var i=ua(t,3);n=Is(n),t=function(e){return i(r[e],e,r)}}var s=e(n,t,o);return s>-1?r[i?n[s]:s]:a}}function Br(e){return oa((function(n){var t=n.length,o=t,r=Gt.prototype.thru;for(e&&n.reverse();o--;){var s=n[o];if("function"!=typeof s)throw new Pe(i);if(r&&!c&&"wrapper"==sa(s))var c=new Gt([],!0)}for(o=c?o:t;++o<t;){var u=sa(s=n[o]),l="wrapper"==u?ia(s):a;c=l&&Sa(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?c[sa(l[0])].apply(c,l[3]):1==s.length&&Sa(s)?c[u]():c.thru(s)}return function(){var e=arguments,o=e[0];if(c&&1==e.length&&qi(o))return c.plant(o).value();for(var r=0,a=t?n[r].apply(this,e):o;++r<t;)a=n[r].call(this,a);return a}}))}function zr(e,n,o,r,i,s,c,u,l,d){var m=n&p,h=1&n,f=2&n,g=24&n,v=512&n,y=f?a:Ur(e);return function a(){for(var p=arguments.length,b=t(p),C=p;C--;)b[C]=arguments[C];if(g)var w=ca(a),S=ot(b,w);if(r&&(b=kr(b,r,i,g)),s&&(b=Tr(b,s,c,g)),p-=S,g&&p<d){var _=lt(b,w);return $r(e,n,zr,a.placeholder,o,b,_,u,l,d-p)}var E=h?o:this,x=f?E[e]:e;return p=b.length,u?b=Ta(b,u):v&&p>1&&b.reverse(),m&&l<p&&(b.length=l),this&&this!==fn&&this instanceof a&&(x=y||Ur(x)),x.apply(E,b)}}function Vr(e,n){return function(t,o){return function(e,n,t,o){return wo(e,(function(e,r,a){n(o,t(e),r,a)})),o}(t,e,n(o),{})}}function Gr(e,n){return function(t,o){var r;if(t===a&&o===a)return n;if(t!==a&&(r=t),o!==a){if(r===a)return o;"string"==typeof t||"string"==typeof o?(t=lr(t),o=lr(o)):(t=ur(t),o=ur(o)),r=e(t,o)}return r}}function Hr(e){return oa((function(n){return n=Nn(n,Zn(ua())),Jo((function(t){var o=this;return e(n,(function(e){return An(e,o,t)}))}))}))}function qr(e,n){var t=(n=n===a?" ":lr(n)).length;if(t<2)return t?Qo(n,e):n;var o=Qo(n,gn(e/mt(n)));return st(n)?Sr(ht(o),0,e).join(""):o.slice(0,e)}function Kr(e){return function(n,o,r){return r&&"number"!=typeof r&&Ca(n,o,r)&&(o=r=a),n=hs(n),o===a?(o=n,n=0):o=hs(o),function(e,n,o,r){for(var a=-1,i=yt(gn((n-e)/(o||1)),0),s=t(i);i--;)s[r?i:++a]=e,e+=o;return s}(n,o,r=r===a?n<o?1:-1:hs(r),e)}}function Wr(e){return function(n,t){return"string"==typeof n&&"string"==typeof t||(n=vs(n),t=vs(t)),e(n,t)}}function $r(e,n,t,o,r,i,s,c,u,p){var m=8&n;n|=m?l:d,4&(n&=~(m?d:l))||(n&=-4);var h=[e,n,r,m?i:a,m?s:a,m?a:i,m?a:s,c,u,p],f=t.apply(a,h);return Sa(e)&&Ma(f,h),f.placeholder=o,ja(f,e,n)}function Yr(e){var n=Oe[e];return function(e,t){if(e=vs(e),(t=null==t?0:bt(fs(t),292))&&Bn(e)){var o=(bs(e)+"e").split("e");return+((o=(bs(n(o[0]+"e"+(+o[1]+t)))+"e").split("e"))[0]+"e"+(+o[1]-t))}return n(e)}}var Qr=At&&1/dt(new At([,-0]))[1]==h?function(e){return new At(e)}:uc;function Jr(e){return function(n){var t=fa(n);return t==O?ct(n):t==M?pt(n):function(e,n){return Nn(n,(function(n){return[n,e[n]]}))}(n,e(n))}}function Zr(e,n,o,r,s,h,f,g){var v=2&n;if(!v&&"function"!=typeof e)throw new Pe(i);var y=r?r.length:0;if(y||(n&=-97,r=s=a),f=f===a?f:yt(fs(f),0),g=g===a?g:fs(g),y-=s?s.length:0,n&d){var b=r,C=s;r=s=a}var w=v?a:ia(e),S=[e,n,o,r,s,b,C,h,f,g];if(w&&function(e,n){var t=e[1],o=n[1],r=t|o,a=r<131,i=o==p&&8==t||o==p&&t==m&&e[7].length<=n[8]||384==o&&n[7].length<=n[8]&&8==t;if(!a&&!i)return e;1&o&&(e[2]=n[2],r|=1&t?0:4);var s=n[3];if(s){var u=e[3];e[3]=u?kr(u,s,n[4]):s,e[4]=u?lt(e[3],c):n[4]}(s=n[5])&&(u=e[5],e[5]=u?Tr(u,s,n[6]):s,e[6]=u?lt(e[5],c):n[6]);(s=n[7])&&(e[7]=s);o&p&&(e[8]=null==e[8]?n[8]:bt(e[8],n[8]));null==e[9]&&(e[9]=n[9]);e[0]=n[0],e[1]=r}(S,w),e=S[0],n=S[1],o=S[2],r=S[3],s=S[4],!(g=S[9]=S[9]===a?v?0:e.length:yt(S[9]-y,0))&&24&n&&(n&=-25),n&&1!=n)_=8==n||n==u?function(e,n,o){var r=Ur(e);return function i(){for(var s=arguments.length,c=t(s),u=s,l=ca(i);u--;)c[u]=arguments[u];var d=s<3&&c[0]!==l&&c[s-1]!==l?[]:lt(c,l);return(s-=d.length)<o?$r(e,n,zr,i.placeholder,a,c,d,a,a,o-s):An(this&&this!==fn&&this instanceof i?r:e,this,c)}}(e,n,g):n!=l&&33!=n||s.length?zr.apply(a,S):function(e,n,o,r){var a=1&n,i=Ur(e);return function n(){for(var s=-1,c=arguments.length,u=-1,l=r.length,d=t(l+c),p=this&&this!==fn&&this instanceof n?i:e;++u<l;)d[u]=r[u];for(;c--;)d[u++]=arguments[++s];return An(p,a?o:this,d)}}(e,n,o,r);else var _=function(e,n,t){var o=1&n,r=Ur(e);return function n(){return(this&&this!==fn&&this instanceof n?r:e).apply(o?t:this,arguments)}}(e,n,o);return ja((w?nr:Ma)(_,S),e,n)}function Xr(e,n,t,o){return e===a||zi(e,Re[t])&&!Le.call(o,t)?n:e}function ea(e,n,t,o,r,i){return ns(e)&&ns(n)&&(i.set(n,e),Go(e,n,a,ea,i),i.delete(n)),e}function na(e){return as(e)?a:e}function ta(e,n,t,o,r,i){var s=1&t,c=e.length,u=n.length;if(c!=u&&!(s&&u>c))return!1;var l=i.get(e);if(l&&i.get(n))return l==n;var d=-1,p=!0,m=2&t?new $t:a;for(i.set(e,n),i.set(n,e);++d<c;){var h=e[d],f=n[d];if(o)var g=s?o(f,h,d,n,e,i):o(h,f,d,e,n,i);if(g!==a){if(g)continue;p=!1;break}if(m){if(!Dn(n,(function(e,n){if(!et(m,n)&&(h===e||r(h,e,t,o,i)))return m.push(n)}))){p=!1;break}}else if(h!==f&&!r(h,f,t,o,i)){p=!1;break}}return i.delete(e),i.delete(n),p}function oa(e){return Ra(Aa(e,a,Ka),e+"")}function ra(e){return xo(e,Is,ma)}function aa(e){return xo(e,Rs,ha)}var ia=Pt?function(e){return Pt.get(e)}:uc;function sa(e){for(var n=e.name+"",t=Mt[n],o=Le.call(Mt,n)?t.length:0;o--;){var r=t[o],a=r.func;if(null==a||a==e)return r.name}return n}function ca(e){return(Le.call(Bt,"placeholder")?Bt:e).placeholder}function ua(){var e=Bt.iteratee||ac;return e=e===ac?Lo:e,arguments.length?e(arguments[0],arguments[1]):e}function la(e,n){var t=e.__data__;return function(e){var n=typeof e;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==e:null===e}(n)?t["string"==typeof n?"string":"hash"]:t.map}function da(e){for(var n=Is(e),t=n.length;t--;){var o=n[t],r=e[o];n[t]=[o,r,xa(r)]}return n}function pa(e,n){var t=function(e,n){return null==e?a:e[n]}(e,n);return No(t)?t:a}var ma=bn?function(e){return null==e?[]:(e=Ae(e),In(bn(e),(function(n){return Ye.call(e,n)})))}:gc,ha=bn?function(e){for(var n=[];e;)Ln(n,ma(e)),e=We(e);return n}:gc,fa=Oo;function ga(e,n,t){for(var o=-1,r=(n=Cr(n,e)).length,a=!1;++o<r;){var i=Ua(n[o]);if(!(a=null!=e&&t(e,i)))break;e=e[i]}return a||++o!=r?a:!!(r=null==e?0:e.length)&&es(r)&&ba(i,r)&&(qi(e)||Hi(e))}function va(e){return"function"!=typeof e.constructor||Ea(e)?{}:zt(We(e))}function ya(e){return qi(e)||Hi(e)||!!(Je&&e&&e[Je])}function ba(e,n){var t=typeof e;return!!(n=null==n?f:n)&&("number"==t||"symbol"!=t&&we.test(e))&&e>-1&&e%1==0&&e<n}function Ca(e,n,t){if(!ns(t))return!1;var o=typeof n;return!!("number"==o?Wi(t)&&ba(n,t.length):"string"==o&&n in t)&&zi(t[n],e)}function wa(e,n){if(qi(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!us(e))||(oe.test(e)||!te.test(e)||null!=n&&e in Ae(n))}function Sa(e){var n=sa(e),t=Bt[n];if("function"!=typeof t||!(n in Ht.prototype))return!1;if(e===t)return!0;var o=ia(t);return!!o&&e===o[0]}(Et&&fa(new Et(new ArrayBuffer(1)))!=L||xt&&fa(new xt)!=O||Ot&&fa(Ot.resolve())!=T||At&&fa(new At)!=M||kt&&fa(new kt)!=j)&&(fa=function(e){var n=Oo(e),t=n==k?e.constructor:a,o=t?Da(t):"";if(o)switch(o){case It:return L;case Rt:return O;case jt:return T;case Nt:return M;case Lt:return j}return n});var _a=je?Zi:vc;function Ea(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||Re)}function xa(e){return e===e&&!ns(e)}function Oa(e,n){return function(t){return null!=t&&(t[e]===n&&(n!==a||e in Ae(t)))}}function Aa(e,n,o){return n=yt(n===a?e.length-1:n,0),function(){for(var r=arguments,a=-1,i=yt(r.length-n,0),s=t(i);++a<i;)s[a]=r[n+a];a=-1;for(var c=t(n+1);++a<n;)c[a]=r[a];return c[n]=o(s),An(e,this,c)}}function ka(e,n){return n.length<2?e:Eo(e,rr(n,0,-1))}function Ta(e,n){for(var t=e.length,o=bt(n.length,t),r=Pr(e);o--;){var i=n[o];e[o]=ba(i,t)?r[i]:a}return e}function Pa(e,n){if(("constructor"!==n||"function"!==typeof e[n])&&"__proto__"!=n)return e[n]}var Ma=Na(nr),Ia=hn||function(e,n){return fn.setTimeout(e,n)},Ra=Na(tr);function ja(e,n,t){var o=n+"";return Ra(e,function(e,n){var t=n.length;if(!t)return e;var o=t-1;return n[o]=(t>1?"& ":"")+n[o],n=n.join(t>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+n+"] */\n")}(o,function(e,n){return Tn(y,(function(t){var o="_."+t[0];n&t[1]&&!Rn(e,o)&&e.push(o)})),e.sort()}(function(e){var n=e.match(de);return n?n[1].split(pe):[]}(o),t)))}function Na(e){var n=0,t=0;return function(){var o=Ct(),r=16-(o-t);if(t=o,r>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(a,arguments)}}function La(e,n){var t=-1,o=e.length,r=o-1;for(n=n===a?o:n;++t<n;){var i=Yo(t,r),s=e[i];e[i]=e[t],e[t]=s}return e.length=n,e}var Fa=function(e){var n=Ni(e,(function(e){return 500===t.size&&t.clear(),e})),t=n.cache;return n}((function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(re,(function(e,t,o,r){n.push(o?r.replace(he,"$1"):t||e)})),n}));function Ua(e){if("string"==typeof e||us(e))return e;var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}function Da(e){if(null!=e){try{return Ne.call(e)}catch(n){}try{return e+""}catch(n){}}return""}function Ba(e){if(e instanceof Ht)return e.clone();var n=new Gt(e.__wrapped__,e.__chain__);return n.__actions__=Pr(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}var za=Jo((function(e,n){return $i(e)?po(e,yo(n,1,$i,!0)):[]})),Va=Jo((function(e,n){var t=Ja(n);return $i(t)&&(t=a),$i(e)?po(e,yo(n,1,$i,!0),ua(t,2)):[]})),Ga=Jo((function(e,n){var t=Ja(n);return $i(t)&&(t=a),$i(e)?po(e,yo(n,1,$i,!0),a,t):[]}));function Ha(e,n,t){var o=null==e?0:e.length;if(!o)return-1;var r=null==t?0:fs(t);return r<0&&(r=yt(o+r,0)),Vn(e,ua(n,3),r)}function qa(e,n,t){var o=null==e?0:e.length;if(!o)return-1;var r=o-1;return t!==a&&(r=fs(t),r=t<0?yt(o+r,0):bt(r,o-1)),Vn(e,ua(n,3),r,!0)}function Ka(e){return(null==e?0:e.length)?yo(e,1):[]}function Wa(e){return e&&e.length?e[0]:a}var $a=Jo((function(e){var n=Nn(e,yr);return n.length&&n[0]===e[0]?Po(n):[]})),Ya=Jo((function(e){var n=Ja(e),t=Nn(e,yr);return n===Ja(t)?n=a:t.pop(),t.length&&t[0]===e[0]?Po(t,ua(n,2)):[]})),Qa=Jo((function(e){var n=Ja(e),t=Nn(e,yr);return(n="function"==typeof n?n:a)&&t.pop(),t.length&&t[0]===e[0]?Po(t,a,n):[]}));function Ja(e){var n=null==e?0:e.length;return n?e[n-1]:a}var Za=Jo(Xa);function Xa(e,n){return e&&e.length&&n&&n.length?Wo(e,n):e}var ei=oa((function(e,n){var t=null==e?0:e.length,o=io(e,n);return $o(e,Nn(n,(function(e){return ba(e,t)?+e:e})).sort(Ar)),o}));function ni(e){return null==e?e:_t.call(e)}var ti=Jo((function(e){return dr(yo(e,1,$i,!0))})),oi=Jo((function(e){var n=Ja(e);return $i(n)&&(n=a),dr(yo(e,1,$i,!0),ua(n,2))})),ri=Jo((function(e){var n=Ja(e);return n="function"==typeof n?n:a,dr(yo(e,1,$i,!0),a,n)}));function ai(e){if(!e||!e.length)return[];var n=0;return e=In(e,(function(e){if($i(e))return n=yt(e.length,n),!0})),Jn(n,(function(n){return Nn(e,Wn(n))}))}function ii(e,n){if(!e||!e.length)return[];var t=ai(e);return null==n?t:Nn(t,(function(e){return An(n,a,e)}))}var si=Jo((function(e,n){return $i(e)?po(e,n):[]})),ci=Jo((function(e){return gr(In(e,$i))})),ui=Jo((function(e){var n=Ja(e);return $i(n)&&(n=a),gr(In(e,$i),ua(n,2))})),li=Jo((function(e){var n=Ja(e);return n="function"==typeof n?n:a,gr(In(e,$i),a,n)})),di=Jo(ai);var pi=Jo((function(e){var n=e.length,t=n>1?e[n-1]:a;return t="function"==typeof t?(e.pop(),t):a,ii(e,t)}));function mi(e){var n=Bt(e);return n.__chain__=!0,n}function hi(e,n){return n(e)}var fi=oa((function(e){var n=e.length,t=n?e[0]:0,o=this.__wrapped__,r=function(n){return io(n,e)};return!(n>1||this.__actions__.length)&&o instanceof Ht&&ba(t)?((o=o.slice(t,+t+(n?1:0))).__actions__.push({func:hi,args:[r],thisArg:a}),new Gt(o,this.__chain__).thru((function(e){return n&&!e.length&&e.push(a),e}))):this.thru(r)}));var gi=Ir((function(e,n,t){Le.call(e,t)?++e[t]:ao(e,t,1)}));var vi=Dr(Ha),yi=Dr(qa);function bi(e,n){return(qi(e)?Tn:mo)(e,ua(n,3))}function Ci(e,n){return(qi(e)?Pn:ho)(e,ua(n,3))}var wi=Ir((function(e,n,t){Le.call(e,t)?e[t].push(n):ao(e,t,[n])}));var Si=Jo((function(e,n,o){var r=-1,a="function"==typeof n,i=Wi(e)?t(e.length):[];return mo(e,(function(e){i[++r]=a?An(n,e,o):Mo(e,n,o)})),i})),_i=Ir((function(e,n,t){ao(e,t,n)}));function Ei(e,n){return(qi(e)?Nn:Bo)(e,ua(n,3))}var xi=Ir((function(e,n,t){e[t?0:1].push(n)}),(function(){return[[],[]]}));var Oi=Jo((function(e,n){if(null==e)return[];var t=n.length;return t>1&&Ca(e,n[0],n[1])?n=[]:t>2&&Ca(n[0],n[1],n[2])&&(n=[n[0]]),qo(e,yo(n,1),[])})),Ai=mn||function(){return fn.Date.now()};function ki(e,n,t){return n=t?a:n,n=e&&null==n?e.length:n,Zr(e,p,a,a,a,a,n)}function Ti(e,n){var t;if("function"!=typeof n)throw new Pe(i);return e=fs(e),function(){return--e>0&&(t=n.apply(this,arguments)),e<=1&&(n=a),t}}var Pi=Jo((function(e,n,t){var o=1;if(t.length){var r=lt(t,ca(Pi));o|=l}return Zr(e,o,n,t,r)})),Mi=Jo((function(e,n,t){var o=3;if(t.length){var r=lt(t,ca(Mi));o|=l}return Zr(n,o,e,t,r)}));function Ii(e,n,t){var o,r,s,c,u,l,d=0,p=!1,m=!1,h=!0;if("function"!=typeof e)throw new Pe(i);function f(n){var t=o,i=r;return o=r=a,d=n,c=e.apply(i,t)}function g(e){return d=e,u=Ia(y,n),p?f(e):c}function v(e){var t=e-l;return l===a||t>=n||t<0||m&&e-d>=s}function y(){var e=Ai();if(v(e))return b(e);u=Ia(y,function(e){var t=n-(e-l);return m?bt(t,s-(e-d)):t}(e))}function b(e){return u=a,h&&o?f(e):(o=r=a,c)}function C(){var e=Ai(),t=v(e);if(o=arguments,r=this,l=e,t){if(u===a)return g(l);if(m)return _r(u),u=Ia(y,n),f(l)}return u===a&&(u=Ia(y,n)),c}return n=vs(n)||0,ns(t)&&(p=!!t.leading,s=(m="maxWait"in t)?yt(vs(t.maxWait)||0,n):s,h="trailing"in t?!!t.trailing:h),C.cancel=function(){u!==a&&_r(u),d=0,o=l=r=u=a},C.flush=function(){return u===a?c:b(Ai())},C}var Ri=Jo((function(e,n){return lo(e,1,n)})),ji=Jo((function(e,n,t){return lo(e,vs(n)||0,t)}));function Ni(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new Pe(i);var t=function t(){var o=arguments,r=n?n.apply(this,o):o[0],a=t.cache;if(a.has(r))return a.get(r);var i=e.apply(this,o);return t.cache=a.set(r,i)||a,i};return t.cache=new(Ni.Cache||Wt),t}function Li(e){if("function"!=typeof e)throw new Pe(i);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}Ni.Cache=Wt;var Fi=wr((function(e,n){var t=(n=1==n.length&&qi(n[0])?Nn(n[0],Zn(ua())):Nn(yo(n,1),Zn(ua()))).length;return Jo((function(o){for(var r=-1,a=bt(o.length,t);++r<a;)o[r]=n[r].call(this,o[r]);return An(e,this,o)}))})),Ui=Jo((function(e,n){var t=lt(n,ca(Ui));return Zr(e,l,a,n,t)})),Di=Jo((function(e,n){var t=lt(n,ca(Di));return Zr(e,d,a,n,t)})),Bi=oa((function(e,n){return Zr(e,m,a,a,a,n)}));function zi(e,n){return e===n||e!==e&&n!==n}var Vi=Wr(Ao),Gi=Wr((function(e,n){return e>=n})),Hi=Io(function(){return arguments}())?Io:function(e){return ts(e)&&Le.call(e,"callee")&&!Ye.call(e,"callee")},qi=t.isArray,Ki=wn?Zn(wn):function(e){return ts(e)&&Oo(e)==N};function Wi(e){return null!=e&&es(e.length)&&!Zi(e)}function $i(e){return ts(e)&&Wi(e)}var Yi=Cn||vc,Qi=Sn?Zn(Sn):function(e){return ts(e)&&Oo(e)==S};function Ji(e){if(!ts(e))return!1;var n=Oo(e);return n==_||"[object DOMException]"==n||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Zi(e){if(!ns(e))return!1;var n=Oo(e);return n==E||n==x||"[object AsyncFunction]"==n||"[object Proxy]"==n}function Xi(e){return"number"==typeof e&&e==fs(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function ns(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}function ts(e){return null!=e&&"object"==typeof e}var os=_n?Zn(_n):function(e){return ts(e)&&fa(e)==O};function rs(e){return"number"==typeof e||ts(e)&&Oo(e)==A}function as(e){if(!ts(e)||Oo(e)!=k)return!1;var n=We(e);if(null===n)return!0;var t=Le.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&Ne.call(t)==Be}var is=En?Zn(En):function(e){return ts(e)&&Oo(e)==P};var ss=xn?Zn(xn):function(e){return ts(e)&&fa(e)==M};function cs(e){return"string"==typeof e||!qi(e)&&ts(e)&&Oo(e)==I}function us(e){return"symbol"==typeof e||ts(e)&&Oo(e)==R}var ls=On?Zn(On):function(e){return ts(e)&&es(e.length)&&!!cn[Oo(e)]};var ds=Wr(Do),ps=Wr((function(e,n){return e<=n}));function ms(e){if(!e)return[];if(Wi(e))return cs(e)?ht(e):Pr(e);if(Ze&&e[Ze])return function(e){for(var n,t=[];!(n=e.next()).done;)t.push(n.value);return t}(e[Ze]());var n=fa(e);return(n==O?ct:n==M?dt:zs)(e)}function hs(e){return e?(e=vs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function fs(e){var n=hs(e),t=n%1;return n===n?t?n-t:n:0}function gs(e){return e?so(fs(e),0,v):0}function vs(e){if("number"==typeof e)return e;if(us(e))return g;if(ns(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=ns(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(se,"");var t=ye.test(e);return t||Ce.test(e)?pn(e.slice(2),t?2:8):ve.test(e)?g:+e}function ys(e){return Mr(e,Rs(e))}function bs(e){return null==e?"":lr(e)}var Cs=Rr((function(e,n){if(Ea(n)||Wi(n))Mr(n,Is(n),e);else for(var t in n)Le.call(n,t)&&no(e,t,n[t])})),ws=Rr((function(e,n){Mr(n,Rs(n),e)})),Ss=Rr((function(e,n,t,o){Mr(n,Rs(n),e,o)})),_s=Rr((function(e,n,t,o){Mr(n,Is(n),e,o)})),Es=oa(io);var xs=Jo((function(e,n){e=Ae(e);var t=-1,o=n.length,r=o>2?n[2]:a;for(r&&Ca(n[0],n[1],r)&&(o=1);++t<o;)for(var i=n[t],s=Rs(i),c=-1,u=s.length;++c<u;){var l=s[c],d=e[l];(d===a||zi(d,Re[l])&&!Le.call(e,l))&&(e[l]=i[l])}return e})),Os=Jo((function(e){return e.push(a,ea),An(Ns,a,e)}));function As(e,n,t){var o=null==e?a:Eo(e,n);return o===a?t:o}function ks(e,n){return null!=e&&ga(e,n,To)}var Ts=Vr((function(e,n,t){null!=n&&"function"!=typeof n.toString&&(n=De.call(n)),e[n]=t}),nc(rc)),Ps=Vr((function(e,n,t){null!=n&&"function"!=typeof n.toString&&(n=De.call(n)),Le.call(e,n)?e[n].push(t):e[n]=[t]}),ua),Ms=Jo(Mo);function Is(e){return Wi(e)?Qt(e):Fo(e)}function Rs(e){return Wi(e)?Qt(e,!0):Uo(e)}var js=Rr((function(e,n,t){Go(e,n,t)})),Ns=Rr((function(e,n,t,o){Go(e,n,t,o)})),Ls=oa((function(e,n){var t={};if(null==e)return t;var o=!1;n=Nn(n,(function(n){return n=Cr(n,e),o||(o=n.length>1),n})),Mr(e,aa(e),t),o&&(t=co(t,7,na));for(var r=n.length;r--;)pr(t,n[r]);return t}));var Fs=oa((function(e,n){return null==e?{}:function(e,n){return Ko(e,n,(function(n,t){return ks(e,t)}))}(e,n)}));function Us(e,n){if(null==e)return{};var t=Nn(aa(e),(function(e){return[e]}));return n=ua(n),Ko(e,t,(function(e,t){return n(e,t[0])}))}var Ds=Jr(Is),Bs=Jr(Rs);function zs(e){return null==e?[]:Xn(e,Is(e))}var Vs=Fr((function(e,n,t){return n=n.toLowerCase(),e+(t?Gs(n):n)}));function Gs(e){return Js(bs(e).toLowerCase())}function Hs(e){return(e=bs(e))&&e.replace(Se,rt).replace(en,"")}var qs=Fr((function(e,n,t){return e+(t?"-":"")+n.toLowerCase()})),Ks=Fr((function(e,n,t){return e+(t?" ":"")+n.toLowerCase()})),Ws=Lr("toLowerCase");var $s=Fr((function(e,n,t){return e+(t?"_":"")+n.toLowerCase()}));var Ys=Fr((function(e,n,t){return e+(t?" ":"")+Js(n)}));var Qs=Fr((function(e,n,t){return e+(t?" ":"")+n.toUpperCase()})),Js=Lr("toUpperCase");function Zs(e,n,t){return e=bs(e),(n=t?a:n)===a?function(e){return rn.test(e)}(e)?function(e){return e.match(tn)||[]}(e):function(e){return e.match(me)||[]}(e):e.match(n)||[]}var Xs=Jo((function(e,n){try{return An(e,a,n)}catch(t){return Ji(t)?t:new r(t)}})),ec=oa((function(e,n){return Tn(n,(function(n){n=Ua(n),ao(e,n,Pi(e[n],e))})),e}));function nc(e){return function(){return e}}var tc=Br(),oc=Br(!0);function rc(e){return e}function ac(e){return Lo("function"==typeof e?e:co(e,1))}var ic=Jo((function(e,n){return function(t){return Mo(t,e,n)}})),sc=Jo((function(e,n){return function(t){return Mo(e,t,n)}}));function cc(e,n,t){var o=Is(n),r=_o(n,o);null!=t||ns(n)&&(r.length||!o.length)||(t=n,n=e,e=this,r=_o(n,Is(n)));var a=!(ns(t)&&"chain"in t)||!!t.chain,i=Zi(e);return Tn(r,(function(t){var o=n[t];e[t]=o,i&&(e.prototype[t]=function(){var n=this.__chain__;if(a||n){var t=e(this.__wrapped__),r=t.__actions__=Pr(this.__actions__);return r.push({func:o,args:arguments,thisArg:e}),t.__chain__=n,t}return o.apply(e,Ln([this.value()],arguments))})})),e}function uc(){}var lc=Hr(Nn),dc=Hr(Mn),pc=Hr(Dn);function mc(e){return wa(e)?Wn(Ua(e)):function(e){return function(n){return Eo(n,e)}}(e)}var hc=Kr(),fc=Kr(!0);function gc(){return[]}function vc(){return!1}var yc=Gr((function(e,n){return e+n}),0),bc=Yr("ceil"),Cc=Gr((function(e,n){return e/n}),1),wc=Yr("floor");var Sc=Gr((function(e,n){return e*n}),1),_c=Yr("round"),Ec=Gr((function(e,n){return e-n}),0);return Bt.after=function(e,n){if("function"!=typeof n)throw new Pe(i);return e=fs(e),function(){if(--e<1)return n.apply(this,arguments)}},Bt.ary=ki,Bt.assign=Cs,Bt.assignIn=ws,Bt.assignInWith=Ss,Bt.assignWith=_s,Bt.at=Es,Bt.before=Ti,Bt.bind=Pi,Bt.bindAll=ec,Bt.bindKey=Mi,Bt.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qi(e)?e:[e]},Bt.chain=mi,Bt.chunk=function(e,n,o){n=(o?Ca(e,n,o):n===a)?1:yt(fs(n),0);var r=null==e?0:e.length;if(!r||n<1)return[];for(var i=0,s=0,c=t(gn(r/n));i<r;)c[s++]=rr(e,i,i+=n);return c},Bt.compact=function(e){for(var n=-1,t=null==e?0:e.length,o=0,r=[];++n<t;){var a=e[n];a&&(r[o++]=a)}return r},Bt.concat=function(){var e=arguments.length;if(!e)return[];for(var n=t(e-1),o=arguments[0],r=e;r--;)n[r-1]=arguments[r];return Ln(qi(o)?Pr(o):[o],yo(n,1))},Bt.cond=function(e){var n=null==e?0:e.length,t=ua();return e=n?Nn(e,(function(e){if("function"!=typeof e[1])throw new Pe(i);return[t(e[0]),e[1]]})):[],Jo((function(t){for(var o=-1;++o<n;){var r=e[o];if(An(r[0],this,t))return An(r[1],this,t)}}))},Bt.conforms=function(e){return function(e){var n=Is(e);return function(t){return uo(t,e,n)}}(co(e,1))},Bt.constant=nc,Bt.countBy=gi,Bt.create=function(e,n){var t=zt(e);return null==n?t:ro(t,n)},Bt.curry=function e(n,t,o){var r=Zr(n,8,a,a,a,a,a,t=o?a:t);return r.placeholder=e.placeholder,r},Bt.curryRight=function e(n,t,o){var r=Zr(n,u,a,a,a,a,a,t=o?a:t);return r.placeholder=e.placeholder,r},Bt.debounce=Ii,Bt.defaults=xs,Bt.defaultsDeep=Os,Bt.defer=Ri,Bt.delay=ji,Bt.difference=za,Bt.differenceBy=Va,Bt.differenceWith=Ga,Bt.drop=function(e,n,t){var o=null==e?0:e.length;return o?rr(e,(n=t||n===a?1:fs(n))<0?0:n,o):[]},Bt.dropRight=function(e,n,t){var o=null==e?0:e.length;return o?rr(e,0,(n=o-(n=t||n===a?1:fs(n)))<0?0:n):[]},Bt.dropRightWhile=function(e,n){return e&&e.length?hr(e,ua(n,3),!0,!0):[]},Bt.dropWhile=function(e,n){return e&&e.length?hr(e,ua(n,3),!0):[]},Bt.fill=function(e,n,t,o){var r=null==e?0:e.length;return r?(t&&"number"!=typeof t&&Ca(e,n,t)&&(t=0,o=r),function(e,n,t,o){var r=e.length;for((t=fs(t))<0&&(t=-t>r?0:r+t),(o=o===a||o>r?r:fs(o))<0&&(o+=r),o=t>o?0:gs(o);t<o;)e[t++]=n;return e}(e,n,t,o)):[]},Bt.filter=function(e,n){return(qi(e)?In:vo)(e,ua(n,3))},Bt.flatMap=function(e,n){return yo(Ei(e,n),1)},Bt.flatMapDeep=function(e,n){return yo(Ei(e,n),h)},Bt.flatMapDepth=function(e,n,t){return t=t===a?1:fs(t),yo(Ei(e,n),t)},Bt.flatten=Ka,Bt.flattenDeep=function(e){return(null==e?0:e.length)?yo(e,h):[]},Bt.flattenDepth=function(e,n){return(null==e?0:e.length)?yo(e,n=n===a?1:fs(n)):[]},Bt.flip=function(e){return Zr(e,512)},Bt.flow=tc,Bt.flowRight=oc,Bt.fromPairs=function(e){for(var n=-1,t=null==e?0:e.length,o={};++n<t;){var r=e[n];o[r[0]]=r[1]}return o},Bt.functions=function(e){return null==e?[]:_o(e,Is(e))},Bt.functionsIn=function(e){return null==e?[]:_o(e,Rs(e))},Bt.groupBy=wi,Bt.initial=function(e){return(null==e?0:e.length)?rr(e,0,-1):[]},Bt.intersection=$a,Bt.intersectionBy=Ya,Bt.intersectionWith=Qa,Bt.invert=Ts,Bt.invertBy=Ps,Bt.invokeMap=Si,Bt.iteratee=ac,Bt.keyBy=_i,Bt.keys=Is,Bt.keysIn=Rs,Bt.map=Ei,Bt.mapKeys=function(e,n){var t={};return n=ua(n,3),wo(e,(function(e,o,r){ao(t,n(e,o,r),e)})),t},Bt.mapValues=function(e,n){var t={};return n=ua(n,3),wo(e,(function(e,o,r){ao(t,o,n(e,o,r))})),t},Bt.matches=function(e){return zo(co(e,1))},Bt.matchesProperty=function(e,n){return Vo(e,co(n,1))},Bt.memoize=Ni,Bt.merge=js,Bt.mergeWith=Ns,Bt.method=ic,Bt.methodOf=sc,Bt.mixin=cc,Bt.negate=Li,Bt.nthArg=function(e){return e=fs(e),Jo((function(n){return Ho(n,e)}))},Bt.omit=Ls,Bt.omitBy=function(e,n){return Us(e,Li(ua(n)))},Bt.once=function(e){return Ti(2,e)},Bt.orderBy=function(e,n,t,o){return null==e?[]:(qi(n)||(n=null==n?[]:[n]),qi(t=o?a:t)||(t=null==t?[]:[t]),qo(e,n,t))},Bt.over=lc,Bt.overArgs=Fi,Bt.overEvery=dc,Bt.overSome=pc,Bt.partial=Ui,Bt.partialRight=Di,Bt.partition=xi,Bt.pick=Fs,Bt.pickBy=Us,Bt.property=mc,Bt.propertyOf=function(e){return function(n){return null==e?a:Eo(e,n)}},Bt.pull=Za,Bt.pullAll=Xa,Bt.pullAllBy=function(e,n,t){return e&&e.length&&n&&n.length?Wo(e,n,ua(t,2)):e},Bt.pullAllWith=function(e,n,t){return e&&e.length&&n&&n.length?Wo(e,n,a,t):e},Bt.pullAt=ei,Bt.range=hc,Bt.rangeRight=fc,Bt.rearg=Bi,Bt.reject=function(e,n){return(qi(e)?In:vo)(e,Li(ua(n,3)))},Bt.remove=function(e,n){var t=[];if(!e||!e.length)return t;var o=-1,r=[],a=e.length;for(n=ua(n,3);++o<a;){var i=e[o];n(i,o,e)&&(t.push(i),r.push(o))}return $o(e,r),t},Bt.rest=function(e,n){if("function"!=typeof e)throw new Pe(i);return Jo(e,n=n===a?n:fs(n))},Bt.reverse=ni,Bt.sampleSize=function(e,n,t){return n=(t?Ca(e,n,t):n===a)?1:fs(n),(qi(e)?Zt:Xo)(e,n)},Bt.set=function(e,n,t){return null==e?e:er(e,n,t)},Bt.setWith=function(e,n,t,o){return o="function"==typeof o?o:a,null==e?e:er(e,n,t,o)},Bt.shuffle=function(e){return(qi(e)?Xt:or)(e)},Bt.slice=function(e,n,t){var o=null==e?0:e.length;return o?(t&&"number"!=typeof t&&Ca(e,n,t)?(n=0,t=o):(n=null==n?0:fs(n),t=t===a?o:fs(t)),rr(e,n,t)):[]},Bt.sortBy=Oi,Bt.sortedUniq=function(e){return e&&e.length?cr(e):[]},Bt.sortedUniqBy=function(e,n){return e&&e.length?cr(e,ua(n,2)):[]},Bt.split=function(e,n,t){return t&&"number"!=typeof t&&Ca(e,n,t)&&(n=t=a),(t=t===a?v:t>>>0)?(e=bs(e))&&("string"==typeof n||null!=n&&!is(n))&&!(n=lr(n))&&st(e)?Sr(ht(e),0,t):e.split(n,t):[]},Bt.spread=function(e,n){if("function"!=typeof e)throw new Pe(i);return n=null==n?0:yt(fs(n),0),Jo((function(t){var o=t[n],r=Sr(t,0,n);return o&&Ln(r,o),An(e,this,r)}))},Bt.tail=function(e){var n=null==e?0:e.length;return n?rr(e,1,n):[]},Bt.take=function(e,n,t){return e&&e.length?rr(e,0,(n=t||n===a?1:fs(n))<0?0:n):[]},Bt.takeRight=function(e,n,t){var o=null==e?0:e.length;return o?rr(e,(n=o-(n=t||n===a?1:fs(n)))<0?0:n,o):[]},Bt.takeRightWhile=function(e,n){return e&&e.length?hr(e,ua(n,3),!1,!0):[]},Bt.takeWhile=function(e,n){return e&&e.length?hr(e,ua(n,3)):[]},Bt.tap=function(e,n){return n(e),e},Bt.throttle=function(e,n,t){var o=!0,r=!0;if("function"!=typeof e)throw new Pe(i);return ns(t)&&(o="leading"in t?!!t.leading:o,r="trailing"in t?!!t.trailing:r),Ii(e,n,{leading:o,maxWait:n,trailing:r})},Bt.thru=hi,Bt.toArray=ms,Bt.toPairs=Ds,Bt.toPairsIn=Bs,Bt.toPath=function(e){return qi(e)?Nn(e,Ua):us(e)?[e]:Pr(Fa(bs(e)))},Bt.toPlainObject=ys,Bt.transform=function(e,n,t){var o=qi(e),r=o||Yi(e)||ls(e);if(n=ua(n,4),null==t){var a=e&&e.constructor;t=r?o?new a:[]:ns(e)&&Zi(a)?zt(We(e)):{}}return(r?Tn:wo)(e,(function(e,o,r){return n(t,e,o,r)})),t},Bt.unary=function(e){return ki(e,1)},Bt.union=ti,Bt.unionBy=oi,Bt.unionWith=ri,Bt.uniq=function(e){return e&&e.length?dr(e):[]},Bt.uniqBy=function(e,n){return e&&e.length?dr(e,ua(n,2)):[]},Bt.uniqWith=function(e,n){return n="function"==typeof n?n:a,e&&e.length?dr(e,a,n):[]},Bt.unset=function(e,n){return null==e||pr(e,n)},Bt.unzip=ai,Bt.unzipWith=ii,Bt.update=function(e,n,t){return null==e?e:mr(e,n,br(t))},Bt.updateWith=function(e,n,t,o){return o="function"==typeof o?o:a,null==e?e:mr(e,n,br(t),o)},Bt.values=zs,Bt.valuesIn=function(e){return null==e?[]:Xn(e,Rs(e))},Bt.without=si,Bt.words=Zs,Bt.wrap=function(e,n){return Ui(br(n),e)},Bt.xor=ci,Bt.xorBy=ui,Bt.xorWith=li,Bt.zip=di,Bt.zipObject=function(e,n){return vr(e||[],n||[],no)},Bt.zipObjectDeep=function(e,n){return vr(e||[],n||[],er)},Bt.zipWith=pi,Bt.entries=Ds,Bt.entriesIn=Bs,Bt.extend=ws,Bt.extendWith=Ss,cc(Bt,Bt),Bt.add=yc,Bt.attempt=Xs,Bt.camelCase=Vs,Bt.capitalize=Gs,Bt.ceil=bc,Bt.clamp=function(e,n,t){return t===a&&(t=n,n=a),t!==a&&(t=(t=vs(t))===t?t:0),n!==a&&(n=(n=vs(n))===n?n:0),so(vs(e),n,t)},Bt.clone=function(e){return co(e,4)},Bt.cloneDeep=function(e){return co(e,5)},Bt.cloneDeepWith=function(e,n){return co(e,5,n="function"==typeof n?n:a)},Bt.cloneWith=function(e,n){return co(e,4,n="function"==typeof n?n:a)},Bt.conformsTo=function(e,n){return null==n||uo(e,n,Is(n))},Bt.deburr=Hs,Bt.defaultTo=function(e,n){return null==e||e!==e?n:e},Bt.divide=Cc,Bt.endsWith=function(e,n,t){e=bs(e),n=lr(n);var o=e.length,r=t=t===a?o:so(fs(t),0,o);return(t-=n.length)>=0&&e.slice(t,r)==n},Bt.eq=zi,Bt.escape=function(e){return(e=bs(e))&&Z.test(e)?e.replace(Q,at):e},Bt.escapeRegExp=function(e){return(e=bs(e))&&ie.test(e)?e.replace(ae,"\\$&"):e},Bt.every=function(e,n,t){var o=qi(e)?Mn:fo;return t&&Ca(e,n,t)&&(n=a),o(e,ua(n,3))},Bt.find=vi,Bt.findIndex=Ha,Bt.findKey=function(e,n){return zn(e,ua(n,3),wo)},Bt.findLast=yi,Bt.findLastIndex=qa,Bt.findLastKey=function(e,n){return zn(e,ua(n,3),So)},Bt.floor=wc,Bt.forEach=bi,Bt.forEachRight=Ci,Bt.forIn=function(e,n){return null==e?e:bo(e,ua(n,3),Rs)},Bt.forInRight=function(e,n){return null==e?e:Co(e,ua(n,3),Rs)},Bt.forOwn=function(e,n){return e&&wo(e,ua(n,3))},Bt.forOwnRight=function(e,n){return e&&So(e,ua(n,3))},Bt.get=As,Bt.gt=Vi,Bt.gte=Gi,Bt.has=function(e,n){return null!=e&&ga(e,n,ko)},Bt.hasIn=ks,Bt.head=Wa,Bt.identity=rc,Bt.includes=function(e,n,t,o){e=Wi(e)?e:zs(e),t=t&&!o?fs(t):0;var r=e.length;return t<0&&(t=yt(r+t,0)),cs(e)?t<=r&&e.indexOf(n,t)>-1:!!r&&Gn(e,n,t)>-1},Bt.indexOf=function(e,n,t){var o=null==e?0:e.length;if(!o)return-1;var r=null==t?0:fs(t);return r<0&&(r=yt(o+r,0)),Gn(e,n,r)},Bt.inRange=function(e,n,t){return n=hs(n),t===a?(t=n,n=0):t=hs(t),function(e,n,t){return e>=bt(n,t)&&e<yt(n,t)}(e=vs(e),n,t)},Bt.invoke=Ms,Bt.isArguments=Hi,Bt.isArray=qi,Bt.isArrayBuffer=Ki,Bt.isArrayLike=Wi,Bt.isArrayLikeObject=$i,Bt.isBoolean=function(e){return!0===e||!1===e||ts(e)&&Oo(e)==w},Bt.isBuffer=Yi,Bt.isDate=Qi,Bt.isElement=function(e){return ts(e)&&1===e.nodeType&&!as(e)},Bt.isEmpty=function(e){if(null==e)return!0;if(Wi(e)&&(qi(e)||"string"==typeof e||"function"==typeof e.splice||Yi(e)||ls(e)||Hi(e)))return!e.length;var n=fa(e);if(n==O||n==M)return!e.size;if(Ea(e))return!Fo(e).length;for(var t in e)if(Le.call(e,t))return!1;return!0},Bt.isEqual=function(e,n){return Ro(e,n)},Bt.isEqualWith=function(e,n,t){var o=(t="function"==typeof t?t:a)?t(e,n):a;return o===a?Ro(e,n,a,t):!!o},Bt.isError=Ji,Bt.isFinite=function(e){return"number"==typeof e&&Bn(e)},Bt.isFunction=Zi,Bt.isInteger=Xi,Bt.isLength=es,Bt.isMap=os,Bt.isMatch=function(e,n){return e===n||jo(e,n,da(n))},Bt.isMatchWith=function(e,n,t){return t="function"==typeof t?t:a,jo(e,n,da(n),t)},Bt.isNaN=function(e){return rs(e)&&e!=+e},Bt.isNative=function(e){if(_a(e))throw new r("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return No(e)},Bt.isNil=function(e){return null==e},Bt.isNull=function(e){return null===e},Bt.isNumber=rs,Bt.isObject=ns,Bt.isObjectLike=ts,Bt.isPlainObject=as,Bt.isRegExp=is,Bt.isSafeInteger=function(e){return Xi(e)&&e>=-9007199254740991&&e<=f},Bt.isSet=ss,Bt.isString=cs,Bt.isSymbol=us,Bt.isTypedArray=ls,Bt.isUndefined=function(e){return e===a},Bt.isWeakMap=function(e){return ts(e)&&fa(e)==j},Bt.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Oo(e)},Bt.join=function(e,n){return null==e?"":$n.call(e,n)},Bt.kebabCase=qs,Bt.last=Ja,Bt.lastIndexOf=function(e,n,t){var o=null==e?0:e.length;if(!o)return-1;var r=o;return t!==a&&(r=(r=fs(t))<0?yt(o+r,0):bt(r,o-1)),n===n?function(e,n,t){for(var o=t+1;o--;)if(e[o]===n)return o;return o}(e,n,r):Vn(e,qn,r,!0)},Bt.lowerCase=Ks,Bt.lowerFirst=Ws,Bt.lt=ds,Bt.lte=ps,Bt.max=function(e){return e&&e.length?go(e,rc,Ao):a},Bt.maxBy=function(e,n){return e&&e.length?go(e,ua(n,2),Ao):a},Bt.mean=function(e){return Kn(e,rc)},Bt.meanBy=function(e,n){return Kn(e,ua(n,2))},Bt.min=function(e){return e&&e.length?go(e,rc,Do):a},Bt.minBy=function(e,n){return e&&e.length?go(e,ua(n,2),Do):a},Bt.stubArray=gc,Bt.stubFalse=vc,Bt.stubObject=function(){return{}},Bt.stubString=function(){return""},Bt.stubTrue=function(){return!0},Bt.multiply=Sc,Bt.nth=function(e,n){return e&&e.length?Ho(e,fs(n)):a},Bt.noConflict=function(){return fn._===this&&(fn._=ze),this},Bt.noop=uc,Bt.now=Ai,Bt.pad=function(e,n,t){e=bs(e);var o=(n=fs(n))?mt(e):0;if(!n||o>=n)return e;var r=(n-o)/2;return qr(vn(r),t)+e+qr(gn(r),t)},Bt.padEnd=function(e,n,t){e=bs(e);var o=(n=fs(n))?mt(e):0;return n&&o<n?e+qr(n-o,t):e},Bt.padStart=function(e,n,t){e=bs(e);var o=(n=fs(n))?mt(e):0;return n&&o<n?qr(n-o,t)+e:e},Bt.parseInt=function(e,n,t){return t||null==n?n=0:n&&(n=+n),wt(bs(e).replace(ce,""),n||0)},Bt.random=function(e,n,t){if(t&&"boolean"!=typeof t&&Ca(e,n,t)&&(n=t=a),t===a&&("boolean"==typeof n?(t=n,n=a):"boolean"==typeof e&&(t=e,e=a)),e===a&&n===a?(e=0,n=1):(e=hs(e),n===a?(n=e,e=0):n=hs(n)),e>n){var o=e;e=n,n=o}if(t||e%1||n%1){var r=St();return bt(e+r*(n-e+dn("1e-"+((r+"").length-1))),n)}return Yo(e,n)},Bt.reduce=function(e,n,t){var o=qi(e)?Fn:Yn,r=arguments.length<3;return o(e,ua(n,4),t,r,mo)},Bt.reduceRight=function(e,n,t){var o=qi(e)?Un:Yn,r=arguments.length<3;return o(e,ua(n,4),t,r,ho)},Bt.repeat=function(e,n,t){return n=(t?Ca(e,n,t):n===a)?1:fs(n),Qo(bs(e),n)},Bt.replace=function(){var e=arguments,n=bs(e[0]);return e.length<3?n:n.replace(e[1],e[2])},Bt.result=function(e,n,t){var o=-1,r=(n=Cr(n,e)).length;for(r||(r=1,e=a);++o<r;){var i=null==e?a:e[Ua(n[o])];i===a&&(o=r,i=t),e=Zi(i)?i.call(e):i}return e},Bt.round=_c,Bt.runInContext=e,Bt.sample=function(e){return(qi(e)?Jt:Zo)(e)},Bt.size=function(e){if(null==e)return 0;if(Wi(e))return cs(e)?mt(e):e.length;var n=fa(e);return n==O||n==M?e.size:Fo(e).length},Bt.snakeCase=$s,Bt.some=function(e,n,t){var o=qi(e)?Dn:ar;return t&&Ca(e,n,t)&&(n=a),o(e,ua(n,3))},Bt.sortedIndex=function(e,n){return ir(e,n)},Bt.sortedIndexBy=function(e,n,t){return sr(e,n,ua(t,2))},Bt.sortedIndexOf=function(e,n){var t=null==e?0:e.length;if(t){var o=ir(e,n);if(o<t&&zi(e[o],n))return o}return-1},Bt.sortedLastIndex=function(e,n){return ir(e,n,!0)},Bt.sortedLastIndexBy=function(e,n,t){return sr(e,n,ua(t,2),!0)},Bt.sortedLastIndexOf=function(e,n){if(null==e?0:e.length){var t=ir(e,n,!0)-1;if(zi(e[t],n))return t}return-1},Bt.startCase=Ys,Bt.startsWith=function(e,n,t){return e=bs(e),t=null==t?0:so(fs(t),0,e.length),n=lr(n),e.slice(t,t+n.length)==n},Bt.subtract=Ec,Bt.sum=function(e){return e&&e.length?Qn(e,rc):0},Bt.sumBy=function(e,n){return e&&e.length?Qn(e,ua(n,2)):0},Bt.template=function(e,n,t){var o=Bt.templateSettings;t&&Ca(e,n,t)&&(n=a),e=bs(e),n=Ss({},n,o,Xr);var r,i,s=Ss({},n.imports,o.imports,Xr),c=Is(s),u=Xn(s,c),l=0,d=n.interpolate||_e,p="__p += '",m=ke((n.escape||_e).source+"|"+d.source+"|"+(d===ne?fe:_e).source+"|"+(n.evaluate||_e).source+"|$","g"),h="//# sourceURL="+(Le.call(n,"sourceURL")?(n.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++sn+"]")+"\n";e.replace(m,(function(n,t,o,a,s,c){return o||(o=a),p+=e.slice(l,c).replace(Ee,it),t&&(r=!0,p+="' +\n__e("+t+") +\n'"),s&&(i=!0,p+="';\n"+s+";\n__p += '"),o&&(p+="' +\n((__t = ("+o+")) == null ? '' : __t) +\n'"),l=c+n.length,n})),p+="';\n";var f=Le.call(n,"variable")&&n.variable;f||(p="with (obj) {\n"+p+"\n}\n"),p=(i?p.replace(K,""):p).replace(W,"$1").replace($,"$1;"),p="function("+(f||"obj")+") {\n"+(f?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var g=Xs((function(){return xe(c,h+"return "+p).apply(a,u)}));if(g.source=p,Ji(g))throw g;return g},Bt.times=function(e,n){if((e=fs(e))<1||e>f)return[];var t=v,o=bt(e,v);n=ua(n),e-=v;for(var r=Jn(o,n);++t<e;)n(t);return r},Bt.toFinite=hs,Bt.toInteger=fs,Bt.toLength=gs,Bt.toLower=function(e){return bs(e).toLowerCase()},Bt.toNumber=vs,Bt.toSafeInteger=function(e){return e?so(fs(e),-9007199254740991,f):0===e?e:0},Bt.toString=bs,Bt.toUpper=function(e){return bs(e).toUpperCase()},Bt.trim=function(e,n,t){if((e=bs(e))&&(t||n===a))return e.replace(se,"");if(!e||!(n=lr(n)))return e;var o=ht(e),r=ht(n);return Sr(o,nt(o,r),tt(o,r)+1).join("")},Bt.trimEnd=function(e,n,t){if((e=bs(e))&&(t||n===a))return e.replace(ue,"");if(!e||!(n=lr(n)))return e;var o=ht(e);return Sr(o,0,tt(o,ht(n))+1).join("")},Bt.trimStart=function(e,n,t){if((e=bs(e))&&(t||n===a))return e.replace(ce,"");if(!e||!(n=lr(n)))return e;var o=ht(e);return Sr(o,nt(o,ht(n))).join("")},Bt.truncate=function(e,n){var t=30,o="...";if(ns(n)){var r="separator"in n?n.separator:r;t="length"in n?fs(n.length):t,o="omission"in n?lr(n.omission):o}var i=(e=bs(e)).length;if(st(e)){var s=ht(e);i=s.length}if(t>=i)return e;var c=t-mt(o);if(c<1)return o;var u=s?Sr(s,0,c).join(""):e.slice(0,c);if(r===a)return u+o;if(s&&(c+=u.length-c),is(r)){if(e.slice(c).search(r)){var l,d=u;for(r.global||(r=ke(r.source,bs(ge.exec(r))+"g")),r.lastIndex=0;l=r.exec(d);)var p=l.index;u=u.slice(0,p===a?c:p)}}else if(e.indexOf(lr(r),c)!=c){var m=u.lastIndexOf(r);m>-1&&(u=u.slice(0,m))}return u+o},Bt.unescape=function(e){return(e=bs(e))&&J.test(e)?e.replace(Y,ft):e},Bt.uniqueId=function(e){var n=++Fe;return bs(e)+n},Bt.upperCase=Qs,Bt.upperFirst=Js,Bt.each=bi,Bt.eachRight=Ci,Bt.first=Wa,cc(Bt,function(){var e={};return wo(Bt,(function(n,t){Le.call(Bt.prototype,t)||(e[t]=n)})),e}(),{chain:!1}),Bt.VERSION="4.17.15",Tn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bt[e].placeholder=Bt})),Tn(["drop","take"],(function(e,n){Ht.prototype[e]=function(t){t=t===a?1:yt(fs(t),0);var o=this.__filtered__&&!n?new Ht(this):this.clone();return o.__filtered__?o.__takeCount__=bt(t,o.__takeCount__):o.__views__.push({size:bt(t,v),type:e+(o.__dir__<0?"Right":"")}),o},Ht.prototype[e+"Right"]=function(n){return this.reverse()[e](n).reverse()}})),Tn(["filter","map","takeWhile"],(function(e,n){var t=n+1,o=1==t||3==t;Ht.prototype[e]=function(e){var n=this.clone();return n.__iteratees__.push({iteratee:ua(e,3),type:t}),n.__filtered__=n.__filtered__||o,n}})),Tn(["head","last"],(function(e,n){var t="take"+(n?"Right":"");Ht.prototype[e]=function(){return this[t](1).value()[0]}})),Tn(["initial","tail"],(function(e,n){var t="drop"+(n?"":"Right");Ht.prototype[e]=function(){return this.__filtered__?new Ht(this):this[t](1)}})),Ht.prototype.compact=function(){return this.filter(rc)},Ht.prototype.find=function(e){return this.filter(e).head()},Ht.prototype.findLast=function(e){return this.reverse().find(e)},Ht.prototype.invokeMap=Jo((function(e,n){return"function"==typeof e?new Ht(this):this.map((function(t){return Mo(t,e,n)}))})),Ht.prototype.reject=function(e){return this.filter(Li(ua(e)))},Ht.prototype.slice=function(e,n){e=fs(e);var t=this;return t.__filtered__&&(e>0||n<0)?new Ht(t):(e<0?t=t.takeRight(-e):e&&(t=t.drop(e)),n!==a&&(t=(n=fs(n))<0?t.dropRight(-n):t.take(n-e)),t)},Ht.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ht.prototype.toArray=function(){return this.take(v)},wo(Ht.prototype,(function(e,n){var t=/^(?:filter|find|map|reject)|While$/.test(n),o=/^(?:head|last)$/.test(n),r=Bt[o?"take"+("last"==n?"Right":""):n],i=o||/^find/.test(n);r&&(Bt.prototype[n]=function(){var n=this.__wrapped__,s=o?[1]:arguments,c=n instanceof Ht,u=s[0],l=c||qi(n),d=function(e){var n=r.apply(Bt,Ln([e],s));return o&&p?n[0]:n};l&&t&&"function"==typeof u&&1!=u.length&&(c=l=!1);var p=this.__chain__,m=!!this.__actions__.length,h=i&&!p,f=c&&!m;if(!i&&l){n=f?n:new Ht(this);var g=e.apply(n,s);return g.__actions__.push({func:hi,args:[d],thisArg:a}),new Gt(g,p)}return h&&f?e.apply(this,s):(g=this.thru(d),h?o?g.value()[0]:g.value():g)})})),Tn(["pop","push","shift","sort","splice","unshift"],(function(e){var n=Me[e],t=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);Bt.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var r=this.value();return n.apply(qi(r)?r:[],e)}return this[t]((function(t){return n.apply(qi(t)?t:[],e)}))}})),wo(Ht.prototype,(function(e,n){var t=Bt[n];if(t){var o=t.name+"";Le.call(Mt,o)||(Mt[o]=[]),Mt[o].push({name:n,func:t})}})),Mt[zr(a,2).name]=[{name:"wrapper",func:a}],Ht.prototype.clone=function(){var e=new Ht(this.__wrapped__);return e.__actions__=Pr(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pr(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pr(this.__views__),e},Ht.prototype.reverse=function(){if(this.__filtered__){var e=new Ht(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ht.prototype.value=function(){var e=this.__wrapped__.value(),n=this.__dir__,t=qi(e),o=n<0,r=t?e.length:0,a=function(e,n,t){var o=-1,r=t.length;for(;++o<r;){var a=t[o],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":n-=i;break;case"take":n=bt(n,e+i);break;case"takeRight":e=yt(e,n-i)}}return{start:e,end:n}}(0,r,this.__views__),i=a.start,s=a.end,c=s-i,u=o?s:i-1,l=this.__iteratees__,d=l.length,p=0,m=bt(c,this.__takeCount__);if(!t||!o&&r==c&&m==c)return fr(e,this.__actions__);var h=[];e:for(;c--&&p<m;){for(var f=-1,g=e[u+=n];++f<d;){var v=l[f],y=v.iteratee,b=v.type,C=y(g);if(2==b)g=C;else if(!C){if(1==b)continue e;break e}}h[p++]=g}return h},Bt.prototype.at=fi,Bt.prototype.chain=function(){return mi(this)},Bt.prototype.commit=function(){return new Gt(this.value(),this.__chain__)},Bt.prototype.next=function(){this.__values__===a&&(this.__values__=ms(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},Bt.prototype.plant=function(e){for(var n,t=this;t instanceof Vt;){var o=Ba(t);o.__index__=0,o.__values__=a,n?r.__wrapped__=o:n=o;var r=o;t=t.__wrapped__}return r.__wrapped__=e,n},Bt.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ht){var n=e;return this.__actions__.length&&(n=new Ht(this)),(n=n.reverse()).__actions__.push({func:hi,args:[ni],thisArg:a}),new Gt(n,this.__chain__)}return this.thru(ni)},Bt.prototype.toJSON=Bt.prototype.valueOf=Bt.prototype.value=function(){return fr(this.__wrapped__,this.__actions__)},Bt.prototype.first=Bt.prototype.head,Ze&&(Bt.prototype[Ze]=function(){return this}),Bt}();fn._=gt,(r=function(){return gt}.call(n,t,n,o))===a||(o.exports=r)}).call(this)}).call(this,t(102),t(182)(e))},function(e,n,t){"use strict";t.d(n,"e",(function(){return r})),t.d(n,"i",(function(){return a})),t.d(n,"b",(function(){return i})),t.d(n,"f",(function(){return s})),t.d(n,"a",(function(){return c})),t.d(n,"r",(function(){return u})),t.d(n,"l",(function(){return l})),t.d(n,"k",(function(){return d})),t.d(n,"j",(function(){return p})),t.d(n,"h",(function(){return m})),t.d(n,"g",(function(){return h})),t.d(n,"d",(function(){return f})),t.d(n,"c",(function(){return g})),t.d(n,"m",(function(){return v})),t.d(n,"n",(function(){return b})),t.d(n,"p",(function(){return C})),t.d(n,"q",(function(){return E})),t.d(n,"o",(function(){return x}));var o=t(28),r="undefined"===typeof window;function a(){}function i(e,n){return"function"===typeof e?e(n):e}function s(e){return"number"===typeof e&&e>=0&&e!==1/0}function c(e){return Array.isArray(e)?e:[e]}function u(e,n){return Math.max(e+(n||0)-Date.now(),0)}function l(e,n,t){return _(e)?"function"===typeof n?Object(o.a)({},t,{queryKey:e,queryFn:n}):Object(o.a)({},n,{queryKey:e}):e}function d(e,n,t){return _(e)?"function"===typeof n?Object(o.a)({},t,{mutationKey:e,mutationFn:n}):Object(o.a)({},n,{mutationKey:e}):"function"===typeof e?Object(o.a)({},n,{mutationFn:e}):Object(o.a)({},e)}function p(e,n,t){return _(e)?[Object(o.a)({},n,{queryKey:e}),t]:[e||{},n]}function m(e,n){var t=e.active,o=e.exact,r=e.fetching,a=e.inactive,i=e.predicate,s=e.queryKey,c=e.stale;if(_(s))if(o){if(n.queryHash!==f(s,n.options))return!1}else if(!v(n.queryKey,s))return!1;var u=function(e,n){return!0===e&&!0===n||null==e&&null==n?"all":!1===e&&!1===n?"none":(null!=e?e:!n)?"active":"inactive"}(t,a);if("none"===u)return!1;if("all"!==u){var l=n.isActive();if("active"===u&&!l)return!1;if("inactive"===u&&l)return!1}return("boolean"!==typeof c||n.isStale()===c)&&(("boolean"!==typeof r||n.isFetching()===r)&&!(i&&!i(n)))}function h(e,n){var t=e.exact,o=e.fetching,r=e.predicate,a=e.mutationKey;if(_(a)){if(!n.options.mutationKey)return!1;if(t){if(g(n.options.mutationKey)!==g(a))return!1}else if(!v(n.options.mutationKey,a))return!1}return("boolean"!==typeof o||"loading"===n.state.status===o)&&!(r&&!r(n))}function f(e,n){return((null==n?void 0:n.queryKeyHashFn)||g)(e)}function g(e){var n,t=c(e);return n=t,JSON.stringify(n,(function(e,n){return w(n)?Object.keys(n).sort().reduce((function(e,t){return e[t]=n[t],e}),{}):n}))}function v(e,n){return y(c(e),c(n))}function y(e,n){return e===n||typeof e===typeof n&&(!(!e||!n||"object"!==typeof e||"object"!==typeof n)&&!Object.keys(n).some((function(t){return!y(e[t],n[t])})))}function b(e,n){if(e===n)return e;var t=Array.isArray(e)&&Array.isArray(n);if(t||w(e)&&w(n)){for(var o=t?e.length:Object.keys(e).length,r=t?n:Object.keys(n),a=r.length,i=t?[]:{},s=0,c=0;c<a;c++){var u=t?c:r[c];i[u]=b(e[u],n[u]),i[u]===e[u]&&s++}return o===a&&s===o?e:i}return n}function C(e,n){if(e&&!n||n&&!e)return!1;for(var t in e)if(e[t]!==n[t])return!1;return!0}function w(e){if(!S(e))return!1;var n=e.constructor;if("undefined"===typeof n)return!0;var t=n.prototype;return!!S(t)&&!!t.hasOwnProperty("isPrototypeOf")}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){return"string"===typeof e||Array.isArray(e)}function E(e){return new Promise((function(n){setTimeout(n,e)}))}function x(e){Promise.resolve().then(e).catch((function(e){return setTimeout((function(){throw e}))}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return a}));var o=t(11),r=t(29),a={clientInfoDecodingError:{code:"client_info_decoding_error",desc:"The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause."},clientInfoEmptyError:{code:"client_info_empty_error",desc:"The client info was empty. Please review the trace to determine the root cause."},tokenParsingError:{code:"token_parsing_error",desc:"Token cannot be parsed. Please review stack trace to determine root cause."},nullOrEmptyToken:{code:"null_or_empty_token",desc:"The token is null or empty. Please review the trace to determine the root cause."},endpointResolutionError:{code:"endpoints_resolution_error",desc:"Error: could not resolve endpoints. Please check network and try again."},networkError:{code:"network_error",desc:"Network request failed. Please check network trace to determine root cause."},unableToGetOpenidConfigError:{code:"openid_config_error",desc:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints."},hashNotDeserialized:{code:"hash_not_deserialized",desc:"The hash parameters could not be deserialized. Please review the trace to determine the root cause."},blankGuidGenerated:{code:"blank_guid_generated",desc:"The guid generated was blank. Please review the trace to determine the root cause."},invalidStateError:{code:"invalid_state",desc:"State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState()."},stateMismatchError:{code:"state_mismatch",desc:"State mismatch error. Please check your network. Continued requests may cause cache overflow."},stateNotFoundError:{code:"state_not_found",desc:"State not found"},nonceMismatchError:{code:"nonce_mismatch",desc:"Nonce mismatch error. This may be caused by a race condition in concurrent requests."},nonceNotFoundError:{code:"nonce_not_found",desc:"nonce not found"},authTimeNotFoundError:{code:"auth_time_not_found",desc:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information."},maxAgeTranspiredError:{code:"max_age_transpired",desc:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication."},noTokensFoundError:{code:"no_tokens_found",desc:"No tokens were found for the given scopes, and no authorization code was passed to acquireToken. You must retrieve an authorization code before making a call to acquireToken()."},multipleMatchingTokens:{code:"multiple_matching_tokens",desc:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account."},multipleMatchingAccounts:{code:"multiple_matching_accounts",desc:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account"},multipleMatchingAppMetadata:{code:"multiple_matching_appMetadata",desc:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata"},tokenRequestCannotBeMade:{code:"request_cannot_be_made",desc:"Token request cannot be made without authorization code or refresh token."},appendEmptyScopeError:{code:"cannot_append_empty_scope",desc:"Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info."},removeEmptyScopeError:{code:"cannot_remove_empty_scope",desc:"Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info."},appendScopeSetError:{code:"cannot_append_scopeset",desc:"Cannot append ScopeSet due to error."},emptyInputScopeSetError:{code:"empty_input_scopeset",desc:"Empty input ScopeSet cannot be processed."},DeviceCodePollingCancelled:{code:"device_code_polling_cancelled",desc:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true."},DeviceCodeExpired:{code:"device_code_expired",desc:"Device code is expired."},DeviceCodeUnknownError:{code:"device_code_unknown_error",desc:"Device code stopped polling for unknown reasons."},NoAccountInSilentRequest:{code:"no_account_in_silent_request",desc:"Please pass an account object, silent flow is not supported without account information"},invalidCacheRecord:{code:"invalid_cache_record",desc:"Cache record object was null or undefined."},invalidCacheEnvironment:{code:"invalid_cache_environment",desc:"Invalid environment when attempting to create cache entry"},noAccountFound:{code:"no_account_found",desc:"No account found in cache for given key."},CachePluginError:{code:"no cache plugin set on CacheManager",desc:"ICachePlugin needs to be set before using readFromStorage or writeFromStorage"},noCryptoObj:{code:"no_crypto_object",desc:"No crypto object detected. This is required for the following operation: "},invalidCacheType:{code:"invalid_cache_type",desc:"Invalid cache type"},unexpectedAccountType:{code:"unexpected_account_type",desc:"Unexpected account type."},unexpectedCredentialType:{code:"unexpected_credential_type",desc:"Unexpected credential type."},invalidAssertion:{code:"invalid_assertion",desc:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515"},invalidClientCredential:{code:"invalid_client_credential",desc:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential"},tokenRefreshRequired:{code:"token_refresh_required",desc:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired."},userTimeoutReached:{code:"user_timeout_reached",desc:"User defined timeout for device code polling reached"},tokenClaimsRequired:{code:"token_claims_cnf_required_for_signedjwt",desc:"Cannot generate a POP jwt if the token_claims are not populated"},noAuthorizationCodeFromServer:{code:"authorization_code_missing_from_server_response",desc:"Server response does not contain an authorization code to proceed"},noAzureRegionDetected:{code:"no_azure_region_detected",desc:"No azure region was detected and no fallback was made available"},accessTokenEntityNullError:{code:"access_token_entity_null",desc:"Access token entity is null, please check logs and cache to ensure a valid access token is present."},bindingKeyNotRemovedError:{code:"binding_key_not_removed",desc:"Could not remove the credential's binding key from storage."},logoutNotSupported:{code:"end_session_endpoint_not_supported",desc:"Provided authority does not support logout."},keyIdMissing:{code:"key_id_missing",desc:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key."}},i=function(e){function n(t,o){var r=e.call(this,t,o)||this;return r.name="ClientAuthError",Object.setPrototypeOf(r,n.prototype),r}return Object(o.c)(n,e),n.createClientInfoDecodingError=function(e){return new n(a.clientInfoDecodingError.code,a.clientInfoDecodingError.desc+" Failed with error: "+e)},n.createClientInfoEmptyError=function(){return new n(a.clientInfoEmptyError.code,""+a.clientInfoEmptyError.desc)},n.createTokenParsingError=function(e){return new n(a.tokenParsingError.code,a.tokenParsingError.desc+" Failed with error: "+e)},n.createTokenNullOrEmptyError=function(e){return new n(a.nullOrEmptyToken.code,a.nullOrEmptyToken.desc+" Raw Token Value: "+e)},n.createEndpointDiscoveryIncompleteError=function(e){return new n(a.endpointResolutionError.code,a.endpointResolutionError.desc+" Detail: "+e)},n.createNetworkError=function(e,t){return new n(a.networkError.code,a.networkError.desc+" | Fetch client threw: "+t+" | Attempted to reach: "+e.split("?")[0])},n.createUnableToGetOpenidConfigError=function(e){return new n(a.unableToGetOpenidConfigError.code,a.unableToGetOpenidConfigError.desc+" Attempted to retrieve endpoints from: "+e)},n.createHashNotDeserializedError=function(e){return new n(a.hashNotDeserialized.code,a.hashNotDeserialized.desc+" Given Object: "+e)},n.createInvalidStateError=function(e,t){return new n(a.invalidStateError.code,a.invalidStateError.desc+" Invalid State: "+e+", Root Err: "+t)},n.createStateMismatchError=function(){return new n(a.stateMismatchError.code,a.stateMismatchError.desc)},n.createStateNotFoundError=function(e){return new n(a.stateNotFoundError.code,a.stateNotFoundError.desc+":  "+e)},n.createNonceMismatchError=function(){return new n(a.nonceMismatchError.code,a.nonceMismatchError.desc)},n.createAuthTimeNotFoundError=function(){return new n(a.authTimeNotFoundError.code,a.authTimeNotFoundError.desc)},n.createMaxAgeTranspiredError=function(){return new n(a.maxAgeTranspiredError.code,a.maxAgeTranspiredError.desc)},n.createNonceNotFoundError=function(e){return new n(a.nonceNotFoundError.code,a.nonceNotFoundError.desc+":  "+e)},n.createMultipleMatchingTokensInCacheError=function(){return new n(a.multipleMatchingTokens.code,a.multipleMatchingTokens.desc+".")},n.createMultipleMatchingAccountsInCacheError=function(){return new n(a.multipleMatchingAccounts.code,a.multipleMatchingAccounts.desc)},n.createMultipleMatchingAppMetadataInCacheError=function(){return new n(a.multipleMatchingAppMetadata.code,a.multipleMatchingAppMetadata.desc)},n.createTokenRequestCannotBeMadeError=function(){return new n(a.tokenRequestCannotBeMade.code,a.tokenRequestCannotBeMade.desc)},n.createAppendEmptyScopeToSetError=function(e){return new n(a.appendEmptyScopeError.code,a.appendEmptyScopeError.desc+" Given Scope: "+e)},n.createRemoveEmptyScopeFromSetError=function(e){return new n(a.removeEmptyScopeError.code,a.removeEmptyScopeError.desc+" Given Scope: "+e)},n.createAppendScopeSetError=function(e){return new n(a.appendScopeSetError.code,a.appendScopeSetError.desc+" Detail Error: "+e)},n.createEmptyInputScopeSetError=function(){return new n(a.emptyInputScopeSetError.code,""+a.emptyInputScopeSetError.desc)},n.createDeviceCodeCancelledError=function(){return new n(a.DeviceCodePollingCancelled.code,""+a.DeviceCodePollingCancelled.desc)},n.createDeviceCodeExpiredError=function(){return new n(a.DeviceCodeExpired.code,""+a.DeviceCodeExpired.desc)},n.createDeviceCodeUnknownError=function(){return new n(a.DeviceCodeUnknownError.code,""+a.DeviceCodeUnknownError.desc)},n.createNoAccountInSilentRequestError=function(){return new n(a.NoAccountInSilentRequest.code,""+a.NoAccountInSilentRequest.desc)},n.createNullOrUndefinedCacheRecord=function(){return new n(a.invalidCacheRecord.code,a.invalidCacheRecord.desc)},n.createInvalidCacheEnvironmentError=function(){return new n(a.invalidCacheEnvironment.code,a.invalidCacheEnvironment.desc)},n.createNoAccountFoundError=function(){return new n(a.noAccountFound.code,a.noAccountFound.desc)},n.createCachePluginError=function(){return new n(a.CachePluginError.code,""+a.CachePluginError.desc)},n.createNoCryptoObjectError=function(e){return new n(a.noCryptoObj.code,""+a.noCryptoObj.desc+e)},n.createInvalidCacheTypeError=function(){return new n(a.invalidCacheType.code,""+a.invalidCacheType.desc)},n.createUnexpectedAccountTypeError=function(){return new n(a.unexpectedAccountType.code,""+a.unexpectedAccountType.desc)},n.createUnexpectedCredentialTypeError=function(){return new n(a.unexpectedCredentialType.code,""+a.unexpectedCredentialType.desc)},n.createInvalidAssertionError=function(){return new n(a.invalidAssertion.code,""+a.invalidAssertion.desc)},n.createInvalidCredentialError=function(){return new n(a.invalidClientCredential.code,""+a.invalidClientCredential.desc)},n.createRefreshRequiredError=function(){return new n(a.tokenRefreshRequired.code,a.tokenRefreshRequired.desc)},n.createUserTimeoutReachedError=function(){return new n(a.userTimeoutReached.code,a.userTimeoutReached.desc)},n.createTokenClaimsRequiredError=function(){return new n(a.tokenClaimsRequired.code,a.tokenClaimsRequired.desc)},n.createNoAuthCodeInServerResponseError=function(){return new n(a.noAuthorizationCodeFromServer.code,a.noAuthorizationCodeFromServer.desc)},n.createBindingKeyNotRemovedError=function(){return new n(a.bindingKeyNotRemovedError.code,a.bindingKeyNotRemovedError.desc)},n.createLogoutNotSupportedError=function(){return new n(a.logoutNotSupported.code,a.logoutNotSupported.desc)},n.createKeyIdMissingError=function(){return new n(a.keyIdMissing.code,a.keyIdMissing.desc)},n}(r.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(138);var r=t(113);function a(e){return function(e){if(Array.isArray(e))return Object(o.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(r.a)(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(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(20),r=function(){function e(){}return e.decodeAuthToken=function(n){if(e.isEmpty(n))throw o.a.createTokenNullOrEmptyError(n);var t=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(n);if(!t||t.length<4)throw o.a.createTokenParsingError("Given token is malformed: "+JSON.stringify(n));return{header:t[1],JWSPayload:t[2],JWSSig:t[3]}},e.isEmpty=function(e){return"undefined"===typeof e||!e||0===e.length},e.isEmptyObj=function(n){if(n&&!e.isEmpty(n))try{var t=JSON.parse(n);return 0===Object.keys(t).length}catch(o){}return!0},e.startsWith=function(e,n){return 0===e.indexOf(n)},e.endsWith=function(e,n){return e.length>=n.length&&e.lastIndexOf(n)===e.length-n.length},e.queryStringToObject=function(e){var n={},t=e.split("&"),o=function(e){return decodeURIComponent(e.replace(/\+/g," "))};return t.forEach((function(e){if(e.trim()){var t=e.split(/=(.+)/g,2),r=t[0],a=t[1];r&&a&&(n[o(r)]=o(a))}})),n},e.trimArrayEntries=function(e){return e.map((function(e){return e.trim()}))},e.removeEmptyStringsFromArray=function(n){return n.filter((function(n){return!e.isEmpty(n)}))},e.jsonParseHelper=function(e){try{return JSON.parse(e)}catch(n){return null}},e.matchPattern=function(e,n){return new RegExp(e.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(n)},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return d})),t.d(n,"e",(function(){return p})),t.d(n,"f",(function(){return u})),t.d(n,"g",(function(){return l}));var o,r,a,i,s=t(42),c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((function(e){return e+":not([tabindex='-1'])"})).join(",");function u(e){return void 0===e&&(e=document.body),null==e?[]:Array.from(e.querySelectorAll(c))}function l(e,n){var t;return void 0===n&&(n=i.Strict),e!==document.body&&Object(s.a)(n,((t={})[i.Strict]=function(){return e.matches(c)},t[i.Loose]=function(){for(var n=e;null!==n;){if(n.matches(c))return!0;n=n.parentElement}return!1},t))}function d(e){null==e||e.focus({preventScroll:!0})}function p(e,n){var t=Array.isArray(e)?e:u(e),i=document.activeElement,s=function(){if(n&(o.First|o.Next))return a.Next;if(n&(o.Previous|o.Last))return a.Previous;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),c=function(){if(n&o.First)return 0;if(n&o.Previous)return Math.max(0,t.indexOf(i))-1;if(n&o.Next)return Math.max(0,t.indexOf(i))+1;if(n&o.Last)return t.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")}(),l=n&o.NoScroll?{preventScroll:!0}:{},d=0,p=t.length,m=void 0;do{var h;if(d>=p||d+p<=0)return r.Error;var f=c+d;if(n&o.WrapAround)f=(f+p)%p;else{if(f<0)return r.Underflow;if(f>=p)return r.Overflow}null==(h=m=t[f])||h.focus(l),d+=s}while(m!==document.activeElement);return m.hasAttribute("tabindex")||m.setAttribute("tabindex","0"),r.Success}!function(e){e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll"}(o||(o={})),function(e){e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow"}(r||(r={})),function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"}(a||(a={})),function(e){e[e.Strict=0]="Strict",e[e.Loose=1]="Loose"}(i||(i={}))},function(e,n,t){"use strict";var o;t.d(n,"a",(function(){return o})),function(e){e.INITIALIZE_START="msal:initializeStart",e.INITIALIZE_END="msal:initializeEnd",e.ACCOUNT_ADDED="msal:accountAdded",e.ACCOUNT_REMOVED="msal:accountRemoved",e.LOGIN_START="msal:loginStart",e.LOGIN_SUCCESS="msal:loginSuccess",e.LOGIN_FAILURE="msal:loginFailure",e.ACQUIRE_TOKEN_START="msal:acquireTokenStart",e.ACQUIRE_TOKEN_SUCCESS="msal:acquireTokenSuccess",e.ACQUIRE_TOKEN_FAILURE="msal:acquireTokenFailure",e.ACQUIRE_TOKEN_NETWORK_START="msal:acquireTokenFromNetworkStart",e.SSO_SILENT_START="msal:ssoSilentStart",e.SSO_SILENT_SUCCESS="msal:ssoSilentSuccess",e.SSO_SILENT_FAILURE="msal:ssoSilentFailure",e.ACQUIRE_TOKEN_BY_CODE_START="msal:acquireTokenByCodeStart",e.ACQUIRE_TOKEN_BY_CODE_SUCCESS="msal:acquireTokenByCodeSuccess",e.ACQUIRE_TOKEN_BY_CODE_FAILURE="msal:acquireTokenByCodeFailure",e.HANDLE_REDIRECT_START="msal:handleRedirectStart",e.HANDLE_REDIRECT_END="msal:handleRedirectEnd",e.POPUP_OPENED="msal:popupOpened",e.LOGOUT_START="msal:logoutStart",e.LOGOUT_SUCCESS="msal:logoutSuccess",e.LOGOUT_FAILURE="msal:logoutFailure",e.LOGOUT_END="msal:logoutEnd"}(o||(o={}))},function(e,n,t){"use strict";var o=t(133);t.o(o,"QueryClient")&&t.d(n,"QueryClient",(function(){return o.QueryClient})),t.o(o,"QueryClientProvider")&&t.d(n,"QueryClientProvider",(function(){return o.QueryClientProvider})),t.o(o,"useInfiniteQuery")&&t.d(n,"useInfiniteQuery",(function(){return o.useInfiniteQuery})),t.o(o,"useIsFetching")&&t.d(n,"useIsFetching",(function(){return o.useIsFetching})),t.o(o,"useMutation")&&t.d(n,"useMutation",(function(){return o.useMutation})),t.o(o,"useQuery")&&t.d(n,"useQuery",(function(){return o.useQuery})),t.o(o,"useQueryClient")&&t.d(n,"useQueryClient",(function(){return o.useQueryClient}));var r=t(220);t.o(r,"QueryClient")&&t.d(n,"QueryClient",(function(){return r.QueryClient})),t.o(r,"QueryClientProvider")&&t.d(n,"QueryClientProvider",(function(){return r.QueryClientProvider})),t.o(r,"useInfiniteQuery")&&t.d(n,"useInfiniteQuery",(function(){return r.useInfiniteQuery})),t.o(r,"useIsFetching")&&t.d(n,"useIsFetching",(function(){return r.useIsFetching})),t.o(r,"useMutation")&&t.d(n,"useMutation",(function(){return r.useMutation})),t.o(r,"useQuery")&&t.d(n,"useQuery",(function(){return r.useQuery})),t.o(r,"useQueryClient")&&t.d(n,"useQueryClient",(function(){return r.useQueryClient}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return l})),t.d(n,"d",(function(){return c}));var o,r,a=t(17),i=t(0),s=t(42);function c(e){var n=e.props,t=e.slot,i=e.defaultTag,c=e.features,l=e.visible,d=void 0===l||l,p=e.name;if(d)return u(n,t,i,p);var m=null!=c?c:o.None;if(m&o.Static){var h=n.static,f=void 0!==h&&h,g=Object(a.c)(n,["static"]);if(f)return u(g,t,i,p)}if(m&o.RenderStrategy){var v,y=n.unmount,b=void 0===y||y,C=Object(a.c)(n,["unmount"]),w=b?r.Unmount:r.Hidden;return Object(s.a)(w,((v={})[r.Unmount]=function(){return null},v[r.Hidden]=function(){return u(Object(a.b)({},C,{hidden:!0,style:{display:"none"}}),t,i,p)},v))}return u(n,t,i,p)}function u(e,n,t,o){var r;void 0===n&&(n={});var s=d(e,["unmount","static"]),c=s.as,u=void 0===c?t:c,l=s.children,p=s.refName,m=void 0===p?"ref":p,h=Object(a.c)(s,["as","children","refName"]),f=void 0!==e.ref?((r={})[m]=e.ref,r):{},g="function"===typeof l?l(n):l;if(h.className&&"function"===typeof h.className&&(h.className=h.className(n)),u===i.Fragment&&Object.keys(h).length>0){if(!Object(i.isValidElement)(g)||Array.isArray(g)&&g.length>1)throw new Error(['Passing props on "Fragment"!',"","The current component <"+o+' /> is rendering a "Fragment".',"However we need to passthrough the following props:",Object.keys(h).map((function(e){return"  - "+e})).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((function(e){return"  - "+e})).join("\n")].join("\n"));return Object(i.cloneElement)(g,Object.assign({},function(e,n,t){for(var o,r=Object.assign({},e),i=function(){var t,a=o.value;void 0!==e[a]&&void 0!==n[a]&&Object.assign(r,((t={})[a]=function(t){t.defaultPrevented||e[a](t),t.defaultPrevented||n[a](t)},t))},s=Object(a.a)(t);!(o=s()).done;)i();return r}(function(e){var n=Object.assign({},e);for(var t in n)void 0===n[t]&&delete n[t];return n}(d(h,["ref"])),g.props,["onClick"]),f))}return Object(i.createElement)(u,Object.assign({},d(h,["ref"]),u!==i.Fragment&&f),g)}function l(e){var n;return Object.assign(Object(i.forwardRef)(e),{displayName:null!=(n=e.displayName)?n:e.name})}function d(e,n){void 0===n&&(n=[]);for(var t,o=Object.assign({},e),r=Object(a.a)(n);!(t=r()).done;){var i=t.value;i in o&&delete o[i]}return o}!function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"}(o||(o={})),function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"}(r||(r={}))},function(e,n,t){"use strict";function o(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";function o(){return(o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(11),r=t(2),a={code:"unexpected_error",desc:"Unexpected error in authentication."},i={code:"post_request_failed",desc:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},s=function(e){function n(t,o,a){var i=this,s=o?t+": "+o:t;return i=e.call(this,s)||this,Object.setPrototypeOf(i,n.prototype),i.errorCode=t||r.n.EMPTY_STRING,i.errorMessage=o||r.n.EMPTY_STRING,i.subError=a||r.n.EMPTY_STRING,i.name="AuthError",i}return Object(o.c)(n,e),n.prototype.setCorrelationId=function(e){this.correlationId=e},n.createUnexpectedError=function(e){return new n(a.code,a.desc+": "+e)},n.createPostRequestFailed=function(e){return new n(i.code,i.desc+": "+e)},n}(Error)},function(e,n,t){"use strict";function o(e,n){return e===n}function r(e,n,t){if(null===n||null===t||n.length!==t.length)return!1;for(var o=n.length,r=0;r<o;r++)if(!e(n[r],t[r]))return!1;return!0}function a(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o,t=null,a=null;return function(){return r(n,t,arguments)||(a=e.apply(null,arguments)),t=arguments,a}}function i(e){var n=Array.isArray(e[0])?e[0]:e;if(!n.every((function(e){return"function"===typeof e}))){var t=n.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+t+"]")}return n}function s(e){for(var n=arguments.length,t=Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return function(){for(var n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];var a=0,s=o.pop(),c=i(o),u=e.apply(void 0,[function(){return a++,s.apply(null,arguments)}].concat(t)),l=e((function(){for(var e=[],n=c.length,t=0;t<n;t++)e.push(c[t].apply(null,arguments));return u.apply(null,e)}));return l.resultFunc=s,l.dependencies=c,l.recomputations=function(){return a},l.resetRecomputations=function(){return a=0},l}}t.d(n,"c",(function(){return a})),t.d(n,"b",(function(){return s})),t.d(n,"a",(function(){return c}));var c=s(a)},function(e,n,t){"use strict";function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return d})),t.d(n,"b",(function(){return v})),t.d(n,"c",(function(){return C}));var o=t(40);function r(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}var a=t(0),i=t.n(a),s=t(72);t(111);function c(){return(c=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function u(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}var l=t(65);i.a.Component;var d=function(e){function n(){for(var n,t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return(n=e.call.apply(e,[this].concat(o))||this).history=Object(s.b)(n.props),n}return r(n,e),n.prototype.render=function(){return i.a.createElement(o.c,{history:this.history,children:this.props.children})},n}(i.a.Component);var p=function(e,n){return"function"===typeof e?e(n):e},m=function(e,n){return"string"===typeof e?Object(s.c)(e,null,null,n):e},h=function(e){return e},f=i.a.forwardRef;"undefined"===typeof f&&(f=h);var g=f((function(e,n){var t=e.innerRef,o=e.navigate,r=e.onClick,a=u(e,["innerRef","navigate","onClick"]),s=a.target,l=c({},a,{onClick:function(e){try{r&&r(e)}catch(n){throw e.preventDefault(),n}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),o())}});return l.ref=h!==f&&n||t,i.a.createElement("a",l)}));var v=f((function(e,n){var t=e.component,r=void 0===t?g:t,a=e.replace,s=e.to,d=e.innerRef,v=u(e,["component","replace","to","innerRef"]);return i.a.createElement(o.e.Consumer,null,(function(e){e||Object(l.a)(!1);var t=e.history,o=m(p(s,e.location),e.location),u=o?t.createHref(o):"",g=c({},v,{href:u,navigate:function(){var n=p(s,e.location);(a?t.replace:t.push)(n)}});return h!==f?g.ref=n||d:g.innerRef=d,i.a.createElement(r,g)}))})),y=function(e){return e},b=i.a.forwardRef;"undefined"===typeof b&&(b=y);var C=b((function(e,n){var t=e["aria-current"],r=void 0===t?"page":t,a=e.activeClassName,s=void 0===a?"active":a,d=e.activeStyle,h=e.className,f=e.exact,g=e.isActive,C=e.location,w=e.sensitive,S=e.strict,_=e.style,E=e.to,x=e.innerRef,O=u(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.a.createElement(o.e.Consumer,null,(function(e){e||Object(l.a)(!1);var t=C||e.location,a=m(p(E,t),t),u=a.pathname,A=u&&u.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),k=A?Object(o.f)(t.pathname,{path:A,exact:f,sensitive:w,strict:S}):null,T=!!(g?g(k,t):k),P=T?function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return n.filter((function(e){return e})).join(" ")}(h,s):h,M=T?c({},_,{},d):_,I=c({"aria-current":T&&r||null,className:P,style:M,to:a},O);return y!==b?I.ref=n||x:I.innerRef=x,i.a.createElement(v,I)}))}))},function(e,n,t){"use strict";var o;t.d(n,"a",(function(){return o})),function(e){e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab"}(o||(o={}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return Ue})),t.d(n,"b",(function(){return Ie})),t.d(n,"c",(function(){return Fe}));var o=t(75),r=t(5),a=t.n(r),i=t(10),s=t(21),c=t(31),u=t(8),l=t(0),d=function(e){return e instanceof HTMLElement},p="blur",m="change",h="input",f="onBlur",g="onChange",v="onSubmit",y="onTouched",b="all",C="select",w="undefined",S="max",_="min",E="maxLength",x="minLength",O="pattern",A="required",k="validate";function T(e,n,t){var o=e.ref;d(o)&&t&&(o.addEventListener(n?m:h,t),o.addEventListener(p,t))}var P=function(e){return null==e},M=function(e){return Array.isArray(e)},I=function(e){return"object"===typeof e},R=function(e){return!P(e)&&!M(e)&&I(e)&&!(e instanceof Date)},j=function(e){return!M(e)&&(/^\w*$/.test(e)||!/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/.test(e))},N=function(e){var n=[];return e.replace(/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,(function(e,t,o,r){n.push(o?r.replace(/\\(\\)?/g,"$1"):t||e)})),n};function L(e,n,t){for(var o=-1,r=j(n)?[n]:N(n),a=r.length,i=a-1;++o<a;){var s=r[o],c=t;if(o!==i){var u=e[s];c=R(u)||M(u)?u:isNaN(+r[o+1])?{}:[]}e[s]=c,e=e[s]}return e}var F=function(e){return Object.entries(e).reduce((function(e,n){var t=Object(u.a)(n,2),o=t[0],r=t[1];return j(o)?Object.assign(Object.assign({},e),Object(c.a)({},o,r)):(L(e,o,r),e)}),{})},U=function(e){return void 0===e},D=function(e){return e.filter(Boolean)},B=function(e,n,t){var o=D(n.split(/[,[\].]+?/)).reduce((function(e,n){return P(e)?e:e[n]}),e);return U(o)||o===e?U(e[n])?t:e[n]:o},z=function(e,n){for(var t in e)if(B(n,t)){var o=e[t];if(o){if(o.ref.focus){o.ref.focus();break}if(o.options){o.options[0].ref.focus();break}}}},V=function(e,n){d(e)&&e.removeEventListener&&(e.removeEventListener(h,n),e.removeEventListener(m,n),e.removeEventListener(p,n))},G={isValid:!1,value:""},H=function(e){return M(e)?e.reduce((function(e,n){return n&&n.ref.checked?{isValid:!0,value:n.ref.value}:e}),G):G},q=function(e){return"radio"===e.type},K=function(e){return"file"===e.type},W=function(e){return"checkbox"===e.type},$=function(e){return e.type==="".concat(C,"-multiple")},Y={value:!1,isValid:!1},Q={value:!0,isValid:!0},J=function(e){if(M(e)){if(e.length>1){var n=e.filter((function(e){return e&&e.ref.checked})).map((function(e){return e.ref.value}));return{value:n,isValid:!!n.length}}var t=e[0].ref,o=t.checked,r=t.value,a=t.attributes;return o?a&&!U(a.value)?U(r)||""===r?Q:{value:r,isValid:!0}:Q:Y}return Y};function Z(e,n,t,o){var r,a=e.current[n];if(a){var i=a.ref,c=i.value,u=i.disabled,l=a.ref;if(u&&o)return;return K(l)?l.files:q(l)?H(a.options).value:$(l)?(r=l.options,Object(s.a)(r).filter((function(e){return e.selected})).map((function(e){return e.value}))):W(l)?J(a.options).value:c}if(t)return B(t.current,n)}function X(e){return!e||e instanceof HTMLElement&&e.nodeType!==Node.DOCUMENT_NODE&&X(e.parentNode)}var ee=function(e){return R(e)&&!Object.keys(e).length},ne=function(e){return"boolean"===typeof e};function te(e,n){var t=j(n)?[n]:N(n),o=1==t.length?e:function(e,n){for(var t=n.slice(0,-1).length,o=0;o<t;)e=U(e)?o++:e[n[o++]];return e}(e,t),r=t[t.length-1],a=void 0;o&&delete o[r];for(var i=0;i<t.slice(0,-1).length;i++){var s=-1,c=void 0,u=t.slice(0,-(i+1)),l=u.length-1;for(i>0&&(a=e);++s<u.length;){var d=u[s];c=c?c[d]:e[d],l===s&&(R(c)&&ee(c)||M(c)&&!c.filter((function(e){return R(e)&&!ee(e)||ne(e)})).length)&&(a?delete a[d]:delete e[d]),a=c}}return e}var oe=function(e,n){return e&&e.ref===n};function re(e,n,t,o,r,a){var i=t.ref,s=t.ref,c=s.name,u=s.type,l=e.current[c];if(!r){var d=Z(e,c,o);U(d)||L(o.current,c,d)}if(u)if((q(i)||W(i))&&l){var p=l.options;M(p)&&p.length?(D(p).forEach((function(e,t){var o=e.ref;(o&&X(o)&&oe(e,o)||a)&&(V(o,n),te(p,"[".concat(t,"]")))})),p&&!D(p).length&&delete e.current[c]):delete e.current[c]}else(X(i)&&oe(l,i)||a)&&(V(i,n),delete e.current[c]);else delete e.current[c]}function ae(e,n,t,o,r){for(var a=-1;++a<e.length;){for(var i in e[a])M(e[a][i])?(!t[a]&&(t[a]={}),t[a][i]=[],ae(e[a][i],B(n[a]||{},i,[]),t[a][i],t[a],i)):B(n[a]||{},i)===e[a][i]?L(t[a]||{},i):t[a]=Object.assign(Object.assign({},t[a]),Object(c.a)({},i,!0));!t.length&&o&&delete o[r]}return t.length?t:void 0}var ie=function(e){return"string"===typeof e},se=function(e){return P(e)||!I(e)};function ce(e,n){if(se(e)||se(n))return n;for(var t in n){var o=e[t],r=n[t];try{R(o)&&R(r)||M(o)&&M(r)?e[t]=ce(o,r):e[t]=r}catch(a){}}return e}var ue=function(e,n,t,o){var r={},a=function(n){(U(o)||(ie(o)?n.startsWith(o):M(o)&&o.find((function(e){return n.startsWith(e)}))))&&(r[n]=Z(e,n,void 0,t))};for(var i in e.current)a(i);return ce(Object.assign({},(n||{}).current||{}),F(r))};function le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2?arguments[2]:void 0,o=Object.keys(e),r=Object.keys(n);if(o.length!==r.length)return!1;for(var a=0,i=o;a<i.length;a++){var s=i[a];if(!t||!["ref","context"].includes(s)){var c=e[s],u=n[s];if((R(c)||M(c))&&(R(u)||M(u))?!le(c,u,t):c!==u)return!1}}return!0}function de(e){var n=e.errors,t=e.name,o=e.error,r=e.validFields,a=e.fieldsWithValidation,i=U(o),s=B(n,t);return i&&!!s||!i&&!le(s,o,!0)||i&&B(a,t)&&!B(r,t)}var pe=function(e){return e instanceof RegExp},me=function(e){return R(n=e)&&!pe(n)?e:{value:e,message:""};var n},he=function(e){return"function"===typeof e},fe=function(e){return ie(e)||R(e)&&Object(l.isValidElement)(e)};function ge(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"validate";if(fe(e)||ne(e)&&!e)return{type:t,message:fe(e)?e:"",ref:n}}var ve=function(e,n,t,o,r){if(n){var a=t[e];return Object.assign(Object.assign({},a),{types:Object.assign(Object.assign({},a&&a.types?a.types:{}),Object(c.a)({},o,r||!0))})}return{}},ye=function(){var e=Object(i.a)(a.a.mark((function e(n,t,o,r){var i,s,c,l,d,p,m,h,f,g,v,y,b,C,w,T,M,I,j,N,L,F,U,D,B,z,V,G,K,$,Y,Q,X,te,oe,re,ae,se,ce,ue,le,de,ye,be,Ce,we,Se,_e,Ee,xe,Oe,Ae,ke,Te,Pe,Me,Ie,Re;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=o.ref,s=o.ref,c=s.type,l=s.value,d=o.options,p=o.required,m=o.maxLength,h=o.minLength,f=o.min,g=o.max,v=o.pattern,y=o.validate,b=n.current,C=i.name,w={},T=q(i),M=W(i),I=T||M,j=""===l,N=ve.bind(null,C,t,w),L=function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:E,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:x,a=e?n:t;w[C]=Object.assign({type:e?o:r,message:a,ref:i},N(e?o:r,a))},!p||!(!T&&!M&&(j||P(l))||ne(l)&&!l||M&&!J(d).isValid||T&&!H(d).isValid)){e.next=16;break}if(F=fe(p)?{value:!!p,message:p}:me(p),U=F.value,D=F.message,!U){e.next=16;break}if(w[C]=Object.assign({type:A,message:D,ref:I?((b[C].options||[])[0]||{}).ref:i},N(A,D)),t){e.next=16;break}return e.abrupt("return",w);case 16:if(P(f)&&P(g)){e.next=24;break}if(V=me(g),G=V.value,K=V.message,$=me(f),Y=$.value,Q=$.message,"number"===c||!c&&!isNaN(l)?(X=i.valueAsNumber||parseFloat(l),P(G)||(B=X>G),P(Y)||(z=X<Y)):(te=i.valueAsDate||new Date(l),ie(G)&&(B=te>new Date(G)),ie(Y)&&(z=te<new Date(Y))),!B&&!z){e.next=24;break}if(L(!!B,K,Q,S,_),t){e.next=24;break}return e.abrupt("return",w);case 24:if(!ie(l)||j||!m&&!h){e.next=34;break}if(oe=me(m),re=oe.value,ae=oe.message,se=me(h),ce=se.value,ue=se.message,le=l.toString().length,de=!P(re)&&le>re,ye=!P(ce)&&le<ce,!de&&!ye){e.next=34;break}if(L(!!de,ae,ue),t){e.next=34;break}return e.abrupt("return",w);case 34:if(!v||j){e.next=40;break}if(be=me(v),Ce=be.value,we=be.message,!pe(Ce)||Ce.test(l)){e.next=40;break}if(w[C]=Object.assign({type:O,message:we,ref:i},N(O,we)),t){e.next=40;break}return e.abrupt("return",w);case 40:if(!y){e.next=73;break}if(Se=Z(n,C,r),_e=I&&d?d[0].ref:i,!he(y)){e.next=54;break}return e.next=46,y(Se);case 46:if(Ee=e.sent,!(xe=ge(Ee,_e))){e.next=52;break}if(w[C]=Object.assign(Object.assign({},xe),N(k,xe.message)),t){e.next=52;break}return e.abrupt("return",w);case 52:e.next=73;break;case 54:if(!R(y)){e.next=73;break}Oe={},Ae=0,ke=Object.entries(y);case 57:if(!(Ae<ke.length)){e.next=69;break}if(Te=Object(u.a)(ke[Ae],2),Pe=Te[0],Me=Te[1],ee(Oe)||t){e.next=61;break}return e.abrupt("break",69);case 61:return e.next=63,Me(Se);case 63:Ie=e.sent,(Re=ge(Ie,_e,Pe))&&(Oe=Object.assign(Object.assign({},Re),N(Pe,Re.message)),t&&(w[C]=Oe));case 66:Ae++,e.next=57;break;case 69:if(ee(Oe)){e.next=73;break}if(w[C]=Object.assign({ref:_e},Oe),t){e.next=73;break}return e.abrupt("return",w);case 73:return e.abrupt("return",w);case 74:case"end":return e.stop()}}),e)})));return function(n,t,o,r){return e.apply(this,arguments)}}(),be=function e(n,t){return Object.entries(t).map((function(o){var r=Object(u.a)(o,2);return function(t,o,r){var a=r?"".concat(n,".").concat(t):"".concat(n,"[").concat(t,"]");return se(o)?a:e(a,o)}(r[0],r[1],R(t))})).flat(1/0)},Ce=function(e,n,t,o,r){var a;return t.add(n),ee(e)?a=void 0:(a=B(e,n),(R(a)||M(a))&&be(n,a).forEach((function(e){return t.add(e)}))),U(a)?r?o:B(o,n):a},we=function(e){var n=e.isOnBlur,t=e.isOnChange,o=e.isOnTouch,r=e.isTouched,a=e.isReValidateOnBlur,i=e.isReValidateOnChange,s=e.isBlurEvent,c=e.isSubmitted;return!e.isOnAll&&(!c&&o?!(r||s):(c?a:n)?!s:!(c?i:t)||s)},Se=function(e){return e.substring(0,e.indexOf("["))},_e=function(e,n){return RegExp("^".concat(n,"[\\d+]").replace(/\[/g,"\\[").replace(/\]/g,"\\]")).test(e)},Ee=function(e,n){return Object(s.a)(e).some((function(e){return _e(n,e)}))},xe=function(e){return e.type==="".concat(C,"-one")};function Oe(e,n){var t=new MutationObserver((function(){for(var t=0,r=Object.values(e.current);t<r.length;t++){var a=r[t];if(a&&a.options){var i,s=Object(o.a)(a.options);try{for(s.s();!(i=s.n()).done;){var c=i.value;c&&c.ref&&X(c.ref)&&n(a)}}catch(u){s.e(u)}finally{s.f()}}else a&&X(a.ref)&&n(a)}}));return t.observe(window.document,{childList:!0,subtree:!0}),t}var Ae=function(e){return{isOnSubmit:!e||e===v,isOnBlur:e===f,isOnChange:e===g,isOnAll:e===b,isOnTouch:e===y}},ke=function(e){return q(e)||W(e)},Te=typeof window===w,Pe=typeof document!==w&&!Te&&!U(window.HTMLElement),Me=Pe?"Proxy"in window:typeof Proxy!==w;function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.mode,t=void 0===n?v:n,r=e.reValidateMode,m=void 0===r?g:r,h=e.resolver,f=e.context,y=e.defaultValues,C=void 0===y?{}:y,w=e.shouldFocusError,S=void 0===w||w,_=e.shouldUnregister,E=void 0===_||_,x=e.criteriaMode,O=Object(l.useRef)({}),A=Object(l.useRef)({}),k=Object(l.useRef)(new Set),I=Object(l.useRef)({}),N=Object(l.useRef)({}),V=Object(l.useRef)({}),G=Object(l.useRef)({}),H=Object(l.useRef)(C),Y=Object(l.useRef)({}),Q=Object(l.useRef)(!1),J=Object(l.useRef)(!1),X=Object(l.useRef)(),ne=Object(l.useRef)(E?{}:C),oe=Object(l.useRef)({}),ce=Object(l.useRef)(f),pe=Object(l.useRef)(h),me=Object(l.useRef)(new Set),fe=Object(l.useRef)(Ae(t)),ge=fe.current,ve=ge.isOnSubmit,_e=ge.isOnTouch,Ie=x===b,Re=Object(l.useState)({isDirty:!1,dirtyFields:{},isSubmitted:!1,submitCount:0,touched:{},isSubmitting:!1,isSubmitSuccessful:!1,isValid:!ve,errors:{}}),je=Object(u.a)(Re,2),Ne=je[0],Le=je[1],Fe=Object(l.useRef)({isDirty:!Me,dirtyFields:!Me,touched:!Me||_e,isSubmitting:!Me,isValid:!Me}),Ue=Object(l.useRef)(Ne),De=Object(l.useRef)(),Be=Object(l.useRef)(Ae(m)).current,ze=Be.isOnBlur,Ve=Be.isOnChange;ce.current=f,pe.current=h,Ue.current=Ne;var Ge=Object(l.useCallback)((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return!Q.current&&Le(Object.assign(Object.assign({},Ue.current),e))}),[]),He=Object(l.useCallback)((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=arguments.length>4?arguments[4]:void 0,a=t||de({errors:Ue.current.errors,error:n,name:e,validFields:G.current,fieldsWithValidation:V.current}),i=B(Ue.current.errors,e);n?(te(G.current,e),a=a||!i||!le(i,n,!0),L(Ue.current.errors,e,n)):((B(V.current,e)||pe.current)&&(L(G.current,e,!0),a=a||i),te(Ue.current.errors,e)),(a&&!P(t)||!ee(o))&&Ge(Object.assign(Object.assign(Object.assign({},o),{errors:Ue.current.errors}),pe.current?{isValid:!!r}:{}))}),[]),qe=Object(l.useCallback)((function(e,n){var t=O.current[e],o=t.ref,r=t.options,a=Pe&&d(o)&&P(n)?"":n;q(o)&&r?r.forEach((function(e){var n=e.ref;return n.checked=n.value===a})):K(o)&&!ie(a)?o.files=a:$(o)?Object(s.a)(o.options).forEach((function(e){return e.selected=a.includes(e.value)})):W(o)&&r?r.length>1?r.forEach((function(e){var n=e.ref;return n.checked=M(a)?!!a.find((function(e){return e===n.value})):a===n.value})):r[0].ref.checked=!!a:o.value=a}),[]),Ke=function(){return!le(tn(),ee(H.current)?Y.current:H.current)||!ee(Ue.current.dirtyFields)},We=Object(l.useCallback)((function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!O.current[e]||!Fe.current.isDirty&&!Fe.current.dirtyFields)return{};var t=B(Y.current,e)!==Z(O,e,ne),o=B(Ue.current.dirtyFields,e),r=Ue.current.isDirty;t?L(Ue.current.dirtyFields,e,!0):te(Ue.current.dirtyFields,e);var a={isDirty:Ke(),dirtyFields:Ue.current.dirtyFields},i=Fe.current.isDirty&&r!==a.isDirty||Fe.current.dirtyFields&&o!==B(Ue.current.dirtyFields,e);return i&&n&&(Ue.current=Object.assign(Object.assign({},Ue.current),a),Ge(Object.assign({},a))),i?a:{}}),[]),$e=Object(l.useCallback)(function(){var e=Object(i.a)(a.a.mark((function e(n,t){var o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!O.current[n]){e.next=7;break}return e.next=3,ye(O,Ie,O.current[n],ne);case 3:return e.t0=n,o=e.sent[e.t0],He(n,o,t),e.abrupt("return",U(o));case 7:return e.abrupt("return",!1);case 8:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),[He,Ie]),Ye=Object(l.useCallback)(function(){var e=Object(i.a)(a.a.mark((function e(n){var t,o,r,i,s;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,pe.current(tn(),ce.current,Ie);case 2:if(t=e.sent,o=t.errors,r=Ue.current.isValid,!M(n)){e.next=11;break}return i=n.map((function(e){var n=B(o,e);return n?L(Ue.current.errors,e,n):te(Ue.current.errors,e),!n})).every(Boolean),Ge({isValid:ee(o),errors:Ue.current.errors}),e.abrupt("return",i);case 11:return s=B(o,n),He(n,s,r!==ee(o),{},ee(o)),e.abrupt("return",!s);case 14:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),[He,Ie]),Qe=Object(l.useCallback)(function(){var e=Object(i.a)(a.a.mark((function e(n){var t,o;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n||Object.keys(O.current),!pe.current){e.next=3;break}return e.abrupt("return",Ye(t));case 3:if(!M(t)){e.next=9;break}return e.next=6,Promise.all(t.map(function(){var e=Object(i.a)(a.a.mark((function e(n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,$e(n,null);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()));case 6:return o=e.sent,Ge(),e.abrupt("return",o.every(Boolean));case 9:return e.next=11,$e(t);case 11:return e.abrupt("return",e.sent);case 12:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),[Ye,$e]),Je=Object(l.useCallback)((function(e,n,t){var o=t.shouldDirty,r=t.shouldValidate;be(e,n).forEach((function(t){var a={};O.current[t]&&(L(a,e,n),qe(t,B(a,t)),o&&We(t),r&&Qe(t))}))}),[Qe,qe,We]),Ze=Object(l.useCallback)((function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};O.current[e]?(qe(e,n),t.shouldDirty&&We(e)):se(n)||(Je(e,n,t),me.current.has(e)&&(A.current[e]=n,oe.current[e](Object(c.a)({},e,n)),(Fe.current.isDirty||Fe.current.dirtyFields)&&(L(Ue.current.dirtyFields,e,ae(n,B(H.current,e,[]),B(Ue.current.dirtyFields,e,[]))),Ge({isDirty:!le(Object.assign(Object.assign({},tn()),Object(c.a)({},e,n)),H.current),dirtyFields:Ue.current.dirtyFields})))),!E&&L(ne.current,e,n)}),[We,qe,Je]),Xe=function(e){return J.current||k.current.has(e)||k.current.has((e.match(/\w+/)||[])[0])},en=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!ee(I.current))for(var t in I.current)e&&!I.current[t].has(e)&&!I.current[t].has(Se(e))&&I.current[t].size||(N.current[t](),n=!1);return n};function nn(e,n,t){Ze(e,n,t),Xe(e)&&Ge(),en(e),(t||{}).shouldValidate&&Qe(e)}function tn(e){if(ie(e))return Z(O,e,ne);if(M(e)){var n,t={},r=Object(o.a)(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;L(t,a,Z(O,a,ne))}}catch(i){r.e(i)}finally{r.f()}return t}return ue(O,ne)}X.current=X.current?X.current:function(){var e=Object(i.a)(a.a.mark((function e(n){var t,o,r,i,s,c,u,l,d,m,h,f,g;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.type,o=n.target,r=o.name,!(i=O.current[r])){e.next=29;break}if(u=t===p,l=we(Object.assign({isBlurEvent:u,isReValidateOnChange:Ve,isReValidateOnBlur:ze,isTouched:!!B(Ue.current.touched,r),isSubmitted:Ue.current.isSubmitted},fe.current)),d=We(r,!1),m=!ee(d)||Xe(r),u&&!B(Ue.current.touched,r)&&Fe.current.touched&&(L(Ue.current.touched,r,!0),d=Object.assign(Object.assign({},d),{touched:Ue.current.touched})),!l){e.next=12;break}return en(r),e.abrupt("return",(!ee(d)||m&&ee(d))&&Ge(d));case 12:if(!pe.current){e.next=23;break}return e.next=15,pe.current(tn(),ce.current,Ie);case 15:h=e.sent,f=h.errors,g=Ue.current.isValid,s=B(f,r),c=ee(f),g!==c&&(m=!0),e.next=27;break;case 23:return e.next=25,ye(O,Ie,i,ne);case 25:e.t0=r,s=e.sent[e.t0];case 27:en(r),He(r,s,m,d,c);case 29:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();var on=Object(l.useCallback)(Object(i.a)(a.a.mark((function e(){var n,t,o,r,i,s=arguments;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]?s[0]:{},e.next=3,pe.current(Object.assign(Object.assign(Object.assign({},H.current),tn()),n),ce.current,Ie);case 3:t=e.sent,o=t.errors,r=Ue.current.isValid,i=ee(o),r!==i&&Ge({isValid:i});case 8:case"end":return e.stop()}}),e)}))),[Ie]),rn=Object(l.useCallback)((function(e,n){return re(O,X.current,e,ne,E,n)}),[E]),an=Object(l.useCallback)((function(e,n){e&&(rn(e,n),E&&!D(e.options||[]).length&&(te(Y.current,e.ref.name),te(G.current,e.ref.name),te(V.current,e.ref.name),te(Ue.current.errors,e.ref.name),L(Ue.current.dirtyFields,e.ref.name,!0),Ge({errors:Ue.current.errors,isDirty:Ke(),dirtyFields:Ue.current.dirtyFields}),pe.current&&on()))}),[on,rn]);function sn(e){e&&(M(e)?e:[e]).forEach((function(e){return O.current[e]?j(e)?delete Ue.current.errors[e]:L(Ue.current.errors,e,void 0):te(Ue.current.errors,e)})),Ge({errors:e?Ue.current.errors:{}})}function cn(e,n){var t=(O.current[e]||{}).ref;L(Ue.current.errors,e,Object.assign(Object.assign({},n),{ref:t})),Ge({isValid:!1,errors:Ue.current.errors}),n.shouldFocus&&t&&t.focus&&t.focus()}var un=Object(l.useCallback)((function(e,n,t){var o=t?I.current[t]:k.current,r=U(n)?H.current:n,a=ue(O,ne,!1,e);return ie(e)?Ce(a,e,o,U(n)?B(r,e):n,!0):M(e)?e.reduce((function(e,n){return Object.assign(Object.assign({},e),Object(c.a)({},n,Ce(a,n,o,r)))}),{}):(U(t)&&(J.current=!0),F(!ee(a)&&a||r))}),[]);function ln(e,n){return un(e,n)}function dn(e){(M(e)?e:[e]).forEach((function(e){return an(O.current[e],!0)}))}function pn(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var t,o=e.name,r=e.type,a=e.value,i=Object.assign({ref:e},n),c=O.current,u=ke(e),l=Ee(me.current,o),p=function(n){return Pe&&(!d(e)||n===e)},m=c[o],f=!0;if(m&&(u?M(m.options)&&D(m.options).find((function(e){return a===e.ref.value&&p(e.ref)})):p(m.ref)))c[o]=Object.assign(Object.assign({},m),n);else{m=r?u?Object.assign({options:[].concat(Object(s.a)(D(m&&m.options||[])),[{ref:e}]),ref:{type:r,name:o}},n):Object.assign({},i):i,c[o]=m;var g=U(B(ne.current,o));if(ee(H.current)&&g||(t=B(g?H.current:ne.current,o),(f=U(t))||l||qe(o,t)),h&&!l&&Fe.current.isValid?on():ee(n)||(L(V.current,o,!0),!ve&&Fe.current.isValid&&ye(O,Ie,m,ne).then((function(e){var n=Ue.current.isValid;ee(e)?L(G.current,o,!0):te(G.current,o),n!==ee(e)&&Ge()}))),!Y.current[o]&&(!l||!f)){var v=Z(O,o,ne);L(Y.current,o,f?R(v)?Object.assign({},v):v:t),!l&&te(Ue.current.dirtyFields,o)}r&&T(u&&m.options?m.options[m.options.length-1]:m,u||xe(e),X.current)}}function mn(e,n){if(!Te)if(ie(e))pn({name:e},n);else{if(!R(e)||!("name"in e))return function(n){return n&&pn(n,e)};pn(e,n)}}var hn=Object(l.useCallback)((function(e,n){return function(){var t=Object(i.a)(a.a.mark((function t(o){var r,i,s,c,u,l,d,p,m,h;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o&&o.preventDefault&&(o.preventDefault(),o.persist()),r={},i=ue(O,ne,!0),Fe.current.isSubmitting&&Ge({isSubmitting:!0}),t.prev=4,!pe.current){t.next=16;break}return t.next=8,pe.current(i,ce.current,Ie);case 8:s=t.sent,c=s.errors,u=s.values,Ue.current.errors=c,r=c,i=u,t.next=28;break;case 16:l=0,d=Object.values(O.current);case 17:if(!(l<d.length)){t.next=28;break}if(!(p=d[l])){t.next=25;break}return m=p.ref.name,t.next=23,ye(O,Ie,p,ne);case 23:(h=t.sent)[m]?(L(r,m,h[m]),te(G.current,m)):B(V.current,m)&&(te(Ue.current.errors,m),L(G.current,m,!0));case 25:l++,t.next=17;break;case 28:if(!ee(r)||!Object.keys(Ue.current.errors).every((function(e){return e in O.current}))){t.next=34;break}return Ge({errors:{},isSubmitting:!0}),t.next=32,e(i,o);case 32:t.next=39;break;case 34:if(Ue.current.errors=Object.assign(Object.assign({},Ue.current.errors),r),!n){t.next=38;break}return t.next=38,n(r,o);case 38:S&&z(O.current,r);case 39:return t.prev=39,Ge({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ee(Ue.current.errors),errors:Ue.current.errors,submitCount:Ue.current.submitCount+1}),t.finish(39);case 42:case"end":return t.stop()}}),t,null,[[4,,39,42]])})));return function(e){return t.apply(this,arguments)}}()}),[S,Ie]),fn=function(e){var n=e.errors,t=e.isDirty,o=e.isSubmitted,r=e.touched,a=e.isValid,i=e.submitCount,s=e.dirtyFields;a||(G.current={},V.current={}),Y.current={},A.current={},k.current=new Set,J.current=!1,Ge({isDirty:!!t&&Ue.current.isDirty,isSubmitted:!!o&&Ue.current.isSubmitted,isSubmitting:!1,isSubmitSuccessful:!1,submitCount:i?Ue.current.submitCount:0,isValid:!a||Ue.current.isValid,dirtyFields:s?Ue.current.dirtyFields:{},touched:r?Ue.current.touched:{},errors:n?Ue.current.errors:{}})},gn=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Pe)for(var t=0,o=Object.values(O.current);t<o.length;t++){var r=o[t];if(r){var a=r.ref,i=r.options,s=ke(a)&&M(i)?i[0].ref:a;if(d(s))try{s.closest("form").reset();break}catch(c){}}}O.current={},H.current=Object.assign({},e||H.current),e&&en(""),ne.current=E?{}:Object.assign({},e)||{},Object.values(oe.current).forEach((function(e){return he(e)&&e()})),fn(n)};De.current=De.current||!Pe?De.current:Oe(O,an),Object(l.useEffect)((function(){return Q.current=!1,function(){Q.current=!0,De.current&&De.current.disconnect(),ne.current={},O.current&&Object.values(O.current).forEach((function(e){return an(e,!0)}))}}),[an]),!h&&Fe.current.isValid&&(Ne.isValid=le(G.current,V.current)&&ee(Ue.current.errors));var vn={trigger:Qe,setValue:Object(l.useCallback)(nn,[Ze,Qe]),getValues:Object(l.useCallback)(tn,[]),register:Object(l.useCallback)(mn,[H.current]),unregister:Object(l.useCallback)(dn,[])},yn=Object.assign({removeFieldEventListener:rn,renderWatchedInputs:en,watchInternal:un,mode:fe.current,reValidateMode:{isReValidateOnBlur:ze,isReValidateOnChange:Ve},fieldsRef:O,isWatchAllRef:J,watchFieldsRef:k,resetFieldArrayFunctionRef:oe,useWatchFieldsRef:I,useWatchRenderFunctionsRef:N,fieldArrayDefaultValuesRef:A,validFieldsRef:G,fieldsWithValidationRef:V,fieldArrayNamesRef:me,readFormStateRef:Fe,formStateRef:Ue,defaultValuesRef:H,shallowFieldsStateRef:ne,updateFormState:Ge,shouldUnregister:E,validateResolver:h?on:void 0},vn);return Object.assign({watch:ln,control:yn,formState:Me?new Proxy(Ne,{get:function(e,n){if(n in e)return Fe.current[n]=!0,e[n]}}):Ne,handleSubmit:hn,reset:Object(l.useCallback)(gn,[]),clearErrors:Object(l.useCallback)(sn,[]),setError:Object(l.useCallback)(cn,[]),errors:Ne.errors},vn)}function Re(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t}var je=Object(l.createContext)(null);je.displayName="RHFContext";var Ne=function(){return Object(l.useContext)(je)},Le=function(){var e=typeof performance===w?Date.now():1e3*performance.now();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var t=(16*Math.random()+e)%16|0;return("x"==n?t:3&t|8).toString(16)}))};function Fe(e){var n=e.control,t=e.name,o=e.defaultValue,r=Ne();var a=n||r.control,i=a.useWatchFieldsRef,d=a.useWatchRenderFunctionsRef,p=a.watchInternal,m=a.defaultValuesRef,h=Object(l.useState)(U(o)?ie(t)?B(m.current,t):M(t)?t.reduce((function(e,n){return Object.assign(Object.assign({},e),Object(c.a)({},n,B(m.current,n)))}),{}):m.current:o),f=Object(u.a)(h,2),g=f[0],v=f[1],y=Object(l.useRef)(),b=Object(l.useRef)(o),C=Object(l.useCallback)((function(){var e=p(t,b.current,y.current);v(R(e)?Object.assign({},e):M(e)?Object(s.a)(e):e)}),[v,p,b,t,y]);return Object(l.useEffect)((function(){var e=y.current=Le(),n=d.current,o=i.current;return o[e]=new Set,n[e]=C,p(t,b.current,e),function(){delete o[e],delete n[e]}}),[t,C,d,i,p,b]),U(g)?o:g}var Ue=function(e){var n=e.name,t=e.rules,o=e.as,r=e.render,a=e.defaultValue,i=e.control,s=e.onFocus,c=Re(e,["name","rules","as","render","defaultValue","control","onFocus"]),d=Ne();var p=i||d.control,m=p.defaultValuesRef,h=p.setValue,f=p.register,g=p.unregister,v=p.trigger,y=p.mode,b=p.reValidateMode,C=b.isReValidateOnBlur,w=b.isReValidateOnChange,S=p.formStateRef.current,_=S.isSubmitted,E=S.touched,x=p.updateFormState,O=p.readFormStateRef,A=p.fieldsRef,k=p.fieldArrayNamesRef,T=p.shallowFieldsStateRef,P=!Ee(k.current,n),M=function(){return!U(B(T.current,n))&&P?B(T.current,n):U(a)?B(m.current,n):a},I=Object(l.useState)(M()),j=Object(u.a)(I,2),N=j[0],F=j[1],D=Object(l.useRef)(N),z=Object(l.useRef)(s);var V=function(e){return!we(Object.assign({isBlurEvent:e,isReValidateOnBlur:C,isReValidateOnChange:w,isSubmitted:_,isTouched:!!B(E,n)},y))},G=function(e){var n=function(e){return se(e)||!R(e.target)||R(e.target)&&!e.type?e:U(e.target.value)?e.target.checked:e.target.value}(Object(u.a)(e,1)[0]);return F(n),D.current=n,n},H=Object(l.useCallback)((function(){A.current[n]?A.current[n]=Object.assign({ref:A.current[n].ref},t):(f(Object.defineProperty({name:n,focus:z.current},"value",{set:function(e){F(e),D.current=e},get:function(){return D.current}}),t),P&&!B(m.current,n)&&F(M()))}),[t,n,f]);Object(l.useEffect)((function(){return function(){!Ee(k.current,n)&&g(n)}}),[g,n,k]),Object(l.useEffect)((function(){H()}),[H]),Object(l.useEffect)((function(){A.current[n]||(H(),P&&F(M()))}));var q=function(){O.current.touched&&!B(E,n)&&(L(E,n,!0),x({touched:E})),V(!0)&&v(n)},K=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return h(n,G(t),{shouldValidate:V(),shouldDirty:!0})},W=Object.assign(Object.assign({},c),{onChange:K,onBlur:q,name:n,value:N});return o?Object(l.isValidElement)(o)?Object(l.cloneElement)(o,W):Object(l.createElement)(o,W):r?r({onChange:K,onBlur:q,value:N,name:n}):null}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(19),r=new(function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var n=e.prototype;return n.batch=function(e){this.transactions++;var n=e();return this.transactions--,this.transactions||this.flush(),n},n.schedule=function(e){var n=this;this.transactions?this.queue.push(e):Object(o.o)((function(){n.notifyFn(e)}))},n.batchCalls=function(e){var n=this;return function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];n.schedule((function(){e.apply(void 0,o)}))}},n.flush=function(){var e=this,n=this.queue;this.queue=[],n.length&&Object(o.o)((function(){e.batchNotifyFn((function(){n.forEach((function(n){e.notifyFn(n)}))}))}))},n.setNotifyFunction=function(e){this.notifyFn=e},n.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}())},,function(e,n,t){"use strict";(function(e){var o=t(584),r=t(585),a=t(586);function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,n){if(i()<n)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(n)).__proto__=c.prototype:(null===e&&(e=new c(n)),e.length=n),e}function c(e,n,t){if(!c.TYPED_ARRAY_SUPPORT&&!(this instanceof c))return new c(e,n,t);if("number"===typeof e){if("string"===typeof n)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return u(this,e,n,t)}function u(e,n,t,o){if("number"===typeof n)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&n instanceof ArrayBuffer?function(e,n,t,o){if(n.byteLength,t<0||n.byteLength<t)throw new RangeError("'offset' is out of bounds");if(n.byteLength<t+(o||0))throw new RangeError("'length' is out of bounds");n=void 0===t&&void 0===o?new Uint8Array(n):void 0===o?new Uint8Array(n,t):new Uint8Array(n,t,o);c.TYPED_ARRAY_SUPPORT?(e=n).__proto__=c.prototype:e=p(e,n);return e}(e,n,t,o):"string"===typeof n?function(e,n,t){"string"===typeof t&&""!==t||(t="utf8");if(!c.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var o=0|h(n,t),r=(e=s(e,o)).write(n,t);r!==o&&(e=e.slice(0,r));return e}(e,n,t):function(e,n){if(c.isBuffer(n)){var t=0|m(n.length);return 0===(e=s(e,t)).length||n.copy(e,0,0,t),e}if(n){if("undefined"!==typeof ArrayBuffer&&n.buffer instanceof ArrayBuffer||"length"in n)return"number"!==typeof n.length||(o=n.length)!==o?s(e,0):p(e,n);if("Buffer"===n.type&&a(n.data))return p(e,n.data)}var o;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,n)}function l(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,n){if(l(n),e=s(e,n<0?0:0|m(n)),!c.TYPED_ARRAY_SUPPORT)for(var t=0;t<n;++t)e[t]=0;return e}function p(e,n){var t=n.length<0?0:0|m(n.length);e=s(e,t);for(var o=0;o<t;o+=1)e[o]=255&n[o];return e}function m(e){if(e>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|e}function h(e,n){if(c.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var t=e.length;if(0===t)return 0;for(var o=!1;;)switch(n){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return V(e).length;default:if(o)return z(e).length;n=(""+n).toLowerCase(),o=!0}}function f(e,n,t){var o=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(n>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,n,t);case"utf8":case"utf-8":return O(this,n,t);case"ascii":return k(this,n,t);case"latin1":case"binary":return T(this,n,t);case"base64":return x(this,n,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,n,t);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function g(e,n,t){var o=e[n];e[n]=e[t],e[t]=o}function v(e,n,t,o,r){if(0===e.length)return-1;if("string"===typeof t?(o=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=r?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(r)return-1;t=e.length-1}else if(t<0){if(!r)return-1;t=0}if("string"===typeof n&&(n=c.from(n,o)),c.isBuffer(n))return 0===n.length?-1:y(e,n,t,o,r);if("number"===typeof n)return n&=255,c.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,n,t):Uint8Array.prototype.lastIndexOf.call(e,n,t):y(e,[n],t,o,r);throw new TypeError("val must be string, number or Buffer")}function y(e,n,t,o,r){var a,i=1,s=e.length,c=n.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||n.length<2)return-1;i=2,s/=2,c/=2,t/=2}function u(e,n){return 1===i?e[n]:e.readUInt16BE(n*i)}if(r){var l=-1;for(a=t;a<s;a++)if(u(e,a)===u(n,-1===l?0:a-l)){if(-1===l&&(l=a),a-l+1===c)return l*i}else-1!==l&&(a-=a-l),l=-1}else for(t+c>s&&(t=s-c),a=t;a>=0;a--){for(var d=!0,p=0;p<c;p++)if(u(e,a+p)!==u(n,p)){d=!1;break}if(d)return a}return-1}function b(e,n,t,o){t=Number(t)||0;var r=e.length-t;o?(o=Number(o))>r&&(o=r):o=r;var a=n.length;if(a%2!==0)throw new TypeError("Invalid hex string");o>a/2&&(o=a/2);for(var i=0;i<o;++i){var s=parseInt(n.substr(2*i,2),16);if(isNaN(s))return i;e[t+i]=s}return i}function C(e,n,t,o){return G(z(n,e.length-t),e,t,o)}function w(e,n,t,o){return G(function(e){for(var n=[],t=0;t<e.length;++t)n.push(255&e.charCodeAt(t));return n}(n),e,t,o)}function S(e,n,t,o){return w(e,n,t,o)}function _(e,n,t,o){return G(V(n),e,t,o)}function E(e,n,t,o){return G(function(e,n){for(var t,o,r,a=[],i=0;i<e.length&&!((n-=2)<0);++i)o=(t=e.charCodeAt(i))>>8,r=t%256,a.push(r),a.push(o);return a}(n,e.length-t),e,t,o)}function x(e,n,t){return 0===n&&t===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(n,t))}function O(e,n,t){t=Math.min(e.length,t);for(var o=[],r=n;r<t;){var a,i,s,c,u=e[r],l=null,d=u>239?4:u>223?3:u>191?2:1;if(r+d<=t)switch(d){case 1:u<128&&(l=u);break;case 2:128===(192&(a=e[r+1]))&&(c=(31&u)<<6|63&a)>127&&(l=c);break;case 3:a=e[r+1],i=e[r+2],128===(192&a)&&128===(192&i)&&(c=(15&u)<<12|(63&a)<<6|63&i)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:a=e[r+1],i=e[r+2],s=e[r+3],128===(192&a)&&128===(192&i)&&128===(192&s)&&(c=(15&u)<<18|(63&a)<<12|(63&i)<<6|63&s)>65535&&c<1114112&&(l=c)}null===l?(l=65533,d=1):l>65535&&(l-=65536,o.push(l>>>10&1023|55296),l=56320|1023&l),o.push(l),r+=d}return function(e){var n=e.length;if(n<=A)return String.fromCharCode.apply(String,e);var t="",o=0;for(;o<n;)t+=String.fromCharCode.apply(String,e.slice(o,o+=A));return t}(o)}n.Buffer=c,n.SlowBuffer=function(e){+e!=e&&(e=0);return c.alloc(+e)},n.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(n){return!1}}(),n.kMaxLength=i(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,n,t){return u(null,e,n,t)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,n,t){return function(e,n,t,o){return l(n),n<=0?s(e,n):void 0!==t?"string"===typeof o?s(e,n).fill(t,o):s(e,n).fill(t):s(e,n)}(null,e,n,t)},c.allocUnsafe=function(e){return d(null,e)},c.allocUnsafeSlow=function(e){return d(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,n){if(!c.isBuffer(e)||!c.isBuffer(n))throw new TypeError("Arguments must be Buffers");if(e===n)return 0;for(var t=e.length,o=n.length,r=0,a=Math.min(t,o);r<a;++r)if(e[r]!==n[r]){t=e[r],o=n[r];break}return t<o?-1:o<t?1:0},c.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}},c.concat=function(e,n){if(!a(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);var t;if(void 0===n)for(n=0,t=0;t<e.length;++t)n+=e[t].length;var o=c.allocUnsafe(n),r=0;for(t=0;t<e.length;++t){var i=e[t];if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(o,r),r+=i.length}return o},c.byteLength=h,c.prototype._isBuffer=!0,c.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 n=0;n<e;n+=2)g(this,n,n+1);return this},c.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 n=0;n<e;n+=4)g(this,n,n+3),g(this,n+1,n+2);return this},c.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 n=0;n<e;n+=8)g(this,n,n+7),g(this,n+1,n+6),g(this,n+2,n+5),g(this,n+3,n+4);return this},c.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?O(this,0,e):f.apply(this,arguments)},c.prototype.equals=function(e){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},c.prototype.compare=function(e,n,t,o,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===n&&(n=0),void 0===t&&(t=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),n<0||t>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&n>=t)return 0;if(o>=r)return-1;if(n>=t)return 1;if(this===e)return 0;for(var a=(r>>>=0)-(o>>>=0),i=(t>>>=0)-(n>>>=0),s=Math.min(a,i),u=this.slice(o,r),l=e.slice(n,t),d=0;d<s;++d)if(u[d]!==l[d]){a=u[d],i=l[d];break}return a<i?-1:i<a?1:0},c.prototype.includes=function(e,n,t){return-1!==this.indexOf(e,n,t)},c.prototype.indexOf=function(e,n,t){return v(this,e,n,t,!0)},c.prototype.lastIndexOf=function(e,n,t){return v(this,e,n,t,!1)},c.prototype.write=function(e,n,t,o){if(void 0===n)o="utf8",t=this.length,n=0;else if(void 0===t&&"string"===typeof n)o=n,t=this.length,n=0;else{if(!isFinite(n))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");n|=0,isFinite(t)?(t|=0,void 0===o&&(o="utf8")):(o=t,t=void 0)}var r=this.length-n;if((void 0===t||t>r)&&(t=r),e.length>0&&(t<0||n<0)||n>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var a=!1;;)switch(o){case"hex":return b(this,e,n,t);case"utf8":case"utf-8":return C(this,e,n,t);case"ascii":return w(this,e,n,t);case"latin1":case"binary":return S(this,e,n,t);case"base64":return _(this,e,n,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,n,t);default:if(a)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),a=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function k(e,n,t){var o="";t=Math.min(e.length,t);for(var r=n;r<t;++r)o+=String.fromCharCode(127&e[r]);return o}function T(e,n,t){var o="";t=Math.min(e.length,t);for(var r=n;r<t;++r)o+=String.fromCharCode(e[r]);return o}function P(e,n,t){var o=e.length;(!n||n<0)&&(n=0),(!t||t<0||t>o)&&(t=o);for(var r="",a=n;a<t;++a)r+=B(e[a]);return r}function M(e,n,t){for(var o=e.slice(n,t),r="",a=0;a<o.length;a+=2)r+=String.fromCharCode(o[a]+256*o[a+1]);return r}function I(e,n,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+n>t)throw new RangeError("Trying to access beyond buffer length")}function R(e,n,t,o,r,a){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(n>r||n<a)throw new RangeError('"value" argument is out of bounds');if(t+o>e.length)throw new RangeError("Index out of range")}function j(e,n,t,o){n<0&&(n=65535+n+1);for(var r=0,a=Math.min(e.length-t,2);r<a;++r)e[t+r]=(n&255<<8*(o?r:1-r))>>>8*(o?r:1-r)}function N(e,n,t,o){n<0&&(n=4294967295+n+1);for(var r=0,a=Math.min(e.length-t,4);r<a;++r)e[t+r]=n>>>8*(o?r:3-r)&255}function L(e,n,t,o,r,a){if(t+o>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function F(e,n,t,o,a){return a||L(e,0,t,4),r.write(e,n,t,o,23,4),t+4}function U(e,n,t,o,a){return a||L(e,0,t,8),r.write(e,n,t,o,52,8),t+8}c.prototype.slice=function(e,n){var t,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(n=void 0===n?o:~~n)<0?(n+=o)<0&&(n=0):n>o&&(n=o),n<e&&(n=e),c.TYPED_ARRAY_SUPPORT)(t=this.subarray(e,n)).__proto__=c.prototype;else{var r=n-e;t=new c(r,void 0);for(var a=0;a<r;++a)t[a]=this[a+e]}return t},c.prototype.readUIntLE=function(e,n,t){e|=0,n|=0,t||I(e,n,this.length);for(var o=this[e],r=1,a=0;++a<n&&(r*=256);)o+=this[e+a]*r;return o},c.prototype.readUIntBE=function(e,n,t){e|=0,n|=0,t||I(e,n,this.length);for(var o=this[e+--n],r=1;n>0&&(r*=256);)o+=this[e+--n]*r;return o},c.prototype.readUInt8=function(e,n){return n||I(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,n){return n||I(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,n){return n||I(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,n){return n||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,n){return n||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,n,t){e|=0,n|=0,t||I(e,n,this.length);for(var o=this[e],r=1,a=0;++a<n&&(r*=256);)o+=this[e+a]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*n)),o},c.prototype.readIntBE=function(e,n,t){e|=0,n|=0,t||I(e,n,this.length);for(var o=n,r=1,a=this[e+--o];o>0&&(r*=256);)a+=this[e+--o]*r;return a>=(r*=128)&&(a-=Math.pow(2,8*n)),a},c.prototype.readInt8=function(e,n){return n||I(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,n){n||I(e,2,this.length);var t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},c.prototype.readInt16BE=function(e,n){n||I(e,2,this.length);var t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},c.prototype.readInt32LE=function(e,n){return n||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,n){return n||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,n){return n||I(e,4,this.length),r.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,n){return n||I(e,4,this.length),r.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,n){return n||I(e,8,this.length),r.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,n){return n||I(e,8,this.length),r.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,n,t,o){(e=+e,n|=0,t|=0,o)||R(this,e,n,t,Math.pow(2,8*t)-1,0);var r=1,a=0;for(this[n]=255&e;++a<t&&(r*=256);)this[n+a]=e/r&255;return n+t},c.prototype.writeUIntBE=function(e,n,t,o){(e=+e,n|=0,t|=0,o)||R(this,e,n,t,Math.pow(2,8*t)-1,0);var r=t-1,a=1;for(this[n+r]=255&e;--r>=0&&(a*=256);)this[n+r]=e/a&255;return n+t},c.prototype.writeUInt8=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[n]=255&e,n+1},c.prototype.writeUInt16LE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):j(this,e,n,!0),n+2},c.prototype.writeUInt16BE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):j(this,e,n,!1),n+2},c.prototype.writeUInt32LE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n+3]=e>>>24,this[n+2]=e>>>16,this[n+1]=e>>>8,this[n]=255&e):N(this,e,n,!0),n+4},c.prototype.writeUInt32BE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):N(this,e,n,!1),n+4},c.prototype.writeIntLE=function(e,n,t,o){if(e=+e,n|=0,!o){var r=Math.pow(2,8*t-1);R(this,e,n,t,r-1,-r)}var a=0,i=1,s=0;for(this[n]=255&e;++a<t&&(i*=256);)e<0&&0===s&&0!==this[n+a-1]&&(s=1),this[n+a]=(e/i>>0)-s&255;return n+t},c.prototype.writeIntBE=function(e,n,t,o){if(e=+e,n|=0,!o){var r=Math.pow(2,8*t-1);R(this,e,n,t,r-1,-r)}var a=t-1,i=1,s=0;for(this[n+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[n+a+1]&&(s=1),this[n+a]=(e/i>>0)-s&255;return n+t},c.prototype.writeInt8=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[n]=255&e,n+1},c.prototype.writeInt16LE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8):j(this,e,n,!0),n+2},c.prototype.writeInt16BE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>8,this[n+1]=255&e):j(this,e,n,!1),n+2},c.prototype.writeInt32LE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[n]=255&e,this[n+1]=e>>>8,this[n+2]=e>>>16,this[n+3]=e>>>24):N(this,e,n,!0),n+4},c.prototype.writeInt32BE=function(e,n,t){return e=+e,n|=0,t||R(this,e,n,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[n]=e>>>24,this[n+1]=e>>>16,this[n+2]=e>>>8,this[n+3]=255&e):N(this,e,n,!1),n+4},c.prototype.writeFloatLE=function(e,n,t){return F(this,e,n,!0,t)},c.prototype.writeFloatBE=function(e,n,t){return F(this,e,n,!1,t)},c.prototype.writeDoubleLE=function(e,n,t){return U(this,e,n,!0,t)},c.prototype.writeDoubleBE=function(e,n,t){return U(this,e,n,!1,t)},c.prototype.copy=function(e,n,t,o){if(t||(t=0),o||0===o||(o=this.length),n>=e.length&&(n=e.length),n||(n=0),o>0&&o<t&&(o=t),o===t)return 0;if(0===e.length||0===this.length)return 0;if(n<0)throw new RangeError("targetStart out of bounds");if(t<0||t>=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-n<o-t&&(o=e.length-n+t);var r,a=o-t;if(this===e&&t<n&&n<o)for(r=a-1;r>=0;--r)e[r+n]=this[r+t];else if(a<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r<a;++r)e[r+n]=this[r+t];else Uint8Array.prototype.set.call(e,this.subarray(t,t+a),n);return a},c.prototype.fill=function(e,n,t,o){if("string"===typeof e){if("string"===typeof n?(o=n,n=0,t=this.length):"string"===typeof t&&(o=t,t=this.length),1===e.length){var r=e.charCodeAt(0);r<256&&(e=r)}if(void 0!==o&&"string"!==typeof o)throw new TypeError("encoding must be a string");if("string"===typeof o&&!c.isEncoding(o))throw new TypeError("Unknown encoding: "+o)}else"number"===typeof e&&(e&=255);if(n<0||this.length<n||this.length<t)throw new RangeError("Out of range index");if(t<=n)return this;var a;if(n>>>=0,t=void 0===t?this.length:t>>>0,e||(e=0),"number"===typeof e)for(a=n;a<t;++a)this[a]=e;else{var i=c.isBuffer(e)?e:z(new c(e,o).toString()),s=i.length;for(a=0;a<t-n;++a)this[a+n]=i[a%s]}return this};var D=/[^+\/0-9A-Za-z-_]/g;function B(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,n){var t;n=n||1/0;for(var o=e.length,r=null,a=[],i=0;i<o;++i){if((t=e.charCodeAt(i))>55295&&t<57344){if(!r){if(t>56319){(n-=3)>-1&&a.push(239,191,189);continue}if(i+1===o){(n-=3)>-1&&a.push(239,191,189);continue}r=t;continue}if(t<56320){(n-=3)>-1&&a.push(239,191,189),r=t;continue}t=65536+(r-55296<<10|t-56320)}else r&&(n-=3)>-1&&a.push(239,191,189);if(r=null,t<128){if((n-=1)<0)break;a.push(t)}else if(t<2048){if((n-=2)<0)break;a.push(t>>6|192,63&t|128)}else if(t<65536){if((n-=3)<0)break;a.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((n-=4)<0)break;a.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return a}function V(e){return o.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(D,"")).length<2)return"";for(;e.length%4!==0;)e+="=";return e}(e))}function G(e,n,t,o){for(var r=0;r<o&&!(r+t>=n.length||r>=e.length);++r)n[r+t]=e[r];return r}}).call(this,t(102))},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var o=t(41);var r=t(103),a=t(124);var i=t(81),s=t(166);function c(e){return 0===e.length?s.a:1===e.length?e[0]:function(n){return e.reduce((function(e,n){return n(e)}),n)}}var u=t(60),l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(n){var t=new e;return t.source=this,t.operator=n,t},e.prototype.subscribe=function(e,n,t){var i=this.operator,s=function(e,n,t){if(e){if(e instanceof o.a)return e;if(e[r.a])return e[r.a]()}return e||n||t?new o.a(e,n,t):new o.a(a.a)}(e,n,t);if(i?s.add(i.call(s,this.source)):s.add(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(n){u.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=n),!function(e){for(;e;){var n=e,t=n.closed,r=n.destination,a=n.isStopped;if(t||a)return!1;e=r&&r instanceof o.a?r:null}return!0}(e)?console.warn(n):e.error(n)}},e.prototype.forEach=function(e,n){var t=this;return new(n=d(n))((function(n,o){var r;r=t.subscribe((function(n){try{e(n)}catch(t){o(t),r&&r.unsubscribe()}}),o,n)}))},e.prototype._subscribe=function(e){var n=this.source;return n&&n.subscribe(e)},e.prototype[i.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 0===e.length?this:c(e)(this)},e.prototype.toPromise=function(e){var n=this;return new(e=d(e))((function(e,t){var o;n.subscribe((function(e){return o=e}),(function(e){return t(e)}),(function(){return e(o)}))}))},e.create=function(n){return new e(n)},e}();function d(e){if(e||(e=u.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(0),r="undefined"!==typeof window?o.useLayoutEffect:o.useEffect},function(e,n,t){"use strict";function o(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}t.d(n,"a",(function(){return C})),t.d(n,"b",(function(){return E})),t.d(n,"c",(function(){return f})),t.d(n,"d",(function(){return P})),t.d(n,"e",(function(){return h})),t.d(n,"f",(function(){return _})),t.d(n,"g",(function(){return I})),t.d(n,"h",(function(){return R}));var r=t(0),a=t.n(r),i=(t(111),t(72)),s=t(200),c=t(65);function u(){return(u=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}var l=t(201),d=t.n(l);t(148);function p(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}t(93);var m=function(e){var n=Object(s.a)();return n.displayName=e,n}("Router-History"),h=function(e){var n=Object(s.a)();return n.displayName=e,n}("Router"),f=function(e){function n(n){var t;return(t=e.call(this,n)||this).state={location:n.history.location},t._isMounted=!1,t._pendingLocation=null,n.staticContext||(t.unlisten=n.history.listen((function(e){t._isMounted?t.setState({location:e}):t._pendingLocation=e}))),t}o(n,e),n.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var t=n.prototype;return t.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},t.componentWillUnmount=function(){this.unlisten&&this.unlisten()},t.render=function(){return a.a.createElement(h.Provider,{value:{history:this.props.history,location:this.state.location,match:n.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},a.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},n}(a.a.Component);a.a.Component;var g=function(e){function n(){return e.apply(this,arguments)||this}o(n,e);var t=n.prototype;return t.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},t.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},t.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},t.render=function(){return null},n}(a.a.Component);var v={},y=0;function b(e,n){return void 0===e&&(e="/"),void 0===n&&(n={}),"/"===e?e:function(e){if(v[e])return v[e];var n=d.a.compile(e);return y<1e4&&(v[e]=n,y++),n}(e)(n,{pretty:!0})}function C(e){var n=e.computedMatch,t=e.to,o=e.push,r=void 0!==o&&o;return a.a.createElement(h.Consumer,null,(function(e){e||Object(c.a)(!1);var o=e.history,s=e.staticContext,l=r?o.push:o.replace,d=Object(i.c)(n?"string"===typeof t?b(t,n.params):u({},t,{pathname:b(t.pathname,n.params)}):t);return s?(l(d),null):a.a.createElement(g,{onMount:function(){l(d)},onUpdate:function(e,n){var t=Object(i.c)(n.to);Object(i.f)(t,u({},d,{key:t.key}))||l(d)},to:t})}))}var w={},S=0;function _(e,n){void 0===n&&(n={}),("string"===typeof n||Array.isArray(n))&&(n={path:n});var t=n,o=t.path,r=t.exact,a=void 0!==r&&r,i=t.strict,s=void 0!==i&&i,c=t.sensitive,u=void 0!==c&&c;return[].concat(o).reduce((function(n,t){if(!t&&""!==t)return null;if(n)return n;var o=function(e,n){var t=""+n.end+n.strict+n.sensitive,o=w[t]||(w[t]={});if(o[e])return o[e];var r=[],a={regexp:d()(e,r,n),keys:r};return S<1e4&&(o[e]=a,S++),a}(t,{end:a,strict:s,sensitive:u}),r=o.regexp,i=o.keys,c=r.exec(e);if(!c)return null;var l=c[0],p=c.slice(1),m=e===l;return a&&!m?null:{path:t,url:"/"===t&&""===l?"/":l,isExact:m,params:i.reduce((function(e,n,t){return e[n.name]=p[t],e}),{})}}),null)}var E=function(e){function n(){return e.apply(this,arguments)||this}return o(n,e),n.prototype.render=function(){var e=this;return a.a.createElement(h.Consumer,null,(function(n){n||Object(c.a)(!1);var t=e.props.location||n.location,o=u({},n,{location:t,match:e.props.computedMatch?e.props.computedMatch:e.props.path?_(t.pathname,e.props):n.match}),r=e.props,i=r.children,s=r.component,l=r.render;return Array.isArray(i)&&0===i.length&&(i=null),a.a.createElement(h.Provider,{value:o},o.match?i?"function"===typeof i?i(o):i:s?a.a.createElement(s,o):l?l(o):null:"function"===typeof i?i(o):null)}))},n}(a.a.Component);function x(e){return"/"===e.charAt(0)?e:"/"+e}function O(e,n){if(!e)return n;var t=x(e);return 0!==n.pathname.indexOf(t)?n:u({},n,{pathname:n.pathname.substr(t.length)})}function A(e){return"string"===typeof e?e:Object(i.e)(e)}function k(e){return function(){Object(c.a)(!1)}}function T(){}a.a.Component;var P=function(e){function n(){return e.apply(this,arguments)||this}return o(n,e),n.prototype.render=function(){var e=this;return a.a.createElement(h.Consumer,null,(function(n){n||Object(c.a)(!1);var t,o,r=e.props.location||n.location;return a.a.Children.forEach(e.props.children,(function(e){if(null==o&&a.a.isValidElement(e)){t=e;var i=e.props.path||e.props.from;o=i?_(r.pathname,u({},e.props,{path:i})):n.match}})),o?a.a.cloneElement(t,{location:r,computedMatch:o}):null}))},n}(a.a.Component);var M=a.a.useContext;function I(){return M(m)}function R(){return M(h).location}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var o=t(1),r=t(139),a=t(124),i=t(49),s=t(103),c=t(60),u=t(90),l=function(e){function n(t,o,r){var i=e.call(this)||this;switch(i.syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=a.a;break;case 1:if(!t){i.destination=a.a;break}if("object"===typeof t){t instanceof n?(i.syncErrorThrowable=t.syncErrorThrowable,i.destination=t,t.add(i)):(i.syncErrorThrowable=!0,i.destination=new d(i,t));break}default:i.syncErrorThrowable=!0,i.destination=new d(i,t,o,r)}return i}return o.__extends(n,e),n.prototype[s.a]=function(){return this},n.create=function(e,t,o){var r=new n(e,t,o);return r.syncErrorThrowable=!1,r},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},n.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},n.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},n}(i.a),d=function(e){function n(n,t,o,i){var s,c=e.call(this)||this;c._parentSubscriber=n;var u=c;return Object(r.a)(t)?s=t:t&&(s=t.next,o=t.error,i=t.complete,t!==a.a&&(u=Object.create(t),Object(r.a)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=s,c._error=o,c._complete=i,c}return o.__extends(n,e),n.prototype.next=function(e){if(!this.isStopped&&this._next){var n=this._parentSubscriber;c.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},n.prototype.error=function(e){if(!this.isStopped){var n=this._parentSubscriber,t=c.a.useDeprecatedSynchronousErrorHandling;if(this._error)t&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(n.syncErrorThrowable)t?(n.syncErrorValue=e,n.syncErrorThrown=!0):Object(u.a)(e),this.unsubscribe();else{if(this.unsubscribe(),t)throw e;Object(u.a)(e)}}},n.prototype.complete=function(){var e=this;if(!this.isStopped){var n=this._parentSubscriber;if(this._complete){var t=function(){return e._complete.call(e._context)};c.a.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?(this.__tryOrSetError(n,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}},n.prototype.__tryOrUnsub=function(e,n){try{e.call(this._context,n)}catch(t){if(this.unsubscribe(),c.a.useDeprecatedSynchronousErrorHandling)throw t;Object(u.a)(t)}},n.prototype.__tryOrSetError=function(e,n,t){if(!c.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,t)}catch(o){return c.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Object(u.a)(o),!0)}return!1},n.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},n}(l)},function(e,n,t){"use strict";function o(e,n){if(e in n){for(var t=n[e],r=arguments.length,a=new Array(r>2?r-2:0),i=2;i<r;i++)a[i-2]=arguments[i];return"function"===typeof t?t.apply(void 0,a):t}var s=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(n).map((function(e){return'"'+e+'"'})).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(s,o),s}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return s}));var o,r=t(0),a=t.n(r),i=Object(r.createContext)(null);function s(){return Object(r.useContext)(i)}function c(e){var n=e.value,t=e.children;return a.a.createElement(i.Provider,{value:n},t)}i.displayName="OpenClosedContext",function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(o||(o={}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var o=t(0),r=t(39),a=t(94),i=0;function s(){return++i}function c(){var e=Object(a.a)(),n=Object(o.useState)(e?s:null),t=n[0],i=n[1];return Object(r.a)((function(){null===t&&i(s())}),[t]),null!=t?""+t:void 0}},function(e,n,t){"use strict";t.d(n,"a",(function(){return p}));var o=t(4),r=t(29),a={code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},i={code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},s={code:"storage_not_supported",desc:"Given storage configuration option was not supported."},c={code:"no_redirect_callbacks",desc:"No redirect callbacks have been set. Please call setRedirectCallbacks() with the appropriate function arguments before continuing. More information is available here: https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/MSAL-basics."},u={code:"stubbed_public_client_application_called",desc:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors"},l={code:"in_mem_redirect_unavailable",desc:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},d={code:"entropy_not_provided",desc:"The available browser crypto interface requires entropy set via system.cryptoOptions.entropy configuration option."},p=function(e){function n(t,o){var r=e.call(this,t,o)||this;return r.name="BrowserConfigurationAuthError",Object.setPrototypeOf(r,n.prototype),r}return Object(o.c)(n,e),n.createRedirectUriEmptyError=function(){return new n(a.code,a.desc)},n.createPostLogoutRedirectUriEmptyError=function(){return new n(i.code,i.desc)},n.createStorageNotSupportedError=function(e){return new n(s.code,s.desc+" Given Location: "+e)},n.createRedirectCallbacksNotSetError=function(){return new n(c.code,c.desc)},n.createStubPcaInstanceCalledError=function(){return new n(u.code,u.desc)},n.createInMemoryRedirectUnavailableError=function(){return new n(l.code,l.desc)},n.createEntropyNotProvided=function(){return new n(d.code,d.desc)},n}(r.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"d",(function(){return s})),t.d(n,"f",(function(){return c})),t.d(n,"e",(function(){return u})),t.d(n,"g",(function(){return l})),t.d(n,"h",(function(){return d})),t.d(n,"i",(function(){return p})),t.d(n,"j",(function(){return m}));var o=t(0);var r=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))};var a=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))};var i=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M14.707 12.707a1 1 0 01-1.414 0L10 9.414l-3.293 3.293a1 1 0 01-1.414-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 010 1.414z",clipRule:"evenodd"}))};var s=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{d:"M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z"}))};var c=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M3.707 2.293a1 1 0 00-1.414 1.414l14 14a1 1 0 001.414-1.414l-1.473-1.473A10.014 10.014 0 0019.542 10C18.268 5.943 14.478 3 10 3a9.958 9.958 0 00-4.512 1.074l-1.78-1.781zm4.261 4.26l1.514 1.515a2.003 2.003 0 012.45 2.45l1.514 1.514a4 4 0 00-5.478-5.478z",clipRule:"evenodd"}),o.createElement("path",{d:"M12.454 16.697L9.75 13.992a4 4 0 01-3.742-3.741L2.335 6.578A9.98 9.98 0 00.458 10c1.274 4.057 5.065 7 9.542 7 .847 0 1.669-.105 2.454-.303z"}))};var u=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{d:"M10 12a2 2 0 100-4 2 2 0 000 4z"}),o.createElement("path",{fillRule:"evenodd",d:"M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z",clipRule:"evenodd"}))};var l=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z",clipRule:"evenodd"}))};var d=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M3 4a1 1 0 011-1h3a1 1 0 011 1v3a1 1 0 01-1 1H4a1 1 0 01-1-1V4zm2 2V5h1v1H5zM3 13a1 1 0 011-1h3a1 1 0 011 1v3a1 1 0 01-1 1H4a1 1 0 01-1-1v-3zm2 2v-1h1v1H5zM13 3a1 1 0 00-1 1v3a1 1 0 001 1h3a1 1 0 001-1V4a1 1 0 00-1-1h-3zm1 2v1h1V5h-1z",clipRule:"evenodd"}),o.createElement("path",{d:"M11 4a1 1 0 10-2 0v1a1 1 0 002 0V4zM10 7a1 1 0 011 1v1h2a1 1 0 110 2h-3a1 1 0 01-1-1V8a1 1 0 011-1zM16 9a1 1 0 100 2 1 1 0 000-2zM9 13a1 1 0 011-1h1a1 1 0 110 2v2a1 1 0 11-2 0v-3zM7 11a1 1 0 100-2H4a1 1 0 100 2h3zM17 13a1 1 0 01-1 1h-2a1 1 0 110-2h2a1 1 0 011 1zM16 17a1 1 0 100-2h-3a1 1 0 100 2h3z"}))};var p=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"}))};var m=function(e){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},e),o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))}},function(e,n,t){"use strict";function o(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";function o(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function r(e,n,t){return n&&o(e.prototype,n),t&&o(e,t),e}t.d(n,"a",(function(){return r}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(117),r=t(165),a=t(139),i=function(){function e(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map((function(e,n){return n+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),s=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._ctorUnsubscribe=!0,this._unsubscribe=e)}var n;return e.prototype.unsubscribe=function(){var n;if(!this.closed){var t=this,s=t._parentOrParents,u=t._ctorUnsubscribe,l=t._unsubscribe,d=t._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,s instanceof e)s.remove(this);else if(null!==s)for(var p=0;p<s.length;++p){s[p].remove(this)}if(Object(a.a)(l)){u&&(this._unsubscribe=void 0);try{l.call(this)}catch(f){n=f instanceof i?c(f.errors):[f]}}if(Object(o.a)(d)){p=-1;for(var m=d.length;++p<m;){var h=d[p];if(Object(r.a)(h))try{h.unsubscribe()}catch(f){n=n||[],f instanceof i?n=n.concat(c(f.errors)):n.push(f)}}}if(n)throw new i(n)}},e.prototype.add=function(n){var t=n;if(!n)return e.EMPTY;switch(typeof n){case"function":t=new e(n);case"object":if(t===this||t.closed||"function"!==typeof t.unsubscribe)return t;if(this.closed)return t.unsubscribe(),t;if(!(t instanceof e)){var o=t;(t=new e)._subscriptions=[o]}break;default:throw new Error("unrecognized teardown "+n+" added to Subscription.")}var r=t._parentOrParents;if(null===r)t._parentOrParents=this;else if(r instanceof e){if(r===this)return t;t._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return t;r.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[t]:a.push(t),t},e.prototype.remove=function(e){var n=this._subscriptions;if(n){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}},e.EMPTY=((n=new e).closed=!0,n),e}();function c(e){return e.reduce((function(e,n){return e.concat(n instanceof i?n.errors:n)}),[])}},function(e,n,t){"use strict";var o=t(590),r=t(591);function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}n.parse=b,n.resolve=function(e,n){return b(e,!1,!0).resolve(n)},n.resolveObject=function(e,n){return e?b(e,!1,!0).resolveObject(n):n},n.format=function(e){r.isString(e)&&(e=b(e));return e instanceof a?e.format():a.prototype.format.call(e)},n.Url=a;var i=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,c=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),l=["'"].concat(u),d=["%","/","?",";","#"].concat(l),p=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,f={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},y=t(592);function b(e,n,t){if(e&&r.isObject(e)&&e instanceof a)return e;var o=new a;return o.parse(e,n,t),o}a.prototype.parse=function(e,n,t){if(!r.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),s=-1!==a&&a<e.indexOf("#")?"?":"#",u=e.split(s);u[0]=u[0].replace(/\\/g,"/");var b=e=u.join(s);if(b=b.trim(),!t&&1===e.split("#").length){var C=c.exec(b);if(C)return this.path=b,this.href=b,this.pathname=C[1],C[2]?(this.search=C[2],this.query=n?y.parse(this.search.substr(1)):this.search.substr(1)):n&&(this.search="",this.query={}),this}var w=i.exec(b);if(w){var S=(w=w[0]).toLowerCase();this.protocol=S,b=b.substr(w.length)}if(t||w||b.match(/^\/\/[^@\/]+@[^@\/]+/)){var _="//"===b.substr(0,2);!_||w&&g[w]||(b=b.substr(2),this.slashes=!0)}if(!g[w]&&(_||w&&!v[w])){for(var E,x,O=-1,A=0;A<p.length;A++){-1!==(k=b.indexOf(p[A]))&&(-1===O||k<O)&&(O=k)}-1!==(x=-1===O?b.lastIndexOf("@"):b.lastIndexOf("@",O))&&(E=b.slice(0,x),b=b.slice(x+1),this.auth=decodeURIComponent(E)),O=-1;for(A=0;A<d.length;A++){var k;-1!==(k=b.indexOf(d[A]))&&(-1===O||k<O)&&(O=k)}-1===O&&(O=b.length),this.host=b.slice(0,O),b=b.slice(O),this.parseHost(),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T)for(var P=this.hostname.split(/\./),M=(A=0,P.length);A<M;A++){var I=P[A];if(I&&!I.match(m)){for(var R="",j=0,N=I.length;j<N;j++)I.charCodeAt(j)>127?R+="x":R+=I[j];if(!R.match(m)){var L=P.slice(0,A),F=P.slice(A+1),U=I.match(h);U&&(L.push(U[1]),F.unshift(U[2])),F.length&&(b="/"+F.join(".")+b),this.hostname=L.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=o.toASCII(this.hostname));var D=this.port?":"+this.port:"",B=this.hostname||"";this.host=B+D,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==b[0]&&(b="/"+b))}if(!f[S])for(A=0,M=l.length;A<M;A++){var z=l[A];if(-1!==b.indexOf(z)){var V=encodeURIComponent(z);V===z&&(V=escape(z)),b=b.split(z).join(V)}}var G=b.indexOf("#");-1!==G&&(this.hash=b.substr(G),b=b.slice(0,G));var H=b.indexOf("?");if(-1!==H?(this.search=b.substr(H),this.query=b.substr(H+1),n&&(this.query=y.parse(this.query)),b=b.slice(0,H)):n&&(this.search="",this.query={}),b&&(this.pathname=b),v[S]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){D=this.pathname||"";var q=this.search||"";this.path=D+q}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var n=this.protocol||"",t=this.pathname||"",o=this.hash||"",a=!1,i="";this.host?a=e+this.host:this.hostname&&(a=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(i=y.stringify(this.query));var s=this.search||i&&"?"+i||"";return n&&":"!==n.substr(-1)&&(n+=":"),this.slashes||(!n||v[n])&&!1!==a?(a="//"+(a||""),t&&"/"!==t.charAt(0)&&(t="/"+t)):a||(a=""),o&&"#"!==o.charAt(0)&&(o="#"+o),s&&"?"!==s.charAt(0)&&(s="?"+s),n+a+(t=t.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(s=s.replace("#","%23"))+o},a.prototype.resolve=function(e){return this.resolveObject(b(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(r.isString(e)){var n=new a;n.parse(e,!1,!0),e=n}for(var t=new a,o=Object.keys(this),i=0;i<o.length;i++){var s=o[i];t[s]=this[s]}if(t.hash=e.hash,""===e.href)return t.href=t.format(),t;if(e.slashes&&!e.protocol){for(var c=Object.keys(e),u=0;u<c.length;u++){var l=c[u];"protocol"!==l&&(t[l]=e[l])}return v[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(e.protocol&&e.protocol!==t.protocol){if(!v[e.protocol]){for(var d=Object.keys(e),p=0;p<d.length;p++){var m=d[p];t[m]=e[m]}return t.href=t.format(),t}if(t.protocol=e.protocol,e.host||g[e.protocol])t.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),t.pathname=h.join("/")}if(t.search=e.search,t.query=e.query,t.host=e.host||"",t.auth=e.auth,t.hostname=e.hostname||e.host,t.port=e.port,t.pathname||t.search){var f=t.pathname||"",y=t.search||"";t.path=f+y}return t.slashes=t.slashes||e.slashes,t.href=t.format(),t}var b=t.pathname&&"/"===t.pathname.charAt(0),C=e.host||e.pathname&&"/"===e.pathname.charAt(0),w=C||b||t.host&&e.pathname,S=w,_=t.pathname&&t.pathname.split("/")||[],E=(h=e.pathname&&e.pathname.split("/")||[],t.protocol&&!v[t.protocol]);if(E&&(t.hostname="",t.port=null,t.host&&(""===_[0]?_[0]=t.host:_.unshift(t.host)),t.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),w=w&&(""===h[0]||""===_[0])),C)t.host=e.host||""===e.host?e.host:t.host,t.hostname=e.hostname||""===e.hostname?e.hostname:t.hostname,t.search=e.search,t.query=e.query,_=h;else if(h.length)_||(_=[]),_.pop(),_=_.concat(h),t.search=e.search,t.query=e.query;else if(!r.isNullOrUndefined(e.search)){if(E)t.hostname=t.host=_.shift(),(T=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=T.shift(),t.host=t.hostname=T.shift());return t.search=e.search,t.query=e.query,r.isNull(t.pathname)&&r.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t}if(!_.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var x=_.slice(-1)[0],O=(t.host||e.host||_.length>1)&&("."===x||".."===x)||""===x,A=0,k=_.length;k>=0;k--)"."===(x=_[k])?_.splice(k,1):".."===x?(_.splice(k,1),A++):A&&(_.splice(k,1),A--);if(!w&&!S)for(;A--;A)_.unshift("..");!w||""===_[0]||_[0]&&"/"===_[0].charAt(0)||_.unshift(""),O&&"/"!==_.join("/").substr(-1)&&_.push("");var T,P=""===_[0]||_[0]&&"/"===_[0].charAt(0);E&&(t.hostname=t.host=P?"":_.length?_.shift():"",(T=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=T.shift(),t.host=t.hostname=T.shift()));return(w=w||t.host&&_.length)&&!P&&_.unshift(""),_.length?t.pathname=_.join("/"):(t.pathname=null,t.path=null),r.isNull(t.pathname)&&r.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=e.auth||t.auth,t.slashes=t.slashes||e.slashes,t.href=t.format(),t},a.prototype.parseHost=function(){var e=this.host,n=s.exec(e);n&&(":"!==(n=n[0])&&(this.port=n.substr(1)),e=e.substr(0,e.length-n.length)),e&&(this.hostname=e)}},function(e,n,t){"use strict";e.exports=function(e,n,t,o,r,a,i,s){if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[t,o,r,a,i,s],l=0;(c=new Error(n.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},,function(e,n,t){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}(),e.exports=t(560)},function(e,n,t){"use strict";t.d(n,"b",(function(){return s})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){return l}));var o=t(80),r=t(95),a=t(19);function i(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"===typeof(null==e?void 0:e.cancel)}var c=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function u(e){return e instanceof c}var l=function(e){var n,t,u,l,d=this,p=!1;this.cancel=function(e){return null==n?void 0:n(e)},this.cancelRetry=function(){p=!0},this.continue=function(){return null==t?void 0:t()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(e,n){u=e,l=n}));var m=function(n){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(n),null==t||t(),u(n))},h=function(n){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(n),null==t||t(),l(n))};!function u(){if(!d.isResolved){var l;try{l=e.fn()}catch(f){l=Promise.reject(f)}n=function(e){if(!d.isResolved&&(h(new c(e)),s(l)))try{l.cancel()}catch(n){}},d.isTransportCancelable=s(l),Promise.resolve(l).then(m).catch((function(n){var s,c;if(!d.isResolved){var l=null!=(s=e.retry)?s:3,m=null!=(c=e.retryDelay)?c:i,f="function"===typeof m?m(d.failureCount,n):m,g=!0===l||"number"===typeof l&&d.failureCount<l||"function"===typeof l&&l(d.failureCount,n);!p&&g?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,n),Object(a.q)(f).then((function(){if(!o.a.isFocused()||!r.a.isOnline())return new Promise((function(n){t=n,d.isPaused=!0,null==e.onPause||e.onPause()})).then((function(){t=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()}))})).then((function(){p?h(n):u()}))):h(n)}}))}}()}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(17),r=t(0);function a(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var a=Object(r.useRef)(n);return Object(r.useEffect)((function(){a.current=n}),[n]),Object(r.useCallback)((function(e){for(var n,t=Object(o.a)(a.current);!(n=t()).done;){var r=n.value;null!=r&&("function"===typeof r?r(e):r.current=e)}}),[a])}},function(e,n,t){var o=t(134),r=t(135),a=t(143),i=t(142),s=i.MAX_LENGTH,c=i.MAX_SAFE_INTEGER,u=t(109),l=u.re,d=u.t,p=t(144),m=t(187).compareIdentifiers,h=function(){"use strict";function e(n,t){if(o(this,e),t=p(t),n instanceof e){if(n.loose===!!t.loose&&n.includePrerelease===!!t.includePrerelease)return n;n=n.version}else if("string"!==typeof n)throw new TypeError("Invalid Version: ".concat(n));if(n.length>s)throw new TypeError("version is longer than ".concat(s," characters"));a("SemVer",n,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;var r=n.trim().match(t.loose?l[d.LOOSE]:l[d.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(n));if(this.raw=n,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>c||this.major<0)throw new TypeError("Invalid major version");if(this.minor>c||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>c||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var n=+e;if(n>=0&&n<c)return n}return e})):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}return r(e,[{key:"format",value:function(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}},{key:"toString",value:function(){return this.version}},{key:"compare",value:function(n){if(a("SemVer.compare",this.version,this.options,n),!(n instanceof e)){if("string"===typeof n&&n===this.version)return 0;n=new e(n,this.options)}return n.version===this.version?0:this.compareMain(n)||this.comparePre(n)}},{key:"compareMain",value:function(n){return n instanceof e||(n=new e(n,this.options)),m(this.major,n.major)||m(this.minor,n.minor)||m(this.patch,n.patch)}},{key:"comparePre",value:function(n){if(n instanceof e||(n=new e(n,this.options)),this.prerelease.length&&!n.prerelease.length)return-1;if(!this.prerelease.length&&n.prerelease.length)return 1;if(!this.prerelease.length&&!n.prerelease.length)return 0;var t=0;do{var o=this.prerelease[t],r=n.prerelease[t];if(a("prerelease compare",t,o,r),void 0===o&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===o)return-1;if(o!==r)return m(o,r)}while(++t)}},{key:"compareBuild",value:function(n){n instanceof e||(n=new e(n,this.options));var t=0;do{var o=this.build[t],r=n.build[t];if(a("prerelease compare",t,o,r),void 0===o&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===o)return-1;if(o!==r)return m(o,r)}while(++t)}},{key:"inc",value:function(e,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n),this.inc("pre",n);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",n),this.inc("pre",n);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var t=this.prerelease.length;--t>=0;)"number"===typeof this.prerelease[t]&&(this.prerelease[t]++,t=-2);-1===t&&this.prerelease.push(0)}n&&(0===m(this.prerelease[0],n)?isNaN(this.prerelease[1])&&(this.prerelease=[n,0]):this.prerelease=[n,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}]),e}();e.exports=h},function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return s}));var o=t(20),r=t(22),a=t(2);function i(e,n){if(r.a.isEmpty(e))throw o.a.createClientInfoEmptyError();try{var t=n.base64Decode(e);return JSON.parse(t)}catch(a){throw o.a.createClientInfoDecodingError(a.message)}}function s(e){if(r.a.isEmpty(e))throw o.a.createClientInfoDecodingError("Home account ID was empty.");var n=e.split(a.E.CLIENT_INFO_SEPARATOR,2);return{uid:n[0],utid:n.length<2?a.n.EMPTY_STRING:n[1]}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(158);function r(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Object(o.a)(e,n)}},function(e,n,t){var o=t(186);t(108);e.exports=function(){"use strict";var e={AF:"Africa",AN:"Antarctica",AS:"Asia",EU:"Europe",NA:"North America",OC:"Oceania",SA:"South America"},n={AD:{name:"Andorra",native:"Andorra",phone:"376",continent:"EU",capital:"Andorra la Vella",currency:"EUR",languages:["ca"],emoji:"\ud83c\udde6\ud83c\udde9",emojiU:"U+1F1E6 U+1F1E9"},AE:{name:"United Arab Emirates",native:"\u062f\u0648\u0644\u0629 \u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629",phone:"971",continent:"AS",capital:"Abu Dhabi",currency:"AED",languages:["ar"],emoji:"\ud83c\udde6\ud83c\uddea",emojiU:"U+1F1E6 U+1F1EA"},AF:{name:"Afghanistan",native:"\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646",phone:"93",continent:"AS",capital:"Kabul",currency:"AFN",languages:["ps","uz","tk"],emoji:"\ud83c\udde6\ud83c\uddeb",emojiU:"U+1F1E6 U+1F1EB"},AG:{name:"Antigua and Barbuda",native:"Antigua and Barbuda",phone:"1268",continent:"NA",capital:"Saint John's",currency:"XCD",languages:["en"],emoji:"\ud83c\udde6\ud83c\uddec",emojiU:"U+1F1E6 U+1F1EC"},AI:{name:"Anguilla",native:"Anguilla",phone:"1264",continent:"NA",capital:"The Valley",currency:"XCD",languages:["en"],emoji:"\ud83c\udde6\ud83c\uddee",emojiU:"U+1F1E6 U+1F1EE"},AL:{name:"Albania",native:"Shqip\xebria",phone:"355",continent:"EU",capital:"Tirana",currency:"ALL",languages:["sq"],emoji:"\ud83c\udde6\ud83c\uddf1",emojiU:"U+1F1E6 U+1F1F1"},AM:{name:"Armenia",native:"\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576",phone:"374",continent:"AS",capital:"Yerevan",currency:"AMD",languages:["hy","ru"],emoji:"\ud83c\udde6\ud83c\uddf2",emojiU:"U+1F1E6 U+1F1F2"},AO:{name:"Angola",native:"Angola",phone:"244",continent:"AF",capital:"Luanda",currency:"AOA",languages:["pt"],emoji:"\ud83c\udde6\ud83c\uddf4",emojiU:"U+1F1E6 U+1F1F4"},AQ:{name:"Antarctica",native:"Antarctica",phone:"672",continent:"AN",capital:"",currency:"",languages:[],emoji:"\ud83c\udde6\ud83c\uddf6",emojiU:"U+1F1E6 U+1F1F6"},AR:{name:"Argentina",native:"Argentina",phone:"54",continent:"SA",capital:"Buenos Aires",currency:"ARS",languages:["es","gn"],emoji:"\ud83c\udde6\ud83c\uddf7",emojiU:"U+1F1E6 U+1F1F7"},AS:{name:"American Samoa",native:"American Samoa",phone:"1684",continent:"OC",capital:"Pago Pago",currency:"USD",languages:["en","sm"],emoji:"\ud83c\udde6\ud83c\uddf8",emojiU:"U+1F1E6 U+1F1F8"},AT:{name:"Austria",native:"\xd6sterreich",phone:"43",continent:"EU",capital:"Vienna",currency:"EUR",languages:["de"],emoji:"\ud83c\udde6\ud83c\uddf9",emojiU:"U+1F1E6 U+1F1F9"},AU:{name:"Australia",native:"Australia",phone:"61",continent:"OC",capital:"Canberra",currency:"AUD",languages:["en"],emoji:"\ud83c\udde6\ud83c\uddfa",emojiU:"U+1F1E6 U+1F1FA"},AW:{name:"Aruba",native:"Aruba",phone:"297",continent:"NA",capital:"Oranjestad",currency:"AWG",languages:["nl","pa"],emoji:"\ud83c\udde6\ud83c\uddfc",emojiU:"U+1F1E6 U+1F1FC"},AX:{name:"\xc5land",native:"\xc5land",phone:"358",continent:"EU",capital:"Mariehamn",currency:"EUR",languages:["sv"],emoji:"\ud83c\udde6\ud83c\uddfd",emojiU:"U+1F1E6 U+1F1FD"},AZ:{name:"Azerbaijan",native:"Az\u0259rbaycan",phone:"994",continent:"AS",capital:"Baku",currency:"AZN",languages:["az"],emoji:"\ud83c\udde6\ud83c\uddff",emojiU:"U+1F1E6 U+1F1FF"},BA:{name:"Bosnia and Herzegovina",native:"Bosna i Hercegovina",phone:"387",continent:"EU",capital:"Sarajevo",currency:"BAM",languages:["bs","hr","sr"],emoji:"\ud83c\udde7\ud83c\udde6",emojiU:"U+1F1E7 U+1F1E6"},BB:{name:"Barbados",native:"Barbados",phone:"1246",continent:"NA",capital:"Bridgetown",currency:"BBD",languages:["en"],emoji:"\ud83c\udde7\ud83c\udde7",emojiU:"U+1F1E7 U+1F1E7"},BD:{name:"Bangladesh",native:"Bangladesh",phone:"880",continent:"AS",capital:"Dhaka",currency:"BDT",languages:["bn"],emoji:"\ud83c\udde7\ud83c\udde9",emojiU:"U+1F1E7 U+1F1E9"},BE:{name:"Belgium",native:"Belgi\xeb",phone:"32",continent:"EU",capital:"Brussels",currency:"EUR",languages:["nl","fr","de"],emoji:"\ud83c\udde7\ud83c\uddea",emojiU:"U+1F1E7 U+1F1EA"},BF:{name:"Burkina Faso",native:"Burkina Faso",phone:"226",continent:"AF",capital:"Ouagadougou",currency:"XOF",languages:["fr","ff"],emoji:"\ud83c\udde7\ud83c\uddeb",emojiU:"U+1F1E7 U+1F1EB"},BG:{name:"Bulgaria",native:"\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f",phone:"359",continent:"EU",capital:"Sofia",currency:"BGN",languages:["bg"],emoji:"\ud83c\udde7\ud83c\uddec",emojiU:"U+1F1E7 U+1F1EC"},BH:{name:"Bahrain",native:"\u200f\u0627\u0644\u0628\u062d\u0631\u064a\u0646",phone:"973",continent:"AS",capital:"Manama",currency:"BHD",languages:["ar"],emoji:"\ud83c\udde7\ud83c\udded",emojiU:"U+1F1E7 U+1F1ED"},BI:{name:"Burundi",native:"Burundi",phone:"257",continent:"AF",capital:"Bujumbura",currency:"BIF",languages:["fr","rn"],emoji:"\ud83c\udde7\ud83c\uddee",emojiU:"U+1F1E7 U+1F1EE"},BJ:{name:"Benin",native:"B\xe9nin",phone:"229",continent:"AF",capital:"Porto-Novo",currency:"XOF",languages:["fr"],emoji:"\ud83c\udde7\ud83c\uddef",emojiU:"U+1F1E7 U+1F1EF"},BL:{name:"Saint Barth\xe9lemy",native:"Saint-Barth\xe9lemy",phone:"590",continent:"NA",capital:"Gustavia",currency:"EUR",languages:["fr"],emoji:"\ud83c\udde7\ud83c\uddf1",emojiU:"U+1F1E7 U+1F1F1"},BM:{name:"Bermuda",native:"Bermuda",phone:"1441",continent:"NA",capital:"Hamilton",currency:"BMD",languages:["en"],emoji:"\ud83c\udde7\ud83c\uddf2",emojiU:"U+1F1E7 U+1F1F2"},BN:{name:"Brunei",native:"Negara Brunei Darussalam",phone:"673",continent:"AS",capital:"Bandar Seri Begawan",currency:"BND",languages:["ms"],emoji:"\ud83c\udde7\ud83c\uddf3",emojiU:"U+1F1E7 U+1F1F3"},BO:{name:"Bolivia",native:"Bolivia",phone:"591",continent:"SA",capital:"Sucre",currency:"BOB,BOV",languages:["es","ay","qu"],emoji:"\ud83c\udde7\ud83c\uddf4",emojiU:"U+1F1E7 U+1F1F4"},BQ:{name:"Bonaire",native:"Bonaire",phone:"5997",continent:"NA",capital:"Kralendijk",currency:"USD",languages:["nl"],emoji:"\ud83c\udde7\ud83c\uddf6",emojiU:"U+1F1E7 U+1F1F6"},BR:{name:"Brazil",native:"Brasil",phone:"55",continent:"SA",capital:"Bras\xedlia",currency:"BRL",languages:["pt"],emoji:"\ud83c\udde7\ud83c\uddf7",emojiU:"U+1F1E7 U+1F1F7"},BS:{name:"Bahamas",native:"Bahamas",phone:"1242",continent:"NA",capital:"Nassau",currency:"BSD",languages:["en"],emoji:"\ud83c\udde7\ud83c\uddf8",emojiU:"U+1F1E7 U+1F1F8"},BT:{name:"Bhutan",native:"\u02bcbrug-yul",phone:"975",continent:"AS",capital:"Thimphu",currency:"BTN,INR",languages:["dz"],emoji:"\ud83c\udde7\ud83c\uddf9",emojiU:"U+1F1E7 U+1F1F9"},BV:{name:"Bouvet Island",native:"Bouvet\xf8ya",phone:"47",continent:"AN",capital:"",currency:"NOK",languages:["no","nb","nn"],emoji:"\ud83c\udde7\ud83c\uddfb",emojiU:"U+1F1E7 U+1F1FB"},BW:{name:"Botswana",native:"Botswana",phone:"267",continent:"AF",capital:"Gaborone",currency:"BWP",languages:["en","tn"],emoji:"\ud83c\udde7\ud83c\uddfc",emojiU:"U+1F1E7 U+1F1FC"},BY:{name:"Belarus",native:"\u0411\u0435\u043b\u0430\u0440\u0443\u0301\u0441\u044c",phone:"375",continent:"EU",capital:"Minsk",currency:"BYN",languages:["be","ru"],emoji:"\ud83c\udde7\ud83c\uddfe",emojiU:"U+1F1E7 U+1F1FE"},BZ:{name:"Belize",native:"Belize",phone:"501",continent:"NA",capital:"Belmopan",currency:"BZD",languages:["en","es"],emoji:"\ud83c\udde7\ud83c\uddff",emojiU:"U+1F1E7 U+1F1FF"},CA:{name:"Canada",native:"Canada",phone:"1",continent:"NA",capital:"Ottawa",currency:"CAD",languages:["en","fr"],emoji:"\ud83c\udde8\ud83c\udde6",emojiU:"U+1F1E8 U+1F1E6"},CC:{name:"Cocos [Keeling] Islands",native:"Cocos (Keeling) Islands",phone:"61",continent:"AS",capital:"West Island",currency:"AUD",languages:["en"],emoji:"\ud83c\udde8\ud83c\udde8",emojiU:"U+1F1E8 U+1F1E8"},CD:{name:"Democratic Republic of the Congo",native:"R\xe9publique d\xe9mocratique du Congo",phone:"243",continent:"AF",capital:"Kinshasa",currency:"CDF",languages:["fr","ln","kg","sw","lu"],emoji:"\ud83c\udde8\ud83c\udde9",emojiU:"U+1F1E8 U+1F1E9"},CF:{name:"Central African Republic",native:"K\xf6d\xf6r\xf6s\xease t\xee B\xeaafr\xeeka",phone:"236",continent:"AF",capital:"Bangui",currency:"XAF",languages:["fr","sg"],emoji:"\ud83c\udde8\ud83c\uddeb",emojiU:"U+1F1E8 U+1F1EB"},CG:{name:"Republic of the Congo",native:"R\xe9publique du Congo",phone:"242",continent:"AF",capital:"Brazzaville",currency:"XAF",languages:["fr","ln"],emoji:"\ud83c\udde8\ud83c\uddec",emojiU:"U+1F1E8 U+1F1EC"},CH:{name:"Switzerland",native:"Schweiz",phone:"41",continent:"EU",capital:"Bern",currency:"CHE,CHF,CHW",languages:["de","fr","it"],emoji:"\ud83c\udde8\ud83c\udded",emojiU:"U+1F1E8 U+1F1ED"},CI:{name:"Ivory Coast",native:"C\xf4te d'Ivoire",phone:"225",continent:"AF",capital:"Yamoussoukro",currency:"XOF",languages:["fr"],emoji:"\ud83c\udde8\ud83c\uddee",emojiU:"U+1F1E8 U+1F1EE"},CK:{name:"Cook Islands",native:"Cook Islands",phone:"682",continent:"OC",capital:"Avarua",currency:"NZD",languages:["en"],emoji:"\ud83c\udde8\ud83c\uddf0",emojiU:"U+1F1E8 U+1F1F0"},CL:{name:"Chile",native:"Chile",phone:"56",continent:"SA",capital:"Santiago",currency:"CLF,CLP",languages:["es"],emoji:"\ud83c\udde8\ud83c\uddf1",emojiU:"U+1F1E8 U+1F1F1"},CM:{name:"Cameroon",native:"Cameroon",phone:"237",continent:"AF",capital:"Yaound\xe9",currency:"XAF",languages:["en","fr"],emoji:"\ud83c\udde8\ud83c\uddf2",emojiU:"U+1F1E8 U+1F1F2"},CN:{name:"China",native:"\u4e2d\u56fd",phone:"86",continent:"AS",capital:"Beijing",currency:"CNY",languages:["zh"],emoji:"\ud83c\udde8\ud83c\uddf3",emojiU:"U+1F1E8 U+1F1F3"},CO:{name:"Colombia",native:"Colombia",phone:"57",continent:"SA",capital:"Bogot\xe1",currency:"COP",languages:["es"],emoji:"\ud83c\udde8\ud83c\uddf4",emojiU:"U+1F1E8 U+1F1F4"},CR:{name:"Costa Rica",native:"Costa Rica",phone:"506",continent:"NA",capital:"San Jos\xe9",currency:"CRC",languages:["es"],emoji:"\ud83c\udde8\ud83c\uddf7",emojiU:"U+1F1E8 U+1F1F7"},CU:{name:"Cuba",native:"Cuba",phone:"53",continent:"NA",capital:"Havana",currency:"CUC,CUP",languages:["es"],emoji:"\ud83c\udde8\ud83c\uddfa",emojiU:"U+1F1E8 U+1F1FA"},CV:{name:"Cape Verde",native:"Cabo Verde",phone:"238",continent:"AF",capital:"Praia",currency:"CVE",languages:["pt"],emoji:"\ud83c\udde8\ud83c\uddfb",emojiU:"U+1F1E8 U+1F1FB"},CW:{name:"Curacao",native:"Cura\xe7ao",phone:"5999",continent:"NA",capital:"Willemstad",currency:"ANG",languages:["nl","pa","en"],emoji:"\ud83c\udde8\ud83c\uddfc",emojiU:"U+1F1E8 U+1F1FC"},CX:{name:"Christmas Island",native:"Christmas Island",phone:"61",continent:"AS",capital:"Flying Fish Cove",currency:"AUD",languages:["en"],emoji:"\ud83c\udde8\ud83c\uddfd",emojiU:"U+1F1E8 U+1F1FD"},CY:{name:"Cyprus",native:"\u039a\u03cd\u03c0\u03c1\u03bf\u03c2",phone:"357",continent:"EU",capital:"Nicosia",currency:"EUR",languages:["el","tr","hy"],emoji:"\ud83c\udde8\ud83c\uddfe",emojiU:"U+1F1E8 U+1F1FE"},CZ:{name:"Czech Republic",native:"\u010cesk\xe1 republika",phone:"420",continent:"EU",capital:"Prague",currency:"CZK",languages:["cs","sk"],emoji:"\ud83c\udde8\ud83c\uddff",emojiU:"U+1F1E8 U+1F1FF"},DE:{name:"Germany",native:"Deutschland",phone:"49",continent:"EU",capital:"Berlin",currency:"EUR",languages:["de"],emoji:"\ud83c\udde9\ud83c\uddea",emojiU:"U+1F1E9 U+1F1EA"},DJ:{name:"Djibouti",native:"Djibouti",phone:"253",continent:"AF",capital:"Djibouti",currency:"DJF",languages:["fr","ar"],emoji:"\ud83c\udde9\ud83c\uddef",emojiU:"U+1F1E9 U+1F1EF"},DK:{name:"Denmark",native:"Danmark",phone:"45",continent:"EU",capital:"Copenhagen",currency:"DKK",languages:["da"],emoji:"\ud83c\udde9\ud83c\uddf0",emojiU:"U+1F1E9 U+1F1F0"},DM:{name:"Dominica",native:"Dominica",phone:"1767",continent:"NA",capital:"Roseau",currency:"XCD",languages:["en"],emoji:"\ud83c\udde9\ud83c\uddf2",emojiU:"U+1F1E9 U+1F1F2"},DO:{name:"Dominican Republic",native:"Rep\xfablica Dominicana",phone:"1809,1829,1849",continent:"NA",capital:"Santo Domingo",currency:"DOP",languages:["es"],emoji:"\ud83c\udde9\ud83c\uddf4",emojiU:"U+1F1E9 U+1F1F4"},DZ:{name:"Algeria",native:"\u0627\u0644\u062c\u0632\u0627\u0626\u0631",phone:"213",continent:"AF",capital:"Algiers",currency:"DZD",languages:["ar"],emoji:"\ud83c\udde9\ud83c\uddff",emojiU:"U+1F1E9 U+1F1FF"},EC:{name:"Ecuador",native:"Ecuador",phone:"593",continent:"SA",capital:"Quito",currency:"USD",languages:["es"],emoji:"\ud83c\uddea\ud83c\udde8",emojiU:"U+1F1EA U+1F1E8"},EE:{name:"Estonia",native:"Eesti",phone:"372",continent:"EU",capital:"Tallinn",currency:"EUR",languages:["et"],emoji:"\ud83c\uddea\ud83c\uddea",emojiU:"U+1F1EA U+1F1EA"},EG:{name:"Egypt",native:"\u0645\u0635\u0631\u200e",phone:"20",continent:"AF",capital:"Cairo",currency:"EGP",languages:["ar"],emoji:"\ud83c\uddea\ud83c\uddec",emojiU:"U+1F1EA U+1F1EC"},EH:{name:"Western Sahara",native:"\u0627\u0644\u0635\u062d\u0631\u0627\u0621 \u0627\u0644\u063a\u0631\u0628\u064a\u0629",phone:"212",continent:"AF",capital:"El Aai\xfan",currency:"MAD,DZD,MRU",languages:["es"],emoji:"\ud83c\uddea\ud83c\udded",emojiU:"U+1F1EA U+1F1ED"},ER:{name:"Eritrea",native:"\u12a4\u122d\u1275\u122b",phone:"291",continent:"AF",capital:"Asmara",currency:"ERN",languages:["ti","ar","en"],emoji:"\ud83c\uddea\ud83c\uddf7",emojiU:"U+1F1EA U+1F1F7"},ES:{name:"Spain",native:"Espa\xf1a",phone:"34",continent:"EU",capital:"Madrid",currency:"EUR",languages:["es","eu","ca","gl","oc"],emoji:"\ud83c\uddea\ud83c\uddf8",emojiU:"U+1F1EA U+1F1F8"},ET:{name:"Ethiopia",native:"\u12a2\u1275\u12ee\u1335\u12eb",phone:"251",continent:"AF",capital:"Addis Ababa",currency:"ETB",languages:["am"],emoji:"\ud83c\uddea\ud83c\uddf9",emojiU:"U+1F1EA U+1F1F9"},FI:{name:"Finland",native:"Suomi",phone:"358",continent:"EU",capital:"Helsinki",currency:"EUR",languages:["fi","sv"],emoji:"\ud83c\uddeb\ud83c\uddee",emojiU:"U+1F1EB U+1F1EE"},FJ:{name:"Fiji",native:"Fiji",phone:"679",continent:"OC",capital:"Suva",currency:"FJD",languages:["en","fj","hi","ur"],emoji:"\ud83c\uddeb\ud83c\uddef",emojiU:"U+1F1EB U+1F1EF"},FK:{name:"Falkland Islands",native:"Falkland Islands",phone:"500",continent:"SA",capital:"Stanley",currency:"FKP",languages:["en"],emoji:"\ud83c\uddeb\ud83c\uddf0",emojiU:"U+1F1EB U+1F1F0"},FM:{name:"Micronesia",native:"Micronesia",phone:"691",continent:"OC",capital:"Palikir",currency:"USD",languages:["en"],emoji:"\ud83c\uddeb\ud83c\uddf2",emojiU:"U+1F1EB U+1F1F2"},FO:{name:"Faroe Islands",native:"F\xf8royar",phone:"298",continent:"EU",capital:"T\xf3rshavn",currency:"DKK",languages:["fo"],emoji:"\ud83c\uddeb\ud83c\uddf4",emojiU:"U+1F1EB U+1F1F4"},FR:{name:"France",native:"France",phone:"33",continent:"EU",capital:"Paris",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddeb\ud83c\uddf7",emojiU:"U+1F1EB U+1F1F7"},GA:{name:"Gabon",native:"Gabon",phone:"241",continent:"AF",capital:"Libreville",currency:"XAF",languages:["fr"],emoji:"\ud83c\uddec\ud83c\udde6",emojiU:"U+1F1EC U+1F1E6"},GB:{name:"United Kingdom",native:"United Kingdom",phone:"44",continent:"EU",capital:"London",currency:"GBP",languages:["en"],emoji:"\ud83c\uddec\ud83c\udde7",emojiU:"U+1F1EC U+1F1E7"},GD:{name:"Grenada",native:"Grenada",phone:"1473",continent:"NA",capital:"St. George's",currency:"XCD",languages:["en"],emoji:"\ud83c\uddec\ud83c\udde9",emojiU:"U+1F1EC U+1F1E9"},GE:{name:"Georgia",native:"\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\u10dd",phone:"995",continent:"AS",capital:"Tbilisi",currency:"GEL",languages:["ka"],emoji:"\ud83c\uddec\ud83c\uddea",emojiU:"U+1F1EC U+1F1EA"},GF:{name:"French Guiana",native:"Guyane fran\xe7aise",phone:"594",continent:"SA",capital:"Cayenne",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddec\ud83c\uddeb",emojiU:"U+1F1EC U+1F1EB"},GG:{name:"Guernsey",native:"Guernsey",phone:"44",continent:"EU",capital:"St. Peter Port",currency:"GBP",languages:["en","fr"],emoji:"\ud83c\uddec\ud83c\uddec",emojiU:"U+1F1EC U+1F1EC"},GH:{name:"Ghana",native:"Ghana",phone:"233",continent:"AF",capital:"Accra",currency:"GHS",languages:["en"],emoji:"\ud83c\uddec\ud83c\udded",emojiU:"U+1F1EC U+1F1ED"},GI:{name:"Gibraltar",native:"Gibraltar",phone:"350",continent:"EU",capital:"Gibraltar",currency:"GIP",languages:["en"],emoji:"\ud83c\uddec\ud83c\uddee",emojiU:"U+1F1EC U+1F1EE"},GL:{name:"Greenland",native:"Kalaallit Nunaat",phone:"299",continent:"NA",capital:"Nuuk",currency:"DKK",languages:["kl"],emoji:"\ud83c\uddec\ud83c\uddf1",emojiU:"U+1F1EC U+1F1F1"},GM:{name:"Gambia",native:"Gambia",phone:"220",continent:"AF",capital:"Banjul",currency:"GMD",languages:["en"],emoji:"\ud83c\uddec\ud83c\uddf2",emojiU:"U+1F1EC U+1F1F2"},GN:{name:"Guinea",native:"Guin\xe9e",phone:"224",continent:"AF",capital:"Conakry",currency:"GNF",languages:["fr","ff"],emoji:"\ud83c\uddec\ud83c\uddf3",emojiU:"U+1F1EC U+1F1F3"},GP:{name:"Guadeloupe",native:"Guadeloupe",phone:"590",continent:"NA",capital:"Basse-Terre",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddec\ud83c\uddf5",emojiU:"U+1F1EC U+1F1F5"},GQ:{name:"Equatorial Guinea",native:"Guinea Ecuatorial",phone:"240",continent:"AF",capital:"Malabo",currency:"XAF",languages:["es","fr"],emoji:"\ud83c\uddec\ud83c\uddf6",emojiU:"U+1F1EC U+1F1F6"},GR:{name:"Greece",native:"\u0395\u03bb\u03bb\u03ac\u03b4\u03b1",phone:"30",continent:"EU",capital:"Athens",currency:"EUR",languages:["el"],emoji:"\ud83c\uddec\ud83c\uddf7",emojiU:"U+1F1EC U+1F1F7"},GS:{name:"South Georgia and the South Sandwich Islands",native:"South Georgia",phone:"500",continent:"AN",capital:"King Edward Point",currency:"GBP",languages:["en"],emoji:"\ud83c\uddec\ud83c\uddf8",emojiU:"U+1F1EC U+1F1F8"},GT:{name:"Guatemala",native:"Guatemala",phone:"502",continent:"NA",capital:"Guatemala City",currency:"GTQ",languages:["es"],emoji:"\ud83c\uddec\ud83c\uddf9",emojiU:"U+1F1EC U+1F1F9"},GU:{name:"Guam",native:"Guam",phone:"1671",continent:"OC",capital:"Hag\xe5t\xf1a",currency:"USD",languages:["en","ch","es"],emoji:"\ud83c\uddec\ud83c\uddfa",emojiU:"U+1F1EC U+1F1FA"},GW:{name:"Guinea-Bissau",native:"Guin\xe9-Bissau",phone:"245",continent:"AF",capital:"Bissau",currency:"XOF",languages:["pt"],emoji:"\ud83c\uddec\ud83c\uddfc",emojiU:"U+1F1EC U+1F1FC"},GY:{name:"Guyana",native:"Guyana",phone:"592",continent:"SA",capital:"Georgetown",currency:"GYD",languages:["en"],emoji:"\ud83c\uddec\ud83c\uddfe",emojiU:"U+1F1EC U+1F1FE"},HK:{name:"Hong Kong",native:"\u9999\u6e2f",phone:"852",continent:"AS",capital:"City of Victoria",currency:"HKD",languages:["zh","en"],emoji:"\ud83c\udded\ud83c\uddf0",emojiU:"U+1F1ED U+1F1F0"},HM:{name:"Heard Island and McDonald Islands",native:"Heard Island and McDonald Islands",phone:"61",continent:"AN",capital:"",currency:"AUD",languages:["en"],emoji:"\ud83c\udded\ud83c\uddf2",emojiU:"U+1F1ED U+1F1F2"},HN:{name:"Honduras",native:"Honduras",phone:"504",continent:"NA",capital:"Tegucigalpa",currency:"HNL",languages:["es"],emoji:"\ud83c\udded\ud83c\uddf3",emojiU:"U+1F1ED U+1F1F3"},HR:{name:"Croatia",native:"Hrvatska",phone:"385",continent:"EU",capital:"Zagreb",currency:"HRK",languages:["hr"],emoji:"\ud83c\udded\ud83c\uddf7",emojiU:"U+1F1ED U+1F1F7"},HT:{name:"Haiti",native:"Ha\xefti",phone:"509",continent:"NA",capital:"Port-au-Prince",currency:"HTG,USD",languages:["fr","ht"],emoji:"\ud83c\udded\ud83c\uddf9",emojiU:"U+1F1ED U+1F1F9"},HU:{name:"Hungary",native:"Magyarorsz\xe1g",phone:"36",continent:"EU",capital:"Budapest",currency:"HUF",languages:["hu"],emoji:"\ud83c\udded\ud83c\uddfa",emojiU:"U+1F1ED U+1F1FA"},ID:{name:"Indonesia",native:"Indonesia",phone:"62",continent:"AS",capital:"Jakarta",currency:"IDR",languages:["id"],emoji:"\ud83c\uddee\ud83c\udde9",emojiU:"U+1F1EE U+1F1E9"},IE:{name:"Ireland",native:"\xc9ire",phone:"353",continent:"EU",capital:"Dublin",currency:"EUR",languages:["ga","en"],emoji:"\ud83c\uddee\ud83c\uddea",emojiU:"U+1F1EE U+1F1EA"},IL:{name:"Israel",native:"\u05d9\u05b4\u05e9\u05b0\u05c2\u05e8\u05b8\u05d0\u05b5\u05dc",phone:"972",continent:"AS",capital:"Jerusalem",currency:"ILS",languages:["he","ar"],emoji:"\ud83c\uddee\ud83c\uddf1",emojiU:"U+1F1EE U+1F1F1"},IM:{name:"Isle of Man",native:"Isle of Man",phone:"44",continent:"EU",capital:"Douglas",currency:"GBP",languages:["en","gv"],emoji:"\ud83c\uddee\ud83c\uddf2",emojiU:"U+1F1EE U+1F1F2"},IN:{name:"India",native:"\u092d\u093e\u0930\u0924",phone:"91",continent:"AS",capital:"New Delhi",currency:"INR",languages:["hi","en"],emoji:"\ud83c\uddee\ud83c\uddf3",emojiU:"U+1F1EE U+1F1F3"},IO:{name:"British Indian Ocean Territory",native:"British Indian Ocean Territory",phone:"246",continent:"AS",capital:"Diego Garcia",currency:"USD",languages:["en"],emoji:"\ud83c\uddee\ud83c\uddf4",emojiU:"U+1F1EE U+1F1F4"},IQ:{name:"Iraq",native:"\u0627\u0644\u0639\u0631\u0627\u0642",phone:"964",continent:"AS",capital:"Baghdad",currency:"IQD",languages:["ar","ku"],emoji:"\ud83c\uddee\ud83c\uddf6",emojiU:"U+1F1EE U+1F1F6"},IR:{name:"Iran",native:"\u0627\u06cc\u0631\u0627\u0646",phone:"98",continent:"AS",capital:"Tehran",currency:"IRR",languages:["fa"],emoji:"\ud83c\uddee\ud83c\uddf7",emojiU:"U+1F1EE U+1F1F7"},IS:{name:"Iceland",native:"\xcdsland",phone:"354",continent:"EU",capital:"Reykjavik",currency:"ISK",languages:["is"],emoji:"\ud83c\uddee\ud83c\uddf8",emojiU:"U+1F1EE U+1F1F8"},IT:{name:"Italy",native:"Italia",phone:"39",continent:"EU",capital:"Rome",currency:"EUR",languages:["it"],emoji:"\ud83c\uddee\ud83c\uddf9",emojiU:"U+1F1EE U+1F1F9"},JE:{name:"Jersey",native:"Jersey",phone:"44",continent:"EU",capital:"Saint Helier",currency:"GBP",languages:["en","fr"],emoji:"\ud83c\uddef\ud83c\uddea",emojiU:"U+1F1EF U+1F1EA"},JM:{name:"Jamaica",native:"Jamaica",phone:"1876",continent:"NA",capital:"Kingston",currency:"JMD",languages:["en"],emoji:"\ud83c\uddef\ud83c\uddf2",emojiU:"U+1F1EF U+1F1F2"},JO:{name:"Jordan",native:"\u0627\u0644\u0623\u0631\u062f\u0646",phone:"962",continent:"AS",capital:"Amman",currency:"JOD",languages:["ar"],emoji:"\ud83c\uddef\ud83c\uddf4",emojiU:"U+1F1EF U+1F1F4"},JP:{name:"Japan",native:"\u65e5\u672c",phone:"81",continent:"AS",capital:"Tokyo",currency:"JPY",languages:["ja"],emoji:"\ud83c\uddef\ud83c\uddf5",emojiU:"U+1F1EF U+1F1F5"},KE:{name:"Kenya",native:"Kenya",phone:"254",continent:"AF",capital:"Nairobi",currency:"KES",languages:["en","sw"],emoji:"\ud83c\uddf0\ud83c\uddea",emojiU:"U+1F1F0 U+1F1EA"},KG:{name:"Kyrgyzstan",native:"\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u0442\u0430\u043d",phone:"996",continent:"AS",capital:"Bishkek",currency:"KGS",languages:["ky","ru"],emoji:"\ud83c\uddf0\ud83c\uddec",emojiU:"U+1F1F0 U+1F1EC"},KH:{name:"Cambodia",native:"K\xe2mp\u016dch\xe9a",phone:"855",continent:"AS",capital:"Phnom Penh",currency:"KHR",languages:["km"],emoji:"\ud83c\uddf0\ud83c\udded",emojiU:"U+1F1F0 U+1F1ED"},KI:{name:"Kiribati",native:"Kiribati",phone:"686",continent:"OC",capital:"South Tarawa",currency:"AUD",languages:["en"],emoji:"\ud83c\uddf0\ud83c\uddee",emojiU:"U+1F1F0 U+1F1EE"},KM:{name:"Comoros",native:"Komori",phone:"269",continent:"AF",capital:"Moroni",currency:"KMF",languages:["ar","fr"],emoji:"\ud83c\uddf0\ud83c\uddf2",emojiU:"U+1F1F0 U+1F1F2"},KN:{name:"Saint Kitts and Nevis",native:"Saint Kitts and Nevis",phone:"1869",continent:"NA",capital:"Basseterre",currency:"XCD",languages:["en"],emoji:"\ud83c\uddf0\ud83c\uddf3",emojiU:"U+1F1F0 U+1F1F3"},KP:{name:"North Korea",native:"\ubd81\ud55c",phone:"850",continent:"AS",capital:"Pyongyang",currency:"KPW",languages:["ko"],emoji:"\ud83c\uddf0\ud83c\uddf5",emojiU:"U+1F1F0 U+1F1F5"},KR:{name:"South Korea",native:"\ub300\ud55c\ubbfc\uad6d",phone:"82",continent:"AS",capital:"Seoul",currency:"KRW",languages:["ko"],emoji:"\ud83c\uddf0\ud83c\uddf7",emojiU:"U+1F1F0 U+1F1F7"},KW:{name:"Kuwait",native:"\u0627\u0644\u0643\u0648\u064a\u062a",phone:"965",continent:"AS",capital:"Kuwait City",currency:"KWD",languages:["ar"],emoji:"\ud83c\uddf0\ud83c\uddfc",emojiU:"U+1F1F0 U+1F1FC"},KY:{name:"Cayman Islands",native:"Cayman Islands",phone:"1345",continent:"NA",capital:"George Town",currency:"KYD",languages:["en"],emoji:"\ud83c\uddf0\ud83c\uddfe",emojiU:"U+1F1F0 U+1F1FE"},KZ:{name:"Kazakhstan",native:"\u049a\u0430\u0437\u0430\u049b\u0441\u0442\u0430\u043d",phone:"76,77",continent:"AS",capital:"Astana",currency:"KZT",languages:["kk","ru"],emoji:"\ud83c\uddf0\ud83c\uddff",emojiU:"U+1F1F0 U+1F1FF"},LA:{name:"Laos",native:"\u0eaa\u0e9b\u0e9b\u0ea5\u0eb2\u0ea7",phone:"856",continent:"AS",capital:"Vientiane",currency:"LAK",languages:["lo"],emoji:"\ud83c\uddf1\ud83c\udde6",emojiU:"U+1F1F1 U+1F1E6"},LB:{name:"Lebanon",native:"\u0644\u0628\u0646\u0627\u0646",phone:"961",continent:"AS",capital:"Beirut",currency:"LBP",languages:["ar","fr"],emoji:"\ud83c\uddf1\ud83c\udde7",emojiU:"U+1F1F1 U+1F1E7"},LC:{name:"Saint Lucia",native:"Saint Lucia",phone:"1758",continent:"NA",capital:"Castries",currency:"XCD",languages:["en"],emoji:"\ud83c\uddf1\ud83c\udde8",emojiU:"U+1F1F1 U+1F1E8"},LI:{name:"Liechtenstein",native:"Liechtenstein",phone:"423",continent:"EU",capital:"Vaduz",currency:"CHF",languages:["de"],emoji:"\ud83c\uddf1\ud83c\uddee",emojiU:"U+1F1F1 U+1F1EE"},LK:{name:"Sri Lanka",native:"\u015br\u012b la\u1e43k\u0101va",phone:"94",continent:"AS",capital:"Colombo",currency:"LKR",languages:["si","ta"],emoji:"\ud83c\uddf1\ud83c\uddf0",emojiU:"U+1F1F1 U+1F1F0"},LR:{name:"Liberia",native:"Liberia",phone:"231",continent:"AF",capital:"Monrovia",currency:"LRD",languages:["en"],emoji:"\ud83c\uddf1\ud83c\uddf7",emojiU:"U+1F1F1 U+1F1F7"},LS:{name:"Lesotho",native:"Lesotho",phone:"266",continent:"AF",capital:"Maseru",currency:"LSL,ZAR",languages:["en","st"],emoji:"\ud83c\uddf1\ud83c\uddf8",emojiU:"U+1F1F1 U+1F1F8"},LT:{name:"Lithuania",native:"Lietuva",phone:"370",continent:"EU",capital:"Vilnius",currency:"EUR",languages:["lt"],emoji:"\ud83c\uddf1\ud83c\uddf9",emojiU:"U+1F1F1 U+1F1F9"},LU:{name:"Luxembourg",native:"Luxembourg",phone:"352",continent:"EU",capital:"Luxembourg",currency:"EUR",languages:["fr","de","lb"],emoji:"\ud83c\uddf1\ud83c\uddfa",emojiU:"U+1F1F1 U+1F1FA"},LV:{name:"Latvia",native:"Latvija",phone:"371",continent:"EU",capital:"Riga",currency:"EUR",languages:["lv"],emoji:"\ud83c\uddf1\ud83c\uddfb",emojiU:"U+1F1F1 U+1F1FB"},LY:{name:"Libya",native:"\u200f\u0644\u064a\u0628\u064a\u0627",phone:"218",continent:"AF",capital:"Tripoli",currency:"LYD",languages:["ar"],emoji:"\ud83c\uddf1\ud83c\uddfe",emojiU:"U+1F1F1 U+1F1FE"},MA:{name:"Morocco",native:"\u0627\u0644\u0645\u063a\u0631\u0628",phone:"212",continent:"AF",capital:"Rabat",currency:"MAD",languages:["ar"],emoji:"\ud83c\uddf2\ud83c\udde6",emojiU:"U+1F1F2 U+1F1E6"},MC:{name:"Monaco",native:"Monaco",phone:"377",continent:"EU",capital:"Monaco",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddf2\ud83c\udde8",emojiU:"U+1F1F2 U+1F1E8"},MD:{name:"Moldova",native:"Moldova",phone:"373",continent:"EU",capital:"Chi\u0219in\u0103u",currency:"MDL",languages:["ro"],emoji:"\ud83c\uddf2\ud83c\udde9",emojiU:"U+1F1F2 U+1F1E9"},ME:{name:"Montenegro",native:"\u0426\u0440\u043d\u0430 \u0413\u043e\u0440\u0430",phone:"382",continent:"EU",capital:"Podgorica",currency:"EUR",languages:["sr","bs","sq","hr"],emoji:"\ud83c\uddf2\ud83c\uddea",emojiU:"U+1F1F2 U+1F1EA"},MF:{name:"Saint Martin",native:"Saint-Martin",phone:"590",continent:"NA",capital:"Marigot",currency:"EUR",languages:["en","fr","nl"],emoji:"\ud83c\uddf2\ud83c\uddeb",emojiU:"U+1F1F2 U+1F1EB"},MG:{name:"Madagascar",native:"Madagasikara",phone:"261",continent:"AF",capital:"Antananarivo",currency:"MGA",languages:["fr","mg"],emoji:"\ud83c\uddf2\ud83c\uddec",emojiU:"U+1F1F2 U+1F1EC"},MH:{name:"Marshall Islands",native:"M\u0327aje\u013c",phone:"692",continent:"OC",capital:"Majuro",currency:"USD",languages:["en","mh"],emoji:"\ud83c\uddf2\ud83c\udded",emojiU:"U+1F1F2 U+1F1ED"},MK:{name:"North Macedonia",native:"\u0421\u0435\u0432\u0435\u0440\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430",phone:"389",continent:"EU",capital:"Skopje",currency:"MKD",languages:["mk"],emoji:"\ud83c\uddf2\ud83c\uddf0",emojiU:"U+1F1F2 U+1F1F0"},ML:{name:"Mali",native:"Mali",phone:"223",continent:"AF",capital:"Bamako",currency:"XOF",languages:["fr"],emoji:"\ud83c\uddf2\ud83c\uddf1",emojiU:"U+1F1F2 U+1F1F1"},MM:{name:"Myanmar [Burma]",native:"\u1019\u103c\u1014\u103a\u1019\u102c",phone:"95",continent:"AS",capital:"Naypyidaw",currency:"MMK",languages:["my"],emoji:"\ud83c\uddf2\ud83c\uddf2",emojiU:"U+1F1F2 U+1F1F2"},MN:{name:"Mongolia",native:"\u041c\u043e\u043d\u0433\u043e\u043b \u0443\u043b\u0441",phone:"976",continent:"AS",capital:"Ulan Bator",currency:"MNT",languages:["mn"],emoji:"\ud83c\uddf2\ud83c\uddf3",emojiU:"U+1F1F2 U+1F1F3"},MO:{name:"Macao",native:"\u6fb3\u9580",phone:"853",continent:"AS",capital:"",currency:"MOP",languages:["zh","pt"],emoji:"\ud83c\uddf2\ud83c\uddf4",emojiU:"U+1F1F2 U+1F1F4"},MP:{name:"Northern Mariana Islands",native:"Northern Mariana Islands",phone:"1670",continent:"OC",capital:"Saipan",currency:"USD",languages:["en","ch"],emoji:"\ud83c\uddf2\ud83c\uddf5",emojiU:"U+1F1F2 U+1F1F5"},MQ:{name:"Martinique",native:"Martinique",phone:"596",continent:"NA",capital:"Fort-de-France",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddf2\ud83c\uddf6",emojiU:"U+1F1F2 U+1F1F6"},MR:{name:"Mauritania",native:"\u0645\u0648\u0631\u064a\u062a\u0627\u0646\u064a\u0627",phone:"222",continent:"AF",capital:"Nouakchott",currency:"MRU",languages:["ar"],emoji:"\ud83c\uddf2\ud83c\uddf7",emojiU:"U+1F1F2 U+1F1F7"},MS:{name:"Montserrat",native:"Montserrat",phone:"1664",continent:"NA",capital:"Plymouth",currency:"XCD",languages:["en"],emoji:"\ud83c\uddf2\ud83c\uddf8",emojiU:"U+1F1F2 U+1F1F8"},MT:{name:"Malta",native:"Malta",phone:"356",continent:"EU",capital:"Valletta",currency:"EUR",languages:["mt","en"],emoji:"\ud83c\uddf2\ud83c\uddf9",emojiU:"U+1F1F2 U+1F1F9"},MU:{name:"Mauritius",native:"Maurice",phone:"230",continent:"AF",capital:"Port Louis",currency:"MUR",languages:["en"],emoji:"\ud83c\uddf2\ud83c\uddfa",emojiU:"U+1F1F2 U+1F1FA"},MV:{name:"Maldives",native:"Maldives",phone:"960",continent:"AS",capital:"Mal\xe9",currency:"MVR",languages:["dv"],emoji:"\ud83c\uddf2\ud83c\uddfb",emojiU:"U+1F1F2 U+1F1FB"},MW:{name:"Malawi",native:"Malawi",phone:"265",continent:"AF",capital:"Lilongwe",currency:"MWK",languages:["en","ny"],emoji:"\ud83c\uddf2\ud83c\uddfc",emojiU:"U+1F1F2 U+1F1FC"},MX:{name:"Mexico",native:"M\xe9xico",phone:"52",continent:"NA",capital:"Mexico City",currency:"MXN",languages:["es"],emoji:"\ud83c\uddf2\ud83c\uddfd",emojiU:"U+1F1F2 U+1F1FD"},MY:{name:"Malaysia",native:"Malaysia",phone:"60",continent:"AS",capital:"Kuala Lumpur",currency:"MYR",languages:["ms"],emoji:"\ud83c\uddf2\ud83c\uddfe",emojiU:"U+1F1F2 U+1F1FE"},MZ:{name:"Mozambique",native:"Mo\xe7ambique",phone:"258",continent:"AF",capital:"Maputo",currency:"MZN",languages:["pt"],emoji:"\ud83c\uddf2\ud83c\uddff",emojiU:"U+1F1F2 U+1F1FF"},NA:{name:"Namibia",native:"Namibia",phone:"264",continent:"AF",capital:"Windhoek",currency:"NAD,ZAR",languages:["en","af"],emoji:"\ud83c\uddf3\ud83c\udde6",emojiU:"U+1F1F3 U+1F1E6"},NC:{name:"New Caledonia",native:"Nouvelle-Cal\xe9donie",phone:"687",continent:"OC",capital:"Noum\xe9a",currency:"XPF",languages:["fr"],emoji:"\ud83c\uddf3\ud83c\udde8",emojiU:"U+1F1F3 U+1F1E8"},NE:{name:"Niger",native:"Niger",phone:"227",continent:"AF",capital:"Niamey",currency:"XOF",languages:["fr"],emoji:"\ud83c\uddf3\ud83c\uddea",emojiU:"U+1F1F3 U+1F1EA"},NF:{name:"Norfolk Island",native:"Norfolk Island",phone:"672",continent:"OC",capital:"Kingston",currency:"AUD",languages:["en"],emoji:"\ud83c\uddf3\ud83c\uddeb",emojiU:"U+1F1F3 U+1F1EB"},NG:{name:"Nigeria",native:"Nigeria",phone:"234",continent:"AF",capital:"Abuja",currency:"NGN",languages:["en"],emoji:"\ud83c\uddf3\ud83c\uddec",emojiU:"U+1F1F3 U+1F1EC"},NI:{name:"Nicaragua",native:"Nicaragua",phone:"505",continent:"NA",capital:"Managua",currency:"NIO",languages:["es"],emoji:"\ud83c\uddf3\ud83c\uddee",emojiU:"U+1F1F3 U+1F1EE"},NL:{name:"Netherlands",native:"Nederland",phone:"31",continent:"EU",capital:"Amsterdam",currency:"EUR",languages:["nl"],emoji:"\ud83c\uddf3\ud83c\uddf1",emojiU:"U+1F1F3 U+1F1F1"},NO:{name:"Norway",native:"Norge",phone:"47",continent:"EU",capital:"Oslo",currency:"NOK",languages:["no","nb","nn"],emoji:"\ud83c\uddf3\ud83c\uddf4",emojiU:"U+1F1F3 U+1F1F4"},NP:{name:"Nepal",native:"\u0928\u092a\u0932",phone:"977",continent:"AS",capital:"Kathmandu",currency:"NPR",languages:["ne"],emoji:"\ud83c\uddf3\ud83c\uddf5",emojiU:"U+1F1F3 U+1F1F5"},NR:{name:"Nauru",native:"Nauru",phone:"674",continent:"OC",capital:"Yaren",currency:"AUD",languages:["en","na"],emoji:"\ud83c\uddf3\ud83c\uddf7",emojiU:"U+1F1F3 U+1F1F7"},NU:{name:"Niue",native:"Niu\u0113",phone:"683",continent:"OC",capital:"Alofi",currency:"NZD",languages:["en"],emoji:"\ud83c\uddf3\ud83c\uddfa",emojiU:"U+1F1F3 U+1F1FA"},NZ:{name:"New Zealand",native:"New Zealand",phone:"64",continent:"OC",capital:"Wellington",currency:"NZD",languages:["en","mi"],emoji:"\ud83c\uddf3\ud83c\uddff",emojiU:"U+1F1F3 U+1F1FF"},OM:{name:"Oman",native:"\u0639\u0645\u0627\u0646",phone:"968",continent:"AS",capital:"Muscat",currency:"OMR",languages:["ar"],emoji:"\ud83c\uddf4\ud83c\uddf2",emojiU:"U+1F1F4 U+1F1F2"},PA:{name:"Panama",native:"Panam\xe1",phone:"507",continent:"NA",capital:"Panama City",currency:"PAB,USD",languages:["es"],emoji:"\ud83c\uddf5\ud83c\udde6",emojiU:"U+1F1F5 U+1F1E6"},PE:{name:"Peru",native:"Per\xfa",phone:"51",continent:"SA",capital:"Lima",currency:"PEN",languages:["es"],emoji:"\ud83c\uddf5\ud83c\uddea",emojiU:"U+1F1F5 U+1F1EA"},PF:{name:"French Polynesia",native:"Polyn\xe9sie fran\xe7aise",phone:"689",continent:"OC",capital:"Papeet\u0113",currency:"XPF",languages:["fr"],emoji:"\ud83c\uddf5\ud83c\uddeb",emojiU:"U+1F1F5 U+1F1EB"},PG:{name:"Papua New Guinea",native:"Papua Niugini",phone:"675",continent:"OC",capital:"Port Moresby",currency:"PGK",languages:["en"],emoji:"\ud83c\uddf5\ud83c\uddec",emojiU:"U+1F1F5 U+1F1EC"},PH:{name:"Philippines",native:"Pilipinas",phone:"63",continent:"AS",capital:"Manila",currency:"PHP",languages:["en"],emoji:"\ud83c\uddf5\ud83c\udded",emojiU:"U+1F1F5 U+1F1ED"},PK:{name:"Pakistan",native:"Pakistan",phone:"92",continent:"AS",capital:"Islamabad",currency:"PKR",languages:["en","ur"],emoji:"\ud83c\uddf5\ud83c\uddf0",emojiU:"U+1F1F5 U+1F1F0"},PL:{name:"Poland",native:"Polska",phone:"48",continent:"EU",capital:"Warsaw",currency:"PLN",languages:["pl"],emoji:"\ud83c\uddf5\ud83c\uddf1",emojiU:"U+1F1F5 U+1F1F1"},PM:{name:"Saint Pierre and Miquelon",native:"Saint-Pierre-et-Miquelon",phone:"508",continent:"NA",capital:"Saint-Pierre",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddf5\ud83c\uddf2",emojiU:"U+1F1F5 U+1F1F2"},PN:{name:"Pitcairn Islands",native:"Pitcairn Islands",phone:"64",continent:"OC",capital:"Adamstown",currency:"NZD",languages:["en"],emoji:"\ud83c\uddf5\ud83c\uddf3",emojiU:"U+1F1F5 U+1F1F3"},PR:{name:"Puerto Rico",native:"Puerto Rico",phone:"1787,1939",continent:"NA",capital:"San Juan",currency:"USD",languages:["es","en"],emoji:"\ud83c\uddf5\ud83c\uddf7",emojiU:"U+1F1F5 U+1F1F7"},PS:{name:"Palestine",native:"\u0641\u0644\u0633\u0637\u064a\u0646",phone:"970",continent:"AS",capital:"Ramallah",currency:"ILS",languages:["ar"],emoji:"\ud83c\uddf5\ud83c\uddf8",emojiU:"U+1F1F5 U+1F1F8"},PT:{name:"Portugal",native:"Portugal",phone:"351",continent:"EU",capital:"Lisbon",currency:"EUR",languages:["pt"],emoji:"\ud83c\uddf5\ud83c\uddf9",emojiU:"U+1F1F5 U+1F1F9"},PW:{name:"Palau",native:"Palau",phone:"680",continent:"OC",capital:"Ngerulmud",currency:"USD",languages:["en"],emoji:"\ud83c\uddf5\ud83c\uddfc",emojiU:"U+1F1F5 U+1F1FC"},PY:{name:"Paraguay",native:"Paraguay",phone:"595",continent:"SA",capital:"Asunci\xf3n",currency:"PYG",languages:["es","gn"],emoji:"\ud83c\uddf5\ud83c\uddfe",emojiU:"U+1F1F5 U+1F1FE"},QA:{name:"Qatar",native:"\u0642\u0637\u0631",phone:"974",continent:"AS",capital:"Doha",currency:"QAR",languages:["ar"],emoji:"\ud83c\uddf6\ud83c\udde6",emojiU:"U+1F1F6 U+1F1E6"},RE:{name:"R\xe9union",native:"La R\xe9union",phone:"262",continent:"AF",capital:"Saint-Denis",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddf7\ud83c\uddea",emojiU:"U+1F1F7 U+1F1EA"},RO:{name:"Romania",native:"Rom\xe2nia",phone:"40",continent:"EU",capital:"Bucharest",currency:"RON",languages:["ro"],emoji:"\ud83c\uddf7\ud83c\uddf4",emojiU:"U+1F1F7 U+1F1F4"},RS:{name:"Serbia",native:"\u0421\u0440\u0431\u0438\u0458\u0430",phone:"381",continent:"EU",capital:"Belgrade",currency:"RSD",languages:["sr"],emoji:"\ud83c\uddf7\ud83c\uddf8",emojiU:"U+1F1F7 U+1F1F8"},RU:{name:"Russia",native:"\u0420\u043e\u0441\u0441\u0438\u044f",phone:"7",continent:"EU",capital:"Moscow",currency:"RUB",languages:["ru"],emoji:"\ud83c\uddf7\ud83c\uddfa",emojiU:"U+1F1F7 U+1F1FA"},RW:{name:"Rwanda",native:"Rwanda",phone:"250",continent:"AF",capital:"Kigali",currency:"RWF",languages:["rw","en","fr"],emoji:"\ud83c\uddf7\ud83c\uddfc",emojiU:"U+1F1F7 U+1F1FC"},SA:{name:"Saudi Arabia",native:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629",phone:"966",continent:"AS",capital:"Riyadh",currency:"SAR",languages:["ar"],emoji:"\ud83c\uddf8\ud83c\udde6",emojiU:"U+1F1F8 U+1F1E6"},SB:{name:"Solomon Islands",native:"Solomon Islands",phone:"677",continent:"OC",capital:"Honiara",currency:"SBD",languages:["en"],emoji:"\ud83c\uddf8\ud83c\udde7",emojiU:"U+1F1F8 U+1F1E7"},SC:{name:"Seychelles",native:"Seychelles",phone:"248",continent:"AF",capital:"Victoria",currency:"SCR",languages:["fr","en"],emoji:"\ud83c\uddf8\ud83c\udde8",emojiU:"U+1F1F8 U+1F1E8"},SD:{name:"Sudan",native:"\u0627\u0644\u0633\u0648\u062f\u0627\u0646",phone:"249",continent:"AF",capital:"Khartoum",currency:"SDG",languages:["ar","en"],emoji:"\ud83c\uddf8\ud83c\udde9",emojiU:"U+1F1F8 U+1F1E9"},SE:{name:"Sweden",native:"Sverige",phone:"46",continent:"EU",capital:"Stockholm",currency:"SEK",languages:["sv"],emoji:"\ud83c\uddf8\ud83c\uddea",emojiU:"U+1F1F8 U+1F1EA"},SG:{name:"Singapore",native:"Singapore",phone:"65",continent:"AS",capital:"Singapore",currency:"SGD",languages:["en","ms","ta","zh"],emoji:"\ud83c\uddf8\ud83c\uddec",emojiU:"U+1F1F8 U+1F1EC"},SH:{name:"Saint Helena",native:"Saint Helena",phone:"290",continent:"AF",capital:"Jamestown",currency:"SHP",languages:["en"],emoji:"\ud83c\uddf8\ud83c\udded",emojiU:"U+1F1F8 U+1F1ED"},SI:{name:"Slovenia",native:"Slovenija",phone:"386",continent:"EU",capital:"Ljubljana",currency:"EUR",languages:["sl"],emoji:"\ud83c\uddf8\ud83c\uddee",emojiU:"U+1F1F8 U+1F1EE"},SJ:{name:"Svalbard and Jan Mayen",native:"Svalbard og Jan Mayen",phone:"4779",continent:"EU",capital:"Longyearbyen",currency:"NOK",languages:["no"],emoji:"\ud83c\uddf8\ud83c\uddef",emojiU:"U+1F1F8 U+1F1EF"},SK:{name:"Slovakia",native:"Slovensko",phone:"421",continent:"EU",capital:"Bratislava",currency:"EUR",languages:["sk"],emoji:"\ud83c\uddf8\ud83c\uddf0",emojiU:"U+1F1F8 U+1F1F0"},SL:{name:"Sierra Leone",native:"Sierra Leone",phone:"232",continent:"AF",capital:"Freetown",currency:"SLL",languages:["en"],emoji:"\ud83c\uddf8\ud83c\uddf1",emojiU:"U+1F1F8 U+1F1F1"},SM:{name:"San Marino",native:"San Marino",phone:"378",continent:"EU",capital:"City of San Marino",currency:"EUR",languages:["it"],emoji:"\ud83c\uddf8\ud83c\uddf2",emojiU:"U+1F1F8 U+1F1F2"},SN:{name:"Senegal",native:"S\xe9n\xe9gal",phone:"221",continent:"AF",capital:"Dakar",currency:"XOF",languages:["fr"],emoji:"\ud83c\uddf8\ud83c\uddf3",emojiU:"U+1F1F8 U+1F1F3"},SO:{name:"Somalia",native:"Soomaaliya",phone:"252",continent:"AF",capital:"Mogadishu",currency:"SOS",languages:["so","ar"],emoji:"\ud83c\uddf8\ud83c\uddf4",emojiU:"U+1F1F8 U+1F1F4"},SR:{name:"Suriname",native:"Suriname",phone:"597",continent:"SA",capital:"Paramaribo",currency:"SRD",languages:["nl"],emoji:"\ud83c\uddf8\ud83c\uddf7",emojiU:"U+1F1F8 U+1F1F7"},SS:{name:"South Sudan",native:"South Sudan",phone:"211",continent:"AF",capital:"Juba",currency:"SSP",languages:["en"],emoji:"\ud83c\uddf8\ud83c\uddf8",emojiU:"U+1F1F8 U+1F1F8"},ST:{name:"S\xe3o Tom\xe9 and Pr\xedncipe",native:"S\xe3o Tom\xe9 e Pr\xedncipe",phone:"239",continent:"AF",capital:"S\xe3o Tom\xe9",currency:"STN",languages:["pt"],emoji:"\ud83c\uddf8\ud83c\uddf9",emojiU:"U+1F1F8 U+1F1F9"},SV:{name:"El Salvador",native:"El Salvador",phone:"503",continent:"NA",capital:"San Salvador",currency:"SVC,USD",languages:["es"],emoji:"\ud83c\uddf8\ud83c\uddfb",emojiU:"U+1F1F8 U+1F1FB"},SX:{name:"Sint Maarten",native:"Sint Maarten",phone:"1721",continent:"NA",capital:"Philipsburg",currency:"ANG",languages:["nl","en"],emoji:"\ud83c\uddf8\ud83c\uddfd",emojiU:"U+1F1F8 U+1F1FD"},SY:{name:"Syria",native:"\u0633\u0648\u0631\u064a\u0627",phone:"963",continent:"AS",capital:"Damascus",currency:"SYP",languages:["ar"],emoji:"\ud83c\uddf8\ud83c\uddfe",emojiU:"U+1F1F8 U+1F1FE"},SZ:{name:"Swaziland",native:"Swaziland",phone:"268",continent:"AF",capital:"Lobamba",currency:"SZL",languages:["en","ss"],emoji:"\ud83c\uddf8\ud83c\uddff",emojiU:"U+1F1F8 U+1F1FF"},TC:{name:"Turks and Caicos Islands",native:"Turks and Caicos Islands",phone:"1649",continent:"NA",capital:"Cockburn Town",currency:"USD",languages:["en"],emoji:"\ud83c\uddf9\ud83c\udde8",emojiU:"U+1F1F9 U+1F1E8"},TD:{name:"Chad",native:"Tchad",phone:"235",continent:"AF",capital:"N'Djamena",currency:"XAF",languages:["fr","ar"],emoji:"\ud83c\uddf9\ud83c\udde9",emojiU:"U+1F1F9 U+1F1E9"},TF:{name:"French Southern Territories",native:"Territoire des Terres australes et antarctiques fr",phone:"262",continent:"AN",capital:"Port-aux-Fran\xe7ais",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddf9\ud83c\uddeb",emojiU:"U+1F1F9 U+1F1EB"},TG:{name:"Togo",native:"Togo",phone:"228",continent:"AF",capital:"Lom\xe9",currency:"XOF",languages:["fr"],emoji:"\ud83c\uddf9\ud83c\uddec",emojiU:"U+1F1F9 U+1F1EC"},TH:{name:"Thailand",native:"\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22",phone:"66",continent:"AS",capital:"Bangkok",currency:"THB",languages:["th"],emoji:"\ud83c\uddf9\ud83c\udded",emojiU:"U+1F1F9 U+1F1ED"},TJ:{name:"Tajikistan",native:"\u0422\u043e\u04b7\u0438\u043a\u0438\u0441\u0442\u043e\u043d",phone:"992",continent:"AS",capital:"Dushanbe",currency:"TJS",languages:["tg","ru"],emoji:"\ud83c\uddf9\ud83c\uddef",emojiU:"U+1F1F9 U+1F1EF"},TK:{name:"Tokelau",native:"Tokelau",phone:"690",continent:"OC",capital:"Fakaofo",currency:"NZD",languages:["en"],emoji:"\ud83c\uddf9\ud83c\uddf0",emojiU:"U+1F1F9 U+1F1F0"},TL:{name:"East Timor",native:"Timor-Leste",phone:"670",continent:"OC",capital:"Dili",currency:"USD",languages:["pt"],emoji:"\ud83c\uddf9\ud83c\uddf1",emojiU:"U+1F1F9 U+1F1F1"},TM:{name:"Turkmenistan",native:"T\xfcrkmenistan",phone:"993",continent:"AS",capital:"Ashgabat",currency:"TMT",languages:["tk","ru"],emoji:"\ud83c\uddf9\ud83c\uddf2",emojiU:"U+1F1F9 U+1F1F2"},TN:{name:"Tunisia",native:"\u062a\u0648\u0646\u0633",phone:"216",continent:"AF",capital:"Tunis",currency:"TND",languages:["ar"],emoji:"\ud83c\uddf9\ud83c\uddf3",emojiU:"U+1F1F9 U+1F1F3"},TO:{name:"Tonga",native:"Tonga",phone:"676",continent:"OC",capital:"Nuku'alofa",currency:"TOP",languages:["en","to"],emoji:"\ud83c\uddf9\ud83c\uddf4",emojiU:"U+1F1F9 U+1F1F4"},TR:{name:"Turkey",native:"T\xfcrkiye",phone:"90",continent:"AS",capital:"Ankara",currency:"TRY",languages:["tr"],emoji:"\ud83c\uddf9\ud83c\uddf7",emojiU:"U+1F1F9 U+1F1F7"},TT:{name:"Trinidad and Tobago",native:"Trinidad and Tobago",phone:"1868",continent:"NA",capital:"Port of Spain",currency:"TTD",languages:["en"],emoji:"\ud83c\uddf9\ud83c\uddf9",emojiU:"U+1F1F9 U+1F1F9"},TV:{name:"Tuvalu",native:"Tuvalu",phone:"688",continent:"OC",capital:"Funafuti",currency:"AUD",languages:["en"],emoji:"\ud83c\uddf9\ud83c\uddfb",emojiU:"U+1F1F9 U+1F1FB"},TW:{name:"Taiwan",native:"\u81fa\u7063",phone:"886",continent:"AS",capital:"Taipei",currency:"TWD",languages:["zh"],emoji:"\ud83c\uddf9\ud83c\uddfc",emojiU:"U+1F1F9 U+1F1FC"},TZ:{name:"Tanzania",native:"Tanzania",phone:"255",continent:"AF",capital:"Dodoma",currency:"TZS",languages:["sw","en"],emoji:"\ud83c\uddf9\ud83c\uddff",emojiU:"U+1F1F9 U+1F1FF"},UA:{name:"Ukraine",native:"\u0423\u043a\u0440\u0430\u0457\u043d\u0430",phone:"380",continent:"EU",capital:"Kyiv",currency:"UAH",languages:["uk"],emoji:"\ud83c\uddfa\ud83c\udde6",emojiU:"U+1F1FA U+1F1E6"},UG:{name:"Uganda",native:"Uganda",phone:"256",continent:"AF",capital:"Kampala",currency:"UGX",languages:["en","sw"],emoji:"\ud83c\uddfa\ud83c\uddec",emojiU:"U+1F1FA U+1F1EC"},UM:{name:"U.S. Minor Outlying Islands",native:"United States Minor Outlying Islands",phone:"1",continent:"OC",capital:"",currency:"USD",languages:["en"],emoji:"\ud83c\uddfa\ud83c\uddf2",emojiU:"U+1F1FA U+1F1F2"},US:{name:"United States",native:"United States",phone:"1",continent:"NA",capital:"Washington D.C.",currency:"USD,USN,USS",languages:["en"],emoji:"\ud83c\uddfa\ud83c\uddf8",emojiU:"U+1F1FA U+1F1F8"},UY:{name:"Uruguay",native:"Uruguay",phone:"598",continent:"SA",capital:"Montevideo",currency:"UYI,UYU",languages:["es"],emoji:"\ud83c\uddfa\ud83c\uddfe",emojiU:"U+1F1FA U+1F1FE"},UZ:{name:"Uzbekistan",native:"O\u2018zbekiston",phone:"998",continent:"AS",capital:"Tashkent",currency:"UZS",languages:["uz","ru"],emoji:"\ud83c\uddfa\ud83c\uddff",emojiU:"U+1F1FA U+1F1FF"},VA:{name:"Vatican City",native:"Vaticano",phone:"379",continent:"EU",capital:"Vatican City",currency:"EUR",languages:["it","la"],emoji:"\ud83c\uddfb\ud83c\udde6",emojiU:"U+1F1FB U+1F1E6"},VC:{name:"Saint Vincent and the Grenadines",native:"Saint Vincent and the Grenadines",phone:"1784",continent:"NA",capital:"Kingstown",currency:"XCD",languages:["en"],emoji:"\ud83c\uddfb\ud83c\udde8",emojiU:"U+1F1FB U+1F1E8"},VE:{name:"Venezuela",native:"Venezuela",phone:"58",continent:"SA",capital:"Caracas",currency:"VES",languages:["es"],emoji:"\ud83c\uddfb\ud83c\uddea",emojiU:"U+1F1FB U+1F1EA"},VG:{name:"British Virgin Islands",native:"British Virgin Islands",phone:"1284",continent:"NA",capital:"Road Town",currency:"USD",languages:["en"],emoji:"\ud83c\uddfb\ud83c\uddec",emojiU:"U+1F1FB U+1F1EC"},VI:{name:"U.S. Virgin Islands",native:"United States Virgin Islands",phone:"1340",continent:"NA",capital:"Charlotte Amalie",currency:"USD",languages:["en"],emoji:"\ud83c\uddfb\ud83c\uddee",emojiU:"U+1F1FB U+1F1EE"},VN:{name:"Vietnam",native:"Vi\u1ec7t Nam",phone:"84",continent:"AS",capital:"Hanoi",currency:"VND",languages:["vi"],emoji:"\ud83c\uddfb\ud83c\uddf3",emojiU:"U+1F1FB U+1F1F3"},VU:{name:"Vanuatu",native:"Vanuatu",phone:"678",continent:"OC",capital:"Port Vila",currency:"VUV",languages:["bi","en","fr"],emoji:"\ud83c\uddfb\ud83c\uddfa",emojiU:"U+1F1FB U+1F1FA"},WF:{name:"Wallis and Futuna",native:"Wallis et Futuna",phone:"681",continent:"OC",capital:"Mata-Utu",currency:"XPF",languages:["fr"],emoji:"\ud83c\uddfc\ud83c\uddeb",emojiU:"U+1F1FC U+1F1EB"},WS:{name:"Samoa",native:"Samoa",phone:"685",continent:"OC",capital:"Apia",currency:"WST",languages:["sm","en"],emoji:"\ud83c\uddfc\ud83c\uddf8",emojiU:"U+1F1FC U+1F1F8"},XK:{name:"Kosovo",native:"Republika e Kosov\xebs",phone:"377,381,383,386",continent:"EU",capital:"Pristina",currency:"EUR",languages:["sq","sr"],emoji:"\ud83c\uddfd\ud83c\uddf0",emojiU:"U+1F1FD U+1F1F0"},YE:{name:"Yemen",native:"\u0627\u0644\u064a\u064e\u0645\u064e\u0646",phone:"967",continent:"AS",capital:"Sana'a",currency:"YER",languages:["ar"],emoji:"\ud83c\uddfe\ud83c\uddea",emojiU:"U+1F1FE U+1F1EA"},YT:{name:"Mayotte",native:"Mayotte",phone:"262",continent:"AF",capital:"Mamoudzou",currency:"EUR",languages:["fr"],emoji:"\ud83c\uddfe\ud83c\uddf9",emojiU:"U+1F1FE U+1F1F9"},ZA:{name:"South Africa",native:"South Africa",phone:"27",continent:"AF",capital:"Pretoria",currency:"ZAR",languages:["af","en","nr","st","ss","tn","ts","ve","xh","zu"],emoji:"\ud83c\uddff\ud83c\udde6",emojiU:"U+1F1FF U+1F1E6"},ZM:{name:"Zambia",native:"Zambia",phone:"260",continent:"AF",capital:"Lusaka",currency:"ZMW",languages:["en"],emoji:"\ud83c\uddff\ud83c\uddf2",emojiU:"U+1F1FF U+1F1F2"},ZW:{name:"Zimbabwe",native:"Zimbabwe",phone:"263",continent:"AF",capital:"Harare",currency:"USD,ZAR,BWP,GBP,AUD,CNY,INR,JPY",languages:["en","sn","nd"],emoji:"\ud83c\uddff\ud83c\uddfc",emojiU:"U+1F1FF U+1F1FC"}},t={af:{name:"Afrikaans",native:"Afrikaans"},am:{name:"Amharic",native:"\u12a0\u121b\u122d\u129b"},ar:{name:"Arabic",native:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",rtl:1},ay:{name:"Aymara",native:"Aymar"},az:{name:"Azerbaijani",native:"Az\u0259rbaycanca / \u0622\u0630\u0631\u0628\u0627\u064a\u062c\u0627\u0646"},be:{name:"Belarusian",native:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f"},bg:{name:"Bulgarian",native:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},bi:{name:"Bislama",native:"Bislama"},bn:{name:"Bengali",native:"\u09ac\u09be\u0982\u09b2\u09be"},bs:{name:"Bosnian",native:"Bosanski"},ca:{name:"Catalan",native:"Catal\xe0"},ch:{name:"Chamorro",native:"Chamoru"},cs:{name:"Czech",native:"\u010ce\u0161tina"},da:{name:"Danish",native:"Dansk"},de:{name:"German",native:"Deutsch"},dv:{name:"Divehi",native:"\u078b\u07a8\u0788\u07ac\u0780\u07a8\u0784\u07a6\u0790\u07b0",rtl:1},dz:{name:"Dzongkha",native:"\u0f47\u0f7c\u0f44\u0f0b\u0f41"},el:{name:"Greek",native:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},en:{name:"English",native:"English"},es:{name:"Spanish",native:"Espa\xf1ol"},et:{name:"Estonian",native:"Eesti"},eu:{name:"Basque",native:"Euskara"},fa:{name:"Persian",native:"\u0641\u0627\u0631\u0633\u06cc",rtl:1},ff:{name:"Peul",native:"Fulfulde"},fi:{name:"Finnish",native:"Suomi"},fj:{name:"Fijian",native:"Na Vosa Vakaviti"},fo:{name:"Faroese",native:"F\xf8royskt"},fr:{name:"French",native:"Fran\xe7ais"},ga:{name:"Irish",native:"Gaeilge"},gl:{name:"Galician",native:"Galego"},gn:{name:"Guarani",native:"Ava\xf1e'\u1ebd"},gv:{name:"Manx",native:"Gaelg"},he:{name:"Hebrew",native:"\u05e2\u05d1\u05e8\u05d9\u05ea",rtl:1},hi:{name:"Hindi",native:"\u0939\u093f\u0928\u094d\u0926\u0940"},hr:{name:"Croatian",native:"Hrvatski"},ht:{name:"Haitian",native:"Kr\xe8yol ayisyen"},hu:{name:"Hungarian",native:"Magyar"},hy:{name:"Armenian",native:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576"},id:{name:"Indonesian",native:"Bahasa Indonesia"},is:{name:"Icelandic",native:"\xcdslenska"},it:{name:"Italian",native:"Italiano"},ja:{name:"Japanese",native:"\u65e5\u672c\u8a9e"},ka:{name:"Georgian",native:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},kg:{name:"Kongo",native:"KiKongo"},kk:{name:"Kazakh",native:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430"},kl:{name:"Greenlandic",native:"Kalaallisut"},km:{name:"Cambodian",native:"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a"},ko:{name:"Korean",native:"\ud55c\uad6d\uc5b4"},ku:{name:"Kurdish",native:"Kurd\xee / \u0643\u0648\u0631\u062f\u06cc",rtl:1},ky:{name:"Kyrgyz",native:"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430"},la:{name:"Latin",native:"Latina"},lb:{name:"Luxembourgish",native:"L\xebtzebuergesch"},ln:{name:"Lingala",native:"Ling\xe1la"},lo:{name:"Laotian",native:"\u0ea5\u0eb2\u0ea7 / Pha xa lao"},lt:{name:"Lithuanian",native:"Lietuvi\u0173"},lu:{name:"Luba-Katanga",native:"Tshiluba"},lv:{name:"Latvian",native:"Latvie\u0161u"},mg:{name:"Malagasy",native:"Malagasy"},mh:{name:"Marshallese",native:"Kajin Majel / Ebon"},mi:{name:"Maori",native:"M\u0101ori"},mk:{name:"Macedonian",native:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},mn:{name:"Mongolian",native:"\u041c\u043e\u043d\u0433\u043e\u043b"},ms:{name:"Malay",native:"Bahasa Melayu"},mt:{name:"Maltese",native:"bil-Malti"},my:{name:"Burmese",native:"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c"},na:{name:"Nauruan",native:"Dorerin Naoero"},nb:{name:"Norwegian Bokm\xe5l",native:"Norsk bokm\xe5l"},nd:{name:"North Ndebele",native:"Sindebele"},ne:{name:"Nepali",native:"\u0928\u0947\u092a\u093e\u0932\u0940"},nl:{name:"Dutch",native:"Nederlands"},nn:{name:"Norwegian Nynorsk",native:"Norsk nynorsk"},no:{name:"Norwegian",native:"Norsk"},nr:{name:"South Ndebele",native:"isiNdebele"},ny:{name:"Chichewa",native:"Chi-Chewa"},oc:{name:"Occitan",native:"Occitan"},pa:{name:"Panjabi / Punjabi",native:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 / \u092a\u0902\u091c\u093e\u092c\u0940 / \u067e\u0646\u062c\u0627\u0628\u064a"},pl:{name:"Polish",native:"Polski"},ps:{name:"Pashto",native:"\u067e\u069a\u062a\u0648",rtl:1},pt:{name:"Portuguese",native:"Portugu\xeas"},qu:{name:"Quechua",native:"Runa Simi"},rn:{name:"Kirundi",native:"Kirundi"},ro:{name:"Romanian",native:"Rom\xe2n\u0103"},ru:{name:"Russian",native:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},rw:{name:"Rwandi",native:"Kinyarwandi"},sg:{name:"Sango",native:"S\xe4ng\xf6"},si:{name:"Sinhalese",native:"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd"},sk:{name:"Slovak",native:"Sloven\u010dina"},sl:{name:"Slovenian",native:"Sloven\u0161\u010dina"},sm:{name:"Samoan",native:"Gagana Samoa"},sn:{name:"Shona",native:"chiShona"},so:{name:"Somalia",native:"Soomaaliga"},sq:{name:"Albanian",native:"Shqip"},sr:{name:"Serbian",native:"\u0421\u0440\u043f\u0441\u043a\u0438"},ss:{name:"Swati",native:"SiSwati"},st:{name:"Southern Sotho",native:"Sesotho"},sv:{name:"Swedish",native:"Svenska"},sw:{name:"Swahili",native:"Kiswahili"},ta:{name:"Tamil",native:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd"},tg:{name:"Tajik",native:"\u0422\u043e\u04b7\u0438\u043a\u04e3"},th:{name:"Thai",native:"\u0e44\u0e17\u0e22 / Phasa Thai"},ti:{name:"Tigrinya",native:"\u1275\u130d\u122d\u129b"},tk:{name:"Turkmen",native:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d / \u062a\u0631\u0643\u0645\u0646"},tn:{name:"Tswana",native:"Setswana"},to:{name:"Tonga",native:"Lea Faka-Tonga"},tr:{name:"Turkish",native:"T\xfcrk\xe7e"},ts:{name:"Tsonga",native:"Xitsonga"},uk:{name:"Ukrainian",native:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},ur:{name:"Urdu",native:"\u0627\u0631\u062f\u0648",rtl:1},uz:{name:"Uzbek",native:"\u040e\u0437\u0431\u0435\u043a"},ve:{name:"Venda",native:"Tshiven\u1e13a"},vi:{name:"Vietnamese",native:"Ti\u1ebfng Vi\u1ec7t"},xh:{name:"Xhosa",native:"isiXhosa"},zh:{name:"Chinese",native:"\u4e2d\u6587"},zu:{name:"Zulu",native:"isiZulu"}},r={aa:{name:"Afar",native:"Afar"},ab:{name:"Abkhazian",native:"\u0410\u04a7\u0441\u0443\u0430"},af:{name:"Afrikaans",native:"Afrikaans"},ak:{name:"Akan",native:"Akana"},am:{name:"Amharic",native:"\u12a0\u121b\u122d\u129b"},an:{name:"Aragonese",native:"Aragon\xe9s"},ar:{name:"Arabic",native:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629",rtl:1},as:{name:"Assamese",native:"\u0985\u09b8\u09ae\u09c0\u09af\u09bc\u09be"},av:{name:"Avar",native:"\u0410\u0432\u0430\u0440"},ay:{name:"Aymara",native:"Aymar"},az:{name:"Azerbaijani",native:"Az\u0259rbaycanca / \u0622\u0630\u0631\u0628\u0627\u064a\u062c\u0627\u0646"},ba:{name:"Bashkir",native:"\u0411\u0430\u0448\u04a1\u043e\u0440\u0442"},be:{name:"Belarusian",native:"\u0411\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f"},bg:{name:"Bulgarian",native:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},bh:{name:"Bihari",native:"\u092d\u094b\u091c\u092a\u0941\u0930\u0940"},bi:{name:"Bislama",native:"Bislama"},bm:{name:"Bambara",native:"Bamanankan"},bn:{name:"Bengali",native:"\u09ac\u09be\u0982\u09b2\u09be"},bo:{name:"Tibetan",native:"\u0f56\u0f7c\u0f51\u0f0b\u0f61\u0f72\u0f42 / Bod skad"},br:{name:"Breton",native:"Brezhoneg"},bs:{name:"Bosnian",native:"Bosanski"},ca:{name:"Catalan",native:"Catal\xe0"},ce:{name:"Chechen",native:"\u041d\u043e\u0445\u0447\u0438\u0439\u043d"},ch:{name:"Chamorro",native:"Chamoru"},co:{name:"Corsican",native:"Corsu"},cr:{name:"Cree",native:"Nehiyaw"},cs:{name:"Czech",native:"\u010ce\u0161tina"},cu:{name:"Old Church Slavonic / Old Bulgarian",native:"\u0441\u043b\u043e\u0432\u0463\u043d\u044c\u0441\u043a\u044a / slov\u011bn\u012dsk\u016d"},cv:{name:"Chuvash",native:"\u0427\u0103\u0432\u0430\u0448"},cy:{name:"Welsh",native:"Cymraeg"},da:{name:"Danish",native:"Dansk"},de:{name:"German",native:"Deutsch"},dv:{name:"Divehi",native:"\u078b\u07a8\u0788\u07ac\u0780\u07a8\u0784\u07a6\u0790\u07b0",rtl:1},dz:{name:"Dzongkha",native:"\u0f47\u0f7c\u0f44\u0f0b\u0f41"},ee:{name:"Ewe",native:"\u0190\u028b\u025b"},el:{name:"Greek",native:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},en:{name:"English",native:"English"},eo:{name:"Esperanto",native:"Esperanto"},es:{name:"Spanish",native:"Espa\xf1ol"},et:{name:"Estonian",native:"Eesti"},eu:{name:"Basque",native:"Euskara"},fa:{name:"Persian",native:"\u0641\u0627\u0631\u0633\u06cc",rtl:1},ff:{name:"Peul",native:"Fulfulde"},fi:{name:"Finnish",native:"Suomi"},fj:{name:"Fijian",native:"Na Vosa Vakaviti"},fo:{name:"Faroese",native:"F\xf8royskt"},fr:{name:"French",native:"Fran\xe7ais"},fy:{name:"West Frisian",native:"Frysk"},ga:{name:"Irish",native:"Gaeilge"},gd:{name:"Scottish Gaelic",native:"G\xe0idhlig"},gl:{name:"Galician",native:"Galego"},gn:{name:"Guarani",native:"Ava\xf1e'\u1ebd"},gu:{name:"Gujarati",native:"\u0a97\u0ac1\u0a9c\u0ab0\u0abe\u0aa4\u0ac0"},gv:{name:"Manx",native:"Gaelg"},ha:{name:"Hausa",native:"\u0647\u064e\u0648\u064f\u0633\u064e",rtl:1},he:{name:"Hebrew",native:"\u05e2\u05d1\u05e8\u05d9\u05ea",rtl:1},hi:{name:"Hindi",native:"\u0939\u093f\u0928\u094d\u0926\u0940"},ho:{name:"Hiri Motu",native:"Hiri Motu"},hr:{name:"Croatian",native:"Hrvatski"},ht:{name:"Haitian",native:"Kr\xe8yol ayisyen"},hu:{name:"Hungarian",native:"Magyar"},hy:{name:"Armenian",native:"\u0540\u0561\u0575\u0565\u0580\u0565\u0576"},hz:{name:"Herero",native:"Otsiherero"},ia:{name:"Interlingua",native:"Interlingua"},id:{name:"Indonesian",native:"Bahasa Indonesia"},ie:{name:"Interlingue",native:"Interlingue"},ig:{name:"Igbo",native:"Igbo"},ii:{name:"Sichuan Yi",native:"\ua187\ua259 / \u56db\u5ddd\u5f5d\u8bed"},ik:{name:"Inupiak",native:"I\xf1upiak"},io:{name:"Ido",native:"Ido"},is:{name:"Icelandic",native:"\xcdslenska"},it:{name:"Italian",native:"Italiano"},iu:{name:"Inuktitut",native:"\u1403\u14c4\u1483\u144e\u1450\u1466"},ja:{name:"Japanese",native:"\u65e5\u672c\u8a9e"},jv:{name:"Javanese",native:"Basa Jawa"},ka:{name:"Georgian",native:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},kg:{name:"Kongo",native:"KiKongo"},ki:{name:"Kikuyu",native:"G\u0129k\u0169y\u0169"},kj:{name:"Kuanyama",native:"Kuanyama"},kk:{name:"Kazakh",native:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430"},kl:{name:"Greenlandic",native:"Kalaallisut"},km:{name:"Cambodian",native:"\u1797\u17b6\u179f\u17b6\u1781\u17d2\u1798\u17c2\u179a"},kn:{name:"Kannada",native:"\u0c95\u0ca8\u0ccd\u0ca8\u0ca1"},ko:{name:"Korean",native:"\ud55c\uad6d\uc5b4"},kr:{name:"Kanuri",native:"Kanuri"},ks:{name:"Kashmiri",native:"\u0915\u0936\u094d\u092e\u0940\u0930\u0940 / \u0643\u0634\u0645\u064a\u0631\u064a",rtl:1},ku:{name:"Kurdish",native:"Kurd\xee / \u0643\u0648\u0631\u062f\u06cc",rtl:1},kv:{name:"Komi",native:"\u041a\u043e\u043c\u0438"},kw:{name:"Cornish",native:"Kernewek"},ky:{name:"Kyrgyz",native:"\u041a\u044b\u0440\u0433\u044b\u0437\u0447\u0430"},la:{name:"Latin",native:"Latina"},lb:{name:"Luxembourgish",native:"L\xebtzebuergesch"},lg:{name:"Ganda",native:"Luganda"},li:{name:"Limburgian",native:"Limburgs"},ln:{name:"Lingala",native:"Ling\xe1la"},lo:{name:"Laotian",native:"\u0ea5\u0eb2\u0ea7 / Pha xa lao"},lt:{name:"Lithuanian",native:"Lietuvi\u0173"},lu:{name:"Luba-Katanga",native:"Tshiluba"},lv:{name:"Latvian",native:"Latvie\u0161u"},mg:{name:"Malagasy",native:"Malagasy"},mh:{name:"Marshallese",native:"Kajin Majel / Ebon"},mi:{name:"Maori",native:"M\u0101ori"},mk:{name:"Macedonian",native:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},ml:{name:"Malayalam",native:"\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02"},mn:{name:"Mongolian",native:"\u041c\u043e\u043d\u0433\u043e\u043b"},mo:{name:"Moldovan",native:"Moldoveneasc\u0103"},mr:{name:"Marathi",native:"\u092e\u0930\u093e\u0920\u0940"},ms:{name:"Malay",native:"Bahasa Melayu"},mt:{name:"Maltese",native:"bil-Malti"},my:{name:"Burmese",native:"\u1019\u103c\u1014\u103a\u1019\u102c\u1005\u102c"},na:{name:"Nauruan",native:"Dorerin Naoero"},nb:{name:"Norwegian Bokm\xe5l",native:"Norsk bokm\xe5l"},nd:{name:"North Ndebele",native:"Sindebele"},ne:{name:"Nepali",native:"\u0928\u0947\u092a\u093e\u0932\u0940"},ng:{name:"Ndonga",native:"Oshiwambo"},nl:{name:"Dutch",native:"Nederlands"},nn:{name:"Norwegian Nynorsk",native:"Norsk nynorsk"},no:{name:"Norwegian",native:"Norsk"},nr:{name:"South Ndebele",native:"isiNdebele"},nv:{name:"Navajo",native:"Din\xe9 bizaad"},ny:{name:"Chichewa",native:"Chi-Chewa"},oc:{name:"Occitan",native:"Occitan"},oj:{name:"Ojibwa",native:"\u140a\u14c2\u1511\u14c8\u142f\u14a7\u140e\u14d0 / Anishinaabemowin"},om:{name:"Oromo",native:"Oromoo"},or:{name:"Oriya",native:"\u0b13\u0b21\u0b3c\u0b3f\u0b06"},os:{name:"Ossetian / Ossetic",native:"\u0418\u0440\u043e\u043d\u0430\u0443"},pa:{name:"Panjabi / Punjabi",native:"\u0a2a\u0a70\u0a1c\u0a3e\u0a2c\u0a40 / \u092a\u0902\u091c\u093e\u092c\u0940 / \u067e\u0646\u062c\u0627\u0628\u064a"},pi:{name:"Pali",native:"P\u0101li / \u092a\u093e\u0934\u093f"},pl:{name:"Polish",native:"Polski"},ps:{name:"Pashto",native:"\u067e\u069a\u062a\u0648",rtl:1},pt:{name:"Portuguese",native:"Portugu\xeas"},qu:{name:"Quechua",native:"Runa Simi"},rm:{name:"Raeto Romance",native:"Rumantsch"},rn:{name:"Kirundi",native:"Kirundi"},ro:{name:"Romanian",native:"Rom\xe2n\u0103"},ru:{name:"Russian",native:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},rw:{name:"Rwandi",native:"Kinyarwandi"},sa:{name:"Sanskrit",native:"\u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d"},sc:{name:"Sardinian",native:"Sardu"},sd:{name:"Sindhi",native:"\u0938\u093f\u0928\u0927\u093f"},se:{name:"Northern Sami",native:"S\xe1megiella"},sg:{name:"Sango",native:"S\xe4ng\xf6"},sh:{name:"Serbo-Croatian",native:"Srpskohrvatski / \u0421\u0440\u043f\u0441\u043a\u043e\u0445\u0440\u0432\u0430\u0442\u0441\u043a\u0438"},si:{name:"Sinhalese",native:"\u0dc3\u0dd2\u0d82\u0dc4\u0dbd"},sk:{name:"Slovak",native:"Sloven\u010dina"},sl:{name:"Slovenian",native:"Sloven\u0161\u010dina"},sm:{name:"Samoan",native:"Gagana Samoa"},sn:{name:"Shona",native:"chiShona"},so:{name:"Somalia",native:"Soomaaliga"},sq:{name:"Albanian",native:"Shqip"},sr:{name:"Serbian",native:"\u0421\u0440\u043f\u0441\u043a\u0438"},ss:{name:"Swati",native:"SiSwati"},st:{name:"Southern Sotho",native:"Sesotho"},su:{name:"Sundanese",native:"Basa Sunda"},sv:{name:"Swedish",native:"Svenska"},sw:{name:"Swahili",native:"Kiswahili"},ta:{name:"Tamil",native:"\u0ba4\u0bae\u0bbf\u0bb4\u0bcd"},te:{name:"Telugu",native:"\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41"},tg:{name:"Tajik",native:"\u0422\u043e\u04b7\u0438\u043a\u04e3"},th:{name:"Thai",native:"\u0e44\u0e17\u0e22 / Phasa Thai"},ti:{name:"Tigrinya",native:"\u1275\u130d\u122d\u129b"},tk:{name:"Turkmen",native:"\u0422\u0443\u0440\u043a\u043c\u0435\u043d / \u062a\u0631\u0643\u0645\u0646"},tl:{name:"Tagalog / Filipino",native:"Tagalog"},tn:{name:"Tswana",native:"Setswana"},to:{name:"Tonga",native:"Lea Faka-Tonga"},tr:{name:"Turkish",native:"T\xfcrk\xe7e"},ts:{name:"Tsonga",native:"Xitsonga"},tt:{name:"Tatar",native:"Tatar\xe7a"},tw:{name:"Twi",native:"Twi"},ty:{name:"Tahitian",native:"Reo M\u0101`ohi"},ug:{name:"Uyghur",native:"Uy\u01a3urq\u0259 / \u0626\u06c7\u064a\u063a\u06c7\u0631\u0686\u06d5"},uk:{name:"Ukrainian",native:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},ur:{name:"Urdu",native:"\u0627\u0631\u062f\u0648",rtl:1},uz:{name:"Uzbek",native:"\u040e\u0437\u0431\u0435\u043a"},ve:{name:"Venda",native:"Tshiven\u1e13a"},vi:{name:"Vietnamese",native:"Ti\u1ebfng Vi\u1ec7t"},vo:{name:"Volap\xfck",native:"Volap\xfck"},wa:{name:"Walloon",native:"Walon"},wo:{name:"Wolof",native:"Wollof"},xh:{name:"Xhosa",native:"isiXhosa"},yi:{name:"Yiddish",native:"\u05d9\u05d9\u05b4\u05d3\u05d9\u05e9",rtl:1},yo:{name:"Yoruba",native:"Yor\xf9b\xe1"},za:{name:"Zhuang",native:"Cuengh / T\xf4\xf4 / \u58ee\u8bed"},zh:{name:"Chinese",native:"\u4e2d\u6587"},zu:{name:"Zulu",native:"isiZulu"}};function a(e){for(var n=[],t=0,o=e.length;t<o;){var r=e.charCodeAt(t++);if(r>=55296&&r<=56319&&t<o){var a=e.charCodeAt(t++);56320==(64512&a)?n.push(((1023&r)<<10)+(1023&a)+65536):(n.push(r),t--)}else n.push(r)}return n}Math.floor,String.fromCharCode;var i={decode:a,encode:function(e){return String.fromCodePoint.apply(String,o(e))}},s=i.decode,c=i.encode,u=127462-"A".charCodeAt(0),l=/^[A-Z]{2}$/;return{continents:e,countries:n,languages:t,languagesAll:r,getEmojiFlag:function(e){return l.test(e)?c(e.split("").map((function(e){return u+e.charCodeAt(0)}))):""},getUnicode:function(e){return s(e).map((function(e){return"U+"+Number(e).toString(16).toUpperCase()})).join(" ")}}}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;o=e},get useDeprecatedSynchronousErrorHandling(){return o}}},function(e,n,t){"use strict";(function(e){t.d(n,"a",(function(){return a}));var o="undefined"!==typeof window&&window,r="undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,a=o||"undefined"!==typeof e&&e||r}).call(this,t(102))},,function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),(0,t(1).__exportStar)(t(580),n)},function(e,n,t){"use strict";function o(){return"function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}t.d(n,"a",(function(){return r}));var r=o()},function(e,n,t){"use strict";var o="Invariant failed";n.a=function(e,n){if(!e)throw new Error(o)}},,function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(){function e(){this.listeners=[]}var n=e.prototype;return n.subscribe=function(e){var n=this,t=e||function(){};return this.listeners.push(t),this.onSubscribe(),function(){n.listeners=n.listeners.filter((function(e){return e!==t})),n.onUnsubscribe()}},n.hasListeners=function(){return this.listeners.length>0},n.onSubscribe=function(){},n.onUnsubscribe=function(){},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));for(var o={},r={},a=0;a<256;a++){var i=a.toString(16).toLowerCase();1===i.length&&(i="0"+i),o[a]=i,r[i]=a}function s(e){for(var n="",t=0;t<e.byteLength;t++)n+=o[e[t]];return n}},function(e,n,t){"use strict";var o;t.d(n,"a",(function(){return o})),function(e){e[e.Default=0]="Default",e[e.Adfs=1]="Adfs",e[e.Dsts=2]="Dsts"}(o||(o={}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(0);function r(e,n,t){var r=Object(o.useRef)(n);r.current=n,Object(o.useEffect)((function(){function n(e){r.current.call(window,e)}return window.addEventListener(e,n,t),function(){return window.removeEventListener(e,n,t)}}),[e,t])}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s})),t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return u}));var o=t(1),r=t(41),a=t(38),i=t(173),s=function(e){function n(n){var t=e.call(this)||this;return t.parent=n,t}return o.__extends(n,e),n.prototype._next=function(e){this.parent.notifyNext(e)},n.prototype._error=function(e){this.parent.notifyError(e),this.unsubscribe()},n.prototype._complete=function(){this.parent.notifyComplete(),this.unsubscribe()},n}(r.a),c=(r.a,function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(n,e),n.prototype.notifyNext=function(e){this.destination.next(e)},n.prototype.notifyError=function(e){this.destination.error(e)},n.prototype.notifyComplete=function(){this.destination.complete()},n}(r.a));r.a;function u(e,n){if(!n.closed){if(e instanceof a.a)return e.subscribe(n);var t;try{t=Object(i.a)(e)(n)}catch(o){n.error(o)}return t}}},function(e,n,t){"use strict";function o(){return(o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function r(e){return"/"===e.charAt(0)}function a(e,n){for(var t=n,o=t+1,r=e.length;o<r;t+=1,o+=1)e[t]=e[o];e.pop()}t.d(n,"a",(function(){return _})),t.d(n,"b",(function(){return T})),t.d(n,"d",(function(){return M})),t.d(n,"c",(function(){return f})),t.d(n,"f",(function(){return g})),t.d(n,"e",(function(){return h}));var i=function(e,n){void 0===n&&(n="");var t,o=e&&e.split("/")||[],i=n&&n.split("/")||[],s=e&&r(e),c=n&&r(n),u=s||c;if(e&&r(e)?i=o:o.length&&(i.pop(),i=i.concat(o)),!i.length)return"/";if(i.length){var l=i[i.length-1];t="."===l||".."===l||""===l}else t=!1;for(var d=0,p=i.length;p>=0;p--){var m=i[p];"."===m?a(i,p):".."===m?(a(i,p),d++):d&&(a(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&r(i[0])||i.unshift("");var h=i.join("/");return t&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var c=function e(n,t){if(n===t)return!0;if(null==n||null==t)return!1;if(Array.isArray(n))return Array.isArray(t)&&n.length===t.length&&n.every((function(n,o){return e(n,t[o])}));if("object"===typeof n||"object"===typeof t){var o=s(n),r=s(t);return o!==n||r!==t?e(o,r):Object.keys(Object.assign({},n,t)).every((function(o){return e(n[o],t[o])}))}return!1},u=t(65);function l(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,n){return function(e,n){return 0===e.toLowerCase().indexOf(n.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(n.length))}(e,n)?e.substr(n.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var n=e.pathname,t=e.search,o=e.hash,r=n||"/";return t&&"?"!==t&&(r+="?"===t.charAt(0)?t:"?"+t),o&&"#"!==o&&(r+="#"===o.charAt(0)?o:"#"+o),r}function f(e,n,t,r){var a;"string"===typeof e?(a=function(e){var n=e||"/",t="",o="",r=n.indexOf("#");-1!==r&&(o=n.substr(r),n=n.substr(0,r));var a=n.indexOf("?");return-1!==a&&(t=n.substr(a),n=n.substr(0,a)),{pathname:n,search:"?"===t?"":t,hash:"#"===o?"":o}}(e)).state=n:(void 0===(a=o({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==n&&void 0===a.state&&(a.state=n));try{a.pathname=decodeURI(a.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return t&&(a.key=t),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=i(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a}function g(e,n){return e.pathname===n.pathname&&e.search===n.search&&e.hash===n.hash&&e.key===n.key&&c(e.state,n.state)}function v(){var e=null;var n=[];return{setPrompt:function(n){return e=n,function(){e===n&&(e=null)}},confirmTransitionTo:function(n,t,o,r){if(null!=e){var a="function"===typeof e?e(n,t):e;"string"===typeof a?"function"===typeof o?o(a,r):r(!0):r(!1!==a)}else r(!0)},appendListener:function(e){var t=!0;function o(){t&&e.apply(void 0,arguments)}return n.push(o),function(){t=!1,n=n.filter((function(e){return e!==o}))}},notifyListeners:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n.forEach((function(e){return e.apply(void 0,t)}))}}}var y=!("undefined"===typeof window||!window.document||!window.document.createElement);function b(e,n){n(window.confirm(e))}var C="popstate",w="hashchange";function S(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),y||Object(u.a)(!1);var n=window.history,t=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history}(),r=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,i=a.forceRefresh,s=void 0!==i&&i,c=a.getUserConfirmation,d=void 0===c?b:c,g=a.keyLength,_=void 0===g?6:g,E=e.basename?m(l(e.basename)):"";function x(e){var n=e||{},t=n.key,o=n.state,r=window.location,a=r.pathname+r.search+r.hash;return E&&(a=p(a,E)),f(a,o,t)}function O(){return Math.random().toString(36).substr(2,_)}var A=v();function k(e){o(B,e),B.length=n.length,A.notifyListeners(B.location,B.action)}function T(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||I(x(e.state))}function P(){I(x(S()))}var M=!1;function I(e){if(M)M=!1,k();else{A.confirmTransitionTo(e,"POP",d,(function(n){n?k({action:"POP",location:e}):function(e){var n=B.location,t=j.indexOf(n.key);-1===t&&(t=0);var o=j.indexOf(e.key);-1===o&&(o=0);var r=t-o;r&&(M=!0,L(r))}(e)}))}}var R=x(S()),j=[R.key];function N(e){return E+h(e)}function L(e){n.go(e)}var F=0;function U(e){1===(F+=e)&&1===e?(window.addEventListener(C,T),r&&window.addEventListener(w,P)):0===F&&(window.removeEventListener(C,T),r&&window.removeEventListener(w,P))}var D=!1;var B={length:n.length,action:"POP",location:R,createHref:N,push:function(e,o){var r="PUSH",a=f(e,o,O(),B.location);A.confirmTransitionTo(a,r,d,(function(e){if(e){var o=N(a),i=a.key,c=a.state;if(t)if(n.pushState({key:i,state:c},null,o),s)window.location.href=o;else{var u=j.indexOf(B.location.key),l=j.slice(0,u+1);l.push(a.key),j=l,k({action:r,location:a})}else window.location.href=o}}))},replace:function(e,o){var r="REPLACE",a=f(e,o,O(),B.location);A.confirmTransitionTo(a,r,d,(function(e){if(e){var o=N(a),i=a.key,c=a.state;if(t)if(n.replaceState({key:i,state:c},null,o),s)window.location.replace(o);else{var u=j.indexOf(B.location.key);-1!==u&&(j[u]=a.key),k({action:r,location:a})}else window.location.replace(o)}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var n=A.setPrompt(e);return D||(U(1),D=!0),function(){return D&&(D=!1,U(-1)),n()}},listen:function(e){var n=A.appendListener(e);return U(1),function(){U(-1),n()}}};return B}var E="hashchange",x={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:l},slash:{encodePath:l,decodePath:l}};function O(e){var n=e.indexOf("#");return-1===n?e:e.slice(0,n)}function A(){var e=window.location.href,n=e.indexOf("#");return-1===n?"":e.substring(n+1)}function k(e){window.location.replace(O(window.location.href)+"#"+e)}function T(e){void 0===e&&(e={}),y||Object(u.a)(!1);var n=window.history,t=(window.navigator.userAgent.indexOf("Firefox"),e),r=t.getUserConfirmation,a=void 0===r?b:r,i=t.hashType,s=void 0===i?"slash":i,c=e.basename?m(l(e.basename)):"",d=x[s],g=d.encodePath,C=d.decodePath;function w(){var e=C(A());return c&&(e=p(e,c)),f(e)}var S=v();function _(e){o(B,e),B.length=n.length,S.notifyListeners(B.location,B.action)}var T=!1,P=null;function M(){var e,n,t=A(),o=g(t);if(t!==o)k(o);else{var r=w(),i=B.location;if(!T&&(n=r,(e=i).pathname===n.pathname&&e.search===n.search&&e.hash===n.hash))return;if(P===h(r))return;P=null,function(e){if(T)T=!1,_();else{var n="POP";S.confirmTransitionTo(e,n,a,(function(t){t?_({action:n,location:e}):function(e){var n=B.location,t=N.lastIndexOf(h(n));-1===t&&(t=0);var o=N.lastIndexOf(h(e));-1===o&&(o=0);var r=t-o;r&&(T=!0,L(r))}(e)}))}}(r)}}var I=A(),R=g(I);I!==R&&k(R);var j=w(),N=[h(j)];function L(e){n.go(e)}var F=0;function U(e){1===(F+=e)&&1===e?window.addEventListener(E,M):0===F&&window.removeEventListener(E,M)}var D=!1;var B={length:n.length,action:"POP",location:j,createHref:function(e){var n=document.querySelector("base"),t="";return n&&n.getAttribute("href")&&(t=O(window.location.href)),t+"#"+g(c+h(e))},push:function(e,n){var t="PUSH",o=f(e,void 0,void 0,B.location);S.confirmTransitionTo(o,t,a,(function(e){if(e){var n=h(o),r=g(c+n);if(A()!==r){P=n,function(e){window.location.hash=e}(r);var a=N.lastIndexOf(h(B.location)),i=N.slice(0,a+1);i.push(n),N=i,_({action:t,location:o})}else _()}}))},replace:function(e,n){var t="REPLACE",o=f(e,void 0,void 0,B.location);S.confirmTransitionTo(o,t,a,(function(e){if(e){var n=h(o),r=g(c+n);A()!==r&&(P=n,k(r));var a=N.indexOf(h(B.location));-1!==a&&(N[a]=n),_({action:t,location:o})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var n=S.setPrompt(e);return D||(U(1),D=!0),function(){return D&&(D=!1,U(-1)),n()}},listen:function(e){var n=S.appendListener(e);return U(1),function(){U(-1),n()}}};return B}function P(e,n,t){return Math.min(Math.max(e,n),t)}function M(e){void 0===e&&(e={});var n=e,t=n.getUserConfirmation,r=n.initialEntries,a=void 0===r?["/"]:r,i=n.initialIndex,s=void 0===i?0:i,c=n.keyLength,u=void 0===c?6:c,l=v();function d(e){o(C,e),C.length=C.entries.length,l.notifyListeners(C.location,C.action)}function p(){return Math.random().toString(36).substr(2,u)}var m=P(s,0,a.length-1),g=a.map((function(e){return f(e,void 0,"string"===typeof e?p():e.key||p())})),y=h;function b(e){var n=P(C.index+e,0,C.entries.length-1),o=C.entries[n];l.confirmTransitionTo(o,"POP",t,(function(e){e?d({action:"POP",location:o,index:n}):d()}))}var C={length:g.length,action:"POP",location:g[m],index:m,entries:g,createHref:y,push:function(e,n){var o="PUSH",r=f(e,n,p(),C.location);l.confirmTransitionTo(r,o,t,(function(e){if(e){var n=C.index+1,t=C.entries.slice(0);t.length>n?t.splice(n,t.length-n,r):t.push(r),d({action:o,location:r,index:n,entries:t})}}))},replace:function(e,n){var o="REPLACE",r=f(e,n,p(),C.location);l.confirmTransitionTo(r,o,t,(function(e){e&&(C.entries[C.index]=r,d({action:o,location:r}))}))},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var n=C.index+e;return n>=0&&n<C.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return C}},function(e,n,t){var o=t(56);e.exports=function(e,n,t){return new o(e,t).compare(new o(n,t))}},function(e,n,t){var o=t(186),r=t(108),a=t(134),i=t(135),s=function(){"use strict";function e(n,t){var o=this;if(a(this,e),t=u(t),n instanceof e)return n.loose===!!t.loose&&n.includePrerelease===!!t.includePrerelease?n:new e(n.raw,t);if(n instanceof l)return this.raw=n.value,this.set=[[n]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=n,this.set=n.split("||").map((function(e){return o.parseRange(e.trim())})).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: ".concat(n));if(this.set.length>1){var i=this.set[0];if(this.set=this.set.filter((function(e){return!b(e[0])})),0===this.set.length)this.set=[i];else if(this.set.length>1){var s,c=r(this.set);try{for(c.s();!(s=c.n()).done;){var d=s.value;if(1===d.length&&C(d[0])){this.set=[d];break}}}catch(p){c.e(p)}finally{c.f()}}}this.format()}return i(e,[{key:"format",value:function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range}},{key:"toString",value:function(){return this.range}},{key:"parseRange",value:function(e){var n=this;e=e.trim();var t=Object.keys(this.options).join(","),a="parseRange:".concat(t,":").concat(e),i=c.get(a);if(i)return i;var s=this.options.loose,u=s?h[f.HYPHENRANGELOOSE]:h[f.HYPHENRANGE];e=e.replace(u,I(this.options.includePrerelease)),d("hyphen replace",e),e=e.replace(h[f.COMPARATORTRIM],g),d("comparator trim",e);var p=(e=(e=(e=e.replace(h[f.TILDETRIM],v)).replace(h[f.CARETTRIM],y)).split(/\s+/).join(" ")).split(" ").map((function(e){return S(e,n.options)})).join(" ").split(/\s+/).map((function(e){return M(e,n.options)}));s&&(p=p.filter((function(e){return d("loose invalid filter",e,n.options),!!e.match(h[f.COMPARATORLOOSE])}))),d("range list",p);var m,C=new Map,w=p.map((function(e){return new l(e,n.options)})),_=r(w);try{for(_.s();!(m=_.n()).done;){var E=m.value;if(b(E))return[E];C.set(E.value,E)}}catch(O){_.e(O)}finally{_.f()}C.size>1&&C.has("")&&C.delete("");var x=o(C.values());return c.set(a,x),x}},{key:"intersects",value:function(n,t){if(!(n instanceof e))throw new TypeError("a Range is required");return this.set.some((function(e){return w(e,t)&&n.set.some((function(n){return w(n,t)&&e.every((function(e){return n.every((function(n){return e.intersects(n,t)}))}))}))}))}},{key:"test",value:function(e){if(!e)return!1;if("string"===typeof e)try{e=new p(e,this.options)}catch(t){return!1}for(var n=0;n<this.set.length;n++)if(R(this.set[n],e,this.options))return!0;return!1}}]),e}();e.exports=s;var c=new(t(656))({max:1e3}),u=t(144),l=t(146),d=t(143),p=t(56),m=t(109),h=m.re,f=m.t,g=m.comparatorTrimReplace,v=m.tildeTrimReplace,y=m.caretTrimReplace,b=function(e){return"<0.0.0-0"===e.value},C=function(e){return""===e.value},w=function(e,n){for(var t=!0,o=e.slice(),r=o.pop();t&&o.length;)t=o.every((function(e){return r.intersects(e,n)})),r=o.pop();return t},S=function(e,n){return d("comp",e,n),e=O(e,n),d("caret",e),e=E(e,n),d("tildes",e),e=k(e,n),d("xrange",e),e=P(e,n),d("stars",e),e},_=function(e){return!e||"x"===e.toLowerCase()||"*"===e},E=function(e,n){return e.trim().split(/\s+/).map((function(e){return x(e,n)})).join(" ")},x=function(e,n){var t=n.loose?h[f.TILDELOOSE]:h[f.TILDE];return e.replace(t,(function(n,t,o,r,a){var i;return d("tilde",e,n,t,o,r,a),_(t)?i="":_(o)?i=">=".concat(t,".0.0 <").concat(+t+1,".0.0-0"):_(r)?i=">=".concat(t,".").concat(o,".0 <").concat(t,".").concat(+o+1,".0-0"):a?(d("replaceTilde pr",a),i=">=".concat(t,".").concat(o,".").concat(r,"-").concat(a," <").concat(t,".").concat(+o+1,".0-0")):i=">=".concat(t,".").concat(o,".").concat(r," <").concat(t,".").concat(+o+1,".0-0"),d("tilde return",i),i}))},O=function(e,n){return e.trim().split(/\s+/).map((function(e){return A(e,n)})).join(" ")},A=function(e,n){d("caret",e,n);var t=n.loose?h[f.CARETLOOSE]:h[f.CARET],o=n.includePrerelease?"-0":"";return e.replace(t,(function(n,t,r,a,i){var s;return d("caret",e,n,t,r,a,i),_(t)?s="":_(r)?s=">=".concat(t,".0.0").concat(o," <").concat(+t+1,".0.0-0"):_(a)?s="0"===t?">=".concat(t,".").concat(r,".0").concat(o," <").concat(t,".").concat(+r+1,".0-0"):">=".concat(t,".").concat(r,".0").concat(o," <").concat(+t+1,".0.0-0"):i?(d("replaceCaret pr",i),s="0"===t?"0"===r?">=".concat(t,".").concat(r,".").concat(a,"-").concat(i," <").concat(t,".").concat(r,".").concat(+a+1,"-0"):">=".concat(t,".").concat(r,".").concat(a,"-").concat(i," <").concat(t,".").concat(+r+1,".0-0"):">=".concat(t,".").concat(r,".").concat(a,"-").concat(i," <").concat(+t+1,".0.0-0")):(d("no pr"),s="0"===t?"0"===r?">=".concat(t,".").concat(r,".").concat(a).concat(o," <").concat(t,".").concat(r,".").concat(+a+1,"-0"):">=".concat(t,".").concat(r,".").concat(a).concat(o," <").concat(t,".").concat(+r+1,".0-0"):">=".concat(t,".").concat(r,".").concat(a," <").concat(+t+1,".0.0-0")),d("caret return",s),s}))},k=function(e,n){return d("replaceXRanges",e,n),e.split(/\s+/).map((function(e){return T(e,n)})).join(" ")},T=function(e,n){e=e.trim();var t=n.loose?h[f.XRANGELOOSE]:h[f.XRANGE];return e.replace(t,(function(t,o,r,a,i,s){d("xRange",e,t,o,r,a,i,s);var c=_(r),u=c||_(a),l=u||_(i),p=l;return"="===o&&p&&(o=""),s=n.includePrerelease?"-0":"",c?t=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(a=0),i=0,">"===o?(o=">=",u?(r=+r+1,a=0,i=0):(a=+a+1,i=0)):"<="===o&&(o="<",u?r=+r+1:a=+a+1),"<"===o&&(s="-0"),t="".concat(o+r,".").concat(a,".").concat(i).concat(s)):u?t=">=".concat(r,".0.0").concat(s," <").concat(+r+1,".0.0-0"):l&&(t=">=".concat(r,".").concat(a,".0").concat(s," <").concat(r,".").concat(+a+1,".0-0")),d("xRange return",t),t}))},P=function(e,n){return d("replaceStars",e,n),e.trim().replace(h[f.STAR],"")},M=function(e,n){return d("replaceGTE0",e,n),e.trim().replace(h[n.includePrerelease?f.GTE0PRE:f.GTE0],"")},I=function(e){return function(n,t,o,r,a,i,s,c,u,l,d,p,m){return t=_(o)?"":_(r)?">=".concat(o,".0.0").concat(e?"-0":""):_(a)?">=".concat(o,".").concat(r,".0").concat(e?"-0":""):i?">=".concat(t):">=".concat(t).concat(e?"-0":""),c=_(u)?"":_(l)?"<".concat(+u+1,".0.0-0"):_(d)?"<".concat(u,".").concat(+l+1,".0-0"):p?"<=".concat(u,".").concat(l,".").concat(d,"-").concat(p):e?"<".concat(u,".").concat(l,".").concat(+d+1,"-0"):"<=".concat(c),"".concat(t," ").concat(c).trim()}},R=function(e,n,t){for(var o=0;o<e.length;o++)if(!e[o].test(n))return!1;if(n.prerelease.length&&!t.includePrerelease){for(var r=0;r<e.length;r++)if(d(e[r].semver),e[r].semver!==l.ANY&&e[r].semver.prerelease.length>0){var a=e[r].semver;if(a.major===n.major&&a.minor===n.minor&&a.patch===n.patch)return!0}return!1}return!0}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(113);function r(e,n){var t;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=Object(o.a)(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==t.return||t.return()}finally{if(c)throw i}}}}},function(e,n,t){"use strict";function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(e){return(r="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)}t.d(n,"a",(function(){return s}));var a=t(162);function i(e,n){return!n||"object"!==r(n)&&"function"!==typeof n?Object(a.a)(e):n}function s(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,r=o(e);if(n){var a=o(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return i(this,t)}}},function(e,n,t){"use strict";function o(e,n){return(o=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function r(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&o(e,n)}t.d(n,"a",(function(){return r}))},,function(e,n){e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(58),r=t(67),a=t(19),i=new(function(e){function n(){return e.apply(this,arguments)||this}Object(o.a)(n,e);var t=n.prototype;return t.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},t.setEventListener=function(e){var n=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=e((function(e){"boolean"===typeof e?n.setFocused(e):n.onFocus()}))},t.setFocused=function(e){this.focused=e,e&&this.onFocus()},t.onFocus=function(){this.listeners.forEach((function(e){e()}))},t.isFocused=function(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t.setDefaultEventListener=function(){var e;!a.e&&(null==(e=window)?void 0:e.addEventListener)&&this.setEventListener((function(e){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}))},n}(r.a))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}()},function(e,n,t){"use strict";(function(e){t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return r})),t.d(n,"c",(function(){return a})),t.d(n,"d",(function(){return i}));var o=function(e){if(e.isResolved)return e;var n=!0,t=!1,o=!1,r=e.then((function(e){return o=!0,n=!1,e}),(function(e){throw t=!0,n=!1,e}));return r.isFullfilled=function(){return o},r.isPending=function(){return n},r.isRejected=function(){return t},r},r=function(){return{isBrowser:"undefined"!==typeof window&&"undefined"!==typeof window.document,isNode:"undefined"!==typeof e&&null!=e.versions&&null!=e.versions.node}},a=function e(n,t,o){if(void 0===t&&(t=[]),void 0===o&&(o=[]),!s(n))return n;var r={};for(var a in n){if(n.hasOwnProperty(a))r[t.includes(a)?a:a[0].toLowerCase()+a.slice(1)]=o.includes(a)?n[a]:e(n[a],t,o)}return r},i=function e(n,t,o){if(void 0===t&&(t=[]),void 0===o&&(o=[]),!s(n))return n;var r={};for(var a in n){if(n.hasOwnProperty(a))r[t.includes(a)?a:a[0].toUpperCase()+a.slice(1)]=o.includes(a)?n[a]:e(n[a],t,o)}return r},s=function(e){return e instanceof Object&&!(e instanceof Array)&&!(e instanceof Function)&&!(e instanceof Number)&&!(e instanceof String)&&!(e instanceof Boolean)}}).call(this,t(183))},function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"a",(function(){return v})),t.d(n,"c",(function(){return C}));var o=t(1),r={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},a=function(e){return{applyToStack:function(n){n.add(function(e){return function(n,t){return function(r){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var a;return Object(o.__generator)(this,(function(i){return(null===(a=null===e||void 0===e?void 0:e.retryStrategy)||void 0===a?void 0:a.mode)&&(t.userAgent=Object(o.__spread)(t.userAgent||[],[["cfg/retry-mode",e.retryStrategy.mode]])),[2,e.retryStrategy.retry(n,r)]}))}))}}}(e),r)}}},i=t(16),s="amz-sdk-invocation-id",c="amz-sdk-request",u=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],l=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],d=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"],p=[500,502,503,504],m=function(e){var n,t;return 429===(null===(n=e.$metadata)||void 0===n?void 0:n.httpStatusCode)||l.includes(e.name)||1==(null===(t=e.$retryable)||void 0===t?void 0:t.throttling)},h=t(85),f=function(e,n){return Math.floor(Math.min(2e4,Math.random()*Math.pow(2,n)*e))},g=function(e){return!!e&&(function(e){return void 0!==e.$retryable}(e)||function(e){return u.includes(e.name)}(e)||m(e)||function(e){var n;return d.includes(e.name)||p.includes((null===(n=e.$metadata)||void 0===n?void 0:n.httpStatusCode)||0)}(e))},v=3,y="standard",b=function(){function e(e,n){var t,o,r;this.maxAttemptsProvider=e,this.mode=y,this.retryDecider=null!==(t=null===n||void 0===n?void 0:n.retryDecider)&&void 0!==t?t:g,this.delayDecider=null!==(o=null===n||void 0===n?void 0:n.delayDecider)&&void 0!==o?o:f,this.retryQuota=null!==(r=null===n||void 0===n?void 0:n.retryQuota)&&void 0!==r?r:function(e){var n=e,t=e,o=function(e){return"TimeoutError"===e.name?10:5},r=function(e){return o(e)<=t};return Object.freeze({hasRetryTokens:r,retrieveRetryTokens:function(e){if(!r(e))throw new Error("No retry token available");var n=o(e);return t-=n,n},releaseRetryTokens:function(e){t+=null!==e&&void 0!==e?e:1,t=Math.min(t,n)}})}(500)}return e.prototype.shouldRetry=function(e,n,t){return n<t&&this.retryDecider(e)&&this.retryQuota.hasRetryTokens(e)},e.prototype.getMaxAttempts=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e;return Object(o.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.maxAttemptsProvider()];case 1:return e=n.sent(),[3,3];case 2:return n.sent(),e=v,[3,3];case 3:return[2,e]}}))}))},e.prototype.retry=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var t,r,a,u,l,d,p,f;return Object(o.__generator)(this,(function(g){switch(g.label){case 0:return r=0,a=0,[4,this.getMaxAttempts()];case 1:u=g.sent(),l=n.request,i.a.isInstance(l)&&(l.headers[s]=Object(h.v4)()),d=function(){var s,d,h,f,g;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,5]),i.a.isInstance(l)&&(l.headers[c]="attempt="+(r+1)+"; max="+u),[4,e(n)];case 1:return s=o.sent(),d=s.response,h=s.output,p.retryQuota.releaseRetryTokens(t),h.$metadata.attempts=r+1,h.$metadata.totalRetryDelay=a,[2,{value:{response:d,output:h}}];case 2:return f=o.sent(),r++,p.shouldRetry(f,r,u)?(t=p.retryQuota.retrieveRetryTokens(f),g=p.delayDecider(m(f)?500:100,r),a+=g,[4,new Promise((function(e){return setTimeout(e,g)}))]):[3,4];case 3:return o.sent(),[2,"continue"];case 4:throw f.$metadata||(f.$metadata={}),f.$metadata.attempts=r,f.$metadata.totalRetryDelay=a,f;case 5:return[2]}}))},p=this,g.label=2;case 2:return[5,d()];case 3:return"object"===typeof(f=g.sent())?[2,f.value]:[3,2];case 4:return[2]}}))}))},e}(),C=function(e){var n=w(e.maxAttempts);return Object(o.__assign)(Object(o.__assign)({},e),{maxAttempts:n,retryStrategy:e.retryStrategy||new b(n)})},w=function(e){if(void 0===e&&(e=v),"number"===typeof e){var n=Promise.resolve(e);return function(){return n}}return e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return p})),t.d(n,"b",(function(){return d}));var o=t(17),r=t(0),a=t.n(r),i=t(26),s=t(39),c=t(44),u=Object(r.createContext)(null);function l(){var e=Object(r.useContext)(u);if(null===e){var n=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(n,l),n}return e}function d(){var e=Object(r.useState)([]),n=e[0],t=e[1];return[n.length>0?n.join(" "):void 0,Object(r.useMemo)((function(){return function(e){var n=Object(r.useCallback)((function(e){return t((function(n){return[].concat(n,[e])})),function(){return t((function(n){var t=n.slice(),o=t.indexOf(e);return-1!==o&&t.splice(o,1),t}))}}),[]),o=Object(r.useMemo)((function(){return{register:n,slot:e.slot,name:e.name,props:e.props}}),[n,e.slot,e.name,e.props]);return a.a.createElement(u.Provider,{value:o},e.children)}}),[t])]}function p(e){var n=l(),t="headlessui-description-"+Object(c.a)();Object(s.a)((function(){return n.register(t)}),[t,n.register]);var r=e,a=Object(o.b)({},n.props,{id:t});return Object(i.d)({props:Object(o.b)({},r,a),slot:n.slot||{},defaultTag:"p",name:n.name||"Description"})}},function(e,n,t){var o=t(578),r=t(579),a=r;a.v1=o,a.v4=r,e.exports=a},function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"a",(function(){return u}));var o=t(0),r=t.n(o),a=r.a.createContext(void 0),i=r.a.createContext(!1);function s(e){return e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=a),window.ReactQueryClientContext):a}var c=function(){var e=r.a.useContext(s(r.a.useContext(i)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},u=function(e){var n=e.client,t=e.contextSharing,o=void 0!==t&&t,a=e.children;r.a.useEffect((function(){return n.mount(),function(){n.unmount()}}),[n]);var c=s(o);return r.a.createElement(i.Provider,{value:o},r.a.createElement(c.Provider,{value:n},a))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return i}));var o=t(19),r=console||{error:o.i,warn:o.i,log:o.i};function a(){return r}function i(e){r=e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return d})),t.d(n,"c",(function(){return u})),t.d(n,"d",(function(){return s}));var o=t(198),r=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+r(),REPLACE:"@@redux/REPLACE"+r(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+r()}};function i(e){if("object"!==typeof e||null===e)return!1;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}function s(e,n,t){var r;if("function"===typeof n&&"function"===typeof t||"function"===typeof t&&"function"===typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"===typeof n&&"undefined"===typeof t&&(t=n,n=void 0),"undefined"!==typeof t){if("function"!==typeof t)throw new Error("Expected the enhancer to be a function.");return t(s)(e,n)}if("function"!==typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=n,l=[],d=l,p=!1;function m(){d===l&&(d=l.slice())}function h(){if(p)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return u}function f(e){if("function"!==typeof e)throw new Error("Expected the listener to be a function.");if(p)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var n=!0;return m(),d.push(e),function(){if(n){if(p)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");n=!1,m();var t=d.indexOf(e);d.splice(t,1),l=null}}}function g(e){if(!i(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"===typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(p)throw new Error("Reducers may not dispatch actions.");try{p=!0,u=c(u,e)}finally{p=!1}for(var n=l=d,t=0;t<n.length;t++){(0,n[t])()}return e}function v(e){if("function"!==typeof e)throw new Error("Expected the nextReducer to be a function.");c=e,g({type:a.REPLACE})}function y(){var e,n=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function t(){e.next&&e.next(h())}return t(),{unsubscribe:n(t)}}})[o.a]=function(){return this},e}return g({type:a.INIT}),(r={dispatch:g,subscribe:f,getState:h,replaceReducer:v})[o.a]=y,r}function c(e,n){var t=n&&n.type;return"Given "+(t&&'action "'+String(t)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function u(e){for(var n=Object.keys(e),t={},o=0;o<n.length;o++){var r=n[o];0,"function"===typeof e[r]&&(t[r]=e[r])}var i,s=Object.keys(t);try{!function(e){Object.keys(e).forEach((function(n){var t=e[n];if("undefined"===typeof t(void 0,{type:a.INIT}))throw new Error('Reducer "'+n+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if("undefined"===typeof t(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+n+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(t)}catch(u){i=u}return function(e,n){if(void 0===e&&(e={}),i)throw i;for(var o=!1,r={},a=0;a<s.length;a++){var u=s[a],l=t[u],d=e[u],p=l(d,n);if("undefined"===typeof p){var m=c(u,n);throw new Error(m)}r[u]=p,o=o||p!==d}return(o=o||s.length!==Object.keys(e).length)?r:e}}function l(e,n){return function(){return n(e.apply(this,arguments))}}function d(e,n){if("function"===typeof e)return l(e,n);if("object"!==typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var t={};for(var o in e){var r=e[o];"function"===typeof r&&(t[o]=l(r,n))}return t}function p(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function m(e,n){var t=Object.keys(e);return Object.getOwnPropertySymbols&&t.push.apply(t,Object.getOwnPropertySymbols(e)),n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t}function h(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?m(t,!0).forEach((function(n){p(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):m(t).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function f(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return 0===n.length?function(e){return e}:1===n.length?n[0]:n.reduce((function(e,n){return function(){return e(n.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){return function(){var t=e.apply(void 0,arguments),o=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},r={getState:t.getState,dispatch:function(){return o.apply(void 0,arguments)}},a=n.map((function(e){return e(r)}));return h({},t,{dispatch:o=f.apply(void 0,a)(t.dispatch)})}}}},function(e,n,t){"use strict";function o(e){for(var n,t,o=e.parentElement,r=null;o&&!(o instanceof HTMLFieldSetElement);)o instanceof HTMLLegendElement&&(r=o),o=o.parentElement;var a=null!=(n=""===(null==(t=o)?void 0:t.getAttribute("disabled")))&&n;return(!a||!function(e){if(!e)return!1;var n=e.previousElementSibling;for(;null!==n;){if(n instanceof HTMLLegendElement)return!1;n=n.previousElementSibling}return!0}(r))&&a}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";function o(e){setTimeout((function(){throw e}),0)}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return u})),t.d(n,"b",(function(){return c}));var o=t(11),r=t(2),a=t(29),i=["interaction_required","consent_required","login_required"],s=["message_only","additional_action","basic_action","user_password_expired","consent_required"],c={noTokensFoundError:{code:"no_tokens_found",desc:"No refresh token found in the cache. Please sign-in."},native_account_unavailable:{code:"native_account_unavailable",desc:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API."}},u=function(e){function n(t,o,a,i,s,c,u){var l=e.call(this,t,o,a)||this;return Object.setPrototypeOf(l,n.prototype),l.timestamp=i||r.n.EMPTY_STRING,l.traceId=s||r.n.EMPTY_STRING,l.correlationId=c||r.n.EMPTY_STRING,l.claims=u||r.n.EMPTY_STRING,l.name="InteractionRequiredAuthError",l}return Object(o.c)(n,e),n.isInteractionRequiredError=function(e,n,t){var o=!!e&&i.indexOf(e)>-1,r=!!t&&s.indexOf(t)>-1,a=!!n&&i.some((function(e){return n.indexOf(e)>-1}));return o||a||r},n.createNoTokensFoundError=function(){return new n(c.noTokensFoundError.code,c.noTokensFoundError.desc)},n.createNativeAccountUnavailableError=function(){return new n(c.native_account_unavailable.code,c.native_account_unavailable.desc)},n}(a.a)},function(e,n,t){var o=t(564);e.exports=function(e,n){if(null==e)return{};var t,r,a=o(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";var o=t(148),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return o.isMemo(e)?i:s[e.$$typeof]||r}s[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[o.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(n,t,o){if("string"!==typeof t){if(h){var r=m(t);r&&r!==h&&e(n,r,o)}var i=l(t);d&&(i=i.concat(d(t)));for(var s=c(n),f=c(t),g=0;g<i.length;++g){var v=i[g];if(!a[v]&&(!o||!o[v])&&(!f||!f[v])&&(!s||!s[v])){var y=p(t,v);try{u(n,v,y)}catch(b){}}}}return n}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(0),r={serverHandoffComplete:!1};function a(){var e=Object(o.useState)(r.serverHandoffComplete),n=e[0],t=e[1];return Object(o.useEffect)((function(){!0!==n&&t(!0)}),[n]),Object(o.useEffect)((function(){!1===r.serverHandoffComplete&&(r.serverHandoffComplete=!0)}),[]),n}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(58),r=t(67),a=t(19),i=new(function(e){function n(){return e.apply(this,arguments)||this}Object(o.a)(n,e);var t=n.prototype;return t.onSubscribe=function(){this.removeEventListener||this.setDefaultEventListener()},t.setEventListener=function(e){var n=this;this.removeEventListener&&this.removeEventListener(),this.removeEventListener=e((function(e){"boolean"===typeof e?n.setOnline(e):n.onOnline()}))},t.setOnline=function(e){this.online=e,e&&this.onOnline()},t.onOnline=function(){this.listeners.forEach((function(e){e()}))},t.isOnline=function(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine},t.setDefaultEventListener=function(){var e;!a.e&&(null==(e=window)?void 0:e.addEventListener)&&this.setEventListener((function(e){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}))},n}(r.a))},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(0),r=t(39);function a(e){var n;if(e.type)return e.type;var t=null!=(n=e.as)?n:"button";return"string"===typeof t&&"button"===t.toLowerCase()?"button":void 0}function i(e,n){var t=Object(o.useState)((function(){return a(e)})),i=t[0],s=t[1];return Object(r.a)((function(){s(a(e))}),[e.type,e.as]),Object(r.a)((function(){i||n.current&&n.current instanceof HTMLButtonElement&&!n.current.hasAttribute("type")&&s("button")}),[i,n]),i}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(1),r={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},a={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function i(e,n,t){return{applyToStack:function(i){i.add(function(e,n){return function(t,r){return function(r){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var a,i;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return[4,t(r)];case 1:return a=o.sent().response,[4,n(a,e)];case 2:return i=o.sent(),[2,{response:a,output:i}]}}))}))}}}(e,t),r),i.add(function(e,n){return function(t,r){return function(r){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var a;return Object(o.__generator)(this,(function(i){switch(i.label){case 0:return[4,n(r.input,e)];case 1:return a=i.sent(),[2,t(Object(o.__assign)(Object(o.__assign)({},r),{request:a}))]}}))}))}}}(e,n),a)}}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l})),t.d(n,"b",(function(){return d}));for(var o={},r=new Array(64),a=0,i="A".charCodeAt(0),s="Z".charCodeAt(0);a+i<=s;a++){var c=String.fromCharCode(a+i);o[c]=a,r[a]=c}for(a=0,i="a".charCodeAt(0),s="z".charCodeAt(0);a+i<=s;a++){c=String.fromCharCode(a+i);var u=a+26;o[c]=u,r[u]=c}for(a=0;a<10;a++){o[a.toString(10)]=a+52;c=a.toString(10),u=a+52;o[c]=u,r[u]=c}o["+"]=62,r[62]="+",o["/"]=63,r[63]="/";function l(e){var n=e.length/4*3;"=="===e.substr(-2)?n-=2:"="===e.substr(-1)&&n--;for(var t=new ArrayBuffer(n),r=new DataView(t),a=0;a<e.length;a+=4){for(var i=0,s=0,c=a,u=a+3;c<=u;c++)"="!==e[c]?(i|=o[e[c]]<<6*(u-c),s+=6):i>>=6;var l=a/4*3;i>>=s%8;for(var d=Math.floor(s/8),p=0;p<d;p++){var m=8*(d-p-1);r.setUint8(l+p,(i&255<<m)>>m)}}return new Uint8Array(t)}function d(e){for(var n="",t=0;t<e.length;t+=3){for(var o=0,a=0,i=t,s=Math.min(t+3,e.length);i<s;i++)o|=e[i]<<8*(s-i-1),a+=8;var c=Math.ceil(a/6);o<<=6*c-a;for(var u=1;u<=c;u++){var l=6*(c-u);n+=r[(o&63<<l)>>l]}n+="==".slice(0,4-c)}return n}},function(e,n,t){"use strict";t.d(n,"a",(function(){return I})),t.d(n,"b",(function(){return k})),t.d(n,"c",(function(){return R})),t.d(n,"d",(function(){return T}));t(5),t(10);var o=t(47),r=t(48),a=t(162),i=t(77),s=t(76),c=t(8),u=t(3),l=t(21),d=t(0),p=t.n(d),m=t(45),h={initialize:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},acquireTokenPopup:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},acquireTokenRedirect:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},acquireTokenSilent:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},acquireTokenByCode:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},getAllAccounts:function(){return[]},getAccountByHomeId:function(){return null},getAccountByUsername:function(){return null},getAccountByLocalId:function(){return null},handleRedirectPromise:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},loginPopup:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},loginRedirect:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},logout:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},logoutRedirect:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},logoutPopup:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},ssoSilent:function(){return Promise.reject(m.a.createStubPcaInstanceCalledError())},addEventCallback:function(){return null},removeEventCallback:function(){},addPerformanceCallback:function(){return""},removePerformanceCallback:function(){return!1},enableAccountStorageEvents:function(){},disableAccountStorageEvents:function(){},getTokenCache:function(){throw m.a.createStubPcaInstanceCalledError()},getLogger:function(){throw m.a.createStubPcaInstanceCalledError()},setLogger:function(){},setActiveAccount:function(){},getActiveAccount:function(){return null},initializeWrapperLibrary:function(){},setNavigationClient:function(){},getConfiguration:function(){throw m.a.createStubPcaInstanceCalledError()}},f=t(7),g=t(163),v=t(24),y=function(){function e(){}return e.getInteractionStatusFromEvent=function(e,n){switch(e.eventType){case v.a.LOGIN_START:return f.k.Login;case v.a.SSO_SILENT_START:return f.k.SsoSilent;case v.a.ACQUIRE_TOKEN_START:if(e.interactionType===f.l.Redirect||e.interactionType===f.l.Popup)return f.k.AcquireToken;break;case v.a.HANDLE_REDIRECT_START:return f.k.HandleRedirect;case v.a.LOGOUT_START:return f.k.Logout;case v.a.SSO_SILENT_SUCCESS:case v.a.SSO_SILENT_FAILURE:if(n&&n!==f.k.SsoSilent)break;return f.k.None;case v.a.LOGOUT_END:if(n&&n!==f.k.Logout)break;return f.k.None;case v.a.HANDLE_REDIRECT_END:if(n&&n!==f.k.HandleRedirect)break;return f.k.None;case v.a.LOGIN_SUCCESS:case v.a.LOGIN_FAILURE:case v.a.ACQUIRE_TOKEN_SUCCESS:case v.a.ACQUIRE_TOKEN_FAILURE:if(e.interactionType===f.l.Redirect||e.interactionType===f.l.Popup){if(n&&n!==f.k.Login&&n!==f.k.AcquireToken)break;return f.k.None}}return null},e}(),b=(t(100),t(29)),C=(t(2),t(91),{instance:h,inProgress:f.k.None,accounts:[],logger:new g.b({})}),w=Object(d.createContext)(C);w.Consumer;function S(e,n){return"function"===typeof e?e(n):e}function _(e,n){if(e.length!==n.length)return!1;var t=Object(l.a)(n);return e.every((function(e){var n=t.shift();return!(!e||!n)&&(e.homeAccountId===n.homeAccountId&&e.localAccountId===n.localAccountId&&e.username===n.username)}))}function E(e,n){return e.length>0&&(n.homeAccountId||n.localAccountId||n.username)&&e.filter((function(e){return(!n.username||n.username.toLowerCase()===e.username.toLowerCase())&&((!n.homeAccountId||n.homeAccountId.toLowerCase()===e.homeAccountId.toLowerCase())&&(!n.localAccountId||n.localAccountId.toLowerCase()===e.localAccountId.toLowerCase()))}))[0]||null}var x,O="1.5.3";!function(e){e.UNBLOCK_INPROGRESS="UNBLOCK_INPROGRESS",e.EVENT="EVENT"}(x||(x={}));var A=function(e,n){var t=n.type,o=n.payload,r=e.inProgress;switch(t){case x.UNBLOCK_INPROGRESS:e.inProgress===f.k.Startup&&(r=f.k.None,o.logger.info("MsalProvider - handleRedirectPromise resolved, setting inProgress to 'none'"));break;case x.EVENT:var a=o.message,i=y.getInteractionStatusFromEvent(a,e.inProgress);i&&(o.logger.info("MsalProvider - ".concat(a.eventType," results in setting inProgress from ").concat(e.inProgress," to ").concat(i)),r=i);break;default:throw new Error("Unknown action type: ".concat(t))}var s=o.instance.getAllAccounts();return r===e.inProgress||_(s,e.accounts)?r!==e.inProgress?Object(u.a)(Object(u.a)({},e),{},{inProgress:r}):_(s,e.accounts)?e:Object(u.a)(Object(u.a)({},e),{},{accounts:s}):Object(u.a)(Object(u.a)({},e),{},{inProgress:r,accounts:s})};function k(e){var n=e.instance,t=e.children;Object(d.useEffect)((function(){n.initializeWrapperLibrary(f.q.React,O)}),[n]);var o=Object(d.useMemo)((function(){return n.getLogger().clone("@azure/msal-react",O)}),[n]),r=Object(d.useReducer)(A,void 0,(function(){return{inProgress:f.k.Startup,accounts:n.getAllAccounts()}})),a=Object(c.a)(r,2),i=a[0],s=a[1];Object(d.useEffect)((function(){var e=n.addEventCallback((function(e){s({payload:{instance:n,logger:o,message:e},type:x.EVENT})}));return o.verbose("MsalProvider - Registered event callback with id: ".concat(e)),n.initialize().then((function(){n.handleRedirectPromise().catch((function(){})).finally((function(){s({payload:{instance:n,logger:o},type:x.UNBLOCK_INPROGRESS})}))})),function(){e&&(o.verbose("MsalProvider - Removing event callback ".concat(e)),n.removeEventCallback(e))}}),[n,o]);var u={instance:n,inProgress:i.inProgress,accounts:i.accounts,logger:o};return p.a.createElement(w.Provider,{value:u},t)}var T=function(){return Object(d.useContext)(w)};function P(e,n){return n&&(n.username||n.homeAccountId||n.localAccountId)?!!E(e,n):e.length>0}function M(e){var n=T(),t=n.accounts,o=n.inProgress,r=Object(d.useState)((function(){return o!==f.k.Startup&&P(t,e)})),a=Object(c.a)(r,2),i=a[0],s=a[1];return Object(d.useEffect)((function(){s(P(t,e))}),[t,e]),i}function I(e){var n=e.username,t=e.homeAccountId,o=e.localAccountId,r=e.children,a=T();return M(Object(d.useMemo)((function(){return{username:n,homeAccountId:t,localAccountId:o}}),[n,t,o]))&&a.inProgress!==f.k.Startup?p.a.createElement(p.a.Fragment,null,S(r,a)):null}function R(e){var n=e.username,t=e.homeAccountId,o=e.localAccountId,r=e.children,a=T();return M(Object(d.useMemo)((function(){return{username:n,homeAccountId:t,localAccountId:o}}),[n,t,o]))||a.inProgress===f.k.Startup||a.inProgress===f.k.HandleRedirect?null:p.a.createElement(p.a.Fragment,null,S(r,a))}var j={code:"invalid_interaction_type",desc:"The provided interaction type is invalid."},N={code:"unable_to_fallback_to_interaction",desc:"Interaction is required but another interaction is already in progress. Please try again when the current interaction is complete."};b.a},function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var o=t(2),r=t(57),a=t(22),i=t(20),s=t(69),c=function(){function e(){}return e.prototype.generateAccountId=function(){return[this.homeAccountId,this.environment].join(o.E.CACHE_KEY_SEPARATOR).toLowerCase()},e.prototype.generateAccountKey=function(){return e.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},e.prototype.generateType=function(){switch(this.authorityType){case o.h.ADFS_ACCOUNT_TYPE:return o.k.ADFS;case o.h.MSAV1_ACCOUNT_TYPE:return o.k.MSA;case o.h.MSSTS_ACCOUNT_TYPE:return o.k.MSSTS;case o.h.GENERIC_ACCOUNT_TYPE:return o.k.GENERIC;default:throw i.a.createUnexpectedAccountTypeError()}},e.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims,nativeAccountId:this.nativeAccountId}},e.generateAccountCacheKey=function(e){return[e.homeAccountId,e.environment||o.n.EMPTY_STRING,e.tenantId||o.n.EMPTY_STRING].join(o.E.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAccount=function(n,t,r,a,s,c,u,l){var d,p,m,h,f,g,v=new e;v.authorityType=o.h.MSSTS_ACCOUNT_TYPE,v.clientInfo=n,v.homeAccountId=t,v.nativeAccountId=l;var y=u||a&&a.getPreferredCache();if(!y)throw i.a.createInvalidCacheEnvironmentError();if(v.environment=y,v.realm=(null===(d=null===r||void 0===r?void 0:r.claims)||void 0===d?void 0:d.tid)||o.n.EMPTY_STRING,r){v.idTokenClaims=r.claims,v.localAccountId=(null===(p=null===r||void 0===r?void 0:r.claims)||void 0===p?void 0:p.oid)||(null===(m=null===r||void 0===r?void 0:r.claims)||void 0===m?void 0:m.sub)||o.n.EMPTY_STRING;var b=null===(h=null===r||void 0===r?void 0:r.claims)||void 0===h?void 0:h.preferred_username,C=(null===(f=null===r||void 0===r?void 0:r.claims)||void 0===f?void 0:f.emails)?r.claims.emails[0]:null;v.username=b||C||o.n.EMPTY_STRING,v.name=null===(g=null===r||void 0===r?void 0:r.claims)||void 0===g?void 0:g.name}return v.cloudGraphHostName=s,v.msGraphHost=c,v},e.createGenericAccount=function(n,t,r,a,c,u){var l,d,p,m,h=new e;h.authorityType=r&&r.authorityType===s.a.Adfs?o.h.ADFS_ACCOUNT_TYPE:o.h.GENERIC_ACCOUNT_TYPE,h.homeAccountId=n,h.realm=o.n.EMPTY_STRING;var f=u||r&&r.getPreferredCache();if(!f)throw i.a.createInvalidCacheEnvironmentError();return t&&(h.localAccountId=(null===(l=null===t||void 0===t?void 0:t.claims)||void 0===l?void 0:l.oid)||(null===(d=null===t||void 0===t?void 0:t.claims)||void 0===d?void 0:d.sub)||o.n.EMPTY_STRING,h.username=(null===(p=null===t||void 0===t?void 0:t.claims)||void 0===p?void 0:p.upn)||o.n.EMPTY_STRING,h.name=(null===(m=null===t||void 0===t?void 0:t.claims)||void 0===m?void 0:m.name)||o.n.EMPTY_STRING,h.idTokenClaims=null===t||void 0===t?void 0:t.claims),h.environment=f,h.cloudGraphHostName=a,h.msGraphHost=c,h},e.generateHomeAccountId=function(e,n,t,i,c){var u,l=(null===(u=null===c||void 0===c?void 0:c.claims)||void 0===u?void 0:u.sub)?c.claims.sub:o.n.EMPTY_STRING;if(n===s.a.Adfs||n===s.a.Dsts)return l;if(e)try{var d=Object(r.a)(e,i);if(!a.a.isEmpty(d.uid)&&!a.a.isEmpty(d.utid))return""+d.uid+o.E.CLIENT_INFO_SEPARATOR+d.utid}catch(p){}return t.verbose("No client info in response"),l},e.isAccountEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType"))},e.accountInfoIsEqual=function(e,n,t){if(!e||!n)return!1;var o=!0;if(t){var r=e.idTokenClaims||{},a=n.idTokenClaims||{};o=r.iat===a.iat&&r.nonce===a.nonce}return e.homeAccountId===n.homeAccountId&&e.localAccountId===n.localAccountId&&e.username===n.username&&e.tenantId===n.tenantId&&e.environment===n.environment&&e.nativeAccountId===n.nativeAccountId&&o},e}()},,function(e,n){var t;t=function(){return this}();try{t=t||new Function("return this")()}catch(o){"object"===typeof window&&(t=window)}e.exports=t},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(){return"function"===typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},function(e,n){function t(n){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return s})),t.d(n,"b",(function(){return c}));var o=t(54);function r(){return{onFetch:function(e){e.fetchFn=function(){var n,t,r,s,c,u,l,d=null==(n=e.fetchOptions)||null==(t=n.meta)?void 0:t.refetchPage,p=null==(r=e.fetchOptions)||null==(s=r.meta)?void 0:s.fetchMore,m=null==p?void 0:p.pageParam,h="forward"===(null==p?void 0:p.direction),f="backward"===(null==p?void 0:p.direction),g=(null==(c=e.state.data)?void 0:c.pages)||[],v=(null==(u=e.state.data)?void 0:u.pageParams)||[],y=v,b=!1,C=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},w=function(e,n,t,o){return y=o?[n].concat(y):[].concat(y,[n]),o?[t].concat(e):[].concat(e,[t])},S=function(n,t,r,a){if(b)return Promise.reject("Cancelled");if("undefined"===typeof r&&!t&&n.length)return Promise.resolve(n);var i={queryKey:e.queryKey,pageParam:r,meta:e.meta},s=C(i),c=Promise.resolve(s).then((function(e){return w(n,r,e,a)}));Object(o.b)(s)&&(c.cancel=s.cancel);return c};if(g.length)if(h){var _="undefined"!==typeof m,E=_?m:a(e.options,g);l=S(g,_,E)}else if(f){var x="undefined"!==typeof m,O=x?m:i(e.options,g);l=S(g,x,O,!0)}else!function(){y=[];var n="undefined"===typeof e.options.getNextPageParam,t=!d||!g[0]||d(g[0],0,g);l=t?S([],n,v[0]):Promise.resolve(w([],v[0],g[0]));for(var o=function(t){l=l.then((function(o){if(!d||!g[t]||d(g[t],t,g)){var r=n?v[t]:a(e.options,o);return S(o,n,r)}return Promise.resolve(w(o,v[t],g[t]))}))},r=1;r<g.length;r++)o(r)}();else l=S([]);var A=l.then((function(e){return{pages:e,pageParams:y}}));return A.cancel=function(){b=!0,Object(o.b)(l)&&l.cancel()},A}}}}function a(e,n){return null==e.getNextPageParam?void 0:e.getNextPageParam(n[n.length-1],n)}function i(e,n){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(n[0],n)}function s(e,n){if(e.getNextPageParam&&Array.isArray(n)){var t=a(e,n);return"undefined"!==typeof t&&null!==t&&!1!==t}}function c(e,n){if(e.getPreviousPageParam&&Array.isArray(n)){var t=i(e,n);return"undefined"!==typeof t&&null!==t&&!1!==t}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return p})),t.d(n,"b",(function(){return d}));var o=t(17),r=t(0),a=t.n(r),i=t(26),s=t(39),c=t(44),u=Object(r.createContext)(null);function l(){var e=Object(r.useContext)(u);if(null===e){var n=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(n,l),n}return e}function d(){var e=Object(r.useState)([]),n=e[0],t=e[1];return[n.length>0?n.join(" "):void 0,Object(r.useMemo)((function(){return function(e){var n=Object(r.useCallback)((function(e){return t((function(n){return[].concat(n,[e])})),function(){return t((function(n){var t=n.slice(),o=t.indexOf(e);return-1!==o&&t.splice(o,1),t}))}}),[]),o=Object(r.useMemo)((function(){return{register:n,slot:e.slot,name:e.name,props:e.props}}),[n,e.slot,e.name,e.props]);return a.a.createElement(u.Provider,{value:o},e.children)}}),[t])]}function p(e){var n=e.passive,t=void 0!==n&&n,r=Object(o.c)(e,["passive"]),a=l(),u="headlessui-label-"+Object(c.a)();Object(s.a)((function(){return a.register(u)}),[u,a.register]);var d=Object(o.b)({},a.props,{id:u}),p=Object(o.b)({},r,d);return t&&delete p.onClick,Object(i.d)({props:p,slot:a.slot||{},defaultTag:"label",name:a.name||"Label"})}},function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var o=t(38),r=new o.a((function(e){return e.complete()}));function a(e){return e?function(e){return new o.a((function(n){return e.schedule((function(){return n.complete()}))}))}(e):r}var i,s=t(527);function c(e){var n=e.error;e.subscriber.error(n)}i||(i={});var u=function(){function e(e,n,t){this.kind=e,this.value=n,this.error=t,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,n,t){switch(this.kind){case"N":return e&&e(this.value);case"E":return n&&n(this.error);case"C":return t&&t()}},e.prototype.accept=function(e,n,t){return e&&"function"===typeof e.next?this.observe(e):this.do(e,n,t)},e.prototype.toObservable=function(){var e,n;switch(this.kind){case"N":return Object(s.a)(this.value);case"E":return e=this.error,n?new o.a((function(t){return n.schedule(c,0,{error:e,subscriber:t})})):new o.a((function(n){return n.error(e)}));case"C":return a()}throw new Error("unexpected notification kind value")},e.createNext=function(n){return"undefined"!==typeof n?new e("N",n):e.undefinedValueNotification},e.createError=function(n){return new e("E",void 0,n)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},function(e,n,t){var o=t(185);e.exports=function(e,n){var t;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=o(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==t.return||t.return()}finally{if(c)throw i}}}}},function(e,n,t){var o=t(142).MAX_SAFE_COMPONENT_LENGTH,r=t(143),a=(n=e.exports={}).re=[],i=n.src=[],s=n.t={},c=0,u=function(e,n,t){var o=c++;r(e,o,n),s[e]=o,i[o]=n,a[o]=new RegExp(n,t?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION","(".concat(i[s.NUMERICIDENTIFIER],")\\.")+"(".concat(i[s.NUMERICIDENTIFIER],")\\.")+"(".concat(i[s.NUMERICIDENTIFIER],")")),u("MAINVERSIONLOOSE","(".concat(i[s.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[s.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(i[s.NUMERICIDENTIFIERLOOSE],")")),u("PRERELEASEIDENTIFIER","(?:".concat(i[s.NUMERICIDENTIFIER],"|").concat(i[s.NONNUMERICIDENTIFIER],")")),u("PRERELEASEIDENTIFIERLOOSE","(?:".concat(i[s.NUMERICIDENTIFIERLOOSE],"|").concat(i[s.NONNUMERICIDENTIFIER],")")),u("PRERELEASE","(?:-(".concat(i[s.PRERELEASEIDENTIFIER],"(?:\\.").concat(i[s.PRERELEASEIDENTIFIER],")*))")),u("PRERELEASELOOSE","(?:-?(".concat(i[s.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(i[s.PRERELEASEIDENTIFIERLOOSE],")*))")),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD","(?:\\+(".concat(i[s.BUILDIDENTIFIER],"(?:\\.").concat(i[s.BUILDIDENTIFIER],")*))")),u("FULLPLAIN","v?".concat(i[s.MAINVERSION]).concat(i[s.PRERELEASE],"?").concat(i[s.BUILD],"?")),u("FULL","^".concat(i[s.FULLPLAIN],"$")),u("LOOSEPLAIN","[v=\\s]*".concat(i[s.MAINVERSIONLOOSE]).concat(i[s.PRERELEASELOOSE],"?").concat(i[s.BUILD],"?")),u("LOOSE","^".concat(i[s.LOOSEPLAIN],"$")),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE","".concat(i[s.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),u("XRANGEIDENTIFIER","".concat(i[s.NUMERICIDENTIFIER],"|x|X|\\*")),u("XRANGEPLAIN","[v=\\s]*(".concat(i[s.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[s.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(i[s.XRANGEIDENTIFIER],")")+"(?:".concat(i[s.PRERELEASE],")?").concat(i[s.BUILD],"?")+")?)?"),u("XRANGEPLAINLOOSE","[v=\\s]*(".concat(i[s.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[s.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(i[s.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(i[s.PRERELEASELOOSE],")?").concat(i[s.BUILD],"?")+")?)?"),u("XRANGE","^".concat(i[s.GTLT],"\\s*").concat(i[s.XRANGEPLAIN],"$")),u("XRANGELOOSE","^".concat(i[s.GTLT],"\\s*").concat(i[s.XRANGEPLAINLOOSE],"$")),u("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(o,"})")+"(?:\\.(\\d{1,".concat(o,"}))?")+"(?:\\.(\\d{1,".concat(o,"}))?")+"(?:$|[^\\d])"),u("COERCERTL",i[s.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM","(\\s*)".concat(i[s.LONETILDE],"\\s+"),!0),n.tildeTrimReplace="$1~",u("TILDE","^".concat(i[s.LONETILDE]).concat(i[s.XRANGEPLAIN],"$")),u("TILDELOOSE","^".concat(i[s.LONETILDE]).concat(i[s.XRANGEPLAINLOOSE],"$")),u("LONECARET","(?:\\^)"),u("CARETTRIM","(\\s*)".concat(i[s.LONECARET],"\\s+"),!0),n.caretTrimReplace="$1^",u("CARET","^".concat(i[s.LONECARET]).concat(i[s.XRANGEPLAIN],"$")),u("CARETLOOSE","^".concat(i[s.LONECARET]).concat(i[s.XRANGEPLAINLOOSE],"$")),u("COMPARATORLOOSE","^".concat(i[s.GTLT],"\\s*(").concat(i[s.LOOSEPLAIN],")$|^$")),u("COMPARATOR","^".concat(i[s.GTLT],"\\s*(").concat(i[s.FULLPLAIN],")$|^$")),u("COMPARATORTRIM","(\\s*)".concat(i[s.GTLT],"\\s*(").concat(i[s.LOOSEPLAIN],"|").concat(i[s.XRANGEPLAIN],")"),!0),n.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE","^\\s*(".concat(i[s.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(i[s.XRANGEPLAIN],")")+"\\s*$"),u("HYPHENRANGELOOSE","^\\s*(".concat(i[s.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(i[s.XRANGEPLAINLOOSE],")")+"\\s*$"),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},function(e,n,t){var o=t(142).MAX_LENGTH,r=t(109),a=r.re,i=r.t,s=t(56),c=t(144);e.exports=function(e,n){if(n=c(n),e instanceof s)return e;if("string"!==typeof e)return null;if(e.length>o)return null;if(!(n.loose?a[i.LOOSE]:a[i.FULL]).test(e))return null;try{return new s(e,n)}catch(t){return null}}},function(e,n,t){e.exports=t(574)()},function(e,n,t){var o=t(569),r=t(570),a=t(571),i=t(573);e.exports=function(e,n){return o(e)||r(e,n)||a(e,n)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(138);function r(e,n){if(e){if("string"===typeof e)return Object(o.a)(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Object(o.a)(e,n):void 0}}},function(e,n,t){var o;void 0===(o=function(){return[{countryName:"Afghanistan",countryShortCode:"AF",regions:[{name:"Badakhshan",shortCode:"BDS"},{name:"Badghis",shortCode:"BDG"},{name:"Baghlan",shortCode:"BGL"},{name:"Balkh",shortCode:"BAL"},{name:"Bamyan",shortCode:"BAM"},{name:"Daykundi",shortCode:"DAY"},{name:"Farah",shortCode:"FRA"},{name:"Faryab",shortCode:"FYB"},{name:"Ghazni",shortCode:"GHA"},{name:"Ghor",shortCode:"GHO"},{name:"Helmand",shortCode:"HEL"},{name:"Herat",shortCode:"HER"},{name:"Jowzjan",shortCode:"JOW"},{name:"Kabul",shortCode:"KAB"},{name:"Kandahar",shortCode:"KAN"},{name:"Kapisa",shortCode:"KAP"},{name:"Khost",shortCode:"KHO"},{name:"Kunar",shortCode:"KNR"},{name:"Kunduz",shortCode:"KDZ"},{name:"Laghman",shortCode:"LAG"},{name:"Logar",shortCode:"LOW"},{name:"Maidan Wardak",shortCode:"WAR"},{name:"Nangarhar",shortCode:"NAN"},{name:"Nimruz",shortCode:"NIM"},{name:"Nuristan",shortCode:"NUR"},{name:"Paktia",shortCode:"PIA"},{name:"Paktika",shortCode:"PKA"},{name:"Panjshir",shortCode:"PAN"},{name:"Parwan",shortCode:"PAR"},{name:"Samangan",shortCode:"SAM"},{name:"Sar-e Pol",shortCode:"SAR"},{name:"Takhar",shortCode:"TAK"},{name:"Urozgan",shortCode:"ORU"},{name:"Zabul",shortCode:"ZAB"}]},{countryName:"\xc5land Islands",countryShortCode:"AX",regions:[{name:"Br\xe4nd\xf6",shortCode:"BR"},{name:"Ecker\xf6",shortCode:"EC"},{name:"Finstr\xf6m",shortCode:"FN"},{name:"F\xf6gl\xf6",shortCode:"FG"},{name:"Geta",shortCode:"GT"},{name:"Hammarland",shortCode:"HM"},{name:"Jomala",shortCode:"JM"},{name:"Kumlinge",shortCode:"KM"},{name:"K\xf6kar",shortCode:"KK"},{name:"Lemland",shortCode:"LE"},{name:"Lumparland",shortCode:"LU"},{name:"Mariehamn",shortCode:"MH"},{name:"Saltvik",shortCode:"SV"},{name:"Sottunga",shortCode:"ST"},{name:"Sund",shortCode:"SD"},{name:"V\xe5rd\xf6",shortCode:"VR"}]},{countryName:"Albania",countryShortCode:"AL",regions:[{name:"Berat",shortCode:"01"},{name:"Dib\xebr",shortCode:"09"},{name:"Durr\xebs",shortCode:"02"},{name:"Elbasan",shortCode:"03"},{name:"Fier",shortCode:"04"},{name:"Gjirokast\xebr",shortCode:"05"},{name:"Kor\xe7\xeb",shortCode:"06"},{name:"Kuk\xebs",shortCode:"07"},{name:"Lezh\xeb",shortCode:"08"},{name:"Shkod\xebr",shortCode:"10"},{name:"Tirana",shortCode:"11"},{name:"Vlor\xeb",shortCode:"12"}]},{countryName:"Algeria",countryShortCode:"DZ",regions:[{name:"Adrar",shortCode:"01"},{name:"A\xefn Defla",shortCode:"44"},{name:"A\xefn T\xe9mouchent",shortCode:"46"},{name:"Algiers",shortCode:"16"},{name:"Annaba",shortCode:"23"},{name:"Batna",shortCode:"05"},{name:"B\xe9char",shortCode:"08"},{name:"B\xe9ja\xefa",shortCode:"06"},{name:"Biskra",shortCode:"07"},{name:"Blida",shortCode:"09"},{name:"Bordj Bou Arr\xe9ridj",shortCode:"34"},{name:"Bou\xefra",shortCode:"10"},{name:"Boumerd\xe8s",shortCode:"35"},{name:"Chlef",shortCode:"02"},{name:"Constantine",shortCode:"25"},{name:"Djelfa",shortCode:"17"},{name:"El Bayadh",shortCode:"32"},{name:"El Oued",shortCode:"39"},{name:"El Tarf",shortCode:"36"},{name:"Gharda\xefa",shortCode:"47"},{name:"Guelma",shortCode:"24"},{name:"Illizi",shortCode:"33"},{name:"Jijel",shortCode:"18"},{name:"Khenchela",shortCode:"40"},{name:"Laghouat",shortCode:"03"},{name:"Mascara",shortCode:"29"},{name:"M\xe9d\xe9a",shortCode:"26"},{name:"Mila",shortCode:"43"},{name:"Mostaganem",shortCode:"27"},{name:"Msila",shortCode:"28"},{name:"Na\xe2ma",shortCode:"45"},{name:"Oran",shortCode:"31"},{name:"Ouargla",shortCode:"30"},{name:"Oum el Bouaghi",shortCode:"04"},{name:"Relizane",shortCode:"48"},{name:"Sa\xefda",shortCode:"20"},{name:"S\xe9tif",shortCode:"19"},{name:"Sidi Bel Abb\xe8s",shortCode:"22"},{name:"Skikda",shortCode:"21"},{name:"Souk Ahras",shortCode:"41"},{name:"Tamanghasset",shortCode:"11"},{name:"T\xe9bessa",shortCode:"12"},{name:"Tiaret",shortCode:"14"},{name:"Tindouf",shortCode:"37"},{name:"Tipaza",shortCode:"42"},{name:"Tissemsilt",shortCode:"38"},{name:"Tizi Ouzou",shortCode:"15"},{name:"Tlemcen",shortCode:"13"}]},{countryName:"American Samoa",countryShortCode:"AS",regions:[{name:"Tutuila",shortCode:"01"},{name:"Aunu'u",shortCode:"02"},{name:"Ta'\u016b",shortCode:"03"},{name:"Ofu\u2011Olosega",shortCode:"04"},{name:"Rose Atoll",shortCode:"21"},{name:"Swains Island",shortCode:"22"}]},{countryName:"Andorra",countryShortCode:"AD",regions:[{name:"Andorra la Vella",shortCode:"07"},{name:"Canillo",shortCode:"02"},{name:"Encamp",shortCode:"03"},{name:"Escaldes-Engordany",shortCode:"08"},{name:"La Massana",shortCode:"04"},{name:"Ordino",shortCode:"05"},{name:"Sant Juli\xe0 de L\xf2ria",shortCode:"06"}]},{countryName:"Angola",countryShortCode:"AO",regions:[{name:"Bengo",shortCode:"BGO"},{name:"Benguela",shortCode:"BGU"},{name:"Bi\xe9",shortCode:"BIE"},{name:"Cabinda",shortCode:"CAB"},{name:"Cuando Cubango",shortCode:"CCU"},{name:"Cuanza Norte",shortCode:"CNO"},{name:"Cuanza Sul",shortCode:"CUS"},{name:"Cunene",shortCode:"CNN"},{name:"Huambo",shortCode:"HUA"},{name:"Hu\xedla",shortCode:"HUI"},{name:"Luanda",shortCode:"LUA"},{name:"Lunda Norte",shortCode:"LNO"},{name:"Lunda Sul",shortCode:"LSU"},{name:"Malanje",shortCode:"MAL"},{name:"Moxico",shortCode:"MOX"},{name:"Namibe",shortCode:"NAM"},{name:"U\xedge",shortCode:"UIG"},{name:"Zaire",shortCode:"ZAI"}]},{countryName:"Anguilla",countryShortCode:"AI",regions:[{name:"Anguilla",shortCode:"01"},{name:"Anguillita Island",shortCode:"02"},{name:"Blowing Rock",shortCode:"03"},{name:"Cove Cay",shortCode:"04"},{name:"Crocus Cay",shortCode:"05"},{name:"Deadman's Cay",shortCode:"06"},{name:"Dog Island",shortCode:"07"},{name:"East Cay",shortCode:"08"},{name:"Little Island",shortCode:"09"},{name:"Little Scrub Island",shortCode:"10"},{name:"Mid Cay",shortCode:"11"},{name:"North Cay",shortCode:"12"},{name:"Prickly Pear Cays",shortCode:"13"},{name:"Rabbit Island",shortCode:"14"},{name:"Sandy Island/Sand Island",shortCode:"15"},{name:"Scilly Cay",shortCode:"16"},{name:"Scrub Island",shortCode:"17"},{name:"Seal Island",shortCode:"18"},{name:"Sombrero/Hat Island",shortCode:"19"},{name:"South Cay",shortCode:"20"},{name:"South Wager Island",shortCode:"21"},{name:"West Cay",shortCode:"22"}]},{countryName:"Antarctica",countryShortCode:"AQ",regions:[{name:"Antarctica",shortCode:"AQ"}]},{countryName:"Antigua and Barbuda",countryShortCode:"AG",regions:[{name:"Antigua Island",shortCode:"01"},{name:"Barbuda Island",shortCode:"02"},{name:"Bird Island",shortCode:"04"},{name:"Bishop Island",shortCode:"05"},{name:"Blake Island",shortCode:"06"},{name:"Crump Island",shortCode:"09"},{name:"Dulcina Island",shortCode:"10"},{name:"Exchange Island",shortCode:"11"},{name:"Five Islands",shortCode:"12"},{name:"Great Bird Island",shortCode:"13"},{name:"Green Island",shortCode:"14"},{name:"Guiana Island",shortCode:"15"},{name:"Hawes Island",shortCode:"17"},{name:"Hells Gate Island",shortCode:"16"},{name:"Henry Island",shortCode:"18"},{name:"Johnson Island",shortCode:"19"},{name:"Kid Island",shortCode:"20"},{name:"Lobster Island",shortCode:"22"},{name:"Maiden Island",shortCode:"24"},{name:"Moor Island",shortCode:"25"},{name:"Nanny Island",shortCode:"26"},{name:"Pelican Island",shortCode:"27"},{name:"Prickly Pear Island",shortCode:"28"},{name:"Rabbit Island",shortCode:"29"},{name:"Red Head Island",shortCode:"31"},{name:"Redonda Island",shortCode:"03"},{name:"Sandy Island",shortCode:"32"},{name:"Smith Island",shortCode:"33"},{name:"The Sisters",shortCode:"34"},{name:"Vernon Island",shortCode:"35"},{name:"Wicked Will Island",shortCode:"36"},{name:"York Island",shortCode:"37"}]},{countryName:"Argentina",countryShortCode:"AR",regions:[{name:"Buenos Aires",shortCode:"B"},{name:"Capital Federal",shortCode:"C"},{name:"Catamarca",shortCode:"K"},{name:"Chaco",shortCode:"H"},{name:"Chubut",shortCode:"U"},{name:"C\xf3rdoba",shortCode:"X"},{name:"Corrientes",shortCode:"W"},{name:"Entre R\xedos",shortCode:"E"},{name:"Formosa",shortCode:"P"},{name:"Jujuy",shortCode:"Y"},{name:"La Pampa",shortCode:"L"},{name:"La Rioja",shortCode:"F"},{name:"Mendoza",shortCode:"M"},{name:"Misiones",shortCode:"N"},{name:"Neuqu\xe9n",shortCode:"Q"},{name:"R\xedo Negro",shortCode:"R"},{name:"Salta",shortCode:"A"},{name:"San Juan",shortCode:"J"},{name:"San Luis",shortCode:"D"},{name:"Santa Cruz",shortCode:"Z"},{name:"Santa Fe",shortCode:"S"},{name:"Santiago del Estero",shortCode:"G"},{name:"Tierra del Fuego",shortCode:"V"},{name:"Tucum\xe1n",shortCode:"T"}]},{countryName:"Armenia",countryShortCode:"AM",regions:[{name:"Aragatsotn",shortCode:"AG"},{name:"Ararat",shortCode:"AR"},{name:"Armavir",shortCode:"AV"},{name:"Gegharkunik",shortCode:"GR"},{name:"Kotayk",shortCode:"KT"},{name:"Lori",shortCode:"LO"},{name:"Shirak",shortCode:"SH"},{name:"Syunik",shortCode:"SU"},{name:"Tavush",shortCode:"TV"},{name:"Vayots Dzor",shortCode:"VD"},{name:"Yerevan",shortCode:"ER"}]},{countryName:"Aruba",countryShortCode:"AW",regions:[{name:"Aruba",shortCode:"AW"}]},{countryName:"Australia",countryShortCode:"AU",regions:[{name:"Australian Capital Territory",shortCode:"ACT"},{name:"New South Wales",shortCode:"NSW"},{name:"Northern Territory",shortCode:"NT"},{name:"Queensland",shortCode:"QLD"},{name:"South Australia",shortCode:"SA"},{name:"Tasmania",shortCode:"TAS"},{name:"Victoria",shortCode:"VIC"},{name:"Western Australia",shortCode:"WA"}]},{countryName:"Austria",countryShortCode:"AT",regions:[{name:"Burgenland",shortCode:"1"},{name:"K\xe4rnten",shortCode:"2"},{name:"Nieder\xf6sterreich",shortCode:"3"},{name:"Ober\xf6sterreich",shortCode:"4"},{name:"Salzburg",shortCode:"5"},{name:"Steiermark",shortCode:"6"},{name:"Tirol",shortCode:"7"},{name:"Vorarlberg",shortCode:"8"},{name:"Wien",shortCode:"9"}]},{countryName:"Azerbaijan",countryShortCode:"AZ",regions:[{name:"Ab\u015feron",shortCode:"ABS"},{name:"A\u011fcab\u0259di",shortCode:"AGC"},{name:"A\u011fdam",shortCode:"AGM"},{name:"A\u011fda\u015f",shortCode:"AGS"},{name:"A\u011fstafa",shortCode:"AGA"},{name:"A\u011fsu",shortCode:"AGU"},{name:"Astara",shortCode:"AST"},{name:"Bak\u0131",shortCode:"BAK"},{name:"Bab\u0259k",shortCode:"BAB"},{name:"Balak\u0259n",shortCode:"BAL"},{name:"B\u0259rd\u0259",shortCode:"BAR"},{name:"Beyl\u0259qan",shortCode:"BEY"},{name:"Bil\u0259suvar",shortCode:"BIL"},{name:"C\u0259bray\u0131l",shortCode:"CAB"},{name:"C\u0259lilabad",shortCode:"CAL"},{name:"Culfa",shortCode:"CUL"},{name:"Da\u015fk\u0259s\u0259n",shortCode:"DAS"},{name:"F\xfczuli",shortCode:"FUZ"},{name:"G\u0259d\u0259b\u0259y",shortCode:"GAD"},{name:"Goranboy",shortCode:"GOR"},{name:"G\xf6y\xe7ay",shortCode:"GOY"},{name:"G\xf6yg\xf6l",shortCode:"GYG"},{name:"Hac\u0131qabul",shortCode:"HAC"},{name:"\u0130mi\u015fli",shortCode:"IMI"},{name:"\u0130smay\u0131ll\u0131",shortCode:"ISM"},{name:"K\u0259lb\u0259c\u0259r",shortCode:"KAL"},{name:"K\u01ddng\u01ddrli",shortCode:"KAN"},{name:"K\xfcrd\u0259mir",shortCode:"KUR"},{name:"La\xe7\u0131n",shortCode:"LAC"},{name:"L\u0259nk\u0259ran",shortCode:"LAN"},{name:"Lerik",shortCode:"LER"},{name:"Masall\u0131",shortCode:"MAS"},{name:"Neft\xe7ala",shortCode:"NEF"},{name:"O\u011fuz",shortCode:"OGU"},{name:"Ordubad",shortCode:"ORD"},{name:"Q\u0259b\u0259l\u0259",shortCode:"QAB"},{name:"Qax",shortCode:"QAX"},{name:"Qazax",shortCode:"QAZ"},{name:"Qobustan",shortCode:"QOB"},{name:"Quba",shortCode:"QBA"},{name:"Qubadli",shortCode:"QBI"},{name:"Qusar",shortCode:"QUS"},{name:"Saatl\u0131",shortCode:"SAT"},{name:"Sabirabad",shortCode:"SAB"},{name:"\u015eabran",shortCode:"SBN"},{name:"S\u0259d\u0259r\u0259k",shortCode:"SAD"},{name:"\u015eahbuz",shortCode:"SAH"},{name:"\u015e\u0259ki",shortCode:"SAK"},{name:"Salyan",shortCode:"SAL"},{name:"\u015eamax\u0131",shortCode:"SMI"},{name:"\u015e\u0259mkir",shortCode:"SKR"},{name:"Samux",shortCode:"SMX"},{name:"\u015e\u0259rur",shortCode:"SAR"},{name:"Siy\u0259z\u0259n",shortCode:"SIY"},{name:"\u015eu\u015fa",shortCode:"SUS"},{name:"T\u0259rt\u0259r",shortCode:"TAR"},{name:"Tovuz",shortCode:"TOV"},{name:"Ucar",shortCode:"UCA"},{name:"Xa\xe7maz",shortCode:"XAC"},{name:"X\u0131z\u0131",shortCode:"XIZ"},{name:"Xocal\u0131",shortCode:"XCI"},{name:"Xocav\u0259nd",shortCode:"XVD"},{name:"Yard\u0131ml\u0131",shortCode:"YAR"},{name:"Yevlax",shortCode:"YEV"},{name:"Z\u0259ngilan",shortCode:"ZAN"},{name:"Zaqatala",shortCode:"ZAQ"},{name:"Z\u0259rdab",shortCode:"ZAR"}]},{countryName:"Bahamas",countryShortCode:"BS",regions:[{name:"Acklins Island",shortCode:"01"},{name:"Berry Islands",shortCode:"22"},{name:"Bimini",shortCode:"02"},{name:"Black Point",shortCode:"23"},{name:"Cat Island",shortCode:"03"},{name:"Central Abaco",shortCode:"24"},{name:"Crooked Island and Long Cay",shortCode:"28"},{name:"East Grand Bahama",shortCode:"29"},{name:"Exuma",shortCode:"04"},{name:"Freeport",shortCode:"05"},{name:"Fresh Creek",shortCode:"06"},{name:"Governor's Harbour",shortCode:"07"},{name:"Green Turtle Cay",shortCode:"08"},{name:"Harbour Island",shortCode:"09"},{name:"High Rock",shortCode:"10"},{name:"Inagua",shortCode:"11"},{name:"Kemps Bay",shortCode:"12"},{name:"Long Island",shortCode:"13"},{name:"Marsh Harbour",shortCode:"14"},{name:"Mayaguana",shortCode:"15"},{name:"Moore\u2019s Island",shortCode:"40"},{name:"New Providence",shortCode:"16"},{name:"Nichollstown and Berry Islands",shortCode:"17"},{name:"North Abaco",shortCode:"42"},{name:"North Andros",shortCode:"41"},{name:"North Eleuthera",shortCode:"33"},{name:"Ragged Island",shortCode:"18"},{name:"Rock Sound",shortCode:"19"},{name:"San Salvador and Rum Cay",shortCode:"20"},{name:"Sandy Point",shortCode:"21"},{name:"South Abaco",shortCode:"35"},{name:"South Andros",shortCode:"36"},{name:"South Eleuthera",shortCode:"37"},{name:"West Grand Bahama",shortCode:"39"}]},{countryName:"Bahrain",countryShortCode:"BH",regions:[{name:"Al Jan\u016bb\u012byah",shortCode:"14"},{name:"Al Man\u0101mah",shortCode:"13"},{name:"Al Mu\u1e29arraq",shortCode:"15"},{name:"Al Wus\u0163\xe1",shortCode:"16"},{name:"Ash Sham\u0101l\u012byah",shortCode:"17"}]},{countryName:"Bangladesh",countryShortCode:"BD",regions:[{name:"Barisal",shortCode:"A"},{name:"Chittagong",shortCode:"B"},{name:"Dhaka",shortCode:"C"},{name:"Khulna",shortCode:"D"},{name:"Mymensingh",shortCode:"M"},{name:"Rajshahi",shortCode:"E"},{name:"Rangpur",shortCode:"F"},{name:"Sylhet",shortCode:"G"}]},{countryName:"Barbados",countryShortCode:"BB",regions:[{name:"Christ Church",shortCode:"01"},{name:"Saint Andrew",shortCode:"02"},{name:"Saint George",shortCode:"03"},{name:"Saint James",shortCode:"04"},{name:"Saint John",shortCode:"05"},{name:"Saint Joseph",shortCode:"06"},{name:"Saint Lucy",shortCode:"07"},{name:"Saint Michael",shortCode:"08"},{name:"Saint Peter",shortCode:"09"},{name:"Saint Philip",shortCode:"10"},{name:"Saint Thomas",shortCode:"11"}]},{countryName:"Belarus",countryShortCode:"BY",regions:[{name:"Brest voblast",shortCode:"BR"},{name:"Gorod Minsk",shortCode:"HM"},{name:"Homiel voblast",shortCode:"HO"},{name:"Hrodna voblast",shortCode:"HR"},{name:"Mahilyow voblast",shortCode:"MA"},{name:"Minsk voblast",shortCode:"MI"},{name:"Vitsebsk voblast",shortCode:"VI"}]},{countryName:"Belgium",countryShortCode:"BE",regions:[{name:"Brussels",shortCode:"BRU"},{name:"Flanders",shortCode:"VLG"},{name:"Wallonia",shortCode:"WAL"}]},{countryName:"Belize",countryShortCode:"BZ",regions:[{name:"Belize District",shortCode:"BZ"},{name:"Cayo District",shortCode:"CY"},{name:"Corozal District",shortCode:"CZL"},{name:"Orange Walk District",shortCode:"OW"},{name:"Stann Creek District",shortCode:"SC"},{name:"Toledo District",shortCode:"TOL"}]},{countryName:"Benin",countryShortCode:"BJ",regions:[{name:"Alibori",shortCode:"AL"},{name:"Atakora",shortCode:"AK"},{name:"Atlantique",shortCode:"AQ"},{name:"Borgou",shortCode:"BO"},{name:"Collines Department",shortCode:"CO"},{name:"Donga",shortCode:"DO"},{name:"Kouffo",shortCode:"KO"},{name:"Littoral Department",shortCode:"LI"},{name:"Mono Department",shortCode:"MO"},{name:"Ou\xe9m\xe9",shortCode:"OU"},{name:"Plateau",shortCode:"PL"},{name:"Zou",shortCode:"ZO"}]},{countryName:"Bermuda",countryShortCode:"BM",regions:[{name:"City of Hamilton",shortCode:"03"},{name:"Devonshire Parish",shortCode:"01"},{name:"Hamilton Parish",shortCode:"02"},{name:"Paget Parish",shortCode:"04"},{name:"Pembroke Parish",shortCode:"05"},{name:"Sandys Parish",shortCode:"08"},{name:"Smith's Parish",shortCode:"09"},{name:"Southampton Parish",shortCode:"10"},{name:"St. George's Parish",shortCode:"07"},{name:"Town of St. George",shortCode:"06"},{name:"Warwick Parish",shortCode:"11"}]},{countryName:"Bhutan",countryShortCode:"BT",regions:[{name:"Bumthang",shortCode:"33"},{name:"Chhukha",shortCode:"12"},{name:"Dagana",shortCode:"22"},{name:"Gasa",shortCode:"GA"},{name:"Haa",shortCode:"13"},{name:"Lhuntse",shortCode:"44"},{name:"Mongar",shortCode:"42"},{name:"Paro",shortCode:"11"},{name:"Pemagatshel",shortCode:"43"},{name:"Punakha",shortCode:"23"},{name:"Samdrup Jongkhar",shortCode:"45"},{name:"Samtse",shortCode:"14"},{name:"Sarpang",shortCode:"31"},{name:"Thimphu",shortCode:"15"},{name:"Trashigang",shortCode:"41"},{name:"Trashiyangtse",shortCode:"TY"},{name:"Trongsa",shortCode:"32"},{name:"Tsirang",shortCode:"21"},{name:"Wangdue Phodrang",shortCode:"24"},{name:"Zhemgang",shortCode:"34"}]},{countryName:"Bolivia",countryShortCode:"BO",regions:[{name:"Beni",shortCode:"BE"},{name:"Chuquisaca",shortCode:"CH"},{name:"Cochabamba",shortCode:"CB"},{name:"La Paz",shortCode:"LP"},{name:"Oruro",shortCode:"OR"},{name:"Pando",shortCode:"PD"},{name:"Potos\xed",shortCode:"PT"},{name:"Santa Cruz",shortCode:"SC"},{name:"Tarija",shortCode:"TJ"}]},{countryName:"Bonaire, Sint Eustatius and Saba",countryShortCode:"BQ",regions:[{name:"Bonaire",shortCode:"BO"},{name:"Saba Isand",shortCode:"SA"},{name:"Sint Eustatius",shortCode:"SE"}]},{countryName:"Bosnia and Herzegovina",countryShortCode:"BA",regions:[{name:"Br\u010dko Distrikt",shortCode:"BRC"},{name:"Federacija Bosne i Hercegovine",shortCode:"BIH"},{name:"Republika Srpska",shortCode:"SRP"}]},{countryName:"Botswana",countryShortCode:"BW",regions:[{name:"Central",shortCode:"CE"},{name:"Ghanzi",shortCode:"GH"},{name:"Kgalagadi",shortCode:"KG"},{name:"Kgatleng",shortCode:"KL"},{name:"Kweneng",shortCode:"KW"},{name:"North West",shortCode:"NW"},{name:"North-East",shortCode:"NE"},{name:"South East",shortCode:"SE"},{name:"Southern",shortCode:"SO"}]},{countryName:"Bouvet Island",countryShortCode:"BV",regions:[{name:"Bouvet Island",shortCode:"BV"}]},{countryName:"Brazil",countryShortCode:"BR",regions:[{name:"Acre",shortCode:"AC"},{name:"Alagoas",shortCode:"AL"},{name:"Amap\xe1",shortCode:"AP"},{name:"Amazonas",shortCode:"AM"},{name:"Bahia",shortCode:"BA"},{name:"Cear\xe1",shortCode:"CE"},{name:"Distrito Federal",shortCode:"DF"},{name:"Esp\xedrito Santo",shortCode:"ES"},{name:"Goi\xe1s",shortCode:"GO"},{name:"Maranh\xe3o",shortCode:"MA"},{name:"Mato Grosso",shortCode:"MT"},{name:"Mato Grosso do Sul",shortCode:"MS"},{name:"Minas Gerais",shortCode:"MG"},{name:"Par\xe1",shortCode:"PA"},{name:"Para\xedba",shortCode:"PB"},{name:"Paran\xe1",shortCode:"PR"},{name:"Pernambuco",shortCode:"PE"},{name:"Piau\xed",shortCode:"PI"},{name:"Rio de Janeiro",shortCode:"RJ"},{name:"Rio Grande do Norte",shortCode:"RN"},{name:"Rio Grande do Sul",shortCode:"RS"},{name:"Rond\xf4nia",shortCode:"RO"},{name:"Roraima",shortCode:"RR"},{name:"Santa Catarina",shortCode:"SC"},{name:"S\xe3o Paulo",shortCode:"SP"},{name:"Sergipe",shortCode:"SE"},{name:"Tocantins",shortCode:"TO"}]},{countryName:"British Indian Ocean Territory",countryShortCode:"IO",regions:[{name:"British Indian Ocean Territory",shortCode:"IO"}]},{countryName:"Brunei Darussalam",countryShortCode:"BN",regions:[{name:"Belait",shortCode:"BE"},{name:"Brunei Muara",shortCode:"BM"},{name:"Temburong",shortCode:"TE"},{name:"Tutong",shortCode:"TU"}]},{countryName:"Bulgaria",countryShortCode:"BG",regions:[{name:"Blagoevgrad",shortCode:"01"},{name:"Burgas",shortCode:"02"},{name:"Dobrich",shortCode:"08"},{name:"Gabrovo",shortCode:"07"},{name:"Jambol",shortCode:"28"},{name:"Khaskovo",shortCode:"26"},{name:"Kjustendil",shortCode:"10"},{name:"Kurdzhali",shortCode:"09"},{name:"Lovech",shortCode:"11"},{name:"Montana",shortCode:"12"},{name:"Pazardzhik",shortCode:"13"},{name:"Pernik",shortCode:"14"},{name:"Pleven",shortCode:"15"},{name:"Plovdiv",shortCode:"16"},{name:"Razgrad",shortCode:"17"},{name:"Ruse",shortCode:"18"},{name:"Shumen",shortCode:"27"},{name:"Silistra",shortCode:"19"},{name:"Sliven",shortCode:"20"},{name:"Smoljan",shortCode:"21"},{name:"Sofija",shortCode:"23"},{name:"Sofija-Grad",shortCode:"22"},{name:"Stara Zagora",shortCode:"24"},{name:"Turgovishhe",shortCode:"25"},{name:"Varna",shortCode:"03"},{name:"Veliko Turnovo",shortCode:"04"},{name:"Vidin",shortCode:"05"},{name:"Vraca",shortCode:"06"}]},{countryName:"Burkina Faso",countryShortCode:"BF",regions:[{name:"Bal\xe9",shortCode:"BAL"},{name:"Bam/Lake Bam",shortCode:"BAM"},{name:"Banwa Province",shortCode:"BAN"},{name:"Baz\xe8ga",shortCode:"BAZ"},{name:"Bougouriba",shortCode:"BGR"},{name:"Boulgou Province",shortCode:"BLG"},{name:"Boulkiemd\xe9",shortCode:"BLK"},{name:"Como\xe9/Komoe",shortCode:"COM"},{name:"Ganzourgou Province",shortCode:"GAN"},{name:"Gnagna",shortCode:"GNA"},{name:"Gourma Province",shortCode:"GOU"},{name:"Houet",shortCode:"HOU"},{name:"Ioba",shortCode:"IOB"},{name:"Kadiogo",shortCode:"KAD"},{name:"K\xe9n\xe9dougou",shortCode:"KEN"},{name:"Komondjari",shortCode:"KMD"},{name:"Kompienga",shortCode:"KMP"},{name:"Kossi Province",shortCode:"KOS"},{name:"Koulp\xe9logo",shortCode:"KOP"},{name:"Kouritenga",shortCode:"KOT"},{name:"Kourw\xe9ogo",shortCode:"KOW"},{name:"L\xe9raba",shortCode:"LER"},{name:"Loroum",shortCode:"LOR"},{name:"Mouhoun",shortCode:"MOU"},{name:"Namentenga",shortCode:"NAM"},{name:"Naouri/Nahouri",shortCode:"NAO"},{name:"Nayala",shortCode:"NAY"},{name:"Noumbiel",shortCode:"NOU"},{name:"Oubritenga",shortCode:"OUB"},{name:"Oudalan",shortCode:"OUD"},{name:"Passor\xe9",shortCode:"PAS"},{name:"Poni",shortCode:"PON"},{name:"Sangui\xe9",shortCode:"SNG"},{name:"Sanmatenga",shortCode:"SMT"},{name:"S\xe9no",shortCode:"SEN"},{name:"Sissili",shortCode:"SIS"},{name:"Soum",shortCode:"SOM"},{name:"Sourou",shortCode:"SOR"},{name:"Tapoa",shortCode:"TAP"},{name:"Tui/Tuy",shortCode:"TUI"},{name:"Yagha",shortCode:"YAG"},{name:"Yatenga",shortCode:"YAT"},{name:"Ziro",shortCode:"ZIR"},{name:"Zondoma",shortCode:"ZON"},{name:"Zoundw\xe9ogo",shortCode:"ZOU"}]},{countryName:"Burundi",countryShortCode:"BI",regions:[{name:"Bubanza",shortCode:"BB"},{name:"Bujumbura Mairie",shortCode:"BM"},{name:"Bujumbura Rural",shortCode:"BL"},{name:"Bururi",shortCode:"BR"},{name:"Cankuzo",shortCode:"CA"},{name:"Cibitoke",shortCode:"CI"},{name:"Gitega",shortCode:"GI"},{name:"Karuzi",shortCode:"KR"},{name:"Kayanza",shortCode:"KY"},{name:"Kirundo",shortCode:"KI"},{name:"Makamba",shortCode:"MA"},{name:"Muramvya",shortCode:"MU"},{name:"Muyinga",shortCode:"MY"},{name:"Mwaro",shortCode:"MW"},{name:"Ngozi",shortCode:"NG"},{name:"Rutana",shortCode:"RT"},{name:"Ruyigi",shortCode:"RY"}]},{countryName:"Cambodia",countryShortCode:"KH",regions:[{name:"Baat Dambang",shortCode:"2"},{name:"Banteay Mean Chey",shortCode:"1"},{name:"Kampong Chaam",shortCode:"3"},{name:"Kampong Chhnang",shortCode:"4"},{name:"Kampong Spueu",shortCode:"5"},{name:"Kampong Thum",shortCode:"6"},{name:"Kampot",shortCode:"7"},{name:"Kandaal",shortCode:"8"},{name:"Kaoh Kong",shortCode:"9"},{name:"Kracheh",shortCode:"10"},{name:"Krong Kaeb",shortCode:"23"},{name:"Krong Pailin",shortCode:"24"},{name:"Krong Preah Sihanouk",shortCode:"18"},{name:"Mondol Kiri",shortCode:"11"},{name:"Otdar Mean Chey",shortCode:"22"},{name:"Phnom Penh",shortCode:"12"},{name:"Pousaat",shortCode:"15"},{name:"Preah Vihear",shortCode:"13"},{name:"Prey Veaeng",shortCode:"14"},{name:"Rotanah Kiri",shortCode:"16"},{name:"Siem Reab",shortCode:"17"},{name:"Stueng Treng",shortCode:"19"},{name:"Svaay Rieng",shortCode:"20"},{name:"Taakaev",shortCode:"21"},{name:"Tbong Khmum",shortCode:"25"}]},{countryName:"Cameroon",countryShortCode:"CM",regions:[{name:"Adamaoua",shortCode:"AD"},{name:"Centre",shortCode:"CE"},{name:"Est",shortCode:"ES"},{name:"Extr\xeame-Nord",shortCode:"EN"},{name:"Littoral",shortCode:"LT"},{name:"Nord",shortCode:"NO"},{name:"Nord-Ouest",shortCode:"NW"},{name:"Ouest",shortCode:"OU"},{name:"Sud",shortCode:"SU"},{name:"Sud-Ouest",shortCode:"SW"}]},{countryName:"Canada",countryShortCode:"CA",regions:[{name:"Alberta",shortCode:"AB"},{name:"British Columbia",shortCode:"BC"},{name:"Manitoba",shortCode:"MB"},{name:"New Brunswick",shortCode:"NB"},{name:"Newfoundland and Labrador",shortCode:"NL"},{name:"Northwest Territories",shortCode:"NT"},{name:"Nova Scotia",shortCode:"NS"},{name:"Nunavut",shortCode:"NU"},{name:"Ontario",shortCode:"ON"},{name:"Prince Edward Island",shortCode:"PE"},{name:"Quebec",shortCode:"QC"},{name:"Saskatchewan",shortCode:"SK"},{name:"Yukon",shortCode:"YT"}]},{countryName:"Cape Verde",countryShortCode:"CV",regions:[{name:"Boa Vista",shortCode:"BV"},{name:"Brava",shortCode:"BR"},{name:"Calheta de S\xe3o Miguel",shortCode:"CS"},{name:"Maio",shortCode:"MA"},{name:"Mosteiros",shortCode:"MO"},{name:"Pa\xfal",shortCode:"PA"},{name:"Porto Novo",shortCode:"PN"},{name:"Praia",shortCode:"PR"},{name:"Ribeira Brava",shortCode:"RB"},{name:"Ribeira Grande",shortCode:"RG"},{name:"Sal",shortCode:"SL"},{name:"Santa Catarina",shortCode:"CA"},{name:"Santa Cruz",shortCode:"CR"},{name:"S\xe3o Domingos",shortCode:"SD"},{name:"S\xe3o Filipe",shortCode:"SF"},{name:"S\xe3o Nicolau",shortCode:"SN"},{name:"S\xe3o Vicente",shortCode:"SV"},{name:"Tarrafal",shortCode:"TA"},{name:"Tarrafal de S\xe3o Nicolau",shortCode:"TS"}]},{countryName:"Cayman Islands",countryShortCode:"KY",regions:[{name:"Bodden Town",shortCode:"BT"},{name:"East End",shortCode:"EE"},{name:"George Town",shortCode:"GT"},{name:"North Side",shortCode:"NS"},{name:"Sister Islands",shortCode:"SI"},{name:"West Bay",shortCode:"WB"}]},{countryName:"Central African Republic",countryShortCode:"CF",regions:[{name:"Bamingui-Bangoran",shortCode:"BB"},{name:"Bangui",shortCode:"BGF"},{name:"Basse-Kotto",shortCode:"BK"},{name:"Haute-Kotto",shortCode:"HK"},{name:"Haut-Mbomou",shortCode:"HM"},{name:"K\xe9mo",shortCode:"KG"},{name:"Lobaye",shortCode:"LB"},{name:"Mamb\xe9r\xe9-Kad\xe9\xef",shortCode:"HS"},{name:"Mbomou",shortCode:"MB"},{name:"Nana-Grebizi",shortCode:"10"},{name:"Nana-Mamb\xe9r\xe9",shortCode:"NM"},{name:"Ombella-M'Poko",shortCode:"MP"},{name:"Ouaka",shortCode:"UK"},{name:"Ouham",shortCode:"AC"},{name:"Ouham P\xe9nd\xe9",shortCode:"OP"},{name:"Sangha-Mba\xe9r\xe9",shortCode:"SE"},{name:"Vakaga",shortCode:"VK"}]},{countryName:"Chad",countryShortCode:"TD",regions:[{name:"Bahr el Ghazal",shortCode:"BG"},{name:"Batha",shortCode:"BA"},{name:"Borkou",shortCode:"BO"},{name:"Chari-Baguirmi",shortCode:"CB"},{name:"Ennedi-Est",shortCode:"EE"},{name:"Ennedi-Ouest",shortCode:"EO"},{name:"Gu\xe9ra",shortCode:"GR"},{name:"Hadjer Lamis",shortCode:"HL"},{name:"Kanem",shortCode:"KA"},{name:"Lac",shortCode:"LC"},{name:"Logone Occidental",shortCode:"LO"},{name:"Logone Oriental",shortCode:"LR"},{name:"Mondoul",shortCode:"MA"},{name:"Mayo-K\xe9bbi-Est",shortCode:"ME"},{name:"Moyen-Chari",shortCode:"MC"},{name:"Ouaddai",shortCode:"OD"},{name:"Salamat",shortCode:"SA"},{name:"Sila",shortCode:"SI"},{name:"Tandjil\xe9",shortCode:"TA"},{name:"Tibesti",shortCode:"TI"},{name:"Ville de Ndjamena",shortCode:"ND"},{name:"Wadi Fira",shortCode:"WF"}]},{countryName:"Chile",countryShortCode:"CL",regions:[{name:"Ais\xe9n del General Carlos Ib\xe1\xf1ez del Campo",shortCode:"AI"},{name:"Antofagasta",shortCode:"AN"},{name:"Araucan\xeda",shortCode:"AR"},{name:"Arica y Parinacota",shortCode:"AP"},{name:"Atacama",shortCode:"AT"},{name:"B\xedo-B\xedo",shortCode:"BI"},{name:"Coquimbo",shortCode:"CO"},{name:"Libertador General Bernardo O'Higgins",shortCode:"LI"},{name:"Los Lagos",shortCode:"LL"},{name:"Los R\xedos",shortCode:"LR"},{name:"Magallanes y Antartica Chilena",shortCode:"MA"},{name:"Marga-Marga",shortCode:""},{name:"Maule",shortCode:"ML"},{name:"\xd1uble",shortCode:"NB"},{name:"Regi\xf3n Metropolitana de Santiago",shortCode:"RM"},{name:"Tarapac\xe1",shortCode:"TA"},{name:"Valpara\xedso",shortCode:"VS"}]},{countryName:"China",countryShortCode:"CN",regions:[{name:"Anhui",shortCode:"AH"},{name:"Beijing",shortCode:"BJ"},{name:"Chongqing",shortCode:"CQ"},{name:"Fujian",shortCode:"FJ"},{name:"Gansu",shortCode:"GS"},{name:"Guangdong",shortCode:"GD"},{name:"Guangxi",shortCode:"GX"},{name:"Guizhou",shortCode:"GZ"},{name:"Hainan",shortCode:"HI"},{name:"Hebei",shortCode:"HE"},{name:"Heilongjiang",shortCode:"HL"},{name:"Henan",shortCode:"HA"},{name:"Hong Kong",shortCode:"HK"},{name:"Hubei",shortCode:"HB"},{name:"Hunan",shortCode:"HN"},{name:"Inner Mongolia",shortCode:"NM"},{name:"Jiangsu",shortCode:"JS"},{name:"Jiangxi",shortCode:"JX"},{name:"Jilin",shortCode:"JL"},{name:"Liaoning",shortCode:"LN"},{name:"Macau",shortCode:"MO"},{name:"Ningxia",shortCode:"NX"},{name:"Qinghai",shortCode:"QH"},{name:"Shaanxi",shortCode:"SN"},{name:"Shandong",shortCode:"SD"},{name:"Shanghai",shortCode:"SH"},{name:"Shanxi",shortCode:"SX"},{name:"Sichuan",shortCode:"SC"},{name:"Tianjin",shortCode:"TJ"},{name:"Tibet",shortCode:"XZ"},{name:"Xinjiang",shortCode:"XJ"},{name:"Yunnan",shortCode:"YN"},{name:"Zhejiang",shortCode:"ZJ"}]},{countryName:"Christmas Island",countryShortCode:"CX",regions:[{name:"Christmas Island",shortCode:"CX"}]},{countryName:"Cocos (Keeling) Islands",countryShortCode:"CC",regions:[{name:"Direction Island",shortCode:"DI"},{name:"Home Island",shortCode:"HM"},{name:"Horsburgh Island",shortCode:"HR"},{name:"North Keeling Island",shortCode:"NK"},{name:"South Island",shortCode:"SI"},{name:"West Island",shortCode:"WI"}]},{countryName:"Colombia",countryShortCode:"CO",regions:[{name:"Amazonas",shortCode:"AMA"},{name:"Antioquia",shortCode:"ANT"},{name:"Arauca",shortCode:"ARA"},{name:"Archipi\xe9lago de San Andr\xe9s",shortCode:"SAP"},{name:"Atl\xe1ntico",shortCode:"ATL"},{name:"Bogot\xe1 D.C.",shortCode:"DC"},{name:"Bol\xedvar",shortCode:"BOL"},{name:"Boyac\xe1",shortCode:"BOY"},{name:"Caldas",shortCode:"CAL"},{name:"Caquet\xe1",shortCode:"CAQ"},{name:"Casanare",shortCode:"CAS"},{name:"Cauca",shortCode:"CAU"},{name:"Cesar",shortCode:"CES"},{name:"Choc\xf3",shortCode:"CHO"},{name:"C\xf3rdoba",shortCode:"COR"},{name:"Cundinamarca",shortCode:"CUN"},{name:"Guain\xeda",shortCode:"GUA"},{name:"Guaviare",shortCode:"GUV"},{name:"Huila",shortCode:"HUI"},{name:"La Guajira",shortCode:"LAG"},{name:"Magdalena",shortCode:"MAG"},{name:"Meta",shortCode:"MET"},{name:"Nari\xf1o",shortCode:"NAR"},{name:"Norte de Santander",shortCode:"NSA"},{name:"Putumayo",shortCode:"PUT"},{name:"Quind\xedo",shortCode:"QUI"},{name:"Risaralda",shortCode:"RIS"},{name:"Santander",shortCode:"SAN"},{name:"Sucre",shortCode:"SUC"},{name:"Tolima",shortCode:"TOL"},{name:"Valle del Cauca",shortCode:"VAC"},{name:"Vaup\xe9s",shortCode:"VAU"},{name:"Vichada",shortCode:"VID"}]},{countryName:"Comoros",countryShortCode:"KM",regions:[{name:"Andjaz\xeedja",shortCode:"G"},{name:"Andjou\xe2n",shortCode:"A"},{name:"Mo\xfbh\xeel\xee",shortCode:"M"}]},{countryName:"Congo, Republic of the (Brazzaville)",countryShortCode:"CG",regions:[{name:"Bouenza",shortCode:"11"},{name:"Brazzaville",shortCode:"BZV"},{name:"Cuvette",shortCode:"8"},{name:"Cuvette-Ouest",shortCode:"15"},{name:"Kouilou",shortCode:"5"},{name:"L\xe9koumou",shortCode:"2"},{name:"Likouala",shortCode:"7"},{name:"Niari",shortCode:"9"},{name:"Plateaux",shortCode:"14"},{name:"Pointe-Noire",shortCode:"16"},{name:"Pool",shortCode:"12"},{name:"Sangha",shortCode:"13"}]},{countryName:"Congo, the Democratic Republic of the (Kinshasa)",countryShortCode:"CD",regions:[{name:"Bandundu",shortCode:"BN"},{name:"Bas-Congo",shortCode:"BC"},{name:"\xc9quateur",shortCode:"EQ"},{name:"Kasa\xef-Occidental",shortCode:"KE"},{name:"Kasa\xef-Oriental",shortCode:"KW"},{name:"Katanga",shortCode:"KA"},{name:"Kinshasa",shortCode:"KN"},{name:"Maniema",shortCode:"MA"},{name:"Nord-Kivu",shortCode:"NK"},{name:"Orientale",shortCode:"OR"},{name:"Sud-Kivu",shortCode:"SK"}]},{countryName:"Cook Islands",countryShortCode:"CK",regions:[{name:"Aitutaki"},{name:"Atiu"},{name:"Avarua"},{name:"Mangaia"},{name:"Manihiki"},{name:"Ma'uke"},{name:"Mitiaro"},{name:"Nassau"},{name:"Palmerston"},{name:"Penrhyn"},{name:"Pukapuka"},{name:"Rakahanga"}]},{countryName:"Costa Rica",countryShortCode:"CR",regions:[{name:"Alajuela",shortCode:"2"},{name:"Cartago",shortCode:"3"},{name:"Guanacaste",shortCode:"5"},{name:"Heredia",shortCode:"4"},{name:"Lim\xf3n",shortCode:"7"},{name:"Puntarenas",shortCode:"6"},{name:"San Jos\xe9",shortCode:"1"}]},{countryName:"C\xf4te d'Ivoire, Republic of",countryShortCode:"CI",regions:[{name:"Agn\xe9by",shortCode:"16"},{name:"Bafing",shortCode:"17"},{name:"Bas-Sassandra",shortCode:"09"},{name:"Dengu\xe9l\xe9",shortCode:"10"},{name:"Dix-Huit Montagnes",shortCode:"06"},{name:"Fromager",shortCode:"18"},{name:"Haut-Sassandra",shortCode:"02"},{name:"Lacs",shortCode:"07"},{name:"Lagunes",shortCode:"01"},{name:"Marahou\xe9",shortCode:"12"},{name:"Moyen-Cavally",shortCode:"19"},{name:"Moyen-Como\xe9",shortCode:"05"},{name:"N'zi-Como\xe9",shortCode:"11"},{name:"Savanes",shortCode:"03"},{name:"Sud-Bandama",shortCode:"15"},{name:"Sud-Como\xe9",shortCode:"13"},{name:"Vall\xe9e du Bandama",shortCode:"04"},{name:"Worodougou",shortCode:"14"},{name:"Zanzan",shortCode:"08"}]},{countryName:"Croatia",countryShortCode:"HR",regions:[{name:"Bjelovarsko-bilogorska \u017eupanija",shortCode:"07"},{name:"Brodsko-posavska \u017eupanija",shortCode:"12"},{name:"Dubrova\u010dko-neretvanska \u017eupanija",shortCode:"19"},{name:"Grad Zagreb",shortCode:"21"},{name:"Istarska \u017eupanija",shortCode:"18"},{name:"Karlova\u010dka \u017eupanija",shortCode:"04"},{name:"Koprivni\u010dko-kri\u017eeva\u010dka \u017eupanija",shortCode:"06"},{name:"Krapinsko-zagorska \u017eupanija",shortCode:"02"},{name:"Li\u010dko-senjska \u017eupanija",shortCode:"09"},{name:"Me\u0111imurska \u017eupanija",shortCode:"20"},{name:"Osje\u010dko-baranjska \u017eupanija",shortCode:"14"},{name:"Po\u017ee\u0161ko-slavonska \u017eupanija",shortCode:"11"},{name:"Primorsko-goranska \u017eupanija",shortCode:"08"},{name:"Sisa\u010dko-moslava\u010dka \u017eupanija",shortCode:"03"},{name:"Splitsko-dalmatinska \u017eupanija",shortCode:"17"},{name:"\u0160ibensko-kninska \u017eupanija",shortCode:"15"},{name:"Vara\u017edinska \u017eupanija",shortCode:"05"},{name:"Viroviti\u010dko-podravska \u017eupanija",shortCode:"10"},{name:"Vukovarsko-srijemska \u017eupanija",shortCode:"16"},{name:"Zadarska \u017eupanija",shortCode:"13"},{name:"Zagreba\u010dka \u017eupanija",shortCode:"01"}]},{countryName:"Cuba",countryShortCode:"CU",regions:[{name:"Artemisa",shortCode:"15"},{name:"Camag\xfcey",shortCode:"09"},{name:"Ciego de \xc1vila",shortCode:"08"},{name:"Cienfuegos",shortCode:"06"},{name:"Granma",shortCode:"12"},{name:"Guant\xe1namo",shortCode:"14"},{name:"Holgu\xedn",shortCode:"11"},{name:"Isla de la Juventud",shortCode:"99"},{name:"La Habana",shortCode:"03"},{name:"Las Tunas",shortCode:"10"},{name:"Matanzas",shortCode:"04"},{name:"Mayabeque",shortCode:"16"},{name:"Pinar del R\xedo",shortCode:"01"},{name:"Sancti Sp\xedritus",shortCode:"07"},{name:"Santiago de Cuba",shortCode:"13"},{name:"Villa Clara",shortCode:"05"}]},{countryName:"Cura\xe7ao",countryShortCode:"CW",regions:[{name:"Cura\xe7ao",shortCode:"CW"}]},{countryName:"Cyprus",countryShortCode:"CY",regions:[{name:"Ammochostos",shortCode:"04"},{name:"Keryneia",shortCode:"06"},{name:"Larnaka",shortCode:"03"},{name:"Lefkosia",shortCode:"01"},{name:"Lemesos",shortCode:"02"},{name:"Pafos",shortCode:"05"}]},{countryName:"Czech Republic",countryShortCode:"CZ",regions:[{name:"Hlavn\xed m\u011bsto Praha",shortCode:"10"},{name:"Jiho\u010desk\xfd kraj",shortCode:"31"},{name:"Jihomoravsk\xfd kraj",shortCode:"64"},{name:"Karlovarsk\xfd kraj",shortCode:"41"},{name:"Kr\xe1lov\xe9hradeck\xfd kraj",shortCode:"52"},{name:"Libereck\xfd kraj",shortCode:"51"},{name:"Moravskoslezsk\xfd kraj",shortCode:"80"},{name:"Olomouck\xfd kraj",shortCode:"71"},{name:"Pardubick\xfd kraj",shortCode:"53"},{name:"Plze\u0148sk\xfd kraj",shortCode:"32"},{name:"St\u0159edo\u010desk\xfd kraj",shortCode:"20"},{name:"\xdasteck\xfd kraj",shortCode:"42"},{name:"Vyso\u010dina",shortCode:"63"},{name:"Zl\xednsk\xfd kraj",shortCode:"72"}]},{countryName:"Denmark",countryShortCode:"DK",regions:[{name:"Hovedstaden",shortCode:"DK-84"},{name:"Midtjylland",shortCode:"DK-82"},{name:"Nordjylland",shortCode:"DK-81"},{name:"Sj\xe6lland",shortCode:"DK-85"},{name:"Syddanmark",shortCode:"DK-83"}]},{countryName:"Djibouti",countryShortCode:"DJ",regions:[{name:"Ali Sabieh",shortCode:"AS"},{name:"Arta",shortCode:"AR"},{name:"Dikhil",shortCode:"DI"},{name:"Obock",shortCode:"OB"},{name:"Tadjourah",shortCode:"TA"}]},{countryName:"Dominica",countryShortCode:"DM",regions:[{name:"Saint Andrew Parish",shortCode:"02"},{name:"Saint David Parish",shortCode:"03"},{name:"Saint George Parish",shortCode:"04"},{name:"Saint John Parish",shortCode:"05"},{name:"Saint Joseph Parish",shortCode:"06"},{name:"Saint Luke Parish",shortCode:"07"},{name:"Saint Mark Parish",shortCode:"08"},{name:"Saint Patrick Parish",shortCode:"09"},{name:"Saint Paul Parish",shortCode:"10"},{name:"Saint Peter Parish",shortCode:"11"}]},{countryName:"Dominican Republic",countryShortCode:"DO",regions:[{name:"Cibao Central",shortCode:"02"},{name:"Del Valle",shortCode:"37"},{name:"Distrito Nacional",shortCode:"01"},{name:"Enriquillo",shortCode:"38"},{name:"Norcentral",shortCode:"04"},{name:"Nordeste",shortCode:"33"},{name:"Noroeste",shortCode:"34"},{name:"Norte",shortCode:"35"},{name:"Valdesia",shortCode:"42"}]},{countryName:"Ecuador",countryShortCode:"EC",regions:[{name:"Azuay",shortCode:"A"},{name:"Bol\xedvar",shortCode:"B"},{name:"Ca\xf1ar",shortCode:"F"},{name:"Carchi",shortCode:"C"},{name:"Chimborazo",shortCode:"H"},{name:"Cotopaxi",shortCode:"X"},{name:"El Oro",shortCode:"O"},{name:"Esmeraldas",shortCode:"E"},{name:"Gal\xe1pagos",shortCode:"W"},{name:"Guayas",shortCode:"G"},{name:"Imbabura",shortCode:"I"},{name:"Loja",shortCode:"L"},{name:"Los R\xedos",shortCode:"R"},{name:"Manab\xed",shortCode:"M"},{name:"Morona-Santiago",shortCode:"S"},{name:"Napo",shortCode:"N"},{name:"Orellana",shortCode:"D"},{name:"Pastaza",shortCode:"Y"},{name:"Pichincha",shortCode:"P"},{name:"Santa Elena",shortCode:"SE"},{name:"Santo Domingo de los Ts\xe1chilas",shortCode:"SD"},{name:"Sucumb\xedos",shortCode:"U"},{name:"Tungurahua",shortCode:"T"},{name:"Zamora-Chinchipe",shortCode:"Z"}]},{countryName:"Egypt",countryShortCode:"EG",regions:[{name:"Alexandria",shortCode:"ALX"},{name:"Aswan",shortCode:"ASN"},{name:"Asyout",shortCode:"AST"},{name:"Bani Sueif",shortCode:"BNS"},{name:"Beheira",shortCode:"BH"},{name:"Cairo",shortCode:"C"},{name:"Daqahlia",shortCode:"DK"},{name:"Dumiat",shortCode:"DT"},{name:"El Bahr El Ahmar",shortCode:"BA"},{name:"El Ismailia",shortCode:"IS"},{name:"El Suez",shortCode:"SUZ"},{name:"El Wadi El Gedeed",shortCode:"WAD"},{name:"Fayoum",shortCode:"FYM"},{name:"Gharbia",shortCode:"GH"},{name:"Giza",shortCode:"GZ"},{name:"Helwan",shortCode:"HU"},{name:"Kafr El Sheikh",shortCode:"KFS"},{name:"Luxor",shortCode:"LX"},{name:"Matrouh",shortCode:"MT"},{name:"Menia",shortCode:"MN"},{name:"Menofia",shortCode:"MNF"},{name:"North Sinai",shortCode:"SIN"},{name:"Port Said",shortCode:"PTS"},{name:"Qalubia",shortCode:"KB"},{name:"Qena",shortCode:"KN"},{name:"Sharqia",shortCode:"SHR"},{name:"Sixth of October",shortCode:"SU"},{name:"Sohag",shortCode:"SHG"},{name:"South Sinai",shortCode:"JS"}]},{countryName:"El Salvador",countryShortCode:"SV",regions:[{name:"Ahuachap\xe1n",shortCode:"AH"},{name:"Caba\xf1as",shortCode:"CA"},{name:"Cuscatl\xe1n",shortCode:"CU"},{name:"Chalatenango",shortCode:"CH"},{name:"La Libertad",shortCode:"LI"},{name:"La Paz",shortCode:"PA"},{name:"La Uni\xf3n",shortCode:"UN"},{name:"Moraz\xe1n",shortCode:"MO"},{name:"San Miguel",shortCode:"SM"},{name:"San Salvador",shortCode:"SS"},{name:"Santa Ana",shortCode:"SA"},{name:"San Vicente",shortCode:"SV"},{name:"Sonsonate",shortCode:"SO"},{name:"Usulut\xe1n",shortCode:"US"}]},{countryName:"Equatorial Guinea",countryShortCode:"GQ",regions:[{name:"Annob\xf3n",shortCode:"AN"},{name:"Bioko Norte",shortCode:"BN"},{name:"Bioko Sur",shortCode:"BS"},{name:"Centro Sur",shortCode:"CS"},{name:"Ki\xe9-Ntem",shortCode:"KN"},{name:"Litoral",shortCode:"LI"},{name:"Wele-Nzas",shortCode:"WN"}]},{countryName:"Eritrea",countryShortCode:"ER",regions:[{name:"Anseba",shortCode:"AN"},{name:"Debub",shortCode:"DU"},{name:"Debub-Keih-Bahri",shortCode:"DK"},{name:"Gash-Barka",shortCode:"GB"},{name:"Maekel",shortCode:"MA"},{name:"Semien-Keih-Bahri",shortCode:"SK"}]},{countryName:"Estonia",countryShortCode:"EE",regions:[{name:"Harjumaa (Tallinn)",shortCode:"37"},{name:"Hiiumaa (Kardla)",shortCode:"39"},{name:"Ida-Virumaa (Johvi)",shortCode:"44"},{name:"J\xe4rvamaa (Paide)",shortCode:"41"},{name:"J\xf5gevamaa (Jogeva)",shortCode:"49"},{name:"L\xe4\xe4nemaa",shortCode:"57"},{name:"L\xe4\xe4ne-Virumaa (Rakvere)",shortCode:"59"},{name:"P\xe4rnumaa (Parnu)",shortCode:"67"},{name:"P\xf5lvamaa (Polva)",shortCode:"65"},{name:"Raplamaa (Rapla)",shortCode:"70"},{name:"Saaremaa (Kuessaare)",shortCode:"74"},{name:"Tartumaa (Tartu)",shortCode:"78"},{name:"Valgamaa (Valga)",shortCode:"82"},{name:"Viljandimaa (Viljandi)",shortCode:"84"},{name:"V\xf5rumaa (Voru)",shortCode:"86"}]},{countryName:"Ethiopia",countryShortCode:"ET",regions:[{name:"Addis Ababa",shortCode:"AA"},{name:"Afar",shortCode:"AF"},{name:"Amhara",shortCode:"AM"},{name:"Benshangul-Gumaz",shortCode:"BE"},{name:"Dire Dawa",shortCode:"DD"},{name:"Gambela",shortCode:"GA"},{name:"Harari",shortCode:"HA"},{name:"Oromia",shortCode:"OR"},{name:"Somali",shortCode:"SO"},{name:"Southern Nations Nationalities and People's Region",shortCode:"SN"},{name:"Tigray",shortCode:"TI"}]},{countryName:"Falkland Islands (Islas Malvinas)",countryShortCode:"FK",regions:[{name:"Falkland Islands (Islas Malvinas)"}]},{countryName:"Faroe Islands",countryShortCode:"FO",regions:[{name:"Bordoy"},{name:"Eysturoy"},{name:"Mykines"},{name:"Sandoy"},{name:"Skuvoy"},{name:"Streymoy"},{name:"Suduroy"},{name:"Tvoroyri"},{name:"Vagar"}]},{countryName:"Fiji",countryShortCode:"FJ",regions:[{name:"Ba",shortCode:"01"},{name:"Bua",shortCode:"02"},{name:"Cakaudrove",shortCode:"03"},{name:"Kadavu",shortCode:"04"},{name:"Lau",shortCode:"05"},{name:"Lomaiviti",shortCode:"06"},{name:"Macuata",shortCode:"07"},{name:"Nadroga and Navosa",shortCode:"08"},{name:"Naitasiri",shortCode:"09"},{name:"Namosi",shortCode:"10"},{name:"Ra",shortCode:"11"},{name:"Rewa",shortCode:"12"},{name:"Rotuma",shortCode:"R"},{name:"Serua",shortCode:"13"},{name:"Tailevu",shortCode:"14"}]},{countryName:"Finland",countryShortCode:"FI",regions:[{name:"Ahvenanmaan maakunta",shortCode:"FI-01"},{name:"Etel\xe4-Karjala",shortCode:"FI-02"},{name:"Etel\xe4-Pohjanmaa",shortCode:"FI-03"},{name:"Etel\xe4-Savo",shortCode:"FI-04"},{name:"Kainuu",shortCode:"FI-05"},{name:"Kanta-H\xe4me",shortCode:"FI-06"},{name:"Keski-Pohjanmaa",shortCode:"FI-07"},{name:"Keski-Suomi",shortCode:"FI-08"},{name:"Kymenlaakso",shortCode:"FI-09"},{name:"Lappi",shortCode:"FI-10"},{name:"Pirkanmaa",shortCode:"FI-11"},{name:"Pohjanmaa",shortCode:"FI-12"},{name:"Pohjois-Karjala",shortCode:"FI-13"},{name:"Pohjois-Pohjanmaa",shortCode:"FI-14"},{name:"Pohjois-Savo",shortCode:"FI-15"},{name:"P\xe4ij\xe4t-H\xe4me",shortCode:"FI-16"},{name:"Satakunta",shortCode:"FI-17"},{name:"Uusimaa",shortCode:"FI-18"},{name:"Varsinais-Suomi",shortCode:"FI-19"}]},{countryName:"France",countryShortCode:"FR",regions:[{name:"Auvergne-Rh\xf4ne-Alpes",shortCode:"ARA"},{name:"Bourgogne-Franche-Comt\xe9",shortCode:"BFC"},{name:"Bretagne",shortCode:"BRE"},{name:"Centre-Val de Loire",shortCode:"CVL"},{name:"Corse",shortCode:"COR"},{name:"Grand Est",shortCode:"GES"},{name:"Hauts-de-France",shortCode:"HDF"},{name:"\xcele-de-France",shortCode:"IDF"},{name:"Normandie",shortCode:"NOR"},{name:"Nouvelle-Aquitaine",shortCode:"NAQ"},{name:"Occitanie",shortCode:"OCC"},{name:"Pays de la Loire",shortCode:"PDL"},{name:"Provence-Alpes-Cote d'Azur",shortCode:"PAC"},{name:"Clipperton",shortCode:"CP"},{name:"Guadeloupe",shortCode:"GP"},{name:"Guyane",shortCode:"GF"},{name:"Martinique",shortCode:"MQ"},{name:"Mayotte",shortCode:"YT"},{name:"Nouvelle-Cal\xe9donie",shortCode:"NC"},{name:"Polyn\xe9sie",shortCode:"PF"},{name:"Saint-Pierre-et-Miquelon",shortCode:"PM"},{name:"Saint Barth\xe9lemy",shortCode:"BL"},{name:"Saint Martin",shortCode:"MF"},{name:"R\xe9union",shortCode:"RE"},{name:"Terres Australes Fran\xe7aises",shortCode:"TF"},{name:"Wallis-et-Futuna",shortCode:"WF"}]},{countryName:"French Guiana",countryShortCode:"GF",regions:[{name:"French Guiana"}]},{countryName:"French Polynesia",countryShortCode:"PF",regions:[{name:"Archipel des Marquises"},{name:"Archipel des Tuamotu"},{name:"Archipel des Tubuai"},{name:"Iles du Vent"},{name:"Iles Sous-le-Vent"}]},{countryName:"French Southern and Antarctic Lands",countryShortCode:"TF",regions:[{name:"Adelie Land"},{name:"Ile Crozet"},{name:"Iles Kerguelen"},{name:"Iles Saint-Paul et Amsterdam"}]},{countryName:"Gabon",countryShortCode:"GA",regions:[{name:"Estuaire",shortCode:"1"},{name:"Haut-Ogoou\xe9",shortCode:"2"},{name:"Moyen-Ogoou\xe9",shortCode:"3"},{name:"Ngouni\xe9",shortCode:"4"},{name:"Nyanga",shortCode:"5"},{name:"Ogoou\xe9-Ivindo",shortCode:"6"},{name:"Ogoou\xe9-Lolo",shortCode:"7"},{name:"Ogoou\xe9-Maritime",shortCode:"8"},{name:"Woleu-Ntem",shortCode:"9"}]},{countryName:"Gambia, The",countryShortCode:"GM",regions:[{name:"Banjul",shortCode:"B"},{name:"Central River",shortCode:"M"},{name:"Lower River",shortCode:"L"},{name:"North Bank",shortCode:"N"},{name:"Upper River",shortCode:"U"},{name:"Western",shortCode:"W"}]},{countryName:"Georgia",countryShortCode:"GE",regions:[{name:"Abkhazia (Sokhumi)",shortCode:"AB"},{name:"Ajaria (Bat'umi)",shortCode:"AJ"},{name:"Guria",shortCode:"GU"},{name:"Imereti",shortCode:"IM"},{name:"K'akheti",shortCode:"KA"},{name:"Kvemo Kartli",shortCode:"KK"},{name:"Mtshkheta-Mtianeti",shortCode:"MM"},{name:"Rach'a-Lexhkumi-KvemoSvaneti",shortCode:"RL"},{name:"Samegrelo-Zemo Svaneti",shortCode:"SZ"},{name:"Samtskhe-Javakheti",shortCode:"SJ"},{name:"Shida Kartli",shortCode:"SK"},{name:"Tbilisi",shortCode:"TB"}]},{countryName:"Germany",countryShortCode:"DE",regions:[{name:"Baden-W\xfcrttemberg",shortCode:"BW"},{name:"Bayern",shortCode:"BY"},{name:"Berlin",shortCode:"BE"},{name:"Brandenburg",shortCode:"BB"},{name:"Bremen",shortCode:"HB"},{name:"Hamburg",shortCode:"HH"},{name:"Hessen",shortCode:"HE"},{name:"Mecklenburg-Vorpommern",shortCode:"MV"},{name:"Niedersachsen",shortCode:"NI"},{name:"Nordrhein-Westfalen",shortCode:"NW"},{name:"Rheinland-Pfalz",shortCode:"RP"},{name:"Saarland",shortCode:"SL"},{name:"Sachsen",shortCode:"SN"},{name:"Sachsen-Anhalt",shortCode:"ST"},{name:"Schleswig-Holstein",shortCode:"SH"},{name:"Th\xfcringen",shortCode:"TH"}]},{countryName:"Ghana",countryShortCode:"GH",regions:[{name:"Ahafo"},{name:"Ashanti",shortCode:"AH"},{name:"Bono"},{name:"Bono East"},{name:"Central",shortCode:"CP"},{name:"Eastern",shortCode:"EP"},{name:"Greater Accra",shortCode:"AA"},{name:"Northern",shortCode:"NP"},{name:"North East"},{name:"Oti"},{name:"Savannah"},{name:"Upper East",shortCode:"UE"},{name:"Upper West",shortCode:"UW"},{name:"Volta",shortCode:"TV"},{name:"Western",shortCode:"WP"},{name:"Western North"}]},{countryName:"Gibraltar",countryShortCode:"GI",regions:[{name:"Gibraltar"}]},{countryName:"Greece",countryShortCode:"GR",regions:[{name:"Anatolik\xed Makedon\xeda kai Thr\xe1ki",shortCode:"A"},{name:"Attik\u1e2f",shortCode:"I"},{name:"Dytik\xed Ell\xe1da",shortCode:"G"},{name:"Dytik\xed Makedon\xeda",shortCode:"C"},{name:"Ion\xeda N\xedsia",shortCode:"F"},{name:"Kentrik\xed Makedon\xeda",shortCode:"B"},{name:"Kr\xedt\xed",shortCode:"M"},{name:"Not\xedo Aiga\xedo",shortCode:"L"},{name:"Peloponn\xedsos",shortCode:"J"},{name:"Stere\xe1 Ell\xe1da",shortCode:"H"},{name:"Thessal\xeda",shortCode:"E"},{name:"Vore\xedo Aiga\xedo",shortCode:"K"},{name:"\xcdpeiros",shortCode:"D"},{name:"\xc1gion \xd3ros",shortCode:"69"}]},{countryName:"Greenland",countryShortCode:"GL",regions:[{name:"Kommune Kujalleq",shortCode:"KU"},{name:"Kommuneqarfik Sermersooq",shortCode:"SM"},{name:"Qaasuitsup Kommunia",shortCode:"QA"},{name:"Qeqqata Kommunia",shortCode:"QE"}]},{countryName:"Grenada",countryShortCode:"GD",regions:[{name:"Saint Andrew",shortCode:"01"},{name:"Saint David",shortCode:"02"},{name:"Saint George",shortCode:"03"},{name:"Saint John",shortCode:"04"},{name:"Saint Mark",shortCode:"05"},{name:"Saint Patrick",shortCode:"06"},{name:"Southern Grenadine Islands",shortCode:"10"}]},{countryName:"Guadeloupe",countryShortCode:"GP",regions:[{name:"Guadeloupe"}]},{countryName:"Guam",countryShortCode:"GU",regions:[{name:"Guam"}]},{countryName:"Guatemala",countryShortCode:"GT",regions:[{name:"Alta Verapaz",shortCode:"AV"},{name:"Baja Verapaz",shortCode:"BV"},{name:"Chimaltenango",shortCode:"CM"},{name:"Chiquimula",shortCode:"CQ"},{name:"El Progreso",shortCode:"PR"},{name:"Escuintla",shortCode:"ES"},{name:"Guatemala",shortCode:"GU"},{name:"Huehuetenango",shortCode:"HU"},{name:"Izabal",shortCode:"IZ"},{name:"Jalapa",shortCode:"JA"},{name:"Jutiapa",shortCode:"JU"},{name:"Pet\xe9n",shortCode:"PE"},{name:"Quetzaltenango",shortCode:"QZ"},{name:"Quich\xe9",shortCode:"QC"},{name:"Retalhuleu",shortCode:"Re"},{name:"Sacatep\xe9quez",shortCode:"SA"},{name:"San Marcos",shortCode:"SM"},{name:"Santa Rosa",shortCode:"SR"},{name:"Solol\xe1",shortCode:"SO"},{name:"Suchitep\xe9quez",shortCode:"SU"},{name:"Totonicap\xe1n",shortCode:"TO"},{name:"Zacapa",shortCode:"ZA"}]},{countryName:"Guernsey",countryShortCode:"GG",regions:[{name:"Castel"},{name:"Forest"},{name:"St. Andrew"},{name:"St. Martin"},{name:"St. Peter Port"},{name:"St. Pierre du Bois"},{name:"St. Sampson"},{name:"St. Saviour"},{name:"Torteval"},{name:"Vale"}]},{countryName:"Guinea",countryShortCode:"GN",regions:[{name:"Bok\xe9",shortCode:"B"},{name:"Conakry",shortCode:"C"},{name:"Faranah",shortCode:"F"},{name:"Kankan",shortCode:"K"},{name:"Kindia",shortCode:"D"},{name:"Lab\xe9",shortCode:"L"},{name:"Mamou",shortCode:"M"},{name:"Nz\xe9r\xe9kor\xe9",shortCode:"N"}]},{countryName:"Guinea-Bissau",countryShortCode:"GW",regions:[{name:"Bafat\xe1",shortCode:"BA"},{name:"Biombo",shortCode:"BM"},{name:"Bissau",shortCode:"BS"},{name:"Bolama-Bijagos",shortCode:"BL"},{name:"Cacheu",shortCode:"CA"},{name:"Gab\xfa",shortCode:"GA"},{name:"Oio",shortCode:"OI"},{name:"Quinara",shortCode:"QU"},{name:"Tombali",shortCode:"TO"}]},{countryName:"Guyana",countryShortCode:"GY",regions:[{name:"Barima-Waini",shortCode:"BA"},{name:"Cuyuni-Mazaruni",shortCode:"CU"},{name:"Demerara-Mahaica",shortCode:"DE"},{name:"East Berbice-Corentyne",shortCode:"EB"},{name:"Essequibo Islands-West Demerara",shortCode:"ES"},{name:"Mahaica-Berbice",shortCode:"MA"},{name:"Pomeroon-Supenaam",shortCode:"PM"},{name:"Potaro-Siparuni",shortCode:"PT"},{name:"Upper Demerara-Berbice",shortCode:"UD"},{name:"Upper Takutu-Upper Essequibo",shortCode:"UT"}]},{countryName:"Haiti",countryShortCode:"HT",regions:[{name:"Artibonite",shortCode:"AR"},{name:"Centre",shortCode:"CE"},{name:"Grand'Anse",shortCode:"GA"},{name:"Nippes",shortCode:"NI"},{name:"Nord",shortCode:"ND"},{name:"Nord-Est",shortCode:"NE"},{name:"Nord-Ouest",shortCode:"NO"},{name:"Ouest",shortCode:"OU"},{name:"Sud",shortCode:"SD"},{name:"Sud-Est",shortCode:"SE"}]},{countryName:"Heard Island and McDonald Islands",countryShortCode:"HM",regions:[{name:"Heard Island and McDonald Islands"}]},{countryName:"Holy See (Vatican City)",countryShortCode:"VA",regions:[{name:"Holy See (Vatican City)",shortCode:"01"}]},{countryName:"Honduras",countryShortCode:"HN",regions:[{name:"Atl\xe1ntida",shortCode:"AT"},{name:"Choluteca",shortCode:"CH"},{name:"Col\xf3n",shortCode:"CL"},{name:"Comayagua",shortCode:"CM"},{name:"Cop\xe1n",shortCode:"CP"},{name:"Cort\xe9s",shortCode:"CR"},{name:"El Para\xedso",shortCode:"EP"},{name:"Francisco Moraz\xe1n",shortCode:"FM"},{name:"Gracias a Dios",shortCode:"GD"},{name:"Intibuc\xe1",shortCode:"IN"},{name:"Islas de la Bah\xeda",shortCode:"IB"},{name:"La Paz",shortCode:"LP"},{name:"Lempira",shortCode:"LE"},{name:"Ocotepeque",shortCode:"OC"},{name:"Olancho",shortCode:"OL"},{name:"Santa B\xe1rbara",shortCode:"SB"},{name:"Valle",shortCode:"VA"},{name:"Yoro",shortCode:"YO"}]},{countryName:"Hong Kong",countryShortCode:"HK",regions:[{name:"Hong Kong",shortCode:"HK"}]},{countryName:"Hungary",countryShortCode:"HU",regions:[{name:"B\xe1cs-Kiskun",shortCode:"BK"},{name:"Baranya",shortCode:"BA"},{name:"B\xe9k\xe9s",shortCode:"BE"},{name:"B\xe9k\xe9scsaba",shortCode:"BC"},{name:"Borsod-Abauj-Zemplen",shortCode:"BZ"},{name:"Budapest",shortCode:"BU"},{name:"Csongr\xe1d",shortCode:"CS"},{name:"Debrecen",shortCode:"DE"},{name:"Duna\xfajv\xe1ros",shortCode:"DU"},{name:"Eger",shortCode:"EG"},{name:"\xc9rd",shortCode:"ER"},{name:"Fej\xe9r",shortCode:"FE"},{name:"Gy\u0151r",shortCode:"GY"},{name:"Gy\u0151r-Moson-Sopron",shortCode:"GS"},{name:"Hajd\xfa-Bihar",shortCode:"HB"},{name:"Heves",shortCode:"HE"},{name:"H\xf3dmez\u0151v\xe1s\xe1rhely",shortCode:"HV"},{name:"J\xe1sz-Nagykun-Szolnok",shortCode:"JN"},{name:"Kaposv\xe1r",shortCode:"KV"},{name:"Kecskem\xe9t",shortCode:"KM"},{name:"Kom\xe1rom-Esztergom",shortCode:"KE"},{name:"Miskolc",shortCode:"MI"},{name:"Nagykanizsa",shortCode:"NK"},{name:"N\xf3gr\xe1d",shortCode:"NO"},{name:"Ny\xedregyh\xe1za",shortCode:"NY"},{name:"P\xe9cs",shortCode:"PS"},{name:"Pest",shortCode:"PE"},{name:"Salg\xf3tarj\xe1n",shortCode:"ST"},{name:"Somogy",shortCode:"SO"},{name:"Sopron",shortCode:"SN"},{name:"Szabolcs-\xe1-Bereg",shortCode:"SZ"},{name:"Szeged",shortCode:"SD"},{name:"Sz\xe9kesfeh\xe9rv\xe1r",shortCode:"SF"},{name:"Szeksz\xe1rd",shortCode:"SS"},{name:"Szolnok",shortCode:"SK"},{name:"Szombathely",shortCode:"SH"},{name:"Tatab\xe1nya",shortCode:"TB"},{name:"Tolna",shortCode:"TO"},{name:"Vas",shortCode:"VA"},{name:"Veszpr\xe9m",shortCode:"VE"},{name:"Veszpr\xe9m (City)",shortCode:"VM"},{name:"Zala",shortCode:"ZA"},{name:"Zalaegerszeg",shortCode:"ZE"}]},{countryName:"Iceland",countryShortCode:"IS",regions:[{name:"Austurland",shortCode:"7"},{name:"H\xf6fu\xf0borgarsv\xe6\xf0i",shortCode:"1"},{name:"Nor\xf0urland eystra",shortCode:"6"},{name:"Nor\xf0urland vestra",shortCode:"5"},{name:"Su\xf0urland",shortCode:"8"},{name:"Su\xf0urnes",shortCode:"2"},{name:"Vestfir\xf0ir",shortCode:"4"},{name:"Vesturland",shortCode:"3"}]},{countryName:"India",countryShortCode:"IN",regions:[{name:"Andaman and Nicobar Islands",shortCode:"AN"},{name:"Andhra Pradesh",shortCode:"AP"},{name:"Arunachal Pradesh",shortCode:"AR"},{name:"Assam",shortCode:"AS"},{name:"Bihar",shortCode:"BR"},{name:"Chandigarh",shortCode:"CH"},{name:"Chhattisgarh",shortCode:"CT"},{name:"Dadra and Nagar Haveli and Daman and Diu",shortCode:"DH"},{name:"Delhi",shortCode:"DL"},{name:"Goa",shortCode:"GA"},{name:"Gujarat",shortCode:"GJ"},{name:"Haryana",shortCode:"HR"},{name:"Himachal Pradesh",shortCode:"HP"},{name:"Jammu and Kashmir",shortCode:"JK"},{name:"Jharkhand",shortCode:"JH"},{name:"Karnataka",shortCode:"KA"},{name:"Kerala",shortCode:"KL"},{name:"Ladakh",shortCode:"LA"},{name:"Lakshadweep",shortCode:"LD"},{name:"Madhya Pradesh",shortCode:"MP"},{name:"Maharashtra",shortCode:"MH"},{name:"Manipur",shortCode:"MN"},{name:"Meghalaya",shortCode:"ML"},{name:"Mizoram",shortCode:"MZ"},{name:"Nagaland",shortCode:"NL"},{name:"Odisha",shortCode:"OR"},{name:"Puducherry",shortCode:"PY"},{name:"Punjab",shortCode:"PB"},{name:"Rajasthan",shortCode:"RJ"},{name:"Sikkim",shortCode:"SK"},{name:"Tamil Nadu",shortCode:"TN"},{name:"Telangana",shortCode:"TG"},{name:"Tripura",shortCode:"TR"},{name:"Uttarakhand",shortCode:"UT"},{name:"Uttar Pradesh",shortCode:"UP"},{name:"West Bengal",shortCode:"WB"}]},{countryName:"Indonesia",countryShortCode:"ID",regions:[{name:"Aceh",shortCode:"AC"},{name:"Bali",shortCode:"BA"},{name:"Bangka Belitung",shortCode:"BB"},{name:"Banten",shortCode:"BT"},{name:"Bengkulu",shortCode:"BE"},{name:"Gorontalo",shortCode:"GO"},{name:"Jakarta Raya",shortCode:"JK"},{name:"Jambi",shortCode:"JA"},{name:"Jawa Barat",shortCode:"JB"},{name:"Jawa Tengah",shortCode:"JT"},{name:"Jawa Timur",shortCode:"JI"},{name:"Kalimantan Barat",shortCode:"KB"},{name:"Kalimantan Selatan",shortCode:"KS"},{name:"Kalimantan Tengah",shortCode:"KT"},{name:"Kalimantan Timur",shortCode:"KI"},{name:"Kalimantan Utara",shortCode:"KU"},{name:"Kepulauan Riau",shortCode:"KR"},{name:"Lampung",shortCode:"LA"},{name:"Maluku",shortCode:"MA"},{name:"Maluku Utara",shortCode:"MU"},{name:"Nusa Tenggara Barat",shortCode:"NB"},{name:"Nusa Tenggara Timur",shortCode:"NT"},{name:"Papua",shortCode:"PA"},{name:"Papua Barat",shortCode:"PB"},{name:"Riau",shortCode:"RI"},{name:"Sulawesi Selatan",shortCode:"SR"},{name:"Sulawesi Tengah",shortCode:"ST"},{name:"Sulawesi Tenggara",shortCode:"SG"},{name:"Sulawesi Utara",shortCode:"SA"},{name:"Sumatera Barat",shortCode:"SB"},{name:"Sumatera Selatan",shortCode:"SS"},{name:"Sumatera Utara",shortCode:"SU"},{name:"Yogyakarta",shortCode:"YO"}]},{countryName:"Iran, Islamic Republic of",countryShortCode:"IR",regions:[{name:"Alborz",shortCode:"32"},{name:"Ardab\u012bl",shortCode:"03"},{name:"\u0100z\u0304arb\u0101yj\u0101n-e Gharb\u012b",shortCode:"02"},{name:"\u0100z\u0304arb\u0101yj\u0101n-e Sharq\u012b",shortCode:"01"},{name:"B\u016bshehr",shortCode:"06"},{name:"Chah\u0101r Ma\u1e29\u0101l va Bakht\u012b\u0101r\u012b",shortCode:"08"},{name:"E\u015ffah\u0101n",shortCode:"04"},{name:"F\u0101rs",shortCode:"14"},{name:"G\u012bl\u0101n",shortCode:"19"},{name:"Golest\u0101n",shortCode:"27"},{name:"Hamad\u0101n",shortCode:"24"},{name:"Hormozg\u0101n",shortCode:"23"},{name:"\u012al\u0101m",shortCode:"05"},{name:"Kerm\u0101n",shortCode:"15"},{name:"Kerm\u0101nsh\u0101h",shortCode:"17"},{name:"Khor\u0101s\u0101n-e Jon\u016bb\u012b",shortCode:"29"},{name:"Khor\u0101s\u0101n-e Ra\u1e95av\u012b",shortCode:"30"},{name:"Khor\u0101s\u0101n-e Shom\u0101l\u012b",shortCode:"61"},{name:"Kh\u016bzest\u0101n",shortCode:"10"},{name:"Kohg\u012bl\u016byeh va Bowyer A\u1e29mad",shortCode:"18"},{name:"Kordest\u0101n",shortCode:"16"},{name:"Lorest\u0101n",shortCode:"20"},{name:"Markazi",shortCode:"22"},{name:"M\u0101zandar\u0101n",shortCode:"21"},{name:"Qazv\u012bn",shortCode:"28"},{name:"Qom",shortCode:"26"},{name:"Semn\u0101n",shortCode:"12"},{name:"S\u012bst\u0101n va Bal\u016bchest\u0101n",shortCode:"13"},{name:"Tehr\u0101n",shortCode:"07"},{name:"Yazd",shortCode:"25"},{name:"Zanj\u0101n",shortCode:"11"}]},{countryName:"Iraq",countryShortCode:"IQ",regions:[{name:"Al Anb\u0101r",shortCode:"AN"},{name:"Al Ba\u015frah",shortCode:"BA"},{name:"Al Muthann\xe1",shortCode:"MU"},{name:"Al Q\u0101dis\u012byah",shortCode:"QA"},{name:"An Najaf",shortCode:"NA"},{name:"Arb\u012bl",shortCode:"AR"},{name:"As Sulaym\u0101n\u012byah",shortCode:"SU"},{name:"B\u0101bil",shortCode:"BB"},{name:"Baghd\u0101d",shortCode:"BG"},{name:"Dohuk",shortCode:"DA"},{name:"Dh\u012b Q\u0101r",shortCode:"DQ"},{name:"Diy\u0101l\xe1",shortCode:"DI"},{name:"Karbal\u0101'",shortCode:"KA"},{name:"Kirkuk",shortCode:"KI"},{name:"Mays\u0101n",shortCode:"MA"},{name:"N\u012bnaw\xe1",shortCode:"NI"},{name:"\u015eal\u0101\u1e29 ad D\u012bn",shortCode:"SD"},{name:"W\u0101si\u0163",shortCode:"WA"}]},{countryName:"Ireland",countryShortCode:"IE",regions:[{name:"Carlow",shortCode:"CW"},{name:"Cavan",shortCode:"CN"},{name:"Clare",shortCode:"CE"},{name:"Cork",shortCode:"CO"},{name:"Donegal",shortCode:"DL"},{name:"Dublin",shortCode:"D"},{name:"Galway",shortCode:"G"},{name:"Kerry",shortCode:"KY"},{name:"Kildare",shortCode:"KE"},{name:"Kilkenny",shortCode:"KK"},{name:"Laois",shortCode:"LS"},{name:"Leitrim",shortCode:"LM"},{name:"Limerick",shortCode:"LK"},{name:"Longford",shortCode:"LD"},{name:"Louth",shortCode:"LH"},{name:"Mayo",shortCode:"MO"},{name:"Meath",shortCode:"MH"},{name:"Monaghan",shortCode:"MN"},{name:"Offaly",shortCode:"OY"},{name:"Roscommon",shortCode:"RN"},{name:"Sligo",shortCode:"SO"},{name:"Tipperary",shortCode:"TA"},{name:"Waterford",shortCode:"WD"},{name:"Westmeath",shortCode:"WH"},{name:"Wexford",shortCode:"WX"},{name:"Wicklow",shortCode:"WW"}]},{countryName:"Isle of Man",countryShortCode:"IM",regions:[{name:"Isle of Man"}]},{countryName:"Israel",countryShortCode:"IL",regions:[{name:"HaDarom",shortCode:"D"},{name:"HaMerkaz",shortCode:"M"},{name:"HaTsafon",shortCode:"Z"},{name:"H\u0331efa",shortCode:"HA"},{name:"Tel-Aviv",shortCode:"TA"},{name:"Yerushalayim",shortCode:"JM"}]},{countryName:"Italy",countryShortCode:"IT",regions:[{name:"Abruzzo",shortCode:"65"},{name:"Basilicata",shortCode:"77"},{name:"Calabria",shortCode:"78"},{name:"Campania",shortCode:"72"},{name:"Emilia-Romagna",shortCode:"45"},{name:"Friuli-Venezia Giulia",shortCode:"36"},{name:"Lazio",shortCode:"62"},{name:"Liguria",shortCode:"42"},{name:"Lombardia",shortCode:"25"},{name:"Marche",shortCode:"57"},{name:"Molise",shortCode:"67"},{name:"Piemonte",shortCode:"21"},{name:"Puglia",shortCode:"75"},{name:"Sardegna",shortCode:"88"},{name:"Sicilia",shortCode:"82"},{name:"Toscana",shortCode:"52"},{name:"Trentino-Alto Adige",shortCode:"32"},{name:"Umbria",shortCode:"55"},{name:"Valle d'Aosta",shortCode:"23"},{name:"Veneto",shortCode:"34"}]},{countryName:"Jamaica",countryShortCode:"JM",regions:[{name:"Clarendon",shortCode:"13"},{name:"Hanover",shortCode:"09"},{name:"Kingston",shortCode:"01"},{name:"Manchester",shortCode:"12"},{name:"Portland",shortCode:"04"},{name:"Saint Andrew",shortCode:"02"},{name:"Saint Ann",shortCode:"06"},{name:"Saint Catherine",shortCode:"14"},{name:"Saint Elizabeth",shortCode:"11"},{name:"Saint James",shortCode:"08"},{name:"Saint Mary",shortCode:"05"},{name:"Saint Thomas",shortCode:"03"},{name:"Trelawny",shortCode:"07"},{name:"Westmoreland",shortCode:"10"}]},{countryName:"Japan",countryShortCode:"JP",regions:[{name:"Aichi",shortCode:"23"},{name:"Akita",shortCode:"05"},{name:"Aomori",shortCode:"02"},{name:"Chiba",shortCode:"12"},{name:"Ehime",shortCode:"38"},{name:"Fukui",shortCode:"18"},{name:"Fukuoka",shortCode:"40"},{name:"Fukushima",shortCode:"07"},{name:"Gifu",shortCode:"21"},{name:"Gunma",shortCode:"10"},{name:"Hiroshima",shortCode:"34"},{name:"Hokkaido",shortCode:"01"},{name:"Hyogo",shortCode:"28"},{name:"Ibaraki",shortCode:"08"},{name:"Ishikawa",shortCode:"17"},{name:"Iwate",shortCode:"03"},{name:"Kagawa",shortCode:"37"},{name:"Kagoshima",shortCode:"46"},{name:"Kanagawa",shortCode:"14"},{name:"Kochi",shortCode:"39"},{name:"Kumamoto",shortCode:"43"},{name:"Kyoto",shortCode:"26"},{name:"Mie",shortCode:"24"},{name:"Miyagi",shortCode:"04"},{name:"Miyazaki",shortCode:"45"},{name:"Nagano",shortCode:"20"},{name:"Nagasaki",shortCode:"42"},{name:"Nara",shortCode:"29"},{name:"Niigata",shortCode:"15"},{name:"Oita",shortCode:"44"},{name:"Okayama",shortCode:"33"},{name:"Okinawa",shortCode:"47"},{name:"Osaka",shortCode:"27"},{name:"Saga",shortCode:"41"},{name:"Saitama",shortCode:"11"},{name:"Shiga",shortCode:"25"},{name:"Shimane",shortCode:"32"},{name:"Shizuoka",shortCode:"22"},{name:"Tochigi",shortCode:"09"},{name:"Tokushima",shortCode:"36"},{name:"Tokyo",shortCode:"13"},{name:"Tottori",shortCode:"31"},{name:"Toyama",shortCode:"16"},{name:"Wakayama",shortCode:"30"},{name:"Yamagata",shortCode:"06"},{name:"Yamaguchi",shortCode:"35"},{name:"Yamanashi",shortCode:"19"}]},{countryName:"Jersey",countryShortCode:"JE",regions:[{name:"Jersey"}]},{countryName:"Jordan",countryShortCode:"JO",regions:[{name:"\u2018Ajl\u016bn",shortCode:"AJ"},{name:"Al 'Aqabah",shortCode:"AQ"},{name:"Al Balq\u0101\u2019",shortCode:"BA"},{name:"Al Karak",shortCode:"KA"},{name:"Al Mafraq",shortCode:"MA"},{name:"Al \u2018A\u0305\u015fimah",shortCode:"AM"},{name:"A\u0163 \u0162af\u012blah",shortCode:"AT"},{name:"Az Zarq\u0101\u2019",shortCode:"AZ"},{name:"Irbid",shortCode:"IR"},{name:"Jarash",shortCode:"JA"},{name:"Ma\u2018\u0101n",shortCode:"MN"},{name:"M\u0101dab\u0101",shortCode:"MD"}]},{countryName:"Kazakhstan",countryShortCode:"KZ",regions:[{name:"Almaty",shortCode:"ALA"},{name:"Aqmola",shortCode:"AKM"},{name:"Aqtobe",shortCode:"AKT"},{name:"Astana",shortCode:"AST"},{name:"Atyrau",shortCode:"ATY"},{name:"Batys Qazaqstan",shortCode:"ZAP"},{name:"Bayqongyr"},{name:"Mangghystau",shortCode:"MAN"},{name:"Ongtustik Qazaqstan",shortCode:"YUZ"},{name:"Pavlodar",shortCode:"PAV"},{name:"Qaraghandy",shortCode:"KAR"},{name:"Qostanay",shortCode:"KUS"},{name:"Qyzylorda",shortCode:"KZY"},{name:"Shyghys Qazaqstan",shortCode:"VOS"},{name:"Soltustik Qazaqstan",shortCode:"SEV"},{name:"Zhambyl",shortCode:"ZHA"}]},{countryName:"Kenya",countryShortCode:"KE",regions:[{name:"Baringo",shortCode:"01"},{name:"Bomet",shortCode:"02"},{name:"Bungoma",shortCode:"03"},{name:"Busia",shortCode:"04"},{name:"Eleyo/Marakwet",shortCode:"05"},{name:"Embu",shortCode:"06"},{name:"Garissa",shortCode:"07"},{name:"Homa Bay",shortCode:"08"},{name:"Isiolo",shortCode:"09"},{name:"Kajiado",shortCode:"10"},{name:"Kakamega",shortCode:"11"},{name:"Kericho",shortCode:"12"},{name:"Kiambu",shortCode:"13"},{name:"Kilifi",shortCode:"14"},{name:"Kirinyaga",shortCode:"15"},{name:"Kisii",shortCode:"16"},{name:"Kisumu",shortCode:"17"},{name:"Kitui",shortCode:"18"},{name:"Kwale",shortCode:"19"},{name:"Laikipia",shortCode:"20"},{name:"Lamu",shortCode:"21"},{name:"Machakos",shortCode:"22"},{name:"Makueni",shortCode:"23"},{name:"Mandera",shortCode:"24"},{name:"Marsabit",shortCode:"25"},{name:"Meru",shortCode:"26"},{name:"Migori",shortCode:"27"},{name:"Mombasa",shortCode:"28"},{name:"Murang'a",shortCode:"29"},{name:"Nairobi City",shortCode:"30"},{name:"Nakuru",shortCode:"31"},{name:"Nandi",shortCode:"32"},{name:"Narok",shortCode:"33"},{name:"Nyamira",shortCode:"34"},{name:"Nyandarua",shortCode:"35"},{name:"Nyeri",shortCode:"36"},{name:"Samburu",shortCode:"37"},{name:"Siaya",shortCode:"38"},{name:"Taita/Taveta",shortCode:"39"},{name:"Tana River",shortCode:"40"},{name:"Tharaka-Nithi",shortCode:"41"},{name:"Trans Nzoia",shortCode:"42"},{name:"Turkana",shortCode:"43"},{name:"Uasin Gishu",shortCode:"44"},{name:"Vihiga",shortCode:"45"},{name:"Wajir",shortCode:"46"},{name:"West Pokot",shortCode:"47"}]},{countryName:"Kiribati",countryShortCode:"KI",regions:[{name:"Abaiang"},{name:"Abemama"},{name:"Aranuka"},{name:"Arorae"},{name:"Banaba"},{name:"Beru"},{name:"Butaritari"},{name:"Central Gilberts"},{name:"Gilbert Islands",shortCode:"G"},{name:"Kanton"},{name:"Kiritimati"},{name:"Kuria"},{name:"Line Islands",shortCode:"L"},{name:"Maiana"},{name:"Makin"},{name:"Marakei"},{name:"Nikunau"},{name:"Nonouti"},{name:"Northern Gilberts"},{name:"Onotoa"},{name:"Phoenix Islands",shortCode:"P"},{name:"Southern Gilberts"},{name:"Tabiteuea"},{name:"Tabuaeran"},{name:"Tamana"},{name:"Tarawa"},{name:"Teraina"}]},{countryName:"Korea, Democratic People's Republic of",countryShortCode:"KP",regions:[{name:"Chagang-do (Chagang Province)",shortCode:"04"},{name:"Hamgyong-bukto (North Hamgyong Province)",shortCode:"09"},{name:"Hamgyong-namdo (South Hamgyong Province)",shortCode:"08"},{name:"Hwanghae-bukto (North Hwanghae Province)",shortCode:"06"},{name:"Hwanghae-namdo (South Hwanghae Province)",shortCode:"05"},{name:"Kangwon-do (Kangwon Province)",shortCode:"07"},{name:"Nas\u014fn (Najin-S\u014fnbong)",shortCode:"13"},{name:"P'yongan-bukto (North P'yongan Province)",shortCode:"03"},{name:"P'yongan-namdo (South P'yongan Province)",shortCode:"02"},{name:"P'yongyang-si (P'yongyang City)",shortCode:"01"},{name:"Yanggang-do (Yanggang Province)",shortCode:"10"}]},{countryName:"Korea, Republic of",countryShortCode:"KR",regions:[{name:"Chungcheongbuk-do",shortCode:"43"},{name:"Chungcheongnam-do",shortCode:"44"},{name:"Jeju-teukbyeoljachido",shortCode:"49"},{name:"Jeollabuk-do",shortCode:"45"},{name:"Jeollanam-do",shortCode:"46"},{name:"Incheon-gwangyeoksi",shortCode:"28"},{name:"Gangwon-do",shortCode:"42"},{name:"Gwangju-gwangyeoksi",shortCode:"29"},{name:"Gyeonggi-do",shortCode:"41"},{name:"Gyeongsangbuk-do",shortCode:"47"},{name:"Gyeongsangnam-do",shortCode:"48"},{name:"Busan-gwangyeoksi",shortCode:"26"},{name:"Seoul-teukbyeolsi",shortCode:"11"},{name:"Sejong-teukbyeoljachisi",shortCode:"50"},{name:"Daegu-gwangyeoksi",shortCode:"27"},{name:"Daejeon-gwangyeoksi",shortCode:"30"},{name:"Ulsan-gwangyeoksi",shortCode:"31"}]},{countryName:"Kosovo",countryShortCode:"XK",regions:[{name:"Farizaj",shortCode:"FZ"},{name:"Gjakova",shortCode:"GK"},{name:"Gjilan",shortCode:"GL"},{name:"Mitrovica",shortCode:"MI"},{name:"Peja/Pe\u0107",shortCode:"PE"},{name:"Pristina",shortCode:"PR"},{name:"Prizren",shortCode:"PZ"}]},{countryName:"Kuwait",countryShortCode:"KW",regions:[{name:"Al A\u1e29madi",shortCode:"AH"},{name:"Al Farw\u0101n\u012byah",shortCode:"FA"},{name:"Al Jahr\u0101\u2019",shortCode:"JA"},{name:"Al \u2018\u0100\u015fimah",shortCode:"KU"},{name:"\u1e28awall\u012b",shortCode:"HA"},{name:"Mub\u0101rak al Kabir",shortCode:"MU"}]},{countryName:"Kyrgyzstan",countryShortCode:"KG",regions:[{name:"Batken Oblasty",shortCode:"B"},{name:"Bishkek Shaary",shortCode:"GB"},{name:"Chuy Oblasty (Bishkek)",shortCode:"C"},{name:"Jalal-Abad Oblasty",shortCode:"J"},{name:"Naryn Oblasty",shortCode:"N"},{name:"Osh Oblasty",shortCode:"O"},{name:"Talas Oblasty",shortCode:"T"},{name:"Ysyk-Kol Oblasty (Karakol)",shortCode:"Y"}]},{countryName:"Laos",countryShortCode:"LA",regions:[{name:"Attapu",shortCode:"AT"},{name:"Bok\xe8o",shortCode:"BK"},{name:"Bolikhamxai",shortCode:"BL"},{name:"Champasak",shortCode:"CH"},{name:"Houaphan",shortCode:"HO"},{name:"Khammouan",shortCode:"KH"},{name:"Louang Namtha",shortCode:"LM"},{name:"Louangphabang",shortCode:"LP"},{name:"Oud\xf4mxai",shortCode:"OU"},{name:"Ph\xf4ngsali",shortCode:"PH"},{name:"Salavan",shortCode:"SL"},{name:"Savannakh\xe9t",shortCode:"SV"},{name:"Vientiane",shortCode:"VI"},{name:"Xaignabouli",shortCode:"XA"},{name:"X\xe9kong",shortCode:"XE"},{name:"Xaisomboun",shortCode:"XS"},{name:"Xiangkhouang",shortCode:"XI"}]},{countryName:"Latvia",countryShortCode:"LV",regions:[{name:"Aglona",shortCode:"001"},{name:"Aizkraukle",shortCode:"002"},{name:"Aizpute",shortCode:"003"},{name:"Akn\u012bste",shortCode:"004"},{name:"Aloja",shortCode:"005"},{name:"Alsunga",shortCode:"06"},{name:"Al\u016bksne",shortCode:"007"},{name:"Amata",shortCode:"008"},{name:"Ape",shortCode:"009"},{name:"Auce",shortCode:"010"},{name:"\u0100da\u017ei",shortCode:"011"},{name:"Bab\u012bte",shortCode:"012"},{name:"Baldone",shortCode:"013"},{name:"Baltinava",shortCode:"014"},{name:"Balvi",shortCode:"015"},{name:"Bauska",shortCode:"016"},{name:"Bever\u012bna",shortCode:"017"},{name:"Broc\u0113ni",shortCode:"018"},{name:"Burtnieki",shortCode:"019"},{name:"Carnikava",shortCode:"020"},{name:"Cesvaine",shortCode:"021"},{name:"C\u0113sis",shortCode:"022"},{name:"Cibla",shortCode:"023"},{name:"Dagda",shortCode:"024"},{name:"Daugavpils",shortCode:"025"},{name:"Daugavpils (City)",shortCode:"DGV"},{name:"Dobele",shortCode:"026"},{name:"Dundaga",shortCode:"027"},{name:"Durbe",shortCode:"028"},{name:"Engure",shortCode:"029"},{name:"\u0112rg\u013ci",shortCode:"030"},{name:"Garkalne",shortCode:"031"},{name:"Grobi\u0146a",shortCode:"032"},{name:"Gulbene",shortCode:"033"},{name:"Iecava",shortCode:"034"},{name:"Ik\u0161\u0137ile",shortCode:"035"},{name:"Il\u016bkste",shortCode:"036"},{name:"In\u010dukalns",shortCode:"037"},{name:"Jaunjelgava",shortCode:"038"},{name:"Jaunpiebalga",shortCode:"039"},{name:"Jaunpils",shortCode:"040"},{name:"Jelgava",shortCode:"041"},{name:"Jelgava (City)",shortCode:"JEL"},{name:"J\u0113kabpils",shortCode:"042"},{name:"J\u0113kabpils (City)",shortCode:"JKB"},{name:"J\u016brmala (City)",shortCode:"JUR"},{name:"Kandava",shortCode:"043"},{name:"K\u0101rsava",shortCode:"044"},{name:"Koc\u0113ni",shortCode:"045"},{name:"Koknese",shortCode:"046"},{name:"Kr\u0101slava",shortCode:"047"},{name:"Krimulda",shortCode:"048"},{name:"Krustpils",shortCode:"049"},{name:"Kuld\u012bga",shortCode:"050"},{name:"\u0136egums",shortCode:"051"},{name:"\u0136ekava",shortCode:"052"},{name:"Lielv\u0101rde",shortCode:"053"},{name:"Liep\u0101ja",shortCode:"LPX"},{name:"Limba\u017ei",shortCode:"054"},{name:"L\u012bgatne",shortCode:"055"},{name:"L\u012bv\u0101ni",shortCode:"056"},{name:"Lub\u0101na",shortCode:"057"},{name:"Ludza",shortCode:"058"},{name:"Madona",shortCode:"059"},{name:"Mazsalaca",shortCode:"060"},{name:"M\u0101lpils",shortCode:"061"},{name:"M\u0101rupe",shortCode:"062"},{name:"M\u0113rsrags",shortCode:"063"},{name:"Nauk\u0161\u0113ni",shortCode:"064"},{name:"Nereta",shortCode:"065"},{name:"N\u012bca",shortCode:"066"},{name:"Ogre",shortCode:"067"},{name:"Olaine",shortCode:"068"},{name:"Ozolnieki",shortCode:"069"},{name:"P\u0101rgauja",shortCode:"070"},{name:"P\u0101vilosta",shortCode:"071"},{name:"P\u013cavi\u0146as",shortCode:"072"},{name:"Prei\u013ci",shortCode:"073"},{name:"Priekule",shortCode:"074"},{name:"Prieku\u013ci",shortCode:"075"},{name:"Rauna",shortCode:"076"},{name:"R\u0113zekne",shortCode:"077"},{name:"R\u0113zekne (City)",shortCode:"REZ"},{name:"Riebi\u0146i",shortCode:"078"},{name:"R\u012bga",shortCode:"RIX"},{name:"Roja",shortCode:"079"},{name:"Ropa\u017ei",shortCode:"080"},{name:"Rucava",shortCode:"081"},{name:"Rug\u0101ji",shortCode:"082"},{name:"Rund\u0101le",shortCode:"083"},{name:"R\u016bjiena",shortCode:"084"},{name:"Sala",shortCode:"085"},{name:"Salacgr\u012bva",shortCode:"086"},{name:"Salaspils",shortCode:"087"},{name:"Saldus",shortCode:"088"},{name:"Saulkrasti",shortCode:"089"},{name:"S\u0113ja",shortCode:"090"},{name:"Sigulda",shortCode:"091"},{name:"Skr\u012bveri",shortCode:"092"},{name:"Skrunda",shortCode:"093"},{name:"Smiltene",shortCode:"094"},{name:"Stopi\u0146i",shortCode:"095"},{name:"Stren\u010di",shortCode:"096"},{name:"Talsi",shortCode:"097"},{name:"T\u0113rvete",shortCode:"098"},{name:"Tukums",shortCode:"099"},{name:"Vai\u0146ode",shortCode:"100"},{name:"Valka",shortCode:"101"},{name:"Valmiera",shortCode:"VMR"},{name:"Varak\u013c\u0101ni",shortCode:"102"},{name:"V\u0101rkava",shortCode:"103"},{name:"Vecpiebalga",shortCode:"104"},{name:"Vecumnieki",shortCode:"105"},{name:"Ventspils",shortCode:"106"},{name:"Ventspils (City)",shortCode:"VEN"},{name:"Vies\u012bte",shortCode:"107"},{name:"Vi\u013caka",shortCode:"108"},{name:"Vi\u013c\u0101ni",shortCode:"109"},{name:"Zilupe",shortCode:"110"}]},{countryName:"Lebanon",countryShortCode:"LB",regions:[{name:"Aakk\xe2r",shortCode:"AK"},{name:"Baalbelk-Hermel",shortCode:"BH"},{name:"B\xe9qaa",shortCode:"BI"},{name:"Beyrouth",shortCode:"BA"},{name:"Liban-Nord",shortCode:"AS"},{name:"Liban-Sud",shortCode:"JA"},{name:"Mont-Liban",shortCode:"JL"},{name:"Nabat\xeey\xe9",shortCode:"NA"}]},{countryName:"Lesotho",countryShortCode:"LS",regions:[{name:"Berea",shortCode:"D"},{name:"Butha-Buthe",shortCode:"B"},{name:"Leribe",shortCode:"C"},{name:"Mafeteng",shortCode:"E"},{name:"Maseru",shortCode:"A"},{name:"Mohales Hoek",shortCode:"F"},{name:"Mokhotlong",shortCode:"J"},{name:"Qacha's Nek",shortCode:"H"},{name:"Quthing",shortCode:"G"},{name:"Thaba-Tseka",shortCode:"K"}]},{countryName:"Liberia",countryShortCode:"LR",regions:[{name:"Bomi",shortCode:"BM"},{name:"Bong",shortCode:"BG"},{name:"Gbarpolu",shortCode:"GP"},{name:"Grand Bassa",shortCode:"GB"},{name:"Grand Cape Mount",shortCode:"CM"},{name:"Grand Gedeh",shortCode:"GG"},{name:"Grand Kru",shortCode:"GK"},{name:"Lofa",shortCode:"LO"},{name:"Margibi",shortCode:"MG"},{name:"Maryland",shortCode:"MY"},{name:"Montserrado",shortCode:"MO"},{name:"Nimba",shortCode:"NI"},{name:"River Cess",shortCode:"RI"},{name:"River Geee",shortCode:"RG"},{name:"Sinoe",shortCode:"SI"}]},{countryName:"Libya",countryShortCode:"LY",regions:[{name:"Al Bu\u0163n\u0101n",shortCode:"BU"},{name:"Al Jabal al Akh\u1e11ar",shortCode:"JA"},{name:"Al Jabal al Gharb\u012b",shortCode:"JG"},{name:"Al Jaf\u0101rah",shortCode:"JI"},{name:"Al Jufrah",shortCode:"JU"},{name:"Al Kufrah",shortCode:"FK"},{name:"Al Marj",shortCode:"MJ"},{name:"Al Marquab",shortCode:"MB"},{name:"Al W\u0101\u1e29\u0101t",shortCode:"WA"},{name:"An Nuqa\u0163 al Khams",shortCode:"NQ"},{name:"Az Z\u0101wiyah",shortCode:"ZA"},{name:"Bangh\u0101z\u012b",shortCode:"BA"},{name:"Darnah",shortCode:"DR"},{name:"Gh\u0101t",shortCode:"GH"},{name:"Mi\u015fr\u0101tah",shortCode:"MI"},{name:"Murzuq",shortCode:"MQ"},{name:"N\u0101l\u016bt",shortCode:"NL"},{name:"Sabh\u0101",shortCode:"SB"},{name:"Surt",shortCode:"SR"},{name:"\u0162ar\u0101bulus",shortCode:"TB"},{name:"Yafran",shortCode:"WD"},{name:"W\u0101d\u012b ash Sh\u0101\u0163i\u02be",shortCode:"WS"}]},{countryName:"Liechtenstein",countryShortCode:"LI",regions:[{name:"Balzers",shortCode:"01"},{name:"Eschen",shortCode:"02"},{name:"Gamprin",shortCode:"03"},{name:"Mauren",shortCode:"04"},{name:"Planken",shortCode:"05"},{name:"Ruggell",shortCode:"06"},{name:"Schaan",shortCode:"07"},{name:"Schellenberg",shortCode:"08"},{name:"Triesen",shortCode:"09"},{name:"Triesenberg",shortCode:"10"},{name:"Vaduz",shortCode:"11"}]},{countryName:"Lithuania",countryShortCode:"LT",regions:[{name:"Alytaus",shortCode:"AL"},{name:"Kauno",shortCode:"KU"},{name:"Klaip\u0117dos",shortCode:"KL"},{name:"Marijampol\u0117s",shortCode:"MR"},{name:"Panev\u0117\u017eio",shortCode:"PN"},{name:"\u0160iauli\u0173",shortCode:"SA"},{name:"Taurag\u0117s",shortCode:"TA"},{name:"Tel\u0161i\u0173",shortCode:"TE"},{name:"Utenos",shortCode:"UT"},{name:"Vilniaus",shortCode:"VL"}]},{countryName:"Luxembourg",countryShortCode:"LU",regions:[{name:"Capellen",shortCode:"CA"},{name:"Clevaux",shortCode:"CL"},{name:"Diekirch",shortCode:"DI"},{name:"Echternach",shortCode:"EC"},{name:"Esch-sur-Alzette",shortCode:"ES"},{name:"Grevenmacher",shortCode:"GR"},{name:"Luxembourg",shortCode:"LU"},{name:"Mersch",shortCode:"ME"},{name:"Redange",shortCode:"RD"},{name:"Remich",shortCode:"RM"},{name:"Vianden",shortCode:"VD"},{name:"Wiltz",shortCode:"WI"}]},{countryName:"Macao",countryShortCode:"MO",regions:[{name:"Macao"}]},{countryName:"Macedonia, Republic of",countryShortCode:"MK",regions:[{name:"Ara\u010dinovo",shortCode:"02"},{name:"Berovo",shortCode:"03"},{name:"Bitola",shortCode:"04"},{name:"Bogdanci",shortCode:"05"},{name:"Bogovinje",shortCode:"06"},{name:"Bosilovo",shortCode:"07"},{name:"Brvenica",shortCode:"08"},{name:"Centar \u017dupa",shortCode:"78"},{name:"\u010ca\u0161ka",shortCode:"80"},{name:"\u010ce\u0161inovo-Oble\u0161evo",shortCode:"81"},{name:"\u010cu\u010der Sandevo",shortCode:"82"},{name:"Debar",shortCode:"21"},{name:"Debarca",shortCode:"22"},{name:"Del\u010devo",shortCode:"23"},{name:"Demir Hisar",shortCode:"25"},{name:"Demir Kapija",shortCode:"24"},{name:"Doran",shortCode:"26"},{name:"Dolneni",shortCode:"27"},{name:"Gevgelija",shortCode:"18"},{name:"Gostivar",shortCode:"19"},{name:"Gradsko",shortCode:"20"},{name:"Ilinden",shortCode:"34"},{name:"Jegunovce",shortCode:"35"},{name:"Karbinci",shortCode:"37"},{name:"Kavadarci",shortCode:"36"},{name:"Ki\u010devo",shortCode:"40"},{name:"Ko\u010dani",shortCode:"42"},{name:"Kon\u010de",shortCode:"41"},{name:"Kratovo",shortCode:"43"},{name:"Kriva Palanka",shortCode:"44"},{name:"Krivoga\u0161tani",shortCode:"45"},{name:"Kru\u0161evo",shortCode:"46"},{name:"Kumanovo",shortCode:"47"},{name:"Lipkovo",shortCode:"48"},{name:"Lozovo",shortCode:"49"},{name:"Makedonska Kamenica",shortCode:"51"},{name:"Makedonski Brod",shortCode:"52"},{name:"Mavrovo i Rostu\u0161a",shortCode:"50"},{name:"Mogila",shortCode:"53"},{name:"Negotino",shortCode:"54"},{name:"Novaci",shortCode:"55"},{name:"Novo Selo",shortCode:"56"},{name:"Ohrid",shortCode:"58"},{name:"Peh\u010devo",shortCode:"60"},{name:"Petrovec",shortCode:"59"},{name:"Plasnica",shortCode:"61"},{name:"Prilep",shortCode:"62"},{name:"Probi\u0161tip",shortCode:"63"},{name:"Radovi\u0161",shortCode:""},{name:"Rankovce",shortCode:"65"},{name:"Resen",shortCode:"66"},{name:"Rosoman",shortCode:"67"},{name:"Skopje",shortCode:"85"},{name:"Sopi\u0161te",shortCode:"70"},{name:"Staro Nagori\u010dane",shortCode:"71"},{name:"Struga",shortCode:"72"},{name:"Strumica",shortCode:"73"},{name:"Studeni\u010dani",shortCode:"74"},{name:"Sveti Nikole",shortCode:"69"},{name:"\u0160tip",shortCode:"83"},{name:"Tearce",shortCode:"75"},{name:"Tetovo",shortCode:"76"},{name:"Valandovo",shortCode:"10"},{name:"Vasilevo",shortCode:"11"},{name:"Veles",shortCode:"13"},{name:"Vev\u010dani",shortCode:"12"},{name:"Vinica",shortCode:"14"},{name:"Vrap\u010di\u0161te",shortCode:"16"},{name:"Zelenikovo",shortCode:"32"},{name:"Zrnovci",shortCode:"33"},{name:"\u017delino",shortCode:"30"}]},{countryName:"Madagascar",countryShortCode:"MG",regions:[{name:"Antananarivo",shortCode:"T"},{name:"Antsiranana",shortCode:"D"},{name:"Fianarantsoa",shortCode:"F"},{name:"Mahajanga",shortCode:"M"},{name:"Toamasina",shortCode:"A"},{name:"Toliara",shortCode:"U"}]},{countryName:"Malawi",countryShortCode:"MW",regions:[{name:"Balaka",shortCode:"BA"},{name:"Blantyre",shortCode:"BL"},{name:"Chikwawa",shortCode:"CK"},{name:"Chiradzulu",shortCode:"CR"},{name:"Chitipa",shortCode:"CT"},{name:"Dedza",shortCode:"DE"},{name:"Dowa",shortCode:"DO"},{name:"Karonga",shortCode:"KR"},{name:"Kasungu",shortCode:"KS"},{name:"Likoma",shortCode:"LK"},{name:"Lilongwe",shortCode:"LI"},{name:"Machinga",shortCode:"MH"},{name:"Mangochi",shortCode:"MG"},{name:"Mchinji",shortCode:"MC"},{name:"Mulanje",shortCode:"MU"},{name:"Mwanza",shortCode:"MW"},{name:"Mzimba",shortCode:"MZ"},{name:"Nkhata Bay",shortCode:"NE"},{name:"Nkhotakota",shortCode:"NB"},{name:"Nsanje",shortCode:"NS"},{name:"Ntcheu",shortCode:"NU"},{name:"Ntchisi",shortCode:"NI"},{name:"Phalombe",shortCode:"PH"},{name:"Rumphi",shortCode:"RU"},{name:"Salima",shortCode:"SA"},{name:"Thyolo",shortCode:"TH"},{name:"Zomba",shortCode:"ZO"}]},{countryName:"Malaysia",countryShortCode:"MY",regions:[{name:"Johor",shortCode:"01"},{name:"Kedah",shortCode:"02"},{name:"Kelantan",shortCode:"03"},{name:"Melaka",shortCode:"04"},{name:"Negeri Sembilan",shortCode:"05"},{name:"Pahang",shortCode:"06"},{name:"Perak",shortCode:"08"},{name:"Perlis",shortCode:"09"},{name:"Pulau Pinang",shortCode:"07"},{name:"Sabah",shortCode:"12"},{name:"Sarawak",shortCode:"13"},{name:"Selangor",shortCode:"10"},{name:"Terengganu",shortCode:"11"},{name:"Wilayah Persekutuan (Kuala Lumpur)",shortCode:"14"},{name:"Wilayah Persekutuan (Labuan)",shortCode:"15"},{name:"Wilayah Persekutuan (Putrajaya)",shortCode:"16"}]},{countryName:"Maldives",countryShortCode:"MV",regions:[{name:"Alifu Alifu",shortCode:"02"},{name:"Alifu Dhaalu",shortCode:"00"},{name:"Baa",shortCode:"20"},{name:"Dhaalu",shortCode:"17"},{name:"Faafu",shortCode:"14"},{name:"Gaafu Alifu",shortCode:"27"},{name:"Gaafu Dhaalu",shortCode:"28"},{name:"Gnaviyani",shortCode:"29"},{name:"Haa Alifu",shortCode:"07"},{name:"Haa Dhaalu",shortCode:"23"},{name:"Kaafu",shortCode:"26"},{name:"Laamu",shortCode:"05"},{name:"Lhaviyani",shortCode:"03"},{name:"Mal\xe9",shortCode:"MLE"},{name:"Meemu",shortCode:"12"},{name:"Noonu",shortCode:"25"},{name:"Raa",shortCode:"13"},{name:"Seenu",shortCode:"01"},{name:"Shaviyani",shortCode:"24"},{name:"Thaa",shortCode:"08"},{name:"Vaavu",shortCode:"04"}]},{countryName:"Mali",countryShortCode:"ML",regions:[{name:"Bamako",shortCode:"BKO"},{name:"Gao",shortCode:"7"},{name:"Kayes",shortCode:"1"},{name:"Kidal",shortCode:"8"},{name:"Koulikoro",shortCode:"2"},{name:"Mopti",shortCode:"5"},{name:"Segou",shortCode:"4"},{name:"Sikasso",shortCode:"3"},{name:"Tombouctou",shortCode:"6"},{name:"Taoud\xe9nit",shortCode:"9"},{name:"M\xe9naka",shortCode:"10"}]},{countryName:"Malta",countryShortCode:"MT",regions:[{name:"Attard",shortCode:"01"},{name:"Balzan",shortCode:"02"},{name:"Birgu",shortCode:"03"},{name:"Birkirkara",shortCode:"04"},{name:"Bir\u017cebbu\u0121a",shortCode:"05"},{name:"Bormla",shortCode:"06"},{name:"Dingli",shortCode:"07"},{name:"Fgura",shortCode:"08"},{name:"Floriana",shortCode:"09"},{name:"Fontana",shortCode:"10"},{name:"Guda",shortCode:"11"},{name:"G\u017cira",shortCode:"12"},{name:"G\u0127ajnsielem",shortCode:"13"},{name:"G\u0127arb",shortCode:"14"},{name:"G\u0127arg\u0127ur",shortCode:"15"},{name:"G\u0127asri",shortCode:"16"},{name:"G\u0127axaq",shortCode:"17"},{name:"\u0126amrun",shortCode:"18"},{name:"Iklin",shortCode:"19"},{name:"Isla",shortCode:"20"},{name:"Kalkara",shortCode:"21"},{name:"Ker\u010bem",shortCode:"22"},{name:"Kirkop",shortCode:"23"},{name:"Lija",shortCode:"24"},{name:"Luqa",shortCode:"25"},{name:"Marsa",shortCode:"26"},{name:"Marsaskala",shortCode:"27"},{name:"Marsaxlokk",shortCode:"28"},{name:"Mdina",shortCode:"29"},{name:"Mellie\u0127a",shortCode:"30"},{name:"M\u0121arr",shortCode:"31"},{name:"Mosta",shortCode:"32"},{name:"Mqabba",shortCode:"33"},{name:"Msida",shortCode:"34"},{name:"Mtarfa",shortCode:"35"},{name:"Munxar",shortCode:"36"},{name:"Nadur",shortCode:"37"},{name:"Naxxar",shortCode:"38"},{name:"Paola",shortCode:"39"},{name:"Pembroke",shortCode:"40"},{name:"Piet\xe0",shortCode:"41"},{name:"Qala",shortCode:"42"},{name:"Qormi",shortCode:"43"},{name:"Qrendi",shortCode:"44"},{name:"Rabat G\u0127awdex",shortCode:"45"},{name:"Rabat Malta",shortCode:"46"},{name:"Safi",shortCode:"47"},{name:"San \u0120iljan",shortCode:"48"},{name:"San \u0120wann",shortCode:"49"},{name:"San Lawrenz",shortCode:"50"},{name:"San Pawl il-Ba\u0127ar",shortCode:"51"},{name:"Sannat",shortCode:"52"},{name:"Santa Lu\u010bija",shortCode:"53"},{name:"Santa Venera",shortCode:"54"},{name:"Si\u0121\u0121iewi",shortCode:"55"},{name:"Sliema",shortCode:"56"},{name:"Swieqi",shortCode:"57"},{name:"Tai Xbiex",shortCode:"58"},{name:"Tarzien",shortCode:"59"},{name:"Valletta",shortCode:"60"},{name:"Xag\u0127ra",shortCode:"61"},{name:"Xewkija",shortCode:"62"},{name:"Xg\u0127ajra",shortCode:"63"},{name:"\u017babbar",shortCode:"64"},{name:"\u017bebbu\u0121 G\u0127awde",shortCode:"65"},{name:"\u017bebbu\u0121 Malta",shortCode:"66"},{name:"\u017bejtun",shortCode:"67"},{name:"\u017burrieq",shortCode:"68"}]},{countryName:"Marshall Islands",countryShortCode:"MH",regions:[{name:"Ailinglaplap",shortCode:"ALL"},{name:"Ailuk",shortCode:"ALK"},{name:"Arno",shortCode:"ARN"},{name:"Aur",shortCode:"AUR"},{name:"Bikini and Kili",shortCode:"KIL"},{name:"Ebon",shortCode:"EBO"},{name:"Jabat",shortCode:"JAB"},{name:"Jaluit",shortCode:"JAL"},{name:"Kwajalein",shortCode:"KWA"},{name:"Lae",shortCode:"LAE"},{name:"Lib",shortCode:"LIB"},{name:"Likiep",shortCode:"LIK"},{name:"Majuro",shortCode:"MAJ"},{name:"Maloelap",shortCode:"MAL"},{name:"Mejit",shortCode:"MEJ"},{name:"Namdrik",shortCode:"NMK"},{name:"Namu",shortCode:"NMU"},{name:"Rongelap",shortCode:"RON"},{name:"Ujae",shortCode:"UJA"},{name:"Utrik",shortCode:"UTI"},{name:"Wotho",shortCode:"WTH"},{name:"Wotje",shortCode:"WTJ"}]},{countryName:"Martinique",countryShortCode:"MQ",regions:[{name:"Martinique"}]},{countryName:"Mauritania",countryShortCode:"MR",regions:[{name:"Adrar",shortCode:"07"},{name:"Assaba",shortCode:"03"},{name:"Brakna",shortCode:"05"},{name:"Dakhlet Nouadhibou",shortCode:"08"},{name:"Gorgol",shortCode:"04"},{name:"Guidimaka",shortCode:"10"},{name:"Hodh Ech Chargui",shortCode:"01"},{name:"Hodh El Gharbi",shortCode:"02"},{name:"Inchiri",shortCode:"12"},{name:"Nouakchott Nord",shortCode:"14"},{name:"Nouakchott Ouest",shortCode:"13"},{name:"Nouakchott Sud",shortCode:"15"},{name:"Tagant",shortCode:"09"},{name:"Tiris Zemmour",shortCode:"11"},{name:"Trarza",shortCode:"06"}]},{countryName:"Mauritius",countryShortCode:"MU",regions:[{name:"Agalega Islands",shortCode:"AG"},{name:"Beau Bassin-Rose Hill",shortCode:"BR"},{name:"Black River",shortCode:"BL"},{name:"Cargados Carajos Shoals",shortCode:"CC"},{name:"Curepipe",shortCode:"CU"},{name:"Flacq",shortCode:"FL"},{name:"Grand Port",shortCode:"GP"},{name:"Moka",shortCode:"MO"},{name:"Pamplemousses",shortCode:"PA"},{name:"Plaines Wilhems",shortCode:"PW"},{name:"Port Louis (City)",shortCode:"PU"},{name:"Port Louis",shortCode:"PL"},{name:"Riviere du Rempart",shortCode:"RR"},{name:"Rodrigues Island",shortCode:"RO"},{name:"Savanne",shortCode:"SA"},{name:"Vacoas-Phoenix",shortCode:"CP"}]},{countryName:"Mayotte",countryShortCode:"YT",regions:[{name:"Dzaoudzi",shortCode:"01"},{name:"Pamandzi",shortCode:"02"},{name:"Mamoudzou",shortCode:"03"},{name:"Dembeni",shortCode:"04"},{name:"Bandr\xe9l\xe9",shortCode:"05"},{name:"Kani-K\xe9li",shortCode:"06"},{name:"Bou\xe9ni",shortCode:"07"},{name:"Chirongui",shortCode:"08"},{name:"Sada",shortCode:"09"},{name:"Ouangani",shortCode:"10"},{name:"Chiconi",shortCode:"11"},{name:"Tsingoni",shortCode:"12"},{name:"M'Tsangamouji",shortCode:"13"},{name:"Acoua",shortCode:"14"},{name:"Mtsamboro",shortCode:"15"},{name:"Bandraboua",shortCode:"16"},{name:"Koungou",shortCode:"17"}]},{countryName:"Mexico",countryShortCode:"MX",regions:[{name:"Aguascalientes",shortCode:"AGU"},{name:"Baja California",shortCode:"BCN"},{name:"Baja California Sur",shortCode:"BCS"},{name:"Campeche",shortCode:"CAM"},{name:"Ciudad de M\xe9xico",shortCode:"CMX"},{name:"Chiapas",shortCode:"CHP"},{name:"Chihuahua",shortCode:"CHH"},{name:"Coahuila de Zaragoza",shortCode:"COA"},{name:"Colima",shortCode:"COL"},{name:"Durango",shortCode:"DUR"},{name:"Estado de M\xe9xico",shortCode:"MEX"},{name:"Guanajuato",shortCode:"GUA"},{name:"Guerrero",shortCode:"GRO"},{name:"Hidalgo",shortCode:"HID"},{name:"Jalisco",shortCode:"JAL"},{name:"Michoac\xe1n de Ocampo",shortCode:"MIC"},{name:"Morelos",shortCode:"MOR"},{name:"Nayarit",shortCode:"NAY"},{name:"Nuevo Le\xf3n",shortCode:"NLE"},{name:"Oaxaca",shortCode:"OAX"},{name:"Puebla",shortCode:"PUE"},{name:"Quer\xe9taro de Arteaga",shortCode:"QUE"},{name:"Quintana Roo",shortCode:"ROO"},{name:"San Luis Potos\xed",shortCode:"SLP"},{name:"Sinaloa",shortCode:"SIN"},{name:"Sonora",shortCode:"SON"},{name:"Tabasco",shortCode:"TAB"},{name:"Tamaulipas",shortCode:"TAM"},{name:"Tlaxcala",shortCode:"TLA"},{name:"Veracruz",shortCode:"VER"},{name:"Yucat\xe1n",shortCode:"YUC"},{name:"Zacatecas",shortCode:"ZAC"}]},{countryName:"Micronesia, Federated States of",countryShortCode:"FM",regions:[{name:"Chuuk (Truk)",shortCode:"TRK"},{name:"Kosrae",shortCode:"KSA"},{name:"Pohnpei",shortCode:"PNI"},{name:"Yap",shortCode:"YAP"}]},{countryName:"Moldova",countryShortCode:"MD",regions:[{name:"Aenii Noi",shortCode:"AN"},{name:"Basarabeasca",shortCode:"BS"},{name:"B\u0103l\u021bi",shortCode:"BA"},{name:"Bender",shortCode:"BD"},{name:"Briceni",shortCode:"BR"},{name:"Cahul",shortCode:"CA"},{name:"Cantemir",shortCode:"CT"},{name:"C\u0103l\u0103ra\u0219i",shortCode:"CL"},{name:"C\u0103u\u0219eni",shortCode:"CS"},{name:"Chi\u0219in\u0103u",shortCode:"CU"},{name:"Cimi\u0219lia",shortCode:"CM"},{name:"Criuleni",shortCode:"CR"},{name:"Dondu\u0219eni",shortCode:"DO"},{name:"Drochia",shortCode:"DR"},{name:"Dub\u0103sari",shortCode:"DU"},{name:"Edine\u021b",shortCode:"ED"},{name:"F\u0103le\u0219ti",shortCode:"FA"},{name:"Flore\u0219ti",shortCode:"FL"},{name:"G\u0103g\u0103uzia",shortCode:"GA"},{name:"Glodeni",shortCode:"GL"},{name:"H\xeence\u0219ti",shortCode:"HI"},{name:"Ialoveni",shortCode:"IA"},{name:"Leova",shortCode:"LE"},{name:"Nisporeni",shortCode:"NI"},{name:"Ocni\u021ba",shortCode:"OC"},{name:"Orhei",shortCode:"OR"},{name:"Rezina",shortCode:"RE"},{name:"R\xee\u0219cani",shortCode:"RI"},{name:"S\xeengerei",shortCode:"SI"},{name:"Soroca",shortCode:"SO"},{name:"St\xe2nga Nistrului",shortCode:"SN"},{name:"Str\u0103\u0219eni",shortCode:"ST"},{name:"\u0218old\u0103ne\u0219ti",shortCode:"SD"},{name:"\u0218tefan Vod\u0103",shortCode:"SV"},{name:"Taraclia",shortCode:"TA"},{name:"Telene\u0219ti",shortCode:"TE"},{name:"Ungheni",shortCode:"UN"}]},{countryName:"Monaco",countryShortCode:"MC",regions:[{name:"Colle",shortCode:"CL"},{name:"Condamine",shortCode:"CO"},{name:"Fontvieille",shortCode:"FO"},{name:"Gare",shortCode:"GA"},{name:"Jardin Exotique",shortCode:"JE"},{name:"Larvotto",shortCode:"LA"},{name:"Malbousquet",shortCode:"MA"},{name:"Monaco-Ville",shortCode:"MO"},{name:"Moneghetti",shortCode:"MG"},{name:"Monte-Carlo",shortCode:"MC"},{name:"Moulins",shortCode:"MU"},{name:"Port-Hercule",shortCode:"PH"},{name:"Saint-Roman",shortCode:"SR"},{name:"Sainte-D\xe9vote",shortCode:"SD"},{name:"Source",shortCode:"SO"},{name:"Sp\xe9lugues",shortCode:"SP"},{name:"Vallon de la Rousse",shortCode:"VR"}]},{countryName:"Mongolia",countryShortCode:"MN",regions:[{name:"Arhangay",shortCode:"073"},{name:"Bayan-Olgiy",shortCode:"071"},{name:"Bayanhongor",shortCode:"069"},{name:"Bulgan",shortCode:"067"},{name:"Darhan",shortCode:"037"},{name:"Dornod",shortCode:"061"},{name:"Dornogovi",shortCode:"063"},{name:"Dundgovi",shortCode:"059"},{name:"Dzavhan",shortCode:"057"},{name:"Govi-Altay",shortCode:"065"},{name:"Govi-Sumber",shortCode:"064"},{name:"Hovd",shortCode:"043"},{name:"Hovsgol",shortCode:"041"},{name:"Omnogovi",shortCode:"053"},{name:"Ovorhangay",shortCode:"055"},{name:"Selenge",shortCode:"049"},{name:"Suhbaatar",shortCode:"051"},{name:"Tov",shortCode:"047"},{name:"Ulaanbaatar",shortCode:"1"},{name:"Uvs",shortCode:"046"},{name:"Erdenet",shortCode:"074"}]},{countryName:"Montenegro",countryShortCode:"ME",regions:[{name:"Andrijevica",shortCode:"01"},{name:"Bar",shortCode:"02"},{name:"Berane",shortCode:"03"},{name:"Bijelo Polje",shortCode:"04"},{name:"Budva",shortCode:"05"},{name:"Cetinje",shortCode:"06"},{name:"Danilovgrad",shortCode:"07"},{name:"Gusinje",shortCode:"22"},{name:"Herceg Novi",shortCode:"08"},{name:"Kola\u0161in",shortCode:"09"},{name:"Kotor",shortCode:"10"},{name:"Mojkovac",shortCode:"11"},{name:"Nik\u0161i\u0107",shortCode:"12"},{name:"Petnica",shortCode:"23"},{name:"Plav",shortCode:"13"},{name:"Plu\u017eine",shortCode:"14"},{name:"Pljevlja",shortCode:"15"},{name:"Podgorica",shortCode:"16"},{name:"Ro\u017eaje",shortCode:"17"},{name:"\u0160avnik",shortCode:"18"},{name:"Tivat",shortCode:"19"},{name:"Ulcinj",shortCode:"20"},{name:"\u017dabljak",shortCode:"21"}]},{countryName:"Montserrat",countryShortCode:"MS",regions:[{name:"Saint Anthony"},{name:"Saint Georges"},{name:"Saint Peter's"}]},{countryName:"Morocco",countryShortCode:"MA",regions:[{name:"Tanger-T\xe9touan-Al Hoce\xefma",shortCode:"MA-01"},{name:"L'Oriental",shortCode:"MA-02"},{name:"F\xe8s-Mekn\xe8s",shortCode:"MA-03"},{name:"Rabat-Sal\xe9-K\xe9nitra",shortCode:"MA-04"},{name:"B\xe9ni Mellal-Kh\xe9nifra",shortCode:"MA-05"},{name:"Casablanca-Settat",shortCode:"MA-06"},{name:"Marrakech-Safi",shortCode:"MA-07"},{name:"Dr\xe2a-Tafilalet",shortCode:"MA-08"},{name:"Souss-Massa",shortCode:"MA-09"},{name:"Guelmim-Oued Noun",shortCode:"MA-10"},{name:"La\xe2youne-Sakia El Hamra",shortCode:"MA-11"},{name:"Dakhla-Oued Ed-Dahab",shortCode:"MA-12"}]},{countryName:"Mozambique",countryShortCode:"MZ",regions:[{name:"Cabo Delgado",shortCode:"P"},{name:"Gaza",shortCode:"G"},{name:"Inhambane",shortCode:"I"},{name:"Manica",shortCode:"B"},{name:"Maputo",shortCode:"L"},{name:"Maputo (City)",shortCode:"MPM"},{name:"Nampula",shortCode:"N"},{name:"Niassa",shortCode:"A"},{name:"Sofala",shortCode:"S"},{name:"Tete",shortCode:"T"},{name:"Zambezia",shortCode:"Q"}]},{countryName:"Myanmar",countryShortCode:"MM",regions:[{name:"Ayeyarwady",shortCode:"07"},{name:"Bago",shortCode:"02"},{name:"Chin",shortCode:"14"},{name:"Kachin",shortCode:"11"},{name:"Kayah",shortCode:"12"},{name:"Kayin",shortCode:"13"},{name:"Magway",shortCode:"03"},{name:"Mandalay",shortCode:"04"},{name:"Mon",shortCode:"15"},{name:"Nay Pyi Taw",shortCode:"18"},{name:"Rakhine",shortCode:"16"},{name:"Sagaing",shortCode:"01"},{name:"Shan",shortCode:"17"},{name:"Tanintharyi",shortCode:"05"},{name:"Yangon",shortCode:"06"}]},{countryName:"Namibia",countryShortCode:"NA",regions:[{name:"Erongo",shortCode:"ER"},{name:"Hardap",shortCode:"HA"},{name:"Kavango East",shortCode:"KE"},{name:"Kavango West",shortCode:"KW"},{name:"Karas",shortCode:"KA"},{name:"Khomas",shortCode:"KH"},{name:"Kunene",shortCode:"KU"},{name:"Ohangwena",shortCode:"OW"},{name:"Omaheke",shortCode:"OH"},{name:"Omusati",shortCode:"OS"},{name:"Oshana",shortCode:"ON"},{name:"Oshikoto",shortCode:"OT"},{name:"Otjozondjupa",shortCode:"OD"},{name:"Zambezi",shortCode:"CA"}]},{countryName:"Nauru",countryShortCode:"NR",regions:[{name:"Aiwo",shortCode:"01"},{name:"Anabar",shortCode:"02"},{name:"Anetan",shortCode:"03"},{name:"Anibare",shortCode:"04"},{name:"Baiti",shortCode:"05"},{name:"Boe",shortCode:"06"},{name:"Buada",shortCode:"07"},{name:"Denigomodu",shortCode:"08"},{name:"Ewa",shortCode:"09"},{name:"Ijuw",shortCode:"10"},{name:"Meneng",shortCode:"11"},{name:"Nibok",shortCode:"12"},{name:"Uaboe",shortCode:"13"},{name:"Yaren",shortCode:"14"}]},{countryName:"Nepal",countryShortCode:"NP",regions:[{name:"Province No. 1",shortCode:"1"},{name:"Madhesh Province",shortCode:"2"},{name:"Bagmati Province",shortCode:"3"},{name:"Gandaki Province",shortCode:"4"},{name:"Lumbini Province",shortCode:"5"},{name:"Karnali Province",shortCode:"6"},{name:"Sudurpashchim Province",shortCode:"7"}]},{countryName:"Netherlands",countryShortCode:"NL",regions:[{name:"Drenthe",shortCode:"DR"},{name:"Flevoland",shortCode:"FL"},{name:"Friesland",shortCode:"FR"},{name:"Gelderland",shortCode:"GE"},{name:"Groningen",shortCode:"GR"},{name:"Limburg",shortCode:"LI"},{name:"Noord-Brabant",shortCode:"NB"},{name:"Noord-Holland",shortCode:"NH"},{name:"Overijssel",shortCode:"OV"},{name:"Utrecht",shortCode:"UT"},{name:"Zeeland",shortCode:"ZE"},{name:"Zuid-Holland",shortCode:"ZH"}]},{countryName:"New Caledonia",countryShortCode:"NC",regions:[{name:"Iles Loyaute"},{name:"Nord"},{name:"Sud"}]},{countryName:"New Zealand",countryShortCode:"NZ",regions:[{name:"Auckland",shortCode:"AUK"},{name:"Bay of Plenty",shortCode:"BOP"},{name:"Canterbury",shortCode:"CAN"},{name:"Gisborne",shortCode:"GIS"},{name:"Hawke's Bay",shortCode:"HKB"},{name:"Marlborough",shortCode:"MBH"},{name:"Manawatu-Wanganui",shortCode:"MWT"},{name:"Northland",shortCode:"NTL"},{name:"Nelson",shortCode:"NSN"},{name:"Otago",shortCode:"OTA"},{name:"Southland",shortCode:"STL"},{name:"Taranaki",shortCode:"TKI"},{name:"Tasman",shortCode:"TAS"},{name:"Waikato",shortCode:"WKO"},{name:"Wellington",shortCode:"WGN"},{name:"West Coast",shortCode:"WTC"},{name:"Chatham Islands Territory",shortCode:"CIT"}]},{countryName:"Nicaragua",countryShortCode:"NI",regions:[{name:"Boaco",shortCode:"BO"},{name:"Carazo",shortCode:"CA"},{name:"Chinandega",shortCode:"CI"},{name:"Chontales",shortCode:"CO"},{name:"Estel\xed",shortCode:"ES"},{name:"Granada",shortCode:"GR"},{name:"Jinotega",shortCode:"JI"},{name:"Le\xf3n",shortCode:"LE"},{name:"Madriz",shortCode:"MD"},{name:"Managua",shortCode:"MN"},{name:"Masaya",shortCode:"MS"},{name:"Matagalpa",shortCode:"MT"},{name:"Nueva Segovia",shortCode:"NS"},{name:"R\xedo San Juan",shortCode:"SJ"},{name:"Rivas",shortCode:"RI"},{name:"Atl\xe1ntico Norte",shortCode:"AN"},{name:"Atl\xe1ntico Sur",shortCode:"AS"}]},{countryName:"Niger",countryShortCode:"NE",regions:[{name:"Agadez",shortCode:"1"},{name:"Diffa",shortCode:"2"},{name:"Dosso",shortCode:"3"},{name:"Maradi",shortCode:"4"},{name:"Niamey",shortCode:"8"},{name:"Tahoua",shortCode:"5"},{name:"Tillab\xe9ri",shortCode:"6"},{name:"Zinder",shortCode:"7"}]},{countryName:"Nigeria",countryShortCode:"NG",regions:[{name:"Abia",shortCode:"AB"},{name:"Abuja Federal Capital Territory",shortCode:"FC"},{name:"Adamawa",shortCode:"AD"},{name:"Akwa Ibom",shortCode:"AK"},{name:"Anambra",shortCode:"AN"},{name:"Bauchi",shortCode:"BA"},{name:"Bayelsa",shortCode:"BY"},{name:"Benue",shortCode:"BE"},{name:"Borno",shortCode:"BO"},{name:"Cross River",shortCode:"CR"},{name:"Delta",shortCode:"DE"},{name:"Ebonyi",shortCode:"EB"},{name:"Edo",shortCode:"ED"},{name:"Ekiti",shortCode:"EK"},{name:"Enugu",shortCode:"EN"},{name:"Gombe",shortCode:"GO"},{name:"Imo",shortCode:"IM"},{name:"Jigawa",shortCode:"JI"},{name:"Kaduna",shortCode:"KD"},{name:"Kano",shortCode:"KN"},{name:"Katsina",shortCode:"KT"},{name:"Kebbi",shortCode:"KE"},{name:"Kogi",shortCode:"KO"},{name:"Kwara",shortCode:"KW"},{name:"Lagos",shortCode:"LA"},{name:"Nasarawa",shortCode:"NA"},{name:"Niger",shortCode:"NI"},{name:"Ogun",shortCode:"OG"},{name:"Ondo",shortCode:"ON"},{name:"Osun",shortCode:"OS"},{name:"Oyo",shortCode:"OY"},{name:"Plateau",shortCode:"PL"},{name:"Rivers",shortCode:"RI"},{name:"Sokoto",shortCode:"SO"},{name:"Taraba",shortCode:"TA"},{name:"Yobe",shortCode:"YO"},{name:"Zamfara",shortCode:"ZA"}]},{countryName:"Niue",countryShortCode:"NU",regions:[{name:"Niue"}]},{countryName:"Norfolk Island",countryShortCode:"NF",regions:[{name:"Norfolk Island"}]},{countryName:"Northern Mariana Islands",countryShortCode:"MP",regions:[{name:"Northern Islands"},{name:"Rota"},{name:"Saipan"},{name:"Tinian"}]},{countryName:"Norway",countryShortCode:"NO",regions:[{name:"Akershus",shortCode:"02"},{name:"Aust-Agder",shortCode:"09"},{name:"Buskerud",shortCode:"06"},{name:"Finnmark",shortCode:"20"},{name:"Hedmark",shortCode:"04"},{name:"Hordaland",shortCode:"12"},{name:"M\xf8re og Romsdal",shortCode:"15"},{name:"Nordland",shortCode:"18"},{name:"Nord-Tr\xf8ndelag",shortCode:"17"},{name:"Oppland",shortCode:"05"},{name:"Oslo",shortCode:"03"},{name:"Rogaland",shortCode:"11"},{name:"Sogn og Fjordane",shortCode:"14"},{name:"S\xf8r-Tr\xf8ndelag",shortCode:"16"},{name:"Telemark",shortCode:"08"},{name:"Troms",shortCode:"19"},{name:"Vest-Agder",shortCode:"10"},{name:"Vestfold",shortCode:"07"},{name:"\xd8stfold",shortCode:"01"},{name:"Jan Mayen",shortCode:"22"},{name:"Svalbard",shortCode:"21"}]},{countryName:"Oman",countryShortCode:"OM",regions:[{name:"Ad Dakhiliyah",shortCode:"DA"},{name:"Al Buraymi",shortCode:"BU"},{name:"Al Wusta",shortCode:"WU"},{name:"Az Zahirah",shortCode:"ZA"},{name:"Janub al Batinah",shortCode:"BS"},{name:"Janub ash Sharqiyah",shortCode:"SS"},{name:"Masqat",shortCode:"MA"},{name:"Musandam",shortCode:"MU"},{name:"Shamal al Batinah",shortCode:"BJ"},{name:"Shamal ash Sharqiyah",shortCode:"SJ"},{name:"Zufar",shortCode:"ZU"}]},{countryName:"Pakistan",countryShortCode:"PK",regions:[{name:"Azad Kashmir",shortCode:"JK"},{name:"Balochistan",shortCode:"BA"},{name:"Gilgit-Baltistan",shortCode:"GB"},{name:"Islamabad",shortCode:"IS"},{name:"Khaibar Pakhtunkhwa",shortCode:"KP"},{name:"Punjab",shortCode:"PB"},{name:"Sindh",shortCode:"SD"},{name:"Federally Administered Tribal Areas",shortCode:"TA"}]},{countryName:"Palau",countryShortCode:"PW",regions:[{name:"Aimeliik",shortCode:"002"},{name:"Airai",shortCode:"004"},{name:"Angaur",shortCode:"010"},{name:"Hatobohei",shortCode:"050"},{name:"Kayangel",shortCode:"100"},{name:"Koror",shortCode:"150"},{name:"Melekeok",shortCode:"212"},{name:"Ngaraard",shortCode:"214"},{name:"Ngarchelong",shortCode:"218"},{name:"Ngardmau",shortCode:"222"},{name:"Ngatpang",shortCode:"224"},{name:"Ngchesar",shortCode:"226"},{name:"Ngeremlengui",shortCode:"227"},{name:"Ngiwal",shortCode:"228"},{name:"Peleliu",shortCode:"350"},{name:"Sonsoral",shortCode:"370"}]},{countryName:"Palestine, State of",countryShortCode:"PS",regions:[{name:"Ak Khal\u012bl",shortCode:"HBN"},{name:"Al Quds",shortCode:"JEM"},{name:"Ar\u012b\u1e29\u0101 wal Aghw\u0101r",shortCode:"JRH"},{name:"Bayt La\u1e29m",shortCode:"BTH"},{name:"Dayr al Bala\u1e29",shortCode:"DEB"},{name:"Ghazzah",shortCode:"GZA"},{name:"Jan\u012bn",shortCode:"JEN"},{name:"Kh\u0101n Y\u016bnis",shortCode:"KYS"},{name:"N\u0101blus",shortCode:"NBS"},{name:"Qalq\u012byah",shortCode:"QQA"},{name:"Rafa\u1e29",shortCode:"RFH"},{name:"R\u0101m All\u0101h wal B\u012brah",shortCode:"RBH"},{name:"Salf\u012bt",shortCode:"SLT"},{name:"Sham\u0101l Ghazzah",shortCode:"NGZ"},{name:"\u0162\u016bb\u0101s",shortCode:"TBS"},{name:"\u0162\u016blkarm",shortCode:"TKM"}]},{countryName:"Panama",countryShortCode:"PA",regions:[{name:"Bocas del Toro",shortCode:"1"},{name:"Chiriqu\xed",shortCode:"4"},{name:"Cocl\xe9",shortCode:"2"},{name:"Col\xf3n",shortCode:"3"},{name:"Dari\xe9n",shortCode:"5"},{name:"Ember\xe1",shortCode:"EM"},{name:"Herrera",shortCode:"6"},{name:"Kuna Yala",shortCode:"KY"},{name:"Los Santos",shortCode:"7"},{name:"Ng\xe4be-Bugl\xe9",shortCode:"NB"},{name:"Panam\xe1",shortCode:"8"},{name:"Panam\xe1 Oeste",shortCode:"10"},{name:"Veraguas",shortCode:"9"}]},{countryName:"Papua New Guinea",countryShortCode:"PG",regions:[{name:"Bougainville",shortCode:"NSB"},{name:"Central",shortCode:"CPM"},{name:"Chimbu",shortCode:"CPK"},{name:"East New Britain",shortCode:"EBR"},{name:"East Sepik",shortCode:"ESW"},{name:"Eastern Highlands",shortCode:"EHG"},{name:"Enga",shortCode:"EPW"},{name:"Gulf",shortCode:"GPK"},{name:"Hela",shortCode:"HLA"},{name:"Jiwaka",shortCode:"JWK"},{name:"Madang",shortCode:"MOM"},{name:"Manus",shortCode:"MRL"},{name:"Milne Bay",shortCode:"MBA"},{name:"Morobe",shortCode:"MPL"},{name:"Port Moresby",shortCode:"NCD"},{name:"New Ireland",shortCode:"NIK"},{name:"Northern",shortCode:"NPP"},{name:"Southern Highlands",shortCode:"SHM"},{name:"West New Britain",shortCode:"WBK"},{name:"West Sepik",shortCode:"SAN"},{name:"Western",shortCode:"WPD"},{name:"Western Highlands",shortCode:"WHM"}]},{countryName:"Paraguay",countryShortCode:"PY",regions:[{name:"Alto Paraguay",shortCode:"16"},{name:"Alto Parana",shortCode:"10"},{name:"Amambay",shortCode:"13"},{name:"Asuncion",shortCode:"ASU"},{name:"Caaguazu",shortCode:"5"},{name:"Caazapa",shortCode:"6"},{name:"Canindeyu",shortCode:"14"},{name:"Central",shortCode:"11"},{name:"Concepcion",shortCode:"1"},{name:"Cordillera",shortCode:"3"},{name:"Boqueron",shortCode:"17"},{name:"Guaira",shortCode:"4"},{name:"Itapua",shortCode:"7"},{name:"Misiones",shortCode:"8"},{name:"Neembucu",shortCode:"12"},{name:"Paraguari",shortCode:"9"},{name:"Presidente Hayes",shortCode:"15"},{name:"San Pedro",shortCode:"2"}]},{countryName:"Peru",countryShortCode:"PE",regions:[{name:"Amazonas",shortCode:"AMA"},{name:"Ancash",shortCode:"ANC"},{name:"Apurimac",shortCode:"APU"},{name:"Arequipa",shortCode:"ARE"},{name:"Ayacucho",shortCode:"AYA"},{name:"Cajamarca",shortCode:"CAJ"},{name:"Callao",shortCode:"CAL"},{name:"Cusco",shortCode:"CUS"},{name:"Huancavelica",shortCode:"HUV"},{name:"Huanuco",shortCode:"HUC"},{name:"Ica",shortCode:"ICA"},{name:"Junin",shortCode:"JUN"},{name:"La Libertad",shortCode:"LAL"},{name:"Lambayeque",shortCode:"LAM"},{name:"Lima",shortCode:"LIM"},{name:"Loreto",shortCode:"LOR"},{name:"Madre de Dios",shortCode:"MDD"},{name:"Moquegua",shortCode:"MOQ"},{name:"Municipalidad Metropolitana de Lima",shortCode:"LMA"},{name:"Pasco",shortCode:"PAS"},{name:"Piura",shortCode:"PIU"},{name:"Puno",shortCode:"PUN"},{name:"San Martin",shortCode:"SAM"},{name:"Tacna",shortCode:"TAC"},{name:"Tumbes",shortCode:"TUM"},{name:"Ucayali",shortCode:"UCA"}]},{countryName:"Philippines",countryShortCode:"PH",regions:[{name:"Autonomous Region in Muslim Mindanao",shortCode:"PH-14"},{name:"Bicol",shortCode:"PH-05"},{name:"Cagayan Valley",shortCode:"PH-02"},{name:"Calabarzon",shortCode:"PH-40"},{name:"Caraga",shortCode:"PH-13"},{name:"Central Luzon",shortCode:"PH-03"},{name:"Central Visayas",shortCode:"PH-07"},{name:"Cordillera Administrative Region",shortCode:"PH-15"},{name:"Davao",shortCode:"PH-11"},{name:"Eastern Visayas",shortCode:"PH-08"},{name:"Ilocos",shortCode:"PH-01"},{name:"Mimaropa",shortCode:"PH-41"},{name:"National Capital Region",shortCode:"PH-00"},{name:"National Capital Region",shortCode:"PH-00"},{name:"Northern Mindanao",shortCode:"PH-10"},{name:"Northern Mindanao",shortCode:"PH-10"},{name:"Soccsksargen",shortCode:"PH-12"},{name:"Western Visayas",shortCode:"PH-06"},{name:"Zamboanga Peninsula",shortCode:"PH-09"}]},{countryName:"Pitcairn",countryShortCode:"PN",regions:[{name:"Pitcairn Islands"}]},{countryName:"Poland",countryShortCode:"PL",regions:[{name:"Dolno\u015bl\u0105skie",shortCode:"02"},{name:"Kujawsko-pomorskie",shortCode:"04"},{name:"\u0141\xf3dzkie",shortCode:"10"},{name:"Lubelskie",shortCode:"06"},{name:"Lubuskie",shortCode:"08"},{name:"Ma\u0142opolskie",shortCode:"12"},{name:"Mazowieckie",shortCode:"14"},{name:"Opolskie",shortCode:"16"},{name:"Podkarpackie",shortCode:"18"},{name:"Podlaskie",shortCode:"20"},{name:"Pomorskie",shortCode:"22"},{name:"\u015al\u0105skie",shortCode:"24"},{name:"\u015awi\u0119tokrzyskie",shortCode:"26"},{name:"Warmi\u0144sko-mazurskie",shortCode:"28"},{name:"Wielkopolskie",shortCode:"30"},{name:"Zachodniopomorskie",shortCode:"32"}]},{countryName:"Portugal",countryShortCode:"PT",regions:[{name:"A\xe7ores",shortCode:"20"},{name:"Aveiro",shortCode:"01"},{name:"Beja",shortCode:"02"},{name:"Braga",shortCode:"03"},{name:"Bragan\xe7a",shortCode:"04"},{name:"Castelo Branco",shortCode:"05"},{name:"Coimbra",shortCode:"06"},{name:"\xc9vora",shortCode:"07"},{name:"Faro",shortCode:"08"},{name:"Guarda",shortCode:"09"},{name:"Leiria",shortCode:"10"},{name:"Lisboa",shortCode:"11"},{name:"Madeira",shortCode:"30"},{name:"Portalegre",shortCode:"12"},{name:"Porto",shortCode:"13"},{name:"Santar\xe9m",shortCode:"14"},{name:"Set\xfabal",shortCode:"15"},{name:"Viana do Castelo",shortCode:"16"},{name:"Vila Real",shortCode:"17"},{name:"Viseu",shortCode:"18"}]},{countryName:"Puerto Rico",countryShortCode:"PR",regions:[{name:"Adjuntas"},{name:"Aguada"},{name:"Aguadilla"},{name:"Aguas Buenas"},{name:"Aibonito"},{name:"Anasco"},{name:"Arecibo"},{name:"Arroyo"},{name:"Barceloneta"},{name:"Barranquitas"},{name:"Bayamon"},{name:"Cabo Rojo"},{name:"Caguas"},{name:"Camuy"},{name:"Canovanas"},{name:"Carolina"},{name:"Cat"},{name:"Ceiba"},{name:"Ciales"},{name:"Cidra"},{name:"Coamo"},{name:"Comerio"},{name:"Corozal"},{name:"Culebra"},{name:"Dorado"},{name:"Fajardo"},{name:"Florida"},{name:"Guanica"},{name:"Guayama"},{name:"Guayanilla"},{name:"Guaynabo"},{name:"Gurabo"},{name:"Hatillo"},{name:"Hormigueros"},{name:"Humacao"},{name:"Isabe"},{name:"Juana Diaz"},{name:"Juncos"},{name:"Lajas"},{name:"Lares"},{name:"Las Marias"},{name:"Las oiza"},{name:"Luquillo"},{name:"Manati"},{name:"Maricao"},{name:"Maunabo"},{name:"Mayaguez"},{name:"Moca"},{name:"Morovis"},{name:"Naguabo"},{name:"Naranjito"},{name:"Orocovis"},{name:"Patillas"},{name:"Penuelas"},{name:"Ponce"},{name:"Quebradillas"},{name:"Rincon"},{name:"Rio Grande"},{name:"Sabana linas"},{name:"San German"},{name:"San Juan"},{name:"San Lorenzo"},{name:"San Sebastian"},{name:"Santa Isabel"},{name:"Toa Alta"},{name:"Toa Baja"},{name:"Trujillo Alto"},{name:"Utuado"},{name:"Vega Alta"},{name:"Vega ues"},{name:"Villalba"},{name:"Yabucoa"},{name:"Yauco"}]},{countryName:"Qatar",countryShortCode:"QA",regions:[{name:"Ad Daw\u1e29ah",shortCode:"DA"},{name:"Al Khawr wa adh Dhakh\u012brah",shortCode:"KH"},{name:"Al Wakrah",shortCode:"WA"},{name:"Ar Rayy\u0101n",shortCode:"RA"},{name:"Ash Sham\u0101l",shortCode:"MS"},{name:"Az\u0327 Za\u0327`\u0101yin",shortCode:"ZA"},{name:"Umm \u015eal\u0101l",shortCode:"US"}]},{countryName:"R\xe9union",countryShortCode:"RE",regions:[{name:"R\xe9union"}]},{countryName:"Romania",countryShortCode:"RO",regions:[{name:"Alba",shortCode:"RO-AB"},{name:"Arad",shortCode:"RO-AR"},{name:"Arges",shortCode:"RO-AG"},{name:"Bacau",shortCode:"RO-BC"},{name:"Bihor",shortCode:"RO-BH"},{name:"Bistrita-Nasaud",shortCode:"RO-BN"},{name:"Botosani",shortCode:"RO-BT"},{name:"Braila",shortCode:"RO-BR"},{name:"Brasov",shortCode:"RO-BV"},{name:"Bucharest",shortCode:"RO-B"},{name:"Buzau",shortCode:"RO-BZ"},{name:"Calarasi",shortCode:"RO-CL"},{name:"Caras-Severin",shortCode:"RO-CS"},{name:"Cluj",shortCode:"RO-CJ"},{name:"Constanta",shortCode:"RO-CT"},{name:"Covasna",shortCode:"RO-CV"},{name:"Dambovita",shortCode:"RO-DB"},{name:"Dolj",shortCode:"RO-DJ"},{name:"Galati",shortCode:"RO-GL"},{name:"Giurgiu",shortCode:"RO-GR"},{name:"Gorj",shortCode:"RO-GJ"},{name:"Harghita",shortCode:"RO-HR"},{name:"Hunedoara",shortCode:"RO-HD"},{name:"Ialomita",shortCode:"RO-IL"},{name:"Iasi",shortCode:"RO-IS"},{name:"Ilfov",shortCode:"RO-IF"},{name:"Maramures",shortCode:"RO-MM"},{name:"Mehedinti",shortCode:"RO-MH"},{name:"Mures",shortCode:"RO-MS"},{name:"Neamt",shortCode:"RO-NT"},{name:"Olt",shortCode:"RO-OT"},{name:"Prahova",shortCode:"RO-PH"},{name:"Salaj",shortCode:"RO-SJ"},{name:"Satu Mare",shortCode:"RO-SM"},{name:"Sibiu",shortCode:"RO-SB"},{name:"Suceava",shortCode:"RO-SV"},{name:"Teleorman",shortCode:"RO-TR"},{name:"Timis",shortCode:"RO-TM"},{name:"Tulcea",shortCode:"RO-TL"},{name:"Valcea",shortCode:"RO-VL"},{name:"Vaslui",shortCode:"RO-VS"},{name:"Vrancea",shortCode:"RO-VN"}]},{countryName:"Russian Federation",countryShortCode:"RU",regions:[{name:"Republic of Adygea",shortCode:"AD"},{name:"Republic of Altai (Gorno-Altaysk)",shortCode:"AL"},{name:"Altai Krai",shortCode:"ALT"},{name:"Amur Oblast",shortCode:"AMU"},{name:"Arkhangelsk Oblast",shortCode:"ARK"},{name:"Astrakhan Oblast",shortCode:"AST"},{name:"Republic of Bashkortostan",shortCode:"BA"},{name:"Belgorod Oblast",shortCode:"BEL"},{name:"Bryansk Oblast",shortCode:"BRY"},{name:"Republic of Buryatia",shortCode:"BU"},{name:"Chechen Republic",shortCode:"CE"},{name:"Chelyabinsk Oblast",shortCode:"CHE"},{name:"Chukotka Autonomous Okrug",shortCode:"CHU"},{name:"Chuvash Republic",shortCode:"CU"},{name:"Republic of Dagestan",shortCode:"DA"},{name:"Republic of Ingushetia",shortCode:"IN"},{name:"Irkutsk Oblast",shortCode:"IRK"},{name:"Ivanovo Oblast",shortCode:"IVA"},{name:"Jewish Autonomous Oblast",shortCode:"JEW"},{name:"Kabardino-Balkar Republic",shortCode:"KB"},{name:"Kaliningrad Oblast",shortCode:"KLN"},{name:"Republic of Kalmykia",shortCode:"KL"},{name:"Kaluga Oblast",shortCode:"KLU"},{name:"Kamchatka Krai",shortCode:"KAM"},{name:"Karachay-Cherkess Republic",shortCode:"KC"},{name:"Republic of Karelia",shortCode:"KR"},{name:"Khabarovsk Krai",shortCode:"KHA"},{name:"Republic of Khakassia",shortCode:"KK"},{name:"Khanty-Mansi Autonomous Okrug - Yugra",shortCode:"KHM"},{name:"Kemerovo Oblast",shortCode:"KEM"},{name:"Kirov Oblast",shortCode:"KIR"},{name:"Komi Republic",shortCode:"KO"},{name:"Kostroma Oblast",shortCode:"KOS"},{name:"Krasnodar Krai",shortCode:"KDA"},{name:"Krasnoyarsk Krai",shortCode:"KYA"},{name:"Kurgan Oblast",shortCode:"KGN"},{name:"Kursk Oblast",shortCode:"KRS"},{name:"Leningrad Oblast",shortCode:"LEN"},{name:"Lipetsk Oblast",shortCode:"LIP"},{name:"Magadan Oblast",shortCode:"MAG"},{name:"Mari El Republic",shortCode:"ME"},{name:"Republic of Mordovia",shortCode:"MO"},{name:"Moscow Oblast",shortCode:"MOS"},{name:"Moscow",shortCode:"MOW"},{name:"Murmansk Oblast",shortCode:"MU"},{name:"Nenets Autonomous Okrug",shortCode:"NEN"},{name:"Nizhny Novgorod Oblast",shortCode:"NIZ"},{name:"Novgorod Oblast",shortCode:"NGR"},{name:"Novosibirsk Oblast",shortCode:"NVS"},{name:"Omsk Oblast",shortCode:"OMS"},{name:"Orenburg Oblast",shortCode:"ORE"},{name:"Oryol Oblast",shortCode:"ORL"},{name:"Penza Oblast",shortCode:"PNZ"},{name:"Perm Krai",shortCode:"PER"},{name:"Primorsky Krai",shortCode:"PRI"},{name:"Pskov Oblast",shortCode:"PSK"},{name:"Rostov Oblast",shortCode:"ROS"},{name:"Ryazan Oblast",shortCode:"RYA"},{name:"Saint Petersburg",shortCode:"SPE"},{name:"Sakha (Yakutia) Republic",shortCode:"SA"},{name:"Sakhalin Oblast",shortCode:"SAK"},{name:"Samara Oblast",shortCode:"SAM"},{name:"Saratov Oblast",shortCode:"SAR"},{name:"Republic of North Ossetia-Alania",shortCode:"NOA"},{name:"Smolensk Oblast",shortCode:"SMO"},{name:"Stavropol Krai",shortCode:"STA"},{name:"Sverdlovsk Oblast",shortCode:"SVE"},{name:"Tambov Oblast",shortCode:"TAM"},{name:"Republic of Tatarstan",shortCode:"TA"},{name:"Tomsk Oblast",shortCode:"TOM"},{name:"Tuva Republic",shortCode:"TU"},{name:"Tula Oblast",shortCode:"TUL"},{name:"Tver Oblast",shortCode:"TVE"},{name:"Tyumen Oblast",shortCode:"TYU"},{name:"Udmurt Republic",shortCode:"UD"},{name:"Ulyanovsk Oblast",shortCode:"ULY"},{name:"Vladimir Oblast",shortCode:"VLA"},{name:"Volgograd Oblast",shortCode:"VGG"},{name:"Vologda Oblast",shortCode:"VLG"},{name:"Voronezh Oblast",shortCode:"VOR"},{name:"Yamalo-Nenets Autonomous Okrug",shortCode:"YAN"},{name:"Yaroslavl Oblast",shortCode:"YAR"},{name:"Zabaykalsky Krai",shortCode:"ZAB"}]},{countryName:"Rwanda",countryShortCode:"RW",regions:[{name:"Kigali",shortCode:"01"},{name:"Eastern",shortCode:"02"},{name:"Northern",shortCode:"03"},{name:"Western",shortCode:"04"},{name:"Southern",shortCode:"05"}]},{countryName:"Saint Barth\xe9lemy",countryShortCode:"BL",regions:[{name:"Au Vent",shortCode:"02"},{name:"Sous le Vent",shortCode:"01"}]},{countryName:"Saint Helena, Ascension and Tristan da Cunha",countryShortCode:"SH",regions:[{name:"Ascension",shortCode:"AC"},{name:"Saint Helena",shortCode:"HL"},{name:"Tristan da Cunha",shortCode:"TA"}]},{countryName:"Saint Kitts and Nevis",countryShortCode:"KN",regions:[{name:"Saint Kitts",shortCode:"K"},{name:"Nevis",shortCode:"N"}]},{countryName:"Saint Lucia",countryShortCode:"LC",regions:[{name:"Anse-la-Raye",shortCode:"01"},{name:"Canaries",shortCode:"12"},{name:"Castries",shortCode:"02"},{name:"Choiseul",shortCode:"03"},{name:"Dennery",shortCode:"05"},{name:"Gros Islet",shortCode:"06"},{name:"Laborie",shortCode:"07"},{name:"Micoud",shortCode:"08"},{name:"Soufriere",shortCode:"10"},{name:"Vieux Fort",shortCode:"11"}]},{countryName:"Saint Martin",countryShortCode:"MF",regions:[{name:"Saint Martin"}]},{countryName:"Saint Pierre and Miquelon",countryShortCode:"PM",regions:[{name:"Miquelon"},{name:"Saint Pierre"}]},{countryName:"Saint Vincent and the Grenadines",countryShortCode:"VC",regions:[{name:"Charlotte",shortCode:"01"},{name:"Grenadines",shortCode:"06"},{name:"Saint Andrew",shortCode:"02"},{name:"Saint David",shortCode:"03"},{name:"Saint George",shortCode:"04"},{name:"Saint Patrick",shortCode:"05"}]},{countryName:"Samoa",countryShortCode:"WS",regions:[{name:"A'ana",shortCode:"AA"},{name:"Aiga-i-le-Tai",shortCode:"AL"},{name:"Atua",shortCode:"AT"},{name:"Fa'asaleleaga",shortCode:"FA"},{name:"Gaga'emauga",shortCode:"GE"},{name:"Gagaifomauga",shortCode:"GI"},{name:"Palauli",shortCode:"PA"},{name:"Satupa'itea",shortCode:"SA"},{name:"Tuamasaga",shortCode:"TU"},{name:"Va'a-o-Fonoti",shortCode:"VF"},{name:"Vaisigano",shortCode:"VS"}]},{countryName:"San Marino",countryShortCode:"SM",regions:[{name:"Acquaviva",shortCode:"01"},{name:"Borgo Maggiore",shortCode:"06"},{name:"Chiesanuova",shortCode:"02"},{name:"Domagnano",shortCode:"03"},{name:"Faetano",shortCode:"04"},{name:"Fiorentino",shortCode:"05"},{name:"Montegiardino",shortCode:"08"},{name:"San Marino",shortCode:"07"},{name:"Serravalle",shortCode:"09"}]},{countryName:"Sao Tome and Principe",countryShortCode:"ST",regions:[{name:"Principe",shortCode:"P"},{name:"Sao Tome",shortCode:"S"}]},{countryName:"Saudi Arabia",countryShortCode:"SA",regions:[{name:"'Asir",shortCode:"14"},{name:"Al Bahah",shortCode:"11"},{name:"Al Hudud ash Shamaliyah",shortCode:"08"},{name:"Al Jawf",shortCode:"12"},{name:"Al Madinah al Munawwarah",shortCode:"03"},{name:"Al Qasim",shortCode:"05"},{name:"Ar Riyad",shortCode:"01"},{name:"Ash Sharqiyah",shortCode:"04"},{name:"Ha'il",shortCode:"06"},{name:"Jazan",shortCode:"09"},{name:"Makkah al Mukarramah",shortCode:"02"},{name:"Najran",shortCode:"10"},{name:"Tabuk",shortCode:"07"}]},{countryName:"Senegal",countryShortCode:"SN",regions:[{name:"Dakar",shortCode:"DK"},{name:"Diourbel",shortCode:"DB"},{name:"Fatick",shortCode:"FK"},{name:"Kaffrine",shortCode:"KA"},{name:"Kaolack",shortCode:"KL"},{name:"Kedougou",shortCode:"KE"},{name:"Kolda",shortCode:"KD"},{name:"Louga",shortCode:"LG"},{name:"Matam",shortCode:"MT"},{name:"Saint-Louis",shortCode:"SL"},{name:"Sedhiou",shortCode:"SE"},{name:"Tambacounda",shortCode:"TC"},{name:"Thies",shortCode:"TH"},{name:"Ziguinchor",shortCode:"ZG"}]},{countryName:"Serbia",countryShortCode:"RS",regions:[{name:"Beograd (Belgrade)",shortCode:"00"},{name:"Borski",shortCode:"14"},{name:"Brani\u010devski",shortCode:"11"},{name:"Jablani\u010dki",shortCode:"23"},{name:"Ju\u017enoba\u010dki",shortCode:"06"},{name:"Ju\u017enobanatski",shortCode:"04"},{name:"Kolubarski",shortCode:"09"},{name:"Kosovski",shortCode:"25"},{name:"Kosovsko-Mitrova\u010dki",shortCode:"28"},{name:"Kosovsko-Pomoravski",shortCode:"29"},{name:"Ma\u010dvanski",shortCode:"08"},{name:"Moravi\u010dki",shortCode:"17"},{name:"Ni\u0161avski",shortCode:"20"},{name:"P\u010dinjski",shortCode:"24"},{name:"Pe\u0107ki",shortCode:"26"},{name:"Pirotski",shortCode:"22"},{name:"Podunavski",shortCode:"10"},{name:"Pomoravski",shortCode:"13"},{name:"Prizrenski",shortCode:"27"},{name:"Rasinski",shortCode:"19"},{name:"Ra\u0161ki",shortCode:"18"},{name:"Severnoba\u010dki",shortCode:"01"},{name:"Severnobanatski",shortCode:"03"},{name:"Srednjebanatski",shortCode:"02"},{name:"Sremski",shortCode:"07"},{name:"\u0160umadijski",shortCode:"12"},{name:"Topli\u010dki",shortCode:"21"},{name:"Zaje\u010darski",shortCode:"15"},{name:"Zapadnoba\u010dki",shortCode:"05"},{name:"Zlatiborski",shortCode:"16"}]},{countryName:"Seychelles",countryShortCode:"SC",regions:[{name:"Anse aux Pins",shortCode:"01"},{name:"Anse Boileau",shortCode:"02"},{name:"Anse Etoile",shortCode:"03"},{name:"Anse Royale",shortCode:"05"},{name:"Anu Cap",shortCode:"04"},{name:"Baie Lazare",shortCode:"06"},{name:"Baie Sainte Anne",shortCode:"07"},{name:"Beau Vallon",shortCode:"08"},{name:"Bel Air",shortCode:"09"},{name:"Bel Ombre",shortCode:"10"},{name:"Cascade",shortCode:"11"},{name:"Glacis",shortCode:"12"},{name:"Grand'Anse Mahe",shortCode:"13"},{name:"Grand'Anse Praslin",shortCode:"14"},{name:"La Digue",shortCode:"15"},{name:"La Riviere Anglaise",shortCode:"16"},{name:"Les Mamelles",shortCode:"24"},{name:"Mont Buxton",shortCode:"17"},{name:"Mont Fleuri",shortCode:"18"},{name:"Plaisance",shortCode:"19"},{name:"Pointe La Rue",shortCode:"20"},{name:"Port Glaud",shortCode:"21"},{name:"Roche Caiman",shortCode:"25"},{name:"Saint Louis",shortCode:"22"},{name:"Takamaka",shortCode:"23"}]},{countryName:"Sierra Leone",countryShortCode:"SL",regions:[{name:"Eastern",shortCode:"E"},{name:"Northern",shortCode:"N"},{name:"Southern",shortCode:"S"},{name:"Western",shortCode:"W"}]},{countryName:"Singapore",countryShortCode:"SG",regions:[{name:"Central Singapore",shortCode:"01"},{name:"North East",shortCode:"02"},{name:"North West",shortCode:"03"},{name:"South East",shortCode:"04"},{name:"South West",shortCode:"05"}]},{countryName:"Sint Maarten (Dutch part)",countryShortCode:"SX",regions:[{name:"Sint Maarten"}]},{countryName:"Slovakia",countryShortCode:"SK",regions:[{name:"Banskobystricky",shortCode:"BC"},{name:"Bratislavsky",shortCode:"BL"},{name:"Kosicky",shortCode:"KI"},{name:"Nitriansky",shortCode:"NI"},{name:"Presovsky",shortCode:"PV"},{name:"Trenciansky",shortCode:"TC"},{name:"Trnavsky",shortCode:"TA"},{name:"Zilinsky",shortCode:"ZI"}]},{countryName:"Slovenia",countryShortCode:"SI",regions:[{name:"Ajdovscina",shortCode:"001"},{name:"Apace",shortCode:"195"},{name:"Beltinci",shortCode:"002"},{name:"Benedikt",shortCode:"148"},{name:"Bistrica ob Sotli",shortCode:"149"},{name:"Bled",shortCode:"003"},{name:"Bloke",shortCode:"150"},{name:"Bohinj",shortCode:"004"},{name:"Borovnica",shortCode:"005"},{name:"Bovec",shortCode:"006"},{name:"Braslovce",shortCode:"151"},{name:"Brda",shortCode:"007"},{name:"Brezice",shortCode:"009"},{name:"Brezovica",shortCode:"008"},{name:"Cankova",shortCode:"152"},{name:"Celje",shortCode:"011"},{name:"Cerklje na Gorenjskem",shortCode:"012"},{name:"Cerknica",shortCode:"013"},{name:"Cerkno",shortCode:"014"},{name:"Cerkvenjak",shortCode:"153"},{name:"Cirkulane",shortCode:"196"},{name:"Crensovci",shortCode:"015"},{name:"Crna na Koroskem",shortCode:"016"},{name:"Crnomelj",shortCode:"017"},{name:"Destrnik",shortCode:"018"},{name:"Divaca",shortCode:"019"},{name:"Dobje",shortCode:"154"},{name:"Dobrepolje",shortCode:"020"},{name:"Dobrna",shortCode:"155"},{name:"Dobrova-Polhov Gradec",shortCode:"021"},{name:"Dobrovnik",shortCode:"156"},{name:"Dol pri Ljubljani",shortCode:"022"},{name:"Dolenjske Toplice",shortCode:"157"},{name:"Domzale",shortCode:"023"},{name:"Dornava",shortCode:"024"},{name:"Dravograd",shortCode:"025"},{name:"Duplek",shortCode:"026"},{name:"Gorenja Vas-Poljane",shortCode:"027"},{name:"Gorisnica",shortCode:"028"},{name:"Gorje",shortCode:"207"},{name:"Gornja Radgona",shortCode:"029"},{name:"Gornji Grad",shortCode:"030"},{name:"Gornji Petrovci",shortCode:"031"},{name:"Grad",shortCode:"158"},{name:"Grosuplje",shortCode:"032"},{name:"Hajdina",shortCode:"159"},{name:"Hoce-Slivnica",shortCode:"160"},{name:"Hodos",shortCode:"161"},{name:"Horjul",shortCode:"162"},{name:"Hrastnik",shortCode:"034"},{name:"Hrpelje-Kozina",shortCode:"035"},{name:"Idrija",shortCode:"036"},{name:"Ig",shortCode:"037"},{name:"Ilirska Bistrica",shortCode:"038"},{name:"Ivancna Gorica",shortCode:"039"},{name:"Izola",shortCode:"040"},{name:"Jesenice",shortCode:"041"},{name:"Jursinci",shortCode:"042"},{name:"Kamnik",shortCode:"043"},{name:"Kanal",shortCode:"044"},{name:"Kidricevo",shortCode:"045"},{name:"Kobarid",shortCode:"046"},{name:"Kobilje",shortCode:"047"},{name:"Kocevje",shortCode:"048"},{name:"Komen",shortCode:"049"},{name:"Komenda",shortCode:"164"},{name:"Koper",shortCode:"050"},{name:"Kodanjevica na Krki",shortCode:"197"},{name:"Kostel",shortCode:"165"},{name:"Kozje",shortCode:"051"},{name:"Kranj",shortCode:"052"},{name:"Kranjska Gora",shortCode:"053"},{name:"Krizevci",shortCode:"166"},{name:"Krsko",shortCode:"054"},{name:"Kungota",shortCode:"055"},{name:"Kuzma",shortCode:"056"},{name:"Lasko",shortCode:"057"},{name:"Lenart",shortCode:"058"},{name:"Lendava",shortCode:"059"},{name:"Litija",shortCode:"060"},{name:"Ljubljana",shortCode:"061"},{name:"Ljubno",shortCode:"062"},{name:"Ljutomer",shortCode:"063"},{name:"Log-Dragomer",shortCode:"208"},{name:"Logatec",shortCode:"064"},{name:"Loska Dolina",shortCode:"065"},{name:"Loski Potok",shortCode:"066"},{name:"Lovrenc na Pohorju",shortCode:"167"},{name:"Lukovica",shortCode:"068"},{name:"Luce",shortCode:"067"},{name:"Majsperk",shortCode:"069"},{name:"Makole",shortCode:"198"},{name:"Maribor",shortCode:"070"},{name:"Markovci",shortCode:"168"},{name:"Medvode",shortCode:"071"},{name:"Menges",shortCode:"072"},{name:"Metlika",shortCode:"073"},{name:"Mezica",shortCode:"074"},{name:"Miklavz na Dravskem Polju",shortCode:"169"},{name:"Miren-Kostanjevica",shortCode:"075"},{name:"Mirna",shortCode:"212"},{name:"Mirna Pec",shortCode:"170"},{name:"Mislinja",shortCode:"076"},{name:"Mokronog-Trebelno",shortCode:"199"},{name:"Moravce",shortCode:"077"},{name:"Moravske Toplice",shortCode:"078"},{name:"Mozirje",shortCode:"079"},{name:"Murska Sobota",shortCode:"080"},{name:"Naklo",shortCode:"082"},{name:"Nazarje",shortCode:"083"},{name:"Nova Gorica",shortCode:"084"},{name:"Novo Mesto",shortCode:"085"},{name:"Odranci",shortCode:"086"},{name:"Ormoz",shortCode:"087"},{name:"Osilnica",shortCode:"088"},{name:"Pesnica",shortCode:"089"},{name:"Piran",shortCode:"090"},{name:"Pivka",shortCode:"091"},{name:"Podcetrtek",shortCode:"092"},{name:"Podlehnik",shortCode:"172"},{name:"Podvelka",shortCode:"093"},{name:"Poljcane",shortCode:"200"},{name:"Postojna",shortCode:"094"},{name:"Prebold",shortCode:"174"},{name:"Preddvor",shortCode:"095"},{name:"Prevalje",shortCode:"175"},{name:"Ptuj",shortCode:"096"},{name:"Race-Fram",shortCode:"098"},{name:"Radece",shortCode:"099"},{name:"Radenci",shortCode:"100"},{name:"Radlje ob Dravi",shortCode:"101"},{name:"Radovljica",shortCode:"102"},{name:"Ravne na Koroskem",shortCode:"103"},{name:"Razkrizje",shortCode:"176"},{name:"Recica ob Savinji",shortCode:"209"},{name:"Rence-Vogrsko",shortCode:"201"},{name:"Ribnica",shortCode:"104"},{name:"Ribnica na Poboriu",shortCode:"177"},{name:"Rogaska Slatina",shortCode:"106"},{name:"Rogasovci",shortCode:"105"},{name:"Rogatec",shortCode:"107"},{name:"Ruse",shortCode:"108"},{name:"Salovci",shortCode:"033"},{name:"Selnica ob Dravi",shortCode:"178"},{name:"Semic",shortCode:"109"},{name:"Sempeter-Vrtojba",shortCode:"183"},{name:"Sencur",shortCode:"117"},{name:"Sentilj",shortCode:"118"},{name:"Sentjernej",shortCode:"119"},{name:"Sentjur",shortCode:"120"},{name:"Sentrupert",shortCode:"211"},{name:"Sevnica",shortCode:"110"},{name:"Sezana",shortCode:"111"},{name:"Skocjan",shortCode:"121"},{name:"Skofja Loka",shortCode:"122"},{name:"Skofljica",shortCode:"123"},{name:"Slovenj Gradec",shortCode:"112"},{name:"Slovenska Bistrica",shortCode:"113"},{name:"Slovenske Konjice",shortCode:"114"},{name:"Smarje pri elsah",shortCode:"124"},{name:"Smarjeske Toplice",shortCode:"206"},{name:"Smartno ob Paki",shortCode:"125"},{name:"Smartno pri Litiji",shortCode:"194"},{name:"Sodrazica",shortCode:"179"},{name:"Solcava",shortCode:"180"},{name:"Sostanj",shortCode:"126"},{name:"Sredisce ob Dravi",shortCode:"202"},{name:"Starse",shortCode:"115"},{name:"Store",shortCode:"127"},{name:"Straza",shortCode:"203"},{name:"Sveta Ana",shortCode:"181"},{name:"Sveta Trojica v Slovenskih Goricah",shortCode:"204"},{name:"Sveta Andraz v Slovenskih Goricah",shortCode:"182"},{name:"Sveti Jurij",shortCode:"116"},{name:"Sveti Jurij v Slovenskih Goricah",shortCode:"210"},{name:"Sveti Tomaz",shortCode:"205"},{name:"Tabor",shortCode:"184"},{name:"Tisina",shortCode:"010"},{name:"Tolmin",shortCode:"128"},{name:"Trbovlje",shortCode:"129"},{name:"Trebnje",shortCode:"130"},{name:"Trnovska Vas",shortCode:"185"},{name:"Trzin",shortCode:"186"},{name:"Trzic",shortCode:"131"},{name:"Turnisce",shortCode:"132"},{name:"Velenje",shortCode:"133"},{name:"Velika Polana",shortCode:"187"},{name:"Velike Lasce",shortCode:"134"},{name:"Verzej",shortCode:"188"},{name:"Videm",shortCode:"135"},{name:"Vipava",shortCode:"136"},{name:"Vitanje",shortCode:"137"},{name:"Vodice",shortCode:"138"},{name:"Vojnik",shortCode:"139"},{name:"Vransko",shortCode:"189"},{name:"Vrhnika",shortCode:"140"},{name:"Vuzenica",shortCode:"141"},{name:"Zagorje ob Savi",shortCode:"142"},{name:"Zavrc",shortCode:"143"},{name:"Zrece",shortCode:"144"},{name:"Zalec",shortCode:"190"},{name:"Zelezniki",shortCode:"146"},{name:"Zetale",shortCode:"191"},{name:"Ziri",shortCode:"147"},{name:"Zirovnica",shortCode:"192"},{name:"Zuzemberk",shortCode:"193"}]},{countryName:"Solomon Islands",countryShortCode:"SB",regions:[{name:"Central",shortCode:"CE"},{name:"Choiseul",shortCode:"CH"},{name:"Guadalcanal",shortCode:"GU"},{name:"Honiara",shortCode:"CT"},{name:"Isabel",shortCode:"IS"},{name:"Makira-Ulawa",shortCode:"MK"},{name:"Malaita",shortCode:"ML"},{name:"Rennell and Bellona",shortCode:"RB"},{name:"Temotu",shortCode:"TE"},{name:"Western",shortCode:"WE"}]},{countryName:"Somalia",countryShortCode:"SO",regions:[{name:"Awdal",shortCode:"AW"},{name:"Bakool",shortCode:"BK"},{name:"Banaadir",shortCode:"BN"},{name:"Bari",shortCode:"BR"},{name:"Bay",shortCode:"BY"},{name:"Galguduud",shortCode:"GA"},{name:"Gedo",shortCode:"GE"},{name:"Hiiraan",shortCode:"HI"},{name:"Jubbada Dhexe",shortCode:"JD"},{name:"Jubbada Hoose",shortCode:"JH"},{name:"Mudug",shortCode:"MU"},{name:"Nugaal",shortCode:"NU"},{name:"Sanaag",shortCode:"SA"},{name:"Shabeellaha Dhexe",shortCode:"SD"},{name:"Shabeellaha Hoose",shortCode:"SH"},{name:"Sool",shortCode:"SO"},{name:"Togdheer",shortCode:"TO"},{name:"Woqooyi Galbeed",shortCode:"WO"}]},{countryName:"South Africa",countryShortCode:"ZA",regions:[{name:"Eastern Cape",shortCode:"EC"},{name:"Free State",shortCode:"FS"},{name:"Gauteng",shortCode:"GT"},{name:"KwaZulu-Natal",shortCode:"NL"},{name:"Limpopo",shortCode:"LP"},{name:"Mpumalanga",shortCode:"MP"},{name:"Northern Cape",shortCode:"NC"},{name:"North West",shortCode:"NW"},{name:"Western Cape",shortCode:"WC"}]},{countryName:"South Georgia and South Sandwich Islands",countryShortCode:"GS",regions:[{name:"Bird Island"},{name:"Bristol Island"},{name:"Clerke Rocks"},{name:"Montagu Island"},{name:"Saunders Island"},{name:"South Georgia"},{name:"Southern Thule"},{name:"Traversay Islands"}]},{countryName:"South Sudan",countryShortCode:"SS",regions:[{name:"Central Equatoria",shortCode:"CE"},{name:"Eastern Equatoria",shortCode:"EE"},{name:"Jonglei",shortCode:"JG"},{name:"Lakes",shortCode:"LK"},{name:"Northern Bahr el Ghazal",shortCode:"BN"},{name:"Unity",shortCode:"UY"},{name:"Upper Nile",shortCode:"NU"},{name:"Warrap",shortCode:"WR"},{name:"Western Bahr el Ghazal",shortCode:"BW"},{name:"Western Equatoria",shortCode:"EW"}]},{countryName:"Spain",countryShortCode:"ES",regions:[{name:"Albacete",shortCode:"AB"},{name:"Alicante",shortCode:"A"},{name:"Almer\xeda",shortCode:"AL"},{name:"Araba/\xc1lava",shortCode:"VI"},{name:"Asturias",shortCode:"O"},{name:"\xc1vila",shortCode:"AV"},{name:"Badajoz",shortCode:"BA"},{name:"Barcelona",shortCode:"B"},{name:"Bizkaia",shortCode:"BI"},{name:"Burgos",shortCode:"BU"},{name:"C\xe1ceres",shortCode:"CC"},{name:"C\xe1diz",shortCode:"CA"},{name:"Cantabria",shortCode:"S"},{name:"Castell\xf3n/Castell\xf3",shortCode:"CS"},{name:"Ceuta",shortCode:"CE"},{name:"Ciudad Real",shortCode:"CR"},{name:"C\xf3rdoba",shortCode:"CO"},{name:"A Coru\xf1a",shortCode:"C"},{name:"Cuenca",shortCode:"CU"},{name:"Gipuzkoa",shortCode:"SS"},{name:"Girona",shortCode:"GI"},{name:"Granada",shortCode:"GR"},{name:"Guadalajara",shortCode:"GU"},{name:"Huelva",shortCode:"H"},{name:"Huesca",shortCode:"HU"},{name:"Illes Balears",shortCode:"PM"},{name:"Ja\xe9n",shortCode:"J"},{name:"Le\xf3n",shortCode:"LE"},{name:"Lleida",shortCode:"L"},{name:"Lugo",shortCode:"LU"},{name:"Madrid",shortCode:"M"},{name:"M\xe1laga",shortCode:"MA"},{name:"Melilla",shortCode:"ML"},{name:"Murcia",shortCode:"MU"},{name:"Navarra/Nafarroa",shortCode:"NA"},{name:"Ourense",shortCode:"OR"},{name:"Palencia",shortCode:"P"},{name:"Las Palmas",shortCode:"GC"},{name:"Pontevedra",shortCode:"PO"},{name:"La Rioja",shortCode:"LO"},{name:"Salamanca",shortCode:"SA"},{name:"Santa Cruz de Tenerife",shortCode:"TF"},{name:"Segovia",shortCode:"SG"},{name:"Sevilla",shortCode:"SE"},{name:"Soria",shortCode:"SO"},{name:"Tarragona",shortCode:"T"},{name:"Teruel",shortCode:"TE"},{name:"Toledo",shortCode:"TO"},{name:"Valencia/Val\xe8ncia",shortCode:"V"},{name:"Valladolid",shortCode:"VA"},{name:"Zamora",shortCode:"ZA"},{name:"Zaragoza",shortCode:"Z"}]},{countryName:"Sri Lanka",countryShortCode:"LK",regions:[{name:"Basnahira",shortCode:"1"},{name:"Dakunu",shortCode:"3"},{name:"Madhyama",shortCode:"2"},{name:"Naegenahira",shortCode:"5"},{name:"Sabaragamuwa",shortCode:"9"},{name:"Uturu",shortCode:"4"},{name:"Uturumaeda",shortCode:"7"},{name:"Vayamba",shortCode:"6"},{name:"Uva",shortCode:"8"}]},{countryName:"Sudan",countryShortCode:"SD",regions:[{name:"Al Bahr al Ahmar",shortCode:"RS"},{name:"Al Jazirah",shortCode:"GZ"},{name:"Al Khartum",shortCode:"KH"},{name:"Al Qadarif",shortCode:"GD"},{name:"An Nil al Abyad",shortCode:"NW"},{name:"An Nil al Azraq",shortCode:"NB"},{name:"Ash Shamaliyah",shortCode:"NO"},{name:"Gharb Darfur",shortCode:"DW"},{name:"Gharb Kurdufan",shortCode:"GK"},{name:"Janub Darfur",shortCode:"DS"},{name:"Janub Kurdufan",shortCode:"KS"},{name:"Kassala",shortCode:"KA"},{name:"Nahr an Nil",shortCode:"NR"},{name:"Shamal Darfur",shortCode:"DN"},{name:"Sharq Darfur",shortCode:"DE"},{name:"Shiamal Kurdufan",shortCode:"KN"},{name:"Sinnar",shortCode:"SI"},{name:"Wasat Darfur Zalinjay",shortCode:"DC"}]},{countryName:"Suriname",countryShortCode:"SR",regions:[{name:"Brokopondo",shortCode:"BR"},{name:"Commewijne",shortCode:"CM"},{name:"Coronie",shortCode:"CR"},{name:"Marowijne",shortCode:"MA"},{name:"Nickerie",shortCode:"NI"},{name:"Para",shortCode:"PR"},{name:"Paramaribo",shortCode:"PM"},{name:"Saramacca",shortCode:"SA"},{name:"Sipaliwini",shortCode:"SI"},{name:"Wanica",shortCode:"WA"}]},{countryName:"Eswatini",countryShortCode:"SZ",regions:[{name:"Hhohho",shortCode:"HH"},{name:"Lubombo",shortCode:"LU"},{name:"Manzini",shortCode:"MA"},{name:"Shiselweni",shortCode:"SH"}]},{countryName:"Sweden",countryShortCode:"SE",regions:[{name:"Blekinge",shortCode:"K"},{name:"Dalarna",shortCode:"W"},{name:"G\xe4vleborg",shortCode:"X"},{name:"Gotland",shortCode:"I"},{name:"Halland",shortCode:"N"},{name:"J\xe4mtland",shortCode:"Z"},{name:"J\xf6nk\xf6ping",shortCode:"F"},{name:"Kalmar",shortCode:"H"},{name:"Kronoberg",shortCode:"G"},{name:"Norrbotten",shortCode:"BD"},{name:"\xd6rebro",shortCode:"T"},{name:"\xd6sterg\xf6tland",shortCode:"E"},{name:"Sk\xe5ne",shortCode:"M"},{name:"S\xf6dermanland",shortCode:"D"},{name:"Stockholm",shortCode:"AB"},{name:"Uppsala",shortCode:"C"},{name:"V\xe4rmland",shortCode:"S"},{name:"V\xe4sterbotten",shortCode:"AC"},{name:"V\xe4sternorrland",shortCode:"Y"},{name:"V\xe4stmanland",shortCode:"U"},{name:"V\xe4stra G\xf6taland",shortCode:"O"}]},{countryName:"Switzerland",countryShortCode:"CH",regions:[{name:"Aargau",shortCode:"AG"},{name:"Appenzell Ausserrhoden",shortCode:"AR"},{name:"Appenzell Innerhoden",shortCode:"AI"},{name:"Basel-Landschaft",shortCode:"BL"},{name:"Basel-Stadt",shortCode:"BS"},{name:"Bern",shortCode:"BE"},{name:"Fribourg",shortCode:"FR"},{name:"Gen\xe8ve",shortCode:"GE"},{name:"Glarus",shortCode:"GL"},{name:"Graub\xfcnden",shortCode:"GR"},{name:"Jura",shortCode:"JU"},{name:"Luzern",shortCode:"LU"},{name:"Neuch\xe2tel",shortCode:"NE"},{name:"Nidwalden",shortCode:"NW"},{name:"Obwalden",shortCode:"OW"},{name:"Sankt Gallen",shortCode:"SG"},{name:"Schaffhausen",shortCode:"SH"},{name:"Schwyz",shortCode:"SZ"},{name:"Solothurn",shortCode:"SO"},{name:"Thurgau",shortCode:"TG"},{name:"Ticino",shortCode:"TI"},{name:"Uri",shortCode:"UR"},{name:"Valais",shortCode:"VS"},{name:"Vaud",shortCode:"VD"},{name:"Zug",shortCode:"ZG"},{name:"Z\xfcrich",shortCode:"ZH"}]},{countryName:"Syrian Arab Republic",countryShortCode:"SY",regions:[{name:"Al Hasakah",shortCode:"HA"},{name:"Al Ladhiqiyah",shortCode:"LA"},{name:"Al Qunaytirah",shortCode:"QU"},{name:"Ar Raqqah",shortCode:"RA"},{name:"As Suwayda'",shortCode:"SU"},{name:"Dar'a",shortCode:"DR"},{name:"Dayr az Zawr",shortCode:"DY"},{name:"Dimashq",shortCode:"DI"},{name:"Halab",shortCode:"HL"},{name:"Hamah",shortCode:"HM"},{name:"Hims",shortCode:"HI"},{name:"Idlib",shortCode:"ID"},{name:"Rif Dimashq",shortCode:"RD"},{name:"Tartus",shortCode:"TA"}]},{countryName:"Taiwan",countryShortCode:"TW",regions:[{name:"Changhua",shortCode:"CHA"},{name:"Chiayi",shortCode:"CYQ"},{name:"Hsinchu",shortCode:"HSQ"},{name:"Hualien",shortCode:"HUA"},{name:"Kaohsiung",shortCode:"KHH"},{name:"Keelung",shortCode:"KEE"},{name:"Kinmen",shortCode:"KIN"},{name:"Lienchiang",shortCode:"LIE"},{name:"Miaoli",shortCode:"MIA"},{name:"Nantou",shortCode:"NAN"},{name:"Penghu",shortCode:"PEN"},{name:"New Taipei",shortCode:"NWT"},{name:"Pingtung",shortCode:"PIF"},{name:"Taichung",shortCode:"TXG"},{name:"Tainan",shortCode:"TNN"},{name:"Taipei",shortCode:"TPE"},{name:"Taitung",shortCode:"TTT"},{name:"Taoyuan",shortCode:"TAO"},{name:"Yilan",shortCode:"ILA"},{name:"Yunlin",shortCode:"YUN"}]},{countryName:"Tajikistan",countryShortCode:"TJ",regions:[{name:"Dushanbe",shortCode:"DU"},{name:"K\u016dhistoni Badakhshon",shortCode:"GB"},{name:"Khatlon",shortCode:"KT"},{name:"Sughd",shortCode:"SU"}]},{countryName:"Tanzania, United Republic of",countryShortCode:"TZ",regions:[{name:"Arusha",shortCode:"01"},{name:"Coast",shortCode:"19"},{name:"Dar es Salaam",shortCode:"02"},{name:"Dodoma",shortCode:"03"},{name:"Iringa",shortCode:"04"},{name:"Kagera",shortCode:"05"},{name:"Kigoma",shortCode:"08"},{name:"Kilimanjaro",shortCode:"09"},{name:"Lindi",shortCode:"12"},{name:"Manyara",shortCode:"26"},{name:"Mara",shortCode:"13"},{name:"Mbeya",shortCode:"14"},{name:"Morogoro",shortCode:"16"},{name:"Mtwara",shortCode:"17"},{name:"Mwanza",shortCode:"18"},{name:"Pemba North",shortCode:"06"},{name:"Pemba South",shortCode:"10"},{name:"Rukwa",shortCode:"20"},{name:"Ruvuma",shortCode:"21"},{name:"Shinyanga",shortCode:"22"},{name:"Singida",shortCode:"23"},{name:"Tabora",shortCode:"24"},{name:"Tanga",shortCode:"25"},{name:"Zanzibar North",shortCode:"07"},{name:"Zanzibar Central/South",shortCode:"11"},{name:"Zanzibar Urban/West",shortCode:"15"}]},{countryName:"Thailand",countryShortCode:"TH",regions:[{name:"Amnat Charoen",shortCode:"37"},{name:"Ang Thong",shortCode:"15"},{name:"Bueng Kan",shortCode:"38"},{name:"Buri Ram",shortCode:"31"},{name:"Chachoengsao",shortCode:"24"},{name:"Chai Nat",shortCode:"18"},{name:"Chaiyaphum",shortCode:"36"},{name:"Chanthaburi",shortCode:"22"},{name:"Chiang Mai",shortCode:"50"},{name:"Chiang Rai",shortCode:"57"},{name:"Chon Buri",shortCode:"20"},{name:"Chumphon",shortCode:"86"},{name:"Kalasin",shortCode:"46"},{name:"Kamphaeng Phet",shortCode:"62"},{name:"Kanchanaburi",shortCode:"71"},{name:"Khon Kaen",shortCode:"40"},{name:"Krabi",shortCode:"81"},{name:"Krung Thep Mahanakhon (Bangkok)",shortCode:"10"},{name:"Lampang",shortCode:"52"},{name:"Lamphun",shortCode:"51"},{name:"Loei",shortCode:"42"},{name:"Lop Buri",shortCode:"16"},{name:"Mae Hong Son",shortCode:"58"},{name:"Maha Sarakham",shortCode:"44"},{name:"Mukdahan",shortCode:"49"},{name:"Nakhon Nayok",shortCode:"26"},{name:"Nakhon Phathom",shortCode:"73"},{name:"Nakhon Phanom",shortCode:"48"},{name:"Nakhon Ratchasima",shortCode:"30"},{name:"Nakhon Sawan",shortCode:"60"},{name:"Nakhon Si Thammarat",shortCode:"80"},{name:"Nan",shortCode:"55"},{name:"Narathiwat",shortCode:"96"},{name:"Nong Bua Lam Phu",shortCode:"39"},{name:"Nong Khai",shortCode:"43"},{name:"Nonthaburi",shortCode:"12"},{name:"Pathum Thani",shortCode:"13"},{name:"Pattani",shortCode:"94"},{name:"Phangnga",shortCode:"82"},{name:"Phatthalung",shortCode:"93"},{name:"Phayao",shortCode:"56"},{name:"Phetchabun",shortCode:"67"},{name:"Phetchaburi",shortCode:"76"},{name:"Phichit",shortCode:"66"},{name:"Phitsanulok",shortCode:"65"},{name:"Phra Nakhon Si Ayutthaya",shortCode:"14"},{name:"Phrae",shortCode:"54"},{name:"Phuket",shortCode:"83"},{name:"Prachin Buri",shortCode:"25"},{name:"Prachuap Khiri Khan",shortCode:"77"},{name:"Ranong",shortCode:"85"},{name:"Ratchaburi",shortCode:"70"},{name:"Rayong",shortCode:"21"},{name:"Roi Et",shortCode:"45"},{name:"Sa Kaeo",shortCode:"27"},{name:"Sakon Nakhon",shortCode:"47"},{name:"Samut Prakan",shortCode:"11"},{name:"Samut Sakhon",shortCode:"74"},{name:"Samut Songkhram",shortCode:"75"},{name:"Saraburi",shortCode:"19"},{name:"Satun",shortCode:"91"},{name:"Sing Buri",shortCode:"17"},{name:"Si Sa ket",shortCode:"33"},{name:"Songkhla",shortCode:"90"},{name:"Sukhothai",shortCode:"64"},{name:"Suphan Buri",shortCode:"72"},{name:"Surat Thani",shortCode:"84"},{name:"Surin",shortCode:"32"},{name:"Tak",shortCode:"63"},{name:"Trang",shortCode:"92"},{name:"Trat",shortCode:"23"},{name:"Ubon Ratchathani",shortCode:"34"},{name:"Udon Thani",shortCode:"41"},{name:"Uthai Thani",shortCode:"61"},{name:"Uttaradit",shortCode:"53"},{name:"Yala",shortCode:"95"},{name:"Yasothon",shortCode:"35"}]},{countryName:"Timor-Leste",countryShortCode:"TL",regions:[{name:"Aileu",shortCode:"AL"},{name:"Ainaro",shortCode:"AN"},{name:"Baucau",shortCode:"BA"},{name:"Bobonaro",shortCode:"BO"},{name:"Cova Lima",shortCode:"CO"},{name:"Dili",shortCode:"DI"},{name:"Ermera",shortCode:"ER"},{name:"Lautem",shortCode:"LA"},{name:"Liquica",shortCode:"LI"},{name:"Manatuto",shortCode:"MT"},{name:"Manufahi",shortCode:"MF"},{name:"Oecussi",shortCode:"OE"},{name:"Viqueque",shortCode:"VI"}]},{countryName:"Togo",countryShortCode:"TG",regions:[{name:"Centre",shortCode:"C"},{name:"Kara",shortCode:"K"},{name:"Maritime",shortCode:"M"},{name:"Plateaux",shortCode:"P"},{name:"Savannes",shortCode:"S"}]},{countryName:"Tokelau",countryShortCode:"TK",regions:[{name:"Atafu"},{name:"Fakaofo"},{name:"Nukunonu"}]},{countryName:"Tonga",countryShortCode:"TO",regions:[{name:"'Eua",shortCode:"01"},{name:"Ha'apai",shortCode:"02"},{name:"Niuas",shortCode:"03"},{name:"Tongatapu",shortCode:"04"},{name:"Vava'u",shortCode:"05"}]},{countryName:"Trinidad and Tobago",countryShortCode:"TT",regions:[{name:"Arima",shortCode:"ARI"},{name:"Chaguanas",shortCode:"CHA"},{name:"Couva-Tabaquite-Talparo",shortCode:"CTT"},{name:"Diefo Martin",shortCode:"DMN"},{name:"Mayaro-Rio Claro",shortCode:"MRC"},{name:"Penal-Debe",shortCode:"PED"},{name:"Point Fortin",shortCode:"PTF"},{name:"Port-of-Spain",shortCode:"POS"},{name:"Princes Town",shortCode:"PRT"},{name:"San Fernando",shortCode:"SFO"},{name:"San Juan-Laventille",shortCode:"SJL"},{name:"Sangre Grande",shortCode:"SGE"},{name:"Siparia",shortCode:"SIP"},{name:"Tobago",shortCode:"TOB"},{name:"Tunapuna-Piarco",shortCode:"TUP"}]},{countryName:"Tunisia",countryShortCode:"TN",regions:[{name:"Ariana",shortCode:"12"},{name:"Beja",shortCode:"31"},{name:"Ben Arous",shortCode:"13"},{name:"Bizerte",shortCode:"23"},{name:"Gabes",shortCode:"81"},{name:"Gafsa",shortCode:"71"},{name:"Jendouba",shortCode:"32"},{name:"Kairouan",shortCode:"41"},{name:"Kasserine",shortCode:"42"},{name:"Kebili",shortCode:"73"},{name:"Kef",shortCode:"33"},{name:"Mahdia",shortCode:"53"},{name:"Medenine",shortCode:"82"},{name:"Monastir",shortCode:"52"},{name:"Nabeul",shortCode:"21"},{name:"Sfax",shortCode:"61"},{name:"Sidi Bouzid",shortCode:"43"},{name:"Siliana",shortCode:"34"},{name:"Sousse",shortCode:"51"},{name:"Tataouine",shortCode:"83"},{name:"Tozeur",shortCode:"72"},{name:"Tunis",shortCode:"11"},{name:"Zaghouan",shortCode:"22"}]},{countryName:"Turkey",countryShortCode:"TR",regions:[{name:"Adana",shortCode:"01"},{name:"Adiyaman",shortCode:"02"},{name:"Afyonkarahisar",shortCode:"03"},{name:"Agri",shortCode:"04"},{name:"Aksaray",shortCode:"68"},{name:"Amasya",shortCode:"05"},{name:"Ankara",shortCode:"06"},{name:"Antalya",shortCode:"07"},{name:"Ardahan",shortCode:"75"},{name:"Artvin",shortCode:"08"},{name:"Aydin",shortCode:"09"},{name:"Balikesir",shortCode:"10"},{name:"Bartin",shortCode:"74"},{name:"Batman",shortCode:"72"},{name:"Bayburt",shortCode:"69"},{name:"Bilecik",shortCode:"11"},{name:"Bingol",shortCode:"12"},{name:"Bitlis",shortCode:"13"},{name:"Bolu",shortCode:"14"},{name:"Burdur",shortCode:"15"},{name:"Bursa",shortCode:"16"},{name:"Canakkale",shortCode:"17"},{name:"Cankiri",shortCode:"18"},{name:"Corum",shortCode:"19"},{name:"Denizli",shortCode:"20"},{name:"Diyarbakir",shortCode:"21"},{name:"Duzce",shortCode:"81"},{name:"Edirne",shortCode:"22"},{name:"Elazig",shortCode:"23"},{name:"Erzincan",shortCode:"24"},{name:"Erzurum",shortCode:"25"},{name:"Eskisehir",shortCode:"26"},{name:"Gaziantep",shortCode:"27"},{name:"Giresun",shortCode:"28"},{name:"Gumushane",shortCode:"29"},{name:"Hakkari",shortCode:"30"},{name:"Hatay",shortCode:"31"},{name:"Igdir",shortCode:"76"},{name:"Isparta",shortCode:"32"},{name:"Istanbul",shortCode:"34"},{name:"Izmir",shortCode:"35"},{name:"Kahramanmaras",shortCode:"46"},{name:"Karabuk",shortCode:"78"},{name:"Karaman",shortCode:"70"},{name:"Kars",shortCode:"36"},{name:"Kastamonu",shortCode:"37"},{name:"Kayseri",shortCode:"38"},{name:"Kilis",shortCode:"79"},{name:"Kirikkale",shortCode:"71"},{name:"Kirklareli",shortCode:"39"},{name:"Kirsehir",shortCode:"40"},{name:"Kocaeli",shortCode:"41"},{name:"Konya",shortCode:"42"},{name:"Kutahya",shortCode:"43"},{name:"Malatya",shortCode:"44"},{name:"Manisa",shortCode:"45"},{name:"Mardin",shortCode:"47"},{name:"Mersin",shortCode:"33"},{name:"Mugla",shortCode:"48"},{name:"Mus",shortCode:"49"},{name:"Nevsehir",shortCode:"50"},{name:"Nigde",shortCode:"51"},{name:"Ordu",shortCode:"52"},{name:"Osmaniye",shortCode:"80"},{name:"Rize",shortCode:"53"},{name:"Sakarya",shortCode:"54"},{name:"Samsun",shortCode:"55"},{name:"Sanliurfa",shortCode:"63"},{name:"Siirt",shortCode:"56"},{name:"Sinop",shortCode:"57"},{name:"Sirnak",shortCode:"73"},{name:"Sivas",shortCode:"58"},{name:"Tekirdag",shortCode:"59"},{name:"Tokat",shortCode:"60"},{name:"Trabzon",shortCode:"61"},{name:"Tunceli",shortCode:"62"},{name:"Usak",shortCode:"64"},{name:"Van",shortCode:"65"},{name:"Yalova",shortCode:"77"},{name:"Yozgat",shortCode:"66"},{name:"Zonguldak",shortCode:"67"}]},{countryName:"Turkmenistan",countryShortCode:"TM",regions:[{name:"Ahal",shortCode:"A"},{name:"Asgabat",shortCode:"S"},{name:"Balkan",shortCode:"B"},{name:"Dashoguz",shortCode:"D"},{name:"Lebap",shortCode:"L"},{name:"Mary",shortCode:"M"}]},{countryName:"Turks and Caicos Islands",countryShortCode:"TC",regions:[{name:"Turks and Caicos Islands"}]},{countryName:"Tuvalu",countryShortCode:"TV",regions:[{name:"Funafuti",shortCode:"FUN"},{name:"Nanumanga",shortCode:"NMG"},{name:"Nanumea",shortCode:"NMA"},{name:"Niutao",shortCode:"NIT"},{name:"Nui",shortCode:"NUI"},{name:"Nukufetau",shortCode:"NKF"},{name:"Nukulaelae",shortCode:"NKL"},{name:"Vaitupu",shortCode:"VAU"}]},{countryName:"Uganda",countryShortCode:"UG",regions:[{name:"Abim",shortCode:"317"},{name:"Adjumani",shortCode:"301"},{name:"Amolatar",shortCode:"314"},{name:"Amuria",shortCode:"216"},{name:"Amuru",shortCode:"319"},{name:"Apac",shortCode:"302"},{name:"Arua",shortCode:"303"},{name:"Budaka",shortCode:"217"},{name:"Bududa",shortCode:"223"},{name:"Bugiri",shortCode:"201"},{name:"Bukedea",shortCode:"224"},{name:"Bukwa",shortCode:"218"},{name:"Buliisa",shortCode:"419"},{name:"Bundibugyo",shortCode:"401"},{name:"Bushenyi",shortCode:"402"},{name:"Busia",shortCode:"202"},{name:"Butaleja",shortCode:"219"},{name:"Dokolo",shortCode:"318"},{name:"Gulu",shortCode:"304"},{name:"Hoima",shortCode:"403"},{name:"Ibanda",shortCode:"416"},{name:"Iganga",shortCode:"203"},{name:"Isingiro",shortCode:"417"},{name:"Jinja",shortCode:"204"},{name:"Kaabong",shortCode:"315"},{name:"Kabale",shortCode:"404"},{name:"Kabarole",shortCode:"405"},{name:"Kaberamaido",shortCode:"213"},{name:"Kalangala",shortCode:"101"},{name:"Kaliro",shortCode:"220"},{name:"Kampala",shortCode:"102"},{name:"Kamuli",shortCode:"205"},{name:"Kamwenge",shortCode:"413"},{name:"Kanungu",shortCode:"414"},{name:"Kapchorwa",shortCode:"206"},{name:"Kasese",shortCode:"406"},{name:"Katakwi",shortCode:"207"},{name:"Kayunga",shortCode:"112"},{name:"Kibaale",shortCode:"407"},{name:"Kiboga",shortCode:"103"},{name:"Kiruhura",shortCode:"418"},{name:"Kisoro",shortCode:"408"},{name:"Kitgum",shortCode:"305"},{name:"Koboko",shortCode:"316"},{name:"Kotido",shortCode:"306"},{name:"Kumi",shortCode:"208"},{name:"Kyenjojo",shortCode:"415"},{name:"Lira",shortCode:"307"},{name:"Luwero",shortCode:"104"},{name:"Lyantonde",shortCode:"116"},{name:"Manafwa",shortCode:"221"},{name:"Maracha",shortCode:"320"},{name:"Masaka",shortCode:"105"},{name:"Masindi",shortCode:"409"},{name:"Mayuge",shortCode:"214"},{name:"Mbale",shortCode:"209"},{name:"Mbarara",shortCode:"410"},{name:"Mityana",shortCode:"114"},{name:"Moroto",shortCode:"308"},{name:"Moyo",shortCode:"309"},{name:"Mpigi",shortCode:"106"},{name:"Mubende",shortCode:"107"},{name:"Mukono",shortCode:"108"},{name:"Nakapiripirit",shortCode:"311"},{name:"Nakaseke",shortCode:"115"},{name:"Nakasongola",shortCode:"109"},{name:"Namutumba",shortCode:"222"},{name:"Nebbi",shortCode:"310"},{name:"Ntungamo",shortCode:"411"},{name:"Oyam",shortCode:"321"},{name:"Pader",shortCode:"312"},{name:"Pallisa",shortCode:"210"},{name:"Rakai",shortCode:"110"},{name:"Rukungiri",shortCode:"412"},{name:"Sembabule",shortCode:"111"},{name:"Sironko",shortCode:"215"},{name:"Soroti",shortCode:"211"},{name:"Tororo",shortCode:"212"},{name:"Wakiso",shortCode:"113"},{name:"Yumbe",shortCode:"313"}]},{countryName:"Ukraine",countryShortCode:"UA",regions:[{name:"Cherkaska oblast",shortCode:"71"},{name:"Chernihivska oblast",shortCode:"74"},{name:"Chernivetska oblast",shortCode:"77"},{name:"Dnipropetrovska oblast",shortCode:"12"},{name:"Donetska oblast",shortCode:"14"},{name:"Ivano-Frankivska oblast",shortCode:"26"},{name:"Kharkivska oblast",shortCode:"63"},{name:"Khersonska oblast",shortCode:"65"},{name:"Khmelnytska oblast",shortCode:"68"},{name:"Kyivska oblast",shortCode:"32"},{name:"Kirovohradska oblast",shortCode:"35"},{name:"Luhanska oblast",shortCode:"09"},{name:"Lvivska oblast",shortCode:"46"},{name:"Mykolaivska oblast",shortCode:"48"},{name:"Odeska oblast",shortCode:"51"},{name:"Poltavska oblast",shortCode:"53"},{name:"Rivnenska oblast",shortCode:"56"},{name:"Sumska oblast",shortCode:"59"},{name:"Ternopilska oblast",shortCode:"61"},{name:"Vinnytska oblast",shortCode:"05"},{name:"Volynska oblast",shortCode:"07"},{name:"Zakarpatska oblast",shortCode:"21"},{name:"Zaporizka oblast",shortCode:"23"},{name:"Zhytomyrska oblast",shortCode:"18"},{name:"Avtonomna Respublika Krym",shortCode:"43"},{name:"Kyiv",shortCode:"30"},{name:"Sevastopol",shortCode:"40"}]},{countryName:"United Arab Emirates",countryShortCode:"AE",regions:[{name:"Abu Dhabi",shortCode:"AZ"},{name:"Ajman",shortCode:"AJ"},{name:"Dubai",shortCode:"DU"},{name:"Fujairah",shortCode:"FU"},{name:"Ras al Khaimah",shortCode:"RK"},{name:"Sharjah",shortCode:"SH"},{name:"Umm Al Quwain",shortCode:"UQ"}]},{countryName:"United Kingdom",countryShortCode:"GB",regions:[{name:"Aberdeen City",shortCode:"ABE"},{name:"Aberdeenshire",shortCode:"ABD"},{name:"Angus",shortCode:"ANS"},{name:"Antrim and Newtownabbey",shortCode:"ANN"},{name:"Ards and North Down",shortCode:"AND"},{name:"Argyll and Bute",shortCode:"AGB"},{name:"Armagh City, Banbridge and Craigavon",shortCode:"ABC"},{name:"Barking and Dagenham",shortCode:"BDG"},{name:"Barnet",shortCode:"BNE"},{name:"Barnsley",shortCode:"BNS"},{name:"Bath and North East Somerset",shortCode:"BAS"},{name:"Bedford",shortCode:"BDF"},{name:"Belfast City",shortCode:"BFS"},{name:"Berkshire",shortCode:"BRK"},{name:"Bexley",shortCode:"BEX"},{name:"Birmingham",shortCode:"BIR"},{name:"Blackburn with Darwen",shortCode:"BBD"},{name:"Blackpool",shortCode:"BPL"},{name:"Blaenau Gwent",shortCode:"BGW"},{name:"Bolton",shortCode:"BOL"},{name:"Bournemouth, Christchurch and Poole",shortCode:"BCP"},{name:"Bracknell Forest",shortCode:"BRC"},{name:"Bradford",shortCode:"BRD"},{name:"Brent",shortCode:"BEN"},{name:"Bridgend",shortCode:"BGE"},{name:"Brighton and Hove",shortCode:"BNH"},{name:"Bristol, City of",shortCode:"BST"},{name:"Bromley",shortCode:"BRY"},{name:"Buckinghamshire",shortCode:"BKM"},{name:"Bury",shortCode:"BUR"},{name:"Caerphilly",shortCode:"CAY"},{name:"Calderdale",shortCode:"CLD"},{name:"Cambridgeshire",shortCode:"CAM"},{name:"Camden",shortCode:"CMD"},{name:"Cardiff",shortCode:"CRF"},{name:"Carmarthenshire",shortCode:"CMN"},{name:"Causeway Coast and Glens",shortCode:"CCG"},{name:"Central Bedfordshire",shortCode:"CBF"},{name:"Ceredigion",shortCode:"CGN"},{name:"Cheshire East",shortCode:"CHE"},{name:"Cheshire West and Chester",shortCode:"CHW"},{name:"Clackmannanshire",shortCode:"CLK"},{name:"Conwy",shortCode:"CWY"},{name:"Cornwall",shortCode:"CON"},{name:"Coventry",shortCode:"COV"},{name:"Croydon",shortCode:"CRY"},{name:"Cumbria",shortCode:"CMA"},{name:"Darlington",shortCode:"DAL"},{name:"Denbighshire",shortCode:"DEN"},{name:"Derby",shortCode:"DER"},{name:"Derbyshire",shortCode:"DBY"},{name:"Derry and Strabane",shortCode:"DRS"},{name:"Devon",shortCode:"DEV"},{name:"Doncaster",shortCode:"DNC"},{name:"Dorset",shortCode:"DOR"},{name:"Dudley",shortCode:"DUD"},{name:"Dumfries and Galloway",shortCode:"DGY"},{name:"Dundee City",shortCode:"DND"},{name:"Durham, County",shortCode:"DUR"},{name:"Ealing",shortCode:"EAL"},{name:"East Ayrshire",shortCode:"EAY"},{name:"East Dunbartonshire",shortCode:"EDU"},{name:"East Lothian",shortCode:"ELN"},{name:"East Renfrewshire",shortCode:"ERW"},{name:"East Riding of Yorkshire",shortCode:"ERY"},{name:"East Sussex",shortCode:"ESX"},{name:"Edinburgh, City of",shortCode:"EDH"},{name:"Eilean Siar",shortCode:"ELS"},{name:"Enfield",shortCode:"ENF"},{name:"Essex",shortCode:"ESS"},{name:"Falkirk",shortCode:"FAL"},{name:"Fermanagh and Omagh",shortCode:"FMO"},{name:"Fife",shortCode:"FIF"},{name:"Flintshire",shortCode:"FLN"},{name:"Gateshead",shortCode:"GAT"},{name:"Glasgow City",shortCode:"GLG"},{name:"Gloucestershire",shortCode:"GLS"},{name:"Greenwich",shortCode:"GRE"},{name:"Gwynedd",shortCode:"GWN"},{name:"Hackney",shortCode:"HCK"},{name:"Halton",shortCode:"HAL"},{name:"Hammersmith and Fulham",shortCode:"HMF"},{name:"Hampshire",shortCode:"HAM"},{name:"Haringey",shortCode:"HRY"},{name:"Harrow",shortCode:"HRW"},{name:"Hartlepool",shortCode:"HPL"},{name:"Havering",shortCode:"HAV"},{name:"Herefordshire",shortCode:"HEF"},{name:"Hertfordshire",shortCode:"HRT"},{name:"Highland",shortCode:"HLD"},{name:"Hillingdon",shortCode:"HIL"},{name:"Hounslow",shortCode:"HNS"},{name:"Inverclyde",shortCode:"IVC"},{name:"Isle of Anglesey",shortCode:"AGY"},{name:"Isle of Wight",shortCode:"IOW"},{name:"Isles of Scilly",shortCode:"IOS"},{name:"Islington",shortCode:"ISL"},{name:"Kensington and Chelsea",shortCode:"KEC"},{name:"Kent",shortCode:"KEN"},{name:"Kingston upon Hull",shortCode:"KHL"},{name:"Kingston upon Thames",shortCode:"KTT"},{name:"Kirklees",shortCode:"KIR"},{name:"Knowsley",shortCode:"KWL"},{name:"Lambeth",shortCode:"LBH"},{name:"Lancashire",shortCode:"LAN"},{name:"Leeds",shortCode:"LDS"},{name:"Leicester",shortCode:"LCE"},{name:"Leicestershire",shortCode:"LEC"},{name:"Lewisham",shortCode:"LEW"},{name:"Lincolnshire",shortCode:"LIN"},{name:"Lisburn and Castlereagh",shortCode:"LBC"},{name:"Liverpool",shortCode:"LIV"},{name:"London, City of",shortCode:"LND"},{name:"Luton",shortCode:"LUT"},{name:"Manchester",shortCode:"MAN"},{name:"Medway",shortCode:"MDW"},{name:"Merthyr Tydfil",shortCode:"MTY"},{name:"Merton",shortCode:"MRT"},{name:"Mid and East Antrim",shortCode:"MEA"},{name:"Mid-Ulster",shortCode:"MUL"},{name:"Middlesbrough",shortCode:"MDB"},{name:"Midlothian",shortCode:"MLN"},{name:"Milton Keynes",shortCode:"MIK"},{name:"Monmouthshire",shortCode:"MON"},{name:"Moray",shortCode:"MRY"},{name:"Neath Port Talbot",shortCode:"NTL"},{name:"Newcastle upon Tyne",shortCode:"NET"},{name:"Newham",shortCode:"NWM"},{name:"Newport",shortCode:"NWP"},{name:"Newry, Mourne and Down",shortCode:"NMD"},{name:"Norfolk",shortCode:"NFK"},{name:"North Ayrshire",shortCode:"NAY"},{name:"North East Lincolnshire",shortCode:"NEL"},{name:"North Lanarkshire",shortCode:"NLK"},{name:"North Lincolnshire",shortCode:"NLN"},{name:"North Somerset",shortCode:"NSM"},{name:"North Tyneside",shortCode:"NTY"},{name:"North Yorkshire",shortCode:"NYK"},{name:"Northamptonshire",shortCode:"NTH"},{name:"Northumberland",shortCode:"NBL"},{name:"Nottingham",shortCode:"NGM"},{name:"Nottinghamshire",shortCode:"NTT"},{name:"Oldham",shortCode:"OLD"},{name:"Orkney Islands",shortCode:"ORK"},{name:"Oxfordshire",shortCode:"OXF"},{name:"Pembrokeshire",shortCode:"PEM"},{name:"Perth and Kinross",shortCode:"PKN"},{name:"Peterborough",shortCode:"PTE"},{name:"Plymouth",shortCode:"PLY"},{name:"Portsmouth",shortCode:"POR"},{name:"Powys",shortCode:"POW"},{name:"Reading",shortCode:"RDG"},{name:"Redbridge",shortCode:"RDB"},{name:"Redcar and Cleveland",shortCode:"RCC"},{name:"Renfrewshire",shortCode:"RFW"},{name:"Rhondda Cynon Taff",shortCode:"RCT"},{name:"Richmond upon Thames",shortCode:"RIC"},{name:"Rochdale",shortCode:"RCH"},{name:"Rotherham",shortCode:"ROT"},{name:"Rutland",shortCode:"RUT"},{name:"Salford",shortCode:"SLF"},{name:"Sandwell",shortCode:"SAW"},{name:"Scottish Borders",shortCode:"SCB"},{name:"Sefton",shortCode:"SFT"},{name:"Sheffield",shortCode:"SHF"},{name:"Shetland Islands",shortCode:"ZET"},{name:"Shropshire",shortCode:"SHR"},{name:"Slough",shortCode:"SLG"},{name:"Solihull",shortCode:"SOL"},{name:"Somerset",shortCode:"SOM"},{name:"South Ayrshire",shortCode:"SAY"},{name:"South Gloucestershire",shortCode:"SGC"},{name:"South Lanarkshire",shortCode:"SLK"},{name:"South Tyneside",shortCode:"STY"},{name:"Southampton",shortCode:"STH"},{name:"Southend-on-Sea",shortCode:"SOS"},{name:"Southwark",shortCode:"SWK"},{name:"St. Helens",shortCode:"SHN"},{name:"Staffordshire",shortCode:"STS"},{name:"Stirling",shortCode:"STG"},{name:"Stockport",shortCode:"SKP"},{name:"Stockton-on-Tees",shortCode:"STT"},{name:"Stoke-on-Trent",shortCode:"STE"},{name:"Suffolk",shortCode:"SFK"},{name:"Sunderland",shortCode:"SND"},{name:"Surrey",shortCode:"SRY"},{name:"Sutton",shortCode:"STN"},{name:"Swansea",shortCode:"SWA"},{name:"Swindon",shortCode:"SWD"},{name:"Tameside",shortCode:"TAM"},{name:"Telford and Wrekin",shortCode:"TFW"},{name:"Thurrock",shortCode:"THR"},{name:"Torbay",shortCode:"TOB"},{name:"Torfaen",shortCode:"TOF"},{name:"Tower Hamlets",shortCode:"TWH"},{name:"Trafford",shortCode:"TRF"},{name:"Vale of Glamorgan, The",shortCode:"VGL"},{name:"Wakefield",shortCode:"WKF"},{name:"Walsall",shortCode:"WLL"},{name:"Waltham Forest",shortCode:"WFT"},{name:"Wandsworth",shortCode:"WND"},{name:"Warrington",shortCode:"WRT"},{name:"Warwickshire",shortCode:"WAR"},{name:"West Berkshire",shortCode:"WBK"},{name:"West Dunbartonshire",shortCode:"WDU"},{name:"West Lothian",shortCode:"WLN"},{name:"West Sussex",shortCode:"WSX"},{name:"Westminster",shortCode:"WSM"},{name:"Wigan",shortCode:"WGN"},{name:"Wiltshire",shortCode:"WIL"},{name:"Windsor and Maidenhead",shortCode:"WNM"},{name:"Wirral",shortCode:"WRL"},{name:"Wokingham",shortCode:"WOK"},{name:"Wolverhampton",shortCode:"WLV"},{name:"Worcestershire",shortCode:"WOR"},{name:"Wrexham",shortCode:"WRX"},{name:"York",shortCode:"YOR"}]},{countryName:"United States",countryShortCode:"US",regions:[{name:"Alabama",shortCode:"AL"},{name:"Alaska",shortCode:"AK"},{name:"American Samoa",shortCode:"AS"},{name:"Arizona",shortCode:"AZ"},{name:"Arkansas",shortCode:"AR"},{name:"California",shortCode:"CA"},{name:"Colorado",shortCode:"CO"},{name:"Connecticut",shortCode:"CT"},{name:"Delaware",shortCode:"DE"},{name:"District of Columbia",shortCode:"DC"},{name:"Micronesia",shortCode:"FM"},{name:"Florida",shortCode:"FL"},{name:"Georgia",shortCode:"GA"},{name:"Guam",shortCode:"GU"},{name:"Hawaii",shortCode:"HI"},{name:"Idaho",shortCode:"ID"},{name:"Illinois",shortCode:"IL"},{name:"Indiana",shortCode:"IN"},{name:"Iowa",shortCode:"IA"},{name:"Kansas",shortCode:"KS"},{name:"Kentucky",shortCode:"KY"},{name:"Louisiana",shortCode:"LA"},{name:"Maine",shortCode:"ME"},{name:"Marshall Islands",shortCode:"MH"},{name:"Maryland",shortCode:"MD"},{name:"Massachusetts",shortCode:"MA"},{name:"Michigan",shortCode:"MI"},{name:"Minnesota",shortCode:"MN"},{name:"Mississippi",shortCode:"MS"},{name:"Missouri",shortCode:"MO"},{name:"Montana",shortCode:"MT"},{name:"Nebraska",shortCode:"NE"},{name:"Nevada",shortCode:"NV"},{name:"New Hampshire",shortCode:"NH"},{name:"New Jersey",shortCode:"NJ"},{name:"New Mexico",shortCode:"NM"},{name:"New York",shortCode:"NY"},{name:"North Carolina",shortCode:"NC"},{name:"North Dakota",shortCode:"ND"},{name:"Northern Mariana Islands",shortCode:"MP"},{name:"Ohio",shortCode:"OH"},{name:"Oklahoma",shortCode:"OK"},{name:"Oregon",shortCode:"OR"},{name:"Palau",shortCode:"PW"},{name:"Pennsylvania",shortCode:"PA"},{name:"Puerto Rico",shortCode:"PR"},{name:"Rhode Island",shortCode:"RI"},{name:"South Carolina",shortCode:"SC"},{name:"South Dakota",shortCode:"SD"},{name:"Tennessee",shortCode:"TN"},{name:"Texas",shortCode:"TX"},{name:"Utah",shortCode:"UT"},{name:"Vermont",shortCode:"VT"},{name:"Virgin Islands",shortCode:"VI"},{name:"Virginia",shortCode:"VA"},{name:"Washington",shortCode:"WA"},{name:"West Virginia",shortCode:"WV"},{name:"Wisconsin",shortCode:"WI"},{name:"Wyoming",shortCode:"WY"},{name:"Armed Forces Americas",shortCode:"AA"},{name:"Armed Forces Europe, Canada, Africa and Middle East",shortCode:"AE"},{name:"Armed Forces Pacific",shortCode:"AP"}]},{countryName:"United States Minor Outlying Islands",countryShortCode:"UM",regions:[{name:"Baker Island",shortCode:"81"},{name:"Howland Island",shortCode:"84"},{name:"Jarvis Island",shortCode:"86"},{name:"Johnston Atoll",shortCode:"67"},{name:"Kingman Reef",shortCode:"89"},{name:"Midway Islands",shortCode:"71"},{name:"Navassa Island",shortCode:"76"},{name:"Palmyra Atoll",shortCode:"95"},{name:"Wake Island",shortCode:"79"},{name:"Bajo Nuevo Bank",shortCode:"BN"},{name:"Serranilla Bank",shortCode:"SB"}]},{countryName:"Uruguay",countryShortCode:"UY",regions:[{name:"Artigas",shortCode:"AR"},{name:"Canelones",shortCode:"CA"},{name:"Cerro Largo",shortCode:"CL"},{name:"Colonia",shortCode:"CO"},{name:"Durazno",shortCode:"DU"},{name:"Flores",shortCode:"FS"},{name:"Florida",shortCode:"FD"},{name:"Lavalleja",shortCode:"LA"},{name:"Maldonado",shortCode:"MA"},{name:"Montevideo",shortCode:"MO"},{name:"Paysand\xfa",shortCode:"PA"},{name:"R\xedo Negro",shortCode:"RN"},{name:"Rivera",shortCode:"RV"},{name:"Rocha",shortCode:"RO"},{name:"Salto",shortCode:"SA"},{name:"San Jos\xe9",shortCode:"SJ"},{name:"Soriano",shortCode:"SO"},{name:"Tacuaremb\xf3",shortCode:"TA"},{name:"Treinta y Tres",shortCode:"TT"}]},{countryName:"Uzbekistan",countryShortCode:"UZ",regions:[{name:"Toshkent shahri",shortCode:"TK"},{name:"Andijon",shortCode:"AN"},{name:"Buxoro",shortCode:"BU"},{name:"Farg\u2018ona",shortCode:"FA"},{name:"Jizzax",shortCode:"JI"},{name:"Namangan",shortCode:"NG"},{name:"Navoiy",shortCode:"NW"},{name:"Qashqadaryo (Qarshi)",shortCode:"QA"},{name:"Samarqand",shortCode:"SA"},{name:"Sirdaryo (Guliston)",shortCode:"SI"},{name:"Surxondaryo (Termiz)",shortCode:"SU"},{name:"Toshkent wiloyati",shortCode:"TO"},{name:"Xorazm (Urganch)",shortCode:"XO"},{name:"Qoraqalpog\u2018iston Respublikasi (Nukus)",shortCode:"QR"}]},{countryName:"Vanuatu",countryShortCode:"VU",regions:[{name:"Malampa",shortCode:"MAP"},{name:"P\xe9nama",shortCode:"PAM"},{name:"Sanma",shortCode:"SAM"},{name:"Sh\xe9fa",shortCode:"SEE"},{name:"Taf\xe9a",shortCode:"TAE"},{name:"Torba",shortCode:"TOB"}]},{countryName:"Venezuela, Bolivarian Republic of",countryShortCode:"VE",regions:[{name:"Dependencias Federales",shortCode:"W"},{name:"Distrito Federal",shortCode:"A"},{name:"Amazonas",shortCode:"Z"},{name:"Anzo\xe1tegui",shortCode:"B"},{name:"Apure",shortCode:"C"},{name:"Aragua",shortCode:"D"},{name:"Barinas",shortCode:"E"},{name:"Bol\xedvar",shortCode:"F"},{name:"Carabobo",shortCode:"G"},{name:"Cojedes",shortCode:"H"},{name:"Delta Amacuro",shortCode:"Y"},{name:"Falc\xf3n",shortCode:"I"},{name:"Gu\xe1rico",shortCode:"J"},{name:"Lara",shortCode:"K"},{name:"M\xe9rida",shortCode:"L"},{name:"Miranda",shortCode:"M"},{name:"Monagas",shortCode:"N"},{name:"Nueva Esparta",shortCode:"O"},{name:"Portuguesa",shortCode:"P"},{name:"Sucre",shortCode:"R"},{name:"T\xe1chira",shortCode:"S"},{name:"Trujillo",shortCode:"T"},{name:"Vargas",shortCode:"X"},{name:"Yaracuy",shortCode:"U"},{name:"Zulia",shortCode:"V"}]},{countryName:"Vietnam",countryShortCode:"VN",regions:[{name:"An Giang",shortCode:"44"},{name:"B\xe0 R\u1ecba - V\u0169ng T\xe0u",shortCode:"43"},{name:"B\xecnh D\u01b0\u01a1ng",shortCode:"57"},{name:"B\xecnh Ph\u01b0\u1edbc",shortCode:"58"},{name:"B\xecnh \u0110\u1ecbnh",shortCode:"31"},{name:"B\xecnh Thu\u1eadn",shortCode:"40"},{name:"B\u1ea1c Li\xeau",shortCode:"55"},{name:"B\u1eafc Giang",shortCode:"54"},{name:"B\u1eafc K\u1ea1n",shortCode:"53"},{name:"B\u1eafc Ninh",shortCode:"56"},{name:"B\u1ebfn Tre",shortCode:"50"},{name:"Cao B\u1eb1ng",shortCode:"04"},{name:"C\xe0 Mau",shortCode:"59"},{name:"\u0110\u1eafk L\u1eafk",shortCode:"33"},{name:"\u0110\u1eafk N\xf4ng",shortCode:"72"},{name:"\u0110i\u1ec7n Bi\xean",shortCode:"71"},{name:"\u0110\u1ed3ng Nai",shortCode:"39"},{name:"\u0110\u1ed3ng Th\xe1p",shortCode:"45"},{name:"Gia Lai",shortCode:"30"},{name:"H\xe0 Giang",shortCode:"03"},{name:"H\xe0 Nam",shortCode:"63"},{name:"H\xe0 T\xe2y",shortCode:"15"},{name:"H\xe0 T\u0129nh",shortCode:"23"},{name:"H\u1ea3i D\u01b0\u01a1ng",shortCode:"61"},{name:"H\u1eadu Giang",shortCode:"73"},{name:"H\xf2a B\xecnh",shortCode:"14"},{name:"H\u01b0ng Y\xean",shortCode:"66"},{name:"Kh\xe1nh H\xf2a",shortCode:"34"},{name:"Ki\xean Giang",shortCode:"47"},{name:"Kon Tum",shortCode:"28"},{name:"Lai Ch\xe2u",shortCode:"01"},{name:"L\xe2m \u0110\u1ed3ng",shortCode:"35"},{name:"L\u1ea1ng S\u01a1n",shortCode:"09"},{name:"L\xe0o Cai",shortCode:"02"},{name:"Long An",shortCode:"41"},{name:"Nam \u0110\u1ecbnh",shortCode:"67"},{name:"Ngh\u1ec7 An",shortCode:"22"},{name:"Ninh B\xecnh",shortCode:"18"},{name:"Ninh Thu\u1eadn",shortCode:"36"},{name:"Ph\xfa Th\u1ecd",shortCode:"68"},{name:"Ph\xfa Y\xean",shortCode:"32"},{name:"Qu\u1ea3ng B\xecnh",shortCode:"24"},{name:"Qu\u1ea3ng Nam",shortCode:"27"},{name:"Qu\u1ea3ng Ng\xe3i",shortCode:"29"},{name:"Qu\u1ea3ng Ninh",shortCode:"13"},{name:"Qu\u1ea3ng Tr\u1ecb",shortCode:"25"},{name:"S\xf3c Tr\u0103ng",shortCode:"52"},{name:"S\u01a1n La",shortCode:"05"},{name:"T\xe2y Ninh",shortCode:"37"},{name:"Th\xe1i B\xecnh",shortCode:"20"},{name:"Th\xe1i Nguy\xean",shortCode:"69"},{name:"Thanh H\xf3a",shortCode:"21"},{name:"Th\u1eeba Thi\xean\u2013Hu\u1ebf",shortCode:"26"},{name:"Ti\u1ec1n Giang",shortCode:"46"},{name:"Tr\xe0 Vinh",shortCode:"51"},{name:"Tuy\xean Quang",shortCode:"07"},{name:"V\u0129nh Long",shortCode:"49"},{name:"V\u0129nh Ph\xfac",shortCode:"70"},{name:"Y\xean B\xe1i",shortCode:"06"},{name:"C\u1ea7n Th\u01a1",shortCode:"CT"},{name:"\u0110\xe0 N\u1eb5ng",shortCode:"DN"},{name:"H\xe0 N\u1ed9i",shortCode:"HN"},{name:"H\u1ea3i Ph\xf2ng",shortCode:"HP"},{name:"H\u1ed3 Ch\xed Minh (S\xe0i G\xf2n)",shortCode:"SG"}]},{countryName:"Virgin Islands, British",countryShortCode:"VG",regions:[{name:"Anegada",shortCode:"ANG"},{name:"Jost Van Dyke",shortCode:"JVD"},{name:"Tortola",shortCode:"TTA"},{name:"Virgin Gorda",shortCode:"VGD"}]},{countryName:"Virgin Islands, U.S.",countryShortCode:"VI",regions:[{name:"St. Thomas",shortCode:"STH"},{name:"St. John",shortCode:"SJO"},{name:"St. Croix",shortCode:"SCR"}]},{countryName:"Wallis and Futuna",countryShortCode:"WF",regions:[{name:"Alo",shortCode:"ALO"},{name:"Sigave",shortCode:"SIG"},{name:"Wallis",shortCode:"WAL"}]},{countryName:"Western Sahara",countryShortCode:"EH",regions:[{name:"Es Smara",shortCode:"ESM"},{name:"Boujdour",shortCode:"BOD"},{name:"La\xe2youne",shortCode:"LAA"},{name:"Aousserd",shortCode:"AOU"},{name:"Oued ed Dahab",shortCode:"OUD"}]},{countryName:"Yemen",countryShortCode:"YE",regions:[{name:"Aby\u0101n",shortCode:"AB"},{name:"'Adan",shortCode:"AD"},{name:"A\u1e11 \u1e10\u0101li'",shortCode:"DA"},{name:"Al Bay\u1e11\u0101'",shortCode:"BA"},{name:"Al \u1e28udaydah",shortCode:"HU"},{name:"Al Jawf",shortCode:"JA"},{name:"Al Mahrah",shortCode:"MR"},{name:"Al Ma\u1e29w\u012bt",shortCode:"MW"},{name:"'Amr\u0101n",shortCode:"AM"},{name:"Dham\u0101r",shortCode:"DH"},{name:"\u1e28a\u1e11ramawt",shortCode:"HD"},{name:"\u1e28ajjah",shortCode:"HJ"},{name:"Ibb",shortCode:"IB"},{name:"La\u1e29ij",shortCode:"LA"},{name:"Ma'rib",shortCode:"MA"},{name:"Raymah",shortCode:"RA"},{name:"\u015e\u0101\u2018dah",shortCode:"SD"},{name:"\u015ean\u2018\u0101'",shortCode:"SN"},{name:"Shabwah",shortCode:"SH"},{name:"T\u0101\u2018izz",shortCode:"TA"}]},{countryName:"Zambia",countryShortCode:"ZM",regions:[{name:"Central",shortCode:"02"},{name:"Copperbelt",shortCode:"08"},{name:"Eastern",shortCode:"03"},{name:"Luapula",shortCode:"04"},{name:"Lusaka",shortCode:"09"},{name:"Muchinga",shortCode:"10"},{name:"Northern",shortCode:"05"},{name:"North-Western",shortCode:"06"},{name:"Southern",shortCode:"07"},{name:"Western",shortCode:"01"}]},{countryName:"Zimbabwe",countryShortCode:"ZW",regions:[{name:"Bulawayo",shortCode:"BU"},{name:"Harare",shortCode:"HA"},{name:"Manicaland",shortCode:"MA"},{name:"Mashonaland Central",shortCode:"MC"},{name:"Mashonaland East",shortCode:"ME"},{name:"Mashonaland West",shortCode:"MW"},{name:"Masvingo",shortCode:"MV"},{name:"Matabeleland North",shortCode:"MN"},{name:"Matabeleland South",shortCode:"MS"},{name:"Midlands",shortCode:"MI"}]}]}.apply(n,[]))||(e.exports=o)},function(e,n,t){var o=t(676),r=t(677);o.comuni=r,e.exports=o},function(e,n,t){(function(e){e.exports=function(){"use strict";var n,t;function o(){return n.apply(null,arguments)}function r(e){n=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var n;for(n in e)if(s(e,n))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,n){var t,o=[];for(t=0;t<e.length;++t)o.push(n(e[t],t));return o}function m(e,n){for(var t in n)s(n,t)&&(e[t]=n[t]);return s(n,"toString")&&(e.toString=n.toString),s(n,"valueOf")&&(e.valueOf=n.valueOf),e}function h(e,n,t,o){return Wt(e,n,t,o,!0).utc()}function f(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function g(e){return null==e._pf&&(e._pf=f()),e._pf}function v(e){if(null==e._isValid){var n=g(e),o=t.call(n.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&o);if(e._strict&&(r=r&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function y(e){var n=h(NaN);return null!=e?m(g(n),e):g(n).userInvalidated=!0,n}t=Array.prototype.some?Array.prototype.some:function(e){var n,t=Object(this),o=t.length>>>0;for(n=0;n<o;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1};var b=o.momentProperties=[],C=!1;function w(e,n){var t,o,r;if(u(n._isAMomentObject)||(e._isAMomentObject=n._isAMomentObject),u(n._i)||(e._i=n._i),u(n._f)||(e._f=n._f),u(n._l)||(e._l=n._l),u(n._strict)||(e._strict=n._strict),u(n._tzm)||(e._tzm=n._tzm),u(n._isUTC)||(e._isUTC=n._isUTC),u(n._offset)||(e._offset=n._offset),u(n._pf)||(e._pf=g(n)),u(n._locale)||(e._locale=n._locale),b.length>0)for(t=0;t<b.length;t++)u(r=n[o=b[t]])||(e[o]=r);return e}function S(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===C&&(C=!0,o.updateOffset(this),C=!1)}function _(e){return e instanceof S||null!=e&&null!=e._isAMomentObject}function E(e){!1===o.suppressDeprecationWarnings&&"undefined"!==typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,n){var t=!0;return m((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),t){var r,a,i,c=[];for(a=0;a<arguments.length;a++){if(r="","object"===typeof arguments[a]){for(i in r+="\n["+a+"] ",arguments[0])s(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[a];c.push(r)}E(e+"\nArguments: "+Array.prototype.slice.call(c).join("")+"\n"+(new Error).stack),t=!1}return n.apply(this,arguments)}),n)}var O,A={};function k(e,n){null!=o.deprecationHandler&&o.deprecationHandler(e,n),A[e]||(E(n),A[e]=!0)}function T(e){return"undefined"!==typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e){var n,t;for(t in e)s(e,t)&&(T(n=e[t])?this[t]=n:this["_"+t]=n);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function M(e,n){var t,o=m({},e);for(t in n)s(n,t)&&(i(e[t])&&i(n[t])?(o[t]={},m(o[t],e[t]),m(o[t],n[t])):null!=n[t]?o[t]=n[t]:delete o[t]);for(t in e)s(e,t)&&!s(n,t)&&i(e[t])&&(o[t]=m({},o[t]));return o}function I(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,O=Object.keys?Object.keys:function(e){var n,t=[];for(n in e)s(e,n)&&t.push(n);return t};var R={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(e,n,t){var o=this._calendar[e]||this._calendar.sameElse;return T(o)?o.call(n,t):o}function N(e,n,t){var o=""+Math.abs(e),r=n-o.length;return(e>=0?t?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},D={};function B(e,n,t,o){var r=o;"string"===typeof o&&(r=function(){return this[o]()}),e&&(D[e]=r),n&&(D[n[0]]=function(){return N(r.apply(this,arguments),n[1],n[2])}),t&&(D[t]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var n,t,o=e.match(L);for(n=0,t=o.length;n<t;n++)D[o[n]]?o[n]=D[o[n]]:o[n]=z(o[n]);return function(n){var r,a="";for(r=0;r<t;r++)a+=T(o[r])?o[r].call(n,e):o[r];return a}}function G(e,n){return e.isValid()?(n=H(n,e.localeData()),U[n]=U[n]||V(n),U[n](e)):e.localeData().invalidDate()}function H(e,n){var t=5;function o(e){return n.longDateFormat(e)||e}for(F.lastIndex=0;t>=0&&F.test(e);)e=e.replace(F,o),F.lastIndex=0,t-=1;return e}var q={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function K(e){var n=this._longDateFormat[e],t=this._longDateFormat[e.toUpperCase()];return n||!t?n:(this._longDateFormat[e]=t.match(L).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var W="Invalid date";function $(){return this._invalidDate}var Y="%d",Q=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var Z={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function X(e,n,t,o){var r=this._relativeTime[t];return T(r)?r(e,n,t,o):r.replace(/%d/i,e)}function ee(e,n){var t=this._relativeTime[e>0?"future":"past"];return T(t)?t(n):t.replace(/%s/i,n)}var ne={};function te(e,n){var t=e.toLowerCase();ne[t]=ne[t+"s"]=ne[n]=e}function oe(e){return"string"===typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function re(e){var n,t,o={};for(t in e)s(e,t)&&(n=oe(t))&&(o[n]=e[t]);return o}var ae={};function ie(e,n){ae[e]=n}function se(e){var n,t=[];for(n in e)s(e,n)&&t.push({unit:n,priority:ae[n]});return t.sort((function(e,n){return e.priority-n.priority})),t}function ce(e){return e%4===0&&e%100!==0||e%400===0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function le(e){var n=+e,t=0;return 0!==n&&isFinite(n)&&(t=ue(n)),t}function de(e,n){return function(t){return null!=t?(me(this,e,t),o.updateOffset(this,n),this):pe(this,e)}}function pe(e,n){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+n]():NaN}function me(e,n,t){e.isValid()&&!isNaN(t)&&("FullYear"===n&&ce(e.year())&&1===e.month()&&29===e.date()?(t=le(t),e._d["set"+(e._isUTC?"UTC":"")+n](t,e.month(),Xe(t,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+n](t))}function he(e){return T(this[e=oe(e)])?this[e]():this}function fe(e,n){if("object"===typeof e){var t,o=se(e=re(e));for(t=0;t<o.length;t++)this[o[t].unit](e[o[t].unit])}else if(T(this[e=oe(e)]))return this[e](n);return this}var ge,ve=/\d/,ye=/\d\d/,be=/\d{3}/,Ce=/\d{4}/,we=/[+-]?\d{6}/,Se=/\d\d?/,_e=/\d\d\d\d?/,Ee=/\d\d\d\d\d\d?/,xe=/\d{1,3}/,Oe=/\d{1,4}/,Ae=/[+-]?\d{1,6}/,ke=/\d+/,Te=/[+-]?\d+/,Pe=/Z|[+-]\d\d:?\d\d/gi,Me=/Z|[+-]\d\d(?::?\d\d)?/gi,Ie=/[+-]?\d+(\.\d{1,3})?/,Re=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function je(e,n,t){ge[e]=T(n)?n:function(e,o){return e&&t?t:n}}function Ne(e,n){return s(ge,e)?ge[e](n._strict,n._locale):new RegExp(Le(e))}function Le(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,n,t,o,r){return n||t||o||r})))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ue={};function De(e,n){var t,o=n;for("string"===typeof e&&(e=[e]),l(n)&&(o=function(e,t){t[n]=le(e)}),t=0;t<e.length;t++)Ue[e[t]]=o}function Be(e,n){De(e,(function(e,t,o,r){o._w=o._w||{},n(e,o._w,o,r)}))}function ze(e,n,t){null!=n&&s(Ue,e)&&Ue[e](n,t._a,t,e)}var Ve,Ge=0,He=1,qe=2,Ke=3,We=4,$e=5,Ye=6,Qe=7,Je=8;function Ze(e,n){return(e%n+n)%n}function Xe(e,n){if(isNaN(e)||isNaN(n))return NaN;var t=Ze(n,12);return e+=(n-t)/12,1===t?ce(e)?29:28:31-t%7%2}Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var n;for(n=0;n<this.length;++n)if(this[n]===e)return n;return-1},B("M",["MM",2],"Mo",(function(){return this.month()+1})),B("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),B("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),te("month","M"),ie("month",8),je("M",Se),je("MM",Se,ye),je("MMM",(function(e,n){return n.monthsShortRegex(e)})),je("MMMM",(function(e,n){return n.monthsRegex(e)})),De(["M","MM"],(function(e,n){n[He]=le(e)-1})),De(["MMM","MMMM"],(function(e,n,t,o){var r=t._locale.monthsParse(e,o,t._strict);null!=r?n[He]=r:g(t).invalidMonth=e}));var en="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),tn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,on=Re,rn=Re;function an(e,n){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||tn).test(n)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function sn(e,n){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[tn.test(n)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function cn(e,n,t){var o,r,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],o=0;o<12;++o)a=h([2e3,o]),this._shortMonthsParse[o]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[o]=this.months(a,"").toLocaleLowerCase();return t?"MMM"===n?-1!==(r=Ve.call(this._shortMonthsParse,i))?r:null:-1!==(r=Ve.call(this._longMonthsParse,i))?r:null:"MMM"===n?-1!==(r=Ve.call(this._shortMonthsParse,i))||-1!==(r=Ve.call(this._longMonthsParse,i))?r:null:-1!==(r=Ve.call(this._longMonthsParse,i))||-1!==(r=Ve.call(this._shortMonthsParse,i))?r:null}function un(e,n,t){var o,r,a;if(this._monthsParseExact)return cn.call(this,e,n,t);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),o=0;o<12;o++){if(r=h([2e3,o]),t&&!this._longMonthsParse[o]&&(this._longMonthsParse[o]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[o]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),t||this._monthsParse[o]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[o]=new RegExp(a.replace(".",""),"i")),t&&"MMMM"===n&&this._longMonthsParse[o].test(e))return o;if(t&&"MMM"===n&&this._shortMonthsParse[o].test(e))return o;if(!t&&this._monthsParse[o].test(e))return o}}function ln(e,n){var t;if(!e.isValid())return e;if("string"===typeof n)if(/^\d+$/.test(n))n=le(n);else if(!l(n=e.localeData().monthsParse(n)))return e;return t=Math.min(e.date(),Xe(e.year(),n)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](n,t),e}function dn(e){return null!=e?(ln(this,e),o.updateOffset(this,!0),this):pe(this,"Month")}function pn(){return Xe(this.year(),this.month())}function mn(e){return this._monthsParseExact?(s(this,"_monthsRegex")||fn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=on),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function hn(e){return this._monthsParseExact?(s(this,"_monthsRegex")||fn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=rn),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function fn(){function e(e,n){return n.length-e.length}var n,t,o=[],r=[],a=[];for(n=0;n<12;n++)t=h([2e3,n]),o.push(this.monthsShort(t,"")),r.push(this.months(t,"")),a.push(this.months(t,"")),a.push(this.monthsShort(t,""));for(o.sort(e),r.sort(e),a.sort(e),n=0;n<12;n++)o[n]=Fe(o[n]),r[n]=Fe(r[n]);for(n=0;n<24;n++)a[n]=Fe(a[n]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+o.join("|")+")","i")}function gn(e){return ce(e)?366:365}B("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),B(0,["YY",2],0,(function(){return this.year()%100})),B(0,["YYYY",4],0,"year"),B(0,["YYYYY",5],0,"year"),B(0,["YYYYYY",6,!0],0,"year"),te("year","y"),ie("year",1),je("Y",Te),je("YY",Se,ye),je("YYYY",Oe,Ce),je("YYYYY",Ae,we),je("YYYYYY",Ae,we),De(["YYYYY","YYYYYY"],Ge),De("YYYY",(function(e,n){n[Ge]=2===e.length?o.parseTwoDigitYear(e):le(e)})),De("YY",(function(e,n){n[Ge]=o.parseTwoDigitYear(e)})),De("Y",(function(e,n){n[Ge]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return le(e)+(le(e)>68?1900:2e3)};var vn=de("FullYear",!0);function yn(){return ce(this.year())}function bn(e,n,t,o,r,a,i){var s;return e<100&&e>=0?(s=new Date(e+400,n,t,o,r,a,i),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,n,t,o,r,a,i),s}function Cn(e){var n,t;return e<100&&e>=0?((t=Array.prototype.slice.call(arguments))[0]=e+400,n=new Date(Date.UTC.apply(null,t)),isFinite(n.getUTCFullYear())&&n.setUTCFullYear(e)):n=new Date(Date.UTC.apply(null,arguments)),n}function wn(e,n,t){var o=7+n-t;return-(7+Cn(e,0,o).getUTCDay()-n)%7+o-1}function Sn(e,n,t,o,r){var a,i,s=1+7*(n-1)+(7+t-o)%7+wn(e,o,r);return s<=0?i=gn(a=e-1)+s:s>gn(e)?(a=e+1,i=s-gn(e)):(a=e,i=s),{year:a,dayOfYear:i}}function _n(e,n,t){var o,r,a=wn(e.year(),n,t),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?o=i+En(r=e.year()-1,n,t):i>En(e.year(),n,t)?(o=i-En(e.year(),n,t),r=e.year()+1):(r=e.year(),o=i),{week:o,year:r}}function En(e,n,t){var o=wn(e,n,t),r=wn(e+1,n,t);return(gn(e)-o+r)/7}function xn(e){return _n(e,this._week.dow,this._week.doy).week}B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),te("week","w"),te("isoWeek","W"),ie("week",5),ie("isoWeek",5),je("w",Se),je("ww",Se,ye),je("W",Se),je("WW",Se,ye),Be(["w","ww","W","WW"],(function(e,n,t,o){n[o.substr(0,1)]=le(e)}));var On={dow:0,doy:6};function An(){return this._week.dow}function kn(){return this._week.doy}function Tn(e){var n=this.localeData().week(this);return null==e?n:this.add(7*(e-n),"d")}function Pn(e){var n=_n(this,1,4).week;return null==e?n:this.add(7*(e-n),"d")}function Mn(e,n){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=n.weekdaysParse(e))?e:null:parseInt(e,10)}function In(e,n){return"string"===typeof e?n.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Rn(e,n){return e.slice(n,7).concat(e.slice(0,n))}B("d",0,"do","day"),B("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),B("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),B("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),te("day","d"),te("weekday","e"),te("isoWeekday","E"),ie("day",11),ie("weekday",11),ie("isoWeekday",11),je("d",Se),je("e",Se),je("E",Se),je("dd",(function(e,n){return n.weekdaysMinRegex(e)})),je("ddd",(function(e,n){return n.weekdaysShortRegex(e)})),je("dddd",(function(e,n){return n.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,n,t,o){var r=t._locale.weekdaysParse(e,o,t._strict);null!=r?n.d=r:g(t).invalidWeekday=e})),Be(["d","e","E"],(function(e,n,t,o){n[o]=le(e)}));var jn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ln="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fn=Re,Un=Re,Dn=Re;function Bn(e,n){var t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(n)?"format":"standalone"];return!0===e?Rn(t,this._week.dow):e?t[e.day()]:t}function zn(e){return!0===e?Rn(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Vn(e){return!0===e?Rn(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gn(e,n,t){var o,r,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)a=h([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(a,"").toLocaleLowerCase();return t?"dddd"===n?-1!==(r=Ve.call(this._weekdaysParse,i))?r:null:"ddd"===n?-1!==(r=Ve.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=Ve.call(this._minWeekdaysParse,i))?r:null:"dddd"===n?-1!==(r=Ve.call(this._weekdaysParse,i))||-1!==(r=Ve.call(this._shortWeekdaysParse,i))||-1!==(r=Ve.call(this._minWeekdaysParse,i))?r:null:"ddd"===n?-1!==(r=Ve.call(this._shortWeekdaysParse,i))||-1!==(r=Ve.call(this._weekdaysParse,i))||-1!==(r=Ve.call(this._minWeekdaysParse,i))?r:null:-1!==(r=Ve.call(this._minWeekdaysParse,i))||-1!==(r=Ve.call(this._weekdaysParse,i))||-1!==(r=Ve.call(this._shortWeekdaysParse,i))?r:null}function Hn(e,n,t){var o,r,a;if(this._weekdaysParseExact)return Gn.call(this,e,n,t);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=h([2e3,1]).day(o),t&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(a.replace(".",""),"i")),t&&"dddd"===n&&this._fullWeekdaysParse[o].test(e))return o;if(t&&"ddd"===n&&this._shortWeekdaysParse[o].test(e))return o;if(t&&"dd"===n&&this._minWeekdaysParse[o].test(e))return o;if(!t&&this._weekdaysParse[o].test(e))return o}}function qn(e){if(!this.isValid())return null!=e?this:NaN;var n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Mn(e,this.localeData()),this.add(e-n,"d")):n}function Kn(e){if(!this.isValid())return null!=e?this:NaN;var n=(this.day()+7-this.localeData()._week.dow)%7;return null==e?n:this.add(e-n,"d")}function Wn(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var n=In(e,this.localeData());return this.day(this.day()%7?n:n-7)}return this.day()||7}function $n(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Fn),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Yn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Un),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Qn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Jn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Dn),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Jn(){function e(e,n){return n.length-e.length}var n,t,o,r,a,i=[],s=[],c=[],u=[];for(n=0;n<7;n++)t=h([2e3,1]).day(n),o=Fe(this.weekdaysMin(t,"")),r=Fe(this.weekdaysShort(t,"")),a=Fe(this.weekdays(t,"")),i.push(o),s.push(r),c.push(a),u.push(o),u.push(r),u.push(a);i.sort(e),s.sort(e),c.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Zn(){return this.hours()%12||12}function Xn(){return this.hours()||24}function et(e,n){B(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),n)}))}function nt(e,n){return n._meridiemParse}function tt(e){return"p"===(e+"").toLowerCase().charAt(0)}B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Zn),B("k",["kk",2],0,Xn),B("hmm",0,0,(function(){return""+Zn.apply(this)+N(this.minutes(),2)})),B("hmmss",0,0,(function(){return""+Zn.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),B("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),B("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),et("a",!0),et("A",!1),te("hour","h"),ie("hour",13),je("a",nt),je("A",nt),je("H",Se),je("h",Se),je("k",Se),je("HH",Se,ye),je("hh",Se,ye),je("kk",Se,ye),je("hmm",_e),je("hmmss",Ee),je("Hmm",_e),je("Hmmss",Ee),De(["H","HH"],Ke),De(["k","kk"],(function(e,n,t){var o=le(e);n[Ke]=24===o?0:o})),De(["a","A"],(function(e,n,t){t._isPm=t._locale.isPM(e),t._meridiem=e})),De(["h","hh"],(function(e,n,t){n[Ke]=le(e),g(t).bigHour=!0})),De("hmm",(function(e,n,t){var o=e.length-2;n[Ke]=le(e.substr(0,o)),n[We]=le(e.substr(o)),g(t).bigHour=!0})),De("hmmss",(function(e,n,t){var o=e.length-4,r=e.length-2;n[Ke]=le(e.substr(0,o)),n[We]=le(e.substr(o,2)),n[$e]=le(e.substr(r)),g(t).bigHour=!0})),De("Hmm",(function(e,n,t){var o=e.length-2;n[Ke]=le(e.substr(0,o)),n[We]=le(e.substr(o))})),De("Hmmss",(function(e,n,t){var o=e.length-4,r=e.length-2;n[Ke]=le(e.substr(0,o)),n[We]=le(e.substr(o,2)),n[$e]=le(e.substr(r))}));var ot=/[ap]\.?m?\.?/i,rt=de("Hours",!0);function at(e,n,t){return e>11?t?"pm":"PM":t?"am":"AM"}var it,st={calendar:R,longDateFormat:q,invalidDate:W,ordinal:Y,dayOfMonthOrdinalParse:Q,relativeTime:Z,months:en,monthsShort:nn,week:On,weekdays:jn,weekdaysMin:Ln,weekdaysShort:Nn,meridiemParse:ot},ct={},ut={};function lt(e,n){var t,o=Math.min(e.length,n.length);for(t=0;t<o;t+=1)if(e[t]!==n[t])return t;return o}function dt(e){return e?e.toLowerCase().replace("_","-"):e}function pt(e){for(var n,t,o,r,a=0;a<e.length;){for(n=(r=dt(e[a]).split("-")).length,t=(t=dt(e[a+1]))?t.split("-"):null;n>0;){if(o=mt(r.slice(0,n).join("-")))return o;if(t&&t.length>=n&&lt(r,t)>=n-1)break;n--}a++}return it}function mt(n){var t=null;if(void 0===ct[n]&&"undefined"!==typeof e&&e&&e.exports)try{t=it._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),ht(t)}catch(o){ct[n]=null}return ct[n]}function ht(e,n){var t;return e&&((t=u(n)?vt(e):ft(e,n))?it=t:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),it._abbr}function ft(e,n){if(null!==n){var t,o=st;if(n.abbr=e,null!=ct[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=ct[e]._config;else if(null!=n.parentLocale)if(null!=ct[n.parentLocale])o=ct[n.parentLocale]._config;else{if(null==(t=mt(n.parentLocale)))return ut[n.parentLocale]||(ut[n.parentLocale]=[]),ut[n.parentLocale].push({name:e,config:n}),null;o=t._config}return ct[e]=new I(M(o,n)),ut[e]&&ut[e].forEach((function(e){ft(e.name,e.config)})),ht(e),ct[e]}return delete ct[e],null}function gt(e,n){if(null!=n){var t,o,r=st;null!=ct[e]&&null!=ct[e].parentLocale?ct[e].set(M(ct[e]._config,n)):(null!=(o=mt(e))&&(r=o._config),n=M(r,n),null==o&&(n.abbr=e),(t=new I(n)).parentLocale=ct[e],ct[e]=t),ht(e)}else null!=ct[e]&&(null!=ct[e].parentLocale?(ct[e]=ct[e].parentLocale,e===ht()&&ht(e)):null!=ct[e]&&delete ct[e]);return ct[e]}function vt(e){var n;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return it;if(!a(e)){if(n=mt(e))return n;e=[e]}return pt(e)}function yt(){return O(ct)}function bt(e){var n,t=e._a;return t&&-2===g(e).overflow&&(n=t[He]<0||t[He]>11?He:t[qe]<1||t[qe]>Xe(t[Ge],t[He])?qe:t[Ke]<0||t[Ke]>24||24===t[Ke]&&(0!==t[We]||0!==t[$e]||0!==t[Ye])?Ke:t[We]<0||t[We]>59?We:t[$e]<0||t[$e]>59?$e:t[Ye]<0||t[Ye]>999?Ye:-1,g(e)._overflowDayOfYear&&(n<Ge||n>qe)&&(n=qe),g(e)._overflowWeeks&&-1===n&&(n=Qe),g(e)._overflowWeekday&&-1===n&&(n=Je),g(e).overflow=n),e}var Ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,St=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Et=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xt=/^\/?Date\((-?\d+)/i,Ot=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,At={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function kt(e){var n,t,o,r,a,i,s=e._i,c=Ct.exec(s)||wt.exec(s);if(c){for(g(e).iso=!0,n=0,t=_t.length;n<t;n++)if(_t[n][1].exec(c[1])){r=_t[n][0],o=!1!==_t[n][2];break}if(null==r)return void(e._isValid=!1);if(c[3]){for(n=0,t=Et.length;n<t;n++)if(Et[n][1].exec(c[3])){a=(c[2]||" ")+Et[n][0];break}if(null==a)return void(e._isValid=!1)}if(!o&&null!=a)return void(e._isValid=!1);if(c[4]){if(!St.exec(c[4]))return void(e._isValid=!1);i="Z"}e._f=r+(a||"")+(i||""),Bt(e)}else e._isValid=!1}function Tt(e,n,t,o,r,a){var i=[Pt(e),nn.indexOf(n),parseInt(t,10),parseInt(o,10),parseInt(r,10)];return a&&i.push(parseInt(a,10)),i}function Pt(e){var n=parseInt(e,10);return n<=49?2e3+n:n<=999?1900+n:n}function Mt(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function It(e,n,t){return!e||Nn.indexOf(e)===new Date(n[0],n[1],n[2]).getDay()||(g(t).weekdayMismatch=!0,t._isValid=!1,!1)}function Rt(e,n,t){if(e)return At[e];if(n)return 0;var o=parseInt(t,10),r=o%100;return(o-r)/100*60+r}function jt(e){var n,t=Ot.exec(Mt(e._i));if(t){if(n=Tt(t[4],t[3],t[2],t[5],t[6],t[7]),!It(t[1],n,e))return;e._a=n,e._tzm=Rt(t[8],t[9],t[10]),e._d=Cn.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Nt(e){var n=xt.exec(e._i);null===n?(kt(e),!1===e._isValid&&(delete e._isValid,jt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+n[1])}function Lt(e,n,t){return null!=e?e:null!=n?n:t}function Ft(e){var n=new Date(o.now());return e._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function Ut(e){var n,t,o,r,a,i=[];if(!e._d){for(o=Ft(e),e._w&&null==e._a[qe]&&null==e._a[He]&&Dt(e),null!=e._dayOfYear&&(a=Lt(e._a[Ge],o[Ge]),(e._dayOfYear>gn(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),t=Cn(a,0,e._dayOfYear),e._a[He]=t.getUTCMonth(),e._a[qe]=t.getUTCDate()),n=0;n<3&&null==e._a[n];++n)e._a[n]=i[n]=o[n];for(;n<7;n++)e._a[n]=i[n]=null==e._a[n]?2===n?1:0:e._a[n];24===e._a[Ke]&&0===e._a[We]&&0===e._a[$e]&&0===e._a[Ye]&&(e._nextDay=!0,e._a[Ke]=0),e._d=(e._useUTC?Cn:bn).apply(null,i),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ke]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Dt(e){var n,t,o,r,a,i,s,c,u;null!=(n=e._w).GG||null!=n.W||null!=n.E?(a=1,i=4,t=Lt(n.GG,e._a[Ge],_n($t(),1,4).year),o=Lt(n.W,1),((r=Lt(n.E,1))<1||r>7)&&(c=!0)):(a=e._locale._week.dow,i=e._locale._week.doy,u=_n($t(),a,i),t=Lt(n.gg,e._a[Ge],u.year),o=Lt(n.w,u.week),null!=n.d?((r=n.d)<0||r>6)&&(c=!0):null!=n.e?(r=n.e+a,(n.e<0||n.e>6)&&(c=!0)):r=a),o<1||o>En(t,a,i)?g(e)._overflowWeeks=!0:null!=c?g(e)._overflowWeekday=!0:(s=Sn(t,o,r,a,i),e._a[Ge]=s.year,e._dayOfYear=s.dayOfYear)}function Bt(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],g(e).empty=!0;var n,t,r,a,i,s,c=""+e._i,u=c.length,l=0;for(r=H(e._f,e._locale).match(L)||[],n=0;n<r.length;n++)a=r[n],(t=(c.match(Ne(a,e))||[])[0])&&((i=c.substr(0,c.indexOf(t))).length>0&&g(e).unusedInput.push(i),c=c.slice(c.indexOf(t)+t.length),l+=t.length),D[a]?(t?g(e).empty=!1:g(e).unusedTokens.push(a),ze(a,t,e)):e._strict&&!t&&g(e).unusedTokens.push(a);g(e).charsLeftOver=u-l,c.length>0&&g(e).unusedInput.push(c),e._a[Ke]<=12&&!0===g(e).bigHour&&e._a[Ke]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ke]=zt(e._locale,e._a[Ke],e._meridiem),null!==(s=g(e).era)&&(e._a[Ge]=e._locale.erasConvertYear(s,e._a[Ge])),Ut(e),bt(e)}else jt(e);else kt(e)}function zt(e,n,t){var o;return null==t?n:null!=e.meridiemHour?e.meridiemHour(n,t):null!=e.isPM?((o=e.isPM(t))&&n<12&&(n+=12),o||12!==n||(n=0),n):n}function Vt(e){var n,t,o,r,a,i,s=!1;if(0===e._f.length)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<e._f.length;r++)a=0,i=!1,n=w({},e),null!=e._useUTC&&(n._useUTC=e._useUTC),n._f=e._f[r],Bt(n),v(n)&&(i=!0),a+=g(n).charsLeftOver,a+=10*g(n).unusedTokens.length,g(n).score=a,s?a<o&&(o=a,t=n):(null==o||a<o||i)&&(o=a,t=n,i&&(s=!0));m(e,t||n)}function Gt(e){if(!e._d){var n=re(e._i),t=void 0===n.day?n.date:n.day;e._a=p([n.year,n.month,t,n.hour,n.minute,n.second,n.millisecond],(function(e){return e&&parseInt(e,10)})),Ut(e)}}function Ht(e){var n=new S(bt(qt(e)));return n._nextDay&&(n.add(1,"d"),n._nextDay=void 0),n}function qt(e){var n=e._i,t=e._f;return e._locale=e._locale||vt(e._l),null===n||void 0===t&&""===n?y({nullInput:!0}):("string"===typeof n&&(e._i=n=e._locale.preparse(n)),_(n)?new S(bt(n)):(d(n)?e._d=n:a(t)?Vt(e):t?Bt(e):Kt(e),v(e)||(e._d=null),e))}function Kt(e){var n=e._i;u(n)?e._d=new Date(o.now()):d(n)?e._d=new Date(n.valueOf()):"string"===typeof n?Nt(e):a(n)?(e._a=p(n.slice(0),(function(e){return parseInt(e,10)})),Ut(e)):i(n)?Gt(e):l(n)?e._d=new Date(n):o.createFromInputFallback(e)}function Wt(e,n,t,o,r){var s={};return!0!==n&&!1!==n||(o=n,n=void 0),!0!==t&&!1!==t||(o=t,t=void 0),(i(e)&&c(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=r,s._l=t,s._i=e,s._f=n,s._strict=o,Ht(s)}function $t(e,n,t,o){return Wt(e,n,t,o,!1)}o.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Yt=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Qt=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Jt(e,n){var t,o;if(1===n.length&&a(n[0])&&(n=n[0]),!n.length)return $t();for(t=n[0],o=1;o<n.length;++o)n[o].isValid()&&!n[o][e](t)||(t=n[o]);return t}function Zt(){return Jt("isBefore",[].slice.call(arguments,0))}function Xt(){return Jt("isAfter",[].slice.call(arguments,0))}var eo=function(){return Date.now?Date.now():+new Date},no=["year","quarter","month","week","day","hour","minute","second","millisecond"];function to(e){var n,t,o=!1;for(n in e)if(s(e,n)&&(-1===Ve.call(no,n)||null!=e[n]&&isNaN(e[n])))return!1;for(t=0;t<no.length;++t)if(e[no[t]]){if(o)return!1;parseFloat(e[no[t]])!==le(e[no[t]])&&(o=!0)}return!0}function oo(){return this._isValid}function ro(){return ko(NaN)}function ao(e){var n=re(e),t=n.year||0,o=n.quarter||0,r=n.month||0,a=n.week||n.isoWeek||0,i=n.day||0,s=n.hour||0,c=n.minute||0,u=n.second||0,l=n.millisecond||0;this._isValid=to(n),this._milliseconds=+l+1e3*u+6e4*c+1e3*s*60*60,this._days=+i+7*a,this._months=+r+3*o+12*t,this._data={},this._locale=vt(),this._bubble()}function io(e){return e instanceof ao}function so(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function co(e,n,t){var o,r=Math.min(e.length,n.length),a=Math.abs(e.length-n.length),i=0;for(o=0;o<r;o++)(t&&e[o]!==n[o]||!t&&le(e[o])!==le(n[o]))&&i++;return i+a}function uo(e,n){B(e,0,0,(function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+N(~~(e/60),2)+n+N(~~e%60,2)}))}uo("Z",":"),uo("ZZ",""),je("Z",Me),je("ZZ",Me),De(["Z","ZZ"],(function(e,n,t){t._useUTC=!0,t._tzm=po(Me,e)}));var lo=/([\+\-]|\d\d)/gi;function po(e,n){var t,o,r=(n||"").match(e);return null===r?null:0===(o=60*(t=((r[r.length-1]||[])+"").match(lo)||["-",0,0])[1]+le(t[2]))?0:"+"===t[0]?o:-o}function mo(e,n){var t,r;return n._isUTC?(t=n.clone(),r=(_(e)||d(e)?e.valueOf():$t(e).valueOf())-t.valueOf(),t._d.setTime(t._d.valueOf()+r),o.updateOffset(t,!1),t):$t(e).local()}function ho(e){return-Math.round(e._d.getTimezoneOffset())}function fo(e,n,t){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"===typeof e){if(null===(e=po(Me,e)))return this}else Math.abs(e)<16&&!t&&(e*=60);return!this._isUTC&&n&&(r=ho(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!n||this._changeInProgress?Ro(this,ko(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:ho(this)}function go(e,n){return null!=e?("string"!==typeof e&&(e=-e),this.utcOffset(e,n),this):-this.utcOffset()}function vo(e){return this.utcOffset(0,e)}function yo(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ho(this),"m")),this}function bo(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"===typeof this._i){var e=po(Pe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Co(e){return!!this.isValid()&&(e=e?$t(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function wo(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function So(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,n={};return w(n,this),(n=qt(n))._a?(e=n._isUTC?h(n._a):$t(n._a),this._isDSTShifted=this.isValid()&&co(n._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function _o(){return!!this.isValid()&&!this._isUTC}function Eo(){return!!this.isValid()&&this._isUTC}function xo(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Oo=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ao=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ko(e,n){var t,o,r,a=e,i=null;return io(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(a={},n?a[n]=+e:a.milliseconds=+e):(i=Oo.exec(e))?(t="-"===i[1]?-1:1,a={y:0,d:le(i[qe])*t,h:le(i[Ke])*t,m:le(i[We])*t,s:le(i[$e])*t,ms:le(so(1e3*i[Ye]))*t}):(i=Ao.exec(e))?(t="-"===i[1]?-1:1,a={y:To(i[2],t),M:To(i[3],t),w:To(i[4],t),d:To(i[5],t),h:To(i[6],t),m:To(i[7],t),s:To(i[8],t)}):null==a?a={}:"object"===typeof a&&("from"in a||"to"in a)&&(r=Mo($t(a.from),$t(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),o=new ao(a),io(e)&&s(e,"_locale")&&(o._locale=e._locale),io(e)&&s(e,"_isValid")&&(o._isValid=e._isValid),o}function To(e,n){var t=e&&parseFloat(e.replace(",","."));return(isNaN(t)?0:t)*n}function Po(e,n){var t={};return t.months=n.month()-e.month()+12*(n.year()-e.year()),e.clone().add(t.months,"M").isAfter(n)&&--t.months,t.milliseconds=+n-+e.clone().add(t.months,"M"),t}function Mo(e,n){var t;return e.isValid()&&n.isValid()?(n=mo(n,e),e.isBefore(n)?t=Po(e,n):((t=Po(n,e)).milliseconds=-t.milliseconds,t.months=-t.months),t):{milliseconds:0,months:0}}function Io(e,n){return function(t,o){var r;return null===o||isNaN(+o)||(k(n,"moment()."+n+"(period, number) is deprecated. Please use moment()."+n+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=t,t=o,o=r),Ro(this,ko(t,o),e),this}}function Ro(e,n,t,r){var a=n._milliseconds,i=so(n._days),s=so(n._months);e.isValid()&&(r=null==r||r,s&&ln(e,pe(e,"Month")+s*t),i&&me(e,"Date",pe(e,"Date")+i*t),a&&e._d.setTime(e._d.valueOf()+a*t),r&&o.updateOffset(e,i||s))}ko.fn=ao.prototype,ko.invalid=ro;var jo=Io(1,"add"),No=Io(-1,"subtract");function Lo(e){return"string"===typeof e||e instanceof String}function Fo(e){return _(e)||d(e)||Lo(e)||l(e)||Do(e)||Uo(e)||null===e||void 0===e}function Uo(e){var n,t,o=i(e)&&!c(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(n=0;n<a.length;n+=1)t=a[n],r=r||s(e,t);return o&&r}function Do(e){var n=a(e),t=!1;return n&&(t=0===e.filter((function(n){return!l(n)&&Lo(e)})).length),n&&t}function Bo(e){var n,t,o=i(e)&&!c(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(n=0;n<a.length;n+=1)t=a[n],r=r||s(e,t);return o&&r}function zo(e,n){var t=e.diff(n,"days",!0);return t<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"}function Vo(e,n){1===arguments.length&&(arguments[0]?Fo(arguments[0])?(e=arguments[0],n=void 0):Bo(arguments[0])&&(n=arguments[0],e=void 0):(e=void 0,n=void 0));var t=e||$t(),r=mo(t,this).startOf("day"),a=o.calendarFormat(this,r)||"sameElse",i=n&&(T(n[a])?n[a].call(this,t):n[a]);return this.format(i||this.localeData().calendar(a,this,$t(t)))}function Go(){return new S(this)}function Ho(e,n){var t=_(e)?e:$t(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(n=oe(n)||"millisecond")?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(n).valueOf())}function qo(e,n){var t=_(e)?e:$t(e);return!(!this.isValid()||!t.isValid())&&("millisecond"===(n=oe(n)||"millisecond")?this.valueOf()<t.valueOf():this.clone().endOf(n).valueOf()<t.valueOf())}function Ko(e,n,t,o){var r=_(e)?e:$t(e),a=_(n)?n:$t(n);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(o=o||"()")[0]?this.isAfter(r,t):!this.isBefore(r,t))&&(")"===o[1]?this.isBefore(a,t):!this.isAfter(a,t))}function Wo(e,n){var t,o=_(e)?e:$t(e);return!(!this.isValid()||!o.isValid())&&("millisecond"===(n=oe(n)||"millisecond")?this.valueOf()===o.valueOf():(t=o.valueOf(),this.clone().startOf(n).valueOf()<=t&&t<=this.clone().endOf(n).valueOf()))}function $o(e,n){return this.isSame(e,n)||this.isAfter(e,n)}function Yo(e,n){return this.isSame(e,n)||this.isBefore(e,n)}function Qo(e,n,t){var o,r,a;if(!this.isValid())return NaN;if(!(o=mo(e,this)).isValid())return NaN;switch(r=6e4*(o.utcOffset()-this.utcOffset()),n=oe(n)){case"year":a=Jo(this,o)/12;break;case"month":a=Jo(this,o);break;case"quarter":a=Jo(this,o)/3;break;case"second":a=(this-o)/1e3;break;case"minute":a=(this-o)/6e4;break;case"hour":a=(this-o)/36e5;break;case"day":a=(this-o-r)/864e5;break;case"week":a=(this-o-r)/6048e5;break;default:a=this-o}return t?a:ue(a)}function Jo(e,n){if(e.date()<n.date())return-Jo(n,e);var t=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(t,"months");return-(t+(n-o<0?(n-o)/(o-e.clone().add(t-1,"months")):(n-o)/(e.clone().add(t+1,"months")-o)))||0}function Zo(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Xo(e){if(!this.isValid())return null;var n=!0!==e,t=n?this.clone().utc():this;return t.year()<0||t.year()>9999?G(t,n?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?n?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(t,"Z")):G(t,n?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function er(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,n,t,o,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",t="-MM-DD[T]HH:mm:ss.SSS",o=a+'[")]',this.format(e+n+t+o)}function nr(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var n=G(this,e);return this.localeData().postformat(n)}function tr(e,n){return this.isValid()&&(_(e)&&e.isValid()||$t(e).isValid())?ko({to:this,from:e}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()}function or(e){return this.from($t(),e)}function rr(e,n){return this.isValid()&&(_(e)&&e.isValid()||$t(e).isValid())?ko({from:this,to:e}).locale(this.locale()).humanize(!n):this.localeData().invalidDate()}function ar(e){return this.to($t(),e)}function ir(e){var n;return void 0===e?this._locale._abbr:(null!=(n=vt(e))&&(this._locale=n),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var sr=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function cr(){return this._locale}var ur=1e3,lr=60*ur,dr=60*lr,pr=3506328*dr;function mr(e,n){return(e%n+n)%n}function hr(e,n,t){return e<100&&e>=0?new Date(e+400,n,t)-pr:new Date(e,n,t).valueOf()}function fr(e,n,t){return e<100&&e>=0?Date.UTC(e+400,n,t)-pr:Date.UTC(e,n,t)}function gr(e){var n,t;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?fr:hr,e){case"year":n=t(this.year(),0,1);break;case"quarter":n=t(this.year(),this.month()-this.month()%3,1);break;case"month":n=t(this.year(),this.month(),1);break;case"week":n=t(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":n=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":n=t(this.year(),this.month(),this.date());break;case"hour":n=this._d.valueOf(),n-=mr(n+(this._isUTC?0:this.utcOffset()*lr),dr);break;case"minute":n=this._d.valueOf(),n-=mr(n,lr);break;case"second":n=this._d.valueOf(),n-=mr(n,ur)}return this._d.setTime(n),o.updateOffset(this,!0),this}function vr(e){var n,t;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(t=this._isUTC?fr:hr,e){case"year":n=t(this.year()+1,0,1)-1;break;case"quarter":n=t(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":n=t(this.year(),this.month()+1,1)-1;break;case"week":n=t(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":n=t(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":n=t(this.year(),this.month(),this.date()+1)-1;break;case"hour":n=this._d.valueOf(),n+=dr-mr(n+(this._isUTC?0:this.utcOffset()*lr),dr)-1;break;case"minute":n=this._d.valueOf(),n+=lr-mr(n,lr)-1;break;case"second":n=this._d.valueOf(),n+=ur-mr(n,ur)-1}return this._d.setTime(n),o.updateOffset(this,!0),this}function yr(){return this._d.valueOf()-6e4*(this._offset||0)}function br(){return Math.floor(this.valueOf()/1e3)}function Cr(){return new Date(this.valueOf())}function wr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Sr(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function _r(){return this.isValid()?this.toISOString():null}function Er(){return v(this)}function xr(){return m({},g(this))}function Or(){return g(this).overflow}function Ar(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function kr(e,n){var t,r,a,i=this._eras||vt("en")._eras;for(t=0,r=i.length;t<r;++t){switch(typeof i[t].since){case"string":a=o(i[t].since).startOf("day"),i[t].since=a.valueOf()}switch(typeof i[t].until){case"undefined":i[t].until=1/0;break;case"string":a=o(i[t].until).startOf("day").valueOf(),i[t].until=a.valueOf()}}return i}function Tr(e,n,t){var o,r,a,i,s,c=this.eras();for(e=e.toUpperCase(),o=0,r=c.length;o<r;++o)if(a=c[o].name.toUpperCase(),i=c[o].abbr.toUpperCase(),s=c[o].narrow.toUpperCase(),t)switch(n){case"N":case"NN":case"NNN":if(i===e)return c[o];break;case"NNNN":if(a===e)return c[o];break;case"NNNNN":if(s===e)return c[o]}else if([a,i,s].indexOf(e)>=0)return c[o]}function Pr(e,n){var t=e.since<=e.until?1:-1;return void 0===n?o(e.since).year():o(e.since).year()+(n-e.offset)*t}function Mr(){var e,n,t,o=this.localeData().eras();for(e=0,n=o.length;e<n;++e){if(t=this.clone().startOf("day").valueOf(),o[e].since<=t&&t<=o[e].until)return o[e].name;if(o[e].until<=t&&t<=o[e].since)return o[e].name}return""}function Ir(){var e,n,t,o=this.localeData().eras();for(e=0,n=o.length;e<n;++e){if(t=this.clone().startOf("day").valueOf(),o[e].since<=t&&t<=o[e].until)return o[e].narrow;if(o[e].until<=t&&t<=o[e].since)return o[e].narrow}return""}function Rr(){var e,n,t,o=this.localeData().eras();for(e=0,n=o.length;e<n;++e){if(t=this.clone().startOf("day").valueOf(),o[e].since<=t&&t<=o[e].until)return o[e].abbr;if(o[e].until<=t&&t<=o[e].since)return o[e].abbr}return""}function jr(){var e,n,t,r,a=this.localeData().eras();for(e=0,n=a.length;e<n;++e)if(t=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-o(a[e].since).year())*t+a[e].offset;return this.year()}function Nr(e){return s(this,"_erasNameRegex")||Vr.call(this),e?this._erasNameRegex:this._erasRegex}function Lr(e){return s(this,"_erasAbbrRegex")||Vr.call(this),e?this._erasAbbrRegex:this._erasRegex}function Fr(e){return s(this,"_erasNarrowRegex")||Vr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ur(e,n){return n.erasAbbrRegex(e)}function Dr(e,n){return n.erasNameRegex(e)}function Br(e,n){return n.erasNarrowRegex(e)}function zr(e,n){return n._eraYearOrdinalRegex||ke}function Vr(){var e,n,t=[],o=[],r=[],a=[],i=this.eras();for(e=0,n=i.length;e<n;++e)o.push(Fe(i[e].name)),t.push(Fe(i[e].abbr)),r.push(Fe(i[e].narrow)),a.push(Fe(i[e].name)),a.push(Fe(i[e].abbr)),a.push(Fe(i[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+o.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function Gr(e,n){B(0,[e,e.length],0,n)}function Hr(e){return Qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qr(e){return Qr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Kr(){return En(this.year(),1,4)}function Wr(){return En(this.isoWeekYear(),1,4)}function $r(){var e=this.localeData()._week;return En(this.year(),e.dow,e.doy)}function Yr(){var e=this.localeData()._week;return En(this.weekYear(),e.dow,e.doy)}function Qr(e,n,t,o,r){var a;return null==e?_n(this,o,r).year:(n>(a=En(e,o,r))&&(n=a),Jr.call(this,e,n,t,o,r))}function Jr(e,n,t,o,r){var a=Sn(e,n,t,o,r),i=Cn(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Zr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}B("N",0,0,"eraAbbr"),B("NN",0,0,"eraAbbr"),B("NNN",0,0,"eraAbbr"),B("NNNN",0,0,"eraName"),B("NNNNN",0,0,"eraNarrow"),B("y",["y",1],"yo","eraYear"),B("y",["yy",2],0,"eraYear"),B("y",["yyy",3],0,"eraYear"),B("y",["yyyy",4],0,"eraYear"),je("N",Ur),je("NN",Ur),je("NNN",Ur),je("NNNN",Dr),je("NNNNN",Br),De(["N","NN","NNN","NNNN","NNNNN"],(function(e,n,t,o){var r=t._locale.erasParse(e,o,t._strict);r?g(t).era=r:g(t).invalidEra=e})),je("y",ke),je("yy",ke),je("yyy",ke),je("yyyy",ke),je("yo",zr),De(["y","yy","yyy","yyyy"],Ge),De(["yo"],(function(e,n,t,o){var r;t._locale._eraYearOrdinalRegex&&(r=e.match(t._locale._eraYearOrdinalRegex)),t._locale.eraYearOrdinalParse?n[Ge]=t._locale.eraYearOrdinalParse(e,r):n[Ge]=parseInt(e,10)})),B(0,["gg",2],0,(function(){return this.weekYear()%100})),B(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Gr("gggg","weekYear"),Gr("ggggg","weekYear"),Gr("GGGG","isoWeekYear"),Gr("GGGGG","isoWeekYear"),te("weekYear","gg"),te("isoWeekYear","GG"),ie("weekYear",1),ie("isoWeekYear",1),je("G",Te),je("g",Te),je("GG",Se,ye),je("gg",Se,ye),je("GGGG",Oe,Ce),je("gggg",Oe,Ce),je("GGGGG",Ae,we),je("ggggg",Ae,we),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,n,t,o){n[o.substr(0,2)]=le(e)})),Be(["gg","GG"],(function(e,n,t,r){n[r]=o.parseTwoDigitYear(e)})),B("Q",0,"Qo","quarter"),te("quarter","Q"),ie("quarter",7),je("Q",ve),De("Q",(function(e,n){n[He]=3*(le(e)-1)})),B("D",["DD",2],"Do","date"),te("date","D"),ie("date",9),je("D",Se),je("DD",Se,ye),je("Do",(function(e,n){return e?n._dayOfMonthOrdinalParse||n._ordinalParse:n._dayOfMonthOrdinalParseLenient})),De(["D","DD"],qe),De("Do",(function(e,n){n[qe]=le(e.match(Se)[0])}));var Xr=de("Date",!0);function ea(e){var n=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?n:this.add(e-n,"d")}B("DDD",["DDDD",3],"DDDo","dayOfYear"),te("dayOfYear","DDD"),ie("dayOfYear",4),je("DDD",xe),je("DDDD",be),De(["DDD","DDDD"],(function(e,n,t){t._dayOfYear=le(e)})),B("m",["mm",2],0,"minute"),te("minute","m"),ie("minute",14),je("m",Se),je("mm",Se,ye),De(["m","mm"],We);var na=de("Minutes",!1);B("s",["ss",2],0,"second"),te("second","s"),ie("second",15),je("s",Se),je("ss",Se,ye),De(["s","ss"],$e);var ta,oa,ra=de("Seconds",!1);for(B("S",0,0,(function(){return~~(this.millisecond()/100)})),B(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),B(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),B(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),B(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),B(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),B(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),te("millisecond","ms"),ie("millisecond",16),je("S",xe,ve),je("SS",xe,ye),je("SSS",xe,be),ta="SSSS";ta.length<=9;ta+="S")je(ta,ke);function aa(e,n){n[Ye]=le(1e3*("0."+e))}for(ta="S";ta.length<=9;ta+="S")De(ta,aa);function ia(){return this._isUTC?"UTC":""}function sa(){return this._isUTC?"Coordinated Universal Time":""}oa=de("Milliseconds",!1),B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var ca=S.prototype;function ua(e){return $t(1e3*e)}function la(){return $t.apply(null,arguments).parseZone()}function da(e){return e}ca.add=jo,ca.calendar=Vo,ca.clone=Go,ca.diff=Qo,ca.endOf=vr,ca.format=nr,ca.from=tr,ca.fromNow=or,ca.to=rr,ca.toNow=ar,ca.get=he,ca.invalidAt=Or,ca.isAfter=Ho,ca.isBefore=qo,ca.isBetween=Ko,ca.isSame=Wo,ca.isSameOrAfter=$o,ca.isSameOrBefore=Yo,ca.isValid=Er,ca.lang=sr,ca.locale=ir,ca.localeData=cr,ca.max=Qt,ca.min=Yt,ca.parsingFlags=xr,ca.set=fe,ca.startOf=gr,ca.subtract=No,ca.toArray=wr,ca.toObject=Sr,ca.toDate=Cr,ca.toISOString=Xo,ca.inspect=er,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=_r,ca.toString=Zo,ca.unix=br,ca.valueOf=yr,ca.creationData=Ar,ca.eraName=Mr,ca.eraNarrow=Ir,ca.eraAbbr=Rr,ca.eraYear=jr,ca.year=vn,ca.isLeapYear=yn,ca.weekYear=Hr,ca.isoWeekYear=qr,ca.quarter=ca.quarters=Zr,ca.month=dn,ca.daysInMonth=pn,ca.week=ca.weeks=Tn,ca.isoWeek=ca.isoWeeks=Pn,ca.weeksInYear=$r,ca.weeksInWeekYear=Yr,ca.isoWeeksInYear=Kr,ca.isoWeeksInISOWeekYear=Wr,ca.date=Xr,ca.day=ca.days=qn,ca.weekday=Kn,ca.isoWeekday=Wn,ca.dayOfYear=ea,ca.hour=ca.hours=rt,ca.minute=ca.minutes=na,ca.second=ca.seconds=ra,ca.millisecond=ca.milliseconds=oa,ca.utcOffset=fo,ca.utc=vo,ca.local=yo,ca.parseZone=bo,ca.hasAlignedHourOffset=Co,ca.isDST=wo,ca.isLocal=_o,ca.isUtcOffset=Eo,ca.isUtc=xo,ca.isUTC=xo,ca.zoneAbbr=ia,ca.zoneName=sa,ca.dates=x("dates accessor is deprecated. Use date instead.",Xr),ca.months=x("months accessor is deprecated. Use month instead",dn),ca.years=x("years accessor is deprecated. Use year instead",vn),ca.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",go),ca.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",So);var pa=I.prototype;function ma(e,n,t,o){var r=vt(),a=h().set(o,n);return r[t](a,e)}function ha(e,n,t){if(l(e)&&(n=e,e=void 0),e=e||"",null!=n)return ma(e,n,t,"month");var o,r=[];for(o=0;o<12;o++)r[o]=ma(e,o,t,"month");return r}function fa(e,n,t,o){"boolean"===typeof e?(l(n)&&(t=n,n=void 0),n=n||""):(t=n=e,e=!1,l(n)&&(t=n,n=void 0),n=n||"");var r,a=vt(),i=e?a._week.dow:0,s=[];if(null!=t)return ma(n,(t+i)%7,o,"day");for(r=0;r<7;r++)s[r]=ma(n,(r+i)%7,o,"day");return s}function ga(e,n){return ha(e,n,"months")}function va(e,n){return ha(e,n,"monthsShort")}function ya(e,n,t){return fa(e,n,t,"weekdays")}function ba(e,n,t){return fa(e,n,t,"weekdaysShort")}function Ca(e,n,t){return fa(e,n,t,"weekdaysMin")}pa.calendar=j,pa.longDateFormat=K,pa.invalidDate=$,pa.ordinal=J,pa.preparse=da,pa.postformat=da,pa.relativeTime=X,pa.pastFuture=ee,pa.set=P,pa.eras=kr,pa.erasParse=Tr,pa.erasConvertYear=Pr,pa.erasAbbrRegex=Lr,pa.erasNameRegex=Nr,pa.erasNarrowRegex=Fr,pa.months=an,pa.monthsShort=sn,pa.monthsParse=un,pa.monthsRegex=hn,pa.monthsShortRegex=mn,pa.week=xn,pa.firstDayOfYear=kn,pa.firstDayOfWeek=An,pa.weekdays=Bn,pa.weekdaysMin=Vn,pa.weekdaysShort=zn,pa.weekdaysParse=Hn,pa.weekdaysRegex=$n,pa.weekdaysShortRegex=Yn,pa.weekdaysMinRegex=Qn,pa.isPM=tt,pa.meridiem=at,ht("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var n=e%10;return e+(1===le(e%100/10)?"th":1===n?"st":2===n?"nd":3===n?"rd":"th")}}),o.lang=x("moment.lang is deprecated. Use moment.locale instead.",ht),o.langData=x("moment.langData is deprecated. Use moment.localeData instead.",vt);var wa=Math.abs;function Sa(){var e=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),e.milliseconds=wa(e.milliseconds),e.seconds=wa(e.seconds),e.minutes=wa(e.minutes),e.hours=wa(e.hours),e.months=wa(e.months),e.years=wa(e.years),this}function _a(e,n,t,o){var r=ko(n,t);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function Ea(e,n){return _a(this,e,n,1)}function xa(e,n){return _a(this,e,n,-1)}function Oa(e){return e<0?Math.floor(e):Math.ceil(e)}function Aa(){var e,n,t,o,r,a=this._milliseconds,i=this._days,s=this._months,c=this._data;return a>=0&&i>=0&&s>=0||a<=0&&i<=0&&s<=0||(a+=864e5*Oa(Ta(s)+i),i=0,s=0),c.milliseconds=a%1e3,e=ue(a/1e3),c.seconds=e%60,n=ue(e/60),c.minutes=n%60,t=ue(n/60),c.hours=t%24,i+=ue(t/24),s+=r=ue(ka(i)),i-=Oa(Ta(r)),o=ue(s/12),s%=12,c.days=i,c.months=s,c.years=o,this}function ka(e){return 4800*e/146097}function Ta(e){return 146097*e/4800}function Pa(e){if(!this.isValid())return NaN;var n,t,o=this._milliseconds;if("month"===(e=oe(e))||"quarter"===e||"year"===e)switch(n=this._days+o/864e5,t=this._months+ka(n),e){case"month":return t;case"quarter":return t/3;case"year":return t/12}else switch(n=this._days+Math.round(Ta(this._months)),e){case"week":return n/7+o/6048e5;case"day":return n+o/864e5;case"hour":return 24*n+o/36e5;case"minute":return 1440*n+o/6e4;case"second":return 86400*n+o/1e3;case"millisecond":return Math.floor(864e5*n)+o;default:throw new Error("Unknown unit "+e)}}function Ma(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*le(this._months/12):NaN}function Ia(e){return function(){return this.as(e)}}var Ra=Ia("ms"),ja=Ia("s"),Na=Ia("m"),La=Ia("h"),Fa=Ia("d"),Ua=Ia("w"),Da=Ia("M"),Ba=Ia("Q"),za=Ia("y");function Va(){return ko(this)}function Ga(e){return e=oe(e),this.isValid()?this[e+"s"]():NaN}function Ha(e){return function(){return this.isValid()?this._data[e]:NaN}}var qa=Ha("milliseconds"),Ka=Ha("seconds"),Wa=Ha("minutes"),$a=Ha("hours"),Ya=Ha("days"),Qa=Ha("months"),Ja=Ha("years");function Za(){return ue(this.days()/7)}var Xa=Math.round,ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ni(e,n,t,o,r){return r.relativeTime(n||1,!!t,e,o)}function ti(e,n,t,o){var r=ko(e).abs(),a=Xa(r.as("s")),i=Xa(r.as("m")),s=Xa(r.as("h")),c=Xa(r.as("d")),u=Xa(r.as("M")),l=Xa(r.as("w")),d=Xa(r.as("y")),p=a<=t.ss&&["s",a]||a<t.s&&["ss",a]||i<=1&&["m"]||i<t.m&&["mm",i]||s<=1&&["h"]||s<t.h&&["hh",s]||c<=1&&["d"]||c<t.d&&["dd",c];return null!=t.w&&(p=p||l<=1&&["w"]||l<t.w&&["ww",l]),(p=p||u<=1&&["M"]||u<t.M&&["MM",u]||d<=1&&["y"]||["yy",d])[2]=n,p[3]=+e>0,p[4]=o,ni.apply(null,p)}function oi(e){return void 0===e?Xa:"function"===typeof e&&(Xa=e,!0)}function ri(e,n){return void 0!==ei[e]&&(void 0===n?ei[e]:(ei[e]=n,"s"===e&&(ei.ss=n-1),!0))}function ai(e,n){if(!this.isValid())return this.localeData().invalidDate();var t,o,r=!1,a=ei;return"object"===typeof e&&(n=e,e=!1),"boolean"===typeof e&&(r=e),"object"===typeof n&&(a=Object.assign({},ei,n),null!=n.s&&null==n.ss&&(a.ss=n.s-1)),o=ti(this,!r,a,t=this.localeData()),r&&(o=t.pastFuture(+this,o)),t.postformat(o)}var ii=Math.abs;function si(e){return(e>0)-(e<0)||+e}function ci(){if(!this.isValid())return this.localeData().invalidDate();var e,n,t,o,r,a,i,s,c=ii(this._milliseconds)/1e3,u=ii(this._days),l=ii(this._months),d=this.asSeconds();return d?(e=ue(c/60),n=ue(e/60),c%=60,e%=60,t=ue(l/12),l%=12,o=c?c.toFixed(3).replace(/\.?0+$/,""):"",r=d<0?"-":"",a=si(this._months)!==si(d)?"-":"",i=si(this._days)!==si(d)?"-":"",s=si(this._milliseconds)!==si(d)?"-":"",r+"P"+(t?a+t+"Y":"")+(l?a+l+"M":"")+(u?i+u+"D":"")+(n||e||c?"T":"")+(n?s+n+"H":"")+(e?s+e+"M":"")+(c?s+o+"S":"")):"P0D"}var ui=ao.prototype;return ui.isValid=oo,ui.abs=Sa,ui.add=Ea,ui.subtract=xa,ui.as=Pa,ui.asMilliseconds=Ra,ui.asSeconds=ja,ui.asMinutes=Na,ui.asHours=La,ui.asDays=Fa,ui.asWeeks=Ua,ui.asMonths=Da,ui.asQuarters=Ba,ui.asYears=za,ui.valueOf=Ma,ui._bubble=Aa,ui.clone=Va,ui.get=Ga,ui.milliseconds=qa,ui.seconds=Ka,ui.minutes=Wa,ui.hours=$a,ui.days=Ya,ui.weeks=Za,ui.months=Qa,ui.years=Ja,ui.humanize=ai,ui.toISOString=ci,ui.toString=ci,ui.toJSON=ci,ui.locale=ir,ui.localeData=cr,ui.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ci),ui.lang=sr,B("X",0,0,"unix"),B("x",0,0,"valueOf"),je("x",Te),je("X",Ie),De("X",(function(e,n,t){t._d=new Date(1e3*parseFloat(e))})),De("x",(function(e,n,t){t._d=new Date(le(e))})),o.version="2.29.1",r($t),o.fn=ca,o.min=Zt,o.max=Xt,o.now=eo,o.utc=h,o.unix=ua,o.months=ga,o.isDate=d,o.locale=ht,o.invalid=y,o.duration=ko,o.isMoment=_,o.weekdays=ya,o.parseZone=la,o.localeData=vt,o.isDuration=io,o.monthsShort=va,o.weekdaysMin=Ca,o.defineLocale=ft,o.updateLocale=gt,o.locales=yt,o.weekdaysShort=ba,o.normalizeUnits=oe,o.relativeTimeRounding=oi,o.relativeTimeThreshold=ri,o.calendarFormat=zo,o.prototype=ca,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()}).call(this,t(182)(e))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(){return Array.isArray||function(e){return e&&"number"===typeof e.length}}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(38),r=t(49);function a(e,n){return new o.a((function(t){var o=new r.a,a=0;return o.add(n.schedule((function(){a!==e.length?(t.next(e[a++]),t.closed||o.add(this.schedule())):t.complete()}))),o}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(38),r=t(168),a=t(118);function i(e,n){return n?Object(a.a)(e,n):new o.a(Object(r.a)(e))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r=function(){function e(n,t){void 0===t&&(t=e.now),this.SchedulerAction=n,this.now=t}return e.prototype.schedule=function(e,n,t){return void 0===n&&(n=0),new this.SchedulerAction(this,e).schedule(t,n)},e.now=function(){return Date.now()},e}(),a=function(e){function n(t,o){void 0===o&&(o=r.now);var a=e.call(this,t,(function(){return n.delegate&&n.delegate!==a?n.delegate.now():o()}))||this;return a.actions=[],a.active=!1,a.scheduled=void 0,a}return o.__extends(n,e),n.prototype.schedule=function(t,o,r){return void 0===o&&(o=0),n.delegate&&n.delegate!==this?n.delegate.schedule(t,o,r):e.prototype.schedule.call(this,t,o,r)},n.prototype.flush=function(e){var n=this.actions;if(this.active)n.push(e);else{var t;this.active=!0;do{if(t=e.execute(e.state,e.delay))break}while(e=n.shift());if(this.active=!1,t){for(;e=n.shift();)e.unsubscribe();throw t}}},n}(r)},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(1),r=function(e){function n(n,t){var o=e.call(this,n,t)||this;return o.scheduler=n,o.work=t,o.pending=!1,o}return o.__extends(n,e),n.prototype.schedule=function(e,n){if(void 0===n&&(n=0),this.closed)return this;this.state=e;var t=this.id,o=this.scheduler;return null!=t&&(this.id=this.recycleAsyncId(o,t,n)),this.pending=!0,this.delay=n,this.id=this.id||this.requestAsyncId(o,this.id,n),this},n.prototype.requestAsyncId=function(e,n,t){return void 0===t&&(t=0),setInterval(e.flush.bind(e,this),t)},n.prototype.recycleAsyncId=function(e,n,t){if(void 0===t&&(t=0),null!==t&&this.delay===t&&!1===this.pending)return n;clearInterval(n)},n.prototype.execute=function(e,n){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var t=this._execute(e,n);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},n.prototype._execute=function(e,n){var t=!1,o=void 0;try{this.work(e)}catch(r){t=!0,o=!!r&&r||new Error(r)}if(t)return this.unsubscribe(),o},n.prototype._unsubscribe=function(){var e=this.id,n=this.scheduler,t=n.actions,o=t.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&t.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(n,e,null)),this.delay=null},n}(function(e){function n(n,t){return e.call(this)||this}return o.__extends(n,e),n.prototype.schedule=function(e,n){return void 0===n&&(n=0),this},n}(t(49).a))},function(e,n,t){"use strict";t.d(n,"b",(function(){return a})),t.d(n,"a",(function(){return s}));var o=t(1),r=t(16);function a(e){return e}var i={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0},s=function(e){return{applyToStack:function(n){n.add(function(e){return function(n){return function(t){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var a,i;return Object(o.__generator)(this,(function(o){return r.a.isInstance(t.request)?(a=t.request,(void 0===(i=(e.requestHandler.metadata||{}).handlerProtocol)?"":i).indexOf("h2")>=0&&!a.headers[":authority"]?(delete a.headers.host,a.headers[":authority"]=""):a.headers.host||(a.headers.host=a.hostname),[2,n(t)]):[2,n(t)]}))}))}}}(e),i)}}}},function(e,n,t){"use strict";n.parse=function(e,n){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var t={},r=n||{},a=e.split(";"),s=r.decode||o,c=0;c<a.length;c++){var u=a[c],l=u.indexOf("=");if(!(l<0)){var d=u.substring(0,l).trim();if(void 0==t[d]){var p=u.substring(l+1,u.length).trim();'"'===p[0]&&(p=p.slice(1,-1)),t[d]=i(p,s)}}}return t},n.serialize=function(e,n,t){var o=t||{},i=o.encode||r;if("function"!==typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(n);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=o.maxAge){var u=o.maxAge-0;if(isNaN(u)||!isFinite(u))throw new TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(u)}if(o.domain){if(!a.test(o.domain))throw new TypeError("option domain is invalid");c+="; Domain="+o.domain}if(o.path){if(!a.test(o.path))throw new TypeError("option path is invalid");c+="; Path="+o.path}if(o.expires){if("function"!==typeof o.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+o.expires.toUTCString()}o.httpOnly&&(c+="; HttpOnly");o.secure&&(c+="; Secure");if(o.sameSite){switch("string"===typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var o=decodeURIComponent,r=encodeURIComponent,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function i(e,n){try{return n(e)}catch(t){return e}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(60),r=t(90),a={closed:!0,next:function(e){},error:function(e){if(o.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete:function(){}}},function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return l}));var o=t(1);function r(e){return Object(o.__assign)(Object(o.__assign)({},e),{customUserAgent:"string"===typeof e.customUserAgent?[[e.customUserAgent]]:e.customUserAgent})}var a=t(16),i="user-agent",s=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g,c=function(e){var n=Object(o.__read)(e,2),t=n[0],r=n[1],a=t.indexOf("/"),i=t.substring(0,a),c=t.substring(a+1);return"api"===i&&(c=c.toLowerCase()),[i,c,r].filter((function(e){return e&&e.length>0})).map((function(e){return null===e||void 0===e?void 0:e.replace(s,"_")})).join("/")},u={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0},l=function(e){return{applyToStack:function(n){var t;n.add((t=e,function(e,n){return function(r){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var s,u,l,d,p,m,h,f;return Object(o.__generator)(this,(function(g){switch(g.label){case 0:return s=r.request,a.a.isInstance(s)?(u=s.headers,l=(null===(h=null===n||void 0===n?void 0:n.userAgent)||void 0===h?void 0:h.map(c))||[],[4,t.defaultUserAgentProvider()]):[2,e(r)];case 1:return d=g.sent().map(c),p=(null===(f=null===t||void 0===t?void 0:t.customUserAgent)||void 0===f?void 0:f.map(c))||[],u["x-amz-user-agent"]=Object(o.__spread)(d,l,p).join(" "),m=Object(o.__spread)(d.filter((function(e){return e.startsWith("aws-sdk-")})),p).join(" "),"browser"!==t.runtime&&m&&(u[i]=u[i]?u[i]+" "+m:m),[2,e(Object(o.__assign)(Object(o.__assign)({},r),{request:s}))]}}))}))}}),u)}}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i})),t.d(n,"b",(function(){return c}));var o=t(1),r=t(16),a=t(547);var i=function(){function e(e){var n=(void 0===e?{}:e).requestTimeout;this.requestTimeout=n}return e.prototype.destroy=function(){},e.prototype.handle=function(e,n){var t=(void 0===n?{}:n).abortSignal,i=this.requestTimeout;if(null===t||void 0===t?void 0:t.aborted){var s=new Error("Request aborted");return s.name="AbortError",Promise.reject(s)}var c=e.path;if(e.query){var u=Object(a.a)(e.query);u&&(c+="?"+u)}var l=e.port,d=e.method,p=e.protocol+"//"+e.hostname+(l?":"+l:"")+c,m={body:"GET"===d||"HEAD"===d?void 0:e.body,headers:new Headers(e.headers),method:d};"undefined"!==typeof AbortController&&(m.signal=t);var h,f=new Request(p,m),g=[fetch(f).then((function(e){var n,t,a=e.headers,i={};try{for(var s=Object(o.__values)(a.entries()),c=s.next();!c.done;c=s.next()){var u=c.value;i[u[0]]=u[1]}}catch(l){n={error:l}}finally{try{c&&!c.done&&(t=s.return)&&t.call(s)}finally{if(n)throw n.error}}return void 0!==e.body?{response:new r.b({headers:i,statusCode:e.status,body:e.body})}:e.blob().then((function(n){return{response:new r.b({headers:i,statusCode:e.status,body:n})}}))})),(h=i,void 0===h&&(h=0),new Promise((function(e,n){h&&setTimeout((function(){var e=new Error("Request did not complete within "+h+" ms");e.name="TimeoutError",n(e)}),h)})))];return t&&g.push(new Promise((function(e,n){t.onabort=function(){var e=new Error("Request aborted");e.name="AbortError",n(e)}}))),Promise.race(g)},e}(),s=t(98),c=function(e){return"function"===typeof Blob&&e instanceof Blob?function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return[4,u(e)];case 1:return n=o.sent(),t=Object(s.a)(n),[2,new Uint8Array(t)]}}))}))}(e):function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,r,a,i,s,c;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:n=new Uint8Array(0),t=e.getReader(),r=!1,o.label=1;case 1:return r?[3,3]:[4,t.read()];case 2:return a=o.sent(),i=a.done,(s=a.value)&&(c=n,(n=new Uint8Array(c.length+s.length)).set(c),n.set(s,c.length)),r=i,[3,1];case 3:return[2,n]}}))}))}(e)};function u(e){return new Promise((function(n,t){var o=new FileReader;o.onloadend=function(){var e;if(2!==o.readyState)return t(new Error("Reader aborted too early"));var r=null!==(e=o.result)&&void 0!==e?e:"",a=r.indexOf(","),i=a>-1?a+1:r.length;n(r.substring(i))},o.onabort=function(){return t(new Error("Read aborted"))},o.onerror=function(){return t(o.error)},o.readAsDataURL(e)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return r}));var o=function(e){return"function"===typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var n=[],t=0,o=e.length;t<o;t++){var r=e.charCodeAt(t);if(r<128)n.push(r);else if(r<2048)n.push(r>>6|192,63&r|128);else if(t+1<e.length&&55296===(64512&r)&&56320===(64512&e.charCodeAt(t+1))){var a=65536+((1023&r)<<10)+(1023&e.charCodeAt(++t));n.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}else n.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(n)}(e)},r=function(e){return"function"===typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var n="",t=0,o=e.length;t<o;t++){var r=e[t];if(r<128)n+=String.fromCharCode(r);else if(192<=r&&r<224){var a=e[++t];n+=String.fromCharCode((31&r)<<6|63&a)}else if(240<=r&&r<365){var i="%"+[r,e[++t],e[++t],e[++t]].map((function(e){return e.toString(16)})).join("%");n+=decodeURIComponent(i)}else n+=String.fromCharCode((15&r)<<12|(63&e[++t])<<6|63&e[++t])}return n}(e)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return s}));var o=t(1),r=function(e){var n;return Object(o.__assign)(Object(o.__assign)({},e),{tls:null===(n=e.tls)||void 0===n||n,endpoint:e.endpoint?a(e):function(){return i(e)},isCustomEndpoint:!!e.endpoint})},a=function(e){var n=e.endpoint,t=e.urlParser;if("string"===typeof n){var o=Promise.resolve(t(n));return function(){return o}}if("object"===typeof n){var r=Promise.resolve(n);return function(){return r}}return n},i=function(e){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var n,t,r,a,i;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return n=e.tls,t=void 0===n||n,[4,e.region()];case 1:if(r=o.sent(),!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(r))throw new Error("Invalid region in client config");return[4,e.regionInfoProvider(r)];case 2:if(!(a=(null!==(i=o.sent())&&void 0!==i?i:{}).hostname))throw new Error("Cannot resolve hostname from client config");return[2,e.urlParser((t?"https:":"http:")+"//"+a)]}}))}))},s=function(e){if(!e.region)throw new Error("Region is missing");return Object(o.__assign)(Object(o.__assign)({},e),{region:c(e.region)})},c=function(e){if("string"===typeof e){var n=Promise.resolve(e);return function(){return n}}return e}},function(e,n,t){var o,r;!function(a){if(void 0===(r="function"===typeof(o=a)?o.call(n,t,n,e):o)||(e.exports=r),!0,e.exports=a(),!!0){var i=window.Cookies,s=window.Cookies=a();s.noConflict=function(){return window.Cookies=i,s}}}((function(){function e(){for(var e=0,n={};e<arguments.length;e++){var t=arguments[e];for(var o in t)n[o]=t[o]}return n}function n(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function t(o){function r(){}function a(n,t,a){if("undefined"!==typeof document){"number"===typeof(a=e({path:"/"},r.defaults,a)).expires&&(a.expires=new Date(1*new Date+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var i=JSON.stringify(t);/^[\{\[]/.test(i)&&(t=i)}catch(u){}t=o.write?o.write(t,n):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in a)a[c]&&(s+="; "+c,!0!==a[c]&&(s+="="+a[c].split(";")[0]));return document.cookie=n+"="+t+s}}function i(e,t){if("undefined"!==typeof document){for(var r={},a=document.cookie?document.cookie.split("; "):[],i=0;i<a.length;i++){var s=a[i].split("="),c=s.slice(1).join("=");t||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=n(s[0]);if(c=(o.read||o)(c,u)||n(c),t)try{c=JSON.parse(c)}catch(l){}if(r[u]=c,e===u)break}catch(l){}}return e?r[e]:r}}return r.set=a,r.get=function(e){return i(e,!1)},r.getJSON=function(e){return i(e,!0)},r.remove=function(n,t){a(n,"",e(t,{expires:-1}))},r.defaults={},r.withConverter=t,r}((function(){}))}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return ie})),t.d(n,"b",(function(){return O})),t.d(n,"c",(function(){return H})),t.d(n,"d",(function(){return W})),t.d(n,"e",(function(){return F}));var o=t(0),r=t(51),a=t.n(r),i=(t(47),t(48),function(){function e(n,t){n.getClusterer().extend(e,google.maps.OverlayView),this.cluster=n,this.className=this.cluster.getClusterer().getClusterClass(),this.styles=t,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.setMap(n.getMap())}var n=e.prototype;return n.onAdd=function(){var e,n,t=this;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),this.getPanes().overlayMouseTarget.appendChild(this.div),this.boundsChangedListener=google.maps.event.addListener(this.getMap(),"boundschanged",(function(){n=e})),google.maps.event.addDomListener(this.div,"mousedown",(function(){e=!0,n=!1})),google.maps.event.addDomListener(this.div,"click",(function(o){if(e=!1,!n){var r=t.cluster.getClusterer();if(google.maps.event.trigger(r,"click",t.cluster),google.maps.event.trigger(r,"clusterclick",t.cluster),r.getZoomOnClick()){var a=r.getMaxZoom(),i=t.cluster.getBounds();r.getMap().fitBounds(i),setTimeout((function(){r.getMap().fitBounds(i),null!==a&&r.getMap().getZoom()>a&&r.getMap().setZoom(a+1)}),100)}o.cancelBubble=!0,o.stopPropagation&&o.stopPropagation()}})),google.maps.event.addDomListener(this.div,"mouseover",(function(){google.maps.event.trigger(t.cluster.getClusterer(),"mouseover",t.cluster)})),google.maps.event.addDomListener(this.div,"mouseout",(function(){google.maps.event.trigger(t.cluster.getClusterer(),"mouseout",t.cluster)}))},n.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),google.maps.event.clearInstanceListeners(this.div),this.div.parentNode.removeChild(this.div),this.div=null)},n.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center),n=e.x,t=e.y;this.div.style.top=t+"px",this.div.style.left=n+"px"}},n.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},n.show=function(){if(this.div&&this.center){var e="",n="",t=this.backgroundPosition.split(" "),o=parseInt(t[0].replace(/^\s+|\s+$/g,""),10),r=parseInt(t[1].replace(/^\s+|\s+$/g,""),10),a=this.getPosFromLatLng(this.center);n=null===this.sums||"undefined"===typeof this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,this.div.style.cssText=this.createCss(a),e="<img alt='"+n+"' src='"+this.url+"' style='position: absolute; top: "+r+"px; left: "+o+"px; ",this.cluster.getClusterer().enableRetinaIcons||(e+="clip: rect("+-1*r+"px, "+(-1*o+this.width)+"px, "+(-1*r+this.height)+"px, "+-1*o+"px);"),e+="'>",this.div.innerHTML=e+"<div style='position: absolute;top: "+this.anchorText[0]+"px;left: "+this.anchorText[1]+"px;color: "+this.textColor+";font-size: "+this.textSize+"px;font-family: "+this.fontFamily+";font-weight: "+this.fontWeight+";font-style: "+this.fontStyle+";text-decoration: "+this.textDecoration+";text-align: center;width: "+this.width+"px;line-height:"+this.height+"px;'>"+this.sums.text+"</div>",this.div.title=n,this.div.style.display=""}this.visible=!0},n.useStyle=function(e){this.sums=e;var n=this.styles[Math.min(this.styles.length-1,Math.max(0,e.index-1))];this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className=this.className+" "+n.className),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0"},n.setCenter=function(e){this.center=e},n.createCss=function(e){var n=[];return n.push("cursor: pointer;"),n.push("position: absolute; top: "+e.y+"px; left: "+e.x+"px;"),n.push("width: "+this.width+"px; height: "+this.height+"px;"),n.join("")},n.getPosFromLatLng=function(e){var n=this.getProjection().fromLatLngToDivPixel(e);return n.x-=this.anchorIcon[1],n.y-=this.anchorIcon[0],n},e}()),s=function(){function e(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new i(this,this.markerClusterer.getStyles())}var n=e.prototype;return n.getSize=function(){return this.markers.length},n.getMarkers=function(){return this.markers},n.getCenter=function(){return this.center},n.getMap=function(){return this.map},n.getClusterer=function(){return this.markerClusterer},n.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),n=this.getMarkers(),t=0;t<n.length;t++){var o=n[t].getPosition();o&&e.extend(o)}return e},n.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},n.addMarker=function(e){if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter){var n=e.getPosition();if(n){var t=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(t-1)+n.lat())/t,(this.center.lng()*(t-1)+n.lng())/t),this.calculateBounds()}}}else{var o=e.getPosition();o&&(this.center=o,this.calculateBounds())}e.isAdded=!0,this.markers.push(e);var r=this.markers.length,a=this.markerClusterer.getMaxZoom();if(null!==a&&this.map.getZoom()>a)e.getMap()!==this.map&&e.setMap(this.map);else if(r<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(r===this.minClusterSize)for(var i=0;i<r;i++)this.markers[i].setMap(null);else e.setMap(null);return!0},n.isMarkerInClusterBounds=function(e){if(null!==this.bounds){var n=e.getPosition();if(n)return this.bounds.contains(n)}return!1},n.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},n.updateIcon=function(){var e=this.markers.length,n=this.markerClusterer.getMaxZoom();null!==n&&this.map.getZoom()>n||e<this.minClusterSize?this.clusterIcon.hide():(this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show())},n.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var n=0;n<this.markers.length;n++)if(e===this.markers[n])return!0;return!1},e}(),c=function(e,n){var t=e.length,o=t.toString().length,r=Math.min(o,n);return{text:t.toString(),index:r,title:""}},u=[53,56,66,78,90],l=function(){function e(n,t,o){void 0===t&&(t=[]),void 0===o&&(o={}),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=o.gridSize||60,this.minClusterSize=o.minimumClusterSize||2,this.maxZoom=o.maxZoom||null,this.styles=o.styles||[],this.title=o.title||"",this.zoomOnClick=!0,void 0!==o.zoomOnClick&&(this.zoomOnClick=o.zoomOnClick),this.averageCenter=!1,void 0!==o.averageCenter&&(this.averageCenter=o.averageCenter),this.ignoreHidden=!1,void 0!==o.ignoreHidden&&(this.ignoreHidden=o.ignoreHidden),this.enableRetinaIcons=!1,void 0!==o.enableRetinaIcons&&(this.enableRetinaIcons=o.enableRetinaIcons),this.imagePath=o.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=o.imageExtension||"png",this.imageSizes=o.imageSizes||u,this.calculator=o.calculator||c,this.batchSize=o.batchSize||2e3,this.batchSizeIE=o.batchSizeIE||500,this.clusterClass=o.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(t,!0),this.setMap(n)}var n=e.prototype;return n.onAdd=function(){var e=this;this.activeMap=this.getMap(),this.ready=!0,this.repaint(),this.listeners=[google.maps.event.addListener(this.getMap(),"zoom_changed",(function(){e.resetViewport(!1),e.getMap().getZoom()!==(e.get("minZoom")||0)&&e.getMap().getZoom()!==e.get("maxZoom")||google.maps.event.trigger(e,"idle")})),google.maps.event.addListener(this.getMap(),"idle",(function(){e.redraw()}))]},n.onRemove=function(){for(var e=0;e<this.markers.length;e++)this.markers[e].getMap()!==this.activeMap&&this.markers[e].setMap(this.activeMap);for(var n=0;n<this.clusters.length;n++)this.clusters[n].remove();this.clusters=[];for(var t=0;t<this.listeners.length;t++)google.maps.event.removeListener(this.listeners[t]);this.listeners=[],this.activeMap=null,this.ready=!1},n.draw=function(){},n.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:this.imagePath+(e+1)+"."+this.imageExtension,height:this.imageSizes[e],width:this.imageSizes[e]})},n.fitMapToMarkers=function(){for(var e=this.getMarkers(),n=new google.maps.LatLngBounds,t=0;t<e.length;t++){var o=e[t].getPosition();o&&n.extend(o)}this.getMap().fitBounds(n)},n.getGridSize=function(){return this.gridSize},n.setGridSize=function(e){this.gridSize=e},n.getMinimumClusterSize=function(){return this.minClusterSize},n.setMinimumClusterSize=function(e){this.minClusterSize=e},n.getMaxZoom=function(){return this.maxZoom},n.setMaxZoom=function(e){this.maxZoom=e},n.getStyles=function(){return this.styles},n.setStyles=function(e){this.styles=e},n.getTitle=function(){return this.title},n.setTitle=function(e){this.title=e},n.getZoomOnClick=function(){return this.zoomOnClick},n.setZoomOnClick=function(e){this.zoomOnClick=e},n.getAverageCenter=function(){return this.averageCenter},n.setAverageCenter=function(e){this.averageCenter=e},n.getIgnoreHidden=function(){return this.ignoreHidden},n.setIgnoreHidden=function(e){this.ignoreHidden=e},n.getEnableRetinaIcons=function(){return this.enableRetinaIcons},n.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},n.getImageExtension=function(){return this.imageExtension},n.setImageExtension=function(e){this.imageExtension=e},n.getImagePath=function(){return this.imagePath},n.setImagePath=function(e){this.imagePath=e},n.getImageSizes=function(){return this.imageSizes},n.setImageSizes=function(e){this.imageSizes=e},n.getCalculator=function(){return this.calculator},n.setCalculator=function(e){this.calculator=e},n.getBatchSizeIE=function(){return this.batchSizeIE},n.setBatchSizeIE=function(e){this.batchSizeIE=e},n.getClusterClass=function(){return this.clusterClass},n.setClusterClass=function(e){this.clusterClass=e},n.getMarkers=function(){return this.markers},n.getTotalMarkers=function(){return this.markers.length},n.getClusters=function(){return this.clusters},n.getTotalClusters=function(){return this.clusters.length},n.addMarker=function(e,n){this.pushMarkerTo(e),n||this.redraw()},n.addMarkers=function(e,n){for(var t in e)e.hasOwnProperty(t)&&this.pushMarkerTo(e[t]);n||this.redraw()},n.pushMarkerTo=function(e){var n=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",(function(){n.ready&&(e.isAdded=!1,n.repaint())})),e.isAdded=!1,this.markers.push(e)},n.removeMarker_=function(e){var n=-1;if(this.markers.indexOf)n=this.markers.indexOf(e);else for(var t=0;t<this.markers.length;t++)if(e===this.markers[t]){n=t;break}return-1!==n&&(e.setMap(null),this.markers.splice(n,1),!0)},n.removeMarker=function(e,n){var t=this.removeMarker_(e);return!n&&t&&this.repaint(),t},n.removeMarkers=function(e,n){for(var t=!1,o=0;o<e.length;o++)t=t||this.removeMarker_(e[o]);return!n&&t&&this.repaint(),t},n.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},n.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout((function(){for(var n=0;n<e.length;n++)e[n].remove()}),0)},n.getExtendedBounds=function(e){var n=this.getProjection(),t=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));t.x+=this.gridSize,t.y-=this.gridSize;var o=n.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));return o.x-=this.gridSize,o.y+=this.gridSize,e.extend(n.fromDivPixelToLatLng(t)),e.extend(n.fromDivPixelToLatLng(o)),e},n.redraw=function(){this.createClusters(0)},n.resetViewport=function(e){for(var n=0;n<this.clusters.length;n++)this.clusters[n].remove();this.clusters=[];for(var t=0;t<this.markers.length;t++){var o=this.markers[t];o.isAdded=!1,e&&o.setMap(null)}},n.distanceBetweenPoints=function(e,n){var t=(n.lat()-e.lat())*Math.PI/180,o=(n.lng()-e.lng())*Math.PI/180,r=Math.sin(t/2)*Math.sin(t/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(n.lat()*Math.PI/180)*Math.sin(o/2)*Math.sin(o/2);return 2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r))*6371},n.isMarkerInBounds=function(e,n){var t=e.getPosition();return!!t&&n.contains(t)},n.addToClosestCluster=function(e){for(var n,t=4e4,o=null,r=0;r<this.clusters.length;r++){var a=(n=this.clusters[r]).getCenter(),i=e.getPosition();if(a&&i){var c=this.distanceBetweenPoints(a,i);c<t&&(t=c,o=n)}}o&&o.isMarkerInClusterBounds(e)?o.addMarker(e):((n=new s(this)).addMarker(e),this.clusters.push(n))},n.createClusters=function(e){var n=this;if(this.ready){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var t=this.getMap().getZoom()>3?new google.maps.LatLngBounds(this.getMap().getBounds().getSouthWest(),this.getMap().getBounds().getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),o=this.getExtendedBounds(t),r=Math.min(e+this.batchSize,this.markers.length),a=e;a<r;a++){var i=this.markers[a];!i.isAdded&&this.isMarkerInBounds(i,o)&&(!this.ignoreHidden||this.ignoreHidden&&i.getVisible())&&this.addToClosestCluster(i)}if(r<this.markers.length)this.timerRefStatic=window.setTimeout((function(){n.createClusters(r)}),0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(var s=0;s<this.clusters.length;s++)this.clusters[s].updateIcon()}}},n.extend=function(e,n){return function(e){for(var n in e.prototype)this.prototype[n]=e.prototype[n];return this}.apply(e,[n])},e}(),d=t(53),p=function(){function e(n){void 0===n&&(n={}),this.extend(e,google.maps.OverlayView),this.content=n.content||"",this.disableAutoPan=n.disableAutoPan||!1,this.maxWidth=n.maxWidth||0,this.pixelOffset=n.pixelOffset||new google.maps.Size(0,0),this.position=n.position||new google.maps.LatLng(0,0),this.zIndex=n.zIndex||null,this.boxClass=n.boxClass||"infoBox",this.boxStyle=n.boxStyle||{},this.closeBoxMargin=n.closeBoxMargin||"2px",this.closeBoxURL=n.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===n.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=n.infoBoxClearance||new google.maps.Size(1,1),"undefined"===typeof n.visible&&("undefined"===typeof n.isHidden?n.visible=!0:n.visible=!n.isHidden),this.isHidden=!n.visible,this.alignBottom=n.alignBottom||!1,this.pane=n.pane||"floatPane",this.enableEventPropagation=n.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}var n=e.prototype;return n.createInfoBoxDiv=function(){var e=this;function n(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}if(!this.div){if(this.div=document.createElement("div"),this.setBoxStyle(),"string"===typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content)),this.getPanes()[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var t=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-t.left-t.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var o=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],r=0;r<o.length;r++)this.eventListeners.push(google.maps.event.addDomListener(this.div,o[r],n));this.eventListeners.push(google.maps.event.addDomListener(this.div,"mouseover",(function(){e.div&&(e.div.style.cursor="default")})))}this.contextListener=google.maps.event.addDomListener(this.div,"contextmenu",(function(t){t.returnValue=!1,t.preventDefault&&t.preventDefault(),e.enableEventPropagation||n(t)})),google.maps.event.trigger(this,"domready")}},n.getCloseBoxImg=function(){var e="";return""!==this.closeBoxURL&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},n.addClickHandler=function(){if(this.div&&this.div.firstChild&&""!==this.closeBoxURL){var e=this.div.firstChild;this.closeListener=google.maps.event.addDomListener(e,"click",this.getCloseClickHandler())}else this.closeListener=null},n.getCloseClickHandler=function(){var e=this;return function(n){n.cancelBubble=!0,n.stopPropagation&&n.stopPropagation(),google.maps.event.trigger(e,"closeclick"),e.close()}},n.panBox=function(e){if(this.div&&!e){var n=this.getMap();if(n instanceof google.maps.Map){var t=0,o=0,r=n.getBounds();r&&!r.contains(this.position)&&n.setCenter(this.position);var a=n.getDiv(),i=a.offsetWidth,s=a.offsetHeight,c=this.pixelOffset.width,u=this.pixelOffset.height,l=this.div.offsetWidth,d=this.div.offsetHeight,p=this.infoBoxClearance.width,m=this.infoBoxClearance.height,h=this.getProjection().fromLatLngToContainerPixel(this.position);h.x<-c+p?t=h.x+c-p:h.x+l+c+p>i&&(t=h.x+l+c+p-i),this.alignBottom?h.y<-u+m+d?o=h.y+u-m-d:h.y+u+m>s&&(o=h.y+u+m-s):h.y<-u+m?o=h.y+u-m:h.y+d+u+m>s&&(o=h.y+d+u+m-s),0===t&&0===o||n.panBy(t,o)}}},n.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var n in e)e.hasOwnProperty(n)&&(this.div.style[n]=e[n]);if(this.div.style.webkitTransform="translateZ(0)","undefined"!==typeof this.div.style.opacity&&""!==this.div.style.opacity){var t=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*t+')"',this.div.style.filter="alpha(opacity="+100*t+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},n.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView&&document.defaultView.getComputedStyle){var n=this.div.ownerDocument,t=n&&n.defaultView?n.defaultView.getComputedStyle(this.div,""):null;t&&(e.top=parseInt(t.borderTopWidth||"",10)||0,e.bottom=parseInt(t.borderBottomWidth||"",10)||0,e.left=parseInt(t.borderLeftWidth||"",10)||0,e.right=parseInt(t.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var o=this.div.currentStyle;o&&(e.top=parseInt(o.borderTopWidth||"",10)||0,e.bottom=parseInt(o.borderBottomWidth||"",10)||0,e.left=parseInt(o.borderLeftWidth||"",10)||0,e.right=parseInt(o.borderRightWidth||"",10)||0)}return e},n.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},n.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection().fromLatLngToDivPixel(this.position);this.div.style.left=e.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(e.y+this.pixelOffset.height)+"px":this.div.style.top=e.y+this.pixelOffset.height+"px",this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},n.setOptions=function(e){void 0===e&&(e={}),"undefined"!==typeof e.boxClass&&(this.boxClass=e.boxClass,this.setBoxStyle()),"undefined"!==typeof e.boxStyle&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),"undefined"!==typeof e.content&&this.setContent(e.content),"undefined"!==typeof e.disableAutoPan&&(this.disableAutoPan=e.disableAutoPan),"undefined"!==typeof e.maxWidth&&(this.maxWidth=e.maxWidth),"undefined"!==typeof e.pixelOffset&&(this.pixelOffset=e.pixelOffset),"undefined"!==typeof e.alignBottom&&(this.alignBottom=e.alignBottom),"undefined"!==typeof e.position&&this.setPosition(e.position),"undefined"!==typeof e.zIndex&&this.setZIndex(e.zIndex),"undefined"!==typeof e.closeBoxMargin&&(this.closeBoxMargin=e.closeBoxMargin),"undefined"!==typeof e.closeBoxURL&&(this.closeBoxURL=e.closeBoxURL),"undefined"!==typeof e.infoBoxClearance&&(this.infoBoxClearance=e.infoBoxClearance),"undefined"!==typeof e.isHidden&&(this.isHidden=e.isHidden),"undefined"!==typeof e.visible&&(this.isHidden=!e.visible),"undefined"!==typeof e.enableEventPropagation&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},n.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"===typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"===typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},n.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},n.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},n.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},n.getContent=function(){return this.content},n.getPosition=function(){return this.position},n.getZIndex=function(){return this.zIndex},n.getVisible=function(){var e=this.getMap();return"undefined"!==typeof e&&null!==e&&!this.isHidden},n.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},n.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},n.open=function(e,n){var t=this;n&&(this.position=n.getPosition(),this.moveListener=google.maps.event.addListener(n,"position_changed",(function(){var e=n.getPosition();t.setPosition(e)})),this.mapListener=google.maps.event.addListener(n,"map_changed",(function(){t.setMap(n.map)}))),this.setMap(e),this.div&&this.panBox()},n.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0;e<this.eventListeners.length;e++)google.maps.event.removeListener(this.eventListeners[e]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},n.extend=function(e,n){return function(e){for(var n in e.prototype)this.prototype.hasOwnProperty(n)||(this.prototype[n]=e.prototype[n]);return this}.apply(e,[n])},e}();function m(e,n,t,o,r,a,i){try{var s=e[a](i),c=s.value}catch(u){return void t(u)}s.done?n(c):Promise.resolve(c).then(o,r)}function h(e){return function(){var n=this,t=arguments;return new Promise((function(o,r){var a=e.apply(n,t);function i(e){m(a,o,r,i,s,"next",e)}function s(e){m(a,o,r,i,s,"throw",e)}i(void 0)}))}}function f(){return(f=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function g(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}function v(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}var y=Object(o.createContext)(null);var b=function(e,n,t,o){var r,a,i={};return r=e,a=function(e,r){var a=t[r];a!==n[r]&&(i[r]=a,e(o,a))},Object.keys(r).forEach((function(e){return a(r[e],e)})),i};function C(e,n,t){var o,r,a;return o=t,r=function(t,o,r){return"function"===typeof e[r]&&t.push(google.maps.event.addListener(n,o,e[r])),t},a=[],Object.keys(o).reduce((function(e,n){return r(e,o[n],n)}),a)}function w(e){google.maps.event.removeListener(e)}function S(e){void 0===e&&(e=[]),e.forEach(w)}function _(e){var n=e.updaterMap,t=e.eventMap,o=e.prevProps,r=e.nextProps,a=e.instance,i=C(r,a,t);return b(n,o,r,a),i}var E={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},x={extraMapTypes:function(e,n){n.forEach((function(n,t){e.mapTypes.set(String(t),n)}))},center:function(e,n){e.setCenter(n)},clickableIcons:function(e,n){e.setClickableIcons(n)},heading:function(e,n){e.setHeading(n)},mapTypeId:function(e,n){e.setMapTypeId(n)},options:function(e,n){e.setOptions(n)},streetView:function(e,n){e.setStreetView(n)},tilt:function(e,n){e.setTilt(n)},zoom:function(e,n){e.setZoom(n)}},O=function(e){function n(){var n;return(n=e.apply(this,arguments)||this).state={map:null},n.registeredEvents=[],n.mapRef=null,n.getInstance=function(){return null===n.mapRef?null:new google.maps.Map(n.mapRef,n.props.options)},n.panTo=function(e){var t=n.getInstance();t&&t.panTo(e)},n.setMapCallback=function(){null!==n.state.map&&n.props.onLoad&&n.props.onLoad(n.state.map)},n.getRef=function(e){n.mapRef=e},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=this.getInstance();this.registeredEvents=_({updaterMap:x,eventMap:E,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{map:e}}),this.setMapCallback)},t.componentDidUpdate=function(e){null!==this.state.map&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:x,eventMap:E,prevProps:e,nextProps:this.props,instance:this.state.map}))},t.componentWillUnmount=function(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),S(this.registeredEvents))},t.render=function(){return Object(o.createElement)("div",{id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},Object(o.createElement)(y.Provider,{value:this.state.map},null!==this.state.map?this.props.children:Object(o.createElement)(o.Fragment,null)))},n}(o.PureComponent);var A=function(e,n){return e(n={exports:{}},n.exports),n.exports}((function(e){var n=function(e){var n,t=Object.prototype,o=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{c({},"")}catch(M){c=function(e,n,t){return e[n]=t}}function u(e,n,t,o){var r=n&&n.prototype instanceof g?n:g,a=Object.create(r.prototype),i=new k(o||[]);return a._invoke=function(e,n,t){var o=d;return function(r,a){if(o===m)throw new Error("Generator is already running");if(o===h){if("throw"===r)throw a;return P()}for(t.method=r,t.arg=a;;){var i=t.delegate;if(i){var s=x(i,t);if(s){if(s===f)continue;return s}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(o===d)throw o=h,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);o=m;var c=l(e,n,t);if("normal"===c.type){if(o=t.done?h:p,c.arg===f)continue;return{value:c.arg,done:t.done}}"throw"===c.type&&(o=h,t.method="throw",t.arg=c.arg)}}}(e,t,i),a}function l(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(M){return{type:"throw",arg:M}}}e.wrap=u;var d="suspendedStart",p="suspendedYield",m="executing",h="completed",f={};function g(){}function v(){}function y(){}var b={};b[a]=function(){return this};var C=Object.getPrototypeOf,w=C&&C(C(T([])));w&&w!==t&&o.call(w,a)&&(b=w);var S=y.prototype=g.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(n){c(e,n,(function(e){return this._invoke(n,e)}))}))}function E(e,n){function t(r,a,i,s){var c=l(e[r],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"===typeof d&&o.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,i,s)}),(function(e){t("throw",e,i,s)})):n.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return t("throw",e,i,s)}))}s(c.arg)}var r;this._invoke=function(e,o){function a(){return new n((function(n,r){t(e,o,n,r)}))}return r=r?r.then(a,a):a()}}function x(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,x(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function A(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[a];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(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:n,done:!0}}return v.prototype=S.constructor=y,y.constructor=v,v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var n="function"===typeof e&&e.constructor;return!!n&&(n===v||"GeneratorFunction"===(n.displayName||n.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},_(E.prototype),E.prototype[i]=function(){return this},e.AsyncIterator=E,e.async=function(n,t,o,r,a){void 0===a&&(a=Promise);var i=new E(u(n,t,o,r),a);return e.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},_(S),c(S,s,"Generator"),S[a]=function(){return this},S.toString=function(){return"[object Generator]"},e.keys=function(e){var n=[];for(var t in e)n.push(t);return n.reverse(),function t(){for(;n.length;){var o=n.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=T,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},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(o,r){return s.type="throw",s.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=n&&n<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=n,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(e,n){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&&n&&(this.next=n),f},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),A(t),f}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var o=t.completion;if("throw"===o.type){var r=o.arg;A(t)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:T(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),f}},e}(e.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}})),k="undefined"!==typeof document,T=function(e){var n=e.url,t=e.id,o=e.nonce;return k?new Promise((function(e,r){var a=document.getElementById(t),i=window;if(a){var s=a.getAttribute("data-state");if(a.src===n&&"error"!==s){if("ready"===s)return e(t);var c=i.initMap,u=a.onerror;return i.initMap=function(){c&&c(),e(t)},void(a.onerror=function(e){u&&u(e),r(e)})}a.remove()}var l=document.createElement("script");l.type="text/javascript",l.src=n,l.id=t,l.async=!0,l.nonce=o,l.onerror=function(e){l.setAttribute("data-state","error"),r(e)},i.initMap=function(){l.setAttribute("data-state","ready"),e(t)},document.head.appendChild(l)})).catch((function(e){throw console.error("injectScript error: ",e),e})):Promise.reject(new Error("document is undefined"))},P=function(e){return!(!e.href||0!==e.href.indexOf("https://fonts.googleapis.com/css?family=Roboto"))||("style"===e.tagName.toLowerCase()&&e.styleSheet&&e.styleSheet.cssText&&0===e.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(e.styleSheet.cssText="",!0):"style"===e.tagName.toLowerCase()&&e.innerHTML&&0===e.innerHTML.replace("\r\n","").indexOf(".gm-style")?(e.innerHTML="",!0):"style"===e.tagName.toLowerCase()&&!e.styleSheet&&!e.innerHTML)},M=function(){var e=document.getElementsByTagName("head")[0],n=e.insertBefore.bind(e);e.insertBefore=function(t,o){P(t)||Reflect.apply(n,e,[t,o])};var t=e.appendChild.bind(e);e.appendChild=function(n){P(n)||Reflect.apply(t,e,[n])}};function I(e){var n=e.googleMapsApiKey,t=e.googleMapsClientId,o=e.version,r=void 0===o?"weekly":o,i=e.language,s=e.region,c=e.libraries,u=e.channel,l=e.mapIds,d=[];return n&&t||!n||!t||a()(!1),n?d.push("key="+n):t&&d.push("client="+t),r&&d.push("v="+r),i&&d.push("language="+i),s&&d.push("region="+s),c&&c.length&&d.push("libraries="+c.sort().join(",")),u&&d.push("channel="+u),l&&l.length&&d.push("map_ids="+l.join(",")),d.push("callback=initMap"),"https://maps.googleapis.com/maps/api/js?"+d.join("&")}var R=!1;function j(){return Object(o.createElement)("div",null,"Loading...")}var N,L={id:"script-loader",version:"weekly"};function F(e){var n=e.id,t=void 0===n?L.id:n,r=e.version,i=void 0===r?L.version:r,s=e.nonce,c=e.googleMapsApiKey,u=e.googleMapsClientId,l=e.language,d=e.region,p=e.libraries,m=e.preventGoogleFontsLoading,h=e.channel,f=e.mapIds,g=Object(o.useRef)(!1),v=Object(o.useState)(!1),y=v[0],b=v[1],C=Object(o.useState)(void 0),w=C[0],S=C[1];Object(o.useEffect)((function(){return g.current=!0,function(){g.current=!1}}),[]),Object(o.useEffect)((function(){k&&m&&M()}),[m]),Object(o.useEffect)((function(){y&&(window.google||a()(!1))}),[y]);var _=I({version:i,googleMapsApiKey:c,googleMapsClientId:u,language:l,region:d,libraries:p,channel:h,mapIds:f});Object(o.useEffect)((function(){function e(){g.current&&(b(!0),N=_)}k&&(window.google&&window.google.maps&&N===_?e():T({id:t,url:_,nonce:s}).then(e).catch((function(e){g.current&&S(e),console.warn("\n        There has been an Error with loading Google Maps API script, please check that you provided correct google API key ("+(c||"-")+") or Client ID ("+(u||"-")+")\n        Otherwise it is a Network issue.\n      "),console.error(e)})))}),[t,_,s]);var E=Object(o.useRef)();return Object(o.useEffect)((function(){E.current&&p!==E.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),E.current=p}),[p]),{isLoaded:y,loadError:w,url:_}}(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).check=Object(o.createRef)(),n.state={loaded:!1},n.cleanupCallback=function(){delete window.google.maps,n.injectScript()},n.isCleaningUp=h(A.mark((function e(){var n;return A.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(e){if(R){if(k)var n=window.setInterval((function(){R||(window.clearInterval(n),e())}),1)}else e()},e.abrupt("return",new Promise(n));case 2:case"end":return e.stop()}}),e)}))),n.cleanup=function(){R=!0;var e=document.getElementById(n.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(e){return"string"===typeof e.src&&e.src.includes("maps.googleapis")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("link")).filter((function(e){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===e.href})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("style")).filter((function(e){return void 0!==e.innerText&&e.innerText.length>0&&e.innerText.includes(".gm-")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))},n.injectScript=function(){n.props.preventGoogleFontsLoading&&M(),n.props.id||a()(!1);var e={id:n.props.id,nonce:n.props.nonce,url:I(n.props)};T(e).then((function(){n.props.onLoad&&n.props.onLoad(),n.setState((function(){return{loaded:!0}}))})).catch((function(e){n.props.onError&&n.props.onError(e),console.error("\n          There has been an Error with loading Google Maps API script, please check that you provided correct google API key ("+(n.props.googleMapsApiKey||"-")+") or Client ID ("+(n.props.googleMapsClientId||"-")+") to <LoadScript />\n          Otherwise it is a Network issue.\n        ")}))},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){if(k){if(window.google&&window.google.maps&&!R)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch((function(e){console.error("Error at injecting script after cleaning up: ",e)}))}},t.componentDidUpdate=function(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),k&&e.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))},t.componentWillUnmount=function(){var e=this;if(k){this.cleanup();window.setTimeout((function(){e.check.current||(delete window.google,R=!1)}),1),this.props.onUnmount&&this.props.onUnmount()}},t.render=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||Object(o.createElement)(j,null))},n}(o.PureComponent)).defaultProps=L;var U={},D={options:function(e,n){e.setOptions(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).state={trafficLayer:null},n.setTrafficLayerCallback=function(){null!==n.state.trafficLayer&&n.props.onLoad&&n.props.onLoad(n.state.trafficLayer)},n.registeredEvents=[],n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.TrafficLayer(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:D,eventMap:U,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{trafficLayer:e}}),this.setTrafficLayerCallback)},t.componentDidUpdate=function(e){null!==this.state.trafficLayer&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:D,eventMap:U,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))},t.componentWillUnmount=function(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),S(this.registeredEvents),this.state.trafficLayer.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y,(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).state={bicyclingLayer:null},n.setBicyclingLayerCallback=function(){null!==n.state.bicyclingLayer&&(n.state.bicyclingLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.bicyclingLayer))},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.BicyclingLayer;this.setState((function(){return{bicyclingLayer:e}}),this.setBicyclingLayerCallback)},t.componentWillUnmount=function(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y,(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).state={transitLayer:null},n.setTransitLayerCallback=function(){null!==n.state.transitLayer&&(n.state.transitLayer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.transitLayer))},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.TransitLayer;this.setState((function(){return{transitLayer:e}}),this.setTransitLayerCallback)},t.componentWillUnmount=function(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y;var B={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},z={drawingMode:function(e,n){e.setDrawingMode(n)},options:function(e,n){e.setOptions(n)}};(function(e){function n(n){var t;return(t=e.call(this,n)||this).registeredEvents=[],t.state={drawingManager:null},t.setDrawingManagerCallback=function(){null!==t.state.drawingManager&&t.props.onLoad&&t.props.onLoad(t.state.drawingManager)},google.maps.drawing||a()(!1),t}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.drawing.DrawingManager(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:z,eventMap:B,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{drawingManager:e}}),this.setDrawingManagerCallback)},t.componentDidUpdate=function(e){null!==this.state.drawingManager&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:z,eventMap:B,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))},t.componentWillUnmount=function(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),S(this.registeredEvents),this.state.drawingManager.setMap(null))},t.render=function(){return Object(o.createElement)(o.Fragment,null)},n}(o.PureComponent)).contextType=y;var V={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},G={animation:function(e,n){e.setAnimation(n)},clickable:function(e,n){e.setClickable(n)},cursor:function(e,n){e.setCursor(n)},draggable:function(e,n){e.setDraggable(n)},icon:function(e,n){e.setIcon(n)},label:function(e,n){e.setLabel(n)},map:function(e,n){e.setMap(n)},opacity:function(e,n){e.setOpacity(n)},options:function(e,n){e.setOptions(n)},position:function(e,n){e.setPosition(n)},shape:function(e,n){e.setShape(n)},title:function(e,n){e.setTitle(n)},visible:function(e,n){e.setVisible(n)},zIndex:function(e,n){e.setZIndex(n)}},H=function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=f({},this.props.options||{},this.props.clusterer?{}:{map:this.context},{position:this.props.position});this.marker=new google.maps.Marker(e),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=_({updaterMap:G,eventMap:V,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)},t.componentDidUpdate=function(e){this.marker&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:G,eventMap:V,prevProps:e,nextProps:this.props,instance:this.marker}))},t.componentWillUnmount=function(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),S(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))},t.render=function(){var e=this,n=null;return this.props.children&&(n=o.Children.map(this.props.children,(function(n){if(!Object(o.isValidElement)(n))return n;var t=n;return Object(o.cloneElement)(t,{anchor:e.marker})}))),n||null},n}(o.PureComponent);H.contextType=y;var q={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},K={averageCenter:function(e,n){e.setAverageCenter(n)},batchSizeIE:function(e,n){e.setBatchSizeIE(n)},calculator:function(e,n){e.setCalculator(n)},clusterClass:function(e,n){e.setClusterClass(n)},enableRetinaIcons:function(e,n){e.setEnableRetinaIcons(n)},gridSize:function(e,n){e.setGridSize(n)},ignoreHidden:function(e,n){e.setIgnoreHidden(n)},imageExtension:function(e,n){e.setImageExtension(n)},imagePath:function(e,n){e.setImagePath(n)},imageSizes:function(e,n){e.setImageSizes(n)},maxZoom:function(e,n){e.setMaxZoom(n)},minimumClusterSize:function(e,n){e.setMinimumClusterSize(n)},styles:function(e,n){e.setStyles(n)},title:function(e,n){e.setTitle(n)},zoomOnClick:function(e,n){e.setZoomOnClick(n)}},W=function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={markerClusterer:null},n.setClustererCallback=function(){null!==n.state.markerClusterer&&n.props.onLoad&&n.props.onLoad(n.state.markerClusterer)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){if(this.context){var e=new l(this.context,[],this.props.options);this.registeredEvents=_({updaterMap:K,eventMap:q,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{markerClusterer:e}}),this.setClustererCallback)}},t.componentDidUpdate=function(e){this.state.markerClusterer&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:K,eventMap:q,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))},t.componentWillUnmount=function(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),S(this.registeredEvents),this.state.markerClusterer.setMap(null))},t.render=function(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null},n}(o.PureComponent);W.contextType=y;var $={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Y={options:function(e,n){e.setOptions(n)},position:function(e,n){n instanceof google.maps.LatLng?e.setPosition(n):e.setPosition(new google.maps.LatLng(n.lat,n.lng))},visible:function(e,n){e.setVisible(n)},zIndex:function(e,n){e.setZIndex(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.containerElement=null,n.state={infoBox:null},n.open=function(e,t){t?e.open(n.context,t):e.getPosition()?e.open(n.context):a()(!1)},n.setInfoBoxCallback=function(){var e=n.props,t=e.anchor,o=e.onLoad,r=n.state.infoBox;null!==r&&null!==n.containerElement&&(r.setContent(n.containerElement),n.open(r,t),o&&o(r))},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e,n=this.props.options||{},t=n.position,o=v(n,["position"]);!t||t instanceof google.maps.LatLng||(e=new google.maps.LatLng(t.lat,t.lng));var r=new p(f({},o,e?{position:e}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=_({updaterMap:Y,eventMap:$,prevProps:{},nextProps:this.props,instance:r}),this.setState({infoBox:r},this.setInfoBoxCallback)},t.componentDidUpdate=function(e){var n=this.state.infoBox;null!==n&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:Y,eventMap:$,prevProps:e,nextProps:this.props,instance:n}))},t.componentWillUnmount=function(){var e=this.props.onUnmount,n=this.state.infoBox;null!==n&&(e&&e(n),S(this.registeredEvents),n.close())},t.render=function(){return this.containerElement?Object(d.createPortal)(o.Children.only(this.props.children),this.containerElement):null},n}(o.PureComponent)).contextType=y;var Q={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},J={options:function(e,n){e.setOptions(n)},position:function(e,n){e.setPosition(n)},zIndex:function(e,n){e.setZIndex(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.containerElement=null,n.state={infoWindow:null},n.open=function(e,t){t?e.open(n.context,t):e.getPosition()?e.open(n.context):a()(!1)},n.setInfoWindowCallback=function(){null!==n.state.infoWindow&&null!==n.containerElement&&(n.state.infoWindow.setContent(n.containerElement),n.open(n.state.infoWindow,n.props.anchor),n.props.onLoad&&n.props.onLoad(n.state.infoWindow))},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.InfoWindow(f({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=_({updaterMap:J,eventMap:Q,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{infoWindow:e}}),this.setInfoWindowCallback)},t.componentDidUpdate=function(e){null!==this.state.infoWindow&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:J,eventMap:Q,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))},t.componentWillUnmount=function(){null!==this.state.infoWindow&&(S(this.registeredEvents),this.state.infoWindow.close())},t.render=function(){return this.containerElement?Object(d.createPortal)(o.Children.only(this.props.children),this.containerElement):Object(o.createElement)(o.Fragment,null)},n}(o.PureComponent)).contextType=y;var Z={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},X={draggable:function(e,n){e.setDraggable(n)},editable:function(e,n){e.setEditable(n)},map:function(e,n){e.setMap(n)},options:function(e,n){e.setOptions(n)},path:function(e,n){e.setPath(n)},visible:function(e,n){e.setVisible(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={polyline:null},n.setPolylineCallback=function(){null!==n.state.polyline&&n.props.onLoad&&n.props.onLoad(n.state.polyline)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.Polyline(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:X,eventMap:Z,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polyline:e}}),this.setPolylineCallback)},t.componentDidUpdate=function(e){null!==this.state.polyline&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:X,eventMap:Z,prevProps:e,nextProps:this.props,instance:this.state.polyline}))},t.componentWillUnmount=function(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),S(this.registeredEvents),this.state.polyline.setMap(null))},t.render=function(){return Object(o.createElement)(o.Fragment,null)},n}(o.PureComponent)).contextType=y;var ee={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},ne={draggable:function(e,n){e.setDraggable(n)},editable:function(e,n){e.setEditable(n)},map:function(e,n){e.setMap(n)},options:function(e,n){e.setOptions(n)},path:function(e,n){e.setPath(n)},paths:function(e,n){e.setPaths(n)},visible:function(e,n){e.setVisible(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={polygon:null},n.setPolygonCallback=function(){null!==n.state.polygon&&n.props.onLoad&&n.props.onLoad(n.state.polygon)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.Polygon(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:ne,eventMap:ee,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polygon:e}}),this.setPolygonCallback)},t.componentDidUpdate=function(e){null!==this.state.polygon&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:ne,eventMap:ee,prevProps:e,nextProps:this.props,instance:this.state.polygon}))},t.componentWillUnmount=function(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),S(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y;var te={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},oe={bounds:function(e,n){e.setBounds(n)},draggable:function(e,n){e.setDraggable(n)},editable:function(e,n){e.setEditable(n)},map:function(e,n){e.setMap(n)},options:function(e,n){e.setOptions(n)},visible:function(e,n){e.setVisible(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={rectangle:null},n.setRectangleCallback=function(){null!==n.state.rectangle&&n.props.onLoad&&n.props.onLoad(n.state.rectangle)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.Rectangle(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:oe,eventMap:te,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{rectangle:e}}),this.setRectangleCallback)},t.componentDidUpdate=function(e){null!==this.state.rectangle&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:oe,eventMap:te,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))},t.componentWillUnmount=function(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),S(this.registeredEvents),this.state.rectangle.setMap(null))},t.render=function(){return Object(o.createElement)(o.Fragment,null)},n}(o.PureComponent)).contextType=y;var re={onCenterChanged:"center_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRadiusChanged:"radius_changed",onRightClick:"rightclick"},ae={center:function(e,n){e.setCenter(n)},draggable:function(e,n){e.setDraggable(n)},editable:function(e,n){e.setEditable(n)},map:function(e,n){e.setMap(n)},options:function(e,n){e.setOptions(n)},radius:function(e,n){e.setRadius(n)},visible:function(e,n){e.setVisible(n)}},ie=function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={circle:null},n.setCircleCallback=function(){null!==n.state.circle&&n.props.onLoad&&n.props.onLoad(n.state.circle)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.Circle(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:ae,eventMap:re,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{circle:e}}),this.setCircleCallback)},t.componentDidUpdate=function(e){null!==this.state.circle&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:ae,eventMap:re,prevProps:e,nextProps:this.props,instance:this.state.circle}))},t.componentWillUnmount=function(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),S(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))},t.render=function(){return Object(o.createElement)(o.Fragment,null)},n}(o.PureComponent);ie.contextType=y;var se={onAddFeature:"addfeature",onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onRightClick:"rightclick",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},ce={add:function(e,n){e.add(n)},addgeojson:function(e,n,t){e.addGeoJson(n,t)},contains:function(e,n){e.contains(n)},foreach:function(e,n){e.forEach(n)},loadgeojson:function(e,n,t,o){e.loadGeoJson(n,t,o)},overridestyle:function(e,n,t){e.overrideStyle(n,t)},remove:function(e,n){e.remove(n)},revertstyle:function(e,n){e.revertStyle(n)},controlposition:function(e,n){e.setControlPosition(n)},controls:function(e,n){e.setControls(n)},drawingmode:function(e,n){e.setDrawingMode(n)},map:function(e,n){e.setMap(n)},style:function(e,n){e.setStyle(n)},togeojson:function(e,n){e.toGeoJson(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={data:null},n.setDataCallback=function(){null!==n.state.data&&n.props.onLoad&&n.props.onLoad(n.state.data)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.Data(f({},this.props.options||{},{map:this.context}));this.registeredEvents=_({updaterMap:ce,eventMap:se,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{data:e}}),this.setDataCallback)},t.componentDidUpdate=function(e){null!==this.state.data&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:ce,eventMap:se,prevProps:e,nextProps:this.props,instance:this.state.data}))},t.componentWillUnmount=function(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),S(this.registeredEvents),this.state.data&&this.state.data.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y;var ue={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},le={options:function(e,n){e.setOptions(n)},url:function(e,n){e.setUrl(n)},zIndex:function(e,n){e.setZIndex(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={kmlLayer:null},n.setKmlLayerCallback=function(){null!==n.state.kmlLayer&&n.props.onLoad&&n.props.onLoad(n.state.kmlLayer)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.KmlLayer(f({},this.props.options,{map:this.context}));this.registeredEvents=_({updaterMap:le,eventMap:ue,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{kmlLayer:e}}),this.setKmlLayerCallback)},t.componentDidUpdate=function(e){null!==this.state.kmlLayer&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:le,eventMap:ue,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))},t.componentWillUnmount=function(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),S(this.registeredEvents),this.state.kmlLayer.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y;var de=function(e,n){return new n(e.lat,e.lng)},pe=function(e,n){return new n(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))},me=function(e,n,t){return e instanceof n?e:t(e,n)};function he(e){return e?(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+"":""}function fe(e){return e?(e instanceof google.maps.LatLngBounds?e:new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.east),new google.maps.LatLng(e.north,e.west)))+"":""}var ge=function(e){function n(n){var t;(t=e.call(this,n)||this).state={paneEl:null,containerStyle:{position:"absolute"}},t.updatePane=function(){var e=t.props.mapPaneName,n=t.overlayView.getPanes();e||a()(!1),n?t.setState({paneEl:n[e]}):t.setState({paneEl:null})},t.onAdd=function(){t.updatePane(),null==t.props.onLoad||t.props.onLoad(t.overlayView)},t.onPositionElement=function(){var e,n,o,r,a=function(e,n,t,o){return void 0!==t?function(e,n,t){var o=e&&e.fromLatLngToDivPixel(t.getNorthEast()),r=e&&e.fromLatLngToDivPixel(t.getSouthWest());return o&&r?{left:r.x+n.x+"px",top:o.y+n.y+"px",width:o.x-r.x-n.x+"px",height:r.y-o.y-n.y+"px"}:{left:"-9999px",top:"-9999px"}}(e,n,me(t,google.maps.LatLngBounds,pe)):function(e,n,t){var o=e&&e.fromLatLngToDivPixel(t);if(o){var r=o.x,a=o.y;return{left:r+n.x+"px",top:a+n.y+"px"}}return{left:"-9999px",top:"-9999px"}}(e,n,me(o,google.maps.LatLng,de))}(t.overlayView.getProjection(),f({x:0,y:0},t.containerRef.current?(e=t.containerRef.current,"function"===typeof(n=t.props.getPixelPositionOffset)?n(e.offsetWidth,e.offsetHeight):{}):{}),t.props.bounds,t.props.position),i=t.state.containerStyle,s=i.left,c=i.top,u=i.width,l=i.height;r={left:s,top:c,width:u,height:l},((o=a).left!==r.left||o.top!==r.top||o.width!==r.height||o.height!==r.height)&&t.setState({containerStyle:f({},a,{position:"absolute"})})},t.draw=function(){t.onPositionElement()},t.onRemove=function(){t.setState((function(){return{paneEl:null}})),null==t.props.onUnmount||t.props.onUnmount(t.overlayView)},t.containerRef=Object(o.createRef)();var r=new google.maps.OverlayView;return r.onAdd=t.onAdd,r.draw=t.draw,r.onRemove=t.onRemove,t.overlayView=r,t}g(n,e);var t=n.prototype;return t.componentDidMount=function(){this.overlayView.setMap(this.context)},t.componentDidUpdate=function(e){var n=he(e.position),t=he(this.props.position),o=fe(e.bounds),r=fe(this.props.bounds);n===t&&o===r||this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()},t.componentWillUnmount=function(){this.overlayView.setMap(null)},t.render=function(){var e=this.state.paneEl;return e?Object(d.createPortal)(Object(o.createElement)("div",{ref:this.containerRef,style:this.state.containerStyle},o.Children.only(this.props.children)),e):null},n}(o.PureComponent);ge.FLOAT_PANE="floatPane",ge.MAP_PANE="mapPane",ge.MARKER_LAYER="markerLayer",ge.OVERLAY_LAYER="overlayLayer",ge.OVERLAY_MOUSE_TARGET="overlayMouseTarget",ge.contextType=y;var ve={onDblClick:"dblclick",onClick:"click"},ye={opacity:function(e,n){e.setOpacity(n)}},be=function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={groundOverlay:null},n.setGroundOverlayCallback=function(){null!==n.state.groundOverlay&&n.props.onLoad&&n.props.onLoad(n.state.groundOverlay)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){this.props.url||this.props.bounds||a()(!1);var e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,f({},this.props.options,{map:this.context}));this.registeredEvents=_({updaterMap:ye,eventMap:ve,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{groundOverlay:e}}),this.setGroundOverlayCallback)},t.componentDidUpdate=function(e){null!==this.state.groundOverlay&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:ye,eventMap:ve,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))},t.componentWillUnmount=function(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))},t.render=function(){return null},n}(o.PureComponent);be.defaultProps={onLoad:function(){}},be.contextType=y;var Ce={},we={data:function(e,n){e.setData(n)},map:function(e,n){e.setMap(n)},options:function(e,n){e.setOptions(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={heatmapLayer:null},n.setHeatmapLayerCallback=function(){null!==n.state.heatmapLayer&&n.props.onLoad&&n.props.onLoad(n.state.heatmapLayer)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){google.maps.visualization||a()(!1),this.props.data||a()(!1);var e=new google.maps.visualization.HeatmapLayer(f({},this.props.options||{},{data:this.props.data,map:this.context}));this.registeredEvents=_({updaterMap:we,eventMap:Ce,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{heatmapLayer:e}}),this.setHeatmapLayerCallback)},t.componentDidUpdate=function(e){S(this.registeredEvents),this.registeredEvents=_({updaterMap:we,eventMap:Ce,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})},t.componentWillUnmount=function(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),S(this.registeredEvents),this.state.heatmapLayer.setMap(null))},t.render=function(){return null},n}(o.PureComponent)).contextType=y;var Se={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},_e={register:function(e,n,t){e.registerPanoProvider(n,t)},links:function(e,n){e.setLinks(n)},motionTracking:function(e,n){e.setMotionTracking(n)},options:function(e,n){e.setOptions(n)},pano:function(e,n){e.setPano(n)},position:function(e,n){e.setPosition(n)},pov:function(e,n){e.setPov(n)},visible:function(e,n){e.setVisible(n)},zoom:function(e,n){e.setZoom(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={streetViewPanorama:null},n.setStreetViewPanoramaCallback=function(){null!==n.state.streetViewPanorama&&n.props.onLoad&&n.props.onLoad(n.state.streetViewPanorama)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=this.context.getStreetView();this.registeredEvents=_({updaterMap:_e,eventMap:Se,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{streetViewPanorama:e}}),this.setStreetViewPanoramaCallback)},t.componentDidUpdate=function(e){null!==this.state.streetViewPanorama&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:_e,eventMap:Se,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))},t.componentWillUnmount=function(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),S(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))},t.render=function(){return null},n}(o.PureComponent)).contextType=y,(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).state={streetViewService:null},n.setStreetViewServiceCallback=function(){null!==n.state.streetViewService&&n.props.onLoad&&n.props.onLoad(n.state.streetViewService)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.StreetViewService;this.setState((function(){return{streetViewService:e}}),this.setStreetViewServiceCallback)},t.componentWillUnmount=function(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)},t.render=function(){return null},n}(o.PureComponent)).contextType=y;o.PureComponent;var Ee={onDirectionsChanged:"directions_changed"},xe={directions:function(e,n){e.setDirections(n)},map:function(e,n){e.setMap(n)},options:function(e,n){e.setOptions(n)},panel:function(e,n){e.setPanel(n)},routeIndex:function(e,n){e.setRouteIndex(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.state={directionsRenderer:null},n.setDirectionsRendererCallback=function(){null!==n.state.directionsRenderer&&(n.state.directionsRenderer.setMap(n.context),n.props.onLoad&&n.props.onLoad(n.state.directionsRenderer))},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){var e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=_({updaterMap:xe,eventMap:Ee,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{directionsRenderer:e}}),this.setDirectionsRendererCallback)},t.componentDidUpdate=function(e){null!==this.state.directionsRenderer&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:xe,eventMap:Ee,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))},t.componentWillUnmount=function(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),S(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))},t.render=function(){return Object(o.createElement)(o.Fragment,null)},n}(o.PureComponent)).contextType=y;o.PureComponent;var Oe={onPlacesChanged:"places_changed"},Ae={bounds:function(e,n){e.setBounds(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.containerElement=Object(o.createRef)(),n.state={searchBox:null},n.setSearchBoxCallback=function(){null!==n.state.searchBox&&n.props.onLoad&&n.props.onLoad(n.state.searchBox)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){if(google.maps.places||a()(!1),null!==this.containerElement&&null!==this.containerElement.current){var e=this.containerElement.current.querySelector("input");if(null!==e){var n=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=_({updaterMap:Ae,eventMap:Oe,prevProps:{},nextProps:this.props,instance:n}),this.setState((function(){return{searchBox:n}}),this.setSearchBoxCallback)}}},t.componentDidUpdate=function(e){null!==this.state.searchBox&&(S(this.registeredEvents),this.registeredEvents=_({updaterMap:Ae,eventMap:Oe,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))},t.componentWillUnmount=function(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),S(this.registeredEvents))},t.render=function(){return Object(o.createElement)("div",{ref:this.containerElement},o.Children.only(this.props.children))},n}(o.PureComponent)).contextType=y;var ke={onPlaceChanged:"place_changed"},Te={bounds:function(e,n){e.setBounds(n)},restrictions:function(e,n){e.setComponentRestrictions(n)},fields:function(e,n){e.setFields(n)},options:function(e,n){e.setOptions(n)},types:function(e,n){e.setTypes(n)}};(function(e){function n(){var n;return(n=e.apply(this,arguments)||this).registeredEvents=[],n.containerElement=Object(o.createRef)(),n.state={autocomplete:null},n.setAutocompleteCallback=function(){null!==n.state.autocomplete&&n.props.onLoad&&n.props.onLoad(n.state.autocomplete)},n}g(n,e);var t=n.prototype;return t.componentDidMount=function(){google.maps.places||a()(!1);var e=this.containerElement.current.querySelector("input");if(e){var n=new google.maps.places.Autocomplete(e,this.props.options);this.registeredEvents=_({updaterMap:Te,eventMap:ke,prevProps:{},nextProps:this.props,instance:n}),this.setState((function(){return{autocomplete:n}}),this.setAutocompleteCallback)}},t.componentDidUpdate=function(e){S(this.registeredEvents),this.registeredEvents=_({updaterMap:Te,eventMap:ke,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})},t.componentWillUnmount=function(){null!==this.state.autocomplete&&S(this.registeredEvents)},t.render=function(){return Object(o.createElement)("div",{ref:this.containerElement,className:this.props.className||""},o.Children.only(this.props.children))},n}(o.PureComponent)).contextType=y},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o,r=t(1),a={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5};!function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE"}(o||(o={}));var i=function(){function e(e,n){void 0===n&&(n=o.WARN),this.name=e,this.level=n,this._pluggables=[]}return e.prototype._padding=function(e){return e<10?"0"+e:""+e},e.prototype._ts=function(){var e=new Date;return[this._padding(e.getMinutes()),this._padding(e.getSeconds())].join(":")+"."+e.getMilliseconds()},e.prototype.configure=function(e){return e?(this._config=e,this._config):this._config},e.prototype._log=function(n){for(var t,i,s=[],c=1;c<arguments.length;c++)s[c-1]=arguments[c];var u=this.level;e.LOG_LEVEL&&(u=e.LOG_LEVEL),"undefined"!==typeof window&&window.LOG_LEVEL&&(u=window.LOG_LEVEL);var l=a[u],d=a[n];if(d>=l){var p=console.log.bind(console);n===o.ERROR&&console.error&&(p=console.error.bind(console)),n===o.WARN&&console.warn&&(p=console.warn.bind(console));var m="["+n+"] "+this._ts()+" "+this.name,h="";if(1===s.length&&"string"===typeof s[0])p(h=m+" - "+s[0]);else if(1===s.length)h=m+" "+s[0],p(m,s[0]);else if("string"===typeof s[0]){var f=s.slice(1);1===f.length&&(f=f[0]),h=m+" - "+s[0]+" "+f,p(m+" - "+s[0],f)}else h=m+" "+s,p(m,s);try{for(var g=Object(r.__values)(this._pluggables),v=g.next();!v.done;v=g.next()){var y=v.value,b={message:h,timestamp:Date.now()};y.pushLogs([b])}}catch(C){t={error:C}}finally{try{v&&!v.done&&(i=g.return)&&i.call(g)}finally{if(t)throw t.error}}}},e.prototype.log=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,Object(r.__spread)([o.INFO],e))},e.prototype.info=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,Object(r.__spread)([o.INFO],e))},e.prototype.warn=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,Object(r.__spread)([o.WARN],e))},e.prototype.error=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,Object(r.__spread)([o.ERROR],e))},e.prototype.debug=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,Object(r.__spread)([o.DEBUG],e))},e.prototype.verbose=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._log.apply(this,Object(r.__spread)([o.VERBOSE],e))},e.prototype.addPluggable=function(e){e&&"Logging"===e.getCategoryName()&&(this._pluggables.push(e),e.configure(this._config))},e.prototype.listPluggables=function(){return this._pluggables},e.LOG_LEVEL=null,e}()},,function(e,n,t){"use strict";var o=t(218);t.d(n,"QueryClient",(function(){return o.a}));var r=t(219);t.o(r,"QueryClientProvider")&&t.d(n,"QueryClientProvider",(function(){return r.QueryClientProvider})),t.o(r,"useInfiniteQuery")&&t.d(n,"useInfiniteQuery",(function(){return r.useInfiniteQuery})),t.o(r,"useIsFetching")&&t.d(n,"useIsFetching",(function(){return r.useIsFetching})),t.o(r,"useMutation")&&t.d(n,"useMutation",(function(){return r.useMutation})),t.o(r,"useQuery")&&t.d(n,"useQuery",(function(){return r.useQuery})),t.o(r,"useQueryClient")&&t.d(n,"useQueryClient",(function(){return r.useQueryClient}))},function(e,n){e.exports=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}},function(e,n){function t(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(0),r=t.n(o);function a(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var i=r.a.createContext(a()),s=function(){return r.a.useContext(i)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var o=t(28),r=t(58),a=t(19),i=t(35),s=t(80),c=t(67),u=t(87),l=t(54),d=function(e){function n(n,t){var o;return(o=e.call(this)||this).client=n,o.options=t,o.trackedProps=[],o.previousSelectError=null,o.bindMethods(),o.setOptions(t),o}Object(r.a)(n,e);var t=n.prototype;return t.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},t.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),p(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},t.onUnsubscribe=function(){this.listeners.length||this.destroy()},t.shouldFetchOnReconnect=function(){return e=this.currentQuery,!1!==(n=this.options).enabled&&("always"===n.refetchOnReconnect||!1!==n.refetchOnReconnect&&h(e,n));var e,n},t.shouldFetchOnWindowFocus=function(){return e=this.currentQuery,!1!==(n=this.options).enabled&&("always"===n.refetchOnWindowFocus||!1!==n.refetchOnWindowFocus&&h(e,n));var e,n},t.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},t.setOptions=function(e,n){var t=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=t.queryKey),this.updateQuery();var r=this.hasListeners();r&&m(this.currentQuery,o,this.options,t)&&this.executeFetch(),this.updateResult(n),!r||this.currentQuery===o&&this.options.enabled===t.enabled&&this.options.staleTime===t.staleTime||this.updateStaleTimeout();var a=this.computeRefetchInterval();!r||this.currentQuery===o&&this.options.enabled===t.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},t.getOptimisticResult=function(e){var n=this.client.defaultQueryObserverOptions(e),t=this.client.getQueryCache().build(this.client,n);return this.createResult(t,n)},t.getCurrentResult=function(){return this.currentResult},t.trackResult=function(e){var n=this,t={};return Object.keys(e).forEach((function(o){Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:function(){var t=o;return n.trackedProps.includes(t)||n.trackedProps.push(t),e[t]}})})),t},t.getNextResult=function(e){var n=this;return new Promise((function(t,o){var r=n.subscribe((function(n){n.isFetching||(r(),n.isError&&(null==e?void 0:e.throwOnError)?o(n.error):t(n))}))}))},t.getCurrentQuery=function(){return this.currentQuery},t.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},t.refetch=function(e){return this.fetch(Object(o.a)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},t.fetchOptimistic=function(e){var n=this,t=this.client.defaultQueryObserverOptions(e),o=this.client.getQueryCache().build(this.client,t);return o.fetch().then((function(){return n.createResult(o,t)}))},t.fetch=function(e){var n=this;return this.executeFetch(e).then((function(){return n.updateResult(),n.currentResult}))},t.executeFetch=function(e){this.updateQuery();var n=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(n=n.catch(a.i)),n},t.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!a.e&&!this.currentResult.isStale&&Object(a.f)(this.options.staleTime)){var n=Object(a.r)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){e.currentResult.isStale||e.updateResult()}),n)}},t.computeRefetchInterval=function(){var e;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},t.updateRefetchInterval=function(e){var n=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!a.e&&!1!==this.options.enabled&&Object(a.f)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(n.options.refetchIntervalInBackground||s.a.isFocused())&&n.executeFetch()}),this.currentRefetchInterval))},t.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},t.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},t.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},t.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},t.createResult=function(e,n){var t,o=this.currentQuery,r=this.options,i=this.currentResult,s=this.currentResultState,c=this.currentResultOptions,l=e!==o,d=l?e.state:this.currentQueryInitialState,f=l?this.currentResult:this.previousQueryResult,g=e.state,v=g.dataUpdatedAt,y=g.error,b=g.errorUpdatedAt,C=g.isFetching,w=g.status,S=!1,_=!1;if(n.optimisticResults){var E=this.hasListeners(),x=!E&&p(e,n),O=E&&m(e,o,n,r);(x||O)&&(C=!0,v||(w="loading"))}if(n.keepPreviousData&&!g.dataUpdateCount&&(null==f?void 0:f.isSuccess)&&"error"!==w)t=f.data,v=f.dataUpdatedAt,w=f.status,S=!0;else if(n.select&&"undefined"!==typeof g.data)if(i&&g.data===(null==s?void 0:s.data)&&n.select===(null==c?void 0:c.select)&&!this.previousSelectError)t=i.data;else try{t=n.select(g.data),!1!==n.structuralSharing&&(t=Object(a.n)(null==i?void 0:i.data,t)),this.previousSelectError=null}catch(k){Object(u.a)().error(k),y=k,this.previousSelectError=k,b=Date.now(),w="error"}else t=g.data;if("undefined"!==typeof n.placeholderData&&"undefined"===typeof t&&("loading"===w||"idle"===w)){var A;if((null==i?void 0:i.isPlaceholderData)&&n.placeholderData===(null==c?void 0:c.placeholderData))A=i.data;else if(A="function"===typeof n.placeholderData?n.placeholderData():n.placeholderData,n.select&&"undefined"!==typeof A)try{A=n.select(A),!1!==n.structuralSharing&&(A=Object(a.n)(null==i?void 0:i.data,A)),this.previousSelectError=null}catch(k){Object(u.a)().error(k),y=k,this.previousSelectError=k,b=Date.now(),w="error"}"undefined"!==typeof A&&(w="success",t=A,_=!0)}return{status:w,isLoading:"loading"===w,isSuccess:"success"===w,isError:"error"===w,isIdle:"idle"===w,data:t,dataUpdatedAt:v,error:y,errorUpdatedAt:b,failureCount:g.fetchFailureCount,isFetched:g.dataUpdateCount>0||g.errorUpdateCount>0,isFetchedAfterMount:g.dataUpdateCount>d.dataUpdateCount||g.errorUpdateCount>d.errorUpdateCount,isFetching:C,isRefetching:C&&"loading"!==w,isLoadingError:"error"===w&&0===g.dataUpdatedAt,isPlaceholderData:_,isPreviousData:S,isRefetchError:"error"===w&&0!==g.dataUpdatedAt,isStale:h(e,n),refetch:this.refetch,remove:this.remove}},t.shouldNotifyListeners=function(e,n){if(!n)return!0;if(e===n)return!1;var t=this.options,o=t.notifyOnChangeProps,r=t.notifyOnChangePropsExclusions;if(!o&&!r)return!0;if("tracked"===o&&!this.trackedProps.length)return!0;var a="tracked"===o?this.trackedProps:o;return Object.keys(e).some((function(t){var o=t,i=e[o]!==n[o],s=null==a?void 0:a.some((function(e){return e===t})),c=null==r?void 0:r.some((function(e){return e===t}));return i&&!c&&(!a||s)}))},t.updateResult=function(e){var n=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!Object(a.p)(this.currentResult,n)){var t={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,n)&&(t.listeners=!0),this.notify(Object(o.a)({},t,e))}},t.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var n=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==n||n.removeObserver(this),e.addObserver(this))}},t.onQueryUpdate=function(e){var n={};"success"===e.type?n.onSuccess=!0:"error"!==e.type||Object(l.c)(e.error)||(n.onError=!0),this.updateResult(n),this.hasListeners()&&this.updateTimers()},t.notify=function(e){var n=this;i.a.batch((function(){e.onSuccess?(null==n.options.onSuccess||n.options.onSuccess(n.currentResult.data),null==n.options.onSettled||n.options.onSettled(n.currentResult.data,null)):e.onError&&(null==n.options.onError||n.options.onError(n.currentResult.error),null==n.options.onSettled||n.options.onSettled(void 0,n.currentResult.error)),e.listeners&&n.listeners.forEach((function(e){e(n.currentResult)})),e.cache&&n.client.getQueryCache().notify({query:n.currentQuery,type:"observerResultsUpdated"})}))},n}(c.a);function p(e,n){return function(e,n){return!1!==n.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===n.retryOnMount)}(e,n)||function(e,n){return!1!==n.enabled&&e.state.dataUpdatedAt>0&&("always"===n.refetchOnMount||!1!==n.refetchOnMount&&h(e,n))}(e,n)}function m(e,n,t,o){return!1!==t.enabled&&(e!==n||!1===o.enabled)&&(!t.suspense||"error"!==e.state.status||!1===o.enabled)&&h(e,t)}function h(e,n){return e.isStaleByTime(n.staleTime)}},function(e,n,t){"use strict";function o(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";function o(e){return"function"===typeof e}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"b",(function(){return oe})),t.d(n,"a",(function(){return te}));var o={name:"Andorra",codes:["AD","AND","020"],calcFn:function(e){var n=e.slice(0,1).toUpperCase(),t=parseInt(e.slice(1,7));return 8===e.length&&(!!"ACDEFGLOPU".includes(n)&&(!("F"===n&&t>699999)&&!("AL".includes(n)&&t>699999&&t<8e5)))},rules:{multipliers:{},regex:[/^(AD)([fealecdgopuFEALECDGOPU]{1}\d{6}[fealecdgoputFEALECDGOPUT]{1})$/]}},r={name:"Austria",codes:["AT","AUT","040"],calcFn:function(e){for(var n=0,t=0;t<7;t++){var o=Number(e.charAt(t))*r.rules.multipliers.common[t];n+=o>9?Math.floor(o/10)+o%10:o}return 10===(n=10-(n+4)%10)&&(n=0),n===Number(e.slice(7,8))},rules:{multipliers:{common:[1,2,1,2,1,2,1]},regex:[/^(AT)U(\d{8})$/]}},a={name:"Belgium",codes:["BE","BEL","056"],calcFn:function(e){var n=9===e.length?"0"+e:e;return 97-Number(n.slice(0,8))%97===Number(n.slice(8,10))},rules:{multipliers:{},regex:[/^(BE)([0-1]?\d{9})$/]}},i=t(8),s=function(e){return e%11<2?0:11-e%11},c={name:"Brazil",codes:["BR","BRA","076"],calcFn:function(e){var n,t=e.split("").map(Number);if((n=t).every((function(e){return n[0]===e})))return!1;var o=function(e,n){return n.reduce((function(n,t,o){var r=Object(i.a)(n,2),a=r[0],s=r[1];return[0===o?0:a+e[o-1]*t,s+e[o]*t]}),[0,0])}(t,[6,5,4,3,2,9,8,7,6,5,4,3,2]);return t[12]===s(o[0])&&t[13]===s(o[1])},rules:{multipliers:{},regex:[/^(BR)?(\d{14}|\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2})$/]}},u={name:"Bulgaria",codes:["BG","BGR","100"],calcFn:function(e){if(9===e.length)return function(e){var n,t=l(0,e,0,8,1),o=Number(e.slice(8));if(10!==(n=t%11))return n===o;t=l(0,e,0,8,3),10===(n=t%11)&&(n=0);return n===o}(e);var n=u.rules.multipliers;return function(e,n){if(/^\d\d[0-5]\d[0-3]\d\d{4}$/.test(e)){var t=Number(e.slice(2,4));if(t>0&&t<13||t>20&&t<33||t>40&&t<53){var o=d(0,e,0,9,n);if(10===(o%=11)&&(o=0),o===Number(e.substr(9,1)))return!0}}return!1}(e,n.physical)||function(e,n){return d(0,e,0,9,n.foreigner)%10===Number(e.substr(9,1))}(e,n)||function(e,n){var t=d(0,e,0,9,n.miscellaneous);if(10===(t=11-t%11))return!1;11===t&&(t=0);var o=Number(e.substr(9,1));return t===o}(e,n)},rules:{multipliers:{physical:[2,4,8,5,10,9,7,3,6],foreigner:[21,19,17,13,11,9,7,3,1],miscellaneous:[4,3,2,7,6,5,4,3,2]},regex:[/^(BG)(\d{9,10})$/]}};function l(e,n,t,o,r){for(var a=e,i=t;i<o;i++)a+=Number(n.charAt(i))*(i+r);return a}function d(e,n,t,o,r){for(var a=e,i=t;i<o;i++)a+=Number(n.charAt(i))*r[i];return a}var p={name:"Croatia",codes:["HR","HRV","191"],calcFn:function(e){for(var n=10,t=0,o=0;o<10;o++)0===(t=(Number(e.charAt(o))+n)%10)&&(t=10),n=2*t%11;return(n+Number(e.slice(10,11)))%10===1},rules:{multipliers:{},regex:[/^(HR)(\d{11})$/]}},m={name:"Cyprus",codes:["CY","CYP","196"],calcFn:function(e){if(12===Number(e.slice(0,2)))return!1;var n=function(e,n){for(var t=n,o=0;o<8;o++){var r=Number(e.charAt(o));if(o%2===0)switch(r){case 0:r=1;break;case 1:r=0;break;case 2:r=5;break;case 3:r=7;break;case 4:r=9;break;default:r=2*r+3}t+=r}return t}(e,0);return n%=26,(n=String.fromCharCode(n+65))===e.substr(8,1)},rules:{multipliers:{},regex:[/^(CY)([0-59]\d{7}[A-Z])$/]}};var h={name:"Czech Republic",codes:["CZ","CZE","203"],calcFn:function(e){var n=h.rules,t=n.multipliers,o=n.additional,r=n.lookup;return!!o&&(function(e,n,t){var o=0;if(t[0].test(e)){for(var r=0;r<7;r++)o+=Number(e.charAt(r))*n[r];return 10===(o=11-o%11)&&(o=0),11===o&&(o=1),o===Number(e.slice(7,8))}return!1}(e,t.common,o)||function(e,n,t,o){var r=0;if(t[2].test(e)){for(var a=0;a<7;a++)r+=Number(e.charAt(a+1))*n[a];var i=(r%11===0?r+11:11*Math.ceil(r/11))-r-1,s=Number(e.slice(8,9));return!!o&&o[i]===s}return!1}(e,t.common,o,r)||function(e,n){if(n[3].test(e)){var t=Number(e.slice(0,2))+Number(e.slice(2,4))+Number(e.slice(4,6))+Number(e.slice(6,8))+Number(e.slice(8)),o=Number(e)%11===0;return!(t%11!==0||!o)}return!1}(e,o)||function(e,n){if(n[1].test(e))return Number(e.slice(0,2))<=62;return!1}(e,o))},rules:{multipliers:{common:[8,7,6,5,4,3,2]},lookup:[8,7,6,5,4,3,2,1,0,9,8],regex:[/^(CZ)(\d{8,10})(\d{3})?$/],additional:[/^\d{8}$/,/^[0-5][0-9][0|1|5|6]\d[0-3]\d\d{3}$/,/^6\d{8}$/,/^\d{2}[0-3|5-8]\d[0-3]\d\d{4}$/]}};var f={name:"Denmark",codes:["DK","DNK","208"],calcFn:function(e){for(var n=0,t=0;t<8;t++)n+=Number(e.charAt(t))*f.rules.multipliers.common[t];return n%11===0},rules:{multipliers:{common:[2,7,6,5,4,3,2,1]},regex:[/^(DK)(\d{8})$/]}},g={name:"Estonia",codes:["EE","EST","233"],calcFn:function(e){for(var n=0,t=0;t<8;t++)n+=Number(e.charAt(t))*g.rules.multipliers.common[t];return 10===(n=10-n%10)&&(n=0),n===Number(e.slice(8,9))},rules:{multipliers:{common:[3,7,1,3,7,1,3,7]},regex:[/^(EE)(10\d{7})$/]}},v={name:"Finland",codes:["FI","FIN","246"],calcFn:function(e){for(var n=0,t=0;t<7;t++)n+=Number(e.charAt(t))*v.rules.multipliers.common[t];return(n=11-n%11)>9&&(n=0),n===Number(e.slice(7,8))},rules:{multipliers:{common:[7,9,10,5,8,4,2]},regex:[/^(FI)(\d{8})$/]}},y={name:"France",codes:["FR","FRA","250"],calcFn:function(e){var n=String(e).split("|||")[0];return!/^\d{11}$/.test(n)||(100*Number(n.substring(2))+12)%97===Number(n.slice(0,2))},rules:{multipliers:{},regex:[/^(FR)(\d{11})(\|{3}[A-Z0-9]{2}[0-9]{9})?$/,/^(FR)([A-HJ-NP-Z]\d{10})(\|{3}[A-Z0-9]{2}[0-9]{9})?$/,/^(FR)(\d[A-HJ-NP-Z]\d{9})(\|{3}[A-Z0-9]{2}[0-9]{9})?$/,/^(FR)([A-HJ-NP-Z]{2}\d{9})(\|{3}[A-Z0-9]{2}[0-9]{9})?$/]}},b={name:"Germany",codes:["DE","DEU","276"],calcFn:function(e){for(var n=10,t=0,o=0;o<8;o++)0===(t=(Number(e.charAt(o))+n)%10)&&(t=10),n=2*t%11;return(11-n===10?0:11-n)===Number(e.slice(8,9))},rules:{multipliers:{},regex:[/^(DE)([1-9]\d{8})$/]}},C={name:"Greece",codes:["GR","GRC","300"],calcFn:function(e){for(var n=0,t=8===e.length?"0"+e:e,o=0;o<8;o++)n+=Number(t.charAt(o))*C.rules.multipliers.common[o];return(n=(n%=11)>9?0:n)===Number(t.slice(8,9))},rules:{multipliers:{common:[256,128,64,32,16,8,4,2]},regex:[/^(EL)(\d{9})$/]}},w={name:"Hungary",codes:["HU","HUN","348"],calcFn:function(e){for(var n=0,t=0;t<7;t++)n+=Number(e.charAt(t))*w.rules.multipliers.common[t];return 10===(n=10-n%10)&&(n=0),n===Number(e.slice(7,8))},rules:{multipliers:{common:[9,7,3,1,9,7,3]},regex:[/^(HU)(\d{8})$/]}},S={name:"Ireland",codes:["IE","IRL","372"],calcFn:function(e){var n=S.rules,t=n.typeFormats,o=n.multipliers;if(!t||!t.first)return!1;var r=0,a=e;t.first.test(e)&&(a="0"+e.substring(2,7)+e.substring(0,1)+e.substring(7,8));for(var i=0;i<7;i++)r+=Number(a.charAt(i))*o.common[i];return t.third.test(a)&&(r+="H"===a.charAt(8)?72:9),(r=0===(r%=23)?"W":String.fromCharCode(r+64))===a.slice(7,8)},rules:{multipliers:{common:[8,7,6,5,4,3,2]},typeFormats:{first:/^\d[A-Z*+]/,third:/^\d{7}[A-Z][AH]$/},regex:[/^(IE)(\d{7}[A-W])$/,/^(IE)([7-9][A-Z*+)]\d{5}[A-W])$/,/^(IE)(\d{7}[A-W][AH])$/]}},_={name:"Italy",codes:["IT","ITA","380"],calcFn:function(e){var n,t=0;if(0===Number(e.slice(0,7)))return!1;if((n=Number(e.slice(7,10)))<1||n>201&&999!==n&&888!==n)return!1;for(var o=0;o<10;o++)t+=(n=Number(e.charAt(o))*_.rules.multipliers.common[o])>9?Math.floor(n/10)+n%10:n;return(t=10-t%10)>9&&(t=0),t===Number(e.slice(10,11))},rules:{multipliers:{common:[1,2,1,2,1,2,1,2,1,2]},regex:[/^(IT)(\d{11})$/]}},E={name:"Latvia",codes:["LV","LVA","428"],calcFn:function(e){var n=0;if(/^[0-3]/.test(e))return Boolean(/^[0-3][0-9][0-1][0-9]/.test(e));for(var t=0;t<10;t++)n+=Number(e.charAt(t))*E.rules.multipliers.common[t];return n%11===4&&9===Number(e[0])&&(n-=45),n%11===4?n=4-n%11:n%11>4?n=14-n%11:n%11<4&&(n=3-n%11),n===Number(e.slice(10,11))},rules:{multipliers:{common:[9,1,4,8,3,10,2,5,7,6]},regex:[/^(LV)(\d{11})$/]}},x={name:"Lithuania",codes:["LT","LTU","440"],calcFn:function(e){return function(e,n){var t=0;if(9===e.length){return!!/^\d{7}1/.test(e)&&(t=function(e,n){for(var t=n,o=0;o<8;o++)t+=Number(e.charAt(o))*(o+1);return t}(e,t),(t=A(t=function(e,n,t){var o=n;if(o%11===10){o=0;for(var r=0;r<8;r++)o+=O(e,t.multipliers.short,r)}return o}(e,t,n)))===Number(e.slice(8,9)))}return!1}(e,x.rules)||function(e,n){var t=0;if(12===e.length){return!!n.check&&(!!n.check.test(e)&&(t=A(t=function(e,n,t){var o=n;if(n%11===10){o=0;for(var r=0;r<11;r++)o+=O(e,t.multipliers.alt,r)}return o}(e,t=function(e,n,t){for(var o=n,r=0;r<11;r++)o+=O(e,t.multipliers.med,r);return o}(e,t,n),n)))===Number(e.slice(11,12)))}return!1}(e,x.rules)},rules:{multipliers:{short:[3,4,5,6,7,8,9,1],med:[1,2,3,4,5,6,7,8,9,1,2],alt:[3,4,5,6,7,8,9,1,2,3,4]},check:/^\d{10}1/,regex:[/^(LT)(\d{9}|\d{12})$/]}};function O(e,n,t){return Number(e.charAt(t))*n[t]}function A(e){var n=e%11;return 10===n&&(n=0),n}var k={name:"Luxembourg",codes:["LU","LUX","442"],calcFn:function(e){var n=Number(e.slice(6,8));return Number(e.slice(0,6))%89===n},rules:{multipliers:{},regex:[/^(LU)(\d{8})$/]}},T={name:"Malta",codes:["MT","MLT","470"],calcFn:function(e){for(var n=0,t=0;t<6;t++)n+=Number(e.charAt(t))*T.rules.multipliers.common[t];return(n=37-n%37)===Number(e.slice(6,8))},rules:{multipliers:{common:[3,4,6,7,8,9]},regex:[/^(MT)([1-9]\d{7})$/]}},P=t(75),M={name:"Netherlands",codes:["NL","NLD","528"],calcFn:function(e){var n=e.replace(/[\ \-\_]/g,"").toUpperCase(),t=M.rules,o=t.additional,r=t.multipliers;if(!o)return!1;var a=n.match(o[0]);if(!a||!a[1])return!1;for(var i=a[1],s="NL".concat(n).split("").map(I),c=0,u=0;u<8;u++)c+=Number(i.charAt(u))*r.common[u];return(c%=11)>9&&(c=0),c===Number(i.slice(8,9))||1===function(e,n){var t,o=0,r=Object(P.a)(e.split(""));try{for(r.s();!(t=r.n()).done;)o=(10*o+ +t.value)%n}catch(a){r.e(a)}finally{r.f()}return o}(s.join(""),97)},rules:{multipliers:{common:[9,8,7,6,5,4,3,2]},regex:[/^(NL)(\d{9}B\d{2})$/],additional:[/^(\d{9})B\d{2}$/]}};function I(e){if("+"===e)return 36;if("*"===e)return 37;var n=e.charCodeAt(0)-55;return n>9&&n<91?n:parseInt(e,10)}var R={name:"Norway",codes:["NO","NOR","578"],calcFn:function(e){for(var n=0,t=0;t<8;t++)n+=Number(e.charAt(t))*R.rules.multipliers.common[t];return 11===(n=11-n%11)&&(n=0),n<10&&n===Number(e.slice(8,9))},rules:{multipliers:{common:[3,2,7,6,5,4,3,2]},regex:[/^()(\d{9})MVA$/]}},j={name:"Poland",codes:["PL","POL","616"],calcFn:function(e){for(var n=0,t=0;t<9;t++)n+=Number(e.charAt(t))*j.rules.multipliers.common[t];return(n%=11)>9&&(n=0),n===Number(e.slice(9,10))},rules:{multipliers:{common:[6,5,7,2,3,4,5,6,7]},regex:[/^(PL)(\d{10})$/]}},N={name:"Portugal",codes:["PT","PRT","620"],calcFn:function(e){for(var n=0,t=0;t<8;t++)n+=Number(e.charAt(t))*N.rules.multipliers.common[t];return(n=11-n%11)>9&&(n=0),n===Number(e.slice(8,9))},rules:{multipliers:{common:[9,8,7,6,5,4,3,2]},regex:[/^(PT)(\d{9})$/]}},L={name:"Romania",codes:["RO","ROU","642"],calcFn:function(e){for(var n=0,t=e.length,o=L.rules.multipliers.common.slice(10-t),r=0;r<e.length-1;r++)n+=Number(e.charAt(r))*o[r];return 10===(n=10*n%11)&&(n=0),n===Number(e.slice(e.length-1,e.length))},rules:{multipliers:{common:[7,5,3,2,1,7,5,3,2]},regex:[/^(RO)([1-9]\d{1,9})$/]}},F={name:"Russian Federation",codes:["RU","RUS","643"],calcFn:function(e){return function(e,n){var t=0;if(10===e.length){for(var o=0;o<10;o++)t+=Number(e.charAt(o))*n.multipliers.m_1[o];return(t%=11)>9&&(t%=10),t===Number(e.slice(9,10))}return!1}(e,F.rules)||function(e,n){var t=0,o=0;if(12===e.length){for(var r=0;r<11;r++)t+=Number(e.charAt(r))*n.multipliers.m_2[r];(t%=11)>9&&(t%=10);for(var a=0;a<11;a++)o+=Number(e.charAt(a))*n.multipliers.m_3[a];(o%=11)>9&&(o%=10);var i=t===Number(e.slice(10,11)),s=o===Number(e.slice(11,12));return i&&s}return!1}(e,F.rules)},rules:{multipliers:{m_1:[2,4,10,3,5,9,4,6,8,0],m_2:[7,2,4,10,3,5,9,4,6,8,0],m_3:[3,7,2,4,10,3,5,9,4,6,8,0]},regex:[/^(RU)(\d{10}|\d{12})$/]}};var U={name:"Serbia",codes:["RS","SRB","688"],calcFn:function(e){for(var n=10,t=0,o=0;o<8;o++)0===(t=(Number(e.charAt(o))+n)%10)&&(t=10),n=2*t%11;return 1===(n+Number(e.slice(8,9)))%10},rules:{multipliers:{},regex:[/^(RS)(\d{9})$/]}},D={name:"Slovakia Republic",codes:["SK","SVK","703"],calcFn:function(e){return 0===Number(e)%11},rules:{multipliers:{},regex:[/^(SK)([1-9]\d[2346-9]\d{7})$/]}},B={name:"Slovenia",codes:["SI","SVN","705"],calcFn:function(e){for(var n=0,t=0;t<7;t++)n+=Number(e.charAt(t))*B.rules.multipliers.common[t];10===(n=11-n%11)&&(n=0);var o=Number(e.slice(7,8));return!(11===n||n!==o)},rules:{multipliers:{common:[8,7,6,5,4,3,2]},regex:[/^(SI)([1-9]\d{7})$/]}},z={name:"Spain",codes:["ES","ESP","724"],calcFn:function(e){var n=z.rules,t=n.additional,o=n.multipliers;return!!t&&(t[0].test(e)?function(e,n){var t=V(e,n,0);10===(t=10-t%10)&&(t=0);var o=Number(e.slice(8,9));return t===o}(e,o.common):t[1].test(e)?function(e,n){var t=V(e,n,0);t=10-t%10;var o=String.fromCharCode(t+64),r=e.slice(8,9);return o===r}(e,o.common):t[2].test(e)?function(e){var n=e;"Y"===n.substring(0,1)&&(n=n.replace(/Y/,"1"));"Z"===n.substring(0,1)&&(n=n.replace(/Z/,"2"));var t="TRWAGMYFPDXBNJZSQVHLCKE".charAt(+n.substring(0,8)%23);return n.charAt(8)===t}(e):!!t[3].test(e)&&function(e){var n="TRWAGMYFPDXBNJZSQVHLCKE".charAt(Number(e.substring(1,8))%23);return e.charAt(8)===n}(e))},rules:{multipliers:{common:[2,1,2,1,2,1,2]},regex:[/^(ES)([A-Z]\d{8})$/,/^(ES)([A-HN-SW]\d{7}[A-J])$/,/^(ES)([0-9YZ]\d{7}[A-Z])$/,/^(ES)([KLMX]\d{7}[A-Z])$/],additional:[/^[A-H|J|U|V]\d{8}$/,/^[A-H|N-S|W]\d{7}[A-J]$/,/^[0-9|Y|Z]\d{7}[A-Z]$/,/^[K|L|M|X]\d{7}[A-Z]$/]}};function V(e,n,t){for(var o,r=t,a=0;a<7;a++)r+=(o=Number(e.charAt(a+1))*n[a])>9?Math.floor(o/10)+o%10:o;return r}var G={name:"Sweden",codes:["SE","SWE","752"],calcFn:function(e){for(var n=0,t=0;t<9;t+=2){var o=Number(e.charAt(t));n+=Math.floor(o/5)+2*o%10}for(var r=0,a=1;a<9;a+=2)r+=Number(e.charAt(a));return(10-(n+r)%10)%10===Number(e.slice(9,10))},rules:{multipliers:{},regex:[/^(SE)(\d{10}01)$/]}},H={name:"Switzerland",codes:["CH","CHE","756"],calcFn:function(e){for(var n=0,t=0;t<8;t++)n+=Number(e.charAt(t))*H.rules.multipliers.common[t];return 10!==(n=11-n%11)&&(11===n&&(n=0),n===Number(e.substr(8,1)))},rules:{multipliers:{common:[5,4,3,2,7,6,5,4]},regex:[/^(CHE)(\d{9})(MWST|TVA|IVA)?$/]}},q={name:"United Kingdom",codes:["GB","GBR","826","XI"],calcFn:function(e){return"GD"===e.substr(0,2)?function(e){var n=500;return Number(e.substr(2,3))<n}(e):"HA"===e.substr(0,2)?function(e){var n=499;return Number(e.substr(2,3))>n}(e):function(e,n){console.log("isStandardOrCommercialNumber",e);var t=0;if(0===Number(e.slice(0)))return!1;for(var o=Number(e.slice(0,7)),r=0;r<7;r++)t+=Number(e.charAt(r))*n[r];var a=t;for(;a>0;)a-=97;if((a=Math.abs(a))===Number(e.slice(7,9))&&o<9990001&&(o<1e5||o>999999)&&(o<9490001||o>97e5))return!0;a>=55?a-=55:a+=42;var i=Number(e.slice(7,9));return Boolean(a===i&&o>1e6)}(e,q.rules.multipliers.common)},rules:{multipliers:{common:[8,7,6,5,4,3,2]},regex:[/^(GB)?(\d{9})$/,/^(GB)?(\d{12})$/,/^(XI)?(\d{9})$/,/^(GB)?(GD\d{3})$/,/^(GB)?(HA\d{3})$/]}};var K=t(3),W=t(21);function $(e,n,t){return{value:e||void 0,isValid:Boolean(n),isValidFormat:!!t&&ee(e,t.rules.regex).isValid,isSupportedCountry:Boolean(t),country:t?{name:t.name,isoCode:{short:t.codes[0],long:t.codes[1],numeric:t.codes[2]}}:void 0}}function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().toUpperCase().replace(/(\s|-|\.|\/)+/g,"")}var Q=[c.name,R.name];function J(e){return!!e.match(/^\d{2}/)}function Z(e,n){var t,o,r=Object(P.a)(n);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(X(e,a)||(o=a.name,Q.includes(o)&&J(e)))return Object(K.a)({},a)}}catch(i){r.e(i)}finally{r.f()}}function X(e,n){return function(e){return[].concat(Object(W.a)(e.codes),["Greece"===e.name?"EL":void 0]).filter(Boolean)}(n).filter((function(n){return e.startsWith(n)})).length>0}function ee(e,n){var t,o=Object(P.a)(n);try{for(o.s();!(t=o.n()).done;){var r=t.value;if(r.test(e))return{isValid:!0,regex:r}}}catch(a){o.e(a)}finally{o.f()}return{isValid:!1,regex:void 0}}function ne(e,n){var t=ee(e,n.rules.regex);if(!t.isValid||!t.regex)return!1;var o=t.regex.exec(e);return!!o&&n.calcFn(o[2])}function te(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!e)return $(e,!1);var t=Y(e),o=Z(t,n),r=!!o&&ne(t,o);return $(t,r,o)}var oe=[o,r,a,c,u,p,m,h,f,g,{name:"Europe",codes:["EU","EUR","000"],calcFn:function(){return!0},rules:{multipliers:{},regex:[/^(EU)(\d{9})$/]}},v,y,b,C,w,S,_,E,x,k,T,M,R,j,N,L,F,U,D,B,z,G,H,q]},function(e,n,t){"use strict";t.d(n,"b",(function(){return U})),t.d(n,"a",(function(){return H}));var o=t(1),r=t(68),a="X-Amz-Date",i="X-Amz-Signature",s="X-Amz-Security-Token",c="authorization",u=a.toLowerCase(),l=[c,u,"date"],d=i.toLowerCase(),p="x-amz-content-sha256",m=s.toLowerCase(),h={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},f=/^proxy-/,g=/^sec-/,v="AWS4-HMAC-SHA256",y="AWS4-HMAC-SHA256-PAYLOAD",b="aws4_request",C={},w=[];function S(e,n,t){return e+"/"+n+"/"+t+"/"+b}function _(e,n,t){var o=new e(n);return o.update(t),o.digest()}function E(e,n,t){var r,a,i=e.headers,s={};try{for(var c=Object(o.__values)(Object.keys(i).sort()),u=c.next();!u.done;u=c.next()){var l=u.value,d=l.toLowerCase();(d in h||(null===n||void 0===n?void 0:n.has(d))||f.test(d)||g.test(d))&&(!t||t&&!t.has(d))||(s[d]=i[l].trim().replace(/\s+/g," "))}}catch(p){r={error:p}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(r)throw r.error}}return s}var x=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,O)},O=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()};var A=t(512);function k(e,n){var t=e.headers,a=e.body;return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,i,s,c,u,l,d;return Object(o.__generator)(this,(function(m){switch(m.label){case 0:try{for(e=Object(o.__values)(Object.keys(t)),i=e.next();!i.done;i=e.next())if((s=i.value).toLowerCase()===p)return[2,t[s]]}catch(h){l={error:h}}finally{try{i&&!i.done&&(d=e.return)&&d.call(e)}finally{if(l)throw l.error}}return void 0!=a?[3,1]:[2,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"];case 1:return"string"===typeof a||ArrayBuffer.isView(a)||Object(A.a)(a)?((c=new n).update(a),u=r.a,[4,c.digest()]):[3,3];case 2:return[2,u.apply(void 0,[m.sent()])];case 3:return[2,"UNSIGNED-PAYLOAD"]}}))}))}function T(e){var n=e.headers,t=e.query,r=Object(o.__rest)(e,["headers","query"]);return Object(o.__assign)(Object(o.__assign)({},r),{headers:Object(o.__assign)({},n),query:t?P(t):void 0})}function P(e){return Object.keys(e).reduce((function(n,t){var r,a=e[t];return Object(o.__assign)(Object(o.__assign)({},n),((r={})[t]=Array.isArray(a)?Object(o.__spread)(a):a,r))}),{})}function M(e){var n,t;e="function"===typeof e.clone?e.clone():T(e);try{for(var r=Object(o.__values)(Object.keys(e.headers)),a=r.next();!a.done;a=r.next()){var i=a.value;l.indexOf(i.toLowerCase())>-1&&delete e.headers[i]}}catch(s){n={error:s}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(n)throw n.error}}return e}function I(e){return function(e){if("number"===typeof e)return new Date(1e3*e);if("string"===typeof e)return Number(e)?new Date(1e3*Number(e)):new Date(e);return e}(e).toISOString().replace(/\.\d{3}Z$/,"Z")}var R=function(){function e(e){var n=e.applyChecksum,t=e.credentials,o=e.region,r=e.service,a=e.sha256,i=e.uriEscapePath,s=void 0===i||i;this.service=r,this.sha256=a,this.uriEscapePath=s,this.applyChecksum="boolean"!==typeof n||n,this.regionProvider=L(o),this.credentialProvider=F(t)}return e.prototype.presign=function(e,n){return void 0===n&&(n={}),Object(o.__awaiter)(this,void 0,void 0,(function(){var t,r,a,c,u,l,d,p,m,h,f,g,y,b,C,w,_,x,O,A,P,I,R,L;return Object(o.__generator)(this,(function(F){switch(F.label){case 0:return t=n.signingDate,r=void 0===t?new Date:t,a=n.expiresIn,c=void 0===a?3600:a,u=n.unsignableHeaders,l=n.unhoistableHeaders,d=n.signableHeaders,p=n.signingRegion,m=n.signingService,[4,this.credentialProvider()];case 1:return h=F.sent(),null===p||void 0===p?[3,2]:(g=p,[3,4]);case 2:return[4,this.regionProvider()];case 3:g=F.sent(),F.label=4;case 4:return f=g,y=j(r),b=y.longDate,C=y.shortDate,c>604800?[2,Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future")]:(w=S(C,f,null!==m&&void 0!==m?m:this.service),_=function(e,n){var t,r,a;void 0===n&&(n={});var i="function"===typeof e.clone?e.clone():T(e),s=i.headers,c=i.query,u=void 0===c?{}:c;try{for(var l=Object(o.__values)(Object.keys(s)),d=l.next();!d.done;d=l.next()){var p=d.value,m=p.toLowerCase();"x-amz-"!==m.substr(0,6)||(null===(a=n.unhoistableHeaders)||void 0===a?void 0:a.has(m))||(u[p]=s[p],delete s[p])}}catch(h){t={error:h}}finally{try{d&&!d.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}return Object(o.__assign)(Object(o.__assign)({},e),{headers:s,query:u})}(M(e),{unhoistableHeaders:l}),h.sessionToken&&(_.query[s]=h.sessionToken),_.query["X-Amz-Algorithm"]=v,_.query["X-Amz-Credential"]=h.accessKeyId+"/"+w,_.query["X-Amz-Date"]=b,_.query["X-Amz-Expires"]=c.toString(10),x=E(_,u,d),_.query["X-Amz-SignedHeaders"]=N(x),O=_.query,A=i,P=this.getSignature,I=[b,w,this.getSigningKey(h,f,C,m)],R=this.createCanonicalRequest,L=[_,x],[4,k(e,this.sha256)]);case 5:return[4,P.apply(this,I.concat([R.apply(this,L.concat([F.sent()]))]))];case 6:return O[A]=F.sent(),[2,_]}}))}))},e.prototype.sign=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(t){return"string"===typeof e?[2,this.signString(e,n)]:e.headers&&e.payload?[2,this.signEvent(e,n)]:[2,this.signRequest(e,n)]}))}))},e.prototype.signEvent=function(e,n){var t=e.headers,a=e.payload,i=n.signingDate,s=void 0===i?new Date:i,c=n.priorSignature,u=n.signingRegion,l=n.signingService;return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n,i,d,p,m,h,f,g,v,b;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return null===u||void 0===u?[3,1]:(n=u,[3,3]);case 1:return[4,this.regionProvider()];case 2:n=o.sent(),o.label=3;case 3:return e=n,i=j(s),d=i.shortDate,p=i.longDate,m=S(d,e,null!==l&&void 0!==l?l:this.service),[4,k({headers:{},body:a},this.sha256)];case 4:return h=o.sent(),(f=new this.sha256).update(t),v=r.a,[4,f.digest()];case 5:return g=v.apply(void 0,[o.sent()]),b=[y,p,m,c,g,h].join("\n"),[2,this.signString(b,{signingDate:s,signingRegion:e,signingService:l})]}}))}))},e.prototype.signString=function(e,n){var t=void 0===n?{}:n,a=t.signingDate,i=void 0===a?new Date:a,s=t.signingRegion,c=t.signingService;return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,a,u,l,d,p,m;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return[4,this.credentialProvider()];case 1:return n=o.sent(),null===s||void 0===s?[3,2]:(a=s,[3,4]);case 2:return[4,this.regionProvider()];case 3:a=o.sent(),o.label=4;case 4:return t=a,u=j(i).shortDate,p=(d=this.sha256).bind,[4,this.getSigningKey(n,t,u,c)];case 5:return(l=new(p.apply(d,[void 0,o.sent()]))).update(e),m=r.a,[4,l.digest()];case 6:return[2,m.apply(void 0,[o.sent()])]}}))}))},e.prototype.signRequest=function(e,n){var t=void 0===n?{}:n,r=t.signingDate,a=void 0===r?new Date:r,i=t.signableHeaders,s=t.unsignableHeaders,l=t.signingRegion,d=t.signingService;return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,r,h,f,g,v,y,b,C,w;return Object(o.__generator)(this,(function(_){switch(_.label){case 0:return[4,this.credentialProvider()];case 1:return n=_.sent(),null===l||void 0===l?[3,2]:(r=l,[3,4]);case 2:return[4,this.regionProvider()];case 3:r=_.sent(),_.label=4;case 4:return t=r,h=M(e),f=j(a),g=f.longDate,v=f.shortDate,y=S(v,t,null!==d&&void 0!==d?d:this.service),h.headers[u]=g,n.sessionToken&&(h.headers[m]=n.sessionToken),[4,k(h,this.sha256)];case 5:return b=_.sent(),!function(e,n){var t,r;e=e.toLowerCase();try{for(var a=Object(o.__values)(Object.keys(n)),i=a.next();!i.done;i=a.next())if(e===i.value.toLowerCase())return!0}catch(s){t={error:s}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return!1}(p,h.headers)&&this.applyChecksum&&(h.headers[p]=b),C=E(h,s,i),[4,this.getSignature(g,y,this.getSigningKey(n,t,v,d),this.createCanonicalRequest(h,C,b))];case 6:return w=_.sent(),h.headers[c]="AWS4-HMAC-SHA256 Credential="+n.accessKeyId+"/"+y+", SignedHeaders="+N(C)+", Signature="+w,[2,h]}}))}))},e.prototype.createCanonicalRequest=function(e,n,t){var r=Object.keys(n).sort();return e.method+"\n"+this.getCanonicalPath(e)+"\n"+function(e){var n,t,r=e.query,a=void 0===r?{}:r,i=[],s={},c=function(e){if(e.toLowerCase()===d)return"continue";i.push(e);var n=a[e];"string"===typeof n?s[e]=x(e)+"="+x(n):Array.isArray(n)&&(s[e]=n.slice(0).sort().reduce((function(n,t){return n.concat([x(e)+"="+x(t)])}),[]).join("&"))};try{for(var u=Object(o.__values)(Object.keys(a).sort()),l=u.next();!l.done;l=u.next())c(l.value)}catch(p){n={error:p}}finally{try{l&&!l.done&&(t=u.return)&&t.call(u)}finally{if(n)throw n.error}}return i.map((function(e){return s[e]})).filter((function(e){return e})).join("&")}(e)+"\n"+r.map((function(e){return e+":"+n[e]})).join("\n")+"\n\n"+r.join(";")+"\n"+t},e.prototype.createStringToSign=function(e,n,t){return Object(o.__awaiter)(this,void 0,void 0,(function(){var a,i;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return(a=new this.sha256).update(t),[4,a.digest()];case 1:return i=o.sent(),[2,"AWS4-HMAC-SHA256\n"+e+"\n"+n+"\n"+Object(r.a)(i)]}}))}))},e.prototype.getCanonicalPath=function(e){var n=e.path;return this.uriEscapePath?"/"+encodeURIComponent(n.replace(/^\//,"")).replace(/%2F/g,"/"):n},e.prototype.getSignature=function(e,n,t,a){return Object(o.__awaiter)(this,void 0,void 0,(function(){var i,s,c,u,l;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return[4,this.createStringToSign(e,n,a)];case 1:return i=o.sent(),u=(c=this.sha256).bind,[4,t];case 2:return(s=new(u.apply(c,[void 0,o.sent()]))).update(i),l=r.a,[4,s.digest()];case 3:return[2,l.apply(void 0,[o.sent()])]}}))}))},e.prototype.getSigningKey=function(e,n,t,a){return function(e,n,t,a,i){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var s,c,u,l,d,p,m,h,f;return Object(o.__generator)(this,(function(g){switch(g.label){case 0:return[4,_(e,n.secretAccessKey,n.accessKeyId)];case 1:if(s=g.sent(),(c=t+":"+a+":"+i+":"+Object(r.a)(s)+":"+n.sessionToken)in C)return[2,C[c]];for(w.push(c);w.length>50;)delete C[w.shift()];u="AWS4"+n.secretAccessKey,g.label=2;case 2:g.trys.push([2,7,8,9]),l=Object(o.__values)([t,a,i,b]),d=l.next(),g.label=3;case 3:return d.done?[3,6]:(p=d.value,[4,_(e,u,p)]);case 4:u=g.sent(),g.label=5;case 5:return d=l.next(),[3,3];case 6:return[3,9];case 7:return m=g.sent(),h={error:m},[3,9];case 8:try{d&&!d.done&&(f=l.return)&&f.call(l)}finally{if(h)throw h.error}return[7];case 9:return[2,C[c]=u]}}))}))}(this.sha256,e,t,n,a||this.service)},e}(),j=function(e){var n=I(e).replace(/[\-:]/g,"");return{longDate:n,shortDate:n.substr(0,8)}},N=function(e){return Object.keys(e).sort().join(";")},L=function(e){if("string"===typeof e){var n=Promise.resolve(e);return function(){return n}}return e},F=function(e){if("object"===typeof e){var n=Promise.resolve(e);return function(){return n}}return e};function U(e){var n,t=this,r=D(e.credentials||e.credentialDefaultProvider(e)),a=e.signingEscapePath,i=void 0===a||a,s=e.systemClockOffset,c=void 0===s?e.systemClockOffset||0:s,u=e.sha256;return n=e.signer?D(e.signer):function(){return D(e.region)().then((function(n){return Object(o.__awaiter)(t,void 0,void 0,(function(){return Object(o.__generator)(this,(function(t){switch(t.label){case 0:return[4,e.regionInfoProvider(n)];case 1:return[2,[t.sent()||{},n]]}}))}))})).then((function(n){var t=Object(o.__read)(n,2),a=t[0],s=t[1],c=a.signingRegion,l=a.signingService;return e.signingRegion=e.signingRegion||c||s,e.signingName=e.signingName||l||e.serviceId,new R({credentials:r,region:e.signingRegion,service:e.signingName,sha256:u,uriEscapePath:i})}))},Object(o.__assign)(Object(o.__assign)({},e),{systemClockOffset:c,signingEscapePath:i,credentials:r,signer:n})}function D(e){if("object"===typeof e){var n=Promise.resolve(e);return function(){return n}}return e}var B=t(16),z=function(e){return new Date(Date.now()+e)};function V(e){return function(n,t){return function(r){return Object(o.__awaiter)(this,void 0,void 0,(function(){var a,i,s,c,u,l,d,p,m;return Object(o.__generator)(this,(function(h){switch(h.label){case 0:return B.a.isInstance(r.request)?"function"!==typeof e.signer?[3,2]:[4,e.signer()]:[2,n(r)];case 1:return i=h.sent(),[3,3];case 2:i=e.signer,h.label=3;case 3:return a=i,c=n,u=[Object(o.__assign)({},r)],m={},[4,a.sign(r.request,{signingDate:new Date(Date.now()+e.systemClockOffset),signingRegion:t.signing_region,signingService:t.signing_service})];case 4:return[4,c.apply(void 0,[o.__assign.apply(void 0,u.concat([(m.request=h.sent(),m)]))])];case 5:return s=h.sent(),l=s.response.headers,(d=l&&(l.date||l.Date))&&(p=Date.parse(d),f=p,g=e.systemClockOffset,Math.abs(z(g).getTime()-f)>=3e5&&(e.systemClockOffset=p-Date.now())),[2,s]}var f,g}))}))}}}var G={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0},H=function(e){return{applyToStack:function(n){n.addRelativeTo(V(e),G)}}}},function(e,n){var t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:t,MAX_SAFE_COMPONENT_LENGTH:16}},function(e,n,t){(function(n){var t="object"===typeof n&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRAND:"ksenia",REACT_APP_AUTH_CONFIG:"production",REACT_APP_BUILD_VERSION:"ksenia-v2.9.5",REACT_APP_WEBSITE_NAME:"Ksenia SecureWeb",REACT_APP_CONNECTION_DATA_VIA_POST_MESSAGE_MIN_INSTALLER_VERSION:"1.34.0",REACT_APP_THEME_COLOR:"#B92583",REACT_APP_AUTH_CLIENT_ID:"client-id",REACT_APP_AUTH_ACCESS_TOKEN_SCOPE:"https://loginprovider.com/access.full"})&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRAND:"ksenia",REACT_APP_AUTH_CONFIG:"production",REACT_APP_BUILD_VERSION:"ksenia-v2.9.5",REACT_APP_WEBSITE_NAME:"Ksenia SecureWeb",REACT_APP_CONNECTION_DATA_VIA_POST_MESSAGE_MIN_INSTALLER_VERSION:"1.34.0",REACT_APP_THEME_COLOR:"#B92583",REACT_APP_AUTH_CLIENT_ID:"client-id",REACT_APP_AUTH_ACCESS_TOKEN_SCOPE:"https://loginprovider.com/access.full"}).NODE_DEBUG&&/\bsemver\b/i.test(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_BRAND:"ksenia",REACT_APP_AUTH_CONFIG:"production",REACT_APP_BUILD_VERSION:"ksenia-v2.9.5",REACT_APP_WEBSITE_NAME:"Ksenia SecureWeb",REACT_APP_CONNECTION_DATA_VIA_POST_MESSAGE_MIN_INSTALLER_VERSION:"1.34.0",REACT_APP_THEME_COLOR:"#B92583",REACT_APP_AUTH_CLIENT_ID:"client-id",REACT_APP_AUTH_ACCESS_TOKEN_SCOPE:"https://loginprovider.com/access.full"}).NODE_DEBUG)?function(){for(var e,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];return(e=console).error.apply(e,["SEMVER"].concat(t))}:function(){};e.exports=t}).call(this,t(183))},function(e,n){var t=["includePrerelease","loose","rtl"];e.exports=function(e){return e?"object"!==typeof e?{loose:!0}:t.filter((function(n){return e[n]})).reduce((function(e,n){return e[n]=!0,e}),{}):{}}},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return o(e,n,t)>0}},function(e,n,t){var o=t(134),r=t(135),a=Symbol("SemVer ANY"),i=function(){"use strict";function e(n,t){if(o(this,e),t=s(t),n instanceof e){if(n.loose===!!t.loose)return n;n=n.value}p("comparator",n,t),this.options=t,this.loose=!!t.loose,this.parse(n),this.semver===a?this.value="":this.value=this.operator+this.semver.version,p("comp",this)}return r(e,[{key:"parse",value:function(e){var n=this.options.loose?u[l.COMPARATORLOOSE]:u[l.COMPARATOR],t=e.match(n);if(!t)throw new TypeError("Invalid comparator: ".concat(e));this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),t[2]?this.semver=new m(t[2],this.options.loose):this.semver=a}},{key:"toString",value:function(){return this.value}},{key:"test",value:function(e){if(p("Comparator.test",e,this.options.loose),this.semver===a||e===a)return!0;if("string"===typeof e)try{e=new m(e,this.options)}catch(n){return!1}return d(e,this.operator,this.semver,this.options)}},{key:"intersects",value:function(n,t){if(!(n instanceof e))throw new TypeError("a Comparator is required");if(t&&"object"===typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new h(n.value,t).test(this.value);if(""===n.operator)return""===n.value||new h(this.value,t).test(n.semver);var o=(">="===this.operator||">"===this.operator)&&(">="===n.operator||">"===n.operator),r=("<="===this.operator||"<"===this.operator)&&("<="===n.operator||"<"===n.operator),a=this.semver.version===n.semver.version,i=(">="===this.operator||"<="===this.operator)&&(">="===n.operator||"<="===n.operator),s=d(this.semver,"<",n.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===n.operator||"<"===n.operator),c=d(this.semver,">",n.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===n.operator||">"===n.operator);return o||r||a&&i||s||c}}],[{key:"ANY",get:function(){return a}}]),e}();e.exports=i;var s=t(144),c=t(109),u=c.re,l=c.t,d=t(232),p=t(143),m=t(56),h=t(74)},function(e,n,t){var o=t(74);e.exports=function(e,n,t){try{n=new o(n,t)}catch(r){return!1}return n.test(e)}},function(e,n,t){"use strict";e.exports=t(576)},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(58),r=t(35),a=t(159),i=t(19),s=function(e){function n(n){var t;return(t=e.call(this)||this).config=n||{},t.mutations=[],t.mutationId=0,t}Object(o.a)(n,e);var t=n.prototype;return t.build=function(e,n,t){var o=new a.a({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(n),state:t,defaultOptions:n.mutationKey?e.getMutationDefaults(n.mutationKey):void 0});return this.add(o),o},t.add=function(e){this.mutations.push(e),this.notify(e)},t.remove=function(e){this.mutations=this.mutations.filter((function(n){return n!==e})),e.cancel(),this.notify(e)},t.clear=function(){var e=this;r.a.batch((function(){e.mutations.forEach((function(n){e.remove(n)}))}))},t.getAll=function(){return this.mutations},t.find=function(e){return"undefined"===typeof e.exact&&(e.exact=!0),this.mutations.find((function(n){return Object(i.g)(e,n)}))},t.findAll=function(e){return this.mutations.filter((function(n){return Object(i.g)(e,n)}))},t.notify=function(e){var n=this;r.a.batch((function(){n.listeners.forEach((function(n){n(e)}))}))},t.onFocus=function(){this.resumePausedMutations()},t.onOnline=function(){this.resumePausedMutations()},t.resumePausedMutations=function(){var e=this.mutations.filter((function(e){return e.state.isPaused}));return r.a.batch((function(){return e.reduce((function(e,n){return e.then((function(){return n.continue().catch(i.i)}))}),Promise.resolve())}))},n}(t(67).a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(28),r=t(58),a=t(159),i=t(35),s=function(e){function n(n,t){var o;return(o=e.call(this)||this).client=n,o.setOptions(t),o.bindMethods(),o.updateResult(),o}Object(r.a)(n,e);var t=n.prototype;return t.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},t.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},t.onUnsubscribe=function(){var e;this.listeners.length||(null==(e=this.currentMutation)||e.removeObserver(this))},t.onMutationUpdate=function(e){this.updateResult();var n={listeners:!0};"success"===e.type?n.onSuccess=!0:"error"===e.type&&(n.onError=!0),this.notify(n)},t.getCurrentResult=function(){return this.currentResult},t.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},t.mutate=function(e,n){return this.mutateOptions=n,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,Object(o.a)({},this.options,{variables:"undefined"!==typeof e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},t.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:Object(a.b)(),n=Object(o.a)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=n},t.notify=function(e){var n=this;i.a.batch((function(){n.mutateOptions&&(e.onSuccess?(null==n.mutateOptions.onSuccess||n.mutateOptions.onSuccess(n.currentResult.data,n.currentResult.variables,n.currentResult.context),null==n.mutateOptions.onSettled||n.mutateOptions.onSettled(n.currentResult.data,null,n.currentResult.variables,n.currentResult.context)):e.onError&&(null==n.mutateOptions.onError||n.mutateOptions.onError(n.currentResult.error,n.currentResult.variables,n.currentResult.context),null==n.mutateOptions.onSettled||n.mutateOptions.onSettled(void 0,n.currentResult.error,n.currentResult.variables,n.currentResult.context))),e.listeners&&n.listeners.forEach((function(e){e(n.currentResult)}))}))},n}(t(67).a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(28),r=t(58),a=t(137),i=t(105),s=function(e){function n(n,t){return e.call(this,n,t)||this}Object(r.a)(n,e);var t=n.prototype;return t.bindMethods=function(){e.prototype.bindMethods.call(this),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)},t.setOptions=function(n){e.prototype.setOptions.call(this,Object(o.a)({},n,{behavior:Object(i.c)()}))},t.getOptimisticResult=function(n){return n.behavior=Object(i.c)(),e.prototype.getOptimisticResult.call(this,n)},t.fetchNextPage=function(e){var n;return this.fetch({cancelRefetch:null==(n=null==e?void 0:e.cancelRefetch)||n,throwOnError:null==e?void 0:e.throwOnError,meta:{fetchMore:{direction:"forward",pageParam:null==e?void 0:e.pageParam}}})},t.fetchPreviousPage=function(e){var n;return this.fetch({cancelRefetch:null==(n=null==e?void 0:e.cancelRefetch)||n,throwOnError:null==e?void 0:e.throwOnError,meta:{fetchMore:{direction:"backward",pageParam:null==e?void 0:e.pageParam}}})},t.createResult=function(n,t){var r,a,s,c,u,l,d=n.state,p=e.prototype.createResult.call(this,n,t);return Object(o.a)({},p,{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:Object(i.a)(t,null==(r=d.data)?void 0:r.pages),hasPreviousPage:Object(i.b)(t,null==(a=d.data)?void 0:a.pages),isFetchingNextPage:d.isFetching&&"forward"===(null==(s=d.fetchMeta)||null==(c=s.fetchMore)?void 0:c.direction),isFetchingPreviousPage:d.isFetching&&"backward"===(null==(u=d.fetchMeta)||null==(l=u.fetchMore)?void 0:l.direction)})},n}(a.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var o=t(58),r=t(19),a=t(28),i=t(35),s=t(87),c=t(54),u=function(){function e(e){this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var n=e.prototype;return n.setOptions=function(e){var n;this.options=Object(a.a)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(n=this.options.cacheTime)?n:3e5)},n.setDefaultOptions=function(e){this.defaultOptions=e},n.scheduleGc=function(){var e=this;this.clearGcTimeout(),Object(r.f)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){e.optionalRemove()}),this.cacheTime))},n.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},n.optionalRemove=function(){this.observers.length||this.state.isFetching||this.cache.remove(this)},n.setData=function(e,n){var t,o,a=this.state.data,i=Object(r.b)(e,a);return(null==(t=(o=this.options).isDataEqual)?void 0:t.call(o,a,i))?i=a:!1!==this.options.structuralSharing&&(i=Object(r.n)(a,i)),this.dispatch({data:i,type:"success",dataUpdatedAt:null==n?void 0:n.updatedAt}),i},n.setState=function(e,n){this.dispatch({type:"setState",state:e,setStateOptions:n})},n.cancel=function(e){var n,t=this.promise;return null==(n=this.retryer)||n.cancel(e),t?t.then(r.i).catch(r.i):Promise.resolve()},n.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},n.reset=function(){this.destroy(),this.setState(this.initialState)},n.isActive=function(){return this.observers.some((function(e){return!1!==e.options.enabled}))},n.isFetching=function(){return this.state.isFetching},n.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(e){return e.getCurrentResult().isStale}))},n.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!Object(r.r)(this.state.dataUpdatedAt,e)},n.onFocus=function(){var e,n=this.observers.find((function(e){return e.shouldFetchOnWindowFocus()}));n&&n.refetch(),null==(e=this.retryer)||e.continue()},n.onOnline=function(){var e,n=this.observers.find((function(e){return e.shouldFetchOnReconnect()}));n&&n.refetch(),null==(e=this.retryer)||e.continue()},n.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},n.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter((function(n){return n!==e})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},n.getObserversCount=function(){return this.observers.length},n.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},n.fetch=function(e,n){var t,o,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==n?void 0:n.cancelRefetch))this.cancel({silent:!0});else if(this.promise)return this.promise;if(e&&this.setOptions(e),!this.options.queryFn){var i=this.observers.find((function(e){return e.options.queryFn}));i&&this.setOptions(i.options)}var u,l,d=Object(r.a)(this.queryKey),p={queryKey:d,pageParam:void 0,meta:this.meta},m={fetchOptions:n,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return a.options.queryFn?a.options.queryFn(p):Promise.reject("Missing queryFn")},meta:this.meta};(null==(t=this.options.behavior)?void 0:t.onFetch)&&(null==(u=this.options.behavior)||u.onFetch(m));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(o=m.fetchOptions)?void 0:o.meta))||this.dispatch({type:"fetch",meta:null==(l=m.fetchOptions)?void 0:l.meta});return this.retryer=new c.a({fn:m.fetchFn,onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){Object(c.c)(e)&&e.silent||a.dispatch({type:"error",error:e}),Object(c.c)(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),Object(s.a)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:m.options.retry,retryDelay:m.options.retryDelay}),this.promise=this.retryer.promise,this.promise},n.dispatch=function(e){var n=this;this.state=this.reducer(this.state,e),i.a.batch((function(){n.observers.forEach((function(n){n.onQueryUpdate(e)})),n.cache.notify({query:n,type:"queryUpdated",action:e})}))},n.getDefaultState=function(e){var n="function"===typeof e.initialData?e.initialData():e.initialData,t="undefined"!==typeof e.initialData?"function"===typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,o="undefined"!==typeof n;return{data:n,dataUpdateCount:0,dataUpdatedAt:o?null!=t?t:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:o?"success":"idle"}},n.reducer=function(e,n){var t,o;switch(n.type){case"failed":return Object(a.a)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return Object(a.a)({},e,{isPaused:!0});case"continue":return Object(a.a)({},e,{isPaused:!1});case"fetch":return Object(a.a)({},e,{fetchFailureCount:0,fetchMeta:null!=(t=n.meta)?t:null,isFetching:!0,isPaused:!1,status:e.dataUpdatedAt?e.status:"loading"});case"success":return Object(a.a)({},e,{data:n.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(o=n.dataUpdatedAt)?o:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var r=n.error;return Object(c.c)(r)&&r.revert&&this.revertState?Object(a.a)({},this.revertState):Object(a.a)({},e,{error:r,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return Object(a.a)({},e,{isInvalidated:!0});case"setState":return Object(a.a)({},e,n.state);default:return e}},e}(),l=function(e){function n(n){var t;return(t=e.call(this)||this).config=n||{},t.queries=[],t.queriesMap={},t}Object(o.a)(n,e);var t=n.prototype;return t.build=function(e,n,t){var o,a=n.queryKey,i=null!=(o=n.queryHash)?o:Object(r.d)(a,n),s=this.get(i);return s||(s=new u({cache:this,queryKey:a,queryHash:i,options:e.defaultQueryOptions(n),state:t,defaultOptions:e.getQueryDefaults(a),meta:n.meta}),this.add(s)),s},t.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},t.remove=function(e){var n=this.queriesMap[e.queryHash];n&&(e.destroy(),this.queries=this.queries.filter((function(n){return n!==e})),n===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},t.clear=function(){var e=this;i.a.batch((function(){e.queries.forEach((function(n){e.remove(n)}))}))},t.get=function(e){return this.queriesMap[e]},t.getAll=function(){return this.queries},t.find=function(e,n){var t=Object(r.j)(e,n)[0];return"undefined"===typeof t.exact&&(t.exact=!0),this.queries.find((function(e){return Object(r.h)(t,e)}))},t.findAll=function(e,n){var t=Object(r.j)(e,n)[0];return t?this.queries.filter((function(e){return Object(r.h)(t,e)})):this.queries},t.notify=function(e){var n=this;i.a.batch((function(){n.listeners.forEach((function(n){n(e)}))}))},t.onFocus=function(){var e=this;i.a.batch((function(){e.queries.forEach((function(e){e.onFocus()}))}))},t.onOnline=function(){var e=this;i.a.batch((function(){e.queries.forEach((function(e){e.onOnline()}))}))},n}(t(67).a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(0);function r(){var e=Object(o.useRef)(!1);return Object(o.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(1),r=t(16),a="content-length";var i={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},s=function(e){return{applyToStack:function(n){n.add(function(e){var n=this;return function(t){return function(i){return Object(o.__awaiter)(n,void 0,void 0,(function(){var n,s,c,u,l;return Object(o.__generator)(this,(function(d){return n=i.request,r.a.isInstance(n)&&(s=n.body,c=n.headers,s&&-1===Object.keys(c).map((function(e){return e.toLowerCase()})).indexOf(a)&&void 0!==(u=e(s))&&(n.headers=Object(o.__assign)(Object(o.__assign)({},n.headers),((l={})["content-length"]=String(u),l)))),[2,t(Object(o.__assign)(Object(o.__assign)({},i),{request:n}))]}))}))}}}(e.bodyLengthChecker),i)}}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WebCryptoSha256=n.Ie11Sha256=void 0,(0,t(1).__exportStar)(t(595),n);var o=t(212);Object.defineProperty(n,"Ie11Sha256",{enumerable:!0,get:function(){return o.Sha256}});var r=t(214);Object.defineProperty(n,"WebCryptoSha256",{enumerable:!0,get:function(){return r.Sha256}})},function(e,n,t){"use strict";function o(e){if("string"===typeof e){for(var n=e.length,t=n-1;t>=0;t--){var o=e.charCodeAt(t);o>127&&o<=2047?n++:o>2047&&o<=65535&&(n+=2)}return n}return"number"===typeof e.byteLength?e.byteLength:"number"===typeof e.size?e.size:void 0}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(1),r=t(513),a=t.n(r),i=function(e){var n=e.serviceId,t=e.clientVersion;return function(){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var e,r,i,s,c,u,l,d,p;return Object(o.__generator)(this,(function(o){return e=(null===(i=null===window||void 0===window?void 0:window.navigator)||void 0===i?void 0:i.userAgent)?a.a.parse(window.navigator.userAgent):void 0,r=[["aws-sdk-js",t],["os/"+((null===(s=null===e||void 0===e?void 0:e.os)||void 0===s?void 0:s.name)||"other"),null===(c=null===e||void 0===e?void 0:e.os)||void 0===c?void 0:c.version],["lang/js"],["md/browser",(null!==(l=null===(u=null===e||void 0===e?void 0:e.browser)||void 0===u?void 0:u.name)&&void 0!==l?l:"unknown")+"_"+(null!==(p=null===(d=null===e||void 0===e?void 0:e.browser)||void 0===d?void 0:d.version)&&void 0!==p?p:"unknown")]],n&&r.push(["api/"+n,t]),[2,r]}))}))}}},function(e,n,t){"use strict";function o(e,n){return(o=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return c})),t.d(n,"b",(function(){return u}));var o=t(28),r=t(87),a=t(35),i=t(54),s=t(19),c=function(){function e(e){this.options=Object(o.a)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||u()}var n=e.prototype;return n.setState=function(e){this.dispatch({type:"setState",state:e})},n.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},n.removeObserver=function(e){this.observers=this.observers.filter((function(n){return n!==e}))},n.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(s.i).catch(s.i)):Promise.resolve()},n.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},n.execute=function(){var e,n=this,t="loading"===this.state.status,o=Promise.resolve();return t||(this.dispatch({type:"loading",variables:this.options.variables}),o=o.then((function(){return null==n.options.onMutate?void 0:n.options.onMutate(n.state.variables)})).then((function(e){e!==n.state.context&&n.dispatch({type:"loading",context:e,variables:n.state.variables})}))),o.then((function(){return n.executeMutation()})).then((function(t){e=t,null==n.mutationCache.config.onSuccess||n.mutationCache.config.onSuccess(e,n.state.variables,n.state.context,n)})).then((function(){return null==n.options.onSuccess?void 0:n.options.onSuccess(e,n.state.variables,n.state.context)})).then((function(){return null==n.options.onSettled?void 0:n.options.onSettled(e,null,n.state.variables,n.state.context)})).then((function(){return n.dispatch({type:"success",data:e}),e})).catch((function(e){return null==n.mutationCache.config.onError||n.mutationCache.config.onError(e,n.state.variables,n.state.context,n),Object(r.a)().error(e),Promise.resolve().then((function(){return null==n.options.onError?void 0:n.options.onError(e,n.state.variables,n.state.context)})).then((function(){return null==n.options.onSettled?void 0:n.options.onSettled(void 0,e,n.state.variables,n.state.context)})).then((function(){throw n.dispatch({type:"error",error:e}),e}))}))},n.executeMutation=function(){var e,n=this;return this.retryer=new i.a({fn:function(){return n.options.mutationFn?n.options.mutationFn(n.state.variables):Promise.reject("No mutationFn found")},onFail:function(){n.dispatch({type:"failed"})},onPause:function(){n.dispatch({type:"pause"})},onContinue:function(){n.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},n.dispatch=function(e){var n=this;this.state=function(e,n){switch(n.type){case"failed":return Object(o.a)({},e,{failureCount:e.failureCount+1});case"pause":return Object(o.a)({},e,{isPaused:!0});case"continue":return Object(o.a)({},e,{isPaused:!1});case"loading":return Object(o.a)({},e,{context:n.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:n.variables});case"success":return Object(o.a)({},e,{data:n.data,error:null,status:"success",isPaused:!1});case"error":return Object(o.a)({},e,{data:void 0,error:n.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return Object(o.a)({},e,n.state);default:return e}}(this.state,e),a.a.batch((function(){n.observers.forEach((function(n){n.onMutationUpdate(e)})),n.mutationCache.notify(n)}))},e}();function u(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},function(e,n,t){"use strict";function o(e,n,t){return"function"===typeof n?n(t):"boolean"===typeof n?n:!!e}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var o=t(0),r=t.n(o),a=t(35),i=t(136),s=t(86),c=t(160);function u(e,n){var t=r.a.useRef(!1),o=r.a.useState(0)[1],u=Object(s.b)(),l=Object(i.a)(),d=u.defaultQueryObserverOptions(e);d.optimisticResults=!0,d.onError&&(d.onError=a.a.batchCalls(d.onError)),d.onSuccess&&(d.onSuccess=a.a.batchCalls(d.onSuccess)),d.onSettled&&(d.onSettled=a.a.batchCalls(d.onSettled)),d.suspense&&("number"!==typeof d.staleTime&&(d.staleTime=1e3),0===d.cacheTime&&(d.cacheTime=1)),(d.suspense||d.useErrorBoundary)&&(l.isReset()||(d.retryOnMount=!1));var p=r.a.useState((function(){return new n(u,d)}))[0],m=p.getOptimisticResult(d);if(r.a.useEffect((function(){t.current=!0,l.clearReset();var e=p.subscribe(a.a.batchCalls((function(){t.current&&o((function(e){return e+1}))})));return p.updateResult(),function(){t.current=!1,e()}}),[l,p]),r.a.useEffect((function(){p.setOptions(d,{listeners:!1})}),[d,p]),d.suspense&&m.isLoading)throw p.fetchOptimistic(d).then((function(e){var n=e.data;null==d.onSuccess||d.onSuccess(n),null==d.onSettled||d.onSettled(n,null)})).catch((function(e){l.clearReset(),null==d.onError||d.onError(e),null==d.onSettled||d.onSettled(void 0,e)}));if(m.isError&&!m.isFetching&&Object(c.a)(d.suspense,d.useErrorBoundary,m.error))throw m.error;return"tracked"===d.notifyOnChangeProps&&(m=p.trackResult(m)),m}},function(e,n,t){"use strict";function o(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return i}));var o,r=t(22),a=t(2);!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"}(o||(o={}));var i=function(){function e(n,t,r){this.level=o.Info;var i=n||e.createDefaultLoggerOptions();this.localCallback=i.loggerCallback||function(){},this.piiLoggingEnabled=i.piiLoggingEnabled||!1,this.level="number"===typeof i.logLevel?i.logLevel:o.Info,this.correlationId=i.correlationId||a.n.EMPTY_STRING,this.packageName=t||a.n.EMPTY_STRING,this.packageVersion=r||a.n.EMPTY_STRING}return e.createDefaultLoggerOptions=function(){return{loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:o.Info}},e.prototype.clone=function(n,t,o){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:o||this.correlationId},n,t)},e.prototype.logMessage=function(e,n){if(!(n.logLevel>this.level||!this.piiLoggingEnabled&&n.containsPii)){var t=(new Date).toUTCString(),a=(r.a.isEmpty(n.correlationId)?r.a.isEmpty(this.correlationId)?"["+t+"]":"["+t+"] : ["+this.correlationId+"]":"["+t+"] : ["+n.correlationId+"]")+" : "+this.packageName+"@"+this.packageVersion+" : "+o[n.logLevel]+" - "+e;this.executeCallback(n.logLevel,a,n.containsPii||!1)}},e.prototype.executeCallback=function(e,n,t){this.localCallback&&this.localCallback(e,n,t)},e.prototype.error=function(e,n){this.logMessage(e,{logLevel:o.Error,containsPii:!1,correlationId:n||a.n.EMPTY_STRING})},e.prototype.errorPii=function(e,n){this.logMessage(e,{logLevel:o.Error,containsPii:!0,correlationId:n||a.n.EMPTY_STRING})},e.prototype.warning=function(e,n){this.logMessage(e,{logLevel:o.Warning,containsPii:!1,correlationId:n||a.n.EMPTY_STRING})},e.prototype.warningPii=function(e,n){this.logMessage(e,{logLevel:o.Warning,containsPii:!0,correlationId:n||a.n.EMPTY_STRING})},e.prototype.info=function(e,n){this.logMessage(e,{logLevel:o.Info,containsPii:!1,correlationId:n||a.n.EMPTY_STRING})},e.prototype.infoPii=function(e,n){this.logMessage(e,{logLevel:o.Info,containsPii:!0,correlationId:n||a.n.EMPTY_STRING})},e.prototype.verbose=function(e,n){this.logMessage(e,{logLevel:o.Verbose,containsPii:!1,correlationId:n||a.n.EMPTY_STRING})},e.prototype.verbosePii=function(e,n){this.logMessage(e,{logLevel:o.Verbose,containsPii:!0,correlationId:n||a.n.EMPTY_STRING})},e.prototype.trace=function(e,n){this.logMessage(e,{logLevel:o.Trace,containsPii:!1,correlationId:n||a.n.EMPTY_STRING})},e.prototype.tracePii=function(e,n){this.logMessage(e,{logLevel:o.Trace,containsPii:!0,correlationId:n||a.n.EMPTY_STRING})},e.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},e}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return me}));var o=t(31),r=t(77),a=t(76),i=t(21),s=t(3),c=t(47),u=t(48);function l(e){return Array.isArray?Array.isArray(e):"[object Array]"===v(e)}function d(e){return"string"===typeof e}function p(e){return"number"===typeof e}function m(e){return!0===e||!1===e||function(e){return h(e)&&null!==e}(e)&&"[object Boolean]"==v(e)}function h(e){return"object"===typeof e}function f(e){return void 0!==e&&null!==e}function g(e){return!e.trim().length}function v(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var y=function(e){return"Invalid value for key ".concat(e)},b=function(e){return"Pattern length exceeds max of ".concat(e,".")},C=Object.prototype.hasOwnProperty,w=function(){function e(n){var t=this;Object(c.a)(this,e),this._keys=[],this._keyMap={};var o=0;n.forEach((function(e){var n=S(e);o+=n.weight,t._keys.push(n),t._keyMap[n.id]=n,o+=n.weight})),this._keys.forEach((function(e){e.weight/=o}))}return Object(u.a)(e,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}();function S(e){var n=null,t=null,o=null,r=1;if(d(e)||l(e))o=e,n=_(e),t=E(e);else{if(!C.call(e,"name"))throw new Error(function(e){return"Missing ".concat(e," property in key")}("name"));var a=e.name;if(o=a,C.call(e,"weight")&&(r=e.weight)<=0)throw new Error(function(e){return"Property 'weight' in key '".concat(e,"' must be a positive integer")}(a));n=_(a),t=E(a)}return{path:n,id:t,weight:r,src:o}}function _(e){return l(e)?e:e.split(".")}function E(e){return l(e)?e.join("."):e}var x={useExtendedSearch:!1,getFn:function(e,n){var t=[],o=!1;return function e(n,r,a){if(f(n))if(r[a]){var i=n[r[a]];if(!f(i))return;if(a===r.length-1&&(d(i)||p(i)||m(i)))t.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}(e)}(i));else if(l(i)){o=!0;for(var s=0,c=i.length;s<c;s+=1)e(i[s],r,a+1)}else r.length&&e(i,r,a+1)}else t.push(n)}(e,d(n)?n.split("."):n,0),o?t:t[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},O=Object(s.a)(Object(s.a)(Object(s.a)(Object(s.a)({},{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e,n){return e.score===n.score?e.idx<n.idx?-1:1:e.score<n.score?-1:1}}),{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1}),{location:0,threshold:.6,distance:100}),x),A=/[^ ]+/g;function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,t=new Map,o=Math.pow(10,n);return{get:function(n){var r=n.match(A).length;if(t.has(r))return t.get(r);var a=1/Math.pow(r,.5*e),i=parseFloat(Math.round(a*o)/o);return t.set(r,i),i},clear:function(){t.clear()}}}var T=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n.getFn,o=void 0===t?O.getFn:t,r=n.fieldNormWeight,a=void 0===r?O.fieldNormWeight:r;Object(c.a)(this,e),this.norm=k(a,3),this.getFn=o,this.isCreated=!1,this.setIndexRecords()}return Object(u.a)(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=n,this._keysMap={},n.forEach((function(n,t){e._keysMap[n.id]=t}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,d(this.docs[0])?this.docs.forEach((function(n,t){e._addString(n,t)})):this.docs.forEach((function(n,t){e._addObject(n,t)})),this.norm.clear())}},{key:"add",value:function(e){var n=this.size();d(e)?this._addString(e,n):this._addObject(e,n)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var n=e,t=this.size();n<t;n+=1)this.records[n].i-=1}},{key:"getValueForItemAtKeyId",value:function(e,n){return e[this._keysMap[n]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,n){if(f(e)&&!g(e)){var t={v:e,i:n,n:this.norm.get(e)};this.records.push(t)}}},{key:"_addObject",value:function(e,n){var t=this,o={i:n,$:{}};this.keys.forEach((function(n,r){var a=t.getFn(e,n.path);if(f(a))if(l(a))!function(){for(var e=[],n=[{nestedArrIndex:-1,value:a}];n.length;){var i=n.pop(),s=i.nestedArrIndex,c=i.value;if(f(c))if(d(c)&&!g(c)){var u={v:c,i:s,n:t.norm.get(c)};e.push(u)}else l(c)&&c.forEach((function(e,t){n.push({nestedArrIndex:t,value:e})}))}o.$[r]=e}();else if(!g(a)){var i={v:a,n:t.norm.get(a)};o.$[r]=i}})),this.records.push(o)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e}();function P(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.getFn,r=void 0===o?O.getFn:o,a=t.fieldNormWeight,i=void 0===a?O.fieldNormWeight:a,s=new T({getFn:r,fieldNormWeight:i});return s.setKeys(e.map(S)),s.setSources(n),s.create(),s}function M(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.errors,o=void 0===t?0:t,r=n.currentLocation,a=void 0===r?0:r,i=n.expectedLocation,s=void 0===i?0:i,c=n.distance,u=void 0===c?O.distance:c,l=n.ignoreLocation,d=void 0===l?O.ignoreLocation:l,p=o/e.length;if(d)return p;var m=Math.abs(s-a);return u?p+m/u:m?1:p}function I(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.minMatchCharLength,t=[],o=-1,r=-1,a=0,i=e.length;a<i;a+=1){var s=e[a];s&&-1===o?o=a:s||-1===o||((r=a-1)-o+1>=n&&t.push([o,r]),o=-1)}return e[a-1]&&a-o>=n&&t.push([o,a-1]),t}var R=32;function j(e){for(var n={},t=0,o=e.length;t<o;t+=1){var r=e.charAt(t);n[r]=(n[r]||0)|1<<o-t-1}return n}var N=function(){function e(n){var t=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=o.location,a=void 0===r?O.location:r,i=o.threshold,s=void 0===i?O.threshold:i,u=o.distance,l=void 0===u?O.distance:u,d=o.includeMatches,p=void 0===d?O.includeMatches:d,m=o.findAllMatches,h=void 0===m?O.findAllMatches:m,f=o.minMatchCharLength,g=void 0===f?O.minMatchCharLength:f,v=o.isCaseSensitive,y=void 0===v?O.isCaseSensitive:v,b=o.ignoreLocation,C=void 0===b?O.ignoreLocation:b;if(Object(c.a)(this,e),this.options={location:a,threshold:s,distance:l,includeMatches:p,findAllMatches:h,minMatchCharLength:g,isCaseSensitive:y,ignoreLocation:C},this.pattern=y?n:n.toLowerCase(),this.chunks=[],this.pattern.length){var w=function(e,n){t.chunks.push({pattern:e,alphabet:j(e),startIndex:n})},S=this.pattern.length;if(S>R){for(var _=0,E=S%R,x=S-E;_<x;)w(this.pattern.substr(_,R),_),_+=R;if(E){var A=S-R;w(this.pattern.substr(A),A)}}else w(this.pattern,0)}}return Object(u.a)(e,[{key:"searchIn",value:function(e){var n=this.options,t=n.isCaseSensitive,o=n.includeMatches;if(t||(e=e.toLowerCase()),this.pattern===e){var r={isMatch:!0,score:0};return o&&(r.indices=[[0,e.length-1]]),r}var a=this.options,s=a.location,c=a.distance,u=a.threshold,l=a.findAllMatches,d=a.minMatchCharLength,p=a.ignoreLocation,m=[],h=0,f=!1;this.chunks.forEach((function(n){var t=n.pattern,r=n.alphabet,a=n.startIndex,g=function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=o.location,a=void 0===r?O.location:r,i=o.distance,s=void 0===i?O.distance:i,c=o.threshold,u=void 0===c?O.threshold:c,l=o.findAllMatches,d=void 0===l?O.findAllMatches:l,p=o.minMatchCharLength,m=void 0===p?O.minMatchCharLength:p,h=o.includeMatches,f=void 0===h?O.includeMatches:h,g=o.ignoreLocation,v=void 0===g?O.ignoreLocation:g;if(n.length>R)throw new Error(b(R));for(var y,C=n.length,w=e.length,S=Math.max(0,Math.min(a,w)),_=u,E=S,x=m>1||f,A=x?Array(w):[];(y=e.indexOf(n,E))>-1;){var k=M(n,{currentLocation:y,expectedLocation:S,distance:s,ignoreLocation:v});if(_=Math.min(k,_),E=y+C,x)for(var T=0;T<C;)A[y+T]=1,T+=1}E=-1;for(var P=[],j=1,N=C+w,L=1<<C-1,F=0;F<C;F+=1){for(var U=0,D=N;U<D;){M(n,{errors:F,currentLocation:S+D,expectedLocation:S,distance:s,ignoreLocation:v})<=_?U=D:N=D,D=Math.floor((N-U)/2+U)}N=D;var B=Math.max(1,S-D+1),z=d?w:Math.min(S+D,w)+C,V=Array(z+2);V[z+1]=(1<<F)-1;for(var G=z;G>=B;G-=1){var H=G-1,q=t[e.charAt(H)];if(x&&(A[H]=+!!q),V[G]=(V[G+1]<<1|1)&q,F&&(V[G]|=(P[G+1]|P[G])<<1|1|P[G+1]),V[G]&L&&(j=M(n,{errors:F,currentLocation:H,expectedLocation:S,distance:s,ignoreLocation:v}))<=_){if(_=j,(E=H)<=S)break;B=Math.max(1,2*S-E)}}if(M(n,{errors:F+1,currentLocation:S,expectedLocation:S,distance:s,ignoreLocation:v})>_)break;P=V}var K={isMatch:E>=0,score:Math.max(.001,j)};if(x){var W=I(A,m);W.length?f&&(K.indices=W):K.isMatch=!1}return K}(e,t,r,{location:s+a,distance:c,threshold:u,findAllMatches:l,minMatchCharLength:d,includeMatches:o,ignoreLocation:p}),v=g.isMatch,y=g.score,C=g.indices;v&&(f=!0),h+=y,v&&C&&(m=[].concat(Object(i.a)(m),Object(i.a)(C)))}));var g={isMatch:f,score:f?h/this.chunks.length:1};return f&&o&&(g.indices=m),g}}]),e}(),L=function(){function e(n){Object(c.a)(this,e),this.pattern=n}return Object(u.a)(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return F(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return F(e,this.singleRegex)}}]),e}();function F(e,n){var t=e.match(n);return t?t[1]:null}var U=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){var n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),t}(L),D=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){var n=-1===e.indexOf(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),t}(L),B=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){var n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),t}(L),z=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){var n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),t}(L),V=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){var n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),t}(L),G=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){var n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),t}(L),H=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){var o,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.location,i=void 0===a?O.location:a,s=r.threshold,u=void 0===s?O.threshold:s,l=r.distance,d=void 0===l?O.distance:l,p=r.includeMatches,m=void 0===p?O.includeMatches:p,h=r.findAllMatches,f=void 0===h?O.findAllMatches:h,g=r.minMatchCharLength,v=void 0===g?O.minMatchCharLength:g,y=r.isCaseSensitive,b=void 0===y?O.isCaseSensitive:y,C=r.ignoreLocation,w=void 0===C?O.ignoreLocation:C;return Object(c.a)(this,t),(o=n.call(this,e))._bitapSearch=new N(e,{location:i,threshold:u,distance:d,includeMatches:m,findAllMatches:f,minMatchCharLength:v,isCaseSensitive:b,ignoreLocation:w}),o}return Object(u.a)(t,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),t}(L),q=function(e){Object(r.a)(t,e);var n=Object(a.a)(t);function t(e){return Object(c.a)(this,t),n.call(this,e)}return Object(u.a)(t,[{key:"search",value:function(e){for(var n,t=0,o=[],r=this.pattern.length;(n=e.indexOf(this.pattern,t))>-1;)t=n+r,o.push([n,t-1]);var a=!!o.length;return{isMatch:a,score:a?0:1,indices:o}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),t}(L),K=[U,q,B,z,G,V,D,H],W=K.length,$=/ +(?=([^\"]*\"[^\"]*\")*[^\"]*$)/;function Y(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var t=e.trim().split($).filter((function(e){return e&&!!e.trim()})),o=[],r=0,a=t.length;r<a;r+=1){for(var i=t[r],s=!1,c=-1;!s&&++c<W;){var u=K[c],l=u.isMultiMatch(i);l&&(o.push(new u(l,n)),s=!0)}if(!s)for(c=-1;++c<W;){var d=K[c],p=d.isSingleMatch(i);if(p){o.push(new d(p,n));break}}}return o}))}var Q=new Set([H.type,q.type]),J=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=t.isCaseSensitive,r=void 0===o?O.isCaseSensitive:o,a=t.includeMatches,i=void 0===a?O.includeMatches:a,s=t.minMatchCharLength,u=void 0===s?O.minMatchCharLength:s,l=t.ignoreLocation,d=void 0===l?O.ignoreLocation:l,p=t.findAllMatches,m=void 0===p?O.findAllMatches:p,h=t.location,f=void 0===h?O.location:h,g=t.threshold,v=void 0===g?O.threshold:g,y=t.distance,b=void 0===y?O.distance:y;Object(c.a)(this,e),this.query=null,this.options={isCaseSensitive:r,includeMatches:i,minMatchCharLength:u,findAllMatches:m,ignoreLocation:d,location:f,threshold:v,distance:b},this.pattern=r?n:n.toLowerCase(),this.query=Y(this.pattern,this.options)}return Object(u.a)(e,[{key:"searchIn",value:function(e){var n=this.query;if(!n)return{isMatch:!1,score:1};var t=this.options,o=t.includeMatches;e=t.isCaseSensitive?e:e.toLowerCase();for(var r=0,a=[],s=0,c=0,u=n.length;c<u;c+=1){var l=n[c];a.length=0,r=0;for(var d=0,p=l.length;d<p;d+=1){var m=l[d],h=m.search(e),f=h.isMatch,g=h.indices,v=h.score;if(!f){s=0,r=0,a.length=0;break}if(r+=1,s+=v,o){var y=m.constructor.type;Q.has(y)?a=[].concat(Object(i.a)(a),Object(i.a)(g)):a.push(g)}}if(r){var b={isMatch:!0,score:s/r};return o&&(b.indices=a),b}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(e,n){return n.useExtendedSearch}}]),e}(),Z=[];function X(e,n){for(var t=0,o=Z.length;t<o;t+=1){var r=Z[t];if(r.condition(e,n))return new r(e,n)}return new N(e,n)}var ee="$and",ne="$or",te="$path",oe="$val",re=function(e){return!(!e[ee]&&!e[ne])},ae=function(e){return!!e[te]},ie=function(e){return!l(e)&&h(e)&&!re(e)},se=function(e){return Object(o.a)({},ee,Object.keys(e).map((function(n){return Object(o.a)({},n,e[n])})))};function ce(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.auto,r=void 0===o||o,a=function e(t){var o=Object.keys(t),a=ae(t);if(!a&&o.length>1&&!re(t))return e(se(t));if(ie(t)){var i=a?t[te]:o[0],s=a?t[oe]:t[i];if(!d(s))throw new Error(y(i));var c={keyId:E(i),pattern:s};return r&&(c.searcher=X(s,n)),c}var u={children:[],operator:o[0]};return o.forEach((function(n){var o=t[n];l(o)&&o.forEach((function(n){u.children.push(e(n))}))})),u};return re(e)||(e=se(e)),a(e)}function ue(e,n){var t=n.ignoreFieldNorm,o=void 0===t?O.ignoreFieldNorm:t;e.forEach((function(e){var n=1;e.matches.forEach((function(e){var t=e.key,r=e.norm,a=e.score,i=t?t.weight:null;n*=Math.pow(0===a&&i?Number.EPSILON:a,(i||1)*(o?1:r))})),e.score=n}))}function le(e,n){var t=e.matches;n.matches=[],f(t)&&t.forEach((function(e){if(f(e.indices)&&e.indices.length){var t={indices:e.indices,value:e.value};e.key&&(t.key=e.key.src),e.idx>-1&&(t.refIndex=e.idx),n.matches.push(t)}}))}function de(e,n){n.score=e.score}function pe(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.includeMatches,r=void 0===o?O.includeMatches:o,a=t.includeScore,i=void 0===a?O.includeScore:a,s=[];return r&&s.push(le),i&&s.push(de),e.map((function(e){var t=e.idx,o={item:n[t],refIndex:t};return s.length&&s.forEach((function(n){n(e,o)})),o}))}var me=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;Object(c.a)(this,e),this.options=Object(s.a)(Object(s.a)({},O),t),this.options.useExtendedSearch,this._keyStore=new w(this.options.keys),this.setCollection(n,o)}return Object(u.a)(e,[{key:"setCollection",value:function(e,n){if(this._docs=e,n&&!(n instanceof T))throw new Error("Incorrect 'index' type");this._myIndex=n||P(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){f(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},n=[],t=0,o=this._docs.length;t<o;t+=1){var r=this._docs[t];e(r,t)&&(this.removeAt(t),t-=1,o-=1,n.push(r))}return n}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.limit,o=void 0===t?-1:t,r=this.options,a=r.includeMatches,i=r.includeScore,s=r.shouldSort,c=r.sortFn,u=r.ignoreFieldNorm,l=d(e)?d(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return ue(l,{ignoreFieldNorm:u}),s&&l.sort(c),p(o)&&o>-1&&(l=l.slice(0,o)),pe(l,this._docs,{includeMatches:a,includeScore:i})}},{key:"_searchStringList",value:function(e){var n=X(e,this.options),t=this._myIndex.records,o=[];return t.forEach((function(e){var t=e.v,r=e.i,a=e.n;if(f(t)){var i=n.searchIn(t),s=i.isMatch,c=i.score,u=i.indices;s&&o.push({item:t,idx:r,matches:[{score:c,value:t,norm:a,indices:u}]})}})),o}},{key:"_searchLogical",value:function(e){var n=this,t=ce(e,this.options),o=function e(t,o,r){if(!t.children){var a=t.keyId,s=t.searcher,c=n._findMatches({key:n._keyStore.get(a),value:n._myIndex.getValueForItemAtKeyId(o,a),searcher:s});return c&&c.length?[{idx:r,item:o,matches:c}]:[]}for(var u=[],l=0,d=t.children.length;l<d;l+=1){var p=e(t.children[l],o,r);if(p.length)u.push.apply(u,Object(i.a)(p));else if(t.operator===ee)return[]}return u},r=this._myIndex.records,a={},s=[];return r.forEach((function(e){var n=e.$,r=e.i;if(f(n)){var c=o(t,n,r);c.length&&(a[r]||(a[r]={idx:r,item:n,matches:[]},s.push(a[r])),c.forEach((function(e){var n,t=e.matches;(n=a[r].matches).push.apply(n,Object(i.a)(t))})))}})),s}},{key:"_searchObjectList",value:function(e){var n=this,t=X(e,this.options),o=this._myIndex,r=o.keys,a=o.records,s=[];return a.forEach((function(e){var o=e.$,a=e.i;if(f(o)){var c=[];r.forEach((function(e,r){c.push.apply(c,Object(i.a)(n._findMatches({key:e,value:o[r],searcher:t})))})),c.length&&s.push({idx:a,item:o,matches:c})}})),s}},{key:"_findMatches",value:function(e){var n=e.key,t=e.value,o=e.searcher;if(!f(t))return[];var r=[];if(l(t))t.forEach((function(e){var t=e.v,a=e.i,i=e.n;if(f(t)){var s=o.searchIn(t),c=s.isMatch,u=s.score,l=s.indices;c&&r.push({score:u,key:n,value:t,idx:a,norm:i,indices:l})}}));else{var a=t.v,i=t.n,s=o.searchIn(a),c=s.isMatch,u=s.score,d=s.indices;c&&r.push({score:u,key:n,value:a,norm:i,indices:d})}return r}}]),e}();me.version="6.5.3",me.createIndex=P,me.parseIndex=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.getFn,o=void 0===t?O.getFn:t,r=n.fieldNormWeight,a=void 0===r?O.fieldNormWeight:r,i=e.keys,s=e.records,c=new T({getFn:o,fieldNormWeight:a});return c.setKeys(i),c.setIndexRecords(s),c},me.config=O,me.parseQuery=ce,function(){Z.push.apply(Z,arguments)}(J)},function(e,n,t){"use strict";function o(e){return null!==e&&"object"===typeof e}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";function o(e){return e}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(e){return e&&"number"===typeof e.length&&"function"!==typeof e}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(e){return function(n){for(var t=0,o=e.length;t<o&&!n.closed;t++)n.next(e[t]);n.complete()}}},function(e,n,t){"use strict";function o(e){return!!e&&"function"!==typeof e.subscribe&&"function"===typeof e.then}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r=t(41);function a(e,n){return function(t){if("function"!==typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new i(e,n))}}var i=function(){function e(e,n){this.project=e,this.thisArg=n}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.project,this.thisArg))},e}(),s=function(e){function n(n,t,o){var r=e.call(this,n)||this;return r.project=t,r.count=0,r.thisArg=o||r,r}return o.__extends(n,e),n.prototype._next=function(e){var n;try{n=this.project.call(this.thisArg,e,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(r.a)},function(e,n,t){"use strict";function o(e){return e&&"function"===typeof e.schedule}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function i(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function s(e,n){if(e){if("string"===typeof e)return i(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,n):void 0}}function c(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(c){s=!0,r=c}finally{try{i||null==t.return||t.return()}finally{if(s)throw r}}return a}}(e,n)||s(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}t.d(n,"a",(function(){return Po}));var l=t(0),d=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function p(){return(p=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function m(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,n){return(h=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function g(e){return(g="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 v(e,n){if(n&&("object"===g(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){var n=function(){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(w){return!1}}();return function(){var t,o=f(e);if(n){var r=f(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return v(this,t)}}function b(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(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.")}()}var C=function(){function e(e){var n=this;this._insertTag=function(e){var t;t=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(e,t),n.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),void 0!==e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}(n);try{t.insertRule(e,t.cssRules.length)}catch(w){0}}else n.appendChild(document.createTextNode(e));this.ctr++},n.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),w="-ms-",S="-moz-",_="-webkit-",E="comm",x="rule",O="decl",A="@keyframes",k=Math.abs,T=String.fromCharCode,P=Object.assign;function M(e){return e.trim()}function I(e,n,t){return e.replace(n,t)}function R(e,n){return e.indexOf(n)}function j(e,n){return 0|e.charCodeAt(n)}function N(e,n,t){return e.slice(n,t)}function L(e){return e.length}function F(e){return e.length}function U(e,n){return n.push(e),e}function D(e,n){return e.map(n).join("")}var B=1,z=1,V=0,G=0,H=0,q="";function K(e,n,t,o,r,a,i){return{value:e,root:n,parent:t,type:o,props:r,children:a,line:B,column:z,length:i,return:""}}function W(e,n){return P(K("",null,null,"",null,null,0),e,{length:-e.length},n)}function $(){return H=G>0?j(q,--G):0,z--,10===H&&(z=1,B--),H}function Y(){return H=G<V?j(q,G++):0,z++,10===H&&(z=1,B++),H}function Q(){return j(q,G)}function J(){return G}function Z(e,n){return N(q,e,n)}function X(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ee(e){return B=z=1,V=L(q=e),G=0,[]}function ne(e){return q="",e}function te(e){return M(Z(G-1,ae(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(H=Q())&&H<33;)Y();return X(e)>2||X(H)>3?"":" "}function re(e,n){for(;--n&&Y()&&!(H<48||H>102||H>57&&H<65||H>70&&H<97););return Z(e,J()+(n<6&&32==Q()&&32==Y()))}function ae(e){for(;Y();)switch(H){case e:return G;case 34:case 39:34!==e&&39!==e&&ae(H);break;case 40:41===e&&ae(e);break;case 92:Y()}return G}function ie(e,n){for(;Y()&&e+H!==57&&(e+H!==84||47!==Q()););return"/*"+Z(n,G-1)+"*"+T(47===e?e:Y())}function se(e){for(;!X(Q());)Y();return Z(e,G)}function ce(e){return ne(ue("",null,null,null,[""],e=ee(e),0,[0],e))}function ue(e,n,t,o,r,a,i,s,c){for(var u=0,l=0,d=i,p=0,m=0,h=0,f=1,g=1,v=1,y=0,b="",C=r,w=a,S=o,_=b;g;)switch(h=y,y=Y()){case 40:if(108!=h&&58==_.charCodeAt(d-1)){-1!=R(_+=I(te(y),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:_+=te(y);break;case 9:case 10:case 13:case 32:_+=oe(h);break;case 92:_+=re(J()-1,7);continue;case 47:switch(Q()){case 42:case 47:U(de(ie(Y(),J()),n,t),c);break;default:_+="/"}break;case 123*f:s[u++]=L(_)*v;case 125*f:case 59:case 0:switch(y){case 0:case 125:g=0;case 59+l:m>0&&L(_)-d&&U(m>32?pe(_+";",o,t,d-1):pe(I(_," ","")+";",o,t,d-2),c);break;case 59:_+=";";default:if(U(S=le(_,n,t,u,l,r,s,b,C=[],w=[],d),a),123===y)if(0===l)ue(_,n,S,S,C,a,d,s,w);else switch(p){case 100:case 109:case 115:ue(e,S,S,o&&U(le(e,S,S,0,0,r,s,b,r,C=[],d),w),r,w,d,s,o?C:w);break;default:ue(_,S,S,S,[""],w,0,s,w)}}u=l=m=0,f=v=1,b=_="",d=i;break;case 58:d=1+L(_),m=h;default:if(f<1)if(123==y)--f;else if(125==y&&0==f++&&125==$())continue;switch(_+=T(y),y*f){case 38:v=l>0?1:(_+="\f",-1);break;case 44:s[u++]=(L(_)-1)*v,v=1;break;case 64:45===Q()&&(_+=te(Y())),p=Q(),l=d=L(b=_+=se(J())),y++;break;case 45:45===h&&2==L(_)&&(f=0)}}return a}function le(e,n,t,o,r,a,i,s,c,u,l){for(var d=r-1,p=0===r?a:[""],m=F(p),h=0,f=0,g=0;h<o;++h)for(var v=0,y=N(e,d+1,d=k(f=i[h])),b=e;v<m;++v)(b=M(f>0?p[v]+" "+y:I(y,/&\f/g,p[v])))&&(c[g++]=b);return K(e,n,t,0===r?x:s,c,u,l)}function de(e,n,t){return K(e,n,t,E,T(H),N(e,2,-2),0)}function pe(e,n,t,o){return K(e,n,t,O,N(e,0,o),N(e,o+1,-1),o)}function me(e,n){switch(function(e,n){return(((n<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3)}(e,n)){case 5103:return _+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return _+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _+e+S+e+w+e+e;case 6828:case 4268:return _+e+w+e+e;case 6165:return _+e+w+"flex-"+e+e;case 5187:return _+e+I(e,/(\w+).+(:[^]+)/,_+"box-$1$2"+w+"flex-$1$2")+e;case 5443:return _+e+w+"flex-item-"+I(e,/flex-|-self/,"")+e;case 4675:return _+e+w+"flex-line-pack"+I(e,/align-content|flex-|-self/,"")+e;case 5548:return _+e+w+I(e,"shrink","negative")+e;case 5292:return _+e+w+I(e,"basis","preferred-size")+e;case 6060:return _+"box-"+I(e,"-grow","")+_+e+w+I(e,"grow","positive")+e;case 4554:return _+I(e,/([^-])(transform)/g,"$1"+_+"$2")+e;case 6187:return I(I(I(e,/(zoom-|grab)/,_+"$1"),/(image-set)/,_+"$1"),e,"")+e;case 5495:case 3959:return I(e,/(image-set\([^]*)/,_+"$1$`$1");case 4968:return I(I(e,/(.+:)(flex-)?(.*)/,_+"box-pack:$3"+w+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_+e+e;case 4095:case 3583:case 4068:case 2532:return I(e,/(.+)-inline(.+)/,_+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(L(e)-1-n>6)switch(j(e,n+1)){case 109:if(45!==j(e,n+4))break;case 102:return I(e,/(.+:)(.+)-([^]+)/,"$1"+_+"$2-$3$1"+S+(108==j(e,n+3)?"$3":"$2-$3"))+e;case 115:return~R(e,"stretch")?me(I(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(115!==j(e,n+1))break;case 6444:switch(j(e,L(e)-3-(~R(e,"!important")&&10))){case 107:return I(e,":",":"+_)+e;case 101:return I(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_+(45===j(e,14)?"inline-":"")+"box$3$1"+_+"$2$3$1"+w+"$2box$3")+e}break;case 5936:switch(j(e,n+11)){case 114:return _+e+w+I(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _+e+w+I(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _+e+w+I(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _+e+w+e+e}return e}function he(e,n){for(var t="",o=F(e),r=0;r<o;r++)t+=n(e[r],r,e,n)||"";return t}function fe(e,n,t,o){switch(e.type){case"@import":case O:return e.return=e.return||e.value;case E:return"";case A:return e.return=e.value+"{"+he(e.children,o)+"}";case x:e.value=e.props.join(",")}return L(t=he(e.children,o))?e.return=e.value+"{"+t+"}":""}function ge(e){return function(n){n.root||(n=n.return)&&e(n)}}var ve=function(e){var n=Object.create(null);return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}},ye=function(e,n,t){for(var o=0,r=0;o=r,r=Q(),38===o&&12===r&&(n[t]=1),!X(r);)Y();return Z(e,G)},be=function(e,n){return ne(function(e,n){var t=-1,o=44;do{switch(X(o)){case 0:38===o&&12===Q()&&(n[t]=1),e[t]+=ye(G-1,n,t);break;case 2:e[t]+=te(o);break;case 4:if(44===o){e[++t]=58===Q()?"&\f":"",n[t]=e[t].length;break}default:e[t]+=T(o)}}while(o=Y());return e}(ee(e),n))},Ce=new WeakMap,we=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,t=e.parent,o=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||Ce.get(t))&&!o){Ce.set(e,!0);for(var r=[],a=be(n,r),i=t.props,s=0,c=0;s<a.length;s++)for(var u=0;u<i.length;u++,c++)e.props[c]=r[s]?a[s].replace(/&\f/g,i[u]):i[u]+" "+a[s]}}},Se=function(e){if("decl"===e.type){var n=e.value;108===n.charCodeAt(0)&&98===n.charCodeAt(2)&&(e.return="",e.value="")}},_e=[function(e,n,t,o){if(e.length>-1&&!e.return)switch(e.type){case O:e.return=me(e.value,e.length);break;case A:return he([W(e,{value:I(e.value,"@","@"+_)})],o);case x:if(e.length)return D(e.props,(function(n){switch(function(e,n){return(e=n.exec(e))?e[0]:e}(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return he([W(e,{props:[I(n,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return he([W(e,{props:[I(n,/:(plac\w+)/,":"+_+"input-$1")]}),W(e,{props:[I(n,/:(plac\w+)/,":-moz-$1")]}),W(e,{props:[I(n,/:(plac\w+)/,w+"input-$1")]})],o)}return""}))}}],Ee=function(e){var n=e.key;if("css"===n){var t=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||_e;var r,a,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),(function(e){for(var n=e.getAttribute("data-emotion").split(" "),t=1;t<n.length;t++)i[n[t]]=!0;s.push(e)}));var c=[we,Se];var u,l=[fe,ge((function(e){u.insert(e)}))],d=function(e){var n=F(e);return function(t,o,r,a){for(var i="",s=0;s<n;s++)i+=e[s](t,o,r,a)||"";return i}}(c.concat(o,l));a=function(e,n,t,o){u=t,he(ce(e?e+"{"+n.styles+"}":n.styles),d),o&&(p.inserted[n.name]=!0)};var p={key:n,sheet:new C({key:n,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return p.sheet.hydrate(s),p};t(93);function xe(e,n,t){var o="";return t.split(" ").forEach((function(t){void 0!==e[t]?n.push(e[t]+";"):o+=t+" "})),o}var Oe=function(e,n,t){var o=e.key+"-"+n.name;!1===t&&void 0===e.registered[o]&&(e.registered[o]=n.styles)},Ae=function(e,n,t){Oe(e,n,t);var o=e.key+"-"+n.name;if(void 0===e.inserted[n.name]){var r=n;do{e.insert(n===r?"."+o:"",r,e.sheet,!0);r=r.next}while(void 0!==r)}};var ke=function(e){for(var n,t=0,o=0,r=e.length;r>=4;++o,r-=4)n=1540483477*(65535&(n=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(r){case 3:t^=(255&e.charCodeAt(o+2))<<16;case 2:t^=(255&e.charCodeAt(o+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(o)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)},Te={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Pe=/[A-Z]|^ms/g,Me=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ie=function(e){return 45===e.charCodeAt(1)},Re=function(e){return null!=e&&"boolean"!==typeof e},je=ve((function(e){return Ie(e)?e:e.replace(Pe,"-$&").toLowerCase()})),Ne=function(e,n){switch(e){case"animation":case"animationName":if("string"===typeof n)return n.replace(Me,(function(e,n,t){return Fe={name:n,styles:t,next:Fe},n}))}return 1===Te[e]||Ie(e)||"number"!==typeof n||0===n?n:n+"px"};function Le(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return Fe={name:t.name,styles:t.styles,next:Fe},t.name;if(void 0!==t.styles){var o=t.next;if(void 0!==o)for(;void 0!==o;)Fe={name:o.name,styles:o.styles,next:Fe},o=o.next;return t.styles+";"}return function(e,n,t){var o="";if(Array.isArray(t))for(var r=0;r<t.length;r++)o+=Le(e,n,t[r])+";";else for(var a in t){var i=t[a];if("object"!==typeof i)null!=n&&void 0!==n[i]?o+=a+"{"+n[i]+"}":Re(i)&&(o+=je(a)+":"+Ne(a,i)+";");else if(!Array.isArray(i)||"string"!==typeof i[0]||null!=n&&void 0!==n[i[0]]){var s=Le(e,n,i);switch(a){case"animation":case"animationName":o+=je(a)+":"+s+";";break;default:o+=a+"{"+s+"}"}}else for(var c=0;c<i.length;c++)Re(i[c])&&(o+=je(a)+":"+Ne(a,i[c])+";")}return o}(e,n,t);case"function":if(void 0!==e){var r=Fe,a=t(e);return Fe=r,Le(e,n,a)}break;case"string":}if(null==n)return t;var i=n[t];return void 0!==i?i:t}var Fe,Ue=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var De=function(e,n,t){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";Fe=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,r+=Le(t,n,a)):r+=a[0];for(var i=1;i<e.length;i++)r+=Le(t,n,e[i]),o&&(r+=a[i]);Ue.lastIndex=0;for(var s,c="";null!==(s=Ue.exec(r));)c+="-"+s[1];return{name:ke(r)+c,styles:r,next:Fe}},Be={}.hasOwnProperty,ze=Object(l.createContext)("undefined"!==typeof HTMLElement?Ee({key:"css"}):null);ze.Provider;var Ve=function(e){return Object(l.forwardRef)((function(n,t){var o=Object(l.useContext)(ze);return e(n,o,t)}))},Ge=Object(l.createContext)({});var He=l.useInsertionEffect?l.useInsertionEffect:function(e){e()};function qe(e){He(e)}var Ke="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",We=function(e,n){var t={};for(var o in n)Be.call(n,o)&&(t[o]=n[o]);return t[Ke]=e,t},$e=function(e){var n=e.cache,t=e.serialized,o=e.isStringTag;Oe(n,t,o);qe((function(){return Ae(n,t,o)}));return null},Ye=Ve((function(e,n,t){var o=e.css;"string"===typeof o&&void 0!==n.registered[o]&&(o=n.registered[o]);var r=e[Ke],a=[o],i="";"string"===typeof e.className?i=xe(n.registered,a,e.className):null!=e.className&&(i=e.className+" ");var s=De(a,void 0,Object(l.useContext)(Ge));i+=n.key+"-"+s.name;var c={};for(var u in e)Be.call(e,u)&&"css"!==u&&u!==Ke&&(c[u]=e[u]);return c.ref=t,c.className=i,Object(l.createElement)(l.Fragment,null,Object(l.createElement)($e,{cache:n,serialized:s,isStringTag:"string"===typeof r}),Object(l.createElement)(r,c))}));t(642);var Qe=function(e,n){var t=arguments;if(null==n||!Be.call(n,"css"))return l.createElement.apply(void 0,t);var o=t.length,r=new Array(o);r[0]=Ye,r[1]=We(e,n);for(var a=2;a<o;a++)r[a]=t[a];return l.createElement.apply(null,r)};l.useInsertionEffect?l.useInsertionEffect:l.useLayoutEffect;function Je(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return De(n)}var Ze=t(53),Xe=t(8),en=(t(5),t(10),t(21)),nn=t(3),tn=Math.min,on=Math.max,rn=Math.round,an=Math.floor,sn=function(e){return{x:e,y:e}};function cn(e){return Object(nn.a)(Object(nn.a)({},e),{},{top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height})}t(27),t(31);function un(e){return pn(e)?(e.nodeName||"").toLowerCase():"#document"}function ln(e){var n;return(null==e||null==(n=e.ownerDocument)?void 0:n.defaultView)||window}function dn(e){var n;return null==(n=(pn(e)?e.ownerDocument:e.document)||window.document)?void 0:n.documentElement}function pn(e){return e instanceof Node||e instanceof ln(e).Node}function mn(e){return e instanceof Element||e instanceof ln(e).Element}function hn(e){return e instanceof HTMLElement||e instanceof ln(e).HTMLElement}function fn(e){return"undefined"!==typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ln(e).ShadowRoot)}function gn(e){var n=bn(e),t=n.overflow,o=n.overflowX,r=n.overflowY,a=n.display;return/auto|scroll|overlay|hidden|clip/.test(t+r+o)&&!["inline","contents"].includes(a)}function vn(){return!("undefined"===typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function yn(e){return["html","body","#document"].includes(un(e))}function bn(e){return ln(e).getComputedStyle(e)}function Cn(e){if("html"===un(e))return e;var n=e.assignedSlot||e.parentNode||fn(e)&&e.host||dn(e);return fn(n)?n.host:n}function wn(e){var n=Cn(e);return yn(n)?e.ownerDocument?e.ownerDocument.body:e.body:hn(n)&&gn(n)?n:wn(n)}function Sn(e,n,t){var o;void 0===n&&(n=[]),void 0===t&&(t=!0);var r=wn(e),a=r===(null==(o=e.ownerDocument)?void 0:o.body),i=ln(r);return a?n.concat(i,i.visualViewport||[],gn(r)?r:[],i.frameElement&&t?Sn(i.frameElement):[]):n.concat(r,Sn(r,[],t))}function _n(e){var n=bn(e),t=parseFloat(n.width)||0,o=parseFloat(n.height)||0,r=hn(e),a=r?e.offsetWidth:t,i=r?e.offsetHeight:o,s=rn(t)!==a||rn(o)!==i;return s&&(t=a,o=i),{width:t,height:o,$:s}}function En(e){return mn(e)?e:e.contextElement}function xn(e){var n=En(e);if(!hn(n))return sn(1);var t=n.getBoundingClientRect(),o=_n(n),r=o.width,a=o.height,i=o.$,s=(i?rn(t.width):t.width)/r,c=(i?rn(t.height):t.height)/a;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}var On=sn(0);function An(e){var n=ln(e);return vn()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:On}function kn(e,n,t,o){void 0===n&&(n=!1),void 0===t&&(t=!1);var r=e.getBoundingClientRect(),a=En(e),i=sn(1);n&&(o?mn(o)&&(i=xn(o)):i=xn(e));var s=function(e,n,t){return void 0===n&&(n=!1),!(!t||n&&t!==ln(e))&&n}(a,t,o)?An(a):sn(0),c=(r.left+s.x)/i.x,u=(r.top+s.y)/i.y,l=r.width/i.x,d=r.height/i.y;if(a)for(var p=ln(a),m=o&&mn(o)?ln(o):o,h=p.frameElement;h&&o&&m!==p;){var f=xn(h),g=h.getBoundingClientRect(),v=bn(h),y=g.left+(h.clientLeft+parseFloat(v.paddingLeft))*f.x,b=g.top+(h.clientTop+parseFloat(v.paddingTop))*f.y;c*=f.x,u*=f.y,l*=f.x,d*=f.y,c+=y,u+=b,h=ln(h).frameElement}return cn({width:l,height:d,x:c,y:u})}function Tn(e,n,t,o){void 0===o&&(o={});var r=o,a=r.ancestorScroll,i=void 0===a||a,s=r.ancestorResize,c=void 0===s||s,u=r.elementResize,l=void 0===u?"function"===typeof ResizeObserver:u,d=r.layoutShift,p=void 0===d?"function"===typeof IntersectionObserver:d,m=r.animationFrame,h=void 0!==m&&m,f=En(e),g=i||c?[].concat(Object(en.a)(f?Sn(f):[]),Object(en.a)(Sn(n))):[];g.forEach((function(e){i&&e.addEventListener("scroll",t,{passive:!0}),c&&e.addEventListener("resize",t)}));var v,y=f&&p?function(e,n){var t,o=null,r=dn(e);function a(){clearTimeout(t),o&&o.disconnect(),o=null}return function i(s,c){void 0===s&&(s=!1),void 0===c&&(c=1),a();var u=e.getBoundingClientRect(),l=u.left,d=u.top,p=u.width,m=u.height;if(s||n(),p&&m){var h={rootMargin:-an(d)+"px "+-an(r.clientWidth-(l+p))+"px "+-an(r.clientHeight-(d+m))+"px "+-an(l)+"px",threshold:on(0,tn(1,c))||1},f=!0;try{o=new IntersectionObserver(g,Object(nn.a)(Object(nn.a)({},h),{},{root:r.ownerDocument}))}catch(w){o=new IntersectionObserver(g,h)}o.observe(e)}function g(e){var n=e[0].intersectionRatio;if(n!==c){if(!f)return i();n?i(!1,n):t=setTimeout((function(){i(!1,1e-7)}),100)}f=!1}}(!0),a}(f,t):null,b=-1,C=null;l&&(C=new ResizeObserver((function(e){var o=Object(Xe.a)(e,1)[0];o&&o.target===f&&C&&(C.unobserve(n),cancelAnimationFrame(b),b=requestAnimationFrame((function(){C&&C.observe(n)}))),t()})),f&&!h&&C.observe(f),C.observe(n));var S=h?kn(e):null;return h&&function n(){var o=kn(e);!S||o.x===S.x&&o.y===S.y&&o.width===S.width&&o.height===S.height||t();S=o,v=requestAnimationFrame(n)}(),t(),function(){g.forEach((function(e){i&&e.removeEventListener("scroll",t),c&&e.removeEventListener("resize",t)})),y&&y(),C&&C.disconnect(),C=null,h&&cancelAnimationFrame(v)}}var Pn=l.useLayoutEffect,Mn=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],In=function(){};function Rn(e,n){return n?"-"===n[0]?e+n:e+"__"+n:e}function jn(e,n){for(var t=arguments.length,o=new Array(t>2?t-2:0),r=2;r<t;r++)o[r-2]=arguments[r];var a=[].concat(o);if(n&&e)for(var i in n)n.hasOwnProperty(i)&&n[i]&&a.push("".concat(Rn(e,i)));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var Nn=function(e){return n=e,Array.isArray(n)?e.filter(Boolean):"object"===g(e)&&null!==e?[e]:[];var n},Ln=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,a({},u(e,Mn))},Fn=function(e,n,t){var o=e.cx,r=e.getStyles,a=e.getClassNames,i=e.className;return{css:r(n,e),className:o(null!==t&&void 0!==t?t:{},a(n,e),i)}};function Un(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Dn(e){return Un(e)?window.pageYOffset:e.scrollTop}function Bn(e,n){Un(e)?window.scrollTo(0,n):e.scrollTop=n}function zn(e,n,t,o){return t*((e=e/o-1)*e*e+1)+n}function Vn(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:In,r=Dn(e),a=n-r,i=10,s=0;function c(){var n=zn(s+=i,r,a,t);Bn(e,n),s<t?window.requestAnimationFrame(c):o(e)}c()}function Gn(e,n){var t=e.getBoundingClientRect(),o=n.getBoundingClientRect(),r=n.offsetHeight/3;o.bottom+r>t.bottom?Bn(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<t.top&&Bn(e,Math.max(n.offsetTop-r,0))}function Hn(){try{return document.createEvent("TouchEvent"),!0}catch(w){return!1}}var qn=!1,Kn={get passive(){return qn=!0}},Wn="undefined"!==typeof window?window:{};Wn.addEventListener&&Wn.removeEventListener&&(Wn.addEventListener("p",In,Kn),Wn.removeEventListener("p",In,!1));var $n=qn;function Yn(e){return null!=e}function Qn(e,n,t){return e?n:t}var Jn=["children","innerProps"],Zn=["children","innerProps"];function Xn(e){var n=e.maxHeight,t=e.menuEl,o=e.minHeight,r=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,c=function(e){var n=getComputedStyle(e),t="absolute"===n.position,o=/(auto|scroll)/;if("fixed"===n.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(n=getComputedStyle(r),(!t||"static"!==n.position)&&o.test(n.overflow+n.overflowY+n.overflowX))return r;return document.documentElement}(t),u={placement:"bottom",maxHeight:n};if(!t||!t.offsetParent)return u;var l,d=c.getBoundingClientRect().height,p=t.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=t.offsetParent.getBoundingClientRect().top,v=i?window.innerHeight:Un(l=c)?window.innerHeight:l.clientHeight,y=Dn(c),b=parseInt(getComputedStyle(t).marginBottom,10),C=parseInt(getComputedStyle(t).marginTop,10),w=g-C,S=v-f,_=w+y,E=d-y-f,x=m-v+y+b,O=y+f-C,A=160;switch(r){case"auto":case"bottom":if(S>=h)return{placement:"bottom",maxHeight:n};if(E>=h&&!i)return a&&Vn(c,x,A),{placement:"bottom",maxHeight:n};if(!i&&E>=o||i&&S>=o)return a&&Vn(c,x,A),{placement:"bottom",maxHeight:i?S-b:E-b};if("auto"===r||i){var k=n,T=i?w:_;return T>=o&&(k=Math.min(T-b-s,n)),{placement:"top",maxHeight:k}}if("bottom"===r)return a&&Bn(c,x),{placement:"bottom",maxHeight:n};break;case"top":if(w>=h)return{placement:"top",maxHeight:n};if(_>=h&&!i)return a&&Vn(c,O,A),{placement:"top",maxHeight:n};if(!i&&_>=o||i&&w>=o){var P=n;return(!i&&_>=o||i&&w>=o)&&(P=i?w-C:_-C),a&&Vn(c,O,A),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return u}var et,nt=function(e){return"auto"===e?"bottom":e},tt=Object(l.createContext)(null),ot=function(e){var n=e.children,t=e.minMenuHeight,o=e.maxMenuHeight,r=e.menuPlacement,i=e.menuPosition,s=e.menuShouldScrollIntoView,u=e.theme,d=(Object(l.useContext)(tt)||{}).setPortalPlacement,p=Object(l.useRef)(null),m=c(Object(l.useState)(o),2),h=m[0],f=m[1],g=c(Object(l.useState)(null),2),v=g[0],y=g[1],b=u.spacing.controlHeight;return Pn((function(){var e=p.current;if(e){var n="fixed"===i,a=Xn({maxHeight:o,menuEl:e,minHeight:t,placement:r,shouldScroll:s&&!n,isFixedPosition:n,controlHeight:b});f(a.maxHeight),y(a.placement),null===d||void 0===d||d(a.placement)}}),[o,r,i,s,t,d,b]),n({ref:p,placerProps:a(a({},e),{},{placement:v||nt(r),maxHeight:h})})},rt=function(e){var n=e.children,t=e.innerRef,o=e.innerProps;return Qe("div",p({},Fn(e,"menu",{menu:!0}),{ref:t},o),n)},at=function(e,n){var t=e.theme,o=t.spacing.baseUnit,r=t.colors;return a({textAlign:"center"},n?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},it=at,st=at,ct=["size"],ut=["innerProps","isRtl","size"];var lt,dt,pt={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},mt=function(e){var n=e.size,t=u(e,ct);return Qe("svg",p({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:pt},t))},ht=function(e){return Qe(mt,p({size:20},e),Qe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ft=function(e){return Qe(mt,p({size:20},e),Qe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},gt=function(e,n){var t=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return a({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:t?i.neutral60:i.neutral20,padding:2*r,":hover":{color:t?i.neutral80:i.neutral40}})},vt=gt,yt=gt,bt=function(){var e=Je.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(et||(lt=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],dt||(dt=lt.slice(0)),et=Object.freeze(Object.defineProperties(lt,{raw:{value:Object.freeze(dt)}})))),Ct=function(e){var n=e.delay,t=e.offset;return Qe("span",{css:Je({animation:"".concat(bt," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:t?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},wt=function(e){var n=e.children,t=e.isDisabled,o=e.isFocused,r=e.innerRef,a=e.innerProps,i=e.menuIsOpen;return Qe("div",p({ref:r},Fn(e,"control",{control:!0,"control--is-disabled":t,"control--is-focused":o,"control--menu-is-open":i}),a,{"aria-disabled":t||void 0}),n)},St=["data"],_t=function(e){var n=e.children,t=e.cx,o=e.getStyles,r=e.getClassNames,a=e.Heading,i=e.headingProps,s=e.innerProps,c=e.label,u=e.theme,l=e.selectProps;return Qe("div",p({},Fn(e,"group",{group:!0}),s),Qe(a,p({},i,{selectProps:l,theme:u,getStyles:o,getClassNames:r,cx:t}),c),Qe("div",null,n))},Et=["innerRef","isDisabled","isHidden","inputClassName"],xt={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ot={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":a({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},xt)},At=function(e){return a({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},xt)},kt=function(e){var n=e.children,t=e.innerProps;return Qe("div",t,n)};var Tt={ClearIndicator:function(e){var n=e.children,t=e.innerProps;return Qe("div",p({},Fn(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),t),n||Qe(ht,null))},Control:wt,DropdownIndicator:function(e){var n=e.children,t=e.innerProps;return Qe("div",p({},Fn(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),t),n||Qe(ft,null))},DownChevron:ft,CrossIcon:ht,Group:_t,GroupHeading:function(e){var n=Ln(e);n.data;var t=u(n,St);return Qe("div",p({},Fn(e,"groupHeading",{"group-heading":!0}),t))},IndicatorsContainer:function(e){var n=e.children,t=e.innerProps;return Qe("div",p({},Fn(e,"indicatorsContainer",{indicators:!0}),t),n)},IndicatorSeparator:function(e){var n=e.innerProps;return Qe("span",p({},n,Fn(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var n=e.cx,t=e.value,o=Ln(e),r=o.innerRef,a=o.isDisabled,i=o.isHidden,s=o.inputClassName,c=u(o,Et);return Qe("div",p({},Fn(e,"input",{"input-container":!0}),{"data-value":t||""}),Qe("input",p({className:n({input:!0},s),ref:r,style:At(i),disabled:a},c)))},LoadingIndicator:function(e){var n=e.innerProps,t=e.isRtl,o=e.size,r=void 0===o?4:o,i=u(e,ut);return Qe("div",p({},Fn(a(a({},i),{},{innerProps:n,isRtl:t,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),Qe(Ct,{delay:0,offset:t}),Qe(Ct,{delay:160,offset:!0}),Qe(Ct,{delay:320,offset:!t}))},Menu:rt,MenuList:function(e){var n=e.children,t=e.innerProps,o=e.innerRef,r=e.isMulti;return Qe("div",p({},Fn(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},t),n)},MenuPortal:function(e){var n=e.appendTo,t=e.children,o=e.controlElement,r=e.innerProps,i=e.menuPlacement,s=e.menuPosition,u=Object(l.useRef)(null),d=Object(l.useRef)(null),m=c(Object(l.useState)(nt(i)),2),h=m[0],f=m[1],g=Object(l.useMemo)((function(){return{setPortalPlacement:f}}),[]),v=c(Object(l.useState)(null),2),y=v[0],b=v[1],C=Object(l.useCallback)((function(){if(o){var e=function(e){var n=e.getBoundingClientRect();return{bottom:n.bottom,height:n.height,left:n.left,right:n.right,top:n.top,width:n.width}}(o),n="fixed"===s?0:window.pageYOffset,t=e[h]+n;t===(null===y||void 0===y?void 0:y.offset)&&e.left===(null===y||void 0===y?void 0:y.rect.left)&&e.width===(null===y||void 0===y?void 0:y.rect.width)||b({offset:t,rect:e})}}),[o,s,h,null===y||void 0===y?void 0:y.offset,null===y||void 0===y?void 0:y.rect.left,null===y||void 0===y?void 0:y.rect.width]);Pn((function(){C()}),[C]);var w=Object(l.useCallback)((function(){"function"===typeof d.current&&(d.current(),d.current=null),o&&u.current&&(d.current=Tn(o,u.current,C,{elementResize:"ResizeObserver"in window}))}),[o,C]);Pn((function(){w()}),[w]);var S=Object(l.useCallback)((function(e){u.current=e,w()}),[w]);if(!n&&"fixed"!==s||!y)return null;var _=Qe("div",p({ref:S},Fn(a(a({},e),{},{offset:y.offset,position:s,rect:y.rect}),"menuPortal",{"menu-portal":!0}),r),t);return Qe(tt.Provider,{value:g},n?Object(Ze.createPortal)(_,n):_)},LoadingMessage:function(e){var n=e.children,t=void 0===n?"Loading...":n,o=e.innerProps,r=u(e,Zn);return Qe("div",p({},Fn(a(a({},r),{},{children:t,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),t)},NoOptionsMessage:function(e){var n=e.children,t=void 0===n?"No options":n,o=e.innerProps,r=u(e,Jn);return Qe("div",p({},Fn(a(a({},r),{},{children:t,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),t)},MultiValue:function(e){var n=e.children,t=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,s=e.removeProps,c=e.selectProps,u=t.Container,l=t.Label,d=t.Remove;return Qe(u,{data:o,innerProps:a(a({},Fn(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:c},Qe(l,{data:o,innerProps:a({},Fn(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},n),Qe(d,{data:o,innerProps:a(a({},Fn(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},s),selectProps:c}))},MultiValueContainer:kt,MultiValueLabel:kt,MultiValueRemove:function(e){var n=e.children,t=e.innerProps;return Qe("div",p({role:"button"},t),n||Qe(ht,{size:14}))},Option:function(e){var n=e.children,t=e.isDisabled,o=e.isFocused,r=e.isSelected,a=e.innerRef,i=e.innerProps;return Qe("div",p({},Fn(e,"option",{option:!0,"option--is-disabled":t,"option--is-focused":o,"option--is-selected":r}),{ref:a,"aria-disabled":t},i),n)},Placeholder:function(e){var n=e.children,t=e.innerProps;return Qe("div",p({},Fn(e,"placeholder",{placeholder:!0}),t),n)},SelectContainer:function(e){var n=e.children,t=e.innerProps,o=e.isDisabled,r=e.isRtl;return Qe("div",p({},Fn(e,"container",{"--is-disabled":o,"--is-rtl":r}),t),n)},SingleValue:function(e){var n=e.children,t=e.isDisabled,o=e.innerProps;return Qe("div",p({},Fn(e,"singleValue",{"single-value":!0,"single-value--is-disabled":t}),o),n)},ValueContainer:function(e){var n=e.children,t=e.innerProps,o=e.isMulti,r=e.hasValue;return Qe("div",p({},Fn(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),t),n)}},Pt=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function Mt(e,n){if(e.length!==n.length)return!1;for(var t=0;t<e.length;t++)if(o=e[t],r=n[t],!(o===r||Pt(o)&&Pt(r)))return!1;var o,r;return!0}for(var It={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},Rt=function(e){return Qe("span",p({css:It},e))},jt={guidance:function(e){var n=e.isSearchable,t=e.isMulti,o=e.tabSelectsValue,r=e.context,a=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(t?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var n=e.action,t=e.label,o=void 0===t?"":t,r=e.labels,a=e.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var n=e.context,t=e.focused,o=e.options,r=e.label,a=void 0===r?"":r,i=e.selectValue,s=e.isDisabled,c=e.isSelected,u=e.isAppleDevice,l=function(e,n){return e&&e.length?"".concat(e.indexOf(n)+1," of ").concat(e.length):""};if("value"===n&&i)return"value ".concat(a," focused, ").concat(l(i,t),".");if("menu"===n&&u){var d=s?" disabled":"",p="".concat(c?" selected":"").concat(d);return"".concat(a).concat(p,", ").concat(l(o,t),".")}return""},onFilter:function(e){var n=e.inputValue,t=e.resultsMessage;return"".concat(t).concat(n?" for search term "+n:"",".")}},Nt=function(e){var n=e.ariaSelection,t=e.focusedOption,o=e.focusedValue,r=e.focusableOptions,i=e.isFocused,s=e.selectValue,c=e.selectProps,u=e.id,d=e.isAppleDevice,p=c.ariaLiveMessages,m=c.getOptionLabel,h=c.inputValue,f=c.isMulti,g=c.isOptionDisabled,v=c.isSearchable,y=c.menuIsOpen,b=c.options,C=c.screenReaderStatus,w=c.tabSelectsValue,S=c.isLoading,_=c["aria-label"],E=c["aria-live"],x=Object(l.useMemo)((function(){return a(a({},jt),p||{})}),[p]),O=Object(l.useMemo)((function(){var e,t="";if(n&&x.onChange){var o=n.option,r=n.options,i=n.removedValue,c=n.removedValues,u=n.value,l=i||o||(e=u,Array.isArray(e)?null:e),d=l?m(l):"",p=r||c||void 0,h=p?p.map(m):[],f=a({isDisabled:l&&g(l,s),label:d,labels:h},n);t=x.onChange(f)}return t}),[n,x,g,s,m]),A=Object(l.useMemo)((function(){var e="",n=t||o,a=!!(t&&s&&s.includes(t));if(n&&x.onFocus){var i={focused:n,label:m(n),isDisabled:g(n,s),isSelected:a,options:r,context:n===t?"menu":"value",selectValue:s,isAppleDevice:d};e=x.onFocus(i)}return e}),[t,o,m,g,x,r,s,d]),k=Object(l.useMemo)((function(){var e="";if(y&&b.length&&!S&&x.onFilter){var n=C({count:r.length});e=x.onFilter({inputValue:h,resultsMessage:n})}return e}),[r,h,y,x,b,C,S]),T="initial-input-focus"===(null===n||void 0===n?void 0:n.action),P=Object(l.useMemo)((function(){var e="";if(x.guidance){var n=o?"value":y?"menu":"input";e=x.guidance({"aria-label":_,context:n,isDisabled:t&&g(t,s),isMulti:f,isSearchable:v,tabSelectsValue:w,isInitialFocus:T})}return e}),[_,t,o,f,g,v,y,x,s,w,T]),M=Qe(l.Fragment,null,Qe("span",{id:"aria-selection"},O),Qe("span",{id:"aria-focused"},A),Qe("span",{id:"aria-results"},k),Qe("span",{id:"aria-guidance"},P));return Qe(l.Fragment,null,Qe(Rt,{id:u},T&&M),Qe(Rt,{"aria-live":E,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!T&&M))},Lt=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],Ft=new RegExp("["+Lt.map((function(e){return e.letters})).join("")+"]","g"),Ut={},Dt=0;Dt<Lt.length;Dt++)for(var Bt=Lt[Dt],zt=0;zt<Bt.letters.length;zt++)Ut[Bt.letters[zt]]=Bt.base;var Vt=function(e){return e.replace(Ft,(function(e){return Ut[e]}))},Gt=function(e,n){void 0===n&&(n=Mt);var t=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(t&&t.lastThis===this&&n(o,t.lastArgs))return t.lastResult;var a=e.apply(this,o);return t={lastResult:a,lastArgs:o,lastThis:this},a}return o.clear=function(){t=null},o}(Vt),Ht=function(e){return e.replace(/^\s+|\s+$/g,"")},qt=function(e){return"".concat(e.label," ").concat(e.value)},Kt=["innerRef"];function Wt(e){var n=e.innerRef,t=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return Object.entries(e).filter((function(e){var n=c(e,1)[0];return!t.includes(n)})).reduce((function(e,n){var t=c(n,2),o=t[0],r=t[1];return e[o]=r,e}),{})}(u(e,Kt),"onExited","in","enter","exit","appear");return Qe("input",p({ref:n},t,{css:Je({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var $t=["boxSizing","height","overflow","paddingRight","position"],Yt={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Qt(e){e.preventDefault()}function Jt(e){e.stopPropagation()}function Zt(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;0===e?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function Xt(){return"ontouchstart"in window||navigator.maxTouchPoints}var eo=!("undefined"===typeof window||!window.document||!window.document.createElement),no=0,to={capture:!1,passive:!1};var oo=function(e){var n=e.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},ro={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function ao(e){var n=e.children,t=e.lockEnabled,o=e.captureEnabled,r=function(e){var n=e.isEnabled,t=e.onBottomArrive,o=e.onBottomLeave,r=e.onTopArrive,a=e.onTopLeave,i=Object(l.useRef)(!1),s=Object(l.useRef)(!1),c=Object(l.useRef)(0),u=Object(l.useRef)(null),d=Object(l.useCallback)((function(e,n){if(null!==u.current){var c=u.current,l=c.scrollTop,d=c.scrollHeight,p=c.clientHeight,m=u.current,h=n>0,f=d-p-l,g=!1;f>n&&i.current&&(o&&o(e),i.current=!1),h&&s.current&&(a&&a(e),s.current=!1),h&&n>f?(t&&!i.current&&t(e),m.scrollTop=d,g=!0,i.current=!0):!h&&-n>l&&(r&&!s.current&&r(e),m.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[t,o,r,a]),p=Object(l.useCallback)((function(e){d(e,e.deltaY)}),[d]),m=Object(l.useCallback)((function(e){c.current=e.changedTouches[0].clientY}),[]),h=Object(l.useCallback)((function(e){var n=c.current-e.changedTouches[0].clientY;d(e,n)}),[d]),f=Object(l.useCallback)((function(e){if(e){var n=!!$n&&{passive:!1};e.addEventListener("wheel",p,n),e.addEventListener("touchstart",m,n),e.addEventListener("touchmove",h,n)}}),[h,m,p]),g=Object(l.useCallback)((function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",h,!1))}),[h,m,p]);return Object(l.useEffect)((function(){if(n){var e=u.current;return f(e),function(){g(e)}}}),[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===o||o,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,t=e.accountForScrollbars,o=void 0===t||t,r=Object(l.useRef)({}),a=Object(l.useRef)(null),i=Object(l.useCallback)((function(e){if(eo){var n=document.body,t=n&&n.style;if(o&&$t.forEach((function(e){var n=t&&t[e];r.current[e]=n})),o&&no<1){var a=parseInt(r.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+a||0;Object.keys(Yt).forEach((function(e){var n=Yt[e];t&&(t[e]=n)})),t&&(t.paddingRight="".concat(s,"px"))}n&&Xt()&&(n.addEventListener("touchmove",Qt,to),e&&(e.addEventListener("touchstart",Zt,to),e.addEventListener("touchmove",Jt,to))),no+=1}}),[o]),s=Object(l.useCallback)((function(e){if(eo){var n=document.body,t=n&&n.style;no=Math.max(no-1,0),o&&no<1&&$t.forEach((function(e){var n=r.current[e];t&&(t[e]=n)})),n&&Xt()&&(n.removeEventListener("touchmove",Qt,to),e&&(e.removeEventListener("touchstart",Zt,to),e.removeEventListener("touchmove",Jt,to)))}}),[o]);return Object(l.useEffect)((function(){if(n){var e=a.current;return i(e),function(){s(e)}}}),[n,i,s]),function(e){a.current=e}}({isEnabled:t});return Qe(l.Fragment,null,t&&Qe("div",{onClick:oo,css:ro}),n((function(e){r(e),a(e)})))}var io={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},so=function(e){var n=e.name,t=e.onFocus;return Qe("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:t,css:io,value:"",onChange:function(){}})};function co(e){var n;return"undefined"!==typeof window&&null!=window.navigator&&e.test((null===(n=window.navigator.userAgentData)||void 0===n?void 0:n.platform)||window.navigator.platform)}function uo(){return co(/^Mac/i)}function lo(){return co(/^iPhone/i)||co(/^iPad/i)||uo()&&navigator.maxTouchPoints>1}var po={clearIndicator:yt,container:function(e){var n=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},control:function(e,n){var t=e.isDisabled,o=e.isFocused,r=e.theme,i=r.colors,s=r.borderRadius;return a({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:t?i.neutral5:i.neutral0,borderColor:t?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:vt,group:function(e,n){var t=e.theme.spacing;return n?{}:{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e,n){var t=e.theme,o=t.colors,r=t.spacing;return a({label:"group",cursor:"default",display:"block"},n?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,n){var t=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return a({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:t?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,n){var t=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return a(a({visibility:t?"hidden":"visible",transform:o?"translateZ(0)":""},Ot),n?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,n){var t=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.spacing.baseUnit;return a({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},n?{}:{color:t?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:st,menu:function(e,n){var t,r=e.placement,i=e.theme,s=i.borderRadius,c=i.spacing,u=i.colors;return a((o(t={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),o(t,"position","absolute"),o(t,"width","100%"),o(t,"zIndex",1),t),n?{}:{backgroundColor:u.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:c.menuGutter,marginTop:c.menuGutter})},menuList:function(e,n){var t=e.maxHeight,o=e.theme.spacing.baseUnit;return a({maxHeight:t,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var n=e.rect,t=e.offset,o=e.position;return{left:n.left,position:o,top:t,width:n.width,zIndex:1}},multiValue:function(e,n){var t=e.theme,o=t.spacing,r=t.borderRadius,i=t.colors;return a({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,n){var t=e.theme,o=t.borderRadius,r=t.colors,i=e.cropWithEllipsis;return a({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,n){var t=e.theme,o=t.spacing,r=t.borderRadius,i=t.colors,s=e.isFocused;return a({alignItems:"center",display:"flex"},n?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:it,option:function(e,n){var t=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,c=i.colors;return a({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:r?c.primary:o?c.primary25:"transparent",color:t?c.neutral20:r?c.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:t?void 0:r?c.primary:c.primary50}})},placeholder:function(e,n){var t=e.theme,o=t.spacing,r=t.colors;return a({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,n){var t=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return a({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:t?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,n){var t=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return a({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px")})}};var mo,ho={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},fo={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Hn(),captureMenuScroll:!Hn(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,n){if(e.data.__isNew__)return!0;var t=a({ignoreCase:!0,ignoreAccents:!0,stringify:qt,trim:!0,matchFrom:"any"},mo),o=t.ignoreCase,r=t.ignoreAccents,i=t.stringify,s=t.trim,c=t.matchFrom,u=s?Ht(n):n,l=s?Ht(i(e)):i(e);return o&&(u=u.toLowerCase(),l=l.toLowerCase()),r&&(u=Gt(u),l=Vt(l)),"start"===c?l.substr(0,u.length)===u:l.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(w){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var n=e.count;return"".concat(n," result").concat(1!==n?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function go(e,n,t,o){return{type:"option",data:n,isDisabled:Eo(e,n,t),isSelected:xo(e,n,t),label:So(e,n),value:_o(e,n),index:o}}function vo(e,n){return e.options.map((function(t,o){if("options"in t){var r=t.options.map((function(t,o){return go(e,t,n,o)})).filter((function(n){return Co(e,n)}));return r.length>0?{type:"group",data:t,options:r,index:o}:void 0}var a=go(e,t,n,o);return Co(e,a)?a:void 0})).filter(Yn)}function yo(e){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,b(n.options.map((function(e){return e.data})))):e.push(n.data),e}),[])}function bo(e,n){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,b(t.options.map((function(e){return{data:e.data,id:"".concat(n,"-").concat(t.index,"-").concat(e.index)}})))):e.push({data:t.data,id:"".concat(n,"-").concat(t.index)}),e}),[])}function Co(e,n){var t=e.inputValue,o=void 0===t?"":t,r=n.data,a=n.isSelected,i=n.label,s=n.value;return(!Ao(e)||!a)&&Oo(e,{label:i,value:s,data:r},o)}var wo=function(e,n){var t;return(null===(t=e.find((function(e){return e.data===n})))||void 0===t?void 0:t.id)||null},So=function(e,n){return e.getOptionLabel(n)},_o=function(e,n){return e.getOptionValue(n)};function Eo(e,n,t){return"function"===typeof e.isOptionDisabled&&e.isOptionDisabled(n,t)}function xo(e,n,t){if(t.indexOf(n)>-1)return!0;if("function"===typeof e.isOptionSelected)return e.isOptionSelected(n,t);var o=_o(e,n);return t.some((function(n){return _o(e,n)===o}))}function Oo(e,n,t){return!e.filterOption||e.filterOption(n,t)}var Ao=function(e){var n=e.hideSelectedOptions,t=e.isMulti;return void 0===n?t:n},ko=1,To=function(e){!function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&h(e,n)}(i,e);var n,t,o,r=y(i);function i(e){var n;if(function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,i),(n=r.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.isAppleDevice=uo()||lo(),n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var o=n.props,r=o.onChange,a=o.name;t.name=a,n.ariaOnChange(e,t),r(e,t)},n.setValue=function(e,t,o){var r=n.props,a=r.closeMenuOnSelect,i=r.isMulti,s=r.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:s}),a&&(n.setState({inputIsHiddenAfterUpdate:!i}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(e,{action:t,option:o})},n.selectOption=function(e){var t=n.props,o=t.blurInputOnSelect,r=t.isMulti,a=t.name,i=n.state.selectValue,s=r&&n.isOptionSelected(e,i),c=n.isOptionDisabled(e,i);if(s){var u=n.getOptionValue(e);n.setValue(i.filter((function(e){return n.getOptionValue(e)!==u})),"deselect-option",e)}else{if(c)return void n.ariaOnChange(e,{action:"select-option",option:e,name:a});r?n.setValue([].concat(b(i),[e]),"select-option",e):n.setValue(e,"select-option")}o&&n.blurInput()},n.removeValue=function(e){var t=n.props.isMulti,o=n.state.selectValue,r=n.getOptionValue(e),a=o.filter((function(e){return n.getOptionValue(e)!==r})),i=Qn(t,a,a[0]||null);n.onChange(i,{action:"remove-value",removedValue:e}),n.focusInput()},n.clearValue=function(){var e=n.state.selectValue;n.onChange(Qn(n.props.isMulti,[],null),{action:"clear",removedValues:e})},n.popValue=function(){var e=n.props.isMulti,t=n.state.selectValue,o=t[t.length-1],r=t.slice(0,t.length-1),a=Qn(e,r,r[0]||null);n.onChange(a,{action:"pop-value",removedValue:o})},n.getFocusedOptionId=function(e){return wo(n.state.focusableOptionsWithIds,e)},n.getFocusableOptionsWithIds=function(){return bo(vo(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return jn.apply(void 0,[n.props.classNamePrefix].concat(t))},n.getOptionLabel=function(e){return So(n.props,e)},n.getOptionValue=function(e){return _o(n.props,e)},n.getStyles=function(e,t){var o=n.props.unstyled,r=po[e](t,o);r.boxSizing="border-box";var a=n.props.styles[e];return a?a(r,t):r},n.getClassNames=function(e,t){var o,r;return null===(o=(r=n.props.classNames)[e])||void 0===o?void 0:o.call(r,t)},n.getElementId=function(e){return"".concat(n.state.instancePrefix,"-").concat(e)},n.getComponents=function(){return e=n.props,a(a({},Tt),e.components);var e},n.buildCategorizedOptions=function(){return vo(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return yo(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(e,t){n.setState({ariaSelection:a({value:e},t)})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},n.onDropdownIndicatorMouseDown=function(e){if((!e||"mousedown"!==e.type||0===e.button)&&!n.props.isDisabled){var t=n.props,o=t.isMulti,r=t.menuIsOpen;n.focusInput(),r?(n.setState({inputIsHiddenAfterUpdate:!o}),n.onMenuClose()):n.openMenu("first"),e.preventDefault()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.preventDefault(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout((function(){return n.focusInput()})))},n.onScroll=function(e){"boolean"===typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Un(e.target)&&n.props.onMenuClose():"function"===typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches,o=t&&t.item(0);o&&(n.initialTouchX=o.clientX,n.initialTouchY=o.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches,o=t&&t.item(0);if(o){var r=Math.abs(o.clientX-n.initialTouchX),a=Math.abs(o.clientY-n.initialTouchY);n.userIsDragging=r>5||a>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=n.props.inputValue,o=e.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(o,{action:"input-change",prevInputValue:t}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(e){n.props.onFocus&&n.props.onFocus(e),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){var t=n.props.inputValue;n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur",prevInputValue:t}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){if(!n.blockOptionHover&&n.state.focusedOption!==e){var t=n.getFocusableOptions().indexOf(e);n.setState({focusedOption:e,focusedOptionId:t>-1?n.getFocusedOptionId(e):null})}},n.shouldHideSelectedOptions=function(){return Ao(n.props)},n.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),n.focus()},n.onKeyDown=function(e){var t=n.props,o=t.isMulti,r=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,s=t.isClearable,c=t.isDisabled,u=t.menuIsOpen,l=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=n.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!c&&("function"!==typeof l||(l(e),!e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!o||i)return;n.focusValue("previous");break;case"ArrowRight":if(!o||i)return;n.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(f)n.removeValue(f);else{if(!r)return;o?n.popValue():s&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!u||!d||!h||p&&n.isOptionSelected(h,g))return;n.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(n.isComposing)return;n.selectOption(h);break}return;case"Escape":u?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:i}),n.onMenuClose()):s&&a&&n.clearValue();break;case" ":if(i)return;if(!u){n.openMenu("first");break}if(!h)return;n.selectOption(h);break;case"ArrowUp":u?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":u?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!u)return;n.focusOption("pageup");break;case"PageDown":if(!u)return;n.focusOption("pagedown");break;case"Home":if(!u)return;n.focusOption("first");break;case"End":if(!u)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++ko),n.state.selectValue=Nn(e.value),e.menuIsOpen&&n.state.selectValue.length){var t=n.getFocusableOptionsWithIds(),o=n.buildFocusableOptions(),s=o.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=t,n.state.focusedOption=o[s],n.state.focusedOptionId=wo(t,o[s])}return n}return n=i,o=[{key:"getDerivedStateFromProps",value:function(e,n){var t=n.prevProps,o=n.clearFocusValueOnUpdate,r=n.inputIsHiddenAfterUpdate,i=n.ariaSelection,s=n.isFocused,c=n.prevWasFocused,u=n.instancePrefix,l=e.options,d=e.value,p=e.menuIsOpen,m=e.inputValue,h=e.isMulti,f=Nn(d),g={};if(t&&(d!==t.value||l!==t.options||p!==t.menuIsOpen||m!==t.inputValue)){var v=p?function(e,n){return yo(vo(e,n))}(e,f):[],y=p?bo(vo(e,f),"".concat(u,"-option")):[],b=o?function(e,n){var t=e.focusedValue,o=e.selectValue.indexOf(t);if(o>-1){if(n.indexOf(t)>-1)return t;if(o<n.length)return n[o]}return null}(n,f):null,C=function(e,n){var t=e.focusedOption;return t&&n.indexOf(t)>-1?t:n[0]}(n,v);g={selectValue:f,focusedOption:C,focusedOptionId:wo(y,C),focusableOptionsWithIds:y,focusedValue:b,clearFocusValueOnUpdate:!1}}var w=null!=r&&e!==t?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},S=i,_=s&&c;return s&&!_&&(S={value:Qn(h,f,f[0]||null),options:f,action:"initial-input-focus"},_=!c),"initial-input-focus"===(null===i||void 0===i?void 0:i.action)&&(S=null),a(a(a({},g),w),{},{prevProps:e,ariaSelection:S,prevWasFocused:_})}}],(t=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Gn(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var n=this.props,t=n.isDisabled,o=n.menuIsOpen,r=this.state.isFocused;(r&&!t&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&t&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||t||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Gn(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,n){this.props.onInputChange(e,n)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var n=this,t=this.state,o=t.selectValue,r=t.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(o[0]);s>-1&&(i=s)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i],focusedOptionId:this.getFocusedOptionId(a[i])},(function(){return n.onMenuOpen()}))}},{key:"focusValue",value:function(e){var n=this.state,t=n.selectValue,o=n.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=t.indexOf(o);o||(r=-1);var a=t.length-1,i=-1;if(t.length){switch(e){case"previous":i=0===r?0:-1===r?a:r-1;break;case"next":r>-1&&r<a&&(i=r+1)}this.setState({inputIsHidden:-1!==i,focusedValue:t[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",n=this.props.pageSize,t=this.state.focusedOption,o=this.getFocusableOptions();if(o.length){var r=0,a=o.indexOf(t);t||(a=-1),"up"===e?r=a>0?a-1:o.length-1:"down"===e?r=(a+1)%o.length:"pageup"===e?(r=a-n)<0&&(r=0):"pagedown"===e?(r=a+n)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(ho):a(a({},ho),this.props.theme):ho}},{key:"getCommonProps",value:function(){var e=this.clearValue,n=this.cx,t=this.getStyles,o=this.getClassNames,r=this.getValue,a=this.selectOption,i=this.setValue,s=this.props,c=s.isMulti,u=s.isRtl,l=s.options;return{clearValue:e,cx:n,getStyles:t,getClassNames:o,getValue:r,hasValue:this.hasValue(),isMulti:c,isRtl:u,options:l,selectOption:a,selectProps:s,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,n=e.isClearable,t=e.isMulti;return void 0===n?t:n}},{key:"isOptionDisabled",value:function(e,n){return Eo(this.props,e,n)}},{key:"isOptionSelected",value:function(e,n){return xo(this.props,e,n)}},{key:"filterOption",value:function(e,n){return Oo(this.props,e,n)}},{key:"formatOptionLabel",value:function(e,n){if("function"===typeof this.props.formatOptionLabel){var t=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:n,inputValue:t,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,n=e.isDisabled,t=e.isSearchable,o=e.inputId,r=e.inputValue,i=e.tabIndex,s=e.form,c=e.menuIsOpen,u=e.required,d=this.getComponents().Input,m=this.state,h=m.inputIsHidden,f=m.ariaSelection,g=this.commonProps,v=o||this.getElementId("input"),y=a(a(a({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!t&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===f||void 0===f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return t?l.createElement(d,p({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:n,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:i,form:s,type:"text",value:r},y)):l.createElement(Wt,p({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:In,onFocus:this.onInputFocus,disabled:n,tabIndex:i,inputMode:"none",form:s,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,n=this.getComponents(),t=n.MultiValue,o=n.MultiValueContainer,r=n.MultiValueLabel,a=n.MultiValueRemove,i=n.SingleValue,s=n.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,m=u.isDisabled,h=u.isMulti,f=u.inputValue,g=u.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,C=v.isFocused;if(!this.hasValue()||!d)return f?null:l.createElement(s,p({},c,{key:"placeholder",isDisabled:m,isFocused:C,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(n,i){var s=n===b,u="".concat(e.getOptionLabel(n),"-").concat(e.getOptionValue(n));return l.createElement(t,p({},c,{components:{Container:o,Label:r,Remove:a},isFocused:s,isDisabled:m,key:u,index:i,removeProps:{onClick:function(){return e.removeValue(n)},onTouchEnd:function(){return e.removeValue(n)},onMouseDown:function(e){e.preventDefault()}},data:n}),e.formatOptionLabel(n,"value"))}));if(f)return null;var w=y[0];return l.createElement(i,p({},c,{data:w,isDisabled:m}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,n=this.commonProps,t=this.props,o=t.isDisabled,r=t.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var i={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,p({},n,{innerProps:i,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,n=this.commonProps,t=this.props,o=t.isDisabled,r=t.isLoading,a=this.state.isFocused;return e&&r?l.createElement(e,p({},n,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),n=e.DropdownIndicator,t=e.IndicatorSeparator;if(!n||!t)return null;var o=this.commonProps,r=this.props.isDisabled,a=this.state.isFocused;return l.createElement(t,p({},o,{isDisabled:r,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var n=this.commonProps,t=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,p({},n,{innerProps:r,isDisabled:t,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,n=this.getComponents(),t=n.Group,o=n.GroupHeading,r=n.Menu,a=n.MenuList,i=n.MenuPortal,s=n.LoadingMessage,c=n.NoOptionsMessage,u=n.Option,d=this.commonProps,m=this.state.focusedOption,h=this.props,f=h.captureMenuScroll,g=h.inputValue,v=h.isLoading,y=h.loadingMessage,b=h.minMenuHeight,C=h.maxMenuHeight,w=h.menuIsOpen,S=h.menuPlacement,_=h.menuPosition,E=h.menuPortalTarget,x=h.menuShouldBlockScroll,O=h.menuShouldScrollIntoView,A=h.noOptionsMessage,k=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!w)return null;var P,M=function(n,t){var o=n.type,r=n.data,a=n.isDisabled,i=n.isSelected,s=n.label,c=n.value,h=m===r,f=a?void 0:function(){return e.onOptionHover(r)},g=a?void 0:function(){return e.selectOption(r)},v="".concat(e.getElementId("option"),"-").concat(t),y={id:v,onClick:g,onMouseMove:f,onMouseOver:f,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:i};return l.createElement(u,p({},d,{innerProps:y,data:r,isDisabled:a,isSelected:i,key:v,label:s,type:o,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(n.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map((function(n){if("group"===n.type){var r=n.data,a=n.options,i=n.index,s="".concat(e.getElementId("group"),"-").concat(i),c="".concat(s,"-heading");return l.createElement(t,p({},d,{key:s,data:r,options:a,Heading:o,headingProps:{id:c,data:n.data},label:e.formatGroupLabel(n.data)}),n.options.map((function(e){return M(e,"".concat(i,"-").concat(e.index))})))}if("option"===n.type)return M(n,"".concat(n.index))}));else if(v){var I=y({inputValue:g});if(null===I)return null;P=l.createElement(s,d,I)}else{var R=A({inputValue:g});if(null===R)return null;P=l.createElement(c,d,R)}var j={minMenuHeight:b,maxMenuHeight:C,menuPlacement:S,menuPosition:_,menuShouldScrollIntoView:O},N=l.createElement(ot,p({},d,j),(function(n){var t=n.ref,o=n.placerProps,i=o.placement,s=o.maxHeight;return l.createElement(r,p({},d,j,{innerRef:t,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:i}),l.createElement(ao,{captureEnabled:f,onTopArrive:k,onBottomArrive:T,lockEnabled:x},(function(n){return l.createElement(a,p({},d,{innerRef:function(t){e.getMenuListRef(t),n(t)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:v,maxHeight:s,focusedOption:m}),P)})))}));return E||"fixed"===_?l.createElement(i,p({},d,{appendTo:E,controlElement:this.controlRef,menuPlacement:S,menuPosition:_}),N):N}},{key:"renderFormField",value:function(){var e=this,n=this.props,t=n.delimiter,o=n.isDisabled,r=n.isMulti,a=n.name,i=n.required,s=this.state.selectValue;if(i&&!this.hasValue()&&!o)return l.createElement(so,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(r){if(t){var c=s.map((function(n){return e.getOptionValue(n)})).join(t);return l.createElement("input",{name:a,type:"hidden",value:c})}var u=s.length>0?s.map((function(n,t){return l.createElement("input",{key:"i-".concat(t),name:a,type:"hidden",value:e.getOptionValue(n)})})):l.createElement("input",{name:a,type:"hidden",value:""});return l.createElement("div",null,u)}var d=s[0]?this.getOptionValue(s[0]):"";return l.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,n=this.state,t=n.ariaSelection,o=n.focusedOption,r=n.focusedValue,a=n.isFocused,i=n.selectValue,s=this.getFocusableOptions();return l.createElement(Nt,p({},e,{id:this.getElementId("live-region"),ariaSelection:t,focusedOption:o,focusedValue:r,isFocused:a,selectValue:i,focusableOptions:s,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),n=e.Control,t=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,a=this.props,i=a.className,s=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,m=this.commonProps=this.getCommonProps();return l.createElement(o,p({},m,{className:i,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(n,p({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(r,p({},m,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(t,p({},m,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}])&&m(n.prototype,t),o&&m(n,o),Object.defineProperty(n,"prototype",{writable:!1}),i}(l.Component);To.defaultProps=fo;t(621),t(622),t(626),t(628),t(629),t(630),t(632),t(637),t(230),t(641),t(227);var Po=Object(l.forwardRef)((function(e,n){var t=function(e){var n=e.defaultInputValue,t=void 0===n?"":n,o=e.defaultMenuIsOpen,r=void 0!==o&&o,i=e.defaultValue,s=void 0===i?null:i,p=e.inputValue,m=e.menuIsOpen,h=e.onChange,f=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=u(e,d),C=c(Object(l.useState)(void 0!==p?p:t),2),w=C[0],S=C[1],_=c(Object(l.useState)(void 0!==m?m:r),2),E=_[0],x=_[1],O=c(Object(l.useState)(void 0!==y?y:s),2),A=O[0],k=O[1],T=Object(l.useCallback)((function(e,n){"function"===typeof h&&h(e,n),k(e)}),[h]),P=Object(l.useCallback)((function(e,n){var t;"function"===typeof f&&(t=f(e,n)),S(void 0!==t?t:e)}),[f]),M=Object(l.useCallback)((function(){"function"===typeof v&&v(),x(!0)}),[v]),I=Object(l.useCallback)((function(){"function"===typeof g&&g(),x(!1)}),[g]),R=void 0!==p?p:w,j=void 0!==m?m:E,N=void 0!==y?y:A;return a(a({},b),{},{inputValue:R,menuIsOpen:j,onChange:T,onInputChange:P,onMenuClose:I,onMenuOpen:M,value:N})}(e);return l.createElement(To,p({ref:n},t))}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var o=t(168),r=t(90),a=t(64),i=t(81),s=t(167),c=t(169),u=t(165),l=function(e){if(e&&"function"===typeof e[i.a])return l=e,function(e){var n=l[i.a]();if("function"!==typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)};if(Object(s.a)(e))return Object(o.a)(e);if(Object(c.a)(e))return t=e,function(e){return t.then((function(n){e.closed||(e.next(n),e.complete())}),(function(n){return e.error(n)})).then(null,r.a),e};if(e&&"function"===typeof e[a.a])return n=e,function(e){for(var t=n[a.a]();;){var o=void 0;try{o=t.next()}catch(r){return e.error(r),e}if(o.done){e.complete();break}if(e.next(o.value),e.closed)break}return"function"===typeof t.return&&e.add((function(){t.return&&t.return()})),e};var n,t,l,d=Object(u.a)(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+d+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(e){return function(){return Promise.reject(e)}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0},a=function(e){return{applyToStack:function(e){e.add((function(e,n){return function(t){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var r,a,i,s,c,u,l,d,p;return Object(o.__generator)(this,(function(m){switch(m.label){case 0:return r=n.clientName,a=n.commandName,i=n.inputFilterSensitiveLog,s=n.logger,c=n.outputFilterSensitiveLog,[4,e(t)];case 1:return u=m.sent(),s?("function"===typeof s.info&&(l=u.output,d=l.$metadata,p=Object(o.__rest)(l,["$metadata"]),s.info({clientName:r,commandName:a,input:i(t.input),output:c(p),metadata:d})),[2,u]):[2,u]}}))}))}}),r)}}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var o=t(1);var r=function(e){var n,t=new URL(e),r=t.hostname,a=t.pathname,i=t.port,s=t.protocol,c=t.search;return c&&(n=function(e){var n,t,r={};if(e=e.replace(/^\?/,""))try{for(var a=Object(o.__values)(e.split("&")),i=a.next();!i.done;i=a.next()){var s=i.value,c=Object(o.__read)(s.split("="),2),u=c[0],l=c[1],d=void 0===l?null:l;u=decodeURIComponent(u),d&&(d=decodeURIComponent(d)),u in r?Array.isArray(r[u])?r[u].push(d):r[u]=[r[u],d]:r[u]=d}}catch(p){n={error:p}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(n)throw n.error}}return r}(c)),{hostname:r,port:i?parseInt(i):void 0,protocol:s,path:a,query:n}}},function(e,n,t){var o=t(109);e.exports={re:o.re,src:o.src,tokens:o.t,SEMVER_SPEC_VERSION:t(142).SEMVER_SPEC_VERSION,SemVer:t(56),compareIdentifiers:t(187).compareIdentifiers,rcompareIdentifiers:t(187).rcompareIdentifiers,parse:t(110),valid:t(643),clean:t(644),inc:t(645),diff:t(646),major:t(647),minor:t(648),patch:t(649),prerelease:t(650),compare:t(73),rcompare:t(651),compareLoose:t(652),compareBuild:t(189),sort:t(653),rsort:t(654),gt:t(145),lt:t(190),eq:t(188),neq:t(231),gte:t(191),lte:t(192),cmp:t(232),coerce:t(655),Comparator:t(146),Range:t(74),satisfies:t(147),toComparators:t(659),maxSatisfying:t(660),minSatisfying:t(661),minVersion:t(662),validRange:t(663),outside:t(193),gtr:t(664),ltr:t(665),intersects:t(666),simplifyRange:t(667),subset:t(671)}},,,,function(e,n,t){"use strict";var o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(r){return!1}}()?Object.assign:function(e,n){for(var t,s,c=i(e),u=1;u<arguments.length;u++){for(var l in t=Object(arguments[u]))r.call(t,l)&&(c[l]=t[l]);if(o){s=o(t);for(var d=0;d<s.length;d++)a.call(t,s[d])&&(c[s[d]]=t[s[d]])}}return c}},function(e,n){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,n){var t,o,r=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:a}catch(e){t=a}try{o="function"===typeof clearTimeout?clearTimeout:i}catch(e){o=i}}();var c,u=[],l=!1,d=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&m())}function m(){if(!l){var e=s(p);l=!0;for(var n=u.length;n;){for(c=u,u=[];++d<n;)c&&c[d].run();d=-1,n=u.length}c=null,l=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===i||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(n){try{return o.call(null,e)}catch(n){return o.call(this,e)}}}(e)}}function h(e,n){this.fun=e,this.array=n}function f(){}r.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];u.push(new h(e,n)),1!==u.length||l||s(m)},h.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,n,t){"use strict";t.r(n),t.d(n,"locateWindow",(function(){return r}));var o={};function r(){return"undefined"!==typeof window?window:"undefined"!==typeof self?self:o}},function(e,n,t){var o=t(217);e.exports=function(e,n){if(e){if("string"===typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,n):void 0}}},function(e,n,t){var o=t(613),r=t(614),a=t(185),i=t(615);e.exports=function(e){return o(e)||r(e)||a(e)||i()}},function(e,n){var t=/^[0-9]+$/,o=function(e,n){var o=t.test(e),r=t.test(n);return o&&r&&(e=+e,n=+n),e===n?0:o&&!r?-1:r&&!o?1:e<n?-1:1};e.exports={compareIdentifiers:o,rcompareIdentifiers:function(e,n){return o(n,e)}}},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return 0===o(e,n,t)}},function(e,n,t){var o=t(56);e.exports=function(e,n,t){var r=new o(e,t),a=new o(n,t);return r.compare(a)||r.compareBuild(a)}},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return o(e,n,t)<0}},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return o(e,n,t)>=0}},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return o(e,n,t)<=0}},function(e,n,t){var o=t(56),r=t(146),a=r.ANY,i=t(74),s=t(147),c=t(145),u=t(190),l=t(192),d=t(191);e.exports=function(e,n,t,p){var m,h,f,g,v;switch(e=new o(e,p),n=new i(n,p),t){case">":m=c,h=l,f=u,g=">",v=">=";break;case"<":m=u,h=d,f=c,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,n,p))return!1;for(var y=function(t){var o=n.set[t],i=null,s=null;return o.forEach((function(e){e.semver===a&&(e=new r(">=0.0.0")),i=i||e,s=s||e,m(e.semver,i.semver,p)?i=e:f(e.semver,s.semver,p)&&(s=e)})),i.operator===g||i.operator===v?{v:!1}:s.operator&&s.operator!==g||!h(e,s.semver)?s.operator===v&&f(e,s.semver)?{v:!1}:void 0:{v:!1}},b=0;b<n.set.length;++b){var C=y(b);if("object"===typeof C)return C.v}return!0}},function(e,n){function t(n,o){return e.exports=t=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},t(n,o)}e.exports=t},function(e,n,t){"use strict";var o,r=SyntaxError,a=Function,i=TypeError,s=function(e){try{return a('"use strict"; return ('+e+").constructor;")()}catch(n){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(k){c=null}var u=function(){throw new i},l=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(n){return u}}}():u,d=t(721)(),p=Object.getPrototypeOf||function(e){return e.__proto__},m={},h="undefined"===typeof Uint8Array?o:p(Uint8Array),f={"%AggregateError%":"undefined"===typeof AggregateError?o:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?o:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):o,"%AsyncFromSyncIteratorPrototype%":o,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":"undefined"===typeof Atomics?o:Atomics,"%BigInt%":"undefined"===typeof BigInt?o:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?o:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?o:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?o:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?o:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":"undefined"===typeof Int8Array?o:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?o:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?o:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):o,"%JSON%":"object"===typeof JSON?JSON:o,"%Map%":"undefined"===typeof Map?o:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&d?p((new Map)[Symbol.iterator]()):o,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?o:Promise,"%Proxy%":"undefined"===typeof Proxy?o:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?o:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?o:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&d?p((new Set)[Symbol.iterator]()):o,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?o:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):o,"%Symbol%":d?Symbol:o,"%SyntaxError%":r,"%ThrowTypeError%":l,"%TypedArray%":h,"%TypeError%":i,"%Uint8Array%":"undefined"===typeof Uint8Array?o:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?o:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?o:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?o:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?o:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?o:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?o:WeakSet},g=function e(n){var t;if("%AsyncFunction%"===n)t=s("async function () {}");else if("%GeneratorFunction%"===n)t=s("function* () {}");else if("%AsyncGeneratorFunction%"===n)t=s("async function* () {}");else if("%AsyncGenerator%"===n){var o=e("%AsyncGeneratorFunction%");o&&(t=o.prototype)}else if("%AsyncIteratorPrototype%"===n){var r=e("%AsyncGenerator%");r&&(t=p(r.prototype))}return f[n]=t,t},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},y=t(196),b=t(724),C=y.call(Function.call,Array.prototype.concat),w=y.call(Function.apply,Array.prototype.splice),S=y.call(Function.call,String.prototype.replace),_=y.call(Function.call,String.prototype.slice),E=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,x=/\\(\\)?/g,O=function(e){var n=_(e,0,1),t=_(e,-1);if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return S(e,E,(function(e,n,t,r){o[o.length]=t?S(r,x,"$1"):n||e})),o},A=function(e,n){var t,o=e;if(b(v,o)&&(o="%"+(t=v[o])[0]+"%"),b(f,o)){var a=f[o];if(a===m&&(a=g(o)),"undefined"===typeof a&&!n)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:o,value:a}}throw new r("intrinsic "+e+" does not exist!")};e.exports=function(e,n){if("string"!==typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof n)throw new i('"allowMissing" argument must be a boolean');var t=O(e),o=t.length>0?t[0]:"",a=A("%"+o+"%",n),s=a.name,u=a.value,l=!1,d=a.alias;d&&(o=d[0],w(t,C([0,1],d)));for(var p=1,m=!0;p<t.length;p+=1){var h=t[p],g=_(h,0,1),v=_(h,-1);if(('"'===g||"'"===g||"`"===g||'"'===v||"'"===v||"`"===v)&&g!==v)throw new r("property names with quotes must have matching quotes");if("constructor"!==h&&m||(l=!0),b(f,s="%"+(o+="."+h)+"%"))u=f[s];else if(null!=u){if(!(h in u)){if(!n)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&p+1>=t.length){var y=c(u,h);u=(m=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:u[h]}else m=b(u,h),u=u[h];m&&!l&&(f[s]=u)}}return u}},function(e,n,t){"use strict";var o=t(723);e.exports=Function.prototype.bind||o},function(e,n,t){"use strict";var o=String.prototype.replace,r=/%20/g,a="RFC1738",i="RFC3986";e.exports={default:i,formatters:{RFC1738:function(e){return o.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:a,RFC3986:i}},function(e,n,t){"use strict";(function(e,o){var r,a=t(509);r="undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:o;var i=Object(a.a)(r);n.a=i}).call(this,t(102),t(577)(e))},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(1),r=t(131),a=new r.a("Amplify"),i=new(function(){function e(){this._components=[],this._config={},this._modules={},this.Auth=null,this.Analytics=null,this.API=null,this.Credentials=null,this.Storage=null,this.I18n=null,this.Cache=null,this.PubSub=null,this.Interactions=null,this.Pushnotification=null,this.UI=null,this.XR=null,this.Predictions=null,this.DataStore=null,this.Geo=null,this.Notifications=null,this.Logger=r.a,this.ServiceWorker=null}return e.prototype.register=function(e){a.debug("component registered in amplify",e),this._components.push(e),"function"===typeof e.getModuleName?(this._modules[e.getModuleName()]=e,this[e.getModuleName()]=e):a.debug("no getModuleName method for component",e),e.configure(this._config)},e.prototype.configure=function(e){var n=this;return e?(this._config=Object.assign(this._config,e),a.debug("amplify config",this._config),Object.entries(this._modules).forEach((function(e){var t=Object(o.__read)(e,2),r=(t[0],t[1]);Object.keys(r).forEach((function(e){n._modules[e]&&(r[e]=n._modules[e])}))})),this._components.map((function(e){e.configure(n._config)})),this._config):this._config},e.prototype.addPluggable=function(e){e&&e.getCategory&&"function"===typeof e.getCategory&&this._components.map((function(n){n.addPluggable&&"function"===typeof n.addPluggable&&n.addPluggable(e)}))},e}())},function(e,n,t){"use strict";(function(e){var o=t(0),r=t.n(o),a=t(205),i=t(111),s=t.n(i),c=1073741823,u="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function l(e){var n=[];return{on:function(e){n.push(e)},off:function(e){n=n.filter((function(n){return n!==e}))},get:function(){return e},set:function(t,o){e=t,n.forEach((function(n){return n(e,o)}))}}}var d=r.a.createContext||function(e,n){var t,r,i="__create-react-context-"+function(){var e="__global_unique_id__";return u[e]=(u[e]||0)+1}()+"__",d=function(e){function t(){var n;return(n=e.apply(this,arguments)||this).emitter=l(n.props.value),n}Object(a.a)(t,e);var o=t.prototype;return o.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,o=this.props.value,r=e.value;((a=o)===(i=r)?0!==a||1/a===1/i:a!==a&&i!==i)?t=0:(t="function"===typeof n?n(o,r):c,0!==(t|=0)&&this.emitter.set(e.value,t))}var a,i},o.render=function(){return this.props.children},t}(o.Component);d.childContextTypes=((t={})[i]=s.a.object.isRequired,t);var p=function(n){function t(){var e;return(e=n.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(n,t){0!==((0|e.observedBits)&t)&&e.setState({value:e.getValue()})},e}Object(a.a)(t,n);var o=t.prototype;return o.componentWillReceiveProps=function(e){var n=e.observedBits;this.observedBits=void 0===n||null===n?c:n},o.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?c:e},o.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},o.getValue=function(){return this.context[i]?this.context[i].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},t}(o.Component);return p.contextTypes=((r={})[i]=s.a.object,r),{Provider:d,Consumer:p}};n.a=d}).call(this,t(102))},function(e,n,t){var o=t(611);e.exports=m,e.exports.parse=a,e.exports.compile=function(e,n){return s(a(e,n),n)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=p;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function a(e,n){for(var t,o=[],a=0,i=0,s="",l=n&&n.delimiter||"/";null!=(t=r.exec(e));){var d=t[0],p=t[1],m=t.index;if(s+=e.slice(i,m),i=m+d.length,p)s+=p[1];else{var h=e[i],f=t[2],g=t[3],v=t[4],y=t[5],b=t[6],C=t[7];s&&(o.push(s),s="");var w=null!=f&&null!=h&&h!==f,S="+"===b||"*"===b,_="?"===b||"*"===b,E=t[2]||l,x=v||y;o.push({name:g||a++,prefix:f||"",delimiter:E,optional:_,repeat:S,partial:w,asterisk:!!C,pattern:x?u(x):C?".*":"[^"+c(E)+"]+?"})}}return i<e.length&&(s+=e.substr(i)),s&&o.push(s),o}function i(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,n){for(var t=new Array(e.length),r=0;r<e.length;r++)"object"===typeof e[r]&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$",d(n)));return function(n,r){for(var a="",s=n||{},c=(r||{}).pretty?i:encodeURIComponent,u=0;u<e.length;u++){var l=e[u];if("string"!==typeof l){var d,p=s[l.name];if(null==p){if(l.optional){l.partial&&(a+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(o(p)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var m=0;m<p.length;m++){if(d=c(p[m]),!t[u].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");a+=(0===m?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?encodeURI(p).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):c(p),!t[u].test(d))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+d+'"');a+=l.prefix+d}}else a+=l}return a}}function c(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function l(e,n){return e.keys=n,e}function d(e){return e&&e.sensitive?"":"i"}function p(e,n,t){o(n)||(t=n||t,n=[]);for(var r=(t=t||{}).strict,a=!1!==t.end,i="",s=0;s<e.length;s++){var u=e[s];if("string"===typeof u)i+=c(u);else{var p=c(u.prefix),m="(?:"+u.pattern+")";n.push(u),u.repeat&&(m+="(?:"+p+m+")*"),i+=m=u.optional?u.partial?p+"("+m+")?":"(?:"+p+"("+m+"))?":p+"("+m+")"}}var h=c(t.delimiter||"/"),f=i.slice(-h.length)===h;return r||(i=(f?i.slice(0,-h.length):i)+"(?:"+h+"(?=$))?"),i+=a?"$":r&&f?"":"(?="+h+"|$)",l(new RegExp("^"+i,d(t)),n)}function m(e,n,t){return o(n)||(t=n||t,n=[]),t=t||{},e instanceof RegExp?function(e,n){var t=e.source.match(/\((?!\?)/g);if(t)for(var o=0;o<t.length;o++)n.push({name:o,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return l(e,n)}(e,n):o(e)?function(e,n,t){for(var o=[],r=0;r<e.length;r++)o.push(m(e[r],n,t).source);return l(new RegExp("(?:"+o.join("|")+")",d(t)),n)}(e,n,t):function(e,n,t){return p(a(e,t),n,t)}(e,n,t)}},function(e,n,t){"use strict";function o(e){var n=[];if(0===e.length)return"";if("string"!==typeof e[0])throw new TypeError("Url must be a string. Received "+e[0]);if(e[0].match(/^[^/:]+:\/*$/)&&e.length>1){var t=e.shift();e[0]=t+e[0]}e[0].match(/^file:\/\/\//)?e[0]=e[0].replace(/^([^/:]+):\/*/,"$1:///"):e[0]=e[0].replace(/^([^/:]+):\/*/,"$1://");for(var o=0;o<e.length;o++){var r=e[o];if("string"!==typeof r)throw new TypeError("Url must be a string. Received "+r);""!==r&&(o>0&&(r=r.replace(/^[\/]+/,"")),r=o<e.length-1?r.replace(/[\/]+$/,""):r.replace(/[\/]+$/,"/"),n.push(r))}var a=n.join("/"),i=(a=a.replace(/\/(\?|&|#[^!])/g,"$1")).split("?");return a=i.shift()+(i.length>0?"?":"")+i.join("&")}function r(){return o("object"===typeof arguments[0]?arguments[0]:[].slice.call(arguments))}t.d(n,"a",(function(){return r}))},,function(e,n,t){"use strict";function o(e){return(o="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 r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function a(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?Object(arguments[n]):{},o=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(n){r(e,n,t[n])}))}return e}function i(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function s(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,n,t){return n&&s(e.prototype,n),t&&s(e,t),e}var u=t(104),l=t.n(u);function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,n){if(n&&("object"===l()(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=t(158);function f(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Object(h.a)(e,n)}function g(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function v(e,n){if(e){if("string"===typeof e)return g(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?g(e,n):void 0}}function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(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 b(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(c){s=!0,r=c}finally{try{i||null==t.return||t.return()}finally{if(s)throw r}}return a}}(e,n)||v(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var C={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,n){var t;console&&console[e]&&(t=console)[e].apply(t,y(n))}},w=new(function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.init(n,t)}return c(e,[{key:"init",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||C,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,n,t,o){return o&&!this.debug?null:("string"===typeof e[0]&&(e[0]="".concat(t).concat(this.prefix," ").concat(e[0])),this.logger[n](e))}},{key:"create",value:function(n){return new e(this.logger,a({},{prefix:"".concat(this.prefix,":").concat(n,":")},this.options))}}]),e}()),S=function(){function e(){i(this,e),this.observers={}}return c(e,[{key:"on",value:function(e,n){var t=this;return e.split(" ").forEach((function(e){t.observers[e]=t.observers[e]||[],t.observers[e].push(n)})),this}},{key:"off",value:function(e,n){this.observers[e]&&(n?this.observers[e]=this.observers[e].filter((function(e){return e!==n})):delete this.observers[e])}},{key:"emit",value:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];if(this.observers[e]){var r=[].concat(this.observers[e]);r.forEach((function(e){e.apply(void 0,t)}))}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach((function(n){n.apply(n,[e].concat(t))}))}}}]),e}();function _(){var e,n,t=new Promise((function(t,o){e=t,n=o}));return t.resolve=e,t.reject=n,t}function E(e){return null==e?"":""+e}function x(e,n,t){e.forEach((function(e){n[e]&&(t[e]=n[e])}))}function O(e,n,t){function o(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function r(){return!e||"string"===typeof e}for(var a="string"!==typeof n?[].concat(n):n.split(".");a.length>1;){if(r())return{};var i=o(a.shift());!e[i]&&t&&(e[i]=new t),e=e[i]}return r()?{}:{obj:e,k:o(a.shift())}}function A(e,n,t){var o=O(e,n,Object);o.obj[o.k]=t}function k(e,n){var t=O(e,n),o=t.obj,r=t.k;if(o)return o[r]}function T(e,n,t){var o=k(e,t);return void 0!==o?o:k(n,t)}function P(e,n,t){for(var o in n)o in e?"string"===typeof e[o]||e[o]instanceof String||"string"===typeof n[o]||n[o]instanceof String?t&&(e[o]=n[o]):P(e[o],n[o],t):e[o]=n[o];return e}function M(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var I={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function R(e){return"string"===typeof e?e.replace(/[&<>"'\/]/g,(function(e){return I[e]})):e}var j=function(e){function n(e){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return i(this,n),t=p(this,m(n).call(this)),S.call(d(t)),t.data=e||{},t.options=o,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t}return f(n,e),c(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}},{key:"getResource",value:function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,a=[e,n];return t&&"string"!==typeof t&&(a=a.concat(t)),t&&"string"===typeof t&&(a=a.concat(r?t.split(r):t)),e.indexOf(".")>-1&&(a=e.split(".")),k(this.data,a)}},{key:"addResource",value:function(e,n,t,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=this.options.keySeparator;void 0===a&&(a=".");var i=[e,n];t&&(i=i.concat(a?t.split(a):t)),e.indexOf(".")>-1&&(o=n,n=(i=e.split("."))[1]),this.addNamespaces(n),A(this.data,i,o),r.silent||this.emit("added",e,n,t,o)}},{key:"addResources",value:function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in t)"string"!==typeof t[r]&&"[object Array]"!==Object.prototype.toString.apply(t[r])||this.addResource(e,n,r,t[r],{silent:!0});o.silent||this.emit("added",e,n,t)}},{key:"addResourceBundle",value:function(e,n,t,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[e,n];e.indexOf(".")>-1&&(o=t,t=n,n=(s=e.split("."))[1]),this.addNamespaces(n);var c=k(this.data,s)||{};o?P(c,t,r):c=a({},c,t),A(this.data,s,c),i.silent||this.emit("added",e,n,t)}},{key:"removeResourceBundle",value:function(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}},{key:"hasResourceBundle",value:function(e,n){return void 0!==this.getResource(e,n)}},{key:"getResourceBundle",value:function(e,n){return n||(n=this.options.defaultNS),"v1"===this.options.compatibilityAPI?a({},{},this.getResource(e,n)):this.getResource(e,n)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),n}(S),N={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,n,t,o,r){var a=this;return e.forEach((function(e){a.processors[e]&&(n=a.processors[e].process(n,t,o,r))})),n}},L=function(e){function n(e){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i(this,n),t=p(this,m(n).call(this)),S.call(d(t)),x(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,d(t)),t.options=o,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=w.create("translator"),t}return f(n,e),c(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},t=this.resolve(e,n);return t&&void 0!==t.res}},{key:"extractFromKey",value:function(e,n){var t=n.nsSeparator||this.options.nsSeparator;void 0===t&&(t=":");var o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,r=n.ns||this.options.defaultNS;if(t&&e.indexOf(t)>-1){var a=e.split(t);(t!==o||t===o&&this.options.ns.indexOf(a[0])>-1)&&(r=a.shift()),e=a.join(o)}return"string"===typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,n){var t=this;if("object"!==o(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var r=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=this.extractFromKey(e[e.length-1],n),s=i.key,c=i.namespaces,u=c[c.length-1],l=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(d){var p=n.nsSeparator||this.options.nsSeparator;return u+p+s}return s}var m=this.resolve(e,n),h=m&&m.res,f=m&&m.usedKey||s,g=m&&m.exactUsedKey||s,v=Object.prototype.toString.apply(h),y=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,C=!this.i18nFormat||this.i18nFormat.handleAsObject,w="string"!==typeof h&&"boolean"!==typeof h&&"number"!==typeof h;if(C&&h&&w&&y.indexOf(v)<0&&("string"!==typeof b||"[object Array]"!==v)){if(!n.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,h,n):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(r){var S="[object Array]"===v,_=S?[]:{},E=S?g:f;for(var x in h)if(Object.prototype.hasOwnProperty.call(h,x)){var O="".concat(E).concat(r).concat(x);_[x]=this.translate(O,a({},n,{joinArrays:!1,ns:c})),_[x]===O&&(_[x]=h[x])}h=_}}else if(C&&"string"===typeof b&&"[object Array]"===v)(h=h.join(b))&&(h=this.extendTranslation(h,e,n));else{var A=!1,k=!1;if(!this.isValidLookup(h)&&void 0!==n.defaultValue){if(A=!0,void 0!==n.count){var T=this.pluralResolver.getSuffix(l,n.count);h=n["defaultValue".concat(T)]}h||(h=n.defaultValue)}this.isValidLookup(h)||(k=!0,h=s);var P=n.defaultValue&&n.defaultValue!==h&&this.options.updateMissing;if(k||A||P){this.logger.log(P?"updateKey":"missingKey",l,u,s,P?n.defaultValue:h);var M=[],I=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&I&&I[0])for(var R=0;R<I.length;R++)M.push(I[R]);else"all"===this.options.saveMissingTo?M=this.languageUtils.toResolveHierarchy(n.lng||this.language):M.push(n.lng||this.language);var j=function(e,o){t.options.missingKeyHandler?t.options.missingKeyHandler(e,u,o,P?n.defaultValue:h,P,n):t.backendConnector&&t.backendConnector.saveMissing&&t.backendConnector.saveMissing(e,u,o,P?n.defaultValue:h,P,n),t.emit("missingKey",e,u,o,h)};if(this.options.saveMissing){var N=void 0!==n.count&&"string"!==typeof n.count;this.options.saveMissingPlurals&&N?M.forEach((function(e){t.pluralResolver.getPluralFormsOfKey(e,s).forEach((function(n){return j([e],n)}))})):j(M,s)}}h=this.extendTranslation(h,e,n,m),k&&h===s&&this.options.appendNamespaceToMissingKey&&(h="".concat(u,":").concat(s)),k&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,n,t,o){var r=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,t,o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!t.skipInterpolation){t.interpolation&&this.interpolator.init(a({},t,{interpolation:a({},this.options.interpolation,t.interpolation)}));var i=t.replace&&"string"!==typeof t.replace?t.replace:t;this.options.interpolation.defaultVariables&&(i=a({},this.options.interpolation.defaultVariables,i)),e=this.interpolator.interpolate(e,i,t.lng||this.language,t),!1!==t.nest&&(e=this.interpolator.nest(e,(function(){return r.translate.apply(r,arguments)}),t)),t.interpolation&&this.interpolator.reset()}var s=t.postProcess||this.options.postProcess,c="string"===typeof s?[s]:s;return void 0!==e&&null!==e&&c&&c.length&&!1!==t.applyPostProcessor&&(e=N.handle(c,e,n,this.options&&this.options.postProcessPassResolved?a({i18nResolved:o},t):t,this)),e}},{key:"resolve",value:function(e){var n,t,o,r,a,i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof e&&(e=[e]),e.forEach((function(e){if(!i.isValidLookup(n)){var c=i.extractFromKey(e,s),u=c.key;t=u;var l=c.namespaces;i.options.fallbackNS&&(l=l.concat(i.options.fallbackNS));var d=void 0!==s.count&&"string"!==typeof s.count,p=void 0!==s.context&&"string"===typeof s.context&&""!==s.context,m=s.lngs?s.lngs:i.languageUtils.toResolveHierarchy(s.lng||i.language,s.fallbackLng);l.forEach((function(e){i.isValidLookup(n)||(a=e,i.utils&&i.utils.hasLoadedNamespace&&!i.utils.hasLoadedNamespace(a)&&i.logger.warn('key "'.concat(t,'" for namespace "').concat(a,"\" won't get resolved as namespace was not yet loaded"),"This means something IS WRONG in your application setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"),m.forEach((function(t){if(!i.isValidLookup(n)){r=t;var a,c,l=u,m=[l];if(i.i18nFormat&&i.i18nFormat.addLookupKeys)i.i18nFormat.addLookupKeys(m,u,t,e,s);else d&&(a=i.pluralResolver.getSuffix(t,s.count)),d&&p&&m.push(l+a),p&&m.push(l+="".concat(i.options.contextSeparator).concat(s.context)),d&&m.push(l+=a);for(;c=m.pop();)i.isValidLookup(n)||(o=c,n=i.getResource(t,e,c,s))}})))}))}})),{res:n,usedKey:t,exactUsedKey:o,usedLng:r,usedNS:a}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,n,t){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,t,o):this.resourceStore.getResource(e,n,t,o)}}]),n}(S);function F(e){return e.charAt(0).toUpperCase()+e.slice(1)}var U=function(){function e(n){i(this,e),this.options=n,this.whitelist=this.options.whitelist||!1,this.logger=w.create("languageUtils")}return c(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var n=e.split("-");return 2===n.length?null:(n.pop(),this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var n=e.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(e){if("string"===typeof e&&e.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],t=e.split("-");return this.options.lowerCaseLng?t=t.map((function(e){return e.toLowerCase()})):2===t.length?(t[0]=t[0].toLowerCase(),t[1]=t[1].toUpperCase(),n.indexOf(t[1].toLowerCase())>-1&&(t[1]=F(t[1].toLowerCase()))):3===t.length&&(t[0]=t[0].toLowerCase(),2===t[1].length&&(t[1]=t[1].toUpperCase()),"sgn"!==t[0]&&2===t[2].length&&(t[2]=t[2].toUpperCase()),n.indexOf(t[1].toLowerCase())>-1&&(t[1]=F(t[1].toLowerCase())),n.indexOf(t[2].toLowerCase())>-1&&(t[2]=F(t[2].toLowerCase()))),t.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist)&&(e=this.getLanguagePartFromCode(e)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(e)>-1}},{key:"getFallbackCodes",value:function(e,n){if(!e)return[];if("string"===typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!n)return e.default||[];var t=e[n];return t||(t=e[this.getScriptPartFromCode(n)]),t||(t=e[this.formatLanguageCode(n)]),t||(t=e.default),t||[]}},{key:"toResolveHierarchy",value:function(e,n){var t=this,o=this.getFallbackCodes(n||this.options.fallbackLng||[],e),r=[],a=function(e){e&&(t.isWhitelisted(e)?r.push(e):t.logger.warn("rejecting non-whitelisted language code: ".concat(e)))};return"string"===typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):"string"===typeof e&&a(this.formatLanguageCode(e)),o.forEach((function(e){r.indexOf(e)<0&&a(t.formatLanguageCode(e))})),r}}]),e}(),D=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he"],nr:[1,2,20,21],fc:22}],B={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0===e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1===e?0:2===e?1:(e<0||e>10)&&e%10==0?2:3)}};function z(){var e={};return D.forEach((function(n){n.lngs.forEach((function(t){e[t]={numbers:n.nr,plurals:B[n.fc]}}))})),e}var V=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,e),this.languageUtils=n,this.options=t,this.logger=w.create("pluralResolver"),this.rules=z()}return c(e,[{key:"addRule",value:function(e,n){this.rules[e]=n}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var n=this.getRule(e);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,n){var t=this,o=[],r=this.getRule(e);return r?(r.numbers.forEach((function(r){var a=t.getSuffix(e,r);o.push("".concat(n).concat(a))})),o):o}},{key:"getSuffix",value:function(e,n){var t=this,o=this.getRule(e);if(o){var r=o.noAbs?o.plurals(n):o.plurals(Math.abs(n)),a=o.numbers[r];this.options.simplifyPluralSuffix&&2===o.numbers.length&&1===o.numbers[0]&&(2===a?a="plural":1===a&&(a=""));var i=function(){return t.options.prepend&&a.toString()?t.options.prepend+a.toString():a.toString()};return"v1"===this.options.compatibilityJSON?1===a?"":"number"===typeof a?"_plural_".concat(a.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===o.numbers.length&&1===o.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),G=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,e),this.logger=w.create("interpolator"),this.options=n,this.format=n.interpolation&&n.interpolation.format||function(e){return e},this.init(n)}return c(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var n=e.interpolation;this.escape=void 0!==n.escape?n.escape:R,this.escapeValue=void 0===n.escapeValue||n.escapeValue,this.useRawValueToEscape=void 0!==n.useRawValueToEscape&&n.useRawValueToEscape,this.prefix=n.prefix?M(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?M(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?M(n.nestingPrefix):n.nestingPrefixEscaped||M("$t("),this.nestingSuffix=n.nestingSuffix?M(n.nestingSuffix):n.nestingSuffixEscaped||M(")"),this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var t="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(t,"g")}},{key:"interpolate",value:function(e,n,t,o){var r,a,i,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0)return T(n,c,e);var o=e.split(s.formatSeparator),r=o.shift().trim(),a=o.join(s.formatSeparator).trim();return s.format(T(n,c,r),a,t)};this.resetRegExp();var d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler;for(i=0;r=this.regexpUnescape.exec(e);){if(void 0===(a=l(r[1].trim())))if("function"===typeof d){var p=d(e,r,o);a="string"===typeof p?p:""}else this.logger.warn("missed to pass in variable ".concat(r[1]," for interpolating ").concat(e)),a="";else"string"===typeof a||this.useRawValueToEscape||(a=E(a));if(e=e.replace(r[0],u(a)),this.regexpUnescape.lastIndex=0,++i>=this.maxReplaces)break}for(i=0;r=this.regexp.exec(e);){if(void 0===(a=l(r[1].trim())))if("function"===typeof d){var m=d(e,r,o);a="string"===typeof m?m:""}else this.logger.warn("missed to pass in variable ".concat(r[1]," for interpolating ").concat(e)),a="";else"string"===typeof a||this.useRawValueToEscape||(a=E(a));if(a=this.escapeValue?u(this.escape(a)):u(a),e=e.replace(r[0],a),this.regexp.lastIndex=0,++i>=this.maxReplaces)break}return e}},{key:"nest",value:function(e,n){var t,o,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=a({},r);function s(e,n){if(e.indexOf(",")<0)return e;var t=e.split(",");e=t.shift();var o=t.join(",");o=(o=this.interpolate(o,i)).replace(/'/g,'"');try{i=JSON.parse(o),n&&(i=a({},n,i))}catch(r){this.logger.error("failed parsing options string in nesting for key ".concat(e),r)}return delete i.defaultValue,e}for(i.applyPostProcessor=!1,delete i.defaultValue;t=this.nestingRegexp.exec(e);){if((o=n(s.call(this,t[1].trim(),i),i))&&t[0]===e&&"string"!==typeof o)return o;"string"!==typeof o&&(o=E(o)),o||(this.logger.warn("missed to resolve ".concat(t[1]," for nesting ").concat(e)),o=""),e=e.replace(t[0],o),this.regexp.lastIndex=0}return e}}]),e}();var H=function(e){function n(e,t,o){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i(this,n),r=p(this,m(n).call(this)),S.call(d(r)),r.backend=e,r.store=t,r.services=o,r.languageUtils=o.languageUtils,r.options=a,r.logger=w.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(o,a.backend,a),r}return f(n,e),c(n,[{key:"queueLoad",value:function(e,n,t,o){var r=this,a=[],i=[],s=[],c=[];return e.forEach((function(e){var o=!0;n.forEach((function(n){var s="".concat(e,"|").concat(n);!t.reload&&r.store.hasResourceBundle(e,n)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?i.indexOf(s)<0&&i.push(s):(r.state[s]=1,o=!1,i.indexOf(s)<0&&i.push(s),a.indexOf(s)<0&&a.push(s),c.indexOf(n)<0&&c.push(n)))})),o||s.push(e)})),(a.length||i.length)&&this.queue.push({pending:i,loaded:{},errors:[],callback:o}),{toLoad:a,pending:i,toLoadLanguages:s,toLoadNamespaces:c}}},{key:"loaded",value:function(e,n,t){var o=b(e.split("|"),2),r=o[0],a=o[1];n&&this.emit("failedLoading",r,a,n),t&&this.store.addResourceBundle(r,a,t),this.state[e]=n?-1:2;var i={};this.queue.forEach((function(t){!function(e,n,t,o){var r=O(e,n,Object),a=r.obj,i=r.k;a[i]=a[i]||[],o&&(a[i]=a[i].concat(t)),o||a[i].push(t)}(t.loaded,[r],a),function(e,n){for(var t=e.indexOf(n);-1!==t;)e.splice(t,1),t=e.indexOf(n)}(t.pending,e),n&&t.errors.push(n),0!==t.pending.length||t.done||(Object.keys(t.loaded).forEach((function(e){i[e]||(i[e]=[]),t.loaded[e].length&&t.loaded[e].forEach((function(n){i[e].indexOf(n)<0&&i[e].push(n)}))})),t.done=!0,t.errors.length?t.callback(t.errors):t.callback())})),this.emit("loaded",i),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,n,t){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:250,i=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[t](e,n,(function(s,c){s&&c&&r<5?setTimeout((function(){o.read.call(o,e,n,t,r+1,2*a,i)}),a):i(s,c)})):i(null,{})}},{key:"prepareLoading",value:function(e,n){var t=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"===typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"===typeof n&&(n=[n]);var a=this.queueLoad(e,n,o,r);if(!a.toLoad.length)return a.pending.length||r(),null;a.toLoad.forEach((function(e){t.loadOne(e)}))}},{key:"load",value:function(e,n,t){this.prepareLoading(e,n,{},t)}},{key:"reload",value:function(e,n,t){this.prepareLoading(e,n,{reload:!0},t)}},{key:"loadOne",value:function(e){var n=this,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.split("|"),r=b(o,2),a=r[0],i=r[1];this.read(a,i,"read",null,null,(function(o,r){o&&n.logger.warn("".concat(t,"loading namespace ").concat(i," for language ").concat(a," failed"),o),!o&&r&&n.logger.log("".concat(t,"loaded namespace ").concat(i," for language ").concat(a),r),n.loaded(e,o,r)}))}},{key:"saveMissing",value:function(e,n,t,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)?this.logger.warn('did not save key "'.concat(t,'" for namespace "').concat(n,'" as the namespace was not yet loaded'),"This means something IS WRONG in your application setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):(this.backend&&this.backend.create&&this.backend.create(e,n,t,o,null,a({},i,{isUpdate:r})),e&&e[0]&&this.store.addResource(e[0],n,t,o))}}]),n}(S);function q(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var n={};if("object"===o(e[1])&&(n=e[1]),"string"===typeof e[1]&&(n.defaultValue=e[1]),"string"===typeof e[2]&&(n.tDescription=e[2]),"object"===o(e[2])||"object"===o(e[3])){var t=e[3]||e[2];Object.keys(t).forEach((function(e){n[e]=t[e]}))}return n},interpolation:{escapeValue:!0,format:function(e,n,t){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",maxReplaces:1e3}}}function K(e){return"string"===typeof e.ns&&(e.ns=[e.ns]),"string"===typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"===typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e}function W(){}var $=new(function(e){function n(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(i(this,n),e=p(this,m(n).call(this)),S.call(d(e)),e.options=K(t),e.services={},e.logger=w,e.modules={external:[]},o&&!e.isInitialized&&!t.isClone){if(!e.options.initImmediate)return e.init(t,o),p(e,d(e));setTimeout((function(){e.init(t,o)}),0)}return e}return f(n,e),c(n,[{key:"init",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;function o(e){return e?"function"===typeof e?new e:e:null}if("function"===typeof n&&(t=n,n={}),this.options=a({},q(),this.options,K(n)),this.format=this.options.interpolation.format,t||(t=W),!this.options.isClone){this.modules.logger?w.init(o(this.modules.logger),this.options):w.init(null,this.options);var r=new U(this.options);this.store=new j(this.options.resources,this.options);var i=this.services;i.logger=w,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new V(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new G(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new H(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(n){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];e.emit.apply(e,[n].concat(o))})),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new L(this.services,this.options),this.translator.on("*",(function(n){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];e.emit.apply(e,[n].concat(o))})),this.modules.external.forEach((function(n){n.init&&n.init(e)}))}var s=["getResource","addResource","addResources","addResourceBundle","removeResourceBundle","hasResourceBundle","getResourceBundle","getDataByLanguage"];s.forEach((function(n){e[n]=function(){var t;return(t=e.store)[n].apply(t,arguments)}}));var c=_(),u=function(){e.changeLanguage(e.options.lng,(function(n,o){e.isInitialized=!0,e.logger.log("initialized",e.options),e.emit("initialized",e.options),c.resolve(o),t(n,o)}))};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}},{key:"loadResources",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W;if(!this.options.resources||this.options.partialBundledLanguages){if(this.language&&"cimode"===this.language.toLowerCase())return n();var t=[],o=function(n){n&&e.services.languageUtils.toResolveHierarchy(n).forEach((function(e){t.indexOf(e)<0&&t.push(e)}))};if(this.language)o(this.language);else{var r=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);r.forEach((function(e){return o(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return o(e)})),this.services.backendConnector.load(t,this.options.ns,n)}else n(null)}},{key:"reloadResources",value:function(e,n,t){var o=_();return e||(e=this.languages),n||(n=this.options.ns),t||(t=W),this.services.backendConnector.reload(e,n,(function(e){o.resolve(),t(e)})),o}},{key:"use",value:function(e){return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&N.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,n){var t=this,o=_();this.emit("languageChanging",e);var r=function(e){e&&(t.language=e,t.languages=t.services.languageUtils.toResolveHierarchy(e),t.translator.language||t.translator.changeLanguage(e),t.services.languageDetector&&t.services.languageDetector.cacheUserLanguage(e)),t.loadResources((function(r){!function(e,r){t.translator.changeLanguage(r),r&&(t.emit("languageChanged",r),t.logger.log("languageChanged",r)),o.resolve((function(){return t.t.apply(t,arguments)})),n&&n(e,(function(){return t.t.apply(t,arguments)}))}(r,e)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(e,n){var t=this,r=function e(n,r){var i;if("object"!==o(r)){for(var s=arguments.length,c=new Array(s>2?s-2:0),u=2;u<s;u++)c[u-2]=arguments[u];i=t.options.overloadTranslationOptionHandler([n,r].concat(c))}else i=a({},r);return i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns,t.t(n,i)};return"string"===typeof e?r.lng=e:r.lngs=e,r.ns=n,r}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var n=this;if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var t=this.languages[0],o=!!this.options&&this.options.fallbackLng,r=this.languages[this.languages.length-1];if("cimode"===t.toLowerCase())return!0;var a=function(e,t){var o=n.services.backendConnector.state["".concat(e,"|").concat(t)];return-1===o||2===o};return!!this.hasResourceBundle(t,e)||(!this.services.backendConnector.backend||!(!a(t,e)||o&&!a(r,e)))}},{key:"loadNamespaces",value:function(e,n){var t=this,o=_();return this.options.ns?("string"===typeof e&&(e=[e]),e.forEach((function(e){t.options.ns.indexOf(e)<0&&t.options.ns.push(e)})),this.loadResources((function(e){o.resolve(),n&&n(e)})),o):(n&&n(),Promise.resolve())}},{key:"loadLanguages",value:function(e,n){var t=_();"string"===typeof e&&(e=[e]);var o=this.options.preload||[],r=e.filter((function(e){return o.indexOf(e)<0}));return r.length?(this.options.preload=o.concat(r),this.loadResources((function(e){t.resolve(),n&&n(e)})),t):(n&&n(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new n(e,t)}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:W,r=a({},this.options,t,{isClone:!0}),i=new n(r),s=["store","services","language"];return s.forEach((function(n){i[n]=e[n]})),i.translator=new L(i.services,i.options),i.translator.on("*",(function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];i.emit.apply(i,[e].concat(t))})),i.init(r,o),i.translator.options=i.options,i}}]),n}(S));n.a=$},function(e,n,t){"use strict";function o(e,n){return(o=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function r(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,o(e,n)}t.d(n,"a",(function(){return r}))},,,,function(e,n){var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var o=new Uint8Array(16);e.exports=function(){return t(o),o}}else{var r=new Array(16);e.exports=function(){for(var e,n=0;n<16;n++)0===(3&n)&&(e=4294967296*Math.random()),r[n]=e>>>((3&n)<<3)&255;return r}}},function(e,n){for(var t=[],o=0;o<256;++o)t[o]=(o+256).toString(16).substr(1);e.exports=function(e,n){var o=n||0,r=t;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.MAX_HASHABLE_LENGTH=n.INIT=n.KEY=n.DIGEST_LENGTH=n.BLOCK_SIZE=void 0,n.BLOCK_SIZE=64,n.DIGEST_LENGTH=32,n.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],n.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var o=t(596),r=t(213),a=t(504),i=t(184),s=function(){function e(e){e?(this.operation=function(e){return new Promise((function(n,t){var o=(0,i.locateWindow)().msCrypto.subtle.importKey("raw",c(e),r.SHA_256_HMAC_ALGO,!1,["sign"]);o.oncomplete=function(){o.result&&n(o.result),t(new Error("ImportKey completed without importing key."))},o.onerror=function(){t(new Error("ImportKey failed to import key."))}}))}(e).then((function(e){return(0,i.locateWindow)().msCrypto.subtle.sign(r.SHA_256_HMAC_ALGO,e)})),this.operation.catch((function(){}))):this.operation=Promise.resolve((0,i.locateWindow)().msCrypto.subtle.digest("SHA-256"))}return e.prototype.update=function(e){var n=this;(0,o.isEmptyData)(e)||(this.operation=this.operation.then((function(t){return t.onerror=function(){n.operation=Promise.reject(new Error("Error encountered updating hash"))},t.process(c(e)),t})),this.operation.catch((function(){})))},e.prototype.digest=function(){return this.operation.then((function(e){return new Promise((function(n,t){e.onerror=function(){t(new Error("Error encountered finalizing hash"))},e.oncomplete=function(){e.result&&n(new Uint8Array(e.result)),t(new Error("Error encountered finalizing hash"))},e.finish()}))}))},e}();function c(e){return"string"===typeof e?(0,a.fromUtf8)(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}n.Sha256=s},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EMPTY_DATA_SHA_256=n.SHA_256_HMAC_ALGO=n.SHA_256_HASH=void 0,n.SHA_256_HASH={name:"SHA-256"},n.SHA_256_HMAC_ALGO={name:"HMAC",hash:n.SHA_256_HASH},n.EMPTY_DATA_SHA_256=new Uint8Array([227,176,196,66,152,252,28,20,154,251,244,200,153,111,185,36,39,174,65,228,100,155,147,76,164,149,153,27,120,82,184,85])},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var o=t(597),r=t(213),a=t(184),i=function(){function e(e){this.toHash=new Uint8Array(0),void 0!==e&&(this.key=new Promise((function(n,t){(0,a.locateWindow)().crypto.subtle.importKey("raw",(0,o.convertToBuffer)(e),r.SHA_256_HMAC_ALGO,!1,["sign"]).then(n,t)})),this.key.catch((function(){})))}return e.prototype.update=function(e){if(!(0,o.isEmptyData)(e)){var n=(0,o.convertToBuffer)(e),t=new Uint8Array(this.toHash.byteLength+n.byteLength);t.set(this.toHash,0),t.set(n,this.toHash.byteLength),this.toHash=t}},e.prototype.digest=function(){var e=this;return this.key?this.key.then((function(n){return(0,a.locateWindow)().crypto.subtle.sign(r.SHA_256_HMAC_ALGO,n,e.toHash).then((function(e){return new Uint8Array(e)}))})):(0,o.isEmptyData)(this.toHash)?Promise.resolve(r.EMPTY_DATA_SHA_256):Promise.resolve().then((function(){return(0,a.locateWindow)().crypto.subtle.digest(r.SHA_256_HASH,e.toHash)})).then((function(e){return Promise.resolve(new Uint8Array(e))}))},e}();n.Sha256=i},function(e,n,t){"use strict";t.r(n),n.default=function(e,n){return n=n||{},new Promise((function(t,o){var r=new XMLHttpRequest,a=[],i=[],s={},c=function e(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:e,headers:{keys:function(){return a},entries:function(){return i},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var u in r.open(n.method||"get",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,n,t){a.push(n=n.toLowerCase()),i.push([n,t]),s[n]=s[n]?s[n]+","+t:t})),t(c())},r.onerror=o,r.withCredentials="include"==n.credentials,n.headers)r.setRequestHeader(u,n.headers[u]);r.send(n.body||null)}))}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","930","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279","340","983","448","943","363","326","839","826","948"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2642","2644","2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"\xc5land Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["7","29"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76","77","78","79"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","263","289","306","343","354","365","367","368","403","416","418","431","437","438","450","468","474","506","514","519","548","579","581","584","587","600","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905","428","382"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"C\xf4te D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"5999",country_name:"Cura\xe7ao",mobile_begin_with:["5","6"],phone_number_lengths:[7]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93","342","344","345","346","347","348","349","356","357","359","362","365","366","389","398","431","441","462","466","468","472","474","476","478","485","486","488","489","493","494","495","496","498","499","542","543","545","551","552","556","571","572","573","574","577","579","584","586","587","589","597","598","627","629","641","649","658","662","663","664","665","667","692","693","694","697","771","772","782","783","785","786","788","789","826","827","829"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["20","22","31258","312973","5","600","7","88","912","99"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"R\xe9union",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499","835"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SZ",alpha3:"SWZ",country_code:"268",country_name:"Swaziland",mobile_begin_with:["76","77","78","79"],phone_number_lengths:[8]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77","78"],phone_number_lengths:[9]}]},function(e,n){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}},function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var o=t(28),r=t(19),a=t(152),i=t(149),s=t(80),c=t(95),u=t(35),l=t(105),d=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new a.a,this.mutationCache=e.mutationCache||new i.a,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var n=e.prototype;return n.mount=function(){var e=this;this.unsubscribeFocus=s.a.subscribe((function(){s.a.isFocused()&&c.a.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())})),this.unsubscribeOnline=c.a.subscribe((function(){s.a.isFocused()&&c.a.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())}))},n.unmount=function(){var e,n;null==(e=this.unsubscribeFocus)||e.call(this),null==(n=this.unsubscribeOnline)||n.call(this)},n.isFetching=function(e,n){var t=Object(r.j)(e,n)[0];return t.fetching=!0,this.queryCache.findAll(t).length},n.isMutating=function(e){return this.mutationCache.findAll(Object(o.a)({},e,{fetching:!0})).length},n.getQueryData=function(e,n){var t;return null==(t=this.queryCache.find(e,n))?void 0:t.state.data},n.getQueriesData=function(e){return this.getQueryCache().findAll(e).map((function(e){return[e.queryKey,e.state.data]}))},n.setQueryData=function(e,n,t){var o=Object(r.l)(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(n,t)},n.setQueriesData=function(e,n,t){var o=this;return u.a.batch((function(){return o.getQueryCache().findAll(e).map((function(e){var r=e.queryKey;return[r,o.setQueryData(r,n,t)]}))}))},n.getQueryState=function(e,n){var t;return null==(t=this.queryCache.find(e,n))?void 0:t.state},n.removeQueries=function(e,n){var t=Object(r.j)(e,n)[0],o=this.queryCache;u.a.batch((function(){o.findAll(t).forEach((function(e){o.remove(e)}))}))},n.resetQueries=function(e,n,t){var a=this,i=Object(r.j)(e,n,t),s=i[0],c=i[1],l=this.queryCache,d=Object(o.a)({},s,{active:!0});return u.a.batch((function(){return l.findAll(s).forEach((function(e){e.reset()})),a.refetchQueries(d,c)}))},n.cancelQueries=function(e,n,t){var o=this,a=Object(r.j)(e,n,t),i=a[0],s=a[1],c=void 0===s?{}:s;"undefined"===typeof c.revert&&(c.revert=!0);var l=u.a.batch((function(){return o.queryCache.findAll(i).map((function(e){return e.cancel(c)}))}));return Promise.all(l).then(r.i).catch(r.i)},n.invalidateQueries=function(e,n,t){var a,i,s,c=this,l=Object(r.j)(e,n,t),d=l[0],p=l[1],m=Object(o.a)({},d,{active:null==(a=null!=(i=d.refetchActive)?i:d.active)||a,inactive:null!=(s=d.refetchInactive)&&s});return u.a.batch((function(){return c.queryCache.findAll(d).forEach((function(e){e.invalidate()})),c.refetchQueries(m,p)}))},n.refetchQueries=function(e,n,t){var a=this,i=Object(r.j)(e,n,t),s=i[0],c=i[1],l=u.a.batch((function(){return a.queryCache.findAll(s).map((function(e){return e.fetch(void 0,Object(o.a)({},c,{meta:{refetchPage:null==s?void 0:s.refetchPage}}))}))})),d=Promise.all(l).then(r.i);return(null==c?void 0:c.throwOnError)||(d=d.catch(r.i)),d},n.fetchQuery=function(e,n,t){var o=Object(r.l)(e,n,t),a=this.defaultQueryOptions(o);"undefined"===typeof a.retry&&(a.retry=!1);var i=this.queryCache.build(this,a);return i.isStaleByTime(a.staleTime)?i.fetch(a):Promise.resolve(i.state.data)},n.prefetchQuery=function(e,n,t){return this.fetchQuery(e,n,t).then(r.i).catch(r.i)},n.fetchInfiniteQuery=function(e,n,t){var o=Object(r.l)(e,n,t);return o.behavior=Object(l.c)(),this.fetchQuery(o)},n.prefetchInfiniteQuery=function(e,n,t){return this.fetchInfiniteQuery(e,n,t).then(r.i).catch(r.i)},n.cancelMutations=function(){var e=this,n=u.a.batch((function(){return e.mutationCache.getAll().map((function(e){return e.cancel()}))}));return Promise.all(n).then(r.i).catch(r.i)},n.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},n.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},n.getQueryCache=function(){return this.queryCache},n.getMutationCache=function(){return this.mutationCache},n.getDefaultOptions=function(){return this.defaultOptions},n.setDefaultOptions=function(e){this.defaultOptions=e},n.setQueryDefaults=function(e,n){var t=this.queryDefaults.find((function(n){return Object(r.c)(e)===Object(r.c)(n.queryKey)}));t?t.defaultOptions=n:this.queryDefaults.push({queryKey:e,defaultOptions:n})},n.getQueryDefaults=function(e){var n;return e?null==(n=this.queryDefaults.find((function(n){return Object(r.m)(e,n.queryKey)})))?void 0:n.defaultOptions:void 0},n.setMutationDefaults=function(e,n){var t=this.mutationDefaults.find((function(n){return Object(r.c)(e)===Object(r.c)(n.mutationKey)}));t?t.defaultOptions=n:this.mutationDefaults.push({mutationKey:e,defaultOptions:n})},n.getMutationDefaults=function(e){var n;return e?null==(n=this.mutationDefaults.find((function(n){return Object(r.m)(e,n.mutationKey)})))?void 0:n.defaultOptions:void 0},n.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var n=Object(o.a)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!n.queryHash&&n.queryKey&&(n.queryHash=Object(r.d)(n.queryKey,n)),n},n.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},n.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:Object(o.a)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},n.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},function(e,n){},function(e,n,t){"use strict";t(745),t(746);var o=t(86);t.d(n,"QueryClientProvider",(function(){return o.a})),t.d(n,"useQueryClient",(function(){return o.b}));var r=t(221);t.d(n,"useIsFetching",(function(){return r.a}));var a=t(222);t.d(n,"useMutation",(function(){return a.a}));var i=t(223);t.d(n,"useQuery",(function(){return i.a}));var s=t(224);t.d(n,"useInfiniteQuery",(function(){return s.a}));var c=t(225);t.o(c,"QueryClient")&&t.d(n,"QueryClient",(function(){return c.QueryClient}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var o=t(0),r=t.n(o),a=t(35),i=t(19),s=t(86);function c(e,n){var t=r.a.useRef(!1),o=Object(s.b)(),c=Object(i.j)(e,n)[0],u=r.a.useState(o.isFetching(c)),l=u[0],d=u[1],p=r.a.useRef(c);p.current=c;var m=r.a.useRef(l);return m.current=l,r.a.useEffect((function(){t.current=!0;var e=o.getQueryCache().subscribe(a.a.batchCalls((function(){if(t.current){var e=o.isFetching(p.current);m.current!==e&&d(e)}})));return function(){t.current=!1,e()}}),[o]),l}},function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var o=t(28),r=t(0),a=t.n(r),i=t(35),s=t(19),c=t(150),u=t(86),l=t(160);function d(e,n,t){var r=a.a.useRef(!1),d=a.a.useState(0)[1],p=Object(s.k)(e,n,t),m=Object(u.b)(),h=a.a.useRef();h.current?h.current.setOptions(p):h.current=new c.a(m,p);var f=h.current.getCurrentResult();a.a.useEffect((function(){r.current=!0;var e=h.current.subscribe(i.a.batchCalls((function(){r.current&&d((function(e){return e+1}))})));return function(){r.current=!1,e()}}),[]);var g=a.a.useCallback((function(e,n){h.current.mutate(e,n).catch(s.i)}),[]);if(f.error&&Object(l.a)(void 0,h.current.options.useErrorBoundary,f.error))throw f.error;return Object(o.a)({},f,{mutate:g,mutateAsync:f.mutate})}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(137),r=t(19),a=t(161);function i(e,n,t){var i=Object(r.l)(e,n,t);return Object(a.a)(i,o.a)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(151),r=t(19),a=t(161);function i(e,n,t){var i=Object(r.l)(e,n,t);return Object(a.a)(i,o.a)}},function(e,n){},,function(e,n){e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(229);e.exports=function(e,n){if(e){if("string"===typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,n):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return 0!==o(e,n,t)}},function(e,n,t){var o=t(188),r=t(231),a=t(145),i=t(191),s=t(190),c=t(192);e.exports=function(e,n,t,u){switch(n){case"===":return"object"===typeof e&&(e=e.version),"object"===typeof t&&(t=t.version),e===t;case"!==":return"object"===typeof e&&(e=e.version),"object"===typeof t&&(t=t.version),e!==t;case"":case"=":case"==":return o(e,t,u);case"!=":return r(e,t,u);case">":return a(e,t,u);case">=":return i(e,t,u);case"<":return s(e,t,u);case"<=":return c(e,t,u);default:throw new TypeError("Invalid operator: ".concat(n))}}},function(e,n,t){var o=t(668),r=t(669),a=t(185),i=t(670);e.exports=function(e,n){return o(e)||r(e,n)||a(e,n)||i()}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,n,t){var o=t(194),r=t(500);function a(n,t,i){return r()?e.exports=a=Reflect.construct:e.exports=a=function(e,n,t){var r=[null];r.push.apply(r,n);var a=new(Function.bind.apply(e,r));return t&&o(a,t.prototype),a},a.apply(null,arguments)}e.exports=a},function(e,n){e.exports=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,n){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(n)}e.exports=t},function(e,n,t){"use strict";var o=t(197),r=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],n=0;n<256;++n)e.push("%"+((n<16?"0":"")+n.toString(16)).toUpperCase());return e}(),s=function(e,n){for(var t=n&&n.plainObjects?Object.create(null):{},o=0;o<e.length;++o)"undefined"!==typeof e[o]&&(t[o]=e[o]);return t};e.exports={arrayToObject:s,assign:function(e,n){return Object.keys(n).reduce((function(e,t){return e[t]=n[t],e}),e)},combine:function(e,n){return[].concat(e,n)},compact:function(e){for(var n=[{obj:{o:e},prop:"o"}],t=[],o=0;o<n.length;++o)for(var r=n[o],i=r.obj[r.prop],s=Object.keys(i),c=0;c<s.length;++c){var u=s[c],l=i[u];"object"===typeof l&&null!==l&&-1===t.indexOf(l)&&(n.push({obj:i,prop:u}),t.push(l))}return function(e){for(;e.length>1;){var n=e.pop(),t=n.obj[n.prop];if(a(t)){for(var o=[],r=0;r<t.length;++r)"undefined"!==typeof t[r]&&o.push(t[r]);n.obj[n.prop]=o}}}(n),e},decode:function(e,n,t){var o=e.replace(/\+/g," ");if("iso-8859-1"===t)return o.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(o)}catch(r){return o}},encode:function(e,n,t,r,a){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===t)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",u=0;u<s.length;++u){var l=s.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===o.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=i[l]:l<2048?c+=i[192|l>>6]+i[128|63&l]:l<55296||l>=57344?c+=i[224|l>>12]+i[128|l>>6&63]+i[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=i[240|l>>18]+i[128|l>>12&63]+i[128|l>>6&63]+i[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,n){if(a(e)){for(var t=[],o=0;o<e.length;o+=1)t.push(n(e[o]));return t}return n(e)},merge:function e(n,t,o){if(!t)return n;if("object"!==typeof t){if(a(n))n.push(t);else{if(!n||"object"!==typeof n)return[n,t];(o&&(o.plainObjects||o.allowPrototypes)||!r.call(Object.prototype,t))&&(n[t]=!0)}return n}if(!n||"object"!==typeof n)return[n].concat(t);var i=n;return a(n)&&!a(t)&&(i=s(n,o)),a(n)&&a(t)?(t.forEach((function(t,a){if(r.call(n,a)){var i=n[a];i&&"object"===typeof i&&t&&"object"===typeof t?n[a]=e(i,t,o):n.push(t)}else n[a]=t})),n):Object.keys(t).reduce((function(n,a){var i=t[a];return r.call(n,a)?n[a]=e(n[a],i,o):n[a]=i,n}),i)}}},function(e,n,t){"use strict";function o(e){return(o="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)}e.exports=function(e){return null!==e&&"object"===o(e)}},function(e,n,t){"use strict";t.r(n),t.d(n,"fromUtf8",(function(){return o})),t.d(n,"toUtf8",(function(){return r}));var o=function(e){return"function"===typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var n=[],t=0,o=e.length;t<o;t++){var r=e.charCodeAt(t);if(r<128)n.push(r);else if(r<2048)n.push(r>>6|192,63&r|128);else if(t+1<e.length&&55296===(64512&r)&&56320===(64512&e.charCodeAt(t+1))){var a=65536+((1023&r)<<10)+(1023&e.charCodeAt(++t));n.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}else n.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(n)}(e)},r=function(e){return"function"===typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var n="",t=0,o=e.length;t<o;t++){var r=e[t];if(r<128)n+=String.fromCharCode(r);else if(192<=r&&r<224){var a=e[++t];n+=String.fromCharCode((31&r)<<6|63&a)}else if(240<=r&&r<365){var i="%"+[r,e[++t],e[++t],e[++t]].map((function(e){return e.toString(16)})).join("%");n+=decodeURIComponent(i)}else n+=String.fromCharCode((15&r)<<12|(63&e[++t])<<6|63&e[++t])}return n}(e)}},function(e,n,t){e.exports={parse:t(565),stringify:t(568)}},function(e,n){e.exports=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){function t(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){function t(){return e.exports=t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";function o(e){var n,t=e.Symbol;return"function"===typeof t?t.observable?n=t.observable:(n=t("observable"),t.observable=n):n="@@observable",n}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(1),r=new(t(131).a)("Hub"),a="undefined"!==typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default";var i=new(function(){function e(e){this.listeners=[],this.patterns=[],this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=e}return e.prototype._remove=function(e,n){if(e instanceof RegExp){var t=this.patterns.find((function(n){return n.pattern.source===e.source}));if(!t)return void r.warn("No listeners for "+e);this.patterns=Object(o.__spread)(this.patterns.filter((function(e){return e!==t})))}else{var a=this.listeners[e];if(!a)return void r.warn("No listeners for "+e);this.listeners[e]=Object(o.__spread)(a.filter((function(e){return e.callback!==n})))}},e.prototype.remove=function(e,n){this._remove(e,n)},e.prototype.dispatch=function(e,n,t,i){(void 0===t&&(t=""),this.protectedChannels.indexOf(e)>-1)&&(i===a||r.warn("WARNING: "+e+" is protected and dispatching on it can have unintended consequences"));var s={channel:e,payload:Object(o.__assign)({},n),source:t,patternInfo:[]};try{this._toListeners(s)}catch(c){r.error(c)}},e.prototype.listen=function(e,n,t){var o,a=this;if(void 0===t&&(t="noname"),function(e){return void 0!==e.onHubCapsule}(n))r.warn("WARNING onHubCapsule is Deprecated. Please pass in a callback."),o=n.onHubCapsule.bind(n);else{if("function"!==typeof n)throw new Error("No callback supplied to Hub");o=n}if(e instanceof RegExp)this.patterns.push({pattern:e,callback:o});else{var i=this.listeners[e];i||(i=[],this.listeners[e]=i),i.push({name:t,callback:o})}return function(){a._remove(e,o)}},e.prototype._toListeners=function(e){var n=e.channel,t=e.payload,a=this.listeners[n];if(a&&a.forEach((function(o){r.debug("Dispatching to "+n+" with ",t);try{o.callback(e)}catch(a){r.error(a)}})),this.patterns.length>0){if(!t.message)return void r.warn("Cannot perform pattern matching without a message key");var i=t.message;this.patterns.forEach((function(n){var t=i.match(n.pattern);if(t){var a=Object(o.__read)(t).slice(1),s=Object(o.__assign)(Object(o.__assign)({},e),{patternInfo:a});try{n.callback(s)}catch(c){r.error(c)}}}))}},e}())("__default__")},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r=new(t(131).a)("Parser"),a=function(e){var n,t={};if(e.aws_mobile_analytics_app_id){var a={AWSPinpoint:{appId:e.aws_mobile_analytics_app_id,region:e.aws_mobile_analytics_app_region}};t.Analytics=a}return(e.aws_cognito_identity_pool_id||e.aws_user_pools_id)&&(t.Auth={userPoolId:e.aws_user_pools_id,userPoolWebClientId:e.aws_user_pools_web_client_id,region:e.aws_cognito_region,identityPoolId:e.aws_cognito_identity_pool_id,identityPoolRegion:e.aws_cognito_region,mandatorySignIn:"enable"===e.aws_mandatory_sign_in,signUpVerificationMethod:e.aws_cognito_sign_up_verification_method||"code"}),n=e.aws_user_files_s3_bucket?{AWSS3:{bucket:e.aws_user_files_s3_bucket,region:e.aws_user_files_s3_bucket_region,dangerouslyConnectToHttpEndpointForTesting:e.aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing}}:e?e.Storage||e:{},e.Logging&&(t.Logging=Object(o.__assign)(Object(o.__assign)({},e.Logging),{region:e.aws_project_region})),e.geo&&(t.Geo=Object.assign({},e.geo),e.geo.amazon_location_service&&(t.Geo={AmazonLocationService:e.geo.amazon_location_service})),t.Analytics=Object.assign({},t.Analytics,e.Analytics),t.Auth=Object.assign({},t.Auth,e.Auth),t.Storage=Object.assign({},n),t.Logging=Object.assign({},t.Logging,e.Logging),r.debug("parse config",e,"to amplifyconfig",t),t}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var o=function(e){return"function"===typeof ArrayBuffer&&e instanceof ArrayBuffer||"[object ArrayBuffer]"===Object.prototype.toString.call(e)}},function(e,n,t){e.exports=function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=90)}({17:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o=t(18),r=function(){function e(){}return e.getFirstMatch=function(e,n){var t=n.match(e);return t&&t.length>0&&t[1]||""},e.getSecondMatch=function(e,n){var t=n.match(e);return t&&t.length>1&&t[2]||""},e.matchAndReturnConst=function(e,n,t){if(e.test(n))return t},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var n=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(n.push(0),10===n[0])switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var n=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(n.push(0),!(1===n[0]&&n[1]<5))return 1===n[0]&&n[1]<6?"Cupcake":1===n[0]&&n[1]>=6?"Donut":2===n[0]&&n[1]<2?"Eclair":2===n[0]&&2===n[1]?"Froyo":2===n[0]&&n[1]>2?"Gingerbread":3===n[0]?"Honeycomb":4===n[0]&&n[1]<1?"Ice Cream Sandwich":4===n[0]&&n[1]<4?"Jelly Bean":4===n[0]&&n[1]>=4?"KitKat":5===n[0]?"Lollipop":6===n[0]?"Marshmallow":7===n[0]?"Nougat":8===n[0]?"Oreo":9===n[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(n,t,o){void 0===o&&(o=!1);var r=e.getVersionPrecision(n),a=e.getVersionPrecision(t),i=Math.max(r,a),s=0,c=e.map([n,t],(function(n){var t=i-e.getVersionPrecision(n),o=n+new Array(t+1).join(".0");return e.map(o.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(o&&(s=i-Math.min(r,a)),i-=1;i>=s;){if(c[0][i]>c[1][i])return 1;if(c[0][i]===c[1][i]){if(i===s)return 0;i-=1}else if(c[0][i]<c[1][i])return-1}},e.map=function(e,n){var t,o=[];if(Array.prototype.map)return Array.prototype.map.call(e,n);for(t=0;t<e.length;t+=1)o.push(n(e[t]));return o},e.find=function(e,n){var t,o;if(Array.prototype.find)return Array.prototype.find.call(e,n);for(t=0,o=e.length;t<o;t+=1){var r=e[t];if(n(r,t))return r}},e.assign=function(e){for(var n,t,o=e,r=arguments.length,a=new Array(r>1?r-1:0),i=1;i<r;i++)a[i-1]=arguments[i];if(Object.assign)return Object.assign.apply(Object,[e].concat(a));var s=function(){var e=a[n];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(n){o[n]=e[n]}))};for(n=0,t=a.length;n<t;n+=1)s();return e},e.getBrowserAlias=function(e){return o.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return o.BROWSER_MAP[e]||""},e}();n.default=r,e.exports=n.default},18:function(e,n,t){"use strict";n.__esModule=!0,n.ENGINE_MAP=n.OS_MAP=n.PLATFORMS_MAP=n.BROWSER_MAP=n.BROWSER_ALIASES_MAP=void 0,n.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},n.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},n.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},n.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},n.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o,r=(o=t(91))&&o.__esModule?o:{default:o},a=t(18);function i(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var s=function(){function e(){}var n,t,o;return e.getParser=function(e,n){if(void 0===n&&(n=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new r.default(e,n)},e.parse=function(e){return new r.default(e).getResult()},n=e,o=[{key:"BROWSER_MAP",get:function(){return a.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return a.ENGINE_MAP}},{key:"OS_MAP",get:function(){return a.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return a.PLATFORMS_MAP}}],(t=null)&&i(n.prototype,t),o&&i(n,o),e}();n.default=s,e.exports=n.default},91:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o=c(t(92)),r=c(t(93)),a=c(t(94)),i=c(t(95)),s=c(t(17));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(e,n){if(void 0===n&&(n=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==n&&this.parse()}var n=e.prototype;return n.getUA=function(){return this._ua},n.test=function(e){return e.test(this._ua)},n.parseBrowser=function(){var e=this;this.parsedResult.browser={};var n=s.default.find(o.default,(function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some((function(n){return e.test(n)}));throw new Error("Browser's test function is not valid")}));return n&&(this.parsedResult.browser=n.describe(this.getUA())),this.parsedResult.browser},n.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},n.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},n.getBrowserVersion=function(){return this.getBrowser().version},n.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},n.parseOS=function(){var e=this;this.parsedResult.os={};var n=s.default.find(r.default,(function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some((function(n){return e.test(n)}));throw new Error("Browser's test function is not valid")}));return n&&(this.parsedResult.os=n.describe(this.getUA())),this.parsedResult.os},n.getOSName=function(e){var n=this.getOS().name;return e?String(n).toLowerCase()||"":n||""},n.getOSVersion=function(){return this.getOS().version},n.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},n.getPlatformType=function(e){void 0===e&&(e=!1);var n=this.getPlatform().type;return e?String(n).toLowerCase()||"":n||""},n.parsePlatform=function(){var e=this;this.parsedResult.platform={};var n=s.default.find(a.default,(function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some((function(n){return e.test(n)}));throw new Error("Browser's test function is not valid")}));return n&&(this.parsedResult.platform=n.describe(this.getUA())),this.parsedResult.platform},n.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},n.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},n.parseEngine=function(){var e=this;this.parsedResult.engine={};var n=s.default.find(i.default,(function(n){if("function"==typeof n.test)return n.test(e);if(n.test instanceof Array)return n.test.some((function(n){return e.test(n)}));throw new Error("Browser's test function is not valid")}));return n&&(this.parsedResult.engine=n.describe(this.getUA())),this.parsedResult.engine},n.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},n.getResult=function(){return s.default.assign({},this.parsedResult)},n.satisfies=function(e){var n=this,t={},o=0,r={},a=0;if(Object.keys(e).forEach((function(n){var i=e[n];"string"==typeof i?(r[n]=i,a+=1):"object"==typeof i&&(t[n]=i,o+=1)})),o>0){var i=Object.keys(t),c=s.default.find(i,(function(e){return n.isOS(e)}));if(c){var u=this.satisfies(t[c]);if(void 0!==u)return u}var l=s.default.find(i,(function(e){return n.isPlatform(e)}));if(l){var d=this.satisfies(t[l]);if(void 0!==d)return d}}if(a>0){var p=Object.keys(r),m=s.default.find(p,(function(e){return n.isBrowser(e,!0)}));if(void 0!==m)return this.compareVersion(r[m])}},n.isBrowser=function(e,n){void 0===n&&(n=!1);var t=this.getBrowserName().toLowerCase(),o=e.toLowerCase(),r=s.default.getBrowserTypeByAlias(o);return n&&r&&(o=r.toLowerCase()),o===t},n.compareVersion=function(e){var n=[0],t=e,o=!1,r=this.getBrowserVersion();if("string"==typeof r)return">"===e[0]||"<"===e[0]?(t=e.substr(1),"="===e[1]?(o=!0,t=e.substr(2)):n=[],">"===e[0]?n.push(1):n.push(-1)):"="===e[0]?t=e.substr(1):"~"===e[0]&&(o=!0,t=e.substr(1)),n.indexOf(s.default.compareVersions(r,t,o))>-1},n.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},n.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},n.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},n.is=function(e,n){return void 0===n&&(n=!1),this.isBrowser(e,n)||this.isOS(e)||this.isPlatform(e)},n.some=function(e){var n=this;return void 0===e&&(e=[]),e.some((function(e){return n.is(e)}))},e}();n.default=u,e.exports=n.default},92:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o,r=(o=t(17))&&o.__esModule?o:{default:o},a=/version\/(\d+(\.?_?\d+)+)/i,i=[{test:[/googlebot/i],describe:function(e){var n={name:"Googlebot"},t=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/opera/i],describe:function(e){var n={name:"Opera"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/opr\/|opios/i],describe:function(e){var n={name:"Opera"},t=r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/SamsungBrowser/i],describe:function(e){var n={name:"Samsung Internet for Android"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/Whale/i],describe:function(e){var n={name:"NAVER Whale Browser"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/MZBrowser/i],describe:function(e){var n={name:"MZ Browser"},t=r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/focus/i],describe:function(e){var n={name:"Focus"},t=r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/swing/i],describe:function(e){var n={name:"Swing"},t=r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/coast/i],describe:function(e){var n={name:"Opera Coast"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var n={name:"Opera Touch"},t=r.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/yabrowser/i],describe:function(e){var n={name:"Yandex Browser"},t=r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/ucbrowser/i],describe:function(e){var n={name:"UC Browser"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/Maxthon|mxios/i],describe:function(e){var n={name:"Maxthon"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/epiphany/i],describe:function(e){var n={name:"Epiphany"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/puffin/i],describe:function(e){var n={name:"Puffin"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/sleipnir/i],describe:function(e){var n={name:"Sleipnir"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/k-meleon/i],describe:function(e){var n={name:"K-Meleon"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/micromessenger/i],describe:function(e){var n={name:"WeChat"},t=r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/qqbrowser/i],describe:function(e){var n={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},t=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/msie|trident/i],describe:function(e){var n={name:"Internet Explorer"},t=r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/\sedg\//i],describe:function(e){var n={name:"Microsoft Edge"},t=r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/edg([ea]|ios)/i],describe:function(e){var n={name:"Microsoft Edge"},t=r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/vivaldi/i],describe:function(e){var n={name:"Vivaldi"},t=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/seamonkey/i],describe:function(e){var n={name:"SeaMonkey"},t=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/sailfish/i],describe:function(e){var n={name:"Sailfish"},t=r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return t&&(n.version=t),n}},{test:[/silk/i],describe:function(e){var n={name:"Amazon Silk"},t=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/phantom/i],describe:function(e){var n={name:"PhantomJS"},t=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/slimerjs/i],describe:function(e){var n={name:"SlimerJS"},t=r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var n={name:"BlackBerry"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var n={name:"WebOS Browser"},t=r.default.getFirstMatch(a,e)||r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/bada/i],describe:function(e){var n={name:"Bada"},t=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/tizen/i],describe:function(e){var n={name:"Tizen"},t=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/qupzilla/i],describe:function(e){var n={name:"QupZilla"},t=r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var n={name:"Firefox"},t=r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/electron/i],describe:function(e){var n={name:"Electron"},t=r.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/MiuiBrowser/i],describe:function(e){var n={name:"Miui"},t=r.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/chromium/i],describe:function(e){var n={name:"Chromium"},t=r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/chrome|crios|crmo/i],describe:function(e){var n={name:"Chrome"},t=r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/GSA/i],describe:function(e){var n={name:"Google Search"},t=r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:function(e){var n=!e.test(/like android/i),t=e.test(/android/i);return n&&t},describe:function(e){var n={name:"Android Browser"},t=r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/playstation 4/i],describe:function(e){var n={name:"PlayStation 4"},t=r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/safari|applewebkit/i],describe:function(e){var n={name:"Safari"},t=r.default.getFirstMatch(a,e);return t&&(n.version=t),n}},{test:[/.*/i],describe:function(e){var n=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(n,e),version:r.default.getSecondMatch(n,e)}}}];n.default=i,e.exports=n.default},93:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o,r=(o=t(17))&&o.__esModule?o:{default:o},a=t(18),i=[{test:[/Roku\/DVP/],describe:function(e){var n=r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:a.OS_MAP.Roku,version:n}}},{test:[/windows phone/i],describe:function(e){var n=r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.WindowsPhone,version:n}}},{test:[/windows /i],describe:function(e){var n=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),t=r.default.getWindowsVersionName(n);return{name:a.OS_MAP.Windows,version:n,versionName:t}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var n={name:a.OS_MAP.iOS},t=r.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return t&&(n.version=t),n}},{test:[/macintosh/i],describe:function(e){var n=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),t=r.default.getMacOSVersionName(n),o={name:a.OS_MAP.MacOS,version:n};return t&&(o.versionName=t),o}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var n=r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:n}}},{test:function(e){var n=!e.test(/like android/i),t=e.test(/android/i);return n&&t},describe:function(e){var n=r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),t=r.default.getAndroidVersionName(n),o={name:a.OS_MAP.Android,version:n};return t&&(o.versionName=t),o}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var n=r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),t={name:a.OS_MAP.WebOS};return n&&n.length&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var n=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||r.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:a.OS_MAP.BlackBerry,version:n}}},{test:[/bada/i],describe:function(e){var n=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Bada,version:n}}},{test:[/tizen/i],describe:function(e){var n=r.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Tizen,version:n}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var n=r.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.PlayStation4,version:n}}}];n.default=i,e.exports=n.default},94:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o,r=(o=t(17))&&o.__esModule?o:{default:o},a=t(18),i=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var n=r.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",t={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return n&&(t.model=n),t}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){var n=e.test(/ipod|iphone/i),t=e.test(/like (ipod|iphone)/i);return n&&!t},describe:function(e){var n=r.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:n}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var n=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&n>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];n.default=i,e.exports=n.default},95:function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var o,r=(o=t(17))&&o.__esModule?o:{default:o},a=t(18),i=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:a.ENGINE_MAP.Blink};var n=r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:a.ENGINE_MAP.EdgeHTML,version:n}}},{test:[/trident/i],describe:function(e){var n={name:a.ENGINE_MAP.Trident},t=r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:function(e){return e.test(/presto/i)},describe:function(e){var n={name:a.ENGINE_MAP.Presto},t=r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:function(e){var n=e.test(/gecko/i),t=e.test(/like gecko/i);return n&&!t},describe:function(e){var n={name:a.ENGINE_MAP.Gecko},t=r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var n={name:a.ENGINE_MAP.WebKit},t=r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return t&&(n.version=t),n}}];n.default=i,e.exports=n.default}})},function(e){e.exports=JSON.parse('{"name":"@aws-sdk/client-pinpoint","description":"AWS SDK for JavaScript Pinpoint Client for Node.js, Browser and React Native","version":"3.6.1","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","prepublishOnly":"yarn build","pretest":"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test":"exit 0","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","postbuild":"downlevel-dts types types/ts3.4"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.6.1","@aws-sdk/credential-provider-node":"3.6.1","@aws-sdk/fetch-http-handler":"3.6.1","@aws-sdk/hash-node":"3.6.1","@aws-sdk/invalid-dependency":"3.6.1","@aws-sdk/middleware-content-length":"3.6.1","@aws-sdk/middleware-host-header":"3.6.1","@aws-sdk/middleware-logger":"3.6.1","@aws-sdk/middleware-retry":"3.6.1","@aws-sdk/middleware-serde":"3.6.1","@aws-sdk/middleware-signing":"3.6.1","@aws-sdk/middleware-stack":"3.6.1","@aws-sdk/middleware-user-agent":"3.6.1","@aws-sdk/node-config-provider":"3.6.1","@aws-sdk/node-http-handler":"3.6.1","@aws-sdk/protocol-http":"3.6.1","@aws-sdk/smithy-client":"3.6.1","@aws-sdk/types":"3.6.1","@aws-sdk/url-parser":"3.6.1","@aws-sdk/url-parser-native":"3.6.1","@aws-sdk/util-base64-browser":"3.6.1","@aws-sdk/util-base64-node":"3.6.1","@aws-sdk/util-body-length-browser":"3.6.1","@aws-sdk/util-body-length-node":"3.6.1","@aws-sdk/util-user-agent-browser":"3.6.1","@aws-sdk/util-user-agent-node":"3.6.1","@aws-sdk/util-utf8-browser":"3.6.1","@aws-sdk/util-utf8-node":"3.6.1","tslib":"^2.0.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.6.1","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.1.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"types/*":["types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pinpoint","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-pinpoint"}}')},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o={},r=function(){function e(){}return e.setItem=function(e,n){return o[e]=n,o[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(o,e)?o[e]:void 0},e.removeItem=function(e){return delete o[e]},e.clear=function(){return o={}},e}(),a=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.amplify.test-ls",1),this.storageWindow.removeItem("aws.amplify.test-ls")}catch(e){this.storageWindow=r}}return e.prototype.getStorage=function(){return this.storageWindow},e}()},function(e){e.exports=JSON.parse('{"name":"@aws-sdk/client-cognito-identity","description":"AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native","version":"3.6.1","scripts":{"clean":"yarn remove-definitions && yarn remove-dist && yarn remove-documentation","build-documentation":"yarn remove-documentation && typedoc ./","prepublishOnly":"yarn build","pretest":"yarn build:cjs","remove-definitions":"rimraf ./types","remove-dist":"rimraf ./dist","remove-documentation":"rimraf ./docs","test:unit":"mocha **/cjs/**/*.spec.js","test:e2e":"mocha **/cjs/**/*.ispec.js && karma start karma.conf.js","test":"yarn test:unit","build:cjs":"tsc -p tsconfig.json","build:es":"tsc -p tsconfig.es.json","build":"yarn build:cjs && yarn build:es","postbuild":"downlevel-dts types types/ts3.4"},"main":"./dist/cjs/index.js","types":"./types/index.d.ts","module":"./dist/es/index.js","browser":{"./runtimeConfig":"./runtimeConfig.browser"},"react-native":{"./runtimeConfig":"./runtimeConfig.native"},"sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"^1.0.0","@aws-crypto/sha256-js":"^1.0.0","@aws-sdk/config-resolver":"3.6.1","@aws-sdk/credential-provider-node":"3.6.1","@aws-sdk/fetch-http-handler":"3.6.1","@aws-sdk/hash-node":"3.6.1","@aws-sdk/invalid-dependency":"3.6.1","@aws-sdk/middleware-content-length":"3.6.1","@aws-sdk/middleware-host-header":"3.6.1","@aws-sdk/middleware-logger":"3.6.1","@aws-sdk/middleware-retry":"3.6.1","@aws-sdk/middleware-serde":"3.6.1","@aws-sdk/middleware-signing":"3.6.1","@aws-sdk/middleware-stack":"3.6.1","@aws-sdk/middleware-user-agent":"3.6.1","@aws-sdk/node-config-provider":"3.6.1","@aws-sdk/node-http-handler":"3.6.1","@aws-sdk/protocol-http":"3.6.1","@aws-sdk/smithy-client":"3.6.1","@aws-sdk/types":"3.6.1","@aws-sdk/url-parser":"3.6.1","@aws-sdk/url-parser-native":"3.6.1","@aws-sdk/util-base64-browser":"3.6.1","@aws-sdk/util-base64-node":"3.6.1","@aws-sdk/util-body-length-browser":"3.6.1","@aws-sdk/util-body-length-node":"3.6.1","@aws-sdk/util-user-agent-browser":"3.6.1","@aws-sdk/util-user-agent-node":"3.6.1","@aws-sdk/util-utf8-browser":"3.6.1","@aws-sdk/util-utf8-node":"3.6.1","tslib":"^2.0.0"},"devDependencies":{"@aws-sdk/client-documentation-generator":"3.6.1","@aws-sdk/client-iam":"3.6.1","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^12.7.5","downlevel-dts":"0.7.0","jest":"^26.1.0","rimraf":"^3.0.0","typedoc":"^0.19.2","typescript":"~4.1.2"},"engines":{"node":">=10.0.0"},"typesVersions":{"<4.0":{"types/*":["types/ts3.4/*"]}},"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-cognito-identity"}}')},function(e,n,t){"use strict";var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.countryPhoneData=n.phone=void 0;var r=o(t(216));n.countryPhoneData=r.default;var a=t(612);function i(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.country,o=void 0===t?"":t,r=n.validateMobilePrefix,i=void 0===r||r,s=n.strictDetection,c=void 0!==s&&s,u={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null},l="string"!==typeof e?"":e.trim(),d="string"!==typeof o?"":o.trim(),p=Boolean(l.match(/^\+/));l=l.replace(/\D/g,"");var m=(0,a.findCountryPhoneDataByCountry)(d);if(!m)return u;var h=!1;if(d)["CIV","COG"].includes(m.alpha3)||(l=l.replace(/^0+/,"")),"RUS"===m.alpha3&&11===l.length&&null!==l.match(/^89/)&&(l=l.replace(/^8+/,"")),!p&&m.phone_number_lengths.includes(l.length)&&(l="".concat(m.country_code).concat(l));else if(p){var f=(0,a.findCountryPhoneDataByPhoneNumber)(l,i),g=f.exactCountryPhoneData,v=f.possibleCountryPhoneData;g?m=g:v&&!c?l=(m=v).country_code+l.replace(new RegExp("^".concat(m.country_code,"\\d")),""):m=null}else-1!==m.phone_number_lengths.indexOf(l.length)&&(l="1".concat(l),h=!0);if(!m)return u;var y=(0,a.validatePhoneISO3166)(l,m,i,p);return y||h&&(m=(0,a.findCountryPhoneDataByCountry)("CAN"),y=(0,a.validatePhoneISO3166)(l,m,i,p))?{isValid:!0,phoneNumber:"+".concat(l),countryIso2:m.alpha2,countryIso3:m.alpha3,countryCode:"+".concat(m.country_code)}:u}n.default=i,n.phone=i},function(e,n,t){"use strict";var o=t(616),r=t(618).extname,a=/^\s*([^;\s]*)(?:;|\s|$)/,i=/^text\//i;function s(e){if(!e||"string"!==typeof e)return!1;var n=a.exec(e),t=n&&o[n[1].toLowerCase()];return t&&t.charset?t.charset:!(!n||!i.test(n[1]))&&"UTF-8"}n.charset=s,n.charsets={lookup:s},n.contentType=function(e){if(!e||"string"!==typeof e)return!1;var t=-1===e.indexOf("/")?n.lookup(e):e;if(!t)return!1;if(-1===t.indexOf("charset")){var o=n.charset(t);o&&(t+="; charset="+o.toLowerCase())}return t},n.extension=function(e){if(!e||"string"!==typeof e)return!1;var t=a.exec(e),o=t&&n.extensions[t[1].toLowerCase()];if(!o||!o.length)return!1;return o[0]},n.extensions=Object.create(null),n.lookup=function(e){if(!e||"string"!==typeof e)return!1;var t=r("x."+e).toLowerCase().substr(1);if(!t)return!1;return n.types[t]||!1},n.types=Object.create(null),function(e,n){var t=["nginx","apache",void 0,"iana"];Object.keys(o).forEach((function(r){var a=o[r],i=a.extensions;if(i&&i.length){e[r]=i;for(var s=0;s<i.length;s++){var c=i[s];if(n[c]){var u=t.indexOf(o[n[c]].source),l=t.indexOf(a.source);if("application/octet-stream"!==n[c]&&(u>l||u===l&&"application/"===n[c].substr(0,12)))continue}n[c]=r}}}))}(n.extensions,n.types)},function(e,n,t){"use strict";e.exports=t(672)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o,r=t(0),a=(o=r)&&"object"===typeof o&&"default"in o?o.default:o,i=new(t(673)),s=i.getBrowser(),c=(i.getCPU(),i.getDevice()),u=i.getEngine(),l=i.getOS(),d=i.getUA(),p=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||n},m=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},h=function(e){var n=m();return n&&n.platform&&(-1!==n.platform.indexOf(e)||"MacIntel"===n.platform&&n.maxTouchPoints>1&&!window.MSStream)};function f(e){return(f="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 g(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function y(){return(y=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,n){return(w=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function S(e,n){if(null==e)return{};var t,o,r=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var E="mobile",x="tablet",O="smarttv",A="console",k="wearable",T=void 0,P={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},M={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},I={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},R=function(e,n,t,o){return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?b(t,!0).forEach((function(n){v(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(t).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},e,{vendor:p(n.vendor),model:p(n.model),os:p(t.name),osVersion:p(t.version),ua:p(o)})},j=function(e){switch(e){case E:return{isMobile:!0};case x:return{isTablet:!0};case O:return{isSmartTV:!0};case A:return{isConsole:!0};case k:return{isWearable:!0};case T:return{isBrowser:!0};default:return I}}(c.type);var N=function(){return"string"===typeof d&&-1!==d.indexOf("Edg/")},L=function(){return c.type===T},F=function(){return s.name===P.Edge},U=function(){return h("iPad")},D=c.type===O,B=c.type===A,z=c.type===k,V=s.name===P.MobileSafari||U(),G=s.name===P.Chromium,H=function(){switch(c.type){case E:case x:return!0;default:return!1}}()||U(),q=c.type===E,K=c.type===x||U(),W=L(),$=L(),Y=l.name===M.Android,Q=l.name===M.WindowsPhone,J=l.name===M.IOS||U(),Z=s.name===P.Chrome,X=s.name===P.Firefox,ee=s.name===P.Safari||s.name===P.MobileSafari,ne=s.name===P.Opera,te=s.name===P.InternetExplorer||s.name===P.Ie,oe=p(l.version),re=p(l.name),ae=p(s.version),ie=p(s.major),se=p(s.name),ce=p(c.vendor),ue=p(c.model),le=p(u.name),de=p(u.version),pe=p(d),me=F()||N(),he=s.name===P.Yandex,fe=p(c.type,"browser"),ge=function(){var e=m();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream}(),ve=U(),ye=h("iPhone"),be=h("iPod"),Ce=function(){var e=m(),n=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"===typeof n&&/electron/.test(n)}(),we=N(),Se=F()&&!N(),_e=l.name===M.Windows,Ee=l.name===M.MAC_OS,xe=s.name===P.MIUI,Oe=s.name===P.SamsungBrowser;n.AndroidView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return Y?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.BrowserTypes=P,n.BrowserView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return W?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.ConsoleView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return B?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.CustomView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=e.condition,c=S(e,["renderWithFragment","children","viewClassName","style","condition"]);return s?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},c),t):null},n.IEView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return te?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.IOSView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return J?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.MobileOnlyView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return q?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.MobileView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return H?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.OsTypes=M,n.SmartTVView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return D?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.TabletView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return K?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.WearableView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return z?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.WinPhoneView=function(e){var n=e.renderWithFragment,t=e.children,o=e.viewClassName,i=e.style,s=S(e,["renderWithFragment","children","viewClassName","style"]);return Q?n?a.createElement(r.Fragment,null,t):a.createElement("div",y({className:o,style:i},s),t):null},n.browserName=se,n.browserVersion=ie,n.deviceDetect=function(){var e=j.isBrowser,n=j.isMobile,t=j.isTablet,o=j.isSmartTV,r=j.isConsole,a=j.isWearable;return e?function(e,n,t,o,r){return{isBrowser:e,browserMajorVersion:p(n.major),browserFullVersion:p(n.version),browserName:p(n.name),engineName:p(t.name),engineVersion:p(t.version),osName:p(o.name),osVersion:p(o.version),userAgent:p(r)}}(e,s,u,l,d):o?function(e,n,t,o){return{isSmartTV:e,engineName:p(n.name),engineVersion:p(n.version),osName:p(t.name),osVersion:p(t.version),userAgent:p(o)}}(o,u,l,d):r?function(e,n,t,o){return{isConsole:e,engineName:p(n.name),engineVersion:p(n.version),osName:p(t.name),osVersion:p(t.version),userAgent:p(o)}}(r,u,l,d):n||t?R(j,c,l,d):a?function(e,n,t,o){return{isWearable:e,engineName:p(n.name),engineVersion:p(n.version),osName:p(t.name),osVersion:p(t.version),userAgent:p(o)}}(a,u,l,d):void 0},n.deviceType=fe,n.engineName=le,n.engineVersion=de,n.fullBrowserVersion=ae,n.getUA=pe,n.isAndroid=Y,n.isBrowser=W,n.isChrome=Z,n.isChromium=G,n.isConsole=B,n.isDesktop=$,n.isEdge=me,n.isEdgeChromium=we,n.isElectron=Ce,n.isFirefox=X,n.isIE=te,n.isIOS=J,n.isIOS13=ge,n.isIPad13=ve,n.isIPhone13=ye,n.isIPod13=be,n.isLegacyEdge=Se,n.isMIUI=xe,n.isMacOs=Ee,n.isMobile=H,n.isMobileOnly=q,n.isMobileSafari=V,n.isOpera=ne,n.isSafari=ee,n.isSamsungBrowser=Oe,n.isSmartTV=D,n.isTablet=K,n.isWearable=z,n.isWinPhone=Q,n.isWindows=_e,n.isYandex=he,n.mobileModel=ue,n.mobileVendor=ce,n.osName=re,n.osVersion=oe,n.withOrientationChange=function(e){return function(n){function t(e){var n;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,n){return!n||"object"!==typeof n&&"function"!==typeof n?_(e):n}(this,C(t).call(this,e))).isEventListenerAdded=!1,n.handleOrientationChange=n.handleOrientationChange.bind(_(n)),n.onOrientationChange=n.onOrientationChange.bind(_(n)),n.onPageLoad=n.onPageLoad.bind(_(n)),n.state={isLandscape:!1,isPortrait:!1},n}var o,r,i;return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&w(e,n)}(t,n),o=t,(r=[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){void 0!==("undefined"===typeof window?"undefined":f(window))&&H&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return a.createElement(e,y({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}])&&g(o.prototype,r),i&&g(o,i),t}(a.Component)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var o=t(3),r=t(522),a=t.n(r);function i(e){var n=[],t=0,o=0,r=function(e,t){n[t]=n[t]||[],n[t][e]=1},a=function(e){for(var n=[],t=e.length,o=0;o<t;o++){var r=e.charCodeAt(o),a=o+1<t?e.charCodeAt(o+1):0;r>47&&r<58&&a>47&&a<58?(n.push(10*(r-48)+a+82),o++):r>127?(n.push(235),n.push(r-127&255)):n.push(r+1)}return n},i=function(e,n){var t,o,r=0,i=0,s=e.length,c=[n[0]],u=function(e){i=40*i+e,2==r++&&(c.push(++i>>8),c.push(255&i),r=i=0)};for(t=0;t<s&&(0!=r||t!=s-1);t++){var l=e.charCodeAt(t);for(l>127&&238!=c[0]&&(u(1),u(30),l-=128),o=1;l>n[o];o+=3);var d=n[o+1];if(8==d||9==d&&0==r&&t==s-1)return[];if(d<5&&2==r&&t==s-1)break;d<5&&u(d),u(l-n[o+2])}return 2==r&&238!==c[0]&&u(0),c.push(254),(r>0||t<s)&&(c=c.concat(a(e.substr(t-r)))),c},s=function(e,n){e=unescape(encodeURI(e));var s=a(e),c=s.length,u=i(e,[230,31,0,0,32,9,29,47,1,33,57,9,44,64,1,43,90,9,51,95,1,69,127,2,96,255,1,0]),l=u.length;l>0&&l<c&&(s=u,c=l),(l=(u=i(e,[239,31,0,0,32,9,29,47,1,33,57,9,44,64,1,43,90,2,64,95,1,69,122,9,83,127,2,96,255,1,0])).length)>0&&l<c&&(s=u,c=l),(l=(u=i(e,[238,12,8,0,13,9,13,31,8,0,32,9,29,41,8,0,42,9,41,47,8,0,57,9,44,64,8,0,90,9,51,255,8,0])).length)>0&&l<c&&(s=u,c=l),u=function(e){for(var n,t=e.length,o=t+1&-4,r=0,i=o>0?[240]:[],s=0;s<o;s++){if(s<o-1){if((n=e.charCodeAt(s))<32||n>94)return[]}else n=31;r=64*r+(63&n),3==(3&s)&&(i.push(r>>16),i.push(r>>8&255),i.push(255&r),r=0)}return o>t?i:i.concat(a(e.substr(0==o?0:o-1)))}(e),(l=u.length)>0&&l<c&&(s=u,c=l),(l=(u=function(e){var n=[231],t=e.length;250<t&&n.push(37+(t/250|0)&255),n.push(t%250+149*(n.length+1)%255+1&255);for(var o=0;o<t;o++)n.push(e.charCodeAt(o)+149*(n.length+1)%255+1&255);return n}(e)).length)>0&&l<c&&(s=u,c=l);var d,p,m,h,f,g,v,y,b=1,C=1,w=-1,S=1,_=new Array(70),E=new Array(70),x=new Array(256),O=new Array(255);if(n&&c<50){u=[16,7,28,11,24,14,32,18,32,24,44,28];do{l=(p=u[++w])*(d=6+(12&w))/8}while(l-u[++w]<c);p>25&&(b=2)}else{p=d=6,f=2,u=[5,7,10,12,14,18,20,24,28,36,42,48,56,68,84,112,144,192,224,272,336,408,496,620];do{if(++w==u.length)return[0,0];p>11*f&&(f=4+f&12),l=(p=d+=f)*d>>3}while(l-u[w]<c);p>27&&(C=b=2*(p/54|0)+2),l>255&&(S=2*(l>>9)+2)}for(m=p/b,h=d/C,c<l-(y=u[w])&&(s[c++]=129);c<l-y;)s[c++]=(149*c%253+130)%254;for(y/=S,w=1,f=0;f<255;f++)O[f]=w,x[w]=f,(w+=w)>255&&(w^=301);for(_[y]=0,f=1;f<=y;f++)for(_[w=y-f]=1;w<y;w++)_[w]=_[w+1]^O[(x[_[w]]+f)%255];for(g=0;g<S;g++){for(f=0;f<=y;f++)E[f]=0;for(f=g;f<c;f+=S)for(w=0,A=E[0]^s[f];w<y;w++)E[w]=E[w+1]^(A?O[(x[_[w]]+x[A])%255]:0);for(f=0;f<y;f++)s[c+g+f*S]=E[f]}for(f=0;f<d+2*C;f+=h+2)for(w=0;w<p+2*b;w++)r(w,f+h+1),0==(1&w)&&r(w,f);for(f=0;f<p+2*b;f+=m+2)for(w=0;w<d;w++)r(f,w+2*(w/h|0)+1),1==(1&w)&&r(f+m+1,w+2*(w/h|0));for(y=2,g=0,v=4,S=[0,0,-1,0,-2,0,0,-1,-1,-1,-2,-1,-1,-2,-2,-2],f=0;f<l;v-=y,g+=y){if(v==d-3&&-1==g)u=[p,6-d,p,5-d,p,4-d,p,3-d,p-1,3-d,3,2,2,2,1,2];else if(v==d+1&&1==g&&0==(7&p)&&6==(7&d))u=[p-2,-d,p-3,-d,p-4,-d,p-2,-1-d,p-3,-1-d,p-4,-1-d,p-2,-2,-1,-2];else{if(0==v&&g==p-2&&3&p)continue;if(v<0||g>=p||v>=d||g<0)for(v+=2+(y=-y)/2,g+=2-y/2;v<0||g>=p||v>=d||g<0;)v-=y,g+=y;if(v==d-2&&0==g&&3&p)u=[p-1,3-d,p-1,2-d,p-2,2-d,p-3,2-d,p-4,2-d,0,1,0,0,0,-1];else if(v==d-2&&0==g&&4==(7&p))u=[p-1,5-d,p-1,4-d,p-1,3-d,p-1,2-d,p-2,2-d,0,1,0,0,0,-1];else{if(1==v&&g==p-1&&0==(7&p)&&6==(7&d))continue;u=S}}for(c=s[f++],w=0;c>0;w+=2,c>>=1)if(1&c){var A=g+u[w],k=v+u[w+1];A<0&&(A+=p,k+=4-(p+4&7)),k<0&&(k+=d,A+=4-(d+4&7)),r(A+2*(A/m|0)+1,k+2*(k/h|0)+1)}}for(f=p;3&f;f--)r(f,f);t=p+2*b,o=d+2*C};return function(){function r(e){return/^#[0-9a-f]{3}(?:[0-9a-f]{3})?$/i.test(e)}function a(e,n){for(var t in e=document.createElementNS(f,e),n||{})e.setAttribute(t,n[t]);return e}var i,c,u,l,d,p,m,h=Math.abs,f="http://www.w3.org/2000/svg",g="",v="string"==typeof e?{msg:e}:e||{},y=v.pal||["#000"],b=h(v.dim)||256,C=[1,0,0,1,m=(m=h(v.pad))>-1?m:2,m],w=r(w=y[0])?w:"#000",S=r(S=y[1])?S:0,_=v.vrb?0:1;for(s(v.msg||"",v.rct),d=t+2*m,p=o+2*m,u=o;u--;)for(l=0,c=t;c--;)n[u][c]&&(_?(l++,n[u][c-1]||(g+="M"+c+","+u+"h"+l+"v1h-"+l+"v-1z",l=0)):g+="M"+c+","+u+"h1v1h-1v-1z");return i=a("svg",{viewBox:[0,0,d,p].join(" "),width:b/p*d|0,height:b,fill:w,"shape-rendering":"crispEdges",xmlns:f,version:"1.1"}),S&&i.appendChild(a("path",{fill:S,d:"M0,0v"+p+"h"+d+"V0H0Z"})),i.appendChild(a("path",{transform:"matrix("+C+")",d:g})),i}()}var s,c={exports:{}},u={};c.exports=function(){if(s)return u;s=1;var e=a.a,n=Symbol.for("react.element"),t=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,a){var s,c={},u=null,l=null;for(s in void 0!==a&&(u=""+a),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(l=t.ref),t)o.call(t,s)&&!i.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps)void 0===c[s]&&(c[s]=t[s]);return{$$typeof:n,type:e,key:u,ref:l,props:c,_owner:r.current}}return u.Fragment=t,u.jsx=c,u.jsxs=c,u}();var l=c.exports.jsx;function d(e){var n=e.msg,t=void 0===n?"":n,r=e.dim,a=void 0===r?256:r,s=e.rct,c=void 0===s?0:s,u=e.pad,d=void 0===u?2:u,p=e.pal,m=void 0===p?["#000000","#f2f4f8"]:p,h=e.vrb,f=void 0===h?0:h,g=e.imgAttrs,v=i({msg:t,dim:a,rct:c,pad:d,pal:m,vrb:f});return l("img",Object(o.a)(Object(o.a)({},g),{},{src:"data:image/svg+xml;base64,".concat(window.btoa(null==v?void 0:v.outerHTML))}))}},function(e,n,t){"use strict";e.exports=t(675)},function(e,n){var t="undefined"!==typeof Element,o="function"===typeof Map,r="function"===typeof Set,a="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var s,c,u,l;if(Array.isArray(e)){if((s=e.length)!=n.length)return!1;for(c=s;0!==c--;)if(!i(e[c],n[c]))return!1;return!0}if(o&&e instanceof Map&&n instanceof Map){if(e.size!==n.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!n.has(c.value[0]))return!1;for(l=e.entries();!(c=l.next()).done;)if(!i(c.value[1],n.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&n instanceof Set){if(e.size!==n.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!n.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(n)){if((s=e.length)!=n.length)return!1;for(c=s;0!==c--;)if(e[c]!==n[c])return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(c=s;0!==c--;)if(!Object.prototype.hasOwnProperty.call(n,u[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!==c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!e.$$typeof)&&!i(e[u[c]],n[u[c]]))return!1;return!0}return e!==e&&n!==n}e.exports=function(e,n){try{return i(e,n)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},function(e,n,t){var o=t(5),r=t(707),a=t(708),i=t(498),s=t(499),c=t(709),u=t(710),l=t(713),d=t(186),p=t(134),m=t(135),h=t(233),f=t(108);window,e.exports=function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=11)}([function(e,n,t){"use strict";var o=t(12);e.exports=function(e){if(!e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];if(1===t.length&&t[0]instanceof Error)throw t[0];throw new o(t)}}},function(e,n,t){"use strict";var o,r,a=t(0),i=t(12),s=t(29),c={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};n.version=s.version,n.defaults={abortEarly:!0,allowUnknown:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},n.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),literal:Symbol("literal"),override:Symbol("override"),prefs:Symbol("prefs"),ref:Symbol("ref"),values:Symbol("values"),template:Symbol("template")},n.assertOptions=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Options";a(e&&"object"==typeof e&&!Array.isArray(e),"Options must be of type object");var o=Object.keys(e).filter((function(e){return!n.includes(e)}));a(0===o.length,"".concat(t," contain unknown keys: ").concat(o))},n.checkPreferences=function(e){var n=(r=r||t(16)).preferences.validate(e);if(n.error)throw new i([n.error.details[0].message])},n.compare=function(e,n,t){switch(t){case"=":return e===n;case">":return e>n;case"<":return e<n;case">=":return e>=n;case"<=":return e<=n}},n.default=function(e,n){return void 0===e?n:e},n.isIsoDate=function(e){return c.isoDate.test(e)},n.isNumber=function(e){return"number"==typeof e&&!isNaN(e)},n.isResolvable=function(e){return!!e&&(e[n.symbols.ref]||e[n.symbols.template])},n.isSchema=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e&&e[n.symbols.any];return!!o&&(a(t.legacy||o.version===n.version,"Cannot mix different versions of joi schemas"),!0)},n.isValues=function(e){return e[n.symbols.values]},n.limit=function(e){return Number.isSafeInteger(e)&&e>=0},n.preferences=function(e,r){o=o||t(9),e=e||{},r=r||{};var a=Object.assign({},e,r);return r.errors&&e.errors&&(a.errors=Object.assign({},e.errors,r.errors),a.errors.wrap=Object.assign({},e.errors.wrap,r.errors.wrap)),r.messages&&(a.messages=o.compile(r.messages,e.messages)),delete a[n.symbols.prefs],a},n.tryWithPath=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{return e()}catch(e){throw void 0!==e.path?e.path=n+"."+e.path:e.path=n,t.append&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},n.validateArg=function(e,t,o){var r=o.assert,a=o.message;if(n.isSchema(r)){var i=r.validate(e);if(!i.error)return;return i.error.message}if(!r(e))return t?"".concat(t," ").concat(a):a},n.verifyFlat=function(e,n){var t,o=f(e);try{for(o.s();!(t=o.n()).done;){var r=t.value;a(!Array.isArray(r),"Method no longer accepts array arguments:",n)}}catch(i){o.e(i)}finally{o.f()}}},function(e,n,t){"use strict";var o=t(6),r=t(13),a=t(14),i={needsProtoHack:new Set([r.set,r.map,r.weakSet,r.weakMap])};e.exports=i.clone=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("object"!=typeof e||null===e)return e;var o=i.clone,s=t;if(n.shallow){if(!0!==n.shallow)return i.cloneWithShallow(e,n);o=function(e){return e}}else if(s){var c=s.get(e);if(c)return c}else s=new Map;var u=r.getInternalProto(e);if(u===r.buffer)return!1;if(u===r.date)return new Date(e.getTime());if(u===r.regex)return new RegExp(e);var l=i.base(e,u,n);if(l===e)return e;if(s&&s.set(e,l),u===r.set){var d,p=f(e);try{for(p.s();!(d=p.n()).done;){var m=d.value;l.add(o(m,n,s))}}catch(O){p.e(O)}finally{p.f()}}else if(u===r.map){var g,v=f(e);try{for(v.s();!(g=v.n()).done;){var y=h(g.value,2),b=y[0],C=y[1];l.set(b,o(C,n,s))}}catch(O){v.e(O)}finally{v.f()}}var w,S=a.keys(e,n),_=f(S);try{for(_.s();!(w=_.n()).done;){var E=w.value;if("__proto__"!==E)if(u!==r.array||"length"!==E){var x=Object.getOwnPropertyDescriptor(e,E);x?x.get||x.set?Object.defineProperty(l,E,x):x.enumerable?l[E]=o(e[E],n,s):Object.defineProperty(l,E,{enumerable:!1,writable:!0,configurable:!0,value:o(e[E],n,s)}):Object.defineProperty(l,E,{enumerable:!0,writable:!0,configurable:!0,value:o(e[E],n,s)})}else l.length=e.length}}catch(O){_.e(O)}finally{_.f()}return l},i.cloneWithShallow=function(e,n){var t=n.shallow;(n=Object.assign({},n)).shallow=!1;var r,a=new Map,s=f(t);try{for(s.s();!(r=s.n()).done;){var c=r.value,u=o(e,c);"object"!=typeof u&&"function"!=typeof u||a.set(u,u)}}catch(l){s.e(l)}finally{s.f()}return i.clone(e,n,a)},i.base=function(e,n,t){if(!1===t.prototype)return i.needsProtoHack.has(n)?new n.constructor:n===r.array?[]:{};var o=Object.getPrototypeOf(e);if(o&&o.isImmutable)return e;if(n===r.array){var a=[];return o!==n&&Object.setPrototypeOf(a,o),a}if(i.needsProtoHack.has(n)){var s=new o.constructor;return o!==n&&Object.setPrototypeOf(s,o),s}return Object.create(o)}},function(e,n,t){"use strict";var o=t(0),r=t(34),a=t(1),i=t(9);e.exports=r.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method:function(e,n){return o("function"==typeof e,"Method must be a function"),o(void 0===n||n&&"string"==typeof n,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:e,description:n}})},validate:function(e,n,t){var o=t.method;try{return o(e,n)}catch(e){return n.error("any.custom",{error:e})}},args:["method","description"],multi:!0},messages:{method:function(e){return this.prefs({messages:e})}},shared:{method:function(e){o(a.isSchema(e)&&e._flags.id,"Schema must be a schema with an id");var n=this.clone();return n.$_terms.shared=n.$_terms.shared||[],n.$_terms.shared.push(e),n.$_mutateRegister(e),n}},warning:{method:function(e,n){return o(e&&"string"==typeof e,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:e,local:n},warn:!0})},validate:function(e,n,t){var o=t.code,r=t.local;return n.error(o,r)},args:["code","local"],multi:!0}},modifiers:{keep:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.keep=n},message:function(e,n){e.message=i.compile(n)},warn:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.warn=n}},manifest:{build:function(e,n){for(var t in n){var o=n[t];if(["examples","externals","metas","notes","tags"].includes(t)){var r,a=f(o);try{for(a.s();!(r=a.n()).done;){var i=r.value;e=e[t.slice(0,-1)](i)}}catch(O){a.e(O)}finally{a.f()}}else if("alterations"!==t)if("whens"!==t){if("shared"===t){var s,c=f(o);try{for(c.s();!(s=c.n()).done;){var u=s.value;e=e.shared(u)}}catch(O){c.e(O)}finally{c.f()}}}else{var l,d=f(o);try{for(d.s();!(l=d.n()).done;){var p=l.value,m=p.ref,h=p.is,g=p.not,v=p.then,y=p.otherwise,b=p.concat;e=b?e.concat(b):m?e.when(m,{is:h,not:g,then:v,otherwise:y,switch:p.switch,break:p.break}):e.when(h,{then:v,otherwise:y,break:p.break})}}catch(O){d.e(O)}finally{d.f()}}else{var C,w={},S=f(o);try{for(S.s();!(C=S.n()).done;){var _=C.value,E=_.target,x=_.adjuster;w[E]=x}}catch(O){S.e(O)}finally{S.f()}e=e.alter(w)}}return e}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":'{{#label}} {{#arg}} references "{{#ref}}" which {{#reason}}',"any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},function(e,n,t){"use strict";var o=t(32),r=t(1),a=t(7);n.Report=function(){function e(t,o,r,a,i,s,c){if(p(this,e),this.code=t,this.flags=a,this.messages=i,this.path=s.path,this.prefs=c,this.state=s,this.value=o,this.message=null,this.template=null,this.local=r||{},this.local.label=n.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){var u=this.path[this.path.length-1];"object"!=typeof u&&(this.local.key=u)}}return m(e,[{key:"_setTemplate",value:function(e){if(this.template=e,!this.flags.label&&0===this.path.length){var n=this._template(this.template,"root");n&&(this.local.label=n)}}},{key:"toString",value:function(){if(this.message)return this.message;var e=this.code;if(!this.prefs.errors.render)return this.code;var n=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===n?'Error code "'.concat(e,'" is not defined, your custom type is missing the correct messages definition'):(this.message=n.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}},{key:"_template",value:function(e,t){return n.template(this.value,e,t||this.code,this.state,this.prefs)}}]),e}(),n.path=function(e){var n,t="",o=f(e);try{for(o.s();!(n=o.n()).done;){var r=n.value;"object"!=typeof r&&("string"==typeof r?(t&&(t+="."),t+=r):t+="[".concat(r,"]"))}}catch(a){o.e(a)}finally{o.f()}return t},n.template=function(e,n,t,o,i){if(n){if(a.isTemplate(n))return"root"!==t?n:null;var s=i.errors.language;return r.isResolvable(s)&&(s=s.resolve(e,o,i)),s&&n[s]&&void 0!==n[s][t]?n[s][t]:n[t]}},n.label=function(e,t,o,r){if(e.label)return e.label;if(!o.errors.label)return"";var a=t.path;return"key"===o.errors.label&&t.path.length>1&&(a=t.path.slice(-1)),n.path(a)||n.template(null,o.messages,"root",t,o)||r&&n.template(null,r,"root",t,o)||"value"},n.process=function(e,t,o){if(!e)return null;var r=n.details(e),a=r.override,i=r.message,s=r.details;if(a)return a;if(o.errors.stack)return new n.ValidationError(i,s,t);var c=Error.stackTraceLimit;Error.stackTraceLimit=0;var u=new n.ValidationError(i,s,t);return Error.stackTraceLimit=c,u},n.details=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=[],r=[],a=f(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i instanceof Error){if(!1!==t.override)return{override:i};var s=i.toString();o.push(s),r.push({message:s,type:"override",context:{error:i}})}else{var c=i.toString();o.push(c),r.push({message:c,path:i.path.filter((function(e){return"object"!=typeof e})),type:i.code,context:i.local})}}}catch(u){a.e(u)}finally{a.f()}return o.length>1&&(o=d(new Set(o))),{message:o.join(". "),details:r}},n.ValidationError=function(e){c(o,e);var t=u(o);function o(e,n,r){var a;return p(this,o),(a=t.call(this,e))._original=r,a.details=n,a}return m(o,null,[{key:"isError",value:function(e){return e instanceof n.ValidationError}}]),o}(l(Error)),n.ValidationError.prototype.isJoi=!0,n.ValidationError.prototype.name="ValidationError",n.ValidationError.prototype.annotate=o.error},function(e,n,t){"use strict";var o,r=t(0),a=t(2),i=t(6),s=t(1),c={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};n.create=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r("string"==typeof e,"Invalid reference key:",e),s.assertOptions(n,["adjust","ancestor","in","iterables","map","prefix","separator"]),r(!n.prefix||"object"==typeof n.prefix,"options.prefix must be of type object");var t=Object.assign({},c.defaults,n);delete t.prefix;var o=t.separator,a=c.context(e,o,n.prefix);if(t.type=a.type,e=a.key,"value"===t.type)if(a.root&&(r(!o||e[0]!==o,"Cannot specify relative path with root prefix"),t.ancestor="root",e||(e=null)),o&&o===e)e=null,t.ancestor=0;else if(void 0!==t.ancestor)r(!o||!e||e[0]!==o,"Cannot combine prefix with ancestor option");else{var i=c.ancestor(e,o),u=h(i,2),l=u[0],d=u[1];d&&""===(e=e.slice(d))&&(e=null),t.ancestor=l}return t.path=o?null===e?[]:e.split(o):[e],new c.Ref(t)},n.in=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.create(e,Object.assign({},t,{in:!0}))},n.isRef=function(e){return!!e&&!!e[s.symbols.ref]},c.Ref=function(){function e(n){p(this,e),r("object"==typeof n,"Invalid reference construction"),s.assertOptions(n,["adjust","ancestor","in","iterables","map","path","separator","type","depth","key","root","display"]),r([!1,void 0].includes(n.separator)||"string"==typeof n.separator&&1===n.separator.length,"Invalid separator"),r(!n.adjust||"function"==typeof n.adjust,"options.adjust must be a function"),r(!n.map||Array.isArray(n.map),"options.map must be an array"),r(!n.map||!n.adjust,"Cannot set both map and adjust options"),Object.assign(this,c.defaults,n),r("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}return m(e,[{key:"resolve",value:function(e,n,t,o){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return r(!this.in||a.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(t.context,n,a):"local"===this.type?this._resolve(o,n,a):this.ancestor?"root"===this.ancestor?this._resolve(n.ancestors[n.ancestors.length-1],n,a):(r(this.ancestor<=n.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(n.ancestors[this.ancestor-1],n,a)):this._resolve(e,n,a)}},{key:"_resolve",value:function(e,n,t){var o;if("value"===this.type&&n.mainstay.shadow&&!1!==t.shadow&&(o=n.mainstay.shadow.get(this.absolute(n))),void 0===o&&(o=i(e,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(o=this.adjust(o)),this.map){var r=this.map.get(o);void 0!==r&&(o=r)}return n.mainstay&&n.mainstay.tracer.resolve(n,this,o),o}},{key:"toString",value:function(){return this.display}},{key:"absolute",value:function(e){return[].concat(d(e.path.slice(0,-this.ancestor)),d(this.path))}},{key:"clone",value:function(){return new c.Ref(this)}},{key:"describe",value:function(){var e={path:this.path};"value"!==this.type&&(e.type=this.type),"."!==this.separator&&(e.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(e.ancestor=this.ancestor),this.map&&(e.map=d(this.map));for(var n=0,t=["adjust","iterables"];n<t.length;n++){var o=t[n];null!==this[o]&&(e[o]=this[o])}return!1!==this.in&&(e.in=!0),{ref:e}}},{key:"updateDisplay",value:function(){var e=null!==this.key?this.key:"";if("value"===this.type)if(this.separator)if(this.ancestor)if("root"!==this.ancestor)if(1!==this.ancestor){var n=new Array(this.ancestor+1).fill(this.separator).join("");this.display="ref:".concat(n).concat(e||"")}else this.display="ref:".concat(e||"..");else this.display="ref:root:".concat(e);else this.display="ref:".concat(this.separator).concat(e);else this.display="ref:".concat(e);else this.display="ref:".concat(this.type,":").concat(e)}}]),e}(),c.Ref.prototype[s.symbols.ref]=!0,n.build=function(e){return"value"===(e=Object.assign({},c.defaults,e)).type&&void 0===e.ancestor&&(e.ancestor=1),new c.Ref(e)},c.context=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e=e.trim(),t){var o=void 0===t.global?"$":t.global;if(o!==n&&e.startsWith(o))return{key:e.slice(o.length),type:"global"};var r=void 0===t.local?"#":t.local;if(r!==n&&e.startsWith(r))return{key:e.slice(r.length),type:"local"};var a=void 0===t.root?"/":t.root;if(a!==n&&e.startsWith(a))return{key:e.slice(a.length),type:"value",root:!0}}return{key:e,type:"value"}},c.ancestor=function(e,n){if(!n)return[1,0];if(e[0]!==n)return[1,0];if(e[1]!==n)return[0,1];for(var t=2;e[t]===n;)++t;return[t-1,t]},n.toSibling=0,n.toParent=1,n.Manager=function(){function e(){p(this,e),this.refs=[]}return m(e,[{key:"register",value:function(e,r){if(e)if(r=void 0===r?n.toParent:r,Array.isArray(e)){var a,i=f(e);try{for(i.s();!(a=i.n()).done;){var c=a.value;this.register(c,r)}}catch(p){i.e(p)}finally{i.f()}}else if(s.isSchema(e)){var u,l=f(e._refs.refs);try{for(l.s();!(u=l.n()).done;){var d=u.value;d.ancestor-r>=0&&this.refs.push({ancestor:d.ancestor-r,root:d.root})}}catch(p){l.e(p)}finally{l.f()}}else n.isRef(e)&&"value"===e.type&&e.ancestor-r>=0&&this.refs.push({ancestor:e.ancestor-r,root:e.root}),(o=o||t(7)).isTemplate(e)&&this.register(e.refs(),r)}},{key:"length",get:function(){return this.refs.length}},{key:"clone",value:function(){var e=new n.Manager;return e.refs=a(this.refs),e}},{key:"reset",value:function(){this.refs=[]}},{key:"roots",value:function(){return this.refs.filter((function(e){return!e.ancestor})).map((function(e){return e.root}))}}]),e}()},function(e,n,t){"use strict";var o=t(0),r={};e.exports=function(e,n,t){if(!1===n||null==n)return e;"string"==typeof(t=t||{})&&(t={separator:t});var a=Array.isArray(n);o(!a||!t.separator,"Separator option no valid for array-based chain");for(var i=a?n:n.split(t.separator||"."),s=e,c=0;c<i.length;++c){var u=i[c],l=t.iterables&&r.iterables(s);if(Array.isArray(s)||"set"===l){var p=Number(u);Number.isInteger(p)&&(u=p<0?s.length+p:p)}if(!s||"function"==typeof s&&!1===t.functions||!l&&void 0===s[u]){o(!t.strict||c+1===i.length,"Missing segment",u,"in reach path ",n),o("object"==typeof s||!0===t.functions||"function"!=typeof s,"Invalid segment",u,"in reach path ",n),s=t.default;break}s=l?"set"===l?d(s)[u]:s.get(u):s[u]}return s},r.iterables=function(e){return e instanceof Set?"set":e instanceof Map?"map":void 0}},function(e,n,t){"use strict";var o=t(0),r=t(2),a=t(30),i=t(31),s=t(1),c=t(4),u=t(5),l={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};e.exports=l.Template=function(){function e(n,t){p(this,e),o("string"==typeof n,"Template source must be a string"),o(!n.includes("\0")&&!n.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=n,this.rendered=n,this._template=null,this._settings=r(t),this._parse()}return m(e,[{key:"_parse",value:function(){if(this.source.includes("{")){var e=l.encode(this.source),n=l.split(e),t=!1,o=[],r=n.shift();r&&o.push(r);var a,i=f(n);try{for(i.s();!(a=i.n()).done;){var s=a.value,c="{"!==s[0],u=c?"}":"}}",d=s.indexOf(u);if(-1!==d&&"{"!==s[1]){var p=s.slice(c?0:1,d),m=this._ref(l.decode(p),c);o.push(m),"string"!=typeof m&&(t=!0);var h=s.slice(d+u.length);h&&o.push(l.decode(h))}else o.push("{".concat(l.decode(s)))}}catch(g){i.e(g)}finally{i.f()}t?this._template=o:this.rendered=o.join("")}}},{key:"describe",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this._settings&&e.compact)return this.source;var n={template:this.source};return this._settings&&(n.options=this._settings),n}},{key:"isDynamic",value:function(){return!!this._template}},{key:"refs",value:function(){if(this._template){var e,n=[],t=f(this._template);try{for(t.s();!(e=t.n()).done;){var o=e.value;"string"!=typeof o&&n.push.apply(n,d(o.refs))}}catch(r){t.e(r)}finally{t.f()}return n}}},{key:"resolve",value:function(e,n,t,o){return this._template&&1===this._template.length?this._part(this._template[0],e,n,t,o,{}):this.render(e,n,t,o)}},{key:"_part",value:function(e){for(var n,t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];return e.ref?(n=e.ref).resolve.apply(n,o):e.formula.evaluate(o)}},{key:"render",value:function(e,n,t,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this.isDynamic())return this.rendered;var i,s=[],c=f(this._template);try{for(c.s();!(i=c.n()).done;){var u=i.value;if("string"==typeof u)s.push(u);else{var d=this._part(u,e,n,t,o,r),p=l.stringify(d,t,r.errors);if(void 0!==p){var m=u.raw||!1===(r.errors&&r.errors.escapeHtml)?p:a(p),h=u.ref&&"local"===u.ref.type&&"label"===u.ref.key&&t.errors.wrap.label;s.push(l.wrap(m,h))}}}}catch(g){c.e(g)}finally{c.f()}return s.join("")}},{key:"_ref",value:function(e,n){var t=this,o=[],r=function(e){var n=u.create(e,t._settings);return o.push(n),function(e){return n.resolve.apply(n,d(e))}};try{var a=new i.Parser(e,{reference:r,functions:l.functions,constants:l.constants})}catch(n){throw n.message='Invalid template variable "'.concat(e,'" fails due to: ').concat(n.message),n}return a.single?"reference"===a.single.type?{ref:o[0],raw:n,refs:o}:l.stringify(a.single.value):{formula:a,raw:n,refs:o}}},{key:"toString",value:function(){return this.source}}],[{key:"date",value:function(e,n){return l.dateFormat[n.dateFormat].call(e)}},{key:"build",value:function(e){return new l.Template(e.template,e.options)}},{key:"isTemplate",value:function(e){return!!e&&!!e[s.symbols.template]}}]),e}(),l.Template.prototype[s.symbols.template]=!0,l.Template.prototype.isImmutable=!0,l.encode=function(e){return e.replace(/\\(\{+)/g,(function(e,n){return l.opens.slice(0,n.length)})).replace(/\\(\}+)/g,(function(e,n){return l.closes.slice(0,n.length)}))},l.decode=function(e){return e.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},l.split=function(e){for(var n=[],t="",o=0;o<e.length;++o){var r=e[o];if("{"===r){for(var a="";o+1<e.length&&"{"===e[o+1];)a+="{",++o;n.push(t),t=a}else t+=r}return n.push(t),n},l.wrap=function(e,n){return n?1===n.length?"".concat(n).concat(e).concat(n):"".concat(n[0]).concat(e).concat(n[1]):e},l.stringify=function(e,n,t){var o=typeof e;if(null===e)return"null";if("string"===o)return e;if("number"===o||"function"===o||"symbol"===o)return e.toString();if("object"!==o)return JSON.stringify(e);if(e instanceof Date)return l.Template.date(e,n);if(e instanceof Map){var r,a=[],i=f(e.entries());try{for(i.s();!(r=i.n()).done;){var s=h(r.value,2),c=s[0],u=s[1];a.push("".concat(c.toString()," -> ").concat(u.toString()))}}catch(v){i.e(v)}finally{i.f()}e=a}if(!Array.isArray(e))return e.toString();var d,p="",m=f(e);try{for(m.s();!(d=m.n()).done;){var g=d.value;p=p+(p.length?", ":"")+l.stringify(g,n,t)}}catch(v){m.e(v)}finally{m.f()}return l.wrap(p,n.errors.wrap.array)},l.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},l.functions={if:function(e,n,t){return e?n:t},msg:function(e){var n=h(this,5),t=n[0],o=n[1],r=n[2],a=n[3],i=n[4],s=i.messages;if(!s)return"";var u=c.template(t,s[0],e,o,r)||c.template(t,s[1],e,o,r);return u?u.render(t,o,r,a,i):""},number:function(e){return"number"==typeof e?e:"string"==typeof e?parseFloat(e):"boolean"==typeof e?e?1:0:e instanceof Date?e.getTime():null}}},function(e,n,t){"use strict";var o=t(0),r=t(1),a=t(5),i={};n.schema=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.assertOptions(t,["appendPath","override"]);try{return i.schema(e,n,t)}catch(e){throw t.appendPath&&void 0!==e.path&&(e.message="".concat(e.message," (").concat(e.path,")")),e}},i.schema=function(e,n,t){o(void 0!==n,"Invalid undefined schema"),Array.isArray(n)&&(o(n.length,"Invalid empty array schema"),1===n.length&&(n=n[0]));var a=function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),a=1;a<o;a++)r[a-1]=arguments[a];return!1!==t.override?n.valid.apply(n,[e.override].concat(r)):n.valid.apply(n,r)};if(i.simple(n))return a(e,n);if("function"==typeof n)return e.custom(n);if(o("object"==typeof n,"Invalid schema content:",typeof n),r.isResolvable(n))return a(e,n);if(r.isSchema(n))return n;if(Array.isArray(n)){var s,c=f(n);try{for(c.s();!(s=c.n()).done;){var u,l=s.value;if(!i.simple(l))return(u=e.alternatives()).try.apply(u,d(n))}}catch(p){c.e(p)}finally{c.f()}return a.apply(void 0,[e].concat(d(n)))}return n instanceof RegExp?e.string().regex(n):n instanceof Date?a(e.date(),n):(o(Object.getPrototypeOf(n)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e.object().keys(n))},n.ref=function(e,n){return a.isRef(e)?e:a.create(e,n)},n.compile=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.assertOptions(a,["legacy"]);var s=t&&t[r.symbols.any];if(s)return o(a.legacy||s.version===r.version,"Cannot mix different versions of joi schemas:",s.version,r.version),t;if("object"!=typeof t||!a.legacy)return n.schema(e,t,{appendPath:!0});var c=i.walk(t);return c?c.compile(c.root,t):n.schema(e,t,{appendPath:!0})},i.walk=function(e){if("object"!=typeof e)return null;if(Array.isArray(e)){var n,t=f(e);try{for(t.s();!(n=t.n()).done;){var a=n.value,s=i.walk(a);if(s)return s}}catch(d){t.e(d)}finally{t.f()}return null}var c=e[r.symbols.any];if(c)return{root:e[c.root],compile:c.compile};for(var u in o(Object.getPrototypeOf(e)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),e){var l=i.walk(e[u]);if(l)return l}return null},i.simple=function(e){return null===e||["boolean","string","number"].includes(typeof e)},n.when=function(e,t,s){if(void 0===s&&(o(t&&"object"==typeof t,"Missing options"),s=t,t=a.create(".")),Array.isArray(s)&&(s={switch:s}),r.assertOptions(s,["is","not","then","otherwise","switch","break"]),r.isSchema(t))return o(void 0===s.is,'"is" can not be used with a schema condition'),o(void 0===s.not,'"not" can not be used with a schema condition'),o(void 0===s.switch,'"switch" can not be used with a schema condition'),i.condition(e,{is:t,then:s.then,otherwise:s.otherwise,break:s.break});if(o(a.isRef(t)||"string"==typeof t,"Invalid condition:",t),o(void 0===s.not||void 0===s.is,'Cannot combine "is" with "not"'),void 0===s.switch){var c=s;void 0!==s.not&&(c={is:s.not,then:s.otherwise,otherwise:s.then,break:s.break});var u=void 0!==c.is?e.$_compile(c.is):e.$_root.invalid(null,!1,0,"").required();return o(void 0!==c.then||void 0!==c.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),o(void 0===c.break||void 0===c.then||void 0===c.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===s.is||a.isRef(s.is)||r.isSchema(s.is)||(u=u.required()),i.condition(e,{ref:n.ref(t),is:u,then:c.then,otherwise:c.otherwise,break:c.break})}o(Array.isArray(s.switch),'"switch" must be an array'),o(void 0===s.is,'Cannot combine "switch" with "is"'),o(void 0===s.not,'Cannot combine "switch" with "not"'),o(void 0===s.then,'Cannot combine "switch" with "then"');for(var l={ref:n.ref(t),switch:[],break:s.break},d=0;d<s.switch.length;++d){var p=s.switch[d],m=d===s.switch.length-1;r.assertOptions(p,m?["is","then","otherwise"]:["is","then"]),o(void 0!==p.is,'Switch statement missing "is"'),o(void 0!==p.then,'Switch statement missing "then"');var h={is:e.$_compile(p.is),then:e.$_compile(p.then)};if(a.isRef(p.is)||r.isSchema(p.is)||(h.is=h.is.required()),m){o(void 0===s.otherwise||void 0===p.otherwise,'Cannot specify "otherwise" inside and outside a "switch"');var f=void 0!==s.otherwise?s.otherwise:p.otherwise;void 0!==f&&(o(void 0===l.break,"Cannot specify both otherwise and break"),h.otherwise=e.$_compile(f))}l.switch.push(h)}return l},i.condition=function(e,n){for(var t=0,o=["then","otherwise"];t<o.length;t++){var r=o[t];void 0===n[r]?delete n[r]:n[r]=e.$_compile(n[r])}return n}},function(e,n,t){"use strict";var o=t(0),r=t(2),a=t(7);n.compile=function(e,n){if("string"==typeof e)return o(!n,"Cannot set single message string"),new a(e);if(a.isTemplate(e))return o(!n,"Cannot set single message template"),e;for(var t in o("object"==typeof e&&!Array.isArray(e),"Invalid message options"),n=n?r(n):{},e){var i=e[t];if("root"===t||a.isTemplate(i))n[t]=i;else if("string"!=typeof i){o("object"==typeof i&&!Array.isArray(i),"Invalid message for",t);var s=t;for(t in n[s]=n[s]||{},i){var c=i[t];"root"===t||a.isTemplate(c)?n[s][t]=c:(o("string"==typeof c,"Invalid message for",t,"in",s),n[s][t]=new a(c))}}else n[t]=new a(i)}return n},n.decompile=function(e){var n={};for(var t in e){var o=e[t];if("root"!==t)if(a.isTemplate(o))n[t]=o.describe({compact:!0});else{var r=t;for(t in n[r]={},o){var i=o[t];n[r][t]="root"!==t?i.describe({compact:!0}):i}}else n[t]=o}return n},n.merge=function(e,t){if(!e)return n.compile(t);if(!t)return e;if("string"==typeof t)return new a(t);if(a.isTemplate(t))return t;var i=r(e);for(var s in t){var c=t[s];if("root"===s||a.isTemplate(c))i[s]=c;else if("string"!=typeof c){o("object"==typeof c&&!Array.isArray(c),"Invalid message for",s);var u=s;for(s in i[u]=i[u]||{},c){var l=c[s];"root"===s||a.isTemplate(l)?i[u][s]=l:(o("string"==typeof l,"Invalid message for",s,"in",u),i[u][s]=new a(l))}}else i[s]=new a(c)}return i}},function(e,n,t){"use strict";var o=t(13),r={mismatched:null};e.exports=function(e,n,t){return t=Object.assign({prototype:!0},t),!!r.isDeepEqual(e,n,t,[])},r.isDeepEqual=function(e,n,t,a){if(e===n)return 0!==e||1/e==1/n;var i=typeof e;if(i!==typeof n)return!1;if(null===e||null===n)return!1;if("function"===i){if(!t.deepFunction||e.toString()!==n.toString())return!1}else if("object"!==i)return e!=e&&n!=n;var s=r.getSharedType(e,n,!!t.prototype);switch(s){case o.buffer:return!1;case o.promise:return e===n;case o.regex:return e.toString()===n.toString();case r.mismatched:return!1}for(var c=a.length-1;c>=0;--c)if(a[c].isSame(e,n))return!0;a.push(new r.SeenEntry(e,n));try{return!!r.isDeepEqualObj(s,e,n,t,a)}finally{a.pop()}},r.getSharedType=function(e,n,t){if(t)return Object.getPrototypeOf(e)!==Object.getPrototypeOf(n)?r.mismatched:o.getInternalProto(e);var a=o.getInternalProto(e);return a!==o.getInternalProto(n)?r.mismatched:a},r.valueOf=function(e){var n=e.valueOf;if(void 0===n)return e;try{return n.call(e)}catch(e){return e}},r.hasOwnEnumerableProperty=function(e,n){return Object.prototype.propertyIsEnumerable.call(e,n)},r.isSetSimpleEqual=function(e,n){var t,o=f(e);try{for(o.s();!(t=o.n()).done;){var r=t.value;if(!n.has(r))return!1}}catch(a){o.e(a)}finally{o.f()}return!0},r.isDeepEqualObj=function(e,n,t,a,i){var s=r.isDeepEqual,c=r.valueOf,u=r.hasOwnEnumerableProperty,l=Object.keys,d=Object.getOwnPropertySymbols;if(e===o.array){if(!a.part){if(n.length!==t.length)return!1;for(var p=0;p<n.length;++p)if(!s(n[p],t[p],a,i))return!1;return!0}var m,g=f(n);try{for(g.s();!(m=g.n()).done;){var v,y=m.value,b=f(t);try{for(b.s();!(v=b.n()).done;)if(s(y,v.value,a,i))return!0}catch(W){b.e(W)}finally{b.f()}}}catch(W){g.e(W)}finally{g.f()}}else if(e===o.set){if(n.size!==t.size)return!1;if(!r.isSetSimpleEqual(n,t)){var C,w=new Set(t),S=f(n);try{for(S.s();!(C=S.n()).done;){var _=C.value;if(!w.delete(_)){var E,x=!1,O=f(w);try{for(O.s();!(E=O.n()).done;){var A=E.value;if(s(_,A,a,i)){w.delete(A),x=!0;break}}}catch(W){O.e(W)}finally{O.f()}if(!x)return!1}}}catch(W){S.e(W)}finally{S.f()}}}else if(e===o.map){if(n.size!==t.size)return!1;var k,T=f(n);try{for(T.s();!(k=T.n()).done;){var P=h(k.value,2),M=P[0],I=P[1];if(void 0===I&&!t.has(M))return!1;if(!s(I,t.get(M),a,i))return!1}}catch(W){T.e(W)}finally{T.f()}}else if(e===o.error&&(n.name!==t.name||n.message!==t.message))return!1;var R=c(n),j=c(t);if((n!==R||t!==j)&&!s(R,j,a,i))return!1;var N=l(n);if(!a.part&&N.length!==l(t).length&&!a.skip)return!1;var L,F=0,U=f(N);try{for(U.s();!(L=U.n()).done;){var D=L.value;if(a.skip&&a.skip.includes(D))void 0===t[D]&&++F;else{if(!u(t,D))return!1;if(!s(n[D],t[D],a,i))return!1}}}catch(W){U.e(W)}finally{U.f()}if(!a.part&&N.length-F!==l(t).length)return!1;if(!1!==a.symbols){var B,z=d(n),V=new Set(d(t)),G=f(z);try{for(G.s();!(B=G.n()).done;){var H=B.value;if(!a.skip||!a.skip.includes(H))if(u(n,H)){if(!u(t,H))return!1;if(!s(n[H],t[H],a,i))return!1}else if(u(t,H))return!1;V.delete(H)}}catch(W){G.e(W)}finally{G.f()}var q,K=f(V);try{for(K.s();!(q=K.n()).done;)if(u(t,q.value))return!1}catch(W){K.e(W)}finally{K.f()}}return!0},r.SeenEntry=function(){function e(n,t){p(this,e),this.obj=n,this.ref=t}return m(e,[{key:"isSame",value:function(e,n){return this.obj===e&&this.ref===n}}]),e}()},function(e,n,t){"use strict";var o,r=t(0),a=t(2),i=t(15),c=t(1),u=t(8),l=t(4),p=t(17),m=t(18),h=t(5),g=t(7),v=t(19),y={types:{alternatives:t(33),any:t(3),array:t(39),boolean:t(40),date:t(41),function:t(42),link:t(45),number:t(46),object:t(47),string:t(48),symbol:t(52)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){var e,n={_types:new Set(Object.keys(y.types))},t=f(n._types);try{var o=function(){var t=e.value;n[t]=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return r(!n.length||["alternatives","link","object"].includes(t),"The",t,"type does not allow arguments"),y.generate(this,y.types[t],n)}};for(t.s();!(e=t.n()).done;)o()}catch(l){t.e(l)}finally{t.f()}for(var a=function(){var e=s[i];n[e]=function(){var n;return(n=this.any())[e].apply(n,arguments)}},i=0,s=["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"];i<s.length;i++)a();for(var c in Object.assign(n,y.methods),y.aliases){var u=y.aliases[c];n[c]=n[u]}return n.x=n.expression,v.setup&&v.setup(n),n}};y.methods={ValidationError:l.ValidationError,version:c.version,cache:i.provider,assert:function(e,n){for(var t=arguments.length,o=new Array(t>2?t-2:0),r=2;r<t;r++)o[r-2]=arguments[r];y.assert(e,n,!0,o)},attempt:function(e,n){for(var t=arguments.length,o=new Array(t>2?t-2:0),r=2;r<t;r++)o[r-2]=arguments[r];return y.assert(e,n,!1,o)},build:function(e){return r("function"==typeof m.build,"Manifest functionality disabled"),m.build(this,e)},checkPreferences:function(e){c.checkPreferences(e)},compile:function(e,n){return u.compile(this,e,n)},defaults:function(e){r("function"==typeof e,"modifier must be a function");var n,t=Object.assign({},this),o=f(t._types);try{var a=function(){var o=n.value,a=e(t[o]());r(c.isSchema(a),"modifier must return a valid schema object"),t[o]=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return y.generate(this,a,n)}};for(o.s();!(n=o.n()).done;)a()}catch(i){o.e(i)}finally{o.f()}return t},expression:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return s(g,n)},extend:function(){for(var e=this,n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];c.verifyFlat(a,"extend"),o=o||t(16),r(a.length,"You need to provide at least one extension"),this.assert(a,o.extensions);var s=Object.assign({},this);s._types=new Set(s._types);for(var u=0,l=a;u<l.length;u++){var d=l[u];"function"==typeof d&&(d=d(s)),this.assert(d,o.extension);var m,h=y.expandExtension(d,s),g=f(h);try{var v=function(){var n=m.value;r(void 0===s[n.type]||s._types.has(n.type),"Cannot override name",n.type);var t=n.base||e.any(),o=p.type(t,n);s._types.add(n.type),s[n.type]=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return y.generate(this,o,n)}};for(g.s();!(m=g.n()).done;)v()}catch(b){g.e(b)}finally{g.f()}}return s},isError:l.ValidationError.isError,isExpression:g.isTemplate,isRef:h.isRef,isSchema:c.isSchema,in:function(){return h.in.apply(h,arguments)},override:c.symbols.override,ref:function(){return h.create.apply(h,arguments)},types:function(){var e,n={},t=f(this._types);try{for(t.s();!(e=t.n()).done;){var o=e.value;n[o]=this[o]()}}catch(a){t.e(a)}finally{t.f()}for(var r in y.aliases)n[r]=this[r]();return n}},y.assert=function(e,n,t,o){var r=o[0]instanceof Error||"string"==typeof o[0]?o[0]:null,i=r?o[1]:o[0],s=n.validate(e,c.preferences({errors:{stack:!0}},i||{})),u=s.error;if(!u)return s.value;if(r instanceof Error)throw r;var d=t&&"function"==typeof u.annotate?u.annotate():u.message;throw u instanceof l.ValidationError==0&&(u=a(u)),u.message=r?"".concat(r," ").concat(d):d,u},y.generate=function(e,n,t){var o;return r(e,"Must be invoked on a Joi instance."),n.$_root=e,n._definition.args&&t.length?(o=n._definition).args.apply(o,[n].concat(d(t))):n},y.expandExtension=function(e,n){if("string"==typeof e.type)return[e];var t,o=[],r=f(n._types);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(e.type.test(a)){var i=Object.assign({},e);i.type=a,i.base=n[a](),o.push(i)}}}catch(s){r.e(s)}finally{r.f()}return o},e.exports=y.root()},function(e,n,t){"use strict";var o=t(28);e.exports=function(e){c(r,e);var t=u(r);function r(e){var a;return p(this,r),a=t.call(this,e.filter((function(e){return""!==e})).map((function(e){return"string"==typeof e?e:e instanceof Error?e.message:o(e)})).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i(a),n.assert),a}return r}(l(Error))},function(e,n,t){"use strict";var o={};n=e.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},o.typeMap=new Map([["[object Error]",n.error],["[object Map]",n.map],["[object Promise]",n.promise],["[object Set]",n.set],["[object WeakMap]",n.weakMap],["[object WeakSet]",n.weakSet]]),n.getInternalProto=function(e){if(Array.isArray(e))return n.array;if(e instanceof Date)return n.date;if(e instanceof RegExp)return n.regex;if(e instanceof Error)return n.error;var t=Object.prototype.toString.call(e);return o.typeMap.get(t)||n.generic}},function(e,n,t){"use strict";n.keys=function(e){return!1!==(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},function(e,n,t){"use strict";var o=t(0),r=t(2),a=t(1),i={max:1e3,supported:new Set(["undefined","boolean","number","string"])};n.provider={provision:function(e){return new i.Cache(e)}},i.Cache=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};p(this,e),a.assertOptions(n,["max"]),o(void 0===n.max||n.max&&n.max>0&&isFinite(n.max),"Invalid max cache size"),this._max=n.max||i.max,this._map=new Map,this._list=new i.List}return m(e,[{key:"length",get:function(){return this._map.size}},{key:"set",value:function(e,n){if(null===e||i.supported.has(typeof e)){var t=this._map.get(e);if(t)return t.value=n,void this._list.first(t);t=this._list.unshift({key:e,value:n}),this._map.set(e,t),this._compact()}}},{key:"get",value:function(e){var n=this._map.get(e);if(n)return this._list.first(n),r(n.value)}},{key:"_compact",value:function(){if(this._map.size>this._max){var e=this._list.pop();this._map.delete(e.key)}}}]),e}(),i.List=function(){function e(){p(this,e),this.tail=null,this.head=null}return m(e,[{key:"unshift",value:function(e){return e.next=null,e.prev=this.head,this.head&&(this.head.next=e),this.head=e,this.tail||(this.tail=e),e}},{key:"first",value:function(e){e!==this.head&&(this._remove(e),this.unshift(e))}},{key:"pop",value:function(){return this._remove(this.tail)}},{key:"_remove",value:function(e){var n=e.next,t=e.prev;return n.prev=t,t&&(t.next=n),e===this.tail&&(this.tail=n),e.prev=null,e.next=null,e}}]),e}()},function(e,n,t){"use strict";var o=t(11),r={};r.wrap=o.string().min(1).max(2).allow(!1),n.preferences=o.object({allowUnknown:o.boolean(),abortEarly:o.boolean(),cache:o.boolean(),context:o.object(),convert:o.boolean(),dateFormat:o.valid("date","iso","string","time","utc"),debug:o.boolean(),errors:{escapeHtml:o.boolean(),label:o.valid("path","key",!1),language:[o.string(),o.object().ref()],render:o.boolean(),stack:o.boolean(),wrap:{label:r.wrap,array:r.wrap}},externals:o.boolean(),messages:o.object(),noDefaults:o.boolean(),nonEnumerables:o.boolean(),presence:o.valid("required","optional","forbidden"),skipFunctions:o.boolean(),stripUnknown:o.object({arrays:o.boolean(),objects:o.boolean()}).or("arrays","objects").allow(!0,!1),warnings:o.boolean()}).strict(),r.nameRx=/^[a-zA-Z0-9]\w*$/,r.rule=o.object({alias:o.array().items(o.string().pattern(r.nameRx)).single(),args:o.array().items(o.string(),o.object({name:o.string().pattern(r.nameRx).required(),ref:o.boolean(),assert:o.alternatives([o.function(),o.object().schema()]).conditional("ref",{is:!0,then:o.required()}),normalize:o.function(),message:o.string().when("assert",{is:o.function(),then:o.required()})})),convert:o.boolean(),manifest:o.boolean(),method:o.function().allow(!1),multi:o.boolean(),validate:o.function()}),n.extension=o.object({type:o.alternatives([o.string(),o.object().regex()]).required(),args:o.function(),base:o.object().schema().when("type",{is:o.object().regex(),then:o.forbidden()}),coerce:[o.function().maxArity(3),o.object({method:o.function().maxArity(3).required(),from:o.array().items(o.string()).single()})],flags:o.object().pattern(r.nameRx,o.object({setter:o.string(),default:o.any()})),manifest:{build:o.function().arity(2)},messages:[o.object(),o.string()],modifiers:o.object().pattern(r.nameRx,o.function().minArity(1).maxArity(2)),overrides:o.object().pattern(r.nameRx,o.function()),prepare:o.function().maxArity(3),rebuild:o.function().arity(1),rules:o.object().pattern(r.nameRx,r.rule),terms:o.object().pattern(r.nameRx,o.object({init:o.array().allow(null).required(),manifest:o.object().pattern(/.+/,[o.valid("schema","single"),o.object({mapped:o.object({from:o.string().required(),to:o.string().required()}).required()})])})),validate:o.function().maxArity(3)}).strict(),n.extensions=o.array().items(o.object(),o.function().arity(1)).strict(),r.desc={buffer:o.object({buffer:o.string()}),func:o.object({function:o.function().required(),options:{literal:!0}}),override:o.object({override:!0}),ref:o.object({ref:o.object({type:o.valid("value","global","local"),path:o.array().required(),separator:o.string().length(1).allow(!1),ancestor:o.number().min(0).integer().allow("root"),map:o.array().items(o.array().length(2)).min(1),adjust:o.function(),iterables:o.boolean(),in:o.boolean()}).required()}),regex:o.object({regex:o.string().min(3)}),special:o.object({special:o.valid("deep").required()}),template:o.object({template:o.string().required(),options:o.object()}),value:o.object({value:o.alternatives([o.object(),o.array()]).required()})},r.desc.entity=o.alternatives([o.array().items(o.link("...")),o.boolean(),o.function(),o.number(),o.string(),r.desc.buffer,r.desc.func,r.desc.ref,r.desc.regex,r.desc.special,r.desc.template,r.desc.value,o.link("/")]),r.desc.values=o.array().items(null,o.boolean(),o.function(),o.number().allow(1/0,-1/0),o.string().allow(""),o.symbol(),r.desc.buffer,r.desc.func,r.desc.override,r.desc.ref,r.desc.regex,r.desc.template,r.desc.value),r.desc.messages=o.object().pattern(/.+/,[o.string(),r.desc.template,o.object().pattern(/.+/,[o.string(),r.desc.template])]),n.description=o.object({type:o.string().required(),flags:o.object({cast:o.string(),default:o.any(),description:o.string(),empty:o.link("/"),failover:r.desc.entity,id:o.string(),label:o.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:o.boolean(),unit:o.string()}).unknown(),preferences:{allowUnknown:o.boolean(),abortEarly:o.boolean(),cache:o.boolean(),convert:o.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:o.boolean(),label:["path","key"],language:[o.string(),r.desc.ref],wrap:{label:r.wrap,array:r.wrap}},externals:o.boolean(),messages:r.desc.messages,noDefaults:o.boolean(),nonEnumerables:o.boolean(),presence:["required","optional","forbidden"],skipFunctions:o.boolean(),stripUnknown:o.object({arrays:o.boolean(),objects:o.boolean()}).or("arrays","objects").allow(!0,!1),warnings:o.boolean()},allow:r.desc.values,invalid:r.desc.values,rules:o.array().min(1).items({name:o.string().required(),args:o.object().min(1),keep:o.boolean(),message:[o.string(),r.desc.messages],warn:o.boolean()}),keys:o.object().pattern(/.*/,o.link("/")),link:r.desc.ref}).pattern(/^[a-z]\w*$/,o.any())},function(e,n,t){"use strict";var o=t(0),r=t(2),i=t(1),s=t(9),c={};n.type=function(e,n){var t=Object.getPrototypeOf(e),u=r(t),l=e._assign(Object.create(u)),d=Object.assign({},n);delete d.base,u._definition=d;var p=t._definition||{};d.messages=s.merge(p.messages,d.messages),d.properties=Object.assign({},p.properties,d.properties),l.type=d.type,d.flags=Object.assign({},p.flags,d.flags);var m=Object.assign({},p.terms);if(d.terms)for(var h in d.terms){var g=d.terms[h];o(void 0===l.$_terms[h],"Invalid term override for",d.type,h),l.$_terms[h]=g.init,m[h]=g}d.terms=m,d.args||(d.args=p.args),d.prepare=c.prepare(d.prepare,p.prepare),d.coerce&&("function"==typeof d.coerce&&(d.coerce={method:d.coerce}),d.coerce.from&&!Array.isArray(d.coerce.from)&&(d.coerce={method:d.coerce.method,from:[].concat(d.coerce.from)})),d.coerce=c.coerce(d.coerce,p.coerce),d.validate=c.validate(d.validate,p.validate);var v=Object.assign({},p.rules);if(d.rules){var y=function(e){var n=d.rules[e];o("object"==typeof n,"Invalid rule definition for",d.type,e);var t=n.method;if(void 0===t&&(t=function(){return this.$_addRule(e)}),t&&(o(!u[e],"Rule conflict in",d.type,e),u[e]=t),o(!v[e],"Rule conflict in",d.type,e),v[e]=n,n.alias){var r,a=[].concat(n.alias),s=f(a);try{for(s.s();!(r=s.n()).done;){var c=r.value;u[c]=n.method}}catch(l){s.e(l)}finally{s.f()}}n.args&&(n.argsByName=new Map,n.args=n.args.map((function(e){return"string"==typeof e&&(e={name:e}),o(!n.argsByName.has(e.name),"Duplicated argument name",e.name),i.isSchema(e.assert)&&(e.assert=e.assert.strict().label(e.name)),n.argsByName.set(e.name,e),e})))};for(var b in d.rules)y(b)}d.rules=v;var C=Object.assign({},p.modifiers);if(d.modifiers){var w=function(e){o(!u[e],"Rule conflict in",d.type,e);var n=d.modifiers[e];o("function"==typeof n,"Invalid modifier definition for",d.type,e);var t=function(n){return this.rule(a({},e,n))};u[e]=t,C[e]=n};for(var S in d.modifiers)w(S)}if(d.modifiers=C,d.overrides){for(var _ in u._super=t,l.$_super={},d.overrides)o(t[_],"Cannot override missing",_),l.$_super[_]=t[_].bind(l);Object.assign(u,d.overrides)}d.cast=Object.assign({},p.cast,d.cast);var E=Object.assign({},p.manifest,d.manifest);return E.build=c.build(d.manifest&&d.manifest.build,p.manifest&&p.manifest.build),d.manifest=E,d.rebuild=c.rebuild(d.rebuild,p.rebuild),l},c.build=function(e,n){return e&&n?function(t,o){return n(e(t,o),o)}:e||n},c.coerce=function(e,n){return e&&n?{from:e.from&&n.from?d(new Set([].concat(d(e.from),d(n.from)))):null,method:function(t,o){var r;if((!n.from||n.from.includes(typeof t))&&(r=n.method(t,o))){if(r.errors||void 0===r.value)return r;t=r.value}if(!e.from||e.from.includes(typeof t)){var a=e.method(t,o);if(a)return a}return r}}:e||n},c.prepare=function(e,n){return e&&n?function(t,o){var r=e(t,o);if(r){if(r.errors||void 0===r.value)return r;t=r.value}return n(t,o)||r}:e||n},c.rebuild=function(e,n){return e&&n?function(t){n(t),e(t)}:e||n},c.validate=function(e,n){return e&&n?function(t,o){var r=n(t,o);if(r){if(r.errors&&(!Array.isArray(r.errors)||r.errors.length))return r;t=r.value}return e(t,o)||r}:e||n}},function(e,n){},function(e,n){},function(e,n,t){"use strict";var o=t(0),r=t(2),a=t(14),i={};e.exports=i.merge=function(e,n,t){if(o(e&&"object"==typeof e,"Invalid target value: must be an object"),o(null==n||"object"==typeof n,"Invalid source value: must be null, undefined, or an object"),!n)return e;if(t=Object.assign({nullOverride:!0,mergeArrays:!0},t),Array.isArray(n)){o(Array.isArray(e),"Cannot merge array onto an object"),t.mergeArrays||(e.length=0);for(var s=0;s<n.length;++s)e.push(r(n[s],{symbols:t.symbols}));return e}for(var c=a.keys(n,t),u=0;u<c.length;++u){var l=c[u];if("__proto__"!==l&&Object.prototype.propertyIsEnumerable.call(n,l)){var d=n[l];if(d&&"object"==typeof d){if(e[l]===d)continue;!e[l]||"object"!=typeof e[l]||Array.isArray(e[l])!==Array.isArray(d)||d instanceof Date||d instanceof RegExp?e[l]=r(d,{symbols:t.symbols}):i.merge(e[l],d,t)}else(null!=d||t.nullOverride)&&(e[l]=d)}}return e}},function(e,n,t){"use strict";var o=t(0),r=t(10),a=t(1),i={};e.exports=i.Values=function(){function e(n,t){p(this,e),this._values=new Set(n),this._refs=new Set(t),this._lowercase=i.lowercases(n),this._override=!1}return m(e,[{key:"length",get:function(){return this._values.size+this._refs.size}},{key:"add",value:function(e,n){a.isResolvable(e)?this._refs.has(e)||(this._refs.add(e),n&&n.register(e)):this.has(e,null,null,!1)||(this._values.add(e),"string"==typeof e&&this._lowercase.set(e.toLowerCase(),e))}},{key:"remove",value:function(e){a.isResolvable(e)?this._refs.delete(e):(this._values.delete(e),"string"==typeof e&&this._lowercase.delete(e.toLowerCase()))}},{key:"has",value:function(e,n,t,o){return!!this.get(e,n,t,o)}},{key:"get",value:function(e,n,t,o){if(!this.length)return!1;if(this._values.has(e))return{value:e};if("string"==typeof e&&e&&o){var a=this._lowercase.get(e.toLowerCase());if(a)return{value:a}}if(!this._refs.size&&"object"!=typeof e)return!1;if("object"==typeof e){var i,s=f(this._values);try{for(s.s();!(i=s.n()).done;){var c=i.value;if(r(c,e))return{value:c}}}catch(y){s.e(y)}finally{s.f()}}if(n){var u,l=f(this._refs);try{for(l.s();!(u=l.n()).done;){var d=u.value,p=d.resolve(e,n,t,null,{in:!0});if(void 0!==p){var m,h=d.in&&"object"==typeof p?Array.isArray(p)?p:Object.keys(p):[p],g=f(h);try{for(g.s();!(m=g.n()).done;){var v=m.value;if(typeof v==typeof e)if(o&&e&&"string"==typeof e){if(v.toLowerCase()===e.toLowerCase())return{value:v,ref:d}}else if(r(v,e))return{value:v,ref:d}}}catch(y){g.e(y)}finally{g.f()}}}}catch(y){l.e(y)}finally{l.f()}}return!1}},{key:"override",value:function(){this._override=!0}},{key:"values",value:function(e){if(e&&e.display){for(var n=[],t=0,o=[].concat(d(this._values),d(this._refs));t<o.length;t++){var r=o[t];void 0!==r&&n.push(r)}return n}return Array.from([].concat(d(this._values),d(this._refs)))}},{key:"clone",value:function(){var e=new i.Values(this._values,this._refs);return e._override=this._override,e}},{key:"concat",value:function(e){o(!e._override,"Cannot concat override set of values");var n=new i.Values([].concat(d(this._values),d(e._values)),[].concat(d(this._refs),d(e._refs)));return n._override=this._override,n}},{key:"describe",value:function(){var e=[];this._override&&e.push({override:!0});var n,t=f(this._values.values());try{for(t.s();!(n=t.n()).done;){var o=n.value;e.push(o&&"object"==typeof o?{value:o}:o)}}catch(s){t.e(s)}finally{t.f()}var r,a=f(this._refs.values());try{for(a.s();!(r=a.n()).done;){var i=r.value;e.push(i.describe())}}catch(s){a.e(s)}finally{a.f()}return e}}],[{key:"merge",value:function(e,n,t){if(e=e||new i.Values,n){if(n._override)return n.clone();for(var o=0,r=[].concat(d(n._values),d(n._refs));o<r.length;o++){var a=r[o];e.add(a)}}if(t)for(var s=0,c=[].concat(d(t._values),d(t._refs));s<c.length;s++){var u=c[s];e.remove(u)}return e.length?e:null}}]),e}(),i.Values.prototype[a.symbols.values]=!0,i.Values.prototype.slice=i.Values.prototype.clone,i.lowercases=function(e){var n=new Map;if(e){var t,o=f(e);try{for(o.s();!(t=o.n()).done;){var r=t.value;"string"==typeof r&&n.set(r.toLowerCase(),r)}}catch(a){o.e(a)}finally{o.f()}}return n}},function(e,n,t){"use strict";var o=t(43),r=t(0),i=t(2),h=t(44),g=t(3),v=t(1),y=t(8),b=t(4),C=t(5),w=t(7),S={renameDefaults:{alias:!1,multiple:!1,override:!1}};e.exports=g.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:function(e,n){return e.keys(n)},validate:function(e,n){var t=n.schema,o=n.error,r=n.state,a=n.prefs;if(!e||typeof e!==t.$_property("typeof")||Array.isArray(e))return{value:e,errors:o("object.base",{type:t.$_property("typeof")})};if(t.$_terms.renames||t.$_terms.dependencies||t.$_terms.keys||t.$_terms.patterns||t.$_terms.externals){e=S.clone(e,a);var i=[];if(t.$_terms.renames&&!S.rename(t,e,r,a,i))return{value:e,errors:i};if(!t.$_terms.keys&&!t.$_terms.patterns&&!t.$_terms.dependencies)return{value:e,errors:i};var s=new Set(Object.keys(e));if(t.$_terms.keys){var c,u=[e].concat(d(r.ancestors)),l=f(t.$_terms.keys);try{for(l.s();!(c=l.n()).done;){var p=c.value,m=p.key,h=e[m];s.delete(m);var g=r.localize([].concat(d(r.path),[m]),u,p),v=p.schema.$_validate(h,g,a);if(v.errors){if(a.abortEarly)return{value:e,errors:v.errors};i.push.apply(i,d(v.errors))}else"strip"===p.schema._flags.result||void 0===v.value&&void 0!==h?delete e[m]:void 0!==v.value&&(e[m]=v.value)}}catch(x){l.e(x)}finally{l.f()}}if(s.size||t._flags._hasPatternMatch){var y=S.unknown(t,e,s,i,r,a);if(y)return y}if(t.$_terms.dependencies){var b,C=f(t.$_terms.dependencies);try{for(C.s();!(b=C.n()).done;){var w=b.value;if(!w.key||void 0!==w.key.resolve(e,r,a,null,{shadow:!1})){var _=S.dependencies[w.rel](t,w,e,r,a);if(_){var E=t.$_createError(_.code,e,_.context,r,a);if(a.abortEarly)return{value:e,errors:E};i.push(E)}}}}catch(x){C.e(x)}finally{C.f()}}return{value:e,errors:i}}},rules:{and:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return v.verifyFlat(n,"and"),S.dependency(this,"and",null,n)}},append:{method:function(e){return null==e||0===Object.keys(e).length?this:this.keys(e)}},assert:{method:function(e,n,t){w.isTemplate(e)||(e=y.ref(e)),r(void 0===t||"string"==typeof t,"Message must be a string"),n=this.$_compile(n,{appendPath:!0});var o=this.$_addRule({name:"assert",args:{subject:e,schema:n,message:t}});return o.$_mutateRegister(e),o.$_mutateRegister(n),o},validate:function(e,n,t){var o=n.error,r=n.prefs,a=n.state,i=t.subject,s=t.schema,c=t.message,u=i.resolve(e,a,r),l=C.isRef(i)?i.absolute(a):[];return s.$_match(u,a.localize(l,[e].concat(d(a.ancestors)),s),r)?e:o("object.assert",{subject:i,message:c})},args:["subject","schema","message"],multi:!0},instance:{method:function(e,n){return r("function"==typeof e,"constructor must be a function"),n=n||e.name,this.$_addRule({name:"instance",args:{constructor:e,name:n}})},validate:function(e,n,t){var o=t.constructor,r=t.name;return e instanceof o?e:n.error("object.instance",{type:r,value:e})},args:["constructor","name"]},keys:{method:function(e){var n=this;r(void 0===e||"object"==typeof e,"Object schema must be a valid object"),r(!v.isSchema(e),"Object schema cannot be a joi schema");var t=this.clone();if(e)if(Object.keys(e).length){t.$_terms.keys=t.$_terms.keys?t.$_terms.keys.filter((function(n){return!e.hasOwnProperty(n.key)})):new S.Keys;var o=function(o){v.tryWithPath((function(){return t.$_terms.keys.push({key:o,schema:n.$_compile(e[o])})}),o)};for(var a in e)o(a)}else t.$_terms.keys=new S.Keys;else t.$_terms.keys=null;return t.$_mutateRebuild()}},length:{method:function(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:function(e,n,t,o){var r=t.limit,a=o.name,i=o.operator,s=o.args;return v.compare(Object.keys(e).length,r,i)?e:n.error("object."+a,{limit:s.limit,value:e})},args:[{name:"limit",ref:!0,assert:v.limit,message:"must be a positive integer"}]},max:{method:function(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method:function(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},nand:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return v.verifyFlat(n,"nand"),S.dependency(this,"nand",null,n)}},or:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return v.verifyFlat(n,"or"),S.dependency(this,"or",null,n)}},oxor:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return S.dependency(this,"oxor",null,n)}},pattern:{method:function(e,n){var t,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e instanceof RegExp;i||(e=this.$_compile(e,{appendPath:!0})),r(void 0!==n,"Invalid rule"),v.assertOptions(o,["fallthrough","matches"]),i&&r(!e.flags.includes("g")&&!e.flags.includes("y"),"pattern should not use global or sticky mode"),n=this.$_compile(n,{appendPath:!0});var s=this.clone();s.$_terms.patterns=s.$_terms.patterns||[];var c=(a(t={},i?"regex":"schema",e),a(t,"rule",n),t);return o.matches&&(c.matches=this.$_compile(o.matches),"array"!==c.matches.type&&(c.matches=c.matches.$_root.array().items(c.matches)),s.$_mutateRegister(c.matches),s.$_setFlag("_hasPatternMatch",!0,{clone:!1})),o.fallthrough&&(c.fallthrough=!0),s.$_terms.patterns.push(c),s.$_mutateRegister(n),s}},ref:{method:function(){return this.$_addRule("ref")},validate:function(e,n){return C.isRef(e)?e:n.error("object.refType",{value:e})}},regex:{method:function(){return this.$_addRule("regex")},validate:function(e,n){return e instanceof RegExp?e:n.error("object.regex",{value:e})}},rename:{method:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r("string"==typeof e||e instanceof RegExp,"Rename missing the from argument"),r("string"==typeof n||n instanceof w,"Invalid rename to argument"),r(n!==e,"Cannot rename key to same name:",e),v.assertOptions(t,["alias","ignoreUndefined","override","multiple"]);var a=this.clone();a.$_terms.renames=a.$_terms.renames||[];var i,s=f(a.$_terms.renames);try{for(s.s();!(i=s.n()).done;){var c=i.value;r(c.from!==e,"Cannot rename the same key multiple times")}}catch(u){s.e(u)}finally{s.f()}return n instanceof w&&a.$_mutateRegister(n),a.$_terms.renames.push({from:e,to:n,options:o(S.renameDefaults,t)}),a}},schema:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any";return this.$_addRule({name:"schema",args:{type:e}})},validate:function(e,n,t){var o=t.type;return!v.isSchema(e)||"any"!==o&&e.type!==o?n.error("object.schema",{type:o}):e}},unknown:{method:function(e){return this.$_setFlag("unknown",!1!==e)}},with:{method:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.dependency(this,"with",e,n,t)}},without:{method:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return S.dependency(this,"without",e,n,t)}},xor:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return v.verifyFlat(n,"xor"),S.dependency(this,"xor",null,n)}}},overrides:{default:function(e,n){return void 0===e&&(e=v.symbols.deepDefault),this.$_super.default(e,n)}},rebuild:function(e){e.$_terms.keys&&function(){var n,t=new h.Sorter,o=f(e.$_terms.keys);try{var r=function(){var e=n.value;v.tryWithPath((function(){return t.add(e,{after:e.schema.$_rootReferences(),group:e.key})}),e.key)};for(o.s();!(n=o.n()).done;)r()}catch(a){o.e(a)}finally{o.f()}e.$_terms.keys=s(S.Keys,d(t.nodes))}()},manifest:{build:function(e,n){if(n.keys&&(e=e.keys(n.keys)),n.dependencies){var t,o=f(n.dependencies);try{for(o.s();!(t=o.n()).done;){var r=t.value,a=r.rel,i=r.key,s=void 0===i?null:i,c=r.peers,u=r.options;e=S.dependency(e,a,s,c,u)}}catch(O){o.e(O)}finally{o.f()}}if(n.patterns){var l,d=f(n.patterns);try{for(d.s();!(l=d.n()).done;){var p=l.value,m=p.regex,h=p.schema,g=p.rule,v=p.fallthrough,y=p.matches;e=e.pattern(m||h,g,{fallthrough:v,matches:y})}}catch(O){d.e(O)}finally{d.f()}}if(n.renames){var b,C=f(n.renames);try{for(C.s();!(b=C.n()).done;){var w=b.value,_=w.from,E=w.to,x=w.options;e=e.rename(_,E,x)}}catch(O){C.e(O)}finally{C.f()}}return e}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":'{{#label}} must be an instance of "{{#type}}"',"object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":'"{{#mainWithLabel}}" must not exist simultaneously with {{#peersWithLabels}}',"object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":'{{#label}} cannot rename "{{#from}}" because multiple renames are disabled and another key was already renamed to "{{#to}}"',"object.rename.override":'{{#label}} cannot rename "{{#from}}" because override is disabled and target "{{#to}}" exists',"object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":'"{{#mainWithLabel}}" missing required peer "{{#peerWithLabel}}"',"object.without":'"{{#mainWithLabel}}" conflict with forbidden peer "{{#peerWithLabel}}"',"object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),S.clone=function(e,n){if("object"==typeof e){if(n.nonEnumerables)return i(e,{shallow:!0});var t=Object.create(Object.getPrototypeOf(e));return Object.assign(t,e),t}var o=function(){for(var n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];return e.apply(this,t)};return o.prototype=i(e.prototype),Object.defineProperty(o,"name",{value:e.name,writable:!1}),Object.defineProperty(o,"length",{value:e.length,writable:!1}),Object.assign(o,e),o},S.dependency=function(e,n,t,o,a){r(null===t||"string"==typeof t,n,"key must be a strings"),a||(a=o.length>1&&"object"==typeof o[o.length-1]?o.pop():{}),v.assertOptions(a,["separator"]),o=[].concat(o);var i,s=v.default(a.separator,"."),c=[],u=f(o);try{for(u.s();!(i=u.n()).done;){var l=i.value;r("string"==typeof l,n,"peers must be a string or a reference"),c.push(y.ref(l,{separator:s,ancestor:0,prefix:!1}))}}catch(p){u.e(p)}finally{u.f()}null!==t&&(t=y.ref(t,{separator:s,ancestor:0,prefix:!1}));var d=e.clone();return d.$_terms.dependencies=d.$_terms.dependencies||[],d.$_terms.dependencies.push(new S.Dependency(n,t,c,o)),d},S.dependencies={and:function(e,n,t,o,r){var a,i=[],s=[],c=n.peers.length,u=f(n.peers);try{for(u.s();!(a=u.n()).done;){var l=a.value;void 0===l.resolve(t,o,r,null,{shadow:!1})?i.push(l.key):s.push(l.key)}}catch(d){u.e(d)}finally{u.f()}if(i.length!==c&&s.length!==c)return{code:"object.and",context:{present:s,presentWithLabels:S.keysToLabels(e,s),missing:i,missingWithLabels:S.keysToLabels(e,i)}}},nand:function(e,n,t,o,r){var a,i=[],s=f(n.peers);try{for(s.s();!(a=s.n()).done;){var c=a.value;void 0!==c.resolve(t,o,r,null,{shadow:!1})&&i.push(c.key)}}catch(d){s.e(d)}finally{s.f()}if(i.length===n.peers.length){var u=n.paths[0],l=n.paths.slice(1);return{code:"object.nand",context:{main:u,mainWithLabel:S.keysToLabels(e,u),peers:l,peersWithLabels:S.keysToLabels(e,l)}}}},or:function(e,n,t,o,r){var a,i=f(n.peers);try{for(i.s();!(a=i.n()).done;)if(void 0!==a.value.resolve(t,o,r,null,{shadow:!1}))return}catch(s){i.e(s)}finally{i.f()}return{code:"object.missing",context:{peers:n.paths,peersWithLabels:S.keysToLabels(e,n.paths)}}},oxor:function(e,n,t,o,r){var a,i=[],s=f(n.peers);try{for(s.s();!(a=s.n()).done;){var c=a.value;void 0!==c.resolve(t,o,r,null,{shadow:!1})&&i.push(c.key)}}catch(l){s.e(l)}finally{s.f()}if(i.length&&1!==i.length){var u={peers:n.paths,peersWithLabels:S.keysToLabels(e,n.paths)};return u.present=i,u.presentWithLabels=S.keysToLabels(e,i),{code:"object.oxor",context:u}}},with:function(e,n,t,o,r){var a,i=f(n.peers);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(void 0===s.resolve(t,o,r,null,{shadow:!1}))return{code:"object.with",context:{main:n.key.key,mainWithLabel:S.keysToLabels(e,n.key.key),peer:s.key,peerWithLabel:S.keysToLabels(e,s.key)}}}}catch(c){i.e(c)}finally{i.f()}},without:function(e,n,t,o,r){var a,i=f(n.peers);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(void 0!==s.resolve(t,o,r,null,{shadow:!1}))return{code:"object.without",context:{main:n.key.key,mainWithLabel:S.keysToLabels(e,n.key.key),peer:s.key,peerWithLabel:S.keysToLabels(e,s.key)}}}}catch(c){i.e(c)}finally{i.f()}},xor:function(e,n,t,o,r){var a,i=[],s=f(n.peers);try{for(s.s();!(a=s.n()).done;){var c=a.value;void 0!==c.resolve(t,o,r,null,{shadow:!1})&&i.push(c.key)}}catch(l){s.e(l)}finally{s.f()}if(1!==i.length){var u={peers:n.paths,peersWithLabels:S.keysToLabels(e,n.paths)};return 0===i.length?{code:"object.missing",context:u}:(u.present=i,u.presentWithLabels=S.keysToLabels(e,i),{code:"object.xor",context:u})}}},S.keysToLabels=function(e,n){return Array.isArray(n)?n.map((function(n){return e.$_mapLabels(n)})):e.$_mapLabels(n)},S.rename=function(e,n,t,o,r){var a,i={},s=f(e.$_terms.renames);try{for(s.s();!(a=s.n()).done;){var c=a.value,u=[],l="string"!=typeof c.from;if(l){for(var d in n)if((void 0!==n[d]||!c.options.ignoreUndefined)&&d!==c.to){var p=c.from.exec(d);p&&u.push({from:d,to:c.to,match:p})}}else!Object.prototype.hasOwnProperty.call(n,c.from)||void 0===n[c.from]&&c.options.ignoreUndefined||u.push(c);for(var m=0,h=u;m<h.length;m++){var g=h[m],v=g.from,y=g.to;if(y instanceof w&&(y=y.render(n,t,o,g.match)),v!==y){if(!c.options.multiple&&i[y]&&(r.push(e.$_createError("object.rename.multiple",n,{from:v,to:y,pattern:l},t,o)),o.abortEarly))return!1;if(Object.prototype.hasOwnProperty.call(n,y)&&!c.options.override&&!i[y]&&(r.push(e.$_createError("object.rename.override",n,{from:v,to:y,pattern:l},t,o)),o.abortEarly))return!1;void 0===n[v]?delete n[y]:n[y]=n[v],i[y]=!0,c.options.alias||delete n[v]}}}}catch(b){s.e(b)}finally{s.f()}return!0},S.unknown=function(e,n,t,o,r,a){if(e.$_terms.patterns){var i,s=!1,c=e.$_terms.patterns.map((function(e){if(e.matches)return s=!0,[]})),u=[n].concat(d(r.ancestors)),l=f(t);try{for(l.s();!(i=l.n()).done;)for(var p=i.value,m=n[p],h=[].concat(d(r.path),[p]),g=0;g<e.$_terms.patterns.length;++g){var y=e.$_terms.patterns[g];if(y.regex){var C=y.regex.test(p);if(r.mainstay.tracer.debug(r,"rule","pattern.".concat(g),C?"pass":"error"),!C)continue}else if(!y.schema.$_match(p,r.nest(y.schema,"pattern.".concat(g)),a))continue;t.delete(p);var w=r.localize(h,u,{schema:y.rule,key:p}),S=y.rule.$_validate(m,w,a);if(S.errors){if(a.abortEarly)return{value:n,errors:S.errors};o.push.apply(o,d(S.errors))}if(y.matches&&c[g].push(p),n[p]=S.value,!y.fallthrough)break}}catch(D){l.e(D)}finally{l.f()}if(s)for(var _=0;_<c.length;++_){var E=c[_];if(E){var x=e.$_terms.patterns[_].matches,O=r.localize(r.path,u,x),A=x.$_validate(E,O,a);if(A.errors){var k=b.details(A.errors,{override:!1});k.matches=E;var T=e.$_createError("object.pattern.match",n,k,r,a);if(a.abortEarly)return{value:n,errors:T};o.push(T)}}}}if(t.size&&(e.$_terms.keys||e.$_terms.patterns)){if(a.stripUnknown&&!e._flags.unknown||a.skipFunctions){var P,M=!!a.stripUnknown&&(!0===a.stripUnknown||!!a.stripUnknown.objects),I=f(t);try{for(I.s();!(P=I.n()).done;){var R=P.value;M?(delete n[R],t.delete(R)):"function"==typeof n[R]&&t.delete(R)}}catch(D){I.e(D)}finally{I.f()}}if(!v.default(e._flags.unknown,a.allowUnknown)){var j,N=f(t);try{for(N.s();!(j=N.n()).done;){var L=j.value,F=r.localize([].concat(d(r.path),[L]),[]),U=e.$_createError("object.unknown",n[L],{child:L},F,a,{flags:!1});if(a.abortEarly)return{value:n,errors:U};o.push(U)}}catch(D){N.e(D)}finally{N.f()}}}},S.Dependency=function(){function e(n,t,o,r){p(this,e),this.rel=n,this.key=t,this.peers=o,this.paths=r}return m(e,[{key:"describe",value:function(){var e={rel:this.rel,peers:this.paths};return null!==this.key&&(e.key=this.key.key),"."!==this.peers[0].separator&&(e.options={separator:this.peers[0].separator}),e}}]),e}(),S.Keys=function(e){c(t,e);var n=u(t);function t(){return p(this,t),n.apply(this,arguments)}return m(t,[{key:"concat",value:function(e){for(var n=this.slice(),t=new Map,o=0;o<n.length;++o)t.set(n[o].key,o);var r,a=f(e);try{for(a.s();!(r=a.n()).done;){var i=r.value,s=i.key,c=t.get(s);void 0!==c?n[c]={key:s,schema:n[c].schema.concat(i.schema)}:n.push(i)}}catch(u){a.e(u)}finally{a.f()}return n}}]),t}(l(Array))},function(e,n,t){"use strict";var o=t(24),r=t(25),a={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:o.URL||URL};n.analyze=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw new Error("Invalid input: domain must be a string");if(!e)return r.code("DOMAIN_NON_EMPTY_STRING");if(e.length>256)return r.code("DOMAIN_TOO_LONG");if(a.nonAsciiRx.test(e)){if(!1===n.allowUnicode)return r.code("DOMAIN_INVALID_UNICODE_CHARS");e=e.normalize("NFC")}if(a.domainControlRx.test(e))return r.code("DOMAIN_INVALID_CHARS");e=a.punycode(e);var t=n.minDomainSegments||a.minDomainSegments,o=e.split(".");if(o.length<t)return r.code("DOMAIN_SEGMENTS_COUNT");var i=n.tlds;if(i){var s=o[o.length-1].toLowerCase();if(i.deny&&i.deny.has(s)||i.allow&&!i.allow.has(s))return r.code("DOMAIN_FORBIDDEN_TLDS")}for(var c=0;c<o.length;++c){var u=o[c];if(!u.length)return r.code("DOMAIN_EMPTY_SEGMENT");if(u.length>63)return r.code("DOMAIN_LONG_SEGMENT");if(c<o.length-1){if(!a.domainSegmentRx.test(u))return r.code("DOMAIN_INVALID_CHARS")}else if(!a.tldSegmentRx.test(u))return r.code("DOMAIN_INVALID_TLDS_CHARS")}return null},n.isValid=function(e,t){return!n.analyze(e,t)},a.punycode=function(e){try{return new a.URL("http://".concat(e)).host}catch(n){return e}}},function(e,n){},function(e,n,t){"use strict";n.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},n.code=function(e){return{code:e,error:n.codes[e]}}},function(e,n,t){"use strict";var o=t(0),r=t(27),a={generate:function(){var e={},n="!\\$&'\\(\\)\\*\\+,;=",t="\\w-\\.~%\\dA-Fa-f"+n+":@",o="["+t+"]",r="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";e.ipv4address="(?:"+r+"\\.){3}"+r;var a="[\\dA-Fa-f]{1,4}",i="(?:"+a+":"+a+"|"+e.ipv4address+")",s="(?:"+a+":){6}"+i,c="::(?:"+a+":){5}"+i,u="(?:"+a+")?::(?:"+a+":){4}"+i,l="(?:(?:"+a+":){0,1}"+a+")?::(?:"+a+":){3}"+i,d="(?:(?:"+a+":){0,2}"+a+")?::(?:"+a+":){2}"+i,p="(?:(?:"+a+":){0,3}"+a+")?::"+a+":"+i,m="(?:(?:"+a+":){0,4}"+a+")?::"+i;e.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",e.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",e.ipv6address="(?:"+s+"|"+c+"|"+u+"|"+l+"|"+d+"|"+p+"|"+m+"|(?:(?:[\\dA-Fa-f]{1,4}:){0,5}[\\dA-Fa-f]{1,4})?::[\\dA-Fa-f]{1,4}|(?:(?:[\\dA-Fa-f]{1,4}:){0,6}[\\dA-Fa-f]{1,4})?::)",e.ipvFuture="v[\\dA-Fa-f]+\\.[\\w-\\.~"+n+":]+",e.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",e.schemeRegex=new RegExp(e.scheme);var h="[\\w-\\.~%\\dA-Fa-f"+n+":]*",f="(?:\\[(?:"+e.ipv6address+"|"+e.ipvFuture+")\\]|"+e.ipv4address+"|[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=]{1,255})",g="(?:"+h+"@)?"+f+"(?::\\d*)?",v="(?:"+h+"@)?("+f+")(?::\\d*)?",y=o+"+",b="(?:\\/"+o+"*)*",C="\\/(?:"+y+b+")?",w=y+b,S="[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=@]+"+b;return e.hierPart="(?:(?:\\/\\/"+g+b+")|"+C+"|"+w+"|(?:\\/\\/\\/[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*(?:\\/[\\w-\\.~%\\dA-Fa-f!\\$&'\\(\\)\\*\\+,;=:@]*)*))",e.hierPartCapture="(?:(?:\\/\\/"+v+b+")|"+C+"|"+w+")",e.relativeRef="(?:(?:\\/\\/"+g+b+")|"+C+"|"+S+"|)",e.relativeRefCapture="(?:(?:\\/\\/"+v+b+")|"+C+"|"+S+"|)",e.query="["+t+"\\/\\?]*(?=#|$)",e.queryWithSquareBrackets="["+t+"\\[\\]\\/\\?]*(?=#|$)",e.fragment="["+t+"\\/\\?]*",e}};a.rfc3986=a.generate(),n.ip={v4Cidr:a.rfc3986.ipv4Cidr,v6Cidr:a.rfc3986.ipv6Cidr,ipv4:a.rfc3986.ipv4address,ipv6:a.rfc3986.ipv6address,ipvfuture:a.rfc3986.ipvFuture},a.createRegex=function(e){var n=a.rfc3986,t="(?:\\?"+(e.allowQuerySquareBrackets?n.queryWithSquareBrackets:n.query)+")?(?:#"+n.fragment+")?",i=e.domain?n.relativeRefCapture:n.relativeRef;if(e.relativeOnly)return a.wrap(i+t);var s="";if(e.scheme){o(e.scheme instanceof RegExp||"string"==typeof e.scheme||Array.isArray(e.scheme),"scheme must be a RegExp, String, or Array");var c=[].concat(e.scheme);o(c.length>=1,"scheme must have at least 1 scheme specified");for(var u=[],l=0;l<c.length;++l){var d=c[l];o(d instanceof RegExp||"string"==typeof d,"scheme at position "+l+" must be a RegExp or String"),d instanceof RegExp?u.push(d.source.toString()):(o(n.schemeRegex.test(d),"scheme at position "+l+" must be a valid scheme"),u.push(r(d)))}s=u.join("|")}var p="(?:"+(s?"(?:"+s+")":n.scheme)+":"+(e.domain?n.hierPartCapture:n.hierPart)+")",m=e.allowRelative?"(?:"+p+"|"+i+")":p;return a.wrap(m+t,s)},a.wrap=function(e,n){return{raw:e="(?=.)(?!https?:/$)".concat(e),regex:new RegExp("^".concat(e,"$")),scheme:n}},a.uriRegex=a.createRegex({}),n.regex=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.scheme||e.allowRelative||e.relativeOnly||e.allowQuerySquareBrackets||e.domain?a.createRegex(e):a.uriRegex}},function(e,n,t){"use strict";e.exports=function(e){return e.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},function(e,n,t){"use strict";e.exports=function(){try{for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return JSON.stringify.apply(null,n)}catch(n){return"[Cannot display object: "+n.message+"]"}}},function(e){e.exports=JSON.parse('{"version":"17.1.1"}')},function(e,n,t){"use strict";var o={};e.exports=function(e){if(!e)return"";for(var n="",t=0;t<e.length;++t){var r=e.charCodeAt(t);o.isSafe(r)?n+=e[t]:n+=o.escapeHtmlChar(r)}return n},o.escapeHtmlChar=function(e){var n=o.namedHtml[e];if(void 0!==n)return n;if(e>=256)return"&#"+e+";";var t=e.toString(16).padStart(2,"0");return"&#x".concat(t,";")},o.isSafe=function(e){return void 0!==o.safeCharCodes[e]},o.namedHtml={38:"&amp;",60:"&lt;",62:"&gt;",34:"&quot;",160:"&nbsp;",162:"&cent;",163:"&pound;",164:"&curren;",169:"&copy;",174:"&reg;"},o.safeCharCodes=function(){for(var e={},n=32;n<123;++n)(n>=97||n>=65&&n<=90||n>=48&&n<=57||32===n||46===n||44===n||45===n||58===n||95===n)&&(e[n]=null);return e}()},function(e,n,t){"use strict";var o={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*\.?[0-9]*){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};n.Parser=function(){function e(n){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(p(this,e),!r[o.settings]&&r.constants)for(var i in r.constants){var s=r.constants[i];if(null!==s&&!["boolean","number","string"].includes(typeof s))throw new Error("Formula constant ".concat(i," contains invalid ").concat(typeof s," value type"))}this.settings=r[o.settings]?r:Object.assign((a(t={},o.settings,!0),a(t,"constants",{}),a(t,"functions",{}),t),r),this.single=null,this._parts=null,this._parse(n)}return m(e,[{key:"_parse",value:function(e){var t,r=this,a=[],i="",s=0,c=!1,u=function(e){if(s)throw new Error("Formula missing closing parenthesis");var t=a.length?a[a.length-1]:null;if(c||i||e){if(t&&"reference"===t.type&&")"===e)return t.type="function",t.value=r._subFormula(i,t.value),void(i="");if(")"===e){var u=new n.Parser(i,r.settings);a.push({type:"segment",value:u})}else if(c){if("]"===c)return a.push({type:"reference",value:i}),void(i="");a.push({type:"literal",value:i})}else if(o.operatorCharacters.includes(i))t&&"operator"===t.type&&o.operators.includes(t.value+i)?t.value+=i:a.push({type:"operator",value:i});else if(i.match(o.numberRx))a.push({type:"constant",value:parseFloat(i)});else if(void 0!==r.settings.constants[i])a.push({type:"constant",value:r.settings.constants[i]});else{if(!i.match(o.tokenRx))throw new Error("Formula contains invalid token: ".concat(i));a.push({type:"reference",value:i})}i=""}},l=f(e);try{for(l.s();!(t=l.n()).done;){var d=t.value;c?d===c?(u(),c=!1):i+=d:s?"("===d?(i+=d,++s):")"===d?--s?i+=d:u(d):i+=d:d in o.literals?c=o.literals[d]:"("===d?(u(),++s):o.operatorCharacters.includes(d)?(u(),i=d,u()):" "!==d?i+=d:u()}}catch(v){l.e(v)}finally{l.f()}u(),a=a.map((function(e,n){return"operator"!==e.type||"-"!==e.value||n&&"operator"!==a[n-1].type?e:{type:"operator",value:"n"}}));var p,m=!1,h=f(a);try{for(h.s();!(p=h.n()).done;){var g=p.value;if("operator"===g.type){if(o.operatorsPrefix.includes(g.value))continue;if(!m)throw new Error("Formula contains an operator in invalid position");if(!o.operators.includes(g.value))throw new Error("Formula contains an unknown operator ".concat(g.value))}else if(m)throw new Error("Formula missing expected operator");m=!m}}catch(v){h.e(v)}finally{h.f()}if(!m)throw new Error("Formula contains invalid trailing operator");1===a.length&&["reference","literal","constant"].includes(a[0].type)&&(this.single={type:"reference"===a[0].type?"reference":"value",value:a[0].value}),this._parts=a.map((function(e){if("operator"===e.type)return o.operatorsPrefix.includes(e.value)?e:e.value;if("reference"!==e.type)return e.value;if(r.settings.tokenRx&&!r.settings.tokenRx.test(e.value))throw new Error("Formula contains invalid reference ".concat(e.value));return r.settings.reference?r.settings.reference(e.value):o.reference(e.value)}))}},{key:"_subFormula",value:function(e,t){var r=this,a=this.settings.functions[t];if("function"!=typeof a)throw new Error("Formula contains unknown function ".concat(t));var i=[];if(e){for(var s="",c=0,u=!1,l=function(){if(!s)throw new Error("Formula contains function ".concat(t," with invalid arguments ").concat(e));i.push(s),s=""},d=0;d<e.length;++d){var p=e[d];u?(s+=p,p===u&&(u=!1)):p in o.literals&&!c?(s+=p,u=o.literals[p]):","!==p||c?(s+=p,"("===p?++c:")"===p&&--c):l()}l()}return i=i.map((function(e){return new n.Parser(e,r.settings)})),function(e){var n,t=[],o=f(i);try{for(o.s();!(n=o.n()).done;){var r=n.value;t.push(r.evaluate(e))}}catch(s){o.e(s)}finally{o.f()}return a.call.apply(a,[e].concat(t))}}},{key:"evaluate",value:function(e){for(var n=this._parts.slice(),t=n.length-2;t>=0;--t){var r=n[t];if(r&&"operator"===r.type){var a=n[t+1];n.splice(t+1,1);var i=o.evaluate(a,e);n[t]=o.single(r.value,i)}}return o.operatorsOrder.forEach((function(t){for(var r=1;r<n.length-1;)if(t.includes(n[r])){var a=n[r],i=o.evaluate(n[r-1],e),s=o.evaluate(n[r+1],e);n.splice(r,2);var c=o.calculate(a,i,s);n[r-1]=0===c?0:c}else r+=2})),o.evaluate(n[0],e)}}]),e}(),n.Parser.prototype[o.symbol]=!0,o.reference=function(e){return function(n){return n&&void 0!==n[e]?n[e]:null}},o.evaluate=function(e,n){return null===e?null:"function"==typeof e?e(n):e[o.symbol]?e.evaluate(n):e},o.single=function(e,n){if("!"===e)return!n;var t=-n;return 0===t?0:t},o.calculate=function(e,n,t){if("??"===e)return o.exists(n)?n:t;if("string"==typeof n||"string"==typeof t){if("+"===e)return(n=o.exists(n)?n:"")+(o.exists(t)?t:"")}else switch(e){case"^":return Math.pow(n,t);case"*":return n*t;case"/":return n/t;case"%":return n%t;case"+":return n+t;case"-":return n-t}switch(e){case"<":return n<t;case"<=":return n<=t;case">":return n>t;case">=":return n>=t;case"==":return n===t;case"!=":return n!==t;case"&&":return n&&t;case"||":return n||t}return null},o.exists=function(e){return null!=e}},function(e,n){},function(e,n,t){"use strict";var o=t(0),r=t(3),a=t(1),i=t(8),s=t(4),c=t(5),u={};e.exports=r.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:c.toSibling}},args:function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),o=1;o<n;o++)t[o-1]=arguments[o];return 1===t.length&&Array.isArray(t[0])?e.try.apply(e,d(t[0])):e.try.apply(e,t)},validate:function(e,n){var t=n.schema,o=n.error,r=n.state,a=n.prefs;if(t._flags.match){for(var i,s=0,c=0;c<t.$_terms.matches.length;++c){var l=t.$_terms.matches[c],d=r.nest(l.schema,"match.".concat(c));d.snapshot();var p=l.schema.$_validate(e,d,a);p.errors?d.restore():(++s,i=p.value)}return s?"one"===t._flags.match?1===s?{value:i}:{errors:o("alternatives.one")}:s===t.$_terms.matches.length?{value:e}:{errors:o("alternatives.all")}:{errors:o("alternatives.any")}}for(var m=[],h=0;h<t.$_terms.matches.length;++h){var f=t.$_terms.matches[h];if(f.schema){var g=r.nest(f.schema,"match.".concat(h));g.snapshot();var v=f.schema.$_validate(e,g,a);if(!v.errors)return v;g.restore(),m.push({schema:f.schema,reports:v.errors})}else for(var y=f.ref?f.ref.resolve(e,r,a):e,b=f.is?[f]:f.switch,C=0;C<b.length;++C){var w=b[C],S=w.is,_=w.then,E=w.otherwise,x="match.".concat(h).concat(f.switch?"."+C:"");if(S.$_match(y,r.nest(S,"".concat(x,".is")),a)){if(_)return _.$_validate(e,r.nest(_,"".concat(x,".then")),a)}else if(E)return E.$_validate(e,r.nest(E,"".concat(x,".otherwise")),a)}}return u.errors(m,n)},rules:{conditional:{method:function(e,n){o(!this._flags._endedSwitch,"Unreachable condition"),o(!this._flags.match,"Cannot combine match mode",this._flags.match,"with conditional rule"),o(void 0===n.break,"Cannot use break option with alternatives conditional");var t,r=this.clone(),a=i.when(r,e,n),s=a.is?[a]:a.switch,c=f(s);try{for(c.s();!(t=c.n()).done;){var u=t.value;if(u.then&&u.otherwise){r.$_setFlag("_endedSwitch",!0,{clone:!1});break}}}catch(l){c.e(l)}finally{c.f()}return r.$_terms.matches.push(a),r.$_mutateRebuild()}},match:{method:function(e){if(o(["any","one","all"].includes(e),"Invalid alternatives match mode",e),"any"!==e){var n,t=f(this.$_terms.matches);try{for(t.s();!(n=t.n()).done;){var r=n.value;o(r.schema,"Cannot combine match mode",e,"with conditional rules")}}catch(a){t.e(a)}finally{t.f()}}return this.$_setFlag("match",e)}},try:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];o(n.length,"Missing alternative schemas"),a.verifyFlat(n,"try"),o(!this._flags._endedSwitch,"Unreachable condition");for(var r=this.clone(),i=0,s=n;i<s.length;i++){var c=s[i];r.$_terms.matches.push({schema:r.$_compile(c)})}return r.$_mutateRebuild()}}},overrides:{label:function(e){return this.$_super.label(e).$_modify({each:function(n,t){return"is"!==t.path[0]?n.label(e):void 0},ref:!1})}},rebuild:function(e){e.$_modify({each:function(n){a.isSchema(n)&&"array"===n.type&&e.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build:function(e,n){if(n.matches){var t,o=f(n.matches);try{for(o.s();!(t=o.n()).done;){var r=t.value,a=r.schema,i=r.ref,s=r.is,c=r.not,u=r.then,l=r.otherwise;e=a?e.try(a):i?e.conditional(i,{is:s,then:u,not:c,otherwise:l,switch:r.switch}):e.conditional(s,{then:u,otherwise:l})}}catch(d){o.e(d)}finally{o.f()}}return e}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),u.errors=function(e,n){var t=n.error,o=n.state;if(!e.length)return{errors:t("alternatives.any")};if(1===e.length)return{errors:e[0].reports};var r,a=new Set,i=[],c=f(e);try{for(c.s();!(r=c.n()).done;){var l=r.value,p=l.reports,m=l.schema;if(p.length>1)return u.unmatched(e,t);var g=p[0];if(g instanceof s.Report==0)return u.unmatched(e,t);if(g.state.path.length===o.path.length)if("any.only"!==g.code){var v=g.code.split("."),y=h(v,2),b=y[0];"base"===y[1]?a.add(b):i.push({type:m.type,report:g})}else{var C,w=f(g.local.valids);try{for(w.s();!(C=w.n()).done;){var S=C.value;a.add(S)}}catch(_){w.e(_)}finally{w.f()}}else i.push({type:m.type,report:g})}}catch(_){c.e(_)}finally{c.f()}return i.length?1===i.length?{errors:i[0].report}:u.unmatched(e,t):{errors:t("alternatives.types",{types:d(a)})}},u.unmatched=function(e,n){var t,o=[],r=f(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;o.push.apply(o,d(a.reports))}}catch(i){r.e(i)}finally{r.f()}return{errors:n("alternatives.match",s.details(o,{override:!1}))}}},function(e,n,t){"use strict";var o=t(0),r=t(2),i=t(10),s=t(20),c=t(15),u=t(1),l=t(8),h=t(4),g=t(17),v=t(18),y=t(9),b=t(35),C=t(5),w=t(19),S=t(36),_=t(21),E={Base:function(){function e(n){p(this,e),this.type=n,this.$_root=null,this._definition={},this._ids=new b.Ids,this._preferences=null,this._refs=new C.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}return m(e,[{key:"describe",value:function(){return o("function"==typeof v.describe,"Manifest functionality disabled"),v.describe(this)}},{key:"allow",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return u.verifyFlat(n,"allow"),this._values(n,"_valids")}},{key:"alter",value:function(e){o(e&&"object"==typeof e&&!Array.isArray(e),"Invalid targets argument"),o(!this._inRuleset(),"Cannot set alterations inside a ruleset");var n=this.clone();for(var t in n.$_terms.alterations=n.$_terms.alterations||[],e){var r=e[t];o("function"==typeof r,"Alteration adjuster for",t,"must be a function"),n.$_terms.alterations.push({target:t,adjuster:r})}return n.$_temp.ruleset=!1,n}},{key:"cast",value:function(e){return o(!1===e||"string"==typeof e,"Invalid to value"),o(!1===e||this._definition.cast[e],"Type",this.type,"does not support casting to",e),this.$_setFlag("cast",!1===e?void 0:e)}},{key:"default",value:function(e,n){return this._default("default",e,n)}},{key:"description",value:function(e){return o(e&&"string"==typeof e,"Description must be a non-empty string"),this.$_setFlag("description",e)}},{key:"empty",value:function(e){var n=this.clone();return void 0!==e&&(e=n.$_compile(e,{override:!1})),n.$_setFlag("empty",e,{clone:!1})}},{key:"error",value:function(e){return o(e,"Missing error"),o(e instanceof Error||"function"==typeof e,"Must provide a valid Error object or a function"),this.$_setFlag("error",e)}},{key:"example",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o(void 0!==e,"Missing example"),u.assertOptions(n,["override"]),this._inner("examples",e,{single:!0,override:n.override})}},{key:"external",value:function(e,n){return"object"==typeof e&&(o(!n,"Cannot combine options with description"),n=e.description,e=e.method),o("function"==typeof e,"Method must be a function"),o(void 0===n||n&&"string"==typeof n,"Description must be a non-empty string"),this._inner("externals",{method:e,description:n},{single:!0})}},{key:"failover",value:function(e,n){return this._default("failover",e,n)}},{key:"forbidden",value:function(){return this.presence("forbidden")}},{key:"id",value:function(e){return e?(o("string"==typeof e,"id must be a non-empty string"),o(/^[^\.]+$/.test(e),"id cannot contain period character"),this.$_setFlag("id",e)):this.$_setFlag("id",void 0)}},{key:"invalid",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return this._values(n,"_invalids")}},{key:"label",value:function(e){return o(e&&"string"==typeof e,"Label name must be a non-empty string"),this.$_setFlag("label",e)}},{key:"meta",value:function(e){return o(void 0!==e,"Meta cannot be undefined"),this._inner("metas",e,{single:!0})}},{key:"note",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];o(n.length,"Missing notes");for(var r=0,a=n;r<a.length;r++){var i=a[r];o(i&&"string"==typeof i,"Notes must be non-empty strings")}return this._inner("notes",n)}},{key:"only",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return o("boolean"==typeof e,"Invalid mode:",e),this.$_setFlag("only",e)}},{key:"optional",value:function(){return this.presence("optional")}},{key:"prefs",value:function(e){o(e,"Missing preferences"),o(void 0===e.context,"Cannot override context"),o(void 0===e.externals,"Cannot override externals"),o(void 0===e.warnings,"Cannot override warnings"),o(void 0===e.debug,"Cannot override debug"),u.checkPreferences(e);var n=this.clone();return n._preferences=u.preferences(n._preferences,e),n}},{key:"presence",value:function(e){return o(["optional","required","forbidden"].includes(e),"Unknown presence mode",e),this.$_setFlag("presence",e)}},{key:"raw",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.$_setFlag("result",e?"raw":void 0)}},{key:"result",value:function(e){return o(["raw","strip"].includes(e),"Unknown result mode",e),this.$_setFlag("result",e)}},{key:"required",value:function(){return this.presence("required")}},{key:"strict",value:function(e){var n=this.clone(),t=void 0!==e&&!e;return n._preferences=u.preferences(n._preferences,{convert:t}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.$_setFlag("result",e?"strip":void 0)}},{key:"tag",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];o(n.length,"Missing tags");for(var r=0,a=n;r<a.length;r++){var i=a[r];o(i&&"string"==typeof i,"Tags must be non-empty strings")}return this._inner("tags",n)}},{key:"unit",value:function(e){return o(e&&"string"==typeof e,"Unit name must be a non-empty string"),this.$_setFlag("unit",e)}},{key:"valid",value:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];u.verifyFlat(n,"valid");var o=this.allow.apply(this,n);return o.$_setFlag("only",!!o._valids,{clone:!1}),o}},{key:"when",value:function(e,n){var t=this.clone();t.$_terms.whens||(t.$_terms.whens=[]);var r=l.when(t,e,n);if(!["any","link"].includes(t.type)){var a,i=r.is?[r]:r.switch,s=f(i);try{for(s.s();!(a=s.n()).done;){var c=a.value;o(!c.then||"any"===c.then.type||c.then.type===t.type,"Cannot combine",t.type,"with",c.then&&c.then.type),o(!c.otherwise||"any"===c.otherwise.type||c.otherwise.type===t.type,"Cannot combine",t.type,"with",c.otherwise&&c.otherwise.type)}}catch(u){s.e(u)}finally{s.f()}}return t.$_terms.whens.push(r),t.$_mutateRebuild()}},{key:"cache",value:function(e){o(!this._inRuleset(),"Cannot set caching inside a ruleset"),o(!this._cache,"Cannot override schema cache");var n=this.clone();return n._cache=e||c.provider.provision(),n.$_temp.ruleset=!1,n}},{key:"clone",value:function(){var e=Object.create(Object.getPrototypeOf(this));return this._assign(e)}},{key:"concat",value:function(e){o(u.isSchema(e),"Invalid schema object"),o("any"===this.type||"any"===e.type||e.type===this.type,"Cannot merge type",this.type,"with another type:",e.type),o(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),o(!e._inRuleset(),"Cannot concatenate a schema with open ruleset");var n=this.clone();if("any"===this.type&&"any"!==e.type){for(var t=e.clone(),r=0,a=Object.keys(n);r<a.length;r++){var i=a[r];"type"!==i&&(t[i]=n[i])}n=t}n._ids.concat(e._ids),n._refs.register(e,C.toSibling),n._preferences=n._preferences?u.preferences(n._preferences,e._preferences):e._preferences,n._valids=_.merge(n._valids,e._valids,e._invalids),n._invalids=_.merge(n._invalids,e._invalids,e._valids);var c,l=f(e._singleRules.keys());try{var d=function(){var e=c.value;n._singleRules.has(e)&&(n._rules=n._rules.filter((function(n){return n.keep||n.name!==e})),n._singleRules.delete(e))};for(l.s();!(c=l.n()).done;)d()}catch(w){l.e(w)}finally{l.f()}var p,m=f(e._rules);try{for(m.s();!(p=m.n()).done;){var h=p.value;e._definition.rules[h.method].multi||n._singleRules.set(h.name,h),n._rules.push(h)}}catch(w){m.e(w)}finally{m.f()}if(n._flags.empty&&e._flags.empty){n._flags.empty=n._flags.empty.concat(e._flags.empty);var g=Object.assign({},e._flags);delete g.empty,s(n._flags,g)}else if(e._flags.empty){n._flags.empty=e._flags.empty;var v=Object.assign({},e._flags);delete v.empty,s(n._flags,v)}else s(n._flags,e._flags);for(var y in e.$_terms){var b=e.$_terms[y];b?n.$_terms[y]?n.$_terms[y]=n.$_terms[y].concat(b):n.$_terms[y]=b.slice():n.$_terms[y]||(n.$_terms[y]=b)}return this.$_root._tracer&&this.$_root._tracer._combine(n,[this,e]),n.$_mutateRebuild()}},{key:"extend",value:function(e){return o(!e.base,"Cannot extend type with another base"),g.type(this,e)}},{key:"extract",value:function(e){return e=Array.isArray(e)?e:e.split("."),this._ids.reach(e)}},{key:"fork",value:function(e,n){o(!this._inRuleset(),"Cannot fork inside a ruleset");var t,r=this,a=f([].concat(e));try{for(a.s();!(t=a.n()).done;){var i=t.value;i=Array.isArray(i)?i:i.split("."),r=r._ids.fork(i,n,r)}}catch(s){a.e(s)}finally{a.f()}return r.$_temp.ruleset=!1,r}},{key:"rule",value:function(e){var n=this._definition;u.assertOptions(e,Object.keys(n.modifiers)),o(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");var t=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;o(t>=0&&t<this._rules.length,"Cannot apply rules to empty ruleset");for(var a=this.clone(),i=t;i<a._rules.length;++i){var s=a._rules[i],c=r(s);for(var l in e)n.modifiers[l](c,e[l]),o(c.name===s.name,"Cannot change rule name");a._rules[i]=c,a._singleRules.get(c.name)===s&&a._singleRules.set(c.name,c)}return a.$_temp.ruleset=!1,a.$_mutateRebuild()}},{key:"ruleset",get:function(){o(!this._inRuleset(),"Cannot start a new ruleset without closing the previous one");var e=this.clone();return e.$_temp.ruleset=e._rules.length,e}},{key:"$",get:function(){return this.ruleset}},{key:"tailor",value:function(e){e=[].concat(e),o(!this._inRuleset(),"Cannot tailor inside a ruleset");var n=this;if(this.$_terms.alterations){var t,r=f(this.$_terms.alterations);try{for(r.s();!(t=r.n()).done;){var a=t.value,i=a.target,s=a.adjuster;e.includes(i)&&(n=s(n),o(u.isSchema(n),"Alteration adjuster for",i,"failed to return a schema object"))}}catch(c){r.e(c)}finally{r.f()}}return(n=n.$_modify({each:function(n){return n.tailor(e)},ref:!1})).$_temp.ruleset=!1,n.$_mutateRebuild()}},{key:"tracer",value:function(){return w.location?w.location(this):this}},{key:"validate",value:function(e,n){return S.entry(e,this,n)}},{key:"validateAsync",value:function(e,n){return S.entryAsync(e,this,n)}},{key:"$_addRule",value:function(e){for(var n in"string"==typeof e&&(e={name:e}),o(e&&"object"==typeof e,"Invalid options"),o(e.name&&"string"==typeof e.name,"Invalid rule name"),e)o("_"!==n[0],"Cannot set private rule properties");var t=Object.assign({},e);t._resolve=[],t.method=t.method||t.name;var r=this._definition.rules[t.method],a=t.args;o(r,"Unknown rule",t.method);var i=this.clone();if(a)for(var s in o(1===Object.keys(a).length||Object.keys(a).length===this._definition.rules[t.name].args.length,"Invalid rule definition for",this.type,t.name),a){var c=a[s];if(void 0!==c){if(r.argsByName){var l=r.argsByName.get(s);if(l.ref&&u.isResolvable(c))t._resolve.push(s),i.$_mutateRegister(c);else if(l.normalize&&(c=l.normalize(c),a[s]=c),l.assert){var d=u.validateArg(c,s,l);o(!d,d,"or reference")}}a[s]=c}else delete a[s]}return r.multi||(i._ruleRemove(t.name,{clone:!1}),i._singleRules.set(t.name,t)),!1===i.$_temp.ruleset&&(i.$_temp.ruleset=null),r.priority?i._rules.unshift(t):i._rules.push(t),i}},{key:"$_compile",value:function(e,n){return l.schema(this.$_root,e,n)}},{key:"$_createError",value:function(e,n,t,o,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},i=!1!==a.flags?this._flags:{},s=a.messages?y.merge(this._definition.messages,a.messages):this._definition.messages;return new h.Report(e,n,t,i,s,o,r)}},{key:"$_getFlag",value:function(e){return this._flags[e]}},{key:"$_getRule",value:function(e){return this._singleRules.get(e)}},{key:"$_mapLabels",value:function(e){return e=Array.isArray(e)?e:e.split("."),this._ids.labels(e)}},{key:"$_match",value:function(e,n,t,o){(t=Object.assign({},t)).abortEarly=!0,t._externals=!1,n.snapshot();var r=!S.validate(e,this,n,t,o).errors;return n.restore(),r}},{key:"$_modify",value:function(e){return u.assertOptions(e,["each","once","ref","schema"]),b.schema(this,e)||this}},{key:"$_mutateRebuild",value:function(){var e=this;return o(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:function(n,t){var o=t.source,r=t.name,a=(t.path,t.key),i=e._definition[o][r]&&e._definition[o][r].register;!1!==i&&e.$_mutateRegister(n,{family:i,key:a})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}},{key:"$_mutateRegister",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.family,o=n.key;this._refs.register(e,t),this._ids.register(e,{key:o})}},{key:"$_property",value:function(e){return this._definition.properties[e]}},{key:"$_reach",value:function(e){return this._ids.reach(e)}},{key:"$_rootReferences",value:function(){return this._refs.roots()}},{key:"$_setFlag",value:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o("_"===e[0]||!this._inRuleset(),"Cannot set flag inside a ruleset");var r=this._definition.flags[e]||{};if(i(n,r.default)&&(n=void 0),i(n,this._flags[e]))return this;var a=!1!==t.clone?this.clone():this;return void 0!==n?(a._flags[e]=n,a.$_mutateRegister(n)):delete a._flags[e],"_"!==e[0]&&(a.$_temp.ruleset=!1),a}},{key:"$_validate",value:function(e,n,t){return S.validate(e,this,n,t)}},{key:"_assign",value:function(e){for(var n in e.type=this.type,e.$_root=this.$_root,e.$_temp=Object.assign({},this.$_temp),e.$_temp.whens={},e._ids=this._ids.clone(),e._preferences=this._preferences,e._valids=this._valids&&this._valids.clone(),e._invalids=this._invalids&&this._invalids.clone(),e._rules=this._rules.slice(),e._singleRules=r(this._singleRules,{shallow:!0}),e._refs=this._refs.clone(),e._flags=Object.assign({},this._flags),e._cache=null,e.$_terms={},this.$_terms)e.$_terms[n]=this.$_terms[n]?this.$_terms[n].slice():null;for(var t in e.$_super={},this.$_super)e.$_super[t]=this._super[t].bind(e);return e}},{key:"_default",value:function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return u.assertOptions(r,"literal"),o(void 0!==n,"Missing",e,"value"),o("function"==typeof n||!r.literal,"Only function value supports literal option"),"function"==typeof n&&r.literal&&(a(t={},u.symbols.literal,!0),a(t,"literal",n),n=t),this.$_setFlag(e,n)}},{key:"_generate",value:function(e,n,t){if(!this.$_terms.whens)return{schema:this};for(var o=[],r=[],a=0;a<this.$_terms.whens.length;++a){var i=this.$_terms.whens[a];if(i.concat)o.push(i.concat),r.push("".concat(a,".concat"));else{for(var s=i.ref?i.ref.resolve(e,n,t):e,c=i.is?[i]:i.switch,u=r.length,l=0;l<c.length;++l){var p=c[l],m=p.is,h=p.then,f=p.otherwise,g="".concat(a).concat(i.switch?"."+l:"");if(m.$_match(s,n.nest(m,"".concat(g,".is")),t)){if(h){var v=n.localize([].concat(d(n.path),["".concat(g,".then")]),n.ancestors,n.schemas),y=h._generate(e,v,t),b=y.schema,C=y.id;o.push(b),r.push("".concat(g,".then").concat(C?"(".concat(C,")"):""));break}}else if(f){var w=n.localize([].concat(d(n.path),["".concat(g,".otherwise")]),n.ancestors,n.schemas),S=f._generate(e,w,t),_=S.schema,E=S.id;o.push(_),r.push("".concat(g,".otherwise").concat(E?"(".concat(E,")"):""));break}}if(i.break&&r.length>u)break}}var x=r.join(", ");if(n.mainstay.tracer.debug(n,"rule","when",x),!x)return{schema:this};if(!n.mainstay.tracer.active&&this.$_temp.whens[x])return{schema:this.$_temp.whens[x],id:x};var O=this;this._definition.generate&&(O=this._definition.generate(this,e,n,t));for(var A=0,k=o;A<k.length;A++){var T=k[A];O=O.concat(T)}return this.$_root._tracer&&this.$_root._tracer._combine(O,[this].concat(o)),this.$_temp.whens[x]=O,{schema:O,id:x}}},{key:"_inner",value:function(e,n){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o(!this._inRuleset(),"Cannot set ".concat(e," inside a ruleset"));var a=this.clone();return a.$_terms[e]&&!r.override||(a.$_terms[e]=[]),r.single?a.$_terms[e].push(n):(t=a.$_terms[e]).push.apply(t,d(n)),a.$_temp.ruleset=!1,a}},{key:"_inRuleset",value:function(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}},{key:"_ruleRemove",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this._singleRules.has(e))return this;var t=!1!==n.clone?this.clone():this;t._singleRules.delete(e);for(var o=[],r=0;r<t._rules.length;++r){var a=t._rules[r];a.name!==e||a.keep?o.push(a):t._inRuleset()&&r<t.$_temp.ruleset&&--t.$_temp.ruleset}return t._rules=o,t}},{key:"_values",value:function(e,n){u.verifyFlat(e,n.slice(1,-1));var t=this.clone(),r=e[0]===u.symbols.override;if(r&&(e=e.slice(1)),!t[n]&&e.length?t[n]=new _:r&&(t[n]=e.length?new _:null,t.$_mutateRebuild()),!t[n])return t;r&&t[n].override();var a,i=f(e);try{for(i.s();!(a=i.n()).done;){var s=a.value;o(void 0!==s,"Cannot call allow/valid/invalid with undefined"),o(s!==u.symbols.override,"Override must be the first value");var c="_invalids"===n?"_valids":"_invalids";t[c]&&(t[c].remove(s),t[c].length||(o("_valids"===n||!t._flags.only,"Setting invalid value",s,"leaves schema rejecting all values due to previous valid rule"),t[c]=null)),t[n].add(s,t._refs)}}catch(l){i.e(l)}finally{i.f()}return t}}]),e}()};E.Base.prototype[u.symbols.any]={version:u.version,compile:l.compile,root:"$_root"},E.Base.prototype.isImmutable=!0,E.Base.prototype.deny=E.Base.prototype.invalid,E.Base.prototype.disallow=E.Base.prototype.invalid,E.Base.prototype.equal=E.Base.prototype.valid,E.Base.prototype.exist=E.Base.prototype.required,E.Base.prototype.not=E.Base.prototype.invalid,E.Base.prototype.options=E.Base.prototype.prefs,E.Base.prototype.preferences=E.Base.prototype.prefs,e.exports=new E.Base},function(e,n,t){"use strict";function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function r(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var a=t(0),i=t(1),s=t(5),c={};n.Ids=c.Ids=function(){function e(){p(this,e),this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}return m(e,[{key:"clone",value:function(){var e=new c.Ids;return e._byId=new Map(this._byId),e._byKey=new Map(this._byKey),e._schemaChain=this._schemaChain,e}},{key:"concat",value:function(e){e._schemaChain&&(this._schemaChain=!0);var n,t=f(e._byId.entries());try{for(t.s();!(n=t.n()).done;){var o=h(n.value,2),r=o[0],i=o[1];a(!this._byKey.has(r),"Schema id conflicts with existing key:",r),this._byId.set(r,i)}}catch(p){t.e(p)}finally{t.f()}var s,c=f(e._byKey.entries());try{for(c.s();!(s=c.n()).done;){var u=h(s.value,2),l=u[0],d=u[1];a(!this._byId.has(l),"Schema key conflicts with existing id:",l),this._byKey.set(l,d)}}catch(p){c.e(p)}finally{c.f()}}},{key:"fork",value:function(e,n,t){var o=this._collect(e);o.push({schema:t});var r=o.shift(),s={id:r.id,schema:n(r.schema)};a(i.isSchema(s.schema),"adjuster function failed to return a joi schema type");var u,l=f(o);try{for(l.s();!(u=l.n()).done;){var d=u.value;s={id:d.id,schema:c.fork(d.schema,s.id,s.schema)}}}catch(p){l.e(p)}finally{l.f()}return s.schema}},{key:"labels",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e[0],o=this._get(t);if(!o)return[].concat(d(n),d(e)).join(".");var r=e.slice(1);return n=[].concat(d(n),[o.schema._flags.label||t]),r.length?o.schema._ids.labels(r,n):n.join(".")}},{key:"reach",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=e[0],o=this._get(t);a(o,"Schema does not contain path",[].concat(d(n),d(e)).join("."));var r=e.slice(1);return r.length?o.schema._ids.reach(r,[].concat(d(n),[t])):o.schema}},{key:"register",value:function(e){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).key;if(e&&i.isSchema(e)){(e.$_property("schemaChain")||e._ids._schemaChain)&&(this._schemaChain=!0);var t=e._flags.id;if(t){var o=this._byId.get(t);a(!o||o.schema===e,"Cannot add different schemas with the same id:",t),a(!this._byKey.has(t),"Schema id conflicts with existing key:",t),this._byId.set(t,{schema:e,id:t})}n&&(a(!this._byKey.has(n),"Schema already contains key:",n),a(!this._byId.has(n),"Schema key conflicts with existing id:",n),this._byKey.set(n,{schema:e,id:n}))}}},{key:"reset",value:function(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}},{key:"_collect",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=e[0],r=this._get(o);a(r,"Schema does not contain path",[].concat(d(n),d(e)).join(".")),t=[r].concat(d(t));var i=e.slice(1);return i.length?r.schema._ids._collect(i,[].concat(d(n),[o]),t):t}},{key:"_get",value:function(e){return this._byId.get(e)||this._byKey.get(e)}}]),e}(),c.fork=function(e,t,o){var r=n.schema(e,{each:function(e,n){var r=n.key;if(t===(e._flags.id||r))return o},ref:!1});return r?r.$_mutateRebuild():e},n.schema=function(e,n){var t;for(var o in e._flags)if("_"!==o[0]){var r=c.scan(e._flags[o],{source:"flags",name:o},n);void 0!==r&&((t=t||e.clone())._flags[o]=r)}for(var a=0;a<e._rules.length;++a){var i=e._rules[a],s=c.scan(i.args,{source:"rules",name:i.name},n);if(void 0!==s){t=t||e.clone();var u=Object.assign({},i);u.args=s,t._rules[a]=u,t._singleRules.get(i.name)===i&&t._singleRules.set(i.name,u)}}for(var l in e.$_terms)if("_"!==l[0]){var d=c.scan(e.$_terms[l],{source:"terms",name:l},n);void 0!==d&&((t=t||e.clone()).$_terms[l]=d)}return t},c.scan=function(e,n,t,a,u){var l=a||[];if(null!==e&&"object"==typeof e){var p;if(Array.isArray(e)){for(var m=0;m<e.length;++m){var h="terms"===n.source&&"keys"===n.name&&e[m].key,f=c.scan(e[m],n,t,[m].concat(d(l)),h);void 0!==f&&((p=p||e.slice())[m]=f)}return p}if(!1!==t.schema&&i.isSchema(e)||!1!==t.ref&&s.isRef(e)){var g=t.each(e,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){r(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({},n,{path:l,key:u}));if(g===e)return;return g}for(var v in e)if("_"!==v[0]){var y=c.scan(e[v],n,t,[v].concat(d(l)),u);void 0!==y&&((p=p||Object.assign({},e))[v]=y)}return p}}},function(e,n,t){"use strict";var a=t(0),i=t(2),s=t(37),c=t(6),u=t(1),l=t(4),p=t(38),m={result:Symbol("result")};n.entry=function(e,n,t){var o=u.defaults;t&&(a(void 0===t.warnings,"Cannot override warnings preference in synchronous validation"),o=u.preferences(u.defaults,t));var r=m.entry(e,n,o);a(!r.mainstay.externals.length,"Schema with external rules must use validateAsync()");var i={value:r.value};return r.error&&(i.error=r.error),r.mainstay.warnings.length&&(i.warning=l.details(r.mainstay.warnings)),r.mainstay.debug&&(i.debug=r.mainstay.debug),i},n.entryAsync=function(){var e=r(o.mark((function e(n,t,r){var a,i,s,d,p,h,g,v,y,b,C,w,S,_,E;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=u.defaults,r&&(a=u.preferences(u.defaults,r)),i=m.entry(n,t,a),s=i.mainstay,!i.error){e.next=5;break}throw s.debug&&(i.error.debug=s.debug),i.error;case 5:if(!s.externals.length){e.next=37;break}d=i.value,p=f(s.externals),e.prev=8,p.s();case 10:if((h=p.n()).done){e.next=28;break}return g=h.value,v=g.method,y=g.path,b=g.label,C=void 0,w=void 0,S=d,y.length&&(C=y[y.length-1],w=c(d,y.slice(0,-1)),S=w[C]),e.prev=14,e.next=17,v(S);case 17:if(void 0!==(_=e.sent)&&_!==S){e.next=20;break}return e.abrupt("continue",26);case 20:w?w[C]=_:d=_,e.next=26;break;case 23:throw e.prev=23,e.t0=e.catch(14),e.t0.message+=" (".concat(b,")"),e.t0;case 26:e.next=10;break;case 28:e.next=33;break;case 30:e.prev=30,e.t1=e.catch(8),p.e(e.t1);case 33:return e.prev=33,p.f(),e.finish(33);case 36:i.value=d;case 37:if(a.warnings||a.debug){e.next=39;break}return e.abrupt("return",i.value);case 39:return E={value:i.value},e.abrupt("return",(s.warnings.length&&(E.warning=l.details(s.warnings)),s.debug&&(E.debug=s.debug),E));case 41:case"end":return e.stop()}}),e,null,[[8,30,33,36],[14,23]])})));return function(n,t,o){return e.apply(this,arguments)}}(),m.entry=function(e,t,o){var r=m.tracer(t,o),a=r.tracer,i=r.cleanup,s={externals:[],warnings:[],tracer:a,debug:o.debug?[]:null,links:t._ids._schemaChain?new Map:null},c=t._ids._schemaChain?[{schema:t}]:null,u=new p([],[],{mainstay:s,schemas:c}),d=n.validate(e,t,u,o);i&&t.$_root.untrace();var h=l.process(d.errors,e,o);return{value:d.value,error:h,mainstay:s}},m.tracer=function(e,n){return e.$_root._tracer?{tracer:e.$_root._tracer._register(e)}:n.debug?(a(e.$_root.trace,"Debug mode not supported"),{tracer:e.$_root.trace()._register(e),cleanup:!0}):{tracer:m.ignore}},n.validate=function(e,n,t,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(n.$_terms.whens&&(n=n._generate(e,t,o).schema),n._preferences&&(o=m.prefs(n,o)),n._cache&&o.cache){var a=n._cache.get(e);if(t.mainstay.tracer.debug(t,"validate","cached",!!a),a)return a}var i=function(r,a,i){return n.$_createError(r,e,a,i||t,o)},s={original:e,prefs:o,schema:n,state:t,error:i,warn:function(e,n,o){return t.mainstay.warnings.push(i(e,n,o))},message:function(r,a){return n.$_createError("custom",e,a,t,o,{messages:r})}};t.mainstay.tracer.entry(n,t);var c=n._definition;if(c.prepare&&void 0!==e&&o.convert){var l=c.prepare(e,s);if(l){if(t.mainstay.tracer.value(t,"prepare",e,l.value),l.errors)return m.finalize(l.value,[].concat(l.errors),s);e=l.value}}if(c.coerce&&void 0!==e&&o.convert&&(!c.coerce.from||c.coerce.from.includes(typeof e))){var p=c.coerce.method(e,s);if(p){if(t.mainstay.tracer.value(t,"coerced",e,p.value),p.errors)return m.finalize(p.value,[].concat(p.errors),s);e=p.value}}var h=n._flags.empty;h&&h.$_match(m.trim(e,n),t.nest(h),u.defaults)&&(t.mainstay.tracer.value(t,"empty",e,void 0),e=void 0);var f=r.presence||n._flags.presence||(n._flags._endedSwitch?"ignore":o.presence);if(void 0===e){if("forbidden"===f)return m.finalize(e,null,s);if("required"===f)return m.finalize(e,[n.$_createError("any.required",e,null,t,o)],s);if("optional"===f){if(n._flags.default!==u.symbols.deepDefault)return m.finalize(e,null,s);t.mainstay.tracer.value(t,"default",e,{}),e={}}}else if("forbidden"===f)return m.finalize(e,[n.$_createError("any.unknown",e,null,t,o)],s);var g=[];if(n._valids){var v=n._valids.get(e,t,o,n._flags.insensitive);if(v)return o.convert&&(t.mainstay.tracer.value(t,"valids",e,v.value),e=v.value),t.mainstay.tracer.filter(n,t,"valid",v),m.finalize(e,null,s);if(n._flags.only){var y=n.$_createError("any.only",e,{valids:n._valids.values({display:!0})},t,o);if(o.abortEarly)return m.finalize(e,[y],s);g.push(y)}}if(n._invalids){var b=n._invalids.get(e,t,o,n._flags.insensitive);if(b){t.mainstay.tracer.filter(n,t,"invalid",b);var C=n.$_createError("any.invalid",e,{invalids:n._invalids.values({display:!0})},t,o);if(o.abortEarly)return m.finalize(e,[C],s);g.push(C)}}if(c.validate){var w=c.validate(e,s);if(w&&(t.mainstay.tracer.value(t,"base",e,w.value),e=w.value,w.errors)){if(!Array.isArray(w.errors))return g.push(w.errors),m.finalize(e,g,s);if(w.errors.length)return g.push.apply(g,d(w.errors)),m.finalize(e,g,s)}}return n._rules.length?m.rules(e,g,s):m.finalize(e,g,s)},m.rules=function(e,n,t){var o,r=t.schema,a=t.state,i=t.prefs,s=f(r._rules);try{for(s.s();!(o=s.n()).done;){var c=o.value,l=r._definition.rules[c.method];if(l.convert&&i.convert)a.mainstay.tracer.log(r,a,"rule",c.name,"full");else{var p=void 0,h=c.args;if(c._resolve.length){h=Object.assign({},h);var g,v=f(c._resolve);try{for(v.s();!(g=v.n()).done;){var y=g.value,b=l.argsByName.get(y),C=h[y].resolve(e,a,i),w=b.normalize?b.normalize(C):C,S=u.validateArg(w,null,b);if(S){p=r.$_createError("any.ref",C,{arg:y,ref:h[y],reason:S},a,i);break}h[y]=w}}catch(x){v.e(x)}finally{v.f()}}p=p||l.validate(e,t,h,c);var _=m.rule(p,c);if(_.errors){if(a.mainstay.tracer.log(r,a,"rule",c.name,"error"),c.warn){var E;(E=a.mainstay.warnings).push.apply(E,d(_.errors));continue}if(i.abortEarly)return m.finalize(e,_.errors,t);n.push.apply(n,d(_.errors))}else a.mainstay.tracer.log(r,a,"rule",c.name,"pass"),a.mainstay.tracer.value(a,"rule",e,_.value,c.name),e=_.value}}}catch(x){s.e(x)}finally{s.f()}return m.finalize(e,n,t)},m.rule=function(e,n){return e instanceof l.Report?(m.error(e,n),{errors:[e],value:null}):Array.isArray(e)&&(e[0]instanceof l.Report||e[0]instanceof Error)?(e.forEach((function(e){return m.error(e,n)})),{errors:e,value:null}):{errors:null,value:e}},m.error=function(e,n){return n.message&&e._setTemplate(n.message),e},m.finalize=function(e,n,t){n=n||[];var o=t.schema,r=t.state,i=t.prefs;if(n.length){var s=m.default("failover",void 0,n,t);void 0!==s&&(r.mainstay.tracer.value(r,"failover",e,s),e=s,n=[])}if(n.length&&o._flags.error)if("function"==typeof o._flags.error){n=o._flags.error(n),Array.isArray(n)||(n=[n]);var c,u=f(n);try{for(u.s();!(c=u.n()).done;){var d=c.value;a(d instanceof Error||d instanceof l.Report,"error() must return an Error object")}}catch(w){u.e(w)}finally{u.f()}}else n=[o._flags.error];if(void 0===e){var p=m.default("default",e,n,t);r.mainstay.tracer.value(r,"default",e,p),e=p}if(o._flags.cast&&void 0!==e){var h=o._definition.cast[o._flags.cast];if(h.from(e)){var g=h.to(e,t);r.mainstay.tracer.value(r,"cast",e,g,o._flags.cast),e=g}}if(o.$_terms.externals&&i.externals&&!1!==i._externals){var v,y=f(o.$_terms.externals);try{for(y.s();!(v=y.n()).done;){var b=v.value.method;r.mainstay.externals.push({method:b,path:r.path,label:l.label(o._flags,r,i)})}}catch(w){y.e(w)}finally{y.f()}}var C={value:e,errors:n.length?n:null};return o._flags.result&&(C.value="strip"===o._flags.result?void 0:t.original,r.mainstay.tracer.value(r,o._flags.result,e,C.value),r.shadow(e,o._flags.result)),o._cache&&!1!==i.cache&&!o._refs.length&&o._cache.set(t.original,C),C},m.prefs=function(e,n){var t=n===u.defaults;return t&&e._preferences[u.symbols.prefs]?e._preferences[u.symbols.prefs]:(n=u.preferences(n,e._preferences),t&&(e._preferences[u.symbols.prefs]=n),n)},m.default=function(e,n,t,o){var r=o.schema,a=o.state,s=o.prefs,c=r._flags[e];if(s.noDefaults||void 0===c)return n;if(a.mainstay.tracer.log(r,a,"rule",e,"full"),!c)return c;if("function"==typeof c){var l=c.length?[i(a.ancestors[0]),o]:[];try{return c.apply(void 0,l)}catch(n){return void t.push(r.$_createError("any.".concat(e),null,{error:n},a,s))}}return"object"!=typeof c?c:c[u.symbols.literal]?c.literal:u.isResolvable(c)?c.resolve(n,a,s):i(c)},m.trim=function(e,n){if("string"!=typeof e)return e;var t=n.$_getRule("trim");return t&&t.args.enabled?e.trim():e},m.ignore={active:!1,debug:s,entry:s,filter:s,log:s,resolve:s,value:s}},function(e,n,t){"use strict";e.exports=function(){}},function(e,n,t){"use strict";var o=t(2),r=t(6),a=t(1),i={value:Symbol("value")};e.exports=i.State=function(){function e(n,t,o){p(this,e),this.path=n,this.ancestors=t,this.mainstay=o.mainstay,this.schemas=o.schemas,this.debug=null}return m(e,[{key:"localize",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=new i.State(e,n,this);return t&&o.schemas&&(o.schemas=[i.schemas(t)].concat(d(o.schemas))),o}},{key:"nest",value:function(e,n){var t=new i.State(this.path,this.ancestors,this);return t.schemas=t.schemas&&[i.schemas(e)].concat(d(t.schemas)),t.debug=n,t}},{key:"shadow",value:function(e,n){this.mainstay.shadow=this.mainstay.shadow||new i.Shadow,this.mainstay.shadow.set(this.path,e,n)}},{key:"snapshot",value:function(){this.mainstay.shadow&&(this._snapshot=o(this.mainstay.shadow.node(this.path)))}},{key:"restore",value:function(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0)}}]),e}(),i.schemas=function(e){return a.isSchema(e)?{schema:e}:e},i.Shadow=function(){function e(){p(this,e),this._values=null}return m(e,[{key:"set",value:function(e,n,t){if(e.length&&("strip"!==t||"number"!=typeof e[e.length-1])){this._values=this._values||new Map;for(var o=this._values,r=0;r<e.length;++r){var a=e[r],s=o.get(a);s||(s=new Map,o.set(a,s)),o=s}o[i.value]=n}}},{key:"get",value:function(e){var n=this.node(e);if(n)return n[i.value]}},{key:"node",value:function(e){if(this._values)return r(this._values,e,{iterables:!0})}},{key:"override",value:function(e,n){if(this._values){var t=e.slice(0,-1),o=e[e.length-1],a=r(this._values,t,{iterables:!0});n?a.set(o,n):a&&a.delete(o)}}}]),e}()},function(e,n,t){"use strict";var o=t(0),r=t(10),a=t(6),i=t(3),s=t(1),c=t(8),u={};e.exports=i.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method:function(e,n){var t=n.schema,o=n.state,r=n.prefs;if(Array.isArray(e)){var a=t.$_getRule("sort");return a?u.sort(t,e,a.args.options,o,r):void 0}}},validate:function(e,n){var t=n.schema,o=n.error;if(!Array.isArray(e)){if(t._flags.single){var r=[e];return r[s.symbols.arraySingle]=!0,{value:r}}return{errors:o("array.base")}}if(t.$_getRule("items")||t.$_terms.externals)return{value:e.slice()}},rules:{has:{method:function(e){e=this.$_compile(e,{appendPath:!0});var n=this.$_addRule({name:"has",args:{schema:e}});return n.$_mutateRegister(e),n},validate:function(e,n,t){for(var o=n.state,r=n.prefs,a=n.error,i=t.schema,s=[e].concat(d(o.ancestors)),c=0;c<e.length;++c){var u=o.localize([].concat(d(o.path),[c]),s,i);if(i.$_match(e[c],u,r))return e}var l=i._flags.label;return l?a("array.hasKnown",{patternLabel:l}):a("array.hasUnknown",null)},multi:!0},items:{method:function(){for(var e=this,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];s.verifyFlat(t,"items");for(var r=this.$_addRule("items"),a=function(n){var o=s.tryWithPath((function(){return e.$_compile(t[n])}),n,{append:!0});r.$_terms.items.push(o)},i=0;i<t.length;++i)a(i);return r.$_mutateRebuild()},validate:function(e,n){var t=n.schema,o=n.error,r=n.state,a=n.prefs,i=t.$_terms._requireds.slice(),c=t.$_terms.ordered.slice(),l=[].concat(d(t.$_terms._inclusions),d(i)),p=!e[s.symbols.arraySingle];delete e[s.symbols.arraySingle];for(var m=[],h=e.length,g=0;g<h;++g){var v=e[g],y=!1,b=!1,C=p?g:new Number(g),w=[].concat(d(r.path),[C]);if(t._flags.sparse||void 0!==v){var S,_=[e].concat(d(r.ancestors)),E=f(t.$_terms._exclusions);try{for(E.s();!(S=E.n()).done;){var x=S.value;if(x.$_match(v,r.localize(w,_,x),a,{presence:"ignore"})){if(m.push(o("array.excludes",{pos:g,value:v},r.localize(w))),a.abortEarly)return m;y=!0,c.shift();break}}}catch(B){E.e(B)}finally{E.f()}if(!y){if(t.$_terms.ordered.length){if(c.length){var O=c.shift(),A=O.$_validate(v,r.localize(w,_,O),a);if(A.errors){if(m.push.apply(m,d(A.errors)),a.abortEarly)return m}else if("strip"===O._flags.result)u.fastSplice(e,g),--g,--h;else{if(!t._flags.sparse&&void 0===A.value){if(m.push(o("array.sparse",{key:C,path:w,pos:g,value:void 0},r.localize(w))),a.abortEarly)return m;continue}e[g]=A.value}continue}if(!t.$_terms.items.length){if(m.push(o("array.orderedLength",{pos:g,limit:t.$_terms.ordered.length})),a.abortEarly)return m;break}}for(var k=[],T=i.length,P=0;P<T;++P){var M=r.localize(w,_,i[P]);M.snapshot();var I=i[P].$_validate(v,M,a);if(k[P]=I,!I.errors){if(e[g]=I.value,b=!0,u.fastSplice(i,P),--P,--T,!t._flags.sparse&&void 0===I.value&&(m.push(o("array.sparse",{key:C,path:w,pos:g,value:void 0},r.localize(w))),a.abortEarly))return m;break}M.restore()}if(!b){var R=a.stripUnknown&&!!a.stripUnknown.arrays||!1;T=l.length;var j,N=f(l);try{for(N.s();!(j=N.n()).done;){var L=j.value,F=void 0,U=i.indexOf(L);if(-1!==U)F=k[U];else{var D=r.localize(w,_,L);if(D.snapshot(),!(F=L.$_validate(v,D,a)).errors){"strip"===L._flags.result?(u.fastSplice(e,g),--g,--h):t._flags.sparse||void 0!==F.value?e[g]=F.value:(m.push(o("array.sparse",{key:C,path:w,pos:g,value:void 0},r.localize(w))),y=!0),b=!0;break}D.restore()}if(1===T){if(R){u.fastSplice(e,g),--g,--h,b=!0;break}if(m.push.apply(m,d(F.errors)),a.abortEarly)return m;y=!0;break}}}catch(B){N.e(B)}finally{N.f()}if(!y&&t.$_terms._inclusions.length&&!b){if(R){u.fastSplice(e,g),--g,--h;continue}if(m.push(o("array.includes",{pos:g,value:v},r.localize(w))),a.abortEarly)return m}}}}else{if(m.push(o("array.sparse",{key:C,path:w,pos:g,value:void 0},r.localize(w))),a.abortEarly)return m;c.shift()}}return i.length&&u.fillMissedErrors(t,m,i,e,r,a),c.length&&u.fillOrderedErrors(t,m,c,e,r,a),m.length?m:e},priority:!0,manifest:!1},length:{method:function(e){return this.$_addRule({name:"length",args:{limit:e},operator:"="})},validate:function(e,n,t,o){var r=t.limit,a=o.name,i=o.operator,c=o.args;return s.compare(e.length,r,i)?e:n.error("array."+a,{limit:c.limit,value:e})},args:[{name:"limit",ref:!0,assert:s.limit,message:"must be a positive integer"}]},max:{method:function(e){return this.$_addRule({name:"max",method:"length",args:{limit:e},operator:"<="})}},min:{method:function(e){return this.$_addRule({name:"min",method:"length",args:{limit:e},operator:">="})}},ordered:{method:function(){for(var e=this,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];s.verifyFlat(t,"ordered");for(var r=this.$_addRule("items"),a=function(n){var o=s.tryWithPath((function(){return e.$_compile(t[n])}),n,{append:!0});u.validateSingle(o,r),r.$_mutateRegister(o),r.$_terms.ordered.push(o)},i=0;i<t.length;++i)a(i);return r.$_mutateRebuild()}},single:{method:function(e){var n=void 0===e||!!e;return o(!n||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",n)}},sort:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};s.assertOptions(e,["by","order"]);var n={order:e.order||"ascending"};return e.by&&(n.by=c.ref(e.by,{ancestor:0}),o(!n.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:n}})},validate:function(e,n,t){var o=n.error,r=n.state,a=n.prefs,i=n.schema,s=t.options,c=u.sort(i,e,s,r,a),l=c.value,d=c.errors;if(d)return d;for(var p=0;p<e.length;++p)if(e[p]!==l[p])return o("array.sort",{order:s.order,by:s.by?s.by.key:"value"});return e},convert:!0},sparse:{method:function(e){var n=void 0===e||!!e;return this._flags.sparse===n?this:(n?this.clone():this.$_addRule("items")).$_setFlag("sparse",n,{clone:!1})}},unique:{method:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(!e||"function"==typeof e||"string"==typeof e,"comparator must be a function or a string"),s.assertOptions(n,["ignoreUndefined","separator"]);var t={name:"unique",args:{options:n,comparator:e}};if(e)if("string"==typeof e){var r=s.default(n.separator,".");t.path=r?e.split(r):[e]}else t.comparator=e;return this.$_addRule(t)},validate:function(e,n,t,i){for(var s=n.state,c=n.error,u=(n.schema,t.comparator),l=t.options,p=i.comparator,m=i.path,h={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),object:new Map,function:new Map,custom:new Map},f=p||r,g=l.ignoreUndefined,v=0;v<e.length;++v){var y=m?a(e[v],m):e[v],b=p?h.custom:h[typeof y];if(o(b,"Failed to find unique map container for type",typeof y),b instanceof Map){for(var C=b.entries(),w=void 0;!(w=C.next()).done;)if(f(w.value[0],y)){var S=s.localize([].concat(d(s.path),[v]),[e].concat(d(s.ancestors))),_={pos:v,value:e[v],dupePos:w.value[1],dupeValue:e[w.value[1]]};return m&&(_.path=u),c("array.unique",_,S)}b.set(y,v)}else{if((!g||void 0!==y)&&void 0!==b[y]){var E={pos:v,value:e[v],dupePos:b[y],dupeValue:e[b[y]]};return m&&(E.path=u),c("array.unique",E,s.localize([].concat(d(s.path),[v]),[e].concat(d(s.ancestors))))}b[y]=v}}return e},args:["comparator","options"],multi:!0}},cast:{set:{from:Array.isArray,to:function(e,n){return new Set(e)}}},rebuild:function(e){e.$_terms._inclusions=[],e.$_terms._exclusions=[],e.$_terms._requireds=[];var n,t=f(e.$_terms.items);try{for(t.s();!(n=t.n()).done;){var o=n.value;u.validateSingle(o,e),"required"===o._flags.presence?e.$_terms._requireds.push(o):"forbidden"===o._flags.presence?e.$_terms._exclusions.push(o):e.$_terms._inclusions.push(o)}}catch(s){t.e(s)}finally{t.f()}var r,a=f(e.$_terms.ordered);try{for(a.s();!(r=a.n()).done;){var i=r.value;u.validateSingle(i,e)}}catch(s){a.e(s)}finally{a.f()}},manifest:{build:function(e,n){var t,o;return n.items&&(e=(t=e).items.apply(t,d(n.items))),n.ordered&&(e=(o=e).ordered.apply(o,d(n.ordered))),e}},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":'{{#label}} does not contain at least one required match for type "{#patternLabel}"',"array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),u.fillMissedErrors=function(e,n,t,o,r,a){var i,s=[],c=0,u=f(t);try{for(u.s();!(i=u.n()).done;){var l=i.value._flags.label;l?s.push(l):++c}}catch(d){u.e(d)}finally{u.f()}s.length?c?n.push(e.$_createError("array.includesRequiredBoth",o,{knownMisses:s,unknownMisses:c},r,a)):n.push(e.$_createError("array.includesRequiredKnowns",o,{knownMisses:s},r,a)):n.push(e.$_createError("array.includesRequiredUnknowns",o,{unknownMisses:c},r,a))},u.fillOrderedErrors=function(e,n,t,o,r,a){var i,s=[],c=f(t);try{for(c.s();!(i=c.n()).done;){var l=i.value;"required"===l._flags.presence&&s.push(l)}}catch(d){c.e(d)}finally{c.f()}s.length&&u.fillMissedErrors(e,n,s,o,r,a)},u.fastSplice=function(e,n){for(var t=n;t<e.length;)e[t++]=e[t];--e.length},u.validateSingle=function(e,n){("array"===e.type||e._flags._arrayItems)&&(o(!n._flags.single,"Cannot specify array item with single rule enabled"),n.$_setFlag("_arrayItems",!0,{clone:!1}))},u.sort=function(e,n,t,o,r){var a="ascending"===t.order?1:-1,i=-1*a,s=a,c=function(c,l){var d=u.compare(c,l,i,s);if(null!==d)return d;if(t.by&&(c=t.by.resolve(c,o,r),l=t.by.resolve(l,o,r)),null!==(d=u.compare(c,l,i,s)))return d;var p=typeof c;if(p!==typeof l)throw e.$_createError("array.sort.mismatching",n,null,o,r);if("number"!==p&&"string"!==p)throw e.$_createError("array.sort.unsupported",n,{type:p},o,r);return"number"===p?(c-l)*a:c<l?i:s};try{return{value:n.slice().sort(c)}}catch(e){return{errors:e}}},u.compare=function(e,n,t,o){return e===n?0:void 0===e?1:void 0===n?-1:null===e?o:null===n?t:null}},function(e,n,t){"use strict";var o=t(0),r=t(3),a=t(1),i=t(21),s={isBool:function(e){return"boolean"==typeof e}};e.exports=r.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce:function(e,n){var t=n.schema;if("boolean"!=typeof e){if("string"==typeof e){var o=t._flags.sensitive?e:e.toLowerCase();e="true"===o||"false"!==o&&e}return"boolean"!=typeof e&&(e=t.$_terms.truthy&&t.$_terms.truthy.has(e,null,null,!t._flags.sensitive)||(!t.$_terms.falsy||!t.$_terms.falsy.has(e,null,null,!t._flags.sensitive))&&e),{value:e}}},validate:function(e,n){var t=n.error;if("boolean"!=typeof e)return{value:e,errors:t("boolean.base")}},rules:{truthy:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];a.verifyFlat(n,"truthy");var r=this.clone();r.$_terms.truthy=r.$_terms.truthy||new i;for(var s=0;s<n.length;++s){var c=n[s];o(void 0!==c,"Cannot call truthy with undefined"),r.$_terms.truthy.add(c)}return r}},falsy:{method:function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];a.verifyFlat(n,"falsy");var r=this.clone();r.$_terms.falsy=r.$_terms.falsy||new i;for(var s=0;s<n.length;++s){var c=n[s];o(void 0!==c,"Cannot call falsy with undefined"),r.$_terms.falsy.add(c)}return r}},sensitive:{method:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.$_setFlag("sensitive",e)}}},cast:{number:{from:s.isBool,to:function(e,n){return e?1:0}},string:{from:s.isBool,to:function(e,n){return e?"true":"false"}}},manifest:{build:function(e,n){var t,o;return n.truthy&&(e=(t=e).truthy.apply(t,d(n.truthy))),n.falsy&&(e=(o=e).falsy.apply(o,d(n.falsy))),e}},messages:{"boolean.base":"{{#label}} must be a boolean"}})},function(e,n,t){"use strict";var o=t(0),r=t(3),a=t(1),i=t(7),s={isDate:function(e){return e instanceof Date}};e.exports=r.extend({type:"date",coerce:{from:["number","string"],method:function(e,n){var t=n.schema;return{value:s.parse(e,t._flags.format)||e}}},validate:function(e,n){var t=n.schema,o=n.error,r=n.prefs;if(!(e instanceof Date)||isNaN(e.getTime())){var a=t._flags.format;return r.convert&&a&&"string"==typeof e?{value:e,errors:o("date.format",{format:a})}:{value:e,errors:o("date.base")}}},rules:{compare:{method:!1,validate:function(e,n,t,o){var r=t.date,i=o.name,s=o.operator,c=o.args,u="now"===r?Date.now():r.getTime();return a.compare(e.getTime(),u,s)?e:n.error("date."+i,{limit:c.date,value:e})},args:[{name:"date",ref:!0,normalize:function(e){return"now"===e?e:s.parse(e)},assert:function(e){return null!==e},message:"must have a valid date format"}]},format:{method:function(e){return o(["iso","javascript","unix"].includes(e),"Unknown date format",e),this.$_setFlag("format",e)}},greater:{method:function(e){return this.$_addRule({name:"greater",method:"compare",args:{date:e},operator:">"})}},iso:{method:function(){return this.format("iso")}},less:{method:function(e){return this.$_addRule({name:"less",method:"compare",args:{date:e},operator:"<"})}},max:{method:function(e){return this.$_addRule({name:"max",method:"compare",args:{date:e},operator:"<="})}},min:{method:function(e){return this.$_addRule({name:"min",method:"compare",args:{date:e},operator:">="})}},timestamp:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"javascript";return o(["javascript","unix"].includes(e),'"type" must be one of "javascript, unix"'),this.format(e)}}},cast:{number:{from:s.isDate,to:function(e,n){return e.getTime()}},string:{from:s.isDate,to:function(e,n){var t=n.prefs;return i.date(e,t)}}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":'{{#label}} must be greater than "{{#limit}}"',"date.less":'{{#label}} must be less than "{{#limit}}"',"date.max":'{{#label}} must be less than or equal to "{{#limit}}"',"date.min":'{{#label}} must be larger than or equal to "{{#limit}}"',"date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),s.parse=function(e,n){if(e instanceof Date)return e;if("string"!=typeof e&&(isNaN(e)||!isFinite(e)))return null;if(/^\s*$/.test(e))return null;if("iso"===n)return a.isIsoDate(e)?s.date(e.toString()):null;var t=e;if("string"==typeof e&&/^[+-]?\d+(\.\d+)?$/.test(e)&&(e=parseFloat(e)),n){if("javascript"===n)return s.date(1*e);if("unix"===n)return s.date(1e3*e);if("string"==typeof t)return null}return s.date(e)},s.date=function(e){var n=new Date(e);return isNaN(n.getTime())?null:n}},function(e,n,t){"use strict";var o=t(0),r=t(22);e.exports=r.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method:function(e){return o(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:e}})},validate:function(e,n,t){var o=t.n;return e.length===o?e:n.error("function.arity",{n:o})}},class:{method:function(){return this.$_addRule("class")},validate:function(e,n){return/^\s*class\s/.test(e.toString())?e:n.error("function.class",{value:e})}},minArity:{method:function(e){return o(Number.isSafeInteger(e)&&e>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:e}})},validate:function(e,n,t){var o=t.n;return e.length>=o?e:n.error("function.minArity",{n:o})}},maxArity:{method:function(e){return o(Number.isSafeInteger(e)&&e>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:e}})},validate:function(e,n,t){var o=t.n;return e.length<=o?e:n.error("function.maxArity",{n:o})}}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},function(e,n,t){"use strict";var o=t(0),r=t(2),a=t(20),i=t(6),s={};e.exports=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(o(e&&"object"==typeof e,"Invalid defaults value: must be an object"),o(!n||!0===n||"object"==typeof n,"Invalid source value: must be true, falsy or an object"),o("object"==typeof t,"Invalid options: must be an object"),!n)return null;if(t.shallow)return s.applyToDefaultsWithShallow(e,n,t);var i=r(e);if(!0===n)return i;var c=void 0!==t.nullOverride&&t.nullOverride;return a(i,n,{nullOverride:c,mergeArrays:!1})},s.applyToDefaultsWithShallow=function(e,n,t){var c=t.shallow;o(Array.isArray(c),"Invalid keys");var u,l=new Map,d=!0===n?null:new Set,p=f(c);try{for(p.s();!(u=p.n()).done;){var m=u.value;m=Array.isArray(m)?m:m.split(".");var h=i(e,m);h&&"object"==typeof h?l.set(h,d&&i(n,m)||h):d&&d.add(m)}}catch(C){p.e(C)}finally{p.f()}var g=r(e,{},l);if(!d)return g;var v,y=f(d);try{for(y.s();!(v=y.n()).done;){var b=v.value;s.reachCopy(g,n,b)}}catch(C){y.e(C)}finally{y.f()}return a(g,n,{mergeArrays:!1,nullOverride:!1})},s.reachCopy=function(e,n,t){var o,r=f(t);try{for(r.s();!(o=r.n()).done;){var a=o.value;if(!(a in n))return;n=n[a]}}catch(l){r.e(l)}finally{r.f()}for(var i=n,s=e,c=0;c<t.length-1;++c){var u=t[c];"object"!=typeof s[u]&&(s[u]={}),s=s[u]}s[t[t.length-1]]=i}},function(e,n,t){"use strict";var o=t(0),r={};n.Sorter=function(){function e(){p(this,e),this._items=[],this.nodes=[]}return m(e,[{key:"add",value:function(e,n){var t=[].concat((n=n||{}).before||[]),r=[].concat(n.after||[]),a=n.group||"?",i=n.sort||0;o(!t.includes(a),"Item cannot come before itself: ".concat(a)),o(!t.includes("?"),"Item cannot come before unassociated items"),o(!r.includes(a),"Item cannot come after itself: ".concat(a)),o(!r.includes("?"),"Item cannot come after unassociated items"),Array.isArray(e)||(e=[e]);var s,c=f(e);try{for(c.s();!(s=c.n()).done;){var u=s.value,l={seq:this._items.length,sort:i,before:t,after:r,group:a,node:u};this._items.push(l)}}catch(p){c.e(p)}finally{c.f()}var d=this._sort();return o(d,"item","?"!==a?"added into group ".concat(a):"","created a dependencies error"),this.nodes}},{key:"merge",value:function(e){Array.isArray(e)||(e=[e]);var n,t=f(e);try{for(t.s();!(n=t.n()).done;){var a=n.value;if(a){var i,s=f(a._items);try{for(s.s();!(i=s.n()).done;){var c=i.value;this._items.push(Object.assign({},c))}}catch(d){s.e(d)}finally{s.f()}}}}catch(d){t.e(d)}finally{t.f()}this._items.sort(r.mergeSort);for(var u=0;u<this._items.length;++u)this._items[u].seq=u;var l=this._sort();return o(l,"merge created a dependencies error"),this.nodes}},{key:"_sort",value:function(){var e,n={},t=Object.create(null),o=Object.create(null),r=f(this._items);try{for(r.s();!(e=r.n()).done;){var a=e.value,i=a.seq,s=a.group;o[s]=o[s]||[],o[s].push(i),n[i]=a.before;var c,u=f(a.after);try{for(u.s();!(c=u.n()).done;){var l=c.value;t[l]=t[l]||[],t[l].push(i)}}catch(V){u.e(V)}finally{u.f()}}}catch(V){r.e(V)}finally{r.f()}for(var p in n){var m=[];for(var h in n[p]){var g=n[p][h];o[g]=o[g]||[],m.push.apply(m,d(o[g]))}n[p]=m}for(var v in t)if(o[v]){var y,b=f(o[v]);try{for(b.s();!(y=b.n()).done;){var C;(C=n[y.value]).push.apply(C,d(t[v]))}}catch(V){b.e(V)}finally{b.f()}}var w={};for(var S in n){var _,E=n[S],x=f(E);try{for(x.s();!(_=x.n()).done;){var O=_.value;w[O]=w[O]||[],w[O].push(S)}}catch(V){x.e(V)}finally{x.f()}}for(var A={},k=[],T=0;T<this._items.length;++T){var P=T;if(w[T]){P=null;for(var M=0;M<this._items.length;++M)if(!0!==A[M]){w[M]||(w[M]=[]);for(var I=w[M].length,R=0,j=0;j<I;++j)A[w[M][j]]&&++R;if(R===I){P=M;break}}}null!==P&&(A[P]=!0,k.push(P))}if(k.length!==this._items.length)return!1;var N,L={},F=f(this._items);try{for(F.s();!(N=F.n()).done;){var U=N.value;L[U.seq]=U}}catch(V){F.e(V)}finally{F.f()}this._items=[],this.nodes=[];for(var D=0,B=k;D<B.length;D++){var z=L[B[D]];this.nodes.push(z.node),this._items.push(z)}return!0}}]),e}(),r.mergeSort=function(e,n){return e.sort===n.sort?0:e.sort<n.sort?-1:1}},function(e,n,t){"use strict";var o=t(0),r=t(3),a=t(1),i=t(8),s=t(4),c={};e.exports=r.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:function(e,n){return e.ref(n)},validate:function(e,n){var t=n.schema,r=n.state,a=n.prefs;o(t.$_terms.link,"Uninitialized link schema");var i=c.generate(t,e,r,a),s=t.$_terms.link[0].ref;return i.$_validate(e,r.nest(i,"link:".concat(s.display,":").concat(i.type)),a)},generate:function(e,n,t,o){return c.generate(e,n,t,o)},rules:{ref:{method:function(e){o(!this.$_terms.link,"Cannot reinitialize schema"),e=i.ref(e),o("value"===e.type||"local"===e.type,"Invalid reference type:",e.type),o("local"===e.type||"root"===e.ancestor||e.ancestor>0,"Link cannot reference itself");var n=this.clone();return n.$_terms.link=[{ref:e}],n}},relative:{method:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.$_setFlag("relative",e)}}},overrides:{concat:function(e){o(this.$_terms.link,"Uninitialized link schema"),o(a.isSchema(e),"Invalid schema object"),o("link"!==e.type,"Cannot merge type link with another link");var n=this.clone();return n.$_terms.whens||(n.$_terms.whens=[]),n.$_terms.whens.push({concat:e}),n.$_mutateRebuild()}},manifest:{build:function(e,n){return o(n.link,"Invalid link description missing link"),e.ref(n.link)}}}),c.generate=function(e,n,t,o){var r=t.mainstay.links.get(e);if(r)return r._generate(n,t,o).schema;var a=e.$_terms.link[0].ref,i=c.perspective(a,t),s=i.perspective,u=i.path;c.assert(s,"which is outside of schema boundaries",a,e,t,o);try{r=u.length?s.$_reach(u):s}catch(n){c.assert(!1,"to non-existing schema",a,e,t,o)}return c.assert("link"!==r.type,"which is another link",a,e,t,o),e._flags.relative||t.mainstay.links.set(e,r),r._generate(n,t,o).schema},c.perspective=function(e,n){if("local"===e.type){var t,o=f(n.schemas);try{for(o.s();!(t=o.n()).done;){var r=t.value,a=r.schema,i=r.key;if((a._flags.id||i)===e.path[0])return{perspective:a,path:e.path.slice(1)};if(a.$_terms.shared){var s,c=f(a.$_terms.shared);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(u._flags.id===e.path[0])return{perspective:u,path:e.path.slice(1)}}}catch(l){c.e(l)}finally{c.f()}}}}catch(l){o.e(l)}finally{o.f()}return{perspective:null,path:null}}return"root"===e.ancestor?{perspective:n.schemas[n.schemas.length-1].schema,path:e.path}:{perspective:n.schemas[e.ancestor]&&n.schemas[e.ancestor].schema,path:e.path}},c.assert=function(e,n,t,r,a,i){e||o(!1,'"'.concat(s.label(r._flags,a,i),'" contains link reference "').concat(t.display,'" ').concat(n))}},function(e,n,t){"use strict";var o=t(0),r=t(3),a=t(1),i={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/};e.exports=r.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method:function(e,n){var t=n.schema,o=n.error,r=e.match(i.numberRx);if(r){e=e.trim();var a={value:parseFloat(e)};if(0===a.value&&(a.value=0),!t._flags.unsafe)if(e.match(/e/i)){if(i.normalizeExponent("".concat(a.value/Math.pow(10,r[1]),"e").concat(r[1]))!==i.normalizeExponent(e))return a.errors=o("number.unsafe"),a}else{var s=a.value.toString();if(s.match(/e/i))return a;if(s!==i.normalizeDecimal(e))return a.errors=o("number.unsafe"),a}return a}}},validate:function(e,n){var t=n.schema,o=n.error,r=n.prefs;if(e===1/0||e===-1/0)return{value:e,errors:o("number.infinity")};if(!a.isNumber(e))return{value:e,errors:o("number.base")};var i={value:e};if(r.convert){var s=t.$_getRule("precision");if(s){var c=Math.pow(10,s.args.limit);i.value=Math.round(i.value*c)/c}}return 0===i.value&&(i.value=0),!t._flags.unsafe&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&(i.errors=o("number.unsafe")),i},rules:{compare:{method:!1,validate:function(e,n,t,o){var r=t.limit,i=o.name,s=o.operator,c=o.args;return a.compare(e,r,s)?e:n.error("number."+i,{limit:c.limit,value:e})},args:[{name:"limit",ref:!0,assert:a.isNumber,message:"must be a number"}]},greater:{method:function(e){return this.$_addRule({name:"greater",method:"compare",args:{limit:e},operator:">"})}},integer:{method:function(){return this.$_addRule("integer")},validate:function(e,n){return Math.trunc(e)-e==0?e:n.error("number.integer")}},less:{method:function(e){return this.$_addRule({name:"less",method:"compare",args:{limit:e},operator:"<"})}},max:{method:function(e){return this.$_addRule({name:"max",method:"compare",args:{limit:e},operator:"<="})}},min:{method:function(e){return this.$_addRule({name:"min",method:"compare",args:{limit:e},operator:">="})}},multiple:{method:function(e){return this.$_addRule({name:"multiple",args:{base:e}})},validate:function(e,n,t,o){return e%t.base==0?e:n.error("number.multiple",{multiple:o.args.base,value:e})},args:[{name:"base",ref:!0,assert:function(e){return"number"==typeof e&&isFinite(e)&&e>0},message:"must be a positive number"}],multi:!0},negative:{method:function(){return this.sign("negative")}},port:{method:function(){return this.$_addRule("port")},validate:function(e,n){return Number.isSafeInteger(e)&&e>=0&&e<=65535?e:n.error("number.port")}},positive:{method:function(){return this.sign("positive")}},precision:{method:function(e){return o(Number.isSafeInteger(e),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:e}})},validate:function(e,n,t){var o=t.limit,r=e.toString().match(i.precisionRx);return Math.max((r[1]?r[1].length:0)-(r[2]?parseInt(r[2],10):0),0)<=o?e:n.error("number.precision",{limit:o,value:e})},convert:!0},sign:{method:function(e){return o(["negative","positive"].includes(e),"Invalid sign",e),this.$_addRule({name:"sign",args:{sign:e}})},validate:function(e,n,t){var o=t.sign;return"negative"===o&&e<0||"positive"===o&&e>0?e:n.error("number.".concat(o))}},unsafe:{method:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return o("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("unsafe",e)}}},cast:{string:{from:function(e){return"number"==typeof e},to:function(e,n){return e.toString()}}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be larger than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),i.normalizeExponent=function(e){return e.replace(/E/,"e").replace(/\.(\d*[1-9])?0+e/,".$1e").replace(/\.e/,"e").replace(/e\+/,"e").replace(/^\+/,"").replace(/^(-?)0+([1-9])/,"$1$2")},i.normalizeDecimal=function(e){return(e=e.replace(/^\+/,"").replace(/\.0+$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([1-9])/,"$1$2")).includes(".")&&e.endsWith("0")&&(e=e.replace(/0+$/,"")),"-0"===e?"0":e}},function(e,n,t){"use strict";var o=t(22);e.exports=o.extend({type:"object",cast:{map:{from:function(e){return e&&"object"==typeof e},to:function(e,n){return new Map(Object.entries(e))}}}})},function(e,n,t){"use strict";function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}function r(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?o(Object(t),!0).forEach((function(n){a(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var i=t(0),s=t(23),c=t(49),u=t(50),l=t(27),d=t(51),p=t(26),m=t(3),h=t(1),g={tlds:d instanceof Set&&{tlds:{allow:d,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:/^[a-f0-9]+$/i,ipRegex:u.regex().regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5"},cidrPresences:["required","optional","forbidden"],normalizationForms:["NFC","NFD","NFKC","NFKD"]};e.exports=m.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method:function(e,n){var t=n.schema,o=n.state,r=n.prefs,a=t.$_getRule("normalize");a&&(e=e.normalize(a.args.form));var i=t.$_getRule("case");i&&(e="upper"===i.args.direction?e.toLocaleUpperCase():e.toLocaleLowerCase());var s=t.$_getRule("trim");if(s&&s.args.enabled&&(e=e.trim()),t.$_terms.replacements){var c,u=f(t.$_terms.replacements);try{for(u.s();!(c=u.n()).done;){var l=c.value;e=e.replace(l.pattern,l.replacement)}}catch(y){u.e(y)}finally{u.f()}}var d=t.$_getRule("hex");if(d&&d.args.options.byteAligned&&e.length%2!=0&&(e="0".concat(e)),t.$_getRule("isoDate")){var p=g.isoDate(e);p&&(e=p)}if(t._flags.truncate){var m=t.$_getRule("max");if(m){var v=m.args.limit;if(h.isResolvable(v)&&(v=v.resolve(e,o,r),!h.limit(v)))return{value:e,errors:t.$_createError("any.ref",v,{ref:m.args.limit,arg:"limit",reason:"must be a positive integer"},o,r)};e=e.slice(0,v)}}return{value:e}}},validate:function(e,n){var t=n.error;return"string"!=typeof e?{value:e,errors:t("string.base")}:""===e?{value:e,errors:t("string.empty")}:void 0},rules:{alphanum:{method:function(){return this.$_addRule("alphanum")},validate:function(e,n){return/^[a-zA-Z0-9]+$/.test(e)?e:n.error("string.alphanum")}},base64:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h.assertOptions(e,["paddingRequired","urlSafe"]),e=r({urlSafe:!1,paddingRequired:!0},e),i("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),i("boolean"==typeof e.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:e}})},validate:function(e,n,t){var o=t.options;return g.base64Regex[o.paddingRequired][o.urlSafe].test(e)?e:n.error("string.base64")}},case:{method:function(e){return i(["lower","upper"].includes(e),"Invalid case:",e),this.$_addRule({name:"case",args:{direction:e}})},validate:function(e,n,t){var o=t.direction;return"lower"===o&&e===e.toLocaleLowerCase()||"upper"===o&&e===e.toLocaleUpperCase()?e:n.error("string.".concat(o,"case"))},convert:!0},creditCard:{method:function(){return this.$_addRule("creditCard")},validate:function(e,n){for(var t=e.length,o=0,r=1;t--;){var a=e.charAt(t)*r;o+=a-9*(a>9),r^=3}return o>0&&o%10==0?e:n.error("string.creditCard")}},dataUri:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h.assertOptions(e,["paddingRequired"]),e=r({paddingRequired:!0},e),i("boolean"==typeof e.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:e}})},validate:function(e,n,t){var o=t.options,r=e.match(g.dataUriRegex);if(r){if(!r[2])return e;if("base64"!==r[2])return e;if(g.base64Regex[o.paddingRequired].false.test(r[3]))return e}return n.error("string.dataUri")}},domain:{method:function(e){e&&h.assertOptions(e,["allowUnicode","minDomainSegments","tlds"]);var n=g.addressOptions(e);return this.$_addRule({name:"domain",args:{options:e},address:n})},validate:function(e,n,t,o){var r=o.address;return s.isValid(e,r)?e:n.error("string.domain")}},email:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.assertOptions(e,["allowUnicode","ignoreLength","minDomainSegments","multiple","separator","tlds"]),i(void 0===e.multiple||"boolean"==typeof e.multiple,"multiple option must be an boolean");var n=g.addressOptions(e),t=new RegExp("\\s*[".concat(e.separator?l(e.separator):",","]\\s*"));return this.$_addRule({name:"email",args:{options:e},regex:t,address:n})},validate:function(e,n,t,o){var r,a=t.options,i=o.regex,s=o.address,u=a.multiple?e.split(i):[e],l=[],d=f(u);try{for(d.s();!(r=d.n()).done;){var p=r.value;c.isValid(p,s)||l.push(p)}}catch(m){d.e(m)}finally{d.f()}return l.length?n.error("string.email",{value:e,invalids:l}):e}},guid:{alias:"uuid",method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.assertOptions(e,["version"]);var n="";if(e.version){var t=[].concat(e.version);i(t.length>=1,"version must have at least 1 valid version specified");for(var o=new Set,r=0;r<t.length;++r){var a=t[r];i("string"==typeof a,"version at position "+r+" must be a string");var s=g.guidVersions[a.toLowerCase()];i(s,"version at position "+r+" must be one of "+Object.keys(g.guidVersions).join(", ")),i(!o.has(s),"version at position "+r+" must not be a duplicate"),n+=s,o.add(s)}}var c=new RegExp("^([\\[{\\(]?)[0-9A-F]{8}([:-]?)[0-9A-F]{4}\\2?[".concat(n||"0-9A-F","][0-9A-F]{3}\\2?[").concat(n?"89AB":"0-9A-F","][0-9A-F]{3}\\2?[0-9A-F]{12}([\\]}\\)]?)$"),"i");return this.$_addRule({name:"guid",args:{options:e},regex:c})},validate:function(e,n,t,o){var r=o.regex.exec(e);return r?g.guidBrackets[r[1]]!==r[r.length-1]?n.error("string.guid"):e:n.error("string.guid")}},hex:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return h.assertOptions(e,["byteAligned"]),e=r({byteAligned:!1},e),i("boolean"==typeof e.byteAligned,"byteAligned must be boolean"),this.$_addRule({name:"hex",args:{options:e}})},validate:function(e,n,t){var o=t.options;return g.hexRegex.test(e)?o.byteAligned&&e.length%2!=0?n.error("string.hexAlign"):e:n.error("string.hex")}},hostname:{method:function(){return this.$_addRule("hostname")},validate:function(e,n){return s.isValid(e,{minDomainSegments:1})||g.ipRegex.test(e)?e:n.error("string.hostname")}},insensitive:{method:function(){return this.$_setFlag("insensitive",!0)}},ip:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.assertOptions(e,["cidr","version"]);var n=u.regex(e),t=n.cidr,o=n.versions,r=n.regex,a=e.version?o:void 0;return this.$_addRule({name:"ip",args:{options:{cidr:t,version:a}},regex:r})},validate:function(e,n,t,o){var r=t.options;return o.regex.test(e)?e:r.version?n.error("string.ipVersion",{value:e,cidr:r.cidr,version:r.version}):n.error("string.ip",{value:e,cidr:r.cidr})}},isoDate:{method:function(){return this.$_addRule("isoDate")},validate:function(e,n){var t=n.error;return g.isoDate(e)?e:t("string.isoDate")}},isoDuration:{method:function(){return this.$_addRule("isoDuration")},validate:function(e,n){return g.isoDurationRegex.test(e)?e:n.error("string.isoDuration")}},length:{method:function(e,n){return g.length(this,"length",e,"=",n)},validate:function(e,n,t,o){var r=t.limit,a=t.encoding,i=o.name,s=o.operator,c=o.args,u=!a&&e.length;return h.compare(u,r,s)?e:n.error("string."+i,{limit:c.limit,value:e,encoding:a})},args:[{name:"limit",ref:!0,assert:h.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method:function(){return this.case("lower")}},max:{method:function(e,n){return g.length(this,"max",e,"<=",n)},args:["limit","encoding"]},min:{method:function(e,n){return g.length(this,"min",e,">=",n)},args:["limit","encoding"]},normalize:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"NFC";return i(g.normalizationForms.includes(e),"normalization form must be one of "+g.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:e}})},validate:function(e,n,t){var o=n.error,r=t.form;return e===e.normalize(r)?e:o("string.normalize",{value:e,form:r})},convert:!0},pattern:{alias:"regex",method:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(e instanceof RegExp,"regex must be a RegExp"),i(!e.flags.includes("g")&&!e.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof n&&(n={name:n}),h.assertOptions(n,["invert","name"]);var t=["string.pattern",n.invert?".invert":"",n.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:e,options:n},errorCode:t})},validate:function(e,n,t,o){var r=t.regex,a=t.options,i=o.errorCode;return r.test(e)^a.invert?e:n.error(i,{name:a.name,regex:r,value:e})},args:["regex","options"],multi:!0},replace:{method:function(e,n){"string"==typeof e&&(e=new RegExp(l(e),"g")),i(e instanceof RegExp,"pattern must be a RegExp"),i("string"==typeof n,"replacement must be a String");var t=this.clone();return t.$_terms.replacements||(t.$_terms.replacements=[]),t.$_terms.replacements.push({pattern:e,replacement:n}),t}},token:{method:function(){return this.$_addRule("token")},validate:function(e,n){return/^\w+$/.test(e)?e:n.error("string.token")}},trim:{method:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return i("boolean"==typeof e,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:e}})},validate:function(e,n,t){return t.enabled&&e!==e.trim()?n.error("string.trim"):e},convert:!0},truncate:{method:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return i("boolean"==typeof e,"enabled must be a boolean"),this.$_setFlag("truncate",e)}},uppercase:{method:function(){return this.case("upper")}},uri:{method:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};h.assertOptions(e,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),e.domain&&h.assertOptions(e.domain,["allowUnicode","minDomainSegments","tlds"]);var n=p.regex(e),t=n.regex,o=n.scheme,r=e.domain?g.addressOptions(e.domain):null;return this.$_addRule({name:"uri",args:{options:e},regex:t,domain:r,scheme:o})},validate:function(e,n,t,o){var r=t.options,a=o.regex,i=o.domain,c=o.scheme;if(["http:/","https:/"].includes(e))return n.error("string.uri");var u=a.exec(e);if(u){if(i){var l=u[1]||u[2];if(!s.isValid(l,i))return n.error("string.domain",{value:l})}return e}return r.relativeOnly?n.error("string.uriRelativeOnly"):r.scheme?n.error("string.uriCustomScheme",{scheme:c,value:e}):n.error("string.uri")}}},manifest:{build:function(e,n){if(n.replacements){var t,o=f(n.replacements);try{for(o.s();!(t=o.n()).done;){var r=t.value,a=r.pattern,i=r.replacement;e=e.replace(a,i)}}catch(s){o.e(s)}finally{o.f()}}return e}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":'{{#label}} with value "{[.]}" fails to match the required pattern: {{#regex}}',"string.pattern.name":'{{#label}} with value "{[.]}" fails to match the {{#name}} pattern',"string.pattern.invert.base":'{{#label}} with value "{[.]}" matches the inverted pattern: {{#regex}}',"string.pattern.invert.name":'{{#label}} with value "{[.]}" matches the inverted {{#name}} pattern',"string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),g.addressOptions=function(e){if(!e)return e;if(i(void 0===e.minDomainSegments||Number.isSafeInteger(e.minDomainSegments)&&e.minDomainSegments>0,"minDomainSegments must be a positive integer"),!1===e.tlds)return e;if(!0===e.tlds||void 0===e.tlds)return i(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds);i("object"==typeof e.tlds,"tlds must be true, false, or an object");var n=e.tlds.deny;if(n)return Array.isArray(n)&&(e=Object.assign({},e,{tlds:{deny:new Set(n)}})),i(e.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),i(!e.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),e;var t=e.tlds.allow;return t?!0===t?(i(g.tlds,"Built-in TLD list disabled"),Object.assign({},e,g.tlds)):(Array.isArray(t)&&(e=Object.assign({},e,{tlds:{allow:new Set(t)}})),i(e.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),e):e},g.isoDate=function(e){if(!h.isIsoDate(e))return null;var n=new Date(e);return isNaN(n.getTime())?null:n.toISOString()},g.length=function(e,n,t,o,r){return i(!r||!1,"Invalid encoding:",r),e.$_addRule({name:n,method:"length",args:{limit:t,encoding:r},operator:o})}},function(e,n,t){"use strict";var o=t(24),r=t(23),a=t(25),i={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(o.TextEncoder||TextEncoder)};n.analyze=function(e,n){return i.email(e,n)},n.isValid=function(e,n){return!i.email(e,n)},i.email=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw new Error("Invalid input: email must be a string");if(!e)return a.code("EMPTY_STRING");var t=!i.nonAsciiRx.test(e);if(!t){if(!1===n.allowUnicode)return a.code("FORBIDDEN_UNICODE");e=e.normalize("NFC")}var o=e.split("@");if(2!==o.length)return o.length>2?a.code("MULTIPLE_AT_CHAR"):a.code("MISSING_AT_CHAR");var s=h(o,2),c=s[0],u=s[1];if(!c)return a.code("EMPTY_LOCAL");if(!n.ignoreLength){if(e.length>254)return a.code("ADDRESS_TOO_LONG");if(i.encoder.encode(c).length>64)return a.code("LOCAL_TOO_LONG")}return i.local(c,t)||r.analyze(u,n)},i.local=function(e,n){var t,o=e.split("."),r=f(o);try{for(r.s();!(t=r.n()).done;){var s=t.value;if(!s.length)return a.code("EMPTY_LOCAL_SEGMENT");if(n){if(!i.atextRx.test(s))return a.code("INVALID_LOCAL_CHARS")}else{var c,u=f(s);try{for(u.s();!(c=u.n()).done;){var l=c.value;if(!i.atextRx.test(l)){var d=i.binary(l);if(!i.atomRx.test(d))return a.code("INVALID_LOCAL_CHARS")}}}catch(p){u.e(p)}finally{u.f()}}}}catch(p){r.e(p)}finally{r.f()}},i.binary=function(e){return Array.from(i.encoder.encode(e)).map((function(e){return String.fromCharCode(e)})).join("")},i.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,i.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},function(e,n,t){"use strict";var o=t(0),r=t(26);n.regex=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(void 0===e.cidr||"string"==typeof e.cidr,"options.cidr must be a string");var n=e.cidr?e.cidr.toLowerCase():"optional";o(["required","optional","forbidden"].includes(n),"options.cidr must be one of required, optional, forbidden"),o(void 0===e.version||"string"==typeof e.version||Array.isArray(e.version),"options.version must be a string or an array of string");var t=e.version||["ipv4","ipv6","ipvfuture"];Array.isArray(t)||(t=[t]),o(t.length>=1,"options.version must have at least 1 version specified");for(var a=0;a<t.length;++a)o("string"==typeof t[a],"options.version must only contain strings"),t[a]=t[a].toLowerCase(),o(["ipv4","ipv6","ipvfuture"].includes(t[a]),"options.version contains unknown version "+t[a]+" - must be one of ipv4, ipv6, ipvfuture");var i=(t=Array.from(new Set(t))).map((function(e){if("forbidden"===n)return r.ip[e];var t="\\/".concat("ipv4"===e?r.ip.v4Cidr:r.ip.v6Cidr);return"required"===n?"".concat(r.ip[e]).concat(t):"".concat(r.ip[e],"(?:").concat(t,")?")})),s="(?:".concat(i.join("|"),")"),c=new RegExp("^".concat(s,"$"));return{cidr:n,versions:t,regex:c,raw:s}}},function(e,n){},function(e,n,t){"use strict";var o=t(0),r=t(3),a={};a.Map=function(e){c(t,e);var n=u(t);function t(){return p(this,t),n.apply(this,arguments)}return m(t,[{key:"slice",value:function(){return new a.Map(this)}}]),t}(l(Map)),e.exports=r.extend({type:"symbol",terms:{map:{init:new a.Map}},coerce:{method:function(e,n){var t=n.schema,o=n.error,r=t.$_terms.map.get(e);return r&&(e=r),t._flags.only&&"symbol"!=typeof e?{value:e,errors:o("symbol.map",{map:t.$_terms.map})}:{value:e}}},validate:function(e,n){var t=n.error;if("symbol"!=typeof e)return{value:e,errors:t("symbol.base")}},rules:{map:{method:function(e){e&&!e[Symbol.iterator]&&"object"==typeof e&&(e=Object.entries(e)),o(e&&e[Symbol.iterator],"Iterable must be an iterable or object");var n,t=this.clone(),r=[],a=f(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;o(i&&i[Symbol.iterator],"Entry must be an iterable");var s=h(i,2),c=s[0],u=s[1];o("object"!=typeof c&&"function"!=typeof c&&"symbol"!=typeof c,"Key must not be of type object, function, or Symbol"),o("symbol"==typeof u,"Value must be a Symbol"),t.$_terms.map.set(c,u),r.push(u)}}catch(l){a.e(l)}finally{a.f()}return t.valid.apply(t,r)}}},manifest:{build:function(e,n){return n.map&&(e=e.map(n.map)),e}},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})}])},function(e,n,t){"use strict";function o(e){return(o="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)}var r;"undefined"!==typeof window?r=window:"undefined"===typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),r=void 0):r=self;var a=t(716),i=t(717),s=t(718),c=t(730),u=t(503),l=t(731),d=t(733);function p(){}e.exports=function(e,t){return"function"===typeof t?new n.Request("GET",e).end(t):1===arguments.length?new n.Request("GET",e):new n.Request(e,t)};var m=n=e.exports;n.Request=C,m.getXHR=function(){if(r.XMLHttpRequest&&(!r.location||"file:"!==r.location.protocol||!r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(n){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(o){}throw new Error("Browser-only version of superagent could not find XHR")};var h="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function f(e){if(!u(e))return e;var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&g(n,t,e[t]);return n.join("&")}function g(e,n,t){if(void 0!==t)if(null!==t)if(Array.isArray(t))t.forEach((function(t){g(e,n,t)}));else if(u(t))for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&g(e,"".concat(n,"[").concat(o,"]"),t[o]);else e.push(encodeURI(n)+"="+encodeURIComponent(t));else e.push(encodeURI(n))}function v(e){for(var n,t,o={},r=e.split("&"),a=0,i=r.length;a<i;++a)-1===(t=(n=r[a]).indexOf("="))?o[decodeURIComponent(n)]="":o[decodeURIComponent(n.slice(0,t))]=decodeURIComponent(n.slice(t+1));return o}function y(e){return/[/+]json($|[^-\w])/i.test(e)}function b(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!==this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"===typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var n=this.xhr.status;1223===n&&(n=204),this._setStatusProperties(n),this.headers=function(e){for(var n,t,o,r,a=e.split(/\r?\n/),i={},s=0,c=a.length;s<c;++s)-1!==(n=(t=a[s]).indexOf(":"))&&(o=t.slice(0,n).toLowerCase(),r=h(t.slice(n+1)),i[o]=r);return i}(this.xhr.getAllResponseHeaders()),this.header=this.headers,this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"===this.req.method?null:this._parseBody(this.text?this.text:this.xhr.response)}function C(e,n){var t=this;this._query=this._query||[],this.method=e,this.url=n,this.header={},this._header={},this.on("end",(function(){var e,n=null,o=null;try{o=new b(t)}catch(r){return(n=new Error("Parser is unable to parse the response")).parse=!0,n.original=r,t.xhr?(n.rawResponse="undefined"===typeof t.xhr.responseType?t.xhr.responseText:t.xhr.response,n.status=t.xhr.status?t.xhr.status:null,n.statusCode=n.status):(n.rawResponse=null,n.status=null),t.callback(n)}t.emit("response",o);try{t._isResponseOK(o)||(e=new Error(o.statusText||o.text||"Unsuccessful HTTP response"))}catch(r){e=r}e?(e.original=n,e.response=o,e.status=o.status,t.callback(e,o)):t.callback(null,o)}))}function w(e,n,t){var o=m("DELETE",e);return"function"===typeof n&&(t=n,n=null),n&&o.send(n),t&&o.end(t),o}m.serializeObject=f,m.parseString=v,m.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},m.serialize={"application/x-www-form-urlencoded":s.stringify,"application/json":i},m.parse={"application/x-www-form-urlencoded":v,"application/json":JSON.parse},l(b.prototype),b.prototype._parseBody=function(e){var n=m.parse[this.type];return this.req._parser?this.req._parser(this,e):(!n&&y(this.type)&&(n=m.parse["application/json"]),n&&e&&(e.length>0||e instanceof Object)?n(e):null)},b.prototype.toError=function(){var e=this.req,n=e.method,t=e.url,o="cannot ".concat(n," ").concat(t," (").concat(this.status,")"),r=new Error(o);return r.status=this.status,r.method=n,r.url=t,r},m.Response=b,a(C.prototype),c(C.prototype),C.prototype.type=function(e){return this.set("Content-Type",m.types[e]||e),this},C.prototype.accept=function(e){return this.set("Accept",m.types[e]||e),this},C.prototype.auth=function(e,n,t){1===arguments.length&&(n=""),"object"===o(n)&&null!==n&&(t=n,n=""),t||(t={type:"function"===typeof btoa?"basic":"auto"});var r=function(e){if("function"===typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,n,t,r)},C.prototype.query=function(e){return"string"!==typeof e&&(e=f(e)),e&&this._query.push(e),this},C.prototype.attach=function(e,n,t){if(n){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,n,t||n.name)}return this},C.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},C.prototype.callback=function(e,n){if(this._shouldRetry(e,n))return this._retry();var t=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),t(e,n)},C.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},C.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},C.prototype.ca=C.prototype.agent,C.prototype.buffer=C.prototype.ca,C.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},C.prototype.pipe=C.prototype.write,C.prototype._isHost=function(e){return e&&"object"===o(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},C.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||p,this._finalizeQueryString(),this._end()},C.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},C.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=m.getXHR();var n=this.xhr,t=this._formData||this._data;this._setTimeouts(),n.onreadystatechange=function(){var t=n.readyState;if(t>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===t){var o;try{o=n.status}catch(r){o=0}if(!o){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var o=function(n,t){t.total>0&&(t.percent=t.loaded/t.total*100,100===t.percent&&clearTimeout(e._uploadTimeoutTimer)),t.direction=n,e.emit("progress",t)};if(this.hasListeners("progress"))try{n.addEventListener("progress",o.bind(null,"download")),n.upload&&n.upload.addEventListener("progress",o.bind(null,"upload"))}catch(s){}n.upload&&this._setUploadTimeout();try{this.username&&this.password?n.open(this.method,this.url,!0,this.username,this.password):n.open(this.method,this.url,!0)}catch(c){return this.callback(c)}if(this._withCredentials&&(n.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!==typeof t&&!this._isHost(t)){var r=this._header["content-type"],a=this._serializer||m.serialize[r?r.split(";")[0]:""];!a&&y(r)&&(a=m.serialize["application/json"]),a&&(t=a(t))}for(var i in this.header)null!==this.header[i]&&Object.prototype.hasOwnProperty.call(this.header,i)&&n.setRequestHeader(i,this.header[i]);this._responseType&&(n.responseType=this._responseType),this.emit("request",this),n.send("undefined"===typeof t?null:t)},m.agent=function(){return new d},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){d.prototype[e.toLowerCase()]=function(n,t){var o=new m.Request(e,n);return this._setDefaults(o),t&&o.end(t),o}})),d.prototype.del=d.prototype.delete,m.get=function(e,n,t){var o=m("GET",e);return"function"===typeof n&&(t=n,n=null),n&&o.query(n),t&&o.end(t),o},m.head=function(e,n,t){var o=m("HEAD",e);return"function"===typeof n&&(t=n,n=null),n&&o.query(n),t&&o.end(t),o},m.options=function(e,n,t){var o=m("OPTIONS",e);return"function"===typeof n&&(t=n,n=null),n&&o.send(n),t&&o.end(t),o},m.del=w,m.delete=w,m.patch=function(e,n,t){var o=m("PATCH",e);return"function"===typeof n&&(t=n,n=null),n&&o.send(n),t&&o.end(t),o},m.post=function(e,n,t){var o=m("POST",e);return"function"===typeof n&&(t=n,n=null),n&&o.send(n),t&&o.end(t),o},m.put=function(e,n,t){var o=m("PUT",e);return"function"===typeof n&&(t=n,n=null),n&&o.send(n),t&&o.end(t),o}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var o=t(1),r=t(170),a=t(546),i=t(71);function s(e,n,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"===typeof n?function(o){return o.pipe(s((function(t,o){return Object(a.a)(e(t,o)).pipe(Object(r.a)((function(e,r){return n(t,e,o,r)})))}),t))}:("number"===typeof n&&(t=n),function(n){return n.lift(new c(e,t))})}var c=function(){function e(e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=n}return e.prototype.call=function(e,n){return n.subscribe(new u(e,this.project,this.concurrent))},e}(),u=function(e){function n(n,t,o){void 0===o&&(o=Number.POSITIVE_INFINITY);var r=e.call(this,n)||this;return r.project=t,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return o.__extends(n,e),n.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},n.prototype._tryNext=function(e){var n,t=this.index++;try{n=this.project(e,t)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(n)},n.prototype._innerSub=function(e){var n=new i.a(this),t=this.destination;t.add(n);var o=Object(i.c)(e,n);o!==n&&t.add(o)},n.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},n.prototype.notifyNext=function(e){this.destination.next(e)},n.prototype.notifyComplete=function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},n}(i.b)},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(171),r=t(119),a=t(118);function i(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=e[e.length-1];return Object(o.a)(t)?(e.pop(),Object(a.a)(e,t)):Object(r.a)(e)}},,,,,,,,,,,,,,,,,,function(e,n,t){var o=t(734).default;e.exports=o,e.exports.default=o},function(e,n,t){"use strict";t.d(n,"a",(function(){return p}));var o=t(38),r=t(173),a=t(49),i=t(81);var s=t(118),c=t(64);var u=t(169),l=t(167);function d(e,n){if(null!=e){if(function(e){return e&&"function"===typeof e[i.a]}(e))return function(e,n){return new o.a((function(t){var o=new a.a;return o.add(n.schedule((function(){var r=e[i.a]();o.add(r.subscribe({next:function(e){o.add(n.schedule((function(){return t.next(e)})))},error:function(e){o.add(n.schedule((function(){return t.error(e)})))},complete:function(){o.add(n.schedule((function(){return t.complete()})))}}))}))),o}))}(e,n);if(Object(u.a)(e))return function(e,n){return new o.a((function(t){var o=new a.a;return o.add(n.schedule((function(){return e.then((function(e){o.add(n.schedule((function(){t.next(e),o.add(n.schedule((function(){return t.complete()})))})))}),(function(e){o.add(n.schedule((function(){return t.error(e)})))}))}))),o}))}(e,n);if(Object(l.a)(e))return Object(s.a)(e,n);if(function(e){return e&&"function"===typeof e[c.a]}(e)||"string"===typeof e)return function(e,n){if(!e)throw new Error("Iterable cannot be null");return new o.a((function(t){var o,r=new a.a;return r.add((function(){o&&"function"===typeof o.return&&o.return()})),r.add(n.schedule((function(){o=e[c.a](),r.add(n.schedule((function(){if(!t.closed){var e,n;try{var r=o.next();e=r.value,n=r.done}catch(a){return void t.error(a)}n?t.complete():(t.next(e),this.schedule())}})))}))),r}))}(e,n)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function p(e,n){return n?d(e,n):e instanceof o.a?e:new o.a(Object(r.a)(e))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return i}));var o=t(1),r=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,a)},a=function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()};function i(e){var n,t,a=[];try{for(var i=Object(o.__values)(Object.keys(e).sort()),s=i.next();!s.done;s=i.next()){var c=s.value,u=e[c];if(c=r(c),Array.isArray(u))for(var l=0,d=u.length;l<d;l++)a.push(c+"="+r(u[l]));else{var p=c;(u||"string"===typeof u)&&(p+="="+r(u)),a.push(p)}}}catch(m){n={error:m}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(n)throw n.error}}return a.join("&")}},function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var o=t(527),r=t(546),a=t(38),i=t(763),s=function(e,n){return e===n||"function"===typeof n&&e===n.toString()},c=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return function(e){return e.pipe(Object(i.a)((function(e){var t=e.type,o=n.length;if(1===o)return s(t,n[0]);for(var r=0;r<o;r++)if(s(t,n[r]))return!0;return!1})))}},u=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}();var l=function(e){function n(e){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==typeof n&&"function"!==typeof n?e:n}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.source=e,t}return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(n,e),u(n,null,[{key:"of",value:function(){return new this(o.a.apply(void 0,arguments))}},{key:"from",value:function(e,n){return new this(Object(r.a)(e,n))}}]),u(n,[{key:"lift",value:function(e){var t=new n(this);return t.operator=e,t}},{key:"ofType",value:function(){return c.apply(void 0,arguments)(this)}}]),n}(a.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o="aws-amplify/5.1.6",r={userAgent:o+" js",product:"",navigator:null,isReactNative:!1};if("undefined"!==typeof navigator&&navigator.product)switch(r.product=navigator.product||"",r.navigator=navigator||null,navigator.product){case"ReactNative":r.userAgent=o+" react-native",r.isReactNative=!0;break;default:r.userAgent=o+" js",r.isReactNative=!1}var a=function(e){return""+r.userAgent+(e||"")}},,,,,,,,,,function(e,n,t){"use strict";var o=t(181),r="function"===typeof Symbol&&Symbol.for,a=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,d=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,f=r?Symbol.for("react.lazy"):60116,g="function"===typeof Symbol&&Symbol.iterator;function v(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function C(e,n,t){this.props=e,this.context=n,this.refs=b,this.updater=t||y}function w(){}function S(e,n,t){this.props=e,this.context=n,this.refs=b,this.updater=t||y}C.prototype.isReactComponent={},C.prototype.setState=function(e,n){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,n,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=C.prototype;var _=S.prototype=new w;_.constructor=S,o(_,C.prototype),_.isPureReactComponent=!0;var E={current:null},x=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function A(e,n,t){var o,r={},i=null,s=null;if(null!=n)for(o in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(i=""+n.key),n)x.call(n,o)&&!O.hasOwnProperty(o)&&(r[o]=n[o]);var c=arguments.length-2;if(1===c)r.children=t;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];r.children=u}if(e&&e.defaultProps)for(o in c=e.defaultProps)void 0===r[o]&&(r[o]=c[o]);return{$$typeof:a,type:e,key:i,ref:s,props:r,_owner:E.current}}function k(e){return"object"===typeof e&&null!==e&&e.$$typeof===a}var T=/\/+/g,P=[];function M(e,n,t,o){if(P.length){var r=P.pop();return r.result=e,r.keyPrefix=n,r.func=t,r.context=o,r.count=0,r}return{result:e,keyPrefix:n,func:t,context:o,count:0}}function I(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function R(e,n,t,o){var r=typeof e;"undefined"!==r&&"boolean"!==r||(e=null);var s=!1;if(null===e)s=!0;else switch(r){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case a:case i:s=!0}}if(s)return t(o,e,""===n?"."+N(e,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=n+N(r=e[c],c);s+=R(r,u,t,o)}else if(null===e||"object"!==typeof e?u=null:u="function"===typeof(u=g&&e[g]||e["@@iterator"])?u:null,"function"===typeof u)for(e=u.call(e),c=0;!(r=e.next()).done;)s+=R(r=r.value,u=n+N(r,c++),t,o);else if("object"===r)throw t=""+e,Error(v(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t,""));return s}function j(e,n,t){return null==e?0:R(e,"",n,t)}function N(e,n){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return n[e]}))}(e.key):n.toString(36)}function L(e,n){e.func.call(e.context,n,e.count++)}function F(e,n,t){var o=e.result,r=e.keyPrefix;e=e.func.call(e.context,n,e.count++),Array.isArray(e)?U(e,o,t,(function(e){return e})):null!=e&&(k(e)&&(e=function(e,n){return{$$typeof:a,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||n&&n.key===e.key?"":(""+e.key).replace(T,"$&/")+"/")+t)),o.push(e))}function U(e,n,t,o,r){var a="";null!=t&&(a=(""+t).replace(T,"$&/")+"/"),j(e,F,n=M(n,a,o,r)),I(n)}var D={current:null};function B(){var e=D.current;if(null===e)throw Error(v(321));return e}var z={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:o};n.Children={map:function(e,n,t){if(null==e)return e;var o=[];return U(e,o,null,n,t),o},forEach:function(e,n,t){if(null==e)return e;j(e,L,n=M(null,null,n,t)),I(n)},count:function(e){return j(e,(function(){return null}),null)},toArray:function(e){var n=[];return U(e,n,null,(function(e){return e})),n},only:function(e){if(!k(e))throw Error(v(143));return e}},n.Component=C,n.Fragment=s,n.Profiler=u,n.PureComponent=S,n.StrictMode=c,n.Suspense=m,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,n.cloneElement=function(e,n,t){if(null===e||void 0===e)throw Error(v(267,e));var r=o({},e.props),i=e.key,s=e.ref,c=e._owner;if(null!=n){if(void 0!==n.ref&&(s=n.ref,c=E.current),void 0!==n.key&&(i=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in n)x.call(n,l)&&!O.hasOwnProperty(l)&&(r[l]=void 0===n[l]&&void 0!==u?u[l]:n[l])}var l=arguments.length-2;if(1===l)r.children=t;else if(1<l){u=Array(l);for(var d=0;d<l;d++)u[d]=arguments[d+2];r.children=u}return{$$typeof:a,type:e.type,key:i,ref:s,props:r,_owner:c}},n.createContext=function(e,n){return void 0===n&&(n=null),(e={$$typeof:d,_calculateChangedBits:n,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},n.createElement=A,n.createFactory=function(e){var n=A.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:p,render:e}},n.isValidElement=k,n.lazy=function(e){return{$$typeof:f,_ctor:e,_status:-1,_result:null}},n.memo=function(e,n){return{$$typeof:h,type:e,compare:void 0===n?null:n}},n.useCallback=function(e,n){return B().useCallback(e,n)},n.useContext=function(e,n){return B().useContext(e,n)},n.useDebugValue=function(){},n.useEffect=function(e,n){return B().useEffect(e,n)},n.useImperativeHandle=function(e,n,t){return B().useImperativeHandle(e,n,t)},n.useLayoutEffect=function(e,n){return B().useLayoutEffect(e,n)},n.useMemo=function(e,n){return B().useMemo(e,n)},n.useReducer=function(e,n,t){return B().useReducer(e,n,t)},n.useRef=function(e){return B().useRef(e)},n.useState=function(e){return B().useState(e)},n.version="16.13.1"},function(e,n,t){"use strict";var o=t(0),r=t(181),a=t(561);function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!o)throw Error(i(227));function s(e,n,t,o,r,a,i,s,c){var u=Array.prototype.slice.call(arguments,3);try{n.apply(t,u)}catch(l){this.onError(l)}}var c=!1,u=null,l=!1,d=null,p={onError:function(e){c=!0,u=e}};function m(e,n,t,o,r,a,i,l,d){c=!1,u=null,s.apply(p,arguments)}var h=null,f=null,g=null;function v(e,n,t){var o=e.type||"unknown-event";e.currentTarget=g(t),function(e,n,t,o,r,a,s,p,h){if(m.apply(this,arguments),c){if(!c)throw Error(i(198));var f=u;c=!1,u=null,l||(l=!0,d=f)}}(o,n,void 0,e),e.currentTarget=null}var y=null,b={};function C(){if(y)for(var e in b){var n=b[e],t=y.indexOf(e);if(!(-1<t))throw Error(i(96,e));if(!S[t]){if(!n.extractEvents)throw Error(i(97,e));for(var o in S[t]=n,t=n.eventTypes){var r=void 0,a=t[o],s=n,c=o;if(_.hasOwnProperty(c))throw Error(i(99,c));_[c]=a;var u=a.phasedRegistrationNames;if(u){for(r in u)u.hasOwnProperty(r)&&w(u[r],s,c);r=!0}else a.registrationName?(w(a.registrationName,s,c),r=!0):r=!1;if(!r)throw Error(i(98,o,e))}}}}function w(e,n,t){if(E[e])throw Error(i(100,e));E[e]=n,x[e]=n.eventTypes[t].dependencies}var S=[],_={},E={},x={};function O(e){var n,t=!1;for(n in e)if(e.hasOwnProperty(n)){var o=e[n];if(!b.hasOwnProperty(n)||b[n]!==o){if(b[n])throw Error(i(102,n));b[n]=o,t=!0}}t&&C()}var A=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),k=null,T=null,P=null;function M(e){if(e=f(e)){if("function"!==typeof k)throw Error(i(280));var n=e.stateNode;n&&(n=h(n),k(e.stateNode,e.type,n))}}function I(e){T?P?P.push(e):P=[e]:T=e}function R(){if(T){var e=T,n=P;if(P=T=null,M(e),n)for(e=0;e<n.length;e++)M(n[e])}}function j(e,n){return e(n)}function N(e,n,t,o,r){return e(n,t,o,r)}function L(){}var F=j,U=!1,D=!1;function B(){null===T&&null===P||(L(),R())}function z(e,n,t){if(D)return e(n,t);D=!0;try{return F(e,n,t)}finally{D=!1,B()}}var V=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,G=Object.prototype.hasOwnProperty,H={},q={};function K(e,n,t,o,r,a){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){W[e]=new K(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];W[n]=new K(n,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){W[e]=new K(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){W[e]=new K(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){W[e]=new K(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){W[e]=new K(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){W[e]=new K(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){W[e]=new K(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){W[e]=new K(e,5,!1,e.toLowerCase(),null,!1)}));var $=/[\-:]([a-z])/g;function Y(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var n=e.replace($,Y);W[n]=new K(n,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace($,Y);W[n]=new K(n,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace($,Y);W[n]=new K(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){W[e]=new K(e,1,!1,e.toLowerCase(),null,!1)})),W.xlinkHref=new K("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){W[e]=new K(e,1,!1,e.toLowerCase(),null,!0)}));var Q=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function J(e,n,t,o){var r=W.hasOwnProperty(n)?W[n]:null;(null!==r?0===r.type:!o&&(2<n.length&&("o"===n[0]||"O"===n[0])&&("n"===n[1]||"N"===n[1])))||(function(e,n,t,o){if(null===n||"undefined"===typeof n||function(e,n,t,o){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,o))return!0;if(o)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(n,t,r,o)&&(t=null),o||null===r?function(e){return!!G.call(q,e)||!G.call(H,e)&&(V.test(e)?q[e]=!0:(H[e]=!0,!1))}(n)&&(null===t?e.removeAttribute(n):e.setAttribute(n,""+t)):r.mustUseProperty?e[r.propertyName]=null===t?3!==r.type&&"":t:(n=r.attributeName,o=r.attributeNamespace,null===t?e.removeAttribute(n):(t=3===(r=r.type)||4===r&&!0===t?"":""+t,o?e.setAttributeNS(o,n,t):e.setAttribute(n,t))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,X="function"===typeof Symbol&&Symbol.for,ee=X?Symbol.for("react.element"):60103,ne=X?Symbol.for("react.portal"):60106,te=X?Symbol.for("react.fragment"):60107,oe=X?Symbol.for("react.strict_mode"):60108,re=X?Symbol.for("react.profiler"):60114,ae=X?Symbol.for("react.provider"):60109,ie=X?Symbol.for("react.context"):60110,se=X?Symbol.for("react.concurrent_mode"):60111,ce=X?Symbol.for("react.forward_ref"):60112,ue=X?Symbol.for("react.suspense"):60113,le=X?Symbol.for("react.suspense_list"):60120,de=X?Symbol.for("react.memo"):60115,pe=X?Symbol.for("react.lazy"):60116,me=X?Symbol.for("react.block"):60121,he="function"===typeof Symbol&&Symbol.iterator;function fe(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ge(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case te:return"Fragment";case ne:return"Portal";case re:return"Profiler";case oe:return"StrictMode";case ue:return"Suspense";case le:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case ae:return"Context.Provider";case ce:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(""!==n?"ForwardRef("+n+")":"ForwardRef");case de:return ge(e.type);case me:return ge(e.render);case pe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(e){var n="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var t="";break e;default:var o=e._debugOwner,r=e._debugSource,a=ge(e.type);t=null,o&&(t=ge(o.type)),o=a,a="",r?a=" (at "+r.fileName.replace(Z,"")+":"+r.lineNumber+")":t&&(a=" (created by "+t+")"),t="\n    in "+(o||"Unknown")+a}n+=t,e=e.return}while(e);return n}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var n=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===n||"radio"===n)}function Ce(e){e._valueTracker||(e._valueTracker=function(e){var n=be(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),o=""+e[n];if(!e.hasOwnProperty(n)&&"undefined"!==typeof t&&"function"===typeof t.get&&"function"===typeof t.set){var r=t.get,a=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return r.call(this)},set:function(e){o=""+e,a.call(this,e)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}(e))}function we(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),o="";return e&&(o=be(e)?e.checked?"true":"false":e.value),(e=o)!==t&&(n.setValue(e),!0)}function Se(e,n){var t=n.checked;return r({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=t?t:e._wrapperState.initialChecked})}function _e(e,n){var t=null==n.defaultValue?"":n.defaultValue,o=null!=n.checked?n.checked:n.defaultChecked;t=ye(null!=n.value?n.value:t),e._wrapperState={initialChecked:o,initialValue:t,controlled:"checkbox"===n.type||"radio"===n.type?null!=n.checked:null!=n.value}}function Ee(e,n){null!=(n=n.checked)&&J(e,"checked",n,!1)}function xe(e,n){Ee(e,n);var t=ye(n.value),o=n.type;if(null!=t)"number"===o?(0===t&&""===e.value||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if("submit"===o||"reset"===o)return void e.removeAttribute("value");n.hasOwnProperty("value")?Ae(e,n.type,t):n.hasOwnProperty("defaultValue")&&Ae(e,n.type,ye(n.defaultValue)),null==n.checked&&null!=n.defaultChecked&&(e.defaultChecked=!!n.defaultChecked)}function Oe(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var o=n.type;if(!("submit"!==o&&"reset"!==o||void 0!==n.value&&null!==n.value))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}""!==(t=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==t&&(e.name=t)}function Ae(e,n,t){"number"===n&&e.ownerDocument.activeElement===e||(null==t?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function ke(e,n){return e=r({children:void 0},n),(n=function(e){var n="";return o.Children.forEach(e,(function(e){null!=e&&(n+=e)})),n}(n.children))&&(e.children=n),e}function Te(e,n,t,o){if(e=e.options,n){n={};for(var r=0;r<t.length;r++)n["$"+t[r]]=!0;for(t=0;t<e.length;t++)r=n.hasOwnProperty("$"+e[t].value),e[t].selected!==r&&(e[t].selected=r),r&&o&&(e[t].defaultSelected=!0)}else{for(t=""+ye(t),n=null,r=0;r<e.length;r++){if(e[r].value===t)return e[r].selected=!0,void(o&&(e[r].defaultSelected=!0));null!==n||e[r].disabled||(n=e[r])}null!==n&&(n.selected=!0)}}function Pe(e,n){if(null!=n.dangerouslySetInnerHTML)throw Error(i(91));return r({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Me(e,n){var t=n.value;if(null==t){if(t=n.children,n=n.defaultValue,null!=t){if(null!=n)throw Error(i(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(i(93));t=t[0]}n=t}null==n&&(n=""),t=n}e._wrapperState={initialValue:ye(t)}}function Ie(e,n){var t=ye(n.value),o=ye(n.defaultValue);null!=t&&((t=""+t)!==e.value&&(e.value=t),null==n.defaultValue&&e.defaultValue!==t&&(e.defaultValue=t)),null!=o&&(e.defaultValue=""+o)}function Re(e){var n=e.textContent;n===e._wrapperState.initialValue&&""!==n&&null!==n&&(e.value=n)}var je="http://www.w3.org/1999/xhtml",Ne="http://www.w3.org/2000/svg";function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fe(e,n){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(n):"http://www.w3.org/2000/svg"===e&&"foreignObject"===n?"http://www.w3.org/1999/xhtml":e}var Ue,De,Be=(De=function(e,n){if(e.namespaceURI!==Ne||"innerHTML"in e)e.innerHTML=n;else{for((Ue=Ue||document.createElement("div")).innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,n,t,o){MSApp.execUnsafeLocalFunction((function(){return De(e,n)}))}:De);function ze(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=n)}e.textContent=n}function Ve(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Ge={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},He={},qe={};function Ke(e){if(He[e])return He[e];if(!Ge[e])return e;var n,t=Ge[e];for(n in t)if(t.hasOwnProperty(n)&&n in qe)return He[e]=t[n];return e}A&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete Ge.animationend.animation,delete Ge.animationiteration.animation,delete Ge.animationstart.animation),"TransitionEvent"in window||delete Ge.transitionend.transition);var We=Ke("animationend"),$e=Ke("animationiteration"),Ye=Ke("animationstart"),Qe=Ke("transitionend"),Je="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ze=new("function"===typeof WeakMap?WeakMap:Map);function Xe(e){var n=Ze.get(e);return void 0===n&&(n=new Map,Ze.set(e,n)),n}function en(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do{0!==(1026&(n=e).effectTag)&&(t=n.return),e=n.return}while(e)}return 3===n.tag?t:null}function nn(e){if(13===e.tag){var n=e.memoizedState;if(null===n&&(null!==(e=e.alternate)&&(n=e.memoizedState)),null!==n)return n.dehydrated}return null}function tn(e){if(en(e)!==e)throw Error(i(188))}function on(e){if(!(e=function(e){var n=e.alternate;if(!n){if(null===(n=en(e)))throw Error(i(188));return n!==e?null:e}for(var t=e,o=n;;){var r=t.return;if(null===r)break;var a=r.alternate;if(null===a){if(null!==(o=r.return)){t=o;continue}break}if(r.child===a.child){for(a=r.child;a;){if(a===t)return tn(r),e;if(a===o)return tn(r),n;a=a.sibling}throw Error(i(188))}if(t.return!==o.return)t=r,o=a;else{for(var s=!1,c=r.child;c;){if(c===t){s=!0,t=r,o=a;break}if(c===o){s=!0,o=r,t=a;break}c=c.sibling}if(!s){for(c=a.child;c;){if(c===t){s=!0,t=a,o=r;break}if(c===o){s=!0,o=a,t=r;break}c=c.sibling}if(!s)throw Error(i(189))}}if(t.alternate!==o)throw Error(i(190))}if(3!==t.tag)throw Error(i(188));return t.stateNode.current===t?e:n}(e)))return null;for(var n=e;;){if(5===n.tag||6===n.tag)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===e)break;for(;!n.sibling;){if(!n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function rn(e,n){if(null==n)throw Error(i(30));return null==e?n:Array.isArray(e)?Array.isArray(n)?(e.push.apply(e,n),e):(e.push(n),e):Array.isArray(n)?[e].concat(n):[e,n]}function an(e,n,t){Array.isArray(e)?e.forEach(n,t):e&&n.call(t,e)}var sn=null;function cn(e){if(e){var n=e._dispatchListeners,t=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)v(e,n[o],t[o]);else n&&v(e,n,t);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function un(e){if(null!==e&&(sn=rn(sn,e)),e=sn,sn=null,e){if(an(e,cn),sn)throw Error(i(95));if(l)throw e=d,l=!1,d=null,e}}function ln(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function dn(e){if(!A)return!1;var n=(e="on"+e)in document;return n||((n=document.createElement("div")).setAttribute(e,"return;"),n="function"===typeof n[e]),n}var pn=[];function mn(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>pn.length&&pn.push(e)}function hn(e,n,t,o){if(pn.length){var r=pn.pop();return r.topLevelType=e,r.eventSystemFlags=o,r.nativeEvent=n,r.targetInst=t,r}return{topLevelType:e,eventSystemFlags:o,nativeEvent:n,targetInst:t,ancestors:[]}}function fn(e){var n=e.targetInst,t=n;do{if(!t){e.ancestors.push(t);break}var o=t;if(3===o.tag)o=o.stateNode.containerInfo;else{for(;o.return;)o=o.return;o=3!==o.tag?null:o.stateNode.containerInfo}if(!o)break;5!==(n=t.tag)&&6!==n||e.ancestors.push(t),t=Mt(o)}while(t);for(t=0;t<e.ancestors.length;t++){n=e.ancestors[t];var r=ln(e.nativeEvent);o=e.topLevelType;var a=e.nativeEvent,i=e.eventSystemFlags;0===t&&(i|=64);for(var s=null,c=0;c<S.length;c++){var u=S[c];u&&(u=u.extractEvents(o,n,a,r,i))&&(s=rn(s,u))}un(s)}}function gn(e,n,t){if(!t.has(e)){switch(e){case"scroll":Qn(n,"scroll",!0);break;case"focus":case"blur":Qn(n,"focus",!0),Qn(n,"blur",!0),t.set("blur",null),t.set("focus",null);break;case"cancel":case"close":dn(e)&&Qn(n,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Je.indexOf(e)&&Yn(e,n)}t.set(e,null)}}var vn,yn,bn,Cn=!1,wn=[],Sn=null,_n=null,En=null,xn=new Map,On=new Map,An=[],kn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Tn="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Pn(e,n,t,o,r){return{blockedOn:e,topLevelType:n,eventSystemFlags:32|t,nativeEvent:r,container:o}}function Mn(e,n){switch(e){case"focus":case"blur":Sn=null;break;case"dragenter":case"dragleave":_n=null;break;case"mouseover":case"mouseout":En=null;break;case"pointerover":case"pointerout":xn.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":On.delete(n.pointerId)}}function In(e,n,t,o,r,a){return null===e||e.nativeEvent!==a?(e=Pn(n,t,o,r,a),null!==n&&(null!==(n=It(n))&&yn(n)),e):(e.eventSystemFlags|=o,e)}function Rn(e){var n=Mt(e.target);if(null!==n){var t=en(n);if(null!==t)if(13===(n=t.tag)){if(null!==(n=nn(t)))return e.blockedOn=n,void a.unstable_runWithPriority(e.priority,(function(){bn(t)}))}else if(3===n&&t.stateNode.hydrate)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function jn(e){if(null!==e.blockedOn)return!1;var n=et(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==n){var t=It(n);return null!==t&&yn(t),e.blockedOn=n,!1}return!0}function Nn(e,n,t){jn(e)&&t.delete(n)}function Ln(){for(Cn=!1;0<wn.length;){var e=wn[0];if(null!==e.blockedOn){null!==(e=It(e.blockedOn))&&vn(e);break}var n=et(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==n?e.blockedOn=n:wn.shift()}null!==Sn&&jn(Sn)&&(Sn=null),null!==_n&&jn(_n)&&(_n=null),null!==En&&jn(En)&&(En=null),xn.forEach(Nn),On.forEach(Nn)}function Fn(e,n){e.blockedOn===n&&(e.blockedOn=null,Cn||(Cn=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ln)))}function Un(e){function n(n){return Fn(n,e)}if(0<wn.length){Fn(wn[0],e);for(var t=1;t<wn.length;t++){var o=wn[t];o.blockedOn===e&&(o.blockedOn=null)}}for(null!==Sn&&Fn(Sn,e),null!==_n&&Fn(_n,e),null!==En&&Fn(En,e),xn.forEach(n),On.forEach(n),t=0;t<An.length;t++)(o=An[t]).blockedOn===e&&(o.blockedOn=null);for(;0<An.length&&null===(t=An[0]).blockedOn;)Rn(t),null===t.blockedOn&&An.shift()}var Dn={},Bn=new Map,zn=new Map,Vn=["abort","abort",We,"animationEnd",$e,"animationIteration",Ye,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function Gn(e,n){for(var t=0;t<e.length;t+=2){var o=e[t],r=e[t+1],a="on"+(r[0].toUpperCase()+r.slice(1));a={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[o],eventPriority:n},zn.set(o,n),Bn.set(o,a),Dn[r]=a}}Gn("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Gn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Gn(Vn,2);for(var Hn="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),qn=0;qn<Hn.length;qn++)zn.set(Hn[qn],0);var Kn=a.unstable_UserBlockingPriority,Wn=a.unstable_runWithPriority,$n=!0;function Yn(e,n){Qn(n,e,!1)}function Qn(e,n,t){var o=zn.get(n);switch(void 0===o?2:o){case 0:o=Jn.bind(null,n,1,e);break;case 1:o=Zn.bind(null,n,1,e);break;default:o=Xn.bind(null,n,1,e)}t?e.addEventListener(n,o,!0):e.addEventListener(n,o,!1)}function Jn(e,n,t,o){U||L();var r=Xn,a=U;U=!0;try{N(r,e,n,t,o)}finally{(U=a)||B()}}function Zn(e,n,t,o){Wn(Kn,Xn.bind(null,e,n,t,o))}function Xn(e,n,t,o){if($n)if(0<wn.length&&-1<kn.indexOf(e))e=Pn(null,e,n,t,o),wn.push(e);else{var r=et(e,n,t,o);if(null===r)Mn(e,o);else if(-1<kn.indexOf(e))e=Pn(r,e,n,t,o),wn.push(e);else if(!function(e,n,t,o,r){switch(n){case"focus":return Sn=In(Sn,e,n,t,o,r),!0;case"dragenter":return _n=In(_n,e,n,t,o,r),!0;case"mouseover":return En=In(En,e,n,t,o,r),!0;case"pointerover":var a=r.pointerId;return xn.set(a,In(xn.get(a)||null,e,n,t,o,r)),!0;case"gotpointercapture":return a=r.pointerId,On.set(a,In(On.get(a)||null,e,n,t,o,r)),!0}return!1}(r,e,n,t,o)){Mn(e,o),e=hn(e,o,null,n);try{z(fn,e)}finally{mn(e)}}}}function et(e,n,t,o){if(null!==(t=Mt(t=ln(o)))){var r=en(t);if(null===r)t=null;else{var a=r.tag;if(13===a){if(null!==(t=nn(r)))return t;t=null}else if(3===a){if(r.stateNode.hydrate)return 3===r.tag?r.stateNode.containerInfo:null;t=null}else r!==t&&(t=null)}}e=hn(e,o,t,n);try{z(fn,e)}finally{mn(e)}return null}var nt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tt=["Webkit","ms","Moz","O"];function ot(e,n,t){return null==n||"boolean"===typeof n||""===n?"":t||"number"!==typeof n||0===n||nt.hasOwnProperty(e)&&nt[e]?(""+n).trim():n+"px"}function rt(e,n){for(var t in e=e.style,n)if(n.hasOwnProperty(t)){var o=0===t.indexOf("--"),r=ot(t,n[t],o);"float"===t&&(t="cssFloat"),o?e.setProperty(t,r):e[t]=r}}Object.keys(nt).forEach((function(e){tt.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),nt[n]=nt[e]}))}));var at=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function it(e,n){if(n){if(at[e]&&(null!=n.children||null!=n.dangerouslySetInnerHTML))throw Error(i(137,e,""));if(null!=n.dangerouslySetInnerHTML){if(null!=n.children)throw Error(i(60));if("object"!==typeof n.dangerouslySetInnerHTML||!("__html"in n.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=n.style&&"object"!==typeof n.style)throw Error(i(62,""))}}function st(e,n){if(-1===e.indexOf("-"))return"string"===typeof n.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ct=je;function ut(e,n){var t=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);n=x[n];for(var o=0;o<n.length;o++)gn(n[o],e,t)}function lt(){}function dt(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(n){return e.body}}function pt(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function mt(e,n){var t,o=pt(e);for(e=0;o;){if(3===o.nodeType){if(t=e+o.textContent.length,e<=n&&t>=n)return{node:o,offset:n-e};e=t}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=pt(o)}}function ht(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?ht(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}function ft(){for(var e=window,n=dt();n instanceof e.HTMLIFrameElement;){try{var t="string"===typeof n.contentWindow.location.href}catch(o){t=!1}if(!t)break;n=dt((e=n.contentWindow).document)}return n}function gt(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var vt="$?",yt="$!",bt=null,Ct=null;function wt(e,n){switch(e){case"button":case"input":case"select":case"textarea":return!!n.autoFocus}return!1}function St(e,n){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof n.children||"number"===typeof n.children||"object"===typeof n.dangerouslySetInnerHTML&&null!==n.dangerouslySetInnerHTML&&null!=n.dangerouslySetInnerHTML.__html}var _t="function"===typeof setTimeout?setTimeout:void 0,Et="function"===typeof clearTimeout?clearTimeout:void 0;function xt(e){for(;null!=e;e=e.nextSibling){var n=e.nodeType;if(1===n||3===n)break}return e}function Ot(e){e=e.previousSibling;for(var n=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||t===yt||t===vt){if(0===n)return e;n--}else"/$"===t&&n++}e=e.previousSibling}return null}var At=Math.random().toString(36).slice(2),kt="__reactInternalInstance$"+At,Tt="__reactEventHandlers$"+At,Pt="__reactContainere$"+At;function Mt(e){var n=e[kt];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Pt]||t[kt]){if(t=n.alternate,null!==n.child||null!==t&&null!==t.child)for(e=Ot(e);null!==e;){if(t=e[kt])return t;e=Ot(e)}return n}t=(e=t).parentNode}return null}function It(e){return!(e=e[kt]||e[Pt])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Rt(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function jt(e){return e[Tt]||null}function Nt(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Lt(e,n){var t=e.stateNode;if(!t)return null;var o=h(t);if(!o)return null;t=o[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(t&&"function"!==typeof t)throw Error(i(231,n,typeof t));return t}function Ft(e,n,t){(n=Lt(e,t.dispatchConfig.phasedRegistrationNames[n]))&&(t._dispatchListeners=rn(t._dispatchListeners,n),t._dispatchInstances=rn(t._dispatchInstances,e))}function Ut(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var n=e._targetInst,t=[];n;)t.push(n),n=Nt(n);for(n=t.length;0<n--;)Ft(t[n],"captured",e);for(n=0;n<t.length;n++)Ft(t[n],"bubbled",e)}}function Dt(e,n,t){e&&t&&t.dispatchConfig.registrationName&&(n=Lt(e,t.dispatchConfig.registrationName))&&(t._dispatchListeners=rn(t._dispatchListeners,n),t._dispatchInstances=rn(t._dispatchInstances,e))}function Bt(e){e&&e.dispatchConfig.registrationName&&Dt(e._targetInst,null,e)}function zt(e){an(e,Ut)}var Vt=null,Gt=null,Ht=null;function qt(){if(Ht)return Ht;var e,n,t=Gt,o=t.length,r="value"in Vt?Vt.value:Vt.textContent,a=r.length;for(e=0;e<o&&t[e]===r[e];e++);var i=o-e;for(n=1;n<=i&&t[o-n]===r[a-n];n++);return Ht=r.slice(e,1<n?1-n:void 0)}function Kt(){return!0}function Wt(){return!1}function $t(e,n,t,o){for(var r in this.dispatchConfig=e,this._targetInst=n,this.nativeEvent=t,e=this.constructor.Interface)e.hasOwnProperty(r)&&((n=e[r])?this[r]=n(t):"target"===r?this.target=o:this[r]=t[r]);return this.isDefaultPrevented=(null!=t.defaultPrevented?t.defaultPrevented:!1===t.returnValue)?Kt:Wt,this.isPropagationStopped=Wt,this}function Yt(e,n,t,o){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,n,t,o),r}return new this(e,n,t,o)}function Qt(e){if(!(e instanceof this))throw Error(i(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Jt(e){e.eventPool=[],e.getPooled=Yt,e.release=Qt}r($t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Kt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Kt)},persist:function(){this.isPersistent=Kt},isPersistent:Wt,destructor:function(){var e,n=this.constructor.Interface;for(e in n)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Wt,this._dispatchInstances=this._dispatchListeners=null}}),$t.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},$t.extend=function(e){function n(){}function t(){return o.apply(this,arguments)}var o=this;n.prototype=o.prototype;var a=new n;return r(a,t.prototype),t.prototype=a,t.prototype.constructor=t,t.Interface=r({},o.Interface,e),t.extend=o.extend,Jt(t),t},Jt($t);var Zt=$t.extend({data:null}),Xt=$t.extend({data:null}),eo=[9,13,27,32],no=A&&"CompositionEvent"in window,to=null;A&&"documentMode"in document&&(to=document.documentMode);var oo=A&&"TextEvent"in window&&!to,ro=A&&(!no||to&&8<to&&11>=to),ao=String.fromCharCode(32),io={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},so=!1;function co(e,n){switch(e){case"keyup":return-1!==eo.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function uo(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var lo=!1;var po={eventTypes:io,extractEvents:function(e,n,t,o){var r;if(no)e:{switch(e){case"compositionstart":var a=io.compositionStart;break e;case"compositionend":a=io.compositionEnd;break e;case"compositionupdate":a=io.compositionUpdate;break e}a=void 0}else lo?co(e,t)&&(a=io.compositionEnd):"keydown"===e&&229===t.keyCode&&(a=io.compositionStart);return a?(ro&&"ko"!==t.locale&&(lo||a!==io.compositionStart?a===io.compositionEnd&&lo&&(r=qt()):(Gt="value"in(Vt=o)?Vt.value:Vt.textContent,lo=!0)),a=Zt.getPooled(a,n,t,o),r?a.data=r:null!==(r=uo(t))&&(a.data=r),zt(a),r=a):r=null,(e=oo?function(e,n){switch(e){case"compositionend":return uo(n);case"keypress":return 32!==n.which?null:(so=!0,ao);case"textInput":return(e=n.data)===ao&&so?null:e;default:return null}}(e,t):function(e,n){if(lo)return"compositionend"===e||!no&&co(e,n)?(e=qt(),Ht=Gt=Vt=null,lo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return ro&&"ko"!==n.locale?null:n.data;default:return null}}(e,t))?((n=Xt.getPooled(io.beforeInput,n,t,o)).data=e,zt(n)):n=null,null===r?n:null===n?r:[r,n]}},mo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ho(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!mo[e.type]:"textarea"===n}var fo={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function go(e,n,t){return(e=$t.getPooled(fo.change,e,n,t)).type="change",I(t),zt(e),e}var vo=null,yo=null;function bo(e){un(e)}function Co(e){if(we(Rt(e)))return e}function wo(e,n){if("change"===e)return n}var So=!1;function _o(){vo&&(vo.detachEvent("onpropertychange",Eo),yo=vo=null)}function Eo(e){if("value"===e.propertyName&&Co(yo))if(e=go(yo,e,ln(e)),U)un(e);else{U=!0;try{j(bo,e)}finally{U=!1,B()}}}function xo(e,n,t){"focus"===e?(_o(),yo=t,(vo=n).attachEvent("onpropertychange",Eo)):"blur"===e&&_o()}function Oo(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Co(yo)}function Ao(e,n){if("click"===e)return Co(n)}function ko(e,n){if("input"===e||"change"===e)return Co(n)}A&&(So=dn("input")&&(!document.documentMode||9<document.documentMode));var To={eventTypes:fo,_isInputEventSupported:So,extractEvents:function(e,n,t,o){var r=n?Rt(n):window,a=r.nodeName&&r.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===r.type)var i=wo;else if(ho(r))if(So)i=ko;else{i=Oo;var s=xo}else(a=r.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(i=Ao);if(i&&(i=i(e,n)))return go(i,t,o);s&&s(e,r,n),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&Ae(r,"number",r.value)}},Po=$t.extend({view:null,detail:null}),Mo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Io(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):!!(e=Mo[e])&&!!n[e]}function Ro(){return Io}var jo=0,No=0,Lo=!1,Fo=!1,Uo=Po.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ro,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var n=jo;return jo=e.screenX,Lo?"mousemove"===e.type?e.screenX-n:0:(Lo=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var n=No;return No=e.screenY,Fo?"mousemove"===e.type?e.screenY-n:0:(Fo=!0,0)}}),Do=Uo.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Bo={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},zo={eventTypes:Bo,extractEvents:function(e,n,t,o,r){var a="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(a&&0===(32&r)&&(t.relatedTarget||t.fromElement)||!i&&!a)return null;(a=o.window===o?o:(a=o.ownerDocument)?a.defaultView||a.parentWindow:window,i)?(i=n,null!==(n=(n=t.relatedTarget||t.toElement)?Mt(n):null)&&(n!==en(n)||5!==n.tag&&6!==n.tag)&&(n=null)):i=null;if(i===n)return null;if("mouseout"===e||"mouseover"===e)var s=Uo,c=Bo.mouseLeave,u=Bo.mouseEnter,l="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=Do,c=Bo.pointerLeave,u=Bo.pointerEnter,l="pointer");if(e=null==i?a:Rt(i),a=null==n?a:Rt(n),(c=s.getPooled(c,i,t,o)).type=l+"leave",c.target=e,c.relatedTarget=a,(t=s.getPooled(u,n,t,o)).type=l+"enter",t.target=a,t.relatedTarget=e,l=n,(o=i)&&l)e:{for(u=l,i=0,e=s=o;e;e=Nt(e))i++;for(e=0,n=u;n;n=Nt(n))e++;for(;0<i-e;)s=Nt(s),i--;for(;0<e-i;)u=Nt(u),e--;for(;i--;){if(s===u||s===u.alternate)break e;s=Nt(s),u=Nt(u)}s=null}else s=null;for(u=s,s=[];o&&o!==u&&(null===(i=o.alternate)||i!==u);)s.push(o),o=Nt(o);for(o=[];l&&l!==u&&(null===(i=l.alternate)||i!==u);)o.push(l),l=Nt(l);for(l=0;l<s.length;l++)Dt(s[l],"bubbled",c);for(l=o.length;0<l--;)Dt(o[l],"captured",t);return 0===(64&r)?[c]:[c,t]}};var Vo="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n},Go=Object.prototype.hasOwnProperty;function Ho(e,n){if(Vo(e,n))return!0;if("object"!==typeof e||null===e||"object"!==typeof n||null===n)return!1;var t=Object.keys(e),o=Object.keys(n);if(t.length!==o.length)return!1;for(o=0;o<t.length;o++)if(!Go.call(n,t[o])||!Vo(e[t[o]],n[t[o]]))return!1;return!0}var qo=A&&"documentMode"in document&&11>=document.documentMode,Ko={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wo=null,$o=null,Yo=null,Qo=!1;function Jo(e,n){var t=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;return Qo||null==Wo||Wo!==dt(t)?null:("selectionStart"in(t=Wo)&&gt(t)?t={start:t.selectionStart,end:t.selectionEnd}:t={anchorNode:(t=(t.ownerDocument&&t.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset},Yo&&Ho(Yo,t)?null:(Yo=t,(e=$t.getPooled(Ko.select,$o,e,n)).type="select",e.target=Wo,zt(e),e))}var Zo={eventTypes:Ko,extractEvents:function(e,n,t,o,r,a){if(!(a=!(r=a||(o.window===o?o.document:9===o.nodeType?o:o.ownerDocument)))){e:{r=Xe(r),a=x.onSelect;for(var i=0;i<a.length;i++)if(!r.has(a[i])){r=!1;break e}r=!0}a=!r}if(a)return null;switch(r=n?Rt(n):window,e){case"focus":(ho(r)||"true"===r.contentEditable)&&(Wo=r,$o=n,Yo=null);break;case"blur":Yo=$o=Wo=null;break;case"mousedown":Qo=!0;break;case"contextmenu":case"mouseup":case"dragend":return Qo=!1,Jo(t,o);case"selectionchange":if(qo)break;case"keydown":case"keyup":return Jo(t,o)}return null}},Xo=$t.extend({animationName:null,elapsedTime:null,pseudoElement:null}),er=$t.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),nr=Po.extend({relatedTarget:null});function tr(e){var n=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===n&&(e=13):e=n,10===e&&(e=13),32<=e||13===e?e:0}var or={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},rr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ar=Po.extend({key:function(e){if(e.key){var n=or[e.key]||e.key;if("Unidentified"!==n)return n}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?rr[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ro,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ir=Uo.extend({dataTransfer:null}),sr=Po.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ro}),cr=$t.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),ur=Uo.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),lr={eventTypes:Dn,extractEvents:function(e,n,t,o){var r=Bn.get(e);if(!r)return null;switch(e){case"keypress":if(0===tr(t))return null;case"keydown":case"keyup":e=ar;break;case"blur":case"focus":e=nr;break;case"click":if(2===t.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Uo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ir;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=sr;break;case We:case $e:case Ye:e=Xo;break;case Qe:e=cr;break;case"scroll":e=Po;break;case"wheel":e=ur;break;case"copy":case"cut":case"paste":e=er;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Do;break;default:e=$t}return zt(n=e.getPooled(r,n,t,o)),n}};if(y)throw Error(i(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),C(),h=jt,f=It,g=Rt,O({SimpleEventPlugin:lr,EnterLeaveEventPlugin:zo,ChangeEventPlugin:To,SelectEventPlugin:Zo,BeforeInputEventPlugin:po});var dr=[],pr=-1;function mr(e){0>pr||(e.current=dr[pr],dr[pr]=null,pr--)}function hr(e,n){pr++,dr[pr]=e.current,e.current=n}var fr={},gr={current:fr},vr={current:!1},yr=fr;function br(e,n){var t=e.type.contextTypes;if(!t)return fr;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===n)return o.__reactInternalMemoizedMaskedChildContext;var r,a={};for(r in t)a[r]=n[r];return o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=a),a}function Cr(e){return null!==(e=e.childContextTypes)&&void 0!==e}function wr(){mr(vr),mr(gr)}function Sr(e,n,t){if(gr.current!==fr)throw Error(i(168));hr(gr,n),hr(vr,t)}function _r(e,n,t){var o=e.stateNode;if(e=n.childContextTypes,"function"!==typeof o.getChildContext)return t;for(var a in o=o.getChildContext())if(!(a in e))throw Error(i(108,ge(n)||"Unknown",a));return r({},t,{},o)}function Er(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fr,yr=gr.current,hr(gr,e),hr(vr,vr.current),!0}function xr(e,n,t){var o=e.stateNode;if(!o)throw Error(i(169));t?(e=_r(e,n,yr),o.__reactInternalMemoizedMergedChildContext=e,mr(vr),mr(gr),hr(gr,e)):mr(vr),hr(vr,t)}var Or=a.unstable_runWithPriority,Ar=a.unstable_scheduleCallback,kr=a.unstable_cancelCallback,Tr=a.unstable_requestPaint,Pr=a.unstable_now,Mr=a.unstable_getCurrentPriorityLevel,Ir=a.unstable_ImmediatePriority,Rr=a.unstable_UserBlockingPriority,jr=a.unstable_NormalPriority,Nr=a.unstable_LowPriority,Lr=a.unstable_IdlePriority,Fr={},Ur=a.unstable_shouldYield,Dr=void 0!==Tr?Tr:function(){},Br=null,zr=null,Vr=!1,Gr=Pr(),Hr=1e4>Gr?Pr:function(){return Pr()-Gr};function qr(){switch(Mr()){case Ir:return 99;case Rr:return 98;case jr:return 97;case Nr:return 96;case Lr:return 95;default:throw Error(i(332))}}function Kr(e){switch(e){case 99:return Ir;case 98:return Rr;case 97:return jr;case 96:return Nr;case 95:return Lr;default:throw Error(i(332))}}function Wr(e,n){return e=Kr(e),Or(e,n)}function $r(e,n,t){return e=Kr(e),Ar(e,n,t)}function Yr(e){return null===Br?(Br=[e],zr=Ar(Ir,Jr)):Br.push(e),Fr}function Qr(){if(null!==zr){var e=zr;zr=null,kr(e)}Jr()}function Jr(){if(!Vr&&null!==Br){Vr=!0;var e=0;try{var n=Br;Wr(99,(function(){for(;e<n.length;e++){var t=n[e];do{t=t(!0)}while(null!==t)}})),Br=null}catch(t){throw null!==Br&&(Br=Br.slice(e+1)),Ar(Ir,Qr),t}finally{Vr=!1}}}function Zr(e,n,t){return 1073741821-(1+((1073741821-e+n/10)/(t/=10)|0))*t}function Xr(e,n){if(e&&e.defaultProps)for(var t in n=r({},n),e=e.defaultProps)void 0===n[t]&&(n[t]=e[t]);return n}var ea={current:null},na=null,ta=null,oa=null;function ra(){oa=ta=na=null}function aa(e){var n=ea.current;mr(ea),e.type._context._currentValue=n}function ia(e,n){for(;null!==e;){var t=e.alternate;if(e.childExpirationTime<n)e.childExpirationTime=n,null!==t&&t.childExpirationTime<n&&(t.childExpirationTime=n);else{if(!(null!==t&&t.childExpirationTime<n))break;t.childExpirationTime=n}e=e.return}}function sa(e,n){na=e,oa=ta=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=n&&(ji=!0),e.firstContext=null)}function ca(e,n){if(oa!==e&&!1!==n&&0!==n)if("number"===typeof n&&1073741823!==n||(oa=e,n=1073741823),n={context:e,observedBits:n,next:null},null===ta){if(null===na)throw Error(i(308));ta=n,na.dependencies={expirationTime:0,firstContext:n,responders:null}}else ta=ta.next=n;return e._currentValue}var ua=!1;function la(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function da(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function pa(e,n){return(e={expirationTime:e,suspenseConfig:n,tag:0,payload:null,callback:null,next:null}).next=e}function ma(e,n){if(null!==(e=e.updateQueue)){var t=(e=e.shared).pending;null===t?n.next=n:(n.next=t.next,t.next=n),e.pending=n}}function ha(e,n){var t=e.alternate;null!==t&&da(t,e),null===(t=(e=e.updateQueue).baseQueue)?(e.baseQueue=n.next=n,n.next=n):(n.next=t.next,t.next=n)}function fa(e,n,t,o){var a=e.updateQueue;ua=!1;var i=a.baseQueue,s=a.shared.pending;if(null!==s){if(null!==i){var c=i.next;i.next=s.next,s.next=c}i=s,a.shared.pending=null,null!==(c=e.alternate)&&(null!==(c=c.updateQueue)&&(c.baseQueue=s))}if(null!==i){c=i.next;var u=a.baseState,l=0,d=null,p=null,m=null;if(null!==c)for(var h=c;;){if((s=h.expirationTime)<o){var f={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===m?(p=m=f,d=u):m=m.next=f,s>l&&(l=s)}else{null!==m&&(m=m.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),mc(s,h.suspenseConfig);e:{var g=e,v=h;switch(s=n,f=t,v.tag){case 1:if("function"===typeof(g=v.payload)){u=g.call(f,u,s);break e}u=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null===(s="function"===typeof(g=v.payload)?g.call(f,u,s):g)||void 0===s)break e;u=r({},u,s);break e;case 2:ua=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=a.effects)?a.effects=[h]:s.push(h))}if(null===(h=h.next)||h===c){if(null===(s=a.shared.pending))break;h=i.next=s.next,s.next=c,a.baseQueue=i=s,a.shared.pending=null}}null===m?d=u:m.next=p,a.baseState=d,a.baseQueue=m,hc(l),e.expirationTime=l,e.memoizedState=u}}function ga(e,n,t){if(e=n.effects,n.effects=null,null!==e)for(n=0;n<e.length;n++){var o=e[n],r=o.callback;if(null!==r){if(o.callback=null,o=r,r=t,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var va=Q.ReactCurrentBatchConfig,ya=(new o.Component).refs;function ba(e,n,t,o){t=null===(t=t(o,n=e.memoizedState))||void 0===t?n:r({},n,t),e.memoizedState=t,0===e.expirationTime&&(e.updateQueue.baseState=t)}var Ca={isMounted:function(e){return!!(e=e._reactInternalFiber)&&en(e)===e},enqueueSetState:function(e,n,t){e=e._reactInternalFiber;var o=ec(),r=va.suspense;(r=pa(o=nc(o,e,r),r)).payload=n,void 0!==t&&null!==t&&(r.callback=t),ma(e,r),tc(e,o)},enqueueReplaceState:function(e,n,t){e=e._reactInternalFiber;var o=ec(),r=va.suspense;(r=pa(o=nc(o,e,r),r)).tag=1,r.payload=n,void 0!==t&&null!==t&&(r.callback=t),ma(e,r),tc(e,o)},enqueueForceUpdate:function(e,n){e=e._reactInternalFiber;var t=ec(),o=va.suspense;(o=pa(t=nc(t,e,o),o)).tag=2,void 0!==n&&null!==n&&(o.callback=n),ma(e,o),tc(e,t)}};function wa(e,n,t,o,r,a,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,a,i):!n.prototype||!n.prototype.isPureReactComponent||(!Ho(t,o)||!Ho(r,a))}function Sa(e,n,t){var o=!1,r=fr,a=n.contextType;return"object"===typeof a&&null!==a?a=ca(a):(r=Cr(n)?yr:gr.current,a=(o=null!==(o=n.contextTypes)&&void 0!==o)?br(e,r):fr),n=new n(t,a),e.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,n.updater=Ca,e.stateNode=n,n._reactInternalFiber=e,o&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=a),n}function _a(e,n,t,o){e=n.state,"function"===typeof n.componentWillReceiveProps&&n.componentWillReceiveProps(t,o),"function"===typeof n.UNSAFE_componentWillReceiveProps&&n.UNSAFE_componentWillReceiveProps(t,o),n.state!==e&&Ca.enqueueReplaceState(n,n.state,null)}function Ea(e,n,t,o){var r=e.stateNode;r.props=t,r.state=e.memoizedState,r.refs=ya,la(e);var a=n.contextType;"object"===typeof a&&null!==a?r.context=ca(a):(a=Cr(n)?yr:gr.current,r.context=br(e,a)),fa(e,t,r,o),r.state=e.memoizedState,"function"===typeof(a=n.getDerivedStateFromProps)&&(ba(e,n,a,t),r.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof r.getSnapshotBeforeUpdate||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||(n=r.state,"function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Ca.enqueueReplaceState(r,r.state,null),fa(e,t,r,o),r.state=e.memoizedState),"function"===typeof r.componentDidMount&&(e.effectTag|=4)}var xa=Array.isArray;function Oa(e,n,t){if(null!==(e=t.ref)&&"function"!==typeof e&&"object"!==typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(i(309));var o=t.stateNode}if(!o)throw Error(i(147,e));var r=""+e;return null!==n&&null!==n.ref&&"function"===typeof n.ref&&n.ref._stringRef===r?n.ref:((n=function(e){var n=o.refs;n===ya&&(n=o.refs={}),null===e?delete n[r]:n[r]=e})._stringRef=r,n)}if("string"!==typeof e)throw Error(i(284));if(!t._owner)throw Error(i(290,e))}return e}function Aa(e,n){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(n)?"object with keys {"+Object.keys(n).join(", ")+"}":n,""))}function ka(e){function n(n,t){if(e){var o=n.lastEffect;null!==o?(o.nextEffect=t,n.lastEffect=t):n.firstEffect=n.lastEffect=t,t.nextEffect=null,t.effectTag=8}}function t(t,o){if(!e)return null;for(;null!==o;)n(t,o),o=o.sibling;return null}function o(e,n){for(e=new Map;null!==n;)null!==n.key?e.set(n.key,n):e.set(n.index,n),n=n.sibling;return e}function r(e,n){return(e=jc(e,n)).index=0,e.sibling=null,e}function a(n,t,o){return n.index=o,e?null!==(o=n.alternate)?(o=o.index)<t?(n.effectTag=2,t):o:(n.effectTag=2,t):t}function s(n){return e&&null===n.alternate&&(n.effectTag=2),n}function c(e,n,t,o){return null===n||6!==n.tag?((n=Fc(t,e.mode,o)).return=e,n):((n=r(n,t)).return=e,n)}function u(e,n,t,o){return null!==n&&n.elementType===t.type?((o=r(n,t.props)).ref=Oa(e,n,t),o.return=e,o):((o=Nc(t.type,t.key,t.props,null,e.mode,o)).ref=Oa(e,n,t),o.return=e,o)}function l(e,n,t,o){return null===n||4!==n.tag||n.stateNode.containerInfo!==t.containerInfo||n.stateNode.implementation!==t.implementation?((n=Uc(t,e.mode,o)).return=e,n):((n=r(n,t.children||[])).return=e,n)}function d(e,n,t,o,a){return null===n||7!==n.tag?((n=Lc(t,e.mode,o,a)).return=e,n):((n=r(n,t)).return=e,n)}function p(e,n,t){if("string"===typeof n||"number"===typeof n)return(n=Fc(""+n,e.mode,t)).return=e,n;if("object"===typeof n&&null!==n){switch(n.$$typeof){case ee:return(t=Nc(n.type,n.key,n.props,null,e.mode,t)).ref=Oa(e,null,n),t.return=e,t;case ne:return(n=Uc(n,e.mode,t)).return=e,n}if(xa(n)||fe(n))return(n=Lc(n,e.mode,t,null)).return=e,n;Aa(e,n)}return null}function m(e,n,t,o){var r=null!==n?n.key:null;if("string"===typeof t||"number"===typeof t)return null!==r?null:c(e,n,""+t,o);if("object"===typeof t&&null!==t){switch(t.$$typeof){case ee:return t.key===r?t.type===te?d(e,n,t.props.children,o,r):u(e,n,t,o):null;case ne:return t.key===r?l(e,n,t,o):null}if(xa(t)||fe(t))return null!==r?null:d(e,n,t,o,null);Aa(e,t)}return null}function h(e,n,t,o,r){if("string"===typeof o||"number"===typeof o)return c(n,e=e.get(t)||null,""+o,r);if("object"===typeof o&&null!==o){switch(o.$$typeof){case ee:return e=e.get(null===o.key?t:o.key)||null,o.type===te?d(n,e,o.props.children,r,o.key):u(n,e,o,r);case ne:return l(n,e=e.get(null===o.key?t:o.key)||null,o,r)}if(xa(o)||fe(o))return d(n,e=e.get(t)||null,o,r,null);Aa(n,o)}return null}function f(r,i,s,c){for(var u=null,l=null,d=i,f=i=0,g=null;null!==d&&f<s.length;f++){d.index>f?(g=d,d=null):g=d.sibling;var v=m(r,d,s[f],c);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&n(r,d),i=a(v,i,f),null===l?u=v:l.sibling=v,l=v,d=g}if(f===s.length)return t(r,d),u;if(null===d){for(;f<s.length;f++)null!==(d=p(r,s[f],c))&&(i=a(d,i,f),null===l?u=d:l.sibling=d,l=d);return u}for(d=o(r,d);f<s.length;f++)null!==(g=h(d,r,f,s[f],c))&&(e&&null!==g.alternate&&d.delete(null===g.key?f:g.key),i=a(g,i,f),null===l?u=g:l.sibling=g,l=g);return e&&d.forEach((function(e){return n(r,e)})),u}function g(r,s,c,u){var l=fe(c);if("function"!==typeof l)throw Error(i(150));if(null==(c=l.call(c)))throw Error(i(151));for(var d=l=null,f=s,g=s=0,v=null,y=c.next();null!==f&&!y.done;g++,y=c.next()){f.index>g?(v=f,f=null):v=f.sibling;var b=m(r,f,y.value,u);if(null===b){null===f&&(f=v);break}e&&f&&null===b.alternate&&n(r,f),s=a(b,s,g),null===d?l=b:d.sibling=b,d=b,f=v}if(y.done)return t(r,f),l;if(null===f){for(;!y.done;g++,y=c.next())null!==(y=p(r,y.value,u))&&(s=a(y,s,g),null===d?l=y:d.sibling=y,d=y);return l}for(f=o(r,f);!y.done;g++,y=c.next())null!==(y=h(f,r,g,y.value,u))&&(e&&null!==y.alternate&&f.delete(null===y.key?g:y.key),s=a(y,s,g),null===d?l=y:d.sibling=y,d=y);return e&&f.forEach((function(e){return n(r,e)})),l}return function(e,o,a,c){var u="object"===typeof a&&null!==a&&a.type===te&&null===a.key;u&&(a=a.props.children);var l="object"===typeof a&&null!==a;if(l)switch(a.$$typeof){case ee:e:{for(l=a.key,u=o;null!==u;){if(u.key===l){switch(u.tag){case 7:if(a.type===te){t(e,u.sibling),(o=r(u,a.props.children)).return=e,e=o;break e}break;default:if(u.elementType===a.type){t(e,u.sibling),(o=r(u,a.props)).ref=Oa(e,u,a),o.return=e,e=o;break e}}t(e,u);break}n(e,u),u=u.sibling}a.type===te?((o=Lc(a.props.children,e.mode,c,a.key)).return=e,e=o):((c=Nc(a.type,a.key,a.props,null,e.mode,c)).ref=Oa(e,o,a),c.return=e,e=c)}return s(e);case ne:e:{for(u=a.key;null!==o;){if(o.key===u){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){t(e,o.sibling),(o=r(o,a.children||[])).return=e,e=o;break e}t(e,o);break}n(e,o),o=o.sibling}(o=Uc(a,e.mode,c)).return=e,e=o}return s(e)}if("string"===typeof a||"number"===typeof a)return a=""+a,null!==o&&6===o.tag?(t(e,o.sibling),(o=r(o,a)).return=e,e=o):(t(e,o),(o=Fc(a,e.mode,c)).return=e,e=o),s(e);if(xa(a))return f(e,o,a,c);if(fe(a))return g(e,o,a,c);if(l&&Aa(e,a),"undefined"===typeof a&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return t(e,o)}}var Ta=ka(!0),Pa=ka(!1),Ma={},Ia={current:Ma},Ra={current:Ma},ja={current:Ma};function Na(e){if(e===Ma)throw Error(i(174));return e}function La(e,n){switch(hr(ja,n),hr(Ra,e),hr(Ia,Ma),e=n.nodeType){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Fe(null,"");break;default:n=Fe(n=(e=8===e?n.parentNode:n).namespaceURI||null,e=e.tagName)}mr(Ia),hr(Ia,n)}function Fa(){mr(Ia),mr(Ra),mr(ja)}function Ua(e){Na(ja.current);var n=Na(Ia.current),t=Fe(n,e.type);n!==t&&(hr(Ra,e),hr(Ia,t))}function Da(e){Ra.current===e&&(mr(Ia),mr(Ra))}var Ba={current:0};function za(e){for(var n=e;null!==n;){if(13===n.tag){var t=n.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||t.data===vt||t.data===yt))return n}else if(19===n.tag&&void 0!==n.memoizedProps.revealOrder){if(0!==(64&n.effectTag))return n}else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function Va(e,n){return{responder:e,props:n}}var Ga=Q.ReactCurrentDispatcher,Ha=Q.ReactCurrentBatchConfig,qa=0,Ka=null,Wa=null,$a=null,Ya=!1;function Qa(){throw Error(i(321))}function Ja(e,n){if(null===n)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Vo(e[t],n[t]))return!1;return!0}function Za(e,n,t,o,r,a){if(qa=a,Ka=n,n.memoizedState=null,n.updateQueue=null,n.expirationTime=0,Ga.current=null===e||null===e.memoizedState?wi:Si,e=t(o,r),n.expirationTime===qa){a=0;do{if(n.expirationTime=0,!(25>a))throw Error(i(301));a+=1,$a=Wa=null,n.updateQueue=null,Ga.current=_i,e=t(o,r)}while(n.expirationTime===qa)}if(Ga.current=Ci,n=null!==Wa&&null!==Wa.next,qa=0,$a=Wa=Ka=null,Ya=!1,n)throw Error(i(300));return e}function Xa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===$a?Ka.memoizedState=$a=e:$a=$a.next=e,$a}function ei(){if(null===Wa){var e=Ka.alternate;e=null!==e?e.memoizedState:null}else e=Wa.next;var n=null===$a?Ka.memoizedState:$a.next;if(null!==n)$a=n,Wa=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Wa=e).memoizedState,baseState:Wa.baseState,baseQueue:Wa.baseQueue,queue:Wa.queue,next:null},null===$a?Ka.memoizedState=$a=e:$a=$a.next=e}return $a}function ni(e,n){return"function"===typeof n?n(e):n}function ti(e){var n=ei(),t=n.queue;if(null===t)throw Error(i(311));t.lastRenderedReducer=e;var o=Wa,r=o.baseQueue,a=t.pending;if(null!==a){if(null!==r){var s=r.next;r.next=a.next,a.next=s}o.baseQueue=r=a,t.pending=null}if(null!==r){r=r.next,o=o.baseState;var c=s=a=null,u=r;do{var l=u.expirationTime;if(l<qa){var d={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===c?(s=c=d,a=o):c=c.next=d,l>Ka.expirationTime&&(Ka.expirationTime=l,hc(l))}else null!==c&&(c=c.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),mc(l,u.suspenseConfig),o=u.eagerReducer===e?u.eagerState:e(o,u.action);u=u.next}while(null!==u&&u!==r);null===c?a=o:c.next=s,Vo(o,n.memoizedState)||(ji=!0),n.memoizedState=o,n.baseState=a,n.baseQueue=c,t.lastRenderedState=o}return[n.memoizedState,t.dispatch]}function oi(e){var n=ei(),t=n.queue;if(null===t)throw Error(i(311));t.lastRenderedReducer=e;var o=t.dispatch,r=t.pending,a=n.memoizedState;if(null!==r){t.pending=null;var s=r=r.next;do{a=e(a,s.action),s=s.next}while(s!==r);Vo(a,n.memoizedState)||(ji=!0),n.memoizedState=a,null===n.baseQueue&&(n.baseState=a),t.lastRenderedState=a}return[a,o]}function ri(e){var n=Xa();return"function"===typeof e&&(e=e()),n.memoizedState=n.baseState=e,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:ni,lastRenderedState:e}).dispatch=bi.bind(null,Ka,e),[n.memoizedState,e]}function ai(e,n,t,o){return e={tag:e,create:n,destroy:t,deps:o,next:null},null===(n=Ka.updateQueue)?(n={lastEffect:null},Ka.updateQueue=n,n.lastEffect=e.next=e):null===(t=n.lastEffect)?n.lastEffect=e.next=e:(o=t.next,t.next=e,e.next=o,n.lastEffect=e),e}function ii(){return ei().memoizedState}function si(e,n,t,o){var r=Xa();Ka.effectTag|=e,r.memoizedState=ai(1|n,t,void 0,void 0===o?null:o)}function ci(e,n,t,o){var r=ei();o=void 0===o?null:o;var a=void 0;if(null!==Wa){var i=Wa.memoizedState;if(a=i.destroy,null!==o&&Ja(o,i.deps))return void ai(n,t,a,o)}Ka.effectTag|=e,r.memoizedState=ai(1|n,t,a,o)}function ui(e,n){return si(516,4,e,n)}function li(e,n){return ci(516,4,e,n)}function di(e,n){return ci(4,2,e,n)}function pi(e,n){return"function"===typeof n?(e=e(),n(e),function(){n(null)}):null!==n&&void 0!==n?(e=e(),n.current=e,function(){n.current=null}):void 0}function mi(e,n,t){return t=null!==t&&void 0!==t?t.concat([e]):null,ci(4,2,pi.bind(null,n,e),t)}function hi(){}function fi(e,n){return Xa().memoizedState=[e,void 0===n?null:n],e}function gi(e,n){var t=ei();n=void 0===n?null:n;var o=t.memoizedState;return null!==o&&null!==n&&Ja(n,o[1])?o[0]:(t.memoizedState=[e,n],e)}function vi(e,n){var t=ei();n=void 0===n?null:n;var o=t.memoizedState;return null!==o&&null!==n&&Ja(n,o[1])?o[0]:(e=e(),t.memoizedState=[e,n],e)}function yi(e,n,t){var o=qr();Wr(98>o?98:o,(function(){e(!0)})),Wr(97<o?97:o,(function(){var o=Ha.suspense;Ha.suspense=void 0===n?null:n;try{e(!1),t()}finally{Ha.suspense=o}}))}function bi(e,n,t){var o=ec(),r=va.suspense;r={expirationTime:o=nc(o,e,r),suspenseConfig:r,action:t,eagerReducer:null,eagerState:null,next:null};var a=n.pending;if(null===a?r.next=r:(r.next=a.next,a.next=r),n.pending=r,a=e.alternate,e===Ka||null!==a&&a===Ka)Ya=!0,r.expirationTime=qa,Ka.expirationTime=qa;else{if(0===e.expirationTime&&(null===a||0===a.expirationTime)&&null!==(a=n.lastRenderedReducer))try{var i=n.lastRenderedState,s=a(i,t);if(r.eagerReducer=a,r.eagerState=s,Vo(s,i))return}catch(c){}tc(e,o)}}var Ci={readContext:ca,useCallback:Qa,useContext:Qa,useEffect:Qa,useImperativeHandle:Qa,useLayoutEffect:Qa,useMemo:Qa,useReducer:Qa,useRef:Qa,useState:Qa,useDebugValue:Qa,useResponder:Qa,useDeferredValue:Qa,useTransition:Qa},wi={readContext:ca,useCallback:fi,useContext:ca,useEffect:ui,useImperativeHandle:function(e,n,t){return t=null!==t&&void 0!==t?t.concat([e]):null,si(4,2,pi.bind(null,n,e),t)},useLayoutEffect:function(e,n){return si(4,2,e,n)},useMemo:function(e,n){var t=Xa();return n=void 0===n?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var o=Xa();return n=void 0!==t?t(n):n,o.memoizedState=o.baseState=n,e=(e=o.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:n}).dispatch=bi.bind(null,Ka,e),[o.memoizedState,e]},useRef:function(e){return e={current:e},Xa().memoizedState=e},useState:ri,useDebugValue:hi,useResponder:Va,useDeferredValue:function(e,n){var t=ri(e),o=t[0],r=t[1];return ui((function(){var t=Ha.suspense;Ha.suspense=void 0===n?null:n;try{r(e)}finally{Ha.suspense=t}}),[e,n]),o},useTransition:function(e){var n=ri(!1),t=n[0];return n=n[1],[fi(yi.bind(null,n,e),[n,e]),t]}},Si={readContext:ca,useCallback:gi,useContext:ca,useEffect:li,useImperativeHandle:mi,useLayoutEffect:di,useMemo:vi,useReducer:ti,useRef:ii,useState:function(){return ti(ni)},useDebugValue:hi,useResponder:Va,useDeferredValue:function(e,n){var t=ti(ni),o=t[0],r=t[1];return li((function(){var t=Ha.suspense;Ha.suspense=void 0===n?null:n;try{r(e)}finally{Ha.suspense=t}}),[e,n]),o},useTransition:function(e){var n=ti(ni),t=n[0];return n=n[1],[gi(yi.bind(null,n,e),[n,e]),t]}},_i={readContext:ca,useCallback:gi,useContext:ca,useEffect:li,useImperativeHandle:mi,useLayoutEffect:di,useMemo:vi,useReducer:oi,useRef:ii,useState:function(){return oi(ni)},useDebugValue:hi,useResponder:Va,useDeferredValue:function(e,n){var t=oi(ni),o=t[0],r=t[1];return li((function(){var t=Ha.suspense;Ha.suspense=void 0===n?null:n;try{r(e)}finally{Ha.suspense=t}}),[e,n]),o},useTransition:function(e){var n=oi(ni),t=n[0];return n=n[1],[gi(yi.bind(null,n,e),[n,e]),t]}},Ei=null,xi=null,Oi=!1;function Ai(e,n){var t=Ic(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function ki(e,n){switch(e.tag){case 5:var t=e.type;return null!==(n=1!==n.nodeType||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n)&&(e.stateNode=n,!0);case 6:return null!==(n=""===e.pendingProps||3!==n.nodeType?null:n)&&(e.stateNode=n,!0);case 13:default:return!1}}function Ti(e){if(Oi){var n=xi;if(n){var t=n;if(!ki(e,n)){if(!(n=xt(t.nextSibling))||!ki(e,n))return e.effectTag=-1025&e.effectTag|2,Oi=!1,void(Ei=e);Ai(Ei,t)}Ei=e,xi=xt(n.firstChild)}else e.effectTag=-1025&e.effectTag|2,Oi=!1,Ei=e}}function Pi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ei=e}function Mi(e){if(e!==Ei)return!1;if(!Oi)return Pi(e),Oi=!0,!1;var n=e.type;if(5!==e.tag||"head"!==n&&"body"!==n&&!St(n,e.memoizedProps))for(n=xi;n;)Ai(e,n),n=xt(n.nextSibling);if(Pi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType){var t=e.data;if("/$"===t){if(0===n){xi=xt(e.nextSibling);break e}n--}else"$"!==t&&t!==yt&&t!==vt||n++}e=e.nextSibling}xi=null}}else xi=Ei?xt(e.stateNode.nextSibling):null;return!0}function Ii(){xi=Ei=null,Oi=!1}var Ri=Q.ReactCurrentOwner,ji=!1;function Ni(e,n,t,o){n.child=null===e?Pa(n,null,t,o):Ta(n,e.child,t,o)}function Li(e,n,t,o,r){t=t.render;var a=n.ref;return sa(n,r),o=Za(e,n,t,o,a,r),null===e||ji?(n.effectTag|=1,Ni(e,n,o,r),n.child):(n.updateQueue=e.updateQueue,n.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Zi(e,n,r))}function Fi(e,n,t,o,r,a){if(null===e){var i=t.type;return"function"!==typeof i||Rc(i)||void 0!==i.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=Nc(t.type,null,o,null,n.mode,a)).ref=n.ref,e.return=n,n.child=e):(n.tag=15,n.type=i,Ui(e,n,i,o,r,a))}return i=e.child,r<a&&(r=i.memoizedProps,(t=null!==(t=t.compare)?t:Ho)(r,o)&&e.ref===n.ref)?Zi(e,n,a):(n.effectTag|=1,(e=jc(i,o)).ref=n.ref,e.return=n,n.child=e)}function Ui(e,n,t,o,r,a){return null!==e&&Ho(e.memoizedProps,o)&&e.ref===n.ref&&(ji=!1,r<a)?(n.expirationTime=e.expirationTime,Zi(e,n,a)):Bi(e,n,t,o,a)}function Di(e,n){var t=n.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(n.effectTag|=128)}function Bi(e,n,t,o,r){var a=Cr(t)?yr:gr.current;return a=br(n,a),sa(n,r),t=Za(e,n,t,o,a,r),null===e||ji?(n.effectTag|=1,Ni(e,n,t,r),n.child):(n.updateQueue=e.updateQueue,n.effectTag&=-517,e.expirationTime<=r&&(e.expirationTime=0),Zi(e,n,r))}function zi(e,n,t,o,r){if(Cr(t)){var a=!0;Er(n)}else a=!1;if(sa(n,r),null===n.stateNode)null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),Sa(n,t,o),Ea(n,t,o,r),o=!0;else if(null===e){var i=n.stateNode,s=n.memoizedProps;i.props=s;var c=i.context,u=t.contextType;"object"===typeof u&&null!==u?u=ca(u):u=br(n,u=Cr(t)?yr:gr.current);var l=t.getDerivedStateFromProps,d="function"===typeof l||"function"===typeof i.getSnapshotBeforeUpdate;d||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(s!==o||c!==u)&&_a(n,i,o,u),ua=!1;var p=n.memoizedState;i.state=p,fa(n,o,i,r),c=n.memoizedState,s!==o||p!==c||vr.current||ua?("function"===typeof l&&(ba(n,t,l,o),c=n.memoizedState),(s=ua||wa(n,t,s,o,p,c,u))?(d||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(n.effectTag|=4)):("function"===typeof i.componentDidMount&&(n.effectTag|=4),n.memoizedProps=o,n.memoizedState=c),i.props=o,i.state=c,i.context=u,o=s):("function"===typeof i.componentDidMount&&(n.effectTag|=4),o=!1)}else i=n.stateNode,da(e,n),s=n.memoizedProps,i.props=n.type===n.elementType?s:Xr(n.type,s),c=i.context,"object"===typeof(u=t.contextType)&&null!==u?u=ca(u):u=br(n,u=Cr(t)?yr:gr.current),(d="function"===typeof(l=t.getDerivedStateFromProps)||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(s!==o||c!==u)&&_a(n,i,o,u),ua=!1,c=n.memoizedState,i.state=c,fa(n,o,i,r),p=n.memoizedState,s!==o||c!==p||vr.current||ua?("function"===typeof l&&(ba(n,t,l,o),p=n.memoizedState),(l=ua||wa(n,t,s,o,c,p,u))?(d||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(o,p,u),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(o,p,u)),"function"===typeof i.componentDidUpdate&&(n.effectTag|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(n.effectTag|=256)):("function"!==typeof i.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(n.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(n.effectTag|=256),n.memoizedProps=o,n.memoizedState=p),i.props=o,i.state=p,i.context=u,o=l):("function"!==typeof i.componentDidUpdate||s===e.memoizedProps&&c===e.memoizedState||(n.effectTag|=4),"function"!==typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&c===e.memoizedState||(n.effectTag|=256),o=!1);return Vi(e,n,t,o,a,r)}function Vi(e,n,t,o,r,a){Di(e,n);var i=0!==(64&n.effectTag);if(!o&&!i)return r&&xr(n,t,!1),Zi(e,n,a);o=n.stateNode,Ri.current=n;var s=i&&"function"!==typeof t.getDerivedStateFromError?null:o.render();return n.effectTag|=1,null!==e&&i?(n.child=Ta(n,e.child,null,a),n.child=Ta(n,null,s,a)):Ni(e,n,s,a),n.memoizedState=o.state,r&&xr(n,t,!0),n.child}function Gi(e){var n=e.stateNode;n.pendingContext?Sr(0,n.pendingContext,n.pendingContext!==n.context):n.context&&Sr(0,n.context,!1),La(e,n.containerInfo)}var Hi,qi,Ki,Wi={dehydrated:null,retryTime:0};function $i(e,n,t){var o,r=n.mode,a=n.pendingProps,i=Ba.current,s=!1;if((o=0!==(64&n.effectTag))||(o=0!==(2&i)&&(null===e||null!==e.memoizedState)),o?(s=!0,n.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(i|=1),hr(Ba,1&i),null===e){if(void 0!==a.fallback&&Ti(n),s){if(s=a.fallback,(a=Lc(null,r,0,null)).return=n,0===(2&n.mode))for(e=null!==n.memoizedState?n.child.child:n.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(t=Lc(s,r,t,null)).return=n,a.sibling=t,n.memoizedState=Wi,n.child=a,t}return r=a.children,n.memoizedState=null,n.child=Pa(n,null,r,t)}if(null!==e.memoizedState){if(r=(e=e.child).sibling,s){if(a=a.fallback,(t=jc(e,e.pendingProps)).return=n,0===(2&n.mode)&&(s=null!==n.memoizedState?n.child.child:n.child)!==e.child)for(t.child=s;null!==s;)s.return=t,s=s.sibling;return(r=jc(r,a)).return=n,t.sibling=r,t.childExpirationTime=0,n.memoizedState=Wi,n.child=t,r}return t=Ta(n,e.child,a.children,t),n.memoizedState=null,n.child=t}if(e=e.child,s){if(s=a.fallback,(a=Lc(null,r,0,null)).return=n,a.child=e,null!==e&&(e.return=a),0===(2&n.mode))for(e=null!==n.memoizedState?n.child.child:n.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(t=Lc(s,r,t,null)).return=n,a.sibling=t,t.effectTag|=2,a.childExpirationTime=0,n.memoizedState=Wi,n.child=a,t}return n.memoizedState=null,n.child=Ta(n,e,a.children,t)}function Yi(e,n){e.expirationTime<n&&(e.expirationTime=n);var t=e.alternate;null!==t&&t.expirationTime<n&&(t.expirationTime=n),ia(e.return,n)}function Qi(e,n,t,o,r,a){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:o,tail:t,tailExpiration:0,tailMode:r,lastEffect:a}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=o,i.tail=t,i.tailExpiration=0,i.tailMode=r,i.lastEffect=a)}function Ji(e,n,t){var o=n.pendingProps,r=o.revealOrder,a=o.tail;if(Ni(e,n,o.children,t),0!==(2&(o=Ba.current)))o=1&o|2,n.effectTag|=64;else{if(null!==e&&0!==(64&e.effectTag))e:for(e=n.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Yi(e,t);else if(19===e.tag)Yi(e,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}if(hr(Ba,o),0===(2&n.mode))n.memoizedState=null;else switch(r){case"forwards":for(t=n.child,r=null;null!==t;)null!==(e=t.alternate)&&null===za(e)&&(r=t),t=t.sibling;null===(t=r)?(r=n.child,n.child=null):(r=t.sibling,t.sibling=null),Qi(n,!1,r,t,a,n.lastEffect);break;case"backwards":for(t=null,r=n.child,n.child=null;null!==r;){if(null!==(e=r.alternate)&&null===za(e)){n.child=r;break}e=r.sibling,r.sibling=t,t=r,r=e}Qi(n,!0,t,null,a,n.lastEffect);break;case"together":Qi(n,!1,null,null,void 0,n.lastEffect);break;default:n.memoizedState=null}return n.child}function Zi(e,n,t){null!==e&&(n.dependencies=e.dependencies);var o=n.expirationTime;if(0!==o&&hc(o),n.childExpirationTime<t)return null;if(null!==e&&n.child!==e.child)throw Error(i(153));if(null!==n.child){for(t=jc(e=n.child,e.pendingProps),n.child=t,t.return=n;null!==e.sibling;)e=e.sibling,(t=t.sibling=jc(e,e.pendingProps)).return=n;t.sibling=null}return n.child}function Xi(e,n){switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;null!==n;)null!==n.alternate&&(t=n),n=n.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var o=null;null!==t;)null!==t.alternate&&(o=t),t=t.sibling;null===o?n||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function es(e,n,t){var o=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Cr(n.type)&&wr(),null;case 3:return Fa(),mr(vr),mr(gr),(t=n.stateNode).pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),null!==e&&null!==e.child||!Mi(n)||(n.effectTag|=4),null;case 5:Da(n),t=Na(ja.current);var a=n.type;if(null!==e&&null!=n.stateNode)qi(e,n,a,o,t),e.ref!==n.ref&&(n.effectTag|=128);else{if(!o){if(null===n.stateNode)throw Error(i(166));return null}if(e=Na(Ia.current),Mi(n)){o=n.stateNode,a=n.type;var s=n.memoizedProps;switch(o[kt]=n,o[Tt]=s,a){case"iframe":case"object":case"embed":Yn("load",o);break;case"video":case"audio":for(e=0;e<Je.length;e++)Yn(Je[e],o);break;case"source":Yn("error",o);break;case"img":case"image":case"link":Yn("error",o),Yn("load",o);break;case"form":Yn("reset",o),Yn("submit",o);break;case"details":Yn("toggle",o);break;case"input":_e(o,s),Yn("invalid",o),ut(t,"onChange");break;case"select":o._wrapperState={wasMultiple:!!s.multiple},Yn("invalid",o),ut(t,"onChange");break;case"textarea":Me(o,s),Yn("invalid",o),ut(t,"onChange")}for(var c in it(a,s),e=null,s)if(s.hasOwnProperty(c)){var u=s[c];"children"===c?"string"===typeof u?o.textContent!==u&&(e=["children",u]):"number"===typeof u&&o.textContent!==""+u&&(e=["children",""+u]):E.hasOwnProperty(c)&&null!=u&&ut(t,c)}switch(a){case"input":Ce(o),Oe(o,s,!0);break;case"textarea":Ce(o),Re(o);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(o.onclick=lt)}t=e,n.updateQueue=t,null!==t&&(n.effectTag|=4)}else{switch(c=9===t.nodeType?t:t.ownerDocument,e===ct&&(e=Le(a)),e===ct?"script"===a?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof o.is?e=c.createElement(a,{is:o.is}):(e=c.createElement(a),"select"===a&&(c=e,o.multiple?c.multiple=!0:o.size&&(c.size=o.size))):e=c.createElementNS(e,a),e[kt]=n,e[Tt]=o,Hi(e,n),n.stateNode=e,c=st(a,o),a){case"iframe":case"object":case"embed":Yn("load",e),u=o;break;case"video":case"audio":for(u=0;u<Je.length;u++)Yn(Je[u],e);u=o;break;case"source":Yn("error",e),u=o;break;case"img":case"image":case"link":Yn("error",e),Yn("load",e),u=o;break;case"form":Yn("reset",e),Yn("submit",e),u=o;break;case"details":Yn("toggle",e),u=o;break;case"input":_e(e,o),u=Se(e,o),Yn("invalid",e),ut(t,"onChange");break;case"option":u=ke(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},u=r({},o,{value:void 0}),Yn("invalid",e),ut(t,"onChange");break;case"textarea":Me(e,o),u=Pe(e,o),Yn("invalid",e),ut(t,"onChange");break;default:u=o}it(a,u);var l=u;for(s in l)if(l.hasOwnProperty(s)){var d=l[s];"style"===s?rt(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&Be(e,d):"children"===s?"string"===typeof d?("textarea"!==a||""!==d)&&ze(e,d):"number"===typeof d&&ze(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(E.hasOwnProperty(s)?null!=d&&ut(t,s):null!=d&&J(e,s,d,c))}switch(a){case"input":Ce(e),Oe(e,o,!1);break;case"textarea":Ce(e),Re(e);break;case"option":null!=o.value&&e.setAttribute("value",""+ye(o.value));break;case"select":e.multiple=!!o.multiple,null!=(t=o.value)?Te(e,!!o.multiple,t,!1):null!=o.defaultValue&&Te(e,!!o.multiple,o.defaultValue,!0);break;default:"function"===typeof u.onClick&&(e.onclick=lt)}wt(a,o)&&(n.effectTag|=4)}null!==n.ref&&(n.effectTag|=128)}return null;case 6:if(e&&null!=n.stateNode)Ki(0,n,e.memoizedProps,o);else{if("string"!==typeof o&&null===n.stateNode)throw Error(i(166));t=Na(ja.current),Na(Ia.current),Mi(n)?(t=n.stateNode,o=n.memoizedProps,t[kt]=n,t.nodeValue!==o&&(n.effectTag|=4)):((t=(9===t.nodeType?t:t.ownerDocument).createTextNode(o))[kt]=n,n.stateNode=t)}return null;case 13:return mr(Ba),o=n.memoizedState,0!==(64&n.effectTag)?(n.expirationTime=t,n):(t=null!==o,o=!1,null===e?void 0!==n.memoizedProps.fallback&&Mi(n):(o=null!==(a=e.memoizedState),t||null===a||null!==(a=e.child.sibling)&&(null!==(s=n.firstEffect)?(n.firstEffect=a,a.nextEffect=s):(n.firstEffect=n.lastEffect=a,a.nextEffect=null),a.effectTag=8)),t&&!o&&0!==(2&n.mode)&&(null===e&&!0!==n.memoizedProps.unstable_avoidThisFallback||0!==(1&Ba.current)?Ns===ks&&(Ns=Ts):(Ns!==ks&&Ns!==Ts||(Ns=Ps),0!==Bs&&null!==Is&&(zc(Is,js),Vc(Is,Bs)))),(t||o)&&(n.effectTag|=4),null);case 4:return Fa(),null;case 10:return aa(n),null;case 17:return Cr(n.type)&&wr(),null;case 19:if(mr(Ba),null===(o=n.memoizedState))return null;if(a=0!==(64&n.effectTag),null===(s=o.rendering)){if(a)Xi(o,!1);else if(Ns!==ks||null!==e&&0!==(64&e.effectTag))for(s=n.child;null!==s;){if(null!==(e=za(s))){for(n.effectTag|=64,Xi(o,!1),null!==(a=e.updateQueue)&&(n.updateQueue=a,n.effectTag|=4),null===o.lastEffect&&(n.firstEffect=null),n.lastEffect=o.lastEffect,o=n.child;null!==o;)s=t,(a=o).effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,null===(e=a.alternate)?(a.childExpirationTime=0,a.expirationTime=s,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,s=e.dependencies,a.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),o=o.sibling;return hr(Ba,1&Ba.current|2),n.child}s=s.sibling}}else{if(!a)if(null!==(e=za(s))){if(n.effectTag|=64,a=!0,null!==(t=e.updateQueue)&&(n.updateQueue=t,n.effectTag|=4),Xi(o,!0),null===o.tail&&"hidden"===o.tailMode&&!s.alternate)return null!==(n=n.lastEffect=o.lastEffect)&&(n.nextEffect=null),null}else 2*Hr()-o.renderingStartTime>o.tailExpiration&&1<t&&(n.effectTag|=64,a=!0,Xi(o,!1),n.expirationTime=n.childExpirationTime=t-1);o.isBackwards?(s.sibling=n.child,n.child=s):(null!==(t=o.last)?t.sibling=s:n.child=s,o.last=s)}return null!==o.tail?(0===o.tailExpiration&&(o.tailExpiration=Hr()+500),t=o.tail,o.rendering=t,o.tail=t.sibling,o.lastEffect=n.lastEffect,o.renderingStartTime=Hr(),t.sibling=null,n=Ba.current,hr(Ba,a?1&n|2:1&n),t):null}throw Error(i(156,n.tag))}function ns(e){switch(e.tag){case 1:Cr(e.type)&&wr();var n=e.effectTag;return 4096&n?(e.effectTag=-4097&n|64,e):null;case 3:if(Fa(),mr(vr),mr(gr),0!==(64&(n=e.effectTag)))throw Error(i(285));return e.effectTag=-4097&n|64,e;case 5:return Da(e),null;case 13:return mr(Ba),4096&(n=e.effectTag)?(e.effectTag=-4097&n|64,e):null;case 19:return mr(Ba),null;case 4:return Fa(),null;case 10:return aa(e),null;default:return null}}function ts(e,n){return{value:e,source:n,stack:ve(n)}}Hi=function(e,n){for(var t=n.child;null!==t;){if(5===t.tag||6===t.tag)e.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===n)break;for(;null===t.sibling;){if(null===t.return||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},qi=function(e,n,t,o,a){var i=e.memoizedProps;if(i!==o){var s,c,u=n.stateNode;switch(Na(Ia.current),e=null,t){case"input":i=Se(u,i),o=Se(u,o),e=[];break;case"option":i=ke(u,i),o=ke(u,o),e=[];break;case"select":i=r({},i,{value:void 0}),o=r({},o,{value:void 0}),e=[];break;case"textarea":i=Pe(u,i),o=Pe(u,o),e=[];break;default:"function"!==typeof i.onClick&&"function"===typeof o.onClick&&(u.onclick=lt)}for(s in it(t,o),t=null,i)if(!o.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if("style"===s)for(c in u=i[s])u.hasOwnProperty(c)&&(t||(t={}),t[c]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(E.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in o){var l=o[s];if(u=null!=i?i[s]:void 0,o.hasOwnProperty(s)&&l!==u&&(null!=l||null!=u))if("style"===s)if(u){for(c in u)!u.hasOwnProperty(c)||l&&l.hasOwnProperty(c)||(t||(t={}),t[c]="");for(c in l)l.hasOwnProperty(c)&&u[c]!==l[c]&&(t||(t={}),t[c]=l[c])}else t||(e||(e=[]),e.push(s,t)),t=l;else"dangerouslySetInnerHTML"===s?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(e=e||[]).push(s,l)):"children"===s?u===l||"string"!==typeof l&&"number"!==typeof l||(e=e||[]).push(s,""+l):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(E.hasOwnProperty(s)?(null!=l&&ut(a,s),e||u===l||(e=[])):(e=e||[]).push(s,l))}t&&(e=e||[]).push("style",t),a=e,(n.updateQueue=a)&&(n.effectTag|=4)}},Ki=function(e,n,t,o){t!==o&&(n.effectTag|=4)};var os="function"===typeof WeakSet?WeakSet:Set;function rs(e,n){var t=n.source,o=n.stack;null===o&&null!==t&&(o=ve(t)),null!==t&&ge(t.type),n=n.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(n)}catch(r){setTimeout((function(){throw r}))}}function as(e){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(t){Oc(e,t)}else n.current=null}function is(e,n){switch(n.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&n.effectTag&&null!==e){var t=e.memoizedProps,o=e.memoizedState;n=(e=n.stateNode).getSnapshotBeforeUpdate(n.elementType===n.type?t:Xr(n.type,t),o),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(i(163))}function ss(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var o=t.destroy;t.destroy=void 0,void 0!==o&&o()}t=t.next}while(t!==n)}}function cs(e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var t=n=n.next;do{if((t.tag&e)===e){var o=t.create;t.destroy=o()}t=t.next}while(t!==n)}}function us(e,n,t){switch(t.tag){case 0:case 11:case 15:case 22:return void cs(3,t);case 1:if(e=t.stateNode,4&t.effectTag)if(null===n)e.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Xr(t.type,n.memoizedProps);e.componentDidUpdate(o,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(n=t.updateQueue)&&ga(t,n,e));case 3:if(null!==(n=t.updateQueue)){if(e=null,null!==t.child)switch(t.child.tag){case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}ga(t,n,e)}return;case 5:return e=t.stateNode,void(null===n&&4&t.effectTag&&wt(t.type,t.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===t.memoizedState&&(t=t.alternate,null!==t&&(t=t.memoizedState,null!==t&&(t=t.dehydrated,null!==t&&Un(t)))));case 19:case 17:case 20:case 21:return}throw Error(i(163))}function ls(e,n,t){switch("function"===typeof Pc&&Pc(n),n.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=n.updateQueue)&&null!==(e=e.lastEffect)){var o=e.next;Wr(97<t?97:t,(function(){var e=o;do{var t=e.destroy;if(void 0!==t){var r=n;try{t()}catch(a){Oc(r,a)}}e=e.next}while(e!==o)}))}break;case 1:as(n),"function"===typeof(t=n.stateNode).componentWillUnmount&&function(e,n){try{n.props=e.memoizedProps,n.state=e.memoizedState,n.componentWillUnmount()}catch(t){Oc(e,t)}}(n,t);break;case 5:as(n);break;case 4:gs(e,n,t)}}function ds(e){var n=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==n&&ds(n)}function ps(e){return 5===e.tag||3===e.tag||4===e.tag}function ms(e){e:{for(var n=e.return;null!==n;){if(ps(n)){var t=n;break e}n=n.return}throw Error(i(160))}switch(n=t.stateNode,t.tag){case 5:var o=!1;break;case 3:case 4:n=n.containerInfo,o=!0;break;default:throw Error(i(161))}16&t.effectTag&&(ze(n,""),t.effectTag&=-17);e:n:for(t=e;;){for(;null===t.sibling;){if(null===t.return||ps(t.return)){t=null;break e}t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.effectTag)continue n;if(null===t.child||4===t.tag)continue n;t.child.return=t,t=t.child}if(!(2&t.effectTag)){t=t.stateNode;break e}}o?hs(e,t,n):fs(e,t,n)}function hs(e,n,t){var o=e.tag,r=5===o||6===o;if(r)e=r?e.stateNode:e.stateNode.instance,n?8===t.nodeType?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(8===t.nodeType?(n=t.parentNode).insertBefore(e,t):(n=t).appendChild(e),null!==(t=t._reactRootContainer)&&void 0!==t||null!==n.onclick||(n.onclick=lt));else if(4!==o&&null!==(e=e.child))for(hs(e,n,t),e=e.sibling;null!==e;)hs(e,n,t),e=e.sibling}function fs(e,n,t){var o=e.tag,r=5===o||6===o;if(r)e=r?e.stateNode:e.stateNode.instance,n?t.insertBefore(e,n):t.appendChild(e);else if(4!==o&&null!==(e=e.child))for(fs(e,n,t),e=e.sibling;null!==e;)fs(e,n,t),e=e.sibling}function gs(e,n,t){for(var o,r,a=n,s=!1;;){if(!s){s=a.return;e:for(;;){if(null===s)throw Error(i(160));switch(o=s.stateNode,s.tag){case 5:r=!1;break e;case 3:case 4:o=o.containerInfo,r=!0;break e}s=s.return}s=!0}if(5===a.tag||6===a.tag){e:for(var c=e,u=a,l=t,d=u;;)if(ls(c,d,l),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===u)break e;for(;null===d.sibling;){if(null===d.return||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}r?(c=o,u=a.stateNode,8===c.nodeType?c.parentNode.removeChild(u):c.removeChild(u)):o.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){o=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(ls(e,a,t),null!==a.child){a.child.return=a,a=a.child;continue}if(a===n)break;for(;null===a.sibling;){if(null===a.return||a.return===n)return;4===(a=a.return).tag&&(s=!1)}a.sibling.return=a.return,a=a.sibling}}function vs(e,n){switch(n.tag){case 0:case 11:case 14:case 15:case 22:return void ss(3,n);case 1:return;case 5:var t=n.stateNode;if(null!=t){var o=n.memoizedProps,r=null!==e?e.memoizedProps:o;e=n.type;var a=n.updateQueue;if(n.updateQueue=null,null!==a){for(t[Tt]=o,"input"===e&&"radio"===o.type&&null!=o.name&&Ee(t,o),st(e,r),n=st(e,o),r=0;r<a.length;r+=2){var s=a[r],c=a[r+1];"style"===s?rt(t,c):"dangerouslySetInnerHTML"===s?Be(t,c):"children"===s?ze(t,c):J(t,s,c,n)}switch(e){case"input":xe(t,o);break;case"textarea":Ie(t,o);break;case"select":n=t._wrapperState.wasMultiple,t._wrapperState.wasMultiple=!!o.multiple,null!=(e=o.value)?Te(t,!!o.multiple,e,!1):n!==!!o.multiple&&(null!=o.defaultValue?Te(t,!!o.multiple,o.defaultValue,!0):Te(t,!!o.multiple,o.multiple?[]:"",!1))}}}return;case 6:if(null===n.stateNode)throw Error(i(162));return void(n.stateNode.nodeValue=n.memoizedProps);case 3:return void((n=n.stateNode).hydrate&&(n.hydrate=!1,Un(n.containerInfo)));case 12:return;case 13:if(t=n,null===n.memoizedState?o=!1:(o=!0,t=n.child,Vs=Hr()),null!==t)e:for(e=t;;){if(5===e.tag)a=e.stateNode,o?"function"===typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,r=void 0!==(r=e.memoizedProps.style)&&null!==r&&r.hasOwnProperty("display")?r.display:null,a.style.display=ot("display",r));else if(6===e.tag)e.stateNode.nodeValue=o?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void ys(n);case 19:return void ys(n);case 17:return}throw Error(i(163))}function ys(e){var n=e.updateQueue;if(null!==n){e.updateQueue=null;var t=e.stateNode;null===t&&(t=e.stateNode=new os),n.forEach((function(n){var o=kc.bind(null,e,n);t.has(n)||(t.add(n),n.then(o,o))}))}}var bs="function"===typeof WeakMap?WeakMap:Map;function Cs(e,n,t){(t=pa(t,null)).tag=3,t.payload={element:null};var o=n.value;return t.callback=function(){Hs||(Hs=!0,qs=o),rs(e,n)},t}function ws(e,n,t){(t=pa(t,null)).tag=3;var o=e.type.getDerivedStateFromError;if("function"===typeof o){var r=n.value;t.payload=function(){return rs(e,n),o(r)}}var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(t.callback=function(){"function"!==typeof o&&(null===Ks?Ks=new Set([this]):Ks.add(this),rs(e,n));var t=n.stack;this.componentDidCatch(n.value,{componentStack:null!==t?t:""})}),t}var Ss,_s=Math.ceil,Es=Q.ReactCurrentDispatcher,xs=Q.ReactCurrentOwner,Os=16,As=32,ks=0,Ts=3,Ps=4,Ms=0,Is=null,Rs=null,js=0,Ns=ks,Ls=null,Fs=1073741823,Us=1073741823,Ds=null,Bs=0,zs=!1,Vs=0,Gs=null,Hs=!1,qs=null,Ks=null,Ws=!1,$s=null,Ys=90,Qs=null,Js=0,Zs=null,Xs=0;function ec(){return 0!==(48&Ms)?1073741821-(Hr()/10|0):0!==Xs?Xs:Xs=1073741821-(Hr()/10|0)}function nc(e,n,t){if(0===(2&(n=n.mode)))return 1073741823;var o=qr();if(0===(4&n))return 99===o?1073741823:1073741822;if(0!==(Ms&Os))return js;if(null!==t)e=Zr(e,0|t.timeoutMs||5e3,250);else switch(o){case 99:e=1073741823;break;case 98:e=Zr(e,150,100);break;case 97:case 96:e=Zr(e,5e3,250);break;case 95:e=2;break;default:throw Error(i(326))}return null!==Is&&e===js&&--e,e}function tc(e,n){if(50<Js)throw Js=0,Zs=null,Error(i(185));if(null!==(e=oc(e,n))){var t=qr();1073741823===n?0!==(8&Ms)&&0===(48&Ms)?sc(e):(ac(e),0===Ms&&Qr()):ac(e),0===(4&Ms)||98!==t&&99!==t||(null===Qs?Qs=new Map([[e,n]]):(void 0===(t=Qs.get(e))||t>n)&&Qs.set(e,n))}}function oc(e,n){e.expirationTime<n&&(e.expirationTime=n);var t=e.alternate;null!==t&&t.expirationTime<n&&(t.expirationTime=n);var o=e.return,r=null;if(null===o&&3===e.tag)r=e.stateNode;else for(;null!==o;){if(t=o.alternate,o.childExpirationTime<n&&(o.childExpirationTime=n),null!==t&&t.childExpirationTime<n&&(t.childExpirationTime=n),null===o.return&&3===o.tag){r=o.stateNode;break}o=o.return}return null!==r&&(Is===r&&(hc(n),Ns===Ps&&zc(r,js)),Vc(r,n)),r}function rc(e){var n=e.lastExpiredTime;if(0!==n)return n;if(!Bc(e,n=e.firstPendingTime))return n;var t=e.lastPingedTime;return 2>=(e=t>(e=e.nextKnownPendingLevel)?t:e)&&n!==e?0:e}function ac(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Yr(sc.bind(null,e));else{var n=rc(e),t=e.callbackNode;if(0===n)null!==t&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var o=ec();if(1073741823===n?o=99:1===n||2===n?o=95:o=0>=(o=10*(1073741821-n)-10*(1073741821-o))?99:250>=o?98:5250>=o?97:95,null!==t){var r=e.callbackPriority;if(e.callbackExpirationTime===n&&r>=o)return;t!==Fr&&kr(t)}e.callbackExpirationTime=n,e.callbackPriority=o,n=1073741823===n?Yr(sc.bind(null,e)):$r(o,ic.bind(null,e),{timeout:10*(1073741821-n)-Hr()}),e.callbackNode=n}}}function ic(e,n){if(Xs=0,n)return Gc(e,n=ec()),ac(e),null;var t=rc(e);if(0!==t){if(n=e.callbackNode,0!==(48&Ms))throw Error(i(327));if(_c(),e===Is&&t===js||lc(e,t),null!==Rs){var o=Ms;Ms|=Os;for(var r=pc();;)try{gc();break}catch(c){dc(e,c)}if(ra(),Ms=o,Es.current=r,1===Ns)throw n=Ls,lc(e,t),zc(e,t),ac(e),n;if(null===Rs)switch(r=e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,o=Ns,Is=null,o){case ks:case 1:throw Error(i(345));case 2:Gc(e,2<t?2:t);break;case Ts:if(zc(e,t),t===(o=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bc(r)),1073741823===Fs&&10<(r=Vs+500-Hr())){if(zs){var a=e.lastPingedTime;if(0===a||a>=t){e.lastPingedTime=t,lc(e,t);break}}if(0!==(a=rc(e))&&a!==t)break;if(0!==o&&o!==t){e.lastPingedTime=o;break}e.timeoutHandle=_t(Cc.bind(null,e),r);break}Cc(e);break;case Ps:if(zc(e,t),t===(o=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=bc(r)),zs&&(0===(r=e.lastPingedTime)||r>=t)){e.lastPingedTime=t,lc(e,t);break}if(0!==(r=rc(e))&&r!==t)break;if(0!==o&&o!==t){e.lastPingedTime=o;break}if(1073741823!==Us?o=10*(1073741821-Us)-Hr():1073741823===Fs?o=0:(o=10*(1073741821-Fs)-5e3,0>(o=(r=Hr())-o)&&(o=0),(t=10*(1073741821-t)-r)<(o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*_s(o/1960))-o)&&(o=t)),10<o){e.timeoutHandle=_t(Cc.bind(null,e),o);break}Cc(e);break;case 5:if(1073741823!==Fs&&null!==Ds){a=Fs;var s=Ds;if(0>=(o=0|s.busyMinDurationMs)?o=0:(r=0|s.busyDelayMs,o=(a=Hr()-(10*(1073741821-a)-(0|s.timeoutMs||5e3)))<=r?0:r+o-a),10<o){zc(e,t),e.timeoutHandle=_t(Cc.bind(null,e),o);break}}Cc(e);break;default:throw Error(i(329))}if(ac(e),e.callbackNode===n)return ic.bind(null,e)}}return null}function sc(e){var n=e.lastExpiredTime;if(n=0!==n?n:1073741823,0!==(48&Ms))throw Error(i(327));if(_c(),e===Is&&n===js||lc(e,n),null!==Rs){var t=Ms;Ms|=Os;for(var o=pc();;)try{fc();break}catch(r){dc(e,r)}if(ra(),Ms=t,Es.current=o,1===Ns)throw t=Ls,lc(e,n),zc(e,n),ac(e),t;if(null!==Rs)throw Error(i(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,Is=null,Cc(e),ac(e)}return null}function cc(e,n){var t=Ms;Ms|=1;try{return e(n)}finally{0===(Ms=t)&&Qr()}}function uc(e,n){var t=Ms;Ms&=-2,Ms|=8;try{return e(n)}finally{0===(Ms=t)&&Qr()}}function lc(e,n){e.finishedWork=null,e.finishedExpirationTime=0;var t=e.timeoutHandle;if(-1!==t&&(e.timeoutHandle=-1,Et(t)),null!==Rs)for(t=Rs.return;null!==t;){var o=t;switch(o.tag){case 1:null!==(o=o.type.childContextTypes)&&void 0!==o&&wr();break;case 3:Fa(),mr(vr),mr(gr);break;case 5:Da(o);break;case 4:Fa();break;case 13:case 19:mr(Ba);break;case 10:aa(o)}t=t.return}Is=e,Rs=jc(e.current,null),js=n,Ns=ks,Ls=null,Us=Fs=1073741823,Ds=null,Bs=0,zs=!1}function dc(e,n){for(;;){try{if(ra(),Ga.current=Ci,Ya)for(var t=Ka.memoizedState;null!==t;){var o=t.queue;null!==o&&(o.pending=null),t=t.next}if(qa=0,$a=Wa=Ka=null,Ya=!1,null===Rs||null===Rs.return)return Ns=1,Ls=n,Rs=null;e:{var r=e,a=Rs.return,i=Rs,s=n;if(n=js,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s;if(0===(2&i.mode)){var u=i.alternate;u?(i.updateQueue=u.updateQueue,i.memoizedState=u.memoizedState,i.expirationTime=u.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var l=0!==(1&Ba.current),d=a;do{var p;if(p=13===d.tag){var m=d.memoizedState;if(null!==m)p=null!==m.dehydrated;else{var h=d.memoizedProps;p=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!l)}}if(p){var f=d.updateQueue;if(null===f){var g=new Set;g.add(c),d.updateQueue=g}else f.add(c);if(0===(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var v=pa(1073741823,null);v.tag=2,ma(i,v)}i.expirationTime=1073741823;break e}s=void 0,i=n;var y=r.pingCache;if(null===y?(y=r.pingCache=new bs,s=new Set,y.set(c,s)):void 0===(s=y.get(c))&&(s=new Set,y.set(c,s)),!s.has(i)){s.add(i);var b=Ac.bind(null,r,c,i);c.then(b,b)}d.effectTag|=4096,d.expirationTime=n;break e}d=d.return}while(null!==d);s=Error((ge(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ve(i))}5!==Ns&&(Ns=2),s=ts(s,i),d=a;do{switch(d.tag){case 3:c=s,d.effectTag|=4096,d.expirationTime=n,ha(d,Cs(d,c,n));break e;case 1:c=s;var C=d.type,w=d.stateNode;if(0===(64&d.effectTag)&&("function"===typeof C.getDerivedStateFromError||null!==w&&"function"===typeof w.componentDidCatch&&(null===Ks||!Ks.has(w)))){d.effectTag|=4096,d.expirationTime=n,ha(d,ws(d,c,n));break e}}d=d.return}while(null!==d)}Rs=yc(Rs)}catch(S){n=S;continue}break}}function pc(){var e=Es.current;return Es.current=Ci,null===e?Ci:e}function mc(e,n){e<Fs&&2<e&&(Fs=e),null!==n&&e<Us&&2<e&&(Us=e,Ds=n)}function hc(e){e>Bs&&(Bs=e)}function fc(){for(;null!==Rs;)Rs=vc(Rs)}function gc(){for(;null!==Rs&&!Ur();)Rs=vc(Rs)}function vc(e){var n=Ss(e.alternate,e,js);return e.memoizedProps=e.pendingProps,null===n&&(n=yc(e)),xs.current=null,n}function yc(e){Rs=e;do{var n=Rs.alternate;if(e=Rs.return,0===(2048&Rs.effectTag)){if(n=es(n,Rs,js),1===js||1!==Rs.childExpirationTime){for(var t=0,o=Rs.child;null!==o;){var r=o.expirationTime,a=o.childExpirationTime;r>t&&(t=r),a>t&&(t=a),o=o.sibling}Rs.childExpirationTime=t}if(null!==n)return n;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Rs.firstEffect),null!==Rs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Rs.firstEffect),e.lastEffect=Rs.lastEffect),1<Rs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Rs:e.firstEffect=Rs,e.lastEffect=Rs))}else{if(null!==(n=ns(Rs)))return n.effectTag&=2047,n;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(n=Rs.sibling))return n;Rs=e}while(null!==Rs);return Ns===ks&&(Ns=5),null}function bc(e){var n=e.expirationTime;return n>(e=e.childExpirationTime)?n:e}function Cc(e){var n=qr();return Wr(99,wc.bind(null,e,n)),null}function wc(e,n){do{_c()}while(null!==$s);if(0!==(48&Ms))throw Error(i(327));var t=e.finishedWork,o=e.finishedExpirationTime;if(null===t)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,t===e.current)throw Error(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var r=bc(t);if(e.firstPendingTime=r,o<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:o<=e.firstSuspendedTime&&(e.firstSuspendedTime=o-1),o<=e.lastPingedTime&&(e.lastPingedTime=0),o<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Is&&(Rs=Is=null,js=0),1<t.effectTag?null!==t.lastEffect?(t.lastEffect.nextEffect=t,r=t.firstEffect):r=t:r=t.firstEffect,null!==r){var a=Ms;Ms|=As,xs.current=null,bt=$n;var s=ft();if(gt(s)){if("selectionStart"in s)var c={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(c=(c=s.ownerDocument)&&c.defaultView||window).getSelection&&c.getSelection();if(u&&0!==u.rangeCount){c=u.anchorNode;var l=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{c.nodeType,d.nodeType}catch(O){c=null;break e}var p=0,m=-1,h=-1,f=0,g=0,v=s,y=null;n:for(;;){for(var b;v!==c||0!==l&&3!==v.nodeType||(m=p+l),v!==d||0!==u&&3!==v.nodeType||(h=p+u),3===v.nodeType&&(p+=v.nodeValue.length),null!==(b=v.firstChild);)y=v,v=b;for(;;){if(v===s)break n;if(y===c&&++f===l&&(m=p),y===d&&++g===u&&(h=p),null!==(b=v.nextSibling))break;y=(v=y).parentNode}v=b}c=-1===m||-1===h?null:{start:m,end:h}}else c=null}c=c||{start:0,end:0}}else c=null;Ct={activeElementDetached:null,focusedElem:s,selectionRange:c},$n=!1,Gs=r;do{try{Sc()}catch(O){if(null===Gs)throw Error(i(330));Oc(Gs,O),Gs=Gs.nextEffect}}while(null!==Gs);Gs=r;do{try{for(s=e,c=n;null!==Gs;){var C=Gs.effectTag;if(16&C&&ze(Gs.stateNode,""),128&C){var w=Gs.alternate;if(null!==w){var S=w.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(1038&C){case 2:ms(Gs),Gs.effectTag&=-3;break;case 6:ms(Gs),Gs.effectTag&=-3,vs(Gs.alternate,Gs);break;case 1024:Gs.effectTag&=-1025;break;case 1028:Gs.effectTag&=-1025,vs(Gs.alternate,Gs);break;case 4:vs(Gs.alternate,Gs);break;case 8:gs(s,l=Gs,c),ds(l)}Gs=Gs.nextEffect}}catch(O){if(null===Gs)throw Error(i(330));Oc(Gs,O),Gs=Gs.nextEffect}}while(null!==Gs);if(S=Ct,w=ft(),C=S.focusedElem,c=S.selectionRange,w!==C&&C&&C.ownerDocument&&ht(C.ownerDocument.documentElement,C)){null!==c&&gt(C)&&(w=c.start,void 0===(S=c.end)&&(S=w),"selectionStart"in C?(C.selectionStart=w,C.selectionEnd=Math.min(S,C.value.length)):(S=(w=C.ownerDocument||document)&&w.defaultView||window).getSelection&&(S=S.getSelection(),l=C.textContent.length,s=Math.min(c.start,l),c=void 0===c.end?s:Math.min(c.end,l),!S.extend&&s>c&&(l=c,c=s,s=l),l=mt(C,s),d=mt(C,c),l&&d&&(1!==S.rangeCount||S.anchorNode!==l.node||S.anchorOffset!==l.offset||S.focusNode!==d.node||S.focusOffset!==d.offset)&&((w=w.createRange()).setStart(l.node,l.offset),S.removeAllRanges(),s>c?(S.addRange(w),S.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),S.addRange(w))))),w=[];for(S=C;S=S.parentNode;)1===S.nodeType&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof C.focus&&C.focus(),C=0;C<w.length;C++)(S=w[C]).element.scrollLeft=S.left,S.element.scrollTop=S.top}$n=!!bt,Ct=bt=null,e.current=t,Gs=r;do{try{for(C=e;null!==Gs;){var _=Gs.effectTag;if(36&_&&us(C,Gs.alternate,Gs),128&_){w=void 0;var E=Gs.ref;if(null!==E){var x=Gs.stateNode;switch(Gs.tag){case 5:w=x;break;default:w=x}"function"===typeof E?E(w):E.current=w}}Gs=Gs.nextEffect}}catch(O){if(null===Gs)throw Error(i(330));Oc(Gs,O),Gs=Gs.nextEffect}}while(null!==Gs);Gs=null,Dr(),Ms=a}else e.current=t;if(Ws)Ws=!1,$s=e,Ys=n;else for(Gs=r;null!==Gs;)n=Gs.nextEffect,Gs.nextEffect=null,Gs=n;if(0===(n=e.firstPendingTime)&&(Ks=null),1073741823===n?e===Zs?Js++:(Js=0,Zs=e):Js=0,"function"===typeof Tc&&Tc(t.stateNode,o),ac(e),Hs)throw Hs=!1,e=qs,qs=null,e;return 0!==(8&Ms)||Qr(),null}function Sc(){for(;null!==Gs;){var e=Gs.effectTag;0!==(256&e)&&is(Gs.alternate,Gs),0===(512&e)||Ws||(Ws=!0,$r(97,(function(){return _c(),null}))),Gs=Gs.nextEffect}}function _c(){if(90!==Ys){var e=97<Ys?97:Ys;return Ys=90,Wr(e,Ec)}}function Ec(){if(null===$s)return!1;var e=$s;if($s=null,0!==(48&Ms))throw Error(i(331));var n=Ms;for(Ms|=As,e=e.current.firstEffect;null!==e;){try{var t=e;if(0!==(512&t.effectTag))switch(t.tag){case 0:case 11:case 15:case 22:ss(5,t),cs(5,t)}}catch(o){if(null===e)throw Error(i(330));Oc(e,o)}t=e.nextEffect,e.nextEffect=null,e=t}return Ms=n,Qr(),!0}function xc(e,n,t){ma(e,n=Cs(e,n=ts(t,n),1073741823)),null!==(e=oc(e,1073741823))&&ac(e)}function Oc(e,n){if(3===e.tag)xc(e,e,n);else for(var t=e.return;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var o=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof o.componentDidCatch&&(null===Ks||!Ks.has(o))){ma(t,e=ws(t,e=ts(n,e),1073741823)),null!==(t=oc(t,1073741823))&&ac(t);break}}t=t.return}}function Ac(e,n,t){var o=e.pingCache;null!==o&&o.delete(n),Is===e&&js===t?Ns===Ps||Ns===Ts&&1073741823===Fs&&Hr()-Vs<500?lc(e,js):zs=!0:Bc(e,t)&&(0!==(n=e.lastPingedTime)&&n<t||(e.lastPingedTime=t,ac(e)))}function kc(e,n){var t=e.stateNode;null!==t&&t.delete(n),0===(n=0)&&(n=nc(n=ec(),e,null)),null!==(e=oc(e,n))&&ac(e)}Ss=function(e,n,t){var o=n.expirationTime;if(null!==e){var r=n.pendingProps;if(e.memoizedProps!==r||vr.current)ji=!0;else{if(o<t){switch(ji=!1,n.tag){case 3:Gi(n),Ii();break;case 5:if(Ua(n),4&n.mode&&1!==t&&r.hidden)return n.expirationTime=n.childExpirationTime=1,null;break;case 1:Cr(n.type)&&Er(n);break;case 4:La(n,n.stateNode.containerInfo);break;case 10:o=n.memoizedProps.value,r=n.type._context,hr(ea,r._currentValue),r._currentValue=o;break;case 13:if(null!==n.memoizedState)return 0!==(o=n.child.childExpirationTime)&&o>=t?$i(e,n,t):(hr(Ba,1&Ba.current),null!==(n=Zi(e,n,t))?n.sibling:null);hr(Ba,1&Ba.current);break;case 19:if(o=n.childExpirationTime>=t,0!==(64&e.effectTag)){if(o)return Ji(e,n,t);n.effectTag|=64}if(null!==(r=n.memoizedState)&&(r.rendering=null,r.tail=null),hr(Ba,Ba.current),!o)return null}return Zi(e,n,t)}ji=!1}}else ji=!1;switch(n.expirationTime=0,n.tag){case 2:if(o=n.type,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),e=n.pendingProps,r=br(n,gr.current),sa(n,t),r=Za(null,n,o,e,r,t),n.effectTag|=1,"object"===typeof r&&null!==r&&"function"===typeof r.render&&void 0===r.$$typeof){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,Cr(o)){var a=!0;Er(n)}else a=!1;n.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,la(n);var s=o.getDerivedStateFromProps;"function"===typeof s&&ba(n,o,s,e),r.updater=Ca,n.stateNode=r,r._reactInternalFiber=n,Ea(n,o,e,t),n=Vi(null,n,o,!0,a,t)}else n.tag=0,Ni(null,n,r,t),n=n.child;return n;case 16:e:{if(r=n.elementType,null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),e=n.pendingProps,function(e){if(-1===e._status){e._status=0;var n=e._ctor;n=n(),e._result=n,n.then((function(n){0===e._status&&(n=n.default,e._status=1,e._result=n)}),(function(n){0===e._status&&(e._status=2,e._result=n)}))}}(r),1!==r._status)throw r._result;switch(r=r._result,n.type=r,a=n.tag=function(e){if("function"===typeof e)return Rc(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===ce)return 11;if(e===de)return 14}return 2}(r),e=Xr(r,e),a){case 0:n=Bi(null,n,r,e,t);break e;case 1:n=zi(null,n,r,e,t);break e;case 11:n=Li(null,n,r,e,t);break e;case 14:n=Fi(null,n,r,Xr(r.type,e),o,t);break e}throw Error(i(306,r,""))}return n;case 0:return o=n.type,r=n.pendingProps,Bi(e,n,o,r=n.elementType===o?r:Xr(o,r),t);case 1:return o=n.type,r=n.pendingProps,zi(e,n,o,r=n.elementType===o?r:Xr(o,r),t);case 3:if(Gi(n),o=n.updateQueue,null===e||null===o)throw Error(i(282));if(o=n.pendingProps,r=null!==(r=n.memoizedState)?r.element:null,da(e,n),fa(n,o,null,t),(o=n.memoizedState.element)===r)Ii(),n=Zi(e,n,t);else{if((r=n.stateNode.hydrate)&&(xi=xt(n.stateNode.containerInfo.firstChild),Ei=n,r=Oi=!0),r)for(t=Pa(n,null,o,t),n.child=t;t;)t.effectTag=-3&t.effectTag|1024,t=t.sibling;else Ni(e,n,o,t),Ii();n=n.child}return n;case 5:return Ua(n),null===e&&Ti(n),o=n.type,r=n.pendingProps,a=null!==e?e.memoizedProps:null,s=r.children,St(o,r)?s=null:null!==a&&St(o,a)&&(n.effectTag|=16),Di(e,n),4&n.mode&&1!==t&&r.hidden?(n.expirationTime=n.childExpirationTime=1,n=null):(Ni(e,n,s,t),n=n.child),n;case 6:return null===e&&Ti(n),null;case 13:return $i(e,n,t);case 4:return La(n,n.stateNode.containerInfo),o=n.pendingProps,null===e?n.child=Ta(n,null,o,t):Ni(e,n,o,t),n.child;case 11:return o=n.type,r=n.pendingProps,Li(e,n,o,r=n.elementType===o?r:Xr(o,r),t);case 7:return Ni(e,n,n.pendingProps,t),n.child;case 8:case 12:return Ni(e,n,n.pendingProps.children,t),n.child;case 10:e:{o=n.type._context,r=n.pendingProps,s=n.memoizedProps,a=r.value;var c=n.type._context;if(hr(ea,c._currentValue),c._currentValue=a,null!==s)if(c=s.value,0===(a=Vo(c,a)?0:0|("function"===typeof o._calculateChangedBits?o._calculateChangedBits(c,a):1073741823))){if(s.children===r.children&&!vr.current){n=Zi(e,n,t);break e}}else for(null!==(c=n.child)&&(c.return=n);null!==c;){var u=c.dependencies;if(null!==u){s=c.child;for(var l=u.firstContext;null!==l;){if(l.context===o&&0!==(l.observedBits&a)){1===c.tag&&((l=pa(t,null)).tag=2,ma(c,l)),c.expirationTime<t&&(c.expirationTime=t),null!==(l=c.alternate)&&l.expirationTime<t&&(l.expirationTime=t),ia(c.return,t),u.expirationTime<t&&(u.expirationTime=t);break}l=l.next}}else s=10===c.tag&&c.type===n.type?null:c.child;if(null!==s)s.return=c;else for(s=c;null!==s;){if(s===n){s=null;break}if(null!==(c=s.sibling)){c.return=s.return,s=c;break}s=s.return}c=s}Ni(e,n,r.children,t),n=n.child}return n;case 9:return r=n.type,o=(a=n.pendingProps).children,sa(n,t),o=o(r=ca(r,a.unstable_observedBits)),n.effectTag|=1,Ni(e,n,o,t),n.child;case 14:return a=Xr(r=n.type,n.pendingProps),Fi(e,n,r,a=Xr(r.type,a),o,t);case 15:return Ui(e,n,n.type,n.pendingProps,o,t);case 17:return o=n.type,r=n.pendingProps,r=n.elementType===o?r:Xr(o,r),null!==e&&(e.alternate=null,n.alternate=null,n.effectTag|=2),n.tag=1,Cr(o)?(e=!0,Er(n)):e=!1,sa(n,t),Sa(n,o,r),Ea(n,o,r,t),Vi(null,n,o,!0,e,t);case 19:return Ji(e,n,t)}throw Error(i(156,n.tag))};var Tc=null,Pc=null;function Mc(e,n,t,o){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ic(e,n,t,o){return new Mc(e,n,t,o)}function Rc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function jc(e,n){var t=e.alternate;return null===t?((t=Ic(e.tag,n,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.effectTag=0,t.nextEffect=null,t.firstEffect=null,t.lastEffect=null),t.childExpirationTime=e.childExpirationTime,t.expirationTime=e.expirationTime,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Nc(e,n,t,o,r,a){var s=2;if(o=e,"function"===typeof e)Rc(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case te:return Lc(t.children,r,a,n);case se:s=8,r|=7;break;case oe:s=8,r|=1;break;case re:return(e=Ic(12,t,n,8|r)).elementType=re,e.type=re,e.expirationTime=a,e;case ue:return(e=Ic(13,t,n,r)).type=ue,e.elementType=ue,e.expirationTime=a,e;case le:return(e=Ic(19,t,n,r)).elementType=le,e.expirationTime=a,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case ae:s=10;break e;case ie:s=9;break e;case ce:s=11;break e;case de:s=14;break e;case pe:s=16,o=null;break e;case me:s=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(n=Ic(s,t,n,r)).elementType=e,n.type=o,n.expirationTime=a,n}function Lc(e,n,t,o){return(e=Ic(7,e,o,n)).expirationTime=t,e}function Fc(e,n,t){return(e=Ic(6,e,null,n)).expirationTime=t,e}function Uc(e,n,t){return(n=Ic(4,null!==e.children?e.children:[],e.key,n)).expirationTime=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Dc(e,n,t){this.tag=n,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=t,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Bc(e,n){var t=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==t&&t>=n&&e<=n}function zc(e,n){var t=e.firstSuspendedTime,o=e.lastSuspendedTime;t<n&&(e.firstSuspendedTime=n),(o>n||0===t)&&(e.lastSuspendedTime=n),n<=e.lastPingedTime&&(e.lastPingedTime=0),n<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Vc(e,n){n>e.firstPendingTime&&(e.firstPendingTime=n);var t=e.firstSuspendedTime;0!==t&&(n>=t?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:n>=e.lastSuspendedTime&&(e.lastSuspendedTime=n+1),n>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=n))}function Gc(e,n){var t=e.lastExpiredTime;(0===t||t>n)&&(e.lastExpiredTime=n)}function Hc(e,n,t,o){var r=n.current,a=ec(),s=va.suspense;a=nc(a,r,s);e:if(t){n:{if(en(t=t._reactInternalFiber)!==t||1!==t.tag)throw Error(i(170));var c=t;do{switch(c.tag){case 3:c=c.stateNode.context;break n;case 1:if(Cr(c.type)){c=c.stateNode.__reactInternalMemoizedMergedChildContext;break n}}c=c.return}while(null!==c);throw Error(i(171))}if(1===t.tag){var u=t.type;if(Cr(u)){t=_r(t,u,c);break e}}t=c}else t=fr;return null===n.context?n.context=t:n.pendingContext=t,(n=pa(a,s)).payload={element:e},null!==(o=void 0===o?null:o)&&(n.callback=o),ma(r,n),tc(r,a),a}function qc(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Kc(e,n){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<n&&(e.retryTime=n)}function Wc(e,n){Kc(e,n),(e=e.alternate)&&Kc(e,n)}function $c(e,n,t){var o=new Dc(e,n,t=null!=t&&!0===t.hydrate),r=Ic(3,null,null,2===n?7:1===n?3:0);o.current=r,r.stateNode=o,la(r),e[Pt]=o.current,t&&0!==n&&function(e,n){var t=Xe(n);kn.forEach((function(e){gn(e,n,t)})),Tn.forEach((function(e){gn(e,n,t)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=o}function Yc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qc(e,n,t,o,r){var a=t._reactRootContainer;if(a){var i=a._internalRoot;if("function"===typeof r){var s=r;r=function(){var e=qc(i);s.call(e)}}Hc(n,i,e,r)}else{if(a=t._reactRootContainer=function(e,n){if(n||(n=!(!(n=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==n.nodeType||!n.hasAttribute("data-reactroot"))),!n)for(var t;t=e.lastChild;)e.removeChild(t);return new $c(e,0,n?{hydrate:!0}:void 0)}(t,o),i=a._internalRoot,"function"===typeof r){var c=r;r=function(){var e=qc(i);c.call(e)}}uc((function(){Hc(n,i,e,r)}))}return qc(i)}function Jc(e,n,t){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ne,key:null==o?null:""+o,children:e,containerInfo:n,implementation:t}}function Zc(e,n){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yc(n))throw Error(i(200));return Jc(e,n,null,t)}$c.prototype.render=function(e){Hc(e,this._internalRoot,null,null)},$c.prototype.unmount=function(){var e=this._internalRoot,n=e.containerInfo;Hc(null,e,null,(function(){n[Pt]=null}))},vn=function(e){if(13===e.tag){var n=Zr(ec(),150,100);tc(e,n),Wc(e,n)}},yn=function(e){13===e.tag&&(tc(e,3),Wc(e,3))},bn=function(e){if(13===e.tag){var n=ec();tc(e,n=nc(n,e,null)),Wc(e,n)}},k=function(e,n,t){switch(n){case"input":if(xe(e,t),n=t.name,"radio"===t.type&&null!=n){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var o=t[n];if(o!==e&&o.form===e.form){var r=jt(o);if(!r)throw Error(i(90));we(o),xe(o,r)}}}break;case"textarea":Ie(e,t);break;case"select":null!=(n=t.value)&&Te(e,!!t.multiple,n,!1)}},j=cc,N=function(e,n,t,o,r){var a=Ms;Ms|=4;try{return Wr(98,e.bind(null,n,t,o,r))}finally{0===(Ms=a)&&Qr()}},L=function(){0===(49&Ms)&&(function(){if(null!==Qs){var e=Qs;Qs=null,e.forEach((function(e,n){Gc(n,e),ac(n)})),Qr()}}(),_c())},F=function(e,n){var t=Ms;Ms|=2;try{return e(n)}finally{0===(Ms=t)&&Qr()}};var Xc={Events:[It,Rt,jt,O,_,zt,function(e){an(e,Bt)},I,R,Xn,un,_c,{current:!1}]};!function(e){var n=e.findFiberByHostInstance;(function(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var n=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(n.isDisabled||!n.supportsFiber)return!0;try{var t=n.inject(e);Tc=function(e){try{n.onCommitFiberRoot(t,e,void 0,64===(64&e.current.effectTag))}catch(o){}},Pc=function(e){try{n.onCommitFiberUnmount(t,e)}catch(o){}}}catch(o){}})(r({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=on(e))?null:e.stateNode},findFiberByHostInstance:function(e){return n?n(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Mt,bundleType:0,version:"16.13.1",rendererPackageName:"react-dom"}),n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Xc,n.createPortal=Zc,n.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var n=e._reactInternalFiber;if(void 0===n){if("function"===typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=on(n))?null:e.stateNode},n.flushSync=function(e,n){if(0!==(48&Ms))throw Error(i(187));var t=Ms;Ms|=1;try{return Wr(99,e.bind(null,n))}finally{Ms=t,Qr()}},n.hydrate=function(e,n,t){if(!Yc(n))throw Error(i(200));return Qc(null,e,n,!0,t)},n.render=function(e,n,t){if(!Yc(n))throw Error(i(200));return Qc(null,e,n,!1,t)},n.unmountComponentAtNode=function(e){if(!Yc(e))throw Error(i(40));return!!e._reactRootContainer&&(uc((function(){Qc(null,null,e,!1,(function(){e._reactRootContainer=null,e[Pt]=null}))})),!0)},n.unstable_batchedUpdates=cc,n.unstable_createPortal=function(e,n){return Zc(e,n,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},n.unstable_renderSubtreeIntoContainer=function(e,n,t,o){if(!Yc(t))throw Error(i(200));if(null==e||void 0===e._reactInternalFiber)throw Error(i(38));return Qc(e,n,t,!1,o)},n.version="16.13.1"},function(e,n,t){"use strict";e.exports=t(562)},function(e,n,t){"use strict";var o,r,a,i,s;if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,u=null,l=function e(){if(null!==c)try{var t=n.unstable_now();c(!0,t),c=null}catch(o){throw setTimeout(e,0),o}},d=Date.now();n.unstable_now=function(){return Date.now()-d},o=function(e){null!==c?setTimeout(o,0,e):(c=e,setTimeout(l,0))},r=function(e,n){u=setTimeout(e,n)},a=function(){clearTimeout(u)},i=function(){return!1},s=n.unstable_forceFrameRate=function(){}}else{var p=window.performance,m=window.Date,h=window.setTimeout,f=window.clearTimeout;if("undefined"!==typeof console){var g=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof g&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"===typeof p&&"function"===typeof p.now)n.unstable_now=function(){return p.now()};else{var v=m.now();n.unstable_now=function(){return m.now()-v}}var y=!1,b=null,C=-1,w=5,S=0;i=function(){return n.unstable_now()>=S},s=function(){},n.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,E=_.port2;_.port1.onmessage=function(){if(null!==b){var e=n.unstable_now();S=e+w;try{b(!0,e)?E.postMessage(null):(y=!1,b=null)}catch(t){throw E.postMessage(null),t}}else y=!1},o=function(e){b=e,y||(y=!0,E.postMessage(null))},r=function(e,t){C=h((function(){e(n.unstable_now())}),t)},a=function(){f(C),C=-1}}function x(e,n){var t=e.length;e.push(n);e:for(;;){var o=t-1>>>1,r=e[o];if(!(void 0!==r&&0<k(r,n)))break e;e[o]=n,e[t]=r,t=o}}function O(e){return void 0===(e=e[0])?null:e}function A(e){var n=e[0];if(void 0!==n){var t=e.pop();if(t!==n){e[0]=t;e:for(var o=0,r=e.length;o<r;){var a=2*(o+1)-1,i=e[a],s=a+1,c=e[s];if(void 0!==i&&0>k(i,t))void 0!==c&&0>k(c,i)?(e[o]=c,e[s]=t,o=s):(e[o]=i,e[a]=t,o=a);else{if(!(void 0!==c&&0>k(c,t)))break e;e[o]=c,e[s]=t,o=s}}}return n}return null}function k(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}var T=[],P=[],M=1,I=null,R=3,j=!1,N=!1,L=!1;function F(e){for(var n=O(P);null!==n;){if(null===n.callback)A(P);else{if(!(n.startTime<=e))break;A(P),n.sortIndex=n.expirationTime,x(T,n)}n=O(P)}}function U(e){if(L=!1,F(e),!N)if(null!==O(T))N=!0,o(D);else{var n=O(P);null!==n&&r(U,n.startTime-e)}}function D(e,t){N=!1,L&&(L=!1,a()),j=!0;var o=R;try{for(F(t),I=O(T);null!==I&&(!(I.expirationTime>t)||e&&!i());){var s=I.callback;if(null!==s){I.callback=null,R=I.priorityLevel;var c=s(I.expirationTime<=t);t=n.unstable_now(),"function"===typeof c?I.callback=c:I===O(T)&&A(T),F(t)}else A(T);I=O(T)}if(null!==I)var u=!0;else{var l=O(P);null!==l&&r(U,l.startTime-t),u=!1}return u}finally{I=null,R=o,j=!1}}function B(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var z=s;n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_continueExecution=function(){N||j||(N=!0,o(D))},n.unstable_getCurrentPriorityLevel=function(){return R},n.unstable_getFirstCallbackNode=function(){return O(T)},n.unstable_next=function(e){switch(R){case 1:case 2:case 3:var n=3;break;default:n=R}var t=R;R=n;try{return e()}finally{R=t}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=z,n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=R;R=e;try{return n()}finally{R=t}},n.unstable_scheduleCallback=function(e,t,i){var s=n.unstable_now();if("object"===typeof i&&null!==i){var c=i.delay;c="number"===typeof c&&0<c?s+c:s,i="number"===typeof i.timeout?i.timeout:B(e)}else i=B(e),c=s;return e={id:M++,callback:t,priorityLevel:e,startTime:c,expirationTime:i=c+i,sortIndex:-1},c>s?(e.sortIndex=c,x(P,e),null===O(T)&&e===O(P)&&(L?a():L=!0,r(U,c-s))):(e.sortIndex=i,x(T,e),N||j||(N=!0,o(D))),e},n.unstable_shouldYield=function(){var e=n.unstable_now();F(e);var t=O(T);return t!==I&&null!==I&&null!==t&&null!==t.callback&&t.startTime<=e&&t.expirationTime<I.expirationTime||i()},n.unstable_wrapCallback=function(e){var n=R;return function(){var t=R;R=n;try{return e.apply(this,arguments)}finally{R=t}}}},function(e,n,t){var o=function(e){"use strict";var n,t=Object.prototype,o=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function c(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{c({},"")}catch(M){c=function(e,n,t){return e[n]=t}}function u(e,n,t,o){var r=n&&n.prototype instanceof g?n:g,a=Object.create(r.prototype),i=new k(o||[]);return a._invoke=function(e,n,t){var o=d;return function(r,a){if(o===m)throw new Error("Generator is already running");if(o===h){if("throw"===r)throw a;return P()}for(t.method=r,t.arg=a;;){var i=t.delegate;if(i){var s=x(i,t);if(s){if(s===f)continue;return s}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(o===d)throw o=h,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);o=m;var c=l(e,n,t);if("normal"===c.type){if(o=t.done?h:p,c.arg===f)continue;return{value:c.arg,done:t.done}}"throw"===c.type&&(o=h,t.method="throw",t.arg=c.arg)}}}(e,t,i),a}function l(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(M){return{type:"throw",arg:M}}}e.wrap=u;var d="suspendedStart",p="suspendedYield",m="executing",h="completed",f={};function g(){}function v(){}function y(){}var b={};c(b,a,(function(){return this}));var C=Object.getPrototypeOf,w=C&&C(C(T([])));w&&w!==t&&o.call(w,a)&&(b=w);var S=y.prototype=g.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(n){c(e,n,(function(e){return this._invoke(n,e)}))}))}function E(e,n){function t(r,a,i,s){var c=l(e[r],e,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"===typeof d&&o.call(d,"__await")?n.resolve(d.__await).then((function(e){t("next",e,i,s)}),(function(e){t("throw",e,i,s)})):n.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return t("throw",e,i,s)}))}s(c.arg)}var r;this._invoke=function(e,o){function a(){return new n((function(n,r){t(e,o,n,r)}))}return r=r?r.then(a,a):a()}}function x(e,t){var o=e.iterator[t.method];if(o===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,x(e,t),"throw"===t.method))return f;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=l(o,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,f;var a=r.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function O(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function A(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(e){if(e){var t=e[a];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(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return i.next=i}}return{next:P}}function P(){return{value:n,done:!0}}return v.prototype=y,c(S,"constructor",y),c(y,"constructor",v),v.displayName=c(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var n="function"===typeof e&&e.constructor;return!!n&&(n===v||"GeneratorFunction"===(n.displayName||n.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},_(E.prototype),c(E.prototype,i,(function(){return this})),e.AsyncIterator=E,e.async=function(n,t,o,r,a){void 0===a&&(a=Promise);var i=new E(u(n,t,o,r),a);return e.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},_(S),c(S,s,"Generator"),c(S,a,(function(){return this})),c(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var n=[];for(var t in e)n.push(t);return n.reverse(),function t(){for(;n.length;){var o=n.pop();if(o in e)return t.value=o,t.done=!1,t}return t.done=!0,t}},e.values=T,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},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(o,r){return s.type="throw",s.arg=e,t.next=o,r&&(t.method="next",t.arg=n),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,n){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=n&&n<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=n,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(e,n){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&&n&&(this.next=n),f},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),A(t),f}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var o=t.completion;if("throw"===o.type){var r=o.arg;A(t)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,o){return this.delegate={iterator:T(e),resultName:t,nextLoc:o},"next"===this.method&&(this.arg=n),f}},e}(e.exports);try{regeneratorRuntime=o}catch(r){"object"===typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},function(e,n){e.exports=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){var o=/(?:<!--[\S\s]*?-->|<(?:"[^"]*"['"]*|'[^']*'['"]*|[^'">])+>)/g,r=t(566),a=Object.create?Object.create(null):{};function i(e,n,t,o,r){var a=n.indexOf("<",o),i=n.slice(o,-1===a?void 0:a);/^\s*$/.test(i)&&(i=" "),(!r&&a>-1&&t+e.length>=0||" "!==i)&&e.push({type:"text",content:i})}e.exports=function(e,n){n||(n={}),n.components||(n.components=a);var t,s=[],c=-1,u=[],l={},d=!1;return e.replace(o,(function(o,a){if(d){if(o!=="</"+t.name+">")return;d=!1}var p,m="/"!==o.charAt(1),h=0===o.indexOf("\x3c!--"),f=a+o.length,g=e.charAt(f);m&&!h&&(c++,"tag"===(t=r(o)).type&&n.components[t.name]&&(t.type="component",d=!0),t.voidElement||d||!g||"<"===g||i(t.children,e,c,f,n.ignoreWhitespace),l[t.tagName]=t,0===c&&s.push(t),(p=u[c-1])&&p.children.push(t),u[c]=t),(h||!m||t.voidElement)&&(h||c--,!d&&"<"!==g&&g&&i(p=-1===c?s:u[c].children,e,c,f,n.ignoreWhitespace))})),!s.length&&e.length&&i(s,e,0,0,n.ignoreWhitespace),s}},function(e,n,t){var o=/([\w-]+)|=|(['"])([.\s\S]*?)\2/g,r=t(567);e.exports=function(e){var n,t=0,a=!0,i={type:"tag",name:"",voidElement:!1,attrs:{},children:[]};return e.replace(o,(function(o){if("="===o)return a=!0,void t++;a?0===t?((r[o]||"/"===e.charAt(e.length-2))&&(i.voidElement=!0),i.name=o):(i.attrs[n]=o.replace(/^['"]|['"]$/g,""),n=void 0):(n&&(i.attrs[n]=n),n=o),t++,a=!1})),i}},function(e,n){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,menuitem:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},function(e,n){function t(e,n){switch(n.type){case"text":return e+n.content;case"tag":return e+="<"+n.name+(n.attrs?function(e){var n=[];for(var t in e)n.push(t+'="'+e[t]+'"');return n.length?" "+n.join(" "):""}(n.attrs):"")+(n.voidElement?"/>":">"),n.voidElement?e:e+n.children.reduce(t,"")+"</"+n.name+">"}}e.exports=function(e){return e.reduce((function(e,n){return e+t("",n)}),"")}},function(e,n){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(c){s=!0,r=c}finally{try{i||null==t.return||t.return()}finally{if(s)throw r}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){var o=t(572);e.exports=function(e,n){if(e){if("string"===typeof e)return o(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,n):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";var o=t(575);function r(){}function a(){}a.resetWarningCache=r,e.exports=function(){function e(e,n,t,r,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:r};return t.PropTypes=t,t}},function(e,n,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,n,t){"use strict";var o="function"===typeof Symbol&&Symbol.for,r=o?Symbol.for("react.element"):60103,a=o?Symbol.for("react.portal"):60106,i=o?Symbol.for("react.fragment"):60107,s=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,u=o?Symbol.for("react.provider"):60109,l=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.async_mode"):60111,p=o?Symbol.for("react.concurrent_mode"):60111,m=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,f=o?Symbol.for("react.suspense_list"):60120,g=o?Symbol.for("react.memo"):60115,v=o?Symbol.for("react.lazy"):60116,y=o?Symbol.for("react.block"):60121,b=o?Symbol.for("react.fundamental"):60117,C=o?Symbol.for("react.responder"):60118,w=o?Symbol.for("react.scope"):60119;function S(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case r:switch(e=e.type){case d:case p:case i:case c:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case m:case v:case g:case u:return e;default:return n}}case a:return n}}}function _(e){return S(e)===p}n.AsyncMode=d,n.ConcurrentMode=p,n.ContextConsumer=l,n.ContextProvider=u,n.Element=r,n.ForwardRef=m,n.Fragment=i,n.Lazy=v,n.Memo=g,n.Portal=a,n.Profiler=c,n.StrictMode=s,n.Suspense=h,n.isAsyncMode=function(e){return _(e)||S(e)===d},n.isConcurrentMode=_,n.isContextConsumer=function(e){return S(e)===l},n.isContextProvider=function(e){return S(e)===u},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},n.isForwardRef=function(e){return S(e)===m},n.isFragment=function(e){return S(e)===i},n.isLazy=function(e){return S(e)===v},n.isMemo=function(e){return S(e)===g},n.isPortal=function(e){return S(e)===a},n.isProfiler=function(e){return S(e)===c},n.isStrictMode=function(e){return S(e)===s},n.isSuspense=function(e){return S(e)===h},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===p||e===c||e===s||e===h||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===m||e.$$typeof===b||e.$$typeof===C||e.$$typeof===w||e.$$typeof===y)},n.typeOf=S},function(e,n){e.exports=function(e){if(!e.webpackPolyfill){var n=Object.create(e);n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),Object.defineProperty(n,"exports",{enumerable:!0}),n.webpackPolyfill=1}return n}},function(e,n,t){var o,r,a=t(209),i=t(210),s=0,c=0;e.exports=function(e,n,t){var u=n&&t||0,l=n||[],d=(e=e||{}).node||o,p=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==p){var m=a();null==d&&(d=o=[1|m[0],m[1],m[2],m[3],m[4],m[5]]),null==p&&(p=r=16383&(m[6]<<8|m[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),f=void 0!==e.nsecs?e.nsecs:c+1,g=h-s+(f-c)/1e4;if(g<0&&void 0===e.clockseq&&(p=p+1&16383),(g<0||h>s)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,c=f,r=p;var v=(1e4*(268435455&(h+=122192928e5))+f)%4294967296;l[u++]=v>>>24&255,l[u++]=v>>>16&255,l[u++]=v>>>8&255,l[u++]=255&v;var y=h/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=p>>>8|128,l[u++]=255&p;for(var b=0;b<6;++b)l[u+b]=d[b];return n||i(l)}},function(e,n,t){var o=t(209),r=t(210);e.exports=function(e,n,t){var a=n&&t||0;"string"==typeof e&&(n="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||o)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,n)for(var s=0;s<16;++s)n[a+s]=i[s];return n||r(i)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var o=t(1),r=t(211),a=t(581),i=t(582),s=function(){function e(e){if(this.hash=new a.RawSha256,e){this.outer=new a.RawSha256;var n=function(e){var n=(0,i.convertToBuffer)(e);if(n.byteLength>r.BLOCK_SIZE){var t=new a.RawSha256;t.update(n),n=t.digest()}var o=new Uint8Array(r.BLOCK_SIZE);return o.set(n),o}(e),t=new Uint8Array(r.BLOCK_SIZE);t.set(n);for(var o=0;o<r.BLOCK_SIZE;o++)n[o]^=54,t[o]^=92;this.hash.update(n),this.outer.update(t);for(o=0;o<n.byteLength;o++)n[o]=0}}return e.prototype.update=function(e){if(!(0,i.isEmptyData)(e)&&!this.error)try{this.hash.update((0,i.convertToBuffer)(e))}catch(n){this.error=n}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return(0,o.__awaiter)(this,void 0,void 0,(function(){return(0,o.__generator)(this,(function(e){return[2,this.digestSync()]}))}))},e}();n.Sha256=s},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RawSha256=void 0;var o=t(211),r=function(){function e(){this.state=Int32Array.from(o.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");var n=0,t=e.byteLength;if(this.bytesHashed+=t,8*this.bytesHashed>o.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;t>0;)this.buffer[this.bufferLength++]=e[n++],t--,this.bufferLength===o.BLOCK_SIZE&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var e=8*this.bytesHashed,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),t=this.bufferLength;if(n.setUint8(this.bufferLength++,128),t%o.BLOCK_SIZE>=o.BLOCK_SIZE-8){for(var r=this.bufferLength;r<o.BLOCK_SIZE;r++)n.setUint8(r,0);this.hashBuffer(),this.bufferLength=0}for(r=this.bufferLength;r<o.BLOCK_SIZE-8;r++)n.setUint8(r,0);n.setUint32(o.BLOCK_SIZE-8,Math.floor(e/4294967296),!0),n.setUint32(o.BLOCK_SIZE-4,e),this.hashBuffer(),this.finished=!0}var a=new Uint8Array(o.DIGEST_LENGTH);for(r=0;r<8;r++)a[4*r]=this.state[r]>>>24&255,a[4*r+1]=this.state[r]>>>16&255,a[4*r+2]=this.state[r]>>>8&255,a[4*r+3]=this.state[r]>>>0&255;return a},e.prototype.hashBuffer=function(){for(var e=this.buffer,n=this.state,t=n[0],r=n[1],a=n[2],i=n[3],s=n[4],c=n[5],u=n[6],l=n[7],d=0;d<o.BLOCK_SIZE;d++){if(d<16)this.temp[d]=(255&e[4*d])<<24|(255&e[4*d+1])<<16|(255&e[4*d+2])<<8|255&e[4*d+3];else{var p=this.temp[d-2],m=(p>>>17|p<<15)^(p>>>19|p<<13)^p>>>10,h=((p=this.temp[d-15])>>>7|p<<25)^(p>>>18|p<<14)^p>>>3;this.temp[d]=(m+this.temp[d-7]|0)+(h+this.temp[d-16]|0)}var f=(((s>>>6|s<<26)^(s>>>11|s<<21)^(s>>>25|s<<7))+(s&c^~s&u)|0)+(l+(o.KEY[d]+this.temp[d]|0)|0)|0,g=((t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10))+(t&r^t&a^r&a)|0;l=u,u=c,c=s,s=i+f|0,i=a,a=r,r=t,t=f+g|0}n[0]+=t,n[1]+=r,n[2]+=a,n[3]+=i,n[4]+=s,n[5]+=c,n[6]+=u,n[7]+=l},e}();n.RawSha256=r},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=n.numToUint8=n.isEmptyData=n.convertToBuffer=void 0;var o=t(583);Object.defineProperty(n,"convertToBuffer",{enumerable:!0,get:function(){return o.convertToBuffer}});var r=t(587);Object.defineProperty(n,"isEmptyData",{enumerable:!0,get:function(){return r.isEmptyData}});var a=t(588);Object.defineProperty(n,"numToUint8",{enumerable:!0,get:function(){return a.numToUint8}});var i=t(589);Object.defineProperty(n,"uint32ArrayFrom",{enumerable:!0,get:function(){return i.uint32ArrayFrom}})},function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.convertToBuffer=void 0;var o=t(744),r="undefined"!==typeof e&&e.from?function(n){return e.from(n,"utf8")}:o.fromUtf8;n.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"===typeof e?r(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}).call(this,t(37).Buffer)},function(e,n,t){"use strict";n.byteLength=function(e){var n=u(e),t=n[0],o=n[1];return 3*(t+o)/4-o},n.toByteArray=function(e){var n,t,o=u(e),i=o[0],s=o[1],c=new a(function(e,n,t){return 3*(n+t)/4-t}(0,i,s)),l=0,d=s>0?i-4:i;for(t=0;t<d;t+=4)n=r[e.charCodeAt(t)]<<18|r[e.charCodeAt(t+1)]<<12|r[e.charCodeAt(t+2)]<<6|r[e.charCodeAt(t+3)],c[l++]=n>>16&255,c[l++]=n>>8&255,c[l++]=255&n;2===s&&(n=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,c[l++]=255&n);1===s&&(n=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,c[l++]=n>>8&255,c[l++]=255&n);return c},n.fromByteArray=function(e){for(var n,t=e.length,r=t%3,a=[],i=16383,s=0,c=t-r;s<c;s+=i)a.push(l(e,s,s+i>c?c:s+i));1===r?(n=e[t-1],a.push(o[n>>2]+o[n<<4&63]+"==")):2===r&&(n=(e[t-2]<<8)+e[t-1],a.push(o[n>>10]+o[n>>4&63]+o[n<<2&63]+"="));return a.join("")};for(var o=[],r=[],a="undefined"!==typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=i.length;s<c;++s)o[s]=i[s],r[i.charCodeAt(s)]=s;function u(e){var n=e.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");return-1===t&&(t=n),[t,t===n?0:4-t%4]}function l(e,n,t){for(var r,a,i=[],s=n;s<t;s+=3)r=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),i.push(o[(a=r)>>18&63]+o[a>>12&63]+o[a>>6&63]+o[63&a]);return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},function(e,n){n.read=function(e,n,t,o,r){var a,i,s=8*r-o-1,c=(1<<s)-1,u=c>>1,l=-7,d=t?r-1:0,p=t?-1:1,m=e[n+d];for(d+=p,a=m&(1<<-l)-1,m>>=-l,l+=s;l>0;a=256*a+e[n+d],d+=p,l-=8);for(i=a&(1<<-l)-1,a>>=-l,l+=o;l>0;i=256*i+e[n+d],d+=p,l-=8);if(0===a)a=1-u;else{if(a===c)return i?NaN:1/0*(m?-1:1);i+=Math.pow(2,o),a-=u}return(m?-1:1)*i*Math.pow(2,a-o)},n.write=function(e,n,t,o,r,a){var i,s,c,u=8*a-r-1,l=(1<<u)-1,d=l>>1,p=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,m=o?0:a-1,h=o?1:-1,f=n<0||0===n&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(s=isNaN(n)?1:0,i=l):(i=Math.floor(Math.log(n)/Math.LN2),n*(c=Math.pow(2,-i))<1&&(i--,c*=2),(n+=i+d>=1?p/c:p*Math.pow(2,1-d))*c>=2&&(i++,c/=2),i+d>=l?(s=0,i=l):i+d>=1?(s=(n*c-1)*Math.pow(2,r),i+=d):(s=n*Math.pow(2,d-1)*Math.pow(2,r),i=0));r>=8;e[t+m]=255&s,m+=h,s/=256,r-=8);for(i=i<<r|s,u+=r;u>0;e[t+m]=255&i,m+=h,i/=256,u-=8);e[t+m-h]|=128*f}},function(e,n){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isEmptyData=void 0,n.isEmptyData=function(e){return"string"===typeof e?0===e.length:0===e.byteLength}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.numToUint8=void 0,n.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=void 0,n.uint32ArrayFrom=function(e){if(!Array.from){for(var n=new Uint32Array(e.length);0<e.length;)n[0]=e[0];return n}return Uint32Array.from(e)}},function(e,n,t){(function(e,o){var r;!function(a){n&&n.nodeType,e&&e.nodeType;var i="object"==typeof o&&o;i.global!==i&&i.window!==i&&i.self;var s,c=2147483647,u=36,l=/^xn--/,d=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,f=String.fromCharCode;function g(e){throw new RangeError(m[e])}function v(e,n){for(var t=e.length,o=[];t--;)o[t]=n(e[t]);return o}function y(e,n){var t=e.split("@"),o="";return t.length>1&&(o=t[0]+"@",e=t[1]),o+v((e=e.replace(p,".")).split("."),n).join(".")}function b(e){for(var n,t,o=[],r=0,a=e.length;r<a;)(n=e.charCodeAt(r++))>=55296&&n<=56319&&r<a?56320==(64512&(t=e.charCodeAt(r++)))?o.push(((1023&n)<<10)+(1023&t)+65536):(o.push(n),r--):o.push(n);return o}function C(e){return v(e,(function(e){var n="";return e>65535&&(n+=f((e-=65536)>>>10&1023|55296),e=56320|1023&e),n+=f(e)})).join("")}function w(e,n){return e+22+75*(e<26)-((0!=n)<<5)}function S(e,n,t){var o=0;for(e=t?h(e/700):e>>1,e+=h(e/n);e>455;o+=u)e=h(e/35);return h(o+36*e/(e+38))}function _(e){var n,t,o,r,a,i,s,l,d,p,m,f=[],v=e.length,y=0,b=128,w=72;for((t=e.lastIndexOf("-"))<0&&(t=0),o=0;o<t;++o)e.charCodeAt(o)>=128&&g("not-basic"),f.push(e.charCodeAt(o));for(r=t>0?t+1:0;r<v;){for(a=y,i=1,s=u;r>=v&&g("invalid-input"),((l=(m=e.charCodeAt(r++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:u)>=u||l>h((c-y)/i))&&g("overflow"),y+=l*i,!(l<(d=s<=w?1:s>=w+26?26:s-w));s+=u)i>h(c/(p=u-d))&&g("overflow"),i*=p;w=S(y-a,n=f.length+1,0==a),h(y/n)>c-b&&g("overflow"),b+=h(y/n),y%=n,f.splice(y++,0,b)}return C(f)}function E(e){var n,t,o,r,a,i,s,l,d,p,m,v,y,C,_,E=[];for(v=(e=b(e)).length,n=128,t=0,a=72,i=0;i<v;++i)(m=e[i])<128&&E.push(f(m));for(o=r=E.length,r&&E.push("-");o<v;){for(s=c,i=0;i<v;++i)(m=e[i])>=n&&m<s&&(s=m);for(s-n>h((c-t)/(y=o+1))&&g("overflow"),t+=(s-n)*y,n=s,i=0;i<v;++i)if((m=e[i])<n&&++t>c&&g("overflow"),m==n){for(l=t,d=u;!(l<(p=d<=a?1:d>=a+26?26:d-a));d+=u)_=l-p,C=u-p,E.push(f(w(p+_%C,0))),l=h(_/C);E.push(f(w(l,0))),a=S(t,y,o==r),t=0,++o}++t,++n}return E.join("")}s={version:"1.4.1",ucs2:{decode:b,encode:C},decode:_,encode:E,toASCII:function(e){return y(e,(function(e){return d.test(e)?"xn--"+E(e):e}))},toUnicode:function(e){return y(e,(function(e){return l.test(e)?_(e.slice(4).toLowerCase()):e}))}},void 0===(r=function(){return s}.call(n,t,n,e))||(e.exports=r)}()}).call(this,t(182)(e),t(102))},function(e,n,t){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,n,t){"use strict";n.decode=n.parse=t(593),n.encode=n.stringify=t(594)},function(e,n,t){"use strict";function o(e,n){return Object.prototype.hasOwnProperty.call(e,n)}e.exports=function(e,n,t,a){n=n||"&",t=t||"=";var i={};if("string"!==typeof e||0===e.length)return i;var s=/\+/g;e=e.split(n);var c=1e3;a&&"number"===typeof a.maxKeys&&(c=a.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var d,p,m,h,f=e[l].replace(s,"%20"),g=f.indexOf(t);g>=0?(d=f.substr(0,g),p=f.substr(g+1)):(d=f,p=""),m=decodeURIComponent(d),h=decodeURIComponent(p),o(i,m)?r(i[m])?i[m].push(h):i[m]=[i[m],h]:i[m]=h}return i};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,n,t){"use strict";var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,n,t,s){return n=n||"&",t=t||"=",null===e&&(e=void 0),"object"===typeof e?a(i(e),(function(i){var s=encodeURIComponent(o(i))+t;return r(e[i])?a(e[i],(function(e){return s+encodeURIComponent(o(e))})).join(n):s+encodeURIComponent(o(e[i]))})).join(n):s?encodeURIComponent(o(s))+t+encodeURIComponent(o(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function a(e,n){if(e.map)return e.map(n);for(var t=[],o=0;o<e.length;o++)t.push(n(e[o],o));return t}var i=Object.keys||function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Sha256=void 0;var o=t(212),r=t(214),a=t(63),i=t(602),s=t(604),c=t(184),u=function(){function e(e){(0,i.supportsWebCrypto)((0,c.locateWindow)())?this.hash=new r.Sha256(e):(0,s.isMsWindow)((0,c.locateWindow)())?this.hash=new o.Sha256(e):this.hash=new a.Sha256(e)}return e.prototype.update=function(e,n){this.hash.update(e,n)},e.prototype.digest=function(){return this.hash.digest()},e}();n.Sha256=u},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isEmptyData=void 0,n.isEmptyData=function(e){return"string"===typeof e?0===e.length:0===e.byteLength}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=n.numToUint8=n.isEmptyData=n.convertToBuffer=void 0;var o=t(598);Object.defineProperty(n,"convertToBuffer",{enumerable:!0,get:function(){return o.convertToBuffer}});var r=t(599);Object.defineProperty(n,"isEmptyData",{enumerable:!0,get:function(){return r.isEmptyData}});var a=t(600);Object.defineProperty(n,"numToUint8",{enumerable:!0,get:function(){return a.numToUint8}});var i=t(601);Object.defineProperty(n,"uint32ArrayFrom",{enumerable:!0,get:function(){return i.uint32ArrayFrom}})},function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.convertToBuffer=void 0;var o=t(504),r="undefined"!==typeof e&&e.from?function(n){return e.from(n,"utf8")}:o.fromUtf8;n.convertToBuffer=function(e){return e instanceof Uint8Array?e:"string"===typeof e?r(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}).call(this,t(37).Buffer)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isEmptyData=void 0,n.isEmptyData=function(e){return"string"===typeof e?0===e.length:0===e.byteLength}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.numToUint8=void 0,n.numToUint8=function(e){return new Uint8Array([(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.uint32ArrayFrom=void 0,n.uint32ArrayFrom=function(e){if(!Array.from){for(var n=new Uint32Array(e.length);0<e.length;)n[0]=e[0];return n}return Uint32Array.from(e)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),t(1).__exportStar(t(603),n)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.supportsZeroByteGCM=n.supportsSubtleCrypto=n.supportsSecureRandom=n.supportsWebCrypto=void 0;var o=t(1),r=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];function a(e){return"object"===typeof e&&"object"===typeof e.crypto&&"function"===typeof e.crypto.getRandomValues}function i(e){return e&&r.every((function(n){return"function"===typeof e[n]}))}n.supportsWebCrypto=function(e){return!(!a(e)||"object"!==typeof e.crypto.subtle)&&i(e.crypto.subtle)},n.supportsSecureRandom=a,n.supportsSubtleCrypto=i,n.supportsZeroByteGCM=function(e){return o.__awaiter(this,void 0,void 0,(function(){var n;return o.__generator(this,(function(t){switch(t.label){case 0:if(!i(e))return[2,!1];t.label=1;case 1:return t.trys.push([1,4,,5]),[4,e.generateKey({name:"AES-GCM",length:128},!1,["encrypt"])];case 2:return n=t.sent(),[4,e.encrypt({name:"AES-GCM",iv:new Uint8Array(Array(12)),additionalData:new Uint8Array(Array(16)),tagLength:128},n,new Uint8Array(0))];case 3:return[2,16===t.sent().byteLength];case 4:return t.sent(),[2,!1];case 5:return[2]}}))}))}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=t(1);o.__exportStar(t(605),n),o.__exportStar(t(606),n),o.__exportStar(t(607),n),o.__exportStar(t(608),n),o.__exportStar(t(609),n)},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isMsWindow=void 0;var o=["decrypt","digest","encrypt","exportKey","generateKey","importKey","sign","verify"];n.isMsWindow=function(e){if(function(e){return"MSInputMethodContext"in e&&"msCrypto"in e}(e)&&void 0!==e.msCrypto.subtle){var n=e.msCrypto,t=n.getRandomValues,r=n.subtle;return o.map((function(e){return r[e]})).concat(t).every((function(e){return"function"===typeof e}))}return!1}},function(e,n,t){e.exports=self.fetch||(self.fetch=t(215).default||t(215))},function(e,n){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,n,t){"use strict";var o=t(108),r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.validatePhoneISO3166=n.findCountryPhoneDataByPhoneNumber=n.findPossibleCountryPhoneData=n.findExactCountryPhoneData=n.findCountryPhoneDataByCountry=void 0;var a=r(t(216));function i(e,n,t){return t.phone_number_lengths.some((function(n){return t.country_code.length+n===e.length}))?t.mobile_begin_with.length&&n?t.mobile_begin_with.some((function(n){return e.match(new RegExp("^"+t.country_code+n))}))?t:null:t:null}function s(e,n,t){return t.phone_number_lengths.some((function(n){return t.country_code.length+n+1===e.length}))?t.mobile_begin_with.length&&n?t.mobile_begin_with.some((function(n){return e.match(new RegExp("^"+t.country_code+"\\d?"+n))}))?t:void 0:t:null}n.findCountryPhoneDataByCountry=function(e){return e?2===e.length?a.default.find((function(n){return e.toUpperCase()===n.alpha2}))||null:3===e.length?a.default.find((function(n){return e.toUpperCase()===n.alpha3}))||null:a.default.find((function(n){return e.toUpperCase()===n.country_name.toUpperCase()}))||null:a.default.find((function(e){return"USA"===e.alpha3}))||null},n.findExactCountryPhoneData=i,n.findPossibleCountryPhoneData=s,n.findCountryPhoneDataByPhoneNumber=function(e,n){var t,r,c,u=o(a.default);try{for(u.s();!(c=u.n()).done;){var l=c.value;e.match(new RegExp("^"+l.country_code))&&(t||(t=i(e,n,l)),r||(r=s(e,n,l)))}}catch(d){u.e(d)}finally{u.f()}return{exactCountryPhoneData:t,possibleCountryPhoneData:r}},n.validatePhoneISO3166=function(e,n,t,o){if(!n.phone_number_lengths)return!1;var r=e.replace(new RegExp("^"+n.country_code),"");if(o&&n&&r.length===e.length)return!1;var a=n.phone_number_lengths,i=n.mobile_begin_with,s=a.some((function(e){return r.length===e})),c=!i.length||i.some((function(e){return r.match(new RegExp("^"+e))}));return s&&(!t||c)}},function(e,n,t){var o=t(217);e.exports=function(e){if(Array.isArray(e))return o(e)}},function(e,n){e.exports=function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,n){e.exports=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(e,n,t){e.exports=t(617)},function(e){e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/city+json":{"source":"iana","compressible":true},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true,"extensions":["cpl"]},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dash-patch+xml":{"source":"iana","compressible":true,"extensions":["mpp"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true,"extensions":["mpf"]},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/oblivious-dns-message":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana","extensions":["asc"]},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.eclipse.ditto+json":{"source":"iana","compressible":true},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eu.kasparian.car+json":{"source":"iana","compressible":true},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.familysearch.gedcom+zip":{"source":"iana","compressible":false},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hl7cda+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hl7v2+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxar.archive.3tz+zip":{"source":"iana","compressible":false},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.syft+json":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true,"extensions":["wif"]},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana","extensions":["avci"]},"image/avcs":{"source":"iana","extensions":["avcs"]},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},function(e,n,t){(function(e){function t(e,n){for(var t=0,o=e.length-1;o>=0;o--){var r=e[o];"."===r?e.splice(o,1):".."===r?(e.splice(o,1),t++):t&&(e.splice(o,1),t--)}if(n)for(;t--;t)e.unshift("..");return e}function o(e,n){if(e.filter)return e.filter(n);for(var t=[],o=0;o<e.length;o++)n(e[o],o,e)&&t.push(e[o]);return t}n.resolve=function(){for(var n="",r=!1,a=arguments.length-1;a>=-1&&!r;a--){var i=a>=0?arguments[a]:e.cwd();if("string"!==typeof i)throw new TypeError("Arguments to path.resolve must be strings");i&&(n=i+"/"+n,r="/"===i.charAt(0))}return(r?"/":"")+(n=t(o(n.split("/"),(function(e){return!!e})),!r).join("/"))||"."},n.normalize=function(e){var a=n.isAbsolute(e),i="/"===r(e,-1);return(e=t(o(e.split("/"),(function(e){return!!e})),!a).join("/"))||a||(e="."),e&&i&&(e+="/"),(a?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(o(e,(function(e,n){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},n.relative=function(e,t){function o(e){for(var n=0;n<e.length&&""===e[n];n++);for(var t=e.length-1;t>=0&&""===e[t];t--);return n>t?[]:e.slice(n,t-n+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var r=o(e.split("/")),a=o(t.split("/")),i=Math.min(r.length,a.length),s=i,c=0;c<i;c++)if(r[c]!==a[c]){s=c;break}var u=[];for(c=s;c<r.length;c++)u.push("..");return(u=u.concat(a.slice(s))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var n=e.charCodeAt(0),t=47===n,o=-1,r=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!r){o=a;break}}else r=!1;return-1===o?t?"/":".":t&&1===o?"/":e.slice(0,o)},n.basename=function(e,n){var t=function(e){"string"!==typeof e&&(e+="");var n,t=0,o=-1,r=!0;for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!r){t=n+1;break}}else-1===o&&(r=!1,o=n+1);return-1===o?"":e.slice(t,o)}(e);return n&&t.substr(-1*n.length)===n&&(t=t.substr(0,t.length-n.length)),t},n.extname=function(e){"string"!==typeof e&&(e+="");for(var n=-1,t=0,o=-1,r=!0,a=0,i=e.length-1;i>=0;--i){var s=e.charCodeAt(i);if(47!==s)-1===o&&(r=!1,o=i+1),46===s?-1===n?n=i:1!==a&&(a=1):-1!==n&&(a=-1);else if(!r){t=i+1;break}}return-1===n||-1===o||0===a||1===a&&n===o-1&&n===t+1?"":e.slice(n,o)};var r="b"==="ab".substr(-1)?function(e,n,t){return e.substr(n,t)}:function(e,n,t){return n<0&&(n=e.length+n),e.substr(n,t)}}).call(this,t(183))},,,function(e,n,t){var o=t(227);function r(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,o)}return t}e.exports=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?r(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):r(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(623),r=t(624),a=t(228),i=t(625);e.exports=function(e,n){return o(e)||r(e,n)||a(e,n)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var o,r,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(o=t.next()).done)&&(a.push(o.value),!n||a.length!==n);i=!0);}catch(c){s=!0,r=c}finally{try{i||null==t.return||t.return()}finally{if(s)throw r}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(627);e.exports=function(e,n){if(null==e)return{};var t,r,a=o(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e,n){if(null==e)return{};var t,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],n.indexOf(t)>=0||(r[t]=e[t]);return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){function t(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(631);e.exports=function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&o(e,n)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){function t(n,o){return e.exports=t=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(633),r=t(634),a=t(635);e.exports=function(e){var n=r();return function(){var t,r=o(e);if(n){var i=o(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return a(this,t)}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(){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}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(230).default,r=t(636);e.exports=function(e,n){if(n&&("object"===o(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(638),r=t(639),a=t(228),i=t(640);e.exports=function(e){return o(e)||r(e)||a(e)||i()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(229);e.exports=function(e){if(Array.isArray(e))return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){e.exports=function(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n){function t(){return e.exports=t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){var o=t(110);e.exports=function(e,n){var t=o(e,n);return t?t.version:null}},function(e,n,t){var o=t(110);e.exports=function(e,n){var t=o(e.trim().replace(/^[=v]+/,""),n);return t?t.version:null}},function(e,n,t){var o=t(56);e.exports=function(e,n,t,r){"string"===typeof t&&(r=t,t=void 0);try{return new o(e instanceof o?e.version:e,t).inc(n,r).version}catch(a){return null}}},function(e,n,t){var o=t(110),r=t(188);e.exports=function(e,n){if(r(e,n))return null;var t=o(e),a=o(n),i=t.prerelease.length||a.prerelease.length,s=i?"pre":"",c=i?"prerelease":"";for(var u in t)if(("major"===u||"minor"===u||"patch"===u)&&t[u]!==a[u])return s+u;return c}},function(e,n,t){var o=t(56);e.exports=function(e,n){return new o(e,n).major}},function(e,n,t){var o=t(56);e.exports=function(e,n){return new o(e,n).minor}},function(e,n,t){var o=t(56);e.exports=function(e,n){return new o(e,n).patch}},function(e,n,t){var o=t(110);e.exports=function(e,n){var t=o(e,n);return t&&t.prerelease.length?t.prerelease:null}},function(e,n,t){var o=t(73);e.exports=function(e,n,t){return o(n,e,t)}},function(e,n,t){var o=t(73);e.exports=function(e,n){return o(e,n,!0)}},function(e,n,t){var o=t(189);e.exports=function(e,n){return e.sort((function(e,t){return o(e,t,n)}))}},function(e,n,t){var o=t(189);e.exports=function(e,n){return e.sort((function(e,t){return o(t,e,n)}))}},function(e,n,t){var o=t(56),r=t(110),a=t(109),i=a.re,s=a.t;e.exports=function(e,n){if(e instanceof o)return e;if("number"===typeof e&&(e=String(e)),"string"!==typeof e)return null;var t=null;if((n=n||{}).rtl){for(var a;(a=i[s.COERCERTL].exec(e))&&(!t||t.index+t[0].length!==e.length);)t&&a.index+a[0].length===t.index+t[0].length||(t=a),i[s.COERCERTL].lastIndex=a.index+a[1].length+a[2].length;i[s.COERCERTL].lastIndex=-1}else t=e.match(i[s.COERCE]);return null===t?null:r("".concat(t[2],".").concat(t[3]||"0",".").concat(t[4]||"0"),n)}},function(e,n,t){"use strict";var o=t(134),r=t(135),a=t(657),i=Symbol("max"),s=Symbol("length"),c=Symbol("lengthCalculator"),u=Symbol("allowStale"),l=Symbol("maxAge"),d=Symbol("dispose"),p=Symbol("noDisposeOnSet"),m=Symbol("lruList"),h=Symbol("cache"),f=Symbol("updateAgeOnGet"),g=function(){return 1},v=function(){function e(n){if(o(this,e),"number"===typeof n&&(n={max:n}),n||(n={}),n.max&&("number"!==typeof n.max||n.max<0))throw new TypeError("max must be a non-negative number");this[i]=n.max||1/0;var t=n.length||g;if(this[c]="function"!==typeof t?g:t,this[u]=n.stale||!1,n.maxAge&&"number"!==typeof n.maxAge)throw new TypeError("maxAge must be a number");this[l]=n.maxAge||0,this[d]=n.dispose,this[p]=n.noDisposeOnSet||!1,this[f]=n.updateAgeOnGet||!1,this.reset()}return r(e,[{key:"max",get:function(){return this[i]},set:function(e){if("number"!==typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,C(this)}},{key:"allowStale",get:function(){return this[u]},set:function(e){this[u]=!!e}},{key:"maxAge",get:function(){return this[l]},set:function(e){if("number"!==typeof e)throw new TypeError("maxAge must be a non-negative number");this[l]=e,C(this)}},{key:"lengthCalculator",get:function(){return this[c]},set:function(e){var n=this;"function"!==typeof e&&(e=g),e!==this[c]&&(this[c]=e,this[s]=0,this[m].forEach((function(e){e.length=n[c](e.value,e.key),n[s]+=e.length}))),C(this)}},{key:"length",get:function(){return this[s]}},{key:"itemCount",get:function(){return this[m].length}},{key:"rforEach",value:function(e,n){n=n||this;for(var t=this[m].tail;null!==t;){var o=t.prev;_(this,e,t,n),t=o}}},{key:"forEach",value:function(e,n){n=n||this;for(var t=this[m].head;null!==t;){var o=t.next;_(this,e,t,n),t=o}}},{key:"keys",value:function(){return this[m].toArray().map((function(e){return e.key}))}},{key:"values",value:function(){return this[m].toArray().map((function(e){return e.value}))}},{key:"reset",value:function(){var e=this;this[d]&&this[m]&&this[m].length&&this[m].forEach((function(n){return e[d](n.key,n.value)})),this[h]=new Map,this[m]=new a,this[s]=0}},{key:"dump",value:function(){var e=this;return this[m].map((function(n){return!b(e,n)&&{k:n.key,v:n.value,e:n.now+(n.maxAge||0)}})).toArray().filter((function(e){return e}))}},{key:"dumpLru",value:function(){return this[m]}},{key:"set",value:function(e,n,t){if((t=t||this[l])&&"number"!==typeof t)throw new TypeError("maxAge must be a number");var o=t?Date.now():0,r=this[c](n,e);if(this[h].has(e)){if(r>this[i])return w(this,this[h].get(e)),!1;var a=this[h].get(e).value;return this[d]&&(this[p]||this[d](e,a.value)),a.now=o,a.maxAge=t,a.value=n,this[s]+=r-a.length,a.length=r,this.get(e),C(this),!0}var u=new S(e,n,r,o,t);return u.length>this[i]?(this[d]&&this[d](e,n),!1):(this[s]+=u.length,this[m].unshift(u),this[h].set(e,this[m].head),C(this),!0)}},{key:"has",value:function(e){if(!this[h].has(e))return!1;var n=this[h].get(e).value;return!b(this,n)}},{key:"get",value:function(e){return y(this,e,!0)}},{key:"peek",value:function(e){return y(this,e,!1)}},{key:"pop",value:function(){var e=this[m].tail;return e?(w(this,e),e.value):null}},{key:"del",value:function(e){w(this,this[h].get(e))}},{key:"load",value:function(e){this.reset();for(var n=Date.now(),t=e.length-1;t>=0;t--){var o=e[t],r=o.e||0;if(0===r)this.set(o.k,o.v);else{var a=r-n;a>0&&this.set(o.k,o.v,a)}}}},{key:"prune",value:function(){var e=this;this[h].forEach((function(n,t){return y(e,t,!1)}))}}]),e}(),y=function(e,n,t){var o=e[h].get(n);if(o){var r=o.value;if(b(e,r)){if(w(e,o),!e[u])return}else t&&(e[f]&&(o.value.now=Date.now()),e[m].unshiftNode(o));return r.value}},b=function(e,n){if(!n||!n.maxAge&&!e[l])return!1;var t=Date.now()-n.now;return n.maxAge?t>n.maxAge:e[l]&&t>e[l]},C=function(e){if(e[s]>e[i])for(var n=e[m].tail;e[s]>e[i]&&null!==n;){var t=n.prev;w(e,n),n=t}},w=function(e,n){if(n){var t=n.value;e[d]&&e[d](t.key,t.value),e[s]-=t.length,e[h].delete(t.key),e[m].removeNode(n)}},S=function e(n,t,r,a,i){o(this,e),this.key=n,this.value=t,this.length=r,this.now=a,this.maxAge=i||0},_=function(e,n,t,o){var r=t.value;b(e,r)&&(w(e,t),e[u]||(r=void 0)),r&&n.call(o,r.value,r.key,e)};e.exports=v},function(e,n,t){"use strict";function o(e){var n=this;if(n instanceof o||(n=new o),n.tail=null,n.head=null,n.length=0,e&&"function"===typeof e.forEach)e.forEach((function(e){n.push(e)}));else if(arguments.length>0)for(var t=0,r=arguments.length;t<r;t++)n.push(arguments[t]);return n}function r(e,n,t){var o=n===e.head?new s(t,null,n,e):new s(t,n,n.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function a(e,n){e.tail=new s(n,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function i(e,n){e.head=new s(n,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function s(e,n,t,o){if(!(this instanceof s))return new s(e,n,t,o);this.list=o,this.value=e,n?(n.next=this,this.prev=n):this.prev=null,t?(t.prev=this,this.next=t):this.next=null}e.exports=o,o.Node=s,o.create=o,o.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var n=e.next,t=e.prev;return n&&(n.prev=t),t&&(t.next=n),e===this.head&&(this.head=n),e===this.tail&&(this.tail=t),e.list.length--,e.next=null,e.prev=null,e.list=null,n},o.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var n=this.head;e.list=this,e.next=n,n&&(n.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},o.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var n=this.tail;e.list=this,e.prev=n,n&&(n.next=e),this.tail=e,this.head||(this.head=e),this.length++}},o.prototype.push=function(){for(var e=0,n=arguments.length;e<n;e++)a(this,arguments[e]);return this.length},o.prototype.unshift=function(){for(var e=0,n=arguments.length;e<n;e++)i(this,arguments[e]);return this.length},o.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},o.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},o.prototype.forEach=function(e,n){n=n||this;for(var t=this.head,o=0;null!==t;o++)e.call(n,t.value,o,this),t=t.next},o.prototype.forEachReverse=function(e,n){n=n||this;for(var t=this.tail,o=this.length-1;null!==t;o--)e.call(n,t.value,o,this),t=t.prev},o.prototype.get=function(e){for(var n=0,t=this.head;null!==t&&n<e;n++)t=t.next;if(n===e&&null!==t)return t.value},o.prototype.getReverse=function(e){for(var n=0,t=this.tail;null!==t&&n<e;n++)t=t.prev;if(n===e&&null!==t)return t.value},o.prototype.map=function(e,n){n=n||this;for(var t=new o,r=this.head;null!==r;)t.push(e.call(n,r.value,this)),r=r.next;return t},o.prototype.mapReverse=function(e,n){n=n||this;for(var t=new o,r=this.tail;null!==r;)t.push(e.call(n,r.value,this)),r=r.prev;return t},o.prototype.reduce=function(e,n){var t,o=this.head;if(arguments.length>1)t=n;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,t=this.head.value}for(var r=0;null!==o;r++)t=e(t,o.value,r),o=o.next;return t},o.prototype.reduceReverse=function(e,n){var t,o=this.tail;if(arguments.length>1)t=n;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,t=this.tail.value}for(var r=this.length-1;null!==o;r--)t=e(t,o.value,r),o=o.prev;return t},o.prototype.toArray=function(){for(var e=new Array(this.length),n=0,t=this.head;null!==t;n++)e[n]=t.value,t=t.next;return e},o.prototype.toArrayReverse=function(){for(var e=new Array(this.length),n=0,t=this.tail;null!==t;n++)e[n]=t.value,t=t.prev;return e},o.prototype.slice=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var t=new o;if(n<e||n<0)return t;e<0&&(e=0),n>this.length&&(n=this.length);for(var r=0,a=this.head;null!==a&&r<e;r++)a=a.next;for(;null!==a&&r<n;r++,a=a.next)t.push(a.value);return t},o.prototype.sliceReverse=function(e,n){(n=n||this.length)<0&&(n+=this.length),(e=e||0)<0&&(e+=this.length);var t=new o;if(n<e||n<0)return t;e<0&&(e=0),n>this.length&&(n=this.length);for(var r=this.length,a=this.tail;null!==a&&r>n;r--)a=a.prev;for(;null!==a&&r>e;r--,a=a.prev)t.push(a.value);return t},o.prototype.splice=function(e,n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var t=0,o=this.head;null!==o&&t<e;t++)o=o.next;var a=[];for(t=0;o&&t<n;t++)a.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(t=0;t<(arguments.length<=2?0:arguments.length-2);t++)o=r(this,o,t+2<2||arguments.length<=t+2?void 0:arguments[t+2]);return a},o.prototype.reverse=function(){for(var e=this.head,n=this.tail,t=e;null!==t;t=t.prev){var o=t.prev;t.prev=t.next,t.next=o}return this.head=n,this.tail=e,this};try{t(658)(o)}catch(c){}},function(e,n,t){"use strict";var o=t(5);e.exports=function(e){e.prototype[Symbol.iterator]=o.mark((function e(){var n;return o.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.head;case 1:if(!n){e.next=7;break}return e.next=4,n.value;case 4:n=n.next,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))}},function(e,n,t){var o=t(74);e.exports=function(e,n){return new o(e,n).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}},function(e,n,t){var o=t(56),r=t(74);e.exports=function(e,n,t){var a=null,i=null,s=null;try{s=new r(n,t)}catch(c){return null}return e.forEach((function(e){s.test(e)&&(a&&-1!==i.compare(e)||(i=new o(a=e,t)))})),a}},function(e,n,t){var o=t(56),r=t(74);e.exports=function(e,n,t){var a=null,i=null,s=null;try{s=new r(n,t)}catch(c){return null}return e.forEach((function(e){s.test(e)&&(a&&1!==i.compare(e)||(i=new o(a=e,t)))})),a}},function(e,n,t){var o=t(56),r=t(74),a=t(145);e.exports=function(e,n){e=new r(e,n);var t=new o("0.0.0");if(e.test(t))return t;if(t=new o("0.0.0-0"),e.test(t))return t;t=null;for(var i=function(n){var r=e.set[n],i=null;r.forEach((function(e){var n=new o(e.semver.version);switch(e.operator){case">":0===n.prerelease.length?n.patch++:n.prerelease.push(0),n.raw=n.format();case"":case">=":i&&!a(n,i)||(i=n);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: ".concat(e.operator))}})),!i||t&&!a(t,i)||(t=i)},s=0;s<e.set.length;++s)i(s);return t&&e.test(t)?t:null}},function(e,n,t){var o=t(74);e.exports=function(e,n){try{return new o(e,n).range||"*"}catch(t){return null}}},function(e,n,t){var o=t(193);e.exports=function(e,n,t){return o(e,n,">",t)}},function(e,n,t){var o=t(193);e.exports=function(e,n,t){return o(e,n,"<",t)}},function(e,n,t){var o=t(74);e.exports=function(e,n,t){return e=new o(e,t),n=new o(n,t),e.intersects(n)}},function(e,n,t){var o=t(233),r=t(108),a=t(147),i=t(73);e.exports=function(e,n,t){var s,c=[],u=null,l=null,d=e.sort((function(e,n){return i(e,n,t)})),p=r(d);try{for(p.s();!(s=p.n()).done;){var m=s.value;a(m,n,t)?(l=m,u||(u=m)):(l&&c.push([u,l]),l=null,u=null)}}catch(S){p.e(S)}finally{p.f()}u&&c.push([u,null]);for(var h=[],f=0,g=c;f<g.length;f++){var v=o(g[f],2),y=v[0],b=v[1];y===b?h.push(y):b||y!==d[0]?b?y===d[0]?h.push("<=".concat(b)):h.push("".concat(y," - ").concat(b)):h.push(">=".concat(y)):h.push("*")}var C=h.join(" || "),w="string"===typeof n.raw?n.raw:String(n);return C.length<w.length?C:n}},function(e,n){e.exports=function(e){if(Array.isArray(e))return e}},function(e,n){e.exports=function(e,n){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var t=[],o=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(o=(i=s.next()).done)&&(t.push(i.value),!n||t.length!==n);o=!0);}catch(c){r=!0,a=c}finally{try{o||null==s.return||s.return()}finally{if(r)throw a}}return t}}},function(e,n){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,n,t){var o=t(108),r=t(74),a=t(146),i=a.ANY,s=t(147),c=t(73),u=function(e,n,t){if(e===n)return!0;if(1===e.length&&e[0].semver===i){if(1===n.length&&n[0].semver===i)return!0;e=t.includePrerelease?[new a(">=0.0.0-0")]:[new a(">=0.0.0")]}if(1===n.length&&n[0].semver===i){if(t.includePrerelease)return!0;n=[new a(">=0.0.0")]}var r,u,p,m,h=new Set,f=o(e);try{for(f.s();!(p=f.n()).done;){var g=p.value;">"===g.operator||">="===g.operator?r=l(r,g,t):"<"===g.operator||"<="===g.operator?u=d(u,g,t):h.add(g.semver)}}catch(I){f.e(I)}finally{f.f()}if(h.size>1)return null;if(r&&u){if((m=c(r.semver,u.semver,t))>0)return null;if(0===m&&(">="!==r.operator||"<="!==u.operator))return null}var v,y,b,C,w,S=o(h);try{for(S.s();!(v=S.n()).done;){var _=v.value;if(r&&!s(_,String(r),t))return null;if(u&&!s(_,String(u),t))return null;var E,x=o(n);try{for(x.s();!(E=x.n()).done;){var O=E.value;if(!s(_,String(O),t))return!1}}catch(I){x.e(I)}finally{x.f()}return!0}}catch(I){S.e(I)}finally{S.f()}var A=!(!u||t.includePrerelease||!u.semver.prerelease.length)&&u.semver,k=!(!r||t.includePrerelease||!r.semver.prerelease.length)&&r.semver;A&&1===A.prerelease.length&&"<"===u.operator&&0===A.prerelease[0]&&(A=!1);var T,P=o(n);try{for(P.s();!(T=P.n()).done;){var M=T.value;if(w=w||">"===M.operator||">="===M.operator,C=C||"<"===M.operator||"<="===M.operator,r)if(k&&M.semver.prerelease&&M.semver.prerelease.length&&M.semver.major===k.major&&M.semver.minor===k.minor&&M.semver.patch===k.patch&&(k=!1),">"===M.operator||">="===M.operator){if((y=l(r,M,t))===M&&y!==r)return!1}else if(">="===r.operator&&!s(r.semver,String(M),t))return!1;if(u)if(A&&M.semver.prerelease&&M.semver.prerelease.length&&M.semver.major===A.major&&M.semver.minor===A.minor&&M.semver.patch===A.patch&&(A=!1),"<"===M.operator||"<="===M.operator){if((b=d(u,M,t))===M&&b!==u)return!1}else if("<="===u.operator&&!s(u.semver,String(M),t))return!1;if(!M.operator&&(u||r)&&0!==m)return!1}}catch(I){P.e(I)}finally{P.f()}return!(r&&C&&!u&&0!==m)&&(!(u&&w&&!r&&0!==m)&&(!k&&!A))},l=function(e,n,t){if(!e)return n;var o=c(e.semver,n.semver,t);return o>0?e:o<0||">"===n.operator&&">="===e.operator?n:e},d=function(e,n,t){if(!e)return n;var o=c(e.semver,n.semver,t);return o<0?e:o>0||"<"===n.operator&&"<="===e.operator?n:e};e.exports=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e===n)return!0;e=new r(e,t),n=new r(n,t);var a,i=!1,s=o(e.set);try{e:for(s.s();!(a=s.n()).done;){var c,l=a.value,d=o(n.set);try{for(d.s();!(c=d.n()).done;){var p=c.value,m=u(l,p,t);if(i=i||null!==m,m)continue e}}catch(h){d.e(h)}finally{d.f()}if(i)return!1}}catch(h){s.e(h)}finally{s.f()}return!0}},function(e,n,t){"use strict";var o=t(181),r=t(0);function a(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i="function"===typeof Symbol&&Symbol.for,s=i?Symbol.for("react.portal"):60106,c=i?Symbol.for("react.fragment"):60107,u=i?Symbol.for("react.strict_mode"):60108,l=i?Symbol.for("react.profiler"):60114,d=i?Symbol.for("react.provider"):60109,p=i?Symbol.for("react.context"):60110,m=i?Symbol.for("react.concurrent_mode"):60111,h=i?Symbol.for("react.forward_ref"):60112,f=i?Symbol.for("react.suspense"):60113,g=i?Symbol.for("react.suspense_list"):60120,v=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116,b=i?Symbol.for("react.block"):60121,C=i?Symbol.for("react.fundamental"):60117,w=i?Symbol.for("react.scope"):60119;function S(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case c:return"Fragment";case s:return"Portal";case l:return"Profiler";case u:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case p:return"Context.Consumer";case d:return"Context.Provider";case h:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(""!==n?"ForwardRef("+n+")":"ForwardRef");case v:return S(e.type);case b:return S(e.render);case y:if(e=1===e._status?e._result:null)return S(e)}return null}var _=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;_.hasOwnProperty("ReactCurrentDispatcher")||(_.ReactCurrentDispatcher={current:null}),_.hasOwnProperty("ReactCurrentBatchConfig")||(_.ReactCurrentBatchConfig={suspense:null});var E={};function x(e,n){for(var t=0|e._threadCount;t<=n;t++)e[t]=e._currentValue2,e._threadCount=t+1}for(var O=new Uint16Array(16),A=0;15>A;A++)O[A]=A+1;O[15]=0;var k=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T=Object.prototype.hasOwnProperty,P={},M={};function I(e){return!!T.call(M,e)||!T.call(P,e)&&(k.test(e)?M[e]=!0:(P[e]=!0,!1))}function R(e,n,t,o,r,a){this.acceptsBooleans=2===n||3===n||4===n,this.attributeName=o,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=a}var j={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){j[e]=new R(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var n=e[0];j[n]=new R(n,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){j[e]=new R(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){j[e]=new R(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){j[e]=new R(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){j[e]=new R(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){j[e]=new R(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){j[e]=new R(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){j[e]=new R(e,5,!1,e.toLowerCase(),null,!1)}));var N=/[\-:]([a-z])/g;function L(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var n=e.replace(N,L);j[n]=new R(n,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var n=e.replace(N,L);j[n]=new R(n,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var n=e.replace(N,L);j[n]=new R(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){j[e]=new R(e,1,!1,e.toLowerCase(),null,!1)})),j.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){j[e]=new R(e,1,!1,e.toLowerCase(),null,!0)}));var F=/["'&<>]/;function U(e){if("boolean"===typeof e||"number"===typeof e)return""+e;e=""+e;var n=F.exec(e);if(n){var t,o="",r=0;for(t=n.index;t<e.length;t++){switch(e.charCodeAt(t)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#x27;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}r!==t&&(o+=e.substring(r,t)),r=t+1,o+=n}e=r!==t?o+e.substring(r,t):o}return e}function D(e,n){var t,o=j.hasOwnProperty(e)?j[e]:null;return(t="style"!==e)&&(t=null!==o?0===o.type:2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])),t||function(e,n,t,o){if(null===n||"undefined"===typeof n||function(e,n,t,o){if(null!==t&&0===t.type)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return!o&&(null!==t?!t.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,n,t,o))return!0;if(o)return!1;if(null!==t)switch(t.type){case 3:return!n;case 4:return!1===n;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}(e,n,o,!1)?"":null!==o?(e=o.attributeName,3===(t=o.type)||4===t&&!0===n?e+'=""':(o.sanitizeURL&&(n=""+n),e+'="'+U(n)+'"')):I(e)?e+'="'+U(n)+'"':""}var B="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n},z=null,V=null,G=null,H=!1,q=!1,K=null,W=0;function $(){if(null===z)throw Error(a(321));return z}function Y(){if(0<W)throw Error(a(312));return{memoizedState:null,queue:null,next:null}}function Q(){return null===G?null===V?(H=!1,V=G=Y()):(H=!0,G=V):null===G.next?(H=!1,G=G.next=Y()):(H=!0,G=G.next),G}function J(e,n,t,o){for(;q;)q=!1,W+=1,G=null,t=e(n,o);return V=z=null,W=0,G=K=null,t}function Z(e,n){return"function"===typeof n?n(e):n}function X(e,n,t){if(z=$(),G=Q(),H){var o=G.queue;if(n=o.dispatch,null!==K&&void 0!==(t=K.get(o))){K.delete(o),o=G.memoizedState;do{o=e(o,t.action),t=t.next}while(null!==t);return G.memoizedState=o,[o,n]}return[G.memoizedState,n]}return e=e===Z?"function"===typeof n?n():n:void 0!==t?t(n):n,G.memoizedState=e,e=(e=G.queue={last:null,dispatch:null}).dispatch=ee.bind(null,z,e),[G.memoizedState,e]}function ee(e,n,t){if(!(25>W))throw Error(a(301));if(e===z)if(q=!0,e={action:t,next:null},null===K&&(K=new Map),void 0===(t=K.get(n)))K.set(n,e);else{for(n=t;null!==n.next;)n=n.next;n.next=e}}function ne(){}var te=0,oe={readContext:function(e){var n=te;return x(e,n),e[n]},useContext:function(e){$();var n=te;return x(e,n),e[n]},useMemo:function(e,n){if(z=$(),n=void 0===n?null:n,null!==(G=Q())){var t=G.memoizedState;if(null!==t&&null!==n){e:{var o=t[1];if(null===o)o=!1;else{for(var r=0;r<o.length&&r<n.length;r++)if(!B(n[r],o[r])){o=!1;break e}o=!0}}if(o)return t[0]}}return e=e(),G.memoizedState=[e,n],e},useReducer:X,useRef:function(e){z=$();var n=(G=Q()).memoizedState;return null===n?(e={current:e},G.memoizedState=e):n},useState:function(e){return X(Z,e)},useLayoutEffect:function(){},useCallback:function(e){return e},useImperativeHandle:ne,useEffect:ne,useDebugValue:ne,useResponder:function(e,n){return{props:n,responder:e}},useDeferredValue:function(e){return $(),e},useTransition:function(){return $(),[function(e){e()},!1]}},re="http://www.w3.org/1999/xhtml";function ae(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var ie={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},se=o({menuitem:!0},ie),ce={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ue=["Webkit","ms","Moz","O"];Object.keys(ce).forEach((function(e){ue.forEach((function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),ce[n]=ce[e]}))}));var le=/([A-Z])/g,de=/^ms-/,pe=r.Children.toArray,me=_.ReactCurrentDispatcher,he={listing:!0,pre:!0,textarea:!0},fe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ge={},ve={};var ye=Object.prototype.hasOwnProperty,be={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Ce(e,n){if(void 0===e)throw Error(a(152,S(n)||"Component"))}function we(e,n,t){function i(r,i){var s=i.prototype&&i.prototype.isReactComponent,c=function(e,n,t,o){if(o&&"object"===typeof(o=e.contextType)&&null!==o)return x(o,t),o[t];if(e=e.contextTypes){for(var r in t={},e)t[r]=n[r];n=t}else n=E;return n}(i,n,t,s),u=[],l=!1,d={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===u)return null},enqueueReplaceState:function(e,n){l=!0,u=[n]},enqueueSetState:function(e,n){if(null===u)return null;u.push(n)}};if(s){if(s=new i(r.props,c,d),"function"===typeof i.getDerivedStateFromProps){var p=i.getDerivedStateFromProps.call(null,r.props,s.state);null!=p&&(s.state=o({},s.state,p))}}else if(z={},s=i(r.props,c,d),null==(s=J(i,r.props,s,c))||null==s.render)return void Ce(e=s,i);if(s.props=r.props,s.context=c,s.updater=d,void 0===(d=s.state)&&(s.state=d=null),"function"===typeof s.UNSAFE_componentWillMount||"function"===typeof s.componentWillMount)if("function"===typeof s.componentWillMount&&"function"!==typeof i.getDerivedStateFromProps&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&"function"!==typeof i.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),u.length){d=u;var m=l;if(u=null,l=!1,m&&1===d.length)s.state=d[0];else{p=m?d[0]:s.state;var h=!0;for(m=m?1:0;m<d.length;m++){var f=d[m];null!=(f="function"===typeof f?f.call(s,p,r.props,c):f)&&(h?(h=!1,p=o({},p,f)):o(p,f))}s.state=p}}else u=null;if(Ce(e=s.render(),i),"function"===typeof s.getChildContext&&"object"===typeof(r=i.childContextTypes)){var g=s.getChildContext();for(var v in g)if(!(v in r))throw Error(a(108,S(i)||"Unknown",v))}g&&(n=o({},n,g))}for(;r.isValidElement(e);){var s=e,c=s.type;if("function"!==typeof c)break;i(s,c)}return{child:e,context:n}}var Se=function(){function e(e,n){r.isValidElement(e)?e.type!==c?e=[e]:(e=e.props.children,e=r.isValidElement(e)?[e]:pe(e)):e=pe(e),e={type:null,domNamespace:re,children:e,childIndex:0,context:E,footer:""};var t=O[0];if(0===t){var o=O,i=2*(t=o.length);if(!(65536>=i))throw Error(a(304));var s=new Uint16Array(i);for(s.set(o),(O=s)[0]=t+1,o=t;o<i-1;o++)O[o]=o+1;O[i-1]=0}else O[0]=O[t];this.threadID=t,this.stack=[e],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=n,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[]}var n=e.prototype;return n.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var e=this.threadID;O[e]=O[0],O[0]=e}},n.pushProvider=function(e){var n=++this.contextIndex,t=e.type._context,o=this.threadID;x(t,o);var r=t[o];this.contextStack[n]=t,this.contextValueStack[n]=r,t[o]=e.props.value},n.popProvider=function(){var e=this.contextIndex,n=this.contextStack[e],t=this.contextValueStack[e];this.contextStack[e]=null,this.contextValueStack[e]=null,this.contextIndex--,n[this.threadID]=t},n.clearProviders=function(){for(var e=this.contextIndex;0<=e;e--)this.contextStack[e][this.threadID]=this.contextValueStack[e]},n.read=function(e){if(this.exhausted)return null;var n=te;te=this.threadID;var t=me.current;me.current=oe;try{for(var o=[""],r=!1;o[0].length<e;){if(0===this.stack.length){this.exhausted=!0;var i=this.threadID;O[i]=O[0],O[0]=i;break}var s=this.stack[this.stack.length-1];if(r||s.childIndex>=s.children.length){var c=s.footer;if(""!==c&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===d)this.popProvider(s.type);else if(s.type===f){this.suspenseDepth--;var u=o.pop();if(r){r=!1;var l=s.fallbackFrame;if(!l)throw Error(a(303));this.stack.push(l),o[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}o[this.suspenseDepth]+=u}o[this.suspenseDepth]+=c}else{var p=s.children[s.childIndex++],m="";try{m+=this.render(p,s.context,s.domNamespace)}catch(h){if(null!=h&&"function"===typeof h.then)throw Error(a(294));throw h}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=m}}return o[0]}finally{me.current=t,te=n}},n.render=function(e,n,t){if("string"===typeof e||"number"===typeof e)return""===(t=""+e)?"":this.makeStaticMarkup?U(t):this.previousWasTextNode?"\x3c!-- --\x3e"+U(t):(this.previousWasTextNode=!0,U(t));if(e=(n=we(e,n,this.threadID)).child,n=n.context,null===e||!1===e)return"";if(!r.isValidElement(e)){if(null!=e&&null!=e.$$typeof){if((t=e.$$typeof)===s)throw Error(a(257));throw Error(a(258,t.toString()))}return e=pe(e),this.stack.push({type:null,domNamespace:t,children:e,childIndex:0,context:n,footer:""}),""}var i=e.type;if("string"===typeof i)return this.renderDOM(e,n,t);switch(i){case u:case m:case l:case g:case c:return e=pe(e.props.children),this.stack.push({type:null,domNamespace:t,children:e,childIndex:0,context:n,footer:""}),"";case f:throw Error(a(294))}if("object"===typeof i&&null!==i)switch(i.$$typeof){case h:z={};var b=i.render(e.props,e.ref);return b=J(i.render,e.props,b,e.ref),b=pe(b),this.stack.push({type:null,domNamespace:t,children:b,childIndex:0,context:n,footer:""}),"";case v:return e=[r.createElement(i.type,o({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:t,children:e,childIndex:0,context:n,footer:""}),"";case d:return t={type:e,domNamespace:t,children:i=pe(e.props.children),childIndex:0,context:n,footer:""},this.pushProvider(e),this.stack.push(t),"";case p:i=e.type,b=e.props;var S=this.threadID;return x(i,S),i=pe(b.children(i[S])),this.stack.push({type:e,domNamespace:t,children:i,childIndex:0,context:n,footer:""}),"";case C:throw Error(a(338));case y:switch(function(e){if(-1===e._status){e._status=0;var n=e._ctor;n=n(),e._result=n,n.then((function(n){0===e._status&&(n=n.default,e._status=1,e._result=n)}),(function(n){0===e._status&&(e._status=2,e._result=n)}))}}(i=e.type),i._status){case 1:return e=[r.createElement(i._result,o({ref:e.ref},e.props))],this.stack.push({type:null,domNamespace:t,children:e,childIndex:0,context:n,footer:""}),"";case 2:throw i._result;default:throw Error(a(295))}case w:throw Error(a(343))}throw Error(a(130,null==i?i:typeof i,""))},n.renderDOM=function(e,n,t){var i=e.type.toLowerCase();if(t===re&&ae(i),!ge.hasOwnProperty(i)){if(!fe.test(i))throw Error(a(65,i));ge[i]=!0}var s=e.props;if("input"===i)s=o({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===i){var c=s.value;if(null==c){c=s.defaultValue;var u=s.children;if(null!=u){if(null!=c)throw Error(a(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(a(93));u=u[0]}c=""+u}null==c&&(c="")}s=o({},s,{value:void 0,children:""+c})}else if("select"===i)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=o({},s,{value:void 0});else if("option"===i){u=this.currentSelectValue;var l=function(e){if(void 0===e||null===e)return e;var n="";return r.Children.forEach(e,(function(e){null!=e&&(n+=e)})),n}(s.children);if(null!=u){var d=null!=s.value?s.value+"":l;if(c=!1,Array.isArray(u)){for(var p=0;p<u.length;p++)if(""+u[p]===d){c=!0;break}}else c=""+u===d;s=o({selected:void 0,children:void 0},s,{selected:c,children:l})}}if(c=s){if(se[i]&&(null!=c.children||null!=c.dangerouslySetInnerHTML))throw Error(a(137,i,""));if(null!=c.dangerouslySetInnerHTML){if(null!=c.children)throw Error(a(60));if("object"!==typeof c.dangerouslySetInnerHTML||!("__html"in c.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=c.style&&"object"!==typeof c.style)throw Error(a(62,""))}for(C in c=s,u=this.makeStaticMarkup,l=1===this.stack.length,d="<"+e.type,c)if(ye.call(c,C)){var m=c[C];if(null!=m){if("style"===C){p=void 0;var h="",f="";for(p in m)if(m.hasOwnProperty(p)){var g=0===p.indexOf("--"),v=m[p];if(null!=v){if(g)var y=p;else if(y=p,ve.hasOwnProperty(y))y=ve[y];else{var b=y.replace(le,"-$1").toLowerCase().replace(de,"-ms-");y=ve[y]=b}h+=f+y+":",f=p,h+=g=null==v||"boolean"===typeof v||""===v?"":g||"number"!==typeof v||0===v||ce.hasOwnProperty(f)&&ce[f]?(""+v).trim():v+"px",f=";"}}m=h||null}p=null;e:if(g=i,v=c,-1===g.indexOf("-"))g="string"===typeof v.is;else switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":g=!1;break e;default:g=!0}g?be.hasOwnProperty(C)||(p=I(p=C)&&null!=m?p+'="'+U(m)+'"':""):p=D(C,m),p&&(d+=" "+p)}}u||l&&(d+=' data-reactroot=""');var C=d;c="",ie.hasOwnProperty(i)?C+="/>":(C+=">",c="</"+e.type+">");e:{if(null!=(u=s.dangerouslySetInnerHTML)){if(null!=u.__html){u=u.__html;break e}}else if("string"===typeof(u=s.children)||"number"===typeof u){u=U(u);break e}u=null}return null!=u?(s=[],he.hasOwnProperty(i)&&"\n"===u.charAt(0)&&(C+="\n"),C+=u):s=pe(s.children),e=e.type,t=null==t||"http://www.w3.org/1999/xhtml"===t?ae(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t,this.stack.push({domNamespace:t,type:i,children:s,childIndex:0,context:n,footer:c}),this.previousWasTextNode=!1,C},e}(),_e={renderToString:function(e){e=new Se(e,!1);try{return e.read(1/0)}finally{e.destroy()}},renderToStaticMarkup:function(e){e=new Se(e,!0);try{return e.read(1/0)}finally{e.destroy()}},renderToNodeStream:function(){throw Error(a(207))},renderToStaticNodeStream:function(){throw Error(a(208))},version:"16.13.1"};e.exports=_e.default||_e},function(e,n,t){var o;!function(r,a){"use strict";var i="function",s="undefined",c="object",u="string",l="model",d="name",p="type",m="vendor",h="version",f="architecture",g="console",v="mobile",y="tablet",b="smarttv",C="wearable",w="embedded",S={extend:function(e,n){var t={};for(var o in e)n[o]&&n[o].length%2===0?t[o]=n[o].concat(e[o]):t[o]=e[o];return t},has:function(e,n){return typeof e===u&&-1!==n.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===u?e.replace(/[^\d\.]/g,"").split(".")[0]:a},trim:function(e,n){return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),typeof n===s?e:e.substring(0,255)}},_={rgx:function(e,n){for(var t,o,r,s,u,l,d=0;d<n.length&&!u;){var p=n[d],m=n[d+1];for(t=o=0;t<p.length&&!u;)if(u=p[t++].exec(e))for(r=0;r<m.length;r++)l=u[++o],typeof(s=m[r])===c&&s.length>0?2==s.length?typeof s[1]==i?this[s[0]]=s[1].call(this,l):this[s[0]]=s[1]:3==s.length?typeof s[1]!==i||s[1].exec&&s[1].test?this[s[0]]=l?l.replace(s[1],s[2]):a:this[s[0]]=l?s[1].call(this,l,s[2]):a:4==s.length&&(this[s[0]]=l?s[3].call(this,l.replace(s[1],s[2])):a):this[s]=l||a;d+=2}},str:function(e,n){for(var t in n)if(typeof n[t]===c&&n[t].length>0){for(var o=0;o<n[t].length;o++)if(S.has(n[t][o],e))return"?"===t?a:t}else if(S.has(n[t],e))return"?"===t?a:t;return e}},E={browser:{oldSafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}},oldEdge:{version:{.1:"12.",21:"13.",31:"14.",39:"15.",41:"16.",42:"17.",44:"18."}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},x={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[d,"Chrome"]],[/(?:edge|edgios|edga|edg)\/([\w\.]+)/i],[h,[d,"Edge"]],[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]{3,6})\b.+version\/([\w\.-]+)/i,/(opera)(?:.+version\/|[\/\s]+)([\w\.]+)/i],[d,h],[/opios[\/\s]+([\w\.]+)/i],[h,[d,"Opera Mini"]],[/\sopr\/([\w\.]+)/i],[h,[d,"Opera"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim)(?:browser)?[\/\s]?([\w\.]*)/i,/(ba?idubrowser)[\/\s]?([\w\.]+)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon)\/([\w\.-]+)/i,/(rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,h],[/(?:[\s\/]uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[h,[d,"UCBrowser"]],[/(?:windowswechat)?\sqbcore\/([\w\.]+)\b.*(?:windowswechat)?/i],[h,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[d,"Konqueror"]],[/trident.+rv[:\s]([\w\.]{1,9})\b.+like\sgecko/i],[h,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],h],[/focus\/([\w\.]+)/i],[h,[d,"Firefox Focus"]],[/opt\/([\w\.]+)/i],[h,[d,"Opera Touch"]],[/coc_coc_browser\/([\w\.]+)/i],[h,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[d,"Opera Coast"]],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[h,[d,"MIUI Browser"]],[/fxios\/([\w\.-]+)/i],[h,[d,"Firefox"]],[/(qihu|qhbrowser|qihoobrowser|360browser)/i],[[d,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],h],[/\s(electron)\/([\w\.]+)\ssafari/i,/(tesla)(?:\sqtcarbrowser|\/(20[12]\d\.[\w\.-]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/\s]?([\w\.]+)/i],[d,h],[/(MetaSr)[\/\s]?([\w\.]+)/i,/(LBBROWSER)/i],[d],[/;fbav\/([\w\.]+);/i],[h,[d,"Facebook"]],[/FBAN\/FBIOS|FB_IAB\/FB4A/i],[[d,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/\s]([\w\.-]+)/i],[d,h],[/\bgsa\/([\w\.]+)\s.*safari\//i],[h,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[h,[d,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],h],[/droid.+\sversion\/([\w\.]+)\b.+(?:mobile\ssafari|safari)/i],[h,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[d,h],[/version\/([\w\.]+)\s.*mobile\/\w+\s(safari)/i],[h,[d,"Mobile Safari"]],[/version\/([\w\.]+)\s.*(mobile\s?safari|safari)/i],[h,d],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[d,[h,_.str,E.browser.oldSafari.version]],[/(webkit|khtml)\/([\w\.]+)/i],[d,h],[/(navigator|netscape)\/([\w\.-]+)/i],[[d,"Netscape"],h],[/ile\svr;\srv:([\w\.]+)\).+firefox/i],[h,[d,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(firefox)\/([\w\.]+)\s[\w\s\-]+\/[\w\.]+$/i,/(mozilla)\/([\w\.]+)\s.+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[d,h]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[f,"amd64"]],[/(ia32(?=;))/i],[[f,S.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[f,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[f,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[f,"armhf"]],[/windows\s(ce|mobile);\sppc;/i],[[f,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[f,/ower/,"",S.lowerize]],[/(sun4\w)[;\)]/i],[[f,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[f,S.lowerize]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus\s10)/i],[l,[m,"Samsung"],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy\snexus)/i,/\ssamsung[\s-]([\w-]+)/i,/sec-(sgh\w+)/i],[l,[m,"Samsung"],[p,v]],[/\((ip(?:hone|od)[\s\w]*);/i],[l,[m,"Apple"],[p,v]],[/\((ipad);[\w\s\),;-]+apple/i,/applecoremedia\/[\w\.]+\s\((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[l,[m,"Apple"],[p,y]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[l,[m,"Huawei"],[p,y]],[/d\/huawei([\w\s-]+)[;\)]/i,/\b(nexus\s6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\)\s]/i],[l,[m,"Huawei"],[p,v]],[/\b(poco[\s\w]+)(?:\sbuild|\))/i,/\b;\s(\w+)\sbuild\/hm\1/i,/\b(hm[\s\-_]?note?[\s_]?(?:\d\w)?)\sbuild/i,/\b(redmi[\s\-_]?(?:note|k)?[\w\s_]+)(?:\sbuild|\))/i,/\b(mi[\s\-_]?(?:a\d|one|one[\s_]plus|note lte)?[\s_]?(?:\d?\w?)[\s_]?(?:plus)?)\sbuild/i],[[l,/_/g," "],[m,"Xiaomi"],[p,v]],[/\b(mi[\s\-_]?(?:pad)(?:[\w\s_]+))(?:\sbuild|\))/i],[[l,/_/g," "],[m,"Xiaomi"],[p,y]],[/;\s(\w+)\sbuild.+\soppo/i,/\s(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[l,[m,"OPPO"],[p,v]],[/\svivo\s(\w+)(?:\sbuild|\))/i,/\s(v[12]\d{3}\w?[at])(?:\sbuild|;)/i],[l,[m,"Vivo"],[p,v]],[/\s(rmx[12]\d{3})(?:\sbuild|;)/i],[l,[m,"Realme"],[p,v]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)\b[\w\s]+build\//i,/\smot(?:orola)?[\s-](\w*)/i,/((?:moto[\s\w\(\)]+|xt\d{3,4}|nexus\s6)(?=\sbuild|\)))/i],[l,[m,"Motorola"],[p,v]],[/\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[l,[m,"Motorola"],[p,y]],[/((?=lg)?[vl]k\-?\d{3})\sbuild|\s3\.[\s\w;-]{10}lg?-([06cv9]{3,4})/i],[l,[m,"LG"],[p,y]],[/(lm-?f100[nv]?|nexus\s[45])/i,/lg[e;\s\/-]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+)\sbuild/i],[l,[m,"LG"],[p,v]],[/(ideatab[\w\-\s]+)/i,/lenovo\s?(s(?:5000|6000)(?:[\w-]+)|tab(?:[\s\w]+)|yt[\d\w-]{6}|tb[\d\w-]{6})/i],[l,[m,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia\s\d+)/i,/nokia[\s_-]?([\w\.-]*)/i],[[l,/_/g," "],[m,"Nokia"],[p,v]],[/droid.+;\s(pixel\sc)[\s)]/i],[l,[m,"Google"],[p,y]],[/droid.+;\s(pixel[\s\daxl]{0,6})(?:\sbuild|\))/i],[l,[m,"Google"],[p,v]],[/droid.+\s([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?=\sbuild\/|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[l,[m,"Sony"],[p,v]],[/sony\stablet\s[ps]\sbuild\//i,/(?:sony)?sgp\w+(?:\sbuild\/|\))/i],[[l,"Xperia Tablet"],[m,"Sony"],[p,y]],[/\s(kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1)\sbuild/i,/\boneplus\s(a\d{4})[\s)]/i],[l,[m,"OnePlus"],[p,v]],[/(alexa)webm/i,/(kf[a-z]{2}wi)(\sbuild\/|\))/i,/(kf[a-z]+)(\sbuild\/|\)).+silk\//i],[l,[m,"Amazon"],[p,y]],[/(sd|kf)[0349hijorstuw]+(\sbuild\/|\)).+silk\//i],[[l,"Fire Phone"],[m,"Amazon"],[p,v]],[/\((playbook);[\w\s\),;-]+(rim)/i],[l,m,[p,y]],[/((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;\s(\w+)/i],[l,[m,"BlackBerry"],[p,v]],[/(?:\b|asus_)(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus\s7|padfone|p00[cj])/i],[l,[m,"ASUS"],[p,y]],[/\s(z[es]6[027][01][km][ls]|zenfone\s\d\w?)\b/i],[l,[m,"ASUS"],[p,v]],[/(nexus\s9)/i],[l,[m,"HTC"],[p,y]],[/(htc)[;_\s-]{1,2}([\w\s]+(?=\)|\sbuild)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[m,[l,/_/g," "],[p,v]],[/droid[x\d\.\s;]+\s([ab][1-7]\-?[0178a]\d\d?)/i],[l,[m,"Acer"],[p,y]],[/droid.+;\s(m[1-5]\snote)\sbuild/i,/\bmz-([\w-]{2,})/i],[l,[m,"Meizu"],[p,v]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i,/(microsoft);\s(lumia[\s\w]+)/i,/(lenovo)[_\s-]?([\w-]+)/i,/linux;.+(jolla);/i,/droid.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[m,l,[p,v]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i,/[;\/]\s?(le[\s\-]+pan)[\s\-]+(\w{1,9})\sbuild/i,/[;\/]\s?(trinity)[\-\s]*(t\d{3})\sbuild/i,/\b(gigaset)[\s\-]+(q\w{1,9})\sbuild/i,/\b(vodafone)\s([\w\s]+)(?:\)|\sbuild)/i],[m,l,[p,y]],[/\s(surface\sduo)\s/i],[l,[m,"Microsoft"],[p,y]],[/droid\s[\d\.]+;\s(fp\du?)\sbuild/i],[l,[m,"Fairphone"],[p,v]],[/\s(u304aa)\sbuild/i],[l,[m,"AT&T"],[p,v]],[/sie-(\w*)/i],[l,[m,"Siemens"],[p,v]],[/[;\/]\s?(rct\w+)\sbuild/i],[l,[m,"RCA"],[p,y]],[/[;\/\s](venue[\d\s]{2,7})\sbuild/i],[l,[m,"Dell"],[p,y]],[/[;\/]\s?(q(?:mv|ta)\w+)\sbuild/i],[l,[m,"Verizon"],[p,y]],[/[;\/]\s(?:barnes[&\s]+noble\s|bn[rt])([\w\s\+]*)\sbuild/i],[l,[m,"Barnes & Noble"],[p,y]],[/[;\/]\s(tm\d{3}\w+)\sbuild/i],[l,[m,"NuVision"],[p,y]],[/;\s(k88)\sbuild/i],[l,[m,"ZTE"],[p,y]],[/;\s(nx\d{3}j)\sbuild/i],[l,[m,"ZTE"],[p,v]],[/[;\/]\s?(gen\d{3})\sbuild.*49h/i],[l,[m,"Swiss"],[p,v]],[/[;\/]\s?(zur\d{3})\sbuild/i],[l,[m,"Swiss"],[p,y]],[/[;\/]\s?((zeki)?tb.*\b)\sbuild/i],[l,[m,"Zeki"],[p,y]],[/[;\/]\s([yr]\d{2})\sbuild/i,/[;\/]\s(dragon[\-\s]+touch\s|dt)(\w{5})\sbuild/i],[[m,"Dragon Touch"],l,[p,y]],[/[;\/]\s?(ns-?\w{0,9})\sbuild/i],[l,[m,"Insignia"],[p,y]],[/[;\/]\s?((nxa|Next)-?\w{0,9})\sbuild/i],[l,[m,"NextBook"],[p,y]],[/[;\/]\s?(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05]))\sbuild/i],[[m,"Voice"],l,[p,v]],[/[;\/]\s?(lvtel\-)?(v1[12])\sbuild/i],[[m,"LvTel"],l,[p,v]],[/;\s(ph-1)\s/i],[l,[m,"Essential"],[p,v]],[/[;\/]\s?(v(100md|700na|7011|917g).*\b)\sbuild/i],[l,[m,"Envizen"],[p,y]],[/[;\/]\s?(trio[\s\w\-\.]+)\sbuild/i],[l,[m,"MachSpeed"],[p,y]],[/[;\/]\s?tu_(1491)\sbuild/i],[l,[m,"Rotor"],[p,y]],[/(shield[\w\s]+)\sbuild/i],[l,[m,"Nvidia"],[p,y]],[/(sprint)\s(\w+)/i],[m,l,[p,v]],[/(kin\.[onetw]{3})/i],[[l,/\./g," "],[m,"Microsoft"],[p,v]],[/droid\s[\d\.]+;\s(cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[l,[m,"Zebra"],[p,y]],[/droid\s[\d\.]+;\s(ec30|ps20|tc[2-8]\d[kx])\)/i],[l,[m,"Zebra"],[p,v]],[/\s(ouya)\s/i,/(nintendo)\s([wids3utch]+)/i],[m,l,[p,g]],[/droid.+;\s(shield)\sbuild/i],[l,[m,"Nvidia"],[p,g]],[/(playstation\s[345portablevi]+)/i],[l,[m,"Sony"],[p,g]],[/[\s\(;](xbox(?:\sone)?(?!;\sxbox))[\s\);]/i],[l,[m,"Microsoft"],[p,g]],[/smart-tv.+(samsung)/i],[m,[p,b]],[/hbbtv.+maple;(\d+)/i],[[l,/^/,"SmartTV"],[m,"Samsung"],[p,b]],[/(?:linux;\snetcast.+smarttv|lg\snetcast\.tv-201\d)/i],[[m,"LG"],[p,b]],[/(apple)\s?tv/i],[m,[l,"Apple TV"],[p,b]],[/crkey/i],[[l,"Chromecast"],[m,"Google"],[p,b]],[/droid.+aft([\w])(\sbuild\/|\))/i],[l,[m,"Amazon"],[p,b]],[/\(dtv[\);].+(aquos)/i],[l,[m,"Sharp"],[p,b]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[m,S.trim],[l,S.trim],[p,b]],[/[\s\/\(](android\s|smart[-\s]?|opera\s)tv[;\)\s]/i],[[p,b]],[/((pebble))app\/[\d\.]+\s/i],[m,l,[p,C]],[/droid.+;\s(glass)\s\d/i],[l,[m,"Google"],[p,C]],[/droid\s[\d\.]+;\s(wt63?0{2,3})\)/i],[l,[m,"Zebra"],[p,C]],[/(tesla)(?:\sqtcarbrowser|\/20[12]\d\.[\w\.-]+)/i],[m,[p,w]],[/droid .+?; ([^;]+?)(?: build|\) applewebkit).+? mobile safari/i],[l,[p,v]],[/droid .+?;\s([^;]+?)(?: build|\) applewebkit).+?(?! mobile) safari/i],[l,[p,y]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[p,S.lowerize]],[/(android[\w\.\s\-]{0,9});.+build/i],[l,[m,"Generic"]],[/(phone)/i],[[p,v]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[h,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[d,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,d]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[d,h],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)(?!.+xbox)/i],[d,[h,_.str,E.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[d,"Windows"],[h,_.str,E.os.windows.version]],[/ip[honead]{2,4}\b(?:.*os\s([\w]+)\slike\smac|;\sopera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[d,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)(?!.+haiku)/i],[[d,"Mac OS"],[h,/_/g,"."]],[/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|sailfish|contiki)[\/\s-]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/\s]([\w\.]+)/i,/\((series40);/i],[d,h],[/\(bb(10);/i],[h,[d,"BlackBerry"]],[/(?:symbian\s?os|symbos|s60(?=;)|series60)[\/\s-]?([\w\.]*)/i],[h,[d,"Symbian"]],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[d,"Chromecast"]],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[d,"Chromium OS"],h],[/(nintendo|playstation)\s([wids345portablevuch]+)/i,/(xbox);\s+xbox\s([^\);]+)/i,/(mint)[\/\s\(\)]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?=\slinux)|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus|raspbian)(?:\sgnu\/linux)?(?:\slinux)?[\/\s-]?(?!chrom|package)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i,/\s([frentopc-]{0,4}bsd|dragonfly)\s?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku)\s(\w+)/i],[d,h],[/(sunos)\s?([\w\.\d]*)/i],[[d,"Solaris"],h],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms|fuchsia)/i,/(unix)\s?([\w\.]*)/i],[d,h]]},O=function e(n,t){if("object"===typeof n&&(t=n,n=a),!(this instanceof e))return new e(n,t).getResult();var o=n||("undefined"!==typeof r&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),i=t?S.extend(x,t):x;return this.getBrowser=function(){var e={name:a,version:a};return _.rgx.call(e,o,i.browser),e.major=S.major(e.version),e},this.getCPU=function(){var e={architecture:a};return _.rgx.call(e,o,i.cpu),e},this.getDevice=function(){var e={vendor:a,model:a,type:a};return _.rgx.call(e,o,i.device),e},this.getEngine=function(){var e={name:a,version:a};return _.rgx.call(e,o,i.engine),e},this.getOS=function(){var e={name:a,version:a};return _.rgx.call(e,o,i.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return o},this.setUA=function(e){return o=typeof e===u&&e.length>255?S.trim(e,255):e,this},this.setUA(o),this};O.VERSION="0.7.28",O.BROWSER={NAME:d,MAJOR:"major",VERSION:h},O.CPU={ARCHITECTURE:f},O.DEVICE={MODEL:l,VENDOR:m,TYPE:p,CONSOLE:g,MOBILE:v,SMARTTV:b,TABLET:y,WEARABLE:C,EMBEDDED:w},O.ENGINE={NAME:d,VERSION:h},O.OS={NAME:d,VERSION:h},typeof n!==s?(typeof e!==s&&e.exports&&(n=e.exports=O),n.UAParser=O):(o=function(){return O}.call(n,t,n,e))===a||(e.exports=o);var A="undefined"!==typeof r&&(r.jQuery||r.Zepto);if(A&&!A.ua){var k=new O;A.ua=k.getResult(),A.ua.get=function(){return k.getUA()},A.ua.set=function(e){k.setUA(e);var n=k.getResult();for(var t in n)A.ua[t]=n[t]}}}("object"===typeof window?window:this)},,function(e,n,t){"use strict";var o=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,v={};function y(e,n,t){this.props=e,this.context=n,this.refs=v,this.updater=t||f}function b(){}function C(e,n,t){this.props=e,this.context=n,this.refs=v,this.updater=t||f}y.prototype.isReactComponent={},y.prototype.setState=function(e,n){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,n,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=y.prototype;var w=C.prototype=new b;w.constructor=C,g(w,y.prototype),w.isPureReactComponent=!0;var S=Array.isArray,_=Object.prototype.hasOwnProperty,E={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function O(e,n,t){var r,a={},i=null,s=null;if(null!=n)for(r in void 0!==n.ref&&(s=n.ref),void 0!==n.key&&(i=""+n.key),n)_.call(n,r)&&!x.hasOwnProperty(r)&&(a[r]=n[r]);var c=arguments.length-2;if(1===c)a.children=t;else if(1<c){for(var u=Array(c),l=0;l<c;l++)u[l]=arguments[l+2];a.children=u}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===a[r]&&(a[r]=c[r]);return{$$typeof:o,type:e,key:i,ref:s,props:a,_owner:E.current}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var k=/\/+/g;function T(e,n){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return n[e]}))}(""+e.key):n.toString(36)}function P(e,n,t,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var c=!1;if(null===e)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case o:case r:c=!0}}if(c)return i=i(c=e),e=""===a?"."+T(c,0):a,S(i)?(t="",null!=e&&(t=e.replace(k,"$&/")+"/"),P(i,n,t,"",(function(e){return e}))):null!=i&&(A(i)&&(i=function(e,n){return{$$typeof:o,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}(i,t+(!i.key||c&&c.key===i.key?"":(""+i.key).replace(k,"$&/")+"/")+e)),n.push(i)),1;if(c=0,a=""===a?".":a+":",S(e))for(var u=0;u<e.length;u++){var l=a+T(s=e[u],u);c+=P(s,n,t,l,i)}else if("function"===typeof(l=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e)))for(e=l.call(e),u=0;!(s=e.next()).done;)c+=P(s=s.value,n,t,l=a+T(s,u++),i);else if("object"===s)throw n=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return c}function M(e,n,t){if(null==e)return e;var o=[],r=0;return P(e,o,"","",(function(e){return n.call(t,e,r++)})),o}function I(e){if(-1===e._status){var n=e._result;(n=n()).then((function(n){0!==e._status&&-1!==e._status||(e._status=1,e._result=n)}),(function(n){0!==e._status&&-1!==e._status||(e._status=2,e._result=n)})),-1===e._status&&(e._status=0,e._result=n)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},j={transition:null},N={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:j,ReactCurrentOwner:E};n.Children={map:M,forEach:function(e,n,t){M(e,(function(){n.apply(this,arguments)}),t)},count:function(e){var n=0;return M(e,(function(){n++})),n},toArray:function(e){return M(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=y,n.Fragment=a,n.Profiler=s,n.PureComponent=C,n.StrictMode=i,n.Suspense=d,n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=N,n.cloneElement=function(e,n,t){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=g({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,s=E.current),void 0!==n.key&&(a=""+n.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in n)_.call(n,u)&&!x.hasOwnProperty(u)&&(r[u]=void 0===n[u]&&void 0!==c?c[u]:n[u])}var u=arguments.length-2;if(1===u)r.children=t;else if(1<u){c=Array(u);for(var l=0;l<u;l++)c[l]=arguments[l+2];r.children=c}return{$$typeof:o,type:e.type,key:a,ref:i,props:r,_owner:s}},n.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},n.createElement=O,n.createFactory=function(e){var n=O.bind(null,e);return n.type=e,n},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:l,render:e}},n.isValidElement=A,n.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:I}},n.memo=function(e,n){return{$$typeof:p,type:e,compare:void 0===n?null:n}},n.startTransition=function(e){var n=j.transition;j.transition={};try{e()}finally{j.transition=n}},n.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},n.useCallback=function(e,n){return R.current.useCallback(e,n)},n.useContext=function(e){return R.current.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e){return R.current.useDeferredValue(e)},n.useEffect=function(e,n){return R.current.useEffect(e,n)},n.useId=function(){return R.current.useId()},n.useImperativeHandle=function(e,n,t){return R.current.useImperativeHandle(e,n,t)},n.useInsertionEffect=function(e,n){return R.current.useInsertionEffect(e,n)},n.useLayoutEffect=function(e,n){return R.current.useLayoutEffect(e,n)},n.useMemo=function(e,n){return R.current.useMemo(e,n)},n.useReducer=function(e,n,t){return R.current.useReducer(e,n,t)},n.useRef=function(e){return R.current.useRef(e)},n.useState=function(e){return R.current.useState(e)},n.useSyncExternalStore=function(e,n,t){return R.current.useSyncExternalStore(e,n,t)},n.useTransition=function(){return R.current.useTransition()},n.version="18.2.0"},function(e){e.exports=JSON.parse('{"regioni":[{"nome":"Abruzzo","capoluoghi":["Chieti","L\'Aquila","Pescara","Teramo"],"province":["CH","AQ","PE","TE"]},{"nome":"Basilicata","capoluoghi":["Matera","Potenza"],"province":["MT","PZ"]},{"nome":"Calabria","capoluoghi":["Catanzaro","Cosenza","Crotone","Reggio Calabria","Vibo Valentia"],"province":["CZ","CS","KR","RC","VV"]},{"nome":"Campania","capoluoghi":["Avellino","Benevento","Caserta","Napoli","Salerno"],"province":["AV","BN","CE","NA","SA"]},{"nome":"Emilia-Romagna","capoluoghi":["Bologna","Ferrara","Forl\xec-Cesena","Modena","Parma","Piacenza","Ravenna","Reggio Emilia","Rimini"],"province":["BO","FE","FC","MO","PR","PC","RA","RE","RN"]},{"nome":"Friuli-Venezia Giulia","capoluoghi":["Gorizia","Pordenone","Trieste","Udine"],"province":["GO","PN","TS","UD"]},{"nome":"Lazio","capoluoghi":["Frosinone","Latina","Rieti","Roma","Viterbo"],"province":["FR","LT","RI","RM","VT"]},{"nome":"Liguria","capoluoghi":["Genova","Imperia","La Spezia","Savona"],"province":["GE","IM","SP","SV"]},{"nome":"Lombardia","capoluoghi":["Bergamo","Brescia","Como","Cremona","Lecco","Lodi","Mantova","Milano","Monza e Brianza","Pavia","Sondrio","Varese"],"province":["BG","BS","CO","CR","LC","LO","MN","MI","MB","PV","SO","VA"]},{"nome":"Marche","capoluoghi":["Ancona","Ascoli Piceno","Fermo","Macerata","Pesaro e Urbino"],"province":["AN","AP","FM","MC","PU"]},{"nome":"Molise","capoluoghi":["Campobasso","Isernia"],"province":["CB","IS"]},{"nome":"Piemonte","capoluoghi":["Alessandria","Asti","Biella","Cuneo","Novara","Torino","Verbano Cusio Ossola","Vercelli"],"province":["AL","AT","BI","CN","NO","TO","VB","VC"]},{"nome":"Puglia","capoluoghi":["Bari","Barletta-Andria-Trani","Brindisi","Lecce","Foggia","Taranto"],"province":["BA","BT","BR","LE","FG","TA"]},{"nome":"Sardegna","capoluoghi":["Cagliari","Carbonia-Iglesias","Medio Campidano","Nuoro","Ogliastra","Olbia-Tempio","Oristano","Sassari","Sud Sardegna"],"province":["CA","CI","VS","NU","OG","OT","OR","SS","SU"]},{"nome":"Sicilia","capoluoghi":["Agrigento","Caltanissetta","Catania","Enna","Messina","Palermo","Ragusa","Siracusa","Trapani"],"province":["AG","CL","CT","EN","ME","PA","RG","SR","TP"]},{"nome":"Toscana","capoluoghi":["Arezzo","Firenze","Grosseto","Livorno","Lucca","Massa-Carrara","Pisa","Pistoia","Prato","Siena"],"province":["AR","FI","GR","LI","LU","MS","PI","PT","PO","SI"]},{"nome":"Trentino-Alto Adige","capoluoghi":["Bolzano","Trento"],"province":["BZ","TN"]},{"nome":"Umbria","capoluoghi":["Perugia","Terni"],"province":["PG","TR"]},{"nome":"Valle d\'Aosta","capoluoghi":["Aosta"],"province":["AO"]},{"nome":"Veneto","capoluoghi":["Belluno","Padova","Rovigo","Treviso","Venezia","Verona","Vicenza"],"province":["BL","PD","RO","TV","VE","VR","VI"]}]}')},function(e){e.exports=JSON.parse('{"regioni":[{"province":[{"code":"CH","comuni":[{"code":"069001","cap":"66040","nome":"Altino"},{"code":"069002","cap":"66044","nome":"Archi"},{"code":"069003","cap":"66010","nome":"Ari"},{"code":"069004","cap":"66030","nome":"Arielli"},{"code":"069005","cap":"66041","nome":"Atessa"},{"code":"069006","cap":"66042","nome":"Bomba"},{"code":"069007","cap":"66040","nome":"Borrello"},{"code":"069008","cap":"66011","nome":"Bucchianico"},{"code":"069010","cap":"66010","nome":"Canosa Sannita"},{"code":"069011","cap":"66030","nome":"Carpineto Sinello"},{"code":"069012","cap":"66050","nome":"Carunchio"},{"code":"069013","cap":"66010","nome":"Casacanditella"},{"code":"069014","cap":"66031","nome":"Casalanguida"},{"code":"069015","cap":"66021","nome":"Casalbordino"},{"code":"069016","cap":"66012","nome":"Casalincontrada"},{"code":"069017","cap":"66043","nome":"Casoli"},{"code":"069018","cap":"66032","nome":"Castel Frentano"},{"code":"069019","cap":"66040","nome":"Castelguidone"},{"code":"069020","cap":"66033","nome":"Castiglione Messer Marino"},{"code":"069021","cap":"66050","nome":"Celenza sul Trigno"},{"code":"069022","cap":"66100","nome":"Chieti"},{"code":"069023","cap":"66040","nome":"Civitaluparella"},{"code":"069024","cap":"66010","nome":"Civitella Messer Raimondo"},{"code":"069025","cap":"66010","nome":"Colledimacine"},{"code":"069026","cap":"66040","nome":"Colledimezzo"},{"code":"069027","cap":"66014","nome":"Crecchio"},{"code":"069028","cap":"66051","nome":"Cupello"},{"code":"069029","cap":"66050","nome":"Dogliola"},{"code":"069104","cap":"66040","nome":"Fallo"},{"code":"069030","cap":"66010","nome":"Fara Filiorum Petri"},{"code":"069031","cap":"66015","nome":"Fara San Martino"},{"code":"069032","cap":"66030","nome":"Filetto"},{"code":"069033","cap":"66022","nome":"Fossacesia"},{"code":"069034","cap":"66050","nome":"Fraine"},{"code":"069035","cap":"66023","nome":"Francavilla al Mare"},{"code":"069036","cap":"66050","nome":"Fresagrandinaria"},{"code":"069037","cap":"66030","nome":"Frisa"},{"code":"069038","cap":"66050","nome":"Furci"},{"code":"069039","cap":"66040","nome":"Gamberale"},{"code":"069040","cap":"66010","nome":"Gessopalena"},{"code":"069041","cap":"66052","nome":"Gissi"},{"code":"069042","cap":"66010","nome":"Giuliano Teatino"},{"code":"069043","cap":"66016","nome":"Guardiagrele"},{"code":"069044","cap":"66050","nome":"Guilmi"},{"code":"069045","cap":"66010","nome":"Lama dei Peligni"},{"code":"069046","cap":"66034","nome":"Lanciano"},{"code":"069047","cap":"66050","nome":"Lentella"},{"code":"069048","cap":"66010","nome":"Lettopalena"},{"code":"069049","cap":"66050","nome":"Liscia"},{"code":"069050","cap":"66010","nome":"Miglianico"},{"code":"069051","cap":"66030","nome":"Montazzoli"},{"code":"069009","cap":"66040","nome":"Montebello sul Sangro"},{"code":"069052","cap":"66040","nome":"Monteferrante"},{"code":"069053","cap":"66040","nome":"Montelapiano"},{"code":"069054","cap":"66010","nome":"Montenerodomo"},{"code":"069055","cap":"66050","nome":"Monteodorisio"},{"code":"069056","cap":"66030","nome":"Mozzagrogna"},{"code":"069057","cap":"66036","nome":"Orsogna"},{"code":"069058","cap":"66026","nome":"Ortona"},{"code":"069059","cap":"66020","nome":"Paglieta"},{"code":"069060","cap":"66017","nome":"Palena"},{"code":"069061","cap":"66050","nome":"Palmoli"},{"code":"069062","cap":"66010","nome":"Palombaro"},{"code":"069063","cap":"66040","nome":"Pennadomo"},{"code":"069064","cap":"66010","nome":"Pennapiedimonte"},{"code":"069065","cap":"66040","nome":"Perano"},{"code":"069103","cap":"66040","nome":"Pietraferrazzana"},{"code":"069066","cap":"66040","nome":"Pizzoferrato"},{"code":"069067","cap":"66030","nome":"Poggiofiorito"},{"code":"069068","cap":"66020","nome":"Pollutri"},{"code":"069069","cap":"66010","nome":"Pretoro"},{"code":"069070","cap":"66040","nome":"Quadri"},{"code":"069071","cap":"66010","nome":"Rapino"},{"code":"069072","cap":"66010","nome":"Ripa Teatina"},{"code":"069074","cap":"66020","nome":"Rocca San Giovanni"},{"code":"069073","cap":"66010","nome":"Roccamontepiano"},{"code":"069075","cap":"66040","nome":"Roccascalegna"},{"code":"069076","cap":"66050","nome":"Roccaspinalveti"},{"code":"069077","cap":"66040","nome":"Roio del Sangro"},{"code":"069078","cap":"66040","nome":"Rosello"},{"code":"069079","cap":"66050","nome":"San Buono"},{"code":"069080","cap":"66050","nome":"San Giovanni Lipioni"},{"code":"069081","cap":"66020","nome":"San Giovanni Teatino"},{"code":"069082","cap":"66010","nome":"San Martino sulla Marrucina"},{"code":"069083","cap":"66050","nome":"San Salvo"},{"code":"069086","cap":"66038","nome":"San Vito Chietino"},{"code":"069084","cap":"66030","nome":"Santa Maria Imbaro"},{"code":"069085","cap":"66037","nome":"Sant\'Eusanio del Sangro"},{"code":"069087","cap":"66020","nome":"Scerni"},{"code":"069088","cap":"66045","nome":"Schiavi di Abruzzo"},{"code":"069089","cap":"66018","nome":"Taranta Peligna"},{"code":"069090","cap":"66010","nome":"Tollo"},{"code":"069091","cap":"66020","nome":"Torino di Sangro"},{"code":"069092","cap":"66046","nome":"Tornareccio"},{"code":"069093","cap":"66050","nome":"Torrebruna"},{"code":"069094","cap":"66010","nome":"Torrevecchia Teatina"},{"code":"069095","cap":"66019","nome":"Torricella Peligna"},{"code":"069096","cap":"66030","nome":"Treglio"},{"code":"069097","cap":"66050","nome":"Tufillo"},{"code":"069098","cap":"66010","nome":"Vacri"},{"code":"069099","cap":"66054","nome":"Vasto"},{"code":"069102","cap":"66047","nome":"Villa Santa Maria"},{"code":"069100","cap":"66020","nome":"Villalfonsina"},{"code":"069101","cap":"66010","nome":"Villamagna"}],"nome":"Chieti"},{"code":"AQ","comuni":[{"code":"066001","cap":"67020","nome":"Acciano"},{"code":"066002","cap":"67041","nome":"Aielli"},{"code":"066003","cap":"67030","nome":"Alfedena"},{"code":"066004","cap":"67030","nome":"Anversa degli Abruzzi"},{"code":"066005","cap":"67030","nome":"Ateleta"},{"code":"066006","cap":"67051","nome":"Avezzano"},{"code":"066007","cap":"67052","nome":"Balsorano"},{"code":"066008","cap":"67010","nome":"Barete"},{"code":"066009","cap":"67021","nome":"Barisciano"},{"code":"066010","cap":"67030","nome":"Barrea"},{"code":"066011","cap":"67050","nome":"Bisegna"},{"code":"066012","cap":"67030","nome":"Bugnara"},{"code":"066013","cap":"67012","nome":"Cagnano Amiterno"},{"code":"066014","cap":"67020","nome":"Calascio"},{"code":"066015","cap":"67030","nome":"Campo di Giove"},{"code":"066016","cap":"67013","nome":"Campotosto"},{"code":"066017","cap":"67050","nome":"Canistro"},{"code":"066018","cap":"67030","nome":"Cansano"},{"code":"066019","cap":"67022","nome":"Capestrano"},{"code":"066020","cap":"67053","nome":"Capistrello"},{"code":"066021","cap":"67014","nome":"Capitignano"},{"code":"066022","cap":"67020","nome":"Caporciano"},{"code":"066023","cap":"67060","nome":"Cappadocia"},{"code":"066024","cap":"67020","nome":"Carapelle Calvisio"},{"code":"066025","cap":"67061","nome":"Carsoli"},{"code":"066026","cap":"67023","nome":"Castel del Monte"},{"code":"066027","cap":"67020","nome":"Castel di Ieri"},{"code":"066028","cap":"67031","nome":"Castel di Sangro"},{"code":"066029","cap":"67050","nome":"Castellafiume"},{"code":"066030","cap":"67020","nome":"Castelvecchio Calvisio"},{"code":"066031","cap":"67024","nome":"Castelvecchio Subequo"},{"code":"066032","cap":"67043","nome":"Celano"},{"code":"066033","cap":"67044","nome":"Cerchio"},{"code":"066034","cap":"67050","nome":"Civita d\'Antino"},{"code":"066035","cap":"67030","nome":"Civitella Alfedena"},{"code":"066036","cap":"67054","nome":"Civitella Roveto"},{"code":"066037","cap":"67030","nome":"Cocullo"},{"code":"066038","cap":"67040","nome":"Collarmele"},{"code":"066039","cap":"67050","nome":"Collelongo"},{"code":"066040","cap":"67020","nome":"Collepietro"},{"code":"066041","cap":"67030","nome":"Corfinio"},{"code":"066042","cap":"67020","nome":"Fagnano Alto"},{"code":"066043","cap":"67020","nome":"Fontecchio"},{"code":"066044","cap":"67020","nome":"Fossa"},{"code":"066045","cap":"67020","nome":"Gagliano Aterno"},{"code":"066046","cap":"67055","nome":"Gioia dei Marsi"},{"code":"066047","cap":"67030","nome":"Goriano Sicoli"},{"code":"066048","cap":"67030","nome":"Introdacqua"},{"code":"066049","cap":"67100","nome":"L\'Aquila"},{"code":"066050","cap":"67050","nome":"Lecce nei Marsi"},{"code":"066051","cap":"67056","nome":"Luco dei Marsi"},{"code":"066052","cap":"67045","nome":"Lucoli"},{"code":"066053","cap":"67062","nome":"Magliano de\' Marsi"},{"code":"066054","cap":"67050","nome":"Massa d\'Albe"},{"code":"066055","cap":"67020","nome":"Molina Aterno"},{"code":"066056","cap":"67015","nome":"Montereale"},{"code":"066057","cap":"67050","nome":"Morino"},{"code":"066058","cap":"67020","nome":"Navelli"},{"code":"066059","cap":"67040","nome":"Ocre"},{"code":"066060","cap":"67025","nome":"Ofena"},{"code":"066061","cap":"67030","nome":"Opi"},{"code":"066062","cap":"67063","nome":"Oricola"},{"code":"066063","cap":"67050","nome":"Ortona dei Marsi"},{"code":"066064","cap":"67050","nome":"Ortucchio"},{"code":"066065","cap":"67046","nome":"Ovindoli"},{"code":"066066","cap":"67030","nome":"Pacentro"},{"code":"066067","cap":"67064","nome":"Pereto"},{"code":"066068","cap":"67032","nome":"Pescasseroli"},{"code":"066069","cap":"67057","nome":"Pescina"},{"code":"066070","cap":"67033","nome":"Pescocostanzo"},{"code":"066071","cap":"67034","nome":"Pettorano sul Gizio"},{"code":"066072","cap":"67017","nome":"Pizzoli"},{"code":"066073","cap":"67026","nome":"Poggio Picenze"},{"code":"066074","cap":"67020","nome":"Prata d\'Ansidonia"},{"code":"066075","cap":"67035","nome":"Pratola Peligna"},{"code":"066076","cap":"67030","nome":"Prezza"},{"code":"066077","cap":"67027","nome":"Raiano"},{"code":"066078","cap":"67036","nome":"Rivisondoli"},{"code":"066080","cap":"67066","nome":"Rocca di Botte"},{"code":"066081","cap":"67047","nome":"Rocca di Cambio"},{"code":"066082","cap":"67048","nome":"Rocca di Mezzo"},{"code":"066083","cap":"67030","nome":"Rocca Pia"},{"code":"066079","cap":"67030","nome":"Roccacasale"},{"code":"066084","cap":"67037","nome":"Roccaraso"},{"code":"066085","cap":"67058","nome":"San Benedetto dei Marsi"},{"code":"066086","cap":"67020","nome":"San Benedetto in Perillis"},{"code":"066087","cap":"67028","nome":"San Demetrio ne\' Vestini"},{"code":"066088","cap":"67020","nome":"San Pio delle Camere"},{"code":"066092","cap":"67050","nome":"San Vincenzo Valle Roveto"},{"code":"066089","cap":"67067","nome":"Sante Marie"},{"code":"066090","cap":"67020","nome":"Sant\'Eusanio Forconese"},{"code":"066091","cap":"67020","nome":"Santo Stefano di Sessanio"},{"code":"066093","cap":"67038","nome":"Scanno"},{"code":"066094","cap":"67030","nome":"Scontrone"},{"code":"066095","cap":"67019","nome":"Scoppito"},{"code":"066096","cap":"67068","nome":"Scurcola Marsicana"},{"code":"066097","cap":"67029","nome":"Secinaro"},{"code":"066098","cap":"67039","nome":"Sulmona"},{"code":"066099","cap":"67069","nome":"Tagliacozzo"},{"code":"066100","cap":"67020","nome":"Tione degli Abruzzi"},{"code":"066101","cap":"67049","nome":"Tornimparte"},{"code":"066102","cap":"67059","nome":"Trasacco"},{"code":"066104","cap":"67020","nome":"Villa Santa Lucia degli Abruzzi"},{"code":"066105","cap":"67020","nome":"Villa Sant\'Angelo"},{"code":"066103","cap":"67030","nome":"Villalago"},{"code":"066106","cap":"67050","nome":"Villavallelonga"},{"code":"066107","cap":"67030","nome":"Villetta Barrea"},{"code":"066108","cap":"67030","nome":"Vittorito"}],"nome":"L\'Aquila"},{"code":"PE","comuni":[{"code":"068001","cap":"65020","nome":"Abbateggio"},{"code":"068002","cap":"65020","nome":"Alanno"},{"code":"068003","cap":"65020","nome":"Bolognano"},{"code":"068004","cap":"65010","nome":"Brittoli"},{"code":"068005","cap":"65022","nome":"Bussi sul Tirino"},{"code":"068006","cap":"65010","nome":"Cappelle sul Tavo"},{"code":"068007","cap":"65023","nome":"Caramanico Terme"},{"code":"068008","cap":"65010","nome":"Carpineto della Nora"},{"code":"068009","cap":"65020","nome":"Castiglione a Casauria"},{"code":"068010","cap":"65011","nome":"Catignano"},{"code":"068011","cap":"65012","nome":"Cepagatti"},{"code":"068012","cap":"65013","nome":"Citt\xe0 Sant\'Angelo"},{"code":"068013","cap":"65010","nome":"Civitaquana"},{"code":"068014","cap":"65010","nome":"Civitella Casanova"},{"code":"068015","cap":"65010","nome":"Collecorvino"},{"code":"068016","cap":"65020","nome":"Corvara"},{"code":"068017","cap":"65020","nome":"Cugnoli"},{"code":"068018","cap":"65010","nome":"Elice"},{"code":"068019","cap":"65010","nome":"Farindola"},{"code":"068020","cap":"65020","nome":"Lettomanoppello"},{"code":"068021","cap":"65014","nome":"Loreto Aprutino"},{"code":"068022","cap":"65024","nome":"Manoppello"},{"code":"068023","cap":"65010","nome":"Montebello di Bertona"},{"code":"068024","cap":"65015","nome":"Montesilvano"},{"code":"068025","cap":"65010","nome":"Moscufo"},{"code":"068026","cap":"65010","nome":"Nocciano"},{"code":"068027","cap":"65017","nome":"Penne"},{"code":"068028","cap":"6512x","nome":"Pescara"},{"code":"068029","cap":"65020","nome":"Pescosansonesco"},{"code":"068030","cap":"65019","nome":"Pianella"},{"code":"068031","cap":"65010","nome":"Picciano"},{"code":"068032","cap":"65020","nome":"Pietranico"},{"code":"068033","cap":"65026","nome":"Popoli"},{"code":"068034","cap":"65020","nome":"Roccamorice"},{"code":"068035","cap":"65020","nome":"Rosciano"},{"code":"068036","cap":"65020","nome":"Salle"},{"code":"068038","cap":"65020","nome":"San Valentino in Abruzzo Citeriore"},{"code":"068037","cap":"65020","nome":"Sant\'Eufemia a Maiella"},{"code":"068039","cap":"65027","nome":"Scafa"},{"code":"068040","cap":"65025","nome":"Serramonacesca"},{"code":"068041","cap":"65010","nome":"Spoltore"},{"code":"068042","cap":"65028","nome":"Tocco da Casauria"},{"code":"068043","cap":"65029","nome":"Torre De\' Passeri"},{"code":"068044","cap":"65020","nome":"Turrivalignani"},{"code":"068045","cap":"65010","nome":"Vicoli"},{"code":"068046","cap":"65010","nome":"Villa Celiera"}],"nome":"Pescara"},{"code":"TE","comuni":[{"code":"067001","cap":"64011","nome":"Alba Adriatica"},{"code":"067002","cap":"64010","nome":"Ancarano"},{"code":"067003","cap":"64031","nome":"Arsita"},{"code":"067004","cap":"64032","nome":"Atri"},{"code":"067005","cap":"64030","nome":"Basciano"},{"code":"067006","cap":"64020","nome":"Bellante"},{"code":"067007","cap":"64033","nome":"Bisenti"},{"code":"067008","cap":"64012","nome":"Campli"},{"code":"067009","cap":"64020","nome":"Canzano"},{"code":"067010","cap":"64030","nome":"Castel Castagna"},{"code":"067011","cap":"64020","nome":"Castellalto"},{"code":"067012","cap":"64041","nome":"Castelli"},{"code":"067013","cap":"64034","nome":"Castiglione Messer Raimondo"},{"code":"067014","cap":"64035","nome":"Castilenti"},{"code":"067015","cap":"64036","nome":"Cellino Attanasio"},{"code":"067016","cap":"64037","nome":"Cermignano"},{"code":"067017","cap":"64010","nome":"Civitella del Tronto"},{"code":"067018","cap":"64042","nome":"Colledara"},{"code":"067019","cap":"64010","nome":"Colonnella"},{"code":"067020","cap":"64010","nome":"Controguerra"},{"code":"067021","cap":"64013","nome":"Corropoli"},{"code":"067022","cap":"64040","nome":"Cortino"},{"code":"067023","cap":"64043","nome":"Crognaleto"},{"code":"067024","cap":"64044","nome":"Fano Adriano"},{"code":"067025","cap":"64021","nome":"Giulianova"},{"code":"067026","cap":"64045","nome":"Isola del Gran Sasso d\'Italia"},{"code":"067047","cap":"64014","nome":"Martinsicuro"},{"code":"067027","cap":"64030","nome":"Montefino"},{"code":"067028","cap":"64046","nome":"Montorio al Vomano"},{"code":"067029","cap":"64020","nome":"Morro d\'Oro"},{"code":"067030","cap":"64023","nome":"Mosciano Sant\'Angelo"},{"code":"067031","cap":"64015","nome":"Nereto"},{"code":"067032","cap":"64024","nome":"Notaresco"},{"code":"067033","cap":"64039","nome":"Penna Sant\'Andrea"},{"code":"067034","cap":"64047","nome":"Pietracamela"},{"code":"067035","cap":"64025","nome":"Pineto"},{"code":"067036","cap":"64010","nome":"Rocca Santa Maria"},{"code":"067037","cap":"64026","nome":"Roseto degli Abruzzi"},{"code":"067038","cap":"64016","nome":"Sant\'Egidio alla Vibrata"},{"code":"067039","cap":"64027","nome":"Sant\'Omero"},{"code":"067040","cap":"64028","nome":"Silvi"},{"code":"067041","cap":"64100","nome":"Teramo"},{"code":"067042","cap":"64010","nome":"Torano Nuovo"},{"code":"067043","cap":"64010","nome":"Torricella Sicura"},{"code":"067044","cap":"64018","nome":"Tortoreto"},{"code":"067045","cap":"64049","nome":"Tossicia"},{"code":"067046","cap":"64010","nome":"Valle Castellana"}],"nome":"Teramo"}],"nome":"Abruzzo"},{"province":[{"code":"MT","comuni":[{"code":"077001","cap":"75011","nome":"Accettura"},{"code":"077002","cap":"75010","nome":"Aliano"},{"code":"077003","cap":"75012","nome":"Bernalda"},{"code":"077004","cap":"75010","nome":"Calciano"},{"code":"077005","cap":"75010","nome":"Cirigliano"},{"code":"077006","cap":"75021","nome":"Colobraro"},{"code":"077007","cap":"75010","nome":"Craco"},{"code":"077008","cap":"75013","nome":"Ferrandina"},{"code":"077009","cap":"75010","nome":"Garaguso"},{"code":"077010","cap":"75010","nome":"Gorgoglione"},{"code":"077011","cap":"75014","nome":"Grassano"},{"code":"077012","cap":"75010","nome":"Grottole"},{"code":"077013","cap":"75022","nome":"Irsina"},{"code":"077014","cap":"75100","nome":"Matera"},{"code":"077015","cap":"75010","nome":"Miglionico"},{"code":"077016","cap":"75023","nome":"Montalbano Jonico"},{"code":"077017","cap":"75024","nome":"Montescaglioso"},{"code":"077018","cap":"75020","nome":"Nova Siri"},{"code":"077019","cap":"75010","nome":"Oliveto Lucano"},{"code":"077020","cap":"75015","nome":"Pisticci"},{"code":"077021","cap":"75025","nome":"Policoro"},{"code":"077022","cap":"75016","nome":"Pomarico"},{"code":"077023","cap":"75026","nome":"Rotondella"},{"code":"077024","cap":"75017","nome":"Salandra"},{"code":"077025","cap":"75027","nome":"San Giorgio Lucano"},{"code":"077026","cap":"75010","nome":"San Mauro Forte"},{"code":"077031","cap":"75020","nome":"Scanzano Jonico"},{"code":"077027","cap":"75018","nome":"Stigliano"},{"code":"077028","cap":"75019","nome":"Tricarico"},{"code":"077029","cap":"75028","nome":"Tursi"},{"code":"077030","cap":"75029","nome":"Valsinni"}],"nome":"Matera"},{"code":"PZ","comuni":[{"code":"076001","cap":"85010","nome":"Abriola"},{"code":"076002","cap":"85011","nome":"Acerenza"},{"code":"076003","cap":"85010","nome":"Albano di Lucania"},{"code":"076004","cap":"85010","nome":"Anzi"},{"code":"076005","cap":"85010","nome":"Armento"},{"code":"076006","cap":"85020","nome":"Atella"},{"code":"076007","cap":"85021","nome":"Avigliano"},{"code":"076008","cap":"85050","nome":"Balvano"},{"code":"076009","cap":"85010","nome":"Banzi"},{"code":"076010","cap":"85050","nome":"Baragiano"},{"code":"076011","cap":"85022","nome":"Barile"},{"code":"076012","cap":"85051","nome":"Bella"},{"code":"076013","cap":"85050","nome":"Brienza"},{"code":"076014","cap":"85010","nome":"Brindisi Montagna"},{"code":"076015","cap":"85010","nome":"Calvello"},{"code":"076016","cap":"85030","nome":"Calvera"},{"code":"076017","cap":"85010","nome":"Campomaggiore"},{"code":"076018","cap":"85010","nome":"Cancellara"},{"code":"076019","cap":"85030","nome":"Carbone"},{"code":"076021","cap":"85050","nome":"Castelgrande"},{"code":"076022","cap":"85040","nome":"Castelluccio Inferiore"},{"code":"076023","cap":"85040","nome":"Castelluccio Superiore"},{"code":"076024","cap":"85010","nome":"Castelmezzano"},{"code":"076025","cap":"85031","nome":"Castelsaraceno"},{"code":"076026","cap":"85030","nome":"Castronuovo di Sant\'Andrea"},{"code":"076027","cap":"85030","nome":"Cersosimo"},{"code":"076028","cap":"85032","nome":"Chiaromonte"},{"code":"076029","cap":"85012","nome":"Corleto Perticara"},{"code":"076030","cap":"85033","nome":"Episcopia"},{"code":"076031","cap":"85034","nome":"Fardella"},{"code":"076032","cap":"85020","nome":"Filiano"},{"code":"076033","cap":"85023","nome":"Forenza"},{"code":"076034","cap":"85034","nome":"Francavilla in Sinni"},{"code":"076035","cap":"85010","nome":"Gallicchio"},{"code":"076036","cap":"85013","nome":"Genzano di Lucania"},{"code":"076099","cap":"85020","nome":"Ginestra"},{"code":"076037","cap":"85050","nome":"Grumento Nova"},{"code":"076038","cap":"85010","nome":"Guardia Perticara"},{"code":"076039","cap":"85042","nome":"Lagonegro"},{"code":"076040","cap":"85043","nome":"Latronico"},{"code":"076041","cap":"85014","nome":"Laurenzana"},{"code":"076042","cap":"85044","nome":"Lauria"},{"code":"076043","cap":"85024","nome":"Lavello"},{"code":"076044","cap":"85046","nome":"Maratea"},{"code":"076045","cap":"85052","nome":"Marsico Nuovo"},{"code":"076046","cap":"85050","nome":"Marsicovetere"},{"code":"076047","cap":"85020","nome":"Maschito"},{"code":"076048","cap":"85025","nome":"Melfi"},{"code":"076049","cap":"85010","nome":"Missanello"},{"code":"076050","cap":"85047","nome":"Moliterno"},{"code":"076051","cap":"85020","nome":"Montemilone"},{"code":"076052","cap":"85053","nome":"Montemurro"},{"code":"076053","cap":"85054","nome":"Muro Lucano"},{"code":"076054","cap":"85040","nome":"Nemoli"},{"code":"076055","cap":"85035","nome":"Noepoli"},{"code":"076056","cap":"85015","nome":"Oppido Lucano"},{"code":"076057","cap":"85026","nome":"Palazzo San Gervasio"},{"code":"076100","cap":"85050","nome":"Paterno"},{"code":"076058","cap":"85020","nome":"Pescopagano"},{"code":"076059","cap":"85055","nome":"Picerno"},{"code":"076060","cap":"85016","nome":"Pietragalla"},{"code":"076061","cap":"85010","nome":"Pietrapertosa"},{"code":"076062","cap":"85010","nome":"Pignola"},{"code":"076063","cap":"85100","nome":"Potenza"},{"code":"076064","cap":"85027","nome":"Rapolla"},{"code":"076065","cap":"85020","nome":"Rapone"},{"code":"076066","cap":"85028","nome":"Rionero in Vulture"},{"code":"076067","cap":"85020","nome":"Ripacandida"},{"code":"076068","cap":"85040","nome":"Rivello"},{"code":"076069","cap":"85036","nome":"Roccanova"},{"code":"076070","cap":"85048","nome":"Rotonda"},{"code":"076071","cap":"85056","nome":"Ruoti"},{"code":"076072","cap":"85020","nome":"Ruvo del Monte"},{"code":"076073","cap":"85010","nome":"San Chirico Nuovo"},{"code":"076074","cap":"85030","nome":"San Chirico Raparo"},{"code":"076075","cap":"85030","nome":"San Costantino Albanese"},{"code":"076076","cap":"85020","nome":"San Fele"},{"code":"076077","cap":"85030","nome":"San Martino d\'Agri"},{"code":"076020","cap":"85030","nome":"San Paolo Albanese"},{"code":"076078","cap":"85030","nome":"San Severino Lucano"},{"code":"076079","cap":"85050","nome":"Sant\'Angelo Le Fratte"},{"code":"076080","cap":"85037","nome":"Sant\'Arcangelo"},{"code":"076081","cap":"85050","nome":"Sarconi"},{"code":"076082","cap":"85050","nome":"Sasso di Castalda"},{"code":"076083","cap":"85050","nome":"Satriano di Lucania"},{"code":"076084","cap":"85050","nome":"Savoia di Lucania"},{"code":"076085","cap":"85038","nome":"Senise"},{"code":"076086","cap":"85039","nome":"Spinoso"},{"code":"076087","cap":"85032","nome":"Teana"},{"code":"076088","cap":"85030","nome":"Terranova di Pollino"},{"code":"076089","cap":"85050","nome":"Tito"},{"code":"076090","cap":"85017","nome":"Tolve"},{"code":"076091","cap":"85057","nome":"Tramutola"},{"code":"076092","cap":"85049","nome":"Trecchina"},{"code":"076093","cap":"85018","nome":"Trivigno"},{"code":"076094","cap":"85010","nome":"Vaglio Basilicata"},{"code":"076095","cap":"85029","nome":"Venosa"},{"code":"076096","cap":"85058","nome":"Vietri di Potenza"},{"code":"076097","cap":"85040","nome":"Viggianello"},{"code":"076098","cap":"85059","nome":"Viggiano"}],"nome":"Potenza"}],"nome":"Basilicata"},{"province":[{"code":"CZ","comuni":[{"code":"079002","cap":"88055","nome":"Albi"},{"code":"079003","cap":"88050","nome":"Amaroni"},{"code":"079004","cap":"88040","nome":"Amato"},{"code":"079005","cap":"88050","nome":"Andali"},{"code":"079007","cap":"88060","nome":"Argusto"},{"code":"079008","cap":"88060","nome":"Badolato"},{"code":"079009","cap":"88050","nome":"Belcastro"},{"code":"079011","cap":"88021","nome":"Borgia"},{"code":"079012","cap":"88070","nome":"Botricello"},{"code":"079017","cap":"88050","nome":"Caraffa di Catanzaro"},{"code":"079018","cap":"88062","nome":"Cardinale"},{"code":"079020","cap":"88040","nome":"Carlopoli"},{"code":"079023","cap":"88100","nome":"Catanzaro"},{"code":"079024","cap":"88067","nome":"Cenadi"},{"code":"079025","cap":"88067","nome":"Centrache"},{"code":"079027","cap":"88050","nome":"Cerva"},{"code":"079029","cap":"88064","nome":"Chiaravalle Centrale"},{"code":"079030","cap":"88040","nome":"Cicala"},{"code":"079033","cap":"88040","nome":"Conflenti"},{"code":"079034","cap":"88020","nome":"Cortale"},{"code":"079036","cap":"88051","nome":"Cropani"},{"code":"079039","cap":"88022","nome":"Curinga"},{"code":"079042","cap":"88060","nome":"Davoli"},{"code":"079043","cap":"88041","nome":"Decollatura"},{"code":"079047","cap":"88042","nome":"Falerna"},{"code":"079048","cap":"88040","nome":"Feroleto Antico"},{"code":"079052","cap":"88050","nome":"Fossato Serralta"},{"code":"079055","cap":"88060","nome":"Gagliato"},{"code":"079056","cap":"88060","nome":"Gasperina"},{"code":"079058","cap":"88045","nome":"Gimigliano"},{"code":"079059","cap":"88024","nome":"Girifalco"},{"code":"079060","cap":"88040","nome":"Gizzeria"},{"code":"079061","cap":"88065","nome":"Guardavalle"},{"code":"079063","cap":"88060","nome":"Isca sullo Ionio"},{"code":"079065","cap":"88020","nome":"Jacurso"},{"code":"079160","cap":"88046","nome":"Lamezia Terme"},{"code":"079068","cap":"88050","nome":"Magisano"},{"code":"079069","cap":"88025","nome":"Maida"},{"code":"079071","cap":"88050","nome":"Marcedusa"},{"code":"079072","cap":"88044","nome":"Marcellinara"},{"code":"079073","cap":"88040","nome":"Martirano"},{"code":"079074","cap":"88040","nome":"Martirano Lombardo"},{"code":"079077","cap":"88040","nome":"Miglierina"},{"code":"079080","cap":"88060","nome":"Montauro"},{"code":"079081","cap":"88060","nome":"Montepaone"},{"code":"079083","cap":"88040","nome":"Motta Santa Lucia"},{"code":"079087","cap":"88047","nome":"Nocera Terinese"},{"code":"079088","cap":"88067","nome":"Olivadi"},{"code":"079089","cap":"88050","nome":"Palermiti"},{"code":"079092","cap":"88050","nome":"Pentone"},{"code":"079094","cap":"88060","nome":"Petrizzi"},{"code":"079095","cap":"88050","nome":"Petron\xe0"},{"code":"079096","cap":"88040","nome":"Pianopoli"},{"code":"079099","cap":"88040","nome":"Platania"},{"code":"079108","cap":"88021","nome":"San Floro"},{"code":"079110","cap":"88040","nome":"San Mango d\'Aquino"},{"code":"079114","cap":"88025","nome":"San Pietro a Maida"},{"code":"079115","cap":"88040","nome":"San Pietro Apostolo"},{"code":"079116","cap":"88060","nome":"San Sostene"},{"code":"079122","cap":"88067","nome":"San Vito sullo Ionio"},{"code":"079117","cap":"88060","nome":"Santa Caterina dello Ionio"},{"code":"079118","cap":"88060","nome":"Sant\'Andrea Apostolo dello Ionio"},{"code":"079123","cap":"88060","nome":"Satriano"},{"code":"079126","cap":"88050","nome":"Sellia"},{"code":"079127","cap":"88050","nome":"Sellia Marina"},{"code":"079129","cap":"88040","nome":"Serrastretta"},{"code":"079130","cap":"88054","nome":"Sersale"},{"code":"079131","cap":"88040","nome":"Settingiano"},{"code":"079133","cap":"88050","nome":"Simeri Crichi"},{"code":"079134","cap":"88050","nome":"Sorbo San Basile"},{"code":"079137","cap":"88068","nome":"Soverato"},{"code":"079138","cap":"88049","nome":"Soveria Mannelli"},{"code":"079139","cap":"88050","nome":"Soveria Simeri"},{"code":"079142","cap":"88069","nome":"Squillace"},{"code":"079143","cap":"88069","nome":"Stalett\xec"},{"code":"079146","cap":"88055","nome":"Taverna"},{"code":"079147","cap":"88056","nome":"Tiriolo"},{"code":"079148","cap":"88060","nome":"Torre di Ruggiero"},{"code":"079151","cap":"88050","nome":"Vallefiorita"},{"code":"079157","cap":"88050","nome":"Zagarise"}],"nome":"Catanzaro"},{"code":"CS","comuni":[{"code":"078001","cap":"87010","nome":"Acquaformosa"},{"code":"078002","cap":"87020","nome":"Acquappesa"},{"code":"078003","cap":"87041","nome":"Acri"},{"code":"078004","cap":"87031","nome":"Aiello Calabro"},{"code":"078005","cap":"87020","nome":"Aieta"},{"code":"078006","cap":"87070","nome":"Albidona"},{"code":"078007","cap":"87070","nome":"Alessandria del Carretto"},{"code":"078008","cap":"87040","nome":"Altilia"},{"code":"078009","cap":"87042","nome":"Altomonte"},{"code":"078010","cap":"87032","nome":"Amantea"},{"code":"078011","cap":"87071","nome":"Amendolara"},{"code":"078012","cap":"87051","nome":"Aprigliano"},{"code":"078013","cap":"87033","nome":"Belmonte Calabro"},{"code":"078014","cap":"87030","nome":"Belsito"},{"code":"078015","cap":"87021","nome":"Belvedere Marittimo"},{"code":"078016","cap":"87050","nome":"Bianchi"},{"code":"078017","cap":"87043","nome":"Bisignano"},{"code":"078018","cap":"87060","nome":"Bocchigliero"},{"code":"078019","cap":"87020","nome":"Bonifati"},{"code":"078020","cap":"87020","nome":"Buonvicino"},{"code":"078021","cap":"87060","nome":"Calopezzati"},{"code":"078022","cap":"87060","nome":"Caloveto"},{"code":"078023","cap":"87061","nome":"Campana"},{"code":"078024","cap":"87070","nome":"Canna"},{"code":"078025","cap":"87062","nome":"Cariati"},{"code":"078026","cap":"87030","nome":"Carolei"},{"code":"078027","cap":"87050","nome":"Carpanzano"},{"code":"078028","cap":"87050","nome":"Casole Bruzio"},{"code":"078029","cap":"87011","nome":"Cassano all\'Ionio"},{"code":"078030","cap":"87040","nome":"Castiglione Cosentino"},{"code":"078031","cap":"87040","nome":"Castrolibero"},{"code":"078032","cap":"87070","nome":"Castroregio"},{"code":"078033","cap":"87012","nome":"Castrovillari"},{"code":"078034","cap":"87053","nome":"Celico"},{"code":"078035","cap":"87050","nome":"Cellara"},{"code":"078036","cap":"87070","nome":"Cerchiara di Calabria"},{"code":"078037","cap":"87044","nome":"Cerisano"},{"code":"078038","cap":"87010","nome":"Cervicati"},{"code":"078039","cap":"87040","nome":"Cerzeto"},{"code":"078040","cap":"87022","nome":"Cetraro"},{"code":"078041","cap":"87010","nome":"Civita"},{"code":"078042","cap":"87030","nome":"Cleto"},{"code":"078043","cap":"87050","nome":"Colosimi"},{"code":"078044","cap":"87064","nome":"Corigliano Calabro"},{"code":"078045","cap":"87100","nome":"Cosenza"},{"code":"078046","cap":"87060","nome":"Cropalati"},{"code":"078047","cap":"87060","nome":"Crosia"},{"code":"078048","cap":"87023","nome":"Diamante"},{"code":"078049","cap":"87045","nome":"Dipignano"},{"code":"078050","cap":"87030","nome":"Domanico"},{"code":"078051","cap":"87013","nome":"Fagnano Castello"},{"code":"078052","cap":"87030","nome":"Falconara Albanese"},{"code":"078053","cap":"87050","nome":"Figline Vegliaturo"},{"code":"078054","cap":"87010","nome":"Firmo"},{"code":"078055","cap":"87030","nome":"Fiumefreddo Bruzio"},{"code":"078056","cap":"87072","nome":"Francavilla Marittima"},{"code":"078057","cap":"87010","nome":"Frascineto"},{"code":"078058","cap":"87024","nome":"Fuscaldo"},{"code":"078059","cap":"87034","nome":"Grimaldi"},{"code":"078060","cap":"87020","nome":"Grisolia"},{"code":"078061","cap":"87020","nome":"Guardia Piemontese"},{"code":"078062","cap":"87035","nome":"Lago"},{"code":"078063","cap":"87014","nome":"Laino Borgo"},{"code":"078064","cap":"87015","nome":"Laino Castello"},{"code":"078065","cap":"87050","nome":"Lappano"},{"code":"078066","cap":"87010","nome":"Lattarico"},{"code":"078067","cap":"87030","nome":"Longobardi"},{"code":"078068","cap":"87066","nome":"Longobucco"},{"code":"078069","cap":"87010","nome":"Lungro"},{"code":"078070","cap":"87040","nome":"Luzzi"},{"code":"078071","cap":"87020","nome":"Maier\xe0"},{"code":"078072","cap":"87030","nome":"Malito"},{"code":"078073","cap":"87010","nome":"Malvito"},{"code":"078074","cap":"87060","nome":"Mandatoriccio"},{"code":"078075","cap":"87050","nome":"Mangone"},{"code":"078076","cap":"87040","nome":"Marano Marchesato"},{"code":"078077","cap":"87040","nome":"Marano Principato"},{"code":"078078","cap":"87050","nome":"Marzi"},{"code":"078079","cap":"87040","nome":"Mendicino"},{"code":"078080","cap":"87040","nome":"Mongrassano"},{"code":"078081","cap":"87046","nome":"Montalto Uffugo"},{"code":"078082","cap":"87070","nome":"Montegiordano"},{"code":"078083","cap":"87016","nome":"Morano Calabro"},{"code":"078084","cap":"87026","nome":"Mormanno"},{"code":"078085","cap":"87010","nome":"Mottafollone"},{"code":"078086","cap":"87070","nome":"Nocara"},{"code":"078087","cap":"87073","nome":"Oriolo"},{"code":"078088","cap":"87020","nome":"Orsomarso"},{"code":"078089","cap":"87060","nome":"Paludi"},{"code":"078090","cap":"87050","nome":"Panettieri"},{"code":"078091","cap":"87027","nome":"Paola"},{"code":"078092","cap":"87020","nome":"Papasidero"},{"code":"078093","cap":"87040","nome":"Parenti"},{"code":"078094","cap":"87040","nome":"Paterno Calabro"},{"code":"078095","cap":"87050","nome":"Pedace"},{"code":"078096","cap":"87050","nome":"Pedivigliano"},{"code":"078097","cap":"87050","nome":"Piane Crati"},{"code":"078098","cap":"87050","nome":"Pietrafitta"},{"code":"078099","cap":"87060","nome":"Pietrapaola"},{"code":"078100","cap":"87070","nome":"Plataci"},{"code":"078101","cap":"87028","nome":"Praia a Mare"},{"code":"078102","cap":"87036","nome":"Rende"},{"code":"078103","cap":"87074","nome":"Rocca Imperiale"},{"code":"078104","cap":"87017","nome":"Roggiano Gravina"},{"code":"078105","cap":"87054","nome":"Rogliano"},{"code":"078106","cap":"87040","nome":"Rose"},{"code":"078107","cap":"87070","nome":"Roseto Capo Spulico"},{"code":"078108","cap":"87067","nome":"Rossano"},{"code":"078109","cap":"87010","nome":"Rota Greca"},{"code":"078110","cap":"87050","nome":"Rovito"},{"code":"078111","cap":"87010","nome":"San Basile"},{"code":"078112","cap":"87040","nome":"San Benedetto Ullano"},{"code":"078113","cap":"87060","nome":"San Cosmo Albanese"},{"code":"078114","cap":"87069","nome":"San Demetrio Corone"},{"code":"078115","cap":"87010","nome":"San Donato di Ninea"},{"code":"078116","cap":"87037","nome":"San Fili"},{"code":"078118","cap":"87060","nome":"San Giorgio Albanese"},{"code":"078119","cap":"87055","nome":"San Giovanni in Fiore"},{"code":"078120","cap":"87070","nome":"San Lorenzo Bellizzi"},{"code":"078121","cap":"87040","nome":"San Lorenzo del Vallo"},{"code":"078122","cap":"87038","nome":"San Lucido"},{"code":"078123","cap":"87018","nome":"San Marco Argentano"},{"code":"078124","cap":"87010","nome":"San Martino di Finita"},{"code":"078125","cap":"87020","nome":"San Nicola Arcella"},{"code":"078126","cap":"87030","nome":"San Pietro in Amantea"},{"code":"078127","cap":"87047","nome":"San Pietro in Guarano"},{"code":"078128","cap":"87010","nome":"San Sosti"},{"code":"078135","cap":"87030","nome":"San Vincenzo la Costa"},{"code":"078117","cap":"87020","nome":"Sangineto"},{"code":"078129","cap":"87010","nome":"Santa Caterina Albanese"},{"code":"078130","cap":"87020","nome":"Santa Domenica Talao"},{"code":"078132","cap":"87020","nome":"Santa Maria del Cedro"},{"code":"078133","cap":"87048","nome":"Santa Sofia D\'Epiro"},{"code":"078131","cap":"87010","nome":"Sant\'Agata di Esaro"},{"code":"078134","cap":"87056","nome":"Santo Stefano di Rogliano"},{"code":"078136","cap":"87010","nome":"Saracena"},{"code":"078137","cap":"87060","nome":"Scala Coeli"},{"code":"078138","cap":"87029","nome":"Scalea"},{"code":"078139","cap":"87057","nome":"Scigliano"},{"code":"078140","cap":"87030","nome":"Serra d\'Aiello"},{"code":"078141","cap":"87050","nome":"Serra Pedace"},{"code":"078142","cap":"87019","nome":"Spezzano Albanese"},{"code":"078143","cap":"87058","nome":"Spezzano della Sila"},{"code":"078144","cap":"87050","nome":"Spezzano Piccolo"},{"code":"078145","cap":"87040","nome":"Tarsia"},{"code":"078146","cap":"87010","nome":"Terranova da Sibari"},{"code":"078147","cap":"87060","nome":"Terravecchia"},{"code":"078148","cap":"87010","nome":"Torano Castello"},{"code":"078149","cap":"87020","nome":"Tortora"},{"code":"078150","cap":"87075","nome":"Trebisacce"},{"code":"078151","cap":"87050","nome":"Trenta"},{"code":"078152","cap":"87060","nome":"Vaccarizzo Albanese"},{"code":"078153","cap":"87020","nome":"Verbicaro"},{"code":"078154","cap":"87076","nome":"Villapiana"},{"code":"078155","cap":"87040","nome":"Zumpano"}],"nome":"Cosenza"},{"code":"KR","comuni":[{"code":"101001","cap":"88824","nome":"Belvedere di Spinello"},{"code":"101002","cap":"88833","nome":"Caccuri"},{"code":"101003","cap":"88817","nome":"Carfizzi"},{"code":"101004","cap":"88822","nome":"Casabona"},{"code":"101005","cap":"88834","nome":"Castelsilano"},{"code":"101006","cap":"88833","nome":"Cerenzia"},{"code":"101007","cap":"88813","nome":"Cir\xf2"},{"code":"101008","cap":"88811","nome":"Cir\xf2 Marina"},{"code":"101009","cap":"88836","nome":"Cotronei"},{"code":"101010","cap":"88900","nome":"Crotone"},{"code":"101011","cap":"88812","nome":"Crucoli"},{"code":"101012","cap":"88842","nome":"Cutro"},{"code":"101013","cap":"88841","nome":"Isola di Capo Rizzuto"},{"code":"101014","cap":"88814","nome":"Melissa"},{"code":"101015","cap":"88838","nome":"Mesoraca"},{"code":"101016","cap":"88818","nome":"Pallagorio"},{"code":"101017","cap":"88837","nome":"Petilia Policastro"},{"code":"101019","cap":"88821","nome":"Rocca di Neto"},{"code":"101018","cap":"88835","nome":"Roccabernarda"},{"code":"101020","cap":"88831","nome":"San Mauro Marchesato"},{"code":"101021","cap":"88817","nome":"San Nicola dell\'Alto"},{"code":"101022","cap":"88832","nome":"Santa Severina"},{"code":"101023","cap":"88825","nome":"Savelli"},{"code":"101024","cap":"88831","nome":"Scandale"},{"code":"101025","cap":"88816","nome":"Strongoli"},{"code":"101026","cap":"88823","nome":"Umbriatico"},{"code":"101027","cap":"88819","nome":"Verzino"}],"nome":"Crotone"},{"code":"RC","comuni":[{"code":"080001","cap":"89030","nome":"Africo"},{"code":"080002","cap":"89040","nome":"Agnana Calabra"},{"code":"080003","cap":"89020","nome":"Anoia"},{"code":"080004","cap":"89040","nome":"Antonimina"},{"code":"080005","cap":"89031","nome":"Ardore"},{"code":"080006","cap":"89060","nome":"Bagaladi"},{"code":"080007","cap":"89011","nome":"Bagnara Calabra"},{"code":"080008","cap":"89030","nome":"Benestare"},{"code":"080009","cap":"89032","nome":"Bianco"},{"code":"080010","cap":"89040","nome":"Bivongi"},{"code":"080011","cap":"89033","nome":"Bova"},{"code":"080013","cap":"89035","nome":"Bova Marina"},{"code":"080012","cap":"89034","nome":"Bovalino"},{"code":"080014","cap":"89036","nome":"Brancaleone"},{"code":"080015","cap":"89030","nome":"Bruzzano Zeffirio"},{"code":"080016","cap":"89050","nome":"Calanna"},{"code":"080017","cap":"89040","nome":"Camini"},{"code":"080018","cap":"89052","nome":"Campo Calabro"},{"code":"080019","cap":"89020","nome":"Candidoni"},{"code":"080020","cap":"89040","nome":"Canolo"},{"code":"080021","cap":"89030","nome":"Caraffa del Bianco"},{"code":"080022","cap":"89060","nome":"Cardeto"},{"code":"080023","cap":"89030","nome":"Careri"},{"code":"080024","cap":"89030","nome":"Casignana"},{"code":"080025","cap":"89041","nome":"Caulonia"},{"code":"080026","cap":"89040","nome":"Cimin\xe0"},{"code":"080027","cap":"89021","nome":"Cinquefrondi"},{"code":"080028","cap":"89022","nome":"Cittanova"},{"code":"080029","cap":"89030","nome":"Condofuri"},{"code":"080030","cap":"89050","nome":"Cosoleto"},{"code":"080031","cap":"89012","nome":"Delianuova"},{"code":"080032","cap":"89050","nome":"Feroleto della Chiesa"},{"code":"080033","cap":"89030","nome":"Ferruzzano"},{"code":"080034","cap":"89050","nome":"Fiumara"},{"code":"080035","cap":"89054","nome":"Galatro"},{"code":"080036","cap":"89040","nome":"Gerace"},{"code":"080037","cap":"89020","nome":"Giffone"},{"code":"080038","cap":"89013","nome":"Gioia Tauro"},{"code":"080039","cap":"89042","nome":"Gioiosa Ionica"},{"code":"080040","cap":"89043","nome":"Grotteria"},{"code":"080041","cap":"89050","nome":"Laganadi"},{"code":"080042","cap":"89023","nome":"Laureana di Borrello"},{"code":"080043","cap":"89044","nome":"Locri"},{"code":"080044","cap":"89045","nome":"Mammola"},{"code":"080045","cap":"89046","nome":"Marina di Gioiosa Ionica"},{"code":"080046","cap":"89020","nome":"Maropati"},{"code":"080047","cap":"89040","nome":"Martone"},{"code":"080048","cap":"89020","nome":"Melicucc\xe0"},{"code":"080049","cap":"89020","nome":"Melicucco"},{"code":"080050","cap":"89063","nome":"Melito di Porto Salvo"},{"code":"080051","cap":"89010","nome":"Molochio"},{"code":"080052","cap":"89040","nome":"Monasterace"},{"code":"080053","cap":"89064","nome":"Montebello Ionico"},{"code":"080054","cap":"89065","nome":"Motta San Giovanni"},{"code":"080055","cap":"89014","nome":"Oppido Mamertina"},{"code":"080056","cap":"89038","nome":"Palizzi"},{"code":"080057","cap":"89015","nome":"Palmi"},{"code":"080058","cap":"89040","nome":"Pazzano"},{"code":"080059","cap":"89040","nome":"Placanica"},{"code":"080060","cap":"89039","nome":"Plat\xec"},{"code":"080061","cap":"89024","nome":"Polistena"},{"code":"080062","cap":"89040","nome":"Portigliola"},{"code":"080063","cap":"891xx","nome":"Reggio Calabria"},{"code":"080064","cap":"89040","nome":"Riace"},{"code":"080065","cap":"89016","nome":"Rizziconi"},{"code":"080066","cap":"89060","nome":"Roccaforte del Greco"},{"code":"080067","cap":"89047","nome":"Roccella Ionica"},{"code":"080068","cap":"89060","nome":"Roghudi"},{"code":"080069","cap":"89025","nome":"Rosarno"},{"code":"080070","cap":"89030","nome":"Samo"},{"code":"080097","cap":"89026","nome":"San Ferdinando"},{"code":"080071","cap":"89017","nome":"San Giorgio Morgeto"},{"code":"080072","cap":"89040","nome":"San Giovanni di Gerace"},{"code":"080073","cap":"89069","nome":"San Lorenzo"},{"code":"080074","cap":"89030","nome":"San Luca"},{"code":"080075","cap":"89020","nome":"San Pietro di Carid\xe0"},{"code":"080076","cap":"89020","nome":"San Procopio"},{"code":"080077","cap":"89050","nome":"San Roberto"},{"code":"080078","cap":"89056","nome":"Santa Cristina d\'Aspromonte"},{"code":"080079","cap":"89030","nome":"Sant\'Agata del Bianco"},{"code":"080080","cap":"89050","nome":"Sant\'Alessio in Aspromonte"},{"code":"080081","cap":"89027","nome":"Sant\'Eufemia d\'Aspromonte"},{"code":"080082","cap":"89040","nome":"Sant\'Ilario dello Ionio"},{"code":"080083","cap":"89057","nome":"Santo Stefano in Aspromonte"},{"code":"080084","cap":"89010","nome":"Scido"},{"code":"080085","cap":"89058","nome":"Scilla"},{"code":"080086","cap":"89028","nome":"Seminara"},{"code":"080087","cap":"89020","nome":"Serrata"},{"code":"080088","cap":"89048","nome":"Siderno"},{"code":"080089","cap":"89020","nome":"Sinopoli"},{"code":"080090","cap":"89030","nome":"Staiti"},{"code":"080091","cap":"89040","nome":"Stignano"},{"code":"080092","cap":"89049","nome":"Stilo"},{"code":"080093","cap":"89029","nome":"Taurianova"},{"code":"080094","cap":"89010","nome":"Terranova Sappo Minulio"},{"code":"080095","cap":"89010","nome":"Varapodio"},{"code":"080096","cap":"89018","nome":"Villa San Giovanni"}],"nome":"Reggio Calabria"},{"code":"VV","comuni":[{"code":"102001","cap":"89832","nome":"Acquaro"},{"code":"102002","cap":"89832","nome":"Arena"},{"code":"102003","cap":"89817","nome":"Briatico"},{"code":"102004","cap":"89822","nome":"Brognaturo"},{"code":"102005","cap":"89818","nome":"Capistrano"},{"code":"102006","cap":"89816","nome":"Cessaniti"},{"code":"102007","cap":"89832","nome":"Das\xe0"},{"code":"102008","cap":"89833","nome":"Dinami"},{"code":"102009","cap":"89862","nome":"Drapia"},{"code":"102010","cap":"89823","nome":"Fabrizia"},{"code":"102011","cap":"89814","nome":"Filadelfia"},{"code":"102012","cap":"89841","nome":"Filandari"},{"code":"102013","cap":"89843","nome":"Filogaso"},{"code":"102014","cap":"89815","nome":"Francavilla Angitola"},{"code":"102015","cap":"89851","nome":"Francica"},{"code":"102016","cap":"89831","nome":"Gerocarne"},{"code":"102017","cap":"89851","nome":"Ionadi"},{"code":"102018","cap":"89863","nome":"Joppolo"},{"code":"102019","cap":"89844","nome":"Limbadi"},{"code":"102020","cap":"89843","nome":"Maierato"},{"code":"102021","cap":"89852","nome":"Mileto"},{"code":"102022","cap":"89823","nome":"Mongiana"},{"code":"102023","cap":"89819","nome":"Monterosso Calabro"},{"code":"102024","cap":"89824","nome":"Nardodipace"},{"code":"102025","cap":"89844","nome":"Nicotera"},{"code":"102026","cap":"89861","nome":"Parghelia"},{"code":"102027","cap":"89812","nome":"Pizzo"},{"code":"102028","cap":"89834","nome":"Pizzoni"},{"code":"102029","cap":"89813","nome":"Polia"},{"code":"102030","cap":"89866","nome":"Ricadi"},{"code":"102031","cap":"89841","nome":"Rombiolo"},{"code":"102032","cap":"89842","nome":"San Calogero"},{"code":"102033","cap":"89851","nome":"San Costantino Calabro"},{"code":"102034","cap":"89853","nome":"San Gregorio d\'Ippona"},{"code":"102035","cap":"89821","nome":"San Nicola da Crissa"},{"code":"102036","cap":"89843","nome":"Sant\'Onofrio"},{"code":"102037","cap":"89822","nome":"Serra San Bruno"},{"code":"102038","cap":"89822","nome":"Simbario"},{"code":"102039","cap":"89831","nome":"Sorianello"},{"code":"102040","cap":"89831","nome":"Soriano Calabro"},{"code":"102041","cap":"89822","nome":"Spadola"},{"code":"102042","cap":"89864","nome":"Spilinga"},{"code":"102043","cap":"89843","nome":"Stefanaconi"},{"code":"102044","cap":"89861","nome":"Tropea"},{"code":"102045","cap":"89821","nome":"Vallelonga"},{"code":"102046","cap":"89834","nome":"Vazzano"},{"code":"102047","cap":"89900","nome":"Vibo Valentia"},{"code":"102048","cap":"89867","nome":"Zaccanopoli"},{"code":"102049","cap":"89868","nome":"Zambrone"},{"code":"102050","cap":"89867","nome":"Zungri"}],"nome":"Vibo Valentia"}],"nome":"Calabria"},{"province":[{"code":"AV","comuni":[{"code":"064001","cap":"83020","nome":"Aiello del Sabato"},{"code":"064002","cap":"83011","nome":"Altavilla Irpina"},{"code":"064003","cap":"83040","nome":"Andretta"},{"code":"064004","cap":"83041","nome":"Aquilonia"},{"code":"064005","cap":"83031","nome":"Ariano Irpino"},{"code":"064006","cap":"83042","nome":"Atripalda"},{"code":"064007","cap":"83021","nome":"Avella"},{"code":"064008","cap":"83100","nome":"Avellino"},{"code":"064009","cap":"83043","nome":"Bagnoli Irpino"},{"code":"064010","cap":"83022","nome":"Baiano"},{"code":"064011","cap":"83044","nome":"Bisaccia"},{"code":"064012","cap":"83032","nome":"Bonito"},{"code":"064013","cap":"83040","nome":"Cairano"},{"code":"064014","cap":"83040","nome":"Calabritto"},{"code":"064015","cap":"83045","nome":"Calitri"},{"code":"064016","cap":"83040","nome":"Candida"},{"code":"064017","cap":"83040","nome":"Caposele"},{"code":"064018","cap":"83010","nome":"Capriglia Irpina"},{"code":"064019","cap":"83040","nome":"Carife"},{"code":"064020","cap":"83034","nome":"Casalbore"},{"code":"064021","cap":"83040","nome":"Cassano Irpino"},{"code":"064022","cap":"83040","nome":"Castel Baronia"},{"code":"064023","cap":"83040","nome":"Castelfranci"},{"code":"064024","cap":"83040","nome":"Castelvetere sul Calore"},{"code":"064025","cap":"83012","nome":"Cervinara"},{"code":"064026","cap":"83020","nome":"Cesinali"},{"code":"064027","cap":"83010","nome":"Chianche"},{"code":"064028","cap":"83040","nome":"Chiusano di San Domenico"},{"code":"064029","cap":"83020","nome":"Contrada"},{"code":"064030","cap":"83040","nome":"Conza della Campania"},{"code":"064031","cap":"83020","nome":"Domicella"},{"code":"064032","cap":"83040","nome":"Flumeri"},{"code":"064033","cap":"83040","nome":"Fontanarosa"},{"code":"064034","cap":"83020","nome":"Forino"},{"code":"064035","cap":"83040","nome":"Frigento"},{"code":"064036","cap":"83040","nome":"Gesualdo"},{"code":"064037","cap":"83030","nome":"Greci"},{"code":"064038","cap":"83035","nome":"Grottaminarda"},{"code":"064039","cap":"83010","nome":"Grottolella"},{"code":"064040","cap":"83040","nome":"Guardia Lombardi"},{"code":"064041","cap":"83046","nome":"Lacedonia"},{"code":"064042","cap":"83030","nome":"Lapio"},{"code":"064043","cap":"83023","nome":"Lauro"},{"code":"064044","cap":"83047","nome":"Lioni"},{"code":"064045","cap":"83040","nome":"Luogosano"},{"code":"064046","cap":"83030","nome":"Manocalzati"},{"code":"064047","cap":"83020","nome":"Marzano di Nola"},{"code":"064048","cap":"83030","nome":"Melito Irpino"},{"code":"064049","cap":"83013","nome":"Mercogliano"},{"code":"064050","cap":"83036","nome":"Mirabella Eclano"},{"code":"064051","cap":"83030","nome":"Montaguto"},{"code":"064052","cap":"83037","nome":"Montecalvo Irpino"},{"code":"064053","cap":"83030","nome":"Montefalcione"},{"code":"064054","cap":"83024","nome":"Monteforte Irpino"},{"code":"064055","cap":"83030","nome":"Montefredane"},{"code":"064056","cap":"83030","nome":"Montefusco"},{"code":"064057","cap":"83048","nome":"Montella"},{"code":"064058","cap":"83040","nome":"Montemarano"},{"code":"064059","cap":"83038","nome":"Montemiletto"},{"code":"064060","cap":"83049","nome":"Monteverde"},{"code":"064061","cap":"83025","nome":"Montoro Inferiore"},{"code":"064062","cap":"83026","nome":"Montoro Superiore"},{"code":"064063","cap":"83040","nome":"Morra De Sanctis"},{"code":"064064","cap":"83020","nome":"Moschiano"},{"code":"064065","cap":"83027","nome":"Mugnano del Cardinale"},{"code":"064066","cap":"83051","nome":"Nusco"},{"code":"064067","cap":"83014","nome":"Ospedaletto d\'Alpinolo"},{"code":"064068","cap":"83020","nome":"Pago del Vallo di Lauro"},{"code":"064069","cap":"83050","nome":"Parolise"},{"code":"064070","cap":"83052","nome":"Paternopoli"},{"code":"064071","cap":"83010","nome":"Petruro Irpino"},{"code":"064072","cap":"83030","nome":"Pietradefusi"},{"code":"064073","cap":"83015","nome":"Pietrastornina"},{"code":"064074","cap":"83030","nome":"Prata di Principato Ultra"},{"code":"064075","cap":"83039","nome":"Pratola Serra"},{"code":"064076","cap":"83020","nome":"Quadrelle"},{"code":"064077","cap":"83020","nome":"Quindici"},{"code":"064079","cap":"83050","nome":"Rocca San Felice"},{"code":"064078","cap":"83016","nome":"Roccabascerana"},{"code":"064080","cap":"83017","nome":"Rotondi"},{"code":"064081","cap":"83050","nome":"Salza Irpina"},{"code":"064082","cap":"83050","nome":"San Mango sul Calore"},{"code":"064083","cap":"83018","nome":"San Martino Valle Caudina"},{"code":"064084","cap":"83020","nome":"San Michele di Serino"},{"code":"064085","cap":"83050","nome":"San Nicola Baronia"},{"code":"064086","cap":"83050","nome":"San Potito Ultra"},{"code":"064087","cap":"83050","nome":"San Sossio Baronia"},{"code":"064088","cap":"83020","nome":"Santa Lucia di Serino"},{"code":"064093","cap":"83030","nome":"Santa Paolina"},{"code":"064089","cap":"83053","nome":"Sant\'Andrea di Conza"},{"code":"064091","cap":"83010","nome":"Sant\'Angelo a Scala"},{"code":"064090","cap":"83050","nome":"Sant\'Angelo all\'Esca"},{"code":"064092","cap":"83054","nome":"Sant\'Angelo dei Lombardi"},{"code":"064095","cap":"83050","nome":"Santo Stefano del Sole"},{"code":"064096","cap":"83030","nome":"Savignano Irpino"},{"code":"064097","cap":"83050","nome":"Scampitella"},{"code":"064098","cap":"83050","nome":"Senerchia"},{"code":"064099","cap":"83028","nome":"Serino"},{"code":"064100","cap":"83020","nome":"Sirignano"},{"code":"064101","cap":"83029","nome":"Solofra"},{"code":"064102","cap":"83050","nome":"Sorbo Serpico"},{"code":"064103","cap":"83020","nome":"Sperone"},{"code":"064104","cap":"83055","nome":"Sturno"},{"code":"064105","cap":"83010","nome":"Summonte"},{"code":"064106","cap":"83020","nome":"Taurano"},{"code":"064107","cap":"83030","nome":"Taurasi"},{"code":"064108","cap":"83056","nome":"Teora"},{"code":"064109","cap":"83057","nome":"Torella dei Lombardi"},{"code":"064110","cap":"83030","nome":"Torre Le Nocelle"},{"code":"064111","cap":"83010","nome":"Torrioni"},{"code":"064112","cap":"83058","nome":"Trevico"},{"code":"064113","cap":"83010","nome":"Tufo"},{"code":"064114","cap":"83059","nome":"Vallata"},{"code":"064115","cap":"83050","nome":"Vallesaccarda"},{"code":"064116","cap":"83030","nome":"Venticano"},{"code":"064117","cap":"83050","nome":"Villamaina"},{"code":"064118","cap":"83030","nome":"Villanova del Battista"},{"code":"064119","cap":"83050","nome":"Volturara Irpina"},{"code":"064120","cap":"83030","nome":"Zungoli"}],"nome":"Avellino"},{"code":"BN","comuni":[{"code":"062001","cap":"82011","nome":"Airola"},{"code":"062002","cap":"82031","nome":"Amorosi"},{"code":"062003","cap":"82021","nome":"Apice"},{"code":"062004","cap":"82030","nome":"Apollosa"},{"code":"062005","cap":"82011","nome":"Arpaia"},{"code":"062006","cap":"82010","nome":"Arpaise"},{"code":"062007","cap":"82020","nome":"Baselice"},{"code":"062008","cap":"82100","nome":"Benevento"},{"code":"062009","cap":"82013","nome":"Bonea"},{"code":"062010","cap":"82010","nome":"Bucciano"},{"code":"062011","cap":"82020","nome":"Buonalbergo"},{"code":"062012","cap":"82018","nome":"Calvi"},{"code":"062013","cap":"82020","nome":"Campolattaro"},{"code":"062014","cap":"82030","nome":"Campoli del Monte Taburno"},{"code":"062015","cap":"82027","nome":"Casalduni"},{"code":"062016","cap":"82022","nome":"Castelfranco in Miscano"},{"code":"062017","cap":"82024","nome":"Castelpagano"},{"code":"062018","cap":"82030","nome":"Castelpoto"},{"code":"062019","cap":"82037","nome":"Castelvenere"},{"code":"062020","cap":"82023","nome":"Castelvetere in Val Fortore"},{"code":"062021","cap":"82030","nome":"Cautano"},{"code":"062022","cap":"82010","nome":"Ceppaloni"},{"code":"062023","cap":"82032","nome":"Cerreto Sannita"},{"code":"062024","cap":"82020","nome":"Circello"},{"code":"062025","cap":"82024","nome":"Colle Sannita"},{"code":"062026","cap":"82033","nome":"Cusano Mutri"},{"code":"062027","cap":"82030","nome":"Dugenta"},{"code":"062028","cap":"82015","nome":"Durazzano"},{"code":"062029","cap":"82030","nome":"Faicchio"},{"code":"062030","cap":"82030","nome":"Foglianise"},{"code":"062031","cap":"82020","nome":"Foiano di Val Fortore"},{"code":"062032","cap":"82011","nome":"Forchia"},{"code":"062033","cap":"82020","nome":"Fragneto L\'Abate"},{"code":"062034","cap":"82020","nome":"Fragneto Monforte"},{"code":"062035","cap":"82030","nome":"Frasso Telesino"},{"code":"062036","cap":"82020","nome":"Ginestra degli Schiavoni"},{"code":"062037","cap":"82034","nome":"Guardia Sanframondi"},{"code":"062038","cap":"82030","nome":"Limatola"},{"code":"062039","cap":"82030","nome":"Melizzano"},{"code":"062040","cap":"82010","nome":"Moiano"},{"code":"062041","cap":"82020","nome":"Molinara"},{"code":"062042","cap":"82025","nome":"Montefalcone di Val Fortore"},{"code":"062043","cap":"82016","nome":"Montesarchio"},{"code":"062044","cap":"82026","nome":"Morcone"},{"code":"062045","cap":"82020","nome":"Paduli"},{"code":"062046","cap":"82020","nome":"Pago Veiano"},{"code":"062047","cap":"82017","nome":"Pannarano"},{"code":"062048","cap":"82011","nome":"Paolisi"},{"code":"062049","cap":"82030","nome":"Paupisi"},{"code":"062050","cap":"82020","nome":"Pesco Sannita"},{"code":"062051","cap":"82030","nome":"Pietraroja"},{"code":"062052","cap":"82020","nome":"Pietrelcina"},{"code":"062053","cap":"82030","nome":"Ponte"},{"code":"062054","cap":"82027","nome":"Pontelandolfo"},{"code":"062055","cap":"82030","nome":"Puglianello"},{"code":"062056","cap":"82020","nome":"Reino"},{"code":"062057","cap":"82028","nome":"San Bartolomeo in Galdo"},{"code":"062058","cap":"82018","nome":"San Giorgio del Sannio"},{"code":"062059","cap":"82020","nome":"San Giorgio La Molara"},{"code":"062060","cap":"82010","nome":"San Leucio del Sannio"},{"code":"062061","cap":"82030","nome":"San Lorenzello"},{"code":"062062","cap":"82034","nome":"San Lorenzo Maggiore"},{"code":"062063","cap":"82034","nome":"San Lupo"},{"code":"062064","cap":"82029","nome":"San Marco dei Cavoti"},{"code":"062065","cap":"82010","nome":"San Martino Sannita"},{"code":"062066","cap":"82018","nome":"San Nazzaro"},{"code":"062067","cap":"82010","nome":"San Nicola Manfredi"},{"code":"062068","cap":"82030","nome":"San Salvatore Telesino"},{"code":"062069","cap":"82020","nome":"Santa Croce del Sannio"},{"code":"062070","cap":"82019","nome":"Sant\'Agata De\' Goti"},{"code":"062071","cap":"82010","nome":"Sant\'Angelo a Cupolo"},{"code":"062078","cap":"82021","nome":"Sant\'Arcangelo Trimonte"},{"code":"062072","cap":"82026","nome":"Sassinoro"},{"code":"062073","cap":"82036","nome":"Solopaca"},{"code":"062074","cap":"82037","nome":"Telese Terme"},{"code":"062075","cap":"82030","nome":"Tocco Caudio"},{"code":"062076","cap":"82030","nome":"Torrecuso"},{"code":"062077","cap":"82038","nome":"Vitulano"}],"nome":"Benevento"},{"code":"CE","comuni":[{"code":"061001","cap":"81010","nome":"Ailano"},{"code":"061002","cap":"81011","nome":"Alife"},{"code":"061003","cap":"81012","nome":"Alvignano"},{"code":"061004","cap":"81021","nome":"Arienzo"},{"code":"061005","cap":"81031","nome":"Aversa"},{"code":"061006","cap":"81010","nome":"Baia e Latina"},{"code":"061007","cap":"81041","nome":"Bellona"},{"code":"061008","cap":"81059","nome":"Caianello"},{"code":"061009","cap":"81013","nome":"Caiazzo"},{"code":"061010","cap":"81042","nome":"Calvi Risorta"},{"code":"061011","cap":"81050","nome":"Camigliano"},{"code":"061012","cap":"81030","nome":"Cancello ed Arnone"},{"code":"061013","cap":"81020","nome":"Capodrise"},{"code":"061014","cap":"81014","nome":"Capriati a Volturno"},{"code":"061015","cap":"81043","nome":"Capua"},{"code":"061016","cap":"81032","nome":"Carinaro"},{"code":"061017","cap":"81030","nome":"Carinola"},{"code":"061018","cap":"81022","nome":"Casagiove"},{"code":"061019","cap":"81033","nome":"Casal di Principe"},{"code":"061020","cap":"81030","nome":"Casaluce"},{"code":"061103","cap":"81030","nome":"Casapesenna"},{"code":"061021","cap":"81020","nome":"Casapulla"},{"code":"061022","cap":"81100","nome":"Caserta"},{"code":"061023","cap":"81010","nome":"Castel Campagnano"},{"code":"061024","cap":"81040","nome":"Castel di Sasso"},{"code":"061026","cap":"81020","nome":"Castel Morrone"},{"code":"061027","cap":"81030","nome":"Castel Volturno"},{"code":"061025","cap":"81016","nome":"Castello del Matese"},{"code":"061102","cap":"81030","nome":"Cellole"},{"code":"061028","cap":"81023","nome":"Cervino"},{"code":"061029","cap":"81030","nome":"Cesa"},{"code":"061030","cap":"81010","nome":"Ciorlano"},{"code":"061031","cap":"81044","nome":"Conca della Campania"},{"code":"061032","cap":"81040","nome":"Curti"},{"code":"061033","cap":"81010","nome":"Dragoni"},{"code":"061101","cap":"81030","nome":"Falciano del Massico"},{"code":"061034","cap":"81014","nome":"Fontegreca"},{"code":"061035","cap":"81040","nome":"Formicola"},{"code":"061036","cap":"81050","nome":"Francolise"},{"code":"061037","cap":"81030","nome":"Frignano"},{"code":"061038","cap":"81010","nome":"Gallo Matese"},{"code":"061039","cap":"81044","nome":"Galluccio"},{"code":"061040","cap":"81042","nome":"Giano Vetusto"},{"code":"061041","cap":"81010","nome":"Gioia Sannitica"},{"code":"061042","cap":"81046","nome":"Grazzanise"},{"code":"061043","cap":"81030","nome":"Gricignano di Aversa"},{"code":"061044","cap":"81010","nome":"Letino"},{"code":"061045","cap":"81040","nome":"Liberi"},{"code":"061046","cap":"81030","nome":"Lusciano"},{"code":"061047","cap":"81047","nome":"Macerata Campania"},{"code":"061048","cap":"81024","nome":"Maddaloni"},{"code":"061049","cap":"81025","nome":"Marcianise"},{"code":"061050","cap":"81035","nome":"Marzano Appio"},{"code":"061051","cap":"81049","nome":"Mignano Monte Lungo"},{"code":"061052","cap":"81034","nome":"Mondragone"},{"code":"061053","cap":"81030","nome":"Orta di Atella"},{"code":"061054","cap":"81030","nome":"Parete"},{"code":"061055","cap":"81050","nome":"Pastorano"},{"code":"061056","cap":"81013","nome":"Piana di Monte Verna"},{"code":"061057","cap":"81016","nome":"Piedimonte Matese"},{"code":"061058","cap":"81051","nome":"Pietramelara"},{"code":"061059","cap":"81040","nome":"Pietravairano"},{"code":"061060","cap":"81052","nome":"Pignataro Maggiore"},{"code":"061061","cap":"81040","nome":"Pontelatone"},{"code":"061062","cap":"81050","nome":"Portico di Caserta"},{"code":"061063","cap":"81010","nome":"Prata Sannita"},{"code":"061064","cap":"81010","nome":"Pratella"},{"code":"061065","cap":"81050","nome":"Presenzano"},{"code":"061066","cap":"81017","nome":"Raviscanina"},{"code":"061067","cap":"81020","nome":"Recale"},{"code":"061068","cap":"81053","nome":"Riardo"},{"code":"061069","cap":"81040","nome":"Rocca D\'Evandro"},{"code":"061070","cap":"81035","nome":"Roccamonfina"},{"code":"061071","cap":"81051","nome":"Roccaromana"},{"code":"061072","cap":"81042","nome":"Rocchetta e Croce"},{"code":"061073","cap":"81010","nome":"Ruviano"},{"code":"061074","cap":"81036","nome":"San Cipriano d\'Aversa"},{"code":"061075","cap":"81027","nome":"San Felice a Cancello"},{"code":"061076","cap":"81010","nome":"San Gregorio Matese"},{"code":"061077","cap":"81030","nome":"San Marcellino"},{"code":"061104","cap":"81020","nome":"San Marco Evangelista"},{"code":"061078","cap":"81020","nome":"San Nicola la Strada"},{"code":"061079","cap":"81049","nome":"San Pietro Infine"},{"code":"061080","cap":"81016","nome":"San Potito Sannitico"},{"code":"061081","cap":"81054","nome":"San Prisco"},{"code":"061085","cap":"81050","nome":"San Tammaro"},{"code":"061082","cap":"81028","nome":"Santa Maria a Vico"},{"code":"061083","cap":"81055","nome":"Santa Maria Capua Vetere"},{"code":"061084","cap":"81050","nome":"Santa Maria La Fossa"},{"code":"061086","cap":"81017","nome":"Sant\'Angelo d\'Alife"},{"code":"061087","cap":"81030","nome":"Sant\'Arpino"},{"code":"061088","cap":"81037","nome":"Sessa Aurunca"},{"code":"061089","cap":"81056","nome":"Sparanise"},{"code":"061090","cap":"81030","nome":"Succivo"},{"code":"061091","cap":"81057","nome":"Teano"},{"code":"061092","cap":"81030","nome":"Teverola"},{"code":"061093","cap":"81044","nome":"Tora e Piccilli"},{"code":"061094","cap":"81038","nome":"Trentola-Ducenta"},{"code":"061095","cap":"81058","nome":"Vairano Patenora"},{"code":"061096","cap":"81010","nome":"Valle Agricola"},{"code":"061097","cap":"81020","nome":"Valle di Maddaloni"},{"code":"061098","cap":"81030","nome":"Villa di Briano"},{"code":"061099","cap":"81039","nome":"Villa Literno"},{"code":"061100","cap":"81041","nome":"Vitulazio"}],"nome":"Caserta"},{"code":"NA","comuni":[{"code":"063001","cap":"80011","nome":"Acerra"},{"code":"063002","cap":"80021","nome":"Afragola"},{"code":"063003","cap":"80051","nome":"Agerola"},{"code":"063004","cap":"80071","nome":"Anacapri"},{"code":"063005","cap":"80022","nome":"Arzano"},{"code":"063006","cap":"80070","nome":"Bacoli"},{"code":"063007","cap":"80070","nome":"Barano d\'Ischia"},{"code":"063008","cap":"80041","nome":"Boscoreale"},{"code":"063009","cap":"80042","nome":"Boscotrecase"},{"code":"063010","cap":"80031","nome":"Brusciano"},{"code":"063011","cap":"80023","nome":"Caivano"},{"code":"063012","cap":"80012","nome":"Calvizzano"},{"code":"063013","cap":"80030","nome":"Camposano"},{"code":"063014","cap":"80073","nome":"Capri"},{"code":"063015","cap":"80030","nome":"Carbonara di Nola"},{"code":"063016","cap":"80024","nome":"Cardito"},{"code":"063017","cap":"80013","nome":"Casalnuovo di Napoli"},{"code":"063018","cap":"80032","nome":"Casamarciano"},{"code":"063019","cap":"80074","nome":"Casamicciola Terme"},{"code":"063020","cap":"80025","nome":"Casandrino"},{"code":"063021","cap":"80020","nome":"Casavatore"},{"code":"063022","cap":"80050","nome":"Casola di Napoli"},{"code":"063023","cap":"80026","nome":"Casoria"},{"code":"063024","cap":"80053","nome":"Castellammare di Stabia"},{"code":"063025","cap":"80030","nome":"Castello di Cisterna"},{"code":"063026","cap":"80040","nome":"Cercola"},{"code":"063027","cap":"80033","nome":"Cicciano"},{"code":"063028","cap":"80030","nome":"Cimitile"},{"code":"063029","cap":"80030","nome":"Comiziano"},{"code":"063030","cap":"80020","nome":"Crispano"},{"code":"063064","cap":"80056","nome":"Ercolano"},{"code":"063031","cap":"80075","nome":"Forio"},{"code":"063032","cap":"80027","nome":"Frattamaggiore"},{"code":"063033","cap":"80020","nome":"Frattaminore"},{"code":"063034","cap":"80014","nome":"Giugliano in Campania"},{"code":"063035","cap":"80054","nome":"Gragnano"},{"code":"063036","cap":"80028","nome":"Grumo Nevano"},{"code":"063037","cap":"80077","nome":"Ischia"},{"code":"063038","cap":"80076","nome":"Lacco Ameno"},{"code":"063039","cap":"80050","nome":"Lettere"},{"code":"063040","cap":"80030","nome":"Liveri"},{"code":"063041","cap":"80016","nome":"Marano di Napoli"},{"code":"063042","cap":"80030","nome":"Mariglianella"},{"code":"063043","cap":"80034","nome":"Marigliano"},{"code":"063092","cap":"80040","nome":"Massa di Somma"},{"code":"063044","cap":"80061","nome":"Massa Lubrense"},{"code":"063045","cap":"80017","nome":"Melito di Napoli"},{"code":"063046","cap":"80062","nome":"Meta"},{"code":"063047","cap":"80070","nome":"Monte di Procida"},{"code":"063048","cap":"80018","nome":"Mugnano di Napoli"},{"code":"063049","cap":"801xx","nome":"Napoli"},{"code":"063050","cap":"80035","nome":"Nola"},{"code":"063051","cap":"80044","nome":"Ottaviano"},{"code":"063052","cap":"80036","nome":"Palma Campania"},{"code":"063053","cap":"80063","nome":"Piano di Sorrento"},{"code":"063054","cap":"80050","nome":"Pimonte"},{"code":"063055","cap":"80040","nome":"Poggiomarino"},{"code":"063056","cap":"80040","nome":"Pollena Trocchia"},{"code":"063057","cap":"80038","nome":"Pomigliano d\'Arco"},{"code":"063058","cap":"80045","nome":"Pompei"},{"code":"063059","cap":"80055","nome":"Portici"},{"code":"063060","cap":"80078","nome":"Pozzuoli"},{"code":"063061","cap":"80079","nome":"Procida"},{"code":"063062","cap":"80019","nome":"Qualiano"},{"code":"063063","cap":"80010","nome":"Quarto"},{"code":"063065","cap":"80030","nome":"Roccarainola"},{"code":"063066","cap":"80040","nome":"San Gennaro Vesuviano"},{"code":"063067","cap":"80046","nome":"San Giorgio a Cremano"},{"code":"063068","cap":"80047","nome":"San Giuseppe Vesuviano"},{"code":"063069","cap":"80030","nome":"San Paolo Bel Sito"},{"code":"063070","cap":"80040","nome":"San Sebastiano al Vesuvio"},{"code":"063075","cap":"80030","nome":"San Vitaliano"},{"code":"063090","cap":"80050","nome":"Santa Maria la Carit\xe0"},{"code":"063071","cap":"80065","nome":"Sant\'Agnello"},{"code":"063072","cap":"80048","nome":"Sant\'Anastasia"},{"code":"063073","cap":"80029","nome":"Sant\'Antimo"},{"code":"063074","cap":"80057","nome":"Sant\'Antonio Abate"},{"code":"063076","cap":"80039","nome":"Saviano"},{"code":"063077","cap":"80030","nome":"Scisciano"},{"code":"063078","cap":"80070","nome":"Serrara Fontana"},{"code":"063079","cap":"80049","nome":"Somma Vesuviana"},{"code":"063080","cap":"80067","nome":"Sorrento"},{"code":"063081","cap":"80040","nome":"Striano"},{"code":"063082","cap":"80040","nome":"Terzigno"},{"code":"063083","cap":"80058","nome":"Torre Annunziata"},{"code":"063084","cap":"80059","nome":"Torre del Greco"},{"code":"063091","cap":"80040","nome":"Trecase"},{"code":"063085","cap":"80030","nome":"Tufino"},{"code":"063086","cap":"80069","nome":"Vico Equense"},{"code":"063087","cap":"80010","nome":"Villaricca"},{"code":"063088","cap":"80030","nome":"Visciano"},{"code":"063089","cap":"80040","nome":"Volla"}],"nome":"Napoli"},{"code":"SA","comuni":[{"code":"065001","cap":"84042","nome":"Acerno"},{"code":"065002","cap":"84043","nome":"Agropoli"},{"code":"065003","cap":"84044","nome":"Albanella"},{"code":"065004","cap":"84040","nome":"Alfano"},{"code":"065005","cap":"84045","nome":"Altavilla Silentina"},{"code":"065006","cap":"84011","nome":"Amalfi"},{"code":"065007","cap":"84012","nome":"Angri"},{"code":"065008","cap":"84020","nome":"Aquara"},{"code":"065009","cap":"84046","nome":"Ascea"},{"code":"065010","cap":"84030","nome":"Atena Lucana"},{"code":"065011","cap":"84010","nome":"Atrani"},{"code":"065012","cap":"84031","nome":"Auletta"},{"code":"065013","cap":"84081","nome":"Baronissi"},{"code":"065014","cap":"84091","nome":"Battipaglia"},{"code":"065158","cap":"84092","nome":"Bellizzi"},{"code":"065015","cap":"84020","nome":"Bellosguardo"},{"code":"065016","cap":"84082","nome":"Bracigliano"},{"code":"065017","cap":"84021","nome":"Buccino"},{"code":"065018","cap":"84032","nome":"Buonabitacolo"},{"code":"065019","cap":"84030","nome":"Caggiano"},{"code":"065020","cap":"84080","nome":"Calvanico"},{"code":"065021","cap":"84040","nome":"Camerota"},{"code":"065022","cap":"84022","nome":"Campagna"},{"code":"065023","cap":"84040","nome":"Campora"},{"code":"065024","cap":"84040","nome":"Cannalonga"},{"code":"065025","cap":"84047","nome":"Capaccio"},{"code":"065028","cap":"84040","nome":"Casal Velino"},{"code":"065026","cap":"84030","nome":"Casalbuono"},{"code":"065027","cap":"84030","nome":"Casaletto Spartano"},{"code":"065029","cap":"84030","nome":"Caselle in Pittari"},{"code":"065034","cap":"84083","nome":"Castel San Giorgio"},{"code":"065035","cap":"84049","nome":"Castel San Lorenzo"},{"code":"065030","cap":"84020","nome":"Castelcivita"},{"code":"065031","cap":"84048","nome":"Castellabate"},{"code":"065032","cap":"84040","nome":"Castelnuovo Cilento"},{"code":"065033","cap":"84020","nome":"Castelnuovo di Conza"},{"code":"065036","cap":"84090","nome":"Castiglione del Genovesi"},{"code":"065037","cap":"84013","nome":"Cava de\' Tirreni"},{"code":"065038","cap":"84040","nome":"Celle di Bulgheria"},{"code":"065039","cap":"84051","nome":"Centola"},{"code":"065040","cap":"84052","nome":"Ceraso"},{"code":"065041","cap":"84010","nome":"Cetara"},{"code":"065042","cap":"84053","nome":"Cicerale"},{"code":"065043","cap":"84020","nome":"Colliano"},{"code":"065044","cap":"84010","nome":"Conca dei Marini"},{"code":"065045","cap":"84020","nome":"Controne"},{"code":"065046","cap":"84024","nome":"Contursi Terme"},{"code":"065047","cap":"84010","nome":"Corbara"},{"code":"065048","cap":"84020","nome":"Corleto Monforte"},{"code":"065049","cap":"84050","nome":"Cuccaro Vetere"},{"code":"065050","cap":"84025","nome":"Eboli"},{"code":"065051","cap":"84055","nome":"Felitto"},{"code":"065052","cap":"84084","nome":"Fisciano"},{"code":"065053","cap":"84010","nome":"Furore"},{"code":"065054","cap":"84050","nome":"Futani"},{"code":"065055","cap":"84090","nome":"Giffoni Sei Casali"},{"code":"065056","cap":"84095","nome":"Giffoni Valle Piana"},{"code":"065057","cap":"84056","nome":"Gioi"},{"code":"065058","cap":"84050","nome":"Giungano"},{"code":"065059","cap":"84050","nome":"Ispani"},{"code":"065060","cap":"84050","nome":"Laureana Cilento"},{"code":"065061","cap":"84057","nome":"Laurino"},{"code":"065062","cap":"84050","nome":"Laurito"},{"code":"065063","cap":"84020","nome":"Laviano"},{"code":"065064","cap":"84050","nome":"Lustra"},{"code":"065065","cap":"84050","nome":"Magliano Vetere"},{"code":"065066","cap":"84010","nome":"Maiori"},{"code":"065067","cap":"84085","nome":"Mercato San Severino"},{"code":"065068","cap":"84010","nome":"Minori"},{"code":"065069","cap":"84060","nome":"Moio della Civitella"},{"code":"065070","cap":"84060","nome":"Montano Antilia"},{"code":"065075","cap":"84030","nome":"Monte San Giacomo"},{"code":"065071","cap":"84060","nome":"Montecorice"},{"code":"065072","cap":"84090","nome":"Montecorvino Pugliano"},{"code":"065073","cap":"84096","nome":"Montecorvino Rovella"},{"code":"065074","cap":"84060","nome":"Monteforte Cilento"},{"code":"065076","cap":"84033","nome":"Montesano sulla Marcellana"},{"code":"065077","cap":"84030","nome":"Morigerati"},{"code":"065078","cap":"84014","nome":"Nocera Inferiore"},{"code":"065079","cap":"84015","nome":"Nocera Superiore"},{"code":"065080","cap":"84060","nome":"Novi Velia"},{"code":"065081","cap":"84061","nome":"Ogliastro Cilento"},{"code":"065082","cap":"84062","nome":"Olevano sul Tusciano"},{"code":"065083","cap":"84020","nome":"Oliveto Citra"},{"code":"065084","cap":"84060","nome":"Omignano"},{"code":"065085","cap":"84060","nome":"Orria"},{"code":"065086","cap":"84020","nome":"Ottati"},{"code":"065087","cap":"84034","nome":"Padula"},{"code":"065088","cap":"84016","nome":"Pagani"},{"code":"065089","cap":"84020","nome":"Palomonte"},{"code":"065090","cap":"84080","nome":"Pellezzano"},{"code":"065091","cap":"84060","nome":"Perdifumo"},{"code":"065092","cap":"84060","nome":"Perito"},{"code":"065093","cap":"84030","nome":"Pertosa"},{"code":"065094","cap":"84020","nome":"Petina"},{"code":"065095","cap":"84065","nome":"Piaggine"},{"code":"065096","cap":"84066","nome":"Pisciotta"},{"code":"065097","cap":"84035","nome":"Polla"},{"code":"065098","cap":"84068","nome":"Pollica"},{"code":"065099","cap":"84098","nome":"Pontecagnano Faiano"},{"code":"065100","cap":"84017","nome":"Positano"},{"code":"065101","cap":"84026","nome":"Postiglione"},{"code":"065102","cap":"84010","nome":"Praiano"},{"code":"065103","cap":"84060","nome":"Prignano Cilento"},{"code":"065104","cap":"84010","nome":"Ravello"},{"code":"065105","cap":"84020","nome":"Ricigliano"},{"code":"065106","cap":"84069","nome":"Roccadaspide"},{"code":"065107","cap":"84060","nome":"Roccagloriosa"},{"code":"065108","cap":"84086","nome":"Roccapiemonte"},{"code":"065109","cap":"84070","nome":"Rofrano"},{"code":"065110","cap":"84020","nome":"Romagnano al Monte"},{"code":"065111","cap":"84020","nome":"Roscigno"},{"code":"065112","cap":"84070","nome":"Rutino"},{"code":"065113","cap":"84070","nome":"Sacco"},{"code":"065114","cap":"84036","nome":"Sala Consilina"},{"code":"065115","cap":"84070","nome":"Salento"},{"code":"065116","cap":"841xx","nome":"Salerno"},{"code":"065117","cap":"84020","nome":"Salvitelle"},{"code":"065118","cap":"84099","nome":"San Cipriano Picentino"},{"code":"065119","cap":"84070","nome":"San Giovanni a Piro"},{"code":"065120","cap":"84020","nome":"San Gregorio Magno"},{"code":"065121","cap":"84090","nome":"San Mango Piemonte"},{"code":"065122","cap":"84010","nome":"San Marzano sul Sarno"},{"code":"065123","cap":"84070","nome":"San Mauro Cilento"},{"code":"065124","cap":"84070","nome":"San Mauro La Bruca"},{"code":"065125","cap":"84030","nome":"San Pietro al Tanagro"},{"code":"065126","cap":"84030","nome":"San Rufo"},{"code":"065132","cap":"84010","nome":"San Valentino Torio"},{"code":"065127","cap":"84070","nome":"Santa Marina"},{"code":"065128","cap":"84027","nome":"Sant\'Angelo a Fasanella"},{"code":"065129","cap":"84037","nome":"Sant\'Arsenio"},{"code":"065130","cap":"84010","nome":"Sant\'Egidio del Monte Albino"},{"code":"065131","cap":"84020","nome":"Santomenna"},{"code":"065133","cap":"84030","nome":"Sanza"},{"code":"065134","cap":"84073","nome":"Sapri"},{"code":"065135","cap":"84087","nome":"Sarno"},{"code":"065136","cap":"84038","nome":"Sassano"},{"code":"065137","cap":"84018","nome":"Scafati"},{"code":"065138","cap":"84010","nome":"Scala"},{"code":"065139","cap":"84070","nome":"Serramezzana"},{"code":"065140","cap":"84028","nome":"Serre"},{"code":"065141","cap":"84074","nome":"Sessa Cilento"},{"code":"065142","cap":"84088","nome":"Siano"},{"code":"065143","cap":"84029","nome":"Sicignano degli Alburni"},{"code":"065144","cap":"84070","nome":"Stella Cilento"},{"code":"065145","cap":"84075","nome":"Stio"},{"code":"065146","cap":"84039","nome":"Teggiano"},{"code":"065147","cap":"84076","nome":"Torchiara"},{"code":"065148","cap":"84030","nome":"Torraca"},{"code":"065149","cap":"84077","nome":"Torre Orsaia"},{"code":"065150","cap":"84030","nome":"Tortorella"},{"code":"065151","cap":"84010","nome":"Tramonti"},{"code":"065152","cap":"84070","nome":"Trentinara"},{"code":"065153","cap":"84070","nome":"Valle dell\'Angelo"},{"code":"065154","cap":"84078","nome":"Vallo della Lucania"},{"code":"065155","cap":"84020","nome":"Valva"},{"code":"065156","cap":"84079","nome":"Vibonati"},{"code":"065157","cap":"84019","nome":"Vietri sul Mare"}],"nome":"Salerno"}],"nome":"Campania"},{"province":[{"code":"BO","comuni":[{"code":"037001","cap":"40011","nome":"Anzola dell\'Emilia"},{"code":"037002","cap":"40050","nome":"Argelato"},{"code":"037003","cap":"40052","nome":"Baricella"},{"code":"037004","cap":"40053","nome":"Bazzano"},{"code":"037005","cap":"40010","nome":"Bentivoglio"},{"code":"037006","cap":"401xx","nome":"Bologna"},{"code":"037007","cap":"40021","nome":"Borgo Tossignano"},{"code":"037008","cap":"40054","nome":"Budrio"},{"code":"037009","cap":"40012","nome":"Calderara di Reno"},{"code":"037010","cap":"40032","nome":"Camugnano"},{"code":"037011","cap":"40033","nome":"Casalecchio di Reno"},{"code":"037012","cap":"40020","nome":"Casalfiumanese"},{"code":"037013","cap":"40034","nome":"Castel d\'Aiano"},{"code":"037014","cap":"40022","nome":"Castel del Rio"},{"code":"037015","cap":"40030","nome":"Castel di Casio"},{"code":"037016","cap":"40023","nome":"Castel Guelfo di Bologna"},{"code":"037019","cap":"40013","nome":"Castel Maggiore"},{"code":"037020","cap":"40024","nome":"Castel San Pietro Terme"},{"code":"037017","cap":"40050","nome":"Castello d\'Argile"},{"code":"037018","cap":"40050","nome":"Castello di Serravalle"},{"code":"037021","cap":"40055","nome":"Castenaso"},{"code":"037022","cap":"40035","nome":"Castiglione dei Pepoli"},{"code":"037023","cap":"40056","nome":"Crespellano"},{"code":"037024","cap":"40014","nome":"Crevalcore"},{"code":"037025","cap":"40060","nome":"Dozza"},{"code":"037026","cap":"40025","nome":"Fontanelice"},{"code":"037027","cap":"40041","nome":"Gaggio Montano"},{"code":"037028","cap":"40015","nome":"Galliera"},{"code":"037029","cap":"40045","nome":"Granaglione"},{"code":"037030","cap":"40057","nome":"Granarolo dell\'Emilia"},{"code":"037031","cap":"40030","nome":"Grizzana Morandi"},{"code":"037032","cap":"40026","nome":"Imola"},{"code":"037033","cap":"40042","nome":"Lizzano in Belvedere"},{"code":"037034","cap":"40050","nome":"Loiano"},{"code":"037035","cap":"40051","nome":"Malalbergo"},{"code":"037036","cap":"40043","nome":"Marzabotto"},{"code":"037037","cap":"40059","nome":"Medicina"},{"code":"037038","cap":"40061","nome":"Minerbio"},{"code":"037039","cap":"40062","nome":"Molinella"},{"code":"037040","cap":"40063","nome":"Monghidoro"},{"code":"037042","cap":"40050","nome":"Monte San Pietro"},{"code":"037041","cap":"40050","nome":"Monterenzio"},{"code":"037043","cap":"40050","nome":"Monteveglio"},{"code":"037044","cap":"40036","nome":"Monzuno"},{"code":"037045","cap":"40027","nome":"Mordano"},{"code":"037046","cap":"40064","nome":"Ozzano dell\'Emilia"},{"code":"037047","cap":"40065","nome":"Pianoro"},{"code":"037048","cap":"40066","nome":"Pieve di Cento"},{"code":"037049","cap":"40046","nome":"Porretta Terme"},{"code":"037050","cap":"40010","nome":"Sala Bolognese"},{"code":"037051","cap":"40048","nome":"San Benedetto Val di Sambro"},{"code":"037052","cap":"40016","nome":"San Giorgio di Piano"},{"code":"037053","cap":"40017","nome":"San Giovanni in Persiceto"},{"code":"037054","cap":"40068","nome":"San Lazzaro di Savena"},{"code":"037055","cap":"40018","nome":"San Pietro in Casale"},{"code":"037056","cap":"40019","nome":"Sant\'Agata Bolognese"},{"code":"037057","cap":"40037","nome":"Sasso Marconi"},{"code":"037058","cap":"40060","nome":"Savigno"},{"code":"037059","cap":"40038","nome":"Vergato"},{"code":"037060","cap":"40069","nome":"Zola Predosa"}],"nome":"Bologna"},{"code":"FE","comuni":[{"code":"038001","cap":"44011","nome":"Argenta"},{"code":"038002","cap":"44033","nome":"Berra"},{"code":"038003","cap":"44012","nome":"Bondeno"},{"code":"038004","cap":"44042","nome":"Cento"},{"code":"038005","cap":"44021","nome":"Codigoro"},{"code":"038006","cap":"44022","nome":"Comacchio"},{"code":"038007","cap":"44034","nome":"Copparo"},{"code":"038008","cap":"4412x","nome":"Ferrara"},{"code":"038009","cap":"44035","nome":"Formignana"},{"code":"038025","cap":"44020","nome":"Goro"},{"code":"038010","cap":"44037","nome":"Jolanda di Savoia"},{"code":"038011","cap":"44023","nome":"Lagosanto"},{"code":"038012","cap":"44020","nome":"Masi Torello"},{"code":"038013","cap":"44025","nome":"Massa Fiscaglia"},{"code":"038014","cap":"44026","nome":"Mesola"},{"code":"038015","cap":"44027","nome":"Migliarino"},{"code":"038026","cap":"44020","nome":"Migliaro"},{"code":"038016","cap":"44043","nome":"Mirabello"},{"code":"038017","cap":"44020","nome":"Ostellato"},{"code":"038018","cap":"44028","nome":"Poggio Renatico"},{"code":"038019","cap":"44015","nome":"Portomaggiore"},{"code":"038020","cap":"44030","nome":"Ro"},{"code":"038021","cap":"44047","nome":"Sant\'Agostino"},{"code":"038024","cap":"44039","nome":"Tresigallo"},{"code":"038022","cap":"44049","nome":"Vigarano Mainarda"},{"code":"038023","cap":"44019","nome":"Voghiera"}],"nome":"Ferrara"},{"code":"FC","comuni":[{"code":"040001","cap":"47021","nome":"Bagno di Romagna"},{"code":"040003","cap":"47032","nome":"Bertinoro"},{"code":"040004","cap":"47030","nome":"Borghi"},{"code":"040005","cap":"47011","nome":"Castrocaro Terme e Terra del Sole"},{"code":"040007","cap":"4752x","nome":"Cesena"},{"code":"040008","cap":"47042","nome":"Cesenatico"},{"code":"040009","cap":"47012","nome":"Civitella di Romagna"},{"code":"040011","cap":"47013","nome":"Dovadola"},{"code":"040012","cap":"4712x","nome":"Forl\xec"},{"code":"040013","cap":"47034","nome":"Forlimpopoli"},{"code":"040014","cap":"47010","nome":"Galeata"},{"code":"040015","cap":"47035","nome":"Gambettola"},{"code":"040016","cap":"47043","nome":"Gatteo"},{"code":"040018","cap":"47020","nome":"Longiano"},{"code":"040019","cap":"47014","nome":"Meldola"},{"code":"040020","cap":"47025","nome":"Mercato Saraceno"},{"code":"040022","cap":"47015","nome":"Modigliana"},{"code":"040028","cap":"47020","nome":"Montiano"},{"code":"040031","cap":"47010","nome":"Portico e San Benedetto"},{"code":"040032","cap":"47016","nome":"Predappio"},{"code":"040033","cap":"47010","nome":"Premilcuore"},{"code":"040036","cap":"47017","nome":"Rocca San Casciano"},{"code":"040037","cap":"47020","nome":"Roncofreddo"},{"code":"040041","cap":"47030","nome":"San Mauro Pascoli"},{"code":"040043","cap":"47018","nome":"Santa Sofia"},{"code":"040044","cap":"47027","nome":"Sarsina"},{"code":"040045","cap":"47039","nome":"Savignano sul Rubicone"},{"code":"040046","cap":"47030","nome":"Sogliano al Rubicone"},{"code":"040049","cap":"47019","nome":"Tredozio"},{"code":"040050","cap":"47028","nome":"Verghereto"}],"nome":"Forl\xec-Cesena"},{"code":"MO","comuni":[{"code":"036001","cap":"41030","nome":"Bastiglia"},{"code":"036002","cap":"41030","nome":"Bomporto"},{"code":"036003","cap":"41011","nome":"Campogalliano"},{"code":"036004","cap":"41031","nome":"Camposanto"},{"code":"036005","cap":"41012","nome":"Carpi"},{"code":"036006","cap":"41013","nome":"Castelfranco Emilia"},{"code":"036007","cap":"41051","nome":"Castelnuovo Rangone"},{"code":"036008","cap":"41014","nome":"Castelvetro di Modena"},{"code":"036009","cap":"41032","nome":"Cavezzo"},{"code":"036010","cap":"41033","nome":"Concordia sulla Secchia"},{"code":"036011","cap":"41021","nome":"Fanano"},{"code":"036012","cap":"41034","nome":"Finale Emilia"},{"code":"036013","cap":"41042","nome":"Fiorano Modenese"},{"code":"036014","cap":"41022","nome":"Fiumalbo"},{"code":"036015","cap":"41043","nome":"Formigine"},{"code":"036016","cap":"41044","nome":"Frassinoro"},{"code":"036017","cap":"41052","nome":"Guiglia"},{"code":"036018","cap":"41023","nome":"Lama Mocogno"},{"code":"036019","cap":"41053","nome":"Maranello"},{"code":"036020","cap":"41054","nome":"Marano sul Panaro"},{"code":"036021","cap":"41036","nome":"Medolla"},{"code":"036022","cap":"41037","nome":"Mirandola"},{"code":"036023","cap":"4112x","nome":"Modena"},{"code":"036024","cap":"41025","nome":"Montecreto"},{"code":"036025","cap":"41045","nome":"Montefiorino"},{"code":"036026","cap":"41055","nome":"Montese"},{"code":"036027","cap":"41015","nome":"Nonantola"},{"code":"036028","cap":"41016","nome":"Novi di Modena"},{"code":"036029","cap":"41046","nome":"Palagano"},{"code":"036030","cap":"41026","nome":"Pavullo nel Frignano"},{"code":"036031","cap":"41027","nome":"Pievepelago"},{"code":"036032","cap":"41040","nome":"Polinago"},{"code":"036033","cap":"41048","nome":"Prignano sulla Secchia"},{"code":"036034","cap":"41017","nome":"Ravarino"},{"code":"036035","cap":"41020","nome":"Riolunato"},{"code":"036036","cap":"41018","nome":"San Cesario sul Panaro"},{"code":"036037","cap":"41038","nome":"San Felice sul Panaro"},{"code":"036038","cap":"41039","nome":"San Possidonio"},{"code":"036039","cap":"41030","nome":"San Prospero"},{"code":"036040","cap":"41049","nome":"Sassuolo"},{"code":"036041","cap":"41056","nome":"Savignano sul Panaro"},{"code":"036042","cap":"41028","nome":"Serramazzoni"},{"code":"036043","cap":"41029","nome":"Sestola"},{"code":"036044","cap":"41019","nome":"Soliera"},{"code":"036045","cap":"41057","nome":"Spilamberto"},{"code":"036046","cap":"41058","nome":"Vignola"},{"code":"036047","cap":"41059","nome":"Zocca"}],"nome":"Modena"},{"code":"PR","comuni":[{"code":"034001","cap":"43051","nome":"Albareto"},{"code":"034002","cap":"43032","nome":"Bardi"},{"code":"034003","cap":"43041","nome":"Bedonia"},{"code":"034004","cap":"43042","nome":"Berceto"},{"code":"034005","cap":"43030","nome":"Bore"},{"code":"034006","cap":"43043","nome":"Borgo Val di Taro"},{"code":"034007","cap":"43011","nome":"Busseto"},{"code":"034008","cap":"43030","nome":"Calestano"},{"code":"034009","cap":"43044","nome":"Collecchio"},{"code":"034010","cap":"43052","nome":"Colorno"},{"code":"034011","cap":"43053","nome":"Compiano"},{"code":"034012","cap":"43021","nome":"Corniglio"},{"code":"034013","cap":"43035","nome":"Felino"},{"code":"034014","cap":"43036","nome":"Fidenza"},{"code":"034015","cap":"43012","nome":"Fontanellato"},{"code":"034016","cap":"43010","nome":"Fontevivo"},{"code":"034017","cap":"43045","nome":"Fornovo di Taro"},{"code":"034018","cap":"43013","nome":"Langhirano"},{"code":"034019","cap":"43037","nome":"Lesignano de\' Bagni"},{"code":"034020","cap":"43014","nome":"Medesano"},{"code":"034021","cap":"43055","nome":"Mezzani"},{"code":"034022","cap":"43010","nome":"Monchio delle Corti"},{"code":"034023","cap":"43022","nome":"Montechiarugolo"},{"code":"034024","cap":"43024","nome":"Neviano degli Arduini"},{"code":"034025","cap":"43015","nome":"Noceto"},{"code":"034026","cap":"43025","nome":"Palanzano"},{"code":"034027","cap":"4312x","nome":"Parma"},{"code":"034028","cap":"43047","nome":"Pellegrino Parmense"},{"code":"034029","cap":"43010","nome":"Polesine Parmense"},{"code":"034030","cap":"43010","nome":"Roccabianca"},{"code":"034031","cap":"43038","nome":"Sala Baganza"},{"code":"034032","cap":"43039","nome":"Salsomaggiore Terme"},{"code":"034033","cap":"43017","nome":"San Secondo Parmense"},{"code":"034034","cap":"43018","nome":"Sissa"},{"code":"034035","cap":"43040","nome":"Solignano"},{"code":"034036","cap":"43019","nome":"Soragna"},{"code":"034037","cap":"43058","nome":"Sorbolo"},{"code":"034038","cap":"43040","nome":"Terenzo"},{"code":"034039","cap":"43028","nome":"Tizzano Val Parma"},{"code":"034040","cap":"43059","nome":"Tornolo"},{"code":"034041","cap":"43056","nome":"Torrile"},{"code":"034042","cap":"43029","nome":"Traversetolo"},{"code":"034043","cap":"43010","nome":"Trecasali"},{"code":"034044","cap":"43050","nome":"Valmozzola"},{"code":"034045","cap":"43040","nome":"Varano de\' Melegari"},{"code":"034046","cap":"43049","nome":"Varsi"},{"code":"034048","cap":"43010","nome":"Zibello"}],"nome":"Parma"},{"code":"PC","comuni":[{"code":"033001","cap":"29010","nome":"Agazzano"},{"code":"033002","cap":"29010","nome":"Alseno"},{"code":"033003","cap":"29010","nome":"Besenzone"},{"code":"033004","cap":"29021","nome":"Bettola"},{"code":"033005","cap":"29022","nome":"Bobbio"},{"code":"033006","cap":"29011","nome":"Borgonovo Val Tidone"},{"code":"033007","cap":"29010","nome":"Cadeo"},{"code":"033008","cap":"29010","nome":"Calendasco"},{"code":"033009","cap":"29010","nome":"Caminata"},{"code":"033010","cap":"29012","nome":"Caorso"},{"code":"033011","cap":"29013","nome":"Carpaneto Piacentino"},{"code":"033013","cap":"29015","nome":"Castel San Giovanni"},{"code":"033012","cap":"29014","nome":"Castell\'Arquato"},{"code":"033014","cap":"29010","nome":"Castelvetro Piacentino"},{"code":"033015","cap":"29020","nome":"Cerignale"},{"code":"033016","cap":"29020","nome":"Coli"},{"code":"033017","cap":"29020","nome":"Corte Brugnatella"},{"code":"033018","cap":"29016","nome":"Cortemaggiore"},{"code":"033019","cap":"29023","nome":"Farini"},{"code":"033020","cap":"29024","nome":"Ferriere"},{"code":"033021","cap":"29017","nome":"Fiorenzuola d\'Arda"},{"code":"033022","cap":"29010","nome":"Gazzola"},{"code":"033023","cap":"29020","nome":"Gossolengo"},{"code":"033024","cap":"29010","nome":"Gragnano Trebbiense"},{"code":"033025","cap":"29025","nome":"Gropparello"},{"code":"033026","cap":"29018","nome":"Lugagnano Val D\'Arda"},{"code":"033027","cap":"29010","nome":"Monticelli d\'Ongina"},{"code":"033028","cap":"29020","nome":"Morfasso"},{"code":"033029","cap":"29010","nome":"Nibbiano"},{"code":"033030","cap":"29026","nome":"Ottone"},{"code":"033031","cap":"29010","nome":"Pecorara"},{"code":"033032","cap":"2912x","nome":"Piacenza"},{"code":"033033","cap":"29010","nome":"Pianello Val Tidone"},{"code":"033034","cap":"29010","nome":"Piozzano"},{"code":"033035","cap":"29027","nome":"Podenzano"},{"code":"033036","cap":"29028","nome":"Ponte dell\'Olio"},{"code":"033037","cap":"29010","nome":"Pontenure"},{"code":"033038","cap":"29029","nome":"Rivergaro"},{"code":"033039","cap":"29010","nome":"Rottofreno"},{"code":"033040","cap":"29019","nome":"San Giorgio Piacentino"},{"code":"033041","cap":"29010","nome":"San Pietro in Cerro"},{"code":"033042","cap":"29010","nome":"Sarmato"},{"code":"033043","cap":"29020","nome":"Travo"},{"code":"033044","cap":"29010","nome":"Vernasca"},{"code":"033045","cap":"29020","nome":"Vigolzone"},{"code":"033046","cap":"29010","nome":"Villanova sull\'Arda"},{"code":"033047","cap":"29020","nome":"Zerba"},{"code":"033048","cap":"29010","nome":"Ziano Piacentino"}],"nome":"Piacenza"},{"code":"RA","comuni":[{"code":"039001","cap":"48011","nome":"Alfonsine"},{"code":"039002","cap":"48012","nome":"Bagnacavallo"},{"code":"039003","cap":"48010","nome":"Bagnara di Romagna"},{"code":"039004","cap":"48013","nome":"Brisighella"},{"code":"039005","cap":"48010","nome":"Casola Valsenio"},{"code":"039006","cap":"48014","nome":"Castel Bolognese"},{"code":"039007","cap":"48015","nome":"Cervia"},{"code":"039008","cap":"48017","nome":"Conselice"},{"code":"039009","cap":"48010","nome":"Cotignola"},{"code":"039010","cap":"48018","nome":"Faenza"},{"code":"039011","cap":"48010","nome":"Fusignano"},{"code":"039012","cap":"48022","nome":"Lugo"},{"code":"039013","cap":"48024","nome":"Massa Lombarda"},{"code":"039014","cap":"4812x","nome":"Ravenna"},{"code":"039015","cap":"48025","nome":"Riolo Terme"},{"code":"039016","cap":"48026","nome":"Russi"},{"code":"039017","cap":"48020","nome":"Sant\'Agata sul Santerno"},{"code":"039018","cap":"48027","nome":"Solarolo"}],"nome":"Ravenna"},{"code":"RE","comuni":[{"code":"035001","cap":"42020","nome":"Albinea"},{"code":"035002","cap":"42011","nome":"Bagnolo in Piano"},{"code":"035003","cap":"42031","nome":"Baiso"},{"code":"035004","cap":"42021","nome":"Bibbiano"},{"code":"035005","cap":"42022","nome":"Boretto"},{"code":"035006","cap":"42041","nome":"Brescello"},{"code":"035007","cap":"42032","nome":"Busana"},{"code":"035008","cap":"42023","nome":"Cadelbosco di Sopra"},{"code":"035009","cap":"42012","nome":"Campagnola Emilia"},{"code":"035010","cap":"42040","nome":"Campegine"},{"code":"035018","cap":"42026","nome":"Canossa"},{"code":"035011","cap":"42033","nome":"Carpineti"},{"code":"035012","cap":"42013","nome":"Casalgrande"},{"code":"035013","cap":"42034","nome":"Casina"},{"code":"035014","cap":"42014","nome":"Castellarano"},{"code":"035015","cap":"42024","nome":"Castelnovo di Sotto"},{"code":"035016","cap":"42035","nome":"Castelnovo ne\' Monti"},{"code":"035017","cap":"42025","nome":"Cavriago"},{"code":"035019","cap":"42037","nome":"Collagna"},{"code":"035020","cap":"42015","nome":"Correggio"},{"code":"035021","cap":"42042","nome":"Fabbrico"},{"code":"035022","cap":"42043","nome":"Gattatico"},{"code":"035023","cap":"42044","nome":"Gualtieri"},{"code":"035024","cap":"42016","nome":"Guastalla"},{"code":"035025","cap":"42039","nome":"Ligonchio"},{"code":"035026","cap":"42045","nome":"Luzzara"},{"code":"035027","cap":"42027","nome":"Montecchio Emilia"},{"code":"035028","cap":"42017","nome":"Novellara"},{"code":"035029","cap":"42028","nome":"Poviglio"},{"code":"035030","cap":"42020","nome":"Quattro Castella"},{"code":"035031","cap":"42030","nome":"Ramiseto"},{"code":"035033","cap":"4212x","nome":"Reggio Emilia"},{"code":"035032","cap":"42046","nome":"Reggiolo"},{"code":"035034","cap":"42010","nome":"Rio Saliceto"},{"code":"035035","cap":"42047","nome":"Rolo"},{"code":"035036","cap":"42048","nome":"Rubiera"},{"code":"035037","cap":"42018","nome":"San Martino in Rio"},{"code":"035038","cap":"42020","nome":"San Polo d\'Enza"},{"code":"035039","cap":"42049","nome":"Sant\'Ilario d\'Enza"},{"code":"035040","cap":"42019","nome":"Scandiano"},{"code":"035041","cap":"42010","nome":"Toano"},{"code":"035042","cap":"42020","nome":"Vetto"},{"code":"035043","cap":"42030","nome":"Vezzano sul Crostolo"},{"code":"035044","cap":"42030","nome":"Viano"},{"code":"035045","cap":"42030","nome":"Villa Minozzo"}],"nome":"Reggio Emilia"},{"code":"RN","comuni":[{"code":"099001","cap":"47814","nome":"Bellaria-Igea Marina"},{"code":"099021","cap":"47861","nome":"Casteldelci"},{"code":"099002","cap":"47841","nome":"Cattolica"},{"code":"099003","cap":"47853","nome":"Coriano"},{"code":"099004","cap":"47855","nome":"Gemmano"},{"code":"099022","cap":"47862","nome":"Maiolo"},{"code":"099005","cap":"47843","nome":"Misano Adriatico"},{"code":"099006","cap":"47836","nome":"Mondaino"},{"code":"099007","cap":"47854","nome":"Monte Colombo"},{"code":"099008","cap":"47834","nome":"Montefiore Conca"},{"code":"099009","cap":"47837","nome":"Montegridolfo"},{"code":"099010","cap":"47854","nome":"Montescudo"},{"code":"099011","cap":"47833","nome":"Morciano di Romagna"},{"code":"099023","cap":"47863","nome":"Novafeltria"},{"code":"099024","cap":"47864","nome":"Pennabilli"},{"code":"099012","cap":"47824","nome":"Poggio Berni"},{"code":"099013","cap":"47838","nome":"Riccione"},{"code":"099014","cap":"479xx","nome":"Rimini"},{"code":"099015","cap":"47835","nome":"Saludecio"},{"code":"099016","cap":"47832","nome":"San Clemente"},{"code":"099017","cap":"47842","nome":"San Giovanni in Marignano"},{"code":"099025","cap":"47865","nome":"San Leo"},{"code":"099026","cap":"47866","nome":"Sant\'Agata Feltria"},{"code":"099018","cap":"47822","nome":"Santarcangelo di Romagna"},{"code":"099027","cap":"47867","nome":"Talamello"},{"code":"099019","cap":"47825","nome":"Torriana"},{"code":"099020","cap":"47826","nome":"Verucchio"}],"nome":"Rimini"}],"nome":"Emilia-Romagna"},{"province":[{"code":"GO","comuni":[{"code":"031001","cap":"34070","nome":"Capriva del Friuli"},{"code":"031002","cap":"34071","nome":"Cormons"},{"code":"031003","cap":"34070","nome":"Doberd\xf2 del Lago"},{"code":"031004","cap":"34070","nome":"Dolegna del Collio"},{"code":"031005","cap":"34072","nome":"Farra d\'Isonzo"},{"code":"031006","cap":"34070","nome":"Fogliano Redipuglia"},{"code":"031007","cap":"34170","nome":"Gorizia"},{"code":"031008","cap":"34072","nome":"Gradisca d\'Isonzo"},{"code":"031009","cap":"34073","nome":"Grado"},{"code":"031010","cap":"34070","nome":"Mariano del Friuli"},{"code":"031011","cap":"34076","nome":"Medea"},{"code":"031012","cap":"34074","nome":"Monfalcone"},{"code":"031013","cap":"34070","nome":"Moraro"},{"code":"031014","cap":"34070","nome":"Mossa"},{"code":"031015","cap":"34076","nome":"Romans d\'Isonzo"},{"code":"031016","cap":"34077","nome":"Ronchi dei Legionari"},{"code":"031017","cap":"34078","nome":"Sagrado"},{"code":"031018","cap":"34075","nome":"San Canzian d\'Isonzo"},{"code":"031019","cap":"34070","nome":"San Floriano del Collio"},{"code":"031020","cap":"34070","nome":"San Lorenzo Isontino"},{"code":"031021","cap":"34070","nome":"San Pier d\'Isonzo"},{"code":"031022","cap":"34070","nome":"Savogna d\'Isonzo"},{"code":"031023","cap":"34079","nome":"Staranzano"},{"code":"031024","cap":"34070","nome":"Turriaco"},{"code":"031025","cap":"34070","nome":"Villesse"}],"nome":"Gorizia"},{"code":"PN","comuni":[{"code":"093001","cap":"33080","nome":"Andreis"},{"code":"093002","cap":"33090","nome":"Arba"},{"code":"093003","cap":"33098","nome":"Arzene"},{"code":"093004","cap":"33081","nome":"Aviano"},{"code":"093005","cap":"33082","nome":"Azzano Decimo"},{"code":"093006","cap":"33080","nome":"Barcis"},{"code":"093007","cap":"33070","nome":"Brugnera"},{"code":"093008","cap":"33070","nome":"Budoia"},{"code":"093009","cap":"33070","nome":"Caneva"},{"code":"093010","cap":"33072","nome":"Casarsa della Delizia"},{"code":"093011","cap":"33090","nome":"Castelnovo del Friuli"},{"code":"093012","cap":"33092","nome":"Cavasso Nuovo"},{"code":"093013","cap":"33083","nome":"Chions"},{"code":"093014","cap":"33080","nome":"Cimolais"},{"code":"093015","cap":"33080","nome":"Claut"},{"code":"093016","cap":"33090","nome":"Clauzetto"},{"code":"093017","cap":"33084","nome":"Cordenons"},{"code":"093018","cap":"33075","nome":"Cordovado"},{"code":"093019","cap":"33080","nome":"Erto e Casso"},{"code":"093020","cap":"33092","nome":"Fanna"},{"code":"093021","cap":"33080","nome":"Fiume Veneto"},{"code":"093022","cap":"33074","nome":"Fontanafredda"},{"code":"093024","cap":"33080","nome":"Frisanco"},{"code":"093025","cap":"33085","nome":"Maniago"},{"code":"093026","cap":"33092","nome":"Meduno"},{"code":"093027","cap":"33086","nome":"Montereale Valcellina"},{"code":"093028","cap":"33075","nome":"Morsano al Tagliamento"},{"code":"093029","cap":"33087","nome":"Pasiano di Pordenone"},{"code":"093030","cap":"33094","nome":"Pinzano al Tagliamento"},{"code":"093031","cap":"33070","nome":"Polcenigo"},{"code":"093032","cap":"33080","nome":"Porcia"},{"code":"093033","cap":"33170","nome":"Pordenone"},{"code":"093034","cap":"33080","nome":"Prata di Pordenone"},{"code":"093035","cap":"33076","nome":"Pravisdomini"},{"code":"093036","cap":"33080","nome":"Roveredo in Piano"},{"code":"093037","cap":"33077","nome":"Sacile"},{"code":"093038","cap":"33095","nome":"San Giorgio della Richinvelda"},{"code":"093039","cap":"33098","nome":"San Martino al Tagliamento"},{"code":"093040","cap":"33080","nome":"San Quirino"},{"code":"093041","cap":"33078","nome":"San Vito al Tagliamento"},{"code":"093042","cap":"33090","nome":"Sequals"},{"code":"093043","cap":"33079","nome":"Sesto al Reghena"},{"code":"093044","cap":"33097","nome":"Spilimbergo"},{"code":"093045","cap":"33090","nome":"Tramonti di Sopra"},{"code":"093046","cap":"33090","nome":"Tramonti di Sotto"},{"code":"093047","cap":"33090","nome":"Travesio"},{"code":"093052","cap":"33080","nome":"Vajont"},{"code":"093048","cap":"33098","nome":"Valvasone"},{"code":"093049","cap":"33090","nome":"Vito d\'Asio"},{"code":"093050","cap":"33099","nome":"Vivaro"},{"code":"093051","cap":"33080","nome":"Zoppola"}],"nome":"Pordenone"},{"code":"TS","comuni":[{"code":"032001","cap":"34011","nome":"Duino-Aurisina"},{"code":"032002","cap":"34016","nome":"Monrupino"},{"code":"032003","cap":"34015","nome":"Muggia"},{"code":"032004","cap":"34018","nome":"San Dorligo della Valle - Dolina"},{"code":"032005","cap":"34010","nome":"Sgonico"},{"code":"032006","cap":"341xx","nome":"Trieste"}],"nome":"Trieste"},{"code":"UD","comuni":[{"code":"030001","cap":"33041","nome":"Aiello del Friuli"},{"code":"030002","cap":"33020","nome":"Amaro"},{"code":"030003","cap":"33021","nome":"Ampezzo"},{"code":"030004","cap":"33051","nome":"Aquileia"},{"code":"030005","cap":"33022","nome":"Arta Terme"},{"code":"030006","cap":"33011","nome":"Artegna"},{"code":"030007","cap":"33040","nome":"Attimis"},{"code":"030008","cap":"33050","nome":"Bagnaria Arsa"},{"code":"030009","cap":"33031","nome":"Basiliano"},{"code":"030010","cap":"33032","nome":"Bertiolo"},{"code":"030011","cap":"33050","nome":"Bicinicco"},{"code":"030012","cap":"33010","nome":"Bordano"},{"code":"030013","cap":"33030","nome":"Buja"},{"code":"030014","cap":"33042","nome":"Buttrio"},{"code":"030015","cap":"33030","nome":"Camino al Tagliamento"},{"code":"030016","cap":"33030","nome":"Campoformido"},{"code":"030138","cap":"33040","nome":"Campolongo Tapogliano"},{"code":"030018","cap":"33050","nome":"Carlino"},{"code":"030019","cap":"33010","nome":"Cassacco"},{"code":"030020","cap":"33050","nome":"Castions di Strada"},{"code":"030021","cap":"33020","nome":"Cavazzo Carnico"},{"code":"030022","cap":"33020","nome":"Cercivento"},{"code":"030023","cap":"33052","nome":"Cervignano del Friuli"},{"code":"030024","cap":"33048","nome":"Chiopris-Viscone"},{"code":"030025","cap":"33010","nome":"Chiusaforte"},{"code":"030026","cap":"33043","nome":"Cividale del Friuli"},{"code":"030027","cap":"33033","nome":"Codroipo"},{"code":"030028","cap":"33010","nome":"Colloredo di Monte Albano"},{"code":"030029","cap":"33023","nome":"Comeglians"},{"code":"030030","cap":"33040","nome":"Corno di Rosazzo"},{"code":"030031","cap":"33030","nome":"Coseano"},{"code":"030032","cap":"33030","nome":"Dignano"},{"code":"030033","cap":"33010","nome":"Dogna"},{"code":"030034","cap":"33040","nome":"Drenchia"},{"code":"030035","cap":"33020","nome":"Enemonzo"},{"code":"030036","cap":"33040","nome":"Faedis"},{"code":"030037","cap":"33034","nome":"Fagagna"},{"code":"030038","cap":"33050","nome":"Fiumicello"},{"code":"030039","cap":"33030","nome":"Flaibano"},{"code":"030137","cap":"33030","nome":"Forgaria nel Friuli"},{"code":"030040","cap":"33020","nome":"Forni Avoltri"},{"code":"030041","cap":"33024","nome":"Forni di Sopra"},{"code":"030042","cap":"33020","nome":"Forni di Sotto"},{"code":"030043","cap":"33013","nome":"Gemona del Friuli"},{"code":"030044","cap":"33050","nome":"Gonars"},{"code":"030045","cap":"33040","nome":"Grimacco"},{"code":"030046","cap":"33053","nome":"Latisana"},{"code":"030047","cap":"33029","nome":"Lauco"},{"code":"030048","cap":"33050","nome":"Lestizza"},{"code":"030049","cap":"33054","nome":"Lignano Sabbiadoro"},{"code":"030050","cap":"33020","nome":"Ligosullo"},{"code":"030051","cap":"33010","nome":"Lusevera"},{"code":"030052","cap":"33010","nome":"Magnano in Riviera"},{"code":"030053","cap":"33030","nome":"Majano"},{"code":"030054","cap":"33010","nome":"Malborghetto Valbruna"},{"code":"030055","cap":"33044","nome":"Manzano"},{"code":"030056","cap":"33050","nome":"Marano Lagunare"},{"code":"030057","cap":"33035","nome":"Martignacco"},{"code":"030058","cap":"33036","nome":"Mereto di Tomba"},{"code":"030059","cap":"33015","nome":"Moggio Udinese"},{"code":"030060","cap":"33040","nome":"Moimacco"},{"code":"030061","cap":"33010","nome":"Montenars"},{"code":"030062","cap":"33050","nome":"Mortegliano"},{"code":"030063","cap":"33030","nome":"Moruzzo"},{"code":"030064","cap":"33055","nome":"Muzzana del Turgnano"},{"code":"030065","cap":"33045","nome":"Nimis"},{"code":"030066","cap":"33010","nome":"Osoppo"},{"code":"030067","cap":"33025","nome":"Ovaro"},{"code":"030068","cap":"33010","nome":"Pagnacco"},{"code":"030069","cap":"33056","nome":"Palazzolo dello Stella"},{"code":"030070","cap":"33057","nome":"Palmanova"},{"code":"030071","cap":"33026","nome":"Paluzza"},{"code":"030072","cap":"33037","nome":"Pasian di Prato"},{"code":"030073","cap":"33027","nome":"Paularo"},{"code":"030074","cap":"33050","nome":"Pavia di Udine"},{"code":"030075","cap":"33050","nome":"Pocenia"},{"code":"030076","cap":"33016","nome":"Pontebba"},{"code":"030077","cap":"33050","nome":"Porpetto"},{"code":"030078","cap":"33040","nome":"Povoletto"},{"code":"030079","cap":"33050","nome":"Pozzuolo del Friuli"},{"code":"030080","cap":"33040","nome":"Pradamano"},{"code":"030081","cap":"33020","nome":"Prato Carnico"},{"code":"030082","cap":"33050","nome":"Precenicco"},{"code":"030083","cap":"33040","nome":"Premariacco"},{"code":"030084","cap":"33020","nome":"Preone"},{"code":"030085","cap":"33040","nome":"Prepotto"},{"code":"030086","cap":"33046","nome":"Pulfero"},{"code":"030087","cap":"33030","nome":"Ragogna"},{"code":"030088","cap":"33020","nome":"Ravascletto"},{"code":"030089","cap":"33029","nome":"Raveo"},{"code":"030090","cap":"33010","nome":"Reana del Rojale"},{"code":"030091","cap":"33047","nome":"Remanzacco"},{"code":"030092","cap":"33010","nome":"Resia"},{"code":"030093","cap":"33010","nome":"Resiutta"},{"code":"030094","cap":"33020","nome":"Rigolato"},{"code":"030095","cap":"33030","nome":"Rive D\'Arcano"},{"code":"030096","cap":"33050","nome":"Rivignano"},{"code":"030097","cap":"33050","nome":"Ronchis"},{"code":"030098","cap":"33050","nome":"Ruda"},{"code":"030099","cap":"33038","nome":"San Daniele del Friuli"},{"code":"030100","cap":"33058","nome":"San Giorgio di Nogaro"},{"code":"030101","cap":"33048","nome":"San Giovanni al Natisone"},{"code":"030102","cap":"33040","nome":"San Leonardo"},{"code":"030103","cap":"33049","nome":"San Pietro al Natisone"},{"code":"030105","cap":"33050","nome":"San Vito al Torre"},{"code":"030106","cap":"33030","nome":"San Vito di Fagagna"},{"code":"030104","cap":"33050","nome":"Santa Maria La Longa"},{"code":"030107","cap":"33020","nome":"Sauris"},{"code":"030108","cap":"33040","nome":"Savogna"},{"code":"030109","cap":"33039","nome":"Sedegliano"},{"code":"030110","cap":"33020","nome":"Socchieve"},{"code":"030111","cap":"33040","nome":"Stregna"},{"code":"030112","cap":"33020","nome":"Sutrio"},{"code":"030113","cap":"33040","nome":"Taipana"},{"code":"030114","cap":"33030","nome":"Talmassons"},{"code":"030116","cap":"33017","nome":"Tarcento"},{"code":"030117","cap":"33018","nome":"Tarvisio"},{"code":"030118","cap":"33010","nome":"Tavagnacco"},{"code":"030119","cap":"33050","nome":"Teor"},{"code":"030120","cap":"33050","nome":"Terzo d\'Aquileia"},{"code":"030121","cap":"33028","nome":"Tolmezzo"},{"code":"030122","cap":"33040","nome":"Torreano"},{"code":"030123","cap":"33050","nome":"Torviscosa"},{"code":"030124","cap":"33010","nome":"Trasaghis"},{"code":"030125","cap":"33020","nome":"Treppo Carnico"},{"code":"030126","cap":"33010","nome":"Treppo Grande"},{"code":"030127","cap":"33019","nome":"Tricesimo"},{"code":"030128","cap":"33050","nome":"Trivignano Udinese"},{"code":"030129","cap":"33100","nome":"Udine"},{"code":"030130","cap":"33030","nome":"Varmo"},{"code":"030131","cap":"33010","nome":"Venzone"},{"code":"030132","cap":"33020","nome":"Verzegnis"},{"code":"030133","cap":"33029","nome":"Villa Santina"},{"code":"030134","cap":"33059","nome":"Villa Vicentina"},{"code":"030135","cap":"33040","nome":"Visco"},{"code":"030136","cap":"33020","nome":"Zuglio"}],"nome":"Udine"}],"nome":"Friuli-Venezia Giulia"},{"province":[{"code":"FR","comuni":[{"code":"060001","cap":"03040","nome":"Acquafondata"},{"code":"060002","cap":"03010","nome":"Acuto"},{"code":"060003","cap":"03011","nome":"Alatri"},{"code":"060004","cap":"03041","nome":"Alvito"},{"code":"060005","cap":"03021","nome":"Amaseno"},{"code":"060006","cap":"03012","nome":"Anagni"},{"code":"060007","cap":"03031","nome":"Aquino"},{"code":"060008","cap":"03032","nome":"Arce"},{"code":"060009","cap":"03020","nome":"Arnara"},{"code":"060010","cap":"03033","nome":"Arpino"},{"code":"060011","cap":"03042","nome":"Atina"},{"code":"060012","cap":"03040","nome":"Ausonia"},{"code":"060013","cap":"03040","nome":"Belmonte Castello"},{"code":"060014","cap":"03022","nome":"Boville Ernica"},{"code":"060015","cap":"03030","nome":"Broccostella"},{"code":"060016","cap":"03030","nome":"Campoli Appennino"},{"code":"060017","cap":"03030","nome":"Casalattico"},{"code":"060018","cap":"03034","nome":"Casalvieri"},{"code":"060019","cap":"03043","nome":"Cassino"},{"code":"060020","cap":"03030","nome":"Castelliri"},{"code":"060021","cap":"03040","nome":"Castelnuovo Parano"},{"code":"060023","cap":"03020","nome":"Castro dei Volsci"},{"code":"060022","cap":"03030","nome":"Castrocielo"},{"code":"060024","cap":"03023","nome":"Ceccano"},{"code":"060025","cap":"03024","nome":"Ceprano"},{"code":"060026","cap":"03044","nome":"Cervaro"},{"code":"060027","cap":"03030","nome":"Colfelice"},{"code":"060029","cap":"03030","nome":"Colle San Magno"},{"code":"060028","cap":"03010","nome":"Collepardo"},{"code":"060030","cap":"03040","nome":"Coreno Ausonio"},{"code":"060031","cap":"03045","nome":"Esperia"},{"code":"060032","cap":"03020","nome":"Falvaterra"},{"code":"060033","cap":"03013","nome":"Ferentino"},{"code":"060034","cap":"03010","nome":"Filettino"},{"code":"060035","cap":"03014","nome":"Fiuggi"},{"code":"060036","cap":"03035","nome":"Fontana Liri"},{"code":"060037","cap":"03030","nome":"Fontechiari"},{"code":"060038","cap":"03100","nome":"Frosinone"},{"code":"060039","cap":"03010","nome":"Fumone"},{"code":"060040","cap":"03040","nome":"Gallinaro"},{"code":"060041","cap":"03020","nome":"Giuliano di Roma"},{"code":"060042","cap":"03016","nome":"Guarcino"},{"code":"060043","cap":"03036","nome":"Isola del Liri"},{"code":"060044","cap":"03025","nome":"Monte San Giovanni Campano"},{"code":"060045","cap":"03017","nome":"Morolo"},{"code":"060046","cap":"03018","nome":"Paliano"},{"code":"060047","cap":"03020","nome":"Pastena"},{"code":"060048","cap":"03010","nome":"Patrica"},{"code":"060049","cap":"03030","nome":"Pescosolido"},{"code":"060050","cap":"03040","nome":"Picinisco"},{"code":"060051","cap":"03020","nome":"Pico"},{"code":"060052","cap":"03030","nome":"Piedimonte San Germano"},{"code":"060053","cap":"03010","nome":"Piglio"},{"code":"060054","cap":"03040","nome":"Pignataro Interamna"},{"code":"060055","cap":"03026","nome":"Pofi"},{"code":"060056","cap":"03037","nome":"Pontecorvo"},{"code":"060057","cap":"03030","nome":"Posta Fibreno"},{"code":"060058","cap":"03027","nome":"Ripi"},{"code":"060059","cap":"03030","nome":"Rocca d\'Arce"},{"code":"060060","cap":"03038","nome":"Roccasecca"},{"code":"060061","cap":"03040","nome":"San Biagio Saracinisco"},{"code":"060062","cap":"03046","nome":"San Donato Val di Comino"},{"code":"060063","cap":"03047","nome":"San Giorgio a Liri"},{"code":"060064","cap":"03028","nome":"San Giovanni Incarico"},{"code":"060070","cap":"03040","nome":"San Vittore del Lazio"},{"code":"060065","cap":"03040","nome":"Sant\'Ambrogio sul Garigliano"},{"code":"060066","cap":"03040","nome":"Sant\'Andrea del Garigliano"},{"code":"060067","cap":"03048","nome":"Sant\'Apollinare"},{"code":"060068","cap":"03049","nome":"Sant\'Elia Fiumerapido"},{"code":"060069","cap":"03030","nome":"Santopadre"},{"code":"060071","cap":"03010","nome":"Serrone"},{"code":"060072","cap":"03040","nome":"Settefrati"},{"code":"060073","cap":"03010","nome":"Sgurgola"},{"code":"060074","cap":"03039","nome":"Sora"},{"code":"060075","cap":"03020","nome":"Strangolagalli"},{"code":"060076","cap":"03019","nome":"Supino"},{"code":"060077","cap":"03040","nome":"Terelle"},{"code":"060078","cap":"03010","nome":"Torre Cajetani"},{"code":"060079","cap":"03020","nome":"Torrice"},{"code":"060080","cap":"03010","nome":"Trevi nel Lazio"},{"code":"060081","cap":"03010","nome":"Trivigliano"},{"code":"060082","cap":"03020","nome":"Vallecorsa"},{"code":"060083","cap":"03040","nome":"Vallemaio"},{"code":"060084","cap":"03040","nome":"Vallerotonda"},{"code":"060085","cap":"03029","nome":"Veroli"},{"code":"060086","cap":"03030","nome":"Vicalvi"},{"code":"060087","cap":"03010","nome":"Vico nel Lazio"},{"code":"060088","cap":"03040","nome":"Villa Latina"},{"code":"060089","cap":"03030","nome":"Villa Santa Lucia"},{"code":"060090","cap":"03020","nome":"Villa Santo Stefano"},{"code":"060091","cap":"03040","nome":"Viticuso"}],"nome":"Frosinone"},{"code":"LT","comuni":[{"code":"059001","cap":"04011","nome":"Aprilia"},{"code":"059002","cap":"04010","nome":"Bassiano"},{"code":"059003","cap":"04020","nome":"Campodimele"},{"code":"059004","cap":"04021","nome":"Castelforte"},{"code":"059005","cap":"04012","nome":"Cisterna di Latina"},{"code":"059006","cap":"04010","nome":"Cori"},{"code":"059007","cap":"04022","nome":"Fondi"},{"code":"059008","cap":"04023","nome":"Formia"},{"code":"059009","cap":"04024","nome":"Gaeta"},{"code":"059010","cap":"04020","nome":"Itri"},{"code":"059011","cap":"04100","nome":"Latina"},{"code":"059012","cap":"04025","nome":"Lenola"},{"code":"059013","cap":"04010","nome":"Maenza"},{"code":"059014","cap":"04026","nome":"Minturno"},{"code":"059015","cap":"04020","nome":"Monte San Biagio"},{"code":"059016","cap":"04010","nome":"Norma"},{"code":"059017","cap":"04014","nome":"Pontinia"},{"code":"059018","cap":"04027","nome":"Ponza"},{"code":"059019","cap":"04015","nome":"Priverno"},{"code":"059020","cap":"04010","nome":"Prossedi"},{"code":"059022","cap":"04010","nome":"Rocca Massima"},{"code":"059021","cap":"04010","nome":"Roccagorga"},{"code":"059023","cap":"04010","nome":"Roccasecca dei Volsci"},{"code":"059024","cap":"04016","nome":"Sabaudia"},{"code":"059025","cap":"04017","nome":"San Felice Circeo"},{"code":"059026","cap":"04020","nome":"Santi Cosma e Damiano"},{"code":"059027","cap":"04013","nome":"Sermoneta"},{"code":"059028","cap":"04018","nome":"Sezze"},{"code":"059029","cap":"04010","nome":"Sonnino"},{"code":"059030","cap":"04029","nome":"Sperlonga"},{"code":"059031","cap":"04020","nome":"Spigno Saturnia"},{"code":"059032","cap":"04019","nome":"Terracina"},{"code":"059033","cap":"04020","nome":"Ventotene"}],"nome":"Latina"},{"code":"RI","comuni":[{"code":"057001","cap":"02011","nome":"Accumoli"},{"code":"057002","cap":"02012","nome":"Amatrice"},{"code":"057003","cap":"02013","nome":"Antrodoco"},{"code":"057004","cap":"02020","nome":"Ascrea"},{"code":"057005","cap":"02020","nome":"Belmonte in Sabina"},{"code":"057006","cap":"02010","nome":"Borbona"},{"code":"057008","cap":"02010","nome":"Borgo Velino"},{"code":"057007","cap":"02021","nome":"Borgorose"},{"code":"057009","cap":"02014","nome":"Cantalice"},{"code":"057010","cap":"02040","nome":"Cantalupo in Sabina"},{"code":"057011","cap":"02030","nome":"Casaprota"},{"code":"057012","cap":"02041","nome":"Casperia"},{"code":"057013","cap":"02020","nome":"Castel di Tora"},{"code":"057015","cap":"02010","nome":"Castel Sant\'Angelo"},{"code":"057014","cap":"02031","nome":"Castelnuovo di Farfa"},{"code":"057016","cap":"02015","nome":"Cittaducale"},{"code":"057017","cap":"02010","nome":"Cittareale"},{"code":"057018","cap":"02022","nome":"Collalto Sabino"},{"code":"057019","cap":"02020","nome":"Colle di Tora"},{"code":"057020","cap":"02020","nome":"Collegiove"},{"code":"057021","cap":"02042","nome":"Collevecchio"},{"code":"057022","cap":"02010","nome":"Colli sul Velino"},{"code":"057023","cap":"02020","nome":"Concerviano"},{"code":"057024","cap":"02040","nome":"Configni"},{"code":"057025","cap":"02043","nome":"Contigliano"},{"code":"057026","cap":"02040","nome":"Cottanello"},{"code":"057027","cap":"02032","nome":"Fara in Sabina"},{"code":"057028","cap":"02023","nome":"Fiamignano"},{"code":"057029","cap":"02044","nome":"Forano"},{"code":"057030","cap":"02030","nome":"Frasso Sabino"},{"code":"057031","cap":"02045","nome":"Greccio"},{"code":"057032","cap":"02010","nome":"Labro"},{"code":"057033","cap":"02016","nome":"Leonessa"},{"code":"057034","cap":"02020","nome":"Longone Sabino"},{"code":"057035","cap":"02046","nome":"Magliano Sabina"},{"code":"057036","cap":"02020","nome":"Marcetelli"},{"code":"057037","cap":"02010","nome":"Micigliano"},{"code":"057038","cap":"02040","nome":"Mompeo"},{"code":"057039","cap":"02040","nome":"Montasola"},{"code":"057043","cap":"02040","nome":"Monte San Giovanni in Sabina"},{"code":"057040","cap":"02040","nome":"Montebuono"},{"code":"057041","cap":"02033","nome":"Monteleone Sabino"},{"code":"057042","cap":"02040","nome":"Montenero Sabino"},{"code":"057044","cap":"02034","nome":"Montopoli di Sabina"},{"code":"057045","cap":"02010","nome":"Morro Reatino"},{"code":"057046","cap":"02020","nome":"Nespolo"},{"code":"057047","cap":"02035","nome":"Orvinio"},{"code":"057048","cap":"02020","nome":"Paganico Sabino"},{"code":"057049","cap":"02024","nome":"Pescorocchiano"},{"code":"057050","cap":"02025","nome":"Petrella Salto"},{"code":"057051","cap":"02018","nome":"Poggio Bustone"},{"code":"057052","cap":"02040","nome":"Poggio Catino"},{"code":"057053","cap":"02047","nome":"Poggio Mirteto"},{"code":"057054","cap":"02037","nome":"Poggio Moiano"},{"code":"057055","cap":"02030","nome":"Poggio Nativo"},{"code":"057056","cap":"02030","nome":"Poggio San Lorenzo"},{"code":"057057","cap":"02019","nome":"Posta"},{"code":"057058","cap":"02030","nome":"Pozzaglia Sabina"},{"code":"057059","cap":"02100","nome":"Rieti"},{"code":"057060","cap":"02010","nome":"Rivodutri"},{"code":"057062","cap":"02026","nome":"Rocca Sinibalda"},{"code":"057061","cap":"02040","nome":"Roccantica"},{"code":"057063","cap":"02040","nome":"Salisano"},{"code":"057064","cap":"02038","nome":"Scandriglia"},{"code":"057065","cap":"02040","nome":"Selci"},{"code":"057066","cap":"02048","nome":"Stimigliano"},{"code":"057067","cap":"02040","nome":"Tarano"},{"code":"057068","cap":"02039","nome":"Toffia"},{"code":"057070","cap":"02049","nome":"Torri in Sabina"},{"code":"057069","cap":"02030","nome":"Torricella in Sabina"},{"code":"057071","cap":"02020","nome":"Turania"},{"code":"057072","cap":"02040","nome":"Vacone"},{"code":"057073","cap":"02020","nome":"Varco Sabino"}],"nome":"Rieti"},{"code":"RM","comuni":[{"code":"058001","cap":"00021","nome":"Affile"},{"code":"058002","cap":"00020","nome":"Agosta"},{"code":"058003","cap":"00041","nome":"Albano Laziale"},{"code":"058004","cap":"00051","nome":"Allumiere"},{"code":"058005","cap":"00061","nome":"Anguillara Sabazia"},{"code":"058006","cap":"00022","nome":"Anticoli Corrado"},{"code":"058007","cap":"00042","nome":"Anzio"},{"code":"058008","cap":"00020","nome":"Arcinazzo Romano"},{"code":"058117","cap":"00040","nome":"Ardea"},{"code":"058009","cap":"00040","nome":"Ariccia"},{"code":"058010","cap":"00023","nome":"Arsoli"},{"code":"058011","cap":"00031","nome":"Artena"},{"code":"058012","cap":"00030","nome":"Bellegra"},{"code":"058013","cap":"00062","nome":"Bracciano"},{"code":"058014","cap":"00020","nome":"Camerata Nuova"},{"code":"058015","cap":"00063","nome":"Campagnano di Roma"},{"code":"058016","cap":"00060","nome":"Canale Monterano"},{"code":"058017","cap":"00020","nome":"Canterano"},{"code":"058018","cap":"00060","nome":"Capena"},{"code":"058019","cap":"00030","nome":"Capranica Prenestina"},{"code":"058020","cap":"00032","nome":"Carpineto Romano"},{"code":"058021","cap":"00010","nome":"Casape"},{"code":"058022","cap":"00040","nome":"Castel Gandolfo"},{"code":"058023","cap":"00024","nome":"Castel Madama"},{"code":"058025","cap":"00030","nome":"Castel San Pietro Romano"},{"code":"058024","cap":"00060","nome":"Castelnuovo di Porto"},{"code":"058026","cap":"00033","nome":"Cave"},{"code":"058027","cap":"00020","nome":"Cerreto Laziale"},{"code":"058028","cap":"00020","nome":"Cervara di Roma"},{"code":"058029","cap":"00052","nome":"Cerveteri"},{"code":"058118","cap":"00043","nome":"Ciampino"},{"code":"058030","cap":"00020","nome":"Ciciliano"},{"code":"058031","cap":"00020","nome":"Cineto Romano"},{"code":"058032","cap":"00053","nome":"Civitavecchia"},{"code":"058033","cap":"00060","nome":"Civitella San Paolo"},{"code":"058034","cap":"00034","nome":"Colleferro"},{"code":"058035","cap":"00030","nome":"Colonna"},{"code":"058036","cap":"00065","nome":"Fiano Romano"},{"code":"058037","cap":"00060","nome":"Filacciano"},{"code":"058120","cap":"00054","nome":"Fiumicino"},{"code":"058122","cap":"00013","nome":"Fonte Nuova"},{"code":"058038","cap":"00060","nome":"Formello"},{"code":"058039","cap":"00044","nome":"Frascati"},{"code":"058040","cap":"00010","nome":"Gallicano nel Lazio"},{"code":"058041","cap":"00030","nome":"Gavignano"},{"code":"058042","cap":"00030","nome":"Genazzano"},{"code":"058043","cap":"00045","nome":"Genzano di Roma"},{"code":"058044","cap":"00025","nome":"Gerano"},{"code":"058045","cap":"00030","nome":"Gorga"},{"code":"058046","cap":"00046","nome":"Grottaferrata"},{"code":"058047","cap":"00012","nome":"Guidonia Montecelio"},{"code":"058048","cap":"00020","nome":"Jenne"},{"code":"058049","cap":"00030","nome":"Labico"},{"code":"058116","cap":"00055","nome":"Ladispoli"},{"code":"058050","cap":"00040","nome":"Lanuvio"},{"code":"058115","cap":"00040","nome":"Lariano"},{"code":"058051","cap":"00026","nome":"Licenza"},{"code":"058052","cap":"00060","nome":"Magliano Romano"},{"code":"058053","cap":"00020","nome":"Mandela"},{"code":"058054","cap":"00066","nome":"Manziana"},{"code":"058055","cap":"00020","nome":"Marano Equo"},{"code":"058056","cap":"00010","nome":"Marcellina"},{"code":"058057","cap":"00047","nome":"Marino"},{"code":"058058","cap":"00060","nome":"Mazzano Romano"},{"code":"058059","cap":"00013","nome":"Mentana"},{"code":"058060","cap":"00040","nome":"Monte Compatri"},{"code":"058064","cap":"00040","nome":"Monte Porzio Catone"},{"code":"058061","cap":"00010","nome":"Monteflavio"},{"code":"058062","cap":"00030","nome":"Montelanico"},{"code":"058063","cap":"00010","nome":"Montelibretti"},{"code":"058065","cap":"00015","nome":"Monterotondo"},{"code":"058066","cap":"00010","nome":"Montorio Romano"},{"code":"058067","cap":"00010","nome":"Moricone"},{"code":"058068","cap":"00067","nome":"Morlupo"},{"code":"058069","cap":"00060","nome":"Nazzano"},{"code":"058070","cap":"00040","nome":"Nemi"},{"code":"058071","cap":"00017","nome":"Nerola"},{"code":"058072","cap":"00048","nome":"Nettuno"},{"code":"058073","cap":"00035","nome":"Olevano Romano"},{"code":"058074","cap":"00036","nome":"Palestrina"},{"code":"058075","cap":"00018","nome":"Palombara Sabina"},{"code":"058076","cap":"00020","nome":"Percile"},{"code":"058077","cap":"00020","nome":"Pisoniano"},{"code":"058078","cap":"00010","nome":"Poli"},{"code":"058079","cap":"00040","nome":"Pomezia"},{"code":"058080","cap":"00060","nome":"Ponzano Romano"},{"code":"058081","cap":"00060","nome":"Riano"},{"code":"058082","cap":"00068","nome":"Rignano Flaminio"},{"code":"058083","cap":"00020","nome":"Riofreddo"},{"code":"058084","cap":"00020","nome":"Rocca Canterano"},{"code":"058085","cap":"00030","nome":"Rocca di Cave"},{"code":"058086","cap":"00040","nome":"Rocca di Papa"},{"code":"058088","cap":"00040","nome":"Rocca Priora"},{"code":"058089","cap":"00030","nome":"Rocca Santo Stefano"},{"code":"058087","cap":"00020","nome":"Roccagiovine"},{"code":"058090","cap":"00030","nome":"Roiate"},{"code":"058091","cap":"001xx","nome":"Roma"},{"code":"058092","cap":"00027","nome":"Roviano"},{"code":"058093","cap":"00060","nome":"Sacrofano"},{"code":"058094","cap":"00020","nome":"Sambuci"},{"code":"058119","cap":"00030","nome":"San Cesareo"},{"code":"058095","cap":"00010","nome":"San Gregorio da Sassola"},{"code":"058096","cap":"00010","nome":"San Polo dei Cavalieri"},{"code":"058100","cap":"00030","nome":"San Vito Romano"},{"code":"058097","cap":"00058","nome":"Santa Marinella"},{"code":"058098","cap":"00010","nome":"Sant\'Angelo Romano"},{"code":"058099","cap":"00060","nome":"Sant\'Oreste"},{"code":"058101","cap":"00020","nome":"Saracinesco"},{"code":"058102","cap":"00037","nome":"Segni"},{"code":"058103","cap":"00028","nome":"Subiaco"},{"code":"058104","cap":"00019","nome":"Tivoli"},{"code":"058105","cap":"00059","nome":"Tolfa"},{"code":"058106","cap":"00060","nome":"Torrita Tiberina"},{"code":"058107","cap":"00069","nome":"Trevignano Romano"},{"code":"058108","cap":"00020","nome":"Vallepietra"},{"code":"058109","cap":"00020","nome":"Vallinfreda"},{"code":"058110","cap":"00038","nome":"Valmontone"},{"code":"058111","cap":"00049","nome":"Velletri"},{"code":"058112","cap":"00029","nome":"Vicovaro"},{"code":"058113","cap":"00020","nome":"Vivaro Romano"},{"code":"058114","cap":"00039","nome":"Zagarolo"}],"nome":"Roma"},{"code":"VT","comuni":[{"code":"056001","cap":"01021","nome":"Acquapendente"},{"code":"056002","cap":"01010","nome":"Arlena di Castro"},{"code":"056003","cap":"01022","nome":"Bagnoregio"},{"code":"056004","cap":"01010","nome":"Barbarano Romano"},{"code":"056006","cap":"01030","nome":"Bassano in Teverina"},{"code":"056005","cap":"01030","nome":"Bassano Romano"},{"code":"056007","cap":"01010","nome":"Blera"},{"code":"056008","cap":"01023","nome":"Bolsena"},{"code":"056009","cap":"01020","nome":"Bomarzo"},{"code":"056010","cap":"01030","nome":"Calcata"},{"code":"056011","cap":"01030","nome":"Canepina"},{"code":"056012","cap":"01011","nome":"Canino"},{"code":"056013","cap":"01010","nome":"Capodimonte"},{"code":"056014","cap":"01012","nome":"Capranica"},{"code":"056015","cap":"01032","nome":"Caprarola"},{"code":"056016","cap":"01030","nome":"Carbognano"},{"code":"056017","cap":"01030","nome":"Castel Sant\'Elia"},{"code":"056018","cap":"01024","nome":"Castiglione in Teverina"},{"code":"056019","cap":"01020","nome":"Celleno"},{"code":"056020","cap":"01010","nome":"Cellere"},{"code":"056021","cap":"01033","nome":"Civita Castellana"},{"code":"056022","cap":"01020","nome":"Civitella d\'Agliano"},{"code":"056023","cap":"01030","nome":"Corchiano"},{"code":"056024","cap":"01034","nome":"Fabrica di Roma"},{"code":"056025","cap":"01030","nome":"Faleria"},{"code":"056026","cap":"01010","nome":"Farnese"},{"code":"056027","cap":"01035","nome":"Gallese"},{"code":"056028","cap":"01010","nome":"Gradoli"},{"code":"056029","cap":"01020","nome":"Graffignano"},{"code":"056030","cap":"01025","nome":"Grotte di Castro"},{"code":"056031","cap":"01010","nome":"Ischia di Castro"},{"code":"056032","cap":"01010","nome":"Latera"},{"code":"056033","cap":"01020","nome":"Lubriano"},{"code":"056034","cap":"01010","nome":"Marta"},{"code":"056035","cap":"01014","nome":"Montalto di Castro"},{"code":"056037","cap":"01010","nome":"Monte Romano"},{"code":"056036","cap":"01027","nome":"Montefiascone"},{"code":"056038","cap":"01030","nome":"Monterosi"},{"code":"056039","cap":"01036","nome":"Nepi"},{"code":"056040","cap":"01010","nome":"Onano"},{"code":"056041","cap":"01010","nome":"Oriolo Romano"},{"code":"056042","cap":"01028","nome":"Orte"},{"code":"056043","cap":"01010","nome":"Piansano"},{"code":"056044","cap":"01020","nome":"Proceno"},{"code":"056045","cap":"01037","nome":"Ronciglione"},{"code":"056047","cap":"01020","nome":"San Lorenzo Nuovo"},{"code":"056048","cap":"01038","nome":"Soriano nel Cimino"},{"code":"056049","cap":"01015","nome":"Sutri"},{"code":"056050","cap":"01016","nome":"Tarquinia"},{"code":"056051","cap":"01010","nome":"Tessennano"},{"code":"056052","cap":"01017","nome":"Tuscania"},{"code":"056053","cap":"01018","nome":"Valentano"},{"code":"056054","cap":"01030","nome":"Vallerano"},{"code":"056055","cap":"01030","nome":"Vasanello"},{"code":"056056","cap":"01010","nome":"Vejano"},{"code":"056057","cap":"01019","nome":"Vetralla"},{"code":"056058","cap":"01039","nome":"Vignanello"},{"code":"056046","cap":"01010","nome":"Villa San Giovanni in Tuscia"},{"code":"056059","cap":"01100","nome":"Viterbo"},{"code":"056060","cap":"01030","nome":"Vitorchiano"}],"nome":"Viterbo"}],"nome":"Lazio"},{"province":[{"code":"GE","comuni":[{"code":"010001","cap":"16011","nome":"Arenzano"},{"code":"010002","cap":"16030","nome":"Avegno"},{"code":"010003","cap":"16021","nome":"Bargagli"},{"code":"010004","cap":"16031","nome":"Bogliasco"},{"code":"010005","cap":"16041","nome":"Borzonasca"},{"code":"010006","cap":"16012","nome":"Busalla"},{"code":"010007","cap":"16032","nome":"Camogli"},{"code":"010008","cap":"16013","nome":"Campo Ligure"},{"code":"010009","cap":"16014","nome":"Campomorone"},{"code":"010010","cap":"16042","nome":"Carasco"},{"code":"010011","cap":"16030","nome":"Casarza Ligure"},{"code":"010012","cap":"16015","nome":"Casella"},{"code":"010013","cap":"16030","nome":"Castiglione Chiavarese"},{"code":"010014","cap":"16014","nome":"Ceranesi"},{"code":"010015","cap":"16043","nome":"Chiavari"},{"code":"010016","cap":"16044","nome":"Cicagna"},{"code":"010017","cap":"16016","nome":"Cogoleto"},{"code":"010018","cap":"16030","nome":"Cogorno"},{"code":"010019","cap":"16040","nome":"Coreglia Ligure"},{"code":"010020","cap":"16010","nome":"Crocefieschi"},{"code":"010021","cap":"16022","nome":"Davagna"},{"code":"010022","cap":"16020","nome":"Fascia"},{"code":"010023","cap":"16040","nome":"Favale di Malvaro"},{"code":"010024","cap":"16023","nome":"Fontanigorda"},{"code":"010025","cap":"161xx","nome":"Genova"},{"code":"010026","cap":"16020","nome":"Gorreto"},{"code":"010027","cap":"16017","nome":"Isola del Cantone"},{"code":"010028","cap":"16033","nome":"Lavagna"},{"code":"010029","cap":"16040","nome":"Leivi"},{"code":"010030","cap":"16045","nome":"Lorsica"},{"code":"010031","cap":"16024","nome":"Lumarzo"},{"code":"010032","cap":"16010","nome":"Masone"},{"code":"010033","cap":"16010","nome":"Mele"},{"code":"010034","cap":"16046","nome":"Mezzanego"},{"code":"010035","cap":"16018","nome":"Mignanego"},{"code":"010036","cap":"16047","nome":"Moconesi"},{"code":"010037","cap":"16030","nome":"Moneglia"},{"code":"010038","cap":"16025","nome":"Montebruno"},{"code":"010039","cap":"16026","nome":"Montoggio"},{"code":"010040","cap":"16040","nome":"Ne"},{"code":"010041","cap":"16040","nome":"Neirone"},{"code":"010042","cap":"16040","nome":"Orero"},{"code":"010043","cap":"16030","nome":"Pieve Ligure"},{"code":"010044","cap":"16034","nome":"Portofino"},{"code":"010045","cap":"16027","nome":"Propata"},{"code":"010046","cap":"16035","nome":"Rapallo"},{"code":"010047","cap":"16036","nome":"Recco"},{"code":"010048","cap":"16048","nome":"Rezzoaglio"},{"code":"010049","cap":"16019","nome":"Ronco Scrivia"},{"code":"010050","cap":"16025","nome":"Rondanina"},{"code":"010051","cap":"16010","nome":"Rossiglione"},{"code":"010052","cap":"16028","nome":"Rovegno"},{"code":"010053","cap":"16040","nome":"San Colombano Certenoli"},{"code":"010054","cap":"16038","nome":"Santa Margherita Ligure"},{"code":"010056","cap":"16049","nome":"Santo Stefano d\'Aveto"},{"code":"010055","cap":"16010","nome":"Sant\'Olcese"},{"code":"010057","cap":"16010","nome":"Savignone"},{"code":"010058","cap":"16010","nome":"Serra Ricc\xf2"},{"code":"010059","cap":"16039","nome":"Sestri Levante"},{"code":"010060","cap":"16030","nome":"Sori"},{"code":"010061","cap":"16010","nome":"Tiglieto"},{"code":"010062","cap":"16029","nome":"Torriglia"},{"code":"010063","cap":"16030","nome":"Tribogna"},{"code":"010064","cap":"16030","nome":"Uscio"},{"code":"010065","cap":"16010","nome":"Valbrevenna"},{"code":"010066","cap":"16010","nome":"Vobbia"},{"code":"010067","cap":"16030","nome":"Zoagli"}],"nome":"Genova"},{"code":"IM","comuni":[{"code":"008001","cap":"18030","nome":"Airole"},{"code":"008002","cap":"18035","nome":"Apricale"},{"code":"008003","cap":"18020","nome":"Aquila d\'Arroscia"},{"code":"008004","cap":"18026","nome":"Armo"},{"code":"008005","cap":"18020","nome":"Aurigo"},{"code":"008006","cap":"18010","nome":"Badalucco"},{"code":"008007","cap":"18031","nome":"Bajardo"},{"code":"008008","cap":"18012","nome":"Bordighera"},{"code":"008009","cap":"18020","nome":"Borghetto d\'Arroscia"},{"code":"008010","cap":"18021","nome":"Borgomaro"},{"code":"008011","cap":"18033","nome":"Camporosso"},{"code":"008012","cap":"18020","nome":"Caravonica"},{"code":"008013","cap":"18010","nome":"Carpasio"},{"code":"008015","cap":"18030","nome":"Castel Vittorio"},{"code":"008014","cap":"18011","nome":"Castellaro"},{"code":"008016","cap":"18034","nome":"Ceriana"},{"code":"008017","cap":"18010","nome":"Cervo"},{"code":"008018","cap":"18022","nome":"Cesio"},{"code":"008019","cap":"18027","nome":"Chiusanico"},{"code":"008020","cap":"18027","nome":"Chiusavecchia"},{"code":"008021","cap":"18017","nome":"Cipressa"},{"code":"008022","cap":"18017","nome":"Civezza"},{"code":"008023","cap":"18023","nome":"Cosio d\'Arroscia"},{"code":"008024","cap":"18017","nome":"Costarainera"},{"code":"008025","cap":"18013","nome":"Diano Arentino"},{"code":"008026","cap":"18013","nome":"Diano Castello"},{"code":"008027","cap":"18013","nome":"Diano Marina"},{"code":"008028","cap":"18013","nome":"Diano San Pietro"},{"code":"008029","cap":"18035","nome":"Dolceacqua"},{"code":"008030","cap":"18020","nome":"Dolcedo"},{"code":"008031","cap":"18100","nome":"Imperia"},{"code":"008032","cap":"18035","nome":"Isolabona"},{"code":"008033","cap":"18020","nome":"Lucinasco"},{"code":"008034","cap":"18025","nome":"Mendatica"},{"code":"008035","cap":"18010","nome":"Molini di Triora"},{"code":"008036","cap":"18010","nome":"Montalto Ligure"},{"code":"008037","cap":"18025","nome":"Montegrosso Pian Latte"},{"code":"008038","cap":"18030","nome":"Olivetta San Michele"},{"code":"008039","cap":"18014","nome":"Ospedaletti"},{"code":"008040","cap":"18032","nome":"Perinaldo"},{"code":"008041","cap":"18010","nome":"Pietrabruna"},{"code":"008042","cap":"18026","nome":"Pieve di Teco"},{"code":"008043","cap":"18037","nome":"Pigna"},{"code":"008044","cap":"18015","nome":"Pompeiana"},{"code":"008045","cap":"18027","nome":"Pontedassio"},{"code":"008046","cap":"18024","nome":"Pornassio"},{"code":"008047","cap":"18020","nome":"Prel\xe0"},{"code":"008048","cap":"18020","nome":"Ranzo"},{"code":"008049","cap":"18026","nome":"Rezzo"},{"code":"008050","cap":"18015","nome":"Riva Ligure"},{"code":"008051","cap":"18030","nome":"Rocchetta Nervina"},{"code":"008052","cap":"18016","nome":"San Bartolomeo al Mare"},{"code":"008053","cap":"18036","nome":"San Biagio della Cima"},{"code":"008054","cap":"18017","nome":"San Lorenzo al Mare"},{"code":"008055","cap":"18038","nome":"Sanremo"},{"code":"008056","cap":"18010","nome":"Santo Stefano al Mare"},{"code":"008057","cap":"18012","nome":"Seborga"},{"code":"008058","cap":"18036","nome":"Soldano"},{"code":"008059","cap":"18018","nome":"Taggia"},{"code":"008060","cap":"18010","nome":"Terzorio"},{"code":"008061","cap":"18010","nome":"Triora"},{"code":"008062","cap":"18012","nome":"Vallebona"},{"code":"008063","cap":"18019","nome":"Vallecrosia"},{"code":"008064","cap":"18020","nome":"Vasia"},{"code":"008065","cap":"18039","nome":"Ventimiglia"},{"code":"008066","cap":"18026","nome":"Vessalico"},{"code":"008067","cap":"18010","nome":"Villa Faraldi"}],"nome":"Imperia"},{"code":"SP","comuni":[{"code":"011001","cap":"19031","nome":"Ameglia"},{"code":"011002","cap":"19021","nome":"Arcola"},{"code":"011003","cap":"19020","nome":"Beverino"},{"code":"011004","cap":"19020","nome":"Bolano"},{"code":"011005","cap":"19011","nome":"Bonassola"},{"code":"011006","cap":"19020","nome":"Borghetto di Vara"},{"code":"011007","cap":"19020","nome":"Brugnato"},{"code":"011008","cap":"19020","nome":"Calice al Cornoviglio"},{"code":"011009","cap":"19012","nome":"Carro"},{"code":"011010","cap":"19020","nome":"Carrodano"},{"code":"011011","cap":"19033","nome":"Castelnuovo Magra"},{"code":"011012","cap":"19013","nome":"Deiva Marina"},{"code":"011013","cap":"19020","nome":"Follo"},{"code":"011014","cap":"19014","nome":"Framura"},{"code":"011015","cap":"191xx","nome":"La Spezia"},{"code":"011016","cap":"19032","nome":"Lerici"},{"code":"011017","cap":"19015","nome":"Levanto"},{"code":"011018","cap":"19010","nome":"Maissana"},{"code":"011019","cap":"19016","nome":"Monterosso al Mare"},{"code":"011020","cap":"19034","nome":"Ortonovo"},{"code":"011021","cap":"19020","nome":"Pignone"},{"code":"011022","cap":"19025","nome":"Portovenere"},{"code":"011023","cap":"19020","nome":"Ricc\xf2 del Golfo di Spezia"},{"code":"011024","cap":"19017","nome":"Riomaggiore"},{"code":"011025","cap":"19020","nome":"Rocchetta di Vara"},{"code":"011026","cap":"19037","nome":"Santo Stefano di Magra"},{"code":"011027","cap":"19038","nome":"Sarzana"},{"code":"011028","cap":"19020","nome":"Sesta Godano"},{"code":"011029","cap":"19028","nome":"Varese Ligure"},{"code":"011030","cap":"19018","nome":"Vernazza"},{"code":"011031","cap":"19020","nome":"Vezzano Ligure"},{"code":"011032","cap":"19020","nome":"Zignago"}],"nome":"La Spezia"},{"code":"SV","comuni":[{"code":"009001","cap":"17021","nome":"Alassio"},{"code":"009002","cap":"17031","nome":"Albenga"},{"code":"009004","cap":"17011","nome":"Albisola Superiore"},{"code":"009003","cap":"17012","nome":"Albissola Marina"},{"code":"009005","cap":"17041","nome":"Altare"},{"code":"009006","cap":"17051","nome":"Andora"},{"code":"009007","cap":"17032","nome":"Arnasco"},{"code":"009008","cap":"17020","nome":"Balestrino"},{"code":"009009","cap":"17057","nome":"Bardineto"},{"code":"009010","cap":"17028","nome":"Bergeggi"},{"code":"009011","cap":"17054","nome":"Boissano"},{"code":"009012","cap":"17052","nome":"Borghetto Santo Spirito"},{"code":"009013","cap":"17022","nome":"Borgio Verezzi"},{"code":"009014","cap":"17045","nome":"Bormida"},{"code":"009015","cap":"17014","nome":"Cairo Montenotte"},{"code":"009016","cap":"17020","nome":"Calice Ligure"},{"code":"009017","cap":"17057","nome":"Calizzano"},{"code":"009018","cap":"17043","nome":"Carcare"},{"code":"009019","cap":"17033","nome":"Casanova Lerrone"},{"code":"009020","cap":"17030","nome":"Castelbianco"},{"code":"009021","cap":"17034","nome":"Castelvecchio di Rocca Barbena"},{"code":"009022","cap":"17015","nome":"Celle Ligure"},{"code":"009023","cap":"17056","nome":"Cengio"},{"code":"009024","cap":"17023","nome":"Ceriale"},{"code":"009025","cap":"17035","nome":"Cisano sul Neva"},{"code":"009026","cap":"17017","nome":"Cosseria"},{"code":"009027","cap":"17058","nome":"Dego"},{"code":"009028","cap":"17030","nome":"Erli"},{"code":"009029","cap":"17024","nome":"Finale Ligure"},{"code":"009030","cap":"17033","nome":"Garlenda"},{"code":"009031","cap":"17027","nome":"Giustenice"},{"code":"009032","cap":"17010","nome":"Giusvalla"},{"code":"009033","cap":"17053","nome":"Laigueglia"},{"code":"009034","cap":"17025","nome":"Loano"},{"code":"009035","cap":"17020","nome":"Magliolo"},{"code":"009036","cap":"17045","nome":"Mallare"},{"code":"009037","cap":"12071","nome":"Massimino"},{"code":"009038","cap":"17017","nome":"Millesimo"},{"code":"009039","cap":"17040","nome":"Mioglia"},{"code":"009040","cap":"17013","nome":"Murialdo"},{"code":"009041","cap":"17030","nome":"Nasino"},{"code":"009042","cap":"17026","nome":"Noli"},{"code":"009043","cap":"17037","nome":"Onzo"},{"code":"009044","cap":"17024","nome":"Orco Feglino"},{"code":"009045","cap":"17037","nome":"Ortovero"},{"code":"009046","cap":"17010","nome":"Osiglia"},{"code":"009047","cap":"17043","nome":"Pallare"},{"code":"009048","cap":"17058","nome":"Piana Crixia"},{"code":"009049","cap":"17027","nome":"Pietra Ligure"},{"code":"009050","cap":"17043","nome":"Plodio"},{"code":"009051","cap":"17042","nome":"Pontinvrea"},{"code":"009052","cap":"17047","nome":"Quiliano"},{"code":"009053","cap":"17020","nome":"Rialto"},{"code":"009054","cap":"17017","nome":"Roccavignale"},{"code":"009055","cap":"17046","nome":"Sassello"},{"code":"009056","cap":"17100","nome":"Savona"},{"code":"009057","cap":"17028","nome":"Spotorno"},{"code":"009058","cap":"17044","nome":"Stella"},{"code":"009059","cap":"17020","nome":"Stellanello"},{"code":"009060","cap":"17020","nome":"Testico"},{"code":"009061","cap":"17055","nome":"Toirano"},{"code":"009062","cap":"17020","nome":"Tovo San Giacomo"},{"code":"009063","cap":"17048","nome":"Urbe"},{"code":"009064","cap":"17047","nome":"Vado Ligure"},{"code":"009065","cap":"17019","nome":"Varazze"},{"code":"009066","cap":"17032","nome":"Vendone"},{"code":"009067","cap":"17028","nome":"Vezzi Portio"},{"code":"009068","cap":"17038","nome":"Villanova d\'Albenga"},{"code":"009069","cap":"17039","nome":"Zuccarello"}],"nome":"Savona"}],"nome":"Liguria"},{"province":[{"code":"BG","comuni":[{"code":"016001","cap":"24060","nome":"Adrara San Martino"},{"code":"016002","cap":"24060","nome":"Adrara San Rocco"},{"code":"016003","cap":"24061","nome":"Albano Sant\'Alessandro"},{"code":"016004","cap":"24021","nome":"Albino"},{"code":"016248","cap":"24010","nome":"Algua"},{"code":"016005","cap":"24011","nome":"Alm\xe8"},{"code":"016006","cap":"24030","nome":"Almenno San Bartolomeo"},{"code":"016007","cap":"24031","nome":"Almenno San Salvatore"},{"code":"016008","cap":"24022","nome":"Alzano Lombardo"},{"code":"016009","cap":"24030","nome":"Ambivere"},{"code":"016010","cap":"24051","nome":"Antegnate"},{"code":"016011","cap":"24040","nome":"Arcene"},{"code":"016012","cap":"24020","nome":"Ardesio"},{"code":"016013","cap":"24040","nome":"Arzago d\'Adda"},{"code":"016014","cap":"24010","nome":"Averara"},{"code":"016015","cap":"24020","nome":"Aviatico"},{"code":"016016","cap":"24052","nome":"Azzano San Paolo"},{"code":"016017","cap":"24020","nome":"Azzone"},{"code":"016018","cap":"24060","nome":"Bagnatica"},{"code":"016019","cap":"24040","nome":"Barbata"},{"code":"016020","cap":"24050","nome":"Bariano"},{"code":"016021","cap":"24030","nome":"Barzana"},{"code":"016022","cap":"24030","nome":"Bedulita"},{"code":"016023","cap":"24030","nome":"Berbenno"},{"code":"016024","cap":"241xx","nome":"Bergamo"},{"code":"016025","cap":"24060","nome":"Berzo San Fermo"},{"code":"016026","cap":"24060","nome":"Bianzano"},{"code":"016027","cap":"24010","nome":"Blello"},{"code":"016028","cap":"24060","nome":"Bolgare"},{"code":"016029","cap":"24040","nome":"Boltiere"},{"code":"016030","cap":"24040","nome":"Bonate Sopra"},{"code":"016031","cap":"24040","nome":"Bonate Sotto"},{"code":"016032","cap":"24060","nome":"Borgo di Terzo"},{"code":"016033","cap":"24060","nome":"Bossico"},{"code":"016034","cap":"24040","nome":"Bottanuco"},{"code":"016035","cap":"24010","nome":"Bracca"},{"code":"016036","cap":"24010","nome":"Branzi"},{"code":"016037","cap":"24041","nome":"Brembate"},{"code":"016038","cap":"24030","nome":"Brembate di Sopra"},{"code":"016039","cap":"24012","nome":"Brembilla"},{"code":"016040","cap":"24053","nome":"Brignano Gera d\'Adda"},{"code":"016041","cap":"24037","nome":"Brumano"},{"code":"016042","cap":"24060","nome":"Brusaporto"},{"code":"016043","cap":"24050","nome":"Calcinate"},{"code":"016044","cap":"24054","nome":"Calcio"},{"code":"016046","cap":"24033","nome":"Calusco d\'Adda"},{"code":"016047","cap":"24040","nome":"Calvenzano"},{"code":"016048","cap":"24010","nome":"Camerata Cornello"},{"code":"016049","cap":"24040","nome":"Canonica d\'Adda"},{"code":"016050","cap":"24030","nome":"Capizzone"},{"code":"016051","cap":"24042","nome":"Capriate San Gervasio"},{"code":"016052","cap":"24030","nome":"Caprino Bergamasco"},{"code":"016053","cap":"24043","nome":"Caravaggio"},{"code":"016055","cap":"24060","nome":"Carobbio degli Angeli"},{"code":"016056","cap":"24010","nome":"Carona"},{"code":"016057","cap":"24030","nome":"Carvico"},{"code":"016058","cap":"24060","nome":"Casazza"},{"code":"016059","cap":"24040","nome":"Casirate d\'Adda"},{"code":"016060","cap":"24020","nome":"Casnigo"},{"code":"016061","cap":"24010","nome":"Cassiglio"},{"code":"016063","cap":"24040","nome":"Castel Rozzone"},{"code":"016062","cap":"24060","nome":"Castelli Calepio"},{"code":"016064","cap":"24020","nome":"Castione della Presolana"},{"code":"016065","cap":"24063","nome":"Castro"},{"code":"016066","cap":"24050","nome":"Cavernago"},{"code":"016067","cap":"24026","nome":"Cazzano Sant\'Andrea"},{"code":"016068","cap":"24060","nome":"Cenate Sopra"},{"code":"016069","cap":"24069","nome":"Cenate Sotto"},{"code":"016070","cap":"24020","nome":"Cene"},{"code":"016071","cap":"24020","nome":"Cerete"},{"code":"016072","cap":"24040","nome":"Chignolo d\'Isola"},{"code":"016073","cap":"24060","nome":"Chiuduno"},{"code":"016074","cap":"24034","nome":"Cisano Bergamasco"},{"code":"016075","cap":"24040","nome":"Ciserano"},{"code":"016076","cap":"24050","nome":"Cividate al Piano"},{"code":"016077","cap":"24023","nome":"Clusone"},{"code":"016078","cap":"24020","nome":"Colere"},{"code":"016079","cap":"24055","nome":"Cologno al Serio"},{"code":"016080","cap":"24020","nome":"Colzate"},{"code":"016081","cap":"24040","nome":"Comun Nuovo"},{"code":"016082","cap":"24030","nome":"Corna Imagna"},{"code":"016249","cap":"24017","nome":"Cornalba"},{"code":"016083","cap":"24050","nome":"Cortenuova"},{"code":"016084","cap":"24060","nome":"Costa di Mezzate"},{"code":"016247","cap":"24010","nome":"Costa Serina"},{"code":"016085","cap":"24030","nome":"Costa Valle Imagna"},{"code":"016086","cap":"24062","nome":"Costa Volpino"},{"code":"016087","cap":"24050","nome":"Covo"},{"code":"016088","cap":"24060","nome":"Credaro"},{"code":"016089","cap":"24035","nome":"Curno"},{"code":"016090","cap":"24010","nome":"Cusio"},{"code":"016091","cap":"24044","nome":"Dalmine"},{"code":"016092","cap":"24010","nome":"Dossena"},{"code":"016093","cap":"24060","nome":"Endine Gaiano"},{"code":"016094","cap":"24060","nome":"Entratico"},{"code":"016096","cap":"24045","nome":"Fara Gera d\'Adda"},{"code":"016097","cap":"24058","nome":"Fara Olivana con Sola"},{"code":"016098","cap":"24040","nome":"Filago"},{"code":"016099","cap":"24020","nome":"Fino del Monte"},{"code":"016100","cap":"24020","nome":"Fiorano al Serio"},{"code":"016101","cap":"24056","nome":"Fontanella"},{"code":"016102","cap":"24060","nome":"Fonteno"},{"code":"016103","cap":"24010","nome":"Foppolo"},{"code":"016104","cap":"24060","nome":"Foresto Sparso"},{"code":"016105","cap":"24040","nome":"Fornovo San Giovanni"},{"code":"016106","cap":"24030","nome":"Fuipiano Valle Imagna"},{"code":"016107","cap":"24020","nome":"Gandellino"},{"code":"016108","cap":"24024","nome":"Gandino"},{"code":"016109","cap":"24060","nome":"Gandosso"},{"code":"016110","cap":"24060","nome":"Gaverina Terme"},{"code":"016111","cap":"24025","nome":"Gazzaniga"},{"code":"016112","cap":"24010","nome":"Gerosa"},{"code":"016113","cap":"24050","nome":"Ghisalba"},{"code":"016114","cap":"24060","nome":"Gorlago"},{"code":"016115","cap":"24020","nome":"Gorle"},{"code":"016116","cap":"24020","nome":"Gorno"},{"code":"016117","cap":"24050","nome":"Grassobbio"},{"code":"016118","cap":"24020","nome":"Gromo"},{"code":"016119","cap":"24060","nome":"Grone"},{"code":"016120","cap":"24064","nome":"Grumello del Monte"},{"code":"016121","cap":"24010","nome":"Isola di Fondra"},{"code":"016122","cap":"24040","nome":"Isso"},{"code":"016123","cap":"24040","nome":"Lallio"},{"code":"016124","cap":"24026","nome":"Leffe"},{"code":"016125","cap":"24010","nome":"Lenna"},{"code":"016126","cap":"24040","nome":"Levate"},{"code":"016127","cap":"24030","nome":"Locatello"},{"code":"016128","cap":"24065","nome":"Lovere"},{"code":"016129","cap":"24050","nome":"Lurano"},{"code":"016130","cap":"24069","nome":"Luzzana"},{"code":"016131","cap":"24040","nome":"Madone"},{"code":"016132","cap":"24030","nome":"Mapello"},{"code":"016133","cap":"24057","nome":"Martinengo"},{"code":"016250","cap":"24030","nome":"Medolago"},{"code":"016134","cap":"24010","nome":"Mezzoldo"},{"code":"016135","cap":"24040","nome":"Misano di Gera d\'Adda"},{"code":"016136","cap":"24010","nome":"Moio de\' Calvi"},{"code":"016137","cap":"24060","nome":"Monasterolo del Castello"},{"code":"016139","cap":"24060","nome":"Montello"},{"code":"016140","cap":"24050","nome":"Morengo"},{"code":"016141","cap":"24050","nome":"Mornico al Serio"},{"code":"016142","cap":"24050","nome":"Mozzanica"},{"code":"016143","cap":"24030","nome":"Mozzo"},{"code":"016144","cap":"24027","nome":"Nembro"},{"code":"016145","cap":"24010","nome":"Olmo al Brembo"},{"code":"016146","cap":"24013","nome":"Oltre il Colle"},{"code":"016147","cap":"24020","nome":"Oltressenda Alta"},{"code":"016148","cap":"24020","nome":"Oneta"},{"code":"016149","cap":"24020","nome":"Onore"},{"code":"016150","cap":"24050","nome":"Orio al Serio"},{"code":"016151","cap":"24010","nome":"Ornica"},{"code":"016152","cap":"24040","nome":"Osio Sopra"},{"code":"016153","cap":"24046","nome":"Osio Sotto"},{"code":"016154","cap":"24040","nome":"Pagazzano"},{"code":"016155","cap":"24030","nome":"Paladina"},{"code":"016156","cap":"24030","nome":"Palazzago"},{"code":"016157","cap":"24050","nome":"Palosco"},{"code":"016158","cap":"24020","nome":"Parre"},{"code":"016159","cap":"24060","nome":"Parzanica"},{"code":"016160","cap":"24066","nome":"Pedrengo"},{"code":"016161","cap":"24020","nome":"Peia"},{"code":"016162","cap":"24060","nome":"Pianico"},{"code":"016163","cap":"24020","nome":"Piario"},{"code":"016164","cap":"24014","nome":"Piazza Brembana"},{"code":"016165","cap":"24010","nome":"Piazzatorre"},{"code":"016166","cap":"24010","nome":"Piazzolo"},{"code":"016167","cap":"24040","nome":"Pognano"},{"code":"016168","cap":"24028","nome":"Ponte Nossa"},{"code":"016170","cap":"24036","nome":"Ponte San Pietro"},{"code":"016169","cap":"24010","nome":"Ponteranica"},{"code":"016171","cap":"24030","nome":"Pontida"},{"code":"016172","cap":"24040","nome":"Pontirolo Nuovo"},{"code":"016173","cap":"24020","nome":"Pradalunga"},{"code":"016174","cap":"24060","nome":"Predore"},{"code":"016175","cap":"24020","nome":"Premolo"},{"code":"016176","cap":"24030","nome":"Presezzo"},{"code":"016177","cap":"24050","nome":"Pumenengo"},{"code":"016178","cap":"24020","nome":"Ranica"},{"code":"016179","cap":"24060","nome":"Ranzanico"},{"code":"016180","cap":"24060","nome":"Riva di Solto"},{"code":"016182","cap":"24060","nome":"Rogno"},{"code":"016183","cap":"24058","nome":"Romano di Lombardia"},{"code":"016184","cap":"24010","nome":"Roncobello"},{"code":"016185","cap":"24030","nome":"Roncola"},{"code":"016186","cap":"24037","nome":"Rota d\'Imagna"},{"code":"016187","cap":"24020","nome":"Rovetta"},{"code":"016188","cap":"24015","nome":"San Giovanni Bianco"},{"code":"016189","cap":"24060","nome":"San Paolo d\'Argon"},{"code":"016190","cap":"24016","nome":"San Pellegrino Terme"},{"code":"016191","cap":"24010","nome":"Santa Brigida"},{"code":"016192","cap":"24038","nome":"Sant\'Omobono Terme"},{"code":"016193","cap":"24067","nome":"Sarnico"},{"code":"016194","cap":"24020","nome":"Scanzorosciate"},{"code":"016195","cap":"24020","nome":"Schilpario"},{"code":"016196","cap":"24010","nome":"Sedrina"},{"code":"016197","cap":"24020","nome":"Selvino"},{"code":"016198","cap":"24068","nome":"Seriate"},{"code":"016199","cap":"24017","nome":"Serina"},{"code":"016200","cap":"24060","nome":"Solto Collina"},{"code":"016251","cap":"24030","nome":"Solza"},{"code":"016201","cap":"24020","nome":"Songavazzo"},{"code":"016202","cap":"24010","nome":"Sorisole"},{"code":"016203","cap":"24039","nome":"Sotto il Monte Giovanni XXIII"},{"code":"016204","cap":"24060","nome":"Sovere"},{"code":"016205","cap":"24060","nome":"Spinone al Lago"},{"code":"016206","cap":"24050","nome":"Spirano"},{"code":"016207","cap":"24040","nome":"Stezzano"},{"code":"016208","cap":"24030","nome":"Strozza"},{"code":"016209","cap":"24040","nome":"Suisio"},{"code":"016210","cap":"24010","nome":"Taleggio"},{"code":"016211","cap":"24060","nome":"Tavernola Bergamasca"},{"code":"016212","cap":"24060","nome":"Telgate"},{"code":"016213","cap":"24030","nome":"Terno d\'Isola"},{"code":"016214","cap":"24020","nome":"Torre Boldone"},{"code":"016216","cap":"24060","nome":"Torre de\' Roveri"},{"code":"016217","cap":"24050","nome":"Torre Pallavicina"},{"code":"016218","cap":"24069","nome":"Trescore Balneario"},{"code":"016219","cap":"24047","nome":"Treviglio"},{"code":"016220","cap":"24048","nome":"Treviolo"},{"code":"016221","cap":"24010","nome":"Ubiale Clanezzo"},{"code":"016222","cap":"24059","nome":"Urgnano"},{"code":"016223","cap":"24020","nome":"Valbondione"},{"code":"016224","cap":"24030","nome":"Valbrembo"},{"code":"016225","cap":"24020","nome":"Valgoglio"},{"code":"016226","cap":"24010","nome":"Valleve"},{"code":"016227","cap":"24010","nome":"Valnegra"},{"code":"016228","cap":"24030","nome":"Valsecca"},{"code":"016229","cap":"24010","nome":"Valtorta"},{"code":"016230","cap":"24010","nome":"Vedeseta"},{"code":"016232","cap":"24040","nome":"Verdellino"},{"code":"016233","cap":"24049","nome":"Verdello"},{"code":"016234","cap":"24029","nome":"Vertova"},{"code":"016235","cap":"24060","nome":"Viadanica"},{"code":"016236","cap":"24060","nome":"Vigano San Martino"},{"code":"016237","cap":"24060","nome":"Vigolo"},{"code":"016238","cap":"24030","nome":"Villa d\'Adda"},{"code":"016239","cap":"24018","nome":"Villa d\'Alm\xe8"},{"code":"016240","cap":"24020","nome":"Villa di Serio"},{"code":"016241","cap":"24020","nome":"Villa d\'Ogna"},{"code":"016242","cap":"24060","nome":"Villongo"},{"code":"016243","cap":"24020","nome":"Vilminore di Scalve"},{"code":"016244","cap":"24060","nome":"Zandobbio"},{"code":"016245","cap":"24050","nome":"Zanica"},{"code":"016246","cap":"24019","nome":"Zogno"}],"nome":"Bergamo"},{"code":"BS","comuni":[{"code":"017001","cap":"25010","nome":"Acquafredda"},{"code":"017002","cap":"25030","nome":"Adro"},{"code":"017003","cap":"25071","nome":"Agnosine"},{"code":"017004","cap":"25020","nome":"Alfianello"},{"code":"017005","cap":"25070","nome":"Anfo"},{"code":"017006","cap":"25040","nome":"Angolo Terme"},{"code":"017007","cap":"25040","nome":"Artogne"},{"code":"017008","cap":"25020","nome":"Azzano Mella"},{"code":"017009","cap":"25021","nome":"Bagnolo Mella"},{"code":"017010","cap":"25072","nome":"Bagolino"},{"code":"017011","cap":"25030","nome":"Barbariga"},{"code":"017012","cap":"25070","nome":"Barghe"},{"code":"017013","cap":"25020","nome":"Bassano Bresciano"},{"code":"017014","cap":"25081","nome":"Bedizzole"},{"code":"017015","cap":"25030","nome":"Berlingo"},{"code":"017016","cap":"25040","nome":"Berzo Demo"},{"code":"017017","cap":"25040","nome":"Berzo Inferiore"},{"code":"017018","cap":"25040","nome":"Bienno"},{"code":"017019","cap":"25070","nome":"Bione"},{"code":"017020","cap":"25022","nome":"Borgo San Giacomo"},{"code":"017021","cap":"25010","nome":"Borgosatollo"},{"code":"017022","cap":"25042","nome":"Borno"},{"code":"017023","cap":"25082","nome":"Botticino"},{"code":"017024","cap":"25061","nome":"Bovegno"},{"code":"017025","cap":"25073","nome":"Bovezzo"},{"code":"017026","cap":"25030","nome":"Brandico"},{"code":"017027","cap":"25040","nome":"Braone"},{"code":"017028","cap":"25043","nome":"Breno"},{"code":"017029","cap":"251xx","nome":"Brescia"},{"code":"017030","cap":"25060","nome":"Brione"},{"code":"017031","cap":"25070","nome":"Caino"},{"code":"017032","cap":"25011","nome":"Calcinato"},{"code":"017033","cap":"25080","nome":"Calvagese della Riviera"},{"code":"017034","cap":"25012","nome":"Calvisano"},{"code":"017035","cap":"25044","nome":"Capo di Ponte"},{"code":"017036","cap":"25070","nome":"Capovalle"},{"code":"017037","cap":"25020","nome":"Capriano del Colle"},{"code":"017038","cap":"25031","nome":"Capriolo"},{"code":"017039","cap":"25013","nome":"Carpenedolo"},{"code":"017040","cap":"25045","nome":"Castegnato"},{"code":"017042","cap":"25030","nome":"Castel Mella"},{"code":"017041","cap":"25030","nome":"Castelcovati"},{"code":"017043","cap":"25014","nome":"Castenedolo"},{"code":"017044","cap":"25070","nome":"Casto"},{"code":"017045","cap":"25030","nome":"Castrezzato"},{"code":"017046","cap":"25046","nome":"Cazzago San Martino"},{"code":"017047","cap":"25051","nome":"Cedegolo"},{"code":"017048","cap":"25060","nome":"Cellatica"},{"code":"017049","cap":"25040","nome":"Cerveno"},{"code":"017050","cap":"25040","nome":"Ceto"},{"code":"017051","cap":"25040","nome":"Cevo"},{"code":"017052","cap":"25032","nome":"Chiari"},{"code":"017053","cap":"25020","nome":"Cigole"},{"code":"017054","cap":"25050","nome":"Cimbergo"},{"code":"017055","cap":"25040","nome":"Cividate Camuno"},{"code":"017056","cap":"25030","nome":"Coccaglio"},{"code":"017057","cap":"25060","nome":"Collebeato"},{"code":"017058","cap":"25060","nome":"Collio"},{"code":"017059","cap":"25033","nome":"Cologne"},{"code":"017060","cap":"25030","nome":"Comezzano-Cizzago"},{"code":"017061","cap":"25062","nome":"Concesio"},{"code":"017062","cap":"25040","nome":"Corte Franca"},{"code":"017063","cap":"25040","nome":"Corteno Golgi"},{"code":"017064","cap":"25030","nome":"Corzano"},{"code":"017065","cap":"25047","nome":"Darfo Boario Terme"},{"code":"017066","cap":"25020","nome":"Dello"},{"code":"017067","cap":"25015","nome":"Desenzano del Garda"},{"code":"017068","cap":"25048","nome":"Edolo"},{"code":"017069","cap":"25030","nome":"Erbusco"},{"code":"017070","cap":"25040","nome":"Esine"},{"code":"017071","cap":"25020","nome":"Fiesse"},{"code":"017072","cap":"25020","nome":"Flero"},{"code":"017073","cap":"25020","nome":"Gambara"},{"code":"017074","cap":"25083","nome":"Gardone Riviera"},{"code":"017075","cap":"25063","nome":"Gardone Val Trompia"},{"code":"017076","cap":"25084","nome":"Gargnano"},{"code":"017077","cap":"25085","nome":"Gavardo"},{"code":"017078","cap":"25016","nome":"Ghedi"},{"code":"017079","cap":"25040","nome":"Gianico"},{"code":"017080","cap":"25023","nome":"Gottolengo"},{"code":"017081","cap":"25064","nome":"Gussago"},{"code":"017082","cap":"25074","nome":"Idro"},{"code":"017083","cap":"25040","nome":"Incudine"},{"code":"017084","cap":"25061","nome":"Irma"},{"code":"017085","cap":"25049","nome":"Iseo"},{"code":"017086","cap":"25010","nome":"Isorella"},{"code":"017087","cap":"25074","nome":"Lavenone"},{"code":"017088","cap":"25024","nome":"Leno"},{"code":"017089","cap":"25010","nome":"Limone sul Garda"},{"code":"017090","cap":"25060","nome":"Lodrino"},{"code":"017091","cap":"25030","nome":"Lograto"},{"code":"017092","cap":"25017","nome":"Lonato del Garda"},{"code":"017093","cap":"25030","nome":"Longhena"},{"code":"017094","cap":"25050","nome":"Losine"},{"code":"017095","cap":"25040","nome":"Lozio"},{"code":"017096","cap":"25065","nome":"Lumezzane"},{"code":"017097","cap":"25030","nome":"Maclodio"},{"code":"017098","cap":"25080","nome":"Magasa"},{"code":"017099","cap":"25030","nome":"Mairano"},{"code":"017100","cap":"25053","nome":"Malegno"},{"code":"017101","cap":"25040","nome":"Malonno"},{"code":"017102","cap":"25080","nome":"Manerba del Garda"},{"code":"017103","cap":"25025","nome":"Manerbio"},{"code":"017104","cap":"25060","nome":"Marcheno"},{"code":"017105","cap":"25060","nome":"Marmentino"},{"code":"017106","cap":"25054","nome":"Marone"},{"code":"017107","cap":"25080","nome":"Mazzano"},{"code":"017108","cap":"25020","nome":"Milzano"},{"code":"017109","cap":"25080","nome":"Moniga del Garda"},{"code":"017110","cap":"25040","nome":"Monno"},{"code":"017111","cap":"25050","nome":"Monte Isola"},{"code":"017112","cap":"25040","nome":"Monticelli Brusati"},{"code":"017113","cap":"25018","nome":"Montichiari"},{"code":"017114","cap":"25010","nome":"Montirone"},{"code":"017115","cap":"25070","nome":"Mura"},{"code":"017116","cap":"25080","nome":"Muscoline"},{"code":"017117","cap":"25075","nome":"Nave"},{"code":"017118","cap":"25050","nome":"Niardo"},{"code":"017119","cap":"25080","nome":"Nuvolento"},{"code":"017120","cap":"25080","nome":"Nuvolera"},{"code":"017121","cap":"25076","nome":"Odolo"},{"code":"017122","cap":"25020","nome":"Offlaga"},{"code":"017123","cap":"25050","nome":"Ome"},{"code":"017124","cap":"25040","nome":"Ono San Pietro"},{"code":"017125","cap":"25034","nome":"Orzinuovi"},{"code":"017126","cap":"25030","nome":"Orzivecchi"},{"code":"017127","cap":"25035","nome":"Ospitaletto"},{"code":"017128","cap":"25050","nome":"Ossimo"},{"code":"017129","cap":"25080","nome":"Padenghe sul Garda"},{"code":"017130","cap":"25050","nome":"Paderno Franciacorta"},{"code":"017131","cap":"25050","nome":"Paisco Loveno"},{"code":"017132","cap":"25080","nome":"Paitone"},{"code":"017133","cap":"25036","nome":"Palazzolo sull\'Oglio"},{"code":"017134","cap":"25030","nome":"Paratico"},{"code":"017135","cap":"25050","nome":"Paspardo"},{"code":"017136","cap":"25050","nome":"Passirano"},{"code":"017137","cap":"25020","nome":"Pavone del Mella"},{"code":"017139","cap":"25070","nome":"Pertica Alta"},{"code":"017140","cap":"25078","nome":"Pertica Bassa"},{"code":"017141","cap":"25060","nome":"Pezzaze"},{"code":"017142","cap":"25050","nome":"Pian Camuno"},{"code":"017206","cap":"25052","nome":"Piancogno"},{"code":"017143","cap":"25055","nome":"Pisogne"},{"code":"017144","cap":"25060","nome":"Polaveno"},{"code":"017145","cap":"25080","nome":"Polpenazze del Garda"},{"code":"017146","cap":"25030","nome":"Pompiano"},{"code":"017147","cap":"25020","nome":"Poncarale"},{"code":"017148","cap":"25056","nome":"Ponte di Legno"},{"code":"017149","cap":"25026","nome":"Pontevico"},{"code":"017150","cap":"25037","nome":"Pontoglio"},{"code":"017151","cap":"25010","nome":"Pozzolengo"},{"code":"017152","cap":"25020","nome":"Pralboino"},{"code":"017153","cap":"25070","nome":"Preseglie"},{"code":"017154","cap":"25040","nome":"Prestine"},{"code":"017155","cap":"25080","nome":"Prevalle"},{"code":"017156","cap":"25050","nome":"Provaglio d\'Iseo"},{"code":"017157","cap":"25070","nome":"Provaglio Val Sabbia"},{"code":"017158","cap":"25080","nome":"Puegnago sul Garda"},{"code":"017159","cap":"25027","nome":"Quinzano d\'Oglio"},{"code":"017160","cap":"25010","nome":"Remedello"},{"code":"017161","cap":"25086","nome":"Rezzato"},{"code":"017162","cap":"25030","nome":"Roccafranca"},{"code":"017163","cap":"25050","nome":"Rodengo Saiano"},{"code":"017164","cap":"25077","nome":"Ro\xe8 Volciano"},{"code":"017165","cap":"25030","nome":"Roncadelle"},{"code":"017166","cap":"25038","nome":"Rovato"},{"code":"017167","cap":"25030","nome":"Rudiano"},{"code":"017168","cap":"25070","nome":"Sabbio Chiese"},{"code":"017169","cap":"25057","nome":"Sale Marasino"},{"code":"017170","cap":"25087","nome":"Sal\xf2"},{"code":"017171","cap":"25010","nome":"San Felice del Benaco"},{"code":"017172","cap":"25020","nome":"San Gervasio Bresciano"},{"code":"017138","cap":"25020","nome":"San Paolo"},{"code":"017173","cap":"25010","nome":"San Zeno Naviglio"},{"code":"017174","cap":"25068","nome":"Sarezzo"},{"code":"017175","cap":"25040","nome":"Saviore dell\'Adamello"},{"code":"017176","cap":"25050","nome":"Sellero"},{"code":"017177","cap":"25020","nome":"Seniga"},{"code":"017178","cap":"25080","nome":"Serle"},{"code":"017179","cap":"25019","nome":"Sirmione"},{"code":"017180","cap":"25080","nome":"Soiano del Lago"},{"code":"017181","cap":"25048","nome":"Sonico"},{"code":"017182","cap":"25058","nome":"Sulzano"},{"code":"017183","cap":"25060","nome":"Tavernole sul Mella"},{"code":"017184","cap":"25050","nome":"Tem\xf9"},{"code":"017185","cap":"25080","nome":"Tignale"},{"code":"017186","cap":"25030","nome":"Torbole Casaglia"},{"code":"017187","cap":"25088","nome":"Toscolano-Maderno"},{"code":"017188","cap":"25039","nome":"Travagliato"},{"code":"017189","cap":"25010","nome":"Tremosine"},{"code":"017190","cap":"25030","nome":"Trenzano"},{"code":"017191","cap":"25070","nome":"Treviso Bresciano"},{"code":"017192","cap":"25030","nome":"Urago d\'Oglio"},{"code":"017193","cap":"25080","nome":"Vallio Terme"},{"code":"017194","cap":"25080","nome":"Valvestino"},{"code":"017195","cap":"25028","nome":"Verolanuova"},{"code":"017196","cap":"25029","nome":"Verolavecchia"},{"code":"017197","cap":"25078","nome":"Vestone"},{"code":"017198","cap":"25059","nome":"Vezza d\'Oglio"},{"code":"017199","cap":"25069","nome":"Villa Carcina"},{"code":"017200","cap":"25030","nome":"Villachiara"},{"code":"017201","cap":"25089","nome":"Villanuova sul Clisi"},{"code":"017202","cap":"25050","nome":"Vione"},{"code":"017203","cap":"25010","nome":"Visano"},{"code":"017204","cap":"25079","nome":"Vobarno"},{"code":"017205","cap":"25050","nome":"Zone"}],"nome":"Brescia"},{"code":"CO","comuni":[{"code":"013003","cap":"22031","nome":"Albavilla"},{"code":"013004","cap":"22032","nome":"Albese con Cassano"},{"code":"013005","cap":"22070","nome":"Albiolo"},{"code":"013006","cap":"22040","nome":"Alserio"},{"code":"013007","cap":"22040","nome":"Alzate Brianza"},{"code":"013009","cap":"22040","nome":"Anzano del Parco"},{"code":"013010","cap":"22070","nome":"Appiano Gentile"},{"code":"013011","cap":"22010","nome":"Argegno"},{"code":"013012","cap":"22060","nome":"Arosio"},{"code":"013013","cap":"22033","nome":"Asso"},{"code":"013015","cap":"22030","nome":"Barni"},{"code":"013019","cap":"22021","nome":"Bellagio"},{"code":"013021","cap":"22010","nome":"Bene Lario"},{"code":"013022","cap":"22070","nome":"Beregazzo con Figliaro"},{"code":"013023","cap":"22070","nome":"Binago"},{"code":"013024","cap":"22020","nome":"Bizzarone"},{"code":"013025","cap":"22028","nome":"Blessagno"},{"code":"013026","cap":"22020","nome":"Blevio"},{"code":"013028","cap":"22070","nome":"Bregnano"},{"code":"013029","cap":"22040","nome":"Brenna"},{"code":"013030","cap":"22010","nome":"Brienno"},{"code":"013032","cap":"22034","nome":"Brunate"},{"code":"013034","cap":"22070","nome":"Bulgarograsso"},{"code":"013035","cap":"22060","nome":"Cabiate"},{"code":"013036","cap":"22071","nome":"Cadorago"},{"code":"013037","cap":"22030","nome":"Caglio"},{"code":"013038","cap":"22070","nome":"Cagno"},{"code":"013040","cap":"22060","nome":"Campione d\'Italia"},{"code":"013041","cap":"22063","nome":"Cant\xf9"},{"code":"013042","cap":"22035","nome":"Canzo"},{"code":"013043","cap":"22070","nome":"Capiago Intimiano"},{"code":"013044","cap":"22010","nome":"Carate Urio"},{"code":"013045","cap":"22070","nome":"Carbonate"},{"code":"013046","cap":"22060","nome":"Carimate"},{"code":"013047","cap":"22010","nome":"Carlazzo"},{"code":"013048","cap":"22060","nome":"Carugo"},{"code":"013050","cap":"22022","nome":"Casasco d\'Intelvi"},{"code":"013052","cap":"22030","nome":"Caslino d\'Erba"},{"code":"013053","cap":"22070","nome":"Casnate con Bernate"},{"code":"013055","cap":"22070","nome":"Cassina Rizzardi"},{"code":"013058","cap":"22030","nome":"Castelmarte"},{"code":"013059","cap":"22070","nome":"Castelnuovo Bozzente"},{"code":"013060","cap":"22023","nome":"Castiglione d\'Intelvi"},{"code":"013061","cap":"22020","nome":"Cavallasca"},{"code":"013062","cap":"22010","nome":"Cavargna"},{"code":"013063","cap":"22020","nome":"Cerano d\'Intelvi"},{"code":"013064","cap":"22072","nome":"Cermenate"},{"code":"013065","cap":"22012","nome":"Cernobbio"},{"code":"013068","cap":"22070","nome":"Cirimido"},{"code":"013070","cap":"22030","nome":"Civenna"},{"code":"013071","cap":"22010","nome":"Claino con Osteno"},{"code":"013074","cap":"22010","nome":"Colonno"},{"code":"013075","cap":"22100","nome":"Como"},{"code":"013077","cap":"22010","nome":"Corrido"},{"code":"013083","cap":"22010","nome":"Cremia"},{"code":"013084","cap":"22060","nome":"Cucciago"},{"code":"013085","cap":"22010","nome":"Cusino"},{"code":"013087","cap":"22020","nome":"Dizzasco"},{"code":"013089","cap":"22013","nome":"Domaso"},{"code":"013090","cap":"22014","nome":"Dongo"},{"code":"013092","cap":"22010","nome":"Dosso del Liro"},{"code":"013093","cap":"22020","nome":"Drezzo"},{"code":"013095","cap":"22036","nome":"Erba"},{"code":"013097","cap":"22030","nome":"Eupilio"},{"code":"013098","cap":"22020","nome":"Faggeto Lario"},{"code":"013099","cap":"22020","nome":"Faloppio"},{"code":"013100","cap":"22070","nome":"Fenegr\xf2"},{"code":"013101","cap":"22060","nome":"Figino Serenza"},{"code":"013102","cap":"22073","nome":"Fino Mornasco"},{"code":"013106","cap":"22010","nome":"Garzeno"},{"code":"013107","cap":"22010","nome":"Gera Lario"},{"code":"013109","cap":"22020","nome":"Gironico"},{"code":"013110","cap":"22070","nome":"Grandate"},{"code":"013111","cap":"22010","nome":"Grandola ed Uniti"},{"code":"013249","cap":"22015","nome":"Gravedona ed Uniti"},{"code":"013113","cap":"22011","nome":"Griante"},{"code":"013114","cap":"22070","nome":"Guanzate"},{"code":"013118","cap":"22044","nome":"Inverigo"},{"code":"013119","cap":"22010","nome":"Laglio"},{"code":"013120","cap":"22020","nome":"Laino"},{"code":"013121","cap":"22045","nome":"Lambrugo"},{"code":"013122","cap":"22024","nome":"Lanzo d\'Intelvi"},{"code":"013123","cap":"22030","nome":"Lasnigo"},{"code":"013125","cap":"22016","nome":"Lenno"},{"code":"013126","cap":"22025","nome":"Lezzeno"},{"code":"013128","cap":"22070","nome":"Limido Comasco"},{"code":"013129","cap":"22030","nome":"Lipomo"},{"code":"013130","cap":"22010","nome":"Livo"},{"code":"013131","cap":"22070","nome":"Locate Varesino"},{"code":"013133","cap":"22074","nome":"Lomazzo"},{"code":"013134","cap":"22030","nome":"Longone al Segrino"},{"code":"013135","cap":"22070","nome":"Luisago"},{"code":"013136","cap":"22040","nome":"Lurago d\'Erba"},{"code":"013137","cap":"22070","nome":"Lurago Marinone"},{"code":"013138","cap":"22075","nome":"Lurate Caccivio"},{"code":"013139","cap":"22030","nome":"Magreglio"},{"code":"013143","cap":"22066","nome":"Mariano Comense"},{"code":"013144","cap":"22026","nome":"Maslianico"},{"code":"013145","cap":"22017","nome":"Menaggio"},{"code":"013147","cap":"22046","nome":"Merone"},{"code":"013148","cap":"22010","nome":"Mezzegra"},{"code":"013152","cap":"22010","nome":"Moltrasio"},{"code":"013153","cap":"22040","nome":"Monguzzo"},{"code":"013154","cap":"22070","nome":"Montano Lucino"},{"code":"013155","cap":"22010","nome":"Montemezzo"},{"code":"013157","cap":"22030","nome":"Montorfano"},{"code":"013159","cap":"22076","nome":"Mozzate"},{"code":"013160","cap":"22010","nome":"Musso"},{"code":"013161","cap":"22020","nome":"Nesso"},{"code":"013163","cap":"22060","nome":"Novedrate"},{"code":"013165","cap":"22077","nome":"Olgiate Comasco"},{"code":"013169","cap":"22070","nome":"Oltrona di San Mamette"},{"code":"013170","cap":"22030","nome":"Orsenigo"},{"code":"013172","cap":"22010","nome":"Ossuccio"},{"code":"013175","cap":"22020","nome":"Par\xe8"},{"code":"013178","cap":"22010","nome":"Peglio"},{"code":"013179","cap":"22020","nome":"Pellio Intelvi"},{"code":"013183","cap":"22010","nome":"Pianello del Lario"},{"code":"013184","cap":"22020","nome":"Pigra"},{"code":"013185","cap":"22010","nome":"Plesio"},{"code":"013186","cap":"22020","nome":"Pognana Lario"},{"code":"013187","cap":"22020","nome":"Ponna"},{"code":"013188","cap":"22037","nome":"Ponte Lambro"},{"code":"013189","cap":"22018","nome":"Porlezza"},{"code":"013192","cap":"22030","nome":"Proserpio"},{"code":"013193","cap":"22030","nome":"Pusiano"},{"code":"013194","cap":"22020","nome":"Ramponio Verna"},{"code":"013195","cap":"22030","nome":"Rezzago"},{"code":"013197","cap":"22070","nome":"Rodero"},{"code":"013199","cap":"22027","nome":"Ronago"},{"code":"013201","cap":"22069","nome":"Rovellasca"},{"code":"013202","cap":"22070","nome":"Rovello Porro"},{"code":"013203","cap":"22010","nome":"Sala Comacina"},{"code":"013204","cap":"22010","nome":"San Bartolomeo Val Cavargna"},{"code":"013205","cap":"22028","nome":"San Fedele Intelvi"},{"code":"013206","cap":"22020","nome":"San Fermo della Battaglia"},{"code":"013207","cap":"22010","nome":"San Nazzaro Val Cavargna"},{"code":"013248","cap":"22010","nome":"San Siro"},{"code":"013211","cap":"22020","nome":"Schignano"},{"code":"013212","cap":"22070","nome":"Senna Comasco"},{"code":"013215","cap":"22070","nome":"Solbiate"},{"code":"013216","cap":"22010","nome":"Sorico"},{"code":"013217","cap":"22030","nome":"Sormano"},{"code":"013218","cap":"22010","nome":"Stazzona"},{"code":"013222","cap":"22038","nome":"Tavernerio"},{"code":"013223","cap":"22020","nome":"Torno"},{"code":"013225","cap":"22019","nome":"Tremezzo"},{"code":"013226","cap":"22010","nome":"Trezzone"},{"code":"013227","cap":"22078","nome":"Turate"},{"code":"013228","cap":"22029","nome":"Uggiate-Trevano"},{"code":"013233","cap":"22010","nome":"Val Rezzo"},{"code":"013229","cap":"22039","nome":"Valbrona"},{"code":"013232","cap":"22070","nome":"Valmorea"},{"code":"013234","cap":"22010","nome":"Valsolda"},{"code":"013236","cap":"22020","nome":"Veleso"},{"code":"013238","cap":"22070","nome":"Veniano"},{"code":"013239","cap":"22013","nome":"Vercana"},{"code":"013242","cap":"22070","nome":"Vertemate con Minoprio"},{"code":"013245","cap":"22079","nome":"Villa Guardia"},{"code":"013246","cap":"22020","nome":"Zelbio"}],"nome":"Como"},{"code":"CR","comuni":[{"code":"019001","cap":"26020","nome":"Acquanegra Cremonese"},{"code":"019002","cap":"26020","nome":"Agnadello"},{"code":"019003","cap":"26021","nome":"Annicco"},{"code":"019004","cap":"26010","nome":"Azzanello"},{"code":"019005","cap":"26010","nome":"Bagnolo Cremasco"},{"code":"019006","cap":"26040","nome":"Bonemerse"},{"code":"019007","cap":"26020","nome":"Bordolano"},{"code":"019008","cap":"26030","nome":"Ca\' d\'Andrea"},{"code":"019009","cap":"26030","nome":"Calvatone"},{"code":"019010","cap":"26010","nome":"Camisano"},{"code":"019011","cap":"26010","nome":"Campagnola Cremasca"},{"code":"019012","cap":"26010","nome":"Capergnanica"},{"code":"019013","cap":"26020","nome":"Cappella Cantone"},{"code":"019014","cap":"26030","nome":"Cappella de\' Picenardi"},{"code":"019015","cap":"26010","nome":"Capralba"},{"code":"019016","cap":"26011","nome":"Casalbuttano ed Uniti"},{"code":"019017","cap":"26010","nome":"Casale Cremasco-Vidolasco"},{"code":"019018","cap":"26010","nome":"Casaletto Ceredano"},{"code":"019019","cap":"26014","nome":"Casaletto di Sopra"},{"code":"019020","cap":"26010","nome":"Casaletto Vaprio"},{"code":"019021","cap":"26041","nome":"Casalmaggiore"},{"code":"019022","cap":"26020","nome":"Casalmorano"},{"code":"019024","cap":"26010","nome":"Castel Gabbiano"},{"code":"019023","cap":"26030","nome":"Casteldidone"},{"code":"019025","cap":"26012","nome":"Castelleone"},{"code":"019026","cap":"26022","nome":"Castelverde"},{"code":"019027","cap":"26010","nome":"Castelvisconti"},{"code":"019028","cap":"26040","nome":"Cella Dati"},{"code":"019029","cap":"26010","nome":"Chieve"},{"code":"019030","cap":"26030","nome":"Cicognolo"},{"code":"019031","cap":"26042","nome":"Cingia de\' Botti"},{"code":"019032","cap":"26020","nome":"Corte de\' Cortesi con Cignone"},{"code":"019033","cap":"26010","nome":"Corte de\' Frati"},{"code":"019034","cap":"26010","nome":"Credera Rubbiano"},{"code":"019035","cap":"26013","nome":"Crema"},{"code":"019036","cap":"26100","nome":"Cremona"},{"code":"019037","cap":"26010","nome":"Cremosano"},{"code":"019038","cap":"26020","nome":"Crotta d\'Adda"},{"code":"019039","cap":"26020","nome":"Cumignano sul Naviglio"},{"code":"019040","cap":"26040","nome":"Derovere"},{"code":"019041","cap":"26010","nome":"Dovera"},{"code":"019042","cap":"26034","nome":"Drizzona"},{"code":"019043","cap":"26010","nome":"Fiesco"},{"code":"019044","cap":"26020","nome":"Formigara"},{"code":"019045","cap":"26030","nome":"Gabbioneta-Binanuova"},{"code":"019046","cap":"26030","nome":"Gadesco-Pieve Delmona"},{"code":"019047","cap":"26020","nome":"Genivolta"},{"code":"019048","cap":"26040","nome":"Gerre de\' Caprioli"},{"code":"019049","cap":"26020","nome":"Gombito"},{"code":"019050","cap":"26044","nome":"Grontardo"},{"code":"019051","cap":"26023","nome":"Grumello Cremonese ed Uniti"},{"code":"019052","cap":"26040","nome":"Gussola"},{"code":"019053","cap":"26031","nome":"Isola Dovarese"},{"code":"019054","cap":"26010","nome":"Izano"},{"code":"019055","cap":"26020","nome":"Madignano"},{"code":"019056","cap":"26030","nome":"Malagnino"},{"code":"019057","cap":"26040","nome":"Martignana di Po"},{"code":"019058","cap":"26010","nome":"Monte Cremasco"},{"code":"019059","cap":"26010","nome":"Montodine"},{"code":"019060","cap":"26010","nome":"Moscazzano"},{"code":"019061","cap":"26045","nome":"Motta Baluffi"},{"code":"019062","cap":"26010","nome":"Offanengo"},{"code":"019063","cap":"26010","nome":"Olmeneta"},{"code":"019064","cap":"26032","nome":"Ostiano"},{"code":"019065","cap":"26024","nome":"Paderno Ponchielli"},{"code":"019066","cap":"26020","nome":"Palazzo Pignano"},{"code":"019067","cap":"26025","nome":"Pandino"},{"code":"019068","cap":"26043","nome":"Persico Dosimo"},{"code":"019069","cap":"26033","nome":"Pescarolo ed Uniti"},{"code":"019070","cap":"26030","nome":"Pessina Cremonese"},{"code":"019071","cap":"26034","nome":"Piadena"},{"code":"019072","cap":"26010","nome":"Pianengo"},{"code":"019073","cap":"26017","nome":"Pieranica"},{"code":"019074","cap":"26040","nome":"Pieve d\'Olmi"},{"code":"019075","cap":"26035","nome":"Pieve San Giacomo"},{"code":"019076","cap":"26026","nome":"Pizzighettone"},{"code":"019077","cap":"26010","nome":"Pozzaglio ed Uniti"},{"code":"019078","cap":"26017","nome":"Quintano"},{"code":"019079","cap":"26010","nome":"Ricengo"},{"code":"019080","cap":"26010","nome":"Ripalta Arpina"},{"code":"019081","cap":"26010","nome":"Ripalta Cremasca"},{"code":"019082","cap":"26010","nome":"Ripalta Guerina"},{"code":"019083","cap":"26036","nome":"Rivarolo del Re ed Uniti"},{"code":"019084","cap":"26027","nome":"Rivolta d\'Adda"},{"code":"019085","cap":"26010","nome":"Robecco d\'Oglio"},{"code":"019086","cap":"26014","nome":"Romanengo"},{"code":"019087","cap":"26010","nome":"Salvirola"},{"code":"019088","cap":"26020","nome":"San Bassano"},{"code":"019089","cap":"26046","nome":"San Daniele Po"},{"code":"019090","cap":"26037","nome":"San Giovanni in Croce"},{"code":"019091","cap":"26040","nome":"San Martino del Lago"},{"code":"019092","cap":"26040","nome":"Scandolara Ravara"},{"code":"019093","cap":"26047","nome":"Scandolara Ripa d\'Oglio"},{"code":"019094","cap":"26010","nome":"Sergnano"},{"code":"019095","cap":"26028","nome":"Sesto ed Uniti"},{"code":"019096","cap":"26030","nome":"Solarolo Rainerio"},{"code":"019097","cap":"26029","nome":"Soncino"},{"code":"019098","cap":"26015","nome":"Soresina"},{"code":"019099","cap":"26048","nome":"Sospiro"},{"code":"019100","cap":"26020","nome":"Spinadesco"},{"code":"019101","cap":"26030","nome":"Spineda"},{"code":"019102","cap":"26016","nome":"Spino d\'Adda"},{"code":"019103","cap":"26049","nome":"Stagno Lombardo"},{"code":"019104","cap":"26020","nome":"Ticengo"},{"code":"019105","cap":"26017","nome":"Torlino Vimercati"},{"code":"019106","cap":"26030","nome":"Tornata"},{"code":"019107","cap":"26038","nome":"Torre de\' Picenardi"},{"code":"019108","cap":"26040","nome":"Torricella del Pizzo"},{"code":"019109","cap":"26017","nome":"Trescore Cremasco"},{"code":"019110","cap":"26018","nome":"Trigolo"},{"code":"019111","cap":"26010","nome":"Vaiano Cremasco"},{"code":"019112","cap":"26019","nome":"Vailate"},{"code":"019113","cap":"26039","nome":"Vescovato"},{"code":"019114","cap":"26030","nome":"Volongo"},{"code":"019115","cap":"26030","nome":"Voltido"}],"nome":"Cremona"},{"code":"LC","comuni":[{"code":"097001","cap":"23821","nome":"Abbadia Lariana"},{"code":"097002","cap":"23881","nome":"Airuno"},{"code":"097003","cap":"23841","nome":"Annone di Brianza"},{"code":"097004","cap":"23811","nome":"Ballabio"},{"code":"097005","cap":"23890","nome":"Barzago"},{"code":"097006","cap":"23891","nome":"Barzan\xf2"},{"code":"097007","cap":"23816","nome":"Barzio"},{"code":"097008","cap":"23822","nome":"Bellano"},{"code":"097009","cap":"23842","nome":"Bosisio Parini"},{"code":"097010","cap":"23883","nome":"Brivio"},{"code":"097011","cap":"23892","nome":"Bulciago"},{"code":"097012","cap":"23885","nome":"Calco"},{"code":"097013","cap":"23801","nome":"Calolziocorte"},{"code":"097014","cap":"23802","nome":"Carenno"},{"code":"097015","cap":"23831","nome":"Casargo"},{"code":"097016","cap":"23880","nome":"Casatenovo"},{"code":"097017","cap":"23893","nome":"Cassago Brianza"},{"code":"097018","cap":"23817","nome":"Cassina Valsassina"},{"code":"097019","cap":"23884","nome":"Castello di Brianza"},{"code":"097020","cap":"23870","nome":"Cernusco Lombardone"},{"code":"097021","cap":"23861","nome":"Cesana Brianza"},{"code":"097022","cap":"23862","nome":"Civate"},{"code":"097023","cap":"23823","nome":"Colico"},{"code":"097024","cap":"23886","nome":"Colle Brianza"},{"code":"097025","cap":"23813","nome":"Cortenova"},{"code":"097026","cap":"23845","nome":"Costa Masnaga"},{"code":"097027","cap":"23832","nome":"Crandola Valsassina"},{"code":"097028","cap":"23894","nome":"Cremella"},{"code":"097029","cap":"23814","nome":"Cremeno"},{"code":"097030","cap":"23824","nome":"Dervio"},{"code":"097031","cap":"23843","nome":"Dolzago"},{"code":"097032","cap":"23824","nome":"Dorio"},{"code":"097033","cap":"23848","nome":"Ello"},{"code":"097034","cap":"23805","nome":"Erve"},{"code":"097035","cap":"23825","nome":"Esino Lario"},{"code":"097036","cap":"23851","nome":"Galbiate"},{"code":"097037","cap":"23846","nome":"Garbagnate Monastero"},{"code":"097038","cap":"23852","nome":"Garlate"},{"code":"097039","cap":"23898","nome":"Imbersago"},{"code":"097040","cap":"23815","nome":"Introbio"},{"code":"097041","cap":"23835","nome":"Introzzo"},{"code":"097042","cap":"23900","nome":"Lecco"},{"code":"097043","cap":"23827","nome":"Lierna"},{"code":"097044","cap":"23871","nome":"Lomagna"},{"code":"097045","cap":"23864","nome":"Malgrate"},{"code":"097046","cap":"23826","nome":"Mandello del Lario"},{"code":"097047","cap":"23832","nome":"Margno"},{"code":"097048","cap":"23807","nome":"Merate"},{"code":"097049","cap":"23873","nome":"Missaglia"},{"code":"097050","cap":"23817","nome":"Moggio"},{"code":"097051","cap":"23847","nome":"Molteno"},{"code":"097052","cap":"23804","nome":"Monte Marenzo"},{"code":"097053","cap":"23874","nome":"Montevecchia"},{"code":"097054","cap":"23876","nome":"Monticello Brianza"},{"code":"097055","cap":"23811","nome":"Morterone"},{"code":"097056","cap":"23895","nome":"Nibionno"},{"code":"097057","cap":"23848","nome":"Oggiono"},{"code":"097058","cap":"23887","nome":"Olgiate Molgora"},{"code":"097059","cap":"23854","nome":"Olginate"},{"code":"097060","cap":"23865","nome":"Oliveto Lario"},{"code":"097061","cap":"23875","nome":"Osnago"},{"code":"097062","cap":"23877","nome":"Paderno d\'Adda"},{"code":"097063","cap":"23833","nome":"Pagnona"},{"code":"097064","cap":"23837","nome":"Parlasco"},{"code":"097065","cap":"23818","nome":"Pasturo"},{"code":"097066","cap":"23888","nome":"La Valletta Brianza"},{"code":"097067","cap":"23828","nome":"Perledo"},{"code":"097068","cap":"23855","nome":"Pescate"},{"code":"097069","cap":"23834","nome":"Premana"},{"code":"097070","cap":"23819","nome":"Primaluna"},{"code":"097071","cap":"23899","nome":"Robbiate"},{"code":"097072","cap":"23849","nome":"Rogeno"},{"code":"097074","cap":"23889","nome":"Santa Maria Ho\xe8"},{"code":"097075","cap":"23844","nome":"Sirone"},{"code":"097076","cap":"23896","nome":"Sirtori"},{"code":"097077","cap":"23835","nome":"Sueglio"},{"code":"097078","cap":"23867","nome":"Suello"},{"code":"097079","cap":"23837","nome":"Taceno"},{"code":"097080","cap":"23806","nome":"Torre de\' Busi"},{"code":"097081","cap":"23836","nome":"Tremenico"},{"code":"097082","cap":"23857","nome":"Valgreghentino"},{"code":"097083","cap":"23868","nome":"Valmadrera"},{"code":"097084","cap":"23829","nome":"Varenna"},{"code":"097085","cap":"23838","nome":"Vendrogno"},{"code":"097086","cap":"23808","nome":"Vercurago"},{"code":"097087","cap":"23879","nome":"Verderio Inferiore"},{"code":"097088","cap":"23878","nome":"Verderio Superiore"},{"code":"097089","cap":"23822","nome":"Vestreno"},{"code":"097090","cap":"23897","nome":"Vigan\xf2"}],"nome":"Lecco"},{"code":"LO","comuni":[{"code":"098001","cap":"26834","nome":"Abbadia Cerreto"},{"code":"098002","cap":"26821","nome":"Bertonico"},{"code":"098003","cap":"26811","nome":"Boffalora d\'Adda"},{"code":"098004","cap":"26812","nome":"Borghetto Lodigiano"},{"code":"098005","cap":"26851","nome":"Borgo San Giovanni"},{"code":"098006","cap":"26822","nome":"Brembio"},{"code":"098007","cap":"26823","nome":"Camairago"},{"code":"098008","cap":"26852","nome":"Casaletto Lodigiano"},{"code":"098009","cap":"26831","nome":"Casalmaiocco"},{"code":"098010","cap":"26841","nome":"Casalpusterlengo"},{"code":"098011","cap":"26842","nome":"Caselle Landi"},{"code":"098012","cap":"26853","nome":"Caselle Lurani"},{"code":"098013","cap":"26843","nome":"Castelnuovo Bocca d\'Adda"},{"code":"098014","cap":"26823","nome":"Castiglione d\'Adda"},{"code":"098015","cap":"26866","nome":"Castiraga Vidardo"},{"code":"098016","cap":"26844","nome":"Cavacurta"},{"code":"098017","cap":"26824","nome":"Cavenago d\'Adda"},{"code":"098018","cap":"26832","nome":"Cervignano d\'Adda"},{"code":"098019","cap":"26845","nome":"Codogno"},{"code":"098020","cap":"26833","nome":"Comazzo"},{"code":"098021","cap":"26854","nome":"Cornegliano Laudense"},{"code":"098022","cap":"26846","nome":"Corno Giovine"},{"code":"098023","cap":"26842","nome":"Cornovecchio"},{"code":"098024","cap":"26834","nome":"Corte Palasio"},{"code":"098025","cap":"26835","nome":"Crespiatica"},{"code":"098026","cap":"26861","nome":"Fombio"},{"code":"098027","cap":"26832","nome":"Galgagnano"},{"code":"098028","cap":"26813","nome":"Graffignana"},{"code":"098029","cap":"26862","nome":"Guardamiglio"},{"code":"098030","cap":"26814","nome":"Livraga"},{"code":"098031","cap":"26900","nome":"Lodi"},{"code":"098032","cap":"26855","nome":"Lodi Vecchio"},{"code":"098033","cap":"26843","nome":"Maccastorna"},{"code":"098034","cap":"26825","nome":"Mairago"},{"code":"098035","cap":"26847","nome":"Maleo"},{"code":"098036","cap":"26866","nome":"Marudo"},{"code":"098037","cap":"26815","nome":"Massalengo"},{"code":"098038","cap":"26843","nome":"Meleti"},{"code":"098039","cap":"26833","nome":"Merlino"},{"code":"098040","cap":"26836","nome":"Montanaso Lombardo"},{"code":"098041","cap":"26837","nome":"Mulazzano"},{"code":"098042","cap":"26863","nome":"Orio Litta"},{"code":"098043","cap":"26864","nome":"Ospedaletto Lodigiano"},{"code":"098044","cap":"26816","nome":"Ossago Lodigiano"},{"code":"098045","cap":"26854","nome":"Pieve Fissiraga"},{"code":"098046","cap":"26857","nome":"Salerano sul Lambro"},{"code":"098047","cap":"26848","nome":"San Fiorano"},{"code":"098048","cap":"26817","nome":"San Martino in Strada"},{"code":"098049","cap":"26865","nome":"San Rocco al Porto"},{"code":"098050","cap":"26866","nome":"Sant\'Angelo Lodigiano"},{"code":"098051","cap":"26849","nome":"Santo Stefano Lodigiano"},{"code":"098052","cap":"26826","nome":"Secugnago"},{"code":"098053","cap":"26856","nome":"Senna Lodigiana"},{"code":"098054","cap":"26867","nome":"Somaglia"},{"code":"098055","cap":"26858","nome":"Sordio"},{"code":"098056","cap":"26838","nome":"Tavazzano con Villavesco"},{"code":"098057","cap":"26827","nome":"Terranova dei Passerini"},{"code":"098058","cap":"26828","nome":"Turano Lodigiano"},{"code":"098059","cap":"26859","nome":"Valera Fratta"},{"code":"098060","cap":"26818","nome":"Villanova del Sillaro"},{"code":"098061","cap":"26839","nome":"Zelo Buon Persico"}],"nome":"Lodi"},{"code":"MN","comuni":[{"code":"020001","cap":"46011","nome":"Acquanegra sul Chiese"},{"code":"020002","cap":"46041","nome":"Asola"},{"code":"020003","cap":"46031","nome":"Bagnolo San Vito"},{"code":"020004","cap":"46030","nome":"Bigarello"},{"code":"020005","cap":"46030","nome":"Borgoforte"},{"code":"020006","cap":"46020","nome":"Borgofranco sul Po"},{"code":"020007","cap":"46012","nome":"Bozzolo"},{"code":"020008","cap":"46013","nome":"Canneto sull\'Oglio"},{"code":"020009","cap":"46020","nome":"Carbonara di Po"},{"code":"020010","cap":"46040","nome":"Casalmoro"},{"code":"020011","cap":"46040","nome":"Casaloldo"},{"code":"020012","cap":"46040","nome":"Casalromano"},{"code":"020014","cap":"46033","nome":"Castel d\'Ario"},{"code":"020015","cap":"46042","nome":"Castel Goffredo"},{"code":"020013","cap":"46032","nome":"Castelbelforte"},{"code":"020016","cap":"46014","nome":"Castellucchio"},{"code":"020017","cap":"46043","nome":"Castiglione delle Stiviere"},{"code":"020018","cap":"46040","nome":"Cavriana"},{"code":"020019","cap":"46040","nome":"Ceresara"},{"code":"020020","cap":"46010","nome":"Commessaggio"},{"code":"020021","cap":"46010","nome":"Curtatone"},{"code":"020022","cap":"46030","nome":"Dosolo"},{"code":"020023","cap":"46022","nome":"Felonica"},{"code":"020024","cap":"46040","nome":"Gazoldo degli Ippoliti"},{"code":"020025","cap":"46010","nome":"Gazzuolo"},{"code":"020026","cap":"46044","nome":"Goito"},{"code":"020027","cap":"46023","nome":"Gonzaga"},{"code":"020028","cap":"46040","nome":"Guidizzolo"},{"code":"020029","cap":"46020","nome":"Magnacavallo"},{"code":"020030","cap":"46100","nome":"Mantova"},{"code":"020031","cap":"46010","nome":"Marcaria"},{"code":"020032","cap":"46010","nome":"Mariana Mantovana"},{"code":"020033","cap":"46045","nome":"Marmirolo"},{"code":"020034","cap":"46046","nome":"Medole"},{"code":"020035","cap":"46024","nome":"Moglia"},{"code":"020036","cap":"46040","nome":"Monzambano"},{"code":"020037","cap":"46020","nome":"Motteggiana"},{"code":"020038","cap":"46035","nome":"Ostiglia"},{"code":"020039","cap":"46020","nome":"Pegognaga"},{"code":"020040","cap":"46020","nome":"Pieve di Coriano"},{"code":"020041","cap":"46040","nome":"Piubega"},{"code":"020042","cap":"46025","nome":"Poggio Rusco"},{"code":"020043","cap":"46030","nome":"Pomponesco"},{"code":"020044","cap":"46040","nome":"Ponti sul Mincio"},{"code":"020045","cap":"46047","nome":"Porto Mantovano"},{"code":"020046","cap":"46020","nome":"Quingentole"},{"code":"020047","cap":"46026","nome":"Quistello"},{"code":"020048","cap":"46010","nome":"Redondesco"},{"code":"020049","cap":"46036","nome":"Revere"},{"code":"020050","cap":"46017","nome":"Rivarolo Mantovano"},{"code":"020051","cap":"46040","nome":"Rodigo"},{"code":"020052","cap":"46037","nome":"Roncoferraro"},{"code":"020053","cap":"46048","nome":"Roverbella"},{"code":"020054","cap":"46018","nome":"Sabbioneta"},{"code":"020055","cap":"46027","nome":"San Benedetto Po"},{"code":"020056","cap":"46020","nome":"San Giacomo delle Segnate"},{"code":"020057","cap":"46030","nome":"San Giorgio di Mantova"},{"code":"020058","cap":"46020","nome":"San Giovanni del Dosso"},{"code":"020059","cap":"46010","nome":"San Martino dall\'Argine"},{"code":"020060","cap":"46020","nome":"Schivenoglia"},{"code":"020061","cap":"46028","nome":"Sermide"},{"code":"020062","cap":"46030","nome":"Serravalle a Po"},{"code":"020063","cap":"46040","nome":"Solferino"},{"code":"020064","cap":"46030","nome":"Sustinente"},{"code":"020065","cap":"46029","nome":"Suzzara"},{"code":"020066","cap":"46019","nome":"Viadana"},{"code":"020067","cap":"46020","nome":"Villa Poma"},{"code":"020068","cap":"46039","nome":"Villimpenta"},{"code":"020069","cap":"46030","nome":"Virgilio"},{"code":"020070","cap":"46049","nome":"Volta Mantovana"}],"nome":"Mantova"},{"code":"MI","comuni":[{"code":"015002","cap":"20081","nome":"Abbiategrasso"},{"code":"015005","cap":"20080","nome":"Albairate"},{"code":"015007","cap":"20020","nome":"Arconate"},{"code":"015009","cap":"20020","nome":"Arese"},{"code":"015010","cap":"20010","nome":"Arluno"},{"code":"015011","cap":"20090","nome":"Assago"},{"code":"015250","cap":"20021","nome":"Baranzate"},{"code":"015012","cap":"20010","nome":"Bareggio"},{"code":"015014","cap":"20060","nome":"Basiano"},{"code":"015015","cap":"20080","nome":"Basiglio"},{"code":"015016","cap":"20060","nome":"Bellinzago Lombardo"},{"code":"015019","cap":"20010","nome":"Bernate Ticino"},{"code":"015022","cap":"20080","nome":"Besate"},{"code":"015024","cap":"20082","nome":"Binasco"},{"code":"015026","cap":"20010","nome":"Boffalora Sopra Ticino"},{"code":"015027","cap":"20021","nome":"Bollate"},{"code":"015032","cap":"20091","nome":"Bresso"},{"code":"015035","cap":"20080","nome":"Bubbiano"},{"code":"015036","cap":"20090","nome":"Buccinasco"},{"code":"015038","cap":"20010","nome":"Buscate"},{"code":"015040","cap":"20060","nome":"Bussero"},{"code":"015041","cap":"20020","nome":"Busto Garolfo"},{"code":"015042","cap":"20080","nome":"Calvignasco"},{"code":"015044","cap":"20040","nome":"Cambiago"},{"code":"015046","cap":"20010","nome":"Canegrate"},{"code":"015050","cap":"20080","nome":"Carpiano"},{"code":"015051","cap":"20061","nome":"Carugate"},{"code":"015055","cap":"20080","nome":"Casarile"},{"code":"015058","cap":"20010","nome":"Casorezzo"},{"code":"015059","cap":"20062","nome":"Cassano d\'Adda"},{"code":"015060","cap":"20060","nome":"Cassina de\' Pecchi"},{"code":"015061","cap":"20081","nome":"Cassinetta di Lugagnano"},{"code":"015062","cap":"20022","nome":"Castano Primo"},{"code":"015070","cap":"20063","nome":"Cernusco sul Naviglio"},{"code":"015071","cap":"20070","nome":"Cerro al Lambro"},{"code":"015072","cap":"20023","nome":"Cerro Maggiore"},{"code":"015074","cap":"20090","nome":"Cesano Boscone"},{"code":"015076","cap":"20020","nome":"Cesate"},{"code":"015077","cap":"20092","nome":"Cinisello Balsamo"},{"code":"015078","cap":"20080","nome":"Cisliano"},{"code":"015081","cap":"20093","nome":"Cologno Monzese"},{"code":"015082","cap":"20060","nome":"Colturano"},{"code":"015085","cap":"20011","nome":"Corbetta"},{"code":"015086","cap":"20032","nome":"Cormano"},{"code":"015087","cap":"20010","nome":"Cornaredo"},{"code":"015093","cap":"20094","nome":"Corsico"},{"code":"015096","cap":"20012","nome":"Cuggiono"},{"code":"015097","cap":"20090","nome":"Cusago"},{"code":"015098","cap":"20095","nome":"Cusano Milanino"},{"code":"015099","cap":"20020","nome":"Dairago"},{"code":"015101","cap":"20070","nome":"Dresano"},{"code":"015103","cap":"20083","nome":"Gaggiano"},{"code":"015105","cap":"20024","nome":"Garbagnate Milanese"},{"code":"015106","cap":"20060","nome":"Gessate"},{"code":"015108","cap":"20064","nome":"Gorgonzola"},{"code":"015110","cap":"20056","nome":"Grezzago"},{"code":"015112","cap":"20088","nome":"Gudo Visconti"},{"code":"015113","cap":"20010","nome":"Inveruno"},{"code":"015114","cap":"20065","nome":"Inzago"},{"code":"015115","cap":"20084","nome":"Lacchiarella"},{"code":"015116","cap":"20020","nome":"Lainate"},{"code":"015118","cap":"20025","nome":"Legnano"},{"code":"015122","cap":"20060","nome":"Liscate"},{"code":"015125","cap":"20085","nome":"Locate di Triulzi"},{"code":"015130","cap":"20013","nome":"Magenta"},{"code":"015131","cap":"20020","nome":"Magnago"},{"code":"015134","cap":"20010","nome":"Marcallo con Casone"},{"code":"015136","cap":"20060","nome":"Masate"},{"code":"015139","cap":"20060","nome":"Mediglia"},{"code":"015140","cap":"20077","nome":"Melegnano"},{"code":"015142","cap":"20066","nome":"Melzo"},{"code":"015144","cap":"20010","nome":"Mesero"},{"code":"015146","cap":"201xx","nome":"Milano"},{"code":"015150","cap":"20081","nome":"Morimondo"},{"code":"015151","cap":"20086","nome":"Motta Visconti"},{"code":"015154","cap":"20014","nome":"Nerviano"},{"code":"015155","cap":"20020","nome":"Nosate"},{"code":"015157","cap":"20026","nome":"Novate Milanese"},{"code":"015158","cap":"20082","nome":"Noviglio"},{"code":"015159","cap":"20090","nome":"Opera"},{"code":"015164","cap":"20010","nome":"Ossona"},{"code":"015165","cap":"20080","nome":"Ozzero"},{"code":"015166","cap":"20037","nome":"Paderno Dugnano"},{"code":"015167","cap":"20090","nome":"Pantigliate"},{"code":"015168","cap":"20015","nome":"Parabiago"},{"code":"015169","cap":"20067","nome":"Paullo"},{"code":"015170","cap":"20016","nome":"Pero"},{"code":"015171","cap":"20068","nome":"Peschiera Borromeo"},{"code":"015172","cap":"20060","nome":"Pessano con Bornago"},{"code":"015173","cap":"20090","nome":"Pieve Emanuele"},{"code":"015175","cap":"20096","nome":"Pioltello"},{"code":"015176","cap":"20010","nome":"Pogliano Milanese"},{"code":"015177","cap":"20060","nome":"Pozzo d\'Adda"},{"code":"015178","cap":"20060","nome":"Pozzuolo Martesana"},{"code":"015179","cap":"20010","nome":"Pregnana Milanese"},{"code":"015181","cap":"20027","nome":"Rescaldina"},{"code":"015182","cap":"20017","nome":"Rho"},{"code":"015183","cap":"20020","nome":"Robecchetto con Induno"},{"code":"015184","cap":"20087","nome":"Robecco sul Naviglio"},{"code":"015185","cap":"20090","nome":"Rodano"},{"code":"015188","cap":"20088","nome":"Rosate"},{"code":"015189","cap":"20089","nome":"Rozzano"},{"code":"015191","cap":"20078","nome":"San Colombano al Lambro"},{"code":"015192","cap":"20097","nome":"San Donato Milanese"},{"code":"015194","cap":"20010","nome":"San Giorgio su Legnano"},{"code":"015195","cap":"20098","nome":"San Giuliano Milanese"},{"code":"015201","cap":"20028","nome":"San Vittore Olona"},{"code":"015202","cap":"20070","nome":"San Zenone al Lambro"},{"code":"015200","cap":"20010","nome":"Santo Stefano Ticino"},{"code":"015204","cap":"20018","nome":"Sedriano"},{"code":"015205","cap":"20090","nome":"Segrate"},{"code":"015206","cap":"20030","nome":"Senago"},{"code":"015209","cap":"20099","nome":"Sesto San Giovanni"},{"code":"015210","cap":"20090","nome":"Settala"},{"code":"015211","cap":"20019","nome":"Settimo Milanese"},{"code":"015213","cap":"20020","nome":"Solaro"},{"code":"015219","cap":"20060","nome":"Trezzano Rosa"},{"code":"015220","cap":"20090","nome":"Trezzano sul Naviglio"},{"code":"015221","cap":"20056","nome":"Trezzo sull\'Adda"},{"code":"015222","cap":"20067","nome":"Tribiano"},{"code":"015224","cap":"20060","nome":"Truccazzano"},{"code":"015226","cap":"20029","nome":"Turbigo"},{"code":"015249","cap":"20020","nome":"Vanzaghello"},{"code":"015229","cap":"20010","nome":"Vanzago"},{"code":"015230","cap":"20069","nome":"Vaprio d\'Adda"},{"code":"015235","cap":"20080","nome":"Vermezzo"},{"code":"015236","cap":"20080","nome":"Vernate"},{"code":"015237","cap":"20060","nome":"Vignate"},{"code":"015248","cap":"20020","nome":"Villa Cortese"},{"code":"015242","cap":"20090","nome":"Vimodrone"},{"code":"015243","cap":"20010","nome":"Vittuone"},{"code":"015244","cap":"20070","nome":"Vizzolo Predabissi"},{"code":"015246","cap":"20080","nome":"Zelo Surrigone"},{"code":"015247","cap":"20080","nome":"Zibido San Giacomo"}],"nome":"Milano"},{"code":"MB","comuni":[{"code":"108001","cap":"20864","nome":"Agrate Brianza"},{"code":"108002","cap":"20886","nome":"Aicurzio"},{"code":"108003","cap":"20847","nome":"Albiate"},{"code":"108004","cap":"20862","nome":"Arcore"},{"code":"108005","cap":"20825","nome":"Barlassina"},{"code":"108006","cap":"20882","nome":"Bellusco"},{"code":"108007","cap":"20881","nome":"Bernareggio"},{"code":"108008","cap":"20842","nome":"Besana in Brianza"},{"code":"108009","cap":"20853","nome":"Biassono"},{"code":"108010","cap":"20813","nome":"Bovisio-Masciago"},{"code":"108011","cap":"20836","nome":"Briosco"},{"code":"108012","cap":"20861","nome":"Brugherio"},{"code":"108013","cap":"20875","nome":"Burago di Molgora"},{"code":"108051","cap":"20874","nome":"Busnago"},{"code":"108014","cap":"20857","nome":"Camparada"},{"code":"108052","cap":"20867","nome":"Caponago"},{"code":"108015","cap":"20841","nome":"Carate Brianza"},{"code":"108016","cap":"20866","nome":"Carnate"},{"code":"108017","cap":"20873","nome":"Cavenago di Brianza"},{"code":"108018","cap":"20816","nome":"Ceriano Laghetto"},{"code":"108019","cap":"20811","nome":"Cesano Maderno"},{"code":"108020","cap":"20815","nome":"Cogliate"},{"code":"108021","cap":"20863","nome":"Concorezzo"},{"code":"108053","cap":"20872","nome":"Cornate d\'Adda"},{"code":"108022","cap":"20856","nome":"Correzzana"},{"code":"108023","cap":"20832","nome":"Desio"},{"code":"108024","cap":"20833","nome":"Giussano"},{"code":"108025","cap":"20824","nome":"Lazzate"},{"code":"108054","cap":"20823","nome":"Lentate sul Seveso"},{"code":"108026","cap":"20855","nome":"Lesmo"},{"code":"108027","cap":"20812","nome":"Limbiate"},{"code":"108028","cap":"20851","nome":"Lissone"},{"code":"108029","cap":"20846","nome":"Macherio"},{"code":"108030","cap":"20821","nome":"Meda"},{"code":"108031","cap":"20883","nome":"Mezzago"},{"code":"108032","cap":"20826","nome":"Misinto"},{"code":"108033","cap":"20900","nome":"Monza"},{"code":"108034","cap":"20835","nome":"Muggi\xf2"},{"code":"108035","cap":"20834","nome":"Nova Milanese"},{"code":"108036","cap":"20876","nome":"Ornago"},{"code":"108037","cap":"20838","nome":"Renate"},{"code":"108055","cap":"20877","nome":"Roncello"},{"code":"108038","cap":"20885","nome":"Ronco Briantino"},{"code":"108039","cap":"20831","nome":"Seregno"},{"code":"108040","cap":"20822","nome":"Seveso"},{"code":"108041","cap":"20845","nome":"Sovico"},{"code":"108042","cap":"20884","nome":"Sulbiate"},{"code":"108043","cap":"20844","nome":"Triuggio"},{"code":"108044","cap":"20865","nome":"Usmate Velate"},{"code":"108045","cap":"20814","nome":"Varedo"},{"code":"108046","cap":"20854","nome":"Vedano al Lambro"},{"code":"108047","cap":"20837","nome":"Veduggio con Colzano"},{"code":"108048","cap":"20843","nome":"Verano Brianza"},{"code":"108049","cap":"20852","nome":"Villasanta"},{"code":"108050","cap":"20871","nome":"Vimercate"}],"nome":"Monza e Brianza"},{"code":"PV","comuni":[{"code":"018001","cap":"27020","nome":"Alagna"},{"code":"018002","cap":"27040","nome":"Albaredo Arnaboldi"},{"code":"018003","cap":"27020","nome":"Albonese"},{"code":"018004","cap":"27010","nome":"Albuzzano"},{"code":"018005","cap":"27040","nome":"Arena Po"},{"code":"018006","cap":"27010","nome":"Badia Pavese"},{"code":"018007","cap":"27050","nome":"Bagnaria"},{"code":"018008","cap":"27041","nome":"Barbianello"},{"code":"018009","cap":"27010","nome":"Bascap\xe8"},{"code":"018010","cap":"27050","nome":"Bastida de\' Dossi"},{"code":"018011","cap":"27050","nome":"Bastida Pancarana"},{"code":"018012","cap":"27020","nome":"Battuda"},{"code":"018013","cap":"27011","nome":"Belgioioso"},{"code":"018014","cap":"27021","nome":"Bereguardo"},{"code":"018015","cap":"27010","nome":"Borgarello"},{"code":"018016","cap":"27040","nome":"Borgo Priolo"},{"code":"018018","cap":"27020","nome":"Borgo San Siro"},{"code":"018017","cap":"27040","nome":"Borgoratto Mormorolo"},{"code":"018019","cap":"27010","nome":"Bornasco"},{"code":"018020","cap":"27040","nome":"Bosnasco"},{"code":"018021","cap":"27050","nome":"Brallo di Pregola"},{"code":"018022","cap":"27020","nome":"Breme"},{"code":"018023","cap":"27042","nome":"Bressana Bottarone"},{"code":"018024","cap":"27043","nome":"Broni"},{"code":"018025","cap":"27040","nome":"Calvignano"},{"code":"018026","cap":"27040","nome":"Campospinoso"},{"code":"018027","cap":"27031","nome":"Candia Lomellina"},{"code":"018028","cap":"27040","nome":"Canevino"},{"code":"018029","cap":"27044","nome":"Canneto Pavese"},{"code":"018030","cap":"27020","nome":"Carbonara al Ticino"},{"code":"018031","cap":"27041","nome":"Casanova Lonati"},{"code":"018032","cap":"27040","nome":"Casatisma"},{"code":"018033","cap":"27050","nome":"Casei Gerola"},{"code":"018034","cap":"27022","nome":"Casorate Primo"},{"code":"018035","cap":"27023","nome":"Cassolnovo"},{"code":"018036","cap":"27040","nome":"Castana"},{"code":"018037","cap":"27045","nome":"Casteggio"},{"code":"018038","cap":"27040","nome":"Castelletto di Branduzzo"},{"code":"018039","cap":"27030","nome":"Castello d\'Agogna"},{"code":"018040","cap":"27030","nome":"Castelnovetto"},{"code":"018041","cap":"27051","nome":"Cava Manara"},{"code":"018042","cap":"27050","nome":"Cecima"},{"code":"018043","cap":"27010","nome":"Ceranova"},{"code":"018044","cap":"27030","nome":"Ceretto Lomellina"},{"code":"018045","cap":"27020","nome":"Cergnago"},{"code":"018046","cap":"27012","nome":"Certosa di Pavia"},{"code":"018047","cap":"27050","nome":"Cervesina"},{"code":"018048","cap":"27013","nome":"Chignolo Po"},{"code":"018049","cap":"27040","nome":"Cigognola"},{"code":"018050","cap":"27024","nome":"Cilavegna"},{"code":"018051","cap":"27050","nome":"Codevilla"},{"code":"018052","cap":"27030","nome":"Confienza"},{"code":"018053","cap":"27010","nome":"Copiano"},{"code":"018054","cap":"27050","nome":"Corana"},{"code":"018055","cap":"27050","nome":"Cornale"},{"code":"018056","cap":"27014","nome":"Corteolona"},{"code":"018057","cap":"27050","nome":"Corvino San Quirico"},{"code":"018058","cap":"27010","nome":"Costa de\' Nobili"},{"code":"018059","cap":"27030","nome":"Cozzo"},{"code":"018060","cap":"27010","nome":"Cura Carpignano"},{"code":"018061","cap":"27020","nome":"Dorno"},{"code":"018062","cap":"27032","nome":"Ferrera Erbognone"},{"code":"018063","cap":"27010","nome":"Filighera"},{"code":"018064","cap":"27040","nome":"Fortunago"},{"code":"018065","cap":"27030","nome":"Frascarolo"},{"code":"018066","cap":"27034","nome":"Galliavola"},{"code":"018067","cap":"27030","nome":"Gambarana"},{"code":"018068","cap":"27025","nome":"Gambol\xf2"},{"code":"018069","cap":"27026","nome":"Garlasco"},{"code":"018070","cap":"27014","nome":"Genzone"},{"code":"018071","cap":"27010","nome":"Gerenzago"},{"code":"018072","cap":"27010","nome":"Giussago"},{"code":"018073","cap":"27052","nome":"Godiasco"},{"code":"018074","cap":"27047","nome":"Golferenzo"},{"code":"018075","cap":"27020","nome":"Gravellona Lomellina"},{"code":"018076","cap":"27027","nome":"Gropello Cairoli"},{"code":"018077","cap":"27010","nome":"Inverno e Monteleone"},{"code":"018078","cap":"27015","nome":"Landriano"},{"code":"018079","cap":"27030","nome":"Langosco"},{"code":"018080","cap":"27016","nome":"Lardirago"},{"code":"018081","cap":"27010","nome":"Linarolo"},{"code":"018082","cap":"27040","nome":"Lirio"},{"code":"018083","cap":"27034","nome":"Lomello"},{"code":"018084","cap":"27053","nome":"Lungavilla"},{"code":"018085","cap":"27010","nome":"Magherno"},{"code":"018086","cap":"27020","nome":"Marcignago"},{"code":"018087","cap":"27010","nome":"Marzano"},{"code":"018088","cap":"27035","nome":"Mede"},{"code":"018089","cap":"27050","nome":"Menconico"},{"code":"018090","cap":"27030","nome":"Mezzana Bigli"},{"code":"018091","cap":"27030","nome":"Mezzana Rabattone"},{"code":"018092","cap":"27040","nome":"Mezzanino"},{"code":"018093","cap":"27010","nome":"Miradolo Terme"},{"code":"018094","cap":"27040","nome":"Montalto Pavese"},{"code":"018095","cap":"27054","nome":"Montebello della Battaglia"},{"code":"018096","cap":"27047","nome":"Montecalvo Versiggia"},{"code":"018097","cap":"27040","nome":"Montescano"},{"code":"018098","cap":"27052","nome":"Montesegale"},{"code":"018099","cap":"27010","nome":"Monticelli Pavese"},{"code":"018100","cap":"27040","nome":"Mont\xf9 Beccaria"},{"code":"018101","cap":"27040","nome":"Mornico Losana"},{"code":"018102","cap":"27036","nome":"Mortara"},{"code":"018103","cap":"27020","nome":"Nicorvo"},{"code":"018104","cap":"27020","nome":"Olevano di Lomellina"},{"code":"018105","cap":"27050","nome":"Oliva Gessi"},{"code":"018106","cap":"27030","nome":"Ottobiano"},{"code":"018107","cap":"27030","nome":"Palestro"},{"code":"018108","cap":"27050","nome":"Pancarana"},{"code":"018109","cap":"27020","nome":"Parona"},{"code":"018110","cap":"27100","nome":"Pavia"},{"code":"018111","cap":"27040","nome":"Pietra de\' Giorgi"},{"code":"018112","cap":"27030","nome":"Pieve Albignola"},{"code":"018113","cap":"27037","nome":"Pieve del Cairo"},{"code":"018114","cap":"27017","nome":"Pieve Porto Morone"},{"code":"018115","cap":"27040","nome":"Pinarolo Po"},{"code":"018116","cap":"27050","nome":"Pizzale"},{"code":"018117","cap":"27050","nome":"Ponte Nizza"},{"code":"018118","cap":"27040","nome":"Portalbera"},{"code":"018119","cap":"27040","nome":"Rea"},{"code":"018120","cap":"27050","nome":"Redavalle"},{"code":"018121","cap":"27050","nome":"Retorbido"},{"code":"018122","cap":"27055","nome":"Rivanazzano Terme"},{"code":"018123","cap":"27038","nome":"Robbio"},{"code":"018124","cap":"27042","nome":"Robecco Pavese"},{"code":"018125","cap":"27040","nome":"Rocca de\' Giorgi"},{"code":"018126","cap":"27052","nome":"Rocca Susella"},{"code":"018127","cap":"27010","nome":"Rognano"},{"code":"018128","cap":"27050","nome":"Romagnese"},{"code":"018129","cap":"27010","nome":"Roncaro"},{"code":"018130","cap":"27030","nome":"Rosasco"},{"code":"018131","cap":"27040","nome":"Rovescala"},{"code":"018132","cap":"27040","nome":"Ruino"},{"code":"018133","cap":"27043","nome":"San Cipriano Po"},{"code":"018134","cap":"27040","nome":"San Damiano al Colle"},{"code":"018135","cap":"27010","nome":"San Genesio ed Uniti"},{"code":"018136","cap":"27020","nome":"San Giorgio di Lomellina"},{"code":"018137","cap":"27028","nome":"San Martino Siccomario"},{"code":"018145","cap":"27010","nome":"San Zenone al Po"},{"code":"018138","cap":"27039","nome":"Sannazzaro de\' Burgondi"},{"code":"018139","cap":"27010","nome":"Santa Cristina e Bissone"},{"code":"018140","cap":"27046","nome":"Santa Giuletta"},{"code":"018142","cap":"27050","nome":"Santa Margherita di Staffora"},{"code":"018143","cap":"27047","nome":"Santa Maria della Versa"},{"code":"018141","cap":"27016","nome":"Sant\'Alessio con Vialone"},{"code":"018144","cap":"27030","nome":"Sant\'Angelo Lomellina"},{"code":"018146","cap":"27020","nome":"Sartirana Lomellina"},{"code":"018147","cap":"27020","nome":"Scaldasole"},{"code":"018148","cap":"27020","nome":"Semiana"},{"code":"018149","cap":"27050","nome":"Silvano Pietra"},{"code":"018150","cap":"27010","nome":"Siziano"},{"code":"018151","cap":"27048","nome":"Sommo"},{"code":"018152","cap":"27010","nome":"Spessa"},{"code":"018153","cap":"27049","nome":"Stradella"},{"code":"018154","cap":"27030","nome":"Suardi"},{"code":"018155","cap":"27050","nome":"Torrazza Coste"},{"code":"018156","cap":"27030","nome":"Torre Beretti e Castellaro"},{"code":"018157","cap":"27010","nome":"Torre d\'Arese"},{"code":"018158","cap":"27011","nome":"Torre de\' Negri"},{"code":"018159","cap":"27020","nome":"Torre d\'Isola"},{"code":"018160","cap":"27010","nome":"Torrevecchia Pia"},{"code":"018161","cap":"27050","nome":"Torricella Verzate"},{"code":"018162","cap":"27020","nome":"Travac\xf2 Siccomario"},{"code":"018163","cap":"27020","nome":"Trivolzio"},{"code":"018164","cap":"27020","nome":"Tromello"},{"code":"018165","cap":"27020","nome":"Trovo"},{"code":"018166","cap":"27050","nome":"Val di Nizza"},{"code":"018167","cap":"27020","nome":"Valeggio"},{"code":"018168","cap":"27020","nome":"Valle Lomellina"},{"code":"018169","cap":"27010","nome":"Valle Salimbene"},{"code":"018170","cap":"27050","nome":"Valverde"},{"code":"018171","cap":"27057","nome":"Varzi"},{"code":"018172","cap":"27020","nome":"Velezzo Lomellina"},{"code":"018173","cap":"27010","nome":"Vellezzo Bellini"},{"code":"018174","cap":"27053","nome":"Verretto"},{"code":"018175","cap":"27040","nome":"Verrua Po"},{"code":"018176","cap":"27018","nome":"Vidigulfo"},{"code":"018177","cap":"27029","nome":"Vigevano"},{"code":"018178","cap":"27035","nome":"Villa Biscossi"},{"code":"018179","cap":"27030","nome":"Villanova d\'Ardenghi"},{"code":"018180","cap":"27019","nome":"Villanterio"},{"code":"018181","cap":"27010","nome":"Vistarino"},{"code":"018182","cap":"27058","nome":"Voghera"},{"code":"018183","cap":"27047","nome":"Volpara"},{"code":"018184","cap":"27059","nome":"Zavattarello"},{"code":"018185","cap":"27010","nome":"Zeccone"},{"code":"018186","cap":"27030","nome":"Zeme"},{"code":"018187","cap":"27049","nome":"Zenevredo"},{"code":"018188","cap":"27017","nome":"Zerbo"},{"code":"018189","cap":"27020","nome":"Zerbol\xf2"},{"code":"018190","cap":"27030","nome":"Zinasco"}],"nome":"Pavia"},{"code":"SO","comuni":[{"code":"014001","cap":"23010","nome":"Albaredo per San Marco"},{"code":"014002","cap":"23010","nome":"Albosaggia"},{"code":"014003","cap":"23014","nome":"Andalo Valtellino"},{"code":"014004","cap":"23031","nome":"Aprica"},{"code":"014005","cap":"23011","nome":"Ardenno"},{"code":"014006","cap":"23010","nome":"Bema"},{"code":"014007","cap":"23010","nome":"Berbenno di Valtellina"},{"code":"014008","cap":"23030","nome":"Bianzone"},{"code":"014009","cap":"23032","nome":"Bormio"},{"code":"014010","cap":"23010","nome":"Buglio in Monte"},{"code":"014011","cap":"23010","nome":"Caiolo"},{"code":"014012","cap":"23021","nome":"Campodolcino"},{"code":"014013","cap":"23020","nome":"Caspoggio"},{"code":"014014","cap":"23030","nome":"Castello dell\'Acqua"},{"code":"014015","cap":"23012","nome":"Castione Andevenno"},{"code":"014016","cap":"23010","nome":"Cedrasco"},{"code":"014017","cap":"23016","nome":"Cercino"},{"code":"014018","cap":"23022","nome":"Chiavenna"},{"code":"014019","cap":"23023","nome":"Chiesa in Valmalenco"},{"code":"014020","cap":"23030","nome":"Chiuro"},{"code":"014021","cap":"23010","nome":"Cino"},{"code":"014022","cap":"23010","nome":"Civo"},{"code":"014023","cap":"23010","nome":"Colorina"},{"code":"014024","cap":"23013","nome":"Cosio Valtellino"},{"code":"014025","cap":"23010","nome":"Dazio"},{"code":"014026","cap":"23014","nome":"Delebio"},{"code":"014027","cap":"23015","nome":"Dubino"},{"code":"014028","cap":"23020","nome":"Faedo Valtellino"},{"code":"014029","cap":"23010","nome":"Forcola"},{"code":"014030","cap":"23010","nome":"Fusine"},{"code":"014031","cap":"23010","nome":"Gerola Alta"},{"code":"014032","cap":"23020","nome":"Gordona"},{"code":"014033","cap":"23033","nome":"Grosio"},{"code":"014034","cap":"23034","nome":"Grosotto"},{"code":"014036","cap":"23020","nome":"Lanzada"},{"code":"014037","cap":"23030","nome":"Livigno"},{"code":"014038","cap":"23030","nome":"Lovero"},{"code":"014035","cap":"23024","nome":"Madesimo"},{"code":"014039","cap":"23016","nome":"Mantello"},{"code":"014040","cap":"23030","nome":"Mazzo di Valtellina"},{"code":"014041","cap":"23010","nome":"Mello"},{"code":"014042","cap":"23020","nome":"Menarola"},{"code":"014043","cap":"23020","nome":"Mese"},{"code":"014044","cap":"23020","nome":"Montagna in Valtellina"},{"code":"014045","cap":"23017","nome":"Morbegno"},{"code":"014046","cap":"23025","nome":"Novate Mezzola"},{"code":"014047","cap":"23010","nome":"Pedesina"},{"code":"014048","cap":"23010","nome":"Piantedo"},{"code":"014049","cap":"23020","nome":"Piateda"},{"code":"014050","cap":"23020","nome":"Piuro"},{"code":"014051","cap":"23020","nome":"Poggiridenti"},{"code":"014052","cap":"23026","nome":"Ponte in Valtellina"},{"code":"014053","cap":"23010","nome":"Postalesio"},{"code":"014054","cap":"23020","nome":"Prata Camportaccio"},{"code":"014055","cap":"23010","nome":"Rasura"},{"code":"014056","cap":"23010","nome":"Rogolo"},{"code":"014057","cap":"23027","nome":"Samolaco"},{"code":"014058","cap":"23020","nome":"San Giacomo Filippo"},{"code":"014059","cap":"23030","nome":"Sernio"},{"code":"014060","cap":"23035","nome":"Sondalo"},{"code":"014061","cap":"23100","nome":"Sondrio"},{"code":"014062","cap":"23020","nome":"Spriana"},{"code":"014063","cap":"23018","nome":"Talamona"},{"code":"014064","cap":"23010","nome":"Tartano"},{"code":"014065","cap":"23036","nome":"Teglio"},{"code":"014066","cap":"23037","nome":"Tirano"},{"code":"014067","cap":"23020","nome":"Torre di Santa Maria"},{"code":"014068","cap":"23030","nome":"Tovo di Sant\'Agata"},{"code":"014069","cap":"23019","nome":"Traona"},{"code":"014070","cap":"23020","nome":"Tresivio"},{"code":"014074","cap":"23010","nome":"Val Masino"},{"code":"014071","cap":"23038","nome":"Valdidentro"},{"code":"014072","cap":"23030","nome":"Valdisotto"},{"code":"014073","cap":"23030","nome":"Valfurva"},{"code":"014075","cap":"23020","nome":"Verceia"},{"code":"014076","cap":"23030","nome":"Vervio"},{"code":"014077","cap":"23029","nome":"Villa di Chiavenna"},{"code":"014078","cap":"23030","nome":"Villa di Tirano"}],"nome":"Sondrio"},{"code":"VA","comuni":[{"code":"012001","cap":"21010","nome":"Agra"},{"code":"012002","cap":"21041","nome":"Albizzate"},{"code":"012003","cap":"21021","nome":"Angera"},{"code":"012004","cap":"21051","nome":"Arcisate"},{"code":"012005","cap":"21010","nome":"Arsago Seprio"},{"code":"012006","cap":"21022","nome":"Azzate"},{"code":"012007","cap":"21030","nome":"Azzio"},{"code":"012008","cap":"21020","nome":"Barasso"},{"code":"012009","cap":"21020","nome":"Bardello"},{"code":"012010","cap":"21039","nome":"Bedero Valcuvia"},{"code":"012011","cap":"21050","nome":"Besano"},{"code":"012012","cap":"21010","nome":"Besnate"},{"code":"012013","cap":"21023","nome":"Besozzo"},{"code":"012014","cap":"21024","nome":"Biandronno"},{"code":"012015","cap":"21050","nome":"Bisuschio"},{"code":"012016","cap":"21020","nome":"Bodio Lomnago"},{"code":"012017","cap":"21020","nome":"Brebbia"},{"code":"012018","cap":"21020","nome":"Bregano"},{"code":"012019","cap":"21030","nome":"Brenta"},{"code":"012020","cap":"21010","nome":"Brezzo di Bedero"},{"code":"012021","cap":"21030","nome":"Brinzio"},{"code":"012022","cap":"21030","nome":"Brissago-Valtravaglia"},{"code":"012023","cap":"21020","nome":"Brunello"},{"code":"012024","cap":"21050","nome":"Brusimpiano"},{"code":"012025","cap":"21020","nome":"Buguggiate"},{"code":"012026","cap":"21052","nome":"Busto Arsizio"},{"code":"012027","cap":"21031","nome":"Cadegliano-Viconago"},{"code":"012028","cap":"21020","nome":"Cadrezzate"},{"code":"012029","cap":"21050","nome":"Cairate"},{"code":"012030","cap":"21050","nome":"Cantello"},{"code":"012031","cap":"21032","nome":"Caravate"},{"code":"012032","cap":"21010","nome":"Cardano al Campo"},{"code":"012033","cap":"21040","nome":"Carnago"},{"code":"012034","cap":"21042","nome":"Caronno Pertusella"},{"code":"012035","cap":"21040","nome":"Caronno Varesino"},{"code":"012036","cap":"21020","nome":"Casale Litta"},{"code":"012037","cap":"21030","nome":"Casalzuigno"},{"code":"012038","cap":"21020","nome":"Casciago"},{"code":"012039","cap":"21011","nome":"Casorate Sempione"},{"code":"012040","cap":"21012","nome":"Cassano Magnago"},{"code":"012041","cap":"21030","nome":"Cassano Valcuvia"},{"code":"012042","cap":"21053","nome":"Castellanza"},{"code":"012043","cap":"21030","nome":"Castello Cabiaglio"},{"code":"012044","cap":"21050","nome":"Castelseprio"},{"code":"012045","cap":"21010","nome":"Castelveccana"},{"code":"012046","cap":"21043","nome":"Castiglione Olona"},{"code":"012047","cap":"21040","nome":"Castronno"},{"code":"012048","cap":"21044","nome":"Cavaria con Premezzo"},{"code":"012049","cap":"21020","nome":"Cazzago Brabbia"},{"code":"012050","cap":"21040","nome":"Cislago"},{"code":"012051","cap":"21033","nome":"Cittiglio"},{"code":"012052","cap":"21050","nome":"Clivio"},{"code":"012053","cap":"21034","nome":"Cocquio-Trevisago"},{"code":"012054","cap":"21020","nome":"Comabbio"},{"code":"012055","cap":"21025","nome":"Comerio"},{"code":"012056","cap":"21030","nome":"Cremenaga"},{"code":"012057","cap":"21020","nome":"Crosio della Valle"},{"code":"012058","cap":"21050","nome":"Cuasso al Monte"},{"code":"012059","cap":"21030","nome":"Cugliate-Fabiasco"},{"code":"012060","cap":"21035","nome":"Cunardo"},{"code":"012061","cap":"21010","nome":"Curiglia con Monteviasco"},{"code":"012062","cap":"21030","nome":"Cuveglio"},{"code":"012063","cap":"21030","nome":"Cuvio"},{"code":"012064","cap":"21020","nome":"Daverio"},{"code":"012065","cap":"21010","nome":"Dumenza"},{"code":"012066","cap":"21030","nome":"Duno"},{"code":"012067","cap":"21054","nome":"Fagnano Olona"},{"code":"012068","cap":"21010","nome":"Ferno"},{"code":"012069","cap":"21030","nome":"Ferrera di Varese"},{"code":"012070","cap":"21013","nome":"Gallarate"},{"code":"012071","cap":"21020","nome":"Galliate Lombardo"},{"code":"012072","cap":"21026","nome":"Gavirate"},{"code":"012073","cap":"21045","nome":"Gazzada Schianno"},{"code":"012074","cap":"21036","nome":"Gemonio"},{"code":"012075","cap":"21040","nome":"Gerenzano"},{"code":"012076","cap":"21010","nome":"Germignaga"},{"code":"012077","cap":"21010","nome":"Golasecca"},{"code":"012078","cap":"21050","nome":"Gorla Maggiore"},{"code":"012079","cap":"21055","nome":"Gorla Minore"},{"code":"012080","cap":"21040","nome":"Gornate-Olona"},{"code":"012081","cap":"21030","nome":"Grantola"},{"code":"012082","cap":"21020","nome":"Inarzo"},{"code":"012083","cap":"21056","nome":"Induno Olona"},{"code":"012084","cap":"21027","nome":"Ispra"},{"code":"012085","cap":"21040","nome":"Jerago con Orago"},{"code":"012086","cap":"21037","nome":"Lavena Ponte Tresa"},{"code":"012087","cap":"21014","nome":"Laveno-Mombello"},{"code":"012088","cap":"21038","nome":"Leggiuno"},{"code":"012089","cap":"21050","nome":"Lonate Ceppino"},{"code":"012090","cap":"21015","nome":"Lonate Pozzolo"},{"code":"012091","cap":"21040","nome":"Lozza"},{"code":"012092","cap":"21016","nome":"Luino"},{"code":"012093","cap":"21020","nome":"Luvinate"},{"code":"012094","cap":"21010","nome":"Maccagno"},{"code":"012095","cap":"21020","nome":"Malgesso"},{"code":"012096","cap":"21046","nome":"Malnate"},{"code":"012097","cap":"21030","nome":"Marchirolo"},{"code":"012098","cap":"21050","nome":"Marnate"},{"code":"012099","cap":"21030","nome":"Marzio"},{"code":"012100","cap":"21030","nome":"Masciago Primo"},{"code":"012101","cap":"21020","nome":"Mercallo"},{"code":"012102","cap":"21030","nome":"Mesenzana"},{"code":"012103","cap":"21010","nome":"Montegrino Valtravaglia"},{"code":"012104","cap":"21020","nome":"Monvalle"},{"code":"012105","cap":"21040","nome":"Morazzone"},{"code":"012106","cap":"21020","nome":"Mornago"},{"code":"012107","cap":"21040","nome":"Oggiona con Santo Stefano"},{"code":"012108","cap":"21057","nome":"Olgiate Olona"},{"code":"012109","cap":"21040","nome":"Origgio"},{"code":"012110","cap":"21030","nome":"Orino"},{"code":"012111","cap":"21018","nome":"Osmate"},{"code":"012112","cap":"21010","nome":"Pino sulla Sponda del Lago Maggiore"},{"code":"012113","cap":"21050","nome":"Porto Ceresio"},{"code":"012114","cap":"21010","nome":"Porto Valtravaglia"},{"code":"012115","cap":"21030","nome":"Rancio Valcuvia"},{"code":"012116","cap":"21020","nome":"Ranco"},{"code":"012117","cap":"21050","nome":"Saltrio"},{"code":"012118","cap":"21017","nome":"Samarate"},{"code":"012141","cap":"21038","nome":"Sangiano"},{"code":"012119","cap":"21047","nome":"Saronno"},{"code":"012120","cap":"21018","nome":"Sesto Calende"},{"code":"012121","cap":"21048","nome":"Solbiate Arno"},{"code":"012122","cap":"21058","nome":"Solbiate Olona"},{"code":"012123","cap":"21019","nome":"Somma Lombardo"},{"code":"012124","cap":"21040","nome":"Sumirago"},{"code":"012125","cap":"21020","nome":"Taino"},{"code":"012126","cap":"21020","nome":"Ternate"},{"code":"012127","cap":"21049","nome":"Tradate"},{"code":"012128","cap":"21028","nome":"Travedona-Monate"},{"code":"012129","cap":"21010","nome":"Tronzano Lago Maggiore"},{"code":"012130","cap":"21040","nome":"Uboldo"},{"code":"012131","cap":"21039","nome":"Valganna"},{"code":"012132","cap":"21020","nome":"Varano Borghi"},{"code":"012133","cap":"21100","nome":"Varese"},{"code":"012134","cap":"21040","nome":"Vedano Olona"},{"code":"012135","cap":"21010","nome":"Veddasca"},{"code":"012136","cap":"21040","nome":"Venegono Inferiore"},{"code":"012137","cap":"21040","nome":"Venegono Superiore"},{"code":"012138","cap":"21029","nome":"Vergiate"},{"code":"012139","cap":"21059","nome":"Viggi\xf9"},{"code":"012140","cap":"21010","nome":"Vizzola Ticino"}],"nome":"Varese"}],"nome":"Lombardia"},{"province":[{"code":"AN","comuni":[{"code":"042001","cap":"60020","nome":"Agugliano"},{"code":"042002","cap":"601xx","nome":"Ancona"},{"code":"042003","cap":"60011","nome":"Arcevia"},{"code":"042004","cap":"60010","nome":"Barbara"},{"code":"042005","cap":"60030","nome":"Belvedere Ostrense"},{"code":"042006","cap":"60021","nome":"Camerano"},{"code":"042007","cap":"60020","nome":"Camerata Picena"},{"code":"042009","cap":"60010","nome":"Castel Colonna"},{"code":"042008","cap":"60030","nome":"Castelbellino"},{"code":"042010","cap":"60022","nome":"Castelfidardo"},{"code":"042011","cap":"60010","nome":"Castelleone di Suasa"},{"code":"042012","cap":"60031","nome":"Castelplanio"},{"code":"042013","cap":"60043","nome":"Cerreto d\'Esi"},{"code":"042014","cap":"60033","nome":"Chiaravalle"},{"code":"042015","cap":"60013","nome":"Corinaldo"},{"code":"042016","cap":"60034","nome":"Cupramontana"},{"code":"042017","cap":"60044","nome":"Fabriano"},{"code":"042018","cap":"60015","nome":"Falconara Marittima"},{"code":"042019","cap":"60024","nome":"Filottrano"},{"code":"042020","cap":"60040","nome":"Genga"},{"code":"042021","cap":"60035","nome":"Jesi"},{"code":"042022","cap":"60025","nome":"Loreto"},{"code":"042023","cap":"60030","nome":"Maiolati Spontini"},{"code":"042024","cap":"60030","nome":"Mergo"},{"code":"042025","cap":"60030","nome":"Monsano"},{"code":"042029","cap":"60030","nome":"Monte Roberto"},{"code":"042030","cap":"60037","nome":"Monte San Vito"},{"code":"042026","cap":"60036","nome":"Montecarotto"},{"code":"042027","cap":"60018","nome":"Montemarciano"},{"code":"042028","cap":"60010","nome":"Monterado"},{"code":"042031","cap":"60030","nome":"Morro d\'Alba"},{"code":"042032","cap":"60026","nome":"Numana"},{"code":"042033","cap":"60020","nome":"Offagna"},{"code":"042034","cap":"60027","nome":"Osimo"},{"code":"042035","cap":"60010","nome":"Ostra"},{"code":"042036","cap":"60010","nome":"Ostra Vetere"},{"code":"042037","cap":"60030","nome":"Poggio San Marcello"},{"code":"042038","cap":"60020","nome":"Polverigi"},{"code":"042039","cap":"60010","nome":"Ripe"},{"code":"042040","cap":"60030","nome":"Rosora"},{"code":"042041","cap":"60030","nome":"San Marcello"},{"code":"042042","cap":"60038","nome":"San Paolo di Jesi"},{"code":"042043","cap":"60030","nome":"Santa Maria Nuova"},{"code":"042044","cap":"60041","nome":"Sassoferrato"},{"code":"042045","cap":"60019","nome":"Senigallia"},{"code":"042046","cap":"60030","nome":"Serra de\' Conti"},{"code":"042047","cap":"60048","nome":"Serra San Quirico"},{"code":"042048","cap":"60020","nome":"Sirolo"},{"code":"042049","cap":"60039","nome":"Staffolo"}],"nome":"Ancona"},{"code":"AP","comuni":[{"code":"044001","cap":"63095","nome":"Acquasanta Terme"},{"code":"044002","cap":"63075","nome":"Acquaviva Picena"},{"code":"044005","cap":"63083","nome":"Appignano del Tronto"},{"code":"044006","cap":"63096","nome":"Arquata del Tronto"},{"code":"044007","cap":"63100","nome":"Ascoli Piceno"},{"code":"044010","cap":"63063","nome":"Carassai"},{"code":"044011","cap":"63082","nome":"Castel di Lama"},{"code":"044012","cap":"63072","nome":"Castignano"},{"code":"044013","cap":"63081","nome":"Castorano"},{"code":"044014","cap":"63079","nome":"Colli del Tronto"},{"code":"044015","cap":"63087","nome":"Comunanza"},{"code":"044016","cap":"63067","nome":"Cossignano"},{"code":"044017","cap":"63064","nome":"Cupra Marittima"},{"code":"044020","cap":"63084","nome":"Folignano"},{"code":"044021","cap":"63086","nome":"Force"},{"code":"044023","cap":"63066","nome":"Grottammare"},{"code":"044027","cap":"63085","nome":"Maltignano"},{"code":"044029","cap":"63061","nome":"Massignano"},{"code":"044031","cap":"63077","nome":"Monsampolo del Tronto"},{"code":"044032","cap":"63068","nome":"Montalto delle Marche"},{"code":"044034","cap":"63069","nome":"Montedinove"},{"code":"044036","cap":"63062","nome":"Montefiore dell\'Aso"},{"code":"044038","cap":"63094","nome":"Montegallo"},{"code":"044044","cap":"63088","nome":"Montemonaco"},{"code":"044045","cap":"63076","nome":"Monteprandone"},{"code":"044054","cap":"63073","nome":"Offida"},{"code":"044056","cap":"63092","nome":"Palmiano"},{"code":"044063","cap":"63065","nome":"Ripatransone"},{"code":"044064","cap":"63093","nome":"Roccafluvione"},{"code":"044065","cap":"63071","nome":"Rotella"},{"code":"044066","cap":"63074","nome":"San Benedetto del Tronto"},{"code":"044071","cap":"63078","nome":"Spinetoli"},{"code":"044073","cap":"63091","nome":"Venarotta"}],"nome":"Ascoli Piceno"},{"code":"FM","comuni":[{"code":"109001","cap":"63824","nome":"Altidona"},{"code":"109002","cap":"63857","nome":"Amandola"},{"code":"109003","cap":"63838","nome":"Belmonte Piceno"},{"code":"109004","cap":"63828","nome":"Campofilone"},{"code":"109005","cap":"63837","nome":"Falerone"},{"code":"109006","cap":"63900","nome":"Fermo"},{"code":"109007","cap":"63816","nome":"Francavilla d\'Ete"},{"code":"109008","cap":"63844","nome":"Grottazzolina"},{"code":"109009","cap":"63823","nome":"Lapedona"},{"code":"109010","cap":"63832","nome":"Magliano di Tenna"},{"code":"109011","cap":"63834","nome":"Massa Fermana"},{"code":"109012","cap":"63842","nome":"Monsampietro Morico"},{"code":"109013","cap":"63835","nome":"Montappone"},{"code":"109016","cap":"63846","nome":"Monte Giberto"},{"code":"109021","cap":"63852","nome":"Monte Rinaldo"},{"code":"109023","cap":"63815","nome":"Monte San Pietrangeli"},{"code":"109024","cap":"63813","nome":"Monte Urano"},{"code":"109025","cap":"63847","nome":"Monte Vidon Combatte"},{"code":"109026","cap":"63836","nome":"Monte Vidon Corrado"},{"code":"109014","cap":"63855","nome":"Montefalcone Appennino"},{"code":"109015","cap":"63858","nome":"Montefortino"},{"code":"109017","cap":"63833","nome":"Montegiorgio"},{"code":"109018","cap":"63812","nome":"Montegranaro"},{"code":"109019","cap":"63841","nome":"Monteleone di Fermo"},{"code":"109020","cap":"63853","nome":"Montelparo"},{"code":"109022","cap":"63825","nome":"Monterubbiano"},{"code":"109027","cap":"63843","nome":"Montottone"},{"code":"109028","cap":"63826","nome":"Moresco"},{"code":"109029","cap":"63851","nome":"Ortezzano"},{"code":"109030","cap":"63827","nome":"Pedaso"},{"code":"109031","cap":"63848","nome":"Petritoli"},{"code":"109032","cap":"63845","nome":"Ponzano di Fermo"},{"code":"109033","cap":"63822","nome":"Porto San Giorgio"},{"code":"109034","cap":"63821","nome":"Porto Sant\'Elpidio"},{"code":"109035","cap":"63831","nome":"Rapagnano"},{"code":"109036","cap":"63854","nome":"Santa Vittoria in Matenano"},{"code":"109037","cap":"63811","nome":"Sant\'Elpidio a Mare"},{"code":"109038","cap":"63839","nome":"Servigliano"},{"code":"109039","cap":"63856","nome":"Smerillo"},{"code":"109040","cap":"63814","nome":"Torre San Patrizio"}],"nome":"Fermo"},{"code":"MC","comuni":[{"code":"043001","cap":"62035","nome":"Acquacanina"},{"code":"043002","cap":"62021","nome":"Apiro"},{"code":"043003","cap":"62010","nome":"Appignano"},{"code":"043004","cap":"62020","nome":"Belforte del Chienti"},{"code":"043005","cap":"62035","nome":"Bolognola"},{"code":"043006","cap":"62020","nome":"Caldarola"},{"code":"043007","cap":"62032","nome":"Camerino"},{"code":"043008","cap":"62020","nome":"Camporotondo di Fiastrone"},{"code":"043009","cap":"62022","nome":"Castelraimondo"},{"code":"043010","cap":"62039","nome":"Castelsantangelo sul Nera"},{"code":"043011","cap":"62020","nome":"Cessapalombo"},{"code":"043012","cap":"62011","nome":"Cingoli"},{"code":"043013","cap":"62012","nome":"Civitanova Marche"},{"code":"043014","cap":"62020","nome":"Colmurano"},{"code":"043015","cap":"62014","nome":"Corridonia"},{"code":"043016","cap":"62024","nome":"Esanatoglia"},{"code":"043017","cap":"62035","nome":"Fiastra"},{"code":"043018","cap":"62035","nome":"Fiordimonte"},{"code":"043019","cap":"62025","nome":"Fiuminata"},{"code":"043020","cap":"62022","nome":"Gagliole"},{"code":"043021","cap":"62020","nome":"Gualdo"},{"code":"043022","cap":"62020","nome":"Loro Piceno"},{"code":"043023","cap":"62100","nome":"Macerata"},{"code":"043024","cap":"62024","nome":"Matelica"},{"code":"043025","cap":"62010","nome":"Mogliano"},{"code":"043027","cap":"62036","nome":"Monte Cavallo"},{"code":"043031","cap":"62015","nome":"Monte San Giusto"},{"code":"043032","cap":"62020","nome":"Monte San Martino"},{"code":"043026","cap":"62010","nome":"Montecassiano"},{"code":"043028","cap":"62010","nome":"Montecosaro"},{"code":"043029","cap":"62010","nome":"Montefano"},{"code":"043030","cap":"62010","nome":"Montelupone"},{"code":"043033","cap":"62010","nome":"Morrovalle"},{"code":"043034","cap":"62034","nome":"Muccia"},{"code":"043035","cap":"62020","nome":"Penna San Giovanni"},{"code":"043036","cap":"62014","nome":"Petriolo"},{"code":"043038","cap":"62036","nome":"Pieve Torina"},{"code":"043037","cap":"62035","nome":"Pievebovigliana"},{"code":"043039","cap":"62025","nome":"Pioraco"},{"code":"043040","cap":"62021","nome":"Poggio San Vicino"},{"code":"043041","cap":"62010","nome":"Pollenza"},{"code":"043042","cap":"62017","nome":"Porto Recanati"},{"code":"043043","cap":"62018","nome":"Potenza Picena"},{"code":"043044","cap":"62019","nome":"Recanati"},{"code":"043045","cap":"62020","nome":"Ripe San Ginesio"},{"code":"043046","cap":"62026","nome":"San Ginesio"},{"code":"043047","cap":"62027","nome":"San Severino Marche"},{"code":"043048","cap":"62020","nome":"Sant\'Angelo in Pontano"},{"code":"043049","cap":"62028","nome":"Sarnano"},{"code":"043050","cap":"62025","nome":"Sefro"},{"code":"043051","cap":"62020","nome":"Serrapetrona"},{"code":"043052","cap":"62038","nome":"Serravalle di Chienti"},{"code":"043053","cap":"62029","nome":"Tolentino"},{"code":"043054","cap":"62010","nome":"Treia"},{"code":"043055","cap":"62010","nome":"Urbisaglia"},{"code":"043056","cap":"62039","nome":"Ussita"},{"code":"043057","cap":"62039","nome":"Visso"}],"nome":"Macerata"},{"code":"PU","comuni":[{"code":"041001","cap":"61041","nome":"Acqualagna"},{"code":"041002","cap":"61042","nome":"Apecchio"},{"code":"041003","cap":"61020","nome":"Auditore"},{"code":"041004","cap":"61040","nome":"Barchi"},{"code":"041005","cap":"61026","nome":"Belforte all\'Isauro"},{"code":"041006","cap":"61040","nome":"Borgo Pace"},{"code":"041007","cap":"61043","nome":"Cagli"},{"code":"041008","cap":"61044","nome":"Cantiano"},{"code":"041009","cap":"61021","nome":"Carpegna"},{"code":"041010","cap":"61030","nome":"Cartoceto"},{"code":"041012","cap":"61022","nome":"Colbordolo"},{"code":"041013","cap":"61032","nome":"Fano"},{"code":"041014","cap":"61033","nome":"Fermignano"},{"code":"041015","cap":"61034","nome":"Fossombrone"},{"code":"041016","cap":"61040","nome":"Fratte Rosa"},{"code":"041017","cap":"61021","nome":"Frontino"},{"code":"041018","cap":"61040","nome":"Frontone"},{"code":"041019","cap":"61011","nome":"Gabicce Mare"},{"code":"041020","cap":"61012","nome":"Gradara"},{"code":"041021","cap":"61030","nome":"Isola del Piano"},{"code":"041022","cap":"61026","nome":"Lunano"},{"code":"041023","cap":"61023","nome":"Macerata Feltria"},{"code":"041025","cap":"61040","nome":"Mercatello sul Metauro"},{"code":"041026","cap":"61013","nome":"Mercatino Conca"},{"code":"041027","cap":"61024","nome":"Mombaroccio"},{"code":"041028","cap":"61040","nome":"Mondavio"},{"code":"041029","cap":"61037","nome":"Mondolfo"},{"code":"041031","cap":"61010","nome":"Monte Cerignone"},{"code":"041035","cap":"61010","nome":"Monte Grimano Terme"},{"code":"041038","cap":"61040","nome":"Monte Porzio"},{"code":"041030","cap":"61020","nome":"Montecalvo in Foglia"},{"code":"041032","cap":"61024","nome":"Monteciccardo"},{"code":"041033","cap":"61014","nome":"Montecopiolo"},{"code":"041034","cap":"61030","nome":"Montefelcino"},{"code":"041036","cap":"61025","nome":"Montelabbate"},{"code":"041037","cap":"61030","nome":"Montemaggiore al Metauro"},{"code":"041040","cap":"61038","nome":"Orciano di Pesaro"},{"code":"041041","cap":"61049","nome":"Peglio"},{"code":"041043","cap":"61045","nome":"Pergola"},{"code":"041044","cap":"6112x","nome":"Pesaro"},{"code":"041045","cap":"61020","nome":"Petriano"},{"code":"041046","cap":"61030","nome":"Piagge"},{"code":"041047","cap":"61026","nome":"Piandimeleto"},{"code":"041048","cap":"61023","nome":"Pietrarubbia"},{"code":"041049","cap":"61046","nome":"Piobbico"},{"code":"041050","cap":"61030","nome":"Saltara"},{"code":"041051","cap":"61039","nome":"San Costanzo"},{"code":"041052","cap":"61030","nome":"San Giorgio di Pesaro"},{"code":"041054","cap":"61047","nome":"San Lorenzo in Campo"},{"code":"041056","cap":"61020","nome":"Sant\'Angelo in Lizzola"},{"code":"041057","cap":"61048","nome":"Sant\'Angelo in Vado"},{"code":"041058","cap":"61040","nome":"Sant\'Ippolito"},{"code":"041059","cap":"61028","nome":"Sassocorvaro"},{"code":"041060","cap":"61013","nome":"Sassofeltrio"},{"code":"041061","cap":"61040","nome":"Serra Sant\'Abbondio"},{"code":"041062","cap":"61030","nome":"Serrungarina"},{"code":"041064","cap":"61020","nome":"Tavoleto"},{"code":"041065","cap":"61010","nome":"Tavullia"},{"code":"041066","cap":"61049","nome":"Urbania"},{"code":"041067","cap":"61029","nome":"Urbino"}],"nome":"Pesaro e Urbino"}],"nome":"Marche"},{"province":[{"code":"CB","comuni":[{"code":"070001","cap":"86030","nome":"Acquaviva Collecroce"},{"code":"070002","cap":"86011","nome":"Baranello"},{"code":"070003","cap":"86021","nome":"Bojano"},{"code":"070004","cap":"86041","nome":"Bonefro"},{"code":"070005","cap":"86010","nome":"Busso"},{"code":"070006","cap":"86100","nome":"Campobasso"},{"code":"070007","cap":"86020","nome":"Campochiaro"},{"code":"070008","cap":"86010","nome":"Campodipietra"},{"code":"070009","cap":"86040","nome":"Campolieto"},{"code":"070010","cap":"86042","nome":"Campomarino"},{"code":"070011","cap":"86043","nome":"Casacalenda"},{"code":"070012","cap":"86010","nome":"Casalciprano"},{"code":"070013","cap":"86030","nome":"Castelbottaccio"},{"code":"070014","cap":"86020","nome":"Castellino del Biferno"},{"code":"070015","cap":"86031","nome":"Castelmauro"},{"code":"070016","cap":"86010","nome":"Castropignano"},{"code":"070017","cap":"86012","nome":"Cercemaggiore"},{"code":"070018","cap":"86010","nome":"Cercepiccola"},{"code":"070019","cap":"86030","nome":"Civitacampomarano"},{"code":"070020","cap":"86020","nome":"Colle d\'Anchise"},{"code":"070021","cap":"86044","nome":"Colletorto"},{"code":"070022","cap":"86020","nome":"Duronia"},{"code":"070023","cap":"86010","nome":"Ferrazzano"},{"code":"070024","cap":"86020","nome":"Fossalto"},{"code":"070025","cap":"86013","nome":"Gambatesa"},{"code":"070026","cap":"86010","nome":"Gildone"},{"code":"070027","cap":"86030","nome":"Guardialfiera"},{"code":"070028","cap":"86014","nome":"Guardiaregia"},{"code":"070029","cap":"86034","nome":"Guglionesi"},{"code":"070030","cap":"86015","nome":"Jelsi"},{"code":"070031","cap":"86035","nome":"Larino"},{"code":"070032","cap":"86022","nome":"Limosano"},{"code":"070033","cap":"86030","nome":"Lucito"},{"code":"070034","cap":"86030","nome":"Lupara"},{"code":"070035","cap":"86040","nome":"Macchia Valfortore"},{"code":"070036","cap":"86030","nome":"Mafalda"},{"code":"070037","cap":"86030","nome":"Matrice"},{"code":"070038","cap":"86010","nome":"Mirabello Sannitico"},{"code":"070039","cap":"86020","nome":"Molise"},{"code":"070040","cap":"86040","nome":"Monacilioni"},{"code":"070041","cap":"86023","nome":"Montagano"},{"code":"070042","cap":"86032","nome":"Montecilfone"},{"code":"070043","cap":"86033","nome":"Montefalcone nel Sannio"},{"code":"070044","cap":"86040","nome":"Montelongo"},{"code":"070045","cap":"86030","nome":"Montemitro"},{"code":"070046","cap":"86036","nome":"Montenero di Bisaccia"},{"code":"070047","cap":"86040","nome":"Montorio nei Frentani"},{"code":"070048","cap":"86040","nome":"Morrone del Sannio"},{"code":"070049","cap":"86010","nome":"Oratino"},{"code":"070050","cap":"86037","nome":"Palata"},{"code":"070051","cap":"86038","nome":"Petacciato"},{"code":"070052","cap":"86024","nome":"Petrella Tifernina"},{"code":"070053","cap":"86040","nome":"Pietracatella"},{"code":"070054","cap":"86020","nome":"Pietracupa"},{"code":"070055","cap":"86045","nome":"Portocannone"},{"code":"070056","cap":"86040","nome":"Provvidenti"},{"code":"070057","cap":"86016","nome":"Riccia"},{"code":"070058","cap":"86040","nome":"Ripabottoni"},{"code":"070059","cap":"86025","nome":"Ripalimosani"},{"code":"070060","cap":"86020","nome":"Roccavivara"},{"code":"070061","cap":"86040","nome":"Rotello"},{"code":"070062","cap":"86026","nome":"Salcito"},{"code":"070063","cap":"86020","nome":"San Biase"},{"code":"070064","cap":"86030","nome":"San Felice del Molise"},{"code":"070065","cap":"86030","nome":"San Giacomo degli Schiavoni"},{"code":"070066","cap":"86010","nome":"San Giovanni in Galdo"},{"code":"070067","cap":"86010","nome":"San Giuliano del Sannio"},{"code":"070068","cap":"86040","nome":"San Giuliano di Puglia"},{"code":"070069","cap":"86046","nome":"San Martino in Pensilis"},{"code":"070070","cap":"86027","nome":"San Massimo"},{"code":"070071","cap":"86020","nome":"San Polo Matese"},{"code":"070072","cap":"86047","nome":"Santa Croce di Magliano"},{"code":"070073","cap":"86020","nome":"Sant\'Angelo Limosano"},{"code":"070074","cap":"86048","nome":"Sant\'Elia a Pianisi"},{"code":"070075","cap":"86017","nome":"Sepino"},{"code":"070076","cap":"86020","nome":"Spinete"},{"code":"070077","cap":"86030","nome":"Tavenna"},{"code":"070078","cap":"86039","nome":"Termoli"},{"code":"070079","cap":"86028","nome":"Torella del Sannio"},{"code":"070080","cap":"86018","nome":"Toro"},{"code":"070081","cap":"86029","nome":"Trivento"},{"code":"070082","cap":"86010","nome":"Tufara"},{"code":"070083","cap":"86049","nome":"Ururi"},{"code":"070084","cap":"86019","nome":"Vinchiaturo"}],"nome":"Campobasso"},{"code":"IS","comuni":[{"code":"094001","cap":"86080","nome":"Acquaviva d\'Isernia"},{"code":"094002","cap":"86081","nome":"Agnone"},{"code":"094003","cap":"86091","nome":"Bagnoli del Trigno"},{"code":"094004","cap":"86080","nome":"Belmonte del Sannio"},{"code":"094005","cap":"86092","nome":"Cantalupo nel Sannio"},{"code":"094006","cap":"86082","nome":"Capracotta"},{"code":"094007","cap":"86083","nome":"Carovilli"},{"code":"094008","cap":"86093","nome":"Carpinone"},{"code":"094009","cap":"86080","nome":"Castel del Giudice"},{"code":"094012","cap":"86071","nome":"Castel San Vincenzo"},{"code":"094010","cap":"86090","nome":"Castelpetroso"},{"code":"094011","cap":"86090","nome":"Castelpizzuto"},{"code":"094013","cap":"86080","nome":"Castelverrino"},{"code":"094014","cap":"86072","nome":"Cerro al Volturno"},{"code":"094015","cap":"86097","nome":"Chiauci"},{"code":"094016","cap":"86094","nome":"Civitanova del Sannio"},{"code":"094017","cap":"86073","nome":"Colli a Volturno"},{"code":"094018","cap":"86070","nome":"Conca Casale"},{"code":"094019","cap":"86074","nome":"Filignano"},{"code":"094020","cap":"86084","nome":"Forl\xec del Sannio"},{"code":"094021","cap":"86070","nome":"Fornelli"},{"code":"094022","cap":"86095","nome":"Frosolone"},{"code":"094023","cap":"86170","nome":"Isernia"},{"code":"094024","cap":"86090","nome":"Longano"},{"code":"094025","cap":"86070","nome":"Macchia d\'Isernia"},{"code":"094026","cap":"86096","nome":"Macchiagodena"},{"code":"094027","cap":"86080","nome":"Miranda"},{"code":"094028","cap":"86070","nome":"Montaquila"},{"code":"094029","cap":"86080","nome":"Montenero Val Cocchiara"},{"code":"094030","cap":"86075","nome":"Monteroduni"},{"code":"094031","cap":"86090","nome":"Pesche"},{"code":"094032","cap":"86097","nome":"Pescolanciano"},{"code":"094033","cap":"86080","nome":"Pescopennataro"},{"code":"094034","cap":"86090","nome":"Pettoranello del Molise"},{"code":"094035","cap":"86085","nome":"Pietrabbondante"},{"code":"094036","cap":"86071","nome":"Pizzone"},{"code":"094037","cap":"86086","nome":"Poggio Sannita"},{"code":"094038","cap":"86077","nome":"Pozzilli"},{"code":"094039","cap":"86087","nome":"Rionero Sannitico"},{"code":"094040","cap":"86092","nome":"Roccamandolfi"},{"code":"094041","cap":"86080","nome":"Roccasicura"},{"code":"094042","cap":"86070","nome":"Rocchetta a Volturno"},{"code":"094043","cap":"86088","nome":"San Pietro Avellana"},{"code":"094045","cap":"86096","nome":"Santa Maria del Molise"},{"code":"094044","cap":"86070","nome":"Sant\'Agapito"},{"code":"094046","cap":"86080","nome":"Sant\'Angelo del Pesco"},{"code":"094047","cap":"86095","nome":"Sant\'Elena Sannita"},{"code":"094048","cap":"86070","nome":"Scapoli"},{"code":"094049","cap":"86097","nome":"Sessano del Molise"},{"code":"094050","cap":"86078","nome":"Sesto Campano"},{"code":"094051","cap":"86089","nome":"Vastogirardi"},{"code":"094052","cap":"86079","nome":"Venafro"}],"nome":"Isernia"}],"nome":"Molise"},{"province":[{"code":"AL","comuni":[{"code":"006001","cap":"15011","nome":"Acqui Terme"},{"code":"006002","cap":"15060","nome":"Albera Ligure"},{"code":"006003","cap":"1512x","nome":"Alessandria"},{"code":"006004","cap":"15021","nome":"Alfiano Natta"},{"code":"006005","cap":"15010","nome":"Alice Bel Colle"},{"code":"006006","cap":"15040","nome":"Alluvioni Cambi\xf2"},{"code":"006007","cap":"15041","nome":"Altavilla Monferrato"},{"code":"006008","cap":"15050","nome":"Alzano Scrivia"},{"code":"006009","cap":"15061","nome":"Arquata Scrivia"},{"code":"006010","cap":"15050","nome":"Avolasca"},{"code":"006011","cap":"15031","nome":"Balzola"},{"code":"006012","cap":"15060","nome":"Basaluzzo"},{"code":"006013","cap":"15042","nome":"Bassignana"},{"code":"006014","cap":"15070","nome":"Belforte Monferrato"},{"code":"006015","cap":"15022","nome":"Bergamasco"},{"code":"006016","cap":"15050","nome":"Berzano di Tortona"},{"code":"006017","cap":"15012","nome":"Bistagno"},{"code":"006018","cap":"15060","nome":"Borghetto di Borbera"},{"code":"006020","cap":"15032","nome":"Borgo San Martino"},{"code":"006019","cap":"15013","nome":"Borgoratto Alessandrino"},{"code":"006021","cap":"15062","nome":"Bosco Marengo"},{"code":"006022","cap":"15060","nome":"Bosio"},{"code":"006023","cap":"15040","nome":"Bozzole"},{"code":"006024","cap":"15050","nome":"Brignano-Frascata"},{"code":"006025","cap":"15060","nome":"Cabella Ligure"},{"code":"006026","cap":"15030","nome":"Camagna Monferrato"},{"code":"006027","cap":"15020","nome":"Camino"},{"code":"006028","cap":"15060","nome":"Cantalupo Ligure"},{"code":"006029","cap":"15060","nome":"Capriata d\'Orba"},{"code":"006030","cap":"15050","nome":"Carbonara Scrivia"},{"code":"006031","cap":"15026","nome":"Carentino"},{"code":"006032","cap":"15051","nome":"Carezzano"},{"code":"006033","cap":"15071","nome":"Carpeneto"},{"code":"006034","cap":"15060","nome":"Carrega Ligure"},{"code":"006035","cap":"15060","nome":"Carrosio"},{"code":"006036","cap":"15015","nome":"Cartosio"},{"code":"006037","cap":"15072","nome":"Casal Cermelli"},{"code":"006039","cap":"15033","nome":"Casale Monferrato"},{"code":"006038","cap":"15070","nome":"Casaleggio Boiro"},{"code":"006040","cap":"15052","nome":"Casalnoceto"},{"code":"006041","cap":"15050","nome":"Casasco"},{"code":"006042","cap":"15063","nome":"Cassano Spinola"},{"code":"006043","cap":"15016","nome":"Cassine"},{"code":"006044","cap":"15070","nome":"Cassinelle"},{"code":"006045","cap":"15051","nome":"Castellania"},{"code":"006046","cap":"15050","nome":"Castellar Guidobono"},{"code":"006047","cap":"15073","nome":"Castellazzo Bormida"},{"code":"006048","cap":"15010","nome":"Castelletto d\'Erro"},{"code":"006049","cap":"15060","nome":"Castelletto d\'Orba"},{"code":"006050","cap":"15020","nome":"Castelletto Merli"},{"code":"006051","cap":"15040","nome":"Castelletto Monferrato"},{"code":"006052","cap":"15017","nome":"Castelnuovo Bormida"},{"code":"006053","cap":"15053","nome":"Castelnuovo Scrivia"},{"code":"006054","cap":"15070","nome":"Castelspina"},{"code":"006055","cap":"15010","nome":"Cavatore"},{"code":"006056","cap":"15034","nome":"Cella Monte"},{"code":"006057","cap":"15020","nome":"Cereseto"},{"code":"006058","cap":"15050","nome":"Cerreto Grue"},{"code":"006059","cap":"15020","nome":"Cerrina Monferrato"},{"code":"006060","cap":"15030","nome":"Coniolo"},{"code":"006061","cap":"15030","nome":"Conzano"},{"code":"006062","cap":"15050","nome":"Costa Vescovato"},{"code":"006063","cap":"15010","nome":"Cremolino"},{"code":"006064","cap":"15040","nome":"Cuccaro Monferrato"},{"code":"006065","cap":"15010","nome":"Denice"},{"code":"006066","cap":"15056","nome":"Dernice"},{"code":"006067","cap":"15054","nome":"Fabbrica Curone"},{"code":"006068","cap":"15023","nome":"Felizzano"},{"code":"006069","cap":"15060","nome":"Fraconalto"},{"code":"006070","cap":"15060","nome":"Francavilla Bisio"},{"code":"006071","cap":"15010","nome":"Frascaro"},{"code":"006072","cap":"15035","nome":"Frassinello Monferrato"},{"code":"006073","cap":"15040","nome":"Frassineto Po"},{"code":"006074","cap":"15064","nome":"Fresonara"},{"code":"006075","cap":"15065","nome":"Frugarolo"},{"code":"006076","cap":"15043","nome":"Fubine"},{"code":"006077","cap":"15020","nome":"Gabiano"},{"code":"006078","cap":"15010","nome":"Gamalero"},{"code":"006079","cap":"15050","nome":"Garbagna"},{"code":"006080","cap":"15063","nome":"Gavazzana"},{"code":"006081","cap":"15066","nome":"Gavi"},{"code":"006082","cap":"15036","nome":"Giarole"},{"code":"006083","cap":"15056","nome":"Gremiasco"},{"code":"006084","cap":"15010","nome":"Grognardo"},{"code":"006085","cap":"15060","nome":"Grondona"},{"code":"006086","cap":"15050","nome":"Guazzora"},{"code":"006087","cap":"15050","nome":"Isola Sant\'Antonio"},{"code":"006088","cap":"15070","nome":"Lerma"},{"code":"006089","cap":"15040","nome":"Lu"},{"code":"006090","cap":"15015","nome":"Malvicino"},{"code":"006091","cap":"15024","nome":"Masio"},{"code":"006092","cap":"15010","nome":"Melazzo"},{"code":"006093","cap":"15010","nome":"Merana"},{"code":"006094","cap":"15040","nome":"Mirabello Monferrato"},{"code":"006095","cap":"15074","nome":"Molare"},{"code":"006096","cap":"15050","nome":"Molino dei Torti"},{"code":"006097","cap":"15020","nome":"Mombello Monferrato"},{"code":"006098","cap":"15050","nome":"Momperone"},{"code":"006099","cap":"15020","nome":"Moncestino"},{"code":"006100","cap":"15060","nome":"Mongiardino Ligure"},{"code":"006101","cap":"15059","nome":"Monleale"},{"code":"006102","cap":"15050","nome":"Montacuto"},{"code":"006103","cap":"15060","nome":"Montaldeo"},{"code":"006104","cap":"15010","nome":"Montaldo Bormida"},{"code":"006105","cap":"15040","nome":"Montecastello"},{"code":"006106","cap":"15010","nome":"Montechiaro d\'Acqui"},{"code":"006107","cap":"15050","nome":"Montegioco"},{"code":"006108","cap":"15050","nome":"Montemarzino"},{"code":"006109","cap":"15025","nome":"Morano sul Po"},{"code":"006110","cap":"15010","nome":"Morbello"},{"code":"006111","cap":"15075","nome":"Mornese"},{"code":"006112","cap":"15010","nome":"Morsasco"},{"code":"006113","cap":"15020","nome":"Murisengo"},{"code":"006114","cap":"15067","nome":"Novi Ligure"},{"code":"006115","cap":"15040","nome":"Occimiano"},{"code":"006116","cap":"15020","nome":"Odalengo Grande"},{"code":"006117","cap":"15020","nome":"Odalengo Piccolo"},{"code":"006118","cap":"15030","nome":"Olivola"},{"code":"006119","cap":"15010","nome":"Orsara Bormida"},{"code":"006120","cap":"15038","nome":"Ottiglio"},{"code":"006121","cap":"15076","nome":"Ovada"},{"code":"006122","cap":"15026","nome":"Oviglio"},{"code":"006123","cap":"15039","nome":"Ozzano Monferrato"},{"code":"006124","cap":"15050","nome":"Paderna"},{"code":"006125","cap":"15010","nome":"Pareto"},{"code":"006126","cap":"15060","nome":"Parodi Ligure"},{"code":"006127","cap":"15060","nome":"Pasturana"},{"code":"006128","cap":"15040","nome":"Pecetto di Valenza"},{"code":"006129","cap":"15040","nome":"Pietra Marazzi"},{"code":"006130","cap":"15040","nome":"Piovera"},{"code":"006131","cap":"15040","nome":"Pomaro Monferrato"},{"code":"006132","cap":"15055","nome":"Pontecurone"},{"code":"006133","cap":"15027","nome":"Pontestura"},{"code":"006134","cap":"15010","nome":"Ponti"},{"code":"006135","cap":"15020","nome":"Ponzano Monferrato"},{"code":"006136","cap":"15010","nome":"Ponzone"},{"code":"006137","cap":"15050","nome":"Pozzol Groppo"},{"code":"006138","cap":"15068","nome":"Pozzolo Formigaro"},{"code":"006139","cap":"15010","nome":"Prasco"},{"code":"006140","cap":"15077","nome":"Predosa"},{"code":"006141","cap":"15044","nome":"Quargnento"},{"code":"006142","cap":"15028","nome":"Quattordio"},{"code":"006143","cap":"15010","nome":"Ricaldone"},{"code":"006144","cap":"15010","nome":"Rivalta Bormida"},{"code":"006145","cap":"15040","nome":"Rivarone"},{"code":"006147","cap":"15078","nome":"Rocca Grimalda"},{"code":"006146","cap":"15060","nome":"Roccaforte Ligure"},{"code":"006148","cap":"15060","nome":"Rocchetta Ligure"},{"code":"006149","cap":"15030","nome":"Rosignano Monferrato"},{"code":"006150","cap":"15030","nome":"Sala Monferrato"},{"code":"006151","cap":"15045","nome":"Sale"},{"code":"006152","cap":"15060","nome":"San Cristoforo"},{"code":"006153","cap":"15020","nome":"San Giorgio Monferrato"},{"code":"006154","cap":"15046","nome":"San Salvatore Monferrato"},{"code":"006155","cap":"15056","nome":"San Sebastiano Curone"},{"code":"006156","cap":"15050","nome":"Sant\'Agata Fossili"},{"code":"006157","cap":"15060","nome":"Sardigliano"},{"code":"006158","cap":"15050","nome":"Sarezzano"},{"code":"006159","cap":"15020","nome":"Serralunga di Crea"},{"code":"006160","cap":"15069","nome":"Serravalle Scrivia"},{"code":"006161","cap":"15079","nome":"Sezzadio"},{"code":"006162","cap":"15060","nome":"Silvano d\'Orba"},{"code":"006163","cap":"15029","nome":"Solero"},{"code":"006164","cap":"15020","nome":"Solonghello"},{"code":"006165","cap":"15018","nome":"Spigno Monferrato"},{"code":"006166","cap":"15050","nome":"Spineto Scrivia"},{"code":"006167","cap":"15060","nome":"Stazzano"},{"code":"006168","cap":"15019","nome":"Strevi"},{"code":"006169","cap":"15070","nome":"Tagliolo Monferrato"},{"code":"006170","cap":"15060","nome":"Tassarolo"},{"code":"006171","cap":"15030","nome":"Terruggia"},{"code":"006172","cap":"15010","nome":"Terzo"},{"code":"006173","cap":"15040","nome":"Ticineto"},{"code":"006174","cap":"15057","nome":"Tortona"},{"code":"006175","cap":"15030","nome":"Treville"},{"code":"006176","cap":"15070","nome":"Trisobbio"},{"code":"006177","cap":"15048","nome":"Valenza"},{"code":"006178","cap":"15040","nome":"Valmacca"},{"code":"006179","cap":"15049","nome":"Vignale Monferrato"},{"code":"006180","cap":"15060","nome":"Vignole Borbera"},{"code":"006181","cap":"15058","nome":"Viguzzolo"},{"code":"006182","cap":"15020","nome":"Villadeati"},{"code":"006183","cap":"15050","nome":"Villalvernia"},{"code":"006184","cap":"15020","nome":"Villamiroglio"},{"code":"006185","cap":"15030","nome":"Villanova Monferrato"},{"code":"006186","cap":"15050","nome":"Villaromagnano"},{"code":"006187","cap":"15010","nome":"Visone"},{"code":"006188","cap":"15059","nome":"Volpedo"},{"code":"006189","cap":"15050","nome":"Volpeglino"},{"code":"006190","cap":"15060","nome":"Voltaggio"}],"nome":"Alessandria"},{"code":"AT","comuni":[{"code":"005001","cap":"14041","nome":"Agliano Terme"},{"code":"005002","cap":"14022","nome":"Albugnano"},{"code":"005003","cap":"14010","nome":"Antignano"},{"code":"005004","cap":"14020","nome":"Aramengo"},{"code":"005005","cap":"14100","nome":"Asti"},{"code":"005006","cap":"14030","nome":"Azzano d\'Asti"},{"code":"005007","cap":"14011","nome":"Baldichieri d\'Asti"},{"code":"005008","cap":"14040","nome":"Belveglio"},{"code":"005009","cap":"14020","nome":"Berzano di San Pietro"},{"code":"005010","cap":"14046","nome":"Bruno"},{"code":"005011","cap":"14051","nome":"Bubbio"},{"code":"005012","cap":"14021","nome":"Buttigliera d\'Asti"},{"code":"005013","cap":"14042","nome":"Calamandrana"},{"code":"005014","cap":"14031","nome":"Calliano"},{"code":"005015","cap":"14052","nome":"Calosso"},{"code":"005016","cap":"14020","nome":"Camerano Casasco"},{"code":"005017","cap":"14053","nome":"Canelli"},{"code":"005018","cap":"14010","nome":"Cantarana"},{"code":"005019","cap":"14014","nome":"Capriglio"},{"code":"005020","cap":"14032","nome":"Casorzo"},{"code":"005021","cap":"14050","nome":"Cassinasco"},{"code":"005022","cap":"14054","nome":"Castagnole delle Lanze"},{"code":"005023","cap":"14030","nome":"Castagnole Monferrato"},{"code":"005024","cap":"14040","nome":"Castel Boglione"},{"code":"005032","cap":"14044","nome":"Castel Rocchero"},{"code":"005025","cap":"14033","nome":"Castell\'Alfero"},{"code":"005026","cap":"14013","nome":"Castellero"},{"code":"005027","cap":"14040","nome":"Castelletto Molina"},{"code":"005028","cap":"14034","nome":"Castello di Annone"},{"code":"005029","cap":"14043","nome":"Castelnuovo Belbo"},{"code":"005030","cap":"14040","nome":"Castelnuovo Calcea"},{"code":"005031","cap":"14022","nome":"Castelnuovo Don Bosco"},{"code":"005033","cap":"14010","nome":"Cellarengo"},{"code":"005034","cap":"14010","nome":"Celle Enomondo"},{"code":"005035","cap":"14020","nome":"Cerreto d\'Asti"},{"code":"005036","cap":"14030","nome":"Cerro Tanaro"},{"code":"005037","cap":"14050","nome":"Cessole"},{"code":"005038","cap":"14025","nome":"Chiusano d\'Asti"},{"code":"005039","cap":"14020","nome":"Cinaglio"},{"code":"005040","cap":"14010","nome":"Cisterna d\'Asti"},{"code":"005041","cap":"14054","nome":"Coazzolo"},{"code":"005042","cap":"14023","nome":"Cocconato"},{"code":"005044","cap":"14020","nome":"Corsione"},{"code":"005045","cap":"14013","nome":"Cortandone"},{"code":"005046","cap":"14020","nome":"Cortanze"},{"code":"005047","cap":"14010","nome":"Cortazzone"},{"code":"005048","cap":"14040","nome":"Cortiglione"},{"code":"005049","cap":"14020","nome":"Cossombrato"},{"code":"005050","cap":"14055","nome":"Costigliole d\'Asti"},{"code":"005051","cap":"14026","nome":"Cunico"},{"code":"005052","cap":"14010","nome":"Dusino San Michele"},{"code":"005053","cap":"14012","nome":"Ferrere"},{"code":"005054","cap":"14044","nome":"Fontanile"},{"code":"005055","cap":"14030","nome":"Frinco"},{"code":"005056","cap":"14031","nome":"Grana"},{"code":"005057","cap":"14035","nome":"Grazzano Badoglio"},{"code":"005058","cap":"14045","nome":"Incisa Scapaccino"},{"code":"005059","cap":"14057","nome":"Isola d\'Asti"},{"code":"005060","cap":"14051","nome":"Loazzolo"},{"code":"005061","cap":"14040","nome":"Maranzana"},{"code":"005062","cap":"14018","nome":"Maretto"},{"code":"005063","cap":"14050","nome":"Moasca"},{"code":"005064","cap":"14050","nome":"Mombaldone"},{"code":"005065","cap":"14046","nome":"Mombaruzzo"},{"code":"005066","cap":"14047","nome":"Mombercelli"},{"code":"005067","cap":"14013","nome":"Monale"},{"code":"005068","cap":"14058","nome":"Monastero Bormida"},{"code":"005069","cap":"14036","nome":"Moncalvo"},{"code":"005070","cap":"14024","nome":"Moncucco Torinese"},{"code":"005071","cap":"14040","nome":"Mongardino"},{"code":"005072","cap":"14040","nome":"Montabone"},{"code":"005073","cap":"14014","nome":"Montafia"},{"code":"005074","cap":"14048","nome":"Montaldo Scarampi"},{"code":"005075","cap":"14025","nome":"Montechiaro d\'Asti"},{"code":"005076","cap":"14048","nome":"Montegrosso d\'Asti"},{"code":"005077","cap":"14030","nome":"Montemagno"},{"code":"005121","cap":"14026","nome":"Montiglio Monferrato"},{"code":"005079","cap":"14023","nome":"Moransengo"},{"code":"005080","cap":"14049","nome":"Nizza Monferrato"},{"code":"005081","cap":"14050","nome":"Olmo Gentile"},{"code":"005082","cap":"14020","nome":"Passerano Marmorito"},{"code":"005083","cap":"14030","nome":"Penango"},{"code":"005084","cap":"14020","nome":"Piea"},{"code":"005085","cap":"14020","nome":"Pino d\'Asti"},{"code":"005086","cap":"14026","nome":"Piov\xe0 Massaia"},{"code":"005087","cap":"14037","nome":"Portacomaro"},{"code":"005088","cap":"14040","nome":"Quaranti"},{"code":"005089","cap":"14030","nome":"Refrancore"},{"code":"005090","cap":"14010","nome":"Revigliasco d\'Asti"},{"code":"005091","cap":"14018","nome":"Roatto"},{"code":"005092","cap":"14020","nome":"Robella"},{"code":"005093","cap":"14030","nome":"Rocca d\'Arazzo"},{"code":"005094","cap":"14050","nome":"Roccaverano"},{"code":"005095","cap":"14042","nome":"Rocchetta Palafea"},{"code":"005096","cap":"14030","nome":"Rocchetta Tanaro"},{"code":"005097","cap":"14015","nome":"San Damiano d\'Asti"},{"code":"005098","cap":"14059","nome":"San Giorgio Scarampi"},{"code":"005099","cap":"14010","nome":"San Martino Alfieri"},{"code":"005100","cap":"14050","nome":"San Marzano Oliveto"},{"code":"005101","cap":"14010","nome":"San Paolo Solbrito"},{"code":"005103","cap":"14030","nome":"Scurzolengo"},{"code":"005104","cap":"14050","nome":"Serole"},{"code":"005105","cap":"14058","nome":"Sessame"},{"code":"005106","cap":"14020","nome":"Settime"},{"code":"005107","cap":"14020","nome":"Soglio"},{"code":"005108","cap":"14016","nome":"Tigliole"},{"code":"005109","cap":"14039","nome":"Tonco"},{"code":"005110","cap":"14023","nome":"Tonengo"},{"code":"005111","cap":"14049","nome":"Vaglio Serra"},{"code":"005112","cap":"14017","nome":"Valfenera"},{"code":"005113","cap":"14059","nome":"Vesime"},{"code":"005114","cap":"14010","nome":"Viale"},{"code":"005115","cap":"14030","nome":"Viarigi"},{"code":"005116","cap":"14040","nome":"Vigliano d\'Asti"},{"code":"005119","cap":"14020","nome":"Villa San Secondo"},{"code":"005117","cap":"14018","nome":"Villafranca d\'Asti"},{"code":"005118","cap":"14019","nome":"Villanova d\'Asti"},{"code":"005120","cap":"14040","nome":"Vinchio"}],"nome":"Asti"},{"code":"BI","comuni":[{"code":"096001","cap":"13861","nome":"Ailoche"},{"code":"096002","cap":"13811","nome":"Andorno Micca"},{"code":"096003","cap":"13871","nome":"Benna"},{"code":"096004","cap":"13900","nome":"Biella"},{"code":"096005","cap":"13841","nome":"Bioglio"},{"code":"096006","cap":"13872","nome":"Borriana"},{"code":"096007","cap":"13862","nome":"Brusnengo"},{"code":"096008","cap":"13821","nome":"Callabiana"},{"code":"096009","cap":"13821","nome":"Camandona"},{"code":"096010","cap":"13891","nome":"Camburzano"},{"code":"096011","cap":"13812","nome":"Campiglia Cervo"},{"code":"096012","cap":"13878","nome":"Candelo"},{"code":"096013","cap":"13864","nome":"Caprile"},{"code":"096014","cap":"13866","nome":"Casapinta"},{"code":"096015","cap":"13851","nome":"Castelletto Cervo"},{"code":"096016","cap":"13881","nome":"Cavagli\xe0"},{"code":"096017","cap":"13852","nome":"Cerreto Castello"},{"code":"096018","cap":"13882","nome":"Cerrione"},{"code":"096019","cap":"13863","nome":"Coggiola"},{"code":"096020","cap":"13836","nome":"Cossato"},{"code":"096021","cap":"13864","nome":"Crevacuore"},{"code":"096022","cap":"13853","nome":"Crosa"},{"code":"096023","cap":"13865","nome":"Curino"},{"code":"096024","cap":"13893","nome":"Donato"},{"code":"096025","cap":"13881","nome":"Dorzano"},{"code":"096026","cap":"13894","nome":"Gaglianico"},{"code":"096027","cap":"13874","nome":"Gifflenga"},{"code":"096028","cap":"13895","nome":"Graglia"},{"code":"096029","cap":"13853","nome":"Lessona"},{"code":"096030","cap":"13887","nome":"Magnano"},{"code":"096031","cap":"13873","nome":"Massazza"},{"code":"096032","cap":"13866","nome":"Masserano"},{"code":"096033","cap":"13831","nome":"Mezzana Mortigliengo"},{"code":"096034","cap":"13816","nome":"Miagliano"},{"code":"096035","cap":"13888","nome":"Mongrando"},{"code":"096084","cap":"13822","nome":"Mosso"},{"code":"096037","cap":"13874","nome":"Mottalciata"},{"code":"096038","cap":"13895","nome":"Muzzano"},{"code":"096039","cap":"13896","nome":"Netro"},{"code":"096040","cap":"13897","nome":"Occhieppo Inferiore"},{"code":"096041","cap":"13898","nome":"Occhieppo Superiore"},{"code":"096042","cap":"13843","nome":"Pettinengo"},{"code":"096043","cap":"13844","nome":"Piatto"},{"code":"096044","cap":"13812","nome":"Piedicavallo"},{"code":"096046","cap":"13814","nome":"Pollone"},{"code":"096047","cap":"13875","nome":"Ponderano"},{"code":"096048","cap":"13833","nome":"Portula"},{"code":"096049","cap":"13899","nome":"Pralungo"},{"code":"096050","cap":"13867","nome":"Pray"},{"code":"096051","cap":"13854","nome":"Quaregna"},{"code":"096052","cap":"13812","nome":"Quittengo"},{"code":"096053","cap":"13845","nome":"Ronco Biellese"},{"code":"096054","cap":"13883","nome":"Roppolo"},{"code":"096055","cap":"13815","nome":"Rosazza"},{"code":"096056","cap":"13816","nome":"Sagliano Micca"},{"code":"096057","cap":"13884","nome":"Sala Biellese"},{"code":"096058","cap":"13885","nome":"Salussola"},{"code":"096060","cap":"13812","nome":"San Paolo Cervo"},{"code":"096059","cap":"13876","nome":"Sandigliano"},{"code":"096061","cap":"13841","nome":"Selve Marcone"},{"code":"096062","cap":"13834","nome":"Soprana"},{"code":"096063","cap":"13817","nome":"Sordevolo"},{"code":"096064","cap":"13868","nome":"Sostegno"},{"code":"096065","cap":"13823","nome":"Strona"},{"code":"096066","cap":"13811","nome":"Tavigliano"},{"code":"096067","cap":"13844","nome":"Ternengo"},{"code":"096068","cap":"13818","nome":"Tollegno"},{"code":"096069","cap":"13884","nome":"Torrazzo"},{"code":"096070","cap":"13835","nome":"Trivero"},{"code":"096071","cap":"13855","nome":"Valdengo"},{"code":"096072","cap":"13847","nome":"Vallanzengo"},{"code":"096073","cap":"13825","nome":"Valle Mosso"},{"code":"096074","cap":"13847","nome":"Valle San Nicolao"},{"code":"096075","cap":"13824","nome":"Veglio"},{"code":"096076","cap":"13871","nome":"Verrone"},{"code":"096077","cap":"13856","nome":"Vigliano Biellese"},{"code":"096078","cap":"13868","nome":"Villa del Bosco"},{"code":"096079","cap":"13877","nome":"Villanova Biellese"},{"code":"096080","cap":"13886","nome":"Viverone"},{"code":"096081","cap":"13887","nome":"Zimone"},{"code":"096082","cap":"13888","nome":"Zubiena"},{"code":"096083","cap":"13848","nome":"Zumaglia"}],"nome":"Biella"},{"code":"CN","comuni":[{"code":"004001","cap":"12021","nome":"Acceglio"},{"code":"004002","cap":"12010","nome":"Aisone"},{"code":"004003","cap":"12051","nome":"Alba"},{"code":"004004","cap":"12050","nome":"Albaretto della Torre"},{"code":"004005","cap":"12070","nome":"Alto"},{"code":"004006","cap":"12010","nome":"Argentera"},{"code":"004007","cap":"12050","nome":"Arguello"},{"code":"004008","cap":"12071","nome":"Bagnasco"},{"code":"004009","cap":"12031","nome":"Bagnolo Piemonte"},{"code":"004010","cap":"12040","nome":"Baldissero d\'Alba"},{"code":"004011","cap":"12050","nome":"Barbaresco"},{"code":"004012","cap":"12032","nome":"Barge"},{"code":"004013","cap":"12060","nome":"Barolo"},{"code":"004014","cap":"12060","nome":"Bastia Mondov\xec"},{"code":"004015","cap":"12070","nome":"Battifollo"},{"code":"004016","cap":"12081","nome":"Beinette"},{"code":"004017","cap":"12020","nome":"Bellino"},{"code":"004018","cap":"12060","nome":"Belvedere Langhe"},{"code":"004019","cap":"12041","nome":"Bene Vagienna"},{"code":"004020","cap":"12050","nome":"Benevello"},{"code":"004021","cap":"12074","nome":"Bergolo"},{"code":"004022","cap":"12010","nome":"Bernezzo"},{"code":"004023","cap":"12060","nome":"Bonvicino"},{"code":"004025","cap":"12011","nome":"Borgo San Dalmazzo"},{"code":"004024","cap":"12050","nome":"Borgomale"},{"code":"004026","cap":"12050","nome":"Bosia"},{"code":"004027","cap":"12060","nome":"Bossolasco"},{"code":"004028","cap":"12012","nome":"Boves"},{"code":"004029","cap":"12042","nome":"Bra"},{"code":"004030","cap":"12080","nome":"Briaglia"},{"code":"004031","cap":"18025","nome":"Briga Alta"},{"code":"004032","cap":"12030","nome":"Brondello"},{"code":"004033","cap":"12020","nome":"Brossasco"},{"code":"004034","cap":"12022","nome":"Busca"},{"code":"004035","cap":"12072","nome":"Camerana"},{"code":"004036","cap":"12050","nome":"Camo"},{"code":"004037","cap":"12043","nome":"Canale"},{"code":"004038","cap":"12020","nome":"Canosio"},{"code":"004039","cap":"12070","nome":"Caprauna"},{"code":"004040","cap":"12023","nome":"Caraglio"},{"code":"004041","cap":"12030","nome":"Caramagna Piemonte"},{"code":"004042","cap":"12030","nome":"Card\xe8"},{"code":"004043","cap":"12061","nome":"Carr\xf9"},{"code":"004044","cap":"12020","nome":"Cartignano"},{"code":"004045","cap":"12030","nome":"Casalgrasso"},{"code":"004046","cap":"12050","nome":"Castagnito"},{"code":"004047","cap":"12020","nome":"Casteldelfino"},{"code":"004048","cap":"12030","nome":"Castellar"},{"code":"004049","cap":"12040","nome":"Castelletto Stura"},{"code":"004050","cap":"12070","nome":"Castelletto Uzzone"},{"code":"004051","cap":"12050","nome":"Castellinaldo"},{"code":"004052","cap":"12060","nome":"Castellino Tanaro"},{"code":"004053","cap":"12020","nome":"Castelmagno"},{"code":"004054","cap":"12070","nome":"Castelnuovo di Ceva"},{"code":"004055","cap":"12060","nome":"Castiglione Falletto"},{"code":"004056","cap":"12053","nome":"Castiglione Tinella"},{"code":"004057","cap":"12050","nome":"Castino"},{"code":"004058","cap":"12030","nome":"Cavallerleone"},{"code":"004059","cap":"12030","nome":"Cavallermaggiore"},{"code":"004060","cap":"12020","nome":"Celle di Macra"},{"code":"004061","cap":"12044","nome":"Centallo"},{"code":"004062","cap":"12040","nome":"Ceresole Alba"},{"code":"004063","cap":"12050","nome":"Cerretto Langhe"},{"code":"004064","cap":"12010","nome":"Cervasca"},{"code":"004065","cap":"12040","nome":"Cervere"},{"code":"004066","cap":"12073","nome":"Ceva"},{"code":"004067","cap":"12062","nome":"Cherasco"},{"code":"004068","cap":"12013","nome":"Chiusa di Pesio"},{"code":"004069","cap":"12060","nome":"Cigli\xe8"},{"code":"004070","cap":"12050","nome":"Cissone"},{"code":"004071","cap":"12060","nome":"Clavesana"},{"code":"004072","cap":"12040","nome":"Corneliano d\'Alba"},{"code":"004073","cap":"12074","nome":"Cortemilia"},{"code":"004074","cap":"12054","nome":"Cossano Belbo"},{"code":"004075","cap":"12024","nome":"Costigliole Saluzzo"},{"code":"004076","cap":"12050","nome":"Cravanzana"},{"code":"004077","cap":"12030","nome":"Crissolo"},{"code":"004078","cap":"12100","nome":"Cuneo"},{"code":"004079","cap":"12014","nome":"Demonte"},{"code":"004080","cap":"12055","nome":"Diano d\'Alba"},{"code":"004081","cap":"12063","nome":"Dogliani"},{"code":"004082","cap":"12025","nome":"Dronero"},{"code":"004083","cap":"12020","nome":"Elva"},{"code":"004084","cap":"12010","nome":"Entracque"},{"code":"004085","cap":"12030","nome":"Envie"},{"code":"004086","cap":"12060","nome":"Farigliano"},{"code":"004087","cap":"12030","nome":"Faule"},{"code":"004088","cap":"12050","nome":"Feisoglio"},{"code":"004089","cap":"12045","nome":"Fossano"},{"code":"004090","cap":"12082","nome":"Frabosa Soprana"},{"code":"004091","cap":"12083","nome":"Frabosa Sottana"},{"code":"004092","cap":"12020","nome":"Frassino"},{"code":"004093","cap":"12010","nome":"Gaiola"},{"code":"004094","cap":"12030","nome":"Gambasca"},{"code":"004095","cap":"12075","nome":"Garessio"},{"code":"004096","cap":"12040","nome":"Genola"},{"code":"004097","cap":"12070","nome":"Gorzegno"},{"code":"004098","cap":"12070","nome":"Gottasecca"},{"code":"004099","cap":"12040","nome":"Govone"},{"code":"004100","cap":"12060","nome":"Grinzane Cavour"},{"code":"004101","cap":"12050","nome":"Guarene"},{"code":"004102","cap":"12060","nome":"Igliano"},{"code":"004103","cap":"12020","nome":"Isasca"},{"code":"004105","cap":"12064","nome":"La Morra"},{"code":"004104","cap":"12030","nome":"Lagnasco"},{"code":"004106","cap":"12050","nome":"Lequio Berria"},{"code":"004107","cap":"12060","nome":"Lequio Tanaro"},{"code":"004108","cap":"12076","nome":"Lesegno"},{"code":"004109","cap":"12070","nome":"Levice"},{"code":"004110","cap":"12015","nome":"Limone Piemonte"},{"code":"004111","cap":"12070","nome":"Lisio"},{"code":"004112","cap":"12020","nome":"Macra"},{"code":"004113","cap":"12050","nome":"Magliano Alfieri"},{"code":"004114","cap":"12060","nome":"Magliano Alpi"},{"code":"004115","cap":"12056","nome":"Mango"},{"code":"004116","cap":"12030","nome":"Manta"},{"code":"004117","cap":"12030","nome":"Marene"},{"code":"004118","cap":"12040","nome":"Margarita"},{"code":"004119","cap":"12020","nome":"Marmora"},{"code":"004120","cap":"12060","nome":"Marsaglia"},{"code":"004121","cap":"12030","nome":"Martiniana Po"},{"code":"004122","cap":"12020","nome":"Melle"},{"code":"004123","cap":"12010","nome":"Moiola"},{"code":"004124","cap":"12070","nome":"Mombarcaro"},{"code":"004125","cap":"12070","nome":"Mombasiglio"},{"code":"004126","cap":"12080","nome":"Monastero di Vasco"},{"code":"004127","cap":"12080","nome":"Monasterolo Casotto"},{"code":"004128","cap":"12030","nome":"Monasterolo di Savigliano"},{"code":"004129","cap":"12060","nome":"Monchiero"},{"code":"004130","cap":"12084","nome":"Mondov\xec"},{"code":"004131","cap":"12077","nome":"Monesiglio"},{"code":"004132","cap":"12065","nome":"Monforte d\'Alba"},{"code":"004133","cap":"12046","nome":"Mont\xe0"},{"code":"004134","cap":"12080","nome":"Montaldo di Mondov\xec"},{"code":"004135","cap":"12040","nome":"Montaldo Roero"},{"code":"004136","cap":"12040","nome":"Montanera"},{"code":"004137","cap":"12050","nome":"Montelupo Albese"},{"code":"004138","cap":"12025","nome":"Montemale di Cuneo"},{"code":"004139","cap":"12020","nome":"Monterosso Grana"},{"code":"004140","cap":"12040","nome":"Monteu Roero"},{"code":"004141","cap":"12070","nome":"Montezemolo"},{"code":"004142","cap":"12066","nome":"Monticello d\'Alba"},{"code":"004143","cap":"12033","nome":"Moretta"},{"code":"004144","cap":"12040","nome":"Morozzo"},{"code":"004145","cap":"12060","nome":"Murazzano"},{"code":"004146","cap":"12030","nome":"Murello"},{"code":"004147","cap":"12068","nome":"Narzole"},{"code":"004148","cap":"12052","nome":"Neive"},{"code":"004149","cap":"12050","nome":"Neviglie"},{"code":"004150","cap":"12050","nome":"Niella Belbo"},{"code":"004151","cap":"12060","nome":"Niella Tanaro"},{"code":"004152","cap":"12060","nome":"Novello"},{"code":"004153","cap":"12070","nome":"Nucetto"},{"code":"004154","cap":"12030","nome":"Oncino"},{"code":"004155","cap":"12078","nome":"Ormea"},{"code":"004156","cap":"12030","nome":"Ostana"},{"code":"004157","cap":"12034","nome":"Paesana"},{"code":"004158","cap":"12030","nome":"Pagno"},{"code":"004159","cap":"12087","nome":"Pamparato"},{"code":"004160","cap":"12070","nome":"Paroldo"},{"code":"004161","cap":"12070","nome":"Perletto"},{"code":"004162","cap":"12070","nome":"Perlo"},{"code":"004163","cap":"12016","nome":"Peveragno"},{"code":"004164","cap":"12070","nome":"Pezzolo Valle Uzzone"},{"code":"004165","cap":"12080","nome":"Pianfei"},{"code":"004166","cap":"12026","nome":"Piasco"},{"code":"004167","cap":"12010","nome":"Pietraporzio"},{"code":"004168","cap":"12040","nome":"Piobesi d\'Alba"},{"code":"004169","cap":"12060","nome":"Piozzo"},{"code":"004170","cap":"12060","nome":"Pocapaglia"},{"code":"004171","cap":"12030","nome":"Polonghera"},{"code":"004172","cap":"12020","nome":"Pontechianale"},{"code":"004173","cap":"12027","nome":"Pradleves"},{"code":"004174","cap":"12028","nome":"Prazzo"},{"code":"004175","cap":"12070","nome":"Priero"},{"code":"004176","cap":"12040","nome":"Priocca"},{"code":"004177","cap":"12070","nome":"Priola"},{"code":"004178","cap":"12077","nome":"Prunetto"},{"code":"004179","cap":"12035","nome":"Racconigi"},{"code":"004180","cap":"12036","nome":"Revello"},{"code":"004181","cap":"12030","nome":"Rifreddo"},{"code":"004182","cap":"12010","nome":"Rittana"},{"code":"004183","cap":"12010","nome":"Roaschia"},{"code":"004184","cap":"12073","nome":"Roascio"},{"code":"004185","cap":"12017","nome":"Robilante"},{"code":"004186","cap":"12080","nome":"Roburent"},{"code":"004188","cap":"12060","nome":"Rocca Cigli\xe8"},{"code":"004189","cap":"12047","nome":"Rocca de\' Baldi"},{"code":"004187","cap":"12020","nome":"Roccabruna"},{"code":"004190","cap":"12088","nome":"Roccaforte Mondov\xec"},{"code":"004191","cap":"12010","nome":"Roccasparvera"},{"code":"004192","cap":"12018","nome":"Roccavione"},{"code":"004193","cap":"12050","nome":"Rocchetta Belbo"},{"code":"004194","cap":"12060","nome":"Roddi"},{"code":"004195","cap":"12050","nome":"Roddino"},{"code":"004196","cap":"12050","nome":"Rodello"},{"code":"004197","cap":"12020","nome":"Rossana"},{"code":"004198","cap":"12030","nome":"Ruffia"},{"code":"004199","cap":"12070","nome":"Sale delle Langhe"},{"code":"004200","cap":"12070","nome":"Sale San Giovanni"},{"code":"004201","cap":"12079","nome":"Saliceto"},{"code":"004202","cap":"12040","nome":"Salmour"},{"code":"004203","cap":"12037","nome":"Saluzzo"},{"code":"004204","cap":"12010","nome":"Sambuco"},{"code":"004205","cap":"12020","nome":"Sampeyre"},{"code":"004206","cap":"12050","nome":"San Benedetto Belbo"},{"code":"004207","cap":"12029","nome":"San Damiano Macra"},{"code":"004210","cap":"12080","nome":"San Michele Mondov\xec"},{"code":"004208","cap":"12040","nome":"Sanfr\xe8"},{"code":"004209","cap":"12030","nome":"Sanfront"},{"code":"004212","cap":"12069","nome":"Santa Vittoria d\'Alba"},{"code":"004211","cap":"12040","nome":"Sant\'Albano Stura"},{"code":"004213","cap":"12058","nome":"Santo Stefano Belbo"},{"code":"004214","cap":"12040","nome":"Santo Stefano Roero"},{"code":"004215","cap":"12038","nome":"Savigliano"},{"code":"004216","cap":"12070","nome":"Scagnello"},{"code":"004217","cap":"12030","nome":"Scarnafigi"},{"code":"004218","cap":"12050","nome":"Serralunga d\'Alba"},{"code":"004219","cap":"12050","nome":"Serravalle Langhe"},{"code":"004220","cap":"12050","nome":"Sinio"},{"code":"004221","cap":"12060","nome":"Somano"},{"code":"004222","cap":"12048","nome":"Sommariva del Bosco"},{"code":"004223","cap":"12040","nome":"Sommariva Perno"},{"code":"004224","cap":"12020","nome":"Stroppo"},{"code":"004225","cap":"12020","nome":"Tarantasca"},{"code":"004226","cap":"12050","nome":"Torre Bormida"},{"code":"004227","cap":"12080","nome":"Torre Mondov\xec"},{"code":"004228","cap":"12030","nome":"Torre San Giorgio"},{"code":"004229","cap":"12070","nome":"Torresina"},{"code":"004230","cap":"12050","nome":"Treiso"},{"code":"004231","cap":"12050","nome":"Trezzo Tinella"},{"code":"004232","cap":"12049","nome":"Trinit\xe0"},{"code":"004233","cap":"12010","nome":"Valdieri"},{"code":"004234","cap":"12020","nome":"Valgrana"},{"code":"004235","cap":"12010","nome":"Valloriate"},{"code":"004236","cap":"12020","nome":"Valmala"},{"code":"004237","cap":"12020","nome":"Venasca"},{"code":"004238","cap":"12060","nome":"Verduno"},{"code":"004239","cap":"12019","nome":"Vernante"},{"code":"004240","cap":"12039","nome":"Verzuolo"},{"code":"004241","cap":"12040","nome":"Vezza d\'Alba"},{"code":"004242","cap":"12080","nome":"Vicoforte"},{"code":"004243","cap":"12010","nome":"Vignolo"},{"code":"004244","cap":"12020","nome":"Villafalletto"},{"code":"004245","cap":"12089","nome":"Villanova Mondov\xec"},{"code":"004246","cap":"12030","nome":"Villanova Solaro"},{"code":"004247","cap":"12020","nome":"Villar San Costanzo"},{"code":"004248","cap":"12010","nome":"Vinadio"},{"code":"004249","cap":"12070","nome":"Viola"},{"code":"004250","cap":"12020","nome":"Vottignasco"}],"nome":"Cuneo"},{"code":"NO","comuni":[{"code":"003001","cap":"28010","nome":"Agrate Conturbia"},{"code":"003002","cap":"28010","nome":"Ameno"},{"code":"003006","cap":"28011","nome":"Armeno"},{"code":"003008","cap":"28041","nome":"Arona"},{"code":"003012","cap":"28010","nome":"Barengo"},{"code":"003016","cap":"28043","nome":"Bellinzago Novarese"},{"code":"003018","cap":"28061","nome":"Biandrate"},{"code":"003019","cap":"28010","nome":"Boca"},{"code":"003021","cap":"28010","nome":"Bogogno"},{"code":"003022","cap":"28010","nome":"Bolzano Novarese"},{"code":"003025","cap":"28040","nome":"Borgo Ticino"},{"code":"003023","cap":"28071","nome":"Borgolavezzaro"},{"code":"003024","cap":"28021","nome":"Borgomanero"},{"code":"003026","cap":"28010","nome":"Briga Novarese"},{"code":"003027","cap":"28072","nome":"Briona"},{"code":"003030","cap":"28010","nome":"Caltignaga"},{"code":"003032","cap":"28062","nome":"Cameri"},{"code":"003036","cap":"28064","nome":"Carpignano Sesia"},{"code":"003037","cap":"28060","nome":"Casalbeltrame"},{"code":"003039","cap":"28060","nome":"Casaleggio Novara"},{"code":"003040","cap":"28060","nome":"Casalino"},{"code":"003041","cap":"28060","nome":"Casalvolone"},{"code":"003042","cap":"28060","nome":"Castellazzo Novarese"},{"code":"003043","cap":"28053","nome":"Castelletto Sopra Ticino"},{"code":"003044","cap":"28010","nome":"Cavaglietto"},{"code":"003045","cap":"28010","nome":"Cavaglio d\'Agogna"},{"code":"003047","cap":"28010","nome":"Cavallirio"},{"code":"003049","cap":"28065","nome":"Cerano"},{"code":"003051","cap":"28010","nome":"Colazza"},{"code":"003052","cap":"28060","nome":"Comignago"},{"code":"003055","cap":"28012","nome":"Cressa"},{"code":"003058","cap":"28060","nome":"Cureggio"},{"code":"003060","cap":"28010","nome":"Divignano"},{"code":"003062","cap":"28040","nome":"Dormelletto"},{"code":"003065","cap":"28073","nome":"Fara Novarese"},{"code":"003066","cap":"28010","nome":"Fontaneto d\'Agogna"},{"code":"003068","cap":"28066","nome":"Galliate"},{"code":"003069","cap":"28070","nome":"Garbagna Novarese"},{"code":"003070","cap":"28010","nome":"Gargallo"},{"code":"003071","cap":"28013","nome":"Gattico"},{"code":"003073","cap":"28074","nome":"Ghemme"},{"code":"003076","cap":"28024","nome":"Gozzano"},{"code":"003077","cap":"28060","nome":"Granozzo con Monticello"},{"code":"003079","cap":"28075","nome":"Grignasco"},{"code":"003082","cap":"28045","nome":"Invorio"},{"code":"003083","cap":"28064","nome":"Landiona"},{"code":"003084","cap":"28040","nome":"Lesa"},{"code":"003088","cap":"28014","nome":"Maggiora"},{"code":"003090","cap":"28060","nome":"Mandello Vitta"},{"code":"003091","cap":"28040","nome":"Marano Ticino"},{"code":"003093","cap":"28040","nome":"Massino Visconti"},{"code":"003095","cap":"28046","nome":"Meina"},{"code":"003097","cap":"28040","nome":"Mezzomerico"},{"code":"003098","cap":"28010","nome":"Miasino"},{"code":"003100","cap":"28015","nome":"Momo"},{"code":"003103","cap":"28010","nome":"Nebbiuno"},{"code":"003104","cap":"28070","nome":"Nibbiola"},{"code":"003106","cap":"28100","nome":"Novara"},{"code":"003108","cap":"28047","nome":"Oleggio"},{"code":"003109","cap":"28040","nome":"Oleggio Castello"},{"code":"003112","cap":"28016","nome":"Orta San Giulio"},{"code":"003114","cap":"28040","nome":"Paruzzaro"},{"code":"003115","cap":"28010","nome":"Pella"},{"code":"003116","cap":"28028","nome":"Pettenasco"},{"code":"003119","cap":"28010","nome":"Pisano"},{"code":"003120","cap":"28076","nome":"Pogno"},{"code":"003121","cap":"28050","nome":"Pombia"},{"code":"003122","cap":"28077","nome":"Prato Sesia"},{"code":"003129","cap":"28060","nome":"Recetto"},{"code":"003130","cap":"28078","nome":"Romagnano Sesia"},{"code":"003131","cap":"28068","nome":"Romentino"},{"code":"003133","cap":"28017","nome":"San Maurizio d\'Opaglio"},{"code":"003134","cap":"28060","nome":"San Nazzaro Sesia"},{"code":"003135","cap":"28060","nome":"San Pietro Mosezzo"},{"code":"003138","cap":"28064","nome":"Sillavengo"},{"code":"003139","cap":"28070","nome":"Sizzano"},{"code":"003140","cap":"28010","nome":"Soriso"},{"code":"003141","cap":"28060","nome":"Sozzago"},{"code":"003143","cap":"28019","nome":"Suno"},{"code":"003144","cap":"28070","nome":"Terdobbiate"},{"code":"003146","cap":"28070","nome":"Tornaco"},{"code":"003149","cap":"28069","nome":"Trecate"},{"code":"003153","cap":"28010","nome":"Vaprio d\'Agogna"},{"code":"003154","cap":"28040","nome":"Varallo Pombia"},{"code":"003157","cap":"28010","nome":"Veruno"},{"code":"003158","cap":"28079","nome":"Vespolate"},{"code":"003159","cap":"28060","nome":"Vicolungo"},{"code":"003164","cap":"28060","nome":"Vinzaglio"}],"nome":"Novara"},{"code":"TO","comuni":[{"code":"001001","cap":"10011","nome":"Agli\xe8"},{"code":"001002","cap":"10060","nome":"Airasca"},{"code":"001003","cap":"10070","nome":"Ala di Stura"},{"code":"001004","cap":"10010","nome":"Albiano d\'Ivrea"},{"code":"001005","cap":"10010","nome":"Alice Superiore"},{"code":"001006","cap":"10040","nome":"Almese"},{"code":"001007","cap":"10080","nome":"Alpette"},{"code":"001008","cap":"10091","nome":"Alpignano"},{"code":"001009","cap":"10020","nome":"Andezeno"},{"code":"001010","cap":"10010","nome":"Andrate"},{"code":"001011","cap":"10060","nome":"Angrogna"},{"code":"001012","cap":"10020","nome":"Arignano"},{"code":"001013","cap":"10051","nome":"Avigliana"},{"code":"001014","cap":"10010","nome":"Azeglio"},{"code":"001015","cap":"10010","nome":"Bairo"},{"code":"001016","cap":"10070","nome":"Balangero"},{"code":"001017","cap":"10080","nome":"Baldissero Canavese"},{"code":"001018","cap":"10020","nome":"Baldissero Torinese"},{"code":"001019","cap":"10070","nome":"Balme"},{"code":"001020","cap":"10010","nome":"Banchette"},{"code":"001021","cap":"10070","nome":"Barbania"},{"code":"001022","cap":"10052","nome":"Bardonecchia"},{"code":"001023","cap":"10010","nome":"Barone Canavese"},{"code":"001024","cap":"10092","nome":"Beinasco"},{"code":"001025","cap":"10060","nome":"Bibiana"},{"code":"001026","cap":"10060","nome":"Bobbio Pellice"},{"code":"001027","cap":"10012","nome":"Bollengo"},{"code":"001028","cap":"10071","nome":"Borgaro Torinese"},{"code":"001029","cap":"10080","nome":"Borgiallo"},{"code":"001030","cap":"10013","nome":"Borgofranco d\'Ivrea"},{"code":"001031","cap":"10031","nome":"Borgomasino"},{"code":"001032","cap":"10050","nome":"Borgone Susa"},{"code":"001033","cap":"10080","nome":"Bosconero"},{"code":"001034","cap":"10032","nome":"Brandizzo"},{"code":"001035","cap":"10060","nome":"Bricherasio"},{"code":"001036","cap":"10080","nome":"Brosso"},{"code":"001037","cap":"10020","nome":"Brozolo"},{"code":"001038","cap":"10090","nome":"Bruino"},{"code":"001039","cap":"10020","nome":"Brusasco"},{"code":"001040","cap":"10050","nome":"Bruzolo"},{"code":"001041","cap":"10060","nome":"Buriasco"},{"code":"001042","cap":"10010","nome":"Burolo"},{"code":"001043","cap":"10080","nome":"Busano"},{"code":"001044","cap":"10053","nome":"Bussoleno"},{"code":"001045","cap":"10090","nome":"Buttigliera Alta"},{"code":"001046","cap":"10070","nome":"Cafasse"},{"code":"001047","cap":"10014","nome":"Caluso"},{"code":"001048","cap":"10020","nome":"Cambiano"},{"code":"001049","cap":"10060","nome":"Campiglione-Fenile"},{"code":"001050","cap":"10010","nome":"Candia Canavese"},{"code":"001051","cap":"10060","nome":"Candiolo"},{"code":"001052","cap":"10080","nome":"Canischio"},{"code":"001053","cap":"10060","nome":"Cantalupa"},{"code":"001054","cap":"10070","nome":"Cantoira"},{"code":"001055","cap":"10040","nome":"Caprie"},{"code":"001056","cap":"10010","nome":"Caravino"},{"code":"001057","cap":"10010","nome":"Carema"},{"code":"001058","cap":"10041","nome":"Carignano"},{"code":"001059","cap":"10022","nome":"Carmagnola"},{"code":"001060","cap":"10020","nome":"Casalborgone"},{"code":"001061","cap":"10010","nome":"Cascinette d\'Ivrea"},{"code":"001062","cap":"10040","nome":"Caselette"},{"code":"001063","cap":"10072","nome":"Caselle Torinese"},{"code":"001064","cap":"10090","nome":"Castagneto Po"},{"code":"001065","cap":"10060","nome":"Castagnole Piemonte"},{"code":"001066","cap":"10081","nome":"Castellamonte"},{"code":"001067","cap":"10080","nome":"Castelnuovo Nigra"},{"code":"001068","cap":"10090","nome":"Castiglione Torinese"},{"code":"001069","cap":"10020","nome":"Cavagnolo"},{"code":"001070","cap":"10061","nome":"Cavour"},{"code":"001071","cap":"10060","nome":"Cercenasco"},{"code":"001072","cap":"10070","nome":"Ceres"},{"code":"001073","cap":"10080","nome":"Ceresole Reale"},{"code":"001074","cap":"10054","nome":"Cesana Torinese"},{"code":"001075","cap":"10070","nome":"Chialamberto"},{"code":"001076","cap":"10050","nome":"Chianocco"},{"code":"001077","cap":"10010","nome":"Chiaverano"},{"code":"001078","cap":"10023","nome":"Chieri"},{"code":"001079","cap":"10080","nome":"Chiesanuova"},{"code":"001080","cap":"10050","nome":"Chiomonte"},{"code":"001081","cap":"10050","nome":"Chiusa di San Michele"},{"code":"001082","cap":"10034","nome":"Chivasso"},{"code":"001083","cap":"10080","nome":"Ciconio"},{"code":"001084","cap":"10080","nome":"Cintano"},{"code":"001085","cap":"10090","nome":"Cinzano"},{"code":"001086","cap":"10073","nome":"Ciri\xe8"},{"code":"001087","cap":"10050","nome":"Claviere"},{"code":"001088","cap":"10070","nome":"Coassolo Torinese"},{"code":"001089","cap":"10050","nome":"Coazze"},{"code":"001090","cap":"10093","nome":"Collegno"},{"code":"001091","cap":"10080","nome":"Colleretto Castelnuovo"},{"code":"001092","cap":"10010","nome":"Colleretto Giacosa"},{"code":"001093","cap":"10055","nome":"Condove"},{"code":"001094","cap":"10070","nome":"Corio"},{"code":"001095","cap":"10010","nome":"Cossano Canavese"},{"code":"001096","cap":"10090","nome":"Cuceglio"},{"code":"001097","cap":"10040","nome":"Cumiana"},{"code":"001098","cap":"10082","nome":"Cuorgn\xe8"},{"code":"001099","cap":"10040","nome":"Druento"},{"code":"001100","cap":"10050","nome":"Exilles"},{"code":"001101","cap":"10083","nome":"Favria"},{"code":"001102","cap":"10080","nome":"Feletto"},{"code":"001103","cap":"10060","nome":"Fenestrelle"},{"code":"001104","cap":"10070","nome":"Fiano"},{"code":"001105","cap":"10010","nome":"Fiorano Canavese"},{"code":"001106","cap":"10090","nome":"Foglizzo"},{"code":"001107","cap":"10084","nome":"Forno Canavese"},{"code":"001108","cap":"10080","nome":"Frassinetto"},{"code":"001109","cap":"10070","nome":"Front"},{"code":"001110","cap":"10060","nome":"Frossasco"},{"code":"001111","cap":"10060","nome":"Garzigliana"},{"code":"001112","cap":"10090","nome":"Gassino Torinese"},{"code":"001113","cap":"10070","nome":"Germagnano"},{"code":"001114","cap":"10050","nome":"Giaglione"},{"code":"001115","cap":"10094","nome":"Giaveno"},{"code":"001116","cap":"10040","nome":"Givoletto"},{"code":"001117","cap":"10050","nome":"Gravere"},{"code":"001118","cap":"10070","nome":"Groscavallo"},{"code":"001119","cap":"10070","nome":"Grosso"},{"code":"001120","cap":"10095","nome":"Grugliasco"},{"code":"001121","cap":"10080","nome":"Ingria"},{"code":"001122","cap":"10060","nome":"Inverso Pinasca"},{"code":"001123","cap":"10046","nome":"Isolabella"},{"code":"001124","cap":"10080","nome":"Issiglio"},{"code":"001125","cap":"10015","nome":"Ivrea"},{"code":"001126","cap":"10040","nome":"La Cassa"},{"code":"001127","cap":"10040","nome":"La Loggia"},{"code":"001128","cap":"10074","nome":"Lanzo Torinese"},{"code":"001129","cap":"10020","nome":"Lauriano"},{"code":"001130","cap":"10040","nome":"Leini"},{"code":"001131","cap":"10070","nome":"Lemie"},{"code":"001132","cap":"10010","nome":"Lessolo"},{"code":"001133","cap":"10070","nome":"Levone"},{"code":"001134","cap":"10080","nome":"Locana"},{"code":"001135","cap":"10040","nome":"Lombardore"},{"code":"001136","cap":"10040","nome":"Lombriasco"},{"code":"001137","cap":"10010","nome":"Loranz\xe8"},{"code":"001138","cap":"10080","nome":"Lugnacco"},{"code":"001139","cap":"10062","nome":"Luserna San Giovanni"},{"code":"001140","cap":"10060","nome":"Lusernetta"},{"code":"001141","cap":"10080","nome":"Lusigli\xe8"},{"code":"001142","cap":"10060","nome":"Macello"},{"code":"001143","cap":"10030","nome":"Maglione"},{"code":"001144","cap":"10020","nome":"Marentino"},{"code":"001145","cap":"10060","nome":"Massello"},{"code":"001146","cap":"10075","nome":"Mathi"},{"code":"001147","cap":"10050","nome":"Mattie"},{"code":"001148","cap":"10035","nome":"Mazz\xe8"},{"code":"001149","cap":"10050","nome":"Meana di Susa"},{"code":"001150","cap":"10010","nome":"Mercenasco"},{"code":"001151","cap":"10080","nome":"Meugliano"},{"code":"001152","cap":"10070","nome":"Mezzenile"},{"code":"001153","cap":"10020","nome":"Mombello di Torino"},{"code":"001154","cap":"10059","nome":"Mompantero"},{"code":"001155","cap":"10070","nome":"Monastero di Lanzo"},{"code":"001156","cap":"10024","nome":"Moncalieri"},{"code":"001157","cap":"10050","nome":"Moncenisio"},{"code":"001158","cap":"10020","nome":"Montaldo Torinese"},{"code":"001159","cap":"10090","nome":"Montalenghe"},{"code":"001160","cap":"10016","nome":"Montalto Dora"},{"code":"001161","cap":"10017","nome":"Montanaro"},{"code":"001162","cap":"10020","nome":"Monteu da Po"},{"code":"001163","cap":"10020","nome":"Moriondo Torinese"},{"code":"001164","cap":"10042","nome":"Nichelino"},{"code":"001165","cap":"10080","nome":"Noasca"},{"code":"001166","cap":"10076","nome":"Nole"},{"code":"001167","cap":"10010","nome":"Nomaglio"},{"code":"001168","cap":"10060","nome":"None"},{"code":"001169","cap":"10050","nome":"Novalesa"},{"code":"001170","cap":"10080","nome":"Oglianico"},{"code":"001171","cap":"10043","nome":"Orbassano"},{"code":"001172","cap":"10010","nome":"Orio Canavese"},{"code":"001173","cap":"10060","nome":"Osasco"},{"code":"001174","cap":"10040","nome":"Osasio"},{"code":"001175","cap":"10056","nome":"Oulx"},{"code":"001176","cap":"10080","nome":"Ozegna"},{"code":"001177","cap":"10010","nome":"Palazzo Canavese"},{"code":"001178","cap":"10060","nome":"Pancalieri"},{"code":"001179","cap":"10010","nome":"Parella"},{"code":"001180","cap":"10020","nome":"Pavarolo"},{"code":"001181","cap":"10018","nome":"Pavone Canavese"},{"code":"001182","cap":"10080","nome":"Pecco"},{"code":"001183","cap":"10020","nome":"Pecetto Torinese"},{"code":"001184","cap":"10063","nome":"Perosa Argentina"},{"code":"001185","cap":"10010","nome":"Perosa Canavese"},{"code":"001186","cap":"10060","nome":"Perrero"},{"code":"001187","cap":"10080","nome":"Pertusio"},{"code":"001188","cap":"10070","nome":"Pessinetto"},{"code":"001189","cap":"10044","nome":"Pianezza"},{"code":"001190","cap":"10060","nome":"Pinasca"},{"code":"001191","cap":"10064","nome":"Pinerolo"},{"code":"001192","cap":"10025","nome":"Pino Torinese"},{"code":"001193","cap":"10040","nome":"Piobesi Torinese"},{"code":"001194","cap":"10045","nome":"Piossasco"},{"code":"001195","cap":"10060","nome":"Piscina"},{"code":"001196","cap":"10010","nome":"Piverone"},{"code":"001197","cap":"10046","nome":"Poirino"},{"code":"001198","cap":"10063","nome":"Pomaretto"},{"code":"001199","cap":"10085","nome":"Pont-Canavese"},{"code":"001200","cap":"10060","nome":"Porte"},{"code":"001201","cap":"10060","nome":"Pragelato"},{"code":"001202","cap":"10060","nome":"Prali"},{"code":"001203","cap":"10040","nome":"Pralormo"},{"code":"001204","cap":"10065","nome":"Pramollo"},{"code":"001205","cap":"10060","nome":"Prarostino"},{"code":"001206","cap":"10080","nome":"Prascorsano"},{"code":"001207","cap":"10080","nome":"Pratiglione"},{"code":"001208","cap":"10010","nome":"Quagliuzzo"},{"code":"001209","cap":"10010","nome":"Quassolo"},{"code":"001210","cap":"10010","nome":"Quincinetto"},{"code":"001211","cap":"10090","nome":"Reano"},{"code":"001212","cap":"10080","nome":"Ribordone"},{"code":"001215","cap":"10020","nome":"Riva Presso Chieri"},{"code":"001213","cap":"10090","nome":"Rivalba"},{"code":"001214","cap":"10040","nome":"Rivalta di Torino"},{"code":"001216","cap":"10080","nome":"Rivara"},{"code":"001217","cap":"10086","nome":"Rivarolo Canavese"},{"code":"001218","cap":"10040","nome":"Rivarossa"},{"code":"001219","cap":"10098","nome":"Rivoli"},{"code":"001220","cap":"10070","nome":"Robassomero"},{"code":"001221","cap":"10070","nome":"Rocca Canavese"},{"code":"001222","cap":"10060","nome":"Roletto"},{"code":"001223","cap":"10090","nome":"Romano Canavese"},{"code":"001224","cap":"10080","nome":"Ronco Canavese"},{"code":"001225","cap":"10030","nome":"Rondissone"},{"code":"001226","cap":"10060","nome":"Ror\xe0"},{"code":"001228","cap":"10090","nome":"Rosta"},{"code":"001227","cap":"10060","nome":"Roure"},{"code":"001229","cap":"10040","nome":"Rubiana"},{"code":"001230","cap":"10010","nome":"Rueglio"},{"code":"001231","cap":"10080","nome":"Salassa"},{"code":"001232","cap":"10050","nome":"Salbertrand"},{"code":"001233","cap":"10010","nome":"Salerano Canavese"},{"code":"001234","cap":"10060","nome":"Salza di Pinerolo"},{"code":"001235","cap":"10010","nome":"Samone"},{"code":"001236","cap":"10080","nome":"San Benigno Canavese"},{"code":"001237","cap":"10070","nome":"San Carlo Canavese"},{"code":"001238","cap":"10080","nome":"San Colombano Belmonte"},{"code":"001239","cap":"10050","nome":"San Didero"},{"code":"001240","cap":"10070","nome":"San Francesco al Campo"},{"code":"001242","cap":"10065","nome":"San Germano Chisone"},{"code":"001243","cap":"10040","nome":"San Gillio"},{"code":"001244","cap":"10090","nome":"San Giorgio Canavese"},{"code":"001245","cap":"10050","nome":"San Giorio di Susa"},{"code":"001246","cap":"10090","nome":"San Giusto Canavese"},{"code":"001247","cap":"10010","nome":"San Martino Canavese"},{"code":"001248","cap":"10077","nome":"San Maurizio Canavese"},{"code":"001249","cap":"10099","nome":"San Mauro Torinese"},{"code":"001250","cap":"10060","nome":"San Pietro Val Lemina"},{"code":"001251","cap":"10080","nome":"San Ponso"},{"code":"001252","cap":"10090","nome":"San Raffaele Cimena"},{"code":"001253","cap":"10020","nome":"San Sebastiano da Po"},{"code":"001254","cap":"10060","nome":"San Secondo di Pinerolo"},{"code":"001241","cap":"10090","nome":"Sangano"},{"code":"001255","cap":"10057","nome":"Sant\'Ambrogio di Torino"},{"code":"001256","cap":"10050","nome":"Sant\'Antonino di Susa"},{"code":"001257","cap":"10026","nome":"Santena"},{"code":"001258","cap":"10054","nome":"Sauze di Cesana"},{"code":"001259","cap":"10050","nome":"Sauze d\'Oulx"},{"code":"001260","cap":"10060","nome":"Scalenghe"},{"code":"001261","cap":"10010","nome":"Scarmagno"},{"code":"001262","cap":"10090","nome":"Sciolze"},{"code":"001263","cap":"10058","nome":"Sestriere"},{"code":"001264","cap":"10010","nome":"Settimo Rottaro"},{"code":"001265","cap":"10036","nome":"Settimo Torinese"},{"code":"001266","cap":"10010","nome":"Settimo Vittone"},{"code":"001267","cap":"10080","nome":"Sparone"},{"code":"001268","cap":"10010","nome":"Strambinello"},{"code":"001269","cap":"10019","nome":"Strambino"},{"code":"001270","cap":"10059","nome":"Susa"},{"code":"001271","cap":"10010","nome":"Tavagnasco"},{"code":"001272","cap":"101xx","nome":"Torino"},{"code":"001273","cap":"10037","nome":"Torrazza Piemonte"},{"code":"001274","cap":"10010","nome":"Torre Canavese"},{"code":"001275","cap":"10066","nome":"Torre Pellice"},{"code":"001276","cap":"10090","nome":"Trana"},{"code":"001277","cap":"10080","nome":"Trausella"},{"code":"001278","cap":"10080","nome":"Traversella"},{"code":"001279","cap":"10070","nome":"Traves"},{"code":"001280","cap":"10028","nome":"Trofarello"},{"code":"001281","cap":"10060","nome":"Usseaux"},{"code":"001282","cap":"10070","nome":"Usseglio"},{"code":"001283","cap":"10050","nome":"Vaie"},{"code":"001284","cap":"10040","nome":"Val della Torre"},{"code":"001285","cap":"10094","nome":"Valgioie"},{"code":"001286","cap":"10070","nome":"Vallo Torinese"},{"code":"001287","cap":"10087","nome":"Valperga"},{"code":"001288","cap":"10080","nome":"Valprato Soana"},{"code":"001289","cap":"10070","nome":"Varisella"},{"code":"001290","cap":"10070","nome":"Vauda Canavese"},{"code":"001292","cap":"10078","nome":"Venaria Reale"},{"code":"001291","cap":"10050","nome":"Venaus"},{"code":"001293","cap":"10038","nome":"Verolengo"},{"code":"001294","cap":"10020","nome":"Verrua Savoia"},{"code":"001295","cap":"10030","nome":"Vestign\xe8"},{"code":"001296","cap":"10090","nome":"Vialfr\xe8"},{"code":"001297","cap":"10080","nome":"Vico Canavese"},{"code":"001298","cap":"10080","nome":"Vidracco"},{"code":"001299","cap":"10067","nome":"Vigone"},{"code":"001300","cap":"10068","nome":"Villafranca Piemonte"},{"code":"001301","cap":"10070","nome":"Villanova Canavese"},{"code":"001303","cap":"10040","nome":"Villar Dora"},{"code":"001305","cap":"10050","nome":"Villar Focchiardo"},{"code":"001306","cap":"10060","nome":"Villar Pellice"},{"code":"001307","cap":"10069","nome":"Villar Perosa"},{"code":"001302","cap":"10090","nome":"Villarbasse"},{"code":"001304","cap":"10030","nome":"Villareggia"},{"code":"001308","cap":"10029","nome":"Villastellone"},{"code":"001309","cap":"10048","nome":"Vinovo"},{"code":"001310","cap":"10060","nome":"Virle Piemonte"},{"code":"001311","cap":"10030","nome":"Vische"},{"code":"001312","cap":"10080","nome":"Vistrorio"},{"code":"001313","cap":"10070","nome":"Vi\xf9"},{"code":"001314","cap":"10088","nome":"Volpiano"},{"code":"001315","cap":"10040","nome":"Volvera"}],"nome":"Torino"},{"code":"VB","comuni":[{"code":"103001","cap":"28841","nome":"Antrona Schieranco"},{"code":"103002","cap":"28877","nome":"Anzola d\'Ossola"},{"code":"103003","cap":"28811","nome":"Arizzano"},{"code":"103004","cap":"28899","nome":"Arola"},{"code":"103005","cap":"28812","nome":"Aurano"},{"code":"103006","cap":"28861","nome":"Baceno"},{"code":"103007","cap":"28871","nome":"Bannio Anzino"},{"code":"103008","cap":"28831","nome":"Baveno"},{"code":"103009","cap":"28813","nome":"Bee"},{"code":"103010","cap":"28832","nome":"Belgirate"},{"code":"103011","cap":"28851","nome":"Beura-Cardezza"},{"code":"103012","cap":"28842","nome":"Bognanco"},{"code":"103013","cap":"28833","nome":"Brovello-Carpugnino"},{"code":"103014","cap":"28873","nome":"Calasca-Castiglione"},{"code":"103015","cap":"28814","nome":"Cambiasca"},{"code":"103016","cap":"28821","nome":"Cannero Riviera"},{"code":"103017","cap":"28822","nome":"Cannobio"},{"code":"103018","cap":"28815","nome":"Caprezzo"},{"code":"103019","cap":"28881","nome":"Casale Corte Cerro"},{"code":"103020","cap":"28825","nome":"Cavaglio-Spoccia"},{"code":"103021","cap":"28875","nome":"Ceppo Morelli"},{"code":"103022","cap":"28891","nome":"Cesara"},{"code":"103023","cap":"28801","nome":"Cossogno"},{"code":"103024","cap":"28852","nome":"Craveggia"},{"code":"103025","cap":"28865","nome":"Crevoladossola"},{"code":"103026","cap":"28862","nome":"Crodo"},{"code":"103027","cap":"28827","nome":"Cursolo-Orasso"},{"code":"103028","cap":"28845","nome":"Domodossola"},{"code":"103029","cap":"28853","nome":"Druogno"},{"code":"103030","cap":"28827","nome":"Falmenta"},{"code":"103031","cap":"28863","nome":"Formazza"},{"code":"103032","cap":"28887","nome":"Germagno"},{"code":"103033","cap":"28823","nome":"Ghiffa"},{"code":"103034","cap":"28836","nome":"Gignese"},{"code":"103035","cap":"28883","nome":"Gravellona Toce"},{"code":"103036","cap":"28828","nome":"Gurro"},{"code":"103037","cap":"28816","nome":"Intragna"},{"code":"103038","cap":"28893","nome":"Loreglia"},{"code":"103039","cap":"28876","nome":"Macugnaga"},{"code":"103040","cap":"28894","nome":"Madonna del Sasso"},{"code":"103041","cap":"28854","nome":"Malesco"},{"code":"103042","cap":"28855","nome":"Masera"},{"code":"103043","cap":"28895","nome":"Massiola"},{"code":"103044","cap":"28802","nome":"Mergozzo"},{"code":"103045","cap":"28817","nome":"Miazzina"},{"code":"103046","cap":"28864","nome":"Montecrestese"},{"code":"103047","cap":"28843","nome":"Montescheno"},{"code":"103048","cap":"28891","nome":"Nonio"},{"code":"103049","cap":"28824","nome":"Oggebbio"},{"code":"103050","cap":"28887","nome":"Omegna"},{"code":"103051","cap":"28877","nome":"Ornavasso"},{"code":"103052","cap":"28884","nome":"Pallanzeno"},{"code":"103053","cap":"28885","nome":"Piedimulera"},{"code":"103054","cap":"28886","nome":"Pieve Vergonte"},{"code":"103055","cap":"28818","nome":"Premeno"},{"code":"103056","cap":"28866","nome":"Premia"},{"code":"103057","cap":"28803","nome":"Premosello-Chiovenda"},{"code":"103058","cap":"28898","nome":"Quarna Sopra"},{"code":"103059","cap":"28896","nome":"Quarna Sotto"},{"code":"103060","cap":"28856","nome":"Re"},{"code":"103061","cap":"28804","nome":"San Bernardino Verbano"},{"code":"103062","cap":"28857","nome":"Santa Maria Maggiore"},{"code":"103063","cap":"28843","nome":"Seppiana"},{"code":"103064","cap":"28838","nome":"Stresa"},{"code":"103065","cap":"28858","nome":"Toceno"},{"code":"103066","cap":"28826","nome":"Trarego Viggiona"},{"code":"103067","cap":"28868","nome":"Trasquera"},{"code":"103068","cap":"28859","nome":"Trontano"},{"code":"103069","cap":"28897","nome":"Valstrona"},{"code":"103070","cap":"28879","nome":"Vanzone con San Carlo"},{"code":"103071","cap":"28868","nome":"Varzo"},{"code":"103072","cap":"2892x","nome":"Verbania"},{"code":"103073","cap":"28841","nome":"Viganella"},{"code":"103074","cap":"28819","nome":"Vignone"},{"code":"103075","cap":"28844","nome":"Villadossola"},{"code":"103076","cap":"28856","nome":"Villette"},{"code":"103077","cap":"28805","nome":"Vogogna"}],"nome":"Verbano Cusio Ossola"},{"code":"VC","comuni":[{"code":"002002","cap":"13021","nome":"Alagna Valsesia"},{"code":"002003","cap":"13030","nome":"Albano Vercellese"},{"code":"002004","cap":"13040","nome":"Alice Castello"},{"code":"002006","cap":"13031","nome":"Arborio"},{"code":"002007","cap":"13032","nome":"Asigliano Vercellese"},{"code":"002008","cap":"13020","nome":"Balmuccia"},{"code":"002009","cap":"13040","nome":"Balocco"},{"code":"002011","cap":"13041","nome":"Bianz\xe8"},{"code":"002014","cap":"13022","nome":"Boccioleto"},{"code":"002015","cap":"13040","nome":"Borgo d\'Ale"},{"code":"002017","cap":"13012","nome":"Borgo Vercelli"},{"code":"002016","cap":"13011","nome":"Borgosesia"},{"code":"002019","cap":"13020","nome":"Breia"},{"code":"002021","cap":"13040","nome":"Buronzo"},{"code":"002025","cap":"13023","nome":"Campertogno"},{"code":"002029","cap":"13026","nome":"Carcoforo"},{"code":"002030","cap":"13010","nome":"Caresana"},{"code":"002031","cap":"13030","nome":"Caresanablot"},{"code":"002032","cap":"13040","nome":"Carisio"},{"code":"002033","cap":"13030","nome":"Casanova Elvo"},{"code":"002038","cap":"13024","nome":"Cellio"},{"code":"002041","cap":"13025","nome":"Cervatto"},{"code":"002042","cap":"13043","nome":"Cigliano"},{"code":"002043","cap":"13010","nome":"Civiasco"},{"code":"002045","cap":"13030","nome":"Collobiano"},{"code":"002047","cap":"13033","nome":"Costanzana"},{"code":"002048","cap":"13020","nome":"Cravagliana"},{"code":"002049","cap":"13044","nome":"Crescentino"},{"code":"002052","cap":"13040","nome":"Crova"},{"code":"002054","cap":"13034","nome":"Desana"},{"code":"002057","cap":"13025","nome":"Fobello"},{"code":"002058","cap":"13040","nome":"Fontanetto Po"},{"code":"002059","cap":"13030","nome":"Formigliana"},{"code":"002061","cap":"13045","nome":"Gattinara"},{"code":"002062","cap":"13030","nome":"Ghislarengo"},{"code":"002065","cap":"13030","nome":"Greggio"},{"code":"002066","cap":"13010","nome":"Guardabosone"},{"code":"002067","cap":"13046","nome":"Lamporo"},{"code":"002068","cap":"13035","nome":"Lenta"},{"code":"002070","cap":"13034","nome":"Lignana"},{"code":"002071","cap":"13046","nome":"Livorno Ferraris"},{"code":"002072","cap":"13045","nome":"Lozzolo"},{"code":"002078","cap":"13020","nome":"Mollia"},{"code":"002079","cap":"13040","nome":"Moncrivello"},{"code":"002082","cap":"13010","nome":"Motta de\' Conti"},{"code":"002088","cap":"13047","nome":"Olcenengo"},{"code":"002089","cap":"13030","nome":"Oldenico"},{"code":"002090","cap":"13040","nome":"Palazzolo Vercellese"},{"code":"002091","cap":"13030","nome":"Pertengo"},{"code":"002093","cap":"13010","nome":"Pezzana"},{"code":"002096","cap":"13020","nome":"Pila"},{"code":"002097","cap":"13020","nome":"Piode"},{"code":"002102","cap":"13010","nome":"Postua"},{"code":"002104","cap":"13012","nome":"Prarolo"},{"code":"002107","cap":"13017","nome":"Quarona"},{"code":"002108","cap":"13030","nome":"Quinto Vercellese"},{"code":"002110","cap":"13020","nome":"Rassa"},{"code":"002111","cap":"13026","nome":"Rima San Giuseppe"},{"code":"002112","cap":"13026","nome":"Rimasco"},{"code":"002113","cap":"13020","nome":"Rimella"},{"code":"002114","cap":"13020","nome":"Riva Valdobbia"},{"code":"002115","cap":"13030","nome":"Rive"},{"code":"002116","cap":"13060","nome":"Roasio"},{"code":"002118","cap":"13036","nome":"Ronsecco"},{"code":"002121","cap":"13020","nome":"Rossa"},{"code":"002122","cap":"13040","nome":"Rovasenda"},{"code":"002123","cap":"13020","nome":"Sabbia"},{"code":"002126","cap":"13040","nome":"Salasco"},{"code":"002127","cap":"13040","nome":"Sali Vercellese"},{"code":"002128","cap":"13040","nome":"Saluggia"},{"code":"002131","cap":"13047","nome":"San Germano Vercellese"},{"code":"002035","cap":"13030","nome":"San Giacomo Vercellese"},{"code":"002133","cap":"13048","nome":"Santhi\xe0"},{"code":"002134","cap":"13027","nome":"Scopa"},{"code":"002135","cap":"13028","nome":"Scopello"},{"code":"002137","cap":"13037","nome":"Serravalle Sesia"},{"code":"002142","cap":"13010","nome":"Stroppiana"},{"code":"002147","cap":"13038","nome":"Tricerro"},{"code":"002148","cap":"13039","nome":"Trino"},{"code":"002150","cap":"13049","nome":"Tronzano Vercellese"},{"code":"002152","cap":"13018","nome":"Valduggia"},{"code":"002156","cap":"13019","nome":"Varallo"},{"code":"002158","cap":"13100","nome":"Vercelli"},{"code":"002163","cap":"13030","nome":"Villarboit"},{"code":"002164","cap":"13010","nome":"Villata"},{"code":"002166","cap":"13020","nome":"Vocca"}],"nome":"Vercelli"}],"nome":"Piemonte"},{"province":[{"code":"BA","comuni":[{"code":"072001","cap":"70021","nome":"Acquaviva delle Fonti"},{"code":"072002","cap":"70010","nome":"Adelfia"},{"code":"072003","cap":"70011","nome":"Alberobello"},{"code":"072004","cap":"70022","nome":"Altamura"},{"code":"072006","cap":"701xx","nome":"Bari"},{"code":"072008","cap":"70020","nome":"Binetto"},{"code":"072010","cap":"70020","nome":"Bitetto"},{"code":"072011","cap":"70032","nome":"Bitonto"},{"code":"072012","cap":"70020","nome":"Bitritto"},{"code":"072014","cap":"70010","nome":"Capurso"},{"code":"072015","cap":"70010","nome":"Casamassima"},{"code":"072016","cap":"70020","nome":"Cassano delle Murge"},{"code":"072017","cap":"70013","nome":"Castellana Grotte"},{"code":"072018","cap":"70010","nome":"Cellamare"},{"code":"072019","cap":"70014","nome":"Conversano"},{"code":"072020","cap":"70033","nome":"Corato"},{"code":"072021","cap":"70023","nome":"Gioia del Colle"},{"code":"072022","cap":"70054","nome":"Giovinazzo"},{"code":"072023","cap":"70024","nome":"Gravina in Puglia"},{"code":"072024","cap":"70025","nome":"Grumo Appula"},{"code":"072025","cap":"70010","nome":"Locorotondo"},{"code":"072027","cap":"70026","nome":"Modugno"},{"code":"072028","cap":"70042","nome":"Mola di Bari"},{"code":"072029","cap":"70056","nome":"Molfetta"},{"code":"072030","cap":"70043","nome":"Monopoli"},{"code":"072031","cap":"70015","nome":"Noci"},{"code":"072032","cap":"70016","nome":"Noic\xe0ttaro"},{"code":"072033","cap":"70027","nome":"Palo del Colle"},{"code":"072034","cap":"70020","nome":"Poggiorsini"},{"code":"072035","cap":"70044","nome":"Polignano a Mare"},{"code":"072036","cap":"70017","nome":"Putignano"},{"code":"072037","cap":"70018","nome":"Rutigliano"},{"code":"072038","cap":"70037","nome":"Ruvo di Puglia"},{"code":"072039","cap":"70010","nome":"Sammichele di Bari"},{"code":"072040","cap":"70028","nome":"Sannicandro di Bari"},{"code":"072041","cap":"70029","nome":"Santeramo in Colle"},{"code":"072043","cap":"70038","nome":"Terlizzi"},{"code":"072044","cap":"70020","nome":"Toritto"},{"code":"072046","cap":"70019","nome":"Triggiano"},{"code":"072047","cap":"70010","nome":"Turi"},{"code":"072048","cap":"70010","nome":"Valenzano"}],"nome":"Bari"},{"code":"BT","comuni":[{"code":"110001","cap":"76123","nome":"Andria"},{"code":"110002","cap":"76121","nome":"Barletta"},{"code":"110003","cap":"76011","nome":"Bisceglie"},{"code":"110004","cap":"76012","nome":"Canosa di Puglia"},{"code":"110005","cap":"76016","nome":"Margherita di Savoia"},{"code":"110006","cap":"76013","nome":"Minervino Murge"},{"code":"110007","cap":"76017","nome":"San Ferdinando di Puglia"},{"code":"110008","cap":"76014","nome":"Spinazzola"},{"code":"110009","cap":"76125","nome":"Trani"},{"code":"110010","cap":"76015","nome":"Trinitapoli"}],"nome":"Barletta-Andria-Trani"},{"code":"BR","comuni":[{"code":"074001","cap":"72100","nome":"Brindisi"},{"code":"074002","cap":"72012","nome":"Carovigno"},{"code":"074003","cap":"72013","nome":"Ceglie Messapica"},{"code":"074004","cap":"72020","nome":"Cellino San Marco"},{"code":"074005","cap":"72014","nome":"Cisternino"},{"code":"074006","cap":"72020","nome":"Erchie"},{"code":"074007","cap":"72015","nome":"Fasano"},{"code":"074008","cap":"72021","nome":"Francavilla Fontana"},{"code":"074009","cap":"72022","nome":"Latiano"},{"code":"074010","cap":"72023","nome":"Mesagne"},{"code":"074011","cap":"72024","nome":"Oria"},{"code":"074012","cap":"72017","nome":"Ostuni"},{"code":"074013","cap":"72025","nome":"San Donaci"},{"code":"074014","cap":"72018","nome":"San Michele Salentino"},{"code":"074015","cap":"72026","nome":"San Pancrazio Salentino"},{"code":"074016","cap":"72027","nome":"San Pietro Vernotico"},{"code":"074017","cap":"72019","nome":"San Vito dei Normanni"},{"code":"074018","cap":"72020","nome":"Torchiarolo"},{"code":"074019","cap":"72028","nome":"Torre Santa Susanna"},{"code":"074020","cap":"72029","nome":"Villa Castelli"}],"nome":"Brindisi"},{"code":"FG","comuni":[{"code":"071001","cap":"71021","nome":"Accadia"},{"code":"071002","cap":"71031","nome":"Alberona"},{"code":"071003","cap":"71020","nome":"Anzano di Puglia"},{"code":"071004","cap":"71011","nome":"Apricena"},{"code":"071005","cap":"71022","nome":"Ascoli Satriano"},{"code":"071006","cap":"71032","nome":"Biccari"},{"code":"071007","cap":"71023","nome":"Bovino"},{"code":"071008","cap":"71010","nome":"Cagnano Varano"},{"code":"071009","cap":"71024","nome":"Candela"},{"code":"071010","cap":"71041","nome":"Carapelle"},{"code":"071011","cap":"71030","nome":"Carlantino"},{"code":"071012","cap":"71010","nome":"Carpino"},{"code":"071013","cap":"71033","nome":"Casalnuovo Monterotaro"},{"code":"071014","cap":"71030","nome":"Casalvecchio di Puglia"},{"code":"071015","cap":"71025","nome":"Castelluccio dei Sauri"},{"code":"071016","cap":"71020","nome":"Castelluccio Valmaggiore"},{"code":"071017","cap":"71034","nome":"Castelnuovo della Daunia"},{"code":"071018","cap":"71035","nome":"Celenza Valfortore"},{"code":"071019","cap":"71020","nome":"Celle di San Vito"},{"code":"071020","cap":"71042","nome":"Cerignola"},{"code":"071021","cap":"71010","nome":"Chieuti"},{"code":"071022","cap":"71026","nome":"Deliceto"},{"code":"071023","cap":"71020","nome":"Faeto"},{"code":"071024","cap":"7112x","nome":"Foggia"},{"code":"071025","cap":"71010","nome":"Ischitella"},{"code":"071026","cap":"71040","nome":"Isole Tremiti"},{"code":"071027","cap":"71010","nome":"Lesina"},{"code":"071028","cap":"71036","nome":"Lucera"},{"code":"071029","cap":"71043","nome":"Manfredonia"},{"code":"071031","cap":"71030","nome":"Mattinata"},{"code":"071033","cap":"71037","nome":"Monte Sant\'Angelo"},{"code":"071032","cap":"71020","nome":"Monteleone di Puglia"},{"code":"071034","cap":"71030","nome":"Motta Montecorvino"},{"code":"071063","cap":"71040","nome":"Ordona"},{"code":"071035","cap":"71027","nome":"Orsara di Puglia"},{"code":"071036","cap":"71045","nome":"Orta Nova"},{"code":"071037","cap":"71020","nome":"Panni"},{"code":"071038","cap":"71010","nome":"Peschici"},{"code":"071039","cap":"71038","nome":"Pietramontecorvino"},{"code":"071040","cap":"71010","nome":"Poggio Imperiale"},{"code":"071041","cap":"71010","nome":"Rignano Garganico"},{"code":"071042","cap":"71020","nome":"Rocchetta Sant\'Antonio"},{"code":"071043","cap":"71012","nome":"Rodi Garganico"},{"code":"071044","cap":"71039","nome":"Roseto Valfortore"},{"code":"071046","cap":"71013","nome":"San Giovanni Rotondo"},{"code":"071047","cap":"71014","nome":"San Marco in Lamis"},{"code":"071048","cap":"71030","nome":"San Marco la Catola"},{"code":"071049","cap":"71015","nome":"San Nicandro Garganico"},{"code":"071050","cap":"71010","nome":"San Paolo di Civitate"},{"code":"071051","cap":"71016","nome":"San Severo"},{"code":"071052","cap":"71028","nome":"Sant\'Agata di Puglia"},{"code":"071053","cap":"71010","nome":"Serracapriola"},{"code":"071054","cap":"71047","nome":"Stornara"},{"code":"071055","cap":"71048","nome":"Stornarella"},{"code":"071056","cap":"71017","nome":"Torremaggiore"},{"code":"071058","cap":"71029","nome":"Troia"},{"code":"071059","cap":"71018","nome":"Vico del Gargano"},{"code":"071060","cap":"71019","nome":"Vieste"},{"code":"071061","cap":"71030","nome":"Volturara Appula"},{"code":"071062","cap":"71030","nome":"Volturino"},{"code":"071064","cap":"71030","nome":"Zapponeta"}],"nome":"Foggia"},{"code":"LE","comuni":[{"code":"075001","cap":"73040","nome":"Acquarica del Capo"},{"code":"075002","cap":"73031","nome":"Alessano"},{"code":"075003","cap":"73011","nome":"Alezio"},{"code":"075004","cap":"73040","nome":"Alliste"},{"code":"075005","cap":"73032","nome":"Andrano"},{"code":"075006","cap":"73040","nome":"Aradeo"},{"code":"075007","cap":"73010","nome":"Arnesano"},{"code":"075008","cap":"73020","nome":"Bagnolo del Salento"},{"code":"075009","cap":"73020","nome":"Botrugno"},{"code":"075010","cap":"73021","nome":"Calimera"},{"code":"075011","cap":"73012","nome":"Campi Salentina"},{"code":"075012","cap":"73020","nome":"Cannole"},{"code":"075013","cap":"73010","nome":"Caprarica di Lecce"},{"code":"075014","cap":"73041","nome":"Carmiano"},{"code":"075015","cap":"73020","nome":"Carpignano Salentino"},{"code":"075016","cap":"73042","nome":"Casarano"},{"code":"075017","cap":"73020","nome":"Castri di Lecce"},{"code":"075018","cap":"73020","nome":"Castrignano de\' Greci"},{"code":"075019","cap":"73040","nome":"Castrignano del Capo"},{"code":"075096","cap":"73030","nome":"Castro"},{"code":"075020","cap":"73020","nome":"Cavallino"},{"code":"075021","cap":"73040","nome":"Collepasso"},{"code":"075022","cap":"73043","nome":"Copertino"},{"code":"075023","cap":"73022","nome":"Corigliano d\'Otranto"},{"code":"075024","cap":"73033","nome":"Corsano"},{"code":"075025","cap":"73020","nome":"Cursi"},{"code":"075026","cap":"73020","nome":"Cutrofiano"},{"code":"075027","cap":"73030","nome":"Diso"},{"code":"075028","cap":"73034","nome":"Gagliano del Capo"},{"code":"075029","cap":"73013","nome":"Galatina"},{"code":"075030","cap":"73044","nome":"Galatone"},{"code":"075031","cap":"73014","nome":"Gallipoli"},{"code":"075032","cap":"73030","nome":"Giuggianello"},{"code":"075033","cap":"73020","nome":"Giurdignano"},{"code":"075034","cap":"73010","nome":"Guagnano"},{"code":"075035","cap":"73100","nome":"Lecce"},{"code":"075036","cap":"73010","nome":"Lequile"},{"code":"075037","cap":"73045","nome":"Leverano"},{"code":"075038","cap":"73023","nome":"Lizzanello"},{"code":"075039","cap":"73024","nome":"Maglie"},{"code":"075040","cap":"73025","nome":"Martano"},{"code":"075041","cap":"73020","nome":"Martignano"},{"code":"075042","cap":"73046","nome":"Matino"},{"code":"075043","cap":"73026","nome":"Melendugno"},{"code":"075044","cap":"73040","nome":"Melissano"},{"code":"075045","cap":"73020","nome":"Melpignano"},{"code":"075046","cap":"73035","nome":"Miggiano"},{"code":"075047","cap":"73027","nome":"Minervino di Lecce"},{"code":"075048","cap":"73047","nome":"Monteroni di Lecce"},{"code":"075049","cap":"73030","nome":"Montesano Salentino"},{"code":"075050","cap":"73040","nome":"Morciano di Leuca"},{"code":"075051","cap":"73036","nome":"Muro Leccese"},{"code":"075052","cap":"73048","nome":"Nard\xf2"},{"code":"075053","cap":"73040","nome":"Neviano"},{"code":"075054","cap":"73020","nome":"Nociglia"},{"code":"075055","cap":"73051","nome":"Novoli"},{"code":"075056","cap":"73030","nome":"Ortelle"},{"code":"075057","cap":"73028","nome":"Otranto"},{"code":"075058","cap":"73020","nome":"Palmariggi"},{"code":"075059","cap":"73052","nome":"Parabita"},{"code":"075060","cap":"73053","nome":"Pat\xf9"},{"code":"075061","cap":"73037","nome":"Poggiardo"},{"code":"075097","cap":"73010","nome":"Porto Cesareo"},{"code":"075062","cap":"73054","nome":"Presicce"},{"code":"075063","cap":"73055","nome":"Racale"},{"code":"075064","cap":"73049","nome":"Ruffano"},{"code":"075065","cap":"73015","nome":"Salice Salentino"},{"code":"075066","cap":"73050","nome":"Salve"},{"code":"075095","cap":"73020","nome":"San Cassiano"},{"code":"075068","cap":"73016","nome":"San Cesario di Lecce"},{"code":"075069","cap":"73010","nome":"San Donato di Lecce"},{"code":"075071","cap":"73010","nome":"San Pietro in Lama"},{"code":"075067","cap":"73030","nome":"Sanarica"},{"code":"075070","cap":"73017","nome":"Sannicola"},{"code":"075072","cap":"73020","nome":"Santa Cesarea Terme"},{"code":"075073","cap":"73020","nome":"Scorrano"},{"code":"075074","cap":"73050","nome":"Secl\xec"},{"code":"075075","cap":"73010","nome":"Sogliano Cavour"},{"code":"075076","cap":"73010","nome":"Soleto"},{"code":"075077","cap":"73040","nome":"Specchia"},{"code":"075078","cap":"73038","nome":"Spongano"},{"code":"075079","cap":"73018","nome":"Squinzano"},{"code":"075080","cap":"73010","nome":"Sternatia"},{"code":"075081","cap":"73040","nome":"Supersano"},{"code":"075082","cap":"73030","nome":"Surano"},{"code":"075083","cap":"73010","nome":"Surbo"},{"code":"075084","cap":"73056","nome":"Taurisano"},{"code":"075085","cap":"73057","nome":"Taviano"},{"code":"075086","cap":"73030","nome":"Tiggiano"},{"code":"075087","cap":"73019","nome":"Trepuzzi"},{"code":"075088","cap":"73039","nome":"Tricase"},{"code":"075089","cap":"73058","nome":"Tuglie"},{"code":"075090","cap":"73059","nome":"Ugento"},{"code":"075091","cap":"73020","nome":"Uggiano La Chiesa"},{"code":"075092","cap":"73010","nome":"Veglie"},{"code":"075093","cap":"73029","nome":"Vernole"},{"code":"075094","cap":"73010","nome":"Zollino"}],"nome":"Lecce"},{"code":"TA","comuni":[{"code":"073001","cap":"74020","nome":"Avetrana"},{"code":"073002","cap":"74021","nome":"Carosino"},{"code":"073003","cap":"74011","nome":"Castellaneta"},{"code":"073004","cap":"74012","nome":"Crispiano"},{"code":"073005","cap":"74020","nome":"Faggiano"},{"code":"073006","cap":"74022","nome":"Fragagnano"},{"code":"073007","cap":"74013","nome":"Ginosa"},{"code":"073008","cap":"74023","nome":"Grottaglie"},{"code":"073009","cap":"74014","nome":"Laterza"},{"code":"073010","cap":"74020","nome":"Leporano"},{"code":"073011","cap":"74020","nome":"Lizzano"},{"code":"073012","cap":"74024","nome":"Manduria"},{"code":"073013","cap":"74015","nome":"Martina Franca"},{"code":"073014","cap":"74020","nome":"Maruggio"},{"code":"073015","cap":"74016","nome":"Massafra"},{"code":"073016","cap":"74020","nome":"Monteiasi"},{"code":"073017","cap":"74020","nome":"Montemesola"},{"code":"073018","cap":"74020","nome":"Monteparano"},{"code":"073019","cap":"74017","nome":"Mottola"},{"code":"073020","cap":"74018","nome":"Palagianello"},{"code":"073021","cap":"74019","nome":"Palagiano"},{"code":"073022","cap":"74026","nome":"Pulsano"},{"code":"073023","cap":"74020","nome":"Roccaforzata"},{"code":"073024","cap":"74027","nome":"San Giorgio Ionico"},{"code":"073025","cap":"74020","nome":"San Marzano di San Giuseppe"},{"code":"073026","cap":"74028","nome":"Sava"},{"code":"073029","cap":"74010","nome":"Statte"},{"code":"073027","cap":"7412x","nome":"Taranto"},{"code":"073028","cap":"74020","nome":"Torricella"}],"nome":"Taranto"}],"nome":"Puglia"},{"province":[{"code":"CA","comuni":[{"code":"092002","cap":"09040","nome":"Armungia"},{"code":"092003","cap":"09032","nome":"Assemini"},{"code":"092004","cap":"09040","nome":"Ballao"},{"code":"092005","cap":"09040","nome":"Barrali"},{"code":"092008","cap":"09040","nome":"Burcei"},{"code":"092009","cap":"091xx","nome":"Cagliari"},{"code":"092011","cap":"09012","nome":"Capoterra"},{"code":"092106","cap":"09040","nome":"Castiadas"},{"code":"092015","cap":"09033","nome":"Decimomannu"},{"code":"092016","cap":"09010","nome":"Decimoputzu"},{"code":"092017","cap":"09041","nome":"Dolianova"},{"code":"092018","cap":"09010","nome":"Domus De Maria"},{"code":"092020","cap":"09040","nome":"Donori"},{"code":"092108","cap":"09030","nome":"Elmas"},{"code":"092110","cap":"08043","nome":"Escalaplano"},{"code":"092111","cap":"08030","nome":"Escolca"},{"code":"092112","cap":"08030","nome":"Esterzili"},{"code":"092113","cap":"08030","nome":"Gergei"},{"code":"092024","cap":"09040","nome":"Gesico"},{"code":"092027","cap":"09040","nome":"Goni"},{"code":"092030","cap":"09040","nome":"Guamaggiore"},{"code":"092031","cap":"09040","nome":"Guasila"},{"code":"092114","cap":"08033","nome":"Isili"},{"code":"092036","cap":"09040","nome":"Mandas"},{"code":"092037","cap":"09040","nome":"Maracalagonis"},{"code":"092038","cap":"09023","nome":"Monastir"},{"code":"092109","cap":"09042","nome":"Monserrato"},{"code":"092039","cap":"09043","nome":"Muravera"},{"code":"092115","cap":"08030","nome":"Nuragus"},{"code":"092116","cap":"08030","nome":"Nurallao"},{"code":"092042","cap":"09024","nome":"Nuraminis"},{"code":"092117","cap":"08035","nome":"Nurri"},{"code":"092118","cap":"08030","nome":"Orroli"},{"code":"092044","cap":"09040","nome":"Ortacesus"},{"code":"092048","cap":"09020","nome":"Pimentel"},{"code":"092050","cap":"09010","nome":"Pula"},{"code":"092051","cap":"09045","nome":"Quartu Sant\'Elena"},{"code":"092105","cap":"09044","nome":"Quartucciu"},{"code":"092119","cap":"08030","nome":"Sadali"},{"code":"092053","cap":"09020","nome":"Samatzai"},{"code":"092054","cap":"09040","nome":"San Basilio"},{"code":"092058","cap":"09040","nome":"San Nicol\xf2 Gerrei"},{"code":"092059","cap":"09026","nome":"San Sperate"},{"code":"092064","cap":"09040","nome":"San Vito"},{"code":"092061","cap":"09040","nome":"Sant\'Andrea Frius"},{"code":"092066","cap":"09018","nome":"Sarroch"},{"code":"092068","cap":"09047","nome":"Selargius"},{"code":"092069","cap":"09040","nome":"Selegas"},{"code":"092070","cap":"09040","nome":"Senorb\xec"},{"code":"092071","cap":"09040","nome":"Serdiana"},{"code":"092120","cap":"08030","nome":"Serri"},{"code":"092074","cap":"09028","nome":"Sestu"},{"code":"092075","cap":"09040","nome":"Settimo San Pietro"},{"code":"092121","cap":"08030","nome":"Seulo"},{"code":"092078","cap":"09010","nome":"Siliqua"},{"code":"092079","cap":"09040","nome":"Silius"},{"code":"092080","cap":"09048","nome":"Sinnai"},{"code":"092081","cap":"09040","nome":"Siurgus Donigala"},{"code":"092082","cap":"09040","nome":"Soleminis"},{"code":"092083","cap":"09040","nome":"Suelli"},{"code":"092084","cap":"09019","nome":"Teulada"},{"code":"092088","cap":"09020","nome":"Ussana"},{"code":"092090","cap":"09010","nome":"Uta"},{"code":"092091","cap":"09010","nome":"Vallermosa"},{"code":"092099","cap":"09010","nome":"Villa San Pietro"},{"code":"092122","cap":"08030","nome":"Villanova Tulo"},{"code":"092097","cap":"09040","nome":"Villaputzu"},{"code":"092098","cap":"09040","nome":"Villasalto"},{"code":"092100","cap":"09049","nome":"Villasimius"},{"code":"092101","cap":"09034","nome":"Villasor"},{"code":"092102","cap":"09010","nome":"Villaspeciosa"}],"nome":"Cagliari"},{"code":"CI","comuni":[{"code":"107001","cap":"09010","nome":"Buggerru"},{"code":"107002","cap":"09011","nome":"Calasetta"},{"code":"107003","cap":"09013","nome":"Carbonia"},{"code":"107004","cap":"09014","nome":"Carloforte"},{"code":"107005","cap":"09015","nome":"Domusnovas"},{"code":"107006","cap":"09010","nome":"Fluminimaggiore"},{"code":"107007","cap":"09010","nome":"Giba"},{"code":"107008","cap":"09010","nome":"Gonnesa"},{"code":"107009","cap":"09016","nome":"Iglesias"},{"code":"107010","cap":"09010","nome":"Masainas"},{"code":"107011","cap":"09010","nome":"Musei"},{"code":"107012","cap":"09010","nome":"Narcao"},{"code":"107013","cap":"09010","nome":"Nuxis"},{"code":"107014","cap":"09010","nome":"Perdaxius"},{"code":"107015","cap":"09010","nome":"Piscinas"},{"code":"107016","cap":"09010","nome":"Portoscuso"},{"code":"107017","cap":"09010","nome":"San Giovanni Suergiu"},{"code":"107018","cap":"09010","nome":"Santadi"},{"code":"107019","cap":"09010","nome":"Sant\'Anna Arresi"},{"code":"107020","cap":"09017","nome":"Sant\'Antioco"},{"code":"107021","cap":"09010","nome":"Tratalias"},{"code":"107022","cap":"09010","nome":"Villamassargia"},{"code":"107023","cap":"09010","nome":"Villaperuccio"}],"nome":"Carbonia-Iglesias"},{"code":"VS","comuni":[{"code":"106001","cap":"09031","nome":"Arbus"},{"code":"106002","cap":"09021","nome":"Barumini"},{"code":"106003","cap":"09020","nome":"Collinas"},{"code":"106004","cap":"09040","nome":"Furtei"},{"code":"106005","cap":"09020","nome":"Genuri"},{"code":"106006","cap":"09020","nome":"Gesturi"},{"code":"106007","cap":"09035","nome":"Gonnosfanadiga"},{"code":"106008","cap":"09036","nome":"Guspini"},{"code":"106009","cap":"09020","nome":"Las Plassas"},{"code":"106010","cap":"09022","nome":"Lunamatrona"},{"code":"106011","cap":"09030","nome":"Pabillonis"},{"code":"106012","cap":"09020","nome":"Pauli Arbarei"},{"code":"106013","cap":"09030","nome":"Samassi"},{"code":"106014","cap":"09037","nome":"San Gavino Monreale"},{"code":"106015","cap":"09025","nome":"Sanluri"},{"code":"106016","cap":"09030","nome":"Sardara"},{"code":"106017","cap":"09040","nome":"Segariu"},{"code":"106018","cap":"09038","nome":"Serramanna"},{"code":"106019","cap":"09027","nome":"Serrenti"},{"code":"106020","cap":"09029","nome":"Setzu"},{"code":"106021","cap":"09020","nome":"Siddi"},{"code":"106022","cap":"09029","nome":"Tuili"},{"code":"106023","cap":"09020","nome":"Turri"},{"code":"106024","cap":"09020","nome":"Ussaramanna"},{"code":"106025","cap":"09039","nome":"Villacidro"},{"code":"106026","cap":"09020","nome":"Villamar"},{"code":"106027","cap":"09020","nome":"Villanovaforru"},{"code":"106028","cap":"09020","nome":"Villanovafranca"}],"nome":"Medio Campidano"},{"code":"NU","comuni":[{"code":"091001","cap":"08031","nome":"Aritzo"},{"code":"091003","cap":"08030","nome":"Atzara"},{"code":"091004","cap":"08030","nome":"Austis"},{"code":"091007","cap":"08030","nome":"Belv\xec"},{"code":"091008","cap":"08010","nome":"Birori"},{"code":"091009","cap":"08021","nome":"Bitti"},{"code":"091010","cap":"08011","nome":"Bolotana"},{"code":"091011","cap":"08016","nome":"Borore"},{"code":"091012","cap":"08012","nome":"Bortigali"},{"code":"091016","cap":"08032","nome":"Desulo"},{"code":"091017","cap":"08022","nome":"Dorgali"},{"code":"091018","cap":"08010","nome":"Dualchi"},{"code":"091024","cap":"08023","nome":"Fonni"},{"code":"091025","cap":"08030","nome":"Gadoni"},{"code":"091027","cap":"08020","nome":"Galtell\xec"},{"code":"091028","cap":"08020","nome":"Gavoi"},{"code":"091033","cap":"08020","nome":"Irgoli"},{"code":"091038","cap":"08010","nome":"Lei"},{"code":"091040","cap":"08020","nome":"Loculi"},{"code":"091041","cap":"08020","nome":"Lod\xe8"},{"code":"091104","cap":"08020","nome":"Lodine"},{"code":"091043","cap":"08020","nome":"Lula"},{"code":"091044","cap":"08015","nome":"Macomer"},{"code":"091046","cap":"08024","nome":"Mamoiada"},{"code":"091047","cap":"08030","nome":"Meana Sardo"},{"code":"091050","cap":"08010","nome":"Noragugume"},{"code":"091051","cap":"08100","nome":"Nuoro"},{"code":"091055","cap":"08025","nome":"Oliena"},{"code":"091056","cap":"08020","nome":"Ollolai"},{"code":"091057","cap":"08020","nome":"Olzai"},{"code":"091058","cap":"08020","nome":"Onan\xec"},{"code":"091059","cap":"08020","nome":"Onifai"},{"code":"091060","cap":"08020","nome":"Oniferi"},{"code":"091061","cap":"08026","nome":"Orani"},{"code":"091062","cap":"08027","nome":"Orgosolo"},{"code":"091063","cap":"08028","nome":"Orosei"},{"code":"091064","cap":"08020","nome":"Orotelli"},{"code":"091066","cap":"08036","nome":"Ortueri"},{"code":"091067","cap":"08020","nome":"Orune"},{"code":"091068","cap":"08020","nome":"Osidda"},{"code":"091070","cap":"08020","nome":"Ottana"},{"code":"091071","cap":"08020","nome":"Ovodda"},{"code":"091073","cap":"08020","nome":"Posada"},{"code":"091077","cap":"08020","nome":"Sarule"},{"code":"091083","cap":"08017","nome":"Silanus"},{"code":"091084","cap":"08018","nome":"Sindia"},{"code":"091085","cap":"08029","nome":"Siniscola"},{"code":"091086","cap":"08038","nome":"Sorgono"},{"code":"091090","cap":"08030","nome":"Teti"},{"code":"091091","cap":"08020","nome":"Tiana"},{"code":"091093","cap":"08039","nome":"Tonara"},{"code":"091094","cap":"08020","nome":"Torp\xe8"}],"nome":"Nuoro"},{"code":"OG","comuni":[{"code":"105001","cap":"08040","nome":"Arzana"},{"code":"105002","cap":"08042","nome":"Bari Sardo"},{"code":"105003","cap":"08040","nome":"Baunei"},{"code":"105004","cap":"08040","nome":"Cardedu"},{"code":"105005","cap":"08040","nome":"Elini"},{"code":"105006","cap":"08040","nome":"Gairo"},{"code":"105007","cap":"08040","nome":"Girasole"},{"code":"105008","cap":"08040","nome":"Ilbono"},{"code":"105009","cap":"08044","nome":"Jerzu"},{"code":"105010","cap":"08045","nome":"Lanusei"},{"code":"105011","cap":"08040","nome":"Loceri"},{"code":"105012","cap":"08040","nome":"Lotzorai"},{"code":"105013","cap":"08040","nome":"Osini"},{"code":"105014","cap":"08046","nome":"Perdasdefogu"},{"code":"105015","cap":"08037","nome":"Seui"},{"code":"105016","cap":"08040","nome":"Talana"},{"code":"105017","cap":"08047","nome":"Tertenia"},{"code":"105018","cap":"08048","nome":"Tortol\xec"},{"code":"105019","cap":"08040","nome":"Triei"},{"code":"105020","cap":"08040","nome":"Ulassai"},{"code":"105021","cap":"08040","nome":"Urzulei"},{"code":"105022","cap":"08040","nome":"Ussassai"},{"code":"105023","cap":"08049","nome":"Villagrande Strisaili"}],"nome":"Ogliastra"},{"code":"OT","comuni":[{"code":"104001","cap":"07020","nome":"Aggius"},{"code":"104002","cap":"07020","nome":"Aglientu"},{"code":"104003","cap":"07020","nome":"Al\xe0 dei Sardi"},{"code":"104004","cap":"07021","nome":"Arzachena"},{"code":"104005","cap":"07030","nome":"Badesi"},{"code":"104006","cap":"07022","nome":"Berchidda"},{"code":"104007","cap":"07030","nome":"Bortigiadas"},{"code":"104008","cap":"07020","nome":"Buddus\xf2"},{"code":"104009","cap":"08020","nome":"Budoni"},{"code":"104010","cap":"07023","nome":"Calangianus"},{"code":"104011","cap":"07020","nome":"Golfo Aranci"},{"code":"104012","cap":"07024","nome":"La Maddalena"},{"code":"104013","cap":"07020","nome":"Loiri Porto San Paolo"},{"code":"104014","cap":"07020","nome":"Luogosanto"},{"code":"104015","cap":"07025","nome":"Luras"},{"code":"104016","cap":"07020","nome":"Monti"},{"code":"104017","cap":"07026","nome":"Olbia"},{"code":"104018","cap":"07027","nome":"Oschiri"},{"code":"104019","cap":"07020","nome":"Padru"},{"code":"104020","cap":"07020","nome":"Palau"},{"code":"104023","cap":"08020","nome":"San Teodoro"},{"code":"104022","cap":"07028","nome":"Santa Teresa Gallura"},{"code":"104021","cap":"07030","nome":"Sant\'Antonio di Gallura"},{"code":"104024","cap":"07020","nome":"Telti"},{"code":"104025","cap":"07029","nome":"Tempio Pausania"},{"code":"104026","cap":"07038","nome":"Trinit\xe0 d\'Agultu e Vignola"}],"nome":"Olbia-Tempio"},{"code":"OR","comuni":[{"code":"095001","cap":"09071","nome":"Abbasanta"},{"code":"095002","cap":"09070","nome":"Aidomaggiore"},{"code":"095003","cap":"09090","nome":"Albagiara"},{"code":"095004","cap":"09091","nome":"Ales"},{"code":"095005","cap":"09080","nome":"Allai"},{"code":"095006","cap":"09092","nome":"Arborea"},{"code":"095007","cap":"09081","nome":"Ardauli"},{"code":"095008","cap":"09080","nome":"Assolo"},{"code":"095009","cap":"09080","nome":"Asuni"},{"code":"095010","cap":"09090","nome":"Baradili"},{"code":"095011","cap":"09070","nome":"Baratili San Pietro"},{"code":"095012","cap":"09090","nome":"Baressa"},{"code":"095013","cap":"09070","nome":"Bauladu"},{"code":"095014","cap":"09080","nome":"Bidon\xec"},{"code":"095015","cap":"09070","nome":"Bonarcado"},{"code":"095016","cap":"09080","nome":"Boroneddu"},{"code":"095079","cap":"08013","nome":"Bosa"},{"code":"095017","cap":"09082","nome":"Busachi"},{"code":"095018","cap":"09072","nome":"Cabras"},{"code":"095019","cap":"09073","nome":"Cuglieri"},{"code":"095077","cap":"09090","nome":"Curcuris"},{"code":"095080","cap":"08010","nome":"Flussio"},{"code":"095020","cap":"09083","nome":"Fordongianus"},{"code":"095081","cap":"08030","nome":"Genoni"},{"code":"095021","cap":"09074","nome":"Ghilarza"},{"code":"095022","cap":"09090","nome":"Gonnoscodina"},{"code":"095023","cap":"09090","nome":"Gonnosn\xf2"},{"code":"095024","cap":"09093","nome":"Gonnostramatza"},{"code":"095082","cap":"08034","nome":"Laconi"},{"code":"095083","cap":"08010","nome":"Magomadas"},{"code":"095025","cap":"09094","nome":"Marrubiu"},{"code":"095026","cap":"09090","nome":"Masullas"},{"code":"095027","cap":"09070","nome":"Milis"},{"code":"095084","cap":"08019","nome":"Modolo"},{"code":"095028","cap":"09080","nome":"Mogorella"},{"code":"095029","cap":"09095","nome":"Mogoro"},{"code":"095085","cap":"08010","nome":"Montresta"},{"code":"095030","cap":"09090","nome":"Morgongiori"},{"code":"095031","cap":"09070","nome":"Narbolia"},{"code":"095032","cap":"09080","nome":"Neoneli"},{"code":"095033","cap":"09070","nome":"Norbello"},{"code":"095034","cap":"09080","nome":"Nughedu Santa Vittoria"},{"code":"095035","cap":"09070","nome":"Nurachi"},{"code":"095036","cap":"09080","nome":"Nureci"},{"code":"095037","cap":"09088","nome":"Ollastra"},{"code":"095038","cap":"09170","nome":"Oristano"},{"code":"095039","cap":"09090","nome":"Palmas Arborea"},{"code":"095040","cap":"09090","nome":"Pau"},{"code":"095041","cap":"09070","nome":"Paulilatino"},{"code":"095042","cap":"09093","nome":"Pompu"},{"code":"095043","cap":"09070","nome":"Riola Sardo"},{"code":"095044","cap":"09085","nome":"Ruinas"},{"code":"095086","cap":"08010","nome":"Sagama"},{"code":"095045","cap":"09086","nome":"Samugheo"},{"code":"095046","cap":"09097","nome":"San Nicol\xf2 d\'Arcidano"},{"code":"095050","cap":"09070","nome":"San Vero Milis"},{"code":"095047","cap":"09096","nome":"Santa Giusta"},{"code":"095049","cap":"09075","nome":"Santu Lussurgiu"},{"code":"095051","cap":"09078","nome":"Scano di Montiferro"},{"code":"095052","cap":"09076","nome":"Sedilo"},{"code":"095053","cap":"09070","nome":"Seneghe"},{"code":"095054","cap":"09080","nome":"Senis"},{"code":"095055","cap":"09078","nome":"Sennariolo"},{"code":"095056","cap":"09070","nome":"Siamaggiore"},{"code":"095057","cap":"09080","nome":"Siamanna"},{"code":"095076","cap":"09080","nome":"Siapiccia"},{"code":"095058","cap":"09090","nome":"Simala"},{"code":"095059","cap":"09088","nome":"Simaxis"},{"code":"095060","cap":"09090","nome":"Sini"},{"code":"095061","cap":"09090","nome":"Siris"},{"code":"095078","cap":"09080","nome":"Sodd\xec"},{"code":"095062","cap":"09077","nome":"Solarussa"},{"code":"095063","cap":"09080","nome":"Sorradile"},{"code":"095087","cap":"08010","nome":"Suni"},{"code":"095064","cap":"09080","nome":"Tadasuni"},{"code":"095065","cap":"09098","nome":"Terralba"},{"code":"095088","cap":"08010","nome":"Tinnura"},{"code":"095066","cap":"09070","nome":"Tramatza"},{"code":"095067","cap":"09079","nome":"Tresnuraghes"},{"code":"095068","cap":"09080","nome":"Ul\xe0 Tirso"},{"code":"095069","cap":"09099","nome":"Uras"},{"code":"095070","cap":"09090","nome":"Usellus"},{"code":"095048","cap":"09080","nome":"Villa Sant\'Antonio"},{"code":"095073","cap":"09090","nome":"Villa Verde"},{"code":"095071","cap":"09084","nome":"Villanova Truschedu"},{"code":"095072","cap":"09080","nome":"Villaurbana"},{"code":"095074","cap":"09070","nome":"Zeddiani"},{"code":"095075","cap":"09070","nome":"Zerfaliu"}],"nome":"Oristano"},{"code":"SS","comuni":[{"code":"090003","cap":"07041","nome":"Alghero"},{"code":"090004","cap":"07010","nome":"Anela"},{"code":"090005","cap":"07010","nome":"Ardara"},{"code":"090007","cap":"07040","nome":"Banari"},{"code":"090008","cap":"07010","nome":"Benetutti"},{"code":"090010","cap":"07040","nome":"Bessude"},{"code":"090011","cap":"07043","nome":"Bonnanaro"},{"code":"090012","cap":"07011","nome":"Bono"},{"code":"090013","cap":"07012","nome":"Bonorva"},{"code":"090015","cap":"07040","nome":"Borutta"},{"code":"090016","cap":"07010","nome":"Bottidda"},{"code":"090018","cap":"07010","nome":"Bultei"},{"code":"090019","cap":"07030","nome":"Bulzi"},{"code":"090020","cap":"07010","nome":"Burgos"},{"code":"090022","cap":"07030","nome":"Cargeghe"},{"code":"090023","cap":"07031","nome":"Castelsardo"},{"code":"090024","cap":"07040","nome":"Cheremule"},{"code":"090025","cap":"07030","nome":"Chiaramonti"},{"code":"090026","cap":"07040","nome":"Codrongianos"},{"code":"090027","cap":"07010","nome":"Cossoine"},{"code":"090088","cap":"07030","nome":"Erula"},{"code":"090028","cap":"07010","nome":"Esporlatu"},{"code":"090029","cap":"07030","nome":"Florinas"},{"code":"090030","cap":"07010","nome":"Giave"},{"code":"090031","cap":"07010","nome":"Illorai"},{"code":"090032","cap":"07010","nome":"Ittireddu"},{"code":"090033","cap":"07044","nome":"Ittiri"},{"code":"090034","cap":"07030","nome":"Laerru"},{"code":"090038","cap":"07010","nome":"Mara"},{"code":"090039","cap":"07030","nome":"Martis"},{"code":"090040","cap":"07010","nome":"Monteleone Rocca Doria"},{"code":"090042","cap":"07013","nome":"Mores"},{"code":"090043","cap":"07030","nome":"Muros"},{"code":"090044","cap":"07010","nome":"Nughedu San Nicol\xf2"},{"code":"090045","cap":"07010","nome":"Nule"},{"code":"090046","cap":"07032","nome":"Nulvi"},{"code":"090048","cap":"07040","nome":"Olmedo"},{"code":"090050","cap":"07033","nome":"Osilo"},{"code":"090051","cap":"07045","nome":"Ossi"},{"code":"090052","cap":"07014","nome":"Ozieri"},{"code":"090053","cap":"07015","nome":"Padria"},{"code":"090055","cap":"07016","nome":"Pattada"},{"code":"090056","cap":"07034","nome":"Perfugas"},{"code":"090057","cap":"07017","nome":"Ploaghe"},{"code":"090058","cap":"07046","nome":"Porto Torres"},{"code":"090059","cap":"07018","nome":"Pozzomaggiore"},{"code":"090060","cap":"07040","nome":"Putifigari"},{"code":"090061","cap":"07010","nome":"Romana"},{"code":"090087","cap":"07030","nome":"Santa Maria Coghinas"},{"code":"090064","cap":"07100","nome":"Sassari"},{"code":"090065","cap":"07035","nome":"Sedini"},{"code":"090066","cap":"07010","nome":"Semestene"},{"code":"090067","cap":"07036","nome":"Sennori"},{"code":"090068","cap":"07040","nome":"Siligo"},{"code":"090069","cap":"07037","nome":"Sorso"},{"code":"090089","cap":"07040","nome":"Stintino"},{"code":"090086","cap":"07030","nome":"Tergu"},{"code":"090071","cap":"07047","nome":"Thiesi"},{"code":"090072","cap":"07040","nome":"Tissi"},{"code":"090073","cap":"07048","nome":"Torralba"},{"code":"090075","cap":"07010","nome":"Tula"},{"code":"090076","cap":"07040","nome":"Uri"},{"code":"090077","cap":"07049","nome":"Usini"},{"code":"090079","cap":"07039","nome":"Valledoria"},{"code":"090082","cap":"07030","nome":"Viddalba"},{"code":"090078","cap":"07019","nome":"Villanova Monteleone"}],"nome":"Sassari"}],"nome":"Sardegna"},{"province":[{"code":"AG","comuni":[{"code":"084001","cap":"92100","nome":"Agrigento"},{"code":"084002","cap":"92010","nome":"Alessandria della Rocca"},{"code":"084003","cap":"92021","nome":"Aragona"},{"code":"084004","cap":"92010","nome":"Bivona"},{"code":"084005","cap":"92010","nome":"Burgio"},{"code":"084006","cap":"92010","nome":"Calamonaci"},{"code":"084007","cap":"92010","nome":"Caltabellotta"},{"code":"084008","cap":"92020","nome":"Camastra"},{"code":"084009","cap":"92022","nome":"Cammarata"},{"code":"084010","cap":"92023","nome":"Campobello di Licata"},{"code":"084011","cap":"92024","nome":"Canicatt\xec"},{"code":"084012","cap":"92025","nome":"Casteltermini"},{"code":"084013","cap":"92020","nome":"Castrofilippo"},{"code":"084014","cap":"92011","nome":"Cattolica Eraclea"},{"code":"084015","cap":"92012","nome":"Cianciana"},{"code":"084016","cap":"92020","nome":"Comitini"},{"code":"084017","cap":"92026","nome":"Favara"},{"code":"084018","cap":"92020","nome":"Grotte"},{"code":"084019","cap":"92010","nome":"Joppolo Giancaxio"},{"code":"084020","cap":"92010","nome":"Lampedusa e Linosa"},{"code":"084021","cap":"92027","nome":"Licata"},{"code":"084022","cap":"92010","nome":"Lucca Sicula"},{"code":"084023","cap":"92013","nome":"Menfi"},{"code":"084024","cap":"92010","nome":"Montallegro"},{"code":"084025","cap":"92010","nome":"Montevago"},{"code":"084026","cap":"92028","nome":"Naro"},{"code":"084027","cap":"92020","nome":"Palma di Montechiaro"},{"code":"084028","cap":"92014","nome":"Porto Empedocle"},{"code":"084029","cap":"92020","nome":"Racalmuto"},{"code":"084030","cap":"92015","nome":"Raffadali"},{"code":"084031","cap":"92029","nome":"Ravanusa"},{"code":"084032","cap":"92010","nome":"Realmonte"},{"code":"084033","cap":"92016","nome":"Ribera"},{"code":"084034","cap":"92017","nome":"Sambuca di Sicilia"},{"code":"084035","cap":"92020","nome":"San Biagio Platani"},{"code":"084036","cap":"92020","nome":"San Giovanni Gemini"},{"code":"084037","cap":"92020","nome":"Santa Elisabetta"},{"code":"084038","cap":"92018","nome":"Santa Margherita di Belice"},{"code":"084039","cap":"92020","nome":"Sant\'Angelo Muxaro"},{"code":"084040","cap":"92020","nome":"Santo Stefano Quisquina"},{"code":"084041","cap":"92019","nome":"Sciacca"},{"code":"084042","cap":"92010","nome":"Siculiana"},{"code":"084043","cap":"92020","nome":"Villafranca Sicula"}],"nome":"Agrigento"},{"code":"CL","comuni":[{"code":"085001","cap":"93010","nome":"Acquaviva Platani"},{"code":"085002","cap":"93010","nome":"Bompensiere"},{"code":"085003","cap":"93011","nome":"Butera"},{"code":"085004","cap":"93100","nome":"Caltanissetta"},{"code":"085005","cap":"93010","nome":"Campofranco"},{"code":"085006","cap":"93010","nome":"Delia"},{"code":"085007","cap":"93012","nome":"Gela"},{"code":"085008","cap":"93010","nome":"Marianopoli"},{"code":"085009","cap":"93013","nome":"Mazzarino"},{"code":"085010","cap":"93010","nome":"Milena"},{"code":"085011","cap":"93010","nome":"Montedoro"},{"code":"085012","cap":"93014","nome":"Mussomeli"},{"code":"085013","cap":"93015","nome":"Niscemi"},{"code":"085014","cap":"93010","nome":"Resuttano"},{"code":"085015","cap":"93016","nome":"Riesi"},{"code":"085016","cap":"93017","nome":"San Cataldo"},{"code":"085017","cap":"93018","nome":"Santa Caterina Villarmosa"},{"code":"085018","cap":"93010","nome":"Serradifalco"},{"code":"085019","cap":"93019","nome":"Sommatino"},{"code":"085020","cap":"93010","nome":"Sutera"},{"code":"085021","cap":"93010","nome":"Vallelunga Pratameno"},{"code":"085022","cap":"93010","nome":"Villalba"}],"nome":"Caltanissetta"},{"code":"CT","comuni":[{"code":"087001","cap":"95020","nome":"Aci Bonaccorsi"},{"code":"087002","cap":"95021","nome":"Aci Castello"},{"code":"087003","cap":"95022","nome":"Aci Catena"},{"code":"087005","cap":"95025","nome":"Aci Sant\'Antonio"},{"code":"087004","cap":"95024","nome":"Acireale"},{"code":"087006","cap":"95031","nome":"Adrano"},{"code":"087007","cap":"95032","nome":"Belpasso"},{"code":"087008","cap":"95033","nome":"Biancavilla"},{"code":"087009","cap":"95034","nome":"Bronte"},{"code":"087010","cap":"95011","nome":"Calatabiano"},{"code":"087011","cap":"95041","nome":"Caltagirone"},{"code":"087012","cap":"95040","nome":"Camporotondo Etneo"},{"code":"087013","cap":"95040","nome":"Castel di Iudica"},{"code":"087014","cap":"95012","nome":"Castiglione di Sicilia"},{"code":"087015","cap":"951xx","nome":"Catania"},{"code":"087016","cap":"95013","nome":"Fiumefreddo di Sicilia"},{"code":"087017","cap":"95014","nome":"Giarre"},{"code":"087018","cap":"95042","nome":"Grammichele"},{"code":"087019","cap":"95030","nome":"Gravina di Catania"},{"code":"087020","cap":"95040","nome":"Licodia Eubea"},{"code":"087021","cap":"95015","nome":"Linguaglossa"},{"code":"087022","cap":"95035","nome":"Maletto"},{"code":"087057","cap":"95030","nome":"Maniace"},{"code":"087023","cap":"95016","nome":"Mascali"},{"code":"087024","cap":"95030","nome":"Mascalucia"},{"code":"087056","cap":"95040","nome":"Mazzarrone"},{"code":"087025","cap":"95043","nome":"Militello in Val di Catania"},{"code":"087026","cap":"95010","nome":"Milo"},{"code":"087027","cap":"95044","nome":"Mineo"},{"code":"087028","cap":"95040","nome":"Mirabella Imbaccari"},{"code":"087029","cap":"95045","nome":"Misterbianco"},{"code":"087030","cap":"95040","nome":"Motta Sant\'Anastasia"},{"code":"087031","cap":"95030","nome":"Nicolosi"},{"code":"087032","cap":"95046","nome":"Palagonia"},{"code":"087033","cap":"95047","nome":"Patern\xf2"},{"code":"087034","cap":"95030","nome":"Pedara"},{"code":"087035","cap":"95017","nome":"Piedimonte Etneo"},{"code":"087036","cap":"95040","nome":"Raddusa"},{"code":"087058","cap":"95030","nome":"Ragalna"},{"code":"087037","cap":"95040","nome":"Ramacca"},{"code":"087038","cap":"95036","nome":"Randazzo"},{"code":"087039","cap":"95018","nome":"Riposto"},{"code":"087040","cap":"95040","nome":"San Cono"},{"code":"087041","cap":"95037","nome":"San Giovanni la Punta"},{"code":"087042","cap":"95027","nome":"San Gregorio di Catania"},{"code":"087043","cap":"95040","nome":"San Michele di Ganzaria"},{"code":"087044","cap":"95030","nome":"San Pietro Clarenza"},{"code":"087047","cap":"95038","nome":"Santa Maria di Licodia"},{"code":"087048","cap":"95010","nome":"Santa Venerina"},{"code":"087045","cap":"95030","nome":"Sant\'Agata Li Battiati"},{"code":"087046","cap":"95010","nome":"Sant\'Alfio"},{"code":"087049","cap":"95048","nome":"Scordia"},{"code":"087050","cap":"95039","nome":"Trecastagni"},{"code":"087051","cap":"95030","nome":"Tremestieri Etneo"},{"code":"087052","cap":"95028","nome":"Valverde"},{"code":"087053","cap":"95029","nome":"Viagrande"},{"code":"087054","cap":"95049","nome":"Vizzini"},{"code":"087055","cap":"95019","nome":"Zafferana Etnea"}],"nome":"Catania"},{"code":"EN","comuni":[{"code":"086001","cap":"94011","nome":"Agira"},{"code":"086002","cap":"94010","nome":"Aidone"},{"code":"086003","cap":"94010","nome":"Assoro"},{"code":"086004","cap":"94012","nome":"Barrafranca"},{"code":"086005","cap":"94010","nome":"Calascibetta"},{"code":"086006","cap":"94010","nome":"Catenanuova"},{"code":"086007","cap":"94010","nome":"Centuripe"},{"code":"086008","cap":"94010","nome":"Cerami"},{"code":"086009","cap":"94100","nome":"Enna"},{"code":"086010","cap":"94010","nome":"Gagliano Castelferrato"},{"code":"086011","cap":"94013","nome":"Leonforte"},{"code":"086012","cap":"94014","nome":"Nicosia"},{"code":"086013","cap":"94010","nome":"Nissoria"},{"code":"086014","cap":"94015","nome":"Piazza Armerina"},{"code":"086015","cap":"94016","nome":"Pietraperzia"},{"code":"086016","cap":"94017","nome":"Regalbuto"},{"code":"086017","cap":"94010","nome":"Sperlinga"},{"code":"086018","cap":"94018","nome":"Troina"},{"code":"086019","cap":"94019","nome":"Valguarnera Caropepe"},{"code":"086020","cap":"94010","nome":"Villarosa"}],"nome":"Enna"},{"code":"ME","comuni":[{"code":"083107","cap":"98070","nome":"Acquedolci"},{"code":"083001","cap":"98070","nome":"Alcara Li Fusi"},{"code":"083002","cap":"98020","nome":"Al\xec"},{"code":"083003","cap":"98021","nome":"Al\xec Terme"},{"code":"083004","cap":"98030","nome":"Antillo"},{"code":"083005","cap":"98051","nome":"Barcellona Pozzo di Gotto"},{"code":"083006","cap":"98060","nome":"Basic\xf2"},{"code":"083007","cap":"98061","nome":"Brolo"},{"code":"083008","cap":"98031","nome":"Capizzi"},{"code":"083009","cap":"98071","nome":"Capo d\'Orlando"},{"code":"083010","cap":"98070","nome":"Capri Leone"},{"code":"083011","cap":"98072","nome":"Caronia"},{"code":"083012","cap":"98032","nome":"Casalvecchio Siculo"},{"code":"083013","cap":"98070","nome":"Castel di Lucio"},{"code":"083014","cap":"98070","nome":"Castell\'Umberto"},{"code":"083015","cap":"98030","nome":"Castelmola"},{"code":"083016","cap":"98053","nome":"Castroreale"},{"code":"083017","cap":"98033","nome":"Cesar\xf2"},{"code":"083018","cap":"98040","nome":"Condr\xf2"},{"code":"083019","cap":"98060","nome":"Falcone"},{"code":"083020","cap":"98062","nome":"Ficarra"},{"code":"083021","cap":"98022","nome":"Fiumedinisi"},{"code":"083022","cap":"98030","nome":"Floresta"},{"code":"083023","cap":"98050","nome":"Fondachelli-Fantina"},{"code":"083024","cap":"98030","nome":"Forza d\'Agr\xf2"},{"code":"083025","cap":"98034","nome":"Francavilla di Sicilia"},{"code":"083026","cap":"98070","nome":"Frazzan\xf2"},{"code":"083027","cap":"98023","nome":"Furci Siculo"},{"code":"083028","cap":"98054","nome":"Furnari"},{"code":"083029","cap":"98030","nome":"Gaggi"},{"code":"083030","cap":"98070","nome":"Galati Mamertino"},{"code":"083031","cap":"98030","nome":"Gallodoro"},{"code":"083032","cap":"98035","nome":"Giardini-Naxos"},{"code":"083033","cap":"98063","nome":"Gioiosa Marea"},{"code":"083034","cap":"98036","nome":"Graniti"},{"code":"083035","cap":"98040","nome":"Gualtieri Sicamin\xf2"},{"code":"083036","cap":"98025","nome":"Itala"},{"code":"083037","cap":"98050","nome":"Leni"},{"code":"083038","cap":"98037","nome":"Letojanni"},{"code":"083039","cap":"98064","nome":"Librizzi"},{"code":"083040","cap":"98030","nome":"Limina"},{"code":"083041","cap":"98055","nome":"Lipari"},{"code":"083042","cap":"98070","nome":"Longi"},{"code":"083043","cap":"98050","nome":"Malfa"},{"code":"083044","cap":"98030","nome":"Malvagna"},{"code":"083045","cap":"98020","nome":"Mandanici"},{"code":"083046","cap":"98056","nome":"Mazzarr\xe0 Sant\'Andrea"},{"code":"083047","cap":"98040","nome":"Mer\xec"},{"code":"083048","cap":"981xx","nome":"Messina"},{"code":"083049","cap":"98057","nome":"Milazzo"},{"code":"083050","cap":"98070","nome":"Militello Rosmarino"},{"code":"083051","cap":"98070","nome":"Mirto"},{"code":"083052","cap":"98073","nome":"Mistretta"},{"code":"083053","cap":"98030","nome":"Moio Alcantara"},{"code":"083054","cap":"98041","nome":"Monforte San Giorgio"},{"code":"083055","cap":"98030","nome":"Mongiuffi Melia"},{"code":"083056","cap":"98060","nome":"Montagnareale"},{"code":"083057","cap":"98065","nome":"Montalbano Elicona"},{"code":"083058","cap":"98030","nome":"Motta Camastra"},{"code":"083059","cap":"98070","nome":"Motta d\'Affermo"},{"code":"083060","cap":"98074","nome":"Naso"},{"code":"083061","cap":"98026","nome":"Nizza di Sicilia"},{"code":"083062","cap":"98058","nome":"Novara di Sicilia"},{"code":"083063","cap":"98060","nome":"Oliveri"},{"code":"083064","cap":"98042","nome":"Pace del Mela"},{"code":"083065","cap":"98020","nome":"Pagliara"},{"code":"083066","cap":"98066","nome":"Patti"},{"code":"083067","cap":"98070","nome":"Pettineo"},{"code":"083068","cap":"98060","nome":"Piraino"},{"code":"083069","cap":"98067","nome":"Raccuja"},{"code":"083070","cap":"98070","nome":"Reitano"},{"code":"083071","cap":"98030","nome":"Roccafiorita"},{"code":"083072","cap":"98027","nome":"Roccalumera"},{"code":"083073","cap":"98040","nome":"Roccavaldina"},{"code":"083074","cap":"98030","nome":"Roccella Valdemone"},{"code":"083075","cap":"98059","nome":"Rod\xec Milici"},{"code":"083076","cap":"98043","nome":"Rometta"},{"code":"083077","cap":"98044","nome":"San Filippo del Mela"},{"code":"083078","cap":"98075","nome":"San Fratello"},{"code":"083079","cap":"98070","nome":"San Marco D\'Alunzio"},{"code":"083080","cap":"98045","nome":"San Pier Niceto"},{"code":"083081","cap":"98068","nome":"San Piero Patti"},{"code":"083082","cap":"98070","nome":"San Salvatore di Fitalia"},{"code":"083090","cap":"98030","nome":"San Teodoro"},{"code":"083083","cap":"98030","nome":"Santa Domenica Vittoria"},{"code":"083086","cap":"98046","nome":"Santa Lucia del Mela"},{"code":"083087","cap":"98050","nome":"Santa Marina Salina"},{"code":"083089","cap":"98028","nome":"Santa Teresa di Riva"},{"code":"083084","cap":"98076","nome":"Sant\'Agata di Militello"},{"code":"083085","cap":"98030","nome":"Sant\'Alessio Siculo"},{"code":"083088","cap":"98060","nome":"Sant\'Angelo di Brolo"},{"code":"083091","cap":"98077","nome":"Santo Stefano di Camastra"},{"code":"083092","cap":"98047","nome":"Saponara"},{"code":"083093","cap":"98038","nome":"Savoca"},{"code":"083094","cap":"98029","nome":"Scaletta Zanclea"},{"code":"083095","cap":"98069","nome":"Sinagra"},{"code":"083096","cap":"98048","nome":"Spadafora"},{"code":"083097","cap":"98039","nome":"Taormina"},{"code":"083106","cap":"98050","nome":"Terme Vigliatore"},{"code":"083098","cap":"98040","nome":"Torregrotta"},{"code":"083108","cap":"98070","nome":"Torrenova"},{"code":"083099","cap":"98078","nome":"Tortorici"},{"code":"083100","cap":"98060","nome":"Tripi"},{"code":"083101","cap":"98079","nome":"Tusa"},{"code":"083102","cap":"98060","nome":"Ucria"},{"code":"083103","cap":"98040","nome":"Valdina"},{"code":"083104","cap":"98040","nome":"Venetico"},{"code":"083105","cap":"98049","nome":"Villafranca Tirrena"}],"nome":"Messina"},{"code":"PA","comuni":[{"code":"082001","cap":"90021","nome":"Alia"},{"code":"082002","cap":"90020","nome":"Alimena"},{"code":"082003","cap":"90020","nome":"Aliminusa"},{"code":"082004","cap":"90010","nome":"Altavilla Milicia"},{"code":"082005","cap":"90030","nome":"Altofonte"},{"code":"082006","cap":"90011","nome":"Bagheria"},{"code":"082007","cap":"90041","nome":"Balestrate"},{"code":"082008","cap":"90020","nome":"Baucina"},{"code":"082009","cap":"90031","nome":"Belmonte Mezzagno"},{"code":"082010","cap":"90032","nome":"Bisacquino"},{"code":"082082","cap":"90020","nome":"Blufi"},{"code":"082011","cap":"90030","nome":"Bolognetta"},{"code":"082012","cap":"90020","nome":"Bompietro"},{"code":"082013","cap":"90042","nome":"Borgetto"},{"code":"082014","cap":"90012","nome":"Caccamo"},{"code":"082015","cap":"90022","nome":"Caltavuturo"},{"code":"082016","cap":"90030","nome":"Campofelice di Fitalia"},{"code":"082017","cap":"90010","nome":"Campofelice di Roccella"},{"code":"082018","cap":"90030","nome":"Campofiorito"},{"code":"082019","cap":"90043","nome":"Camporeale"},{"code":"082020","cap":"90040","nome":"Capaci"},{"code":"082021","cap":"90044","nome":"Carini"},{"code":"082022","cap":"90013","nome":"Castelbuono"},{"code":"082023","cap":"90014","nome":"Casteldaccia"},{"code":"082024","cap":"90020","nome":"Castellana Sicula"},{"code":"082025","cap":"90030","nome":"Castronovo di Sicilia"},{"code":"082026","cap":"90030","nome":"Cefal\xe0 Diana"},{"code":"082027","cap":"90015","nome":"Cefal\xf9"},{"code":"082028","cap":"90010","nome":"Cerda"},{"code":"082029","cap":"90033","nome":"Chiusa Sclafani"},{"code":"082030","cap":"90023","nome":"Ciminna"},{"code":"082031","cap":"90045","nome":"Cinisi"},{"code":"082032","cap":"90016","nome":"Collesano"},{"code":"082033","cap":"90030","nome":"Contessa Entellina"},{"code":"082034","cap":"90034","nome":"Corleone"},{"code":"082035","cap":"90010","nome":"Ficarazzi"},{"code":"082036","cap":"90024","nome":"Gangi"},{"code":"082037","cap":"90010","nome":"Geraci Siculo"},{"code":"082038","cap":"90040","nome":"Giardinello"},{"code":"082039","cap":"90030","nome":"Giuliana"},{"code":"082040","cap":"90030","nome":"Godrano"},{"code":"082041","cap":"90010","nome":"Gratteri"},{"code":"082042","cap":"90010","nome":"Isnello"},{"code":"082043","cap":"90040","nome":"Isola delle Femmine"},{"code":"082044","cap":"90010","nome":"Lascari"},{"code":"082045","cap":"90025","nome":"Lercara Friddi"},{"code":"082046","cap":"90035","nome":"Marineo"},{"code":"082047","cap":"90030","nome":"Mezzojuso"},{"code":"082048","cap":"90036","nome":"Misilmeri"},{"code":"082049","cap":"90046","nome":"Monreale"},{"code":"082050","cap":"90040","nome":"Montelepre"},{"code":"082051","cap":"90020","nome":"Montemaggiore Belsito"},{"code":"082052","cap":"90030","nome":"Palazzo Adriano"},{"code":"082053","cap":"901xx","nome":"Palermo"},{"code":"082054","cap":"90047","nome":"Partinico"},{"code":"082055","cap":"90026","nome":"Petralia Soprana"},{"code":"082056","cap":"90027","nome":"Petralia Sottana"},{"code":"082057","cap":"90037","nome":"Piana degli Albanesi"},{"code":"082058","cap":"90028","nome":"Polizzi Generosa"},{"code":"082059","cap":"90010","nome":"Pollina"},{"code":"082060","cap":"90038","nome":"Prizzi"},{"code":"082061","cap":"90040","nome":"Roccamena"},{"code":"082062","cap":"90020","nome":"Roccapalumba"},{"code":"082063","cap":"90040","nome":"San Cipirello"},{"code":"082064","cap":"90048","nome":"San Giuseppe Jato"},{"code":"082065","cap":"90010","nome":"San Mauro Castelverde"},{"code":"082066","cap":"90030","nome":"Santa Cristina Gela"},{"code":"082067","cap":"90017","nome":"Santa Flavia"},{"code":"082068","cap":"90020","nome":"Sciara"},{"code":"082081","cap":"90020","nome":"Scillato"},{"code":"082069","cap":"90020","nome":"Sclafani Bagni"},{"code":"082070","cap":"90018","nome":"Termini Imerese"},{"code":"082071","cap":"90049","nome":"Terrasini"},{"code":"082072","cap":"90040","nome":"Torretta"},{"code":"082073","cap":"90019","nome":"Trabia"},{"code":"082074","cap":"90040","nome":"Trappeto"},{"code":"082075","cap":"90010","nome":"Ustica"},{"code":"082076","cap":"90029","nome":"Valledolmo"},{"code":"082077","cap":"90020","nome":"Ventimiglia di Sicilia"},{"code":"082078","cap":"90020","nome":"Vicari"},{"code":"082079","cap":"90039","nome":"Villabate"},{"code":"082080","cap":"90030","nome":"Villafrati"}],"nome":"Palermo"},{"code":"RG","comuni":[{"code":"088001","cap":"97011","nome":"Acate"},{"code":"088002","cap":"97012","nome":"Chiaramonte Gulfi"},{"code":"088003","cap":"97013","nome":"Comiso"},{"code":"088004","cap":"97010","nome":"Giarratana"},{"code":"088005","cap":"97014","nome":"Ispica"},{"code":"088006","cap":"97015","nome":"Modica"},{"code":"088007","cap":"97010","nome":"Monterosso Almo"},{"code":"088008","cap":"97016","nome":"Pozzallo"},{"code":"088009","cap":"97100","nome":"Ragusa"},{"code":"088010","cap":"97017","nome":"Santa Croce Camerina"},{"code":"088011","cap":"97018","nome":"Scicli"},{"code":"088012","cap":"97019","nome":"Vittoria"}],"nome":"Ragusa"},{"code":"SR","comuni":[{"code":"089001","cap":"96011","nome":"Augusta"},{"code":"089002","cap":"96012","nome":"Avola"},{"code":"089003","cap":"96010","nome":"Buccheri"},{"code":"089004","cap":"96010","nome":"Buscemi"},{"code":"089005","cap":"96010","nome":"Canicattini Bagni"},{"code":"089006","cap":"96013","nome":"Carlentini"},{"code":"089007","cap":"96010","nome":"Cassaro"},{"code":"089008","cap":"96010","nome":"Ferla"},{"code":"089009","cap":"96014","nome":"Floridia"},{"code":"089010","cap":"96015","nome":"Francofonte"},{"code":"089011","cap":"96016","nome":"Lentini"},{"code":"089012","cap":"96010","nome":"Melilli"},{"code":"089013","cap":"96017","nome":"Noto"},{"code":"089014","cap":"96018","nome":"Pachino"},{"code":"089015","cap":"96010","nome":"Palazzolo Acreide"},{"code":"089020","cap":"96010","nome":"Portopalo di Capo Passero"},{"code":"089021","cap":"96010","nome":"Priolo Gargallo"},{"code":"089016","cap":"96019","nome":"Rosolini"},{"code":"089017","cap":"96100","nome":"Siracusa"},{"code":"089018","cap":"96010","nome":"Solarino"},{"code":"089019","cap":"96010","nome":"Sortino"}],"nome":"Siracusa"},{"code":"TP","comuni":[{"code":"081001","cap":"91011","nome":"Alcamo"},{"code":"081002","cap":"91012","nome":"Buseto Palizzolo"},{"code":"081003","cap":"91013","nome":"Calatafimi Segesta"},{"code":"081004","cap":"91021","nome":"Campobello di Mazara"},{"code":"081005","cap":"91014","nome":"Castellammare del Golfo"},{"code":"081006","cap":"91022","nome":"Castelvetrano"},{"code":"081007","cap":"91015","nome":"Custonaci"},{"code":"081008","cap":"91016","nome":"Erice"},{"code":"081009","cap":"91023","nome":"Favignana"},{"code":"081010","cap":"91024","nome":"Gibellina"},{"code":"081011","cap":"91025","nome":"Marsala"},{"code":"081012","cap":"91026","nome":"Mazara del Vallo"},{"code":"081013","cap":"91027","nome":"Paceco"},{"code":"081014","cap":"91017","nome":"Pantelleria"},{"code":"081015","cap":"91028","nome":"Partanna"},{"code":"081024","cap":"91020","nome":"Petrosino"},{"code":"081016","cap":"91020","nome":"Poggioreale"},{"code":"081017","cap":"91020","nome":"Salaparuta"},{"code":"081018","cap":"91018","nome":"Salemi"},{"code":"081020","cap":"91010","nome":"San Vito Lo Capo"},{"code":"081019","cap":"91029","nome":"Santa Ninfa"},{"code":"081021","cap":"91100","nome":"Trapani"},{"code":"081022","cap":"91019","nome":"Valderice"},{"code":"081023","cap":"91010","nome":"Vita"}],"nome":"Trapani"}],"nome":"Sicilia"},{"province":[{"code":"AR","comuni":[{"code":"051001","cap":"52031","nome":"Anghiari"},{"code":"051002","cap":"52100","nome":"Arezzo"},{"code":"051003","cap":"52032","nome":"Badia Tedalda"},{"code":"051004","cap":"52011","nome":"Bibbiena"},{"code":"051005","cap":"52021","nome":"Bucine"},{"code":"051006","cap":"52010","nome":"Capolona"},{"code":"051007","cap":"52033","nome":"Caprese Michelangelo"},{"code":"051008","cap":"52016","nome":"Castel Focognano"},{"code":"051010","cap":"52018","nome":"Castel San Niccol\xf2"},{"code":"051009","cap":"52020","nome":"Castelfranco di Sopra"},{"code":"051011","cap":"52029","nome":"Castiglion Fibocchi"},{"code":"051012","cap":"52043","nome":"Castiglion Fiorentino"},{"code":"051013","cap":"52022","nome":"Cavriglia"},{"code":"051014","cap":"52010","nome":"Chitignano"},{"code":"051015","cap":"52010","nome":"Chiusi della Verna"},{"code":"051016","cap":"52041","nome":"Civitella in Val di Chiana"},{"code":"051017","cap":"52044","nome":"Cortona"},{"code":"051018","cap":"52045","nome":"Foiano della Chiana"},{"code":"051019","cap":"52020","nome":"Laterina"},{"code":"051020","cap":"52024","nome":"Loro Ciuffenna"},{"code":"051021","cap":"52046","nome":"Lucignano"},{"code":"051022","cap":"52047","nome":"Marciano della Chiana"},{"code":"051025","cap":"52048","nome":"Monte San Savino"},{"code":"051023","cap":"52010","nome":"Montemignaio"},{"code":"051024","cap":"52035","nome":"Monterchi"},{"code":"051026","cap":"52025","nome":"Montevarchi"},{"code":"051027","cap":"52010","nome":"Ortignano Raggiolo"},{"code":"051028","cap":"52020","nome":"Pergine Valdarno"},{"code":"051029","cap":"52026","nome":"Pian di Sco"},{"code":"051030","cap":"52036","nome":"Pieve Santo Stefano"},{"code":"051031","cap":"52014","nome":"Poppi"},{"code":"051032","cap":"52015","nome":"Pratovecchio"},{"code":"051033","cap":"52027","nome":"San Giovanni Valdarno"},{"code":"051034","cap":"52037","nome":"Sansepolcro"},{"code":"051035","cap":"52038","nome":"Sestino"},{"code":"051036","cap":"52017","nome":"Stia"},{"code":"051037","cap":"52010","nome":"Subbiano"},{"code":"051038","cap":"52010","nome":"Talla"},{"code":"051039","cap":"52028","nome":"Terranuova Bracciolini"}],"nome":"Arezzo"},{"code":"FI","comuni":[{"code":"048001","cap":"50012","nome":"Bagno a Ripoli"},{"code":"048002","cap":"50031","nome":"Barberino di Mugello"},{"code":"048003","cap":"50021","nome":"Barberino Val d\'Elsa"},{"code":"048004","cap":"50032","nome":"Borgo San Lorenzo"},{"code":"048005","cap":"50041","nome":"Calenzano"},{"code":"048006","cap":"50013","nome":"Campi Bisenzio"},{"code":"048008","cap":"50050","nome":"Capraia e Limite"},{"code":"048010","cap":"50051","nome":"Castelfiorentino"},{"code":"048011","cap":"50050","nome":"Cerreto Guidi"},{"code":"048012","cap":"50052","nome":"Certaldo"},{"code":"048013","cap":"50062","nome":"Dicomano"},{"code":"048014","cap":"50053","nome":"Empoli"},{"code":"048015","cap":"50014","nome":"Fiesole"},{"code":"048016","cap":"50063","nome":"Figline Valdarno"},{"code":"048017","cap":"501xx","nome":"Firenze"},{"code":"048018","cap":"50033","nome":"Firenzuola"},{"code":"048019","cap":"50054","nome":"Fucecchio"},{"code":"048020","cap":"50050","nome":"Gambassi Terme"},{"code":"048021","cap":"50022","nome":"Greve in Chianti"},{"code":"048022","cap":"50023","nome":"Impruneta"},{"code":"048023","cap":"50064","nome":"Incisa in Val d\'Arno"},{"code":"048024","cap":"50055","nome":"Lastra a Signa"},{"code":"048025","cap":"50060","nome":"Londa"},{"code":"048026","cap":"50034","nome":"Marradi"},{"code":"048027","cap":"50050","nome":"Montaione"},{"code":"048028","cap":"50056","nome":"Montelupo Fiorentino"},{"code":"048030","cap":"50025","nome":"Montespertoli"},{"code":"048031","cap":"50035","nome":"Palazzuolo sul Senio"},{"code":"048032","cap":"50060","nome":"Pelago"},{"code":"048033","cap":"50065","nome":"Pontassieve"},{"code":"048035","cap":"50066","nome":"Reggello"},{"code":"048036","cap":"50067","nome":"Rignano sull\'Arno"},{"code":"048037","cap":"50068","nome":"Rufina"},{"code":"048038","cap":"50026","nome":"San Casciano in Val di Pesa"},{"code":"048039","cap":"50060","nome":"San Godenzo"},{"code":"048040","cap":"50037","nome":"San Piero a Sieve"},{"code":"048041","cap":"50018","nome":"Scandicci"},{"code":"048042","cap":"50038","nome":"Scarperia"},{"code":"048043","cap":"50019","nome":"Sesto Fiorentino"},{"code":"048044","cap":"50058","nome":"Signa"},{"code":"048045","cap":"50028","nome":"Tavarnelle Val di Pesa"},{"code":"048046","cap":"50036","nome":"Vaglia"},{"code":"048049","cap":"50039","nome":"Vicchio"},{"code":"048050","cap":"50059","nome":"Vinci"}],"nome":"Firenze"},{"code":"GR","comuni":[{"code":"053001","cap":"58031","nome":"Arcidosso"},{"code":"053002","cap":"58042","nome":"Campagnatico"},{"code":"053003","cap":"58011","nome":"Capalbio"},{"code":"053004","cap":"58033","nome":"Castel del Piano"},{"code":"053005","cap":"58034","nome":"Castell\'Azzara"},{"code":"053006","cap":"58043","nome":"Castiglione della Pescaia"},{"code":"053007","cap":"58044","nome":"Cinigiano"},{"code":"053008","cap":"58045","nome":"Civitella Paganico"},{"code":"053009","cap":"58022","nome":"Follonica"},{"code":"053010","cap":"58023","nome":"Gavorrano"},{"code":"053011","cap":"58100","nome":"Grosseto"},{"code":"053012","cap":"58012","nome":"Isola del Giglio"},{"code":"053013","cap":"58051","nome":"Magliano in Toscana"},{"code":"053014","cap":"58014","nome":"Manciano"},{"code":"053015","cap":"58024","nome":"Massa Marittima"},{"code":"053016","cap":"58019","nome":"Monte Argentario"},{"code":"053027","cap":"58025","nome":"Monterotondo Marittimo"},{"code":"053017","cap":"58026","nome":"Montieri"},{"code":"053018","cap":"58015","nome":"Orbetello"},{"code":"053019","cap":"58017","nome":"Pitigliano"},{"code":"053020","cap":"58053","nome":"Roccalbegna"},{"code":"053021","cap":"58036","nome":"Roccastrada"},{"code":"053022","cap":"58037","nome":"Santa Fiora"},{"code":"053023","cap":"58054","nome":"Scansano"},{"code":"053024","cap":"58020","nome":"Scarlino"},{"code":"053025","cap":"58038","nome":"Seggiano"},{"code":"053028","cap":"58055","nome":"Semproniano"},{"code":"053026","cap":"58010","nome":"Sorano"}],"nome":"Grosseto"},{"code":"LI","comuni":[{"code":"049001","cap":"57020","nome":"Bibbona"},{"code":"049002","cap":"57021","nome":"Campiglia Marittima"},{"code":"049003","cap":"57034","nome":"Campo nell\'Elba"},{"code":"049004","cap":"57031","nome":"Capoliveri"},{"code":"049005","cap":"57032","nome":"Capraia Isola"},{"code":"049006","cap":"57022","nome":"Castagneto Carducci"},{"code":"049007","cap":"57023","nome":"Cecina"},{"code":"049008","cap":"57014","nome":"Collesalvetti"},{"code":"049009","cap":"571xx","nome":"Livorno"},{"code":"049010","cap":"57030","nome":"Marciana"},{"code":"049011","cap":"57033","nome":"Marciana Marina"},{"code":"049012","cap":"57025","nome":"Piombino"},{"code":"049013","cap":"57036","nome":"Porto Azzurro"},{"code":"049014","cap":"57037","nome":"Portoferraio"},{"code":"049015","cap":"57038","nome":"Rio Marina"},{"code":"049016","cap":"57039","nome":"Rio nell\'Elba"},{"code":"049017","cap":"57016","nome":"Rosignano Marittimo"},{"code":"049018","cap":"57027","nome":"San Vincenzo"},{"code":"049019","cap":"57020","nome":"Sassetta"},{"code":"049020","cap":"57028","nome":"Suvereto"}],"nome":"Livorno"},{"code":"LU","comuni":[{"code":"046001","cap":"55011","nome":"Altopascio"},{"code":"046002","cap":"55022","nome":"Bagni di Lucca"},{"code":"046003","cap":"55051","nome":"Barga"},{"code":"046004","cap":"55023","nome":"Borgo a Mozzano"},{"code":"046005","cap":"55041","nome":"Camaiore"},{"code":"046006","cap":"55031","nome":"Camporgiano"},{"code":"046007","cap":"55012","nome":"Capannori"},{"code":"046008","cap":"55030","nome":"Careggine"},{"code":"046009","cap":"55032","nome":"Castelnuovo di Garfagnana"},{"code":"046010","cap":"55033","nome":"Castiglione di Garfagnana"},{"code":"046011","cap":"55025","nome":"Coreglia Antelminelli"},{"code":"046012","cap":"55020","nome":"Fabbriche di Vallico"},{"code":"046013","cap":"55042","nome":"Forte dei Marmi"},{"code":"046014","cap":"55020","nome":"Fosciandora"},{"code":"046015","cap":"55027","nome":"Gallicano"},{"code":"046016","cap":"55030","nome":"Giuncugnano"},{"code":"046017","cap":"55100","nome":"Lucca"},{"code":"046018","cap":"55054","nome":"Massarosa"},{"code":"046019","cap":"55034","nome":"Minucciano"},{"code":"046020","cap":"55020","nome":"Molazzana"},{"code":"046021","cap":"55015","nome":"Montecarlo"},{"code":"046022","cap":"55064","nome":"Pescaglia"},{"code":"046023","cap":"55035","nome":"Piazza al Serchio"},{"code":"046024","cap":"55045","nome":"Pietrasanta"},{"code":"046025","cap":"55036","nome":"Pieve Fosciana"},{"code":"046026","cap":"55016","nome":"Porcari"},{"code":"046027","cap":"55038","nome":"San Romano in Garfagnana"},{"code":"046028","cap":"55047","nome":"Seravezza"},{"code":"046029","cap":"55030","nome":"Sillano"},{"code":"046030","cap":"55040","nome":"Stazzema"},{"code":"046031","cap":"55030","nome":"Vagli Sotto"},{"code":"046032","cap":"55020","nome":"Vergemoli"},{"code":"046033","cap":"55049","nome":"Viareggio"},{"code":"046034","cap":"55019","nome":"Villa Basilica"},{"code":"046035","cap":"55030","nome":"Villa Collemandina"}],"nome":"Lucca"},{"code":"MS","comuni":[{"code":"045001","cap":"54011","nome":"Aulla"},{"code":"045002","cap":"54021","nome":"Bagnone"},{"code":"045003","cap":"54033","nome":"Carrara"},{"code":"045004","cap":"54014","nome":"Casola in Lunigiana"},{"code":"045005","cap":"54015","nome":"Comano"},{"code":"045006","cap":"54023","nome":"Filattiera"},{"code":"045007","cap":"54013","nome":"Fivizzano"},{"code":"045008","cap":"54035","nome":"Fosdinovo"},{"code":"045009","cap":"54016","nome":"Licciana Nardi"},{"code":"045010","cap":"54100","nome":"Massa"},{"code":"045011","cap":"54038","nome":"Montignoso"},{"code":"045012","cap":"54026","nome":"Mulazzo"},{"code":"045013","cap":"54010","nome":"Podenzana"},{"code":"045014","cap":"54027","nome":"Pontremoli"},{"code":"045015","cap":"54012","nome":"Tresana"},{"code":"045016","cap":"54028","nome":"Villafranca in Lunigiana"},{"code":"045017","cap":"54029","nome":"Zeri"}],"nome":"Massa e Carrara"},{"code":"PI","comuni":[{"code":"050001","cap":"56031","nome":"Bientina"},{"code":"050002","cap":"56032","nome":"Buti"},{"code":"050003","cap":"56011","nome":"Calci"},{"code":"050004","cap":"56012","nome":"Calcinaia"},{"code":"050005","cap":"56033","nome":"Capannoli"},{"code":"050006","cap":"56040","nome":"Casale Marittimo"},{"code":"050007","cap":"56034","nome":"Casciana Terme"},{"code":"050008","cap":"56021","nome":"Cascina"},{"code":"050009","cap":"56022","nome":"Castelfranco di Sotto"},{"code":"050010","cap":"56040","nome":"Castellina Marittima"},{"code":"050011","cap":"56041","nome":"Castelnuovo di Val di Cecina"},{"code":"050012","cap":"56034","nome":"Chianni"},{"code":"050013","cap":"56040","nome":"Crespina"},{"code":"050014","cap":"56043","nome":"Fauglia"},{"code":"050015","cap":"56040","nome":"Guardistallo"},{"code":"050016","cap":"56030","nome":"Lajatico"},{"code":"050017","cap":"56035","nome":"Lari"},{"code":"050018","cap":"56043","nome":"Lorenzana"},{"code":"050019","cap":"56040","nome":"Montecatini Val di Cecina"},{"code":"050020","cap":"56040","nome":"Montescudaio"},{"code":"050021","cap":"56040","nome":"Monteverdi Marittimo"},{"code":"050022","cap":"56020","nome":"Montopoli in Val d\'Arno"},{"code":"050023","cap":"56040","nome":"Orciano Pisano"},{"code":"050024","cap":"56036","nome":"Palaia"},{"code":"050025","cap":"56037","nome":"Peccioli"},{"code":"050026","cap":"5612x","nome":"Pisa"},{"code":"050027","cap":"56045","nome":"Pomarance"},{"code":"050028","cap":"56038","nome":"Ponsacco"},{"code":"050029","cap":"56025","nome":"Pontedera"},{"code":"050030","cap":"56046","nome":"Riparbella"},{"code":"050031","cap":"56017","nome":"San Giuliano Terme"},{"code":"050032","cap":"56028","nome":"San Miniato"},{"code":"050033","cap":"56029","nome":"Santa Croce sull\'Arno"},{"code":"050034","cap":"56040","nome":"Santa Luce"},{"code":"050035","cap":"56020","nome":"Santa Maria a Monte"},{"code":"050036","cap":"56030","nome":"Terricciola"},{"code":"050037","cap":"56019","nome":"Vecchiano"},{"code":"050038","cap":"56010","nome":"Vicopisano"},{"code":"050039","cap":"56048","nome":"Volterra"}],"nome":"Pisa"},{"code":"PT","comuni":[{"code":"047001","cap":"51021","nome":"Abetone"},{"code":"047002","cap":"51031","nome":"Agliana"},{"code":"047003","cap":"51011","nome":"Buggiano"},{"code":"047022","cap":"51013","nome":"Chiesina Uzzanese"},{"code":"047004","cap":"51024","nome":"Cutigliano"},{"code":"047005","cap":"51035","nome":"Lamporecchio"},{"code":"047006","cap":"51036","nome":"Larciano"},{"code":"047007","cap":"51010","nome":"Marliana"},{"code":"047008","cap":"51010","nome":"Massa e Cozzile"},{"code":"047009","cap":"51015","nome":"Monsummano Terme"},{"code":"047010","cap":"51037","nome":"Montale"},{"code":"047011","cap":"51016","nome":"Montecatini-Terme"},{"code":"047012","cap":"51017","nome":"Pescia"},{"code":"047013","cap":"51018","nome":"Pieve a Nievole"},{"code":"047014","cap":"51100","nome":"Pistoia"},{"code":"047015","cap":"51020","nome":"Piteglio"},{"code":"047016","cap":"51019","nome":"Ponte Buggianese"},{"code":"047017","cap":"51039","nome":"Quarrata"},{"code":"047018","cap":"51020","nome":"Sambuca Pistoiese"},{"code":"047019","cap":"51028","nome":"San Marcello Pistoiese"},{"code":"047020","cap":"51030","nome":"Serravalle Pistoiese"},{"code":"047021","cap":"51010","nome":"Uzzano"}],"nome":"Pistoia"},{"code":"PO","comuni":[{"code":"100001","cap":"59025","nome":"Cantagallo"},{"code":"100002","cap":"59015","nome":"Carmignano"},{"code":"100003","cap":"59013","nome":"Montemurlo"},{"code":"100004","cap":"59016","nome":"Poggio a Caiano"},{"code":"100005","cap":"59100","nome":"Prato"},{"code":"100006","cap":"59021","nome":"Vaiano"},{"code":"100007","cap":"59024","nome":"Vernio"}],"nome":"Prato"},{"code":"SI","comuni":[{"code":"052001","cap":"53021","nome":"Abbadia San Salvatore"},{"code":"052002","cap":"53041","nome":"Asciano"},{"code":"052003","cap":"53022","nome":"Buonconvento"},{"code":"052004","cap":"53031","nome":"Casole d\'Elsa"},{"code":"052005","cap":"53011","nome":"Castellina in Chianti"},{"code":"052006","cap":"53019","nome":"Castelnuovo Berardenga"},{"code":"052007","cap":"53023","nome":"Castiglione d\'Orcia"},{"code":"052008","cap":"53040","nome":"Cetona"},{"code":"052009","cap":"53042","nome":"Chianciano Terme"},{"code":"052010","cap":"53012","nome":"Chiusdino"},{"code":"052011","cap":"53043","nome":"Chiusi"},{"code":"052012","cap":"53034","nome":"Colle di Val d\'Elsa"},{"code":"052013","cap":"53013","nome":"Gaiole in Chianti"},{"code":"052014","cap":"53024","nome":"Montalcino"},{"code":"052015","cap":"53045","nome":"Montepulciano"},{"code":"052016","cap":"53035","nome":"Monteriggioni"},{"code":"052017","cap":"53014","nome":"Monteroni d\'Arbia"},{"code":"052018","cap":"53015","nome":"Monticiano"},{"code":"052019","cap":"53016","nome":"Murlo"},{"code":"052020","cap":"53025","nome":"Piancastagnaio"},{"code":"052021","cap":"53026","nome":"Pienza"},{"code":"052022","cap":"53036","nome":"Poggibonsi"},{"code":"052023","cap":"53017","nome":"Radda in Chianti"},{"code":"052024","cap":"53040","nome":"Radicofani"},{"code":"052025","cap":"53030","nome":"Radicondoli"},{"code":"052026","cap":"53040","nome":"Rapolano Terme"},{"code":"052027","cap":"53040","nome":"San Casciano dei Bagni"},{"code":"052028","cap":"53037","nome":"San Gimignano"},{"code":"052029","cap":"53020","nome":"San Giovanni d\'Asso"},{"code":"052030","cap":"53027","nome":"San Quirico d\'Orcia"},{"code":"052031","cap":"53047","nome":"Sarteano"},{"code":"052032","cap":"53100","nome":"Siena"},{"code":"052033","cap":"53048","nome":"Sinalunga"},{"code":"052034","cap":"53018","nome":"Sovicille"},{"code":"052035","cap":"53049","nome":"Torrita di Siena"},{"code":"052036","cap":"53020","nome":"Trequanda"}],"nome":"Siena"}],"nome":"Toscana"},{"province":[{"code":"BZ","comuni":[{"code":"021001","cap":"39040","nome":"Aldino"},{"code":"021002","cap":"39010","nome":"Andriano"},{"code":"021003","cap":"39040","nome":"Anterivo"},{"code":"021004","cap":"39057","nome":"Appiano sulla Strada del Vino"},{"code":"021005","cap":"39010","nome":"Avelengo"},{"code":"021006","cap":"39036","nome":"Badia"},{"code":"021007","cap":"39040","nome":"Barbiano"},{"code":"021008","cap":"39100","nome":"Bolzano"},{"code":"021009","cap":"39030","nome":"Braies"},{"code":"021010","cap":"39041","nome":"Brennero"},{"code":"021011","cap":"39042","nome":"Bressanone"},{"code":"021012","cap":"39051","nome":"Bronzolo"},{"code":"021013","cap":"39031","nome":"Brunico"},{"code":"021014","cap":"39010","nome":"Caines"},{"code":"021015","cap":"39052","nome":"Caldaro sulla Strada del Vino"},{"code":"021016","cap":"39040","nome":"Campo di Trens"},{"code":"021017","cap":"39032","nome":"Campo Tures"},{"code":"021018","cap":"39020","nome":"Castelbello-Ciardes"},{"code":"021019","cap":"39040","nome":"Castelrotto"},{"code":"021020","cap":"39010","nome":"Cermes"},{"code":"021021","cap":"39030","nome":"Chienes"},{"code":"021022","cap":"39043","nome":"Chiusa"},{"code":"021023","cap":"39053","nome":"Cornedo all\'Isarco"},{"code":"021024","cap":"39040","nome":"Cortaccia sulla Strada del Vino"},{"code":"021025","cap":"39040","nome":"Cortina sulla Strada del Vino"},{"code":"021026","cap":"39033","nome":"Corvara in Badia"},{"code":"021027","cap":"39027","nome":"Curon Venosta"},{"code":"021028","cap":"39034","nome":"Dobbiaco"},{"code":"021029","cap":"39044","nome":"Egna"},{"code":"021030","cap":"39030","nome":"Falzes"},{"code":"021031","cap":"39050","nome":"Fi\xe8 allo Sciliar"},{"code":"021032","cap":"39045","nome":"Fortezza"},{"code":"021033","cap":"39040","nome":"Funes"},{"code":"021034","cap":"39030","nome":"Gais"},{"code":"021035","cap":"39010","nome":"Gargazzone"},{"code":"021036","cap":"39020","nome":"Glorenza"},{"code":"021117","cap":"39030","nome":"La Valle"},{"code":"021037","cap":"39021","nome":"Laces"},{"code":"021038","cap":"39022","nome":"Lagundo"},{"code":"021039","cap":"39040","nome":"Laion"},{"code":"021040","cap":"39055","nome":"Laives"},{"code":"021041","cap":"39011","nome":"Lana"},{"code":"021042","cap":"39023","nome":"Lasa"},{"code":"021043","cap":"39040","nome":"Lauregno"},{"code":"021044","cap":"39040","nome":"Luson"},{"code":"021045","cap":"39040","nome":"Magr\xe8 sulla Strada del Vino"},{"code":"021046","cap":"39024","nome":"Malles Venosta"},{"code":"021047","cap":"39030","nome":"Marebbe"},{"code":"021048","cap":"39020","nome":"Marlengo"},{"code":"021049","cap":"39020","nome":"Martello"},{"code":"021050","cap":"39010","nome":"Meltina"},{"code":"021051","cap":"39012","nome":"Merano"},{"code":"021052","cap":"39035","nome":"Monguelfo-Tesido"},{"code":"021053","cap":"39040","nome":"Montagna"},{"code":"021054","cap":"39013","nome":"Moso in Passiria"},{"code":"021055","cap":"39010","nome":"Nalles"},{"code":"021056","cap":"39025","nome":"Naturno"},{"code":"021057","cap":"39040","nome":"Naz-Sciaves"},{"code":"021058","cap":"39056","nome":"Nova Levante"},{"code":"021059","cap":"39050","nome":"Nova Ponente"},{"code":"021060","cap":"39040","nome":"Ora"},{"code":"021061","cap":"39046","nome":"Ortisei"},{"code":"021062","cap":"39020","nome":"Parcines"},{"code":"021063","cap":"39030","nome":"Perca"},{"code":"021064","cap":"39025","nome":"Plaus"},{"code":"021065","cap":"39040","nome":"Ponte Gardena"},{"code":"021066","cap":"39014","nome":"Postal"},{"code":"021067","cap":"39026","nome":"Prato allo Stelvio"},{"code":"021068","cap":"39030","nome":"Predoi"},{"code":"021069","cap":"39040","nome":"Proves"},{"code":"021070","cap":"39040","nome":"Racines"},{"code":"021071","cap":"39030","nome":"Rasun Anterselva"},{"code":"021072","cap":"39054","nome":"Renon"},{"code":"021073","cap":"39010","nome":"Rifiano"},{"code":"021074","cap":"39037","nome":"Rio di Pusteria"},{"code":"021075","cap":"39037","nome":"Rodengo"},{"code":"021076","cap":"39040","nome":"Salorno"},{"code":"021077","cap":"39038","nome":"San Candido"},{"code":"021079","cap":"39050","nome":"San Genesio Atesino"},{"code":"021080","cap":"39015","nome":"San Leonardo in Passiria"},{"code":"021081","cap":"39030","nome":"San Lorenzo di Sebato"},{"code":"021082","cap":"39030","nome":"San Martino in Badia"},{"code":"021083","cap":"39010","nome":"San Martino in Passiria"},{"code":"021084","cap":"39010","nome":"San Pancrazio"},{"code":"021085","cap":"39047","nome":"Santa Cristina Valgardena"},{"code":"021086","cap":"39058","nome":"Sarentino"},{"code":"021087","cap":"39017","nome":"Scena"},{"code":"021088","cap":"39030","nome":"Selva dei Molini"},{"code":"021089","cap":"39048","nome":"Selva di Val Gardena"},{"code":"021091","cap":"39020","nome":"Senales"},{"code":"021118","cap":"39010","nome":"Senale-San Felice"},{"code":"021092","cap":"39030","nome":"Sesto"},{"code":"021093","cap":"39028","nome":"Silandro"},{"code":"021094","cap":"39020","nome":"Sluderno"},{"code":"021095","cap":"39029","nome":"Stelvio"},{"code":"021096","cap":"39030","nome":"Terento"},{"code":"021097","cap":"39018","nome":"Terlano"},{"code":"021098","cap":"39040","nome":"Termeno sulla Strada del Vino"},{"code":"021099","cap":"39010","nome":"Tesimo"},{"code":"021100","cap":"39050","nome":"Tires"},{"code":"021101","cap":"39019","nome":"Tirolo"},{"code":"021102","cap":"39040","nome":"Trodena nel parco naturale"},{"code":"021103","cap":"39020","nome":"Tubre"},{"code":"021104","cap":"39016","nome":"Ultimo"},{"code":"021105","cap":"39051","nome":"Vadena"},{"code":"021107","cap":"39049","nome":"Val di Vizze"},{"code":"021106","cap":"39030","nome":"Valdaora"},{"code":"021108","cap":"39030","nome":"Valle Aurina"},{"code":"021109","cap":"39030","nome":"Valle di Casies"},{"code":"021110","cap":"39030","nome":"Vandoies"},{"code":"021111","cap":"39040","nome":"Varna"},{"code":"021116","cap":"39040","nome":"Velturno"},{"code":"021112","cap":"39010","nome":"Verano"},{"code":"021113","cap":"39039","nome":"Villabassa"},{"code":"021114","cap":"39040","nome":"Villandro"},{"code":"021115","cap":"39049","nome":"Vipiteno"}],"nome":"Bolzano"},{"code":"TN","comuni":[{"code":"022001","cap":"38061","nome":"Ala"},{"code":"022002","cap":"38041","nome":"Albiano"},{"code":"022003","cap":"38060","nome":"Aldeno"},{"code":"022004","cap":"38011","nome":"Amblar"},{"code":"022005","cap":"38010","nome":"Andalo"},{"code":"022006","cap":"38062","nome":"Arco"},{"code":"022007","cap":"38063","nome":"Avio"},{"code":"022009","cap":"38042","nome":"Baselga di Pin\xe8"},{"code":"022011","cap":"38043","nome":"Bedollo"},{"code":"022012","cap":"38085","nome":"Bersone"},{"code":"022013","cap":"38060","nome":"Besenello"},{"code":"022015","cap":"38050","nome":"Bieno"},{"code":"022017","cap":"38071","nome":"Bleggio Superiore"},{"code":"022018","cap":"38080","nome":"Bocenago"},{"code":"022019","cap":"38079","nome":"Bolbeno"},{"code":"022020","cap":"38081","nome":"Bondo"},{"code":"022021","cap":"38080","nome":"Bondone"},{"code":"022022","cap":"38051","nome":"Borgo Valsugana"},{"code":"022023","cap":"38049","nome":"Bosentino"},{"code":"022024","cap":"38081","nome":"Breguzzo"},{"code":"022025","cap":"38060","nome":"Brentonico"},{"code":"022026","cap":"38020","nome":"Bresimo"},{"code":"022027","cap":"38021","nome":"Brez"},{"code":"022028","cap":"38083","nome":"Brione"},{"code":"022029","cap":"38080","nome":"Caderzone Terme"},{"code":"022030","cap":"38028","nome":"Cagn\xf2"},{"code":"022031","cap":"38072","nome":"Calavino"},{"code":"022032","cap":"38050","nome":"Calceranica al Lago"},{"code":"022033","cap":"38022","nome":"Caldes"},{"code":"022034","cap":"38052","nome":"Caldonazzo"},{"code":"022035","cap":"38060","nome":"Calliano"},{"code":"022036","cap":"38031","nome":"Campitello di Fassa"},{"code":"022037","cap":"38010","nome":"Campodenno"},{"code":"022038","cap":"38050","nome":"Canal San Bovo"},{"code":"022039","cap":"38032","nome":"Canazei"},{"code":"022040","cap":"38030","nome":"Capriana"},{"code":"022041","cap":"38033","nome":"Carano"},{"code":"022042","cap":"38080","nome":"Carisolo"},{"code":"022043","cap":"38050","nome":"Carzano"},{"code":"022045","cap":"38082","nome":"Castel Condino"},{"code":"022046","cap":"38020","nome":"Castelfondo"},{"code":"022048","cap":"38053","nome":"Castello Tesino"},{"code":"022047","cap":"38030","nome":"Castello-Molina di Fiemme"},{"code":"022049","cap":"38050","nome":"Castelnuovo"},{"code":"022050","cap":"38033","nome":"Cavalese"},{"code":"022051","cap":"38011","nome":"Cavareno"},{"code":"022052","cap":"38010","nome":"Cavedago"},{"code":"022053","cap":"38073","nome":"Cavedine"},{"code":"022054","cap":"38022","nome":"Cavizzana"},{"code":"022055","cap":"38034","nome":"Cembra"},{"code":"022056","cap":"38040","nome":"Centa San Nicol\xf2"},{"code":"022057","cap":"38082","nome":"Cimego"},{"code":"022058","cap":"38060","nome":"Cimone"},{"code":"022059","cap":"38050","nome":"Cinte Tesino"},{"code":"022060","cap":"38020","nome":"Cis"},{"code":"022061","cap":"38045","nome":"Civezzano"},{"code":"022062","cap":"38023","nome":"Cles"},{"code":"022063","cap":"38020","nome":"Cloz"},{"code":"022228","cap":"38077","nome":"Comano Terme"},{"code":"022064","cap":"38020","nome":"Commezzadura"},{"code":"022066","cap":"38083","nome":"Condino"},{"code":"022067","cap":"38010","nome":"Coredo"},{"code":"022068","cap":"38027","nome":"Croviana"},{"code":"022069","cap":"38010","nome":"Cunevo"},{"code":"022070","cap":"38030","nome":"Daiano"},{"code":"022071","cap":"38010","nome":"Dambel"},{"code":"022072","cap":"38080","nome":"Daone"},{"code":"022073","cap":"38080","nome":"Dar\xe8"},{"code":"022074","cap":"38010","nome":"Denno"},{"code":"022075","cap":"38025","nome":"Dimaro"},{"code":"022076","cap":"38011","nome":"Don"},{"code":"022077","cap":"38070","nome":"Dorsino"},{"code":"022078","cap":"38074","nome":"Drena"},{"code":"022079","cap":"38074","nome":"Dro"},{"code":"022080","cap":"38010","nome":"Faedo"},{"code":"022081","cap":"38010","nome":"Fai della Paganella"},{"code":"022082","cap":"38030","nome":"Faver"},{"code":"022083","cap":"38075","nome":"Fiav\xe8"},{"code":"022084","cap":"38054","nome":"Fiera di Primiero"},{"code":"022085","cap":"38050","nome":"Fierozzo"},{"code":"022086","cap":"38010","nome":"Flavon"},{"code":"022087","cap":"38064","nome":"Folgaria"},{"code":"022088","cap":"38013","nome":"Fondo"},{"code":"022089","cap":"38040","nome":"Fornace"},{"code":"022090","cap":"38050","nome":"Frassilongo"},{"code":"022091","cap":"38060","nome":"Garniga Terme"},{"code":"022092","cap":"38030","nome":"Giovo"},{"code":"022093","cap":"38086","nome":"Giustino"},{"code":"022094","cap":"38030","nome":"Grauno"},{"code":"022095","cap":"38055","nome":"Grigno"},{"code":"022096","cap":"38030","nome":"Grumes"},{"code":"022097","cap":"38050","nome":"Imer"},{"code":"022098","cap":"38060","nome":"Isera"},{"code":"022099","cap":"38059","nome":"Ivano-Fracena"},{"code":"022100","cap":"38087","nome":"Lardaro"},{"code":"022101","cap":"38076","nome":"Lasino"},{"code":"022102","cap":"38046","nome":"Lavarone"},{"code":"022103","cap":"38015","nome":"Lavis"},{"code":"022229","cap":"38067","nome":"Ledro"},{"code":"022104","cap":"38056","nome":"Levico Terme"},{"code":"022105","cap":"38030","nome":"Lisignago"},{"code":"022106","cap":"38020","nome":"Livo"},{"code":"022108","cap":"38040","nome":"Lona-Lases"},{"code":"022109","cap":"38040","nome":"Luserna"},{"code":"022110","cap":"38027","nome":"Mal\xe8"},{"code":"022111","cap":"38013","nome":"Malosco"},{"code":"022112","cap":"38086","nome":"Massimeno"},{"code":"022113","cap":"38030","nome":"Mazzin"},{"code":"022114","cap":"38020","nome":"Mezzana"},{"code":"022115","cap":"38050","nome":"Mezzano"},{"code":"022116","cap":"38016","nome":"Mezzocorona"},{"code":"022117","cap":"38017","nome":"Mezzolombardo"},{"code":"022118","cap":"38035","nome":"Moena"},{"code":"022120","cap":"38018","nome":"Molveno"},{"code":"022121","cap":"38020","nome":"Monclassico"},{"code":"022122","cap":"38070","nome":"Montagne"},{"code":"022123","cap":"38065","nome":"Mori"},{"code":"022124","cap":"38069","nome":"Nago-Torbole"},{"code":"022125","cap":"38010","nome":"Nanno"},{"code":"022126","cap":"38010","nome":"Nave San Rocco"},{"code":"022127","cap":"38060","nome":"Nogaredo"},{"code":"022128","cap":"38060","nome":"Nomi"},{"code":"022129","cap":"38050","nome":"Novaledo"},{"code":"022130","cap":"38050","nome":"Ospedaletto"},{"code":"022131","cap":"38026","nome":"Ossana"},{"code":"022132","cap":"38070","nome":"Padergnone"},{"code":"022133","cap":"38050","nome":"Pal\xf9 del Fersina"},{"code":"022134","cap":"38030","nome":"Panchi\xe0"},{"code":"022136","cap":"38024","nome":"Peio"},{"code":"022137","cap":"38020","nome":"Pellizzano"},{"code":"022138","cap":"38079","nome":"Pelugo"},{"code":"022139","cap":"38057","nome":"Pergine Valsugana"},{"code":"022140","cap":"38085","nome":"Pieve di Bono"},{"code":"022142","cap":"38050","nome":"Pieve Tesino"},{"code":"022143","cap":"38086","nome":"Pinzolo"},{"code":"022144","cap":"38060","nome":"Pomarolo"},{"code":"022145","cap":"38036","nome":"Pozza di Fassa"},{"code":"022146","cap":"38080","nome":"Praso"},{"code":"022147","cap":"38037","nome":"Predazzo"},{"code":"022148","cap":"38070","nome":"Preore"},{"code":"022149","cap":"38085","nome":"Prezzo"},{"code":"022150","cap":"38020","nome":"Rabbi"},{"code":"022151","cap":"38070","nome":"Ragoli"},{"code":"022152","cap":"38028","nome":"Rev\xf2"},{"code":"022153","cap":"38066","nome":"Riva del Garda"},{"code":"022154","cap":"38028","nome":"Romallo"},{"code":"022155","cap":"38010","nome":"Romeno"},{"code":"022156","cap":"38050","nome":"Roncegno Terme"},{"code":"022157","cap":"38050","nome":"Ronchi Valsugana"},{"code":"022158","cap":"38087","nome":"Roncone"},{"code":"022135","cap":"38060","nome":"Ronzo-Chienis"},{"code":"022159","cap":"38010","nome":"Ronzone"},{"code":"022160","cap":"38030","nome":"Rover\xe8 della Luna"},{"code":"022161","cap":"38068","nome":"Rovereto"},{"code":"022162","cap":"38010","nome":"Ruffr\xe8-Mendola"},{"code":"022163","cap":"38020","nome":"Rumo"},{"code":"022164","cap":"38050","nome":"Sagron Mis"},{"code":"022165","cap":"38059","nome":"Samone"},{"code":"022166","cap":"38078","nome":"San Lorenzo in Banale"},{"code":"022167","cap":"38010","nome":"San Michele all\'Adige"},{"code":"022168","cap":"38050","nome":"Sant\'Orsola Terme"},{"code":"022169","cap":"38010","nome":"Sanzeno"},{"code":"022170","cap":"38011","nome":"Sarnonico"},{"code":"022171","cap":"38050","nome":"Scurelle"},{"code":"022172","cap":"38047","nome":"Segonzano"},{"code":"022173","cap":"38010","nome":"Sfruz"},{"code":"022174","cap":"38054","nome":"Siror"},{"code":"022175","cap":"38010","nome":"Smarano"},{"code":"022176","cap":"38030","nome":"Soraga"},{"code":"022177","cap":"38048","nome":"Sover"},{"code":"022178","cap":"38059","nome":"Spera"},{"code":"022179","cap":"38088","nome":"Spiazzo"},{"code":"022180","cap":"38010","nome":"Spormaggiore"},{"code":"022181","cap":"38010","nome":"Sporminore"},{"code":"022182","cap":"38070","nome":"Stenico"},{"code":"022183","cap":"38089","nome":"Storo"},{"code":"022184","cap":"38080","nome":"Strembo"},{"code":"022185","cap":"38059","nome":"Strigno"},{"code":"022186","cap":"38012","nome":"Taio"},{"code":"022187","cap":"38010","nome":"Tassullo"},{"code":"022188","cap":"38050","nome":"Telve"},{"code":"022189","cap":"38050","nome":"Telve di Sopra"},{"code":"022190","cap":"38050","nome":"Tenna"},{"code":"022191","cap":"38060","nome":"Tenno"},{"code":"022192","cap":"38070","nome":"Terlago"},{"code":"022193","cap":"38060","nome":"Terragnolo"},{"code":"022194","cap":"38010","nome":"Terres"},{"code":"022195","cap":"38027","nome":"Terzolas"},{"code":"022196","cap":"38038","nome":"Tesero"},{"code":"022199","cap":"38079","nome":"Tione di Trento"},{"code":"022200","cap":"38010","nome":"Ton"},{"code":"022201","cap":"38054","nome":"Tonadico"},{"code":"022202","cap":"38050","nome":"Torcegno"},{"code":"022203","cap":"38068","nome":"Trambileno"},{"code":"022204","cap":"38054","nome":"Transacqua"},{"code":"022205","cap":"3812x","nome":"Trento"},{"code":"022206","cap":"38010","nome":"Tres"},{"code":"022207","cap":"38019","nome":"Tuenno"},{"code":"022208","cap":"38030","nome":"Valda"},{"code":"022209","cap":"38040","nome":"Valfloriana"},{"code":"022210","cap":"38060","nome":"Vallarsa"},{"code":"022211","cap":"38030","nome":"Varena"},{"code":"022212","cap":"38049","nome":"Vattaro"},{"code":"022213","cap":"38029","nome":"Vermiglio"},{"code":"022214","cap":"38010","nome":"Verv\xf2"},{"code":"022215","cap":"38070","nome":"Vezzano"},{"code":"022216","cap":"38057","nome":"Vignola-Falesina"},{"code":"022217","cap":"38039","nome":"Vigo di Fassa"},{"code":"022220","cap":"38080","nome":"Vigo Rendena"},{"code":"022219","cap":"38049","nome":"Vigolo Vattaro"},{"code":"022221","cap":"38059","nome":"Villa Agnedo"},{"code":"022222","cap":"38060","nome":"Villa Lagarina"},{"code":"022223","cap":"38080","nome":"Villa Rendena"},{"code":"022224","cap":"38060","nome":"Volano"},{"code":"022225","cap":"38010","nome":"Zambana"},{"code":"022226","cap":"38030","nome":"Ziano di Fiemme"},{"code":"022227","cap":"38079","nome":"Zuclo"}],"nome":"Trento"}],"nome":"Trentino-Alto Adige"},{"province":[{"code":"PG","comuni":[{"code":"054001","cap":"06081","nome":"Assisi"},{"code":"054002","cap":"06083","nome":"Bastia Umbra"},{"code":"054003","cap":"06084","nome":"Bettona"},{"code":"054004","cap":"06031","nome":"Bevagna"},{"code":"054005","cap":"06042","nome":"Campello sul Clitunno"},{"code":"054006","cap":"06033","nome":"Cannara"},{"code":"054007","cap":"06043","nome":"Cascia"},{"code":"054008","cap":"06044","nome":"Castel Ritaldi"},{"code":"054009","cap":"06061","nome":"Castiglione del Lago"},{"code":"054010","cap":"06041","nome":"Cerreto di Spoleto"},{"code":"054011","cap":"06010","nome":"Citerna"},{"code":"054012","cap":"06062","nome":"Citt\xe0 della Pieve"},{"code":"054013","cap":"06012","nome":"Citt\xe0 di Castello"},{"code":"054014","cap":"06050","nome":"Collazzone"},{"code":"054015","cap":"06073","nome":"Corciano"},{"code":"054016","cap":"06021","nome":"Costacciaro"},{"code":"054017","cap":"06053","nome":"Deruta"},{"code":"054018","cap":"06034","nome":"Foligno"},{"code":"054019","cap":"06022","nome":"Fossato di Vico"},{"code":"054020","cap":"06054","nome":"Fratta Todina"},{"code":"054021","cap":"06030","nome":"Giano dell\'Umbria"},{"code":"054022","cap":"06035","nome":"Gualdo Cattaneo"},{"code":"054023","cap":"06023","nome":"Gualdo Tadino"},{"code":"054024","cap":"06024","nome":"Gubbio"},{"code":"054025","cap":"06060","nome":"Lisciano Niccone"},{"code":"054026","cap":"06063","nome":"Magione"},{"code":"054027","cap":"06055","nome":"Marsciano"},{"code":"054028","cap":"06056","nome":"Massa Martana"},{"code":"054029","cap":"06057","nome":"Monte Castello di Vibio"},{"code":"054032","cap":"06010","nome":"Monte Santa Maria Tiberina"},{"code":"054030","cap":"06036","nome":"Montefalco"},{"code":"054031","cap":"06045","nome":"Monteleone di Spoleto"},{"code":"054033","cap":"06014","nome":"Montone"},{"code":"054034","cap":"06025","nome":"Nocera Umbra"},{"code":"054035","cap":"06046","nome":"Norcia"},{"code":"054036","cap":"06060","nome":"Paciano"},{"code":"054037","cap":"06064","nome":"Panicale"},{"code":"054038","cap":"06065","nome":"Passignano sul Trasimeno"},{"code":"054039","cap":"061xx","nome":"Perugia"},{"code":"054040","cap":"06066","nome":"Piegaro"},{"code":"054041","cap":"06026","nome":"Pietralunga"},{"code":"054042","cap":"06040","nome":"Poggiodomo"},{"code":"054043","cap":"06047","nome":"Preci"},{"code":"054044","cap":"06016","nome":"San Giustino"},{"code":"054045","cap":"06040","nome":"Sant\'Anatolia di Narco"},{"code":"054046","cap":"06027","nome":"Scheggia e Pascelupo"},{"code":"054047","cap":"06040","nome":"Scheggino"},{"code":"054048","cap":"06030","nome":"Sellano"},{"code":"054049","cap":"06028","nome":"Sigillo"},{"code":"054050","cap":"06038","nome":"Spello"},{"code":"054051","cap":"06049","nome":"Spoleto"},{"code":"054052","cap":"06059","nome":"Todi"},{"code":"054053","cap":"06089","nome":"Torgiano"},{"code":"054054","cap":"06039","nome":"Trevi"},{"code":"054055","cap":"06069","nome":"Tuoro sul Trasimeno"},{"code":"054056","cap":"06019","nome":"Umbertide"},{"code":"054057","cap":"06029","nome":"Valfabbrica"},{"code":"054058","cap":"06040","nome":"Vallo di Nera"},{"code":"054059","cap":"06030","nome":"Valtopina"}],"nome":"Perugia"},{"code":"TR","comuni":[{"code":"055001","cap":"05021","nome":"Acquasparta"},{"code":"055002","cap":"05011","nome":"Allerona"},{"code":"055003","cap":"05020","nome":"Alviano"},{"code":"055004","cap":"05022","nome":"Amelia"},{"code":"055005","cap":"05031","nome":"Arrone"},{"code":"055006","cap":"05012","nome":"Attigliano"},{"code":"055033","cap":"05020","nome":"Avigliano Umbro"},{"code":"055007","cap":"05023","nome":"Baschi"},{"code":"055008","cap":"05032","nome":"Calvi dell\'Umbria"},{"code":"055009","cap":"05013","nome":"Castel Giorgio"},{"code":"055010","cap":"05014","nome":"Castel Viscardo"},{"code":"055011","cap":"05015","nome":"Fabro"},{"code":"055012","cap":"05034","nome":"Ferentillo"},{"code":"055013","cap":"05016","nome":"Ficulle"},{"code":"055014","cap":"05024","nome":"Giove"},{"code":"055015","cap":"05025","nome":"Guardea"},{"code":"055016","cap":"05020","nome":"Lugnano in Teverina"},{"code":"055017","cap":"05026","nome":"Montecastrilli"},{"code":"055018","cap":"05020","nome":"Montecchio"},{"code":"055019","cap":"05030","nome":"Montefranco"},{"code":"055020","cap":"05010","nome":"Montegabbione"},{"code":"055021","cap":"05017","nome":"Monteleone d\'Orvieto"},{"code":"055022","cap":"05035","nome":"Narni"},{"code":"055023","cap":"05018","nome":"Orvieto"},{"code":"055024","cap":"05030","nome":"Otricoli"},{"code":"055025","cap":"05010","nome":"Parrano"},{"code":"055026","cap":"05028","nome":"Penna in Teverina"},{"code":"055027","cap":"05030","nome":"Polino"},{"code":"055028","cap":"05010","nome":"Porano"},{"code":"055029","cap":"05029","nome":"San Gemini"},{"code":"055030","cap":"05010","nome":"San Venanzo"},{"code":"055031","cap":"05039","nome":"Stroncone"},{"code":"055032","cap":"05100","nome":"Terni"}],"nome":"Terni"}],"nome":"Umbria"},{"province":[{"code":"AO","comuni":[{"code":"007001","cap":"11010","nome":"Allein"},{"code":"007002","cap":"11020","nome":"Antey-Saint-Andr\xe8"},{"code":"007003","cap":"11100","nome":"Aosta"},{"code":"007004","cap":"11020","nome":"Arnad"},{"code":"007005","cap":"11011","nome":"Arvier"},{"code":"007006","cap":"11010","nome":"Avise"},{"code":"007007","cap":"11020","nome":"Ayas"},{"code":"007008","cap":"11010","nome":"Aymavilles"},{"code":"007009","cap":"11020","nome":"Bard"},{"code":"007010","cap":"11010","nome":"Bionaz"},{"code":"007011","cap":"11020","nome":"Brissogne"},{"code":"007012","cap":"11022","nome":"Brusson"},{"code":"007013","cap":"11020","nome":"Challand-Saint-Anselme"},{"code":"007014","cap":"11020","nome":"Challand-Saint-Victor"},{"code":"007015","cap":"11023","nome":"Chambave"},{"code":"007016","cap":"11020","nome":"Chamois"},{"code":"007017","cap":"11020","nome":"Champdepraz"},{"code":"007018","cap":"11020","nome":"Champorcher"},{"code":"007019","cap":"11020","nome":"Charvensod"},{"code":"007020","cap":"11024","nome":"Chatillon"},{"code":"007021","cap":"11012","nome":"Cogne"},{"code":"007022","cap":"11013","nome":"Courmayeur"},{"code":"007023","cap":"11020","nome":"Donnas"},{"code":"007024","cap":"11010","nome":"Doues"},{"code":"007025","cap":"11020","nome":"Emar\xe8se"},{"code":"007026","cap":"11014","nome":"Etroubles"},{"code":"007027","cap":"11020","nome":"F\xe9nis"},{"code":"007028","cap":"11020","nome":"Fontainemore"},{"code":"007029","cap":"11020","nome":"Gaby"},{"code":"007030","cap":"11010","nome":"Gignod"},{"code":"007031","cap":"11020","nome":"Gressan"},{"code":"007032","cap":"11020","nome":"Gressoney-la-Trinit\xe8"},{"code":"007033","cap":"11025","nome":"Gressoney-Saint-Jean"},{"code":"007034","cap":"11020","nome":"Hone"},{"code":"007035","cap":"11010","nome":"Introd"},{"code":"007036","cap":"11020","nome":"Issime"},{"code":"007037","cap":"11020","nome":"Issogne"},{"code":"007038","cap":"11020","nome":"Jovencan"},{"code":"007039","cap":"11020","nome":"La Magdeleine"},{"code":"007040","cap":"11015","nome":"La Salle"},{"code":"007041","cap":"11016","nome":"La Thuile"},{"code":"007042","cap":"11020","nome":"Lillianes"},{"code":"007043","cap":"11020","nome":"Montjovet"},{"code":"007044","cap":"11017","nome":"Morgex"},{"code":"007045","cap":"11020","nome":"Nus"},{"code":"007046","cap":"11010","nome":"Ollomont"},{"code":"007047","cap":"11010","nome":"Oyace"},{"code":"007048","cap":"11020","nome":"Perloz"},{"code":"007049","cap":"11020","nome":"Pollein"},{"code":"007050","cap":"11020","nome":"Pontboset"},{"code":"007051","cap":"11024","nome":"Pontey"},{"code":"007052","cap":"11026","nome":"Pont-Saint-Martin"},{"code":"007053","cap":"11010","nome":"Pr\xe8-Saint-Didier"},{"code":"007054","cap":"11020","nome":"Quart"},{"code":"007055","cap":"11010","nome":"Rhemes-Notre-Dame"},{"code":"007056","cap":"11010","nome":"Rhemes-Saint-Georges"},{"code":"007057","cap":"11010","nome":"Roisan"},{"code":"007058","cap":"11020","nome":"Saint-Christophe"},{"code":"007059","cap":"11023","nome":"Saint-Denis"},{"code":"007060","cap":"11020","nome":"Saint-Marcel"},{"code":"007061","cap":"11010","nome":"Saint-Nicolas"},{"code":"007062","cap":"11014","nome":"Saint-Oyen"},{"code":"007063","cap":"11010","nome":"Saint-Pierre"},{"code":"007064","cap":"11010","nome":"Saint-Rh\xe9my-en-Bosses"},{"code":"007065","cap":"11027","nome":"Saint-Vincent"},{"code":"007066","cap":"11010","nome":"Sarre"},{"code":"007067","cap":"11020","nome":"Torgnon"},{"code":"007068","cap":"11010","nome":"Valgrisenche"},{"code":"007069","cap":"11010","nome":"Valpelline"},{"code":"007070","cap":"11010","nome":"Valsavarenche"},{"code":"007071","cap":"11028","nome":"Valtournenche"},{"code":"007072","cap":"11020","nome":"Verrayes"},{"code":"007073","cap":"11029","nome":"Verr\xe8s"},{"code":"007074","cap":"11018","nome":"Villeneuve"}],"nome":"Aosta"}],"nome":"Valle d\'Aosta"},{"province":[{"code":"BL","comuni":[{"code":"025001","cap":"32021","nome":"Agordo"},{"code":"025002","cap":"32031","nome":"Alano di Piave"},{"code":"025003","cap":"32022","nome":"Alleghe"},{"code":"025004","cap":"32030","nome":"Arsi\xe8"},{"code":"025005","cap":"32041","nome":"Auronzo di Cadore"},{"code":"025006","cap":"32100","nome":"Belluno"},{"code":"025007","cap":"32040","nome":"Borca di Cadore"},{"code":"025008","cap":"32042","nome":"Calalzo di Cadore"},{"code":"025023","cap":"32020","nome":"Canale d\'Agordo"},{"code":"025009","cap":"32010","nome":"Castellavazzo"},{"code":"025010","cap":"32020","nome":"Cencenighe Agordino"},{"code":"025011","cap":"32030","nome":"Cesiomaggiore"},{"code":"025012","cap":"32010","nome":"Chies d\'Alpago"},{"code":"025013","cap":"32040","nome":"Cibiana di Cadore"},{"code":"025014","cap":"32020","nome":"Colle Santa Lucia"},{"code":"025015","cap":"32040","nome":"Comelico Superiore"},{"code":"025016","cap":"32043","nome":"Cortina d\'Ampezzo"},{"code":"025017","cap":"32040","nome":"Danta di Cadore"},{"code":"025018","cap":"32040","nome":"Domegge di Cadore"},{"code":"025019","cap":"32020","nome":"Falcade"},{"code":"025020","cap":"32016","nome":"Farra d\'Alpago"},{"code":"025021","cap":"32032","nome":"Feltre"},{"code":"025022","cap":"32030","nome":"Fonzaso"},{"code":"025024","cap":"32012","nome":"Forno di Zoldo"},{"code":"025025","cap":"32020","nome":"Gosaldo"},{"code":"025027","cap":"32020","nome":"La Valle Agordina"},{"code":"025026","cap":"32033","nome":"Lamon"},{"code":"025028","cap":"32020","nome":"Lentiai"},{"code":"025029","cap":"32020","nome":"Limana"},{"code":"025030","cap":"32020","nome":"Livinallongo del Col di Lana"},{"code":"025031","cap":"32013","nome":"Longarone"},{"code":"025032","cap":"32040","nome":"Lorenzago di Cadore"},{"code":"025033","cap":"32040","nome":"Lozzo di Cadore"},{"code":"025034","cap":"32026","nome":"Mel"},{"code":"025035","cap":"32010","nome":"Ospitale di Cadore"},{"code":"025036","cap":"32034","nome":"Pedavena"},{"code":"025037","cap":"32010","nome":"Perarolo di Cadore"},{"code":"025038","cap":"32010","nome":"Pieve d\'Alpago"},{"code":"025039","cap":"32044","nome":"Pieve di Cadore"},{"code":"025040","cap":"32014","nome":"Ponte nelle Alpi"},{"code":"025041","cap":"32015","nome":"Puos d\'Alpago"},{"code":"025042","cap":"32030","nome":"Quero"},{"code":"025043","cap":"32020","nome":"Rivamonte Agordino"},{"code":"025044","cap":"32020","nome":"Rocca Pietore"},{"code":"025045","cap":"32030","nome":"San Gregorio nelle Alpi"},{"code":"025046","cap":"32040","nome":"San Nicol\xf2 di Comelico"},{"code":"025047","cap":"32040","nome":"San Pietro di Cadore"},{"code":"025049","cap":"32020","nome":"San Tomaso Agordino"},{"code":"025051","cap":"32046","nome":"San Vito di Cadore"},{"code":"025048","cap":"32035","nome":"Santa Giustina"},{"code":"025050","cap":"32045","nome":"Santo Stefano di Cadore"},{"code":"025052","cap":"32047","nome":"Sappada"},{"code":"025053","cap":"32036","nome":"Sedico"},{"code":"025054","cap":"32020","nome":"Selva di Cadore"},{"code":"025055","cap":"32030","nome":"Seren del Grappa"},{"code":"025056","cap":"32037","nome":"Sospirolo"},{"code":"025057","cap":"32010","nome":"Soverzene"},{"code":"025058","cap":"32030","nome":"Sovramonte"},{"code":"025059","cap":"32027","nome":"Taibon Agordino"},{"code":"025060","cap":"32010","nome":"Tambre"},{"code":"025061","cap":"32028","nome":"Trichiana"},{"code":"025062","cap":"32020","nome":"Vallada Agordina"},{"code":"025063","cap":"32040","nome":"Valle di Cadore"},{"code":"025064","cap":"32030","nome":"Vas"},{"code":"025065","cap":"32040","nome":"Vigo di Cadore"},{"code":"025066","cap":"32040","nome":"Vodo Cadore"},{"code":"025067","cap":"32020","nome":"Voltago Agordino"},{"code":"025068","cap":"32010","nome":"Zoldo Alto"},{"code":"025069","cap":"32010","nome":"Zopp\xe8 di Cadore"}],"nome":"Belluno"},{"code":"PD","comuni":[{"code":"028001","cap":"35031","nome":"Abano Terme"},{"code":"028002","cap":"35021","nome":"Agna"},{"code":"028003","cap":"35020","nome":"Albignasego"},{"code":"028004","cap":"35022","nome":"Anguillara Veneta"},{"code":"028005","cap":"35032","nome":"Arqu\xe0 Petrarca"},{"code":"028006","cap":"35020","nome":"Arre"},{"code":"028007","cap":"35020","nome":"Arzergrande"},{"code":"028008","cap":"35023","nome":"Bagnoli di Sopra"},{"code":"028009","cap":"35030","nome":"Baone"},{"code":"028010","cap":"35040","nome":"Barbona"},{"code":"028011","cap":"35041","nome":"Battaglia Terme"},{"code":"028012","cap":"35040","nome":"Boara Pisani"},{"code":"028013","cap":"35010","nome":"Borgoricco"},{"code":"028014","cap":"35024","nome":"Bovolenta"},{"code":"028015","cap":"35020","nome":"Brugine"},{"code":"028016","cap":"35010","nome":"Cadoneghe"},{"code":"028020","cap":"35010","nome":"Campo San Martino"},{"code":"028017","cap":"35011","nome":"Campodarsego"},{"code":"028018","cap":"35010","nome":"Campodoro"},{"code":"028019","cap":"35012","nome":"Camposampiero"},{"code":"028021","cap":"35020","nome":"Candiana"},{"code":"028022","cap":"35040","nome":"Carceri"},{"code":"028023","cap":"35010","nome":"Carmignano di Brenta"},{"code":"028026","cap":"35025","nome":"Cartura"},{"code":"028027","cap":"35040","nome":"Casale di Scodosia"},{"code":"028028","cap":"35020","nome":"Casalserugo"},{"code":"028029","cap":"35040","nome":"Castelbaldo"},{"code":"028030","cap":"35030","nome":"Cervarese Santa Croce"},{"code":"028031","cap":"35030","nome":"Cinto Euganeo"},{"code":"028032","cap":"35013","nome":"Cittadella"},{"code":"028033","cap":"35020","nome":"Codevigo"},{"code":"028034","cap":"35026","nome":"Conselve"},{"code":"028035","cap":"35020","nome":"Correzzola"},{"code":"028036","cap":"35010","nome":"Curtarolo"},{"code":"028106","cap":"35020","nome":"Due Carrare"},{"code":"028037","cap":"35042","nome":"Este"},{"code":"028038","cap":"35014","nome":"Fontaniva"},{"code":"028039","cap":"35015","nome":"Galliera Veneta"},{"code":"028040","cap":"35030","nome":"Galzignano Terme"},{"code":"028041","cap":"35010","nome":"Gazzo"},{"code":"028042","cap":"35010","nome":"Grantorto"},{"code":"028043","cap":"35040","nome":"Granze"},{"code":"028044","cap":"35020","nome":"Legnaro"},{"code":"028045","cap":"35010","nome":"Limena"},{"code":"028046","cap":"35010","nome":"Loreggia"},{"code":"028047","cap":"35034","nome":"Lozzo Atestino"},{"code":"028048","cap":"35020","nome":"Maser\xe0 di Padova"},{"code":"028049","cap":"35040","nome":"Masi"},{"code":"028050","cap":"35010","nome":"Massanzago"},{"code":"028051","cap":"35040","nome":"Megliadino San Fidenzio"},{"code":"028052","cap":"35040","nome":"Megliadino San Vitale"},{"code":"028053","cap":"35040","nome":"Merlara"},{"code":"028054","cap":"35035","nome":"Mestrino"},{"code":"028055","cap":"35043","nome":"Monselice"},{"code":"028056","cap":"35044","nome":"Montagnana"},{"code":"028057","cap":"35036","nome":"Montegrotto Terme"},{"code":"028058","cap":"35027","nome":"Noventa Padovana"},{"code":"028059","cap":"35045","nome":"Ospedaletto Euganeo"},{"code":"028060","cap":"351xx","nome":"Padova"},{"code":"028061","cap":"35020","nome":"Pernumia"},{"code":"028062","cap":"35040","nome":"Piacenza d\'Adige"},{"code":"028063","cap":"35016","nome":"Piazzola sul Brenta"},{"code":"028064","cap":"35017","nome":"Piombino Dese"},{"code":"028065","cap":"35028","nome":"Piove di Sacco"},{"code":"028066","cap":"35020","nome":"Polverara"},{"code":"028067","cap":"35040","nome":"Ponso"},{"code":"028069","cap":"35020","nome":"Ponte San Nicol\xf2"},{"code":"028068","cap":"35029","nome":"Pontelongo"},{"code":"028070","cap":"35020","nome":"Pozzonovo"},{"code":"028071","cap":"35030","nome":"Rovolon"},{"code":"028072","cap":"35030","nome":"Rubano"},{"code":"028073","cap":"35030","nome":"Saccolongo"},{"code":"028074","cap":"35046","nome":"Saletto"},{"code":"028075","cap":"35010","nome":"San Giorgio delle Pertiche"},{"code":"028076","cap":"35010","nome":"San Giorgio in Bosco"},{"code":"028077","cap":"35018","nome":"San Martino di Lupari"},{"code":"028078","cap":"35010","nome":"San Pietro in Gu"},{"code":"028079","cap":"35020","nome":"San Pietro Viminario"},{"code":"028080","cap":"35010","nome":"Santa Giustina in Colle"},{"code":"028081","cap":"35040","nome":"Santa Margherita d\'Adige"},{"code":"028082","cap":"35020","nome":"Sant\'Angelo di Piove di Sacco"},{"code":"028083","cap":"35040","nome":"Sant\'Elena"},{"code":"028084","cap":"35040","nome":"Sant\'Urbano"},{"code":"028085","cap":"35020","nome":"Saonara"},{"code":"028086","cap":"35030","nome":"Selvazzano Dentro"},{"code":"028087","cap":"35047","nome":"Solesino"},{"code":"028088","cap":"35048","nome":"Stanghella"},{"code":"028089","cap":"35037","nome":"Teolo"},{"code":"028090","cap":"35020","nome":"Terrassa Padovana"},{"code":"028091","cap":"35019","nome":"Tombolo"},{"code":"028092","cap":"35038","nome":"Torreglia"},{"code":"028093","cap":"35010","nome":"Trebaseleghe"},{"code":"028094","cap":"35020","nome":"Tribano"},{"code":"028095","cap":"35040","nome":"Urbana"},{"code":"028096","cap":"35030","nome":"Veggiano"},{"code":"028097","cap":"35040","nome":"Vescovana"},{"code":"028098","cap":"35040","nome":"Vighizzolo d\'Este"},{"code":"028099","cap":"35010","nome":"Vigodarzere"},{"code":"028100","cap":"35010","nome":"Vigonza"},{"code":"028101","cap":"35010","nome":"Villa del Conte"},{"code":"028102","cap":"35040","nome":"Villa Estense"},{"code":"028103","cap":"35010","nome":"Villafranca Padovana"},{"code":"028104","cap":"35010","nome":"Villanova di Camposampiero"},{"code":"028105","cap":"35030","nome":"Vo\'"}],"nome":"Padova"},{"code":"RO","comuni":[{"code":"029001","cap":"45011","nome":"Adria"},{"code":"029002","cap":"45012","nome":"Ariano nel Polesine"},{"code":"029003","cap":"45031","nome":"Arqu\xe0 Polesine"},{"code":"029004","cap":"45021","nome":"Badia Polesine"},{"code":"029005","cap":"45022","nome":"Bagnolo di Po"},{"code":"029006","cap":"45032","nome":"Bergantino"},{"code":"029007","cap":"45033","nome":"Bosaro"},{"code":"029008","cap":"45030","nome":"Calto"},{"code":"029009","cap":"45034","nome":"Canaro"},{"code":"029010","cap":"45020","nome":"Canda"},{"code":"029011","cap":"45020","nome":"Castelguglielmo"},{"code":"029012","cap":"45035","nome":"Castelmassa"},{"code":"029013","cap":"45030","nome":"Castelnovo Bariano"},{"code":"029014","cap":"45030","nome":"Ceneselli"},{"code":"029015","cap":"45010","nome":"Ceregnano"},{"code":"029017","cap":"45015","nome":"Corbola"},{"code":"029018","cap":"45023","nome":"Costa di Rovigo"},{"code":"029019","cap":"45030","nome":"Crespino"},{"code":"029021","cap":"45036","nome":"Ficarolo"},{"code":"029022","cap":"45024","nome":"Fiesso Umbertiano"},{"code":"029023","cap":"45030","nome":"Frassinelle Polesine"},{"code":"029024","cap":"45025","nome":"Fratta Polesine"},{"code":"029025","cap":"45030","nome":"Gaiba"},{"code":"029026","cap":"45010","nome":"Gavello"},{"code":"029027","cap":"45020","nome":"Giacciano con Baruchella"},{"code":"029028","cap":"45030","nome":"Guarda Veneta"},{"code":"029029","cap":"45026","nome":"Lendinara"},{"code":"029030","cap":"45017","nome":"Loreo"},{"code":"029031","cap":"45020","nome":"Lusia"},{"code":"029032","cap":"45037","nome":"Melara"},{"code":"029033","cap":"45030","nome":"Occhiobello"},{"code":"029034","cap":"45010","nome":"Papozze"},{"code":"029035","cap":"45010","nome":"Pettorazza Grimani"},{"code":"029036","cap":"45020","nome":"Pincara"},{"code":"029037","cap":"45038","nome":"Polesella"},{"code":"029038","cap":"45030","nome":"Pontecchio Polesine"},{"code":"029039","cap":"45018","nome":"Porto Tolle"},{"code":"029052","cap":"45014","nome":"Porto Viro"},{"code":"029040","cap":"45010","nome":"Rosolina"},{"code":"029041","cap":"45100","nome":"Rovigo"},{"code":"029042","cap":"45030","nome":"Salara"},{"code":"029043","cap":"45020","nome":"San Bellino"},{"code":"029044","cap":"45030","nome":"San Martino di Venezze"},{"code":"029045","cap":"45039","nome":"Stienta"},{"code":"029046","cap":"45019","nome":"Taglio di Po"},{"code":"029047","cap":"45027","nome":"Trecenta"},{"code":"029048","cap":"45010","nome":"Villadose"},{"code":"029049","cap":"45030","nome":"Villamarzana"},{"code":"029050","cap":"45020","nome":"Villanova del Ghebbo"},{"code":"029051","cap":"45030","nome":"Villanova Marchesana"}],"nome":"Rovigo"},{"code":"TV","comuni":[{"code":"026001","cap":"31030","nome":"Altivole"},{"code":"026002","cap":"31030","nome":"Arcade"},{"code":"026003","cap":"31011","nome":"Asolo"},{"code":"026004","cap":"31030","nome":"Borso del Grappa"},{"code":"026005","cap":"31030","nome":"Breda di Piave"},{"code":"026006","cap":"31031","nome":"Caerano di San Marco"},{"code":"026007","cap":"31012","nome":"Cappella Maggiore"},{"code":"026008","cap":"31030","nome":"Carbonera"},{"code":"026009","cap":"31032","nome":"Casale sul Sile"},{"code":"026010","cap":"31030","nome":"Casier"},{"code":"026011","cap":"31030","nome":"Castelcucco"},{"code":"026012","cap":"31033","nome":"Castelfranco Veneto"},{"code":"026013","cap":"31030","nome":"Castello di Godego"},{"code":"026014","cap":"31034","nome":"Cavaso del Tomba"},{"code":"026015","cap":"31040","nome":"Cessalto"},{"code":"026016","cap":"31040","nome":"Chiarano"},{"code":"026017","cap":"31010","nome":"Cimadolmo"},{"code":"026018","cap":"31030","nome":"Cison di Valmarino"},{"code":"026019","cap":"31013","nome":"Codogn\xe8"},{"code":"026020","cap":"31014","nome":"Colle Umberto"},{"code":"026021","cap":"31015","nome":"Conegliano"},{"code":"026022","cap":"31016","nome":"Cordignano"},{"code":"026023","cap":"31041","nome":"Cornuda"},{"code":"026024","cap":"31017","nome":"Crespano del Grappa"},{"code":"026025","cap":"31035","nome":"Crocetta del Montello"},{"code":"026026","cap":"31010","nome":"Farra di Soligo"},{"code":"026027","cap":"31051","nome":"Follina"},{"code":"026028","cap":"31043","nome":"Fontanelle"},{"code":"026029","cap":"31010","nome":"Fonte"},{"code":"026030","cap":"31010","nome":"Fregona"},{"code":"026031","cap":"31018","nome":"Gaiarine"},{"code":"026032","cap":"31040","nome":"Giavera del Montello"},{"code":"026033","cap":"31010","nome":"Godega di Sant\'Urbano"},{"code":"026034","cap":"31040","nome":"Gorgo al Monticano"},{"code":"026035","cap":"31036","nome":"Istrana"},{"code":"026036","cap":"31037","nome":"Loria"},{"code":"026037","cap":"31040","nome":"Mansu\xe8"},{"code":"026038","cap":"31010","nome":"Mareno di Piave"},{"code":"026039","cap":"31010","nome":"Maser"},{"code":"026040","cap":"31052","nome":"Maserada sul Piave"},{"code":"026041","cap":"31040","nome":"Meduna di Livenza"},{"code":"026042","cap":"31050","nome":"Miane"},{"code":"026043","cap":"31021","nome":"Mogliano Veneto"},{"code":"026044","cap":"31050","nome":"Monastier di Treviso"},{"code":"026045","cap":"31010","nome":"Monfumo"},{"code":"026046","cap":"31044","nome":"Montebelluna"},{"code":"026047","cap":"31050","nome":"Morgano"},{"code":"026048","cap":"31010","nome":"Moriago della Battaglia"},{"code":"026049","cap":"31045","nome":"Motta di Livenza"},{"code":"026050","cap":"31040","nome":"Nervesa della Battaglia"},{"code":"026051","cap":"31046","nome":"Oderzo"},{"code":"026052","cap":"31024","nome":"Ormelle"},{"code":"026053","cap":"31010","nome":"Orsago"},{"code":"026054","cap":"31017","nome":"Paderno del Grappa"},{"code":"026055","cap":"31038","nome":"Paese"},{"code":"026056","cap":"31040","nome":"Pederobba"},{"code":"026057","cap":"31053","nome":"Pieve di Soligo"},{"code":"026058","cap":"31047","nome":"Ponte di Piave"},{"code":"026059","cap":"31050","nome":"Ponzano Veneto"},{"code":"026060","cap":"31040","nome":"Portobuffol\xe8"},{"code":"026061","cap":"31054","nome":"Possagno"},{"code":"026062","cap":"31050","nome":"Povegliano"},{"code":"026063","cap":"31022","nome":"Preganziol"},{"code":"026064","cap":"31055","nome":"Quinto di Treviso"},{"code":"026065","cap":"31020","nome":"Refrontolo"},{"code":"026066","cap":"31023","nome":"Resana"},{"code":"026067","cap":"31020","nome":"Revine Lago"},{"code":"026068","cap":"31039","nome":"Riese Pio X"},{"code":"026069","cap":"31056","nome":"Roncade"},{"code":"026070","cap":"31040","nome":"Salgareda"},{"code":"026071","cap":"31048","nome":"San Biagio di Callalta"},{"code":"026072","cap":"31020","nome":"San Fior"},{"code":"026073","cap":"31020","nome":"San Pietro di Feletto"},{"code":"026074","cap":"31020","nome":"San Polo di Piave"},{"code":"026076","cap":"31020","nome":"San Vendemiano"},{"code":"026077","cap":"31020","nome":"San Zenone degli Ezzelini"},{"code":"026075","cap":"31025","nome":"Santa Lucia di Piave"},{"code":"026078","cap":"31026","nome":"Sarmede"},{"code":"026079","cap":"31040","nome":"Segusino"},{"code":"026080","cap":"31020","nome":"Sernaglia della Battaglia"},{"code":"026081","cap":"31057","nome":"Silea"},{"code":"026082","cap":"31027","nome":"Spresiano"},{"code":"026083","cap":"31058","nome":"Susegana"},{"code":"026084","cap":"31020","nome":"Tarzo"},{"code":"026085","cap":"31040","nome":"Trevignano"},{"code":"026086","cap":"31100","nome":"Treviso"},{"code":"026087","cap":"31049","nome":"Valdobbiadene"},{"code":"026088","cap":"31028","nome":"Vazzola"},{"code":"026089","cap":"31050","nome":"Vedelago"},{"code":"026090","cap":"31020","nome":"Vidor"},{"code":"026091","cap":"31020","nome":"Villorba"},{"code":"026092","cap":"31029","nome":"Vittorio Veneto"},{"code":"026093","cap":"31040","nome":"Volpago del Montello"},{"code":"026094","cap":"31050","nome":"Zenson di Piave"},{"code":"026095","cap":"31059","nome":"Zero Branco"}],"nome":"Treviso"},{"code":"VE","comuni":[{"code":"027001","cap":"30020","nome":"Annone Veneto"},{"code":"027002","cap":"30010","nome":"Campagna Lupia"},{"code":"027003","cap":"30010","nome":"Campolongo Maggiore"},{"code":"027004","cap":"30010","nome":"Camponogara"},{"code":"027005","cap":"30021","nome":"Caorle"},{"code":"027044","cap":"30013","nome":"Cavallino-Treporti"},{"code":"027006","cap":"30014","nome":"Cavarzere"},{"code":"027007","cap":"30022","nome":"Ceggia"},{"code":"027008","cap":"30015","nome":"Chioggia"},{"code":"027009","cap":"30020","nome":"Cinto Caomaggiore"},{"code":"027010","cap":"30010","nome":"Cona"},{"code":"027011","cap":"30023","nome":"Concordia Sagittaria"},{"code":"027012","cap":"30031","nome":"Dolo"},{"code":"027013","cap":"30020","nome":"Eraclea"},{"code":"027014","cap":"30032","nome":"Fiesso d\'Artico"},{"code":"027015","cap":"30020","nome":"Fossalta di Piave"},{"code":"027016","cap":"30025","nome":"Fossalta di Portogruaro"},{"code":"027017","cap":"30030","nome":"Foss\xf2"},{"code":"027018","cap":"30020","nome":"Gruaro"},{"code":"027019","cap":"30016","nome":"Jesolo"},{"code":"027020","cap":"30020","nome":"Marcon"},{"code":"027021","cap":"30030","nome":"Martellago"},{"code":"027022","cap":"30020","nome":"Meolo"},{"code":"027023","cap":"30034","nome":"Mira"},{"code":"027024","cap":"30035","nome":"Mirano"},{"code":"027025","cap":"30024","nome":"Musile di Piave"},{"code":"027026","cap":"30033","nome":"Noale"},{"code":"027027","cap":"30020","nome":"Noventa di Piave"},{"code":"027028","cap":"30030","nome":"Pianiga"},{"code":"027029","cap":"30026","nome":"Portogruaro"},{"code":"027030","cap":"30020","nome":"Pramaggiore"},{"code":"027031","cap":"30020","nome":"Quarto d\'Altino"},{"code":"027032","cap":"30030","nome":"Salzano"},{"code":"027033","cap":"30027","nome":"San Don\xe0 di Piave"},{"code":"027034","cap":"30028","nome":"San Michele al Tagliamento"},{"code":"027035","cap":"30036","nome":"Santa Maria di Sala"},{"code":"027036","cap":"30029","nome":"Santo Stino di Livenza"},{"code":"027037","cap":"30037","nome":"Scorz\xe8"},{"code":"027038","cap":"30038","nome":"Spinea"},{"code":"027039","cap":"30039","nome":"Stra"},{"code":"027040","cap":"30025","nome":"Teglio Veneto"},{"code":"027041","cap":"30020","nome":"Torre di Mosto"},{"code":"027042","cap":"301xx","nome":"Venezia"},{"code":"027043","cap":"30030","nome":"Vigonovo"}],"nome":"Venezia"},{"code":"VR","comuni":[{"code":"023001","cap":"37010","nome":"Affi"},{"code":"023002","cap":"37041","nome":"Albaredo d\'Adige"},{"code":"023003","cap":"37050","nome":"Angiari"},{"code":"023004","cap":"37040","nome":"Arcole"},{"code":"023005","cap":"37030","nome":"Badia Calavena"},{"code":"023006","cap":"37011","nome":"Bardolino"},{"code":"023007","cap":"37050","nome":"Belfiore"},{"code":"023008","cap":"37040","nome":"Bevilacqua"},{"code":"023009","cap":"37040","nome":"Bonavigo"},{"code":"023010","cap":"37040","nome":"Boschi Sant\'Anna"},{"code":"023011","cap":"37021","nome":"Bosco Chiesanuova"},{"code":"023012","cap":"37051","nome":"Bovolone"},{"code":"023013","cap":"37020","nome":"Brentino Belluno"},{"code":"023014","cap":"37010","nome":"Brenzone"},{"code":"023015","cap":"37012","nome":"Bussolengo"},{"code":"023016","cap":"37060","nome":"Buttapietra"},{"code":"023017","cap":"37042","nome":"Caldiero"},{"code":"023018","cap":"37013","nome":"Caprino Veronese"},{"code":"023019","cap":"37052","nome":"Casaleone"},{"code":"023020","cap":"37043","nome":"Castagnaro"},{"code":"023021","cap":"37060","nome":"Castel d\'Azzano"},{"code":"023022","cap":"37014","nome":"Castelnuovo del Garda"},{"code":"023023","cap":"37010","nome":"Cavaion Veronese"},{"code":"023024","cap":"37030","nome":"Cazzano di Tramigna"},{"code":"023025","cap":"37053","nome":"Cerea"},{"code":"023026","cap":"37020","nome":"Cerro Veronese"},{"code":"023027","cap":"37044","nome":"Cologna Veneta"},{"code":"023028","cap":"37030","nome":"Colognola ai Colli"},{"code":"023029","cap":"37050","nome":"Concamarise"},{"code":"023030","cap":"37010","nome":"Costermano"},{"code":"023031","cap":"37020","nome":"Dolc\xe8"},{"code":"023032","cap":"37060","nome":"Erb\xe8"},{"code":"023033","cap":"37020","nome":"Erbezzo"},{"code":"023034","cap":"37020","nome":"Ferrara di Monte Baldo"},{"code":"023035","cap":"37022","nome":"Fumane"},{"code":"023036","cap":"37016","nome":"Garda"},{"code":"023037","cap":"37060","nome":"Gazzo Veronese"},{"code":"023038","cap":"37023","nome":"Grezzana"},{"code":"023039","cap":"37031","nome":"Illasi"},{"code":"023040","cap":"37063","nome":"Isola della Scala"},{"code":"023041","cap":"37050","nome":"Isola Rizza"},{"code":"023042","cap":"37030","nome":"Lavagno"},{"code":"023043","cap":"37017","nome":"Lazise"},{"code":"023044","cap":"37045","nome":"Legnago"},{"code":"023045","cap":"37018","nome":"Malcesine"},{"code":"023046","cap":"37020","nome":"Marano di Valpolicella"},{"code":"023047","cap":"37030","nome":"Mezzane di Sotto"},{"code":"023048","cap":"37046","nome":"Minerbe"},{"code":"023049","cap":"37030","nome":"Montecchia di Crosara"},{"code":"023050","cap":"37032","nome":"Monteforte d\'Alpone"},{"code":"023051","cap":"37060","nome":"Mozzecane"},{"code":"023052","cap":"37024","nome":"Negrar"},{"code":"023053","cap":"37054","nome":"Nogara"},{"code":"023054","cap":"37060","nome":"Nogarole Rocca"},{"code":"023055","cap":"37050","nome":"Oppeano"},{"code":"023056","cap":"37050","nome":"Pal\xf9"},{"code":"023057","cap":"37010","nome":"Pastrengo"},{"code":"023058","cap":"37026","nome":"Pescantina"},{"code":"023059","cap":"37019","nome":"Peschiera del Garda"},{"code":"023060","cap":"37064","nome":"Povegliano Veronese"},{"code":"023061","cap":"37040","nome":"Pressana"},{"code":"023062","cap":"37010","nome":"Rivoli Veronese"},{"code":"023063","cap":"37030","nome":"Ronc\xe0"},{"code":"023064","cap":"37055","nome":"Ronco all\'Adige"},{"code":"023065","cap":"37050","nome":"Roverchiara"},{"code":"023067","cap":"37028","nome":"Rover\xe8 Veronese"},{"code":"023066","cap":"37040","nome":"Roveredo di Gu\xe0"},{"code":"023068","cap":"37056","nome":"Salizzole"},{"code":"023069","cap":"37047","nome":"San Bonifacio"},{"code":"023070","cap":"37035","nome":"San Giovanni Ilarione"},{"code":"023071","cap":"37057","nome":"San Giovanni Lupatoto"},{"code":"023073","cap":"37036","nome":"San Martino Buon Albergo"},{"code":"023074","cap":"37030","nome":"San Mauro di Saline"},{"code":"023075","cap":"37050","nome":"San Pietro di Morubio"},{"code":"023076","cap":"37029","nome":"San Pietro in Cariano"},{"code":"023079","cap":"37010","nome":"San Zeno di Montagna"},{"code":"023072","cap":"37058","nome":"Sanguinetto"},{"code":"023077","cap":"37015","nome":"Sant\'Ambrogio di Valpolicella"},{"code":"023078","cap":"37020","nome":"Sant\'Anna d\'Alfaedo"},{"code":"023080","cap":"37030","nome":"Selva di Progno"},{"code":"023081","cap":"37038","nome":"Soave"},{"code":"023082","cap":"37066","nome":"Sommacampagna"},{"code":"023083","cap":"37060","nome":"Sona"},{"code":"023084","cap":"37060","nome":"Sorg\xe0"},{"code":"023085","cap":"37040","nome":"Terrazzo"},{"code":"023086","cap":"37010","nome":"Torri del Benaco"},{"code":"023087","cap":"37039","nome":"Tregnago"},{"code":"023088","cap":"37060","nome":"Trevenzuolo"},{"code":"023089","cap":"37067","nome":"Valeggio sul Mincio"},{"code":"023090","cap":"37030","nome":"Velo Veronese"},{"code":"023091","cap":"371xx","nome":"Verona"},{"code":"023092","cap":"37040","nome":"Veronella"},{"code":"023093","cap":"37030","nome":"Vestenanova"},{"code":"023094","cap":"37068","nome":"Vigasio"},{"code":"023095","cap":"37049","nome":"Villa Bartolomea"},{"code":"023096","cap":"37069","nome":"Villafranca di Verona"},{"code":"023097","cap":"37059","nome":"Zevio"},{"code":"023098","cap":"37040","nome":"Zimella"}],"nome":"Verona"},{"code":"VI","comuni":[{"code":"024001","cap":"36020","nome":"Agugliaro"},{"code":"024002","cap":"36020","nome":"Albettone"},{"code":"024003","cap":"36045","nome":"Alonte"},{"code":"024004","cap":"36077","nome":"Altavilla Vicentina"},{"code":"024005","cap":"36070","nome":"Altissimo"},{"code":"024006","cap":"36057","nome":"Arcugnano"},{"code":"024007","cap":"36011","nome":"Arsiero"},{"code":"024008","cap":"36071","nome":"Arzignano"},{"code":"024009","cap":"36012","nome":"Asiago"},{"code":"024010","cap":"36020","nome":"Asigliano Veneto"},{"code":"024011","cap":"36021","nome":"Barbarano Vicentino"},{"code":"024012","cap":"36061","nome":"Bassano del Grappa"},{"code":"024013","cap":"36050","nome":"Bolzano Vicentino"},{"code":"024014","cap":"36042","nome":"Breganze"},{"code":"024015","cap":"36040","nome":"Brendola"},{"code":"024016","cap":"36050","nome":"Bressanvido"},{"code":"024017","cap":"36070","nome":"Brogliano"},{"code":"024018","cap":"36030","nome":"Caldogno"},{"code":"024019","cap":"36030","nome":"Caltrano"},{"code":"024020","cap":"36030","nome":"Calvene"},{"code":"024021","cap":"36043","nome":"Camisano Vicentino"},{"code":"024022","cap":"36020","nome":"Campiglia dei Berici"},{"code":"024023","cap":"36020","nome":"Campolongo sul Brenta"},{"code":"024024","cap":"36010","nome":"Carr\xe8"},{"code":"024025","cap":"36050","nome":"Cartigliano"},{"code":"024026","cap":"36022","nome":"Cassola"},{"code":"024027","cap":"36020","nome":"Castegnero"},{"code":"024028","cap":"36070","nome":"Castelgomberto"},{"code":"024029","cap":"36072","nome":"Chiampo"},{"code":"024030","cap":"36010","nome":"Chiuppano"},{"code":"024031","cap":"36020","nome":"Cismon del Grappa"},{"code":"024032","cap":"36010","nome":"Cogollo del Cengio"},{"code":"024033","cap":"36062","nome":"Conco"},{"code":"024034","cap":"36073","nome":"Cornedo Vicentino"},{"code":"024035","cap":"36030","nome":"Costabissara"},{"code":"024036","cap":"36051","nome":"Creazzo"},{"code":"024037","cap":"36070","nome":"Crespadoro"},{"code":"024038","cap":"36031","nome":"Dueville"},{"code":"024039","cap":"36052","nome":"Enego"},{"code":"024040","cap":"36030","nome":"Fara Vicentino"},{"code":"024041","cap":"36010","nome":"Foza"},{"code":"024042","cap":"36032","nome":"Gallio"},{"code":"024043","cap":"36053","nome":"Gambellara"},{"code":"024044","cap":"36050","nome":"Gambugliano"},{"code":"024045","cap":"36040","nome":"Grancona"},{"code":"024046","cap":"36040","nome":"Grisignano di Zocco"},{"code":"024047","cap":"36040","nome":"Grumolo delle Abbadesse"},{"code":"024048","cap":"36033","nome":"Isola Vicentina"},{"code":"024049","cap":"36010","nome":"Laghi"},{"code":"024050","cap":"36040","nome":"Lastebasse"},{"code":"024051","cap":"36023","nome":"Longare"},{"code":"024052","cap":"36045","nome":"Lonigo"},{"code":"024053","cap":"36030","nome":"Lugo di Vicenza"},{"code":"024054","cap":"36046","nome":"Lusiana"},{"code":"024055","cap":"36034","nome":"Malo"},{"code":"024056","cap":"36035","nome":"Marano Vicentino"},{"code":"024057","cap":"36063","nome":"Marostica"},{"code":"024058","cap":"36064","nome":"Mason Vicentino"},{"code":"024059","cap":"36060","nome":"Molvena"},{"code":"024063","cap":"36030","nome":"Monte di Malo"},{"code":"024060","cap":"36054","nome":"Montebello Vicentino"},{"code":"024061","cap":"36075","nome":"Montecchio Maggiore"},{"code":"024062","cap":"36030","nome":"Montecchio Precalcino"},{"code":"024064","cap":"36047","nome":"Montegalda"},{"code":"024065","cap":"36047","nome":"Montegaldella"},{"code":"024066","cap":"36050","nome":"Monteviale"},{"code":"024067","cap":"36010","nome":"Monticello Conte Otto"},{"code":"024068","cap":"36050","nome":"Montorso Vicentino"},{"code":"024069","cap":"36024","nome":"Mossano"},{"code":"024070","cap":"36065","nome":"Mussolente"},{"code":"024071","cap":"36024","nome":"Nanto"},{"code":"024072","cap":"36070","nome":"Nogarole Vicentino"},{"code":"024073","cap":"36055","nome":"Nove"},{"code":"024074","cap":"36025","nome":"Noventa Vicentina"},{"code":"024075","cap":"36040","nome":"Orgiano"},{"code":"024076","cap":"36040","nome":"Pedemonte"},{"code":"024077","cap":"36060","nome":"Pianezze"},{"code":"024078","cap":"36013","nome":"Piovene Rocchette"},{"code":"024079","cap":"36026","nome":"Pojana Maggiore"},{"code":"024080","cap":"36010","nome":"Posina"},{"code":"024081","cap":"36020","nome":"Pove del Grappa"},{"code":"024082","cap":"36050","nome":"Pozzoleone"},{"code":"024083","cap":"36050","nome":"Quinto Vicentino"},{"code":"024084","cap":"36076","nome":"Recoaro Terme"},{"code":"024085","cap":"36010","nome":"Roana"},{"code":"024086","cap":"36060","nome":"Romano d\'Ezzelino"},{"code":"024087","cap":"36027","nome":"Ros\xe0"},{"code":"024088","cap":"36028","nome":"Rossano Veneto"},{"code":"024089","cap":"36010","nome":"Rotzo"},{"code":"024090","cap":"36040","nome":"Salcedo"},{"code":"024092","cap":"36040","nome":"San Germano dei Berici"},{"code":"024093","cap":"36020","nome":"San Nazario"},{"code":"024094","cap":"36070","nome":"San Pietro Mussolino"},{"code":"024096","cap":"36030","nome":"San Vito di Leguzzano"},{"code":"024091","cap":"36066","nome":"Sandrigo"},{"code":"024095","cap":"36014","nome":"Santorso"},{"code":"024097","cap":"36030","nome":"Sarcedo"},{"code":"024098","cap":"36040","nome":"Sarego"},{"code":"024099","cap":"36060","nome":"Schiavon"},{"code":"024100","cap":"36015","nome":"Schio"},{"code":"024101","cap":"36020","nome":"Solagna"},{"code":"024102","cap":"36040","nome":"Sossano"},{"code":"024103","cap":"36050","nome":"Sovizzo"},{"code":"024104","cap":"36056","nome":"Tezze sul Brenta"},{"code":"024105","cap":"36016","nome":"Thiene"},{"code":"024106","cap":"36040","nome":"Tonezza del Cimone"},{"code":"024107","cap":"36036","nome":"Torrebelvicino"},{"code":"024108","cap":"36040","nome":"Torri di Quartesolo"},{"code":"024110","cap":"36070","nome":"Trissino"},{"code":"024111","cap":"36078","nome":"Valdagno"},{"code":"024112","cap":"36040","nome":"Valdastico"},{"code":"024113","cap":"36030","nome":"Valli del Pasubio"},{"code":"024114","cap":"36020","nome":"Valstagna"},{"code":"024115","cap":"36010","nome":"Velo d\'Astico"},{"code":"024116","cap":"36100","nome":"Vicenza"},{"code":"024117","cap":"36021","nome":"Villaga"},{"code":"024118","cap":"36030","nome":"Villaverla"},{"code":"024119","cap":"36010","nome":"Zan\xe8"},{"code":"024120","cap":"36050","nome":"Zermeghedo"},{"code":"024121","cap":"36020","nome":"Zovencedo"},{"code":"024122","cap":"36030","nome":"Zugliano"}],"nome":"Vicenza"}],"nome":"Veneto"}]}')},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,n){function t(e,n,t,o,r,a,i){try{var s=e[a](i),c=s.value}catch(u){return void t(u)}s.done?n(c):Promise.resolve(c).then(o,r)}e.exports=function(e){return function(){var n=this,o=arguments;return new Promise((function(r,a){var i=e.apply(n,o);function s(e){t(i,r,a,s,c,"next",e)}function c(e){t(i,r,a,s,c,"throw",e)}s(void 0)}))}}},function(e,n){e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},function(e,n,t){var o=t(194);e.exports=function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&o(e,n)}},function(e,n,t){var o=t(501),r=t(500),a=t(711);e.exports=function(e){var n=r();return function(){var t,r=o(e);if(n){var i=o(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return a(this,t)}}},function(e,n,t){var o=t(712),r=t(498);e.exports=function(e,n){return!n||"object"!==o(n)&&"function"!==typeof n?r(e):n}},function(e,n){function t(n){return"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?e.exports=t=function(e){return typeof e}:e.exports=t=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(n)}e.exports=t},function(e,n,t){var o=t(501),r=t(194),a=t(714),i=t(499);function s(n){var t="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!a(e))return e;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,n)}function n(){return i(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),r(n,e)},s(n)}e.exports=s},function(e,n){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,n,t){(function(e){!function(n){"use strict";function t(e,n){e.super_=n,e.prototype=Object.create(n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function o(e,n){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),n&&n.length&&Object.defineProperty(this,"path",{value:n,enumerable:!0})}function r(e,n,t){r.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:n,enumerable:!0}),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function a(e,n){a.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function i(e,n){i.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:n,enumerable:!0})}function s(e,n,t){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:n,enumerable:!0}),Object.defineProperty(this,"item",{value:t,enumerable:!0})}function c(e,n,t){var o=e.slice((t||n)+1||e.length);return e.length=n<0?e.length+n:n,e.push.apply(e,o),e}function u(e){var n="undefined"==typeof e?"undefined":P(e);return"object"!==n?n:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function l(e,n,t,o,d,p,m){m=m||[];var h=(d=d||[]).slice(0);if("undefined"!=typeof p){if(o){if("function"==typeof o&&o(h,p))return;if("object"===("undefined"==typeof o?"undefined":P(o))){if(o.prefilter&&o.prefilter(h,p))return;if(o.normalize){var f=o.normalize(h,p,e,n);f&&(e=f[0],n=f[1])}}}h.push(p)}"regexp"===u(e)&&"regexp"===u(n)&&(e=e.toString(),n=n.toString());var g="undefined"==typeof e?"undefined":P(e),v="undefined"==typeof n?"undefined":P(n),y="undefined"!==g||m&&m[m.length-1].lhs&&m[m.length-1].lhs.hasOwnProperty(p),b="undefined"!==v||m&&m[m.length-1].rhs&&m[m.length-1].rhs.hasOwnProperty(p);if(!y&&b)t(new a(h,n));else if(!b&&y)t(new i(h,e));else if(u(e)!==u(n))t(new r(h,e,n));else if("date"===u(e)&&e-n!==0)t(new r(h,e,n));else if("object"===g&&null!==e&&null!==n)if(m.filter((function(n){return n.lhs===e})).length)e!==n&&t(new r(h,e,n));else{if(m.push({lhs:e,rhs:n}),Array.isArray(e)){var C;for(e.length,C=0;C<e.length;C++)C>=n.length?t(new s(h,C,new i(void 0,e[C]))):l(e[C],n[C],t,o,h,C,m);for(;C<n.length;)t(new s(h,C,new a(void 0,n[C++])))}else{var w=Object.keys(e),S=Object.keys(n);w.forEach((function(r,a){var i=S.indexOf(r);i>=0?(l(e[r],n[r],t,o,h,r,m),S=c(S,i)):l(e[r],void 0,t,o,h,r,m)})),S.forEach((function(e){l(void 0,n[e],t,o,h,e,m)}))}m.length=m.length-1}else e!==n&&("number"===g&&isNaN(e)&&isNaN(n)||t(new r(h,e,n)))}function d(e,n,t,o){return o=o||[],l(e,n,(function(e){e&&o.push(e)}),t),o.length?o:void 0}function p(e,n,t){if(t.path&&t.path.length){var o,r=e[n],a=t.path.length-1;for(o=0;o<a;o++)r=r[t.path[o]];switch(t.kind){case"A":p(r[t.path[o]],t.index,t.item);break;case"D":delete r[t.path[o]];break;case"E":case"N":r[t.path[o]]=t.rhs}}else switch(t.kind){case"A":p(e[n],t.index,t.item);break;case"D":e=c(e,n);break;case"E":case"N":e[n]=t.rhs}return e}function m(e,n,t){if(e&&n&&t&&t.kind){for(var o=e,r=-1,a=t.path?t.path.length-1:0;++r<a;)"undefined"==typeof o[t.path[r]]&&(o[t.path[r]]="number"==typeof t.path[r]?[]:{}),o=o[t.path[r]];switch(t.kind){case"A":p(t.path?o[t.path[r]]:o,t.index,t.item);break;case"D":delete o[t.path[r]];break;case"E":case"N":o[t.path[r]]=t.rhs}}}function h(e,n,t){if(t.path&&t.path.length){var o,r=e[n],a=t.path.length-1;for(o=0;o<a;o++)r=r[t.path[o]];switch(t.kind){case"A":h(r[t.path[o]],t.index,t.item);break;case"D":case"E":r[t.path[o]]=t.lhs;break;case"N":delete r[t.path[o]]}}else switch(t.kind){case"A":h(e[n],t.index,t.item);break;case"D":case"E":e[n]=t.lhs;break;case"N":e=c(e,n)}return e}function f(e,n,t){if(e&&n&&t&&t.kind){var o,r,a=e;for(r=t.path.length-1,o=0;o<r;o++)"undefined"==typeof a[t.path[o]]&&(a[t.path[o]]={}),a=a[t.path[o]];switch(t.kind){case"A":h(a[t.path[o]],t.index,t.item);break;case"D":case"E":a[t.path[o]]=t.lhs;break;case"N":delete a[t.path[o]]}}}function g(e,n,t){e&&n&&l(e,n,(function(o){t&&!t(e,n,o)||m(e,n,o)}))}function v(e){return"color: "+R[e].color+"; font-weight: bold"}function y(e){var n=e.kind,t=e.path,o=e.lhs,r=e.rhs,a=e.index,i=e.item;switch(n){case"E":return[t.join("."),o,"\u2192",r];case"N":return[t.join("."),r];case"D":return[t.join(".")];case"A":return[t.join(".")+"["+a+"]",i];default:return[]}}function b(e,n,t,o){var r=d(e,n);try{o?t.groupCollapsed("diff"):t.group("diff")}catch(e){t.log("diff")}r?r.forEach((function(e){var n=e.kind,o=y(e);t.log.apply(t,["%c "+R[n].text,v(n)].concat(M(o)))})):t.log("\u2014\u2014 no diff \u2014\u2014");try{t.groupEnd()}catch(e){t.log("\u2014\u2014 diff end \u2014\u2014 ")}}function C(e,n,t,o){switch("undefined"==typeof e?"undefined":P(e)){case"object":return"function"==typeof e[o]?e[o].apply(e,M(t)):e[o];case"function":return e(n);default:return e}}function w(e){var n=e.timestamp,t=e.duration;return function(e,o,r){var a=["action"];return a.push("%c"+String(e.type)),n&&a.push("%c@ "+o),t&&a.push("%c(in "+r.toFixed(2)+" ms)"),a.join(" ")}}function S(e,n){var t=n.logger,o=n.actionTransformer,r=n.titleFormatter,a=void 0===r?w(n):r,i=n.collapsed,s=n.colors,c=n.level,u=n.diff,l="undefined"==typeof n.titleFormatter;e.forEach((function(r,d){var p=r.started,m=r.startedTime,h=r.action,f=r.prevState,g=r.error,v=r.took,y=r.nextState,w=e[d+1];w&&(y=w.prevState,v=w.started-p);var S=o(h),_="function"==typeof i?i((function(){return y}),h,r):i,E=k(m),x=s.title?"color: "+s.title(S)+";":"",O=["color: gray; font-weight: lighter;"];O.push(x),n.timestamp&&O.push("color: gray; font-weight: lighter;"),n.duration&&O.push("color: gray; font-weight: lighter;");var A=a(S,E,v);try{_?s.title&&l?t.groupCollapsed.apply(t,["%c "+A].concat(O)):t.groupCollapsed(A):s.title&&l?t.group.apply(t,["%c "+A].concat(O)):t.group(A)}catch(e){t.log(A)}var T=C(c,S,[f],"prevState"),P=C(c,S,[S],"action"),M=C(c,S,[g,f],"error"),I=C(c,S,[y],"nextState");if(T)if(s.prevState){var R="color: "+s.prevState(f)+"; font-weight: bold";t[T]("%c prev state",R,f)}else t[T]("prev state",f);if(P)if(s.action){var j="color: "+s.action(S)+"; font-weight: bold";t[P]("%c action    ",j,S)}else t[P]("action    ",S);if(g&&M)if(s.error){var N="color: "+s.error(g,f)+"; font-weight: bold;";t[M]("%c error     ",N,g)}else t[M]("error     ",g);if(I)if(s.nextState){var L="color: "+s.nextState(y)+"; font-weight: bold";t[I]("%c next state",L,y)}else t[I]("next state",y);u&&b(f,y,t,_);try{t.groupEnd()}catch(e){t.log("\u2014\u2014 log end \u2014\u2014")}}))}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({},j,e),t=n.logger,o=n.stateTransformer,r=n.errorTransformer,a=n.predicate,i=n.logErrors,s=n.diffPredicate;if("undefined"==typeof t)return function(){return function(e){return function(n){return e(n)}}};if(e.getState&&e.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n  reducer,\n  applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n  // ...options\n});\nconst store = createStore(\n  reducer,\n  applyMiddleware(logger)\n)\n"),function(){return function(e){return function(n){return e(n)}}};var c=[];return function(e){var t=e.getState;return function(e){return function(u){if("function"==typeof a&&!a(t,u))return e(u);var l={};c.push(l),l.started=T.now(),l.startedTime=new Date,l.prevState=o(t()),l.action=u;var d=void 0;if(i)try{d=e(u)}catch(e){l.error=r(e)}else d=e(u);l.took=T.now()-l.started,l.nextState=o(t());var p=n.diff&&"function"==typeof s?s(t,u):n.diff;if(S(c,Object.assign({},n,{diff:p})),c.length=0,l.error)throw l.error;return d}}}}var E,x,O=function(e,n){return new Array(n+1).join(e)},A=function(e,n){return O("0",n-e.toString().length)+e},k=function(e){return A(e.getHours(),2)+":"+A(e.getMinutes(),2)+":"+A(e.getSeconds(),2)+"."+A(e.getMilliseconds(),3)},T="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,P="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},M=function(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n<e.length;n++)t[n]=e[n];return t}return Array.from(e)},I=[];E="object"===("undefined"==typeof e?"undefined":P(e))&&e?e:"undefined"!=typeof window?window:{},(x=E.DeepDiff)&&I.push((function(){"undefined"!=typeof x&&E.DeepDiff===d&&(E.DeepDiff=x,x=void 0)})),t(r,o),t(a,o),t(i,o),t(s,o),Object.defineProperties(d,{diff:{value:d,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:g,enumerable:!0},applyChange:{value:m,enumerable:!0},revertChange:{value:f,enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof x},enumerable:!0},noConflict:{value:function(){return I&&(I.forEach((function(e){e()})),I=null),d},enumerable:!0}});var R={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},j={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(e){return e},actionTransformer:function(e){return e},errorTransformer:function(e){return e},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.dispatch,t=e.getState;return"function"==typeof n||"function"==typeof t?_()({dispatch:n,getState:t}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};n.defaults=j,n.createLogger=_,n.logger=N,n.default=N,Object.defineProperty(n,"__esModule",{value:!0})}(n)}).call(this,t(102))},function(e,n,t){function o(e){if(e)return function(e){for(var n in o.prototype)e[n]=o.prototype[n];return e}(e)}e.exports=o,o.prototype.on=o.prototype.addEventListener=function(e,n){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(n),this},o.prototype.once=function(e,n){function t(){this.off(e,t),n.apply(this,arguments)}return t.fn=n,this.on(e,t),this},o.prototype.off=o.prototype.removeListener=o.prototype.removeAllListeners=o.prototype.removeEventListener=function(e,n){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var t,o=this._callbacks["$"+e];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r=0;r<o.length;r++)if((t=o[r])===n||t.fn===n){o.splice(r,1);break}return 0===o.length&&delete this._callbacks["$"+e],this},o.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var n=new Array(arguments.length-1),t=this._callbacks["$"+e],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(t){o=0;for(var r=(t=t.slice(0)).length;o<r;++o)t[o].apply(this,n)}return this},o.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},o.prototype.hasListeners=function(e){return!!this.listeners(e).length}},function(e,n){e.exports=r,r.default=r,r.stable=s,r.stableStringify=s;var t=[],o=[];function r(e,n,r){var i;for(a(e,"",[],void 0),i=0===o.length?JSON.stringify(e,n,r):JSON.stringify(e,u(n),r);0!==t.length;){var s=t.pop();4===s.length?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}return i}function a(e,n,r,i){var s;if("object"===typeof e&&null!==e){for(s=0;s<r.length;s++)if(r[s]===e){var c=Object.getOwnPropertyDescriptor(i,n);return void(void 0!==c.get?c.configurable?(Object.defineProperty(i,n,{value:"[Circular]"}),t.push([i,n,e,c])):o.push([e,n]):(i[n]="[Circular]",t.push([i,n,e])))}if(r.push(e),Array.isArray(e))for(s=0;s<e.length;s++)a(e[s],s,r,e);else{var u=Object.keys(e);for(s=0;s<u.length;s++){var l=u[s];a(e[l],l,r,e)}}r.pop()}}function i(e,n){return e<n?-1:e>n?1:0}function s(e,n,r){var a,i=c(e,"",[],void 0)||e;for(a=0===o.length?JSON.stringify(i,n,r):JSON.stringify(i,u(n),r);0!==t.length;){var s=t.pop();4===s.length?Object.defineProperty(s[0],s[1],s[3]):s[0][s[1]]=s[2]}return a}function c(e,n,r,a){var s;if("object"===typeof e&&null!==e){for(s=0;s<r.length;s++)if(r[s]===e){var u=Object.getOwnPropertyDescriptor(a,n);return void(void 0!==u.get?u.configurable?(Object.defineProperty(a,n,{value:"[Circular]"}),t.push([a,n,e,u])):o.push([e,n]):(a[n]="[Circular]",t.push([a,n,e])))}if("function"===typeof e.toJSON)return;if(r.push(e),Array.isArray(e))for(s=0;s<e.length;s++)c(e[s],s,r,e);else{var l={},d=Object.keys(e).sort(i);for(s=0;s<d.length;s++){var p=d[s];c(e[p],p,r,e),l[p]=e[p]}if(void 0===a)return l;t.push([a,n,e]),a[n]=l}r.pop()}}function u(e){return e=void 0!==e?e:function(e,n){return n},function(n,t){if(o.length>0)for(var r=0;r<o.length;r++){var a=o[r];if(a[1]===n&&a[0]===t){t="[Circular]",o.splice(r,1);break}}return e.call(this,n,t)}}},function(e,n,t){"use strict";var o=t(719),r=t(729),a=t(197);e.exports={formats:a,parse:r,stringify:o}},function(e,n,t){"use strict";var o=t(720),r=t(502),a=t(197),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,n){return e+"["+n+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,l=function(e,n){u.apply(e,c(n)?n:[n])},d=Date.prototype.toISOString,p=a.default,m={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:p,formatter:a.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h=function e(n,t,a,i,s,u,d,p,h,f,g,v,y,b,C){var w,S=n;if(C.has(n))throw new RangeError("Cyclic object value");if("function"===typeof d?S=d(t,S):S instanceof Date?S=f(S):"comma"===a&&c(S)&&(S=r.maybeMap(S,(function(e){return e instanceof Date?f(e):e}))),null===S){if(i)return u&&!y?u(t,m.encoder,b,"key",g):t;S=""}if("string"===typeof(w=S)||"number"===typeof w||"boolean"===typeof w||"symbol"===typeof w||"bigint"===typeof w||r.isBuffer(S))return u?[v(y?t:u(t,m.encoder,b,"key",g))+"="+v(u(S,m.encoder,b,"value",g))]:[v(t)+"="+v(String(S))];var _,E=[];if("undefined"===typeof S)return E;if("comma"===a&&c(S))_=[{value:S.length>0?S.join(",")||null:void 0}];else if(c(d))_=d;else{var x=Object.keys(S);_=p?x.sort(p):x}for(var O=0;O<_.length;++O){var A=_[O],k="object"===typeof A&&void 0!==A.value?A.value:S[A];if(!s||null!==k){var T=c(S)?"function"===typeof a?a(t,A):t:t+(h?"."+A:"["+A+"]");C.set(n,!0);var P=o();l(E,e(k,T,a,i,s,u,d,p,h,f,g,v,y,b,P))}}return E};e.exports=function(e,n){var t,r=e,u=function(e){if(!e)return m;if(null!==e.encoder&&void 0!==e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var n=e.charset||m.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=a.default;if("undefined"!==typeof e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");t=e.format}var o=a.formatters[t],r=m.filter;return("function"===typeof e.filter||c(e.filter))&&(r=e.filter),{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:m.addQueryPrefix,allowDots:"undefined"===typeof e.allowDots?m.allowDots:!!e.allowDots,charset:n,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:m.charsetSentinel,delimiter:"undefined"===typeof e.delimiter?m.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:m.encode,encoder:"function"===typeof e.encoder?e.encoder:m.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:m.encodeValuesOnly,filter:r,format:t,formatter:o,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:m.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:m.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:m.strictNullHandling}}(n);"function"===typeof u.filter?r=(0,u.filter)("",r):c(u.filter)&&(t=u.filter);var d,p=[];if("object"!==typeof r||null===r)return"";d=n&&n.arrayFormat in s?n.arrayFormat:n&&"indices"in n?n.indices?"indices":"repeat":"indices";var f=s[d];t||(t=Object.keys(r)),u.sort&&t.sort(u.sort);for(var g=o(),v=0;v<t.length;++v){var y=t[v];u.skipNulls&&null===r[y]||l(p,h(r[y],y,f,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,g))}var b=p.join(u.delimiter),C=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?C+="utf8=%26%2310003%3B&":C+="utf8=%E2%9C%93&"),b.length>0?C+b:""}},function(e,n,t){"use strict";var o=t(195),r=t(725),a=t(727),i=o("%TypeError%"),s=o("%WeakMap%",!0),c=o("%Map%",!0),u=r("WeakMap.prototype.get",!0),l=r("WeakMap.prototype.set",!0),d=r("WeakMap.prototype.has",!0),p=r("Map.prototype.get",!0),m=r("Map.prototype.set",!0),h=r("Map.prototype.has",!0),f=function(e,n){for(var t,o=e;null!==(t=o.next);o=t)if(t.key===n)return o.next=t.next,t.next=e.next,e.next=t,t};e.exports=function(){var e,n,t,o={assert:function(e){if(!o.has(e))throw new i("Side channel does not contain "+a(e))},get:function(o){if(s&&o&&("object"===typeof o||"function"===typeof o)){if(e)return u(e,o)}else if(c){if(n)return p(n,o)}else if(t)return function(e,n){var t=f(e,n);return t&&t.value}(t,o)},has:function(o){if(s&&o&&("object"===typeof o||"function"===typeof o)){if(e)return d(e,o)}else if(c){if(n)return h(n,o)}else if(t)return function(e,n){return!!f(e,n)}(t,o);return!1},set:function(o,r){s&&o&&("object"===typeof o||"function"===typeof o)?(e||(e=new s),l(e,o,r)):c?(n||(n=new c),m(n,o,r)):(t||(t={key:{},next:null}),function(e,n,t){var o=f(e,n);o?o.value=t:e.next={key:n,next:e.next,value:t}}(t,o,r))}};return o}},function(e,n,t){"use strict";var o="undefined"!==typeof Symbol&&Symbol,r=t(722);e.exports=function(){return"function"===typeof o&&("function"===typeof Symbol&&("symbol"===typeof o("foo")&&("symbol"===typeof Symbol("bar")&&r())))}},function(e,n,t){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},n=Symbol("test"),t=Object(n);if("string"===typeof n)return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;for(n in e[n]=42,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==n)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,n))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,n);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},function(e,n,t){"use strict";var o="Function.prototype.bind called on incompatible ",r=Array.prototype.slice,a=Object.prototype.toString,i="[object Function]";e.exports=function(e){var n=this;if("function"!==typeof n||a.call(n)!==i)throw new TypeError(o+n);for(var t,s=r.call(arguments,1),c=function(){if(this instanceof t){var o=n.apply(this,s.concat(r.call(arguments)));return Object(o)===o?o:this}return n.apply(e,s.concat(r.call(arguments)))},u=Math.max(0,n.length-s.length),l=[],d=0;d<u;d++)l.push("$"+d);if(t=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),n.prototype){var p=function(){};p.prototype=n.prototype,t.prototype=new p,p.prototype=null}return t}},function(e,n,t){"use strict";var o=t(196);e.exports=o.call(Function.call,Object.prototype.hasOwnProperty)},function(e,n,t){"use strict";var o=t(195),r=t(726),a=r(o("String.prototype.indexOf"));e.exports=function(e,n){var t=o(e,!!n);return"function"===typeof t&&a(e,".prototype.")>-1?r(t):t}},function(e,n,t){"use strict";var o=t(196),r=t(195),a=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||o.call(i,a),c=r("%Object.getOwnPropertyDescriptor%",!0),u=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(u)try{u({},"a",{value:1})}catch(p){u=null}e.exports=function(e){var n=s(o,i,arguments);if(c&&u){var t=c(n,"length");t.configurable&&u(n,"length",{value:1+l(0,e.length-(arguments.length-1))})}return n};var d=function(){return s(o,a,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},function(e,n,t){var o="function"===typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&o?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=o&&r&&"function"===typeof r.get?r.get:null,i=o&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"===typeof c.get?c.get:null,l=s&&Set.prototype.forEach,d="function"===typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"===typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,m="function"===typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,f=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y="function"===typeof BigInt?BigInt.prototype.valueOf:null,b=Object.getOwnPropertySymbols,C="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,w="function"===typeof Symbol&&"object"===typeof Symbol.iterator,S=Object.prototype.propertyIsEnumerable,_=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),E=t(728).custom,x=E&&P(E)?E:null,O="function"===typeof Symbol&&"undefined"!==typeof Symbol.toStringTag?Symbol.toStringTag:null;function A(e,n,t){var o="double"===(t.quoteStyle||n)?'"':"'";return o+e+o}function k(e){return String(e).replace(/"/g,"&quot;")}function T(e){return"[object Array]"===R(e)&&(!O||!("object"===typeof e&&O in e))}function P(e){if(w)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!C)return!1;try{return C.call(e),!0}catch(n){}return!1}e.exports=function e(n,t,o,r){var s=t||{};if(I(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(I(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!I(s,"customInspect")||s.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(I(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if("undefined"===typeof n)return"undefined";if(null===n)return"null";if("boolean"===typeof n)return n?"true":"false";if("string"===typeof n)return N(n,s);if("number"===typeof n)return 0===n?1/0/n>0?"0":"-0":String(n);if("bigint"===typeof n)return String(n)+"n";var f="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof o&&(o=0),o>=f&&f>0&&"object"===typeof n)return T(n)?"[Array]":"[Object]";var b=function(e,n){var t;if("\t"===e.indent)t="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;t=Array(e.indent+1).join(" ")}return{base:t,prev:Array(n+1).join(t)}}(s,o);if("undefined"===typeof r)r=[];else if(j(r,n)>=0)return"[Circular]";function S(n,t,a){if(t&&(r=r.slice()).push(t),a){var i={depth:s.depth};return I(s,"quoteStyle")&&(i.quoteStyle=s.quoteStyle),e(n,i,o+1,r)}return e(n,s,o+1,r)}if("function"===typeof n){var E=function(e){if(e.name)return e.name;var n=v.call(g.call(e),/^function\s*([\w$]+)/);if(n)return n[1];return null}(n),M=z(n,S);return"[Function"+(E?": "+E:" (anonymous)")+"]"+(M.length>0?" { "+M.join(", ")+" }":"")}if(P(n)){var L=w?String(n).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(n);return"object"!==typeof n||w?L:F(L)}if(function(e){if(!e||"object"!==typeof e)return!1;if("undefined"!==typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"===typeof e.nodeName&&"function"===typeof e.getAttribute}(n)){for(var V="<"+String(n.nodeName).toLowerCase(),G=n.attributes||[],H=0;H<G.length;H++)V+=" "+G[H].name+"="+A(k(G[H].value),"double",s);return V+=">",n.childNodes&&n.childNodes.length&&(V+="..."),V+="</"+String(n.nodeName).toLowerCase()+">"}if(T(n)){if(0===n.length)return"[]";var q=z(n,S);return b&&!function(e){for(var n=0;n<e.length;n++)if(j(e[n],"\n")>=0)return!1;return!0}(q)?"["+B(q,b)+"]":"[ "+q.join(", ")+" ]"}if(function(e){return"[object Error]"===R(e)&&(!O||!("object"===typeof e&&O in e))}(n)){var K=z(n,S);return 0===K.length?"["+String(n)+"]":"{ ["+String(n)+"] "+K.join(", ")+" }"}if("object"===typeof n&&c){if(x&&"function"===typeof n[x])return n[x]();if("symbol"!==c&&"function"===typeof n.inspect)return n.inspect()}if(function(e){if(!a||!e||"object"!==typeof e)return!1;try{a.call(e);try{u.call(e)}catch(V){return!0}return e instanceof Map}catch(n){}return!1}(n)){var W=[];return i.call(n,(function(e,t){W.push(S(t,n,!0)+" => "+S(e,n))})),D("Map",a.call(n),W,b)}if(function(e){if(!u||!e||"object"!==typeof e)return!1;try{u.call(e);try{a.call(e)}catch(n){return!0}return e instanceof Set}catch(t){}return!1}(n)){var $=[];return l.call(n,(function(e){$.push(S(e,n))})),D("Set",u.call(n),$,b)}if(function(e){if(!d||!e||"object"!==typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(V){return!0}return e instanceof WeakMap}catch(n){}return!1}(n))return U("WeakMap");if(function(e){if(!p||!e||"object"!==typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(V){return!0}return e instanceof WeakSet}catch(n){}return!1}(n))return U("WeakSet");if(function(e){if(!m||!e||"object"!==typeof e)return!1;try{return m.call(e),!0}catch(n){}return!1}(n))return U("WeakRef");if(function(e){return"[object Number]"===R(e)&&(!O||!("object"===typeof e&&O in e))}(n))return F(S(Number(n)));if(function(e){if(!e||"object"!==typeof e||!y)return!1;try{return y.call(e),!0}catch(n){}return!1}(n))return F(S(y.call(n)));if(function(e){return"[object Boolean]"===R(e)&&(!O||!("object"===typeof e&&O in e))}(n))return F(h.call(n));if(function(e){return"[object String]"===R(e)&&(!O||!("object"===typeof e&&O in e))}(n))return F(S(String(n)));if(!function(e){return"[object Date]"===R(e)&&(!O||!("object"===typeof e&&O in e))}(n)&&!function(e){return"[object RegExp]"===R(e)&&(!O||!("object"===typeof e&&O in e))}(n)){var Y=z(n,S),Q=_?_(n)===Object.prototype:n instanceof Object||n.constructor===Object,J=n instanceof Object?"":"null prototype",Z=!Q&&O&&Object(n)===n&&O in n?R(n).slice(8,-1):J?"Object":"",X=(Q||"function"!==typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"")+(Z||J?"["+[].concat(Z||[],J||[]).join(": ")+"] ":"");return 0===Y.length?X+"{}":b?X+"{"+B(Y,b)+"}":X+"{ "+Y.join(", ")+" }"}return String(n)};var M=Object.prototype.hasOwnProperty||function(e){return e in this};function I(e,n){return M.call(e,n)}function R(e){return f.call(e)}function j(e,n){if(e.indexOf)return e.indexOf(n);for(var t=0,o=e.length;t<o;t++)if(e[t]===n)return t;return-1}function N(e,n){if(e.length>n.maxStringLength){var t=e.length-n.maxStringLength,o="... "+t+" more character"+(t>1?"s":"");return N(e.slice(0,n.maxStringLength),n)+o}return A(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,L),"single",n)}function L(e){var n=e.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return t?"\\"+t:"\\x"+(n<16?"0":"")+n.toString(16).toUpperCase()}function F(e){return"Object("+e+")"}function U(e){return e+" { ? }"}function D(e,n,t,o){return e+" ("+n+") {"+(o?B(t,o):t.join(", "))+"}"}function B(e,n){if(0===e.length)return"";var t="\n"+n.prev+n.base;return t+e.join(","+t)+"\n"+n.prev}function z(e,n){var t=T(e),o=[];if(t){o.length=e.length;for(var r=0;r<e.length;r++)o[r]=I(e,r)?n(e[r],e):""}var a,i="function"===typeof b?b(e):[];if(w){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var c in e)I(e,c)&&(t&&String(Number(c))===c&&c<e.length||w&&a["$"+c]instanceof Symbol||(/[^\w$]/.test(c)?o.push(n(c,e)+": "+n(e[c],e)):o.push(c+": "+n(e[c],e))));if("function"===typeof b)for(var u=0;u<i.length;u++)S.call(e,i[u])&&o.push("["+n(i[u])+"]: "+n(e[i[u]],e));return o}},,function(e,n,t){"use strict";var o=t(502),r=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,n){return String.fromCharCode(parseInt(n,10))}))},c=function(e,n){return e&&"string"===typeof e&&n.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,n,t,o){if(e){var a=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=t.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,l=[];if(u){if(!t.plainObjects&&r.call(Object.prototype,u)&&!t.allowPrototypes)return;l.push(u)}for(var d=0;t.depth>0&&null!==(s=i.exec(a))&&d<t.depth;){if(d+=1,!t.plainObjects&&r.call(Object.prototype,s[1].slice(1,-1))&&!t.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+a.slice(s.index)+"]"),function(e,n,t,o){for(var r=o?n:c(n,t),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&t.parseArrays)i=[].concat(r);else{i=t.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);t.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&t.parseArrays&&l<=t.arrayLimit?(i=[])[l]=r:i[u]=r:i={0:r}}r=i}return r}(l,n,t,o)}};e.exports=function(e,n){var t=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!==typeof e.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n="undefined"===typeof e.charset?i.charset:e.charset;return{allowDots:"undefined"===typeof e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"===typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"===typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"===typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:n,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"===typeof e.comma?e.comma:i.comma,decoder:"function"===typeof e.decoder?e.decoder:i.decoder,delimiter:"string"===typeof e.delimiter||o.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"===typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"===typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"===typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(n);if(""===e||null===e||"undefined"===typeof e)return t.plainObjects?Object.create(null):{};for(var l="string"===typeof e?function(e,n){var t,u={},l=n.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=n.parameterLimit===1/0?void 0:n.parameterLimit,p=l.split(n.delimiter,d),m=-1,h=n.charset;if(n.charsetSentinel)for(t=0;t<p.length;++t)0===p[t].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[t]?h="utf-8":"utf8=%26%2310003%3B"===p[t]&&(h="iso-8859-1"),m=t,t=p.length);for(t=0;t<p.length;++t)if(t!==m){var f,g,v=p[t],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(f=n.decoder(v,i.decoder,h,"key"),g=n.strictNullHandling?null:""):(f=n.decoder(v.slice(0,b),i.decoder,h,"key"),g=o.maybeMap(c(v.slice(b+1),n),(function(e){return n.decoder(e,i.decoder,h,"value")}))),g&&n.interpretNumericEntities&&"iso-8859-1"===h&&(g=s(g)),v.indexOf("[]=")>-1&&(g=a(g)?[g]:g),r.call(u,f)?u[f]=o.combine(u[f],g):u[f]=g}return u}(e,t):e,d=t.plainObjects?Object.create(null):{},p=Object.keys(l),m=0;m<p.length;++m){var h=p[m],f=u(h,l[h],t,"string"===typeof e);d=o.merge(d,f,t)}return!0===t.allowSparse?d:o.compact(d)}},function(e,n,t){"use strict";function o(e){return(o="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)}var r=t(503);function a(e){if(e)return function(e){for(var n in a.prototype)Object.prototype.hasOwnProperty.call(a.prototype,n)&&(e[n]=a.prototype[n]);return e}(e)}e.exports=a,a.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),clearTimeout(this._uploadTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,delete this._uploadTimeoutTimer,this},a.prototype.parse=function(e){return this._parser=e,this},a.prototype.responseType=function(e){return this._responseType=e,this},a.prototype.serialize=function(e){return this._serializer=e,this},a.prototype.timeout=function(e){if(!e||"object"!==o(e))return this._timeout=e,this._responseTimeout=0,this._uploadTimeout=0,this;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))switch(n){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;case"upload":this._uploadTimeout=e.upload;break;default:console.warn("Unknown timeout option",n)}return this},a.prototype.retry=function(e,n){return 0!==arguments.length&&!0!==e||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this._retryCallback=n,this};var i=new Set(["ETIMEDOUT","ECONNRESET","EADDRINUSE","ECONNREFUSED","EPIPE","ENOTFOUND","ENETUNREACH","EAI_AGAIN"]),s=new Set([408,413,429,500,502,503,504,521,522,524]);a.prototype._shouldRetry=function(e,n){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var t=this._retryCallback(e,n);if(!0===t)return!0;if(!1===t)return!1}catch(o){console.error(o)}if(n&&n.status&&s.has(n.status))return!0;if(e){if(e.code&&i.has(e.code))return!0;if(e.timeout&&"ECONNABORTED"===e.code)return!0;if(e.crossDomain)return!0}return!1},a.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this.timedoutError=null,this._end()},a.prototype.then=function(e,n){var t=this;if(!this._fullfilledPromise){var o=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,n){o.on("abort",(function(){if(!(t._maxRetries&&t._maxRetries>t._retries))if(t.timedout&&t.timedoutError)n(t.timedoutError);else{var e=new Error("Aborted");e.code="ABORTED",e.status=t.status,e.method=t.method,e.url=t.url,n(e)}})),o.end((function(t,o){t?n(t):e(o)}))}))}return this._fullfilledPromise.then(e,n)},a.prototype.catch=function(e){return this.then(void 0,e)},a.prototype.use=function(e){return e(this),this},a.prototype.ok=function(e){if("function"!==typeof e)throw new Error("Callback required");return this._okCallback=e,this},a.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},a.prototype.get=function(e){return this._header[e.toLowerCase()]},a.prototype.getHeader=a.prototype.get,a.prototype.set=function(e,n){if(r(e)){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.set(t,e[t]);return this}return this._header[e.toLowerCase()]=n,this.header[e]=n,this},a.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},a.prototype.field=function(e,n){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data)throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");if(r(e)){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.field(t,e[t]);return this}if(Array.isArray(n)){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&this.field(e,n[o]);return this}if(null===n||void 0===n)throw new Error(".field(name, val) val can not be empty");return"boolean"===typeof n&&(n=String(n)),this._getFormData().append(e,n),this},a.prototype.abort=function(){return this._aborted||(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort")),this},a.prototype._auth=function(e,n,t,o){switch(t.type){case"basic":this.set("Authorization","Basic ".concat(o("".concat(e,":").concat(n))));break;case"auto":this.username=e,this.password=n;break;case"bearer":this.set("Authorization","Bearer ".concat(e))}return this},a.prototype.withCredentials=function(e){return void 0===e&&(e=!0),this._withCredentials=e,this},a.prototype.redirects=function(e){return this._maxRedirects=e,this},a.prototype.maxResponseSize=function(e){if("number"!==typeof e)throw new TypeError("Invalid argument");return this._maxResponseSize=e,this},a.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},a.prototype.send=function(e){var n=r(e),t=this._header["content-type"];if(this._formData)throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");if(n&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw new Error("Can't merge these send calls");if(n&&r(this._data))for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(this._data[o]=e[o]);else"string"===typeof e?(t||this.type("form"),(t=this._header["content-type"])&&(t=t.toLowerCase().trim()),this._data="application/x-www-form-urlencoded"===t?this._data?"".concat(this._data,"&").concat(e):e:(this._data||"")+e):this._data=e;return!n||this._isHost(e)||t||this.type("json"),this},a.prototype.sortQuery=function(e){return this._sort="undefined"===typeof e||e,this},a.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.includes("?")?"&":"?")+e),this._query.length=0,this._sort){var n=this.url.indexOf("?");if(n>=0){var t=this.url.slice(n+1).split("&");"function"===typeof this._sort?t.sort(this._sort):t.sort(),this.url=this.url.slice(0,n)+"?"+t.join("&")}}},a.prototype._appendQueryString=function(){console.warn("Unsupported")},a.prototype._timeoutError=function(e,n,t){if(!this._aborted){var o=new Error("".concat(e+n,"ms exceeded"));o.timeout=n,o.code="ECONNABORTED",o.errno=t,this.timedout=!0,this.timedoutError=o,this.abort(),this.callback(o)}},a.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,n,t){"use strict";var o=t(732);function r(e){if(e)return function(e){for(var n in r.prototype)Object.prototype.hasOwnProperty.call(r.prototype,n)&&(e[n]=r.prototype[n]);return e}(e)}e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var n=e["content-type"]||"";this.type=o.type(n);var t=o.params(n);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(this[r]=t[r]);this.links={};try{e.link&&(this.links=o.parseLinks(e.link))}catch(a){}},r.prototype._setStatusProperties=function(e){var n=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=n,this.info=1===n,this.ok=2===n,this.redirect=3===n,this.clientError=4===n,this.serverError=5===n,this.error=(4===n||5===n)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},function(e,n,t){"use strict";function o(e,n){var t;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,n){if(!e)return;if("string"===typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(e))||n&&e&&"number"===typeof e.length){t&&(e=t);var o=0,a=function(){};return{s:a,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==t.return||t.return()}finally{if(c)throw i}}}}function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}n.type=function(e){return e.split(/ *; */).shift()},n.params=function(e){var n,t={},r=o(e.split(/ *; */));try{for(r.s();!(n=r.n()).done;){var a=n.value.split(/ *= */),i=a.shift(),s=a.shift();i&&s&&(t[i]=s)}}catch(c){r.e(c)}finally{r.f()}return t},n.parseLinks=function(e){var n,t={},r=o(e.split(/ *, */));try{for(r.s();!(n=r.n()).done;){var a=n.value.split(/ *; */),i=a[0].slice(1,-1);t[a[1].split(/ *= */)[1].slice(1,-1)]=i}}catch(s){r.e(s)}finally{r.f()}return t},n.cleanHeader=function(e,n){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,n&&(delete e.authorization,delete e.cookie),e}},function(e,n,t){"use strict";function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(e,n)}(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 r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function a(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach((function(e){a.prototype[e]=function(){for(var n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];return this._defaults.push({fn:e,args:t}),this}})),a.prototype._setDefaults=function(e){this._defaults.forEach((function(n){e[n.fn].apply(e,o(n.args))}))},e.exports=a},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(n,t,o){return t&&e(n.prototype,t),o&&e(n,o),n}}(),r=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}(t(735)),a=p(t(736)),i=p(t(737)),s=p(t(738)),c=p(t(739)),u=p(t(740)),l=p(t(741)),d=p(t(742));function p(e){return e&&e.__esModule?e:{default:e}}function m(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}var h=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m(this,e),this.type="languageDetector",this.detectors={},this.init(n,t)}return o(e,[{key:"init",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=r.defaults(n,this.options||{},{order:["querystring","cookie","localStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],checkWhitelist:!0}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=t,this.addDetector(a.default),this.addDetector(i.default),this.addDetector(s.default),this.addDetector(c.default),this.addDetector(u.default),this.addDetector(l.default),this.addDetector(d.default)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var n=this;e||(e=this.options.order);var t=[];e.forEach((function(e){if(n.detectors[e]){var o=n.detectors[e].lookup(n.options);o&&"string"===typeof o&&(o=[o]),o&&(t=t.concat(o))}}));var o=void 0;if(t.forEach((function(e){if(!o){var t=n.services.languageUtils.formatLanguageCode(e);n.options.checkWhitelist&&!n.services.languageUtils.isWhitelisted(t)||(o=t)}})),!o){var r=this.i18nOptions.fallbackLng;"string"===typeof r&&(r=[r]),r||(r=[]),o="[object Array]"===Object.prototype.toString.apply(r)?r[0]:r[0]||r.default&&r.default[0]}return o}},{key:"cacheUserLanguage",value:function(e,n){var t=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||n.forEach((function(n){t.detectors[n]&&t.detectors[n].cacheUserLanguage(e,t.options)})))}}]),e}();h.type="languageDetector",n.default=h},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.defaults=function(e){return r.call(a.call(arguments,1),(function(n){if(n)for(var t in n)void 0===e[t]&&(e[t]=n[t])})),e},n.extend=function(e){return r.call(a.call(arguments,1),(function(n){if(n)for(var t in n)e[t]=n[t]})),e};var o=[],r=o.forEach,a=o.slice},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(e,n,t,o){var r=void 0;if(t){var a=new Date;a.setTime(a.getTime()+60*t*1e3),r="; expires="+a.toGMTString()}else r="";o=o?"domain="+o+";":"",document.cookie=e+"="+n+r+";"+o+"path=/"},r=function(e){for(var n=e+"=",t=document.cookie.split(";"),o=0;o<t.length;o++){for(var r=t[o];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(n))return r.substring(n.length,r.length)}return null};n.default={name:"cookie",lookup:function(e){var n=void 0;if(e.lookupCookie&&"undefined"!==typeof document){var t=r(e.lookupCookie);t&&(n=t)}return n},cacheUserLanguage:function(e,n){n.lookupCookie&&"undefined"!==typeof document&&o(n.lookupCookie,e,n.cookieMinutes,n.cookieDomain)}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"querystring",lookup:function(e){var n=void 0;if("undefined"!==typeof window)for(var t=window.location.search.substring(1).split("&"),o=0;o<t.length;o++){var r=t[o].indexOf("=");if(r>0)t[o].substring(0,r)===e.lookupQuerystring&&(n=t[o].substring(r+1))}return n}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=void 0;try{o="undefined"!==window&&null!==window.localStorage;var r="i18next.translate.boo";window.localStorage.setItem(r,"foo"),window.localStorage.removeItem(r)}catch(a){o=!1}n.default={name:"localStorage",lookup:function(e){var n=void 0;if(e.lookupLocalStorage&&o){var t=window.localStorage.getItem(e.lookupLocalStorage);t&&(n=t)}return n},cacheUserLanguage:function(e,n){n.lookupLocalStorage&&o&&window.localStorage.setItem(n.lookupLocalStorage,e)}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"navigator",lookup:function(e){var n=[];if("undefined"!==typeof navigator){if(navigator.languages)for(var t=0;t<navigator.languages.length;t++)n.push(navigator.languages[t]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"htmlTag",lookup:function(e){var n=void 0,t=e.htmlTag||("undefined"!==typeof document?document.documentElement:null);return t&&"function"===typeof t.getAttribute&&(n=t.getAttribute("lang")),n}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"path",lookup:function(e){var n=void 0;if("undefined"!==typeof window){var t=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(t instanceof Array)if("number"===typeof e.lookupFromPathIndex){if("string"!==typeof t[e.lookupFromPathIndex])return;n=t[e.lookupFromPathIndex].replace("/","")}else n=t[0].replace("/","")}return n}}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={name:"subdomain",lookup:function(e){var n=void 0;if("undefined"!==typeof window){var t=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);t instanceof Array&&(n="number"===typeof e.lookupFromSubdomainIndex?t[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):t[0].replace("http://","").replace("https://","").replace(".",""))}return n}}},,function(e,n,t){"use strict";t.r(n),t.d(n,"fromUtf8",(function(){return o})),t.d(n,"toUtf8",(function(){return r}));var o=function(e){return"function"===typeof TextEncoder?function(e){return(new TextEncoder).encode(e)}(e):function(e){for(var n=[],t=0,o=e.length;t<o;t++){var r=e.charCodeAt(t);if(r<128)n.push(r);else if(r<2048)n.push(r>>6|192,63&r|128);else if(t+1<e.length&&55296===(64512&r)&&56320===(64512&e.charCodeAt(t+1))){var a=65536+((1023&r)<<10)+(1023&e.charCodeAt(++t));n.push(a>>18|240,a>>12&63|128,a>>6&63|128,63&a|128)}else n.push(r>>12|224,r>>6&63|128,63&r|128)}return Uint8Array.from(n)}(e)},r=function(e){return"function"===typeof TextDecoder?function(e){return new TextDecoder("utf-8").decode(e)}(e):function(e){for(var n="",t=0,o=e.length;t<o;t++){var r=e[t];if(r<128)n+=String.fromCharCode(r);else if(192<=r&&r<224){var a=e[++t];n+=String.fromCharCode((31&r)<<6|63&a)}else if(240<=r&&r<365){var i="%"+[r,e[++t],e[++t],e[++t]].map((function(e){return e.toString(16)})).join("%");n+=decodeURIComponent(i)}else n+=String.fromCharCode((15&r)<<12|(63&e[++t])<<6|63&e[++t])}return n}(e)}},function(e,n,t){"use strict";var o=t(35),r=t(53),a=t.n(r).a.unstable_batchedUpdates;o.a.setBatchNotifyFunction(a)},function(e,n,t){"use strict";var o=t(87),r=console;r&&Object(o.b)(r)},function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var o=t(38),r=t(171),a=t(526),i=t(166);function s(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(a.a)(i.a,e)}var c=t(119);function u(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=Number.POSITIVE_INFINITY,a=null,i=e[e.length-1];return Object(r.a)(i)?(a=e.pop(),e.length>1&&"number"===typeof e[e.length-1]&&(t=e.pop())):"number"===typeof i&&(t=e.pop()),null===a&&1===e.length&&e[0]instanceof o.a?e[0]:s(t)(Object(c.a)(e,a))}},,,,,,,,,,,,function(e,n,t){"use strict";t.d(n,"a",(function(){return x}));var o,r,a,i=t(17),s=t(0),c=t.n(s),u=t(42),l=t(26),d=t(55),p=t(33),m=t(89),h=t(44),f=t(43),g=t(96);!function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(r||(r={})),function(e){e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel"}(a||(a={}));var v=((o={})[a.ToggleDisclosure]=function(e){var n;return Object(i.b)({},e,{disclosureState:Object(u.a)(e.disclosureState,(n={},n[r.Open]=r.Closed,n[r.Closed]=r.Open,n))})},o[a.CloseDisclosure]=function(e){return e.disclosureState===r.Closed?e:Object(i.b)({},e,{disclosureState:r.Closed})},o[a.LinkPanel]=function(e){return!0===e.linkedPanel?e:Object(i.b)({},e,{linkedPanel:!0})},o[a.UnlinkPanel]=function(e){return!1===e.linkedPanel?e:Object(i.b)({},e,{linkedPanel:!1})},o[a.SetButtonId]=function(e,n){return e.buttonId===n.buttonId?e:Object(i.b)({},e,{buttonId:n.buttonId})},o[a.SetPanelId]=function(e,n){return e.panelId===n.panelId?e:Object(i.b)({},e,{panelId:n.panelId})},o),y=Object(s.createContext)(null);function b(e){var n=Object(s.useContext)(y);if(null===n){var t=new Error("<"+e+" /> is missing a parent <"+x.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,b),t}return n}y.displayName="DisclosureContext";var C=Object(s.createContext)(null);function w(e){var n=Object(s.useContext)(C);if(null===n){var t=new Error("<"+e+" /> is missing a parent <"+x.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,w),t}return n}C.displayName="DisclosureAPIContext";var S=Object(s.createContext)(null);function _(e,n){return Object(u.a)(n.type,v,e,n)}S.displayName="DisclosurePanelContext";var E=s.Fragment;function x(e){var n,t=e.defaultOpen,o=void 0!==t&&t,d=Object(i.c)(e,["defaultOpen"]),p="headlessui-disclosure-button-"+Object(h.a)(),m="headlessui-disclosure-panel-"+Object(h.a)(),g=Object(s.useReducer)(_,{disclosureState:o?r.Open:r.Closed,linkedPanel:!1,buttonId:p,panelId:m}),v=g[0].disclosureState,b=g[1];Object(s.useEffect)((function(){return b({type:a.SetButtonId,buttonId:p})}),[p,b]),Object(s.useEffect)((function(){return b({type:a.SetPanelId,panelId:m})}),[m,b]);var w=Object(s.useCallback)((function(e){b({type:a.CloseDisclosure});var n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:document.getElementById(p):document.getElementById(p);null==n||n.focus()}),[b,p]),S=Object(s.useMemo)((function(){return{close:w}}),[w]),x=Object(s.useMemo)((function(){return{open:v===r.Open,close:w}}),[v,w]);return c.a.createElement(y.Provider,{value:g},c.a.createElement(C.Provider,{value:S},c.a.createElement(f.a,{value:Object(u.a)(v,(n={},n[r.Open]=f.b.Open,n[r.Closed]=f.b.Closed,n))},Object(l.d)({props:d,slot:x,defaultTag:E,name:"Disclosure"}))))}var O=Object(l.c)((function e(n,t){var o=b([x.name,e.name].join(".")),c=o[0],u=o[1],h=Object(s.useRef)(null),f=Object(d.a)(h,t),v=Object(s.useContext)(S),y=null!==v&&v===c.panelId,C=Object(s.useCallback)((function(e){var n;if(y){if(c.disclosureState===r.Closed)return;switch(e.key){case p.a.Space:case p.a.Enter:e.preventDefault(),e.stopPropagation(),u({type:a.ToggleDisclosure}),null==(n=document.getElementById(c.buttonId))||n.focus()}}else switch(e.key){case p.a.Space:case p.a.Enter:e.preventDefault(),e.stopPropagation(),u({type:a.ToggleDisclosure})}}),[u,y,c.disclosureState]),w=Object(s.useCallback)((function(e){switch(e.key){case p.a.Space:e.preventDefault()}}),[]),_=Object(s.useCallback)((function(e){var t;Object(m.a)(e.currentTarget)||(n.disabled||(y?(u({type:a.ToggleDisclosure}),null==(t=document.getElementById(c.buttonId))||t.focus()):u({type:a.ToggleDisclosure})))}),[u,n.disabled,c.buttonId,y]),E=Object(s.useMemo)((function(){return{open:c.disclosureState===r.Open}}),[c]),O=Object(g.a)(n,h),A=n,k=y?{ref:f,type:O,onKeyDown:C,onClick:_}:{ref:f,id:c.buttonId,type:O,"aria-expanded":n.disabled?void 0:c.disclosureState===r.Open,"aria-controls":c.linkedPanel?c.panelId:void 0,onKeyDown:C,onKeyUp:w,onClick:_};return Object(l.d)({props:Object(i.b)({},A,k),slot:E,defaultTag:"button",name:"Disclosure.Button"})})),A=l.a.RenderStrategy|l.a.Static,k=Object(l.c)((function e(n,t){var o=b([x.name,e.name].join(".")),u=o[0],p=o[1],m=w([x.name,e.name].join(".")).close,h=Object(d.a)(t,(function(){u.linkedPanel||p({type:a.LinkPanel})})),g=Object(f.c)(),v=null!==g?g===f.b.Open:u.disclosureState===r.Open;Object(s.useEffect)((function(){return function(){return p({type:a.UnlinkPanel})}}),[p]),Object(s.useEffect)((function(){var e;u.disclosureState!==r.Closed||null!=(e=n.unmount)&&!e||p({type:a.UnlinkPanel})}),[u.disclosureState,n.unmount,p]);var y=Object(s.useMemo)((function(){return{open:u.disclosureState===r.Open,close:m}}),[u,m]),C={ref:h,id:u.panelId},_=n;return c.a.createElement(S.Provider,{value:u.panelId},Object(l.d)({props:Object(i.b)({},_,C),slot:y,defaultTag:"div",features:A,visible:v,name:"Disclosure.Panel"}))}));x.Button=O,x.Panel=k},function(e,n,t){"use strict";t.d(n,"a",(function(){return k}));var o,r,a,i=t(17),s=t(0),c=t.n(s),u=t(42),l=t(26),d=t(55),p=t(33),m=t(89),h=t(44),f=t(23),g=t(70),v=t(43),y=t(96);!function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(r||(r={})),function(e){e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId"}(a||(a={}));var b=((o={})[a.TogglePopover]=function(e){var n;return Object(i.b)({},e,{popoverState:Object(u.a)(e.popoverState,(n={},n[r.Open]=r.Closed,n[r.Closed]=r.Open,n))})},o[a.ClosePopover]=function(e){return e.popoverState===r.Closed?e:Object(i.b)({},e,{popoverState:r.Closed})},o[a.SetButton]=function(e,n){return e.button===n.button?e:Object(i.b)({},e,{button:n.button})},o[a.SetButtonId]=function(e,n){return e.buttonId===n.buttonId?e:Object(i.b)({},e,{buttonId:n.buttonId})},o[a.SetPanel]=function(e,n){return e.panel===n.panel?e:Object(i.b)({},e,{panel:n.panel})},o[a.SetPanelId]=function(e,n){return e.panelId===n.panelId?e:Object(i.b)({},e,{panelId:n.panelId})},o),C=Object(s.createContext)(null);function w(e){var n=Object(s.useContext)(C);if(null===n){var t=new Error("<"+e+" /> is missing a parent <"+k.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,w),t}return n}C.displayName="PopoverContext";var S=Object(s.createContext)(null);function _(e){var n=Object(s.useContext)(S);if(null===n){var t=new Error("<"+e+" /> is missing a parent <"+k.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return n}S.displayName="PopoverAPIContext";var E=Object(s.createContext)(null);function x(){return Object(s.useContext)(E)}E.displayName="PopoverGroupContext";var O=Object(s.createContext)(null);function A(e,n){return Object(u.a)(n.type,b,e,n)}O.displayName="PopoverPanelContext";function k(e){var n,t="headlessui-popover-button-"+Object(h.a)(),o="headlessui-popover-panel-"+Object(h.a)(),i=Object(s.useReducer)(A,{popoverState:r.Closed,button:null,buttonId:t,panel:null,panelId:o}),d=i[0],p=d.popoverState,m=d.button,y=d.panel,b=i[1];Object(s.useEffect)((function(){return b({type:a.SetButtonId,buttonId:t})}),[t,b]),Object(s.useEffect)((function(){return b({type:a.SetPanelId,panelId:o})}),[o,b]);var w=Object(s.useMemo)((function(){return{buttonId:t,panelId:o,close:function(){return b({type:a.ClosePopover})}}}),[t,o,b]),_=x(),E=null==_?void 0:_.registerPopover,O=Object(s.useCallback)((function(){var e;return null!=(e=null==_?void 0:_.isFocusWithinPopoverGroup())?e:(null==m?void 0:m.contains(document.activeElement))||(null==y?void 0:y.contains(document.activeElement))}),[_,m,y]);Object(s.useEffect)((function(){return null==E?void 0:E(w)}),[E,w]),Object(g.a)("focus",(function(){p===r.Open&&(O()||m&&y&&b({type:a.ClosePopover}))}),!0),Object(g.a)("mousedown",(function(e){var n=e.target;p===r.Open&&((null==m?void 0:m.contains(n))||(null==y?void 0:y.contains(n))||(b({type:a.ClosePopover}),Object(f.g)(n,f.c.Loose)||(e.preventDefault(),null==m||m.focus())))}));var k=Object(s.useCallback)((function(e){b({type:a.ClosePopover});var n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:m:m;null==n||n.focus()}),[b,m]),T=Object(s.useMemo)((function(){return{close:k}}),[k]),P=Object(s.useMemo)((function(){return{open:p===r.Open,close:k}}),[p,k]);return c.a.createElement(C.Provider,{value:i},c.a.createElement(S.Provider,{value:T},c.a.createElement(v.a,{value:Object(u.a)(p,(n={},n[r.Open]=v.b.Open,n[r.Closed]=v.b.Closed,n))},Object(l.d)({props:e,slot:P,defaultTag:"div",name:"Popover"}))))}var T=Object(l.c)((function e(n,t){var o=w([k.name,e.name].join(".")),c=o[0],u=o[1],h=Object(s.useRef)(null),v=x(),b=null==v?void 0:v.closeOthers,C=Object(s.useContext)(O),S=null!==C&&C===c.panelId,_=Object(d.a)(h,t,S?null:function(e){return u({type:a.SetButton,button:e})}),E=Object(d.a)(h,t),A=Object(s.useRef)(null),T=Object(s.useRef)("undefined"===typeof window?null:document.activeElement);Object(g.a)("focus",(function(){T.current=A.current,A.current=document.activeElement}),!0);var P=Object(s.useCallback)((function(e){var n;if(S){if(c.popoverState===r.Closed)return;switch(e.key){case p.a.Space:case p.a.Enter:e.preventDefault(),e.stopPropagation(),u({type:a.ClosePopover}),null==(n=c.button)||n.focus()}}else switch(e.key){case p.a.Space:case p.a.Enter:e.preventDefault(),e.stopPropagation(),c.popoverState===r.Closed&&(null==b||b(c.buttonId)),u({type:a.TogglePopover});break;case p.a.Escape:if(c.popoverState!==r.Open)return null==b?void 0:b(c.buttonId);if(!h.current)return;if(!h.current.contains(document.activeElement))return;u({type:a.ClosePopover});break;case p.a.Tab:if(c.popoverState!==r.Open)return;if(!c.panel)return;if(!c.button)return;if(e.shiftKey){var t;if(!T.current)return;if(null==(t=c.button)?void 0:t.contains(T.current))return;if(c.panel.contains(T.current))return;var o=Object(f.f)(),i=o.indexOf(T.current);if(o.indexOf(c.button)>i)return;e.preventDefault(),e.stopPropagation(),Object(f.e)(c.panel,f.a.Last)}else e.preventDefault(),e.stopPropagation(),Object(f.e)(c.panel,f.a.First)}}),[u,c.popoverState,c.buttonId,c.button,c.panel,h,b,S]),M=Object(s.useCallback)((function(e){var n;if(!S&&(e.key===p.a.Space&&e.preventDefault(),c.popoverState===r.Open&&c.panel&&c.button))switch(e.key){case p.a.Tab:if(!T.current)return;if(null==(n=c.button)?void 0:n.contains(T.current))return;if(c.panel.contains(T.current))return;var t=Object(f.f)(),o=t.indexOf(T.current);if(t.indexOf(c.button)>o)return;e.preventDefault(),e.stopPropagation(),Object(f.e)(c.panel,f.a.Last)}}),[c.popoverState,c.panel,c.button,S]),I=Object(s.useCallback)((function(e){var t,o;Object(m.a)(e.currentTarget)||(n.disabled||(S?(u({type:a.ClosePopover}),null==(t=c.button)||t.focus()):(c.popoverState===r.Closed&&(null==b||b(c.buttonId)),null==(o=c.button)||o.focus(),u({type:a.TogglePopover}))))}),[u,c.button,c.popoverState,c.buttonId,n.disabled,b,S]),R=Object(s.useMemo)((function(){return{open:c.popoverState===r.Open}}),[c]),j=Object(y.a)(n,h),N=n,L=S?{ref:E,type:j,onKeyDown:P,onClick:I}:{ref:_,id:c.buttonId,type:j,"aria-expanded":n.disabled?void 0:c.popoverState===r.Open,"aria-controls":c.panel?c.panelId:void 0,onKeyDown:P,onKeyUp:M,onClick:I};return Object(l.d)({props:Object(i.b)({},N,L),slot:R,defaultTag:"button",name:"Popover.Button"})})),P=l.a.RenderStrategy|l.a.Static,M=Object(l.c)((function e(n,t){var o=w([k.name,e.name].join(".")),c=o[0].popoverState,u=o[1],p=Object(d.a)(t),f="headlessui-popover-overlay-"+Object(h.a)(),g=Object(v.c)(),y=null!==g?g===v.b.Open:c===r.Open,b=Object(s.useCallback)((function(e){if(Object(m.a)(e.currentTarget))return e.preventDefault();u({type:a.ClosePopover})}),[u]),C=Object(s.useMemo)((function(){return{open:c===r.Open}}),[c]),S={ref:p,id:f,"aria-hidden":!0,onClick:b},_=n;return Object(l.d)({props:Object(i.b)({},_,S),slot:C,defaultTag:"div",features:P,visible:y,name:"Popover.Overlay"})})),I=l.a.RenderStrategy|l.a.Static,R=Object(l.c)((function e(n,t){var o=n.focus,u=void 0!==o&&o,m=Object(i.c)(n,["focus"]),h=w([k.name,e.name].join(".")),y=h[0],b=h[1],C=_([k.name,e.name].join(".")).close,S=Object(s.useRef)(null),E=Object(d.a)(S,t,(function(e){b({type:a.SetPanel,panel:e})})),x=Object(v.c)(),A=null!==x?x===v.b.Open:y.popoverState===r.Open,T=Object(s.useCallback)((function(e){var n;switch(e.key){case p.a.Escape:if(y.popoverState!==r.Open)return;if(!S.current)return;if(!S.current.contains(document.activeElement))return;e.preventDefault(),b({type:a.ClosePopover}),null==(n=y.button)||n.focus()}}),[y,S,b]);Object(s.useEffect)((function(){return function(){return b({type:a.SetPanel,panel:null})}}),[b]),Object(s.useEffect)((function(){var e;y.popoverState!==r.Closed||null!=(e=n.unmount)&&!e||b({type:a.SetPanel,panel:null})}),[y.popoverState,n.unmount,b]),Object(s.useEffect)((function(){if(u&&y.popoverState===r.Open&&S.current){var e=document.activeElement;S.current.contains(e)||Object(f.e)(S.current,f.a.First)}}),[u,S,y.popoverState]),Object(g.a)("keydown",(function(e){if(y.popoverState===r.Open&&S.current&&e.key===p.a.Tab&&document.activeElement&&S.current&&S.current.contains(document.activeElement)){e.preventDefault();var n,t=Object(f.e)(S.current,e.shiftKey?f.a.Previous:f.a.Next);if(t===f.b.Underflow)return null==(n=y.button)?void 0:n.focus();if(t===f.b.Overflow){if(!y.button)return;var o=Object(f.f)(),a=o.indexOf(y.button),i=o.splice(a+1).filter((function(e){var n;return!(null==(n=S.current)?void 0:n.contains(e))}));Object(f.e)(i,f.a.First)===f.b.Error&&Object(f.e)(document.body,f.a.First)}}})),Object(g.a)("focus",(function(){var e;u&&y.popoverState===r.Open&&S.current&&((null==(e=S.current)?void 0:e.contains(document.activeElement))||b({type:a.ClosePopover}))}),!0);var P=Object(s.useMemo)((function(){return{open:y.popoverState===r.Open,close:C}}),[y,C]),M={ref:E,id:y.panelId,onKeyDown:T};return c.a.createElement(O.Provider,{value:y.panelId},Object(l.d)({props:Object(i.b)({},m,M),slot:P,defaultTag:"div",features:I,visible:A,name:"Popover.Panel"}))}));k.Button=T,k.Overlay=M,k.Panel=R,k.Group=function(e){var n=Object(s.useRef)(null),t=Object(s.useState)([]),o=t[0],r=t[1],a=Object(s.useCallback)((function(e){r((function(n){var t=n.indexOf(e);if(-1!==t){var o=n.slice();return o.splice(t,1),o}return n}))}),[r]),u=Object(s.useCallback)((function(e){return r((function(n){return[].concat(n,[e])})),function(){return a(e)}}),[r,a]),d=Object(s.useCallback)((function(){var e,t=document.activeElement;return!!(null==(e=n.current)?void 0:e.contains(t))||o.some((function(e){var n,o;return(null==(n=document.getElementById(e.buttonId))?void 0:n.contains(t))||(null==(o=document.getElementById(e.panelId))?void 0:o.contains(t))}))}),[n,o]),p=Object(s.useCallback)((function(e){for(var n,t=Object(i.a)(o);!(n=t()).done;){var r=n.value;r.buttonId!==e&&r.close()}}),[o]),m=Object(s.useMemo)((function(){return{registerPopover:u,unregisterPopover:a,isFocusWithinPopoverGroup:d,closeOthers:p}}),[u,a,d,p]),h=Object(s.useMemo)((function(){return{}}),[]),f={ref:n},g=e;return c.a.createElement(E.Provider,{value:m},Object(l.d)({props:Object(i.b)({},g,f),slot:h,defaultTag:"div",name:"Popover.Group"}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return g}));var o=t(17),r=t(0),a=t.n(r),i=t(26),s=t(55),c=t(33),u=t(89),l=t(44),d=t(84),p=t(96),m=t(106),h=Object(r.createContext)(null);h.displayName="GroupContext";var f=r.Fragment;function g(e){var n=e.checked,t=e.onChange,a=Object(o.c)(e,["checked","onChange"]),d="headlessui-switch-"+Object(l.a)(),m=Object(r.useContext)(h),f=Object(r.useRef)(null),g=Object(s.a)(f,null===m?null:m.setSwitch),v=Object(r.useCallback)((function(){return t(!n)}),[t,n]),y=Object(r.useCallback)((function(e){if(Object(u.a)(e.currentTarget))return e.preventDefault();e.preventDefault(),v()}),[v]),b=Object(r.useCallback)((function(e){e.key!==c.a.Tab&&e.preventDefault(),e.key===c.a.Space&&v()}),[v]),C=Object(r.useCallback)((function(e){return e.preventDefault()}),[]),w=Object(r.useMemo)((function(){return{checked:n}}),[n]),S={id:d,ref:g,role:"switch",type:Object(p.a)(e,f),tabIndex:0,"aria-checked":n,"aria-labelledby":null==m?void 0:m.labelledby,"aria-describedby":null==m?void 0:m.describedby,onClick:y,onKeyUp:b,onKeyPress:C};return Object(i.d)({props:Object(o.b)({},a,S),slot:w,defaultTag:"button",name:"Switch"})}g.Group=function(e){var n=Object(r.useState)(null),t=n[0],o=n[1],s=Object(m.b)(),c=s[0],u=s[1],l=Object(d.b)(),p=l[0],g=l[1],v=Object(r.useMemo)((function(){return{switch:t,setSwitch:o,labelledby:c,describedby:p}}),[t,o,c,p]);return a.a.createElement(g,{name:"Switch.Description"},a.a.createElement(u,{name:"Switch.Label",props:{onClick:function(){t&&(t.click(),t.focus({preventScroll:!0}))}}},a.a.createElement(h.Provider,{value:v},Object(i.d)({props:e,defaultTag:f,name:"Switch.Group"}))))},g.Label=m.a,g.Description=d.a},function(e,n,t){"use strict";t.d(n,"a",(function(){return w}));var o,r,a=t(17),i=t(0),s=t.n(i),c=t(42),u=t(26),l=t(55),d=t(33),p=t(39),m=t(44),h=t(23),f=t(96);!function(e){e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.SetOrientation=1]="SetOrientation",e[e.SetActivation=2]="SetActivation",e[e.RegisterTab=3]="RegisterTab",e[e.UnregisterTab=4]="UnregisterTab",e[e.RegisterPanel=5]="RegisterPanel",e[e.UnregisterPanel=6]="UnregisterPanel",e[e.ForceRerender=7]="ForceRerender"}(r||(r={}));var g=((o={})[r.SetSelectedIndex]=function(e,n){return e.selectedIndex===n.index?e:Object(a.b)({},e,{selectedIndex:n.index})},o[r.SetOrientation]=function(e,n){return e.orientation===n.orientation?e:Object(a.b)({},e,{orientation:n.orientation})},o[r.SetActivation]=function(e,n){return e.activation===n.activation?e:Object(a.b)({},e,{activation:n.activation})},o[r.RegisterTab]=function(e,n){return e.tabs.includes(n.tab)?e:Object(a.b)({},e,{tabs:[].concat(e.tabs,[n.tab])})},o[r.UnregisterTab]=function(e,n){return Object(a.b)({},e,{tabs:e.tabs.filter((function(e){return e!==n.tab}))})},o[r.RegisterPanel]=function(e,n){return e.panels.includes(n.panel)?e:Object(a.b)({},e,{panels:[].concat(e.panels,[n.panel])})},o[r.UnregisterPanel]=function(e,n){return Object(a.b)({},e,{panels:e.panels.filter((function(e){return e!==n.panel}))})},o[r.ForceRerender]=function(e){return Object(a.b)({},e)},o),v=Object(i.createContext)(null);function y(e){var n=Object(i.useContext)(v);if(null===n){var t=new Error("<"+e+" /> is missing a parent <Tab.Group /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,y),t}return n}function b(e,n){return Object(c.a)(n.type,g,e,n)}v.displayName="TabsContext";var C=i.Fragment;function w(e){var n,t,o="headlessui-tabs-tab-"+Object(m.a)(),s=y(w.name),g=s[0],v=g.selectedIndex,b=g.tabs,C=g.panels,S=g.orientation,_=g.activation,E=s[1],x=E.dispatch,O=E.change,A=Object(i.useRef)(null),k=Object(l.a)(A,(function(e){e&&x({type:r.ForceRerender})}));Object(p.a)((function(){return x({type:r.RegisterTab,tab:A}),function(){return x({type:r.UnregisterTab,tab:A})}}),[x,A]);var T=b.indexOf(A),P=T===v,M=Object(i.useCallback)((function(e){var n=b.map((function(e){return e.current})).filter(Boolean);if(e.key===d.a.Space||e.key===d.a.Enter)return e.preventDefault(),e.stopPropagation(),void O(T);switch(e.key){case d.a.Home:case d.a.PageUp:return e.preventDefault(),e.stopPropagation(),Object(h.e)(n,h.a.First);case d.a.End:case d.a.PageDown:return e.preventDefault(),e.stopPropagation(),Object(h.e)(n,h.a.Last)}return Object(c.a)(S,{vertical:function(){return e.key===d.a.ArrowUp?Object(h.e)(n,h.a.Previous|h.a.WrapAround):e.key===d.a.ArrowDown?Object(h.e)(n,h.a.Next|h.a.WrapAround):void 0},horizontal:function(){return e.key===d.a.ArrowLeft?Object(h.e)(n,h.a.Previous|h.a.WrapAround):e.key===d.a.ArrowRight?Object(h.e)(n,h.a.Next|h.a.WrapAround):void 0}})}),[b,S,T,O]),I=Object(i.useCallback)((function(){var e;null==(e=A.current)||e.focus()}),[A]),R=Object(i.useCallback)((function(){var e;null==(e=A.current)||e.focus(),O(T)}),[O,T,A]),j=Object(i.useMemo)((function(){return{selected:P}}),[P]),N={ref:k,onKeyDown:M,onFocus:"manual"===_?I:R,onClick:R,id:o,role:"tab",type:Object(f.a)(e,A),"aria-controls":null==(n=C[T])||null==(t=n.current)?void 0:t.id,"aria-selected":P,tabIndex:P?0:-1},L=e;return Object(u.d)({props:Object(a.b)({},L,N),slot:j,defaultTag:"button",name:"Tabs.Tab"})}var S=u.a.RenderStrategy|u.a.Static;w.Group=function(e){var n=e.defaultIndex,t=void 0===n?0:n,o=e.vertical,c=void 0!==o&&o,l=e.manual,d=void 0!==l&&l,p=e.onChange,m=Object(a.c)(e,["defaultIndex","vertical","manual","onChange"]),h=c?"vertical":"horizontal",f=d?"manual":"auto",g=Object(i.useReducer)(b,{selectedIndex:null,tabs:[],panels:[],orientation:h,activation:f}),y=g[0],w=g[1],S=Object(i.useMemo)((function(){return{selectedIndex:y.selectedIndex}}),[y.selectedIndex]),_=Object(i.useRef)((function(){}));Object(i.useEffect)((function(){w({type:r.SetOrientation,orientation:h})}),[h]),Object(i.useEffect)((function(){w({type:r.SetActivation,activation:f})}),[f]),Object(i.useEffect)((function(){"function"===typeof p&&(_.current=p)}),[p]),Object(i.useEffect)((function(){if(!(y.tabs.length<=0)&&null===y.selectedIndex){var e=y.tabs.map((function(e){return e.current})).filter(Boolean),n=e.filter((function(e){return!e.hasAttribute("disabled")}));if(t<0)w({type:r.SetSelectedIndex,index:e.indexOf(n[0])});else if(t>y.tabs.length)w({type:r.SetSelectedIndex,index:e.indexOf(n[n.length-1])});else{var o=e.slice(0,t),a=e.slice(t),i=[].concat(a,o).find((function(e){return n.includes(e)}));if(!i)return;w({type:r.SetSelectedIndex,index:e.indexOf(i)})}}}),[t,y.tabs,y.selectedIndex]);var E=Object(i.useRef)(y.selectedIndex),x=Object(i.useMemo)((function(){return[y,{dispatch:w,change:function(e){E.current!==e&&_.current(e),E.current=e,w({type:r.SetSelectedIndex,index:e})}}]}),[y,w]);return s.a.createElement(v.Provider,{value:x},Object(u.d)({props:Object(a.b)({},m),slot:S,defaultTag:C,name:"Tabs"}))},w.List=function e(n){var t=y([w.name,e.name].join("."))[0],o={selectedIndex:t.selectedIndex},r={role:"tablist","aria-orientation":t.orientation},i=n;return Object(u.d)({props:Object(a.b)({},i,r),slot:o,defaultTag:"div",name:"Tabs.List"})},w.Panels=function e(n){var t=y([w.name,e.name].join("."))[0].selectedIndex,o=Object(i.useMemo)((function(){return{selectedIndex:t}}),[t]);return Object(u.d)({props:n,slot:o,defaultTag:"div",name:"Tabs.Panels"})},w.Panel=function e(n){var t,o,s=y([w.name,e.name].join(".")),c=s[0],d=c.selectedIndex,h=c.tabs,f=c.panels,g=s[1].dispatch,v="headlessui-tabs-panel-"+Object(m.a)(),b=Object(i.useRef)(null),C=Object(l.a)(b,(function(e){e&&g({type:r.ForceRerender})}));Object(p.a)((function(){return g({type:r.RegisterPanel,panel:b}),function(){return g({type:r.UnregisterPanel,panel:b})}}),[g,b]);var _=f.indexOf(b),E=_===d,x=Object(i.useMemo)((function(){return{selected:E}}),[E]),O={ref:C,id:v,role:"tabpanel","aria-labelledby":null==(t=h[_])||null==(o=t.current)?void 0:o.id,tabIndex:E?0:-1},A=n;return Object(u.d)({props:Object(a.b)({},A,O),slot:x,defaultTag:"div",features:S,visible:E,name:"Tabs.Panel"})}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r=t(41);function a(e,n){return function(t){return t.lift(new i(e,n))}}var i=function(){function e(e,n){this.predicate=e,this.thisArg=n}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function n(n,t,o){var r=e.call(this,n)||this;return r.predicate=t,r.thisArg=o,r.count=0,r}return o.__extends(n,e),n.prototype._next=function(e){var n;try{n=this.predicate.call(this.thisArg,e,this.count++)}catch(t){return void this.destination.error(t)}n&&this.destination.next(e)},n}(r.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(747);function r(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n<e.length;n++)t[n]=e[n];return t}return Array.from(e)}var a=function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];var a=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return o.a.apply(void 0,r(n.map((function(e){var n=e.apply(void 0,t);if(!n)throw new TypeError('combineEpics: one of the provided Epics "'+(e.name||"<anonymous>")+"\" does not return a stream. Double check you're not missing a return statement!");return n}))))};try{Object.defineProperty(a,"name",{value:"combineEpics("+n.map((function(e){return e.name||"<anonymous>"})).join(", ")+")"})}catch(i){}return a}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r=t(71);function a(e){return function(n){var t=new i(e),o=n.lift(t);return t.caught=o}}var i=function(){function e(e){this.selector=e}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.selector,this.caught))},e}(),s=function(e){function n(n,t,o){var r=e.call(this,n)||this;return r.selector=t,r.caught=o,r}return o.__extends(n,e),n.prototype.error=function(n){if(!this.isStopped){var t=void 0;try{t=this.selector(n,this.caught)}catch(i){return void e.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var o=new r.a(this);this.add(o);var a=Object(r.c)(t,o);a!==o&&this.add(a)}},n}(r.b)},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var o=t(1),r=t(41);function a(e){return function(n){return n.lift(new i(e))}}var i=function(){function e(e){this.value=e}return e.prototype.call=function(e,n){return n.subscribe(new s(e,this.value))},e}(),s=function(e){function n(n,t){var o=e.call(this,n)||this;return o.value=t,o}return o.__extends(n,e),n.prototype._next=function(e){this.destination.next(this.value)},n}(r.a)},function(e,n,t){"use strict";t.d(n,"a",(function(){return u}));var o=t(1),r=t(119),a=t(117),i=t(41),s=t(64),c=t(71);function u(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var t=e[e.length-1];return"function"===typeof t&&e.pop(),Object(r.a)(e,void 0).lift(new l(t))}var l=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,n){return n.subscribe(new d(e,this.resultSelector))},e}(),d=function(e){function n(n,t,o){void 0===o&&(o=Object.create(null));var r=e.call(this,n)||this;return r.resultSelector=t,r.iterators=[],r.active=0,r.resultSelector="function"===typeof t?t:void 0,r}return o.__extends(n,e),n.prototype._next=function(e){var n=this.iterators;Object(a.a)(e)?n.push(new m(e)):"function"===typeof e[s.a]?n.push(new p(e[s.a]())):n.push(new h(this.destination,this,e))},n.prototype._complete=function(){var e=this.iterators,n=e.length;if(this.unsubscribe(),0!==n){this.active=n;for(var t=0;t<n;t++){var o=e[t];if(o.stillUnsubscribed)this.destination.add(o.subscribe());else this.active--}}else this.destination.complete()},n.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},n.prototype.checkIterators=function(){for(var e=this.iterators,n=e.length,t=this.destination,o=0;o<n;o++){if("function"===typeof(i=e[o]).hasValue&&!i.hasValue())return}var r=!1,a=[];for(o=0;o<n;o++){var i,s=(i=e[o]).next();if(i.hasCompleted()&&(r=!0),s.done)return void t.complete();a.push(s.value)}this.resultSelector?this._tryresultSelector(a):t.next(a),r&&t.complete()},n.prototype._tryresultSelector=function(e){var n;try{n=this.resultSelector.apply(this,e)}catch(t){return void this.destination.error(t)}this.destination.next(n)},n}(i.a),p=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return Boolean(e&&e.done)},e}(),m=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[s.a]=function(){return this},e.prototype.next=function(e){var n=this.index++,t=this.array;return n<this.length?{value:t[n],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),h=function(e){function n(n,t,o){var r=e.call(this,n)||this;return r.parent=t,r.observable=o,r.stillUnsubscribed=!0,r.buffer=[],r.isComplete=!1,r}return o.__extends(n,e),n.prototype[s.a]=function(){return this},n.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},n.prototype.hasValue=function(){return this.buffer.length>0},n.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},n.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},n.prototype.notifyNext=function(e){this.buffer.push(e),this.parent.checkIterators()},n.prototype.subscribe=function(){return Object(c.c)(this.observable,new c.a(this))},n}(c.b)},function(e,n,t){"use strict";t.d(n,"a",(function(){return jt}));var o,r,a=t(4);!function(e){e.AcquireTokenByCode="acquireTokenByCode",e.AcquireTokenByRefreshToken="acquireTokenByRefreshToken",e.AcquireTokenSilent="acquireTokenSilent",e.AcquireTokenSilentAsync="acquireTokenSilentAsync",e.AcquireTokenPopup="acquireTokenPopup",e.CryptoOptsGetPublicKeyThumbprint="cryptoOptsGetPublicKeyThumbprint",e.CryptoOptsSignJwt="cryptoOptsSignJwt",e.SilentCacheClientAcquireToken="silentCacheClientAcquireToken",e.SilentIframeClientAcquireToken="silentIframeClientAcquireToken",e.SilentRefreshClientAcquireToken="silentRefreshClientAcquireToken",e.SsoSilent="ssoSilent",e.StandardInteractionClientGetDiscoveredAuthority="standardInteractionClientGetDiscoveredAuthority",e.FetchAccountIdWithNativeBroker="fetchAccountIdWithNativeBroker",e.NativeInteractionClientAcquireToken="nativeInteractionClientAcquireToken",e.BaseClientCreateTokenRequestHeaders="baseClientCreateTokenRequestHeaders",e.BrokerHandhshake="brokerHandshake",e.AcquireTokenByRefreshTokenInBroker="acquireTokenByRefreshTokenInBroker",e.AcquireTokenByBroker="acquireTokenByBroker",e.RefreshTokenClientExecuteTokenRequest="refreshTokenClientExecuteTokenRequest",e.RefreshTokenClientAcquireToken="refreshTokenClientAcquireToken",e.RefreshTokenClientAcquireTokenWithCachedRefreshToken="refreshTokenClientAcquireTokenWithCachedRefreshToken",e.RefreshTokenClientAcquireTokenByRefreshToken="refreshTokenClientAcquireTokenByRefreshToken",e.RefreshTokenClientCreateTokenRequestBody="refreshTokenClientCreateTokenRequestBody",e.AcquireTokenFromCache="acquireTokenFromCache",e.AcquireTokenBySilentIframe="acquireTokenBySilentIframe",e.InitializeBaseRequest="initializeBaseRequest",e.InitializeSilentRequest="initializeSilentRequest",e.SilentIframeClientTokenHelper="silentIframeClientTokenHelper",e.SilentHandlerInitiateAuthRequest="silentHandlerInitiateAuthRequest",e.SilentHandlerMonitorIframeForHash="silentHandlerMonitorIframeForHash",e.SilentHandlerLoadFrame="silentHandlerLoadFrame",e.StandardInteractionClientCreateAuthCodeClient="standardInteractionClientCreateAuthCodeClient",e.StandardInteractionClientGetClientConfiguration="standardInteractionClientGetClientConfiguration",e.StandardInteractionClientInitializeAuthorizationRequest="standardInteractionClientInitializeAuthorizationRequest",e.StandardInteractionClientInitializeAuthorizationCodeRequest="standardInteractionClientInitializeAuthorizationCodeRequest",e.GetAuthCodeUrl="getAuthCodeUrl",e.HandleCodeResponseFromServer="handleCodeResponseFromServer",e.HandleCodeResponseFromHash="handleCodeResponseFromHash",e.UpdateTokenEndpointAuthority="updateTokenEndpointAuthority",e.AuthClientAcquireToken="authClientAcquireToken",e.AuthClientExecuteTokenRequest="authClientExecuteTokenRequest",e.AuthClientCreateTokenRequestBody="authClientCreateTokenRequestBody",e.AuthClientCreateQueryString="authClientCreateQueryString",e.PopTokenGenerateCnf="popTokenGenerateCnf",e.PopTokenGenerateKid="popTokenGenerateKid",e.HandleServerTokenResponse="handleServerTokenResponse",e.AuthorityFactoryCreateDiscoveredInstance="authorityFactoryCreateDiscoveredInstance",e.AuthorityResolveEndpointsAsync="authorityResolveEndpointsAsync",e.AuthorityGetCloudDiscoveryMetadataFromNetwork="authorityGetCloudDiscoveryMetadataFromNetwork",e.AuthorityUpdateCloudDiscoveryMetadata="authorityUpdateCloudDiscoveryMetadata",e.AuthorityGetEndpointMetadataFromNetwork="authorityGetEndpointMetadataFromNetwork",e.AuthorityUpdateEndpointMetadata="authorityUpdateEndpointMetadata",e.AuthorityUpdateMetadataWithRegionalInformation="authorityUpdateMetadataWithRegionalInformation",e.RegionDiscoveryDetectRegion="regionDiscoveryDetectRegion",e.RegionDiscoveryGetRegionFromIMDS="regionDiscoveryGetRegionFromIMDS",e.RegionDiscoveryGetCurrentVersion="regionDiscoveryGetCurrentVersion",e.AcquireTokenByCodeAsync="acquireTokenByCodeAsync",e.GetEndpointMetadataFromNetwork="getEndpointMetadataFromNetwork",e.GetCloudDiscoveryMetadataFromNetworkMeasurement="getCloudDiscoveryMetadataFromNetworkMeasurement",e.HandleRedirectPromiseMeasurement="handleRedirectPromiseMeasurement",e.UpdateCloudDiscoveryMetadataMeasurement="updateCloudDiscoveryMetadataMeasurement",e.UsernamePasswordClientAcquireToken="usernamePasswordClientAcquireToken"}(o||(o={})),function(e){e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"}(r||(r={}));var i,s=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status"]),c=t(2),u=t(11),l=t(29),d=function(e){function n(t,o,r){var a=e.call(this,t,o,r)||this;return a.name="ServerError",Object.setPrototypeOf(a,n.prototype),a}return Object(u.c)(n,e),n}(l.a),p=t(91),m=t(7),h={code:"missing_kid_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided."},f={code:"missing_alg_error",desc:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."},g=function(e){function n(t,o){var r=e.call(this,t,o)||this;return r.name="JoseHeaderError",Object.setPrototypeOf(r,n.prototype),r}return Object(u.c)(n,e),n.createMissingKidError=function(){return new n(h.code,h.desc)},n.createMissingAlgError=function(){return new n(f.code,f.desc)},n}(l.a),v=function(){function e(e){this.typ=e.typ,this.alg=e.alg,this.kid=e.kid}return e.getShrHeaderString=function(n){if(!n.kid)throw g.createMissingKidError();if(!n.alg)throw g.createMissingAlgError();var t=new e({typ:n.typ||c.s.Jwt,kid:n.kid,alg:n.alg});return JSON.stringify(t)},e}(),y=function(){function e(){}return e.decimalToHex=function(e){for(var n=e.toString(16);n.length<2;)n="0"+n;return n},e}(),b=function(){function e(e){this.cryptoObj=e}return e.prototype.generateGuid=function(){try{var e=new Uint8Array(16);return this.cryptoObj.getRandomValues(e),e[6]|=64,e[6]&=79,e[8]|=128,e[8]&=191,y.decimalToHex(e[0])+y.decimalToHex(e[1])+y.decimalToHex(e[2])+y.decimalToHex(e[3])+"-"+y.decimalToHex(e[4])+y.decimalToHex(e[5])+"-"+y.decimalToHex(e[6])+y.decimalToHex(e[7])+"-"+y.decimalToHex(e[8])+y.decimalToHex(e[9])+"-"+y.decimalToHex(e[10])+y.decimalToHex(e[11])+y.decimalToHex(e[12])+y.decimalToHex(e[13])+y.decimalToHex(e[14])+y.decimalToHex(e[15])}catch(i){for(var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",t="0123456789abcdef",o=0,r=c.n.EMPTY_STRING,a=0;a<36;a++)"-"!==n[a]&&"4"!==n[a]&&(o=16*Math.random()|0),"x"===n[a]?r+=t[o]:"y"===n[a]?(o&=3,r+=t[o|=8]):r+=n[a];return r}},e.prototype.isGuid=function(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e)},e}(),C=function(){function e(){}return e.stringToUtf8Arr=function(e){for(var n,t=0,o=e.length,r=0;r<o;r++)t+=(n=e.charCodeAt(r))<128?1:n<2048?2:n<65536?3:n<2097152?4:n<67108864?5:6;for(var a=new Uint8Array(t),i=0,s=0;i<t;s++)(n=e.charCodeAt(s))<128?a[i++]=n:n<2048?(a[i++]=192+(n>>>6),a[i++]=128+(63&n)):n<65536?(a[i++]=224+(n>>>12),a[i++]=128+(n>>>6&63),a[i++]=128+(63&n)):n<2097152?(a[i++]=240+(n>>>18),a[i++]=128+(n>>>12&63),a[i++]=128+(n>>>6&63),a[i++]=128+(63&n)):n<67108864?(a[i++]=248+(n>>>24),a[i++]=128+(n>>>18&63),a[i++]=128+(n>>>12&63),a[i++]=128+(n>>>6&63),a[i++]=128+(63&n)):(a[i++]=252+(n>>>30),a[i++]=128+(n>>>24&63),a[i++]=128+(n>>>18&63),a[i++]=128+(n>>>12&63),a[i++]=128+(n>>>6&63),a[i++]=128+(63&n));return a},e.stringToArrayBuffer=function(e){for(var n=new ArrayBuffer(e.length),t=new Uint8Array(n),o=0;o<e.length;o++)t[o]=e.charCodeAt(o);return n},e.utf8ArrToString=function(e){for(var n=c.n.EMPTY_STRING,t=void 0,o=e.length,r=0;r<o;r++)t=e[r],n+=String.fromCharCode(t>251&&t<254&&r+5<o?1073741824*(t-252)+(e[++r]-128<<24)+(e[++r]-128<<18)+(e[++r]-128<<12)+(e[++r]-128<<6)+e[++r]-128:t>247&&t<252&&r+4<o?(t-248<<24)+(e[++r]-128<<18)+(e[++r]-128<<12)+(e[++r]-128<<6)+e[++r]-128:t>239&&t<248&&r+3<o?(t-240<<18)+(e[++r]-128<<12)+(e[++r]-128<<6)+e[++r]-128:t>223&&t<240&&r+2<o?(t-224<<12)+(e[++r]-128<<6)+e[++r]-128:t>191&&t<224&&r+1<o?(t-192<<6)+e[++r]-128:t);return n},e.getSortedObjectString=function(e){return JSON.stringify(e,Object.keys(e).sort())},e}(),w=function(){function e(){}return e.prototype.urlEncode=function(e){return encodeURIComponent(this.encode(e).replace(/=/g,c.n.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_"))},e.prototype.urlEncodeArr=function(e){return this.base64EncArr(e).replace(/=/g,c.n.EMPTY_STRING).replace(/\+/g,"-").replace(/\//g,"_")},e.prototype.encode=function(e){var n=C.stringToUtf8Arr(e);return this.base64EncArr(n)},e.prototype.base64EncArr=function(e){for(var n=(3-e.length%3)%3,t=c.n.EMPTY_STRING,o=void 0,r=e.length,a=0,i=0;i<r;i++)o=i%3,a|=e[i]<<(16>>>o&24),2!==o&&e.length-i!==1||(t+=String.fromCharCode(this.uint6ToB64(a>>>18&63),this.uint6ToB64(a>>>12&63),this.uint6ToB64(a>>>6&63),this.uint6ToB64(63&a)),a=0);return 0===n?t:t.substring(0,t.length-n)+(1===n?"=":"==")},e.prototype.uint6ToB64=function(e){return e<26?e+65:e<52?e+71:e<62?e-4:62===e?43:63===e?47:65},e}(),S=function(){function e(){}return e.prototype.decode=function(e){var n=e.replace(/-/g,"+").replace(/_/g,"/");switch(n.length%4){case 0:break;case 2:n+="==";break;case 3:n+="=";break;default:throw new Error("Invalid base64 string")}var t=this.base64DecToArr(n);return C.utf8ArrToString(t)},e.prototype.base64DecToArr=function(e,n){for(var t=e.replace(/[^A-Za-z0-9\+\/]/g,c.n.EMPTY_STRING),o=t.length,r=n?Math.ceil((3*o+1>>>2)/n)*n:3*o+1>>>2,a=new Uint8Array(r),i=void 0,s=void 0,u=0,l=0,d=0;d<o;d++)if(s=3&d,u|=this.b64ToUint6(t.charCodeAt(d))<<18-6*s,3===s||o-d===1){for(i=0;i<3&&l<r;i++,l++)a[l]=u>>>(16>>>i&24)&255;u=0}return a},e.prototype.b64ToUint6=function(e){return e>64&&e<91?e-65:e>96&&e<123?e-71:e>47&&e<58?e+4:43===e?62:47===e?63:0},e}(),_=t(22),E={code:"pkce_not_created",desc:"The PKCE code challenge and verifier could not be generated."},x={code:"crypto_nonexistent",desc:"The crypto object or function is not available."},O={code:"http_method_not_implemented",desc:"The HTTP method given has not been implemented in this library."},A={code:"empty_navigate_uri",desc:"Navigation URI is empty. Please check stack trace for more info."},k={code:"hash_empty_error",desc:"Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. For more visit: aka.ms/msaljs/browser-errors."},T={code:"no_state_in_hash",desc:"Hash does not contain state. Please verify that the request originated from msal."},P={code:"hash_does_not_contain_known_properties",desc:"Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. For more visit: aka.ms/msaljs/browser-errors."},M={code:"unable_to_parse_state",desc:"Unable to parse state. Please verify that the request originated from msal."},I={code:"state_interaction_type_mismatch",desc:"Hash contains state but the interaction type does not match the caller."},R={code:"interaction_in_progress",desc:"Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API.  For more visit: aka.ms/msaljs/browser-errors."},j={code:"popup_window_error",desc:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser."},N={code:"empty_window_error",desc:"window.open returned null or undefined window object."},L={code:"user_cancelled",desc:"User cancelled the flow."},F={code:"monitor_window_timeout",desc:"Token acquisition in popup failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},U={code:"monitor_window_timeout",desc:"Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors."},D={code:"redirect_in_iframe",desc:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs."},B={code:"block_iframe_reload",desc:"Request was blocked inside an iframe because MSAL detected an authentication response. For more visit: aka.ms/msaljs/browser-errors"},z={code:"block_nested_popups",desc:"Request was blocked inside a popup because MSAL detected it was running in a popup."},V={code:"iframe_closed_prematurely",desc:"The iframe being monitored was closed prematurely."},G={code:"silent_logout_unsupported",desc:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead."},H={code:"no_account_error",desc:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request."},q={code:"silent_prompt_value_error",desc:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'."},K={code:"no_token_request_cache_error",desc:"No token request found in cache."},W={code:"unable_to_parse_token_request_cache_error",desc:"The cached token request could not be parsed."},$={code:"no_cached_authority_error",desc:"No cached authority found."},Y={code:"auth_request_not_set_error",desc:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler"},Q={code:"invalid_cache_type",desc:"Invalid cache type"},J={code:"non_browser_environment",desc:"Login and token requests are not supported in non-browser environments."},Z={code:"database_not_open",desc:"Database is not open!"},X={code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},ee={code:"post_request_failed",desc:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'"},ne={code:"get_request_failed",desc:"Network request failed. Please check the network trace to determine root cause."},te={code:"failed_to_parse_response",desc:"Failed to parse network response. Check network trace."},oe={code:"unable_to_load_token",desc:"Error loading token to cache."},re={code:"crypto_key_not_found",desc:"Cryptographic Key or Keypair not found in browser storage."},ae={code:"auth_code_required",desc:"An authorization code must be provided (as the `code` property on the request) to this flow."},ie={code:"auth_code_or_nativeAccountId_required",desc:"An authorization code or nativeAccountId must be provided to this flow."},se={code:"database_unavailable",desc:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts."},ce={code:"unable_to_acquire_token_from_native_platform",desc:"Unable to acquire token from native platform. For a list of possible reasons visit aka.ms/msaljs/browser-errors."},ue={code:"native_handshake_timeout",desc:"Timed out while attempting to establish connection to browser extension"},le={code:"native_extension_not_installed",desc:"Native extension is not installed. If you think this is a mistake call the initialize function."},de={code:"native_connection_not_established",desc:"Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). For more please visit aka.ms/msaljs/browser-errors."},pe={code:"native_broker_called_before_initialize",desc:"You must call and await the initialize function before attempting to call any other MSAL API when native brokering is enabled. For more please visit aka.ms/msaljs/browser-errors."},me={code:"native_prompt_not_supported",desc:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow."},he=function(e){function n(t,o){var r=e.call(this,t,o)||this;return Object.setPrototypeOf(r,n.prototype),r.name="BrowserAuthError",r}return Object(a.c)(n,e),n.createPkceNotGeneratedError=function(e){return new n(E.code,E.desc+" Detail:"+e)},n.createCryptoNotAvailableError=function(e){return new n(x.code,x.desc+" Detail:"+e)},n.createHttpMethodNotImplementedError=function(e){return new n(O.code,O.desc+" Given Method: "+e)},n.createEmptyNavigationUriError=function(){return new n(A.code,A.desc)},n.createEmptyHashError=function(e){return new n(k.code,k.desc+" Given Url: "+e)},n.createHashDoesNotContainStateError=function(){return new n(T.code,T.desc)},n.createHashDoesNotContainKnownPropertiesError=function(){return new n(P.code,P.desc)},n.createUnableToParseStateError=function(){return new n(M.code,M.desc)},n.createStateInteractionTypeMismatchError=function(){return new n(I.code,I.desc)},n.createInteractionInProgressError=function(){return new n(R.code,R.desc)},n.createPopupWindowError=function(e){var t=j.desc;return t=_.a.isEmpty(e)?t:t+" Details: "+e,new n(j.code,t)},n.createEmptyWindowCreatedError=function(){return new n(N.code,N.desc)},n.createUserCancelledError=function(){return new n(L.code,L.desc)},n.createMonitorPopupTimeoutError=function(){return new n(F.code,F.desc)},n.createMonitorIframeTimeoutError=function(){return new n(U.code,U.desc)},n.createRedirectInIframeError=function(e){return new n(D.code,D.desc+" (window.parent !== window) => "+e)},n.createBlockReloadInHiddenIframeError=function(){return new n(B.code,B.desc)},n.createBlockAcquireTokenInPopupsError=function(){return new n(z.code,z.desc)},n.createIframeClosedPrematurelyError=function(){return new n(V.code,V.desc)},n.createSilentLogoutUnsupportedError=function(){return new n(G.code,G.desc)},n.createNoAccountError=function(){return new n(H.code,H.desc)},n.createSilentPromptValueError=function(e){return new n(q.code,q.desc+" Given value: "+e)},n.createUnableToParseTokenRequestCacheError=function(){return new n(W.code,W.desc)},n.createNoTokenRequestCacheError=function(){return new n(K.code,K.desc)},n.createAuthRequestNotSetError=function(){return new n(Y.code,Y.desc)},n.createNoCachedAuthorityError=function(){return new n($.code,$.desc)},n.createInvalidCacheTypeError=function(){return new n(Q.code,""+Q.desc)},n.createNonBrowserEnvironmentError=function(){return new n(J.code,J.desc)},n.createDatabaseNotOpenError=function(){return new n(Z.code,Z.desc)},n.createNoNetworkConnectivityError=function(){return new n(X.code,X.desc)},n.createPostRequestFailedError=function(e,t){return new n(ee.code,ee.desc+" | Network client threw: "+e+" | Attempted to reach: "+t.split("?")[0])},n.createGetRequestFailedError=function(e,t){return new n(ne.code,ne.desc+" | Network client threw: "+e+" | Attempted to reach: "+t.split("?")[0])},n.createFailedToParseNetworkResponseError=function(e){return new n(te.code,te.desc+" | Attempted to reach: "+e.split("?")[0])},n.createUnableToLoadTokenError=function(e){return new n(oe.code,oe.desc+" | "+e)},n.createSigningKeyNotFoundInStorageError=function(e){return new n(re.code,re.desc+" | No match found for KeyId: "+e)},n.createAuthCodeRequiredError=function(){return new n(ae.code,ae.desc)},n.createAuthCodeOrNativeAccountIdRequiredError=function(){return new n(ie.code,ie.desc)},n.createDatabaseUnavailableError=function(){return new n(se.code,se.desc)},n.createUnableToAcquireTokenFromNativePlatformError=function(){return new n(ce.code,ce.desc)},n.createNativeHandshakeTimeoutError=function(){return new n(ue.code,ue.desc)},n.createNativeExtensionNotInstalledError=function(){return new n(le.code,le.desc)},n.createNativeConnectionNotEstablishedError=function(){return new n(de.code,de.desc)},n.createNativeBrokerCalledBeforeInitialize=function(){return new n(pe.code,pe.desc)},n.createNativePromptParameterNotSupportedError=function(){return new n(me.code,me.desc)},n}(l.a),fe=function(){function e(e){this.base64Encode=new w,this.cryptoObj=e}return e.prototype.generateCodes=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(t){switch(t.label){case 0:return e=this.generateCodeVerifier(),[4,this.generateCodeChallengeFromVerifier(e)];case 1:return n=t.sent(),[2,{verifier:e,challenge:n}]}}))}))},e.prototype.generateCodeVerifier=function(){try{var e=new Uint8Array(32);return this.cryptoObj.getRandomValues(e),this.base64Encode.urlEncodeArr(e)}catch(n){throw he.createPkceNotGeneratedError(n)}},e.prototype.generateCodeChallengeFromVerifier=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t;return Object(a.d)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this.cryptoObj.sha256Digest(e)];case 1:return n=o.sent(),[2,this.base64Encode.urlEncodeArr(new Uint8Array(n))];case 2:throw t=o.sent(),he.createPkceNotGeneratedError(t);case 3:return[2]}}))}))},e}(),ge=function(){function e(){}return e.prototype.getRandomValues=function(e){return window.crypto.getRandomValues(e)},e.prototype.generateKey=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,window.crypto.subtle.generateKey(e,n,t)]}))}))},e.prototype.exportKey=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){return[2,window.crypto.subtle.exportKey(m.m,e)]}))}))},e.prototype.importKey=function(e,n,t,o){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(r){return[2,window.crypto.subtle.importKey(m.m,e,n,t,o)]}))}))},e.prototype.sign=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,window.crypto.subtle.sign(e,n,t)]}))}))},e.prototype.digest=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,window.crypto.subtle.digest(e,n)]}))}))},e}(),ve=function(){function e(){}return e.prototype.initPrng=function(e){return window.msrCrypto.initPrng(Object(a.f)(e))},e.prototype.getRandomValues=function(e){return window.msrCrypto.getRandomValues(e)},e.prototype.generateKey=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,window.msrCrypto.subtle.generateKey(e,n,t)]}))}))},e.prototype.exportKey=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){return[2,window.msrCrypto.subtle.exportKey(m.m,e)]}))}))},e.prototype.importKey=function(e,n,t,o){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(r){return[2,window.msrCrypto.subtle.importKey(m.m,e,n,t,o)]}))}))},e.prototype.sign=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,window.msrCrypto.subtle.sign(e,n,t)]}))}))},e.prototype.digest=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,window.msrCrypto.subtle.digest(e,n)]}))}))},e}(),ye=function(){function e(){}return e.prototype.getRandomValues=function(e){return window.msCrypto.getRandomValues(e)},e.prototype.generateKey=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,new Promise((function(o,r){var a=window.msCrypto.subtle.generateKey(e,n,t);a.addEventListener("complete",(function(e){o(e.target.result)})),a.addEventListener("error",(function(e){r(e)}))}))]}))}))},e.prototype.exportKey=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){return[2,new Promise((function(n,t){var o=window.msCrypto.subtle.exportKey(m.m,e);o.addEventListener("complete",(function(e){var o=e.target.result,r=C.utf8ArrToString(new Uint8Array(o)).replace(/\r/g,c.n.EMPTY_STRING).replace(/\n/g,c.n.EMPTY_STRING).replace(/\t/g,c.n.EMPTY_STRING).split(" ").join(c.n.EMPTY_STRING).replace("\0",c.n.EMPTY_STRING);try{n(JSON.parse(r))}catch(e){t(e)}})),o.addEventListener("error",(function(e){t(e)}))}))]}))}))},e.prototype.importKey=function(e,n,t,o){return Object(a.b)(this,void 0,void 0,(function(){var r,i;return Object(a.d)(this,(function(a){return r=C.getSortedObjectString(e),i=C.stringToArrayBuffer(r),[2,new Promise((function(e,r){var a=window.msCrypto.subtle.importKey(m.m,i,n,t,o);a.addEventListener("complete",(function(n){e(n.target.result)})),a.addEventListener("error",(function(e){r(e)}))}))]}))}))},e.prototype.sign=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,new Promise((function(o,r){var a=window.msCrypto.subtle.sign(e,n,t);a.addEventListener("complete",(function(e){o(e.target.result)})),a.addEventListener("error",(function(e){r(e)}))}))]}))}))},e.prototype.digest=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,new Promise((function(t,o){var r=window.msCrypto.subtle.digest(e,n.buffer);r.addEventListener("complete",(function(e){t(e.target.result)})),r.addEventListener("error",(function(e){o(e)}))}))]}))}))},e}(),be=t(45),Ce="SHA-256",we=new Uint8Array([1,0,1]),Se=function(){function e(e,n){var t,o;if(this.logger=e,this.cryptoOptions=n,this.hasBrowserCrypto())this.logger.verbose("BrowserCrypto: modern crypto interface available"),this.subtleCrypto=new ge;else if(this.hasIECrypto())this.logger.verbose("BrowserCrypto: MS crypto interface available"),this.subtleCrypto=new ye;else{if(!this.hasMsrCrypto()||!(null===(t=this.cryptoOptions)||void 0===t?void 0:t.useMsrCrypto))throw this.hasMsrCrypto()&&this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"),this.logger.error("BrowserCrypto: No crypto interfaces available."),he.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");this.logger.verbose("BrowserCrypto: MSR crypto interface available"),this.subtleCrypto=new ve}if(this.subtleCrypto.initPrng){if(this.logger.verbose("BrowserCrypto: Interface requires entropy"),!(null===(o=this.cryptoOptions)||void 0===o?void 0:o.entropy))throw this.logger.error("BrowserCrypto: Interface requires entropy but none provided."),be.a.createEntropyNotProvided();this.logger.verbose("BrowserCrypto: Entropy provided"),this.subtleCrypto.initPrng(this.cryptoOptions.entropy)}this.keygenAlgorithmOptions={name:"RSASSA-PKCS1-v1_5",hash:Ce,modulusLength:2048,publicExponent:we}}return e.prototype.hasIECrypto=function(){return"msCrypto"in window},e.prototype.hasBrowserCrypto=function(){return"crypto"in window},e.prototype.hasMsrCrypto=function(){return"msrCrypto"in window},e.prototype.sha256Digest=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){return n=C.stringToUtf8Arr(e),[2,this.subtleCrypto.digest({name:Ce},n)]}))}))},e.prototype.getRandomValues=function(e){return this.subtleCrypto.getRandomValues(e)},e.prototype.generateKeyPair=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,this.subtleCrypto.generateKey(this.keygenAlgorithmOptions,e,n)]}))}))},e.prototype.exportJwk=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){return[2,this.subtleCrypto.exportKey(e)]}))}))},e.prototype.importJwk=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){return[2,this.subtleCrypto.importKey(e,this.keygenAlgorithmOptions,n,t)]}))}))},e.prototype.sign=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,this.subtleCrypto.sign(this.keygenAlgorithmOptions,e,n)]}))}))},e}(),_e=function(){function e(){this.dbName=m.e,this.version=m.g,this.tableName=m.f,this.dbOpen=!1}return e.prototype.open=function(){return Object(a.b)(this,void 0,void 0,(function(){var e=this;return Object(a.d)(this,(function(n){return[2,new Promise((function(n,t){var o=window.indexedDB.open(e.dbName,e.version);o.addEventListener("upgradeneeded",(function(n){n.target.result.createObjectStore(e.tableName)})),o.addEventListener("success",(function(t){var o=t;e.db=o.target.result,e.dbOpen=!0,n()})),o.addEventListener("error",(function(){return t(he.createDatabaseUnavailableError())}))}))]}))}))},e.prototype.closeConnection=function(){var e=this.db;e&&this.dbOpen&&(e.close(),this.dbOpen=!1)},e.prototype.validateDbIsOpen=function(){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(e){switch(e.label){case 0:return this.dbOpen?[3,2]:[4,this.open()];case 1:return[2,e.sent()];case 2:return[2]}}))}))},e.prototype.getItem=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n=this;return Object(a.d)(this,(function(t){switch(t.label){case 0:return[4,this.validateDbIsOpen()];case 1:return t.sent(),[2,new Promise((function(t,o){if(!n.db)return o(he.createDatabaseNotOpenError());var r=n.db.transaction([n.tableName],"readonly").objectStore(n.tableName).get(e);r.addEventListener("success",(function(e){var o=e;n.closeConnection(),t(o.target.result)})),r.addEventListener("error",(function(e){n.closeConnection(),o(e)}))}))]}}))}))},e.prototype.setItem=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t=this;return Object(a.d)(this,(function(o){switch(o.label){case 0:return[4,this.validateDbIsOpen()];case 1:return o.sent(),[2,new Promise((function(o,r){if(!t.db)return r(he.createDatabaseNotOpenError());var a=t.db.transaction([t.tableName],"readwrite").objectStore(t.tableName).put(n,e);a.addEventListener("success",(function(){t.closeConnection(),o()})),a.addEventListener("error",(function(e){t.closeConnection(),r(e)}))}))]}}))}))},e.prototype.removeItem=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n=this;return Object(a.d)(this,(function(t){switch(t.label){case 0:return[4,this.validateDbIsOpen()];case 1:return t.sent(),[2,new Promise((function(t,o){if(!n.db)return o(he.createDatabaseNotOpenError());var r=n.db.transaction([n.tableName],"readwrite").objectStore(n.tableName).delete(e);r.addEventListener("success",(function(){n.closeConnection(),t()})),r.addEventListener("error",(function(e){n.closeConnection(),o(e)}))}))]}}))}))},e.prototype.getKeys=function(){return Object(a.b)(this,void 0,void 0,(function(){var e=this;return Object(a.d)(this,(function(n){switch(n.label){case 0:return[4,this.validateDbIsOpen()];case 1:return n.sent(),[2,new Promise((function(n,t){if(!e.db)return t(he.createDatabaseNotOpenError());var o=e.db.transaction([e.tableName],"readonly").objectStore(e.tableName).getAllKeys();o.addEventListener("success",(function(t){var o=t;e.closeConnection(),n(o.target.result)})),o.addEventListener("error",(function(n){e.closeConnection(),t(n)}))}))]}}))}))},e.prototype.containsKey=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n=this;return Object(a.d)(this,(function(t){switch(t.label){case 0:return[4,this.validateDbIsOpen()];case 1:return t.sent(),[2,new Promise((function(t,o){if(!n.db)return o(he.createDatabaseNotOpenError());var r=n.db.transaction([n.tableName],"readonly").objectStore(n.tableName).count(e);r.addEventListener("success",(function(e){var o=e;n.closeConnection(),t(1===o.target.result)})),r.addEventListener("error",(function(e){n.closeConnection(),o(e)}))}))]}}))}))},e.prototype.deleteDatabase=function(){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(e){return this.db&&this.dbOpen&&this.closeConnection(),[2,new Promise((function(e,n){var t=window.indexedDB.deleteDatabase(m.e);t.addEventListener("success",(function(){return e(!0)})),t.addEventListener("blocked",(function(){return e(!0)})),t.addEventListener("error",(function(){return n(!1)}))}))]}))}))},e}(),Ee=function(){function e(){this.cache=new Map}return e.prototype.getItem=function(e){return this.cache.get(e)||null},e.prototype.setItem=function(e,n){this.cache.set(e,n)},e.prototype.removeItem=function(e){this.cache.delete(e)},e.prototype.getKeys=function(){var e=[];return this.cache.forEach((function(n,t){e.push(t)})),e},e.prototype.containsKey=function(e){return this.cache.has(e)},e.prototype.clear=function(){this.cache.clear()},e}(),xe=function(){function e(e,n){this.inMemoryCache=new Ee,this.indexedDBCache=new _e,this.logger=e,this.storeName=n}return e.prototype.handleDatabaseAccessError=function(e){if(!(e instanceof he&&e.errorCode===se.code))throw e;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")},e.prototype.getItem=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t;return Object(a.d)(this,(function(o){switch(o.label){case 0:if(n=this.inMemoryCache.getItem(e))return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),this.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.getItem(e)];case 2:return[2,o.sent()];case 3:return t=o.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2,n]}}))}))},e.prototype.setItem=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t;return Object(a.d)(this,(function(o){switch(o.label){case 0:this.inMemoryCache.setItem(e,n),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.indexedDBCache.setItem(e,n)];case 2:return o.sent(),[3,4];case 3:return t=o.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2]}}))}))},e.prototype.removeItem=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){switch(t.label){case 0:this.inMemoryCache.removeItem(e),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.indexedDBCache.removeItem(e)];case 2:return t.sent(),[3,4];case 3:return n=t.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2]}}))}))},e.prototype.getKeys=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(t){switch(t.label){case 0:if(0!==(e=this.inMemoryCache.getKeys()).length)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),this.logger.verbose("In-memory cache is empty, now querying persistent storage."),[4,this.indexedDBCache.getKeys()];case 2:return[2,t.sent()];case 3:return n=t.sent(),this.handleDatabaseAccessError(n),[3,4];case 4:return[2,e]}}))}))},e.prototype.containsKey=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t;return Object(a.d)(this,(function(o){switch(o.label){case 0:if(n=this.inMemoryCache.containsKey(e))return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),this.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),[4,this.indexedDBCache.containsKey(e)];case 2:return[2,o.sent()];case 3:return t=o.sent(),this.handleDatabaseAccessError(t),[3,4];case 4:return[2,n]}}))}))},e.prototype.clearInMemory=function(){this.logger.verbose("Deleting in-memory keystore "+this.storeName),this.inMemoryCache.clear(),this.logger.verbose("In-memory keystore "+this.storeName+" deleted")},e.prototype.clearPersistent=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),this.logger.verbose("Deleting persistent keystore"),[4,this.indexedDBCache.deleteDatabase()];case 1:return(e=t.sent())&&this.logger.verbose("Persistent keystore deleted"),[2,e];case 2:return n=t.sent(),this.handleDatabaseAccessError(n),[2,!1];case 3:return[2]}}))}))},e}();!function(e){e.asymmetricKeys="asymmetricKeys",e.symmetricKeys="symmetricKeys"}(i||(i={}));var Oe=function(){function e(e){this.logger=e,this.asymmetricKeys=new xe(this.logger,i.asymmetricKeys),this.symmetricKeys=new xe(this.logger,i.symmetricKeys)}return e.prototype.clear=function(){return Object(a.b)(this,void 0,void 0,(function(){var e;return Object(a.d)(this,(function(n){switch(n.label){case 0:this.asymmetricKeys.clearInMemory(),this.symmetricKeys.clearInMemory(),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.asymmetricKeys.clearPersistent()];case 2:return n.sent(),[2,!0];case 3:return(e=n.sent())instanceof Error?this.logger.error("Clearing keystore failed with error: "+e.message):this.logger.error("Clearing keystore failed with unknown error"),[2,!1];case 4:return[2]}}))}))},e}(),Ae=function(){function e(e,n,t){this.logger=e,this.browserCrypto=new Se(this.logger,t),this.b64Encode=new w,this.b64Decode=new S,this.guidGenerator=new b(this.browserCrypto),this.pkceGenerator=new fe(this.browserCrypto),this.cache=new Oe(this.logger),this.performanceClient=n}return e.prototype.createNewGuid=function(){return this.guidGenerator.generateGuid()},e.prototype.base64Encode=function(e){return this.b64Encode.encode(e)},e.prototype.base64Decode=function(e){return this.b64Decode.decode(e)},e.prototype.generatePkceCodes=function(){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(e){return[2,this.pkceGenerator.generateCodes()]}))}))},e.prototype.getPublicKeyThumbprint=function(n){var t;return Object(a.b)(this,void 0,void 0,(function(){var r,i,s,c,u,l,d,p;return Object(a.d)(this,(function(a){switch(a.label){case 0:return r=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(o.CryptoOptsGetPublicKeyThumbprint,n.correlationId),[4,this.browserCrypto.generateKeyPair(e.EXTRACTABLE,e.POP_KEY_USAGES)];case 1:return i=a.sent(),[4,this.browserCrypto.exportJwk(i.publicKey)];case 2:return s=a.sent(),c={e:s.e,kty:s.kty,n:s.n},u=C.getSortedObjectString(c),[4,this.hashString(u)];case 3:return l=a.sent(),[4,this.browserCrypto.exportJwk(i.privateKey)];case 4:return d=a.sent(),[4,this.browserCrypto.importJwk(d,!1,["sign"])];case 5:return p=a.sent(),[4,this.cache.asymmetricKeys.setItem(l,{privateKey:p,publicKey:i.publicKey,requestMethod:n.resourceRequestMethod,requestUri:n.resourceRequestUri})];case 6:return a.sent(),r&&r.endMeasurement({success:!0}),[2,l]}}))}))},e.prototype.removeTokenBindingKey=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){switch(n.label){case 0:return[4,this.cache.asymmetricKeys.removeItem(e)];case 1:return n.sent(),[4,this.cache.asymmetricKeys.containsKey(e)];case 2:return[2,!n.sent()]}}))}))},e.prototype.clearKeystore=function(){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(e){switch(e.label){case 0:return[4,this.cache.clear()];case 1:return[2,e.sent()]}}))}))},e.prototype.signJwt=function(e,n,t){var r;return Object(a.b)(this,void 0,void 0,(function(){var i,s,c,u,l,d,p,m,h,f,g,y,b;return Object(a.d)(this,(function(a){switch(a.label){case 0:return i=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(o.CryptoOptsSignJwt,t),[4,this.cache.asymmetricKeys.getItem(n)];case 1:if(!(s=a.sent()))throw he.createSigningKeyNotFoundInStorageError(n);return[4,this.browserCrypto.exportJwk(s.publicKey)];case 2:return c=a.sent(),u=C.getSortedObjectString(c),l=this.b64Encode.urlEncode(JSON.stringify({kid:n})),d=v.getShrHeaderString({kid:l,alg:c.alg}),p=this.b64Encode.urlEncode(d),e.cnf={jwk:JSON.parse(u)},m=this.b64Encode.urlEncode(JSON.stringify(e)),h=p+"."+m,f=C.stringToArrayBuffer(h),[4,this.browserCrypto.sign(s.privateKey,f)];case 3:return g=a.sent(),y=this.b64Encode.urlEncodeArr(new Uint8Array(g)),b=h+"."+y,i&&i.endMeasurement({success:!0}),[2,b]}}))}))},e.prototype.hashString=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t;return Object(a.d)(this,(function(o){switch(o.label){case 0:return[4,this.browserCrypto.sha256Digest(e)];case 1:return n=o.sent(),t=new Uint8Array(n),[2,this.b64Encode.urlEncodeArr(t)]}}))}))},e.POP_KEY_USAGES=["sign","verify"],e.EXTRACTABLE=!0,e}(),ke=t(163),Te=function(){function e(e,n,t,o,r,a){this.authority=n,this.libraryName=o,this.libraryVersion=r,this.applicationTelemetry=a,this.clientId=e,this.logger=t,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.staticFieldsByCorrelationId=new Map,this.measurementsById=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.countersByCorrelationId=new Map}return e.prototype.startPerformanceMeasurement=function(e,n){return{}},e.prototype.startPerformanceMeasuremeant=function(e,n){return{}},e.prototype.getIntFields=function(){return s},e.prototype.getPreQueueTime=function(e,n){var t=this.preQueueTimeByCorrelationId.get(n);if(t){if(t.get(e))return t.get(e);this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue time found for "+e+", unable to add queue measurement")}else this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: "+n+", unable to add queue measurement")},e.prototype.calculateQueuedTime=function(e,n){return e<1?(this.logger.trace("PerformanceClient: preQueueTime should be a positive integer and not "+e),0):n<1?(this.logger.trace("PerformanceClient: currentTime should be a positive integer and not "+n),0):n<e?(this.logger.trace("PerformanceClient: currentTime is less than preQueueTime, check how time is being retrieved"),0):n-e},e.prototype.addQueueMeasurement=function(e,n,t){if(n){if(0===t)this.logger.trace("PerformanceClient.addQueueMeasurement: queue time provided for "+e+" is "+t);else if(!t)return void this.logger.trace("PerformanceClient.addQueueMeasurement: no queue time provided for "+e);var o={eventName:e,queueTime:t},r=this.queueMeasurements.get(n);if(r)r.push(o),this.queueMeasurements.set(n,r);else{this.logger.trace("PerformanceClient.addQueueMeasurement: adding correlationId "+n+" to queue measurements");var a=[o];this.queueMeasurements.set(n,a)}}else this.logger.trace("PerformanceClient.addQueueMeasurement: correlationId not provided for "+e+", cannot add queue measurement")},e.prototype.startMeasurement=function(e,n){var t,o,a,i=this,s=n||this.generateId();n||this.logger.info("PerformanceClient: No correlation id provided for "+e+", generating",s),this.logger.trace("PerformanceClient: Performance measurement started for "+e,s);var c=this.startPerformanceMeasuremeant(e,s);if(c.startMeasurement)c.startMeasurement(),a=c;else{var l=this.startPerformanceMeasurement(e,s);l.startMeasurement(),a=l}var d={eventId:this.generateId(),status:r.InProgress,authority:this.authority,libraryName:this.libraryName,libraryVersion:this.libraryVersion,clientId:this.clientId,name:e,startTimeMs:Date.now(),correlationId:s};this.cacheEventByCorrelationId(d);var p={appName:null===(t=this.applicationTelemetry)||void 0===t?void 0:t.appName,appVersion:null===(o=this.applicationTelemetry)||void 0===o?void 0:o.appVersion};return this.addStaticFields(p,s),this.cacheMeasurement(d,a),{endMeasurement:function(e){var n=i.endMeasurement(Object(u.a)(Object(u.a)({},d),e));return n&&i.cacheEventByCorrelationId(n),n},flushMeasurement:function(){return i.flushMeasurements(d.name,d.correlationId)},discardMeasurement:function(){return i.discardMeasurements(d.correlationId)},addStaticFields:function(e){return i.addStaticFields(e,d.correlationId)},increment:function(e){return i.increment(e,d.correlationId)},measurement:a,event:d}},e.prototype.endMeasurement=function(e){var n=this.measurementsById.get(e.eventId);if(n){this.measurementsById.delete(e.eventId),n.endMeasurement();var t=n.flushMeasurement();if(null!==t)return this.logger.trace("PerformanceClient: Performance measurement ended for "+e.name+": "+t+" ms",e.correlationId),Object(u.a)(Object(u.a)({durationMs:Math.round(t)},e),{status:r.Completed});this.logger.trace("PerformanceClient: Performance measurement not taken",e.correlationId)}else this.logger.trace("PerformanceClient: Measurement not found for "+e.eventId,e.correlationId);return null},e.prototype.addStaticFields=function(e,n){var t=this.staticFieldsByCorrelationId.get(n);t?(this.logger.trace("PerformanceClient: Updating static fields"),this.staticFieldsByCorrelationId.set(n,Object(u.a)(Object(u.a)({},t),e))):(this.logger.trace("PerformanceClient: Adding static fields"),this.staticFieldsByCorrelationId.set(n,e))},e.prototype.increment=function(e,n){var t=this.countersByCorrelationId.get(n);if(!t)return this.logger.trace("PerformanceClient: Setting counters"),void this.countersByCorrelationId.set(n,Object(u.a)({},e));for(var o in this.logger.trace("PerformanceClient: Updating counters"),e)t.hasOwnProperty(o)||(t[o]=0),t[o]+=e[o]},e.prototype.cacheEventByCorrelationId=function(e){var n=this.eventsByCorrelationId.get(e.correlationId);n?(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" added/updated",e.correlationId),n.set(e.eventId,e)):(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" started",e.correlationId),this.eventsByCorrelationId.set(e.correlationId,(new Map).set(e.eventId,e)))},e.prototype.cacheMeasurement=function(e,n){this.measurementsById.set(e.eventId,n)},e.prototype.flushMeasurements=function(e,n){var t=this;this.logger.trace("PerformanceClient: Performance measurements flushed for "+e,n);var o=this.queueMeasurements.get(n);o||this.logger.trace("PerformanceClient: no queue measurements found for for correlationId: "+n);var a=0,i=0;null===o||void 0===o||o.forEach((function(e){a+=e.queueTime,i++}));var s=this.eventsByCorrelationId.get(n),c=this.staticFieldsByCorrelationId.get(n),l=this.countersByCorrelationId.get(n);if(s){this.discardCache(n);var d=[],p=0;s.forEach((function(o){if(o.name!==e&&o.status!==r.Completed){t.logger.trace("PerformanceClient: Incomplete submeasurement "+o.name+" found for "+e,n),p++;var a=t.endMeasurement(o);a&&d.push(a)}d.push(o)}));var m=d.sort((function(e,n){return e.startTimeMs-n.startTimeMs})),h=m.filter((function(n){return n.name===e&&n.status===r.Completed}));if(h.length>0){h.length>1&&this.logger.verbose("PerformanceClient: Multiple distinct top-level performance events found, using the first",n);var f=h[0];this.logger.verbose("PerformanceClient: Measurement found for "+e,n);var g=m.reduce((function(o,r){if(r.name!==e){t.logger.trace("PerformanceClient: Complete submeasurement found for "+r.name,n);var a=r.name+"DurationMs";o[a]?t.logger.verbose("PerformanceClient: Submeasurement for "+e+" already exists for "+r.name+", ignoring",n):o[a]=r.durationMs}return o}),f),v=Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},g),c),l),{queuedTimeMs:a,queuedCount:i,incompleteSubsCount:p});this.truncateIntegralFields(v,this.getIntFields()),this.emitEvents([v],g.correlationId)}else this.logger.verbose("PerformanceClient: No completed top-level measurements found for "+e,n)}else this.logger.verbose("PerformanceClient: No measurements found",n)},e.prototype.discardMeasurements=function(e){this.logger.trace("PerformanceClient: Performance measurements discarded",e),this.eventsByCorrelationId.delete(e)},e.prototype.discardCache=function(e){this.discardMeasurements(e),this.logger.trace("PerformanceClient: Static fields discarded",e),this.staticFieldsByCorrelationId.delete(e),this.logger.trace("PerformanceClient: Counters discarded",e),this.countersByCorrelationId.delete(e),this.logger.trace("PerformanceClient: QueueMeasurements discarded",e),this.queueMeasurements.delete(e),this.logger.trace("PerformanceClient: Pre-queue times discarded",e),this.preQueueTimeByCorrelationId.delete(e)},e.prototype.addPerformanceCallback=function(e){var n=this.generateId();return this.callbacks.set(n,e),this.logger.verbose("PerformanceClient: Performance callback registered with id: "+n),n},e.prototype.removePerformanceCallback=function(e){var n=this.callbacks.delete(e);return n?this.logger.verbose("PerformanceClient: Performance callback "+e+" removed."):this.logger.verbose("PerformanceClient: Performance callback "+e+" not removed."),n},e.prototype.emitEvents=function(e,n){var t=this;this.logger.verbose("PerformanceClient: Emitting performance events",n),this.callbacks.forEach((function(o,r){t.logger.trace("PerformanceClient: Emitting event to callback "+r,n),o.apply(null,[e])}))},e.prototype.truncateIntegralFields=function(e,n){n.forEach((function(n){n in e&&"number"===typeof e[n]&&(e[n]=Math.floor(e[n]))}))},e}(),Pe=function(){function e(){}return e.prototype.startMeasurement=function(){},e.prototype.endMeasurement=function(){},e.prototype.flushMeasurement=function(){return null},e}(),Me=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(n,e),n.prototype.generateId=function(){return"callback-id"},n.prototype.startPerformanceMeasuremeant=function(){return new Pe},n.prototype.startPerformanceMeasurement=function(){return new Pe},n.prototype.calculateQueuedTime=function(e,n){return 0},n.prototype.addQueueMeasurement=function(e,n,t){},n.prototype.setPreQueueTime=function(e,n){},n}(Te),Ie={createNewGuid:function(){throw l.a.createUnexpectedError("Crypto interface - createNewGuid() has not been implemented")},base64Decode:function(){throw l.a.createUnexpectedError("Crypto interface - base64Decode() has not been implemented")},base64Encode:function(){throw l.a.createUnexpectedError("Crypto interface - base64Encode() has not been implemented")},generatePkceCodes:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Crypto interface - generatePkceCodes() has not been implemented",l.a.createUnexpectedError("Crypto interface - generatePkceCodes() has not been implemented")}))}))},getPublicKeyThumbprint:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Crypto interface - getPublicKeyThumbprint() has not been implemented",l.a.createUnexpectedError("Crypto interface - getPublicKeyThumbprint() has not been implemented")}))}))},removeTokenBindingKey:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Crypto interface - removeTokenBindingKey() has not been implemented",l.a.createUnexpectedError("Crypto interface - removeTokenBindingKey() has not been implemented")}))}))},clearKeystore:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Crypto interface - clearKeystore() has not been implemented",l.a.createUnexpectedError("Crypto interface - clearKeystore() has not been implemented")}))}))},signJwt:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Crypto interface - signJwt() has not been implemented",l.a.createUnexpectedError("Crypto interface - signJwt() has not been implemented")}))}))},hashString:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Crypto interface - hashString() has not been implemented",l.a.createUnexpectedError("Crypto interface - hashString() has not been implemented")}))}))}},Re=t(20),je=t(100),Ne=function(){function e(){}return e._initRegex=function(){var n=c.E.CACHE_KEY_SEPARATOR;e.credentialRegexMap=new Map;for(var t=0,o=Object.keys(c.o);t<o.length;t++){var r=o[t],a=c.o[r].toLowerCase();try{e.credentialRegexMap.set(c.o[r],new RegExp("(?<="+n+e.credentialDomainRegex+")"+n+a+n))}catch(i){e.credentialRegexMap.set(c.o[r],new RegExp(""+n+e.credentialDomainRegex+n+a+n))}}},e.prototype.generateAccountId=function(){return e.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},e.prototype.generateCredentialId=function(){return e.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},e.prototype.generateTarget=function(){return e.generateTargetForCacheKey(this.target)},e.prototype.generateCredentialKey=function(){return e.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType,this.requestedClaimsHash)},e.prototype.generateType=function(){switch(this.credentialType){case c.o.ID_TOKEN:return c.k.ID_TOKEN;case c.o.ACCESS_TOKEN:case c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME:return c.k.ACCESS_TOKEN;case c.o.REFRESH_TOKEN:return c.k.REFRESH_TOKEN;default:throw Re.a.createUnexpectedCredentialTypeError()}},e.getCredentialType=function(e){for(var n,t=0,o=Object.keys(c.o);t<o.length;t++){var r=o[t];if(null===(n=this.credentialRegexMap.get(c.o[r]))||void 0===n?void 0:n.test(e.toLowerCase()))return c.o[r]}return c.n.NOT_DEFINED},e.generateCredentialCacheKey=function(e,n,t,o,r,a,i,s,u){return[this.generateAccountIdForCacheKey(e,n),this.generateCredentialIdForCacheKey(t,o,r,i),this.generateTargetForCacheKey(a),this.generateClaimsHashForCacheKey(u),this.generateSchemeForCacheKey(s)].join(c.E.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateAccountIdForCacheKey=function(e,n){return[e,n].join(c.E.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateCredentialIdForCacheKey=function(e,n,t,o){return[e,e===c.o.REFRESH_TOKEN&&o||n,t||c.n.EMPTY_STRING].join(c.E.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateTargetForCacheKey=function(e){return(e||c.n.EMPTY_STRING).toLowerCase()},e.generateClaimsHashForCacheKey=function(e){return(e||c.n.EMPTY_STRING).toLowerCase()},e.generateSchemeForCacheKey=function(e){return e&&e.toLowerCase()!==c.e.BEARER.toLowerCase()?e.toLowerCase():c.n.EMPTY_STRING},e.credentialDomainRegex="(https?:\\/\\/)?((([\\w-]+\\.)*([\\w-]{1,63})(\\.(\\w{2,63})))|(localhost))(\\:[0-9]{4,5})?",e}();Ne._initRegex();var Le,Fe={code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},Ue={code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},De={code:"claims_request_parsing_error",desc:"Could not parse the given claims request object."},Be={code:"authority_uri_insecure",desc:"Authority URIs must use https.  Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options"},ze={code:"url_parse_error",desc:"URL could not be parsed into appropriate segments."},Ve={code:"empty_url_error",desc:"URL was empty or null."},Ge={code:"empty_input_scopes_error",desc:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token."},He={code:"clientid_input_scopes_error",desc:"Client ID can only be provided as a single scope."},qe={code:"invalid_prompt_value",desc:"Supported prompt values are 'login', 'select_account', 'consent', 'create', 'none' and 'no_session'.  Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest"},Ke={code:"invalid_claims",desc:"Given claims parameter must be a stringified JSON object."},We={code:"token_request_empty",desc:"Token request was empty and not found in cache."},$e={code:"logout_request_empty",desc:"The logout request was null or undefined."},Ye={code:"invalid_code_challenge_method",desc:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".'},Qe={code:"pkce_params_missing",desc:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request"},Je={code:"invalid_cloud_discovery_metadata",desc:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields"},Ze={code:"invalid_authority_metadata",desc:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields."},Xe={code:"untrusted_authority",desc:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."},en={code:"invalid_azure_cloud_instance",desc:"Invalid AzureCloudInstance provided. Please refer MSAL JS docs: aks.ms/msaljs/azure_cloud_instance for valid values"},nn={code:"missing_ssh_jwk",desc:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme."},tn={code:"missing_ssh_kid",desc:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme."},on={code:"missing_nonce_authentication_header",desc:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce."},rn={code:"invalid_authentication_header",desc:"Invalid authentication header provided"},an=function(e){function n(t,o){var r=e.call(this,t,o)||this;return r.name="ClientConfigurationError",Object.setPrototypeOf(r,n.prototype),r}return Object(u.c)(n,e),n.createRedirectUriEmptyError=function(){return new n(Fe.code,Fe.desc)},n.createPostLogoutRedirectUriEmptyError=function(){return new n(Ue.code,Ue.desc)},n.createClaimsRequestParsingError=function(e){return new n(De.code,De.desc+" Given value: "+e)},n.createInsecureAuthorityUriError=function(e){return new n(Be.code,Be.desc+" Given URI: "+e)},n.createUrlParseError=function(e){return new n(ze.code,ze.desc+" Given Error: "+e)},n.createUrlEmptyError=function(){return new n(Ve.code,Ve.desc)},n.createEmptyScopesArrayError=function(){return new n(Ge.code,""+Ge.desc)},n.createClientIdSingleScopeError=function(e){return new n(He.code,He.desc+" Given Scopes: "+e)},n.createInvalidPromptError=function(e){return new n(qe.code,qe.desc+" Given value: "+e)},n.createInvalidClaimsRequestError=function(){return new n(Ke.code,Ke.desc)},n.createEmptyLogoutRequestError=function(){return new n($e.code,$e.desc)},n.createEmptyTokenRequestError=function(){return new n(We.code,We.desc)},n.createInvalidCodeChallengeMethodError=function(){return new n(Ye.code,Ye.desc)},n.createInvalidCodeChallengeParamsError=function(){return new n(Qe.code,Qe.desc)},n.createInvalidCloudDiscoveryMetadataError=function(){return new n(Je.code,Je.desc)},n.createInvalidAuthorityMetadataError=function(){return new n(Ze.code,Ze.desc)},n.createUntrustedAuthorityError=function(){return new n(Xe.code,Xe.desc)},n.createInvalidAzureCloudInstanceError=function(){return new n(en.code,en.desc)},n.createMissingSshJwkError=function(){return new n(nn.code,nn.desc)},n.createMissingSshKidError=function(){return new n(tn.code,tn.desc)},n.createMissingNonceAuthenticationHeadersError=function(){return new n(on.code,on.desc)},n.createInvalidAuthenticationHeaderError=function(e,t){return new n(rn.code,rn.desc+". Invalid header: "+e+". Details: "+t)},n}(Re.a),sn=function(){function e(e){var n=this,t=e?_.a.trimArrayEntries(Object(u.e)(e)):[],o=t?_.a.removeEmptyStringsFromArray(t):[];this.validateInputScopes(o),this.scopes=new Set,o.forEach((function(e){return n.scopes.add(e)}))}return e.fromString=function(n){return new e((n||c.n.EMPTY_STRING).split(" "))},e.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw an.createEmptyScopesArrayError()},e.prototype.containsScope=function(n){var t=new e(this.printScopesLowerCase().split(" "));return!_.a.isEmpty(n)&&t.scopes.has(n.toLowerCase())},e.prototype.containsScopeSet=function(e){var n=this;return!(!e||e.scopes.size<=0)&&(this.scopes.size>=e.scopes.size&&e.asArray().every((function(e){return n.containsScope(e)})))},e.prototype.containsOnlyOIDCScopes=function(){var e=this,n=0;return c.u.forEach((function(t){e.containsScope(t)&&(n+=1)})),this.scopes.size===n},e.prototype.appendScope=function(e){_.a.isEmpty(e)||this.scopes.add(e.trim())},e.prototype.appendScopes=function(e){var n=this;try{e.forEach((function(e){return n.appendScope(e)}))}catch(t){throw Re.a.createAppendScopeSetError(t)}},e.prototype.removeScope=function(e){if(_.a.isEmpty(e))throw Re.a.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},e.prototype.removeOIDCScopes=function(){var e=this;c.u.forEach((function(n){e.scopes.delete(n)}))},e.prototype.unionScopeSets=function(e){if(!e)throw Re.a.createEmptyInputScopeSetError();var n=new Set;return e.scopes.forEach((function(e){return n.add(e.toLowerCase())})),this.scopes.forEach((function(e){return n.add(e.toLowerCase())})),n},e.prototype.intersectingScopeSets=function(e){if(!e)throw Re.a.createEmptyInputScopeSetError();e.containsOnlyOIDCScopes()||e.removeOIDCScopes();var n=this.unionScopeSets(e),t=e.getScopeCount(),o=this.getScopeCount();return n.size<o+t},e.prototype.getScopeCount=function(){return this.scopes.size},e.prototype.asArray=function(){var e=[];return this.scopes.forEach((function(n){return e.push(n)})),e},e.prototype.printScopes=function(){return this.scopes?this.asArray().join(" "):c.n.EMPTY_STRING},e.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},e}(),cn=function(){function e(n,t){if(_.a.isEmpty(n))throw Re.a.createTokenNullOrEmptyError(n);this.rawToken=n,this.claims=e.extractTokenClaims(n,t)}return e.extractTokenClaims=function(e,n){var t=_.a.decodeAuthToken(e);try{var o=t.JWSPayload,r=n.base64Decode(o);return JSON.parse(r)}catch(a){throw Re.a.createTokenParsingError(a)}},e.checkMaxAge=function(e,n){if(0===n||Date.now()-3e5>e+n)throw Re.a.createMaxAgeTranspiredError()},e}(),un=function(){function e(e,n){this.clientId=e,this.cryptoImpl=n}return e.prototype.getAllAccounts=function(){var n=this,t=this.getAccountsFilteredBy(),o=Object.keys(t).map((function(e){return t[e]}));return o.length<1?[]:o.map((function(t){var o=e.toObject(new je.a,t).getAccountInfo(),r=n.readIdTokenFromCache(n.clientId,o);return r&&!o.idTokenClaims&&(o.idToken=r.secret,o.idTokenClaims=new cn(r.secret,n.cryptoImpl).claims),o}))},e.prototype.saveCacheRecord=function(e){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(n){switch(n.label){case 0:if(!e)throw Re.a.createNullOrUndefinedCacheRecord();return e.account&&this.setAccount(e.account),e.idToken&&this.setIdTokenCredential(e.idToken),e.accessToken?[4,this.saveAccessToken(e.accessToken)]:[3,2];case 1:n.sent(),n.label=2;case 2:return e.refreshToken&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata),[2]}}))}))},e.prototype.saveAccessToken=function(e){return Object(u.b)(this,void 0,void 0,(function(){var n,t,o,r,a=this;return Object(u.d)(this,(function(i){switch(i.label){case 0:return n=this.getCredentialsFilteredBy({clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm,tokenType:e.tokenType,requestedClaimsHash:e.requestedClaimsHash}),t=sn.fromString(e.target),(o=Object.keys(n.accessTokens).map((function(e){return n.accessTokens[e]})))?(r=[],o.forEach((function(e){sn.fromString(e.target).intersectingScopeSets(t)&&r.push(a.removeCredential(e))})),[4,Promise.all(r)]):[3,2];case 1:i.sent(),i.label=2;case 2:return this.setAccessTokenCredential(e),[2]}}))}))},e.prototype.getAccountsFilteredBy=function(e){return this.getAccountsFilteredByInternal(e?e.homeAccountId:c.n.EMPTY_STRING,e?e.environment:c.n.EMPTY_STRING,e?e.realm:c.n.EMPTY_STRING,e?e.nativeAccountId:c.n.EMPTY_STRING)},e.prototype.getAccountsFilteredByInternal=function(e,n,t,o){var r=this,a=this.getKeys(),i={};return a.forEach((function(a){var s=r.getAccount(a);s&&(e&&!r.matchHomeAccountId(s,e)||n&&!r.matchEnvironment(s,n)||t&&!r.matchRealm(s,t)||o&&!r.matchNativeAccountId(s,o)||(i[a]=s))})),i},e.prototype.getCredentialsFilteredBy=function(e){return this.getCredentialsFilteredByInternal(e.homeAccountId,e.environment,e.credentialType,e.clientId,e.familyId,e.realm,e.target,e.userAssertionHash,e.tokenType,e.keyId,e.requestedClaimsHash)},e.prototype.getCredentialsFilteredByInternal=function(e,n,t,o,r,a,i,s,u,l,d){var p=this,m=this.getKeys(),h={idTokens:{},accessTokens:{},refreshTokens:{}};return m.forEach((function(m){var f=Ne.getCredentialType(m);if(f!==c.n.NOT_DEFINED){var g=p.getSpecificCredential(m,f);if(g&&(!s||p.matchUserAssertionHash(g,s))&&("string"!==typeof e||p.matchHomeAccountId(g,e))&&(!n||p.matchEnvironment(g,n))&&(!a||p.matchRealm(g,a))&&(!t||p.matchCredentialType(g,t))&&(!o||p.matchClientId(g,o))&&(!r||p.matchFamilyId(g,r))&&(!i||p.matchTarget(g,i))&&(!d&&!g.requestedClaimsHash||g.requestedClaimsHash===d)){if(t===c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME){if(u&&!p.matchTokenType(g,u))return;if(u===c.e.SSH&&l&&!p.matchKeyId(g,l))return}var v=p.updateCredentialCacheKey(m,g);switch(f){case c.o.ID_TOKEN:h.idTokens[v]=g;break;case c.o.ACCESS_TOKEN:case c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME:h.accessTokens[v]=g;break;case c.o.REFRESH_TOKEN:h.refreshTokens[v]=g}}}})),h},e.prototype.getAppMetadataFilteredBy=function(e){return this.getAppMetadataFilteredByInternal(e.environment,e.clientId)},e.prototype.getAppMetadataFilteredByInternal=function(e,n){var t=this,o=this.getKeys(),r={};return o.forEach((function(o){if(t.isAppMetadata(o)){var a=t.getAppMetadata(o);a&&(e&&!t.matchEnvironment(a,e)||n&&!t.matchClientId(a,n)||(r[o]=a))}})),r},e.prototype.getAuthorityMetadataByAlias=function(e){var n=this,t=this.getAuthorityMetadataKeys(),o=null;return t.forEach((function(t){if(n.isAuthorityMetadata(t)&&-1!==t.indexOf(n.clientId)){var r=n.getAuthorityMetadata(t);r&&-1!==r.aliases.indexOf(e)&&(o=r)}})),o},e.prototype.removeAllAccounts=function(){return Object(u.b)(this,void 0,void 0,(function(){var e,n,t=this;return Object(u.d)(this,(function(o){switch(o.label){case 0:return e=this.getKeys(),n=[],e.forEach((function(e){t.getAccount(e)&&n.push(t.removeAccount(e))})),[4,Promise.all(n)];case 1:return o.sent(),[2,!0]}}))}))},e.prototype.removeAccount=function(e){return Object(u.b)(this,void 0,void 0,(function(){var n;return Object(u.d)(this,(function(t){switch(t.label){case 0:if(!(n=this.getAccount(e)))throw Re.a.createNoAccountFoundError();return[4,this.removeAccountContext(n)];case 1:return[2,t.sent()&&this.removeItem(e,c.j.ACCOUNT)]}}))}))},e.prototype.removeAccountContext=function(e){return Object(u.b)(this,void 0,void 0,(function(){var n,t,o,r=this;return Object(u.d)(this,(function(a){switch(a.label){case 0:return n=this.getKeys(),t=e.generateAccountId(),o=[],n.forEach((function(e){var n=Ne.getCredentialType(e);if(n!==c.n.NOT_DEFINED){var a=r.getSpecificCredential(e,n);a&&t===a.generateAccountId()&&o.push(r.removeCredential(a))}})),[4,Promise.all(o)];case 1:return a.sent(),[2,!0]}}))}))},e.prototype.removeCredential=function(e){return Object(u.b)(this,void 0,void 0,(function(){var n,t;return Object(u.d)(this,(function(o){switch(o.label){case 0:if(n=e.generateCredentialKey(),e.credentialType.toLowerCase()!==c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(e.tokenType!==c.e.POP)return[3,4];if(!(t=e.keyId))return[3,4];o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(t)];case 2:return o.sent(),[3,4];case 3:throw o.sent(),Re.a.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(n,c.j.CREDENTIAL)]}}))}))},e.prototype.removeAppMetadata=function(){var e=this;return this.getKeys().forEach((function(n){e.isAppMetadata(n)&&e.removeItem(n,c.j.APP_METADATA)})),!0},e.prototype.readCacheRecord=function(e,n,t,o){var r=this.readAccountFromCache(e),a=this.readIdTokenFromCache(n,e),i=this.readAccessTokenFromCache(n,e,t),s=this.readRefreshTokenFromCache(n,e,!1),c=this.readAppMetadataFromCache(o,n);return r&&a&&(r.idTokenClaims=new cn(a.secret,this.cryptoImpl).claims),{account:r,idToken:a,accessToken:i,refreshToken:s,appMetadata:c}},e.prototype.readAccountFromCache=function(e){var n=je.a.generateAccountCacheKey(e);return this.getAccount(n)},e.prototype.readAccountFromCacheWithNativeAccountId=function(e){var n={nativeAccountId:e},t=this.getAccountsFilteredBy(n),o=Object.keys(t).map((function(e){return t[e]}));if(o.length<1)return null;if(o.length>1)throw Re.a.createMultipleMatchingAccountsInCacheError();return t[0]},e.prototype.readIdTokenFromCache=function(e,n){var t={homeAccountId:n.homeAccountId,environment:n.environment,credentialType:c.o.ID_TOKEN,clientId:e,realm:n.tenantId},o=this.getCredentialsFilteredBy(t),r=Object.keys(o.idTokens).map((function(e){return o.idTokens[e]})),a=r.length;if(a<1)return null;if(a>1)throw Re.a.createMultipleMatchingTokensInCacheError();return r[0]},e.prototype.readAccessTokenFromCache=function(e,n,t){var o=new sn(t.scopes||[]),r=t.authenticationScheme||c.e.BEARER,a=r&&r.toLowerCase()!==c.e.BEARER.toLowerCase()?c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME:c.o.ACCESS_TOKEN,i={homeAccountId:n.homeAccountId,environment:n.environment,credentialType:a,clientId:e,realm:n.tenantId,target:o.printScopesLowerCase(),tokenType:r,keyId:t.sshKid,requestedClaimsHash:t.requestedClaimsHash},s=this.getCredentialsFilteredBy(i),u=Object.keys(s.accessTokens).map((function(e){return s.accessTokens[e]})),l=u.length;if(l<1)return null;if(l>1)throw Re.a.createMultipleMatchingTokensInCacheError();return u[0]},e.prototype.readRefreshTokenFromCache=function(e,n,t){var o=t?c.F:void 0,r={homeAccountId:n.homeAccountId,environment:n.environment,credentialType:c.o.REFRESH_TOKEN,clientId:e,familyId:o},a=this.getCredentialsFilteredBy(r),i=Object.keys(a.refreshTokens).map((function(e){return a.refreshTokens[e]}));return i.length<1?null:i[0]},e.prototype.readAppMetadataFromCache=function(e,n){var t={environment:e,clientId:n},o=this.getAppMetadataFilteredBy(t),r=Object.keys(o).map((function(e){return o[e]})),a=r.length;if(a<1)return null;if(a>1)throw Re.a.createMultipleMatchingAppMetadataInCacheError();return r[0]},e.prototype.isAppMetadataFOCI=function(e,n){var t=this.readAppMetadataFromCache(e,n);return!(!t||t.familyId!==c.F)},e.prototype.matchHomeAccountId=function(e,n){return!("string"!==typeof e.homeAccountId||n!==e.homeAccountId)},e.prototype.matchUserAssertionHash=function(e,n){return!(!e.userAssertionHash||n!==e.userAssertionHash)},e.prototype.matchEnvironment=function(e,n){var t=this.getAuthorityMetadataByAlias(n);return!!(t&&t.aliases.indexOf(e.environment)>-1)},e.prototype.matchCredentialType=function(e,n){return e.credentialType&&n.toLowerCase()===e.credentialType.toLowerCase()},e.prototype.matchClientId=function(e,n){return!(!e.clientId||n!==e.clientId)},e.prototype.matchFamilyId=function(e,n){return!(!e.familyId||n!==e.familyId)},e.prototype.matchRealm=function(e,n){return!(!e.realm||n!==e.realm)},e.prototype.matchNativeAccountId=function(e,n){return!(!e.nativeAccountId||n!==e.nativeAccountId)},e.prototype.matchTarget=function(e,n){if(e.credentialType!==c.o.ACCESS_TOKEN&&e.credentialType!==c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME||!e.target)return!1;var t=sn.fromString(e.target),o=sn.fromString(n);return o.containsOnlyOIDCScopes()?o.removeScope(c.n.OFFLINE_ACCESS_SCOPE):o.removeOIDCScopes(),t.containsScopeSet(o)},e.prototype.matchTokenType=function(e,n){return!(!e.tokenType||e.tokenType!==n)},e.prototype.matchKeyId=function(e,n){return!(!e.keyId||e.keyId!==n)},e.prototype.isAppMetadata=function(e){return-1!==e.indexOf(c.c)},e.prototype.isAuthorityMetadata=function(e){return-1!==e.indexOf(c.d.CACHE_KEY)},e.prototype.generateAuthorityMetadataCacheKey=function(e){return c.d.CACHE_KEY+"-"+this.clientId+"-"+e},e.prototype.getSpecificCredential=function(e,n){switch(n){case c.o.ID_TOKEN:return this.getIdTokenCredential(e);case c.o.ACCESS_TOKEN:case c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME:return this.getAccessTokenCredential(e);case c.o.REFRESH_TOKEN:return this.getRefreshTokenCredential(e);default:return null}},e.toObject=function(e,n){for(var t in n)e[t]=n[t];return e},e}(),ln=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(n,e),n.prototype.setAccount=function(){throw l.a.createUnexpectedError("Storage interface - setAccount() has not been implemented for the cacheStorage interface.")},n.prototype.getAccount=function(){throw l.a.createUnexpectedError("Storage interface - getAccount() has not been implemented for the cacheStorage interface.")},n.prototype.setIdTokenCredential=function(){throw l.a.createUnexpectedError("Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.")},n.prototype.getIdTokenCredential=function(){throw l.a.createUnexpectedError("Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.")},n.prototype.setAccessTokenCredential=function(){throw l.a.createUnexpectedError("Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.")},n.prototype.getAccessTokenCredential=function(){throw l.a.createUnexpectedError("Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.")},n.prototype.setRefreshTokenCredential=function(){throw l.a.createUnexpectedError("Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},n.prototype.getRefreshTokenCredential=function(){throw l.a.createUnexpectedError("Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},n.prototype.setAppMetadata=function(){throw l.a.createUnexpectedError("Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.")},n.prototype.getAppMetadata=function(){throw l.a.createUnexpectedError("Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.")},n.prototype.setServerTelemetry=function(){throw l.a.createUnexpectedError("Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.")},n.prototype.getServerTelemetry=function(){throw l.a.createUnexpectedError("Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.")},n.prototype.setAuthorityMetadata=function(){throw l.a.createUnexpectedError("Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.")},n.prototype.getAuthorityMetadata=function(){throw l.a.createUnexpectedError("Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.")},n.prototype.getAuthorityMetadataKeys=function(){throw l.a.createUnexpectedError("Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.")},n.prototype.setThrottlingCache=function(){throw l.a.createUnexpectedError("Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.")},n.prototype.getThrottlingCache=function(){throw l.a.createUnexpectedError("Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.")},n.prototype.removeItem=function(){throw l.a.createUnexpectedError("Storage interface - removeItem() has not been implemented for the cacheStorage interface.")},n.prototype.containsKey=function(){throw l.a.createUnexpectedError("Storage interface - containsKey() has not been implemented for the cacheStorage interface.")},n.prototype.getKeys=function(){throw l.a.createUnexpectedError("Storage interface - getKeys() has not been implemented for the cacheStorage interface.")},n.prototype.clear=function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Storage interface - clear() has not been implemented for the cacheStorage interface.",l.a.createUnexpectedError("Storage interface - clear() has not been implemented for the cacheStorage interface.")}))}))},n.prototype.updateCredentialCacheKey=function(){throw l.a.createUnexpectedError("Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.")},n}(un),dn=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(n,e),n.createIdTokenEntity=function(e,t,o,r,a){var i=new n;return i.credentialType=c.o.ID_TOKEN,i.homeAccountId=e,i.environment=t,i.clientId=r,i.secret=o,i.realm=a,i},n.isIdTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===c.o.ID_TOKEN)},n}(Ne),pn=function(){function e(){}return e.nowSeconds=function(){return Math.round((new Date).getTime()/1e3)},e.isTokenExpired=function(n,t){var o=Number(n)||0;return e.nowSeconds()+t>o},e.wasClockTurnedBack=function(n){return Number(n)>e.nowSeconds()},e.delay=function(e,n){return new Promise((function(t){return setTimeout((function(){return t(n)}),e)}))},e}(),mn=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(n,e),n.createAccessTokenEntity=function(e,t,o,r,a,i,s,u,l,d,p,m,h,f,g){var v,y,b=new n;b.homeAccountId=e,b.credentialType=c.o.ACCESS_TOKEN,b.secret=o;var C=pn.nowSeconds();if(b.cachedAt=C.toString(),b.expiresOn=s.toString(),b.extendedExpiresOn=u.toString(),d&&(b.refreshOn=d.toString()),b.environment=t,b.clientId=r,b.realm=a,b.target=i,b.userAssertionHash=m,b.tokenType=_.a.isEmpty(p)?c.e.BEARER:p,f&&(b.requestedClaims=f,b.requestedClaimsHash=g),(null===(v=b.tokenType)||void 0===v?void 0:v.toLowerCase())!==c.e.BEARER.toLowerCase())switch(b.credentialType=c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME,b.tokenType){case c.e.POP:var w=cn.extractTokenClaims(o,l);if(!(null===(y=null===w||void 0===w?void 0:w.cnf)||void 0===y?void 0:y.kid))throw Re.a.createTokenClaimsRequiredError();b.keyId=w.cnf.kid;break;case c.e.SSH:b.keyId=h}return b},n.isAccessTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.hasOwnProperty("target")&&(e.credentialType===c.o.ACCESS_TOKEN||e.credentialType===c.o.ACCESS_TOKEN_WITH_AUTH_SCHEME))},n}(Ne),hn=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(u.c)(n,e),n.createRefreshTokenEntity=function(e,t,o,r,a,i){var s=new n;return s.clientId=r,s.credentialType=c.o.REFRESH_TOKEN,s.environment=t,s.homeAccountId=e,s.secret=o,s.userAssertionHash=i,a&&(s.familyId=a),s},n.isRefreshTokenEntity=function(e){return!!e&&(e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===c.o.REFRESH_TOKEN)},n}(Ne),fn=function(){function e(){}return e.prototype.generateAppMetadataKey=function(){return e.generateAppMetadataCacheKey(this.environment,this.clientId)},e.generateAppMetadataCacheKey=function(e,n){return[c.c,e,n].join(c.E.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAppMetadataEntity=function(n,t,o){var r=new e;return r.clientId=n,r.environment=t,o&&(r.familyId=o),r},e.isAppMetadataEntity=function(e,n){return!!n&&(0===e.indexOf(c.c)&&n.hasOwnProperty("clientId")&&n.hasOwnProperty("environment"))},e}(),gn=function(){function e(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return e.isServerTelemetryEntity=function(e,n){var t=0===e.indexOf(c.C.CACHE_KEY),o=!0;return n&&(o=n.hasOwnProperty("failedRequests")&&n.hasOwnProperty("errors")&&n.hasOwnProperty("cacheHits")),t&&o},e}(),vn=function(){function e(){this.expiresAt=pn.nowSeconds()+c.d.REFRESH_TIME_SECONDS}return e.prototype.updateCloudDiscoveryMetadata=function(e,n){this.aliases=e.aliases,this.preferred_cache=e.preferred_cache,this.preferred_network=e.preferred_network,this.aliasesFromNetwork=n},e.prototype.updateEndpointMetadata=function(e,n){this.authorization_endpoint=e.authorization_endpoint,this.token_endpoint=e.token_endpoint,this.end_session_endpoint=e.end_session_endpoint,this.issuer=e.issuer,this.endpointsFromNetwork=n,this.jwks_uri=e.jwks_uri},e.prototype.updateCanonicalAuthority=function(e){this.canonical_authority=e},e.prototype.resetExpiresAt=function(){this.expiresAt=pn.nowSeconds()+c.d.REFRESH_TIME_SECONDS},e.prototype.isExpired=function(){return this.expiresAt<=pn.nowSeconds()},e.isAuthorityMetadataEntity=function(e,n){return!!n&&(0===e.indexOf(c.d.CACHE_KEY)&&n.hasOwnProperty("aliases")&&n.hasOwnProperty("preferred_cache")&&n.hasOwnProperty("preferred_network")&&n.hasOwnProperty("canonical_authority")&&n.hasOwnProperty("authorization_endpoint")&&n.hasOwnProperty("token_endpoint")&&n.hasOwnProperty("issuer")&&n.hasOwnProperty("aliasesFromNetwork")&&n.hasOwnProperty("endpointsFromNetwork")&&n.hasOwnProperty("expiresAt")&&n.hasOwnProperty("jwks_uri"))},e}(),yn=function(){function e(){}return e.isThrottlingEntity=function(e,n){var t=!1;e&&(t=0===e.indexOf(c.G.THROTTLING_PREFIX));var o=!0;return n&&(o=n.hasOwnProperty("throttleTime")),t&&o},e}(),bn=function(){function e(){}return e.setRequestState=function(n,t,o){var r=e.generateLibraryState(n,o);return _.a.isEmpty(t)?r:""+r+c.n.RESOURCE_DELIM+t},e.generateLibraryState=function(e,n){if(!e)throw Re.a.createNoCryptoObjectError("generateLibraryState");var t={id:e.createNewGuid()};n&&(t.meta=n);var o=JSON.stringify(t);return e.base64Encode(o)},e.parseRequestState=function(e,n){if(!e)throw Re.a.createNoCryptoObjectError("parseRequestState");if(_.a.isEmpty(n))throw Re.a.createInvalidStateError(n,"Null, undefined or empty state");try{var t=n.split(c.n.RESOURCE_DELIM),o=t[0],r=t.length>1?t.slice(1).join(c.n.RESOURCE_DELIM):c.n.EMPTY_STRING,a=e.base64Decode(o),i=JSON.parse(a);return{userRequestState:_.a.isEmpty(r)?c.n.EMPTY_STRING:r,libraryState:i}}catch(s){throw Re.a.createInvalidStateError(n,s)}},e}();!function(e){e.HOME_ACCOUNT_ID="home_account_id",e.UPN="UPN"}(Le||(Le={}));var Cn,wn,Sn=function(){function e(e){this.validateWindowStorage(e),this.windowStorage=window[e]}return e.prototype.validateWindowStorage=function(e){if(e!==m.b.LocalStorage&&e!==m.b.SessionStorage)throw be.a.createStorageNotSupportedError(e);if(!!!window[e])throw be.a.createStorageNotSupportedError(e)},e.prototype.getItem=function(e){return this.windowStorage.getItem(e)},e.prototype.setItem=function(e,n){this.windowStorage.setItem(e,n)},e.prototype.removeItem=function(e){this.windowStorage.removeItem(e)},e.prototype.getKeys=function(){return Object.keys(this.windowStorage)},e.prototype.containsKey=function(e){return this.windowStorage.hasOwnProperty(e)},e}(),_n=function(){function e(n){if(this._urlString=n,_.a.isEmpty(this._urlString))throw an.createUrlEmptyError();_.a.isEmpty(this.getHash())&&(this._urlString=e.canonicalizeUri(n))}return Object.defineProperty(e.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),e.canonicalizeUri=function(e){if(e){var n=e.toLowerCase();return _.a.endsWith(n,"?")?n=n.slice(0,-1):_.a.endsWith(n,"?/")&&(n=n.slice(0,-2)),_.a.endsWith(n,"/")||(n+="/"),n}return e},e.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(n){throw an.createUrlParseError(n)}if(!e.HostNameAndPort||!e.PathSegments)throw an.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||"https:"!==e.Protocol.toLowerCase())throw an.createInsecureAuthorityUriError(this.urlString)},e.appendQueryString=function(e,n){return _.a.isEmpty(n)?e:e.indexOf("?")<0?e+"?"+n:e+"&"+n},e.removeHashFromUrl=function(n){return e.canonicalizeUri(n.split("#")[0])},e.prototype.replaceTenantPath=function(n){var t=this.getUrlComponents(),o=t.PathSegments;return!n||0===o.length||o[0]!==c.a.COMMON&&o[0]!==c.a.ORGANIZATIONS||(o[0]=n),e.constructAuthorityUriFromObject(t)},e.prototype.getHash=function(){return e.parseHash(this.urlString)},e.prototype.getUrlComponents=function(){var e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),n=this.urlString.match(e);if(!n)throw an.createUrlParseError("Given url string: "+this.urlString);var t={Protocol:n[1],HostNameAndPort:n[4],AbsolutePath:n[5],QueryString:n[7]},o=t.AbsolutePath.split("/");return o=o.filter((function(e){return e&&e.length>0})),t.PathSegments=o,!_.a.isEmpty(t.QueryString)&&t.QueryString.endsWith("/")&&(t.QueryString=t.QueryString.substring(0,t.QueryString.length-1)),t},e.getDomainFromUrl=function(e){var n=RegExp("^([^:/?#]+://)?([^/?#]*)"),t=e.match(n);if(!t)throw an.createUrlParseError("Given url string: "+e);return t[2]},e.getAbsoluteUrl=function(n,t){if(n[0]===c.n.FORWARD_SLASH){var o=new e(t).getUrlComponents();return o.Protocol+"//"+o.HostNameAndPort+n}return n},e.parseHash=function(e){var n=e.indexOf("#"),t=e.indexOf("#/");return t>-1?e.substring(t+2):n>-1?e.substring(n+1):c.n.EMPTY_STRING},e.parseQueryString=function(e){var n=e.indexOf("?"),t=e.indexOf("/?");return t>-1?e.substring(t+2):n>-1?e.substring(n+1):c.n.EMPTY_STRING},e.constructAuthorityUriFromObject=function(n){return new e(n.Protocol+"//"+n.HostNameAndPort+"/"+n.PathSegments.join("/"))},e.getDeserializedHash=function(n){if(_.a.isEmpty(n))return{};var t=e.parseHash(n),o=_.a.queryStringToObject(_.a.isEmpty(t)?n:t);if(!o)throw Re.a.createHashNotDeserializedError(JSON.stringify(o));return o},e.getDeserializedQueryString=function(n){if(_.a.isEmpty(n))return{};var t=e.parseQueryString(n),o=_.a.queryStringToObject(_.a.isEmpty(t)?n:t);if(!o)throw Re.a.createHashNotDeserializedError(JSON.stringify(o));return o},e.hashContainsKnownProperties=function(n){if(_.a.isEmpty(n)||n.indexOf("=")<0)return!1;var t=e.getDeserializedHash(n);return!!(t.code||t.error_description||t.error||t.state)},e}(),En=function(){function e(){}return e.extractBrowserRequestState=function(e,n){if(_.a.isEmpty(n))return null;try{return bn.parseRequestState(e,n).libraryState.meta}catch(t){throw Re.a.createInvalidStateError(n,t)}},e.parseServerResponseFromHash=function(e){if(!e)return{};var n=new _n(e);return _n.getDeserializedHash(n.getHash())},e}(),xn=function(e){function n(n,t,o,r){var a=e.call(this,n,o)||this;return a.COOKIE_LIFE_MULTIPLIER=864e5,a.cacheConfig=t,a.logger=r,a.internalStorage=new Ee,a.browserStorage=a.setupBrowserStorage(a.cacheConfig.cacheLocation),a.temporaryCacheStorage=a.setupTemporaryCacheStorage(a.cacheConfig.cacheLocation),a.migrateCacheEntries(),a}return Object(a.c)(n,e),n.prototype.setupBrowserStorage=function(e){switch(e){case m.b.LocalStorage:case m.b.SessionStorage:try{return new Sn(e)}catch(n){this.logger.verbose(n);break}}return this.cacheConfig.cacheLocation=m.b.MemoryStorage,new Ee},n.prototype.setupTemporaryCacheStorage=function(e){switch(e){case m.b.LocalStorage:case m.b.SessionStorage:try{return new Sn(m.b.SessionStorage)}catch(n){return this.logger.verbose(n),this.internalStorage}case m.b.MemoryStorage:default:return this.internalStorage}},n.prototype.migrateCacheEntries=function(){var e=this,n=c.n.CACHE_PREFIX+"."+c.w.ID_TOKEN,t=c.n.CACHE_PREFIX+"."+c.w.CLIENT_INFO,o=c.n.CACHE_PREFIX+"."+c.w.ERROR,r=c.n.CACHE_PREFIX+"."+c.w.ERROR_DESC,a=[this.browserStorage.getItem(n),this.browserStorage.getItem(t),this.browserStorage.getItem(o),this.browserStorage.getItem(r)];[c.w.ID_TOKEN,c.w.CLIENT_INFO,c.w.ERROR,c.w.ERROR_DESC].forEach((function(n,t){return e.migrateCacheEntry(n,a[t])}))},n.prototype.migrateCacheEntry=function(e,n){n&&this.setTemporaryCache(e,n,!0)},n.prototype.validateAndParseJson=function(e){try{var n=JSON.parse(e);return n&&"object"===typeof n?n:null}catch(t){return null}},n.prototype.getItem=function(e){return this.browserStorage.getItem(e)},n.prototype.setItem=function(e,n){this.browserStorage.setItem(e,n)},n.prototype.getAccount=function(e){var n=this.getItem(e);if(!n)return null;var t=this.validateAndParseJson(n);return t&&je.a.isAccountEntity(t)?un.toObject(new je.a,t):null},n.prototype.setAccount=function(e){this.logger.trace("BrowserCacheManager.setAccount called");var n=e.generateAccountKey();this.setItem(n,JSON.stringify(e))},n.prototype.getIdTokenCredential=function(e){var n=this.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&dn.isIdTokenEntity(t)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),un.toObject(new dn,t)):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),null)},n.prototype.setIdTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");var n=e.generateCredentialKey();this.setItem(n,JSON.stringify(e))},n.prototype.getAccessTokenCredential=function(e){var n=this.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&mn.isAccessTokenEntity(t)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),un.toObject(new mn,t)):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),null)},n.prototype.setAccessTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");var n=e.generateCredentialKey();this.setItem(n,JSON.stringify(e))},n.prototype.getRefreshTokenCredential=function(e){var n=this.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&hn.isRefreshTokenEntity(t)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),un.toObject(new hn,t)):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),null)},n.prototype.setRefreshTokenCredential=function(e){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");var n=e.generateCredentialKey();this.setItem(n,JSON.stringify(e))},n.prototype.getAppMetadata=function(e){var n=this.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&fn.isAppMetadataEntity(e,t)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),un.toObject(new fn,t)):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)},n.prototype.setAppMetadata=function(e){this.logger.trace("BrowserCacheManager.setAppMetadata called");var n=e.generateAppMetadataKey();this.setItem(n,JSON.stringify(e))},n.prototype.getServerTelemetry=function(e){var n=this.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&gn.isServerTelemetryEntity(e,t)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),un.toObject(new gn,t)):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)},n.prototype.setServerTelemetry=function(e,n){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(e,JSON.stringify(n))},n.prototype.getAuthorityMetadata=function(e){var n=this.internalStorage.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&vn.isAuthorityMetadataEntity(e,t)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),un.toObject(new vn,t)):null},n.prototype.getAuthorityMetadataKeys=function(){var e=this;return this.internalStorage.getKeys().filter((function(n){return e.isAuthorityMetadata(n)}))},n.prototype.setWrapperMetadata=function(e,n){this.internalStorage.setItem(m.j.WRAPPER_SKU,e),this.internalStorage.setItem(m.j.WRAPPER_VER,n)},n.prototype.getWrapperMetadata=function(){return[this.internalStorage.getItem(m.j.WRAPPER_SKU)||c.n.EMPTY_STRING,this.internalStorage.getItem(m.j.WRAPPER_VER)||c.n.EMPTY_STRING]},n.prototype.setAuthorityMetadata=function(e,n){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(e,JSON.stringify(n))},n.prototype.getActiveAccount=function(){var e=this.generateCacheKey(c.w.ACTIVE_ACCOUNT_FILTERS),n=this.getItem(e);if(!n){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");var t=this.generateCacheKey(c.w.ACTIVE_ACCOUNT),o=this.getItem(t);if(!o)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;var r=this.getAccountInfoByFilter({localAccountId:o})[0]||null;return r?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(r),r):null}var a=this.validateAndParseJson(n);return a?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoByFilter({homeAccountId:a.homeAccountId,localAccountId:a.localAccountId})[0]||null):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)},n.prototype.setActiveAccount=function(e){var n=this.generateCacheKey(c.w.ACTIVE_ACCOUNT_FILTERS),t=this.generateCacheKey(c.w.ACTIVE_ACCOUNT);if(e){this.logger.verbose("setActiveAccount: Active account set");var o={homeAccountId:e.homeAccountId,localAccountId:e.localAccountId};this.browserStorage.setItem(n,JSON.stringify(o)),this.browserStorage.setItem(t,e.localAccountId)}else this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(n),this.browserStorage.removeItem(t)},n.prototype.getAccountInfoByFilter=function(e){var n=this.getAllAccounts();return this.logger.trace("BrowserCacheManager.getAccountInfoByFilter: total "+n.length+" accounts found"),n.filter((function(n){return(!e.username||e.username.toLowerCase()===n.username.toLowerCase())&&((!e.homeAccountId||e.homeAccountId===n.homeAccountId)&&((!e.localAccountId||e.localAccountId===n.localAccountId)&&((!e.tenantId||e.tenantId===n.tenantId)&&(!e.environment||e.environment===n.environment))))}))},n.prototype.getAccountInfoByHints=function(e,n){var t=this.getAllAccounts().filter((function(t){if(n){var o=t.idTokenClaims&&t.idTokenClaims.sid;return n===o}return!!e&&e===t.username}));if(1===t.length)return t[0];if(t.length>1)throw Re.a.createMultipleMatchingAccountsInCacheError();return null},n.prototype.getThrottlingCache=function(e){var n=this.getItem(e);if(!n)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;var t=this.validateAndParseJson(n);return t&&yn.isThrottlingEntity(e,t)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),un.toObject(new yn,t)):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)},n.prototype.setThrottlingCache=function(e,n){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(e,JSON.stringify(n))},n.prototype.getTemporaryCache=function(e,n){var t=n?this.generateCacheKey(e):e;if(this.cacheConfig.storeAuthStateInCookie){var o=this.getItemCookie(t);if(o)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),o}var r=this.temporaryCacheStorage.getItem(t);if(!r){if(this.cacheConfig.cacheLocation===m.b.LocalStorage){var a=this.browserStorage.getItem(t);if(a)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),a}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),r},n.prototype.setTemporaryCache=function(e,n,t){var o=t?this.generateCacheKey(e):e;this.temporaryCacheStorage.setItem(o,n),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(o,n))},n.prototype.removeItem=function(e){return this.browserStorage.removeItem(e),this.temporaryCacheStorage.removeItem(e),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(e)),!0},n.prototype.containsKey=function(e){return this.browserStorage.containsKey(e)||this.temporaryCacheStorage.containsKey(e)},n.prototype.getKeys=function(){return Object(a.f)(this.browserStorage.getKeys(),this.temporaryCacheStorage.getKeys())},n.prototype.clear=function(){return Object(a.b)(this,void 0,void 0,(function(){var e=this;return Object(a.d)(this,(function(n){switch(n.label){case 0:return[4,this.removeAllAccounts()];case 1:return n.sent(),this.removeAppMetadata(),this.getKeys().forEach((function(n){!e.browserStorage.containsKey(n)&&!e.temporaryCacheStorage.containsKey(n)||-1===n.indexOf(c.n.CACHE_PREFIX)&&-1===n.indexOf(e.clientId)||e.removeItem(n)})),this.internalStorage.clear(),[2]}}))}))},n.prototype.setItemCookie=function(e,n,t){var o=encodeURIComponent(e)+"="+encodeURIComponent(n)+";path=/;SameSite=Lax;";t&&(o+="expires="+this.getCookieExpirationTime(t)+";");this.cacheConfig.secureCookies&&(o+="Secure;"),document.cookie=o},n.prototype.getItemCookie=function(e){for(var n=encodeURIComponent(e)+"=",t=document.cookie.split(";"),o=0;o<t.length;o++){for(var r=t[o];" "===r.charAt(0);)r=r.substring(1);if(0===r.indexOf(n))return decodeURIComponent(r.substring(n.length,r.length))}return c.n.EMPTY_STRING},n.prototype.clearMsalCookies=function(){var e=this,n=c.n.CACHE_PREFIX+"."+this.clientId;document.cookie.split(";").forEach((function(t){for(;" "===t.charAt(0);)t=t.substring(1);if(0===t.indexOf(n)){var o=t.split("=")[0];e.clearItemCookie(o)}}))},n.prototype.clearItemCookie=function(e){this.setItemCookie(e,c.n.EMPTY_STRING,-1)},n.prototype.getCookieExpirationTime=function(e){var n=new Date;return new Date(n.getTime()+e*this.COOKIE_LIFE_MULTIPLIER).toUTCString()},n.prototype.getCache=function(){return this.browserStorage},n.prototype.setCache=function(){},n.prototype.generateCacheKey=function(e){return this.validateAndParseJson(e)?JSON.stringify(e):_.a.startsWith(e,c.n.CACHE_PREFIX)||_.a.startsWith(e,c.w.ADAL_ID_TOKEN)?e:c.n.CACHE_PREFIX+"."+this.clientId+"."+e},n.prototype.generateAuthorityKey=function(e){var n=bn.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(m.p.AUTHORITY+"."+n)},n.prototype.generateNonceKey=function(e){var n=bn.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(m.p.NONCE_IDTOKEN+"."+n)},n.prototype.generateStateKey=function(e){var n=bn.parseRequestState(this.cryptoImpl,e).libraryState.id;return this.generateCacheKey(m.p.REQUEST_STATE+"."+n)},n.prototype.getCachedAuthority=function(e){var n=this.generateStateKey(e),t=this.getTemporaryCache(n);if(!t)return null;var o=this.generateAuthorityKey(t);return this.getTemporaryCache(o)},n.prototype.updateCacheEntries=function(e,n,t,o,r){this.logger.trace("BrowserCacheManager.updateCacheEntries called");var a=this.generateStateKey(e);this.setTemporaryCache(a,e,!1);var i=this.generateNonceKey(e);this.setTemporaryCache(i,n,!1);var s=this.generateAuthorityKey(e);if(this.setTemporaryCache(s,t,!1),r){var c={credential:r.homeAccountId,type:Le.HOME_ACCOUNT_ID};this.setTemporaryCache(m.p.CCS_CREDENTIAL,JSON.stringify(c),!0)}else if(!_.a.isEmpty(o)){c={credential:o,type:Le.UPN};this.setTemporaryCache(m.p.CCS_CREDENTIAL,JSON.stringify(c),!0)}},n.prototype.resetRequestCache=function(e){var n=this;this.logger.trace("BrowserCacheManager.resetRequestCache called"),_.a.isEmpty(e)||this.getKeys().forEach((function(t){-1!==t.indexOf(e)&&n.removeItem(t)})),e&&(this.removeItem(this.generateStateKey(e)),this.removeItem(this.generateNonceKey(e)),this.removeItem(this.generateAuthorityKey(e))),this.removeItem(this.generateCacheKey(m.p.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(m.p.ORIGIN_URI)),this.removeItem(this.generateCacheKey(m.p.URL_HASH)),this.removeItem(this.generateCacheKey(m.p.CORRELATION_ID)),this.removeItem(this.generateCacheKey(m.p.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(m.p.NATIVE_REQUEST)),this.setInteractionInProgress(!1)},n.prototype.cleanRequestByState=function(e){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),e){var n=this.generateStateKey(e),t=this.temporaryCacheStorage.getItem(n);this.logger.infoPii("BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: "+t),this.resetRequestCache(t||c.n.EMPTY_STRING)}this.clearMsalCookies()},n.prototype.cleanRequestByInteractionType=function(e){var n=this;this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach((function(t){if(-1!==t.indexOf(m.p.REQUEST_STATE)){var o=n.temporaryCacheStorage.getItem(t);if(o){var r=En.extractBrowserRequestState(n.cryptoImpl,o);r&&r.interactionType===e&&(n.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: "+o),n.resetRequestCache(o))}}})),this.clearMsalCookies(),this.setInteractionInProgress(!1)},n.prototype.cacheCodeRequest=function(e,n){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");var t=n.base64Encode(JSON.stringify(e));this.setTemporaryCache(m.p.REQUEST_PARAMS,t,!0)},n.prototype.getCachedRequest=function(e,n){this.logger.trace("BrowserCacheManager.getCachedRequest called");var t=this.getTemporaryCache(m.p.REQUEST_PARAMS,!0);if(!t)throw he.createNoTokenRequestCacheError();var o=this.validateAndParseJson(n.base64Decode(t));if(!o)throw he.createUnableToParseTokenRequestCacheError();if(this.removeItem(this.generateCacheKey(m.p.REQUEST_PARAMS)),_.a.isEmpty(o.authority)){var r=this.generateAuthorityKey(e),a=this.getTemporaryCache(r);if(!a)throw he.createNoCachedAuthorityError();o.authority=a}return o},n.prototype.getCachedNativeRequest=function(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");var e=this.getTemporaryCache(m.p.NATIVE_REQUEST,!0);if(!e)return this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null;var n=this.validateAndParseJson(e);return n||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null)},n.prototype.isInteractionInProgress=function(e){var n=this.getInteractionInProgress();return e?n===this.clientId:!!n},n.prototype.getInteractionInProgress=function(){var e=c.n.CACHE_PREFIX+"."+m.p.INTERACTION_STATUS_KEY;return this.getTemporaryCache(e,!1)},n.prototype.setInteractionInProgress=function(e){var n=c.n.CACHE_PREFIX+"."+m.p.INTERACTION_STATUS_KEY;if(e){if(this.getInteractionInProgress())throw he.createInteractionInProgressError();this.setTemporaryCache(n,this.clientId,!1)}else e||this.getInteractionInProgress()!==this.clientId||this.removeItem(n)},n.prototype.getLegacyLoginHint=function(){var e=this.getTemporaryCache(c.w.ADAL_ID_TOKEN);e&&(this.browserStorage.removeItem(c.w.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));var n=this.getTemporaryCache(c.w.ID_TOKEN,!0);n&&(this.removeItem(this.generateCacheKey(c.w.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));var t=n||e;if(t){var o=new cn(t,this.cryptoImpl);if(o.claims&&o.claims.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),o.claims.preferred_username;if(o.claims&&o.claims.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),o.claims.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null},n.prototype.updateCredentialCacheKey=function(e,n){var t=n.generateCredentialKey();if(e!==t){var o=this.getItem(e);if(o)return this.removeItem(e),this.setItem(t,o),this.logger.verbose("Updated an outdated "+n.credentialType+" cache key"),t;this.logger.error("Attempted to update an outdated "+n.credentialType+" cache key but no item matching the outdated key was found in storage")}return e},n.prototype.getRedirectRequestContext=function(){return this.getTemporaryCache(m.p.REDIRECT_CONTEXT,!0)},n.prototype.setRedirectRequestContext=function(e){this.setTemporaryCache(m.p.REDIRECT_CONTEXT,e,!0)},n}(un);!function(e){e.AAD="AAD",e.OIDC="OIDC"}(Cn||(Cn={})),function(e){e[e.None=0]="None",e.AzurePublic="https://login.microsoftonline.com",e.AzurePpe="https://login.windows-ppe.net",e.AzureChina="https://login.chinacloudapi.cn",e.AzureGermany="https://login.microsoftonline.de",e.AzureUsGovernment="https://login.microsoftonline.us"}(wn||(wn={}));var On="10.0.0",An={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},kn={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:ke.a.Info,correlationId:c.n.EMPTY_STRING},Tn={sendGetRequestAsync:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Network interface - sendGetRequestAsync() has not been implemented",l.a.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented")}))}))},sendPostRequestAsync:function(){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(e){throw"Network interface - sendPostRequestAsync() has not been implemented",l.a.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented")}))}))}},Pn={sku:c.n.SKU,version:On,cpu:c.n.EMPTY_STRING,os:c.n.EMPTY_STRING},Mn={clientSecret:c.n.EMPTY_STRING,clientAssertion:void 0},In={azureCloudInstance:wn.None,tenant:""+c.n.DEFAULT_COMMON_TENANT},Rn={application:{appName:"",appVersion:""}};var jn={sendGetRequestAsync:function(){return Promise.reject(l.a.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented for the Network interface."))},sendPostRequestAsync:function(){return Promise.reject(l.a.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented for the Network interface."))}},Nn=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t,o,r;return Object(a.d)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,fetch(e,{method:m.i.GET,headers:this.getFetchHeaders(n)})];case 1:return t=a.sent(),[3,3];case 2:throw o=a.sent(),window.navigator.onLine?he.createGetRequestFailedError(o,e):he.createNoNetworkConnectivityError();case 3:return a.trys.push([3,5,,6]),r={headers:this.getHeaderDict(t.headers)},[4,t.json()];case 4:return[2,(r.body=a.sent(),r.status=t.status,r)];case 5:throw a.sent(),he.createFailedToParseNetworkResponseError(e);case 6:return[2]}}))}))},e.prototype.sendPostRequestAsync=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t,o,r,i;return Object(a.d)(this,(function(a){switch(a.label){case 0:t=n&&n.body||c.n.EMPTY_STRING,a.label=1;case 1:return a.trys.push([1,3,,4]),[4,fetch(e,{method:m.i.POST,headers:this.getFetchHeaders(n),body:t})];case 2:return o=a.sent(),[3,4];case 3:throw r=a.sent(),window.navigator.onLine?he.createPostRequestFailedError(r,e):he.createNoNetworkConnectivityError();case 4:return a.trys.push([4,6,,7]),i={headers:this.getHeaderDict(o.headers)},[4,o.json()];case 5:return[2,(i.body=a.sent(),i.status=o.status,i)];case 6:throw a.sent(),he.createFailedToParseNetworkResponseError(e);case 7:return[2]}}))}))},e.prototype.getFetchHeaders=function(e){var n=new Headers;if(!e||!e.headers)return n;var t=e.headers;return Object.keys(t).forEach((function(e){n.append(e,t[e])})),n},e.prototype.getHeaderDict=function(e){var n={};return e.forEach((function(e,t){n[t]=e})),n},e}(),Ln=function(){function e(){}return e.prototype.sendGetRequestAsync=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,this.sendRequestAsync(e,m.i.GET,n)]}))}))},e.prototype.sendPostRequestAsync=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(t){return[2,this.sendRequestAsync(e,m.i.POST,n)]}))}))},e.prototype.sendRequestAsync=function(e,n,t){var o=this;return new Promise((function(r,a){var i=new XMLHttpRequest;if(i.open(n,e,!0),o.setXhrHeaders(i,t),i.onload=function(){(i.status<200||i.status>=300)&&(n===m.i.POST?a(he.createPostRequestFailedError("Failed with status "+i.status,e)):a(he.createGetRequestFailedError("Failed with status "+i.status,e)));try{var t=JSON.parse(i.responseText),s={headers:o.getHeaderDict(i),body:t,status:i.status};r(s)}catch(c){a(he.createFailedToParseNetworkResponseError(e))}},i.onerror=function(){window.navigator.onLine?n===m.i.POST?a(he.createPostRequestFailedError("Failed with status "+i.status,e)):a(he.createGetRequestFailedError("Failed with status "+i.status,e)):a(he.createNoNetworkConnectivityError())},n===m.i.POST&&t&&t.body)i.send(t.body);else{if(n!==m.i.GET)throw he.createHttpMethodNotImplementedError(n);i.send()}}))},e.prototype.setXhrHeaders=function(e,n){if(n&&n.headers){var t=n.headers;Object.keys(t).forEach((function(n){e.setRequestHeader(n,t[n])}))}},e.prototype.getHeaderDict=function(e){var n=e.getAllResponseHeaders().trim().split(/[\r\n]+/),t={};return n.forEach((function(e){var n=e.split(": "),o=n.shift(),r=n.join(": ");o&&r&&(t[o]=r)})),t},e}(),Fn=function(){function e(){}return e.clearHash=function(e){e.location.hash=c.n.EMPTY_STRING,"function"===typeof e.history.replaceState&&e.history.replaceState(null,c.n.EMPTY_STRING,""+e.location.origin+e.location.pathname+e.location.search)},e.replaceHash=function(e){var n=e.split("#");n.shift(),window.location.hash=n.length>0?n.join("#"):c.n.EMPTY_STRING},e.isInIframe=function(){return window.parent!==window},e.isInPopup=function(){return"undefined"!==typeof window&&!!window.opener&&window.opener!==window&&"string"===typeof window.name&&0===window.name.indexOf(m.c.POPUP_NAME_PREFIX+".")},e.getCurrentUri=function(){return window.location.href.split("?")[0].split("#")[0]},e.getHomepage=function(){var e=new _n(window.location.href).getUrlComponents();return e.Protocol+"//"+e.HostNameAndPort+"/"},e.getBrowserNetworkClient=function(){return window.fetch&&window.Headers?new Nn:new Ln},e.blockReloadInHiddenIframes=function(){if(_n.hashContainsKnownProperties(window.location.hash)&&e.isInIframe())throw he.createBlockReloadInHiddenIframeError()},e.blockRedirectInIframe=function(n,t){var o=e.isInIframe();if(n===m.l.Redirect&&o&&!t)throw he.createRedirectInIframeError(o)},e.blockAcquireTokenInPopups=function(){if(e.isInPopup())throw he.createBlockAcquireTokenInPopupsError()},e.blockNonBrowserEnvironment=function(e){if(!e)throw he.createNonBrowserEnvironmentError()},e.blockNativeBrokerCalledBeforeInitialized=function(e,n){if(e&&!n)throw he.createNativeBrokerCalledBeforeInitialize()},e.detectIEOrEdge=function(){var e=window.navigator.userAgent,n=e.indexOf("MSIE "),t=e.indexOf("Trident/"),o=e.indexOf("Edge/");return n>0||t>0||o>0},e}(),Un=function(){function e(){}return e.prototype.navigateInternal=function(n,t){return e.defaultNavigateWindow(n,t)},e.prototype.navigateExternal=function(n,t){return e.defaultNavigateWindow(n,t)},e.defaultNavigateWindow=function(e,n){return n.noHistory?window.location.replace(e):window.location.assign(e),new Promise((function(e){setTimeout((function(){e(!0)}),n.timeout)}))},e}(),Dn=6e3;var Bn,zn="@azure/msal-browser",Vn="2.33.0",Gn=t(24),Hn=function(){function e(e,n){this.eventCallbacks=new Map,this.logger=e,this.browserCrypto=n,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}return e.prototype.addEventCallback=function(e){if("undefined"!==typeof window){var n=this.browserCrypto.createNewGuid();return this.eventCallbacks.set(n,e),this.logger.verbose("Event callback registered with id: "+n),n}return null},e.prototype.removeEventCallback=function(e){this.eventCallbacks.delete(e),this.logger.verbose("Event callback "+e+" removed.")},e.prototype.enableAccountStorageEvents=function(){"undefined"!==typeof window&&(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))},e.prototype.disableAccountStorageEvents=function(){"undefined"!==typeof window&&(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))},e.prototype.emitEvent=function(e,n,t,o){var r=this;if("undefined"!==typeof window){var a={eventType:e,interactionType:n||null,payload:t||null,error:o||null,timestamp:Date.now()};this.logger.info("Emitting event: "+e),this.eventCallbacks.forEach((function(n,t){r.logger.verbose("Emitting event to callback "+t+": "+e),n.apply(null,[a])}))}},e.prototype.handleAccountCacheChange=function(e){try{var n=e.newValue||e.oldValue;if(!n)return;var t=JSON.parse(n);if("object"!==typeof t||!je.a.isAccountEntity(t))return;var o=un.toObject(new je.a,t).getAccountInfo();!e.oldValue&&e.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(Gn.a.ACCOUNT_ADDED,void 0,o)):!e.newValue&&e.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(Gn.a.ACCOUNT_REMOVED,void 0,o))}catch(e){return}},e}(),qn=function(){function e(){}return e.generateThrottlingStorageKey=function(e){return c.G.THROTTLING_PREFIX+"."+JSON.stringify(e)},e.preProcess=function(n,t){var o,r=e.generateThrottlingStorageKey(t),a=n.getThrottlingCache(r);if(a){if(a.throttleTime<Date.now())return void n.removeItem(r,c.j.THROTTLING);throw new d((null===(o=a.errorCodes)||void 0===o?void 0:o.join(" "))||c.n.EMPTY_STRING,a.errorMessage,a.subError)}},e.postProcess=function(n,t,o){if(e.checkResponseStatus(o)||e.checkResponseForRetryAfter(o)){var r={throttleTime:e.calculateThrottleTime(parseInt(o.headers[c.r.RETRY_AFTER])),error:o.body.error,errorCodes:o.body.error_codes,errorMessage:o.body.error_description,subError:o.body.suberror};n.setThrottlingCache(e.generateThrottlingStorageKey(t),r)}},e.checkResponseStatus=function(e){return 429===e.status||e.status>=500&&e.status<600},e.checkResponseForRetryAfter=function(e){return!!e.headers&&(e.headers.hasOwnProperty(c.r.RETRY_AFTER)&&(e.status<200||e.status>=300))},e.calculateThrottleTime=function(e){var n=e<=0?0:e,t=Date.now()/1e3;return Math.floor(1e3*Math.min(t+(n||c.G.DEFAULT_THROTTLE_TIME_SECONDS),t+c.G.DEFAULT_MAX_THROTTLE_TIME_SECONDS))},e.removeThrottle=function(e,n,t,o){var r={clientId:n,authority:t.authority,scopes:t.scopes,homeAccountIdentifier:o,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid},a=this.generateThrottlingStorageKey(r);return e.removeItem(a,c.j.THROTTLING)},e}(),Kn=function(){function e(e,n){this.networkClient=e,this.cacheManager=n}return e.prototype.sendPostRequest=function(e,n,t){return Object(u.b)(this,void 0,void 0,(function(){var o,r;return Object(u.d)(this,(function(a){switch(a.label){case 0:qn.preProcess(this.cacheManager,e),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(n,t)];case 2:return o=a.sent(),[3,4];case 3:throw(r=a.sent())instanceof l.a?r:Re.a.createNetworkError(n,r);case 4:return qn.postProcess(this.cacheManager,e,o),[2,o]}}))}))},e}(),Wn=t(57),$n=function(){function e(){}return e.validateRedirectUri=function(e){if(_.a.isEmpty(e))throw an.createRedirectUriEmptyError()},e.validatePrompt=function(e){var n=[];for(var t in c.x)n.push(c.x[t]);if(n.indexOf(e)<0)throw an.createInvalidPromptError(e)},e.validateClaims=function(e){try{JSON.parse(e)}catch(n){throw an.createInvalidClaimsRequestError()}},e.validateCodeChallengeParams=function(e,n){if(_.a.isEmpty(e)||_.a.isEmpty(n))throw an.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(n)},e.validateCodeChallengeMethod=function(e){if([c.m.PLAIN,c.m.S256].indexOf(e)<0)throw an.createInvalidCodeChallengeMethodError()},e.sanitizeEQParams=function(e,n){return e?(n.forEach((function(n,t){e[t]&&delete e[t]})),Object.fromEntries(Object.entries(e).filter((function(e){return""!==e[1]})))):{}},e}(),Yn=function(){function e(){this.parameters=new Map}return e.prototype.addResponseTypeCode=function(){this.parameters.set(c.b.RESPONSE_TYPE,encodeURIComponent(c.n.CODE_RESPONSE_TYPE))},e.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set(c.b.RESPONSE_TYPE,encodeURIComponent(c.n.TOKEN_RESPONSE_TYPE+" "+c.n.ID_TOKEN_RESPONSE_TYPE))},e.prototype.addResponseMode=function(e){this.parameters.set(c.b.RESPONSE_MODE,encodeURIComponent(e||c.B.QUERY))},e.prototype.addNativeBroker=function(){this.parameters.set(c.b.NATIVE_BROKER,encodeURIComponent("1"))},e.prototype.addScopes=function(e,n){void 0===n&&(n=!0);var t=n?Object(u.e)(e||[],c.t):e||[],o=new sn(t);this.parameters.set(c.b.SCOPE,encodeURIComponent(o.printScopes()))},e.prototype.addClientId=function(e){this.parameters.set(c.b.CLIENT_ID,encodeURIComponent(e))},e.prototype.addRedirectUri=function(e){$n.validateRedirectUri(e),this.parameters.set(c.b.REDIRECT_URI,encodeURIComponent(e))},e.prototype.addPostLogoutRedirectUri=function(e){$n.validateRedirectUri(e),this.parameters.set(c.b.POST_LOGOUT_URI,encodeURIComponent(e))},e.prototype.addIdTokenHint=function(e){this.parameters.set(c.b.ID_TOKEN_HINT,encodeURIComponent(e))},e.prototype.addDomainHint=function(e){this.parameters.set(c.D.DOMAIN_HINT,encodeURIComponent(e))},e.prototype.addLoginHint=function(e){this.parameters.set(c.D.LOGIN_HINT,encodeURIComponent(e))},e.prototype.addCcsUpn=function(e){this.parameters.set(c.r.CCS_HEADER,encodeURIComponent("UPN:"+e))},e.prototype.addCcsOid=function(e){this.parameters.set(c.r.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},e.prototype.addSid=function(e){this.parameters.set(c.D.SID,encodeURIComponent(e))},e.prototype.addClaims=function(e,n){var t=this.addClientCapabilitiesToClaims(e,n);$n.validateClaims(t),this.parameters.set(c.b.CLAIMS,encodeURIComponent(t))},e.prototype.addCorrelationId=function(e){this.parameters.set(c.b.CLIENT_REQUEST_ID,encodeURIComponent(e))},e.prototype.addLibraryInfo=function(e){this.parameters.set(c.b.X_CLIENT_SKU,e.sku),this.parameters.set(c.b.X_CLIENT_VER,e.version),e.os&&this.parameters.set(c.b.X_CLIENT_OS,e.os),e.cpu&&this.parameters.set(c.b.X_CLIENT_CPU,e.cpu)},e.prototype.addApplicationTelemetry=function(e){(null===e||void 0===e?void 0:e.appName)&&this.parameters.set(c.b.X_APP_NAME,e.appName),(null===e||void 0===e?void 0:e.appVersion)&&this.parameters.set(c.b.X_APP_VER,e.appVersion)},e.prototype.addPrompt=function(e){$n.validatePrompt(e),this.parameters.set(""+c.b.PROMPT,encodeURIComponent(e))},e.prototype.addState=function(e){_.a.isEmpty(e)||this.parameters.set(c.b.STATE,encodeURIComponent(e))},e.prototype.addNonce=function(e){this.parameters.set(c.b.NONCE,encodeURIComponent(e))},e.prototype.addCodeChallengeParams=function(e,n){if($n.validateCodeChallengeParams(e,n),!e||!n)throw an.createInvalidCodeChallengeParamsError();this.parameters.set(c.b.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set(c.b.CODE_CHALLENGE_METHOD,encodeURIComponent(n))},e.prototype.addAuthorizationCode=function(e){this.parameters.set(c.b.CODE,encodeURIComponent(e))},e.prototype.addDeviceCode=function(e){this.parameters.set(c.b.DEVICE_CODE,encodeURIComponent(e))},e.prototype.addRefreshToken=function(e){this.parameters.set(c.b.REFRESH_TOKEN,encodeURIComponent(e))},e.prototype.addCodeVerifier=function(e){this.parameters.set(c.b.CODE_VERIFIER,encodeURIComponent(e))},e.prototype.addClientSecret=function(e){this.parameters.set(c.b.CLIENT_SECRET,encodeURIComponent(e))},e.prototype.addClientAssertion=function(e){_.a.isEmpty(e)||this.parameters.set(c.b.CLIENT_ASSERTION,encodeURIComponent(e))},e.prototype.addClientAssertionType=function(e){_.a.isEmpty(e)||this.parameters.set(c.b.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},e.prototype.addOboAssertion=function(e){this.parameters.set(c.b.OBO_ASSERTION,encodeURIComponent(e))},e.prototype.addRequestTokenUse=function(e){this.parameters.set(c.b.REQUESTED_TOKEN_USE,encodeURIComponent(e))},e.prototype.addGrantType=function(e){this.parameters.set(c.b.GRANT_TYPE,encodeURIComponent(e))},e.prototype.addClientInfo=function(){this.parameters.set(c.g,"1")},e.prototype.addExtraQueryParameters=function(e){var n=this,t=$n.sanitizeEQParams(e,this.parameters);Object.keys(t).forEach((function(t){n.parameters.set(t,e[t])}))},e.prototype.addClientCapabilitiesToClaims=function(e,n){var t;if(e)try{t=JSON.parse(e)}catch(o){throw an.createInvalidClaimsRequestError()}else t={};return n&&n.length>0&&(t.hasOwnProperty(c.l.ACCESS_TOKEN)||(t[c.l.ACCESS_TOKEN]={}),t[c.l.ACCESS_TOKEN][c.l.XMS_CC]={values:n}),JSON.stringify(t)},e.prototype.addUsername=function(e){this.parameters.set(c.v.username,encodeURIComponent(e))},e.prototype.addPassword=function(e){this.parameters.set(c.v.password,encodeURIComponent(e))},e.prototype.addPopToken=function(e){_.a.isEmpty(e)||(this.parameters.set(c.b.TOKEN_TYPE,c.e.POP),this.parameters.set(c.b.REQ_CNF,encodeURIComponent(e)))},e.prototype.addSshJwk=function(e){_.a.isEmpty(e)||(this.parameters.set(c.b.TOKEN_TYPE,c.e.SSH),this.parameters.set(c.b.REQ_CNF,encodeURIComponent(e)))},e.prototype.addServerTelemetry=function(e){this.parameters.set(c.b.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set(c.b.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},e.prototype.addThrottling=function(){this.parameters.set(c.b.X_MS_LIB_CAPABILITY,c.G.X_MS_LIB_CAPABILITY_VALUE)},e.prototype.addLogoutHint=function(e){this.parameters.set(c.b.LOGOUT_HINT,encodeURIComponent(e))},e.prototype.createQueryString=function(){var e=new Array;return this.parameters.forEach((function(n,t){e.push(t+"="+n)})),e.join("&")},e}(),Qn=function(){function e(e,n){this.config=function(e){var n,t=e.authOptions,o=e.systemOptions,r=e.loggerOptions,a=e.storageInterface,i=e.networkInterface,s=e.cryptoInterface,c=e.clientCredentials,l=e.libraryInfo,d=e.telemetry,p=e.serverTelemetryManager,m=e.persistencePlugin,h=e.serializableCache,f=Object(u.a)(Object(u.a)({},kn),r);return{authOptions:(n=t,Object(u.a)({clientCapabilities:[],azureCloudOptions:In,skipAuthorityMetadataCache:!1},n)),systemOptions:Object(u.a)(Object(u.a)({},An),o),loggerOptions:f,storageInterface:a||new ln(t.clientId,Ie),networkInterface:i||Tn,cryptoInterface:s||Ie,clientCredentials:c||Mn,libraryInfo:Object(u.a)(Object(u.a)({},Pn),l),telemetry:Object(u.a)(Object(u.a)({},Rn),d),serverTelemetryManager:p||null,persistencePlugin:m||null,serializableCache:h||null}}(e),this.logger=new ke.b(this.config.loggerOptions,"@azure/msal-common",On),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Kn(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=n}return e.prototype.createTokenRequestHeaders=function(e){var n={};if(n[c.r.CONTENT_TYPE]=c.n.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case Le.HOME_ACCOUNT_ID:try{var t=Object(Wn.b)(e.credential);n[c.r.CCS_HEADER]="Oid:"+t.uid+"@"+t.utid}catch(o){this.logger.verbose("Could not parse home account ID for CCS Header: "+o)}break;case Le.UPN:n[c.r.CCS_HEADER]="UPN: "+e.credential}return n},e.prototype.executePostToTokenEndpoint=function(e,n,t,o){return Object(u.b)(this,void 0,void 0,(function(){var r;return Object(u.d)(this,(function(a){switch(a.label){case 0:return[4,this.networkManager.sendPostRequest(o,e,{body:n,headers:t})];case 1:return r=a.sent(),this.config.serverTelemetryManager&&r.status<500&&429!==r.status&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,r]}}))}))},e.prototype.updateAuthority=function(e){if(!e.discoveryComplete())throw Re.a.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},e.prototype.createTokenQueryParameters=function(e){var n=new Yn;return e.tokenQueryParameters&&n.addExtraQueryParameters(e.tokenQueryParameters),n.createQueryString()},e}(),Jn=t(69),Zn=function(e,n,t,o,r){this.account=e||null,this.idToken=n||null,this.accessToken=t||null,this.refreshToken=o||null,this.appMetadata=r||null};!function(e){e.SW="sw",e.UHW="uhw"}(Bn||(Bn={}));var Xn=function(){function e(e,n){this.cryptoUtils=e,this.performanceClient=n}return e.prototype.generateCnf=function(e){var n,t;return Object(u.b)(this,void 0,void 0,(function(){var r,a,i;return Object(u.d)(this,(function(s){switch(s.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.PopTokenGenerateCnf,e.correlationId),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.PopTokenGenerateKid,e.correlationId),[4,this.generateKid(e)];case 1:return r=s.sent(),a=this.cryptoUtils.base64Encode(JSON.stringify(r)),i={kid:r.kid,reqCnfString:a},[4,this.cryptoUtils.hashString(a)];case 2:return[2,(i.reqCnfHash=s.sent(),i)]}}))}))},e.prototype.generateKid=function(e){var n;return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(t){switch(t.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.PopTokenGenerateKid,e.correlationId),[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return[2,{kid:t.sent(),xms_ksl:Bn.SW}]}}))}))},e.prototype.signPopToken=function(e,n,t){return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(o){return[2,this.signPayload(e,n,t)]}))}))},e.prototype.signPayload=function(e,n,t,o){return Object(u.b)(this,void 0,void 0,(function(){var r,a,i,s,c,l;return Object(u.d)(this,(function(d){switch(d.label){case 0:return r=t.resourceRequestMethod,a=t.resourceRequestUri,i=t.shrClaims,s=t.shrNonce,c=a?new _n(a):void 0,l=null===c||void 0===c?void 0:c.getUrlComponents(),[4,this.cryptoUtils.signJwt(Object(u.a)({at:e,ts:pn.nowSeconds(),m:null===r||void 0===r?void 0:r.toUpperCase(),u:null===l||void 0===l?void 0:l.HostNameAndPort,nonce:s||this.cryptoUtils.createNewGuid(),p:null===l||void 0===l?void 0:l.AbsolutePath,q:(null===l||void 0===l?void 0:l.QueryString)?[[],l.QueryString]:void 0,client_claims:i||void 0},o),n,t.correlationId)];case 1:return[2,d.sent()]}}))}))},e}(),et=function(){function e(e,n){this.cache=e,this.hasChanged=n}return Object.defineProperty(e.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),e}(),nt=function(){function e(e,n,t,o,r,a,i){this.clientId=e,this.cacheStorage=n,this.cryptoObj=t,this.logger=o,this.serializableCache=r,this.persistencePlugin=a,this.performanceClient=i}return e.prototype.validateServerAuthorizationCodeResponse=function(e,n,t){if(!e.state||!n)throw e.state?Re.a.createStateNotFoundError("Cached State"):Re.a.createStateNotFoundError("Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(n))throw Re.a.createStateMismatchError();if(e.error||e.error_description||e.suberror){if(p.a.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new p.a(e.error||c.n.EMPTY_STRING,e.error_description,e.suberror,e.timestamp||c.n.EMPTY_STRING,e.trace_id||c.n.EMPTY_STRING,e.correlation_id||c.n.EMPTY_STRING,e.claims||c.n.EMPTY_STRING);throw new d(e.error||c.n.EMPTY_STRING,e.error_description,e.suberror)}e.client_info&&Object(Wn.a)(e.client_info,t)},e.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(p.a.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new p.a(e.error,e.error_description,e.suberror,e.timestamp||c.n.EMPTY_STRING,e.trace_id||c.n.EMPTY_STRING,e.correlation_id||c.n.EMPTY_STRING,e.claims||c.n.EMPTY_STRING);var n=e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id;throw new d(e.error,n,e.suberror)}},e.prototype.handleServerTokenResponse=function(n,t,r,a,i,s,l,d,p){var m;return Object(u.b)(this,void 0,void 0,(function(){var h,f,g,v,y,b;return Object(u.d)(this,(function(u){switch(u.label){case 0:if(null===(m=this.performanceClient)||void 0===m||m.addQueueMeasurement(o.HandleServerTokenResponse,n.correlation_id),n.id_token){if(h=new cn(n.id_token||c.n.EMPTY_STRING,this.cryptoObj),i&&!_.a.isEmpty(i.nonce)&&h.claims.nonce!==i.nonce)throw Re.a.createNonceMismatchError();if(a.maxAge||0===a.maxAge){if(!(f=h.claims.auth_time))throw Re.a.createAuthTimeNotFoundError();cn.checkMaxAge(f,a.maxAge)}}this.homeAccountIdentifier=je.a.generateHomeAccountId(n.client_info||c.n.EMPTY_STRING,t.authorityType,this.logger,this.cryptoObj,h),i&&i.state&&(g=bn.parseRequestState(this.cryptoObj,i.state)),n.key_id=n.key_id||a.sshKid||void 0,v=this.generateCacheRecord(n,t,r,a,h,s,i),u.label=1;case 1:return u.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),y=new et(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(y)]):[3,3];case 2:u.sent(),u.label=3;case 3:return!l||d||!v.account||(b=v.account.generateAccountKey(),this.cacheStorage.getAccount(b))?[4,this.cacheStorage.saveCacheRecord(v)]:(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,e.generateAuthenticationResult(this.cryptoObj,t,v,!1,a,h,g,void 0,p)]);case 4:return u.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&y?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(y)]):[3,7];case 6:u.sent(),u.label=7;case 7:return[7];case 8:return[2,e.generateAuthenticationResult(this.cryptoObj,t,v,!1,a,h,g,n.spa_code,p)]}}))}))},e.prototype.generateCacheRecord=function(e,n,t,o,r,a,i){var s,u,l=n.getPreferredCache();if(_.a.isEmpty(l))throw Re.a.createInvalidCacheEnvironmentError();!_.a.isEmpty(e.id_token)&&r&&(s=dn.createIdTokenEntity(this.homeAccountIdentifier,l,e.id_token||c.n.EMPTY_STRING,this.clientId,r.claims.tid||c.n.EMPTY_STRING),u=this.generateAccountEntity(e,r,n,i));var d=null;if(!_.a.isEmpty(e.access_token)){var p=e.scope?sn.fromString(e.scope):new sn(o.scopes||[]),m=("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,h=("string"===typeof e.ext_expires_in?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,f=("string"===typeof e.refresh_in?parseInt(e.refresh_in,10):e.refresh_in)||void 0,g=t+m,v=g+h,y=f&&f>0?t+f:void 0;d=mn.createAccessTokenEntity(this.homeAccountIdentifier,l,e.access_token||c.n.EMPTY_STRING,this.clientId,r?r.claims.tid||c.n.EMPTY_STRING:n.tenant,p.printScopes(),g,v,this.cryptoObj,y,e.token_type,a,e.key_id,o.claims,o.requestedClaimsHash)}var b=null;_.a.isEmpty(e.refresh_token)||(b=hn.createRefreshTokenEntity(this.homeAccountIdentifier,l,e.refresh_token||c.n.EMPTY_STRING,this.clientId,e.foci,a));var C=null;return _.a.isEmpty(e.foci)||(C=fn.createAppMetadataEntity(this.clientId,l,e.foci)),new Zn(u,s,d,b,C)},e.prototype.generateAccountEntity=function(e,n,t,o){var r=t.authorityType,a=o?o.cloud_graph_host_name:c.n.EMPTY_STRING,i=o?o.msgraph_host:c.n.EMPTY_STRING;if(r===Jn.a.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),je.a.createGenericAccount(this.homeAccountIdentifier,n,t,a,i);if(_.a.isEmpty(e.client_info)&&"AAD"===t.protocolMode)throw Re.a.createClientInfoEmptyError();return e.client_info?je.a.createAccount(e.client_info,this.homeAccountIdentifier,n,t,a,i):je.a.createGenericAccount(this.homeAccountIdentifier,n,t,a,i)},e.generateAuthenticationResult=function(e,n,t,o,r,a,i,s,l){var d,p,m;return Object(u.b)(this,void 0,void 0,(function(){var h,f,g,v,y,b,C,w,S,_,E;return Object(u.d)(this,(function(u){switch(u.label){case 0:if(h=c.n.EMPTY_STRING,f=[],g=null,y=c.n.EMPTY_STRING,!t.accessToken)return[3,4];if(t.accessToken.tokenType!==c.e.POP)return[3,2];if(b=new Xn(e),C=t.accessToken,w=C.secret,!(S=C.keyId))throw Re.a.createKeyIdMissingError();return[4,b.signPopToken(w,S,r)];case 1:return h=u.sent(),[3,3];case 2:h=t.accessToken.secret,u.label=3;case 3:f=sn.fromString(t.accessToken.target).asArray(),g=new Date(1e3*Number(t.accessToken.expiresOn)),v=new Date(1e3*Number(t.accessToken.extendedExpiresOn)),u.label=4;case 4:return t.appMetadata&&(y=t.appMetadata.familyId===c.F?c.F:c.n.EMPTY_STRING),_=(null===a||void 0===a?void 0:a.claims.oid)||(null===a||void 0===a?void 0:a.claims.sub)||c.n.EMPTY_STRING,E=(null===a||void 0===a?void 0:a.claims.tid)||c.n.EMPTY_STRING,[2,{authority:n.canonicalAuthority,uniqueId:_,tenantId:E,scopes:f,account:t.account?t.account.getAccountInfo():null,idToken:a?a.rawToken:c.n.EMPTY_STRING,idTokenClaims:a?a.claims:{},accessToken:h,fromCache:o,expiresOn:g,correlationId:r.correlationId,requestId:l||c.n.EMPTY_STRING,extExpiresOn:v,familyId:y,tokenType:(null===(d=t.accessToken)||void 0===d?void 0:d.tokenType)||c.n.EMPTY_STRING,state:i?i.userRequestState:c.n.EMPTY_STRING,cloudGraphHostName:(null===(p=t.account)||void 0===p?void 0:p.cloudGraphHostName)||c.n.EMPTY_STRING,msGraphHost:(null===(m=t.account)||void 0===m?void 0:m.msGraphHost)||c.n.EMPTY_STRING,code:s,fromNativeBroker:!1}]}}))}))},e}(),tt=function(e){function n(n,t){var o=e.call(this,n,t)||this;return o.includeRedirectUri=!0,o}return Object(u.c)(n,e),n.prototype.getAuthCodeUrl=function(e){var n,t;return Object(u.b)(this,void 0,void 0,(function(){var r;return Object(u.d)(this,(function(a){switch(a.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.GetAuthCodeUrl,e.correlationId),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.AuthClientCreateQueryString,e.correlationId),[4,this.createAuthCodeUrlQueryString(e)];case 1:return r=a.sent(),[2,_n.appendQueryString(this.authority.authorizationEndpoint,r)]}}))}))},n.prototype.acquireToken=function(e,n){var t,r,a,i,s,l;return Object(u.b)(this,void 0,void 0,(function(){var d,p,m,h,f,g,v=this;return Object(u.d)(this,(function(u){switch(u.label){case 0:if(!e||!e.code)throw Re.a.createTokenRequestCannotBeMadeError();return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(o.AuthClientAcquireToken,e.correlationId),d=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement("AuthCodeClientAcquireToken",e.correlationId),this.logger.info("in acquireToken call in auth-code client"),p=pn.nowSeconds(),null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(o.AuthClientExecuteTokenRequest,e.correlationId),[4,this.executeTokenRequest(this.authority,e)];case 1:return m=u.sent(),h=null===(i=m.headers)||void 0===i?void 0:i[c.r.X_MS_REQUEST_ID],(f=null===(s=m.headers)||void 0===s?void 0:s[c.r.X_MS_HTTP_VERSION])&&(null===d||void 0===d||d.addStaticFields({httpVerAuthority:f})),(g=new nt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin,this.performanceClient)).validateTokenResponse(m.body),null===(l=this.performanceClient)||void 0===l||l.setPreQueueTime(o.HandleServerTokenResponse,e.correlationId),[2,g.handleServerTokenResponse(m.body,this.authority,p,e,n,void 0,void 0,void 0,h).then((function(e){return null===d||void 0===d||d.endMeasurement({success:!0}),e})).catch((function(n){throw v.logger.verbose("Error in fetching token in ACC",e.correlationId),null===d||void 0===d||d.endMeasurement({errorCode:n.errorCode,subErrorCode:n.subError,success:!1}),n}))]}}))}))},n.prototype.handleFragmentResponse=function(e,n){var t=new nt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),o=new _n(e),r=_n.getDeserializedHash(o.getHash());if(t.validateServerAuthorizationCodeResponse(r,n,this.cryptoUtils),!r.code)throw Re.a.createNoAuthCodeInServerResponseError();return Object(u.a)(Object(u.a)({},r),{code:r.code})},n.prototype.getLogoutUri=function(e){if(!e)throw an.createEmptyLogoutRequestError();var n=this.createLogoutUrlQueryString(e);return _n.appendQueryString(this.authority.endSessionEndpoint,n)},n.prototype.executeTokenRequest=function(e,n){var t,r;return Object(u.b)(this,void 0,void 0,(function(){var a,i,s,l,d,p,m;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(o.AuthClientExecuteTokenRequest,n.correlationId),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(o.AuthClientCreateTokenRequestBody,n.correlationId),a=this.createTokenQueryParameters(n),i=_n.appendQueryString(e.tokenEndpoint,a),[4,this.createTokenRequestBody(n)];case 1:if(s=u.sent(),l=void 0,n.clientInfo)try{d=Object(Wn.a)(n.clientInfo,this.cryptoUtils),l={credential:""+d.uid+c.E.CLIENT_INFO_SEPARATOR+d.utid,type:Le.HOME_ACCOUNT_ID}}catch(h){this.logger.verbose("Could not parse client info for CCS Header: "+h)}return p=this.createTokenRequestHeaders(l||n.ccsCredential),m={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:n.scopes,claims:n.claims,authenticationScheme:n.authenticationScheme,resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,sshKid:n.sshKid},[2,this.executePostToTokenEndpoint(i,s,p,m)]}}))}))},n.prototype.createTokenRequestBody=function(e){var n,t;return Object(u.b)(this,void 0,void 0,(function(){var r,a,i,s,l,d,p,m;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.AuthClientCreateTokenRequestBody,e.correlationId),(r=new Yn).addClientId(this.config.authOptions.clientId),this.includeRedirectUri?r.addRedirectUri(e.redirectUri):$n.validateRedirectUri(e.redirectUri),r.addScopes(e.scopes),r.addAuthorizationCode(e.code),r.addLibraryInfo(this.config.libraryInfo),r.addApplicationTelemetry(this.config.telemetry.application),r.addThrottling(),this.serverTelemetryManager&&r.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&r.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&r.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(a=this.config.clientCredentials.clientAssertion,r.addClientAssertion(a.assertion),r.addClientAssertionType(a.assertionType)),r.addGrantType(c.q.AUTHORIZATION_CODE_GRANT),r.addClientInfo(),e.authenticationScheme!==c.e.POP?[3,2]:(i=new Xn(this.cryptoUtils,this.performanceClient),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.PopTokenGenerateCnf,e.correlationId),[4,i.generateCnf(e)]);case 1:return s=u.sent(),r.addPopToken(s.reqCnfString),[3,3];case 2:if(e.authenticationScheme===c.e.SSH){if(!e.sshJwk)throw an.createMissingSshJwkError();r.addSshJwk(e.sshJwk)}u.label=3;case 3:if(l=e.correlationId||this.config.cryptoInterface.createNewGuid(),r.addCorrelationId(l),(!_.a.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&r.addClaims(e.claims,this.config.authOptions.clientCapabilities),d=void 0,e.clientInfo)try{p=Object(Wn.a)(e.clientInfo,this.cryptoUtils),d={credential:""+p.uid+c.E.CLIENT_INFO_SEPARATOR+p.utid,type:Le.HOME_ACCOUNT_ID}}catch(h){this.logger.verbose("Could not parse client info for CCS Header: "+h)}else d=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&d)switch(d.type){case Le.HOME_ACCOUNT_ID:try{p=Object(Wn.b)(d.credential),r.addCcsOid(p)}catch(h){this.logger.verbose("Could not parse home account ID for CCS Header: "+h)}break;case Le.UPN:r.addCcsUpn(d.credential)}return e.tokenBodyParameters&&r.addExtraQueryParameters(e.tokenBodyParameters),!e.enableSpaAuthorizationCode||e.tokenBodyParameters&&e.tokenBodyParameters[c.b.RETURN_SPA_CODE]||r.addExtraQueryParameters(((m={})[c.b.RETURN_SPA_CODE]="1",m)),[2,r.createQueryString()]}}))}))},n.prototype.createAuthCodeUrlQueryString=function(e){var n;return Object(u.b)(this,void 0,void 0,(function(){var t,r,a,i,s,l,d;return Object(u.d)(this,(function(p){switch(p.label){case 0:if(null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.AuthClientCreateQueryString,e.correlationId),(t=new Yn).addClientId(this.config.authOptions.clientId),r=Object(u.e)(e.scopes||[],e.extraScopesToConsent||[]),t.addScopes(r),t.addRedirectUri(e.redirectUri),a=e.correlationId||this.config.cryptoInterface.createNewGuid(),t.addCorrelationId(a),t.addResponseMode(e.responseMode),t.addResponseTypeCode(),t.addLibraryInfo(this.config.libraryInfo),t.addApplicationTelemetry(this.config.telemetry.application),t.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&t.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&t.addPrompt(e.prompt),e.domainHint&&t.addDomainHint(e.domainHint),e.prompt!==c.x.SELECT_ACCOUNT)if(e.sid&&e.prompt===c.x.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),t.addSid(e.sid);else if(e.account){if(i=this.extractAccountSid(e.account),s=this.extractLoginHint(e.account)){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),t.addLoginHint(s);try{l=Object(Wn.b)(e.account.homeAccountId),t.addCcsOid(l)}catch(m){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(i&&e.prompt===c.x.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),t.addSid(i);try{l=Object(Wn.b)(e.account.homeAccountId),t.addCcsOid(l)}catch(m){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),t.addLoginHint(e.loginHint),t.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),t.addLoginHint(e.account.username);try{l=Object(Wn.b)(e.account.homeAccountId),t.addCcsOid(l)}catch(m){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),t.addLoginHint(e.loginHint),t.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return e.nonce&&t.addNonce(e.nonce),e.state&&t.addState(e.state),(!_.a.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),e.nativeBroker?(t.addNativeBroker(),e.authenticationScheme!==c.e.POP?[3,2]:[4,new Xn(this.cryptoUtils).generateCnf(e)]):[3,2];case 1:d=p.sent(),t.addPopToken(d.reqCnfHash),p.label=2;case 2:return[2,t.createQueryString()]}}))}))},n.prototype.createLogoutUrlQueryString=function(e){var n=new Yn;return e.postLogoutRedirectUri&&n.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&n.addCorrelationId(e.correlationId),e.idTokenHint&&n.addIdTokenHint(e.idTokenHint),e.state&&n.addState(e.state),e.logoutHint&&n.addLogoutHint(e.logoutHint),e.extraQueryParameters&&n.addExtraQueryParameters(e.extraQueryParameters),n.createQueryString()},n.prototype.extractAccountSid=function(e){var n;return(null===(n=e.idTokenClaims)||void 0===n?void 0:n.sid)||null},n.prototype.extractLoginHint=function(e){var n;return(null===(n=e.idTokenClaims)||void 0===n?void 0:n.login_hint)||null},n}(Qn);function ot(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}var rt={"https://login.microsoftonline.com/common/":{token_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/common/":{token_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/common/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/common/":{token_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/consumers/":{token_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/consumers/":{token_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/consumers/":{token_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/organizations/":{token_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/organizations/":{token_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/organizations/":{token_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"}},at={"https://login.microsoftonline.com/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/common/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/consumers/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/organizations/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]}};var it,st=function(){function e(e,n,t){this.networkInterface=e,this.performanceClient=n,this.correlationId=t}return e.prototype.detectRegion=function(n,t){var r,a,i,s;return Object(u.b)(this,void 0,void 0,(function(){var l,d,p,m,h;return Object(u.d)(this,(function(u){switch(u.label){case 0:if(null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(o.RegionDiscoveryDetectRegion,this.correlationId),l=n)return[3,8];d=e.IMDS_OPTIONS,u.label=1;case 1:return u.trys.push([1,6,,7]),null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(o.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(c.n.IMDS_VERSION,d)];case 2:return(p=u.sent()).status===c.A.httpSuccess&&(l=p.body,t.region_source=c.z.IMDS),p.status!==c.A.httpBadRequest?[3,5]:(null===(i=this.performanceClient)||void 0===i||i.setPreQueueTime(o.RegionDiscoveryGetCurrentVersion,this.correlationId),[4,this.getCurrentVersion(d)]);case 3:return(m=u.sent())?(null===(s=this.performanceClient)||void 0===s||s.setPreQueueTime(o.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(m,d)]):(t.region_source=c.z.FAILED_AUTO_DETECTION,[2,null]);case 4:(h=u.sent()).status===c.A.httpSuccess&&(l=h.body,t.region_source=c.z.IMDS),u.label=5;case 5:return[3,7];case 6:return u.sent(),t.region_source=c.z.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:t.region_source=c.z.ENVIRONMENT_VARIABLE,u.label=9;case 9:return l||(t.region_source=c.z.FAILED_AUTO_DETECTION),[2,l||null]}}))}))},e.prototype.getRegionFromIMDS=function(e,n){var t;return Object(u.b)(this,void 0,void 0,(function(){return Object(u.d)(this,(function(r){return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(o.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[2,this.networkInterface.sendGetRequestAsync(c.n.IMDS_ENDPOINT+"?api-version="+e+"&format=text",n,c.n.IMDS_TIMEOUT)]}))}))},e.prototype.getCurrentVersion=function(e){var n;return Object(u.b)(this,void 0,void 0,(function(){var t;return Object(u.d)(this,(function(r){switch(r.label){case 0:null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.RegionDiscoveryGetCurrentVersion,this.correlationId),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(c.n.IMDS_ENDPOINT+"?format=json",e)];case 2:return(t=r.sent()).status===c.A.httpBadRequest&&t.body&&t.body["newest-versions"]&&t.body["newest-versions"].length>0?[2,t.body["newest-versions"][0]]:[2,null];case 3:return r.sent(),[2,null];case 4:return[2]}}))}))},e.IMDS_OPTIONS={headers:{Metadata:"true"}},e}(),ct=function(){function e(e,n,t,o,r,a,i){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=n,this.cacheManager=t,this.authorityOptions=o,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=r,this.performanceClient=a,this.correlationId=i,this.regionDiscovery=new st(n,this.performanceClient,this.correlationId)}return Object.defineProperty(e.prototype,"authorityType",{get:function(){var e=this.canonicalAuthorityUrlComponents.PathSegments;if(e.length)switch(e[0].toLowerCase()){case c.n.ADFS:return Jn.a.Adfs;case c.n.DSTS:return Jn.a.Dsts}return Jn.a.Default},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(e){this._canonicalAuthority=new _n(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(e)}throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(e)}throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(e)}throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw Re.a.createLogoutNotSupportedError();var e=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(e)}throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.issuer);return this.replaceTenant(e)}throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jwksUri",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.jwks_uri);return this.replaceTenant(e)}throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),e.prototype.replaceTenant=function(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)},e.prototype.replacePath=function(e){var n=e,t=new _n(this.metadata.canonical_authority).getUrlComponents().PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((function(e,o){var r=t[o];e!==r&&(n=n.replace("/"+r+"/","/"+e+"/"))})),n},Object.defineProperty(e.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===Jn.a.Adfs||this.authorityType===Jn.a.Dsts||this.protocolMode===Cn.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),e.prototype.discoveryComplete=function(){return!!this.metadata},e.prototype.resolveEndpointsAsync=function(){var e,n,t;return Object(u.b)(this,void 0,void 0,(function(){var r,a,i,s;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(o.AuthorityResolveEndpointsAsync,this.correlationId),(r=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort))||(r=new vn).updateCanonicalAuthority(this.canonicalAuthority),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(o.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),[4,this.updateCloudDiscoveryMetadata(r)];case 1:return a=u.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,r.preferred_network),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.AuthorityUpdateEndpointMetadata,this.correlationId),[4,this.updateEndpointMetadata(r)];case 2:return i=u.sent(),a!==c.f.CACHE&&i!==c.f.CACHE&&(r.resetExpiresAt(),r.updateCanonicalAuthority(this.canonicalAuthority)),s=this.cacheManager.generateAuthorityMetadataCacheKey(r.preferred_cache),this.cacheManager.setAuthorityMetadata(s,r),this.metadata=r,[2]}}))}))},e.prototype.updateEndpointMetadata=function(e){var n,t,r,a,i,s;return Object(u.b)(this,void 0,void 0,(function(){var l,d;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.AuthorityUpdateEndpointMetadata,this.correlationId),(l=this.getEndpointMetadataFromConfig())?(e.updateEndpointMetadata(l,!1),[2,c.f.CONFIG]):this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!e.isExpired()?[2,c.f.CACHE]:(d=this.getEndpointMetadataFromHardcodedValues(),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),[4,this.getEndpointMetadataFromNetwork()]);case 1:return(l=u.sent())?(null===(r=this.authorityOptions.azureRegionConfiguration)||void 0===r?void 0:r.azureRegion)?(null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(o.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(l)]):[3,3]:[3,4];case 2:l=u.sent(),u.label=3;case 3:return e.updateEndpointMetadata(l,!0),[2,c.f.NETWORK];case 4:return!d||this.authorityOptions.skipAuthorityMetadataCache?[3,7]:(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)?(null===(s=this.performanceClient)||void 0===s||s.setPreQueueTime(o.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(d)]):[3,6];case 5:d=u.sent(),u.label=6;case 6:return e.updateEndpointMetadata(d,!1),[2,c.f.HARDCODED_VALUES];case 7:throw Re.a.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}}))}))},e.prototype.isAuthoritySameType=function(e){return new _n(e.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length},e.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(e){throw an.createInvalidAuthorityMetadataError()}return null},e.prototype.getEndpointMetadataFromNetwork=function(){var e;return Object(u.b)(this,void 0,void 0,(function(){var n,t;return Object(u.d)(this,(function(r){switch(r.label){case 0:null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(o.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),n={},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint,n)];case 2:return[2,ot((t=r.sent()).body)?t.body:null];case 3:return r.sent(),[2,null];case 4:return[2]}}))}))},e.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in rt?rt[this.canonicalAuthority]:null},e.prototype.updateMetadataWithRegionalInformation=function(n){var t,r,a,i,s,l,d;return Object(u.b)(this,void 0,void 0,(function(){var p,m;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(o.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(o.RegionDiscoveryDetectRegion,this.correlationId),[4,this.regionDiscovery.detectRegion(null===(a=this.authorityOptions.azureRegionConfiguration)||void 0===a?void 0:a.environmentRegion,this.regionDiscoveryMetadata)];case 1:return p=u.sent(),m=(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)===c.n.AZURE_REGION_AUTO_DISCOVER_FLAG?p:null===(s=this.authorityOptions.azureRegionConfiguration)||void 0===s?void 0:s.azureRegion,(null===(l=this.authorityOptions.azureRegionConfiguration)||void 0===l?void 0:l.azureRegion)===c.n.AZURE_REGION_AUTO_DISCOVER_FLAG?this.regionDiscoveryMetadata.region_outcome=p?c.y.AUTO_DETECTION_REQUESTED_SUCCESSFUL:c.y.AUTO_DETECTION_REQUESTED_FAILED:this.regionDiscoveryMetadata.region_outcome=p?(null===(d=this.authorityOptions.azureRegionConfiguration)||void 0===d?void 0:d.azureRegion)===p?c.y.CONFIGURED_MATCHES_DETECTED:c.y.CONFIGURED_NOT_DETECTED:c.y.CONFIGURED_NO_AUTO_DETECTION,m?(this.regionDiscoveryMetadata.region_used=m,[2,e.replaceWithRegionalInformation(n,m)]):[2,n]}}))}))},e.prototype.updateCloudDiscoveryMetadata=function(e){var n,t;return Object(u.b)(this,void 0,void 0,(function(){var r,a,i;return Object(u.d)(this,(function(s){switch(s.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),this.logger.verbose("Attempting to get cloud discovery metadata in the config"),this.logger.verbosePii("Known Authorities: "+(this.authorityOptions.knownAuthorities||c.n.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: "+(this.authorityOptions.authorityMetadata||c.n.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: "+(e.canonical_authority||c.n.NOT_APPLICABLE)),(r=this.getCloudDiscoveryMetadataFromConfig())?(this.logger.verbose("Found cloud discovery metadata in the config."),e.updateCloudDiscoveryMetadata(r,!1),[2,c.f.CONFIG]):(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the cache."),a=e.isExpired(),this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!a?(this.logger.verbose("Found metadata in the cache."),[2,c.f.CACHE]):(a&&this.logger.verbose("The metadata entity is expired."),this.logger.verbose("Did not find cloud discovery metadata in the cache... Attempting to get cloud discovery metadata from the network."),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),[4,this.getCloudDiscoveryMetadataFromNetwork()]));case 1:if(r=s.sent())return this.logger.verbose("cloud discovery metadata was successfully returned from getCloudDiscoveryMetadataFromNetwork()"),e.updateCloudDiscoveryMetadata(r,!0),[2,c.f.NETWORK];if(this.logger.verbose("Did not find cloud discovery metadata from the network... Attempting to get cloud discovery metadata from hardcoded values."),(i=this.getCloudDiscoveryMetadataFromHarcodedValues())&&!this.options.skipAuthorityMetadataCache)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),e.updateCloudDiscoveryMetadata(i,!1),[2,c.f.HARDCODED_VALUES];throw this.logger.error("Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error."),an.createUntrustedAuthorityError()}}))}))},e.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");var n=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),t=e.getCloudDiscoveryMetadataFromNetworkResponse(n.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),t)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),t;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch(o){throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),an.createInvalidCloudDiscoveryMetadataError()}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null},e.prototype.getCloudDiscoveryMetadataFromNetwork=function(){var n;return Object(u.b)(this,void 0,void 0,(function(){var t,r,a,i,s,d,p,m;return Object(u.d)(this,(function(u){switch(u.label){case 0:null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),t=""+c.n.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",r={},a=null,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(t,r)];case 2:if(i=u.sent(),s=void 0,d=void 0,function(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}(i.body))s=i.body,d=s.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: "+s.tenant_discovery_endpoint);else{if(!function(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}(i.body))return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),[2,null];if(this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: "+i.status),(s=i.body).error===c.n.INVALID_INSTANCE)return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),[2,null];this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is "+s.error),this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is "+s.error_description),this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),d=[]}return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),a=e.getCloudDiscoveryMetadataFromNetworkResponse(d,this.hostnameAndPort),[3,4];case 3:return(p=u.sent())instanceof l.a?this.logger.error("There was a network error while attempting to get the cloud discovery instance metadata.\nError: "+p.errorCode+"\nError Description: "+p.errorMessage):(m=p,this.logger.error("A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: "+m.name+"\nError Description: "+m.message)),[2,null];case 4:return a||(this.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),this.logger.verbose("Creating custom Authority for custom domain scenario."),a=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,a]}}))}))},e.prototype.getCloudDiscoveryMetadataFromHarcodedValues=function(){return this.canonicalAuthority in at?at[this.canonicalAuthority]:null},e.prototype.isInKnownAuthorities=function(){var e=this;return this.authorityOptions.knownAuthorities.filter((function(n){return _n.getDomainFromUrl(n).toLowerCase()===e.hostnameAndPort})).length>0},e.generateAuthority=function(e,n){var t;if(n&&n.azureCloudInstance!==wn.None){var o=n.tenant?n.tenant:c.n.DEFAULT_COMMON_TENANT;t=n.azureCloudInstance+"/"+o+"/"}return t||e},e.createCloudDiscoveryMetadataFromHost=function(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}},e.getCloudDiscoveryMetadataFromNetworkResponse=function(e,n){for(var t=0;t<e.length;t++){var o=e[t];if(o.aliases.indexOf(n)>-1)return o}return null},e.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw Re.a.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},e.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},e.isPublicCloudAuthority=function(e){return c.n.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},e.buildRegionalAuthorityString=function(e,n,t){var o=new _n(e);o.validateAsUri();var r=o.getUrlComponents(),a=n+"."+r.HostNameAndPort;this.isPublicCloudAuthority(r.HostNameAndPort)&&(a=n+"."+c.n.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var i=_n.constructAuthorityUriFromObject(Object(u.a)(Object(u.a)({},o.getUrlComponents()),{HostNameAndPort:a})).urlString;return t?i+"?"+t:i},e.replaceWithRegionalInformation=function(n,t){return n.authorization_endpoint=e.buildRegionalAuthorityString(n.authorization_endpoint,t),n.token_endpoint=e.buildRegionalAuthorityString(n.token_endpoint,t,c.n.REGIONAL_AUTH_NON_MSI_QUERY_STRING),n.end_session_endpoint&&(n.end_session_endpoint=e.buildRegionalAuthorityString(n.end_session_endpoint,t)),n},e}(),ut=function(){function e(){}return e.createDiscoveredInstance=function(n,t,r,a,i,s,c){return Object(u.b)(this,void 0,void 0,(function(){var l,d;return Object(u.d)(this,(function(u){switch(u.label){case 0:null===s||void 0===s||s.addQueueMeasurement(o.AuthorityFactoryCreateDiscoveredInstance,c),l=e.createInstance(n,t,r,a,i,s,c),u.label=1;case 1:return u.trys.push([1,3,,4]),null===s||void 0===s||s.setPreQueueTime(o.AuthorityResolveEndpointsAsync,c),[4,l.resolveEndpointsAsync()];case 2:return u.sent(),[2,l];case 3:throw d=u.sent(),Re.a.createEndpointDiscoveryIncompleteError(d);case 4:return[2]}}))}))},e.createInstance=function(e,n,t,o,r,a,i){if(_.a.isEmpty(e))throw an.createUrlEmptyError();return new ct(e,n,t,o,r,a,i)},e}(),lt=function(){function e(e,n){this.cacheOutcome=c.i.NO_CACHE_HIT,this.cacheManager=n,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||c.n.EMPTY_STRING,this.wrapperVer=e.wrapperVer||c.n.EMPTY_STRING,this.telemetryCacheKey=c.C.CACHE_KEY+c.E.CACHE_KEY_SEPARATOR+e.clientId}return e.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+c.C.VALUE_SEPARATOR+this.cacheOutcome,n=[this.wrapperSKU,this.wrapperVer].join(c.C.VALUE_SEPARATOR),t=[e,this.getRegionDiscoveryFields()].join(c.C.VALUE_SEPARATOR);return[c.C.SCHEMA_VERSION,t,n].join(c.C.CATEGORY_SEPARATOR)},e.prototype.generateLastRequestHeaderValue=function(){var n=this.getLastRequests(),t=e.maxErrorsToSend(n),o=n.failedRequests.slice(0,2*t).join(c.C.VALUE_SEPARATOR),r=n.errors.slice(0,t).join(c.C.VALUE_SEPARATOR),a=n.errors.length,i=[a,t<a?c.C.OVERFLOW_TRUE:c.C.OVERFLOW_FALSE].join(c.C.VALUE_SEPARATOR);return[c.C.SCHEMA_VERSION,n.cacheHits,o,r,i].join(c.C.CATEGORY_SEPARATOR)},e.prototype.cacheFailedRequest=function(e){var n=this.getLastRequests();n.errors.length>=c.C.MAX_CACHED_ERRORS&&(n.failedRequests.shift(),n.failedRequests.shift(),n.errors.shift()),n.failedRequests.push(this.apiId,this.correlationId),_.a.isEmpty(e.subError)?_.a.isEmpty(e.errorCode)?e&&e.toString()?n.errors.push(e.toString()):n.errors.push(c.C.UNKNOWN_ERROR):n.errors.push(e.errorCode):n.errors.push(e.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,n)},e.prototype.incrementCacheHits=function(){var e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits},e.prototype.getLastRequests=function(){var e=new gn;return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||e},e.prototype.clearTelemetryCache=function(){var n=this.getLastRequests(),t=e.maxErrorsToSend(n);if(t===n.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{var o=new gn;o.failedRequests=n.failedRequests.slice(2*t),o.errors=n.errors.slice(t),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,o)}},e.maxErrorsToSend=function(e){var n,t=0,o=0,r=e.errors.length;for(n=0;n<r;n++){var a=e.failedRequests[2*n]||c.n.EMPTY_STRING,i=e.failedRequests[2*n+1]||c.n.EMPTY_STRING,s=e.errors[n]||c.n.EMPTY_STRING;if(!((o+=a.toString().length+i.toString().length+s.length+3)<c.C.MAX_LAST_HEADER_BYTES))break;t+=1}return t},e.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||c.n.EMPTY_STRING),e.push(this.regionSource||c.n.EMPTY_STRING),e.push(this.regionOutcome||c.n.EMPTY_STRING),e.join(",")},e.prototype.updateRegionDiscoveryMetadata=function(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome},e.prototype.setCacheOutcome=function(e){this.cacheOutcome=e},e}(),dt=function(){function e(e,n,t,o,r,a,i,s,c){this.config=e,this.browserStorage=n,this.browserCrypto=t,this.networkClient=this.config.system.networkClient,this.eventHandler=r,this.navigationClient=a,this.nativeMessageHandler=s,this.correlationId=c||this.browserCrypto.createNewGuid(),this.logger=o.clone(m.c.MSAL_SKU,Vn,this.correlationId),this.performanceClient=i}return e.prototype.clearCacheOnLogout=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){switch(n.label){case 0:if(!e)return[3,5];je.a.accountInfoIsEqual(e,this.browserStorage.getActiveAccount(),!1)&&(this.logger.verbose("Setting active account to null"),this.browserStorage.setActiveAccount(null)),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.browserStorage.removeAccount(je.a.generateAccountCacheKey(e))];case 2:return n.sent(),this.logger.verbose("Cleared cache items belonging to the account provided in the logout request."),[3,4];case 3:return n.sent(),this.logger.error("Account provided in logout request was not found. Local cache unchanged."),[3,4];case 4:return[3,9];case 5:return n.trys.push([5,8,,9]),this.logger.verbose("No account provided in logout request, clearing all cache items.",this.correlationId),[4,this.browserStorage.clear()];case 6:return n.sent(),[4,this.browserCrypto.clearKeystore()];case 7:return n.sent(),[3,9];case 8:return n.sent(),this.logger.error("Attempted to clear all MSAL cache items and failed. Local cache unchanged."),[3,9];case 9:return[2]}}))}))},e.prototype.initializeBaseRequest=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i;return Object(a.d)(this,(function(s){switch(s.label){case 0:if(this.performanceClient.addQueueMeasurement(o.InitializeBaseRequest,e.correlationId),this.logger.verbose("Initializing BaseAuthRequest"),n=e.authority||this.config.auth.authority,t=Object(a.f)(e&&e.scopes||[]),(r=Object(a.a)(Object(a.a)({},e),{correlationId:this.correlationId,authority:n,scopes:t})).authenticationScheme){if(r.authenticationScheme===c.e.SSH){if(!e.sshJwk)throw an.createMissingSshJwkError();if(!e.sshKid)throw an.createMissingSshKidError()}this.logger.verbose('Authentication Scheme set to "'+r.authenticationScheme+'" as configured in Auth request')}else r.authenticationScheme=c.e.BEARER,this.logger.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request');return!e.claims||_.a.isEmpty(e.claims)?[3,2]:(i=r,[4,this.browserCrypto.hashString(e.claims)]);case 1:i.requestedClaimsHash=s.sent(),s.label=2;case 2:return[2,r]}}))}))},e.prototype.getRedirectUri=function(e){this.logger.verbose("getRedirectUri called");var n=e||this.config.auth.redirectUri||Fn.getCurrentUri();return _n.getAbsoluteUrl(n,Fn.getCurrentUri())},e.prototype.initializeServerTelemetryManager=function(e,n){this.logger.verbose("initializeServerTelemetryManager called");var t={clientId:this.config.auth.clientId,correlationId:this.correlationId,apiId:e,forceRefresh:n||!1,wrapperSKU:this.browserStorage.getWrapperMetadata()[0],wrapperVer:this.browserStorage.getWrapperMetadata()[1]};return new lt(t,this.browserStorage)},e.prototype.getDiscoveredAuthority=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){switch(t.label){case 0:return this.logger.verbose("getDiscoveredAuthority called"),n={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata},e?(this.logger.verbose("Creating discovered authority with request authority"),[4,ut.createDiscoveredInstance(e,this.config.system.networkClient,this.browserStorage,n,this.logger)]):[3,2];case 1:return[2,t.sent()];case 2:return this.logger.verbose("Creating discovered authority with configured authority"),[4,ut.createDiscoveredInstance(this.config.auth.authority,this.config.system.networkClient,this.browserStorage,n,this.logger)];case 3:return[2,t.sent()]}}))}))},e}(),pt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(n,e),n.prototype.initializeAuthorizationCodeRequest=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t;return Object(a.d)(this,(function(r){switch(r.label){case 0:return this.performanceClient.addQueueMeasurement(o.StandardInteractionClientInitializeAuthorizationCodeRequest,e.correlationId),this.logger.verbose("initializeAuthorizationRequest called",e.correlationId),[4,this.browserCrypto.generatePkceCodes()];case 1:return n=r.sent(),t=Object(a.a)(Object(a.a)({},e),{redirectUri:e.redirectUri,code:c.n.EMPTY_STRING,codeVerifier:n.verifier}),e.codeChallenge=n.challenge,e.codeChallengeMethod=c.n.S256_CODE_CHALLENGE_METHOD,[2,t]}}))}))},n.prototype.initializeLogoutRequest=function(e){this.logger.verbose("initializeLogoutRequest called",null===e||void 0===e?void 0:e.correlationId);var n=Object(a.a)({correlationId:this.correlationId||this.browserCrypto.createNewGuid()},e);if(e)if(e.logoutHint)this.logger.verbose("logoutHint has already been set in logoutRequest");else if(e.account){var t=this.getLogoutHintFromIdTokenClaims(e.account);t&&(this.logger.verbose("Setting logoutHint to login_hint ID Token Claim value for the account provided"),n.logoutHint=t)}else this.logger.verbose("logoutHint was not set and account was not passed into logout request, logoutHint will not be set");else this.logger.verbose("logoutHint will not be set since no logout request was configured");return e&&null===e.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri passed as null, not setting post logout redirect uri",n.correlationId):e&&e.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to uri set on logout request",n.correlationId),n.postLogoutRedirectUri=_n.getAbsoluteUrl(e.postLogoutRedirectUri,Fn.getCurrentUri())):null===this.config.auth.postLogoutRedirectUri?this.logger.verbose("postLogoutRedirectUri configured as null and no uri set on request, not passing post logout redirect",n.correlationId):this.config.auth.postLogoutRedirectUri?(this.logger.verbose("Setting postLogoutRedirectUri to configured uri",n.correlationId),n.postLogoutRedirectUri=_n.getAbsoluteUrl(this.config.auth.postLogoutRedirectUri,Fn.getCurrentUri())):(this.logger.verbose("Setting postLogoutRedirectUri to current page",n.correlationId),n.postLogoutRedirectUri=_n.getAbsoluteUrl(Fn.getCurrentUri(),Fn.getCurrentUri())),n},n.prototype.getLogoutHintFromIdTokenClaims=function(e){var n=e.idTokenClaims;if(n){if(n.login_hint)return n.login_hint;this.logger.verbose("The ID Token Claims tied to the provided account do not contain a login_hint claim, logoutHint will not be added to logout request")}else this.logger.verbose("The provided account does not contain ID Token Claims, logoutHint will not be added to logout request");return null},n.prototype.createAuthCodeClient=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var r;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(o.StandardInteractionClientCreateAuthCodeClient,this.correlationId),this.performanceClient.setPreQueueTime(o.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(e,n,t)];case 1:return r=a.sent(),[2,new tt(r,this.performanceClient)]}}))}))},n.prototype.getClientConfiguration=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var r,i;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(o.StandardInteractionClientGetClientConfiguration,this.correlationId),this.logger.verbose("getClientConfiguration called",this.correlationId),this.performanceClient.setPreQueueTime(o.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),[4,this.getDiscoveredAuthority(n,t)];case 1:return r=a.sent(),i=this.config.system.loggerOptions,[2,{authOptions:{clientId:this.config.auth.clientId,authority:r,clientCapabilities:this.config.auth.clientCapabilities},systemOptions:{tokenRenewalOffsetSeconds:this.config.system.tokenRenewalOffsetSeconds,preventCorsPreflight:!0},loggerOptions:{loggerCallback:i.loggerCallback,piiLoggingEnabled:i.piiLoggingEnabled,logLevel:i.logLevel,correlationId:this.correlationId},cryptoInterface:this.browserCrypto,networkInterface:this.networkClient,storageInterface:this.browserStorage,serverTelemetryManager:e,libraryInfo:{sku:m.c.MSAL_SKU,version:Vn,cpu:c.n.EMPTY_STRING,os:c.n.EMPTY_STRING},telemetry:this.config.telemetry}]}}))}))},n.prototype.validateAndExtractStateFromHash=function(e,n,t){if(this.logger.verbose("validateAndExtractStateFromHash called",t),!e.state)throw he.createHashDoesNotContainStateError();var o=En.extractBrowserRequestState(this.browserCrypto,e.state);if(!o)throw he.createUnableToParseStateError();if(o.interactionType!==n)throw he.createStateInteractionTypeMismatchError();return this.logger.verbose("Returning state from hash",t),e.state},n.prototype.getDiscoveredAuthority=function(e,n){var t;return Object(a.b)(this,void 0,void 0,(function(){var r,i,s,c;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(o.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),this.logger.verbose("getDiscoveredAuthority called",this.correlationId),r=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(o.StandardInteractionClientGetDiscoveredAuthority,this.correlationId),i={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},s=e||this.config.auth.authority,c=ct.generateAuthority(s,n||this.config.auth.azureCloudOptions),this.logger.verbose("Creating discovered authority with configured authority",this.correlationId),this.performanceClient.setPreQueueTime(o.AuthorityFactoryCreateDiscoveredInstance,this.correlationId),[4,ut.createDiscoveredInstance(c,this.config.system.networkClient,this.browserStorage,i,this.logger,this.performanceClient,this.correlationId).then((function(e){return r.endMeasurement({success:!0}),e})).catch((function(e){throw r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))];case 1:return[2,a.sent()]}}))}))},n.prototype.initializeAuthorizationRequest=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t,r,i,s,u,l,d;return Object(a.d)(this,(function(p){switch(p.label){case 0:return this.performanceClient.addQueueMeasurement(o.StandardInteractionClientInitializeAuthorizationRequest,this.correlationId),this.logger.verbose("initializeAuthorizationRequest called",this.correlationId),t=this.getRedirectUri(e.redirectUri),r={interactionType:n},i=bn.setRequestState(this.browserCrypto,e&&e.state||c.n.EMPTY_STRING,r),this.performanceClient.setPreQueueTime(o.InitializeBaseRequest,this.correlationId),u=[{}],[4,this.initializeBaseRequest(e)];case 1:return s=a.a.apply(void 0,[a.a.apply(void 0,u.concat([p.sent()])),{redirectUri:t,state:i,nonce:e.nonce||this.browserCrypto.createNewGuid(),responseMode:c.B.FRAGMENT}]),(l=e.account||this.browserStorage.getActiveAccount())&&(this.logger.verbose("Setting validated request account",this.correlationId),this.logger.verbosePii("Setting validated request account: "+l.homeAccountId,this.correlationId),s.account=l),_.a.isEmpty(s.loginHint)&&!l&&(d=this.browserStorage.getLegacyLoginHint())&&(s.loginHint=d),[2,s]}}))}))},n}(dt);!function(e){e.USER_INTERACTION_REQUIRED="USER_INTERACTION_REQUIRED",e.USER_CANCEL="USER_CANCEL",e.NO_NETWORK="NO_NETWORK",e.TRANSIENT_ERROR="TRANSIENT_ERROR",e.PERSISTENT_ERROR="PERSISTENT_ERROR",e.DISABLED="DISABLED",e.ACCOUNT_UNAVAILABLE="ACCOUNT_UNAVAILABLE"}(it||(it={}));var mt={code:"ContentError"},ht={code:"user_switch",desc:"User attempted to switch accounts in the native broker, which is not allowed. All new accounts must sign-in through the standard web flow first, please try again."},ft={code:"tokens_not_found_in_internal_memory_cache",desc:"Tokens not cached in MSAL JS internal memory, please make the WAM request"},gt=function(e){function n(t,o,r){var a=e.call(this,t,o)||this;return Object.setPrototypeOf(a,n.prototype),a.name="NativeAuthError",a.ext=r,a}return Object(a.c)(n,e),n.prototype.isFatal=function(){if(this.ext&&this.ext.status&&(this.ext.status===it.PERSISTENT_ERROR||this.ext.status===it.DISABLED))return!0;switch(this.errorCode){case mt.code:return!0;default:return!1}},n.createError=function(e,t,o){if(o&&o.status)switch(o.status){case it.ACCOUNT_UNAVAILABLE:return p.a.createNativeAccountUnavailableError();case it.USER_INTERACTION_REQUIRED:return new p.a(e,t);case it.USER_CANCEL:return he.createUserCancelledError();case it.NO_NETWORK:return he.createNoNetworkConnectivityError()}return new n(e,t,o)},n.createUserSwitchError=function(){return new n(ht.code,ht.desc)},n.createTokensNotFoundInCacheError=function(){return new n(ft.code,ft.desc)},n}(l.a),vt=function(e){function n(n,t){return e.call(this,n,t)||this}return Object(u.c)(n,e),n.prototype.acquireToken=function(e){var n,t,r,a,i,s,l;return Object(u.b)(this,void 0,void 0,(function(){var d,p,m,h,f,g,v=this;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.RefreshTokenClientAcquireToken,e.correlationId),d=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(o.RefreshTokenClientAcquireToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",e.correlationId),p=pn.nowSeconds(),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(o.RefreshTokenClientExecuteTokenRequest,e.correlationId),[4,this.executeTokenRequest(e,this.authority)];case 1:return m=u.sent(),h=null===(a=m.headers)||void 0===a?void 0:a[c.r.X_MS_HTTP_VERSION],null===d||void 0===d||d.addStaticFields({refreshTokenSize:(null===(i=m.body.refresh_token)||void 0===i?void 0:i.length)||0}),h&&(null===d||void 0===d||d.addStaticFields({httpVerToken:h})),f=null===(s=m.headers)||void 0===s?void 0:s[c.r.X_MS_REQUEST_ID],(g=new nt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(m.body),null===(l=this.performanceClient)||void 0===l||l.setPreQueueTime(o.HandleServerTokenResponse,e.correlationId),[2,g.handleServerTokenResponse(m.body,this.authority,p,e,void 0,void 0,!0,e.forceCache,f).then((function(e){return null===d||void 0===d||d.endMeasurement({success:!0}),e})).catch((function(n){throw v.logger.verbose("Error in fetching refresh token",e.correlationId),null===d||void 0===d||d.endMeasurement({errorCode:n.errorCode,subErrorCode:n.subError,success:!1}),n}))]}}))}))},n.prototype.acquireTokenByRefreshToken=function(e){var n,t,r,a;return Object(u.b)(this,void 0,void 0,(function(){var i,s;return Object(u.d)(this,(function(u){if(!e)throw an.createEmptyTokenRequestError();if(null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.RefreshTokenClientAcquireTokenByRefreshToken,e.correlationId),!e.account)throw Re.a.createNoAccountInSilentRequestError();if(this.cacheManager.isAppMetadataFOCI(e.account.environment,this.config.authOptions.clientId))try{return null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(o.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!0)]}catch(l){if(i=l instanceof p.a&&l.errorCode===p.b.noTokensFoundError.code,s=l instanceof d&&l.errorCode===c.p.INVALID_GRANT_ERROR&&l.subError===c.p.CLIENT_MISMATCH_ERROR,i||s)return null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(o.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!1)];throw l}return null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(o.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!1)]}))}))},n.prototype.acquireTokenWithCachedRefreshToken=function(e,n){var t,r,a;return Object(u.b)(this,void 0,void 0,(function(){var i,s,l;return Object(u.d)(this,(function(d){if(null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(o.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),i=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(o.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",e.correlationId),!(s=this.cacheManager.readRefreshTokenFromCache(this.config.authOptions.clientId,e.account,n)))throw null===i||void 0===i||i.discardMeasurement(),p.a.createNoTokensFoundError();return null===i||void 0===i||i.endMeasurement({success:!0}),l=Object(u.a)(Object(u.a)({},e),{refreshToken:s.secret,authenticationScheme:e.authenticationScheme||c.e.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:Le.HOME_ACCOUNT_ID}}),null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(o.RefreshTokenClientAcquireToken,e.correlationId),[2,this.acquireToken(l)]}))}))},n.prototype.executeTokenRequest=function(e,n){var t,r,a;return Object(u.b)(this,void 0,void 0,(function(){var i,s,c,l,d,p;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(o.RefreshTokenClientExecuteTokenRequest,e.correlationId),i=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(o.RefreshTokenClientExecuteTokenRequest,e.correlationId),null===(a=this.performanceClient)||void 0===a||a.setPreQueueTime(o.RefreshTokenClientCreateTokenRequestBody,e.correlationId),s=this.createTokenQueryParameters(e),c=_n.appendQueryString(n.tokenEndpoint,s),[4,this.createTokenRequestBody(e)];case 1:return l=u.sent(),d=this.createTokenRequestHeaders(e.ccsCredential),p={clientId:this.config.authOptions.clientId,authority:n.canonicalAuthority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},[2,this.executePostToTokenEndpoint(c,l,d,p).then((function(e){return null===i||void 0===i||i.endMeasurement({success:!0}),e})).catch((function(e){throw null===i||void 0===i||i.endMeasurement({success:!1}),e}))]}}))}))},n.prototype.createTokenRequestBody=function(e){var n,t,r;return Object(u.b)(this,void 0,void 0,(function(){var a,i,s,l,d,p,m;return Object(u.d)(this,(function(u){switch(u.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(o.RefreshTokenClientCreateTokenRequestBody,e.correlationId),a=e.correlationId,i=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement(o.BaseClientCreateTokenRequestHeaders,a),(s=new Yn).addClientId(this.config.authOptions.clientId),s.addScopes(e.scopes),s.addGrantType(c.q.REFRESH_TOKEN_GRANT),s.addClientInfo(),s.addLibraryInfo(this.config.libraryInfo),s.addApplicationTelemetry(this.config.telemetry.application),s.addThrottling(),this.serverTelemetryManager&&s.addServerTelemetry(this.serverTelemetryManager),s.addCorrelationId(a),s.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&s.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(l=this.config.clientCredentials.clientAssertion,s.addClientAssertion(l.assertion),s.addClientAssertionType(l.assertionType)),e.authenticationScheme!==c.e.POP?[3,2]:(d=new Xn(this.cryptoUtils,this.performanceClient),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(o.PopTokenGenerateCnf,e.correlationId),[4,d.generateCnf(e)]);case 1:return p=u.sent(),s.addPopToken(p.reqCnfString),[3,3];case 2:if(e.authenticationScheme===c.e.SSH){if(!e.sshJwk)throw null===i||void 0===i||i.endMeasurement({success:!1}),an.createMissingSshJwkError();s.addSshJwk(e.sshJwk)}u.label=3;case 3:if((!_.a.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&s.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case Le.HOME_ACCOUNT_ID:try{m=Object(Wn.b)(e.ccsCredential.credential),s.addCcsOid(m)}catch(h){this.logger.verbose("Could not parse home account ID for CCS Header: "+h)}break;case Le.UPN:s.addCcsUpn(e.ccsCredential.credential)}return null===i||void 0===i||i.endMeasurement({success:!0}),[2,s.createQueryString()]}}))}))},n}(Qn),yt=function(e){function n(n,t){return e.call(this,n,t)||this}return Object(u.c)(n,e),n.prototype.acquireToken=function(e){return Object(u.b)(this,void 0,void 0,(function(){var n;return Object(u.d)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.acquireCachedToken(e)];case 1:return[2,t.sent()];case 2:if((n=t.sent())instanceof Re.a&&n.errorCode===Re.b.tokenRefreshRequired.code)return[2,new vt(this.config,this.performanceClient).acquireTokenByRefreshToken(e)];throw n;case 3:return[2]}}))}))},n.prototype.acquireCachedToken=function(e){var n,t,o,r;return Object(u.b)(this,void 0,void 0,(function(){var a,i;return Object(u.d)(this,(function(s){switch(s.label){case 0:if(!e)throw an.createEmptyTokenRequestError();if(e.forceRefresh)throw null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome(c.i.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),Re.a.createRefreshRequiredError();if(!e.account)throw Re.a.createNoAccountInSilentRequestError();if(a=e.authority||this.authority.getPreferredCache(),!(i=this.cacheManager.readCacheRecord(e.account,this.config.authOptions.clientId,e,a)).accessToken)throw null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome(c.i.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),Re.a.createRefreshRequiredError();if(pn.wasClockTurnedBack(i.accessToken.cachedAt)||pn.isTokenExpired(i.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(o=this.serverTelemetryManager)||void 0===o||o.setCacheOutcome(c.i.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),Re.a.createRefreshRequiredError();if(i.accessToken.refreshOn&&pn.isTokenExpired(i.accessToken.refreshOn,0))throw null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome(c.i.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),Re.a.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(i,e)];case 1:return[2,s.sent()]}}))}))},n.prototype.generateResultFromCacheRecord=function(e,n){return Object(u.b)(this,void 0,void 0,(function(){var t,o;return Object(u.d)(this,(function(r){switch(r.label){case 0:if(e.idToken&&(t=new cn(e.idToken.secret,this.config.cryptoInterface)),n.maxAge||0===n.maxAge){if(!(o=null===t||void 0===t?void 0:t.claims.auth_time))throw Re.a.createAuthTimeNotFoundError();cn.checkMaxAge(o,n.maxAge)}return[4,nt.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,n,t)];case 1:return[2,r.sent()]}}))}))},n}(Qn),bt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s;return Object(a.d)(this,(function(a){switch(a.label){case 0:return n=this.performanceClient.startMeasurement(o.SilentCacheClientAcquireToken,e.correlationId),t=this.initializeServerTelemetryManager(m.a.acquireTokenSilent_silentFlow),[4,this.createSilentFlowClient(t,e.authority,e.azureCloudOptions)];case 1:r=a.sent(),this.logger.verbose("Silent auth client created"),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,r.acquireCachedToken(e)];case 3:return i=a.sent(),n.endMeasurement({success:!0,fromCache:!0}),[2,i];case 4:throw(s=a.sent())instanceof he&&s.errorCode===re.code&&this.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),n.endMeasurement({errorCode:s instanceof l.a&&s.errorCode||void 0,subErrorCode:s instanceof l.a&&s.subError||void 0,success:!1}),s;case 5:return[2]}}))}))},n.prototype.logout=function(){return Promise.reject(he.createSilentLogoutUnsupportedError())},n.prototype.createSilentFlowClient=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var r;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.performanceClient.setPreQueueTime(o.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(e,n,t)];case 1:return r=a.sent(),[2,new yt(r,this.performanceClient)]}}))}))},n.prototype.initializeSilentRequest=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t;return Object(a.d)(this,(function(r){switch(r.label){case 0:return this.performanceClient.addQueueMeasurement(o.InitializeSilentRequest,this.correlationId),this.performanceClient.setPreQueueTime(o.InitializeBaseRequest,this.correlationId),t=[Object(a.a)({},e)],[4,this.initializeBaseRequest(e)];case 1:return[2,a.a.apply(void 0,[a.a.apply(void 0,t.concat([r.sent()])),{account:n,forceRefresh:e.forceRefresh||!1}])]}}))}))},n}(pt),Ct=function(e){function n(n,t,o,r,a,i,s,c,u,l,d,p){var m=e.call(this,n,t,o,r,a,i,c,u,p)||this;return m.apiId=s,m.accountId=l,m.nativeMessageHandler=u,m.nativeStorageManager=d,m.silentCacheClient=new bt(n,m.nativeStorageManager,o,r,a,i,c,u,p),m}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s,c,u;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.logger.trace("NativeInteractionClient - acquireToken called."),n=this.performanceClient.startMeasurement(o.NativeInteractionClientAcquireToken,e.correlationId),t=pn.nowSeconds(),[4,this.initializeNativeRequest(e)];case 1:r=a.sent(),a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.acquireTokensFromCache(this.accountId,r)];case 3:return i=a.sent(),n.endMeasurement({success:!0,isNativeBroker:!1,fromCache:!0}),[2,i];case 4:return a.sent(),this.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call"),[3,5];case 5:return s={method:m.o.GetToken,request:r},[4,this.nativeMessageHandler.sendMessage(s)];case 6:return c=a.sent(),u=this.validateNativeResponse(c),[2,this.handleNativeResponse(u,r,t).then((function(e){return n.endMeasurement({success:!0,isNativeBroker:!0,requestId:e.requestId}),e})).catch((function(e){throw n.endMeasurement({success:!1,errorCode:e.errorCode,subErrorCode:e.subError,isNativeBroker:!0}),e}))]}}))}))},n.prototype.createSilentCacheRequest=function(e,n){return{authority:e.authority,correlationId:this.correlationId,scopes:sn.fromString(e.scope).asArray(),account:n,forceRefresh:!1}},n.prototype.acquireTokensFromCache=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t,o,r;return Object(a.d)(this,(function(a){switch(a.label){case 0:if(!(t=this.browserStorage.readAccountFromCacheWithNativeAccountId(e)))throw Re.a.createNoAccountFoundError();o=t.getAccountInfo(),a.label=1;case 1:return a.trys.push([1,3,,4]),r=this.createSilentCacheRequest(n,o),[4,this.silentCacheClient.acquireToken(r)];case 2:return[2,a.sent()];case 3:throw a.sent();case 4:return[2]}}))}))},n.prototype.acquireTokenRedirect=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,o,r,i,s;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.logger.trace("NativeInteractionClient - acquireTokenRedirect called."),[4,this.initializeNativeRequest(e)];case 1:n=a.sent(),t={method:m.o.GetToken,request:n},a.label=2;case 2:return a.trys.push([2,4,,5]),[4,this.nativeMessageHandler.sendMessage(t)];case 3:return o=a.sent(),this.validateNativeResponse(o),[3,5];case 4:if((r=a.sent())instanceof gt&&r.isFatal())throw r;return[3,5];case 5:return this.browserStorage.setTemporaryCache(m.p.NATIVE_REQUEST,JSON.stringify(n),!0),i={apiId:m.a.acquireTokenRedirect,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},s=this.config.auth.navigateToLoginRequestUrl?window.location.href:this.getRedirectUri(e.redirectUri),[4,this.navigationClient.navigateExternal(s,i)];case 6:return a.sent(),[2]}}))}))},n.prototype.handleRedirectPromise=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n,t,o,r,i,s,c;return Object(a.d)(this,(function(u){switch(u.label){case 0:if(this.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(e=this.browserStorage.getCachedNativeRequest()))return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),[2,null];n=e.prompt,t=Object(a.e)(e,["prompt"]),n&&this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),this.browserStorage.removeItem(this.browserStorage.generateCacheKey(m.p.NATIVE_REQUEST)),o={method:m.o.GetToken,request:t},r=pn.nowSeconds(),u.label=1;case 1:return u.trys.push([1,3,,4]),this.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker."),[4,this.nativeMessageHandler.sendMessage(o)];case 2:return i=u.sent(),this.validateNativeResponse(i),s=this.handleNativeResponse(i,t,r),this.browserStorage.setInteractionInProgress(!1),[2,s];case 3:throw c=u.sent(),this.browserStorage.setInteractionInProgress(!1),c;case 4:return[2]}}))}))},n.prototype.logout=function(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")},n.prototype.handleNativeResponse=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var o,r,i,s,u,l,d,p,m,h,f,g,v,y,b,C,w,S,_,E=this;return Object(a.d)(this,(function(a){switch(a.label){case 0:if(this.logger.trace("NativeInteractionClient - handleNativeResponse called."),o=this.getMATSFromResponse(e),this.performanceClient.addStaticFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:o?o.broker_version:void 0,matsAccountJoinOnStart:o?o.account_join_on_start:void 0,matsAccountJoinOnEnd:o?o.account_join_on_end:void 0,matsDeviceJoin:o?o.device_join:void 0,matsPromptBehavior:o?o.prompt_behavior:void 0,matsApiErrorCode:o?o.api_error_code:void 0,matsUiVisible:o?o.ui_visible:void 0,matsSilentCode:o?o.silent_code:void 0,matsSilentBiSubCode:o?o.silent_bi_sub_code:void 0,matsSilentMessage:o?o.silent_message:void 0,matsSilentStatus:o?o.silent_status:void 0,matsHttpStatus:o?o.http_status:void 0,matsHttpEventCount:o?o.http_event_count:void 0},this.correlationId),e.account.id!==n.accountId)throw gt.createUserSwitchError();return r=new cn(e.id_token||c.n.EMPTY_STRING,this.browserCrypto),[4,this.getDiscoveredAuthority(n.authority)];case 1:switch(i=a.sent(),s=i.getPreferredCache(),u=je.a.generateHomeAccountId(e.client_info||c.n.EMPTY_STRING,Jn.a.Default,this.logger,this.browserCrypto,r),l=je.a.createAccount(e.client_info,u,r,void 0,void 0,void 0,s,e.account.id),this.browserStorage.setAccount(l),d=e.scope?sn.fromString(e.scope):sn.fromString(n.scope),p=e.account.properties||{},m=p.UID||r.claims.oid||r.claims.sub||c.n.EMPTY_STRING,h=p.TenantId||r.claims.tid||c.n.EMPTY_STRING,g=c.e.BEARER,n.tokenType){case c.e.POP:return[3,2]}return[3,4];case 2:if(g=c.e.POP,e.shr)return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),f=e.shr,[3,5];if(v=new Xn(this.browserCrypto),y={resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,shrNonce:n.shrNonce},!n.keyId)throw Re.a.createKeyIdMissingError();return[4,v.signPopToken(e.access_token,n.keyId,y)];case 3:return f=a.sent(),[3,5];case 4:f=e.access_token,a.label=5;case 5:return b={authority:i.canonicalAuthority,uniqueId:m,tenantId:h,scopes:d.asArray(),account:l.getAccountInfo(),idToken:e.id_token,idTokenClaims:r.claims,accessToken:f,fromCache:!!o&&this.isResponseFromCache(o),expiresOn:new Date(1e3*Number(t+e.expires_in)),tokenType:g,correlationId:this.correlationId,state:e.state,fromNativeBroker:!0},C=dn.createIdTokenEntity(u,n.authority,e.id_token||c.n.EMPTY_STRING,n.clientId,r.claims.tid||c.n.EMPTY_STRING),this.nativeStorageManager.setIdTokenCredential(C),w=g===c.e.POP?c.n.SHR_NONCE_VALIDITY:("string"===typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,S=t+w,_=mn.createAccessTokenEntity(u,n.authority,f,n.clientId,h,d.printScopes(),S,0,this.browserCrypto),this.nativeStorageManager.setAccessTokenCredential(_),this.browserStorage.removeAccountContext(l).catch((function(e){E.logger.error("Error occurred while removing account context from browser storage. "+e)})),[2,b]}}))}))},n.prototype.validateNativeResponse=function(e){if(e.hasOwnProperty("access_token")&&e.hasOwnProperty("id_token")&&e.hasOwnProperty("client_info")&&e.hasOwnProperty("account")&&e.hasOwnProperty("scope")&&e.hasOwnProperty("expires_in"))return e;throw gt.createUnexpectedError("Response missing expected properties.")},n.prototype.getMATSFromResponse=function(e){if(e.properties.MATS)try{return JSON.parse(e.properties.MATS)}catch(n){this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null},n.prototype.isResponseFromCache=function(e){return"undefined"===typeof e.is_cached?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!e.is_cached},n.prototype.initializeNativeRequest=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,o,r,i,s,u,l,d,p=this;return Object(a.d)(this,(function(h){switch(h.label){case 0:return this.logger.trace("NativeInteractionClient - initializeNativeRequest called"),n=e.authority||this.config.auth.authority,(t=new _n(n)).validateAsUri(),o=e.scopes,r=Object(a.e)(e,["scopes"]),(i=new sn(o||[])).appendScopes(c.t),s=function(){switch(p.apiId){case m.a.ssoSilent:case m.a.acquireTokenSilent_silentFlow:return p.logger.trace("initializeNativeRequest: silent request sets prompt to none"),c.x.NONE}if(e.prompt)switch(e.prompt){case c.x.NONE:case c.x.CONSENT:case c.x.LOGIN:return p.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),e.prompt;default:throw p.logger.trace("initializeNativeRequest: prompt = "+e.prompt+" is not compatible with native flow"),he.createNativePromptParameterNotSupportedError()}else p.logger.trace("initializeNativeRequest: prompt was not provided")},u=Object(a.a)(Object(a.a)({},r),{accountId:this.accountId,clientId:this.config.auth.clientId,authority:t.urlString,scope:i.printScopes(),redirectUri:this.getRedirectUri(e.redirectUri),prompt:s(),correlationId:this.correlationId,tokenType:e.authenticationScheme,windowTitleSubstring:document.title,extraParameters:Object(a.a)(Object(a.a)(Object(a.a)({},e.extraQueryParameters),e.tokenQueryParameters),{telemetry:m.n.MATS_TELEMETRY}),extendedExpiryToken:!1}),e.authenticationScheme!==c.e.POP?[3,2]:(l={resourceRequestUri:e.resourceRequestUri,resourceRequestMethod:e.resourceRequestMethod,shrClaims:e.shrClaims,shrNonce:e.shrNonce},[4,new Xn(this.browserCrypto).generateCnf(l)]);case 1:d=h.sent(),u.reqCnf=d.reqCnfHash,u.keyId=d.kid,h.label=2;case 2:return[2,u]}}))}))},n}(dt),wt=function(){function e(e,n,t){this.logger=e,this.handshakeTimeoutMs=n,this.extensionId=t,this.resolvers=new Map,this.handshakeResolvers=new Map,this.responseId=0,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this)}return e.prototype.sendMessage=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t=this;return Object(a.d)(this,(function(o){return this.logger.trace("NativeMessageHandler - sendMessage called."),n={channel:m.n.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:e},this.logger.trace("NativeMessageHandler - Sending request to browser extension"),this.logger.tracePii("NativeMessageHandler - Sending request to browser extension: "+JSON.stringify(n)),this.messageChannel.port1.postMessage(n),[2,new Promise((function(e,o){t.resolvers.set(n.responseId,{resolve:e,reject:o})}))]}))}))},e.createProvider=function(n,t){return Object(a.b)(this,void 0,void 0,(function(){var o,r;return Object(a.d)(this,(function(a){switch(a.label){case 0:n.trace("NativeMessageHandler - createProvider called."),a.label=1;case 1:return a.trys.push([1,3,,5]),[4,(o=new e(n,t,m.n.PREFERRED_EXTENSION_ID)).sendHandshakeRequest()];case 2:return a.sent(),[2,o];case 3:return a.sent(),[4,(r=new e(n,t)).sendHandshakeRequest()];case 4:return a.sent(),[2,r];case 5:return[2]}}))}))},e.prototype.sendHandshakeRequest=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n=this;return Object(a.d)(this,(function(t){return this.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",this.windowListener,!1),e={channel:m.n.CHANNEL_ID,extensionId:this.extensionId,responseId:this.responseId++,body:{method:m.o.HandshakeRequest}},this.messageChannel.port1.onmessage=function(e){n.onChannelMessage(e)},window.postMessage(e,window.origin,[this.messageChannel.port2]),[2,new Promise((function(t,o){n.handshakeResolvers.set(e.responseId,{resolve:t,reject:o}),n.timeoutId=window.setTimeout((function(){window.removeEventListener("message",n.windowListener,!1),n.messageChannel.port1.close(),n.messageChannel.port2.close(),o(he.createNativeHandshakeTimeoutError()),n.handshakeResolvers.delete(e.responseId)}),n.handshakeTimeoutMs)}))]}))}))},e.prototype.onWindowMessage=function(e){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),e.source===window){var n=e.data;if(n.channel&&n.channel===m.n.CHANNEL_ID&&(!n.extensionId||n.extensionId===this.extensionId)&&n.body.method===m.o.HandshakeRequest){this.logger.verbose(n.extensionId?"Extension with id: "+n.extensionId+" not installed":"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1);var t=this.handshakeResolvers.get(n.responseId);t&&t.reject(he.createNativeExtensionNotInstalledError())}}},e.prototype.onChannelMessage=function(e){this.logger.trace("NativeMessageHandler - onChannelMessage called.");var n=e.data,t=this.resolvers.get(n.responseId),o=this.handshakeResolvers.get(n.responseId);try{var r=n.body.method;if(r===m.o.Response){if(!t)return;var a=n.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii("NativeMessageHandler - Received response from browser extension: "+JSON.stringify(a)),"Success"!==a.status)t.reject(gt.createError(a.code,a.description,a.ext));else{if(!a.result)throw l.a.createUnexpectedError("Event does not contain result.");a.result.code&&a.result.description?t.reject(gt.createError(a.result.code,a.result.description,a.result.ext)):t.resolve(a.result)}this.resolvers.delete(n.responseId)}else if(r===m.o.HandshakeResponse){if(!o)return;clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=n.extensionId,this.extensionVersion=n.body.version,this.logger.verbose("NativeMessageHandler - Received HandshakeResponse from extension: "+this.extensionId),o.resolve(),this.handshakeResolvers.delete(n.responseId)}}catch(i){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii("Error parsing response from WAM Extension: "+i.toString()),this.logger.errorPii("Unable to parse "+e),t?t.reject(i):o&&o.reject(i)}},e.prototype.getExtensionId=function(){return this.extensionId},e.prototype.getExtensionVersion=function(){return this.extensionVersion},e.isNativeAvailable=function(e,n,t,o){if(n.trace("isNativeAvailable called"),!e.system.allowNativeBroker)return n.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!t)return n.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(o)switch(o){case c.e.BEARER:case c.e.POP:return n.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return n.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0},e}(),St=function(){function e(e,n,t,o,r){this.authModule=e,this.browserStorage=n,this.authCodeRequest=t,this.logger=o,this.performanceClient=r}return e.prototype.handleCodeResponseFromHash=function(e,n,t,r){return Object(a.b)(this,void 0,void 0,(function(){var i,s,c;return Object(a.d)(this,(function(a){if(this.performanceClient.addQueueMeasurement(o.HandleCodeResponseFromHash,this.authCodeRequest.correlationId),this.logger.verbose("InteractionHandler.handleCodeResponse called"),_.a.isEmpty(e))throw he.createEmptyHashError(e);if(i=this.browserStorage.generateStateKey(n),!(s=this.browserStorage.getTemporaryCache(i)))throw Re.a.createStateNotFoundError("Cached State");try{c=this.authModule.handleFragmentResponse(e,s)}catch(u){throw u instanceof d&&u.subError===L.code?he.createUserCancelledError():u}return this.performanceClient.setPreQueueTime(o.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),[2,this.handleCodeResponseFromServer(c,n,t,r)]}))}))},e.prototype.handleCodeResponseFromServer=function(e,n,t,r,i){return void 0===i&&(i=!0),Object(a.b)(this,void 0,void 0,(function(){var s,c,u,l,d,p;return Object(a.d)(this,(function(a){switch(a.label){case 0:if(this.performanceClient.addQueueMeasurement(o.HandleCodeResponseFromServer,this.authCodeRequest.correlationId),this.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),s=this.browserStorage.generateStateKey(n),!(c=this.browserStorage.getTemporaryCache(s)))throw Re.a.createStateNotFoundError("Cached State");return u=this.browserStorage.generateNonceKey(c),l=this.browserStorage.getTemporaryCache(u),this.authCodeRequest.code=e.code,e.cloud_instance_host_name?(this.performanceClient.setPreQueueTime(o.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),[4,this.updateTokenEndpointAuthority(e.cloud_instance_host_name,t,r)]):[3,2];case 1:a.sent(),a.label=2;case 2:return i&&(e.nonce=l||void 0),e.state=c,e.client_info?this.authCodeRequest.clientInfo=e.client_info:(d=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=d),this.performanceClient.setPreQueueTime(o.AuthClientAcquireToken,this.authCodeRequest.correlationId),[4,this.authModule.acquireToken(this.authCodeRequest,e)];case 3:return p=a.sent(),this.browserStorage.cleanRequestByState(n),[2,p]}}))}))},e.prototype.updateTokenEndpointAuthority=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var r,i;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.performanceClient.addQueueMeasurement(o.UpdateTokenEndpointAuthority,this.authCodeRequest.correlationId),r="https://"+e+"/"+n.tenant+"/",[4,ut.createDiscoveredInstance(r,t,this.browserStorage,n.options,this.logger,this.performanceClient,this.authCodeRequest.correlationId)];case 1:return i=a.sent(),this.authModule.updateAuthority(i),[2]}}))}))},e.prototype.checkCcsCredentials=function(){var e=this.browserStorage.getTemporaryCache(m.p.CCS_CREDENTIAL,!0);if(e)try{return JSON.parse(e)}catch(n){this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii("Cache credential could not be parsed: "+e)}return null},e}(),_t=function(e){function n(n,t,o,r,a,i,s,c,u,l){var d=e.call(this,n,t,o,r,a,i,s,u,l)||this;return d.unloadWindow=d.unloadWindow.bind(d),d.nativeStorage=c,d}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){try{var n=this.generatePopupName(e.scopes||c.t,e.authority||this.config.auth.authority),t=e.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(e,n,t);this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");var o=this.openSizedPopup("about:blank",n,t);return this.acquireTokenPopupAsync(e,n,t,o)}catch(r){return Promise.reject(r)}},n.prototype.logout=function(e){try{this.logger.verbose("logoutPopup called");var n=this.initializeLogoutRequest(e),t=this.generateLogoutPopupName(n),o=e&&e.authority,r=e&&e.mainWindowRedirectUri,a=(null===e||void 0===e?void 0:e.popupWindowAttributes)||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(n,t,a,o,void 0,r);this.logger.verbose("asyncPopup set to false, opening popup");var i=this.openSizedPopup("about:blank",t,a);return this.logoutPopupAsync(n,t,a,o,i,r)}catch(s){return Promise.reject(s)}},n.prototype.acquireTokenPopupAsync=function(e,n,t,r){return Object(a.b)(this,void 0,void 0,(function(){var i,s,u,d,p,h,f,g,v,y,b,C,w,S,_,E,x=this;return Object(a.d)(this,(function(O){switch(O.label){case 0:return this.logger.verbose("acquireTokenPopupAsync called"),i=this.initializeServerTelemetryManager(m.a.acquireTokenPopup),this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(e,m.l.Popup)];case 1:s=O.sent(),this.browserStorage.updateCacheEntries(s.state,s.nonce,s.authority,s.loginHint||c.n.EMPTY_STRING,s.account||null),O.label=2;case 2:return O.trys.push([2,8,,9]),this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationCodeRequest,e.correlationId),[4,this.initializeAuthorizationCodeRequest(s)];case 3:return u=O.sent(),this.performanceClient.setPreQueueTime(o.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(i,s.authority,s.azureCloudOptions)];case 4:return d=O.sent(),this.logger.verbose("Auth code client created"),p=wt.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme),h=void 0,p&&(h=this.performanceClient.startMeasurement(o.FetchAccountIdWithNativeBroker,e.correlationId)),[4,d.getAuthCodeUrl(Object(a.a)(Object(a.a)({},s),{nativeBroker:p}))];case 5:return f=O.sent(),g=new St(d,this.browserStorage,u,this.logger,this.performanceClient),v={popup:r,popupName:n,popupWindowAttributes:t},y=this.initiateAuthRequest(f,v),this.eventHandler.emitEvent(Gn.a.POPUP_OPENED,m.l.Popup,{popupWindow:y},null),[4,this.monitorPopupForHash(y)];case 6:if(b=O.sent(),C=_n.getDeserializedHash(b),w=this.validateAndExtractStateFromHash(C,m.l.Popup,s.correlationId),qn.removeThrottle(this.browserStorage,this.config.auth.clientId,u),C.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),h&&h.endMeasurement({success:!0,isNativeBroker:!0}),!this.nativeMessageHandler)throw he.createNativeConnectionNotEstablishedError();return S=new Ct(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,m.a.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,C.accountId,this.nativeStorage,s.correlationId),_=bn.parseRequestState(this.browserCrypto,w).userRequestState,[2,S.acquireToken(Object(a.a)(Object(a.a)({},s),{state:_,prompt:void 0})).finally((function(){x.browserStorage.cleanRequestByState(w)}))]}return[4,g.handleCodeResponseFromHash(b,w,d.authority,this.networkClient)];case 7:return[2,O.sent()];case 8:throw E=O.sent(),r&&r.close(),E instanceof l.a&&E.setCorrelationId(this.correlationId),i.cacheFailedRequest(E),this.browserStorage.cleanRequestByState(s.state),E;case 9:return[2]}}))}))},n.prototype.logoutPopupAsync=function(e,n,t,r,i,s){return Object(a.b)(this,void 0,void 0,(function(){var c,u,d,p,h,f,g;return Object(a.d)(this,(function(a){switch(a.label){case 0:this.logger.verbose("logoutPopupAsync called"),this.eventHandler.emitEvent(Gn.a.LOGOUT_START,m.l.Popup,e),c=this.initializeServerTelemetryManager(m.a.logoutPopup),a.label=1;case 1:return a.trys.push([1,5,,6]),[4,this.clearCacheOnLogout(e.account)];case 2:return a.sent(),this.performanceClient.setPreQueueTime(o.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(c,r)];case 3:return u=a.sent(),this.logger.verbose("Auth code client created"),d=u.getLogoutUri(e),this.eventHandler.emitEvent(Gn.a.LOGOUT_SUCCESS,m.l.Popup,e),p=this.openPopup(d,{popupName:n,popupWindowAttributes:t,popup:i}),this.eventHandler.emitEvent(Gn.a.POPUP_OPENED,m.l.Popup,{popupWindow:p},null),[4,this.waitForLogoutPopup(p)];case 4:return a.sent(),s?(h={apiId:m.a.logoutPopup,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},f=_n.getAbsoluteUrl(s,Fn.getCurrentUri()),this.logger.verbose("Redirecting main window to url specified in the request"),this.logger.verbosePii("Redirecting main window to: "+f),this.navigationClient.navigateInternal(f,h)):this.logger.verbose("No main window navigation requested"),[3,6];case 5:throw g=a.sent(),i&&i.close(),g instanceof l.a&&g.setCorrelationId(this.correlationId),this.browserStorage.setInteractionInProgress(!1),this.eventHandler.emitEvent(Gn.a.LOGOUT_FAILURE,m.l.Popup,null,g),this.eventHandler.emitEvent(Gn.a.LOGOUT_END,m.l.Popup),c.cacheFailedRequest(g),g;case 6:return this.eventHandler.emitEvent(Gn.a.LOGOUT_END,m.l.Popup),[2]}}))}))},n.prototype.initiateAuthRequest=function(e,n){if(_.a.isEmpty(e))throw this.logger.error("Navigate url is empty"),he.createEmptyNavigationUriError();return this.logger.infoPii("Navigate to: "+e),this.openPopup(e,n)},n.prototype.monitorPopupForHash=function(e){var n=this;return new Promise((function(t,o){var r=n.config.system.windowHashTimeout/n.config.system.pollIntervalMilliseconds,a=0;n.logger.verbose("PopupHandler.monitorPopupForHash - polling started");var i=setInterval((function(){if(e.closed)return n.logger.error("PopupHandler.monitorPopupForHash - window closed"),n.cleanPopup(),clearInterval(i),void o(he.createUserCancelledError());var s=c.n.EMPTY_STRING,u=c.n.EMPTY_STRING;try{s=e.location.href,u=e.location.hash}catch(l){}_.a.isEmpty(s)||"about:blank"===s||(n.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),a++,u?(n.logger.verbose("PopupHandler.monitorPopupForHash - found hash in url"),clearInterval(i),n.cleanPopup(e),_n.hashContainsKnownProperties(u)?(n.logger.verbose("PopupHandler.monitorPopupForHash - hash contains known properties, returning."),t(u)):(n.logger.error("PopupHandler.monitorPopupForHash - found hash in url but it does not contain known properties. Check that your router is not changing the hash prematurely."),n.logger.errorPii("PopupHandler.monitorPopupForHash - hash found: "+u),o(he.createHashDoesNotContainKnownPropertiesError()))):a>r&&(n.logger.error("PopupHandler.monitorPopupForHash - unable to find hash in url, timing out"),clearInterval(i),o(he.createMonitorPopupTimeoutError())))}),n.config.system.pollIntervalMilliseconds)}))},n.prototype.waitForLogoutPopup=function(e){var n=this;return new Promise((function(t){n.logger.verbose("PopupHandler.waitForLogoutPopup - polling started");var o=setInterval((function(){e.closed&&(n.logger.error("PopupHandler.waitForLogoutPopup - window closed"),n.cleanPopup(),clearInterval(o),t());var r=c.n.EMPTY_STRING;try{r=e.location.href}catch(a){}_.a.isEmpty(r)||"about:blank"===r||(n.logger.verbose("PopupHandler.waitForLogoutPopup - popup window is on same origin as caller, closing."),clearInterval(o),n.cleanPopup(e),t())}),n.config.system.pollIntervalMilliseconds)}))},n.prototype.openPopup=function(e,n){try{var t=void 0;if(n.popup?(t=n.popup,this.logger.verbosePii("Navigating popup window to: "+e),t.location.assign(e)):"undefined"===typeof n.popup&&(this.logger.verbosePii("Opening popup window to: "+e),t=this.openSizedPopup(e,n.popupName,n.popupWindowAttributes)),!t)throw he.createEmptyWindowCreatedError();return t.focus&&t.focus(),this.currentWindow=t,window.addEventListener("beforeunload",this.unloadWindow),t}catch(o){throw this.logger.error("error opening popup "+o.message),this.browserStorage.setInteractionInProgress(!1),he.createPopupWindowError(o.toString())}},n.prototype.openSizedPopup=function(e,n,t){var o,r,a,i,s=window.screenLeft?window.screenLeft:window.screenX,c=window.screenTop?window.screenTop:window.screenY,u=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,l=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,d=null===(o=t.popupSize)||void 0===o?void 0:o.width,p=null===(r=t.popupSize)||void 0===r?void 0:r.height,h=null===(a=t.popupPosition)||void 0===a?void 0:a.top,f=null===(i=t.popupPosition)||void 0===i?void 0:i.left;return(!d||d<0||d>u)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),d=m.c.POPUP_WIDTH),(!p||p<0||p>l)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),p=m.c.POPUP_HEIGHT),(!h||h<0||h>l)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),h=Math.max(0,l/2-m.c.POPUP_HEIGHT/2+c)),(!f||f<0||f>u)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),f=Math.max(0,u/2-m.c.POPUP_WIDTH/2+s)),window.open(e,n,"width="+d+", height="+p+", top="+h+", left="+f+", scrollbars=yes")},n.prototype.unloadWindow=function(e){this.browserStorage.cleanRequestByInteractionType(m.l.Popup),this.currentWindow&&this.currentWindow.close(),e.preventDefault()},n.prototype.cleanPopup=function(e){e&&e.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)},n.prototype.generatePopupName=function(e,n){return m.c.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+e.join("-")+"."+n+"."+this.correlationId},n.prototype.generateLogoutPopupName=function(e){var n=e.account&&e.account.homeAccountId;return m.c.POPUP_NAME_PREFIX+"."+this.config.auth.clientId+"."+n+"."+this.correlationId},n}(pt),Et=function(e){function n(n,t,o,r,a,i){var s=e.call(this,n,t,o,r,i)||this;return s.browserCrypto=a,s}return Object(a.c)(n,e),n.prototype.initiateAuthRequest=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t;return Object(a.d)(this,(function(o){switch(o.label){case 0:return this.logger.verbose("RedirectHandler.initiateAuthRequest called"),_.a.isEmpty(e)?[3,7]:(n.redirectStartPage&&(this.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),this.browserStorage.setTemporaryCache(m.p.ORIGIN_URI,n.redirectStartPage,!0)),this.browserStorage.setTemporaryCache(m.p.CORRELATION_ID,this.authCodeRequest.correlationId,!0),this.browserStorage.cacheCodeRequest(this.authCodeRequest,this.browserCrypto),this.logger.infoPii("RedirectHandler.initiateAuthRequest: Navigate to: "+e),t={apiId:m.a.acquireTokenRedirect,timeout:n.redirectTimeout,noHistory:!1},"function"!==typeof n.onRedirectNavigate?[3,4]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1===n.onRedirectNavigate(e)?[3,2]:(this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),[4,n.navigationClient.navigateExternal(e,t)])));case 1:return o.sent(),[2];case 2:return this.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation"),[2];case 3:return[3,6];case 4:return this.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),[4,n.navigationClient.navigateExternal(e,t)];case 5:return o.sent(),[2];case 6:return[3,8];case 7:throw this.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),he.createEmptyNavigationUriError();case 8:return[2]}}))}))},n.prototype.handleCodeResponseFromHash=function(e,n,t,o){return Object(a.b)(this,void 0,void 0,(function(){var r,i,s,c,u,l,p;return Object(a.d)(this,(function(a){switch(a.label){case 0:if(this.logger.verbose("RedirectHandler.handleCodeResponse called"),_.a.isEmpty(e))throw he.createEmptyHashError(e);if(this.browserStorage.setInteractionInProgress(!1),r=this.browserStorage.generateStateKey(n),!(i=this.browserStorage.getTemporaryCache(r)))throw Re.a.createStateNotFoundError("Cached State");try{s=this.authModule.handleFragmentResponse(e,i)}catch(m){throw m instanceof d&&m.subError===L.code?he.createUserCancelledError():m}return c=this.browserStorage.generateNonceKey(i),u=this.browserStorage.getTemporaryCache(c),this.authCodeRequest.code=s.code,s.cloud_instance_host_name?[4,this.updateTokenEndpointAuthority(s.cloud_instance_host_name,t,o)]:[3,2];case 1:a.sent(),a.label=2;case 2:return s.nonce=u||void 0,s.state=i,s.client_info?this.authCodeRequest.clientInfo=s.client_info:(l=this.checkCcsCredentials())&&(this.authCodeRequest.ccsCredential=l),[4,this.authModule.acquireToken(this.authCodeRequest,s)];case 3:return p=a.sent(),this.browserStorage.cleanRequestByState(n),[2,p]}}))}))},n}(St),xt=function(e){function n(n,t,o,r,a,i,s,c,u,l){var d=e.call(this,n,t,o,r,a,i,s,u,l)||this;return d.nativeStorage=c,d}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s,u,d,p,h,f=this;return Object(a.d)(this,(function(g){switch(g.label){case 0:return this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(e,m.l.Redirect)];case 1:n=g.sent(),this.browserStorage.updateCacheEntries(n.state,n.nonce,n.authority,n.loginHint||c.n.EMPTY_STRING,n.account||null),t=this.initializeServerTelemetryManager(m.a.acquireTokenRedirect),r=function(e){e.persisted&&(f.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),f.browserStorage.cleanRequestByState(n.state))},g.label=2;case 2:return g.trys.push([2,7,,8]),this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationCodeRequest,e.correlationId),[4,this.initializeAuthorizationCodeRequest(n)];case 3:return i=g.sent(),this.performanceClient.setPreQueueTime(o.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(t,n.authority,n.azureCloudOptions)];case 4:return s=g.sent(),this.logger.verbose("Auth code client created"),u=new Et(s,this.browserStorage,i,this.logger,this.browserCrypto,this.performanceClient),[4,s.getAuthCodeUrl(Object(a.a)(Object(a.a)({},n),{nativeBroker:wt.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,e.authenticationScheme)}))];case 5:return d=g.sent(),p=this.getRedirectStartPage(e.redirectStartPage),this.logger.verbosePii("Redirect start page: "+p),window.addEventListener("pageshow",r),[4,u.initiateAuthRequest(d,{navigationClient:this.navigationClient,redirectTimeout:this.config.system.redirectNavigationTimeout,redirectStartPage:p,onRedirectNavigate:e.onRedirectNavigate})];case 6:return[2,g.sent()];case 7:throw(h=g.sent())instanceof l.a&&h.setCorrelationId(this.correlationId),window.removeEventListener("pageshow",r),t.cacheFailedRequest(h),this.browserStorage.cleanRequestByState(n.state),h;case 8:return[2]}}))}))},n.prototype.handleRedirectPromise=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,o,r,i,s,u,d,p,h,f,g;return Object(a.d)(this,(function(a){switch(a.label){case 0:n=this.initializeServerTelemetryManager(m.a.handleRedirectPromise),a.label=1;case 1:if(a.trys.push([1,10,,11]),!this.browserStorage.isInteractionInProgress(!0))return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),[2,null];if(!(t=this.getRedirectResponseHash(e||window.location.hash)))return this.logger.info("handleRedirectPromise did not detect a response hash as a result of a redirect. Cleaning temporary cache."),this.browserStorage.cleanRequestByInteractionType(m.l.Redirect),[2,null];o=void 0;try{r=_n.getDeserializedHash(t),o=this.validateAndExtractStateFromHash(r,m.l.Redirect),this.logger.verbose("State extracted from hash")}catch(v){return this.logger.info("handleRedirectPromise was unable to extract state due to: "+v),this.browserStorage.cleanRequestByInteractionType(m.l.Redirect),[2,null]}return i=this.browserStorage.getTemporaryCache(m.p.ORIGIN_URI,!0)||c.n.EMPTY_STRING,s=_n.removeHashFromUrl(i),u=_n.removeHashFromUrl(window.location.href),s===u&&this.config.auth.navigateToLoginRequestUrl?(this.logger.verbose("Current page is loginRequestUrl, handling hash"),[4,this.handleHash(t,o,n)]):[3,3];case 2:return d=a.sent(),i.indexOf("#")>-1&&Fn.replaceHash(i),[2,d];case 3:return this.config.auth.navigateToLoginRequestUrl?[3,4]:(this.logger.verbose("NavigateToLoginRequestUrl set to false, handling hash"),[2,this.handleHash(t,o,n)]);case 4:return Fn.isInIframe()&&!this.config.system.allowRedirectInIframe?[3,9]:(this.browserStorage.setTemporaryCache(m.p.URL_HASH,t,!0),p={apiId:m.a.handleRedirectPromise,timeout:this.config.system.redirectNavigationTimeout,noHistory:!0},h=!0,i&&"null"!==i?[3,6]:(f=Fn.getHomepage(),this.browserStorage.setTemporaryCache(m.p.ORIGIN_URI,f,!0),this.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),[4,this.navigationClient.navigateInternal(f,p)]));case 5:return h=a.sent(),[3,8];case 6:return this.logger.verbose("Navigating to loginRequestUrl: "+i),[4,this.navigationClient.navigateInternal(i,p)];case 7:h=a.sent(),a.label=8;case 8:if(!h)return[2,this.handleHash(t,o,n)];a.label=9;case 9:return[2,null];case 10:throw(g=a.sent())instanceof l.a&&g.setCorrelationId(this.correlationId),n.cacheFailedRequest(g),this.browserStorage.cleanRequestByInteractionType(m.l.Redirect),g;case 11:return[2]}}))}))},n.prototype.getRedirectResponseHash=function(e){if(this.logger.verbose("getRedirectResponseHash called"),_n.hashContainsKnownProperties(e))return Fn.clearHash(window),this.logger.verbose("Hash contains known properties, returning response hash"),e;var n=this.browserStorage.getTemporaryCache(m.p.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(m.p.URL_HASH)),this.logger.verbose("Hash does not contain known properties, returning cached hash"),n},n.prototype.handleHash=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var r,i,s,c,u,l,d=this;return Object(a.d)(this,(function(p){switch(p.label){case 0:if(r=this.browserStorage.getCachedRequest(n,this.browserCrypto),this.logger.verbose("handleHash called, retrieved cached request"),(i=_n.getDeserializedHash(e)).accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw he.createNativeConnectionNotEstablishedError();return s=new Ct(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,m.a.acquireTokenPopup,this.performanceClient,this.nativeMessageHandler,i.accountId,this.browserStorage,r.correlationId),c=bn.parseRequestState(this.browserCrypto,n).userRequestState,[2,s.acquireToken(Object(a.a)(Object(a.a)({},r),{state:c,prompt:void 0})).finally((function(){d.browserStorage.cleanRequestByState(n)}))]}if(!(u=this.browserStorage.getCachedAuthority(n)))throw he.createNoCachedAuthorityError();return this.performanceClient.setPreQueueTime(o.StandardInteractionClientCreateAuthCodeClient,r.correlationId),[4,this.createAuthCodeClient(t,u)];case 1:return l=p.sent(),this.logger.verbose("Auth code client created"),qn.removeThrottle(this.browserStorage,this.config.auth.clientId,r),[4,new Et(l,this.browserStorage,r,this.logger,this.browserCrypto,this.performanceClient).handleCodeResponseFromHash(e,n,l.authority,this.networkClient)];case 2:return[2,p.sent()]}}))}))},n.prototype.logout=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s,c;return Object(a.d)(this,(function(a){switch(a.label){case 0:this.logger.verbose("logoutRedirect called"),n=this.initializeLogoutRequest(e),t=this.initializeServerTelemetryManager(m.a.logout),a.label=1;case 1:return a.trys.push([1,10,,11]),this.eventHandler.emitEvent(Gn.a.LOGOUT_START,m.l.Redirect,e),[4,this.clearCacheOnLogout(n.account)];case 2:return a.sent(),r={apiId:m.a.logout,timeout:this.config.system.redirectNavigationTimeout,noHistory:!1},this.performanceClient.setPreQueueTime(o.StandardInteractionClientCreateAuthCodeClient,n.correlationId),[4,this.createAuthCodeClient(t,e&&e.authority)];case 3:return i=a.sent(),this.logger.verbose("Auth code client created"),s=i.getLogoutUri(n),this.eventHandler.emitEvent(Gn.a.LOGOUT_SUCCESS,m.l.Redirect,n),e&&"function"===typeof e.onRedirectNavigate?!1===e.onRedirectNavigate(s)?[3,5]:(this.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(s,r)]):[3,7];case 4:return a.sent(),[2];case 5:this.browserStorage.setInteractionInProgress(!1),this.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation"),a.label=6;case 6:return[3,9];case 7:return this.browserStorage.getInteractionInProgress()||this.browserStorage.setInteractionInProgress(!0),[4,this.navigationClient.navigateExternal(s,r)];case 8:return a.sent(),[2];case 9:return[3,11];case 10:throw(c=a.sent())instanceof l.a&&c.setCorrelationId(this.correlationId),t.cacheFailedRequest(c),this.eventHandler.emitEvent(Gn.a.LOGOUT_FAILURE,m.l.Redirect,null,c),this.eventHandler.emitEvent(Gn.a.LOGOUT_END,m.l.Redirect),c;case 11:return this.eventHandler.emitEvent(Gn.a.LOGOUT_END,m.l.Redirect),[2]}}))}))},n.prototype.getRedirectStartPage=function(e){var n=e||window.location.href;return _n.getAbsoluteUrl(n,Fn.getCurrentUri())},n}(pt),Ot=function(e){function n(n,t,o,r,a,i){var s=e.call(this,n,t,o,r,i)||this;return s.navigateFrameWait=a.navigateFrameWait,s.pollIntervalMilliseconds=a.pollIntervalMilliseconds,s}return Object(a.c)(n,e),n.prototype.initiateAuthRequest=function(e){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(n){switch(n.label){case 0:if(this.performanceClient.addQueueMeasurement(o.SilentHandlerInitiateAuthRequest,this.authCodeRequest.correlationId),_.a.isEmpty(e))throw this.logger.info("Navigate url is empty"),he.createEmptyNavigationUriError();return this.navigateFrameWait?(this.performanceClient.setPreQueueTime(o.SilentHandlerLoadFrame,this.authCodeRequest.correlationId),[4,this.loadFrame(e)]):[3,2];case 1:return[2,n.sent()];case 2:return[2,this.loadFrameSync(e)]}}))}))},n.prototype.monitorIframeForHash=function(e,n){var t=this;return this.performanceClient.addQueueMeasurement(o.SilentHandlerMonitorIframeForHash,this.authCodeRequest.correlationId),new Promise((function(o,r){n<Dn&&t.logger.warning("system.loadFrameTimeout or system.iframeHashTimeout set to lower ("+n+"ms) than the default ("+"6000ms). This may result in timeouts.");var a=window.performance.now()+n,i=setInterval((function(){if(window.performance.now()>a)return t.removeHiddenIframe(e),clearInterval(i),void r(he.createMonitorIframeTimeoutError());var n=c.n.EMPTY_STRING,s=e.contentWindow;try{n=s?s.location.href:c.n.EMPTY_STRING}catch(l){}if(!_.a.isEmpty(n)){var u=s?s.location.hash:c.n.EMPTY_STRING;return _n.hashContainsKnownProperties(u)?(t.removeHiddenIframe(e),clearInterval(i),void o(u)):void 0}}),t.pollIntervalMilliseconds)}))},n.prototype.loadFrame=function(e){var n=this;return this.performanceClient.addQueueMeasurement(o.SilentHandlerLoadFrame,this.authCodeRequest.correlationId),new Promise((function(t,o){var r=n.createHiddenIframe();setTimeout((function(){r?(r.src=e,t(r)):o("Unable to load iframe")}),n.navigateFrameWait)}))},n.prototype.loadFrameSync=function(e){var n=this.createHiddenIframe();return n.src=e,n},n.prototype.createHiddenIframe=function(){var e=document.createElement("iframe");return e.style.visibility="hidden",e.style.position="absolute",e.style.width=e.style.height="0",e.style.border="0",e.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.getElementsByTagName("body")[0].appendChild(e),e},n.prototype.removeHiddenIframe=function(e){document.body===e.parentNode&&document.body.removeChild(e)},n}(St),At=function(e){function n(n,t,o,r,a,i,s,c,u,l,d){var p=e.call(this,n,t,o,r,a,i,c,l,d)||this;return p.apiId=s,p.nativeStorage=u,p}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s;return Object(a.d)(this,(function(u){switch(u.label){case 0:if(this.performanceClient.addQueueMeasurement(o.SilentIframeClientAcquireToken,e.correlationId),this.logger.verbose("acquireTokenByIframe called"),n=this.performanceClient.startMeasurement(o.SilentIframeClientAcquireToken,e.correlationId),_.a.isEmpty(e.loginHint)&&_.a.isEmpty(e.sid)&&(!e.account||_.a.isEmpty(e.account.username))&&this.logger.warning("No user hint provided. The authorization server may need more information to complete this request."),e.prompt&&e.prompt!==c.x.NONE&&e.prompt!==c.x.NO_SESSION)throw n.endMeasurement({success:!1}),he.createSilentPromptValueError(e.prompt);return this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(Object(a.a)(Object(a.a)({},e),{prompt:e.prompt||c.x.NONE}),m.l.Silent)];case 1:t=u.sent(),this.browserStorage.updateCacheEntries(t.state,t.nonce,t.authority,t.loginHint||c.n.EMPTY_STRING,t.account||null),r=this.initializeServerTelemetryManager(this.apiId),u.label=2;case 2:return u.trys.push([2,5,,6]),this.performanceClient.setPreQueueTime(o.StandardInteractionClientCreateAuthCodeClient,e.correlationId),[4,this.createAuthCodeClient(r,t.authority,t.azureCloudOptions)];case 3:return i=u.sent(),this.logger.verbose("Auth code client created"),this.performanceClient.setPreQueueTime(o.SilentIframeClientTokenHelper,e.correlationId),[4,this.silentTokenHelper(i,t).then((function(e){return n.endMeasurement({success:!0,fromCache:!1,requestId:e.requestId}),e}))];case 4:return[2,u.sent()];case 5:throw(s=u.sent())instanceof l.a&&s.setCorrelationId(this.correlationId),r.cacheFailedRequest(s),this.browserStorage.cleanRequestByState(t.state),n.endMeasurement({errorCode:s instanceof l.a&&s.errorCode||void 0,subErrorCode:s instanceof l.a&&s.subError||void 0,success:!1}),s;case 6:return[2]}}))}))},n.prototype.logout=function(){return Promise.reject(he.createSilentLogoutUnsupportedError())},n.prototype.silentTokenHelper=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t,r,i,s,u,l,d,p,h,f=this;return Object(a.d)(this,(function(g){switch(g.label){case 0:return this.performanceClient.addQueueMeasurement(o.SilentIframeClientTokenHelper,n.correlationId),this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationCodeRequest,n.correlationId),[4,this.initializeAuthorizationCodeRequest(n)];case 1:return t=g.sent(),this.performanceClient.setPreQueueTime(o.GetAuthCodeUrl,n.correlationId),[4,e.getAuthCodeUrl(Object(a.a)(Object(a.a)({},n),{nativeBroker:wt.isNativeAvailable(this.config,this.logger,this.nativeMessageHandler,n.authenticationScheme)}))];case 2:return r=g.sent(),i=new Ot(e,this.browserStorage,t,this.logger,this.config.system,this.performanceClient),this.performanceClient.setPreQueueTime(o.SilentHandlerInitiateAuthRequest,n.correlationId),[4,i.initiateAuthRequest(r)];case 3:return s=g.sent(),this.performanceClient.setPreQueueTime(o.SilentHandlerMonitorIframeForHash,n.correlationId),[4,i.monitorIframeForHash(s,this.config.system.iframeHashTimeout)];case 4:if(u=g.sent(),l=_n.getDeserializedHash(u),d=this.validateAndExtractStateFromHash(l,m.l.Silent,t.correlationId),l.accountId){if(this.logger.verbose("Account id found in hash, calling WAM for token"),!this.nativeMessageHandler)throw he.createNativeConnectionNotEstablishedError();return p=new Ct(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.apiId,this.performanceClient,this.nativeMessageHandler,l.accountId,this.browserStorage,this.correlationId),h=bn.parseRequestState(this.browserCrypto,d).userRequestState,[2,p.acquireToken(Object(a.a)(Object(a.a)({},n),{state:h,prompt:n.prompt||c.x.NONE})).finally((function(){f.browserStorage.cleanRequestByState(d)}))]}return this.performanceClient.setPreQueueTime(o.HandleCodeResponseFromHash,n.correlationId),[2,i.handleCodeResponseFromHash(u,d,e.authority,this.networkClient)]}}))}))},n}(pt),kt=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s,c=this;return Object(a.d)(this,(function(u){switch(u.label){case 0:return this.performanceClient.addQueueMeasurement(o.SilentRefreshClientAcquireToken,e.correlationId),this.performanceClient.setPreQueueTime(o.InitializeBaseRequest,e.correlationId),t=[Object(a.a)({},e)],[4,this.initializeBaseRequest(e)];case 1:return n=a.a.apply(void 0,t.concat([u.sent()])),r=this.performanceClient.startMeasurement(o.SilentRefreshClientAcquireToken,n.correlationId),i=this.initializeServerTelemetryManager(m.a.acquireTokenSilent_silentFlow),[4,this.createRefreshTokenClient(i,n.authority,n.azureCloudOptions)];case 2:return s=u.sent(),this.logger.verbose("Refresh token client created"),this.performanceClient.setPreQueueTime(o.RefreshTokenClientAcquireTokenByRefreshToken,e.correlationId),[2,s.acquireTokenByRefreshToken(n).then((function(e){return r.endMeasurement({success:!0,fromCache:e.fromCache,requestId:e.requestId}),e})).catch((function(e){throw e instanceof l.a&&e.setCorrelationId(c.correlationId),i.cacheFailedRequest(e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e}))]}}))}))},n.prototype.logout=function(){return Promise.reject(he.createSilentLogoutUnsupportedError())},n.prototype.createRefreshTokenClient=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){var r;return Object(a.d)(this,(function(a){switch(a.label){case 0:return this.performanceClient.setPreQueueTime(o.StandardInteractionClientGetClientConfiguration,this.correlationId),[4,this.getClientConfiguration(e,n,t)];case 1:return r=a.sent(),[2,new vt(r,this.performanceClient)]}}))}))},n}(pt),Tt=function(){function e(e,n,t,o){this.isBrowserEnvironment="undefined"!==typeof window,this.config=e,this.storage=n,this.logger=t,this.cryptoObj=o}return e.prototype.loadExternalTokens=function(e,n,t){if(this.logger.info("TokenCache - loadExternalTokens called"),!n.id_token)throw he.createUnableToLoadTokenError("Please ensure server response includes id token.");var o,r,a=new cn(n.id_token,this.cryptoObj);if(e.account){var i=this.loadAccount(a,e.account.environment,void 0,void 0,e.account.homeAccountId);o=new Zn(i,this.loadIdToken(a,i.homeAccountId,e.account.environment,e.account.tenantId),this.loadAccessToken(e,n,i.homeAccountId,e.account.environment,e.account.tenantId,t),this.loadRefreshToken(e,n,i.homeAccountId,e.account.environment))}else{if(!e.authority)throw he.createUnableToLoadTokenError("Please provide a request with an account or a request with authority.");var s=ct.generateAuthority(e.authority,e.azureCloudOptions),c={protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache};if(r=new ct(s,this.config.system.networkClient,this.storage,c,this.logger),t.clientInfo){this.logger.trace("TokenCache - homeAccountId from options");i=this.loadAccount(a,r.hostnameAndPort,t.clientInfo,r.authorityType);o=new Zn(i,this.loadIdToken(a,i.homeAccountId,r.hostnameAndPort,r.tenant),this.loadAccessToken(e,n,i.homeAccountId,r.hostnameAndPort,r.tenant,t),this.loadRefreshToken(e,n,i.homeAccountId,r.hostnameAndPort))}else{if(!n.client_info)throw he.createUnableToLoadTokenError("Please provide clientInfo in the response or options.");this.logger.trace("TokenCache - homeAccountId from response");i=this.loadAccount(a,r.hostnameAndPort,n.client_info,r.authorityType);o=new Zn(i,this.loadIdToken(a,i.homeAccountId,r.hostnameAndPort,r.tenant),this.loadAccessToken(e,n,i.homeAccountId,r.hostnameAndPort,r.tenant,t),this.loadRefreshToken(e,n,i.homeAccountId,r.hostnameAndPort))}}return this.generateAuthenticationResult(e,a,o,r)},e.prototype.loadAccount=function(e,n,t,o,r){var a;if(r?a=r:void 0!==o&&t&&(a=je.a.generateHomeAccountId(t,o,this.logger,this.cryptoObj,e)),!a)throw he.createUnableToLoadTokenError("Unexpected missing homeAccountId");var i=t?je.a.createAccount(t,a,e,void 0,void 0,void 0,n):je.a.createGenericAccount(a,e,void 0,void 0,void 0,n);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading account"),this.storage.setAccount(i),i;throw he.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadIdToken=function(e,n,t,o){var r=dn.createIdTokenEntity(n,t,e.rawToken,this.config.auth.clientId,o);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(r),r;throw he.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadAccessToken=function(e,n,t,o,r,a){if(!n.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!n.expires_in)throw he.createUnableToLoadTokenError("Please ensure server response includes expires_in value.");if(!a.extendedExpiresOn)throw he.createUnableToLoadTokenError("Please provide an extendedExpiresOn value in the options.");var i=new sn(e.scopes).printScopes(),s=a.expiresOn||n.expires_in+(new Date).getTime()/1e3,c=a.extendedExpiresOn,u=mn.createAccessTokenEntity(t,o,n.access_token,this.config.auth.clientId,r,i,s,c,this.cryptoObj);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(u),u;throw he.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.loadRefreshToken=function(e,n,t,o){if(!n.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;var r=hn.createRefreshTokenEntity(t,o,n.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(r),r;throw he.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.")},e.prototype.generateAuthenticationResult=function(e,n,t,o){var r,a,i,s,u=c.n.EMPTY_STRING,l=[],d=null;(null===t||void 0===t?void 0:t.accessToken)&&(u=t.accessToken.secret,l=sn.fromString(t.accessToken.target).asArray(),d=new Date(1e3*Number(t.accessToken.expiresOn)),s=new Date(1e3*Number(t.accessToken.extendedExpiresOn)));var p=(null===n||void 0===n?void 0:n.claims.oid)||(null===n||void 0===n?void 0:n.claims.sub)||c.n.EMPTY_STRING,m=(null===n||void 0===n?void 0:n.claims.tid)||c.n.EMPTY_STRING;return{authority:o?o.canonicalAuthority:c.n.EMPTY_STRING,uniqueId:p,tenantId:m,scopes:l,account:(null===t||void 0===t?void 0:t.account)?t.account.getAccountInfo():null,idToken:n?n.rawToken:c.n.EMPTY_STRING,idTokenClaims:n?n.claims:{},accessToken:u,fromCache:!0,expiresOn:d,correlationId:e.correlationId||c.n.EMPTY_STRING,requestId:c.n.EMPTY_STRING,extExpiresOn:s,familyId:c.n.EMPTY_STRING,tokenType:(null===(r=null===t||void 0===t?void 0:t.accessToken)||void 0===r?void 0:r.tokenType)||c.n.EMPTY_STRING,state:c.n.EMPTY_STRING,cloudGraphHostName:(null===(a=null===t||void 0===t?void 0:t.account)||void 0===a?void 0:a.cloudGraphHostName)||c.n.EMPTY_STRING,msGraphHost:(null===(i=null===t||void 0===t?void 0:t.account)||void 0===i?void 0:i.msGraphHost)||c.n.EMPTY_STRING,code:void 0,fromNativeBroker:!1}},e}(),Pt=function(e){function n(n){var t=e.call(this,n)||this;return t.includeRedirectUri=!1,t}return Object(a.c)(n,e),n}(tt),Mt=function(e){function n(n,t,o,r,a,i,s,c,u,l){var d=e.call(this,n,t,o,r,a,i,c,u,l)||this;return d.apiId=s,d}return Object(a.c)(n,e),n.prototype.acquireToken=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s,u;return Object(a.d)(this,(function(d){switch(d.label){case 0:if(this.logger.trace("SilentAuthCodeClient.acquireToken called"),!e.code)throw he.createAuthCodeRequiredError();return this.performanceClient.setPreQueueTime(o.StandardInteractionClientInitializeAuthorizationRequest,e.correlationId),[4,this.initializeAuthorizationRequest(e,m.l.Silent)];case 1:n=d.sent(),this.browserStorage.updateCacheEntries(n.state,n.nonce,n.authority,n.loginHint||c.n.EMPTY_STRING,n.account||null),t=this.initializeServerTelemetryManager(this.apiId),d.label=2;case 2:return d.trys.push([2,4,,5]),r=Object(a.a)(Object(a.a)({},n),{code:e.code}),this.performanceClient.setPreQueueTime(o.StandardInteractionClientGetClientConfiguration,e.correlationId),[4,this.getClientConfiguration(t,n.authority)];case 3:return i=d.sent(),s=new Pt(i),this.logger.verbose("Auth code client created"),[2,new Ot(s,this.browserStorage,r,this.logger,this.config.system,this.performanceClient).handleCodeResponseFromServer({code:e.code,msgraph_host:e.msGraphHost,cloud_graph_host_name:e.cloudGraphHostName,cloud_instance_host_name:e.cloudInstanceHostName},n.state,s.authority,this.networkClient,!1)];case 4:throw(u=d.sent())instanceof l.a&&u.setCorrelationId(this.correlationId),t.cacheFailedRequest(u),this.browserStorage.cleanRequestByState(n.state),u;case 5:return[2]}}))}))},n.prototype.logout=function(){return Promise.reject(he.createSilentLogoutUnsupportedError())},n}(pt),It=function(){function e(e,n){this.correlationId=n,this.measureName="msal.measure."+e+"."+this.correlationId,this.startMark="msal.start."+e+"."+this.correlationId,this.endMark="msal.end."+e+"."+this.correlationId}return e.supportsBrowserPerformance=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.performance&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure&&"function"===typeof window.performance.clearMarks&&"function"===typeof window.performance.clearMeasures&&"function"===typeof window.performance.getEntriesByName},e.prototype.startMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch(n){}},e.prototype.endMeasurement=function(){if(e.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch(n){}},e.prototype.flushMeasurement=function(){if(e.supportsBrowserPerformance())try{var n=window.performance.getEntriesByName(this.measureName,"measure");if(n.length>0){var t=n[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),t}}catch(o){}return null},e}(),Rt=function(e){function n(n,t,o,r,a,i,s){var c=e.call(this,n,t,o,r,a,i)||this;return c.browserCrypto=new Se(c.logger,s),c.guidGenerator=new b(c.browserCrypto),c}return Object(a.c)(n,e),n.prototype.startPerformanceMeasuremeant=function(e,n){return new It(e,n)},n.prototype.generateId=function(){return this.guidGenerator.generateGuid()},n.prototype.getPageVisibility=function(){var e;return(null===(e=document.visibilityState)||void 0===e?void 0:e.toString())||null},n.prototype.supportsBrowserPerformanceNow=function(){return"undefined"!==typeof window&&"undefined"!==typeof window.performance&&"function"===typeof window.performance.now},n.prototype.startMeasurement=function(n,t){var o=this,r=this.getPageVisibility(),i=e.prototype.startMeasurement.call(this,n,t);return Object(a.a)(Object(a.a)({},i),{endMeasurement:function(e){return i.endMeasurement(Object(a.a)({startPageVisibility:r,endPageVisibility:o.getPageVisibility()},e))}})},n.prototype.setPreQueueTime=function(e,n){if(this.supportsBrowserPerformanceNow())if(n){var t=this.preQueueTimeByCorrelationId.get(n);if(t)t.set(e,window.performance.now()),this.preQueueTimeByCorrelationId.set(n,t);else{var o=new Map;o.set(e,window.performance.now()),this.preQueueTimeByCorrelationId.set(n,o)}}else this.logger.trace("BrowserPerformanceClient: correlationId for "+e+" not provided, unable to set telemetry queue time");else this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for "+e)},n.prototype.addQueueMeasurement=function(n,t){if(this.supportsBrowserPerformanceNow())if(t){var o=e.prototype.getPreQueueTime.call(this,n,t);if(o){var r=window.performance.now(),a=e.prototype.calculateQueuedTime.call(this,o,r);return e.prototype.addQueueMeasurement.call(this,n,t,a)}}else this.logger.trace("BrowserPerformanceClient: correlationId for "+n+" not provided, unable to add queue measurement");else this.logger.trace("BrowserPerformanceClient: window performance API not available, unable to add queue measurement for "+n)},n}(Te),jt=function(e){function n(n){var t=e.call(this,n)||this;return t.astsAsyncMeasurement=void 0,t.activeSilentTokenRequests=new Map,t.trackPageVisibility=t.trackPageVisibility.bind(t),t}return Object(a.c)(n,e),n.prototype.loginRedirect=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){return n=this.getRequestCorrelationId(e),this.logger.verbose("loginRedirect called",n),[2,this.acquireTokenRedirect(Object(a.a)({correlationId:n},e||m.h))]}))}))},n.prototype.loginPopup=function(e){var n=this.getRequestCorrelationId(e);return this.logger.verbose("loginPopup called",n),this.acquireTokenPopup(Object(a.a)({correlationId:n},e||m.h))},n.prototype.acquireTokenSilent=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s,u,l,d=this;return Object(a.d)(this,(function(p){if(n=this.getRequestCorrelationId(e),(t=this.performanceClient.startMeasurement(o.AcquireTokenSilent,n)).addStaticFields({cacheLookupPolicy:e.cacheLookupPolicy}),this.preflightBrowserEnvironmentCheck(m.l.Silent),this.logger.verbose("acquireTokenSilent called",n),!(r=e.account||this.getActiveAccount()))throw he.createNoAccountError();return i={clientId:this.config.auth.clientId,authority:e.authority||c.n.EMPTY_STRING,scopes:e.scopes,homeAccountIdentifier:r.homeAccountId,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},s=JSON.stringify(i),"undefined"===typeof(u=this.activeSilentTokenRequests.get(s))?(this.logger.verbose("acquireTokenSilent called for the first time, storing active request",n),this.performanceClient.setPreQueueTime(o.AcquireTokenSilentAsync,n),l=this.acquireTokenSilentAsync(Object(a.a)(Object(a.a)({},e),{correlationId:n}),r).then((function(n){return d.activeSilentTokenRequests.delete(s),t.addStaticFields({accessTokenSize:n.accessToken.length,idTokenSize:n.idToken.length}),t.endMeasurement({success:!0,fromCache:n.fromCache,isNativeBroker:n.fromNativeBroker,cacheLookupPolicy:e.cacheLookupPolicy,requestId:n.requestId}),t.flushMeasurement(),n})).catch((function(e){throw d.activeSilentTokenRequests.delete(s),t.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),t.flushMeasurement(),e})),this.activeSilentTokenRequests.set(s,l),[2,l]):(this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",n),t.endMeasurement({success:!0}),t.discardMeasurement(),[2,u])}))}))},n.prototype.trackPageVisibility=function(){this.astsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.astsAsyncMeasurement.increment({visibilityChangeCount:1}))},n.prototype.acquireTokenSilentAsync=function(e,n){var t;return Object(a.b)(this,void 0,void 0,(function(){var r,i,s,c,u,l=this;return Object(a.d)(this,(function(h){switch(h.label){case 0:return this.performanceClient.addQueueMeasurement(o.AcquireTokenSilentAsync,e.correlationId),this.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_START,m.l.Silent,e),this.astsAsyncMeasurement=this.performanceClient.startMeasurement(o.AcquireTokenSilentAsync,e.correlationId),null===(t=this.astsAsyncMeasurement)||void 0===t||t.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibility),wt.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme)&&n.nativeAccountId?(this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform"),i=Object(a.a)(Object(a.a)({},e),{account:n}),r=this.acquireTokenNative(i,m.a.acquireTokenSilent_silentFlow).catch((function(n){return Object(a.b)(l,void 0,void 0,(function(){return Object(a.d)(this,(function(t){if(n instanceof gt&&n.isFatal())return this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),this.nativeExtensionProvider=void 0,[2,this.createSilentIframeClient(e.correlationId).acquireToken(e)];throw n}))}))})),[3,3]):[3,1];case 1:return this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow"),s=this.createSilentCacheClient(e.correlationId),this.performanceClient.setPreQueueTime(o.InitializeSilentRequest,e.correlationId),[4,s.initializeSilentRequest(e,n)];case 2:c=h.sent(),u=Object(a.a)(Object(a.a)({},e),{cacheLookupPolicy:e.cacheLookupPolicy||m.d.Default}),this.performanceClient.setPreQueueTime(o.AcquireTokenFromCache,c.correlationId),r=this.acquireTokenFromCache(s,c,u).catch((function(n){if(u.cacheLookupPolicy===m.d.AccessToken)throw n;return Fn.blockReloadInHiddenIframes(),l.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_NETWORK_START,m.l.Silent,c),l.performanceClient.setPreQueueTime(o.AcquireTokenByRefreshToken,c.correlationId),l.acquireTokenByRefreshToken(c,u).catch((function(n){var t=n instanceof d,r=n instanceof p.a,a=n.errorCode===m.c.INVALID_GRANT_ERROR;if((!t||!a||r||u.cacheLookupPolicy===m.d.AccessTokenAndRefreshToken||u.cacheLookupPolicy===m.d.RefreshToken)&&u.cacheLookupPolicy!==m.d.Skip)throw n;return l.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",e.correlationId),l.performanceClient.setPreQueueTime(o.AcquireTokenBySilentIframe,c.correlationId),l.acquireTokenBySilentIframe(c)}))})),h.label=3;case 3:return[2,r.then((function(e){var n;return l.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_SUCCESS,m.l.Silent,e),null===(n=l.astsAsyncMeasurement)||void 0===n||n.endMeasurement({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){var n;throw l.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_FAILURE,m.l.Silent,null,e),null===(n=l.astsAsyncMeasurement)||void 0===n||n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})).finally((function(){document.removeEventListener("visibilitychange",l.trackPageVisibility)}))]}}))}))},n}(function(){function e(e){this.isBrowserEnvironment="undefined"!==typeof window,this.config=function(e,n){var t=e.auth,o=e.cache,r=e.system,i=e.telemetry,s={clientId:c.n.EMPTY_STRING,authority:""+c.n.DEFAULT_AUTHORITY,knownAuthorities:[],cloudDiscoveryMetadata:c.n.EMPTY_STRING,authorityMetadata:c.n.EMPTY_STRING,redirectUri:c.n.EMPTY_STRING,postLogoutRedirectUri:c.n.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:Cn.AAD,azureCloudOptions:{azureCloudInstance:wn.None,tenant:c.n.EMPTY_STRING},skipAuthorityMetadataCache:!1},u={cacheLocation:m.b.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1},l={loggerCallback:function(){},logLevel:ke.a.Info,piiLoggingEnabled:!1},d=Object(a.a)(Object(a.a)({},An),{loggerOptions:l,networkClient:n?Fn.getBrowserNetworkClient():jn,navigationClient:new Un,loadFrameTimeout:0,windowHashTimeout:(null===r||void 0===r?void 0:r.loadFrameTimeout)||6e4,iframeHashTimeout:(null===r||void 0===r?void 0:r.loadFrameTimeout)||Dn,navigateFrameWait:n&&Fn.detectIEOrEdge()?500:0,redirectNavigationTimeout:3e4,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:(null===r||void 0===r?void 0:r.nativeBrokerHandshakeTimeout)||2e3,pollIntervalMilliseconds:m.c.DEFAULT_POLL_INTERVAL_MS,cryptoOptions:{useMsrCrypto:!1,entropy:void 0}}),p=Object(a.a)(Object(a.a)({},r),{loggerOptions:(null===r||void 0===r?void 0:r.loggerOptions)||l}),h={application:{appName:c.n.EMPTY_STRING,appVersion:c.n.EMPTY_STRING}};return{auth:Object(a.a)(Object(a.a)({},s),t),cache:Object(a.a)(Object(a.a)({},u),o),system:Object(a.a)(Object(a.a)({},d),p),telemetry:Object(a.a)(Object(a.a)({},h),i)}}(e,this.isBrowserEnvironment),this.initialized=!1,this.logger=new ke.b(this.config.system.loggerOptions,zn,Vn),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.isBrowserEnvironment?new Rt(this.config.auth.clientId,this.config.auth.authority,this.logger,zn,Vn,this.config.telemetry.application,this.config.system.cryptoOptions):new Me(this.config.auth.clientId,this.config.auth.authority,this.logger,zn,Vn,this.config.telemetry.application),this.browserCrypto=this.isBrowserEnvironment?new Ae(this.logger,this.performanceClient,this.config.system.cryptoOptions):Ie,this.eventHandler=new Hn(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new xn(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):function(e,n){var t={cacheLocation:m.b.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1};return new xn(e,t,Ie,n)}(this.config.auth.clientId,this.logger);var n={cacheLocation:m.b.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1};this.nativeInternalStorage=new xn(this.config.auth.clientId,n,this.browserCrypto,this.logger),this.tokenCache=new Tt(this.config,this.browserStorage,this.logger,this.browserCrypto),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}return e.prototype.initialize=function(){return Object(a.b)(this,void 0,void 0,(function(){var e,n;return Object(a.d)(this,(function(t){switch(t.label){case 0:if(this.logger.trace("initialize called"),this.initialized)return this.logger.info("initialize has already been called, exiting early."),[2];if(this.eventHandler.emitEvent(Gn.a.INITIALIZE_START),!this.config.system.allowNativeBroker)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),e=this,[4,wt.createProvider(this.logger,this.config.system.nativeBrokerHandshakeTimeout)];case 2:return e.nativeExtensionProvider=t.sent(),[3,4];case 3:return n=t.sent(),this.logger.verbose(n),[3,4];case 4:return this.initialized=!0,this.eventHandler.emitEvent(Gn.a.INITIALIZE_END),[2]}}))}))},e.prototype.handleRedirectPromise=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,o,r,i,s,u,l,d=this;return Object(a.d)(this,(function(a){return this.logger.verbose("handleRedirectPromise called"),Fn.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),n=this.getAllAccounts(),this.isBrowserEnvironment?(t=e||c.n.EMPTY_STRING,"undefined"===typeof(o=this.redirectResponse.get(t))?(this.eventHandler.emitEvent(Gn.a.HANDLE_REDIRECT_START,m.l.Redirect),this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),r=this.browserStorage.getCachedNativeRequest(),i=void 0,r&&wt.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider)&&this.nativeExtensionProvider&&!e?(this.logger.trace("handleRedirectPromise - acquiring token from native platform"),s=new Ct(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,m.a.handleRedirectPromise,this.performanceClient,this.nativeExtensionProvider,r.accountId,this.nativeInternalStorage,r.correlationId),i=s.handleRedirectPromise()):(this.logger.trace("handleRedirectPromise - acquiring token from web flow"),u=this.browserStorage.getTemporaryCache(m.p.CORRELATION_ID,!0)||c.n.EMPTY_STRING,l=this.createRedirectClient(u),i=l.handleRedirectPromise(e)),o=i.then((function(e){e&&(n.length<d.getAllAccounts().length?(d.eventHandler.emitEvent(Gn.a.LOGIN_SUCCESS,m.l.Redirect,e),d.logger.verbose("handleRedirectResponse returned result, login success")):(d.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_SUCCESS,m.l.Redirect,e),d.logger.verbose("handleRedirectResponse returned result, acquire token success")));return d.eventHandler.emitEvent(Gn.a.HANDLE_REDIRECT_END,m.l.Redirect),e})).catch((function(e){throw n.length>0?d.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_FAILURE,m.l.Redirect,null,e):d.eventHandler.emitEvent(Gn.a.LOGIN_FAILURE,m.l.Redirect,null,e),d.eventHandler.emitEvent(Gn.a.HANDLE_REDIRECT_END,m.l.Redirect),e})),this.redirectResponse.set(t,o)):this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call"),[2,o]):(this.logger.verbose("handleRedirectPromise returns null, not browser environment"),[2,null])}))}))},e.prototype.acquireTokenRedirect=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,o,r,i,s=this;return Object(a.d)(this,(function(a){return n=this.getRequestCorrelationId(e),this.logger.verbose("acquireTokenRedirect called",n),this.preflightBrowserEnvironmentCheck(m.l.Redirect),(t=this.getAllAccounts().length>0)?this.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_START,m.l.Redirect,e):this.eventHandler.emitEvent(Gn.a.LOGIN_START,m.l.Redirect,e),this.nativeExtensionProvider&&this.canUseNative(e)?(r=new Ct(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,m.a.acquireTokenRedirect,this.performanceClient,this.nativeExtensionProvider,this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId),o=r.acquireTokenRedirect(e).catch((function(n){if(n instanceof gt&&n.isFatal())return s.nativeExtensionProvider=void 0,s.createRedirectClient(e.correlationId).acquireToken(e);if(n instanceof p.a)return s.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),s.createRedirectClient(e.correlationId).acquireToken(e);throw s.browserStorage.setInteractionInProgress(!1),n}))):(i=this.createRedirectClient(e.correlationId),o=i.acquireToken(e)),[2,o.catch((function(e){throw t?s.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_FAILURE,m.l.Redirect,null,e):s.eventHandler.emitEvent(Gn.a.LOGIN_FAILURE,m.l.Redirect,null,e),e}))]}))}))},e.prototype.acquireTokenPopup=function(e){var n=this,t=this.getRequestCorrelationId(e),r=this.performanceClient.startMeasurement(o.AcquireTokenPopup,t);try{this.logger.verbose("acquireTokenPopup called",t),this.preflightBrowserEnvironmentCheck(m.l.Popup)}catch(s){return Promise.reject(s)}var a,i=this.getAllAccounts();(i.length>0?this.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_START,m.l.Popup,e):this.eventHandler.emitEvent(Gn.a.LOGIN_START,m.l.Popup,e),this.canUseNative(e))?a=this.acquireTokenNative(e,m.a.acquireTokenPopup).then((function(e){return n.browserStorage.setInteractionInProgress(!1),r.endMeasurement({success:!0,isNativeBroker:!0,requestId:e.requestId}),r.flushMeasurement(),e})).catch((function(t){if(t instanceof gt&&t.isFatal())return n.nativeExtensionProvider=void 0,n.createPopupClient(e.correlationId).acquireToken(e);if(t instanceof p.a)return n.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),n.createPopupClient(e.correlationId).acquireToken(e);throw n.browserStorage.setInteractionInProgress(!1),t})):a=this.createPopupClient(e.correlationId).acquireToken(e);return a.then((function(e){return i.length<n.getAllAccounts().length?n.eventHandler.emitEvent(Gn.a.LOGIN_SUCCESS,m.l.Popup,e):n.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_SUCCESS,m.l.Popup,e),r.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),r.endMeasurement({success:!0,requestId:e.requestId}),r.flushMeasurement(),e})).catch((function(e){return i.length>0?n.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_FAILURE,m.l.Popup,null,e):n.eventHandler.emitEvent(Gn.a.LOGIN_FAILURE,m.l.Popup,null,e),r.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),r.flushMeasurement(),Promise.reject(e)}))},e.prototype.trackPageVisibilityWithMeasurement=function(){var e=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;e&&(this.logger.info("Perf: Visibility change detected in ",e.event.name),e.increment({visibilityChangeCount:1}))},e.prototype.ssoSilent=function(e){var n;return Object(a.b)(this,void 0,void 0,(function(){var t,r,i,s,c=this;return Object(a.d)(this,(function(u){return t=this.getRequestCorrelationId(e),r=Object(a.a)(Object(a.a)({},e),{prompt:e.prompt,correlationId:t}),this.preflightBrowserEnvironmentCheck(m.l.Silent),this.ssoSilentMeasurement=this.performanceClient.startMeasurement(o.SsoSilent,t),null===(n=this.ssoSilentMeasurement)||void 0===n||n.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),this.logger.verbose("ssoSilent called",t),this.eventHandler.emitEvent(Gn.a.SSO_SILENT_START,m.l.Silent,r),this.canUseNative(r)?i=this.acquireTokenNative(r,m.a.ssoSilent).catch((function(e){if(e instanceof gt&&e.isFatal())return c.nativeExtensionProvider=void 0,c.createSilentIframeClient(r.correlationId).acquireToken(r);throw e})):(s=this.createSilentIframeClient(r.correlationId),i=s.acquireToken(r)),[2,i.then((function(e){var n,t,o;return c.eventHandler.emitEvent(Gn.a.SSO_SILENT_SUCCESS,m.l.Silent,e),null===(n=c.ssoSilentMeasurement)||void 0===n||n.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),null===(t=c.ssoSilentMeasurement)||void 0===t||t.endMeasurement({success:!0,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),null===(o=c.ssoSilentMeasurement)||void 0===o||o.flushMeasurement(),e})).catch((function(e){var n,t;throw c.eventHandler.emitEvent(Gn.a.SSO_SILENT_FAILURE,m.l.Silent,null,e),null===(n=c.ssoSilentMeasurement)||void 0===n||n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),null===(t=c.ssoSilentMeasurement)||void 0===t||t.flushMeasurement(),e})).finally((function(){document.removeEventListener("visibilitychange",c.trackPageVisibilityWithMeasurement)}))]}))}))},e.prototype.acquireTokenByCode=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n,t,r,i,s=this;return Object(a.d)(this,(function(c){n=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(m.l.Silent),this.logger.trace("acquireTokenByCode called",n),this.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_BY_CODE_START,m.l.Silent,e),t=this.performanceClient.startMeasurement(o.AcquireTokenByCode,e.correlationId);try{if(e.code)return r=e.code,(i=this.hybridAuthCodeResponses.get(r))?(this.logger.verbose("Existing acquireTokenByCode request found",e.correlationId),t.endMeasurement({success:!0}),t.discardMeasurement()):(this.logger.verbose("Initiating new acquireTokenByCode request",n),i=this.acquireTokenByCodeAsync(Object(a.a)(Object(a.a)({},e),{correlationId:n})).then((function(e){return s.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_BY_CODE_SUCCESS,m.l.Silent,e),s.hybridAuthCodeResponses.delete(r),t.addStaticFields({accessTokenSize:e.accessToken.length,idTokenSize:e.idToken.length}),t.endMeasurement({success:!0,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),t.flushMeasurement(),e})).catch((function(e){throw s.hybridAuthCodeResponses.delete(r),s.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_BY_CODE_FAILURE,m.l.Silent,null,e),t.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),t.flushMeasurement(),e})),this.hybridAuthCodeResponses.set(r,i)),[2,i];if(e.nativeAccountId){if(this.canUseNative(e,e.nativeAccountId))return[2,this.acquireTokenNative(e,m.a.acquireTokenByCode,e.nativeAccountId).catch((function(e){throw e instanceof gt&&e.isFatal()&&(s.nativeExtensionProvider=void 0),e}))];throw he.createUnableToAcquireTokenFromNativePlatformError()}throw he.createAuthCodeOrNativeAccountIdRequiredError()}catch(u){throw this.eventHandler.emitEvent(Gn.a.ACQUIRE_TOKEN_BY_CODE_FAILURE,m.l.Silent,null,u),t.endMeasurement({errorCode:u instanceof l.a&&u.errorCode||void 0,subErrorCode:u instanceof l.a&&u.subError||void 0,success:!1}),u}return[2]}))}))},e.prototype.acquireTokenByCodeAsync=function(e){var n;return Object(a.b)(this,void 0,void 0,(function(){var t=this;return Object(a.d)(this,(function(r){switch(r.label){case 0:return this.logger.trace("acquireTokenByCodeAsync called",e.correlationId),this.acquireTokenByCodeAsyncMeasurement=this.performanceClient.startMeasurement(o.AcquireTokenByCodeAsync,e.correlationId),null===(n=this.acquireTokenByCodeAsyncMeasurement)||void 0===n||n.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",this.trackPageVisibilityWithMeasurement),[4,this.createSilentAuthCodeClient(e.correlationId).acquireToken(e).then((function(e){var n;return null===(n=t.acquireTokenByCodeAsyncMeasurement)||void 0===n||n.endMeasurement({success:!0,fromCache:e.fromCache,isNativeBroker:e.fromNativeBroker,requestId:e.requestId}),e})).catch((function(e){var n;throw null===(n=t.acquireTokenByCodeAsyncMeasurement)||void 0===n||n.endMeasurement({errorCode:e.errorCode,subErrorCode:e.subError,success:!1}),e})).finally((function(){document.removeEventListener("visibilitychange",t.trackPageVisibilityWithMeasurement)}))];case 1:return[2,r.sent()]}}))}))},e.prototype.acquireTokenFromCache=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(r){switch(this.performanceClient.addQueueMeasurement(o.AcquireTokenFromCache,n.correlationId),t.cacheLookupPolicy){case m.d.Default:case m.d.AccessToken:case m.d.AccessTokenAndRefreshToken:return[2,e.acquireToken(n)];default:throw Re.a.createRefreshRequiredError()}return[2]}))}))},e.prototype.acquireTokenByRefreshToken=function(e,n){return Object(a.b)(this,void 0,void 0,(function(){var t;return Object(a.d)(this,(function(r){switch(this.performanceClient.addQueueMeasurement(o.AcquireTokenByRefreshToken,e.correlationId),n.cacheLookupPolicy){case m.d.Default:case m.d.AccessTokenAndRefreshToken:case m.d.RefreshToken:case m.d.RefreshTokenAndNetwork:return t=this.createSilentRefreshClient(e.correlationId),this.performanceClient.setPreQueueTime(o.SilentRefreshClientAcquireToken,e.correlationId),[2,t.acquireToken(e)];default:throw Re.a.createRefreshRequiredError()}return[2]}))}))},e.prototype.acquireTokenBySilentIframe=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){return this.performanceClient.addQueueMeasurement(o.AcquireTokenBySilentIframe,e.correlationId),n=this.createSilentIframeClient(e.correlationId),this.performanceClient.setPreQueueTime(o.SilentIframeClientAcquireToken,e.correlationId),[2,n.acquireToken(e)]}))}))},e.prototype.logout=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){return n=this.getRequestCorrelationId(e),this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",n),[2,this.logoutRedirect(Object(a.a)({correlationId:n},e))]}))}))},e.prototype.logoutRedirect=function(e){return Object(a.b)(this,void 0,void 0,(function(){var n;return Object(a.d)(this,(function(t){return n=this.getRequestCorrelationId(e),this.preflightBrowserEnvironmentCheck(m.l.Redirect),[2,this.createRedirectClient(n).logout(e)]}))}))},e.prototype.logoutPopup=function(e){try{var n=this.getRequestCorrelationId(e);return this.preflightBrowserEnvironmentCheck(m.l.Popup),this.createPopupClient(n).logout(e)}catch(t){return Promise.reject(t)}},e.prototype.getAllAccounts=function(){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts():[]},e.prototype.getAccountByUsername=function(e){var n=this.getAllAccounts();return!_.a.isEmpty(e)&&n&&n.length?(this.logger.verbose("Account matching username found, returning"),this.logger.verbosePii("Returning signed-in accounts matching username: "+e),n.filter((function(n){return n.username.toLowerCase()===e.toLowerCase()}))[0]||null):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)},e.prototype.getAccountByHomeId=function(e){var n=this.getAllAccounts();return!_.a.isEmpty(e)&&n&&n.length?(this.logger.verbose("Account matching homeAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching homeAccountId: "+e),n.filter((function(n){return n.homeAccountId===e}))[0]||null):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)},e.prototype.getAccountByLocalId=function(e){var n=this.getAllAccounts();return!_.a.isEmpty(e)&&n&&n.length?(this.logger.verbose("Account matching localAccountId found, returning"),this.logger.verbosePii("Returning signed-in accounts matching localAccountId: "+e),n.filter((function(n){return n.localAccountId===e}))[0]||null):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)},e.prototype.setActiveAccount=function(e){this.browserStorage.setActiveAccount(e)},e.prototype.getActiveAccount=function(){return this.browserStorage.getActiveAccount()},e.prototype.preflightBrowserEnvironmentCheck=function(e,n){if(void 0===n&&(n=!0),this.logger.verbose("preflightBrowserEnvironmentCheck started"),Fn.blockNonBrowserEnvironment(this.isBrowserEnvironment),Fn.blockRedirectInIframe(e,this.config.system.allowRedirectInIframe),Fn.blockReloadInHiddenIframes(),Fn.blockAcquireTokenInPopups(),Fn.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker,this.initialized),e===m.l.Redirect&&this.config.cache.cacheLocation===m.b.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw be.a.createInMemoryRedirectUnavailableError();e!==m.l.Redirect&&e!==m.l.Popup||this.preflightInteractiveRequest(n)},e.prototype.preflightInteractiveRequest=function(e){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),Fn.blockReloadInHiddenIframes(),e&&this.browserStorage.setInteractionInProgress(!0)},e.prototype.acquireTokenNative=function(e,n,t){return Object(a.b)(this,void 0,void 0,(function(){return Object(a.d)(this,(function(o){if(this.logger.trace("acquireTokenNative called"),!this.nativeExtensionProvider)throw he.createNativeConnectionNotEstablishedError();return[2,new Ct(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,n,this.performanceClient,this.nativeExtensionProvider,t||this.getNativeAccountId(e),this.nativeInternalStorage,e.correlationId).acquireToken(e)]}))}))},e.prototype.canUseNative=function(e,n){if(this.logger.trace("canUseNative called"),!wt.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,e.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(e.prompt)switch(e.prompt){case c.x.NONE:case c.x.CONSENT:case c.x.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace("canUseNative: prompt = "+e.prompt+" is not compatible with native flow, returning false"),!1}return!(!n&&!this.getNativeAccountId(e))||(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),!1)},e.prototype.getNativeAccountId=function(e){var n=e.account||this.browserStorage.getAccountInfoByHints(e.loginHint,e.sid)||this.getActiveAccount();return n&&n.nativeAccountId||""},e.prototype.createPopupClient=function(e){return new _t(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createRedirectClient=function(e){return new xt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createSilentIframeClient=function(e){return new At(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,m.a.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,e)},e.prototype.createSilentCacheClient=function(e){return new bt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.createSilentRefreshClient=function(e){return new kt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.createSilentAuthCodeClient=function(e){return new Mt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,m.a.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,e)},e.prototype.addEventCallback=function(e){return this.eventHandler.addEventCallback(e)},e.prototype.removeEventCallback=function(e){this.eventHandler.removeEventCallback(e)},e.prototype.addPerformanceCallback=function(e){return this.performanceClient.addPerformanceCallback(e)},e.prototype.removePerformanceCallback=function(e){return this.performanceClient.removePerformanceCallback(e)},e.prototype.enableAccountStorageEvents=function(){this.eventHandler.enableAccountStorageEvents()},e.prototype.disableAccountStorageEvents=function(){this.eventHandler.disableAccountStorageEvents()},e.prototype.getTokenCache=function(){return this.tokenCache},e.prototype.getLogger=function(){return this.logger},e.prototype.setLogger=function(e){this.logger=e},e.prototype.initializeWrapperLibrary=function(e,n){this.browserStorage.setWrapperMetadata(e,n)},e.prototype.setNavigationClient=function(e){this.navigationClient=e},e.prototype.getConfiguration=function(){return this.config},e.prototype.getRequestCorrelationId=function(e){return(null===e||void 0===e?void 0:e.correlationId)?e.correlationId:this.isBrowserEnvironment?this.browserCrypto.createNewGuid():c.n.EMPTY_STRING},e}())},function(e,n,t){"use strict";t.d(n,"a",(function(){return ve}));var o=t(0);function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function a(e){return e instanceof r(e).Element||e instanceof Element}function i(e){return e instanceof r(e).HTMLElement||e instanceof HTMLElement}function s(e){return"undefined"!==typeof ShadowRoot&&(e instanceof r(e).ShadowRoot||e instanceof ShadowRoot)}var c=Math.max,u=Math.min,l=Math.round;function d(e,n){void 0===n&&(n=!1);var t=e.getBoundingClientRect(),o=1,r=1;if(i(e)&&n){var a=e.offsetHeight,s=e.offsetWidth;s>0&&(o=l(t.width)/s||1),a>0&&(r=l(t.height)/a||1)}return{width:t.width/o,height:t.height/r,top:t.top/r,right:t.right/o,bottom:t.bottom/r,left:t.left/o,x:t.left/o,y:t.top/r}}function p(e){var n=r(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function m(e){return e?(e.nodeName||"").toLowerCase():null}function h(e){return((a(e)?e.ownerDocument:e.document)||window.document).documentElement}function f(e){return d(h(e)).left+p(e).scrollLeft}function g(e){return r(e).getComputedStyle(e)}function v(e){var n=g(e),t=n.overflow,o=n.overflowX,r=n.overflowY;return/auto|scroll|overlay|hidden/.test(t+r+o)}function y(e,n,t){void 0===t&&(t=!1);var o=i(n),a=i(n)&&function(e){var n=e.getBoundingClientRect(),t=l(n.width)/e.offsetWidth||1,o=l(n.height)/e.offsetHeight||1;return 1!==t||1!==o}(n),s=h(n),c=d(e,a),u={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(o||!o&&!t)&&(("body"!==m(n)||v(s))&&(u=function(e){return e!==r(e)&&i(e)?{scrollLeft:(n=e).scrollLeft,scrollTop:n.scrollTop}:p(e);var n}(n)),i(n)?((g=d(n,!0)).x+=n.clientLeft,g.y+=n.clientTop):s&&(g.x=f(s))),{x:c.left+u.scrollLeft-g.x,y:c.top+u.scrollTop-g.y,width:c.width,height:c.height}}function b(e){var n=d(e),t=e.offsetWidth,o=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-o)<=1&&(o=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:o}}function C(e){return"html"===m(e)?e:e.assignedSlot||e.parentNode||(s(e)?e.host:null)||h(e)}function w(e){return["html","body","#document"].indexOf(m(e))>=0?e.ownerDocument.body:i(e)&&v(e)?e:w(C(e))}function S(e,n){var t;void 0===n&&(n=[]);var o=w(e),a=o===(null==(t=e.ownerDocument)?void 0:t.body),i=r(o),s=a?[i].concat(i.visualViewport||[],v(o)?o:[]):o,c=n.concat(s);return a?c:c.concat(S(C(s)))}function _(e){return["table","td","th"].indexOf(m(e))>=0}function E(e){return i(e)&&"fixed"!==g(e).position?e.offsetParent:null}function x(e){for(var n=r(e),t=E(e);t&&_(t)&&"static"===g(t).position;)t=E(t);return t&&("html"===m(t)||"body"===m(t)&&"static"===g(t).position)?n:t||function(e){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&i(e)&&"fixed"===g(e).position)return null;for(var t=C(e);i(t)&&["html","body"].indexOf(m(t))<0;){var o=g(t);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||n&&"filter"===o.willChange||n&&o.filter&&"none"!==o.filter)return t;t=t.parentNode}return null}(e)||n}var O="top",A="bottom",k="right",T="left",P="auto",M=[O,A,k,T],I="start",R="end",j="viewport",N="popper",L=M.reduce((function(e,n){return e.concat([n+"-"+I,n+"-"+R])}),[]),F=[].concat(M,[P]).reduce((function(e,n){return e.concat([n,n+"-"+I,n+"-"+R])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function D(e){var n=new Map,t=new Set,o=[];function r(e){t.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!t.has(e)){var o=n.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){n.set(e.name,e)})),e.forEach((function(e){t.has(e.name)||r(e)})),o}function B(e){var n;return function(){return n||(n=new Promise((function(t){Promise.resolve().then((function(){n=void 0,t(e())}))}))),n}}var z={placement:"bottom",modifiers:[],strategy:"absolute"};function V(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return!n.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function G(e){void 0===e&&(e={});var n=e,t=n.defaultModifiers,o=void 0===t?[]:t,r=n.defaultOptions,i=void 0===r?z:r;return function(e,n,t){void 0===t&&(t=i);var r={placement:"bottom",orderedModifiers:[],options:Object.assign({},z,i),modifiersData:{},elements:{reference:e,popper:n},attributes:{},styles:{}},s=[],c=!1,u={state:r,setOptions:function(t){var c="function"===typeof t?t(r.options):t;l(),r.options=Object.assign({},i,r.options,c),r.scrollParents={reference:a(e)?S(e):e.contextElement?S(e.contextElement):[],popper:S(n)};var d=function(e){var n=D(e);return U.reduce((function(e,t){return e.concat(n.filter((function(e){return e.phase===t})))}),[])}(function(e){var n=e.reduce((function(e,n){var t=e[n.name];return e[n.name]=t?Object.assign({},t,n,{options:Object.assign({},t.options,n.options),data:Object.assign({},t.data,n.data)}):n,e}),{});return Object.keys(n).map((function(e){return n[e]}))}([].concat(o,r.options.modifiers)));return r.orderedModifiers=d.filter((function(e){return e.enabled})),r.orderedModifiers.forEach((function(e){var n=e.name,t=e.options,o=void 0===t?{}:t,a=e.effect;if("function"===typeof a){var i=a({state:r,name:n,instance:u,options:o}),c=function(){};s.push(i||c)}})),u.update()},forceUpdate:function(){if(!c){var e=r.elements,n=e.reference,t=e.popper;if(V(n,t)){r.rects={reference:y(n,x(t),"fixed"===r.options.strategy),popper:b(t)},r.reset=!1,r.placement=r.options.placement,r.orderedModifiers.forEach((function(e){return r.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<r.orderedModifiers.length;o++)if(!0!==r.reset){var a=r.orderedModifiers[o],i=a.fn,s=a.options,l=void 0===s?{}:s,d=a.name;"function"===typeof i&&(r=i({state:r,options:l,name:d,instance:u})||r)}else r.reset=!1,o=-1}}},update:B((function(){return new Promise((function(e){u.forceUpdate(),e(r)}))})),destroy:function(){l(),c=!0}};if(!V(e,n))return u;function l(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(t).then((function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)})),u}}var H={passive:!0};function q(e){return e.split("-")[0]}function K(e){return e.split("-")[1]}function W(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $(e){var n,t=e.reference,o=e.element,r=e.placement,a=r?q(r):null,i=r?K(r):null,s=t.x+t.width/2-o.width/2,c=t.y+t.height/2-o.height/2;switch(a){case O:n={x:s,y:t.y-o.height};break;case A:n={x:s,y:t.y+t.height};break;case k:n={x:t.x+t.width,y:c};break;case T:n={x:t.x-o.width,y:c};break;default:n={x:t.x,y:t.y}}var u=a?W(a):null;if(null!=u){var l="y"===u?"height":"width";switch(i){case I:n[u]=n[u]-(t[l]/2-o[l]/2);break;case R:n[u]=n[u]+(t[l]/2-o[l]/2)}}return n}var Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Q(e){var n,t=e.popper,o=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,m=e.isFixed,f=!0===p?function(e){var n=e.x,t=e.y,o=window.devicePixelRatio||1;return{x:l(n*o)/o||0,y:l(t*o)/o||0}}(s):"function"===typeof p?p(s):s,v=f.x,y=void 0===v?0:v,b=f.y,C=void 0===b?0:b,w=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),_=T,E=O,P=window;if(d){var M=x(t),I="clientHeight",j="clientWidth";if(M===r(t)&&"static"!==g(M=h(t)).position&&"absolute"===c&&(I="scrollHeight",j="scrollWidth"),M=M,a===O||(a===T||a===k)&&i===R)E=A,C-=(m&&P.visualViewport?P.visualViewport.height:M[I])-o.height,C*=u?1:-1;if(a===T||(a===O||a===A)&&i===R)_=k,y-=(m&&P.visualViewport?P.visualViewport.width:M[j])-o.width,y*=u?1:-1}var N,L=Object.assign({position:c},d&&Y);return u?Object.assign({},L,((N={})[E]=S?"0":"",N[_]=w?"0":"",N.transform=(P.devicePixelRatio||1)<=1?"translate("+y+"px, "+C+"px)":"translate3d("+y+"px, "+C+"px, 0)",N)):Object.assign({},L,((n={})[E]=S?C+"px":"",n[_]=w?y+"px":"",n.transform="",n))}var J={left:"right",right:"left",bottom:"top",top:"bottom"};function Z(e){return e.replace(/left|right|bottom|top/g,(function(e){return J[e]}))}var X={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,(function(e){return X[e]}))}function ne(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&s(t)){var o=n;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function te(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function oe(e,n){return n===j?te(function(e){var n=r(e),t=h(e),o=n.visualViewport,a=t.clientWidth,i=t.clientHeight,s=0,c=0;return o&&(a=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,c=o.offsetTop)),{width:a,height:i,x:s+f(e),y:c}}(e)):a(n)?function(e){var n=d(e);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(n):te(function(e){var n,t=h(e),o=p(e),r=null==(n=e.ownerDocument)?void 0:n.body,a=c(t.scrollWidth,t.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),i=c(t.scrollHeight,t.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+f(e),u=-o.scrollTop;return"rtl"===g(r||t).direction&&(s+=c(t.clientWidth,r?r.clientWidth:0)-a),{width:a,height:i,x:s,y:u}}(h(e)))}function re(e,n,t){var o="clippingParents"===n?function(e){var n=S(C(e)),t=["absolute","fixed"].indexOf(g(e).position)>=0,o=t&&i(e)?x(e):e;return a(o)?n.filter((function(e){return a(e)&&ne(e,o)&&"body"!==m(e)&&(!t||"static"!==g(e).position)})):[]}(e):[].concat(n),r=[].concat(o,[t]),s=r[0],l=r.reduce((function(n,t){var o=oe(e,t);return n.top=c(o.top,n.top),n.right=u(o.right,n.right),n.bottom=u(o.bottom,n.bottom),n.left=c(o.left,n.left),n}),oe(e,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ae(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ie(e,n){return n.reduce((function(n,t){return n[t]=e,n}),{})}function se(e,n){void 0===n&&(n={});var t=n,o=t.placement,r=void 0===o?e.placement:o,i=t.boundary,s=void 0===i?"clippingParents":i,c=t.rootBoundary,u=void 0===c?j:c,l=t.elementContext,p=void 0===l?N:l,m=t.altBoundary,f=void 0!==m&&m,g=t.padding,v=void 0===g?0:g,y=ae("number"!==typeof v?v:ie(v,M)),b=p===N?"reference":N,C=e.rects.popper,w=e.elements[f?b:p],S=re(a(w)?w:w.contextElement||h(e.elements.popper),s,u),_=d(e.elements.reference),E=$({reference:_,element:C,strategy:"absolute",placement:r}),x=te(Object.assign({},C,E)),T=p===N?x:_,P={top:S.top-T.top+y.top,bottom:T.bottom-S.bottom+y.bottom,left:S.left-T.left+y.left,right:T.right-S.right+y.right},I=e.modifiersData.offset;if(p===N&&I){var R=I[r];Object.keys(P).forEach((function(e){var n=[k,A].indexOf(e)>=0?1:-1,t=[O,A].indexOf(e)>=0?"y":"x";P[e]+=R[t]*n}))}return P}function ce(e,n,t){return c(e,u(n,t))}function ue(e,n,t){return void 0===t&&(t={x:0,y:0}),{top:e.top-n.height-t.y,right:e.right-n.width+t.x,bottom:e.bottom-n.height+t.y,left:e.left-n.width-t.x}}function le(e){return[O,k,A,T].some((function(n){return e[n]>=0}))}var de=G({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,t=e.instance,o=e.options,a=o.scroll,i=void 0===a||a,s=o.resize,c=void 0===s||s,u=r(n.elements.popper),l=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",t.update,H)})),c&&u.addEventListener("resize",t.update,H),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",t.update,H)})),c&&u.removeEventListener("resize",t.update,H)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var n=e.state,t=e.name;n.modifiersData[t]=$({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var n=e.state,t=e.options,o=t.gpuAcceleration,r=void 0===o||o,a=t.adaptive,i=void 0===a||a,s=t.roundOffsets,c=void 0===s||s,u={placement:q(n.placement),variation:K(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:r,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,Q(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:i,roundOffsets:c})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,Q(Object.assign({},u,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var n=e.state;Object.keys(n.elements).forEach((function(e){var t=n.styles[e]||{},o=n.attributes[e]||{},r=n.elements[e];i(r)&&m(r)&&(Object.assign(r.style,t),Object.keys(o).forEach((function(e){var n=o[e];!1===n?r.removeAttribute(e):r.setAttribute(e,!0===n?"":n)})))}))},effect:function(e){var n=e.state,t={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,t.popper),n.styles=t,n.elements.arrow&&Object.assign(n.elements.arrow.style,t.arrow),function(){Object.keys(n.elements).forEach((function(e){var o=n.elements[e],r=n.attributes[e]||{},a=Object.keys(n.styles.hasOwnProperty(e)?n.styles[e]:t[e]).reduce((function(e,n){return e[n]="",e}),{});i(o)&&m(o)&&(Object.assign(o.style,a),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var n=e.state,t=e.options,o=e.name,r=t.offset,a=void 0===r?[0,0]:r,i=F.reduce((function(e,t){return e[t]=function(e,n,t){var o=q(e),r=[T,O].indexOf(o)>=0?-1:1,a="function"===typeof t?t(Object.assign({},n,{placement:e})):t,i=a[0],s=a[1];return i=i||0,s=(s||0)*r,[T,k].indexOf(o)>=0?{x:s,y:i}:{x:i,y:s}}(t,n.rects,a),e}),{}),s=i[n.placement],c=s.x,u=s.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=c,n.modifiersData.popperOffsets.y+=u),n.modifiersData[o]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,o=e.name;if(!n.modifiersData[o]._skip){for(var r=t.mainAxis,a=void 0===r||r,i=t.altAxis,s=void 0===i||i,c=t.fallbackPlacements,u=t.padding,l=t.boundary,d=t.rootBoundary,p=t.altBoundary,m=t.flipVariations,h=void 0===m||m,f=t.allowedAutoPlacements,g=n.options.placement,v=q(g),y=c||(v===g||!h?[Z(g)]:function(e){if(q(e)===P)return[];var n=Z(e);return[ee(e),n,ee(n)]}(g)),b=[g].concat(y).reduce((function(e,t){return e.concat(q(t)===P?function(e,n){void 0===n&&(n={});var t=n,o=t.placement,r=t.boundary,a=t.rootBoundary,i=t.padding,s=t.flipVariations,c=t.allowedAutoPlacements,u=void 0===c?F:c,l=K(o),d=l?s?L:L.filter((function(e){return K(e)===l})):M,p=d.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=d);var m=p.reduce((function(n,t){return n[t]=se(e,{placement:t,boundary:r,rootBoundary:a,padding:i})[q(t)],n}),{});return Object.keys(m).sort((function(e,n){return m[e]-m[n]}))}(n,{placement:t,boundary:l,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:f}):t)}),[]),C=n.rects.reference,w=n.rects.popper,S=new Map,_=!0,E=b[0],x=0;x<b.length;x++){var R=b[x],j=q(R),N=K(R)===I,U=[O,A].indexOf(j)>=0,D=U?"width":"height",B=se(n,{placement:R,boundary:l,rootBoundary:d,altBoundary:p,padding:u}),z=U?N?k:T:N?A:O;C[D]>w[D]&&(z=Z(z));var V=Z(z),G=[];if(a&&G.push(B[j]<=0),s&&G.push(B[z]<=0,B[V]<=0),G.every((function(e){return e}))){E=R,_=!1;break}S.set(R,G)}if(_)for(var H=function(e){var n=b.find((function(n){var t=S.get(n);if(t)return t.slice(0,e).every((function(e){return e}))}));if(n)return E=n,"break"},W=h?3:1;W>0;W--){if("break"===H(W))break}n.placement!==E&&(n.modifiersData[o]._skip=!0,n.placement=E,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,o=e.name,r=t.mainAxis,a=void 0===r||r,i=t.altAxis,s=void 0!==i&&i,l=t.boundary,d=t.rootBoundary,p=t.altBoundary,m=t.padding,h=t.tether,f=void 0===h||h,g=t.tetherOffset,v=void 0===g?0:g,y=se(n,{boundary:l,rootBoundary:d,padding:m,altBoundary:p}),C=q(n.placement),w=K(n.placement),S=!w,_=W(C),E="x"===_?"y":"x",P=n.modifiersData.popperOffsets,M=n.rects.reference,R=n.rects.popper,j="function"===typeof v?v(Object.assign({},n.rects,{placement:n.placement})):v,N="number"===typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),L=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,F={x:0,y:0};if(P){if(a){var U,D="y"===_?O:T,B="y"===_?A:k,z="y"===_?"height":"width",V=P[_],G=V+y[D],H=V-y[B],$=f?-R[z]/2:0,Y=w===I?M[z]:R[z],Q=w===I?-R[z]:-M[z],J=n.elements.arrow,Z=f&&J?b(J):{width:0,height:0},X=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=X[D],ne=X[B],te=ce(0,M[z],Z[z]),oe=S?M[z]/2-$-te-ee-N.mainAxis:Y-te-ee-N.mainAxis,re=S?-M[z]/2+$+te+ne+N.mainAxis:Q+te+ne+N.mainAxis,ae=n.elements.arrow&&x(n.elements.arrow),ie=ae?"y"===_?ae.clientTop||0:ae.clientLeft||0:0,ue=null!=(U=null==L?void 0:L[_])?U:0,le=V+re-ue,de=ce(f?u(G,V+oe-ue-ie):G,V,f?c(H,le):H);P[_]=de,F[_]=de-V}if(s){var pe,me="x"===_?O:T,he="x"===_?A:k,fe=P[E],ge="y"===E?"height":"width",ve=fe+y[me],ye=fe-y[he],be=-1!==[O,T].indexOf(C),Ce=null!=(pe=null==L?void 0:L[E])?pe:0,we=be?ve:fe-M[ge]-R[ge]-Ce+N.altAxis,Se=be?fe+M[ge]+R[ge]-Ce-N.altAxis:ye,_e=f&&be?function(e,n,t){var o=ce(e,n,t);return o>t?t:o}(we,fe,Se):ce(f?we:ve,fe,f?Se:ye);P[E]=_e,F[E]=_e-fe}n.modifiersData[o]=F}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var n,t=e.state,o=e.name,r=e.options,a=t.elements.arrow,i=t.modifiersData.popperOffsets,s=q(t.placement),c=W(s),u=[T,k].indexOf(s)>=0?"height":"width";if(a&&i){var l=function(e,n){return ae("number"!==typeof(e="function"===typeof e?e(Object.assign({},n.rects,{placement:n.placement})):e)?e:ie(e,M))}(r.padding,t),d=b(a),p="y"===c?O:T,m="y"===c?A:k,h=t.rects.reference[u]+t.rects.reference[c]-i[c]-t.rects.popper[u],f=i[c]-t.rects.reference[c],g=x(a),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=h/2-f/2,C=l[p],w=v-d[u]-l[m],S=v/2-d[u]/2+y,_=ce(C,S,w),E=c;t.modifiersData[o]=((n={})[E]=_,n.centerOffset=_-S,n)}},effect:function(e){var n=e.state,t=e.options.element,o=void 0===t?"[data-popper-arrow]":t;null!=o&&("string"!==typeof o||(o=n.elements.popper.querySelector(o)))&&ne(n.elements.popper,o)&&(n.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var n=e.state,t=e.name,o=n.rects.reference,r=n.rects.popper,a=n.modifiersData.preventOverflow,i=se(n,{elementContext:"reference"}),s=se(n,{altBoundary:!0}),c=ue(i,o),u=ue(s,r,a),l=le(c),d=le(u);n.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:l,hasPopperEscaped:d},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}}]}),pe=t(523),me=t.n(pe),he=function(e){return e.reduce((function(e,n){var t=n[0],o=n[1];return e[t]=o,e}),{})},fe="undefined"!==typeof window&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,ge=[],ve=function(e,n,t){void 0===t&&(t={});var r=o.useRef(null),a={onFirstUpdate:t.onFirstUpdate,placement:t.placement||"bottom",strategy:t.strategy||"absolute",modifiers:t.modifiers||ge},i=o.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=i[0],c=i[1],u=o.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var n=e.state,t=Object.keys(n.elements);c({styles:he(t.map((function(e){return[e,n.styles[e]||{}]}))),attributes:he(t.map((function(e){return[e,n.attributes[e]]})))})},requires:["computeStyles"]}}),[]),l=o.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return me()(r.current,e)?r.current||e:(r.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),d=o.useRef();return fe((function(){d.current&&d.current.setOptions(l)}),[l]),fe((function(){if(null!=e&&null!=n){var o=(t.createPopper||de)(e,n,l);return d.current=o,function(){o.destroy(),d.current=null}}}),[e,n,t.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}}},function(e,n,t){"use strict";t.d(n,"a",(function(){return De}));var o,r,a,i=t(1);function s(e){return e&&!!["provider"].find((function(n){return e.hasOwnProperty(n)}))}function c(e){return void 0!==e.redirectSignIn}!function(e){e.Cognito="COGNITO",e.Google="Google",e.Facebook="Facebook",e.Amazon="LoginWithAmazon",e.Apple="SignInWithApple"}(o||(o={})),function(e){e.NoConfig="noConfig",e.MissingAuthConfig="missingAuthConfig",e.EmptyUsername="emptyUsername",e.InvalidUsername="invalidUsername",e.EmptyPassword="emptyPassword",e.EmptyCode="emptyCode",e.SignUpError="signUpError",e.NoMFA="noMFA",e.InvalidMFA="invalidMFA",e.EmptyChallengeResponse="emptyChallengeResponse",e.NoUserSession="noUserSession",e.Default="default",e.DeviceConfig="deviceConfig",e.NetworkError="networkError",e.AutoSignInError="autoSignInError"}(r||(r={})),function(e){e.API_KEY="API_KEY",e.AWS_IAM="AWS_IAM",e.OPENID_CONNECT="OPENID_CONNECT",e.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",e.AWS_LAMBDA="AWS_LAMBDA"}(a||(a={}));var u=t(131),l=t(510),d=t(771),p=t(511),m=t(123);function h(e,n){void 0===n&&(n={});var t=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,n){return"undefined"===typeof n&&(n=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!n}(t,n.doNotParse))try{return JSON.parse(t)}catch(o){}return e}var f=function(){return(f=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)},g=function(){function e(e,n){var t=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,n){return"string"===typeof e?m.parse(e,n):"object"===typeof e&&null!==e?e:{}}(e,n),new Promise((function(){t.HAS_DOCUMENT_COOKIE="object"===typeof document&&"string"===typeof document.cookie})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=m.parse(document.cookie,e))},e.prototype._emitChange=function(e){for(var n=0;n<this.changeListeners.length;++n)this.changeListeners[n](e)},e.prototype.get=function(e,n,t){return void 0===n&&(n={}),this._updateBrowserValues(t),h(this.cookies[e],n)},e.prototype.getAll=function(e,n){void 0===e&&(e={}),this._updateBrowserValues(n);var t={};for(var o in this.cookies)t[o]=h(this.cookies[o],e);return t},e.prototype.set=function(e,n,t){var o;"object"===typeof n&&(n=JSON.stringify(n)),this.cookies=f(f({},this.cookies),((o={})[e]=n,o)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=m.serialize(e,n,t)),this._emitChange({name:e,value:n,options:t})},e.prototype.remove=function(e,n){var t=n=f(f({},n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=f({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=m.serialize(e,"",t)),this._emitChange({name:e,value:void 0,options:n})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var n=this.changeListeners.indexOf(e);n>=0&&this.changeListeners.splice(n,1)},e}(),v=t(82),y=Object(v.a)().isBrowser,b=function(){function e(e){void 0===e&&(e={}),this.cookies=new g,this.store=y?window.localStorage:Object.create(null),this.cookies=e.req?new g(e.req.headers.cookie):new g,Object.assign(this.store,this.cookies.getAll())}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.entries(this.store).length},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this;Array.from(new Array(this.length)).map((function(n,t){return e.key(t)})).forEach((function(n){return e.removeItem(n)}))},e.prototype.getItem=function(e){return this.getLocalItem(e)},e.prototype.getLocalItem=function(e){return Object.prototype.hasOwnProperty.call(this.store,e)?this.store[e]:null},e.prototype.getUniversalItem=function(e){return this.cookies.get(e)},e.prototype.key=function(e){return Object.keys(this.store)[e]},e.prototype.removeItem=function(e){this.removeLocalItem(e),this.removeUniversalItem(e)},e.prototype.removeLocalItem=function(e){delete this.store[e]},e.prototype.removeUniversalItem=function(e){this.cookies.remove(e,{path:"/"})},e.prototype.setItem=function(e,n){this.setLocalItem(e,n);var t=e.split(".").pop();["LastAuthUser","accessToken","refreshToken","idToken"].includes(null!==t&&void 0!==t?t:"")&&this.setUniversalItem(e,n,{expires:new Date(Date.now()+31536e6)})},e.prototype.setLocalItem=function(e,n){this.store[e]=n},e.prototype.setUniversalItem=function(e,n,t){void 0===t&&(t={}),this.cookies.set(e,n,Object(i.__assign)(Object(i.__assign)({},t),{path:"/",sameSite:!0,secure:!y||"localhost"!==window.location.hostname}))},e}(),C=t(515);var w,S=t(199),_=function(){function e(e){var n=e||{},t=n.ValidationData,o=n.Username,r=n.Password,a=n.AuthParameters,i=n.ClientMetadata;this.validationData=t||{},this.authParameters=a||{},this.clientMetadata=i||{},this.username=o,this.password=r}var n=e.prototype;return n.getUsername=function(){return this.username},n.getPassword=function(){return this.password},n.getValidationData=function(){return this.validationData},n.getAuthParameters=function(){return this.authParameters},n.getClientMetadata=function(){return this.clientMetadata},e}(),E=t(37);function x(){if(w){if("function"===typeof w.getRandomValues)try{return w.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"===typeof w.randomBytes)try{return w.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")}"undefined"!==typeof window&&window.crypto&&(w=window.crypto),!w&&"undefined"!==typeof window&&window.msCrypto&&(w=window.msCrypto);var O,A=function(){function e(e,n){e=this.words=e||[],this.sigBytes=void 0!=n?n:4*e.length}var n=e.prototype;return n.random=function(n){for(var t=[],o=0;o<n;o+=4)t.push(x());return new e(t,n)},n.toString=function(){return function(e){for(var n=e.words,t=e.sigBytes,o=[],r=0;r<t;r++){var a=n[r>>>2]>>>24-r%4*8&255;o.push((a>>>4).toString(16)),o.push((15&a).toString(16))}return o.join("")}(this)},e}(),k=t(63),T=P;function P(e,n){null!=e&&this.fromString(e,n)}function M(){return new P(null)}var I="undefined"!==typeof navigator;I&&"Microsoft Internet Explorer"==navigator.appName?(P.prototype.am=function(e,n,t,o,r,a){for(var i=32767&n,s=n>>15;--a>=0;){var c=32767&this[e],u=this[e++]>>15,l=s*c+u*i;r=((c=i*c+((32767&l)<<15)+t[o]+(1073741823&r))>>>30)+(l>>>15)+s*u+(r>>>30),t[o++]=1073741823&c}return r},O=30):I&&"Netscape"!=navigator.appName?(P.prototype.am=function(e,n,t,o,r,a){for(;--a>=0;){var i=n*this[e++]+t[o]+r;r=Math.floor(i/67108864),t[o++]=67108863&i}return r},O=26):(P.prototype.am=function(e,n,t,o,r,a){for(var i=16383&n,s=n>>14;--a>=0;){var c=16383&this[e],u=this[e++]>>14,l=s*c+u*i;r=((c=i*c+((16383&l)<<14)+t[o]+r)>>28)+(l>>14)+s*u,t[o++]=268435455&c}return r},O=28),P.prototype.DB=O,P.prototype.DM=(1<<O)-1,P.prototype.DV=1<<O;P.prototype.FV=Math.pow(2,52),P.prototype.F1=52-O,P.prototype.F2=2*O-52;var R,j,N=new Array;for(R="0".charCodeAt(0),j=0;j<=9;++j)N[R++]=j;for(R="a".charCodeAt(0),j=10;j<36;++j)N[R++]=j;for(R="A".charCodeAt(0),j=10;j<36;++j)N[R++]=j;function L(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function F(e,n){var t=N[e.charCodeAt(n)];return null==t?-1:t}function U(e){var n=M();return n.fromInt(e),n}function D(e){var n,t=1;return 0!=(n=e>>>16)&&(e=n,t+=16),0!=(n=e>>8)&&(e=n,t+=8),0!=(n=e>>4)&&(e=n,t+=4),0!=(n=e>>2)&&(e=n,t+=2),0!=(n=e>>1)&&(e=n,t+=1),t}function B(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function z(e){return E.Buffer.from((new A).random(e).toString(),"hex")}B.prototype.convert=function(e){var n=M();return e.abs().dlShiftTo(this.m.t,n),n.divRemTo(this.m,null,n),e.s<0&&n.compareTo(P.ZERO)>0&&this.m.subTo(n,n),n},B.prototype.revert=function(e){var n=M();return e.copyTo(n),this.reduce(n),n},B.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var n=0;n<this.m.t;++n){var t=32767&e[n],o=t*this.mpl+((t*this.mph+(e[n]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[t=n+this.m.t]+=this.m.am(0,o,e,n,0,this.m.t);e[t]>=e.DV;)e[t]-=e.DV,e[++t]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},B.prototype.mulTo=function(e,n,t){e.multiplyTo(n,t),this.reduce(t)},B.prototype.sqrTo=function(e,n){e.squareTo(n),this.reduce(n)},P.prototype.copyTo=function(e){for(var n=this.t-1;n>=0;--n)e[n]=this[n];e.t=this.t,e.s=this.s},P.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},P.prototype.fromString=function(e,n){var t;if(16==n)t=4;else if(8==n)t=3;else if(2==n)t=1;else if(32==n)t=5;else{if(4!=n)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");t=2}this.t=0,this.s=0;for(var o=e.length,r=!1,a=0;--o>=0;){var i=F(e,o);i<0?"-"==e.charAt(o)&&(r=!0):(r=!1,0==a?this[this.t++]=i:a+t>this.DB?(this[this.t-1]|=(i&(1<<this.DB-a)-1)<<a,this[this.t++]=i>>this.DB-a):this[this.t-1]|=i<<a,(a+=t)>=this.DB&&(a-=this.DB))}this.clamp(),r&&P.ZERO.subTo(this,this)},P.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},P.prototype.dlShiftTo=function(e,n){var t;for(t=this.t-1;t>=0;--t)n[t+e]=this[t];for(t=e-1;t>=0;--t)n[t]=0;n.t=this.t+e,n.s=this.s},P.prototype.drShiftTo=function(e,n){for(var t=e;t<this.t;++t)n[t-e]=this[t];n.t=Math.max(this.t-e,0),n.s=this.s},P.prototype.lShiftTo=function(e,n){var t,o=e%this.DB,r=this.DB-o,a=(1<<r)-1,i=Math.floor(e/this.DB),s=this.s<<o&this.DM;for(t=this.t-1;t>=0;--t)n[t+i+1]=this[t]>>r|s,s=(this[t]&a)<<o;for(t=i-1;t>=0;--t)n[t]=0;n[i]=s,n.t=this.t+i+1,n.s=this.s,n.clamp()},P.prototype.rShiftTo=function(e,n){n.s=this.s;var t=Math.floor(e/this.DB);if(t>=this.t)n.t=0;else{var o=e%this.DB,r=this.DB-o,a=(1<<o)-1;n[0]=this[t]>>o;for(var i=t+1;i<this.t;++i)n[i-t-1]|=(this[i]&a)<<r,n[i-t]=this[i]>>o;o>0&&(n[this.t-t-1]|=(this.s&a)<<r),n.t=this.t-t,n.clamp()}},P.prototype.subTo=function(e,n){for(var t=0,o=0,r=Math.min(e.t,this.t);t<r;)o+=this[t]-e[t],n[t++]=o&this.DM,o>>=this.DB;if(e.t<this.t){for(o-=e.s;t<this.t;)o+=this[t],n[t++]=o&this.DM,o>>=this.DB;o+=this.s}else{for(o+=this.s;t<e.t;)o-=e[t],n[t++]=o&this.DM,o>>=this.DB;o-=e.s}n.s=o<0?-1:0,o<-1?n[t++]=this.DV+o:o>0&&(n[t++]=o),n.t=t,n.clamp()},P.prototype.multiplyTo=function(e,n){var t=this.abs(),o=e.abs(),r=t.t;for(n.t=r+o.t;--r>=0;)n[r]=0;for(r=0;r<o.t;++r)n[r+t.t]=t.am(0,o[r],n,r,0,t.t);n.s=0,n.clamp(),this.s!=e.s&&P.ZERO.subTo(n,n)},P.prototype.squareTo=function(e){for(var n=this.abs(),t=e.t=2*n.t;--t>=0;)e[t]=0;for(t=0;t<n.t-1;++t){var o=n.am(t,n[t],e,2*t,0,1);(e[t+n.t]+=n.am(t+1,2*n[t],e,2*t+1,o,n.t-t-1))>=n.DV&&(e[t+n.t]-=n.DV,e[t+n.t+1]=1)}e.t>0&&(e[e.t-1]+=n.am(t,n[t],e,2*t,0,1)),e.s=0,e.clamp()},P.prototype.divRemTo=function(e,n,t){var o=e.abs();if(!(o.t<=0)){var r=this.abs();if(r.t<o.t)return null!=n&&n.fromInt(0),void(null!=t&&this.copyTo(t));null==t&&(t=M());var a=M(),i=this.s,s=e.s,c=this.DB-D(o[o.t-1]);c>0?(o.lShiftTo(c,a),r.lShiftTo(c,t)):(o.copyTo(a),r.copyTo(t));var u=a.t,l=a[u-1];if(0!=l){var d=l*(1<<this.F1)+(u>1?a[u-2]>>this.F2:0),p=this.FV/d,m=(1<<this.F1)/d,h=1<<this.F2,f=t.t,g=f-u,v=null==n?M():n;for(a.dlShiftTo(g,v),t.compareTo(v)>=0&&(t[t.t++]=1,t.subTo(v,t)),P.ONE.dlShiftTo(u,v),v.subTo(a,a);a.t<u;)a[a.t++]=0;for(;--g>=0;){var y=t[--f]==l?this.DM:Math.floor(t[f]*p+(t[f-1]+h)*m);if((t[f]+=a.am(0,y,t,g,0,u))<y)for(a.dlShiftTo(g,v),t.subTo(v,t);t[f]<--y;)t.subTo(v,t)}null!=n&&(t.drShiftTo(u,n),i!=s&&P.ZERO.subTo(n,n)),t.t=u,t.clamp(),c>0&&t.rShiftTo(c,t),i<0&&P.ZERO.subTo(t,t)}}},P.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var n=3&e;return(n=(n=(n=(n=n*(2-(15&e)*n)&15)*(2-(255&e)*n)&255)*(2-((65535&e)*n&65535))&65535)*(2-e*n%this.DV)%this.DV)>0?this.DV-n:-n},P.prototype.addTo=function(e,n){for(var t=0,o=0,r=Math.min(e.t,this.t);t<r;)o+=this[t]+e[t],n[t++]=o&this.DM,o>>=this.DB;if(e.t<this.t){for(o+=e.s;t<this.t;)o+=this[t],n[t++]=o&this.DM,o>>=this.DB;o+=this.s}else{for(o+=this.s;t<e.t;)o+=e[t],n[t++]=o&this.DM,o>>=this.DB;o+=e.s}n.s=o<0?-1:0,o>0?n[t++]=o:o<-1&&(n[t++]=this.DV+o),n.t=t,n.clamp()},P.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var n;if(16==e)n=4;else if(8==e)n=3;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)throw new Error("Only radix 2, 4, 8, 16, 32 are supported");n=2}var t,o=(1<<n)-1,r=!1,a="",i=this.t,s=this.DB-i*this.DB%n;if(i-- >0)for(s<this.DB&&(t=this[i]>>s)>0&&(r=!0,a=L(t));i>=0;)s<n?(t=(this[i]&(1<<s)-1)<<n-s,t|=this[--i]>>(s+=this.DB-n)):(t=this[i]>>(s-=n)&o,s<=0&&(s+=this.DB,--i)),t>0&&(r=!0),r&&(a+=L(t));return r?a:"0"},P.prototype.negate=function(){var e=M();return P.ZERO.subTo(this,e),e},P.prototype.abs=function(){return this.s<0?this.negate():this},P.prototype.compareTo=function(e){var n=this.s-e.s;if(0!=n)return n;var t=this.t;if(0!=(n=t-e.t))return this.s<0?-n:n;for(;--t>=0;)if(0!=(n=this[t]-e[t]))return n;return 0},P.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+D(this[this.t-1]^this.s&this.DM)},P.prototype.mod=function(e){var n=M();return this.abs().divRemTo(e,null,n),this.s<0&&n.compareTo(P.ZERO)>0&&e.subTo(n,n),n},P.prototype.equals=function(e){return 0==this.compareTo(e)},P.prototype.add=function(e){var n=M();return this.addTo(e,n),n},P.prototype.subtract=function(e){var n=M();return this.subTo(e,n),n},P.prototype.multiply=function(e){var n=M();return this.multiplyTo(e,n),n},P.prototype.divide=function(e){var n=M();return this.divRemTo(e,n,null),n},P.prototype.modPow=function(e,n,t){var o,r=e.bitLength(),a=U(1),i=new B(n);if(r<=0)return a;o=r<18?1:r<48?3:r<144?4:r<768?5:6;var s=new Array,c=3,u=o-1,l=(1<<o)-1;if(s[1]=i.convert(this),o>1){var d=M();for(i.sqrTo(s[1],d);c<=l;)s[c]=M(),i.mulTo(d,s[c-2],s[c]),c+=2}var p,m,h=e.t-1,f=!0,g=M();for(r=D(e[h])-1;h>=0;){for(r>=u?p=e[h]>>r-u&l:(p=(e[h]&(1<<r+1)-1)<<u-r,h>0&&(p|=e[h-1]>>this.DB+r-u)),c=o;0==(1&p);)p>>=1,--c;if((r-=c)<0&&(r+=this.DB,--h),f)s[p].copyTo(a),f=!1;else{for(;c>1;)i.sqrTo(a,g),i.sqrTo(g,a),c-=2;c>0?i.sqrTo(a,g):(m=a,a=g,g=m),i.mulTo(g,s[p],a)}for(;h>=0&&0==(e[h]&1<<r);)i.sqrTo(a,g),m=a,a=g,g=m,--r<0&&(r=this.DB-1,--h)}var v=i.revert(a);return t(null,v),v},P.ZERO=U(0),P.ONE=U(1);var V=/^[89a-f]/i,G=function(){function e(e){this.N=new T("FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",16),this.g=new T("2",16),this.k=new T(this.hexHash(""+this.padHex(this.N)+this.padHex(this.g)),16),this.smallAValue=this.generateRandomSmallA(),this.getLargeAValue((function(){})),this.infoBits=E.Buffer.from("Caldera Derived Key","utf8"),this.poolName=e}var n=e.prototype;return n.getSmallAValue=function(){return this.smallAValue},n.getLargeAValue=function(e){var n=this;this.largeAValue?e(null,this.largeAValue):this.calculateA(this.smallAValue,(function(t,o){t&&e(t,null),n.largeAValue=o,e(null,n.largeAValue)}))},n.generateRandomSmallA=function(){var e=z(128).toString("hex");return new T(e,16)},n.generateRandomString=function(){return z(40).toString("base64")},n.getRandomPassword=function(){return this.randomPassword},n.getSaltDevices=function(){return this.SaltToHashDevices},n.getVerifierDevices=function(){return this.verifierDevices},n.generateHashDevice=function(e,n,t){var o=this;this.randomPassword=this.generateRandomString();var r=""+e+n+":"+this.randomPassword,a=this.hash(r),i=z(16).toString("hex");this.SaltToHashDevices=this.padHex(new T(i,16)),this.g.modPow(new T(this.hexHash(this.SaltToHashDevices+a),16),this.N,(function(e,n){e&&t(e,null),o.verifierDevices=o.padHex(n),t(null,null)}))},n.calculateA=function(e,n){var t=this;this.g.modPow(e,this.N,(function(e,o){e&&n(e,null),o.mod(t.N).equals(T.ZERO)&&n(new Error("Illegal paramater. A mod N cannot be 0."),null),n(null,o)}))},n.calculateU=function(e,n){return this.UHexHash=this.hexHash(this.padHex(e)+this.padHex(n)),new T(this.UHexHash,16)},n.hash=function(e){var n=new k.Sha256;n.update(e);var t=n.digestSync(),o=E.Buffer.from(t).toString("hex");return new Array(64-o.length).join("0")+o},n.hexHash=function(e){return this.hash(E.Buffer.from(e,"hex"))},n.computehkdf=function(e,n){var t=E.Buffer.concat([this.infoBits,E.Buffer.from(String.fromCharCode(1),"utf8")]),o=new k.Sha256(n);o.update(e);var r=o.digestSync(),a=new k.Sha256(r);return a.update(t),a.digestSync().slice(0,16)},n.getPasswordAuthenticationKey=function(e,n,t,o,r){var a=this;if(t.mod(this.N).equals(T.ZERO))throw new Error("B cannot be zero.");if(this.UValue=this.calculateU(this.largeAValue,t),this.UValue.equals(T.ZERO))throw new Error("U cannot be zero.");var i=""+this.poolName+e+":"+n,s=this.hash(i),c=new T(this.hexHash(this.padHex(o)+s),16);this.calculateS(c,t,(function(e,n){e&&r(e,null);var t=a.computehkdf(E.Buffer.from(a.padHex(n),"hex"),E.Buffer.from(a.padHex(a.UValue),"hex"));r(null,t)}))},n.calculateS=function(e,n,t){var o=this;this.g.modPow(e,this.N,(function(r,a){r&&t(r,null),n.subtract(o.k.multiply(a)).modPow(o.smallAValue.add(o.UValue.multiply(e)),o.N,(function(e,n){e&&t(e,null),t(null,n.mod(o.N))}))}))},n.getNewPasswordRequiredChallengeUserAttributePrefix=function(){return"userAttributes."},n.padHex=function(e){if(!(e instanceof T))throw new Error("Not a BigInteger");var n=e.compareTo(T.ZERO)<0,t=e.abs().toString(16);if(t=t.length%2!==0?"0"+t:t,t=V.test(t)?"00"+t:t,n){var o=t.split("").map((function(e){var n=15&~parseInt(e,16);return"0123456789ABCDEF".charAt(n)})).join("");(t=new T(o,16).add(T.ONE).toString(16)).toUpperCase().startsWith("FF8")&&(t=t.substring(2))}return t},e}(),H=function(){function e(e){this.jwtToken=e||"",this.payload=this.decodePayload()}var n=e.prototype;return n.getJwtToken=function(){return this.jwtToken},n.getExpiration=function(){return this.payload.exp},n.getIssuedAt=function(){return this.payload.iat},n.decodePayload=function(){var e=this.jwtToken.split(".")[1];try{return JSON.parse(E.Buffer.from(e,"base64").toString("utf8"))}catch(n){return{}}},e}();function q(e,n){return(q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}var K=function(e){var n,t;function o(n){var t=(void 0===n?{}:n).AccessToken;return e.call(this,t||"")||this}return t=e,(n=o).prototype=Object.create(t.prototype),n.prototype.constructor=n,q(n,t),o}(H);function W(e,n){return(W=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}var $=function(e){var n,t;function o(n){var t=(void 0===n?{}:n).IdToken;return e.call(this,t||"")||this}return t=e,(n=o).prototype=Object.create(t.prototype),n.prototype.constructor=n,W(n,t),o}(H),Y=function(){function e(e){var n=(void 0===e?{}:e).RefreshToken;this.token=n||""}return e.prototype.getToken=function(){return this.token},e}(),Q="aws-amplify/5.0.4",J={userAgent:Q+" js",product:"",navigator:null,isReactNative:!1};if("undefined"!==typeof navigator&&navigator.product)switch(J.product=navigator.product||"",J.navigator=navigator||null,navigator.product){case"ReactNative":J.userAgent=Q+" react-native",J.isReactNative=!0;break;default:J.userAgent=Q+" js",J.isReactNative=!1}var Z=function(){function e(e){var n=void 0===e?{}:e,t=n.IdToken,o=n.RefreshToken,r=n.AccessToken,a=n.ClockDrift;if(null==r||null==t)throw new Error("Id token and Access Token must be present.");this.idToken=t,this.refreshToken=o,this.accessToken=r,this.clockDrift=void 0===a?this.calculateClockDrift():a}var n=e.prototype;return n.getIdToken=function(){return this.idToken},n.getRefreshToken=function(){return this.refreshToken},n.getAccessToken=function(){return this.accessToken},n.getClockDrift=function(){return this.clockDrift},n.calculateClockDrift=function(){return Math.floor(new Date/1e3)-Math.min(this.accessToken.getIssuedAt(),this.idToken.getIssuedAt())},n.isValid=function(){var e=Math.floor(new Date/1e3)-this.clockDrift;return e<this.accessToken.getExpiration()&&e<this.idToken.getExpiration()},e}(),X=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ee=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],ne=function(){function e(){}return e.prototype.getNowString=function(){var e=new Date,n=ee[e.getUTCDay()],t=X[e.getUTCMonth()],o=e.getUTCDate(),r=e.getUTCHours();r<10&&(r="0"+r);var a=e.getUTCMinutes();a<10&&(a="0"+a);var i=e.getUTCSeconds();return i<10&&(i="0"+i),n+" "+t+" "+o+" "+r+":"+a+":"+i+" UTC "+e.getUTCFullYear()},e}(),te=function(){function e(e){var n=void 0===e?{}:e,t=n.Name,o=n.Value;this.Name=t||"",this.Value=o||""}var n=e.prototype;return n.getValue=function(){return this.Value},n.setValue=function(e){return this.Value=e,this},n.getName=function(){return this.Name},n.setName=function(e){return this.Name=e,this},n.toString=function(){return JSON.stringify(this)},n.toJSON=function(){return{Name:this.Name,Value:this.Value}},e}(),oe={},re=function(){function e(){}return e.setItem=function(e,n){return oe[e]=n,oe[e]},e.getItem=function(e){return Object.prototype.hasOwnProperty.call(oe,e)?oe[e]:void 0},e.removeItem=function(e){return delete oe[e]},e.clear=function(){return oe={}},e}(),ae=function(){function e(){try{this.storageWindow=window.localStorage,this.storageWindow.setItem("aws.cognito.test-ls",1),this.storageWindow.removeItem("aws.cognito.test-ls")}catch(e){this.storageWindow=re}}return e.prototype.getStorage=function(){return this.storageWindow},e}(),ie="undefined"!==typeof navigator?J.isReactNative?"react-native":navigator.userAgent:"nodejs",se=function(){function e(e){if(null==e||null==e.Username||null==e.Pool)throw new Error("Username and Pool information are required.");this.username=e.Username||"",this.pool=e.Pool,this.Session=null,this.client=e.Pool.client,this.signInUserSession=null,this.authenticationFlowType="USER_SRP_AUTH",this.storage=e.Storage||(new ae).getStorage(),this.keyPrefix="CognitoIdentityServiceProvider."+this.pool.getClientId(),this.userDataKey=this.keyPrefix+"."+this.username+".userData"}var n=e.prototype;return n.setSignInUserSession=function(e){this.clearCachedUserData(),this.signInUserSession=e,this.cacheTokens()},n.getSignInUserSession=function(){return this.signInUserSession},n.getUsername=function(){return this.username},n.getAuthenticationFlowType=function(){return this.authenticationFlowType},n.setAuthenticationFlowType=function(e){this.authenticationFlowType=e},n.initiateAuth=function(e,n){var t=this,o=e.getAuthParameters();o.USERNAME=this.username;var r=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),a={AuthFlow:"CUSTOM_AUTH",ClientId:this.pool.getClientId(),AuthParameters:o,ClientMetadata:r};this.getUserContextData()&&(a.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",a,(function(e,o){if(e)return n.onFailure(e);var r=o.ChallengeName,a=o.ChallengeParameters;return"CUSTOM_CHALLENGE"===r?(t.Session=o.Session,n.customChallenge(a)):(t.signInUserSession=t.getCognitoUserSession(o.AuthenticationResult),t.cacheTokens(),n.onSuccess(t.signInUserSession))}))},n.authenticateUser=function(e,n){return"USER_PASSWORD_AUTH"===this.authenticationFlowType?this.authenticateUserPlainUsernamePassword(e,n):"USER_SRP_AUTH"===this.authenticationFlowType||"CUSTOM_AUTH"===this.authenticationFlowType?this.authenticateUserDefaultAuth(e,n):n.onFailure(new Error("Authentication flow type is invalid."))},n.authenticateUserDefaultAuth=function(e,n){var t,o,r=this,a=new G(this.pool.getUserPoolName()),i=new ne,s={};null!=this.deviceKey&&(s.DEVICE_KEY=this.deviceKey),s.USERNAME=this.username,a.getLargeAValue((function(c,u){c&&n.onFailure(c),s.SRP_A=u.toString(16),"CUSTOM_AUTH"===r.authenticationFlowType&&(s.CHALLENGE_NAME="SRP_A");var l=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),d={AuthFlow:r.authenticationFlowType,ClientId:r.pool.getClientId(),AuthParameters:s,ClientMetadata:l};r.getUserContextData(r.username)&&(d.UserContextData=r.getUserContextData(r.username)),r.client.request("InitiateAuth",d,(function(s,c){if(s)return n.onFailure(s);var u=c.ChallengeParameters;r.username=u.USER_ID_FOR_SRP,r.userDataKey=r.keyPrefix+"."+r.username+".userData",t=new T(u.SRP_B,16),o=new T(u.SALT,16),r.getCachedDeviceKeyAndPassword(),a.getPasswordAuthenticationKey(r.username,e.getPassword(),t,o,(function(e,t){e&&n.onFailure(e);var o=i.getNowString(),s=E.Buffer.concat([E.Buffer.from(r.pool.getUserPoolName(),"utf8"),E.Buffer.from(r.username,"utf8"),E.Buffer.from(u.SECRET_BLOCK,"base64"),E.Buffer.from(o,"utf8")]),d=new k.Sha256(t);d.update(s);var p=d.digestSync(),m=E.Buffer.from(p).toString("base64"),h={};h.USERNAME=r.username,h.PASSWORD_CLAIM_SECRET_BLOCK=u.SECRET_BLOCK,h.TIMESTAMP=o,h.PASSWORD_CLAIM_SIGNATURE=m,null!=r.deviceKey&&(h.DEVICE_KEY=r.deviceKey);var f={ChallengeName:"PASSWORD_VERIFIER",ClientId:r.pool.getClientId(),ChallengeResponses:h,Session:c.Session,ClientMetadata:l};r.getUserContextData()&&(f.UserContextData=r.getUserContextData()),function e(n,t){return r.client.request("RespondToAuthChallenge",n,(function(o,a){return o&&"ResourceNotFoundException"===o.code&&-1!==o.message.toLowerCase().indexOf("device")?(h.DEVICE_KEY=null,r.deviceKey=null,r.randomPassword=null,r.deviceGroupKey=null,r.clearCachedDeviceKeyAndPassword(),e(n,t)):t(o,a)}))}(f,(function(e,t){return e?n.onFailure(e):r.authenticateUserInternal(t,a,n)}))}))}))}))},n.authenticateUserPlainUsernamePassword=function(e,n){var t=this,o={};if(o.USERNAME=this.username,o.PASSWORD=e.getPassword(),o.PASSWORD){var r=new G(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(o.DEVICE_KEY=this.deviceKey);var a=0!==Object.keys(e.getValidationData()).length?e.getValidationData():e.getClientMetadata(),i={AuthFlow:"USER_PASSWORD_AUTH",ClientId:this.pool.getClientId(),AuthParameters:o,ClientMetadata:a};this.getUserContextData(this.username)&&(i.UserContextData=this.getUserContextData(this.username)),this.client.request("InitiateAuth",i,(function(e,o){return e?n.onFailure(e):t.authenticateUserInternal(o,r,n)}))}else n.onFailure(new Error("PASSWORD parameter is required"))},n.authenticateUserInternal=function(e,n,t){var o=this,r=e.ChallengeName,a=e.ChallengeParameters;if("SMS_MFA"===r)return this.Session=e.Session,t.mfaRequired(r,a);if("SELECT_MFA_TYPE"===r)return this.Session=e.Session,t.selectMFAType(r,a);if("MFA_SETUP"===r)return this.Session=e.Session,t.mfaSetup(r,a);if("SOFTWARE_TOKEN_MFA"===r)return this.Session=e.Session,t.totpRequired(r,a);if("CUSTOM_CHALLENGE"===r)return this.Session=e.Session,t.customChallenge(a);if("NEW_PASSWORD_REQUIRED"===r){this.Session=e.Session;var i=null,s=null,c=[],u=n.getNewPasswordRequiredChallengeUserAttributePrefix();if(a&&(i=JSON.parse(e.ChallengeParameters.userAttributes),s=JSON.parse(e.ChallengeParameters.requiredAttributes)),s)for(var l=0;l<s.length;l++)c[l]=s[l].substr(u.length);return t.newPasswordRequired(i,c)}if("DEVICE_SRP_AUTH"===r)return this.Session=e.Session,void this.getDeviceResponse(t);this.signInUserSession=this.getCognitoUserSession(e.AuthenticationResult),this.challengeName=r,this.cacheTokens();var d=e.AuthenticationResult.NewDeviceMetadata;if(null==d)return t.onSuccess(this.signInUserSession);n.generateHashDevice(e.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,e.AuthenticationResult.NewDeviceMetadata.DeviceKey,(function(r){if(r)return t.onFailure(r);var a={Salt:E.Buffer.from(n.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:E.Buffer.from(n.getVerifierDevices(),"hex").toString("base64")};o.verifierDevices=a.PasswordVerifier,o.deviceGroupKey=d.DeviceGroupKey,o.randomPassword=n.getRandomPassword(),o.client.request("ConfirmDevice",{DeviceKey:d.DeviceKey,AccessToken:o.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:a,DeviceName:ie},(function(n,r){return n?t.onFailure(n):(o.deviceKey=e.AuthenticationResult.NewDeviceMetadata.DeviceKey,o.cacheDeviceKeyAndPassword(),!0===r.UserConfirmationNecessary?t.onSuccess(o.signInUserSession,r.UserConfirmationNecessary):t.onSuccess(o.signInUserSession))}))}))},n.completeNewPasswordChallenge=function(e,n,t,o){var r=this;if(!e)return t.onFailure(new Error("New password is required."));var a=new G(this.pool.getUserPoolName()),i=a.getNewPasswordRequiredChallengeUserAttributePrefix(),s={};n&&Object.keys(n).forEach((function(e){s[i+e]=n[e]})),s.NEW_PASSWORD=e,s.USERNAME=this.username;var c={ChallengeName:"NEW_PASSWORD_REQUIRED",ClientId:this.pool.getClientId(),ChallengeResponses:s,Session:this.Session,ClientMetadata:o};this.getUserContextData()&&(c.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",c,(function(e,n){return e?t.onFailure(e):r.authenticateUserInternal(n,a,t)}))},n.getDeviceResponse=function(e,n){var t=this,o=new G(this.deviceGroupKey),r=new ne,a={};a.USERNAME=this.username,a.DEVICE_KEY=this.deviceKey,o.getLargeAValue((function(i,s){i&&e.onFailure(i),a.SRP_A=s.toString(16);var c={ChallengeName:"DEVICE_SRP_AUTH",ClientId:t.pool.getClientId(),ChallengeResponses:a,ClientMetadata:n,Session:t.Session};t.getUserContextData()&&(c.UserContextData=t.getUserContextData()),t.client.request("RespondToAuthChallenge",c,(function(n,a){if(n)return e.onFailure(n);var i=a.ChallengeParameters,s=new T(i.SRP_B,16),c=new T(i.SALT,16);o.getPasswordAuthenticationKey(t.deviceKey,t.randomPassword,s,c,(function(n,o){if(n)return e.onFailure(n);var s=r.getNowString(),c=E.Buffer.concat([E.Buffer.from(t.deviceGroupKey,"utf8"),E.Buffer.from(t.deviceKey,"utf8"),E.Buffer.from(i.SECRET_BLOCK,"base64"),E.Buffer.from(s,"utf8")]),u=new k.Sha256(o);u.update(c);var l=u.digestSync(),d=E.Buffer.from(l).toString("base64"),p={};p.USERNAME=t.username,p.PASSWORD_CLAIM_SECRET_BLOCK=i.SECRET_BLOCK,p.TIMESTAMP=s,p.PASSWORD_CLAIM_SIGNATURE=d,p.DEVICE_KEY=t.deviceKey;var m={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:t.pool.getClientId(),ChallengeResponses:p,Session:a.Session};t.getUserContextData()&&(m.UserContextData=t.getUserContextData()),t.client.request("RespondToAuthChallenge",m,(function(n,o){return n?e.onFailure(n):(t.signInUserSession=t.getCognitoUserSession(o.AuthenticationResult),t.cacheTokens(),e.onSuccess(t.signInUserSession))}))}))}))}))},n.confirmRegistration=function(e,n,t,o){var r={ClientId:this.pool.getClientId(),ConfirmationCode:e,Username:this.username,ForceAliasCreation:n,ClientMetadata:o};this.getUserContextData()&&(r.UserContextData=this.getUserContextData()),this.client.request("ConfirmSignUp",r,(function(e){return e?t(e,null):t(null,"SUCCESS")}))},n.sendCustomChallengeAnswer=function(e,n,t){var o=this,r={};r.USERNAME=this.username,r.ANSWER=e;var a=new G(this.pool.getUserPoolName());this.getCachedDeviceKeyAndPassword(),null!=this.deviceKey&&(r.DEVICE_KEY=this.deviceKey);var i={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:r,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:t};this.getUserContextData()&&(i.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",i,(function(e,t){return e?n.onFailure(e):o.authenticateUserInternal(t,a,n)}))},n.sendMFACode=function(e,n,t,o){var r=this,a={};a.USERNAME=this.username,a.SMS_MFA_CODE=e;var i=t||"SMS_MFA";"SOFTWARE_TOKEN_MFA"===i&&(a.SOFTWARE_TOKEN_MFA_CODE=e),null!=this.deviceKey&&(a.DEVICE_KEY=this.deviceKey);var s={ChallengeName:i,ChallengeResponses:a,ClientId:this.pool.getClientId(),Session:this.Session,ClientMetadata:o};this.getUserContextData()&&(s.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",s,(function(e,t){if(e)return n.onFailure(e);if("DEVICE_SRP_AUTH"!==t.ChallengeName){if(r.signInUserSession=r.getCognitoUserSession(t.AuthenticationResult),r.cacheTokens(),null==t.AuthenticationResult.NewDeviceMetadata)return n.onSuccess(r.signInUserSession);var o=new G(r.pool.getUserPoolName());o.generateHashDevice(t.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,t.AuthenticationResult.NewDeviceMetadata.DeviceKey,(function(e){if(e)return n.onFailure(e);var a={Salt:E.Buffer.from(o.getSaltDevices(),"hex").toString("base64"),PasswordVerifier:E.Buffer.from(o.getVerifierDevices(),"hex").toString("base64")};r.verifierDevices=a.PasswordVerifier,r.deviceGroupKey=t.AuthenticationResult.NewDeviceMetadata.DeviceGroupKey,r.randomPassword=o.getRandomPassword(),r.client.request("ConfirmDevice",{DeviceKey:t.AuthenticationResult.NewDeviceMetadata.DeviceKey,AccessToken:r.signInUserSession.getAccessToken().getJwtToken(),DeviceSecretVerifierConfig:a,DeviceName:ie},(function(e,o){return e?n.onFailure(e):(r.deviceKey=t.AuthenticationResult.NewDeviceMetadata.DeviceKey,r.cacheDeviceKeyAndPassword(),!0===o.UserConfirmationNecessary?n.onSuccess(r.signInUserSession,o.UserConfirmationNecessary):n.onSuccess(r.signInUserSession))}))}))}else r.getDeviceResponse(n)}))},n.changePassword=function(e,n,t,o){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("ChangePassword",{PreviousPassword:e,ProposedPassword:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:o},(function(e){return e?t(e,null):t(null,"SUCCESS")}))},n.enableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);var n=[];n.push({DeliveryMedium:"SMS",AttributeName:"phone_number"}),this.client.request("SetUserSettings",{MFAOptions:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(n){return n?e(n,null):e(null,"SUCCESS")}))},n.setUserMfaPreference=function(e,n,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t(new Error("User is not authenticated"),null);this.client.request("SetUserMFAPreference",{SMSMfaSettings:e,SoftwareTokenMfaSettings:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(e){return e?t(e,null):t(null,"SUCCESS")}))},n.disableMFA=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("SetUserSettings",{MFAOptions:[],AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(n){return n?e(n,null):e(null,"SUCCESS")}))},n.deleteUser=function(e,n){var t=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("DeleteUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:n},(function(n){return n?e(n,null):(t.clearCachedUser(),e(null,"SUCCESS"))}))},n.updateAttributes=function(e,n,t){var o=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("UpdateUserAttributes",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserAttributes:e,ClientMetadata:t},(function(e,t){return e?n(e,null):o.getUserData((function(){return n(null,"SUCCESS",t)}),{bypassCache:!0})}))},n.getUserAttributes=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(n,t){if(n)return e(n,null);for(var o=[],r=0;r<t.UserAttributes.length;r++){var a={Name:t.UserAttributes[r].Name,Value:t.UserAttributes[r].Value},i=new te(a);o.push(i)}return e(null,o)}))},n.getMFAOptions=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e(new Error("User is not authenticated"),null);this.client.request("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(n,t){return n?e(n,null):e(null,t.MFAOptions)}))},n.createGetUserRequest=function(){return this.client.promisifyRequest("GetUser",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()})},n.refreshSessionIfPossible=function(e){var n=this;return void 0===e&&(e={}),new Promise((function(t){var o=n.signInUserSession.getRefreshToken();o&&o.getToken()?n.refreshSession(o,t,e.clientMetadata):t()}))},n.getUserData=function(e,n){var t=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return this.clearCachedUserData(),e(new Error("User is not authenticated"),null);var o=this.getUserDataFromCache();if(o)if(this.isFetchUserDataAndTokenRequired(n))this.fetchUserData().then((function(e){return t.refreshSessionIfPossible(n).then((function(){return e}))})).then((function(n){return e(null,n)})).catch(e);else try{return void e(null,JSON.parse(o))}catch(r){return this.clearCachedUserData(),void e(r,null)}else this.fetchUserData().then((function(n){e(null,n)})).catch(e)},n.getUserDataFromCache=function(){return this.storage.getItem(this.userDataKey)},n.isFetchUserDataAndTokenRequired=function(e){var n=(e||{}).bypassCache;return void 0!==n&&n},n.fetchUserData=function(){var e=this;return this.createGetUserRequest().then((function(n){return e.cacheUserData(n),n}))},n.deleteAttributes=function(e,n){var t=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return n(new Error("User is not authenticated"),null);this.client.request("DeleteUserAttributes",{UserAttributeNames:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(e){return e?n(e,null):t.getUserData((function(){return n(null,"SUCCESS")}),{bypassCache:!0})}))},n.resendConfirmationCode=function(e,n){var t={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:n};this.client.request("ResendConfirmationCode",t,(function(n,t){return n?e(n,null):e(null,t)}))},n.getSession=function(e,n){if(void 0===n&&(n={}),null==this.username)return e(new Error("Username is null. Cannot retrieve a new session"),null);if(null!=this.signInUserSession&&this.signInUserSession.isValid())return e(null,this.signInUserSession);var t="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,o=t+".idToken",r=t+".accessToken",a=t+".refreshToken",i=t+".clockDrift";if(this.storage.getItem(o)){var s=new $({IdToken:this.storage.getItem(o)}),c=new K({AccessToken:this.storage.getItem(r)}),u=new Y({RefreshToken:this.storage.getItem(a)}),l=parseInt(this.storage.getItem(i),0)||0,d=new Z({IdToken:s,AccessToken:c,RefreshToken:u,ClockDrift:l});if(d.isValid())return this.signInUserSession=d,e(null,this.signInUserSession);if(!u.getToken())return e(new Error("Cannot retrieve a new session. Please authenticate."),null);this.refreshSession(u,e,n.clientMetadata)}else e(new Error("Local storage is missing an ID Token, Please authenticate"),null)},n.refreshSession=function(e,n,t){var o=this,r=this.pool.wrapRefreshSessionCallback?this.pool.wrapRefreshSessionCallback(n):n,a={};a.REFRESH_TOKEN=e.getToken();var i="CognitoIdentityServiceProvider."+this.pool.getClientId(),s=i+".LastAuthUser";if(this.storage.getItem(s)){this.username=this.storage.getItem(s);var c=i+"."+this.username+".deviceKey";this.deviceKey=this.storage.getItem(c),a.DEVICE_KEY=this.deviceKey}var u={ClientId:this.pool.getClientId(),AuthFlow:"REFRESH_TOKEN_AUTH",AuthParameters:a,ClientMetadata:t};this.getUserContextData()&&(u.UserContextData=this.getUserContextData()),this.client.request("InitiateAuth",u,(function(n,t){if(n)return"NotAuthorizedException"===n.code&&o.clearCachedUser(),r(n,null);if(t){var a=t.AuthenticationResult;return Object.prototype.hasOwnProperty.call(a,"RefreshToken")||(a.RefreshToken=e.getToken()),o.signInUserSession=o.getCognitoUserSession(a),o.cacheTokens(),r(null,o.signInUserSession)}}))},n.cacheTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),n=e+"."+this.username+".idToken",t=e+"."+this.username+".accessToken",o=e+"."+this.username+".refreshToken",r=e+"."+this.username+".clockDrift",a=e+".LastAuthUser";this.storage.setItem(n,this.signInUserSession.getIdToken().getJwtToken()),this.storage.setItem(t,this.signInUserSession.getAccessToken().getJwtToken()),this.storage.setItem(o,this.signInUserSession.getRefreshToken().getToken()),this.storage.setItem(r,""+this.signInUserSession.getClockDrift()),this.storage.setItem(a,this.username)},n.cacheUserData=function(e){this.storage.setItem(this.userDataKey,JSON.stringify(e))},n.clearCachedUserData=function(){this.storage.removeItem(this.userDataKey)},n.clearCachedUser=function(){this.clearCachedTokens(),this.clearCachedUserData()},n.cacheDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,n=e+".deviceKey",t=e+".randomPasswordKey",o=e+".deviceGroupKey";this.storage.setItem(n,this.deviceKey),this.storage.setItem(t,this.randomPassword),this.storage.setItem(o,this.deviceGroupKey)},n.getCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,n=e+".deviceKey",t=e+".randomPasswordKey",o=e+".deviceGroupKey";this.storage.getItem(n)&&(this.deviceKey=this.storage.getItem(n),this.randomPassword=this.storage.getItem(t),this.deviceGroupKey=this.storage.getItem(o))},n.clearCachedDeviceKeyAndPassword=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId()+"."+this.username,n=e+".deviceKey",t=e+".randomPasswordKey",o=e+".deviceGroupKey";this.storage.removeItem(n),this.storage.removeItem(t),this.storage.removeItem(o)},n.clearCachedTokens=function(){var e="CognitoIdentityServiceProvider."+this.pool.getClientId(),n=e+"."+this.username+".idToken",t=e+"."+this.username+".accessToken",o=e+"."+this.username+".refreshToken",r=e+".LastAuthUser",a=e+"."+this.username+".clockDrift";this.storage.removeItem(n),this.storage.removeItem(t),this.storage.removeItem(o),this.storage.removeItem(r),this.storage.removeItem(a)},n.getCognitoUserSession=function(e){var n=new $(e),t=new K(e),o=new Y(e);return new Z({IdToken:n,AccessToken:t,RefreshToken:o})},n.forgotPassword=function(e,n){var t={ClientId:this.pool.getClientId(),Username:this.username,ClientMetadata:n};this.getUserContextData()&&(t.UserContextData=this.getUserContextData()),this.client.request("ForgotPassword",t,(function(n,t){return n?e.onFailure(n):"function"===typeof e.inputVerificationCode?e.inputVerificationCode(t):e.onSuccess(t)}))},n.confirmPassword=function(e,n,t,o){var r={ClientId:this.pool.getClientId(),Username:this.username,ConfirmationCode:e,Password:n,ClientMetadata:o};this.getUserContextData()&&(r.UserContextData=this.getUserContextData()),this.client.request("ConfirmForgotPassword",r,(function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")}))},n.getAttributeVerificationCode=function(e,n,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));this.client.request("GetUserAttributeVerificationCode",{AttributeName:e,AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),ClientMetadata:t},(function(e,t){return e?n.onFailure(e):"function"===typeof n.inputVerificationCode?n.inputVerificationCode(t):n.onSuccess("SUCCESS")}))},n.verifyAttribute=function(e,n,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));this.client.request("VerifyUserAttribute",{AttributeName:e,Code:n,AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(e){return e?t.onFailure(e):t.onSuccess("SUCCESS")}))},n.getDevice=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("GetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey},(function(n,t){return n?e.onFailure(n):e.onSuccess(t)}))},n.forgetSpecificDevice=function(e,n){if(null==this.signInUserSession||!this.signInUserSession.isValid())return n.onFailure(new Error("User is not authenticated"));this.client.request("ForgetDevice",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:e},(function(e){return e?n.onFailure(e):n.onSuccess("SUCCESS")}))},n.forgetDevice=function(e){var n=this;this.forgetSpecificDevice(this.deviceKey,{onFailure:e.onFailure,onSuccess:function(t){return n.deviceKey=null,n.deviceGroupKey=null,n.randomPassword=null,n.clearCachedDeviceKeyAndPassword(),e.onSuccess(t)}})},n.setDeviceStatusRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"remembered"},(function(n){return n?e.onFailure(n):e.onSuccess("SUCCESS")}))},n.setDeviceStatusNotRemembered=function(e){if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("UpdateDeviceStatus",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),DeviceKey:this.deviceKey,DeviceRememberedStatus:"not_remembered"},(function(n){return n?e.onFailure(n):e.onSuccess("SUCCESS")}))},n.listDevices=function(e,n,t){if(null==this.signInUserSession||!this.signInUserSession.isValid())return t.onFailure(new Error("User is not authenticated"));var o={AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),Limit:e};n&&(o.PaginationToken=n),this.client.request("ListDevices",o,(function(e,n){return e?t.onFailure(e):t.onSuccess(n)}))},n.globalSignOut=function(e){var n=this;if(null==this.signInUserSession||!this.signInUserSession.isValid())return e.onFailure(new Error("User is not authenticated"));this.client.request("GlobalSignOut",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(t){return t?e.onFailure(t):(n.clearCachedUser(),e.onSuccess("SUCCESS"))}))},n.signOut=function(e){var n=this;e&&"function"===typeof e?this.getSession((function(t,o){if(t)return e(t);n.revokeTokens((function(t){n.cleanClientData(),e(t)}))})):this.cleanClientData()},n.revokeTokens=function(e){if(void 0===e&&(e=function(){}),"function"!==typeof e)throw new Error("Invalid revokeTokenCallback. It should be a function.");if(!this.signInUserSession)return e(new Error("User is not authenticated"));if(!this.signInUserSession.getAccessToken())return e(new Error("No Access token available"));var n=this.signInUserSession.getRefreshToken().getToken(),t=this.signInUserSession.getAccessToken();if(this.isSessionRevocable(t)&&n)return this.revokeToken({token:n,callback:e});e()},n.isSessionRevocable=function(e){if(e&&"function"===typeof e.decodePayload)try{return!!e.decodePayload().origin_jti}catch(n){}return!1},n.cleanClientData=function(){this.signInUserSession=null,this.clearCachedUser()},n.revokeToken=function(e){var n=e.token,t=e.callback;this.client.requestWithRetry("RevokeToken",{Token:n,ClientId:this.pool.getClientId()},(function(e){if(e)return t(e);t()}))},n.sendMFASelectionAnswer=function(e,n){var t=this,o={};o.USERNAME=this.username,o.ANSWER=e;var r={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:o,ClientId:this.pool.getClientId(),Session:this.Session};this.getUserContextData()&&(r.UserContextData=this.getUserContextData()),this.client.request("RespondToAuthChallenge",r,(function(o,r){return o?n.onFailure(o):(t.Session=r.Session,"SMS_MFA"===e?n.mfaRequired(r.ChallengeName,r.ChallengeParameters):"SOFTWARE_TOKEN_MFA"===e?n.totpRequired(r.ChallengeName,r.ChallengeParameters):void 0)}))},n.getUserContextData=function(){return this.pool.getUserContextData(this.username)},n.associateSoftwareToken=function(e){var n=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("AssociateSoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken()},(function(n,t){return n?e.onFailure(n):e.associateSecretCode(t.SecretCode)})):this.client.request("AssociateSoftwareToken",{Session:this.Session},(function(t,o){return t?e.onFailure(t):(n.Session=o.Session,e.associateSecretCode(o.SecretCode))}))},n.verifySoftwareToken=function(e,n,t){var o=this;null!=this.signInUserSession&&this.signInUserSession.isValid()?this.client.request("VerifySoftwareToken",{AccessToken:this.signInUserSession.getAccessToken().getJwtToken(),UserCode:e,FriendlyDeviceName:n},(function(e,n){return e?t.onFailure(e):t.onSuccess(n)})):this.client.request("VerifySoftwareToken",{Session:this.Session,UserCode:e,FriendlyDeviceName:n},(function(e,n){if(e)return t.onFailure(e);o.Session=n.Session;var r={};r.USERNAME=o.username;var a={ChallengeName:"MFA_SETUP",ClientId:o.pool.getClientId(),ChallengeResponses:r,Session:o.Session};o.getUserContextData()&&(a.UserContextData=o.getUserContextData()),o.client.request("RespondToAuthChallenge",a,(function(e,n){return e?t.onFailure(e):(o.signInUserSession=o.getCognitoUserSession(n.AuthenticationResult),o.cacheTokens(),t.onSuccess(o.signInUserSession))}))}))},e}();t(610);function ce(){}ce.prototype.userAgent=J.userAgent;var ue=ce;function le(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,he(e,n)}function de(e){var n="function"===typeof Map?new Map:void 0;return(de=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,o)}function o(){return pe(e,arguments,fe(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),he(o,e)})(e)}function pe(e,n,t){return(pe=me()?Reflect.construct.bind():function(e,n,t){var o=[null];o.push.apply(o,n);var r=new(Function.bind.apply(e,o));return t&&he(r,t.prototype),r}).apply(null,arguments)}function me(){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 he(e,n){return(he=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e})(e,n)}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge=function(e){function n(n,t,o,r){var a;return(a=e.call(this,n)||this).code=t,a.name=o,a.statusCode=r,a}return le(n,e),n}(de(Error)),ve=function(){function e(e,n,t){this.endpoint=n||"https://cognito-idp."+e+".amazonaws.com/";var o=(t||{}).credentials;this.fetchOptions=o?{credentials:o}:{}}var n=e.prototype;return n.promisifyRequest=function(e,n){var t=this;return new Promise((function(o,r){t.request(e,n,(function(e,n){e?r(new ge(e.message,e.code,e.name,e.statusCode)):o(n)}))}))},n.requestWithRetry=function(e,n,t){var o=this;(function(e,n,t){void 0===t&&(t=Ce);return be(e,n,function(e){var n=100,t=100;return function(o){var r=Math.pow(2,o)*n+t*Math.random();return!(r>e)&&r}}(t))})((function(n){return new Promise((function(t,r){o.request(e,n,(function(e,n){e?r(e):t(n)}))}))}),[n],5e3).then((function(e){return t(null,e)})).catch((function(e){return t(e)}))},n.request=function(e,n,t){var o,r={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityProviderService."+e,"X-Amz-User-Agent":ue.prototype.userAgent,"Cache-Control":"no-store"},a=Object.assign({},this.fetchOptions,{headers:r,method:"POST",mode:"cors",body:JSON.stringify(n)});fetch(this.endpoint,a).then((function(e){return o=e,e}),(function(e){if(e instanceof TypeError)throw new Error("Network error");throw e})).then((function(e){return e.json().catch((function(){return{}}))})).then((function(e){if(o.ok)return t(null,e);e;var n=(e.__type||e.code).split("#").pop(),r=new Error(e.message||e.Message||null);return r.name=n,r.code=n,t(r)})).catch((function(e){if(o&&o.headers&&o.headers.get("x-amzn-errortype"))try{var n=o.headers.get("x-amzn-errortype").split(":")[0],r=new Error(o.status?o.status.toString():null);return r.code=n,r.name=n,r.statusCode=o.status,t(r)}catch(a){return t(e)}else e instanceof Error&&"Network error"===e.message&&(e.code="NetworkError");return t(e)}))},e}(),ye=function(){};Error;function be(e,n,t,o){if(void 0===o&&(o=1),"function"!==typeof e)throw Error("functionToRetry must be a function");return ye(e.name+" attempt #"+o+" with args: "+JSON.stringify(n)),e.apply(void 0,n).catch((function(r){if(ye("error on "+e.name,r),(a=r)&&a.nonRetryable)throw ye(e.name+" non retryable error",r),r;var a,i=t(o,n,r);if(ye(e.name+" retrying in "+i+" ms"),!1!==i)return new Promise((function(e){return setTimeout(e,i)})).then((function(){return be(e,n,t,o+1)}));throw r}))}var Ce=3e5;var we,Se=function(){function e(e,n){var t=e||{},o=t.UserPoolId,r=t.ClientId,a=t.endpoint,i=t.fetchOptions,s=t.AdvancedSecurityDataCollectionFlag;if(!o||!r)throw new Error("Both UserPoolId and ClientId are required.");if(o.length>55||!/^[\w-]+_[0-9a-zA-Z]+$/.test(o))throw new Error("Invalid UserPoolId format.");var c=o.split("_")[0];this.userPoolId=o,this.clientId=r,this.client=new ve(c,a,i),this.advancedSecurityDataCollectionFlag=!1!==s,this.storage=e.Storage||(new ae).getStorage(),n&&(this.wrapRefreshSessionCallback=n)}var n=e.prototype;return n.getUserPoolId=function(){return this.userPoolId},n.getUserPoolName=function(){return this.getUserPoolId().split("_")[1]},n.getClientId=function(){return this.clientId},n.signUp=function(e,n,t,o,r,a){var i=this,s={ClientId:this.clientId,Username:e,Password:n,UserAttributes:t,ValidationData:o,ClientMetadata:a};this.getUserContextData(e)&&(s.UserContextData=this.getUserContextData(e)),this.client.request("SignUp",s,(function(n,t){if(n)return r(n,null);var o={Username:e,Pool:i,Storage:i.storage},a={user:new se(o),userConfirmed:t.UserConfirmed,userSub:t.UserSub,codeDeliveryDetails:t.CodeDeliveryDetails};return r(null,a)}))},n.getCurrentUser=function(){var e="CognitoIdentityServiceProvider."+this.clientId+".LastAuthUser",n=this.storage.getItem(e);if(n){var t={Username:n,Pool:this,Storage:this.storage};return new se(t)}return null},n.getUserContextData=function(e){if("undefined"!==typeof AmazonCognitoAdvancedSecurityData){var n=AmazonCognitoAdvancedSecurityData;if(this.advancedSecurityDataCollectionFlag){var t=n.getData(e,this.userPoolId,this.clientId);if(t)return{EncodedData:t}}return{}}},e}(),_e=t(129),Ee=function(){function e(e){if(void 0===e&&(e={}),e.domain&&(this.domain=e.domain),e.path?this.path=e.path:this.path="/",Object.prototype.hasOwnProperty.call(e,"expires")?this.expires=e.expires:this.expires=365,Object.prototype.hasOwnProperty.call(e,"secure")?this.secure=e.secure:this.secure=!0,Object.prototype.hasOwnProperty.call(e,"sameSite")){if(!["strict","lax","none"].includes(e.sameSite))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if("none"===e.sameSite&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=e.sameSite}else this.sameSite=null}var n=e.prototype;return n.setItem=function(e,n){var t={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(t.sameSite=this.sameSite),_e.set(e,n,t),_e.get(e)},n.getItem=function(e){return _e.get(e)},n.removeItem=function(e){var n={path:this.path,expires:this.expires,domain:this.domain,secure:this.secure};return this.sameSite&&(n.sameSite=this.sameSite),_e.remove(e,n)},n.clear=function(){for(var e=_e.get(),n=Object.keys(e).length,t=0;t<n;++t)this.removeItem(Object.keys(e)[t]);return{}},e}(),xe=t(50),Oe=function(e){var n=window.open(e,"_self");return n?Promise.resolve(n):Promise.reject()},Ae="undefined"!==typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",ke=function(e,n,t){l.a.dispatch("auth",{event:e,data:n,message:t},"Auth",Ae)},Te=new u.a("OAuth"),Pe=function(){function e(e){var n=e.config,t=e.cognitoClientId,o=e.scopes,r=void 0===o?[]:o;if(this._urlOpener=n.urlOpener||Oe,this._config=n,this._cognitoClientId=t,!this.isValidScopes(r))throw Error("scopes must be a String Array");this._scopes=r}return e.prototype.isValidScopes=function(e){return Array.isArray(e)&&e.every((function(e){return"string"===typeof e}))},e.prototype.oauthSignIn=function(e,n,t,r,a,s){void 0===e&&(e="code"),void 0===a&&(a=o.Cognito);var c=this._generateState(32),u=s?c+"-"+s.split("").map((function(e){return e.charCodeAt(0).toString(16).padStart(2,"0")})).join(""):c;!function(e){window.sessionStorage.setItem("oauth_state",e)}(u);var l,d=this._generateRandom(128);l=d,window.sessionStorage.setItem("ouath_pkce_key",l);var p=this._generateChallenge(d),m=this._scopes.join(" "),h="https://"+n+"/oauth2/authorize?"+Object.entries(Object(i.__assign)(Object(i.__assign)({redirect_uri:t,response_type:e,client_id:r,identity_provider:a,scope:m,state:u},"code"===e?{code_challenge:p}:{}),"code"===e?{code_challenge_method:"S256"}:{})).map((function(e){var n=Object(i.__read)(e,2),t=n[0],o=n[1];return encodeURIComponent(t)+"="+encodeURIComponent(o)})).join("&");Te.debug("Redirecting to "+h),this._urlOpener(h,t)},e.prototype._handleCodeFlow=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n,t,o,r,a,s,u,l,d,p,m,h,f,g;return Object(i.__generator)(this,(function(v){switch(v.label){case 0:return n=(Object(xe.parse)(e).query||"").split("&").map((function(e){return e.split("=")})).reduce((function(e,n){var t,o=Object(i.__read)(n,2),r=o[0],a=o[1];return Object(i.__assign)(Object(i.__assign)({},e),((t={})[r]=a,t))}),{code:void 0}).code,t=Object(xe.parse)(e).pathname||"/",o=Object(xe.parse)(this._config.redirectSignIn).pathname||"/",n&&t===o?(r="https://"+this._config.domain+"/oauth2/token",ke("codeFlow",{},"Retrieving tokens from "+r),a=c(this._config)?this._cognitoClientId:this._config.clientID,s=c(this._config)?this._config.redirectSignIn:this._config.redirectUri,u=function(){var e=window.sessionStorage.getItem("ouath_pkce_key");return window.sessionStorage.removeItem("ouath_pkce_key"),e}(),l=Object(i.__assign)({grant_type:"authorization_code",code:n,client_id:a,redirect_uri:s},u?{code_verifier:u}:{}),Te.debug("Calling token endpoint: "+r+" with",l),d=Object.entries(l).map((function(e){var n=Object(i.__read)(e,2),t=n[0],o=n[1];return encodeURIComponent(t)+"="+encodeURIComponent(o)})).join("&"),[4,fetch(r,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:d})]):[2];case 1:return[4,v.sent().json()];case 2:if(p=v.sent(),m=p.access_token,h=p.refresh_token,f=p.id_token,g=p.error)throw new Error(g);return[2,{accessToken:m,refreshToken:h,idToken:f}]}}))}))},e.prototype._handleImplicitFlow=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n,t,o;return Object(i.__generator)(this,(function(r){return n=(Object(xe.parse)(e).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,n){var t,o=Object(i.__read)(n,2),r=o[0],a=o[1];return Object(i.__assign)(Object(i.__assign)({},e),((t={})[r]=a,t))}),{id_token:void 0,access_token:void 0}),t=n.id_token,o=n.access_token,ke("implicitFlow",{},"Got tokens from "+e),Te.debug("Retrieving implicit tokens from "+e+" with"),[2,{accessToken:o,idToken:t,refreshToken:null}]}))}))},e.prototype.handleAuthResponse=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n,t,o,r,a,s,c;return Object(i.__generator)(this,(function(u){switch(u.label){case 0:if(u.trys.push([0,5,,6]),n=e?Object(i.__assign)(Object(i.__assign)({},(Object(xe.parse)(e).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).reduce((function(e,n){var t=Object(i.__read)(n,2),o=t[0],r=t[1];return e[o]=r,e}),{})),(Object(xe.parse)(e).query||"").split("&").map((function(e){return e.split("=")})).reduce((function(e,n){var t=Object(i.__read)(n,2),o=t[0],r=t[1];return e[o]=r,e}),{})):{},t=n.error,o=n.error_description,t)throw new Error(o);return r=this._validateState(n),Te.debug("Starting "+this._config.responseType+" flow with "+e),"code"!==this._config.responseType?[3,2]:(a=[{}],[4,this._handleCodeFlow(e)]);case 1:return[2,i.__assign.apply(void 0,[i.__assign.apply(void 0,a.concat([u.sent()])),{state:r}])];case 2:return s=[{}],[4,this._handleImplicitFlow(e)];case 3:return[2,i.__assign.apply(void 0,[i.__assign.apply(void 0,s.concat([u.sent()])),{state:r}])];case 4:return[3,6];case 5:throw c=u.sent(),Te.error("Error handling auth response.",c),c;case 6:return[2]}}))}))},e.prototype._validateState=function(e){if(e){var n=function(){var e=window.sessionStorage.getItem("oauth_state");return window.sessionStorage.removeItem("oauth_state"),e}(),t=e.state;if(n&&n!==t)throw new Error("Invalid state in OAuth flow");return t}},e.prototype.signOut=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n,t;return Object(i.__generator)(this,(function(o){return e="https://"+this._config.domain+"/logout?",n=c(this._config)?this._cognitoClientId:this._config.oauth.clientID,t=c(this._config)?this._config.redirectSignOut:this._config.returnTo,e+=Object.entries({client_id:n,logout_uri:encodeURIComponent(t)}).map((function(e){var n=Object(i.__read)(e,2);return n[0]+"="+n[1]})).join("&"),ke("oAuthSignOut",{oAuth:"signOut"},"Signing out from "+e),Te.debug("Signing out from "+e),[2,this._urlOpener(e,t)]}))}))},e.prototype._generateState=function(e){for(var n="",t=e,o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";t>0;--t)n+=o[Math.round(Math.random()*(o.length-1))];return n},e.prototype._generateChallenge=function(e){var n=new k.Sha256;n.update(e);var t=n.digestSync(),o=E.Buffer.from(t).toString("base64");return this._base64URL(o)},e.prototype._base64URL=function(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")},e.prototype._generateRandom=function(e){var n=new Uint8Array(e);if("undefined"!==typeof window&&window.crypto)window.crypto.getRandomValues(n);else for(var t=0;t<e;t+=1)n[t]=Math.random()*"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~".length|0;return this._bufferToString(n)},e.prototype._bufferToString=function(e){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=[],o=0;o<e.byteLength;o+=1){var r=e[o]%n.length;t.push(n[r])}return t.join("")},e}();!function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in"}(we||(we={}));var Me=new u.a("AuthError"),Ie=function(e){function n(t){var o=this,r=je[t],a=r.message,i=r.log;return(o=e.call(this,a)||this).constructor=n,Object.setPrototypeOf(o,n.prototype),o.name="AuthError",o.log=i||a,Me.error(o.log),o}return Object(i.__extends)(n,e),n}(Error),Re=function(e){function n(t){var o=e.call(this,t)||this;return o.constructor=n,Object.setPrototypeOf(o,n.prototype),o.name="NoUserPoolError",o}return Object(i.__extends)(n,e),n}(Ie),je={noConfig:{message:we.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly.\n            This error is typically caused by one of the following scenarios:\n\n            1. Make sure you're passing the awsconfig object to Amplify.configure() in your app's entry point\n                See https://aws-amplify.github.io/docs/js/authentication#configure-your-app for more information\n            \n            2. There might be multiple conflicting versions of amplify packages in your node_modules.\n\t\t\t\tRefer to our docs site for help upgrading Amplify packages (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js)\n        "},missingAuthConfig:{message:we.DEFAULT_MSG,log:"\n            Error: Amplify has not been configured correctly. \n            The configuration object is missing required auth properties.\n            This error is typically caused by one of the following scenarios:\n\n            1. Did you run `amplify push` after adding auth via `amplify add auth`?\n                See https://aws-amplify.github.io/docs/js/authentication#amplify-project-setup for more information\n\n            2. This could also be caused by multiple conflicting versions of amplify packages, see (https://docs.amplify.aws/lib/troubleshooting/upgrading/q/platform/js) for help upgrading Amplify packages.\n        "},emptyUsername:{message:we.EMPTY_USERNAME},invalidUsername:{message:we.INVALID_USERNAME},emptyPassword:{message:we.EMPTY_PASSWORD},emptyCode:{message:we.EMPTY_CODE},signUpError:{message:we.SIGN_UP_ERROR,log:"The first parameter should either be non-null string or object"},noMFA:{message:we.NO_MFA},invalidMFA:{message:we.INVALID_MFA},emptyChallengeResponse:{message:we.EMPTY_CHALLENGE},noUserSession:{message:we.NO_USER_SESSION},deviceConfig:{message:we.DEVICE_CONFIG},networkError:{message:we.NETWORK_ERROR},autoSignInError:{message:we.AUTOSIGNIN_ERROR},default:{message:we.DEFAULT_MSG}},Ne=new u.a("AuthClass"),Le="aws.cognito.signin.user.admin",Fe="undefined"!==typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Ue=function(e,n,t){l.a.dispatch("auth",{event:e,data:n,message:t},"Auth",Fe)},De=new(function(){function e(e){var n=this;this.userPool=null,this.user=null,this.oAuthFlowInProgress=!1,this.autoSignInInitiated=!1,this.inflightSessionPromise=null,this.inflightSessionPromiseCounter=0,this.Credentials=d.a,this.wrapRefreshSessionCallback=function(e){return function(n,t){return t?Ue("tokenRefresh",void 0,"New token retrieved"):Ue("tokenRefresh_failure",n,"Failed to retrieve new token"),e(n,t)}},this.configure(e),this.currentCredentials=this.currentCredentials.bind(this),this.currentUserCredentials=this.currentUserCredentials.bind(this),l.a.listen("auth",(function(e){switch(e.payload.event){case"verify":case"signIn":n._storage.setItem("amplify-signin-with-hostedUI","false");break;case"signOut":n._storage.removeItem("amplify-signin-with-hostedUI");break;case"cognitoHostedUI":n._storage.setItem("amplify-signin-with-hostedUI","true")}}))}return e.prototype.getModuleName=function(){return"Auth"},e.prototype.configure=function(e){var n=this;if(!e)return this._config||{};Ne.debug("configure Auth");var t=Object.assign({},this._config,Object(p.a)(e).Auth,e);this._config=t;var o=this._config,a=o.userPoolId,i=o.userPoolWebClientId,s=o.cookieStorage,u=o.oauth,l=o.region,d=o.identityPoolId,m=o.mandatorySignIn,h=o.refreshHandlers,f=o.identityPoolRegion,g=o.clientMetadata,y=o.endpoint,w=o.storage;if(w){if(!this._isValidAuthStorage(w))throw Ne.error("The storage in the Auth config is not valid!"),new Error("Empty storage object");this._storage=w}else this._storage=s?new Ee(s):e.ssr?new b:(new C.a).getStorage();if(this._storageSync=Promise.resolve(),"function"===typeof this._storage.sync&&(this._storageSync=this._storage.sync()),a){var S={UserPoolId:a,ClientId:i,endpoint:y};S.Storage=this._storage,this.userPool=new Se(S,this.wrapRefreshSessionCallback)}this.Credentials.configure({mandatorySignIn:m,region:l,userPoolId:a,identityPoolId:d,refreshHandlers:h,storage:this._storage,identityPoolRegion:f});var _=u?c(this._config.oauth)?u:u.awsCognito:void 0;if(_){var E=Object.assign({cognitoClientId:i,UserPoolId:a,domain:_.domain,scopes:_.scope,redirectSignIn:_.redirectSignIn,redirectSignOut:_.redirectSignOut,responseType:_.responseType,Storage:this._storage,urlOpener:_.urlOpener,clientMetadata:g},_.options);this._oAuthHandler=new Pe({scopes:E.scopes,config:E,cognitoClientId:E.cognitoClientId});var x={};!function(e){if(Object(v.a)().isBrowser&&window.location)e({url:window.location.href});else if(!Object(v.a)().isNode)throw new Error("Not supported")}((function(e){var t=e.url;x[t]||(x[t]=!0,n._handleAuthResponse(t))}))}(Ue("configured",null,"The Auth category has been configured successfully"),this.autoSignInInitiated||"function"!==typeof this._storage.getItem)||(this.isTrueStorageValue("amplify-polling-started")&&(Ue("autoSignIn_failure",null,r.AutoSignInError),this._storage.removeItem("amplify-auto-sign-in")),this._storage.removeItem("amplify-polling-started"));return this._config},e.prototype.signUp=function(e){for(var n,t,o,a=this,i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];if(!this.userPool)return this.rejectNoUserPool();var c,u=null,l=null,d=[],p=null,m={enabled:!1},h={},f={};if(e&&"string"===typeof e){u=e,l=i?i[0]:null;var g=i?i[1]:null,v=i?i[2]:null;g&&d.push(new te({Name:"email",Value:g})),v&&d.push(new te({Name:"phone_number",Value:v}))}else{if(!e||"object"!==typeof e)return this.rejectAuthError(r.SignUpError);u=e.username,l=e.password,e&&e.clientMetadata?c=e.clientMetadata:this._config.clientMetadata&&(c=this._config.clientMetadata);var y=e.attributes;y&&Object.keys(y).map((function(e){d.push(new te({Name:e,Value:y[e]}))}));var b=e.validationData;b&&(p=[],Object.keys(b).map((function(e){p.push(new te({Name:e,Value:b[e]}))}))),(m=null!==(n=e.autoSignIn)&&void 0!==n?n:{enabled:!1}).enabled&&(this._storage.setItem("amplify-auto-sign-in","true"),h=null!==(t=m.validationData)&&void 0!==t?t:{},f=null!==(o=m.clientMetaData)&&void 0!==o?o:{})}return u?l?(Ne.debug("signUp attrs:",d),Ne.debug("signUp validation data:",p),new Promise((function(e,n){a.userPool.signUp(u,l,d,p,(function(t,o){t?(Ue("signUp_failure",t,u+" failed to signup"),n(t)):(Ue("signUp",o,u+" has signed up successfully"),m.enabled&&a.handleAutoSignIn(u,l,h,f,o),e(o))}),c)}))):this.rejectAuthError(r.EmptyPassword):this.rejectAuthError(r.EmptyUsername)},e.prototype.handleAutoSignIn=function(e,n,t,o,r){this.autoSignInInitiated=!0;var a=new _({Username:e,Password:n,ValidationData:t,ClientMetadata:o});r.userConfirmed?this.signInAfterUserConfirmed(a):"link"===this._config.signUpVerificationMethod?this.handleLinkAutoSignIn(a):this.handleCodeAutoSignIn(a)},e.prototype.handleCodeAutoSignIn=function(e){var n=this;l.a.listen("auth",(function t(o){"confirmSignUp"===o.payload.event&&n.signInAfterUserConfirmed(e,t)}))},e.prototype.handleLinkAutoSignIn=function(e){var n=this;this._storage.setItem("amplify-polling-started","true");var t=Date.now(),o=setInterval((function(){Date.now()-t>18e4?(clearInterval(o),Ue("autoSignIn_failure",null,"Please confirm your account and use your credentials to sign in."),n._storage.removeItem("amplify-auto-sign-in")):n.signInAfterUserConfirmed(e,null,o)}),5e3)},e.prototype.signInAfterUserConfirmed=function(e,n,t){return Object(i.__awaiter)(this,void 0,void 0,(function(){var o,r,a=this;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:o=this.createCognitoUser(e.getUsername()),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,o.authenticateUser(e,this.authCallbacks(o,(function(o){Ue("autoSignIn",o,e.getUsername()+" has signed in successfully"),n&&l.a.remove("auth",n),t&&(clearInterval(t),a._storage.removeItem("amplify-polling-started")),a._storage.removeItem("amplify-auto-sign-in")}),(function(e){Ne.error(e),a._storage.removeItem("amplify-auto-sign-in")})))];case 2:return i.sent(),[3,4];case 3:return r=i.sent(),Ne.error(r),[3,4];case 4:return[2]}}))}))},e.prototype.confirmSignUp=function(e,n,t){var o=this;if(!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(r.EmptyUsername);if(!n)return this.rejectAuthError(r.EmptyCode);var a,i=this.createCognitoUser(e),s=!t||"boolean"!==typeof t.forceAliasCreation||t.forceAliasCreation;return t&&t.clientMetadata?a=t.clientMetadata:this._config.clientMetadata&&(a=this._config.clientMetadata),new Promise((function(t,c){i.confirmRegistration(n,s,(function(n,a){n?c(n):(Ue("confirmSignUp",a,e+" has been confirmed successfully"),o.isTrueStorageValue("amplify-auto-sign-in")&&!o.autoSignInInitiated&&(Ue("autoSignIn_failure",null,r.AutoSignInError),o._storage.removeItem("amplify-auto-sign-in")),t(a))}),a)}))},e.prototype.isTrueStorageValue=function(e){var n=this._storage.getItem(e);return!!n&&"true"===n},e.prototype.resendSignUp=function(e,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(r.EmptyUsername);var t=this.createCognitoUser(e);return new Promise((function(e,o){t.resendConfirmationCode((function(n,t){n?o(n):e(t)}),n)}))},e.prototype.signIn=function(e,n,t){if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();var o=null,a=null,i={};if("string"===typeof e)o=e,a=n;else{if(!e.username)return this.rejectAuthError(r.InvalidUsername);"undefined"!==typeof n&&Ne.warn("The password should be defined under the first parameter object!"),o=e.username,a=e.password,i=e.validationData}if(!o)return this.rejectAuthError(r.EmptyUsername);var s=new _({Username:o,Password:a,ValidationData:i,ClientMetadata:t});return a?this.signInWithPassword(s):this.signInWithoutPassword(s)},e.prototype.authCallbacks=function(e,n,t){var o=this,r=this;return{onSuccess:function(a){return Object(i.__awaiter)(o,void 0,void 0,(function(){var o,s,c,u;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:Ne.debug(a),delete e.challengeName,delete e.challengeParam,i.label=1;case 1:return i.trys.push([1,4,5,9]),[4,this.Credentials.clear()];case 2:return i.sent(),[4,this.Credentials.set(a,"session")];case 3:return o=i.sent(),Ne.debug("succeed to get cognito credentials",o),[3,9];case 4:return s=i.sent(),Ne.debug("cannot get cognito credentials",s),[3,9];case 5:return i.trys.push([5,7,,8]),[4,this.currentUserPoolUser()];case 6:return c=i.sent(),r.user=c,Ue("signIn",c,"A user "+e.getUsername()+" has been signed in"),n(c),[3,8];case 7:return u=i.sent(),Ne.error("Failed to get the signed in user",u),t(u),[3,8];case 8:return[7];case 9:return[2]}}))}))},onFailure:function(n){Ne.debug("signIn failure",n),Ue("signIn_failure",n,e.getUsername()+" failed to signin"),t(n)},customChallenge:function(t){Ne.debug("signIn custom challenge answer required"),e.challengeName="CUSTOM_CHALLENGE",e.challengeParam=t,n(e)},mfaRequired:function(t,o){Ne.debug("signIn MFA required"),e.challengeName=t,e.challengeParam=o,n(e)},mfaSetup:function(t,o){Ne.debug("signIn mfa setup",t),e.challengeName=t,e.challengeParam=o,n(e)},newPasswordRequired:function(t,o){Ne.debug("signIn new password"),e.challengeName="NEW_PASSWORD_REQUIRED",e.challengeParam={userAttributes:t,requiredAttributes:o},n(e)},totpRequired:function(t,o){Ne.debug("signIn totpRequired"),e.challengeName=t,e.challengeParam=o,n(e)},selectMFAType:function(t,o){Ne.debug("signIn selectMFAType",t),e.challengeName=t,e.challengeParam=o,n(e)}}},e.prototype.signInWithPassword=function(e){var n=this;if(this.pendingSignIn)throw new Error("Pending sign-in attempt already in progress");var t=this.createCognitoUser(e.getUsername());return this.pendingSignIn=new Promise((function(o,r){t.authenticateUser(e,n.authCallbacks(t,(function(e){n.pendingSignIn=null,o(e)}),(function(e){n.pendingSignIn=null,r(e)})))})),this.pendingSignIn},e.prototype.signInWithoutPassword=function(e){var n=this,t=this.createCognitoUser(e.getUsername());return t.setAuthenticationFlowType("CUSTOM_AUTH"),new Promise((function(o,r){t.initiateAuth(e,n.authCallbacks(t,o,r))}))},e.prototype.getMFAOptions=function(e){return new Promise((function(n,t){e.getMFAOptions((function(e,o){if(e)return Ne.debug("get MFA Options failed",e),void t(e);Ne.debug("get MFA options success",o),n(o)}))}))},e.prototype.getPreferredMFA=function(e,n){var t=this,o=this;return new Promise((function(r,a){var s=t._config.clientMetadata,c=!!n&&n.bypassCache;e.getUserData((function(n,s){return Object(i.__awaiter)(t,void 0,void 0,(function(){var t,c;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!n)return[3,5];if(Ne.debug("getting preferred mfa failed",n),!this.isSessionInvalid(n))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3,4];case 3:return t=i.sent(),a(new Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+t.message)),[2];case 4:return a(n),[2];case 5:return(c=o._getMfaTypeFromUserData(s))?(r(c),[2]):(a("invalid MFA Type"),[2])}}))}))}),{bypassCache:c,clientMetadata:s})}))},e.prototype._getMfaTypeFromUserData=function(e){var n=null,t=e.PreferredMfaSetting;if(t)n=t;else{var o=e.UserMFASettingList;if(o)0===o.length?n="NOMFA":Ne.debug("invalid case for getPreferredMFA",e);else n=e.MFAOptions?"SMS_MFA":"NOMFA"}return n},e.prototype._getUserData=function(e,n){var t=this;return new Promise((function(o,r){e.getUserData((function(n,a){return Object(i.__awaiter)(t,void 0,void 0,(function(){var t;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!n)return[3,5];if(Ne.debug("getting user data failed",n),!this.isSessionInvalid(n))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3,4];case 3:return t=i.sent(),r(new Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+t.message)),[2];case 4:return r(n),[2];case 5:o(a),i.label=6;case 6:return[2]}}))}))}),n)}))},e.prototype.setPreferredMFA=function(e,n){return Object(i.__awaiter)(this,void 0,void 0,(function(){var t,o,a,s,c,u,l=this;return Object(i.__generator)(this,(function(d){switch(d.label){case 0:return t=this._config.clientMetadata,[4,this._getUserData(e,{bypassCache:!0,clientMetadata:t})];case 1:switch(o=d.sent(),a=null,s=null,n){case"TOTP":case"SOFTWARE_TOKEN_MFA":return[3,2];case"SMS":case"SMS_MFA":return[3,3];case"NOMFA":return[3,4]}return[3,6];case 2:return s={PreferredMfa:!0,Enabled:!0},[3,7];case 3:return a={PreferredMfa:!0,Enabled:!0},[3,7];case 4:return c=o.UserMFASettingList,[4,this._getMfaTypeFromUserData(o)];case 5:if("NOMFA"===(u=d.sent()))return[2,Promise.resolve("No change for mfa type")];if("SMS_MFA"===u)a={PreferredMfa:!1,Enabled:!1};else{if("SOFTWARE_TOKEN_MFA"!==u)return[2,this.rejectAuthError(r.InvalidMFA)];s={PreferredMfa:!1,Enabled:!1}}return c&&0!==c.length&&c.forEach((function(e){"SMS_MFA"===e?a={PreferredMfa:!1,Enabled:!1}:"SOFTWARE_TOKEN_MFA"===e&&(s={PreferredMfa:!1,Enabled:!1})})),[3,7];case 6:return Ne.debug("no validmfa method provided"),[2,this.rejectAuthError(r.NoMFA)];case 7:return this,[2,new Promise((function(n,o){e.setUserMfaPreference(a,s,(function(r,a){if(r)return Ne.debug("Set user mfa preference error",r),o(r);Ne.debug("Set user mfa success",a),Ne.debug("Caching the latest user data into local"),e.getUserData((function(t,r){return Object(i.__awaiter)(l,void 0,void 0,(function(){var r;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!t)return[3,5];if(Ne.debug("getting user data failed",t),!this.isSessionInvalid(t))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3,4];case 3:return r=i.sent(),o(new Error("Session is invalid due to: "+t.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return[2,o(t)];case 5:return[2,n(a)]}}))}))}),{bypassCache:!0,clientMetadata:t})}))}))]}}))}))},e.prototype.disableSMS=function(e){return new Promise((function(n,t){e.disableMFA((function(e,o){if(e)return Ne.debug("disable mfa failed",e),void t(e);Ne.debug("disable mfa succeed",o),n(o)}))}))},e.prototype.enableSMS=function(e){return new Promise((function(n,t){e.enableMFA((function(e,o){if(e)return Ne.debug("enable mfa failed",e),void t(e);Ne.debug("enable mfa succeed",o),n(o)}))}))},e.prototype.setupTOTP=function(e){return new Promise((function(n,t){e.associateSoftwareToken({onFailure:function(e){Ne.debug("associateSoftwareToken failed",e),t(e)},associateSecretCode:function(e){Ne.debug("associateSoftwareToken sucess",e),n(e)}})}))},e.prototype.verifyTotpToken=function(e,n){var t;Ne.debug("verification totp token",e,n),e&&"function"===typeof e.getSignInUserSession&&(t=e.getSignInUserSession());var o=null===t||void 0===t?void 0:t.isValid();return new Promise((function(t,r){e.verifySoftwareToken(n,"My TOTP device",{onFailure:function(e){Ne.debug("verifyTotpToken failed",e),r(e)},onSuccess:function(n){o||Ue("signIn",e,"A user "+e.getUsername()+" has been signed in"),Ue("verify",e,"A user "+e.getUsername()+" has been verified"),Ne.debug("verifyTotpToken success",n),t(n)}})}))},e.prototype.confirmSignIn=function(e,n,t,o){var a=this;if(void 0===o&&(o=this._config.clientMetadata),!n)return this.rejectAuthError(r.EmptyCode);var s=this;return new Promise((function(r,c){e.sendMFACode(n,{onSuccess:function(n){return Object(i.__awaiter)(a,void 0,void 0,(function(){var t,o,a,c;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:Ne.debug(n),i.label=1;case 1:return i.trys.push([1,4,5,10]),[4,this.Credentials.clear()];case 2:return i.sent(),[4,this.Credentials.set(n,"session")];case 3:return t=i.sent(),Ne.debug("succeed to get cognito credentials",t),[3,10];case 4:return o=i.sent(),Ne.debug("cannot get cognito credentials",o),[3,10];case 5:s.user=e,i.label=6;case 6:return i.trys.push([6,8,,9]),[4,this.currentUserPoolUser()];case 7:return a=i.sent(),e.attributes=a.attributes,[3,9];case 8:return c=i.sent(),Ne.debug("cannot get updated Cognito User",c),[3,9];case 9:return Ue("signIn",e,"A user "+e.getUsername()+" has been signed in"),r(e),[7];case 10:return[2]}}))}))},onFailure:function(e){Ne.debug("confirm signIn failure",e),c(e)}},t,o)}))},e.prototype.completeNewPassword=function(e,n,t,o){var a=this;if(void 0===t&&(t={}),void 0===o&&(o=this._config.clientMetadata),!n)return this.rejectAuthError(r.EmptyPassword);var s=this;return new Promise((function(r,c){e.completeNewPasswordChallenge(n,t,{onSuccess:function(n){return Object(i.__awaiter)(a,void 0,void 0,(function(){var t,o;return Object(i.__generator)(this,(function(a){switch(a.label){case 0:Ne.debug(n),a.label=1;case 1:return a.trys.push([1,4,5,6]),[4,this.Credentials.clear()];case 2:return a.sent(),[4,this.Credentials.set(n,"session")];case 3:return t=a.sent(),Ne.debug("succeed to get cognito credentials",t),[3,6];case 4:return o=a.sent(),Ne.debug("cannot get cognito credentials",o),[3,6];case 5:return s.user=e,Ue("signIn",e,"A user "+e.getUsername()+" has been signed in"),r(e),[7];case 6:return[2]}}))}))},onFailure:function(e){Ne.debug("completeNewPassword failure",e),Ue("completeNewPassword_failure",e,a.user+" failed to complete the new password flow"),c(e)},mfaRequired:function(n,t){Ne.debug("signIn MFA required"),e.challengeName=n,e.challengeParam=t,r(e)},mfaSetup:function(n,t){Ne.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=t,r(e)},totpRequired:function(n,t){Ne.debug("signIn mfa setup",n),e.challengeName=n,e.challengeParam=t,r(e)}},o)}))},e.prototype.sendCustomChallengeAnswer=function(e,n,t){var o=this;if(void 0===t&&(t=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!n)return this.rejectAuthError(r.EmptyChallengeResponse);return new Promise((function(r,a){e.sendCustomChallengeAnswer(n,o.authCallbacks(e,r,a),t)}))},e.prototype.deleteUserAttributes=function(e,n){var t=this;return new Promise((function(o,r){t.userSession(e).then((function(t){e.deleteAttributes(n,(function(e,n){return e?r(e):o(n)}))}))}))},e.prototype.deleteUser=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n,t=this;return Object(i.__generator)(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,this._storageSync];case 1:return o.sent(),[3,3];case 2:throw e=o.sent(),Ne.debug("Failed to sync cache info into memory",e),new Error(e);case 3:return n=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise((function(e,o){return Object(i.__awaiter)(t,void 0,void 0,(function(){var t,r=this;return Object(i.__generator)(this,(function(a){if(this.userPool){if(!(t=this.userPool.getCurrentUser()))return Ne.debug("Failed to get user from user pool"),[2,o(new Error("No current user."))];t.getSession((function(a,s){return Object(i.__awaiter)(r,void 0,void 0,(function(){var r,s=this;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!a)return[3,5];if(Ne.debug("Failed to get the user session",a),!this.isSessionInvalid(a))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(t)];case 2:return i.sent(),[3,4];case 3:return r=i.sent(),o(new Error("Session is invalid due to: "+a.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return[2,o(a)];case 5:t.deleteUser((function(r,a){if(r)o(r);else{Ue("userDeleted",a,"The authenticated user has been deleted."),t.signOut(),s.user=null;try{s.cleanCachedItems()}catch(i){Ne.debug("failed to clear cached items")}n?s.oAuthSignOutRedirect(e,o):(Ue("signOut",s.user,"A user has been signed out"),e(a))}})),i.label=6;case 6:return[2]}}))}))}))}else Ne.debug("no Congito User pool"),o(new Error("Cognito User pool does not exist"));return[2]}))}))}))]}}))}))},e.prototype.updateUserAttributes=function(e,n,t){var o=this;void 0===t&&(t=this._config.clientMetadata);var r=[],a=this;return new Promise((function(i,s){a.userSession(e).then((function(a){for(var c in n)if("sub"!==c&&c.indexOf("_verified")<0){var u={Name:c,Value:n[c]};r.push(u)}e.updateAttributes(r,(function(e,t,r){if(e)return Ue("updateUserAttributes_failure",e,"Failed to update attributes"),s(e);var a=o.createUpdateAttributesResultList(n,null===r||void 0===r?void 0:r.CodeDeliveryDetailsList);return Ue("updateUserAttributes",a,"Attributes successfully updated"),i(t)}),t)}))}))},e.prototype.createUpdateAttributesResultList=function(e,n){var t={};return Object.keys(e).forEach((function(e){t[e]={isUpdated:!0};var o=null===n||void 0===n?void 0:n.find((function(n){return n.AttributeName===e}));o&&(t[e].isUpdated=!1,t[e].codeDeliveryDetails=o)})),t},e.prototype.userAttributes=function(e){var n=this;return new Promise((function(t,o){n.userSession(e).then((function(n){e.getUserAttributes((function(e,n){e?o(e):t(n)}))}))}))},e.prototype.verifiedContact=function(e){var n=this;return this.userAttributes(e).then((function(e){var t=n.attributesToObject(e),o={},r={};return t.email&&(t.email_verified?r.email=t.email:o.email=t.email),t.phone_number&&(t.phone_number_verified?r.phone_number=t.phone_number:o.phone_number=t.phone_number),{verified:r,unverified:o}}))},e.prototype.isErrorWithMessage=function(e){return"object"===typeof e&&Object.prototype.hasOwnProperty.call(e,"message")},e.prototype.isTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Access Token has been revoked"===e.message},e.prototype.isRefreshTokenRevokedError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has been revoked"===e.message},e.prototype.isUserDisabledError=function(e){return this.isErrorWithMessage(e)&&"User is disabled."===e.message},e.prototype.isUserDoesNotExistError=function(e){return this.isErrorWithMessage(e)&&"User does not exist."===e.message},e.prototype.isRefreshTokenExpiredError=function(e){return this.isErrorWithMessage(e)&&"Refresh Token has expired"===e.message},e.prototype.isSignedInHostedUI=function(){return this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI")},e.prototype.isSessionInvalid=function(e){return this.isUserDisabledError(e)||this.isUserDoesNotExistError(e)||this.isTokenRevokedError(e)||this.isRefreshTokenRevokedError(e)||this.isRefreshTokenExpiredError(e)},e.prototype.cleanUpInvalidSession=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(i.__generator)(this,(function(t){switch(t.label){case 0:e.signOut(),this.user=null,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.cleanCachedItems()];case 2:return t.sent(),[3,4];case 3:return t.sent(),Ne.debug("failed to clear cached items"),[3,4];case 4:return this.isSignedInHostedUI()?[2,new Promise((function(e,t){n.oAuthSignOutRedirect(e,t)}))]:(Ue("signOut",this.user,"A user has been signed out"),[2])}}))}))},e.prototype.currentUserPoolUser=function(e){var n=this;return this.userPool?new Promise((function(t,o){n._storageSync.then((function(){return Object(i.__awaiter)(n,void 0,void 0,(function(){var n,r,a,s,c,u,d=this;return Object(i.__generator)(this,(function(p){switch(p.label){case 0:return this.isOAuthInProgress()?(Ne.debug("OAuth signIn in progress, waiting for resolution..."),[4,new Promise((function(e){var n=setTimeout((function(){Ne.debug("OAuth signIn in progress timeout"),l.a.remove("auth",t),e()}),1e4);function t(o){var r=o.payload.event;"cognitoHostedUI"!==r&&"cognitoHostedUI_failure"!==r||(Ne.debug("OAuth signIn resolved: "+r),clearTimeout(n),l.a.remove("auth",t),e())}l.a.listen("auth",t)}))]):[3,2];case 1:p.sent(),p.label=2;case 2:if(!(n=this.userPool.getCurrentUser()))return Ne.debug("Failed to get user from user pool"),o("No current user"),[2];p.label=3;case 3:return p.trys.push([3,7,,8]),[4,this._userSession(n)];case 4:return r=p.sent(),(a=!!e&&e.bypassCache)?[4,this.Credentials.clear()]:[3,6];case 5:p.sent(),p.label=6;case 6:return s=this._config.clientMetadata,c=r.getAccessToken().decodePayload().scope,(void 0===c?"":c).split(" ").includes(Le)?(n.getUserData((function(e,r){return Object(i.__awaiter)(d,void 0,void 0,(function(){var a,s,c,u,l,d,p;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!e)return[3,7];if(Ne.debug("getting user data failed",e),!this.isSessionInvalid(e))return[3,5];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return i.sent(),[3,4];case 3:return a=i.sent(),o(new Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+a.message)),[2];case 4:return o(e),[3,6];case 5:t(n),i.label=6;case 6:return[2];case 7:for(s=r.PreferredMfaSetting||"NOMFA",c=[],u=0;u<r.UserAttributes.length;u++)l={Name:r.UserAttributes[u].Name,Value:r.UserAttributes[u].Value},d=new te(l),c.push(d);return p=this.attributesToObject(c),Object.assign(n,{attributes:p,preferredMFA:s}),[2,t(n)]}}))}))}),{bypassCache:a,clientMetadata:s}),[3,8]):(Ne.debug("Unable to get the user data because the "+Le+" is not in the scopes of the access token"),[2,t(n)]);case 7:return u=p.sent(),o(u),[3,8];case 8:return[2]}}))}))})).catch((function(e){return Ne.debug("Failed to sync cache info into memory",e),o(e)}))})):this.rejectNoUserPool()},e.prototype.isOAuthInProgress=function(){return this.oAuthFlowInProgress},e.prototype.currentAuthenticatedUser=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n,t,o,r,a;return Object(i.__generator)(this,(function(s){switch(s.label){case 0:Ne.debug("getting current authenticated user"),n=null,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this._storageSync];case 2:return s.sent(),[3,4];case 3:throw t=s.sent(),Ne.debug("Failed to sync cache info into memory",t),t;case 4:try{(o=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")))&&(n=Object(i.__assign)(Object(i.__assign)({},o.user),{token:o.token}))}catch(c){Ne.debug("cannot load federated user from auth storage")}return n?(this.user=n,Ne.debug("get current authenticated federated user",this.user),[2,this.user]):[3,5];case 5:Ne.debug("get current authenticated userpool user"),r=null,s.label=6;case 6:return s.trys.push([6,8,,9]),[4,this.currentUserPoolUser(e)];case 7:return r=s.sent(),[3,9];case 8:return"No userPool"===(a=s.sent())&&Ne.error("Cannot get the current user because the user pool is missing. Please make sure the Auth module is configured with a valid Cognito User Pool ID"),Ne.debug("The user is not authenticated by the error",a),[2,Promise.reject("The user is not authenticated")];case 9:return this.user=r,[2,this.user]}}))}))},e.prototype.currentSession=function(){var e=this;return Ne.debug("Getting current session"),this.userPool?new Promise((function(n,t){e.currentUserPoolUser().then((function(o){e.userSession(o).then((function(e){n(e)})).catch((function(e){Ne.debug("Failed to get the current session",e),t(e)}))})).catch((function(e){Ne.debug("Failed to get the current user",e),t(e)}))})):Promise.reject(new Error("No User Pool in the configuration."))},e.prototype._userSession=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n,t,o=this;return Object(i.__generator)(this,(function(a){switch(a.label){case 0:if(!e)return Ne.debug("the user is null"),[2,this.rejectAuthError(r.NoUserSession)];n=this._config.clientMetadata,0===this.inflightSessionPromiseCounter&&(this.inflightSessionPromise=new Promise((function(t,r){e.getSession((function(n,a){return Object(i.__awaiter)(o,void 0,void 0,(function(){var o;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!n)return[3,5];if(Ne.debug("Failed to get the session from user",e),!this.isSessionInvalid(n))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(e)];case 2:return i.sent(),[3,4];case 3:return o=i.sent(),r(new Error("Session is invalid due to: "+n.message+" and failed to clean up invalid session: "+o.message)),[2];case 4:return r(n),[2];case 5:return Ne.debug("Succeed to get the user session",a),t(a),[2]}}))}))}),{clientMetadata:n})}))),this.inflightSessionPromiseCounter++,a.label=1;case 1:return a.trys.push([1,,3,4]),[4,this.inflightSessionPromise];case 2:return t=a.sent(),e.signInUserSession=t,[2,t];case 3:return this.inflightSessionPromiseCounter--,[7];case 4:return[2]}}))}))},e.prototype.userSession=function(e){return this._userSession(e)},e.prototype.currentUserCredentials=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n,t=this;return Object(i.__generator)(this,(function(o){switch(o.label){case 0:Ne.debug("Getting current user credentials"),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this._storageSync];case 2:return o.sent(),[3,4];case 3:throw e=o.sent(),Ne.debug("Failed to sync cache info into memory",e),e;case 4:n=null;try{n=JSON.parse(this._storage.getItem("aws-amplify-federatedInfo"))}catch(r){Ne.debug("failed to get or parse item aws-amplify-federatedInfo",r)}return n?[2,this.Credentials.refreshFederatedToken(n)]:[2,this.currentSession().then((function(e){return Ne.debug("getting session success",e),t.Credentials.set(e,"session")})).catch((function(){return Ne.debug("getting guest credentials"),t.Credentials.set(null,"guest")}))]}}))}))},e.prototype.currentCredentials=function(){return Ne.debug("getting current credentials"),this.Credentials.get()},e.prototype.verifyUserAttribute=function(e,n,t){return void 0===t&&(t=this._config.clientMetadata),new Promise((function(o,r){e.getAttributeVerificationCode(n,{onSuccess:function(e){return o(e)},onFailure:function(e){return r(e)}},t)}))},e.prototype.verifyUserAttributeSubmit=function(e,n,t){return t?new Promise((function(o,r){e.verifyAttribute(n,t,{onSuccess:function(e){o(e)},onFailure:function(e){r(e)}})})):this.rejectAuthError(r.EmptyCode)},e.prototype.verifyCurrentUserAttribute=function(e){var n=this;return n.currentUserPoolUser().then((function(t){return n.verifyUserAttribute(t,e)}))},e.prototype.verifyCurrentUserAttributeSubmit=function(e,n){var t=this;return t.currentUserPoolUser().then((function(o){return t.verifyUserAttributeSubmit(o,e,n)}))},e.prototype.cognitoIdentitySignOut=function(e,n){return Object(i.__awaiter)(this,void 0,void 0,(function(){var t,o,r=this;return Object(i.__generator)(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,this._storageSync];case 1:return a.sent(),[3,3];case 2:throw t=a.sent(),Ne.debug("Failed to sync cache info into memory",t),t;case 3:return o=this._oAuthHandler&&"true"===this._storage.getItem("amplify-signin-with-hostedUI"),[2,new Promise((function(t,a){if(e&&e.global){Ne.debug("user global sign out",n);var s=r._config.clientMetadata;n.getSession((function(e,s){return Object(i.__awaiter)(r,void 0,void 0,(function(){var r,s=this;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!e)return[3,5];if(Ne.debug("failed to get the user session",e),!this.isSessionInvalid(e))return[3,4];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.cleanUpInvalidSession(n)];case 2:return i.sent(),[3,4];case 3:return r=i.sent(),a(new Error("Session is invalid due to: "+e.message+" and failed to clean up invalid session: "+r.message)),[2];case 4:return[2,a(e)];case 5:return n.globalSignOut({onSuccess:function(e){if(Ne.debug("global sign out success"),!o)return t();s.oAuthSignOutRedirect(t,a)},onFailure:function(e){return Ne.debug("global sign out failed",e),a(e)}}),[2]}}))}))}),{clientMetadata:s})}else Ne.debug("user sign out",n),n.signOut((function(){if(!o)return t();r.oAuthSignOutRedirect(t,a)}))}))]}}))}))},e.prototype.oAuthSignOutRedirect=function(e,n){Object(v.a)().isBrowser?this.oAuthSignOutRedirectOrReject(n):this.oAuthSignOutAndResolve(e)},e.prototype.oAuthSignOutAndResolve=function(e){this._oAuthHandler.signOut(),e()},e.prototype.oAuthSignOutRedirectOrReject=function(e){this._oAuthHandler.signOut(),setTimeout((function(){return e(Error("Signout timeout fail"))}),3e3)},e.prototype.signOut=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n;return Object(i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.cleanCachedItems()];case 1:return t.sent(),[3,3];case 2:return t.sent(),Ne.debug("failed to clear cached items"),[3,3];case 3:return this.userPool?(n=this.userPool.getCurrentUser())?[4,this.cognitoIdentitySignOut(e,n)]:[3,5]:[3,7];case 4:return t.sent(),[3,6];case 5:Ne.debug("no current Cognito user"),t.label=6;case 6:return[3,8];case 7:Ne.debug("no Cognito User pool"),t.label=8;case 8:return Ue("signOut",this.user,"A user has been signed out"),this.user=null,[2]}}))}))},e.prototype.cleanCachedItems=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){return Object(i.__generator)(this,(function(e){switch(e.label){case 0:return[4,this.Credentials.clear()];case 1:return e.sent(),[2]}}))}))},e.prototype.changePassword=function(e,n,t,o){var r=this;return void 0===o&&(o=this._config.clientMetadata),new Promise((function(a,i){r.userSession(e).then((function(r){e.changePassword(n,t,(function(e,n){return e?(Ne.debug("change password failure",e),i(e)):a(n)}),o)}))}))},e.prototype.forgotPassword=function(e,n){if(void 0===n&&(n=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(r.EmptyUsername);var t=this.createCognitoUser(e);return new Promise((function(o,r){t.forgotPassword({onSuccess:function(){o()},onFailure:function(n){Ne.debug("forgot password failure",n),Ue("forgotPassword_failure",n,e+" forgotPassword failed"),r(n)},inputVerificationCode:function(n){Ue("forgotPassword",t,e+" has initiated forgot password flow"),o(n)}},n)}))},e.prototype.forgotPasswordSubmit=function(e,n,t,o){if(void 0===o&&(o=this._config.clientMetadata),!this.userPool)return this.rejectNoUserPool();if(!e)return this.rejectAuthError(r.EmptyUsername);if(!n)return this.rejectAuthError(r.EmptyCode);if(!t)return this.rejectAuthError(r.EmptyPassword);var a=this.createCognitoUser(e);return new Promise((function(r,i){a.confirmPassword(n,t,{onSuccess:function(n){Ue("forgotPasswordSubmit",a,e+" forgotPasswordSubmit successful"),r(n)},onFailure:function(n){Ue("forgotPasswordSubmit_failure",n,e+" forgotPasswordSubmit failed"),i(n)}},o)}))},e.prototype.currentUserInfo=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n,t,o,r,a,s;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:return(e=this.Credentials.getCredSource())&&"aws"!==e&&"userPool"!==e?[3,9]:[4,this.currentUserPoolUser().catch((function(e){return Ne.error(e)}))];case 1:if(!(s=i.sent()))return[2,null];i.label=2;case 2:return i.trys.push([2,8,,9]),[4,this.userAttributes(s)];case 3:n=i.sent(),t=this.attributesToObject(n),o=null,i.label=4;case 4:return i.trys.push([4,6,,7]),[4,this.currentCredentials()];case 5:return o=i.sent(),[3,7];case 6:return r=i.sent(),Ne.debug("Failed to retrieve credentials while getting current user info",r),[3,7];case 7:return[2,{id:o?o.identityId:void 0,username:s.getUsername(),attributes:t}];case 8:return a=i.sent(),Ne.error("currentUserInfo error",a),[2,{}];case 9:return"federated"===e?[2,(s=this.user)||{}]:[2]}}))}))},e.prototype.federatedSignIn=function(e,n,t){return Object(i.__awaiter)(this,void 0,void 0,(function(){var r,a,u,l,d,p,m,h,f,g,v;return Object(i.__generator)(this,(function(i){switch(i.label){case 0:if(!this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation requires either a User Pool or Identity Pool in config");if("undefined"===typeof e&&this._config.identityPoolId&&!this._config.userPoolId)throw new Error("Federation with Identity Pools requires tokens passed as arguments");return s(e)||(y=e)&&["customProvider"].find((function(e){return y.hasOwnProperty(e)}))||function(e){return e&&!!["customState"].find((function(n){return e.hasOwnProperty(n)}))}(e)||"undefined"===typeof e?(r=e||{provider:o.Cognito},d=s(r)?r.provider:r.customProvider,s(r),a=r.customState,this._config.userPoolId&&(u=c(this._config.oauth)?this._config.userPoolWebClientId:this._config.oauth.clientID,l=c(this._config.oauth)?this._config.oauth.redirectSignIn:this._config.oauth.redirectUri,this._oAuthHandler.oauthSignIn(this._config.oauth.responseType,this._config.oauth.domain,l,u,d,a)),[3,4]):[3,1];case 1:d=e;try{(p=JSON.stringify(JSON.parse(this._storage.getItem("aws-amplify-federatedInfo")).user))&&Ne.warn("There is already a signed in user: "+p+" in your app.\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tYou should not call Auth.federatedSignIn method again as it may cause unexpected behavior.")}catch(b){}return m=n.token,h=n.identity_id,f=n.expires_at,[4,this.Credentials.set({provider:d,token:m,identity_id:h,user:t,expires_at:f},"federation")];case 2:return g=i.sent(),[4,this.currentAuthenticatedUser()];case 3:return v=i.sent(),Ue("signIn",v,"A user "+v.username+" has been signed in"),Ne.debug("federated sign in credentials",g),[2,g];case 4:return[2]}var y}))}))},e.prototype._handleAuthResponse=function(e){return Object(i.__awaiter)(this,void 0,void 0,(function(){var n,t,o,r,a,s,c,u,l,d,p,m,h,f;return Object(i.__generator)(this,(function(g){switch(g.label){case 0:if(this.oAuthFlowInProgress)return Ne.debug("Skipping URL "+e+" current flow in progress"),[2];g.label=1;case 1:if(g.trys.push([1,,8,9]),this.oAuthFlowInProgress=!0,!this._config.userPoolId)throw new Error("OAuth responses require a User Pool defined in config");if(Ue("parsingCallbackUrl",{url:e},"The callback url is being parsed"),n=e||(Object(v.a)().isBrowser?window.location.href:""),t=!!(Object(xe.parse)(n).query||"").split("&").map((function(e){return e.split("=")})).find((function(e){var n=Object(i.__read)(e,1)[0];return"code"===n||"error"===n})),o=!!(Object(xe.parse)(n).hash||"#").substr(1).split("&").map((function(e){return e.split("=")})).find((function(e){var n=Object(i.__read)(e,1)[0];return"access_token"===n||"error"===n})),!t&&!o)return[3,7];this._storage.setItem("amplify-redirected-from-hosted-ui","true"),g.label=2;case 2:return g.trys.push([2,6,,7]),[4,this._oAuthHandler.handleAuthResponse(n)];case 3:return r=g.sent(),a=r.accessToken,s=r.idToken,c=r.refreshToken,u=r.state,l=new Z({IdToken:new $({IdToken:s}),RefreshToken:new Y({RefreshToken:c}),AccessToken:new K({AccessToken:a})}),d=void 0,this._config.identityPoolId?[4,this.Credentials.set(l,"session")]:[3,5];case 4:d=g.sent(),Ne.debug("AWS credentials",d),g.label=5;case 5:return p=/-/.test(u),(m=this.createCognitoUser(l.getIdToken().decodePayload()["cognito:username"])).setSignInUserSession(l),window&&"undefined"!==typeof window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),Ue("signIn",m,"A user "+m.getUsername()+" has been signed in"),Ue("cognitoHostedUI",m,"A user "+m.getUsername()+" has been signed in via Cognito Hosted UI"),p&&(h=u.split("-").splice(1).join("-"),Ue("customOAuthState",h.match(/.{2}/g).map((function(e){return String.fromCharCode(parseInt(e,16))})).join(""),"State for user "+m.getUsername())),[2,d];case 6:return f=g.sent(),Ne.debug("Error in cognito hosted auth response",f),window&&"undefined"!==typeof window.history&&window.history.replaceState({},null,this._config.oauth.redirectSignIn),Ue("signIn_failure",f,"The OAuth response flow failed"),Ue("cognitoHostedUI_failure",f,"A failure occurred when returning to the Cognito Hosted UI"),Ue("customState_failure",f,"A failure occurred when returning state"),[3,7];case 7:return[3,9];case 8:return this.oAuthFlowInProgress=!1,[7];case 9:return[2]}}))}))},e.prototype.essentialCredentials=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e.prototype.attributesToObject=function(e){var n=this,t={};return e&&e.map((function(e){"email_verified"===e.Name||"phone_number_verified"===e.Name?t[e.Name]=n.isTruthyString(e.Value)||!0===e.Value:t[e.Name]=e.Value})),t},e.prototype.isTruthyString=function(e){return"function"===typeof e.toLowerCase&&"true"===e.toLowerCase()},e.prototype.createCognitoUser=function(e){var n={Username:e,Pool:this.userPool};n.Storage=this._storage;var t=this._config.authenticationFlowType,o=new se(n);return t&&o.setAuthenticationFlowType(t),o},e.prototype._isValidAuthStorage=function(e){return!!e&&"function"===typeof e.getItem&&"function"===typeof e.setItem&&"function"===typeof e.removeItem&&"function"===typeof e.clear},e.prototype.noUserPoolErrorHandler=function(e){return!e||e.userPoolId&&e.identityPoolId?r.NoConfig:r.MissingAuthConfig},e.prototype.rejectAuthError=function(e){return Promise.reject(new Ie(e))},e.prototype.rejectNoUserPool=function(){var e=this.noUserPoolErrorHandler(this._config);return Promise.reject(new Re(e))},e.prototype.rememberDevice=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n;return Object(i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=t.sent(),[3,3];case 2:return n=t.sent(),Ne.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise((function(n,t){e.setDeviceStatusRemembered({onSuccess:function(e){n(e)},onFailure:function(e){"InvalidParameterException"===e.code?t(new Ie(r.DeviceConfig)):"NetworkError"===e.code?t(new Ie(r.NetworkError)):t(e)}})}))]}}))}))},e.prototype.forgetDevice=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n;return Object(i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=t.sent(),[3,3];case 2:return n=t.sent(),Ne.debug("The user is not authenticated by the error",n),[2,Promise.reject("The user is not authenticated")];case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise((function(n,t){e.forgetDevice({onSuccess:function(e){n(e)},onFailure:function(e){"InvalidParameterException"===e.code?t(new Ie(r.DeviceConfig)):"NetworkError"===e.code?t(new Ie(r.NetworkError)):t(e)}})}))]}}))}))},e.prototype.fetchDevices=function(){return Object(i.__awaiter)(this,void 0,void 0,(function(){var e,n;return Object(i.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.currentUserPoolUser()];case 1:return e=t.sent(),[3,3];case 2:throw n=t.sent(),Ne.debug("The user is not authenticated by the error",n),new Error("The user is not authenticated");case 3:return e.getCachedDeviceKeyAndPassword(),[2,new Promise((function(n,t){var o={onSuccess:function(e){var t=e.Devices.map((function(e){var n=e.DeviceAttributes.find((function(e){return"device_name"===e.Name}))||{};return{id:e.DeviceKey,name:n.Value}}));n(t)},onFailure:function(e){"InvalidParameterException"===e.code?t(new Ie(r.DeviceConfig)):"NetworkError"===e.code?t(new Ie(r.NetworkError)):t(e)}};e.listDevices(60,null,o)}))]}}))}))},e}())(null);S.a.register(De)},function(e,n,t){"use strict";t.d(n,"a",(function(){return Yn}));var o=t(1),r=t(131),a=t(515),i=t(82),s=new r.a("Util"),c=function(e){function n(n){var t=e.call(this,n)||this;return t.nonRetryable=!0,t}return Object(o.__extends)(n,e),n}(Error);var u=3e5;var l=function(e,n,t,r){return void 0===t&&(t=u),function(e,n,t,r){return Object(o.__awaiter)(this,void 0,void 0,(function(){var a=this;return Object(o.__generator)(this,(function(i){if("function"!==typeof e)throw Error("functionToRetry must be a function");return[2,new Promise((function(i,c){return Object(o.__awaiter)(a,void 0,void 0,(function(){var a,u,l,d,p,m,h;return Object(o.__generator)(this,(function(f){switch(f.label){case 0:a=0,u=!1,d=function(){},r&&r.then((function(){u=!0,clearTimeout(l),d()})),m=function(){var r,m,h,f;return Object(o.__generator)(this,(function(g){switch(g.label){case 0:a++,s.debug(e.name+" attempt #"+a+" with this vars: "+JSON.stringify(n)),g.label=1;case 1:return g.trys.push([1,3,,7]),r={},m=i,[4,e.apply(void 0,Object(o.__spread)(n))];case 2:return[2,(r.value=m.apply(void 0,[g.sent()]),r)];case 3:return h=g.sent(),p=h,s.debug("error on "+e.name,h),(v=h)&&v.nonRetryable?(s.debug(e.name+" non retryable error",h),[2,{value:c(h)}]):(f=t(a,n,h),s.debug(e.name+" retrying in "+f+" ms"),!1===f||u?[2,{value:c(h)}]:[3,4]);case 4:return[4,new Promise((function(e){d=e,l=setTimeout(d,f)}))];case 5:g.sent(),g.label=6;case 6:return[3,7];case 7:return[2]}var v}))},f.label=1;case 1:return u?[3,3]:[5,m()];case 2:return"object"===typeof(h=f.sent())?[2,h.value]:[3,1];case 3:return c(p),[2]}}))}))}))]}))}))}(e,n,function(e){return void 0===e&&(e=u),function(n){var t=100*Math.pow(2,n)+100*Math.random();return!(t>e)&&t}}(t),r)},d=new r.a("CognitoCredentials"),p=new Promise((function(e,n){return Object(i.a)().isBrowser?(window.gapi&&window.gapi.auth2?window.gapi.auth2:null)?(d.debug("google api already loaded"),e()):void setTimeout((function(){return e()}),2e3):(d.debug("not in the browser, directly resolved"),e())})),m=function(){function e(){this.initialized=!1,this.refreshGoogleToken=this.refreshGoogleToken.bind(this),this._refreshGoogleTokenImpl=this._refreshGoogleTokenImpl.bind(this)}return e.prototype.refreshGoogleToken=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(e){switch(e.label){case 0:return this.initialized?[3,2]:(d.debug("need to wait for the Google SDK loaded"),[4,p]);case 1:e.sent(),this.initialized=!0,d.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshGoogleTokenImpl()]}}))}))},e.prototype._refreshGoogleTokenImpl=function(){var e=null;return Object(i.a)().isBrowser&&(e=window.gapi&&window.gapi.auth2?window.gapi.auth2:null),e?new Promise((function(n,t){e.getAuthInstance().then((function(e){e||(d.debug("google Auth undefined"),t(new c("google Auth undefined")));var o=e.currentUser.get();o.isSignedIn()?(d.debug("refreshing the google access token"),o.reloadAuthResponse().then((function(e){var t=e.id_token,o=e.expires_at;n({token:t,expires_at:o})})).catch((function(e){e&&"network_error"===e.error?t("Network error reloading google auth response"):t(new c("Failed to reload google auth response"))}))):t(new c("User is not signed in with Google"))})).catch((function(e){d.debug("Failed to refresh google token",e),t(new c("Failed to refresh google token"))}))})):(d.debug("no gapi auth2 available"),Promise.reject("no gapi auth2 available"))},e}(),h=new r.a("CognitoCredentials"),f=new Promise((function(e,n){return Object(i.a)().isBrowser?window.FB?(h.debug("FB SDK already loaded"),e()):void setTimeout((function(){return e()}),2e3):(h.debug("not in the browser, directly resolved"),e())})),g=function(){function e(){this.initialized=!1,this.refreshFacebookToken=this.refreshFacebookToken.bind(this),this._refreshFacebookTokenImpl=this._refreshFacebookTokenImpl.bind(this)}return e.prototype.refreshFacebookToken=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(e){switch(e.label){case 0:return this.initialized?[3,2]:(h.debug("need to wait for the Facebook SDK loaded"),[4,f]);case 1:e.sent(),this.initialized=!0,h.debug("finish waiting"),e.label=2;case 2:return[2,this._refreshFacebookTokenImpl()]}}))}))},e.prototype._refreshFacebookTokenImpl=function(){var e=null;if(Object(i.a)().isBrowser&&(e=window.FB),!e){var n="no fb sdk available";return h.debug(n),Promise.reject(new c(n))}return new Promise((function(n,t){e.getLoginStatus((function(e){if(e&&e.authResponse){var o=e.authResponse,r=o.accessToken,a=1e3*o.expiresIn+(new Date).getTime();if(!r){i="the jwtToken is undefined";h.debug(i),t(new c(i))}n({token:r,expires_at:a})}else{var i="no response from facebook when refreshing the jwt token";h.debug(i),t(new c(i))}}),{scope:"public_profile,email"})}))},e}(),v=new m,y=new g,b=t(199),C=function(e,n){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function w(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}C(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var S=function(){return(S=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)};function _(e,n,t,o){return new(t||(t=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(n){a(n)}}function s(e){try{c(o.throw(e))}catch(n){a(n)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((o=o.apply(e,n||[])).next())}))}function E(e,n){var t,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(s){a=[6,s],o=0}finally{t=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}Object.create;function x(e,n){var t="function"===typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return i}var O,A,k,T,P,M,I,R,j,N,L,F,U,D,B,z,V,G,H,q,K,W,$,Y,Q,J,Z,X,ee,ne,te,oe,re,ae,ie,se,ce,ue,le,de,pe,me,he,fe,ge,ve,ye,be,Ce,we,Se,_e,Ee,xe,Oe,Ae,ke;Object.create;!function(e){e.AUTHENTICATED_ROLE="AuthenticatedRole",e.DENY="Deny"}(O||(O={})),(A||(A={})).filterSensitiveLog=function(e){return S({},e)},(k||(k={})).filterSensitiveLog=function(e){return S({},e)},(T||(T={})).filterSensitiveLog=function(e){return S({},e)},(P||(P={})).filterSensitiveLog=function(e){return S({},e)},(M||(M={})).filterSensitiveLog=function(e){return S({},e)},(I||(I={})).filterSensitiveLog=function(e){return S({},e)},(R||(R={})).filterSensitiveLog=function(e){return S({},e)},(j||(j={})).filterSensitiveLog=function(e){return S({},e)},(N||(N={})).filterSensitiveLog=function(e){return S({},e)},(L||(L={})).filterSensitiveLog=function(e){return S({},e)},function(e){e.ACCESS_DENIED="AccessDenied",e.INTERNAL_SERVER_ERROR="InternalServerError"}(F||(F={})),(U||(U={})).filterSensitiveLog=function(e){return S({},e)},(D||(D={})).filterSensitiveLog=function(e){return S({},e)},(B||(B={})).filterSensitiveLog=function(e){return S({},e)},(z||(z={})).filterSensitiveLog=function(e){return S({},e)},(V||(V={})).filterSensitiveLog=function(e){return S({},e)},(G||(G={})).filterSensitiveLog=function(e){return S({},e)},(H||(H={})).filterSensitiveLog=function(e){return S({},e)},(q||(q={})).filterSensitiveLog=function(e){return S({},e)},(K||(K={})).filterSensitiveLog=function(e){return S({},e)},(W||(W={})).filterSensitiveLog=function(e){return S({},e)},($||($={})).filterSensitiveLog=function(e){return S({},e)},(Y||(Y={})).filterSensitiveLog=function(e){return S({},e)},(Q||(Q={})).filterSensitiveLog=function(e){return S({},e)},(J||(J={})).filterSensitiveLog=function(e){return S({},e)},(Z||(Z={})).filterSensitiveLog=function(e){return S({},e)},function(e){e.CONTAINS="Contains",e.EQUALS="Equals",e.NOT_EQUAL="NotEqual",e.STARTS_WITH="StartsWith"}(X||(X={})),(ee||(ee={})).filterSensitiveLog=function(e){return S({},e)},(ne||(ne={})).filterSensitiveLog=function(e){return S({},e)},function(e){e.RULES="Rules",e.TOKEN="Token"}(te||(te={})),(oe||(oe={})).filterSensitiveLog=function(e){return S({},e)},(re||(re={})).filterSensitiveLog=function(e){return S({},e)},(ae||(ae={})).filterSensitiveLog=function(e){return S({},e)},(ie||(ie={})).filterSensitiveLog=function(e){return S({},e)},(se||(se={})).filterSensitiveLog=function(e){return S({},e)},(ce||(ce={})).filterSensitiveLog=function(e){return S({},e)},(ue||(ue={})).filterSensitiveLog=function(e){return S({},e)},(le||(le={})).filterSensitiveLog=function(e){return S({},e)},(de||(de={})).filterSensitiveLog=function(e){return S({},e)},(pe||(pe={})).filterSensitiveLog=function(e){return S({},e)},(me||(me={})).filterSensitiveLog=function(e){return S({},e)},(he||(he={})).filterSensitiveLog=function(e){return S({},e)},(fe||(fe={})).filterSensitiveLog=function(e){return S({},e)},(ge||(ge={})).filterSensitiveLog=function(e){return S({},e)},(ve||(ve={})).filterSensitiveLog=function(e){return S({},e)},(ye||(ye={})).filterSensitiveLog=function(e){return S({},e)},(be||(be={})).filterSensitiveLog=function(e){return S({},e)},(Ce||(Ce={})).filterSensitiveLog=function(e){return S({},e)},(we||(we={})).filterSensitiveLog=function(e){return S({},e)},(Se||(Se={})).filterSensitiveLog=function(e){return S({},e)},(_e||(_e={})).filterSensitiveLog=function(e){return S({},e)},(Ee||(Ee={})).filterSensitiveLog=function(e){return S({},e)},(xe||(xe={})).filterSensitiveLog=function(e){return S({},e)},(Oe||(Oe={})).filterSensitiveLog=function(e){return S({},e)},(Ae||(Ae={})).filterSensitiveLog=function(e){return S({},e)},(ke||(ke={})).filterSensitiveLog=function(e){return S({},e)};var Te=t(16),Pe=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o,r,a,i,s,c,u,l,d,p,m,h,f,g;return E(this,(function(v){switch(v.label){case 0:return o=[S({},e)],g={},[4,an(e.body,n)];case 1:switch(t=S.apply(void 0,o.concat([(g.body=v.sent(),g)])),a="UnknownError",a=sn(e,t.body),a){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":return[3,6];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return i=[{}],[4,Ie(t,n)];case 3:return r=S.apply(void 0,[S.apply(void 0,i.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 4:return s=[{}],[4,Re(t,n)];case 5:return r=S.apply(void 0,[S.apply(void 0,s.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 6:return c=[{}],[4,je(t,n)];case 7:return r=S.apply(void 0,[S.apply(void 0,c.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 8:return u=[{}],[4,Ne(t,n)];case 9:return r=S.apply(void 0,[S.apply(void 0,u.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 10:return l=[{}],[4,Fe(t,n)];case 11:return r=S.apply(void 0,[S.apply(void 0,l.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 12:return d=[{}],[4,Ue(t,n)];case 13:return r=S.apply(void 0,[S.apply(void 0,d.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 14:return p=[{}],[4,De(t,n)];case 15:return r=S.apply(void 0,[S.apply(void 0,p.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 16:return m=[{}],[4,Be(t,n)];case 17:return r=S.apply(void 0,[S.apply(void 0,m.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 18:h=t.body,a=h.code||h.Code||a,r=S(S({},h),{name:""+a,message:h.message||h.Message||a,$fault:"client",$metadata:tn(e)}),v.label=19;case 19:return f=r.message||r.Message||a,r.message=f,delete r.Message,[2,Promise.reject(Object.assign(new Error(f),r))]}}))}))},Me=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o,r,a,i,s,c,u,l,d,p,m,h,f,g;return E(this,(function(v){switch(v.label){case 0:return o=[S({},e)],g={},[4,an(e.body,n)];case 1:switch(t=S.apply(void 0,o.concat([(g.body=v.sent(),g)])),a="UnknownError",a=sn(e,t.body),a){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":return[3,2];case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":return[3,4];case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":return[3,6];case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":return[3,8];case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":return[3,10];case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":return[3,12];case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":return[3,14];case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":return[3,16]}return[3,18];case 2:return i=[{}],[4,Ie(t,n)];case 3:return r=S.apply(void 0,[S.apply(void 0,i.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 4:return s=[{}],[4,Re(t,n)];case 5:return r=S.apply(void 0,[S.apply(void 0,s.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 6:return c=[{}],[4,Ne(t,n)];case 7:return r=S.apply(void 0,[S.apply(void 0,c.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 8:return u=[{}],[4,Le(t,n)];case 9:return r=S.apply(void 0,[S.apply(void 0,u.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 10:return l=[{}],[4,Fe(t,n)];case 11:return r=S.apply(void 0,[S.apply(void 0,l.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 12:return d=[{}],[4,Ue(t,n)];case 13:return r=S.apply(void 0,[S.apply(void 0,d.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 14:return p=[{}],[4,De(t,n)];case 15:return r=S.apply(void 0,[S.apply(void 0,p.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 16:return m=[{}],[4,Be(t,n)];case 17:return r=S.apply(void 0,[S.apply(void 0,m.concat([v.sent()])),{name:a,$metadata:tn(e)}]),[3,19];case 18:h=t.body,a=h.code||h.Code||a,r=S(S({},h),{name:""+a,message:h.message||h.Message||a,$fault:"client",$metadata:tn(e)}),v.label=19;case 19:return f=r.message||r.Message||a,r.message=f,delete r.Message,[2,Promise.reject(Object.assign(new Error(f),r))]}}))}))},Ie=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=qe(t,n),[2,S({name:"ExternalServiceException",$fault:"client",$metadata:tn(e)},o)]}))}))},Re=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=$e(t,n),[2,S({name:"InternalErrorException",$fault:"server",$metadata:tn(e)},o)]}))}))},je=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=Ye(t,n),[2,S({name:"InvalidIdentityPoolConfigurationException",$fault:"client",$metadata:tn(e)},o)]}))}))},Ne=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=Qe(t,n),[2,S({name:"InvalidParameterException",$fault:"client",$metadata:tn(e)},o)]}))}))},Le=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=Je(t,n),[2,S({name:"LimitExceededException",$fault:"client",$metadata:tn(e)},o)]}))}))},Fe=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=Ze(t,n),[2,S({name:"NotAuthorizedException",$fault:"client",$metadata:tn(e)},o)]}))}))},Ue=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=Xe(t,n),[2,S({name:"ResourceConflictException",$fault:"client",$metadata:tn(e)},o)]}))}))},De=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=en(t,n),[2,S({name:"ResourceNotFoundException",$fault:"client",$metadata:tn(e)},o)]}))}))},Be=function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t=e.body,o=nn(t,n),[2,S({name:"TooManyRequestsException",$fault:"client",$metadata:tn(e)},o)]}))}))},ze=function(e,n){return S(S(S({},void 0!==e.CustomRoleArn&&null!==e.CustomRoleArn&&{CustomRoleArn:e.CustomRoleArn}),void 0!==e.IdentityId&&null!==e.IdentityId&&{IdentityId:e.IdentityId}),void 0!==e.Logins&&null!==e.Logins&&{Logins:Ge(e.Logins,n)})},Ve=function(e,n){return S(S(S({},void 0!==e.AccountId&&null!==e.AccountId&&{AccountId:e.AccountId}),void 0!==e.IdentityPoolId&&null!==e.IdentityPoolId&&{IdentityPoolId:e.IdentityPoolId}),void 0!==e.Logins&&null!==e.Logins&&{Logins:Ge(e.Logins,n)})},Ge=function(e,n){return Object.entries(e).reduce((function(e,n){var t,o=x(n,2),r=o[0],a=o[1];return null===a?e:S(S({},e),((t={})[r]=a,t))}),{})},He=function(e,n){return{AccessKeyId:void 0!==e.AccessKeyId&&null!==e.AccessKeyId?e.AccessKeyId:void 0,Expiration:void 0!==e.Expiration&&null!==e.Expiration?new Date(Math.round(1e3*e.Expiration)):void 0,SecretKey:void 0!==e.SecretKey&&null!==e.SecretKey?e.SecretKey:void 0,SessionToken:void 0!==e.SessionToken&&null!==e.SessionToken?e.SessionToken:void 0}},qe=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Ke=function(e,n){return{Credentials:void 0!==e.Credentials&&null!==e.Credentials?He(e.Credentials):void 0,IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},We=function(e,n){return{IdentityId:void 0!==e.IdentityId&&null!==e.IdentityId?e.IdentityId:void 0}},$e=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Ye=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Qe=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Je=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Ze=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},Xe=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},en=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},nn=function(e,n){return{message:void 0!==e.message&&null!==e.message?e.message:void 0}},tn=function(e){var n;return{httpStatusCode:e.statusCode,requestId:null!==(n=e.headers["x-amzn-requestid"])&&void 0!==n?n:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},on=function(e,n){return void 0===e&&(e=new Uint8Array),e instanceof Uint8Array?Promise.resolve(e):n.streamCollector(e)||Promise.resolve(new Uint8Array)},rn=function(e,n,t,o,r){return _(void 0,void 0,void 0,(function(){var a,i,s,c,u,l;return E(this,(function(d){switch(d.label){case 0:return[4,e.endpoint()];case 1:return a=d.sent(),i=a.hostname,s=a.protocol,c=void 0===s?"https":s,u=a.port,l={protocol:c,hostname:i,port:u,method:"POST",path:t,headers:n},void 0!==o&&(l.hostname=o),void 0!==r&&(l.body=r),[2,new Te.a(l)]}}))}))},an=function(e,n){return function(e,n){return on(e,n).then((function(e){return n.utf8Encoder(e)}))}(e,n).then((function(e){return e.length?JSON.parse(e):{}}))},sn=function(e,n){var t,o,r=function(e){var n=e;return n.indexOf(":")>=0&&(n=n.split(":")[0]),n.indexOf("#")>=0&&(n=n.split("#")[1]),n},a=(t=e.headers,o="x-amzn-errortype",Object.keys(t).find((function(e){return e.toLowerCase()===o.toLowerCase()})));return void 0!==a?r(e.headers[a]):void 0!==n.code?r(n.code):void 0!==n.__type?r(n.__type):""},cn=t(97),un=t(12),ln=function(e){function n(n){var t=e.call(this)||this;return t.input=n,t}return w(n,e),n.prototype.resolveMiddleware=function(e,n,t){this.middlewareStack.use(Object(cn.a)(n,this.serialize,this.deserialize));var o=e.concat(this.middlewareStack),r={logger:n.logger,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:K.filterSensitiveLog,outputFilterSensitiveLog:$.filterSensitiveLog},a=n.requestHandler;return o.resolve((function(e){return a.handle(e.request,t||{})}),r)},n.prototype.serialize=function(e,n){return function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},o=JSON.stringify(ze(e,n)),[2,rn(n,t,"/",void 0,o)]}))}))}(e,n)},n.prototype.deserialize=function(e,n){return function(e,n){return _(void 0,void 0,void 0,(function(){var t,o,r;return E(this,(function(a){switch(a.label){case 0:return e.statusCode>=300?[2,Pe(e,n)]:[4,an(e.body,n)];case 1:return t=a.sent(),o=Ke(t,n),r=S({$metadata:tn(e)},o),[2,Promise.resolve(r)]}}))}))}(e,n)},n}(un.b),dn=function(e){function n(n,t){void 0===t&&(t=!0);var o=e.call(this,n)||this;return o.tryNextLink=t,o}return Object(o.__extends)(n,e),n}(Error);function pn(e){return Promise.all(Object.keys(e).reduce((function(n,t){var o=e[t];return"string"===typeof o?n.push([t,o]):n.push(o().then((function(e){return[t,e]}))),n}),[])).then((function(e){return e.reduce((function(e,n){var t=Object(o.__read)(n,2),r=t[0],a=t[1];return e[r]=a,e}),{})}))}function mn(e){var n=this;return function(){return Object(o.__awaiter)(n,void 0,void 0,(function(){var n,t,r,a,i,s,c,u,l,d,p,m,h;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return d=(l=e.client).send,p=ln.bind,h={CustomRoleArn:e.customRoleArn,IdentityId:e.identityId},e.logins?[4,pn(e.logins)]:[3,2];case 1:return m=o.sent(),[3,3];case 2:m=void 0,o.label=3;case 3:return[4,d.apply(l,[new(p.apply(ln,[void 0,(h.Logins=m,h)]))])];case 4:return n=o.sent().Credentials,t=void 0===n?function(){throw new dn("Response from Amazon Cognito contained no credentials")}():n,r=t.AccessKeyId,a=void 0===r?function(){throw new dn("Response from Amazon Cognito contained no access key ID")}():r,i=t.Expiration,s=t.SecretKey,c=void 0===s?function(){throw new dn("Response from Amazon Cognito contained no secret key")}():s,u=t.SessionToken,[2,{identityId:e.identityId,accessKeyId:a,secretAccessKey:c,sessionToken:u,expiration:i}]}}))}))}}var hn=function(e){function n(n){var t=e.call(this)||this;return t.input=n,t}return w(n,e),n.prototype.resolveMiddleware=function(e,n,t){this.middlewareStack.use(Object(cn.a)(n,this.serialize,this.deserialize));var o=e.concat(this.middlewareStack),r={logger:n.logger,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:Q.filterSensitiveLog,outputFilterSensitiveLog:J.filterSensitiveLog},a=n.requestHandler;return o.resolve((function(e){return a.handle(e.request,t||{})}),r)},n.prototype.serialize=function(e,n){return function(e,n){return _(void 0,void 0,void 0,(function(){var t,o;return E(this,(function(r){return t={"content-type":"application/x-amz-json-1.1","x-amz-target":"AWSCognitoIdentityService.GetId"},o=JSON.stringify(Ve(e,n)),[2,rn(n,t,"/",void 0,o)]}))}))}(e,n)},n.prototype.deserialize=function(e,n){return function(e,n){return _(void 0,void 0,void 0,(function(){var t,o,r;return E(this,(function(a){switch(a.label){case 0:return e.statusCode>=300?[2,Me(e,n)]:[4,an(e.body,n)];case 1:return t=a.sent(),o=We(t,n),r=S({$metadata:tn(e)},o),[2,Promise.resolve(r)]}}))}))}(e,n)},n}(un.b),fn="IdentityIds",gn=function(){function e(e){void 0===e&&(e="aws:cognito-identity-ids"),this.dbName=e}return e.prototype.getItem=function(e){return this.withObjectStore("readonly",(function(n){var t=n.get(e);return new Promise((function(e){t.onerror=function(){return e(null)},t.onsuccess=function(){return e(t.result?t.result.value:null)}}))})).catch((function(){return null}))},e.prototype.removeItem=function(e){return this.withObjectStore("readwrite",(function(n){var t=n.delete(e);return new Promise((function(e,n){t.onerror=function(){return n(t.error)},t.onsuccess=function(){return e()}}))}))},e.prototype.setItem=function(e,n){return this.withObjectStore("readwrite",(function(t){var o=t.put({id:e,value:n});return new Promise((function(e,n){o.onerror=function(){return n(o.error)},o.onsuccess=function(){return e()}}))}))},e.prototype.getDb=function(){var e=self.indexedDB.open(this.dbName,1);return new Promise((function(n,t){e.onsuccess=function(){n(e.result)},e.onerror=function(){t(e.error)},e.onblocked=function(){t(new Error("Unable to access DB"))},e.onupgradeneeded=function(){var n=e.result;n.onerror=function(){t(new Error("Failed to create object store"))},n.createObjectStore(fn,{keyPath:"id"})}}))},e.prototype.withObjectStore=function(e,n){return this.getDb().then((function(t){var o=t.transaction(fn,e);return o.oncomplete=function(){return t.close()},new Promise((function(e,t){o.onerror=function(){return t(o.error)},e(n(o.objectStore(fn)))})).catch((function(e){throw t.close(),e}))}))},e}(),vn=new(function(){function e(e){void 0===e&&(e={}),this.store=e}return e.prototype.getItem=function(e){return e in this.store?this.store[e]:null},e.prototype.removeItem=function(e){delete this.store[e]},e.prototype.setItem=function(e,n){this.store[e]=n},e}());function yn(e){var n=this,t=e.accountId,r=e.cache,a=void 0===r?"object"===typeof self&&self.indexedDB?new gn:"object"===typeof window&&window.localStorage?window.localStorage:vn:r,i=e.client,s=e.customRoleArn,c=e.identityPoolId,u=e.logins,l=e.userIdentifier,d=void 0===l?u&&0!==Object.keys(u).length?void 0:"ANONYMOUS":l,p=d?"aws:cognito-identity-credentials:"+c+":"+d:void 0,m=function(){return Object(o.__awaiter)(n,void 0,void 0,(function(){var e,n,r,l,d,h,f,g,v;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return(n=p)?[4,a.getItem(p)]:[3,2];case 1:n=o.sent(),o.label=2;case 2:return(e=n)?[3,7]:(h=(d=i).send,f=hn.bind,v={AccountId:t,IdentityPoolId:c},u?[4,pn(u)]:[3,4]);case 3:return g=o.sent(),[3,5];case 4:g=void 0,o.label=5;case 5:return[4,h.apply(d,[new(f.apply(hn,[void 0,(v.Logins=g,v)]))])];case 6:r=o.sent().IdentityId,l=void 0===r?function(){throw new dn("Response from Amazon Cognito contained no identity ID")}():r,e=l,p&&Promise.resolve(a.setItem(p,e)).catch((function(){})),o.label=7;case 7:return[2,(m=mn({client:i,customRoleArn:s,logins:u,identityId:e}))()]}}))}))};return function(){return m().catch((function(e){return Object(o.__awaiter)(n,void 0,void 0,(function(){return Object(o.__generator)(this,(function(n){throw p&&Promise.resolve(a.removeItem(p)).catch((function(){})),e}))}))}))}}var bn=t(511),Cn=t(510),wn=t(516),Sn=t(155),_n=t(126),En=t(174),xn=t(83),On=t(98),An=t(156),kn=t(157),Tn=t(127),Pn="cognito-identity.{region}.amazonaws.com",Mn=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),In=new Set(["cn-north-1","cn-northwest-1"]),Rn=new Set(["us-iso-east-1"]),jn=new Set(["us-isob-east-1"]),Nn=new Set(["us-gov-east-1","us-gov-west-1"]),Ln={apiVersion:"2014-06-30",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,n){var t=void 0;switch(e){case"ap-northeast-1":t={hostname:"cognito-identity.ap-northeast-1.amazonaws.com",partition:"aws"};break;case"ap-northeast-2":t={hostname:"cognito-identity.ap-northeast-2.amazonaws.com",partition:"aws"};break;case"ap-south-1":t={hostname:"cognito-identity.ap-south-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-1":t={hostname:"cognito-identity.ap-southeast-1.amazonaws.com",partition:"aws"};break;case"ap-southeast-2":t={hostname:"cognito-identity.ap-southeast-2.amazonaws.com",partition:"aws"};break;case"ca-central-1":t={hostname:"cognito-identity.ca-central-1.amazonaws.com",partition:"aws"};break;case"cn-north-1":t={hostname:"cognito-identity.cn-north-1.amazonaws.com.cn",partition:"aws-cn"};break;case"eu-central-1":t={hostname:"cognito-identity.eu-central-1.amazonaws.com",partition:"aws"};break;case"eu-north-1":t={hostname:"cognito-identity.eu-north-1.amazonaws.com",partition:"aws"};break;case"eu-west-1":t={hostname:"cognito-identity.eu-west-1.amazonaws.com",partition:"aws"};break;case"eu-west-2":t={hostname:"cognito-identity.eu-west-2.amazonaws.com",partition:"aws"};break;case"eu-west-3":t={hostname:"cognito-identity.eu-west-3.amazonaws.com",partition:"aws"};break;case"fips-us-east-1":t={hostname:"cognito-identity-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-east-2":t={hostname:"cognito-identity-fips.us-east-2.amazonaws.com",partition:"aws",signingRegion:"us-east-2"};break;case"fips-us-gov-west-1":t={hostname:"cognito-identity-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":t={hostname:"cognito-identity-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"sa-east-1":t={hostname:"cognito-identity.sa-east-1.amazonaws.com",partition:"aws"};break;case"us-east-1":t={hostname:"cognito-identity.us-east-1.amazonaws.com",partition:"aws"};break;case"us-east-2":t={hostname:"cognito-identity.us-east-2.amazonaws.com",partition:"aws"};break;case"us-gov-west-1":t={hostname:"cognito-identity.us-gov-west-1.amazonaws.com",partition:"aws-us-gov"};break;case"us-west-1":t={hostname:"cognito-identity.us-west-1.amazonaws.com",partition:"aws"};break;case"us-west-2":t={hostname:"cognito-identity.us-west-2.amazonaws.com",partition:"aws"};break;default:Mn.has(e)&&(t={hostname:Pn.replace("{region}",e),partition:"aws"}),In.has(e)&&(t={hostname:"cognito-identity.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),Rn.has(e)&&(t={hostname:"cognito-identity.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),jn.has(e)&&(t={hostname:"cognito-identity.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),Nn.has(e)&&(t={hostname:"cognito-identity.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov"}),void 0===t&&(t={hostname:Pn.replace("{region}",e),partition:"aws"})}return Promise.resolve(S({signingService:"cognito-identity"},t))},serviceId:"Cognito Identity",urlParser:t(176).a},Fn=S(S({},Ln),{runtime:"browser",base64Decoder:On.a,base64Encoder:On.b,bodyLengthChecker:An.a,credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:Object(kn.a)({serviceId:Ln.serviceId,clientVersion:wn.version}),maxAttempts:xn.a,region:Object(En.a)("Region is missing"),requestHandler:new _n.a,sha256:Sn.Sha256,streamCollector:_n.b,utf8Decoder:Tn.a,utf8Encoder:Tn.b}),Un=t(128),Dn=t(154),Bn=t(122),zn=t(175),Vn=t(141),Gn=t(125),Hn=function(e){function n(n){var t=this,o=S(S({},Fn),n),r=Object(Un.b)(o),a=Object(Un.a)(r),i=Object(Vn.b)(a),s=Object(xn.c)(i),c=Object(Bn.b)(s),u=Object(Gn.b)(c);return(t=e.call(this,u)||this).config=u,t.middlewareStack.use(Object(xn.b)(t.config)),t.middlewareStack.use(Object(Dn.a)(t.config)),t.middlewareStack.use(Object(Bn.a)(t.config)),t.middlewareStack.use(Object(zn.a)(t.config)),t.middlewareStack.use(Object(Gn.a)(t.config)),t}return w(n,e),n.prototype.destroy=function(){e.prototype.destroy.call(this)},n}(un.a),qn=t(549);function Kn(e){var n=new Hn({region:e.region,customUserAgent:Object(qn.a)()});return n.middlewareStack.add((function(e,n){return function(n){return e(function(e){return Object(o.__assign)(Object(o.__assign)({},e),{request:Object(o.__assign)(Object(o.__assign)({},e.request),{headers:Object(o.__assign)(Object(o.__assign)({},e.request.headers),{"cache-control":"no-store"})})})}(n))}}),{step:"build",name:"cacheControlMiddleWare"}),n}var Wn=new r.a("Credentials"),$n="undefined"!==typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Yn=new(function(){function e(e){this._gettingCredPromise=null,this._refreshHandlers={},this.Auth=void 0,this.configure(e),this._refreshHandlers.google=v.refreshGoogleToken,this._refreshHandlers.facebook=y.refreshFacebookToken}return e.prototype.getModuleName=function(){return"Credentials"},e.prototype.getCredSource=function(){return this._credentials_source},e.prototype.configure=function(e){if(!e)return this._config||{};this._config=Object.assign({},this._config,e);var n,t,r,i=this._config.refreshHandlers;return i&&(this._refreshHandlers=Object(o.__assign)(Object(o.__assign)({},this._refreshHandlers),i)),this._storage=this._config.storage,this._storage||(this._storage=(new a.a).getStorage()),this._storageSync=Promise.resolve(),"function"===typeof this._storage.sync&&(this._storageSync=this._storage.sync()),n="credentials_configured",t=null,r="Credentials has been configured successfully",Cn.a.dispatch("core",{event:n,data:t,message:r},"Credentials",$n),this._config},e.prototype.get=function(){return Wn.debug("getting credentials"),this._pickupCredentials()},e.prototype._getCognitoIdentityIdStorageKey=function(e){return"CognitoIdentityId-"+e},e.prototype._pickupCredentials=function(){return Wn.debug("picking up credentials"),this._gettingCredPromise&&this._gettingCredPromise.isPending()?Wn.debug("getting old cred promise"):(Wn.debug("getting new cred promise"),this._gettingCredPromise=Object(i.b)(this._keepAlive())),this._gettingCredPromise},e.prototype._keepAlive=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n,t,r,a,i,s;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:if(Wn.debug("checking if credentials exists and not expired"),(e=this._credentials)&&!this._isExpired(e)&&!this._isPastTTL())return Wn.debug("credentials not changed and not expired, directly return"),[2,Promise.resolve(e)];if(Wn.debug("need to get a new credential or refresh the existing one"),n=this.Auth,!(t=void 0===n?b.a.Auth:n)||"function"!==typeof t.currentUserCredentials)return[2,this._setCredentialsForGuest()];if(this._isExpired(e)||!this._isPastTTL())return[3,6];Wn.debug("ttl has passed but token is not yet expired"),o.label=1;case 1:return o.trys.push([1,5,,6]),[4,t.currentUserPoolUser()];case 2:return r=o.sent(),[4,t.currentSession()];case 3:return a=o.sent(),i=a.refreshToken,[4,new Promise((function(e,n){r.refreshSession(i,(function(t,o){return t?n(t):e(o)}))}))];case 4:return o.sent(),[3,6];case 5:return s=o.sent(),Wn.debug("Error attempting to refreshing the session",s),[3,6];case 6:return[2,t.currentUserCredentials()]}}))}))},e.prototype.refreshFederatedToken=function(e){Wn.debug("Getting federated credentials");var n=e.provider,t=e.user,o=e.token,r=e.identity_id,a=e.expires_at;a=1970===new Date(a).getFullYear()?1e3*a:a;var i=this;return Wn.debug("checking if federated jwt token expired"),a>(new Date).getTime()?(Wn.debug("token not expired"),this._setCredentialsFromFederation({provider:n,token:o,user:t,identity_id:r,expires_at:a})):i._refreshHandlers[n]&&"function"===typeof i._refreshHandlers[n]?(Wn.debug("getting refreshed jwt token from federation provider"),this._providerRefreshWithRetry({refreshHandler:i._refreshHandlers[n],provider:n,user:t})):(Wn.debug("no refresh handler for provider:",n),this.clear(),Promise.reject("no refresh handler for provider"))},e.prototype._providerRefreshWithRetry=function(e){var n=this,t=e.refreshHandler,o=e.provider,r=e.user;return l(t,[],1e4).then((function(e){return Wn.debug("refresh federated token sucessfully",e),n._setCredentialsFromFederation({provider:o,token:e.token,user:r,identity_id:e.identity_id,expires_at:e.expires_at})})).catch((function(e){return"string"===typeof e&&0===e.toLowerCase().lastIndexOf("network error",e.length)||n.clear(),Wn.debug("refresh federated token failed",e),Promise.reject("refreshing federation token failed: "+e)}))},e.prototype._isExpired=function(e){if(!e)return Wn.debug("no credentials for expiration check"),!0;Wn.debug("are these credentials expired?",e);var n=Date.now();return e.expiration.getTime()<=n},e.prototype._isPastTTL=function(){return this._nextCredentialsRefresh<=Date.now()},e.prototype._setCredentialsForGuest=function(){var e;return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,r,a,i,s,c,u,l,d=this;return Object(o.__generator)(this,(function(p){switch(p.label){case 0:return Wn.debug("setting credentials for guest"),(null===(e=this._config)||void 0===e?void 0:e.identityPoolId)||(this._config=Object.assign({},this._config,Object(bn.a)(this._config||{}).Auth)),n=this._config,t=n.identityPoolId,r=n.region,a=n.mandatorySignIn,i=n.identityPoolRegion,a?[2,Promise.reject("cannot get guest credentials when mandatory signin enabled")]:t?i||r?(c=this,[4,this._getGuestIdentityId()]):(Wn.debug("region is not configured for getting the credentials"),[2,Promise.reject("region is not configured for getting the credentials")]):(Wn.debug("No Cognito Identity pool provided for unauthenticated access"),[2,Promise.reject("No Cognito Identity pool provided for unauthenticated access")]);case 1:return s=c._identityId=p.sent(),u=Kn({region:i||r}),l=void 0,l=s?mn({identityId:s,client:u})():function(){return Object(o.__awaiter)(d,void 0,void 0,(function(){var e;return Object(o.__generator)(this,(function(n){switch(n.label){case 0:return[4,u.send(new hn({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,mn({client:u,identityId:e})()]}}))}))}().catch((function(e){return Object(o.__awaiter)(d,void 0,void 0,(function(){return Object(o.__generator)(this,(function(n){throw e}))}))})),[2,this._loadCredentials(l,"guest",!1,null).then((function(e){return e})).catch((function(e){return Object(o.__awaiter)(d,void 0,void 0,(function(){var n=this;return Object(o.__generator)(this,(function(r){switch(r.label){case 0:return"ResourceNotFoundException"!==e.name||e.message!=="Identity '"+s+"' not found."?[3,2]:(Wn.debug("Failed to load guest credentials"),[4,this._removeGuestIdentityId()]);case 1:return r.sent(),l=function(){return Object(o.__awaiter)(n,void 0,void 0,(function(){var e;return Object(o.__generator)(this,(function(n){switch(n.label){case 0:return[4,u.send(new hn({IdentityPoolId:t}))];case 1:return e=n.sent().IdentityId,this._identityId=e,[2,mn({client:u,identityId:e})()]}}))}))}().catch((function(e){return Object(o.__awaiter)(n,void 0,void 0,(function(){return Object(o.__generator)(this,(function(n){throw e}))}))})),[2,this._loadCredentials(l,"guest",!1,null)];case 2:return[2,e]}}))}))}))]}}))}))},e.prototype._setCredentialsFromFederation=function(e){var n=e.provider,t=e.token,o=e.identity_id,r={google:"accounts.google.com",facebook:"graph.facebook.com",amazon:"www.amazon.com",developer:"cognito-identity.amazonaws.com"}[n]||n;if(!r)return Promise.reject("You must specify a federated provider");var a={};a[r]=t;var i=this._config,s=i.identityPoolId,c=i.region,u=i.identityPoolRegion;if(!s)return Wn.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!u&&!c)return Wn.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var l=Kn({region:u||c}),d=void 0;o?d=mn({identityId:o,logins:a,client:l})():d=yn({logins:a,identityPoolId:s,client:l})();return this._loadCredentials(d,"federated",!0,e)},e.prototype._setCredentialsFromSession=function(e){var n=this;Wn.debug("set credentials from session");var t=e.getIdToken().getJwtToken(),r=this._config,a=r.region,i=r.userPoolId,s=r.identityPoolId,c=r.identityPoolRegion;if(!s)return Wn.debug("No Cognito Federated Identity pool provided"),Promise.reject("No Cognito Federated Identity pool provided");if(!c&&!a)return Wn.debug("region is not configured for getting the credentials"),Promise.reject("region is not configured for getting the credentials");var u={};u["cognito-idp."+a+".amazonaws.com/"+i]=t;var l=Kn({region:c||a}),d=Object(o.__awaiter)(n,void 0,void 0,(function(){var e,n,t,r,a,i,c,d,p,m;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return[4,this._getGuestIdentityId()];case 1:return(e=o.sent())?[3,3]:[4,l.send(new hn({IdentityPoolId:s,Logins:u}))];case 2:t=o.sent().IdentityId,n=t,o.label=3;case 3:return[4,l.send(new ln({IdentityId:e||n,Logins:u}))];case 4:return r=o.sent(),a=r.Credentials,i=a.AccessKeyId,c=a.Expiration,d=a.SecretKey,p=a.SessionToken,m=r.IdentityId,this._identityId=m,e?(Wn.debug("The guest identity "+e+" has been successfully linked to the logins"),e===m&&Wn.debug("The guest identity "+e+" has become the primary identity"),[4,this._removeGuestIdentityId()]):[3,6];case 5:o.sent(),o.label=6;case 6:return[2,{accessKeyId:i,secretAccessKey:d,sessionToken:p,expiration:c,identityId:m}]}}))})).catch((function(e){return Object(o.__awaiter)(n,void 0,void 0,(function(){return Object(o.__generator)(this,(function(n){throw e}))}))}));return this._loadCredentials(d,"userPool",!0,null)},e.prototype._loadCredentials=function(e,n,t,r){var a=this,i=this;return new Promise((function(s,c){e.then((function(e){return Object(o.__awaiter)(a,void 0,void 0,(function(){var a,c,u,l,d;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:if(Wn.debug("Load credentials successfully",e),this._identityId&&!e.identityId&&(e.identityId=this._identityId),i._credentials=e,i._credentials.authenticated=t,i._credentials_source=n,i._nextCredentialsRefresh=(new Date).getTime()+3e6,"federated"===n){a=Object.assign({id:this._credentials.identityId},r.user),c=r.provider,u=r.token,l=r.expires_at,d=r.identity_id;try{this._storage.setItem("aws-amplify-federatedInfo",JSON.stringify({provider:c,token:u,user:a,expires_at:l,identity_id:d}))}catch(p){Wn.debug("Failed to put federated info into auth storage",p)}}return"guest"!==n?[3,2]:[4,this._setGuestIdentityId(e.identityId)];case 1:o.sent(),o.label=2;case 2:return s(i._credentials),[2]}}))}))})).catch((function(n){if(n)return Wn.debug("Failed to load credentials",e),Wn.debug("Error loading credentials",n),void c(n)}))}))},e.prototype.set=function(e,n){return"session"===n?this._setCredentialsFromSession(e):"federation"===n?this._setCredentialsFromFederation(e):"guest"===n?this._setCredentialsForGuest():(Wn.debug("no source specified for setting credentials"),Promise.reject("invalid source"))},e.prototype.clear=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(e){return this._credentials=null,this._credentials_source=null,Wn.debug("removing aws-amplify-federatedInfo from storage"),this._storage.removeItem("aws-amplify-federatedInfo"),[2]}))}))},e.prototype._getGuestIdentityId=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n;return Object(o.__generator)(this,(function(t){switch(t.label){case 0:e=this._config.identityPoolId,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this._storageSync];case 2:return t.sent(),[2,this._storage.getItem(this._getCognitoIdentityIdStorageKey(e))];case 3:return n=t.sent(),Wn.debug("Failed to get the cached guest identityId",n),[3,4];case 4:return[2]}}))}))},e.prototype._setGuestIdentityId=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:n=this._config.identityPoolId,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this._storageSync];case 2:return o.sent(),this._storage.setItem(this._getCognitoIdentityIdStorageKey(n),e),[3,4];case 3:return t=o.sent(),Wn.debug("Failed to cache guest identityId",t),[3,4];case 4:return[2]}}))}))},e.prototype._removeGuestIdentityId=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e;return Object(o.__generator)(this,(function(n){return e=this._config.identityPoolId,Wn.debug("removing "+this._getCognitoIdentityIdStorageKey(e)+" from storage"),this._storage.removeItem(this._getCognitoIdentityIdStorageKey(e)),[2]}))}))},e.prototype.shear=function(e){return{accessKeyId:e.accessKeyId,sessionToken:e.sessionToken,secretAccessKey:e.secretAccessKey,identityId:e.identityId,authenticated:e.authenticated}},e}())(null);b.a.register(Yn)},function(e,n,t){"use strict";t.d(n,"a",(function(){return ur}));var o=t(1),r=t(131),a=t(510),i=t(511),s=t(199),c=new r.a("ClientDevice_Browser");function u(){return"undefined"===typeof window?{}:function(){if("undefined"===typeof window)return c.warn("No window object available to get browser client info"),{};var e=window.navigator;if(!e)return c.warn("No navigator object available to get browser client info"),{};var n=e.platform,t=e.product,o=e.vendor,r=e.userAgent,a=e.language,i=function(e){var n=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(e);if(n)return{type:n[1],version:n[2]};var t=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(e);if(t)return{type:t[1],version:t[2]};var o=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(e);if(o)return{type:o[1],version:o[2]};var r=/.+(Safari)\/([0-9\.]+).*/i.exec(e);if(r)return{type:r[1],version:r[2]};var a=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(e);if(a)return{type:a[1],version:a[2]};var i=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(e);if(i)return{type:i[1],version:i[2]};return{type:"",version:""}}(r),s=function(){var e=/\(([A-Za-z\s].*)\)/.exec((new Date).toString());return e&&e[1]||""}();return{platform:n,make:t||o,model:i.type,version:i.version,appVersion:[i.type,i.version].join("/"),language:a,timezone:s}}()}var l=function(){function e(){}return e.clientInfo=function(){return u()},e.dimension=function(){return"undefined"===typeof window?(c.warn("No window object available to get browser client info"),{width:320,height:320}):{width:window.innerWidth,height:window.innerHeight}},e}(),d=t(63),p=t(68),m=t(50),h={clockOffset:0,getDateWithClockOffset:function(){return h.clockOffset?new Date((new Date).getTime()+h.clockOffset):new Date},getClockOffset:function(){return h.clockOffset},getHeaderStringFromDate:function(e){return void 0===e&&(e=h.getDateWithClockOffset()),e.toISOString().replace(/[:\-]|\.\d{3}/g,"")},getDateFromHeaderString:function(e){var n=Object(o.__read)(e.match(/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2}).+/),7),t=n[1],r=n[2],a=n[3],i=n[4],s=n[5],c=n[6];return new Date(Date.UTC(Number(t),Number(r)-1,Number(a),Number(i),Number(s),Number(c)))},isClockSkewed:function(e){return Math.abs(e.getTime()-h.getDateWithClockOffset().getTime())>=3e5},isClockSkewError:function(e){if(!e.response||!e.response.headers)return!1;var n=e.response.headers;return Boolean(["BadRequestException","InvalidSignatureException"].includes(n["x-amzn-errortype"])&&(n.date||n.Date))},setClockOffset:function(e){h.clockOffset=e}},f=new r.a("Signer"),g="AWS4-HMAC-SHA256",v=function(e,n){var t=new d.Sha256(e);return t.update(n),t.digestSync()},y=function(e){var n=e||"",t=new d.Sha256;return t.update(n),Object(p.a)(t.digestSync())},b=function(e){return Object.keys(e).map((function(e){return e.toLowerCase()})).sort().join(";")},C=function(e){var n,t,o=Object(m.parse)(e.url);return[e.method||"/",encodeURIComponent(o.pathname).replace(/%2F/gi,"/"),(t=o.query,t&&0!==t.length?t.split("&").map((function(e){var n=e.split("=");if(1===n.length)return e;var t=n[1].replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}));return n[0]+"="+t})).sort((function(e,n){var t=e.split("=")[0],o=n.split("=")[0];return t===o?e<n?-1:1:t<o?-1:1})).join("&"):""),(n=e.headers,n&&0!==Object.keys(n).length?Object.keys(n).map((function(e){return{key:e.toLowerCase(),value:n[e]?n[e].trim().replace(/\s+/g," "):""}})).sort((function(e,n){return e.key<n.key?-1:1})).map((function(e){return e.key+":"+e.value})).join("\n")+"\n":""),b(e.headers),y(e.data)].join("\n")},w=function(e){var n=(Object(m.parse)(e.url).host.match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com$/)||[]).slice(1,3);return"es"===n[1]&&(n=n.reverse()),{service:e.service||n[0],region:e.region||n[1]}},S=function(e,n,t){return[e,n,t,"aws4_request"].join("/")},_=function(e,n,t,o){return[e,t,o,y(n)].join("\n")},E=function(e,n,t){f.debug(t);var o=v("AWS4"+e,n),r=v(o,t.region),a=v(r,t.service);return v(a,"aws4_request")},x=function(e,n){return Object(p.a)(v(e,n))},O=function(){function e(){}return e.sign=function(e,n,t){if(void 0===t&&(t=null),e.headers=e.headers||{},e.body&&!e.data)throw new Error('The attribute "body" was found on the request object. Please use the attribute "data" instead.');var o=h.getDateWithClockOffset().toISOString().replace(/[:\-]|\.\d{3}/g,""),r=o.substr(0,8),a=Object(m.parse)(e.url);e.headers.host=a.host,e.headers["x-amz-date"]=o,n.session_token&&(e.headers["X-Amz-Security-Token"]=n.session_token);var i=C(e);f.debug(i);var s=t||w(e),c=S(r,s.region,s.service),u=_(g,i,o,c),l=E(n.secret_key,r,s),d=x(l,u),p=function(e,n,t,o,r){return[e+" Credential="+n+"/"+t,"SignedHeaders="+o,"Signature="+r].join(", ")}(g,n.access_key,c,b(e.headers),d);return e.headers.Authorization=p,e},e.signUrl=function(e,n,t,r){var a="object"===typeof e?e.url:e,i="object"===typeof e?e.method:"GET",s="object"===typeof e?e.body:void 0,c=h.getDateWithClockOffset().toISOString().replace(/[:\-]|\.\d{3}/g,""),u=c.substr(0,8),l=Object(m.parse)(a,!0,!0),d=(l.search,Object(o.__rest)(l,["search"])),p={host:d.host},f=t||w({url:Object(m.format)(d)}),v=f.region,y=f.service,b=S(u,v,y),O=n.session_token&&"iotdevicegateway"!==y,A=Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({"X-Amz-Algorithm":g,"X-Amz-Credential":[n.access_key,b].join("/"),"X-Amz-Date":c.substr(0,16)},O?{"X-Amz-Security-Token":""+n.session_token}:{}),r?{"X-Amz-Expires":""+r}:{}),{"X-Amz-SignedHeaders":Object.keys(p).join(",")}),k=C({method:i,url:Object(m.format)(Object(o.__assign)(Object(o.__assign)({},d),{query:Object(o.__assign)(Object(o.__assign)({},d.query),A)})),headers:p,data:s}),T=_(g,k,c,b),P=E(n.secret_key,u,{region:v,service:y}),M=x(P,T),I=Object(o.__assign)({"X-Amz-Signature":M},n.session_token&&{"X-Amz-Security-Token":n.session_token});return Object(m.format)({protocol:d.protocol,slashes:!0,hostname:d.hostname,port:d.port,pathname:d.pathname,query:Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({},d.query),A),I)})},e}(),A=t(82),k=t(549),T=t(771),P=function(e,n){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])})(e,n)};function M(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function t(){this.constructor=e}P(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var I=function(){return(I=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)};function R(e,n,t,o){return new(t||(t=Promise))((function(r,a){function i(e){try{c(o.next(e))}catch(n){a(n)}}function s(e){try{c(o.throw(e))}catch(n){a(n)}}function c(e){var n;e.done?r(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,s)}c((o=o.apply(e,n||[])).next())}))}function j(e,n){var t,o,r,a,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,o&&(r=2&a[0]?o.return:a[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;switch(o=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,o=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===a[0]||2===a[0])){i=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(6===a[0]&&i.label<r[1]){i.label=r[1],r=a;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(a);break}r[2]&&i.ops.pop(),i.trys.pop();continue}a=n.call(e,i)}catch(s){a=[6,s],o=0}finally{t=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}Object.create;function N(e,n){var t="function"===typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(s){r={error:s}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return i}var L,F,U,D,B,z,V,G,H,q,K,W,$,Y,Q,J,Z,X,ee,ne,te,oe,re,ae,ie,se,ce,ue,le,de,pe,me,he,fe,ge,ve,ye,be,Ce,we,Se,_e,Ee,xe,Oe,Ae,ke,Te,Pe,Me,Ie,Re,je,Ne,Le,Fe,Ue,De,Be,ze,Ve,Ge,He,qe,Ke,We,$e,Ye,Qe,Je,Ze,Xe,en,nn,tn,on,rn,an,sn,cn,un,ln,dn,pn,mn,hn,fn,gn,vn,yn,bn,Cn,wn,Sn,_n,En,xn,On,An,kn,Tn,Pn,Mn,In,Rn,jn,Nn,Ln,Fn,Un,Dn,Bn,zn,Vn,Gn,Hn,qn,Kn,Wn,$n,Yn,Qn,Jn,Zn,Xn,et,nt,tt,ot,rt,at;Object.create;(L||(L={})).filterSensitiveLog=function(e){return I({},e)},(F||(F={})).filterSensitiveLog=function(e){return I({},e)},(U||(U={})).filterSensitiveLog=function(e){return I({},e)},(D||(D={})).filterSensitiveLog=function(e){return I({},e)},(B||(B={})).filterSensitiveLog=function(e){return I({},e)},(z||(z={})).filterSensitiveLog=function(e){return I({},e)},(V||(V={})).filterSensitiveLog=function(e){return I({},e)},(G||(G={})).filterSensitiveLog=function(e){return I({},e)},(H||(H={})).filterSensitiveLog=function(e){return I({},e)},(q||(q={})).filterSensitiveLog=function(e){return I({},e)},(K||(K={})).filterSensitiveLog=function(e){return I({},e)},(W||(W={})).filterSensitiveLog=function(e){return I({},e)},($||($={})).filterSensitiveLog=function(e){return I({},e)},(Y||(Y={})).filterSensitiveLog=function(e){return I({},e)},(Q||(Q={})).filterSensitiveLog=function(e){return I({},e)},(J||(J={})).filterSensitiveLog=function(e){return I({},e)},(Z||(Z={})).filterSensitiveLog=function(e){return I({},e)},(X||(X={})).filterSensitiveLog=function(e){return I({},e)},(ee||(ee={})).filterSensitiveLog=function(e){return I({},e)},(ne||(ne={})).filterSensitiveLog=function(e){return I({},e)},(te||(te={})).filterSensitiveLog=function(e){return I({},e)},(oe||(oe={})).filterSensitiveLog=function(e){return I({},e)},(re||(re={})).filterSensitiveLog=function(e){return I({},e)},(ae||(ae={})).filterSensitiveLog=function(e){return I({},e)},(ie||(ie={})).filterSensitiveLog=function(e){return I({},e)},(se||(se={})).filterSensitiveLog=function(e){return I({},e)},(ce||(ce={})).filterSensitiveLog=function(e){return I({},e)},(ue||(ue={})).filterSensitiveLog=function(e){return I({},e)},(le||(le={})).filterSensitiveLog=function(e){return I({},e)},(de||(de={})).filterSensitiveLog=function(e){return I({},e)},(pe||(pe={})).filterSensitiveLog=function(e){return I({},e)},(me||(me={})).filterSensitiveLog=function(e){return I({},e)},(he||(he={})).filterSensitiveLog=function(e){return I({},e)},(fe||(fe={})).filterSensitiveLog=function(e){return I({},e)},(ge||(ge={})).filterSensitiveLog=function(e){return I({},e)},(ve||(ve={})).filterSensitiveLog=function(e){return I({},e)},(ye||(ye={})).filterSensitiveLog=function(e){return I({},e)},(be||(be={})).filterSensitiveLog=function(e){return I({},e)},(Ce||(Ce={})).filterSensitiveLog=function(e){return I({},e)},(we||(we={})).filterSensitiveLog=function(e){return I({},e)},(Se||(Se={})).filterSensitiveLog=function(e){return I({},e)},(_e||(_e={})).filterSensitiveLog=function(e){return I({},e)},(Ee||(Ee={})).filterSensitiveLog=function(e){return I({},e)},(xe||(xe={})).filterSensitiveLog=function(e){return I({},e)},(Oe||(Oe={})).filterSensitiveLog=function(e){return I({},e)},(Ae||(Ae={})).filterSensitiveLog=function(e){return I({},e)},(ke||(ke={})).filterSensitiveLog=function(e){return I({},e)},(Te||(Te={})).filterSensitiveLog=function(e){return I({},e)},(Pe||(Pe={})).filterSensitiveLog=function(e){return I({},e)},(Me||(Me={})).filterSensitiveLog=function(e){return I({},e)},(Ie||(Ie={})).filterSensitiveLog=function(e){return I({},e)},(Re||(Re={})).filterSensitiveLog=function(e){return I({},e)},(je||(je={})).filterSensitiveLog=function(e){return I({},e)},(Ne||(Ne={})).filterSensitiveLog=function(e){return I({},e)},(Le||(Le={})).filterSensitiveLog=function(e){return I({},e)},(Fe||(Fe={})).filterSensitiveLog=function(e){return I({},e)},(Ue||(Ue={})).filterSensitiveLog=function(e){return I({},e)},(De||(De={})).filterSensitiveLog=function(e){return I({},e)},(Be||(Be={})).filterSensitiveLog=function(e){return I({},e)},(ze||(ze={})).filterSensitiveLog=function(e){return I({},e)},(Ve||(Ve={})).filterSensitiveLog=function(e){return I({},e)},(Ge||(Ge={})).filterSensitiveLog=function(e){return I({},e)},(He||(He={})).filterSensitiveLog=function(e){return I({},e)},(qe||(qe={})).filterSensitiveLog=function(e){return I({},e)},(Ke||(Ke={})).filterSensitiveLog=function(e){return I({},e)},(We||(We={})).filterSensitiveLog=function(e){return I({},e)},($e||($e={})).filterSensitiveLog=function(e){return I({},e)},(Ye||(Ye={})).filterSensitiveLog=function(e){return I({},e)},(Qe||(Qe={})).filterSensitiveLog=function(e){return I({},e)},(Je||(Je={})).filterSensitiveLog=function(e){return I({},e)},(Ze||(Ze={})).filterSensitiveLog=function(e){return I({},e)},(Xe||(Xe={})).filterSensitiveLog=function(e){return I({},e)},(en||(en={})).filterSensitiveLog=function(e){return I({},e)},(nn||(nn={})).filterSensitiveLog=function(e){return I({},e)},(tn||(tn={})).filterSensitiveLog=function(e){return I({},e)},(on||(on={})).filterSensitiveLog=function(e){return I({},e)},(rn||(rn={})).filterSensitiveLog=function(e){return I({},e)},(an||(an={})).filterSensitiveLog=function(e){return I({},e)},(sn||(sn={})).filterSensitiveLog=function(e){return I({},e)},(cn||(cn={})).filterSensitiveLog=function(e){return I({},e)},(un||(un={})).filterSensitiveLog=function(e){return I({},e)},(ln||(ln={})).filterSensitiveLog=function(e){return I({},e)},(dn||(dn={})).filterSensitiveLog=function(e){return I({},e)},(pn||(pn={})).filterSensitiveLog=function(e){return I({},e)},(mn||(mn={})).filterSensitiveLog=function(e){return I({},e)},(hn||(hn={})).filterSensitiveLog=function(e){return I({},e)},(fn||(fn={})).filterSensitiveLog=function(e){return I({},e)},(gn||(gn={})).filterSensitiveLog=function(e){return I({},e)},(vn||(vn={})).filterSensitiveLog=function(e){return I({},e)},(yn||(yn={})).filterSensitiveLog=function(e){return I({},e)},(bn||(bn={})).filterSensitiveLog=function(e){return I({},e)},(Cn||(Cn={})).filterSensitiveLog=function(e){return I({},e)},(wn||(wn={})).filterSensitiveLog=function(e){return I({},e)},(Sn||(Sn={})).filterSensitiveLog=function(e){return I({},e)},(_n||(_n={})).filterSensitiveLog=function(e){return I({},e)},(En||(En={})).filterSensitiveLog=function(e){return I({},e)},(xn||(xn={})).filterSensitiveLog=function(e){return I({},e)},(On||(On={})).filterSensitiveLog=function(e){return I({},e)},(An||(An={})).filterSensitiveLog=function(e){return I({},e)},(kn||(kn={})).filterSensitiveLog=function(e){return I({},e)},(Tn||(Tn={})).filterSensitiveLog=function(e){return I({},e)},(Pn||(Pn={})).filterSensitiveLog=function(e){return I({},e)},(Mn||(Mn={})).filterSensitiveLog=function(e){return I({},e)},(In||(In={})).filterSensitiveLog=function(e){return I({},e)},(Rn||(Rn={})).filterSensitiveLog=function(e){return I({},e)},(jn||(jn={})).filterSensitiveLog=function(e){return I({},e)},(Nn||(Nn={})).filterSensitiveLog=function(e){return I({},e)},(Ln||(Ln={})).filterSensitiveLog=function(e){return I({},e)},(Fn||(Fn={})).filterSensitiveLog=function(e){return I({},e)},(Un||(Un={})).filterSensitiveLog=function(e){return I({},e)},(Dn||(Dn={})).filterSensitiveLog=function(e){return I({},e)},(Bn||(Bn={})).filterSensitiveLog=function(e){return I({},e)},(zn||(zn={})).filterSensitiveLog=function(e){return I({},e)},(Vn||(Vn={})).filterSensitiveLog=function(e){return I({},e)},(Gn||(Gn={})).filterSensitiveLog=function(e){return I({},e)},(Hn||(Hn={})).filterSensitiveLog=function(e){return I({},e)},(qn||(qn={})).filterSensitiveLog=function(e){return I({},e)},(Kn||(Kn={})).filterSensitiveLog=function(e){return I({},e)},(Wn||(Wn={})).filterSensitiveLog=function(e){return I({},e)},($n||($n={})).filterSensitiveLog=function(e){return I({},e)},(Yn||(Yn={})).filterSensitiveLog=function(e){return I({},e)},(Qn||(Qn={})).filterSensitiveLog=function(e){return I({},e)},(Jn||(Jn={})).filterSensitiveLog=function(e){return I({},e)},(Zn||(Zn={})).filterSensitiveLog=function(e){return I({},e)},(Xn||(Xn={})).filterSensitiveLog=function(e){return I({},e)},(et||(et={})).filterSensitiveLog=function(e){return I({},e)},(nt||(nt={})).filterSensitiveLog=function(e){return I({},e)},(tt||(tt={})).filterSensitiveLog=function(e){return I({},e)},(ot||(ot={})).filterSensitiveLog=function(e){return I({},e)},(rt||(rt={})).filterSensitiveLog=function(e){return I({},e)},(at||(at={})).filterSensitiveLog=function(e){return I({},e)};var it=t(16),st=t(12),ct=function(e,n){return R(void 0,void 0,void 0,(function(){var t,o,r,a,i,s,c,u,l,d,p,m,h,f;return j(this,(function(g){switch(g.label){case 0:return o=[I({},e)],f={},[4,Ft(e.body,n)];case 1:switch(t=I.apply(void 0,o.concat([(f.body=g.sent(),f)])),a="UnknownError",a=Ut(e,t.body),a){case"BadRequestException":case"com.amazonaws.pinpoint#BadRequestException":return[3,2];case"ForbiddenException":case"com.amazonaws.pinpoint#ForbiddenException":return[3,4];case"InternalServerErrorException":case"com.amazonaws.pinpoint#InternalServerErrorException":return[3,6];case"MethodNotAllowedException":case"com.amazonaws.pinpoint#MethodNotAllowedException":return[3,8];case"NotFoundException":case"com.amazonaws.pinpoint#NotFoundException":return[3,10];case"PayloadTooLargeException":case"com.amazonaws.pinpoint#PayloadTooLargeException":return[3,12];case"TooManyRequestsException":case"com.amazonaws.pinpoint#TooManyRequestsException":return[3,14]}return[3,16];case 2:return i=[{}],[4,lt(t,n)];case 3:return r=I.apply(void 0,[I.apply(void 0,i.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 4:return s=[{}],[4,dt(t,n)];case 5:return r=I.apply(void 0,[I.apply(void 0,s.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 6:return c=[{}],[4,pt(t,n)];case 7:return r=I.apply(void 0,[I.apply(void 0,c.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 8:return u=[{}],[4,mt(t,n)];case 9:return r=I.apply(void 0,[I.apply(void 0,u.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 10:return l=[{}],[4,ht(t,n)];case 11:return r=I.apply(void 0,[I.apply(void 0,l.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 12:return d=[{}],[4,ft(t,n)];case 13:return r=I.apply(void 0,[I.apply(void 0,d.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 14:return p=[{}],[4,gt(t,n)];case 15:return r=I.apply(void 0,[I.apply(void 0,p.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 16:m=t.body,a=m.code||m.Code||a,r=I(I({},m),{name:""+a,message:m.message||m.Message||a,$fault:"client",$metadata:Nt(e)}),g.label=17;case 17:return h=r.message||r.Message||a,r.message=h,delete r.Message,[2,Promise.reject(Object.assign(new Error(h),r))]}}))}))},ut=function(e,n){return R(void 0,void 0,void 0,(function(){var t,o,r,a,i,s,c,u,l,d,p,m,h,f;return j(this,(function(g){switch(g.label){case 0:return o=[I({},e)],f={},[4,Ft(e.body,n)];case 1:switch(t=I.apply(void 0,o.concat([(f.body=g.sent(),f)])),a="UnknownError",a=Ut(e,t.body),a){case"BadRequestException":case"com.amazonaws.pinpoint#BadRequestException":return[3,2];case"ForbiddenException":case"com.amazonaws.pinpoint#ForbiddenException":return[3,4];case"InternalServerErrorException":case"com.amazonaws.pinpoint#InternalServerErrorException":return[3,6];case"MethodNotAllowedException":case"com.amazonaws.pinpoint#MethodNotAllowedException":return[3,8];case"NotFoundException":case"com.amazonaws.pinpoint#NotFoundException":return[3,10];case"PayloadTooLargeException":case"com.amazonaws.pinpoint#PayloadTooLargeException":return[3,12];case"TooManyRequestsException":case"com.amazonaws.pinpoint#TooManyRequestsException":return[3,14]}return[3,16];case 2:return i=[{}],[4,lt(t,n)];case 3:return r=I.apply(void 0,[I.apply(void 0,i.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 4:return s=[{}],[4,dt(t,n)];case 5:return r=I.apply(void 0,[I.apply(void 0,s.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 6:return c=[{}],[4,pt(t,n)];case 7:return r=I.apply(void 0,[I.apply(void 0,c.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 8:return u=[{}],[4,mt(t,n)];case 9:return r=I.apply(void 0,[I.apply(void 0,u.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 10:return l=[{}],[4,ht(t,n)];case 11:return r=I.apply(void 0,[I.apply(void 0,l.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 12:return d=[{}],[4,ft(t,n)];case 13:return r=I.apply(void 0,[I.apply(void 0,d.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 14:return p=[{}],[4,gt(t,n)];case 15:return r=I.apply(void 0,[I.apply(void 0,p.concat([g.sent()])),{name:a,$metadata:Nt(e)}]),[3,17];case 16:m=t.body,a=m.code||m.Code||a,r=I(I({},m),{name:""+a,message:m.message||m.Message||a,$fault:"client",$metadata:Nt(e)}),g.label=17;case 17:return h=r.message||r.Message||a,r.message=h,delete r.Message,[2,Promise.reject(Object.assign(new Error(h),r))]}}))}))},lt=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"BadRequestException",$fault:"client",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},dt=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"ForbiddenException",$fault:"client",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},pt=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"InternalServerErrorException",$fault:"server",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},mt=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"MethodNotAllowedException",$fault:"client",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},ht=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"NotFoundException",$fault:"client",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},ft=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"PayloadTooLargeException",$fault:"client",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},gt=function(e,n){return R(void 0,void 0,void 0,(function(){var n,t;return j(this,(function(o){return n={name:"TooManyRequestsException",$fault:"client",$metadata:Nt(e),Message:void 0,RequestID:void 0},void 0!==(t=e.body).Message&&null!==t.Message&&(n.Message=t.Message),void 0!==t.RequestID&&null!==t.RequestID&&(n.RequestID=t.RequestID),[2,n]}))}))},vt=function(e,n){return I(I(I(I(I(I(I(I({},void 0!==e.AppVersion&&null!==e.AppVersion&&{AppVersion:e.AppVersion}),void 0!==e.Locale&&null!==e.Locale&&{Locale:e.Locale}),void 0!==e.Make&&null!==e.Make&&{Make:e.Make}),void 0!==e.Model&&null!==e.Model&&{Model:e.Model}),void 0!==e.ModelVersion&&null!==e.ModelVersion&&{ModelVersion:e.ModelVersion}),void 0!==e.Platform&&null!==e.Platform&&{Platform:e.Platform}),void 0!==e.PlatformVersion&&null!==e.PlatformVersion&&{PlatformVersion:e.PlatformVersion}),void 0!==e.Timezone&&null!==e.Timezone&&{Timezone:e.Timezone})},yt=function(e,n){return I(I(I(I(I(I({},void 0!==e.City&&null!==e.City&&{City:e.City}),void 0!==e.Country&&null!==e.Country&&{Country:e.Country}),void 0!==e.Latitude&&null!==e.Latitude&&{Latitude:e.Latitude}),void 0!==e.Longitude&&null!==e.Longitude&&{Longitude:e.Longitude}),void 0!==e.PostalCode&&null!==e.PostalCode&&{PostalCode:e.PostalCode}),void 0!==e.Region&&null!==e.Region&&{Region:e.Region})},bt=function(e,n){return I(I(I(I(I(I(I(I(I(I(I({},void 0!==e.Address&&null!==e.Address&&{Address:e.Address}),void 0!==e.Attributes&&null!==e.Attributes&&{Attributes:At(e.Attributes,n)}),void 0!==e.ChannelType&&null!==e.ChannelType&&{ChannelType:e.ChannelType}),void 0!==e.Demographic&&null!==e.Demographic&&{Demographic:vt(e.Demographic,n)}),void 0!==e.EffectiveDate&&null!==e.EffectiveDate&&{EffectiveDate:e.EffectiveDate}),void 0!==e.EndpointStatus&&null!==e.EndpointStatus&&{EndpointStatus:e.EndpointStatus}),void 0!==e.Location&&null!==e.Location&&{Location:yt(e.Location,n)}),void 0!==e.Metrics&&null!==e.Metrics&&{Metrics:_t(e.Metrics,n)}),void 0!==e.OptOut&&null!==e.OptOut&&{OptOut:e.OptOut}),void 0!==e.RequestId&&null!==e.RequestId&&{RequestId:e.RequestId}),void 0!==e.User&&null!==e.User&&{User:Ct(e.User,n)})},Ct=function(e,n){return I(I({},void 0!==e.UserAttributes&&null!==e.UserAttributes&&{UserAttributes:At(e.UserAttributes,n)}),void 0!==e.UserId&&null!==e.UserId&&{UserId:e.UserId})},wt=function(e,n){return I({},void 0!==e.BatchItem&&null!==e.BatchItem&&{BatchItem:Ot(e.BatchItem,n)})},St=function(e,n){return e.filter((function(e){return null!=e})).map((function(e){return null===e?null:e}))},_t=function(e,n){return Object.entries(e).reduce((function(e,n){var t,o=N(n,2),r=o[0],a=o[1];return null===a?e:I(I({},e),((t={})[r]=a,t))}),{})},Et=function(e,n){return Object.entries(e).reduce((function(e,n){var t,o=N(n,2),r=o[0],a=o[1];return null===a?e:I(I({},e),((t={})[r]=a,t))}),{})},xt=function(e,n){return Object.entries(e).reduce((function(e,t){var o,r=N(t,2),a=r[0],i=r[1];return null===i?e:I(I({},e),((o={})[a]=function(e,n){return I(I(I(I(I(I(I(I(I(I({},void 0!==e.AppPackageName&&null!==e.AppPackageName&&{AppPackageName:e.AppPackageName}),void 0!==e.AppTitle&&null!==e.AppTitle&&{AppTitle:e.AppTitle}),void 0!==e.AppVersionCode&&null!==e.AppVersionCode&&{AppVersionCode:e.AppVersionCode}),void 0!==e.Attributes&&null!==e.Attributes&&{Attributes:Et(e.Attributes,n)}),void 0!==e.ClientSdkVersion&&null!==e.ClientSdkVersion&&{ClientSdkVersion:e.ClientSdkVersion}),void 0!==e.EventType&&null!==e.EventType&&{EventType:e.EventType}),void 0!==e.Metrics&&null!==e.Metrics&&{Metrics:_t(e.Metrics,n)}),void 0!==e.SdkName&&null!==e.SdkName&&{SdkName:e.SdkName}),void 0!==e.Session&&null!==e.Session&&{Session:Tt(e.Session,n)}),void 0!==e.Timestamp&&null!==e.Timestamp&&{Timestamp:e.Timestamp})}(i,n),o))}),{})},Ot=function(e,n){return Object.entries(e).reduce((function(e,t){var o,r=N(t,2),a=r[0],i=r[1];return null===i?e:I(I({},e),((o={})[a]=function(e,n){return I(I({},void 0!==e.Endpoint&&null!==e.Endpoint&&{Endpoint:kt(e.Endpoint,n)}),void 0!==e.Events&&null!==e.Events&&{Events:xt(e.Events,n)})}(i,n),o))}),{})},At=function(e,n){return Object.entries(e).reduce((function(e,t){var o,r=N(t,2),a=r[0],i=r[1];return null===i?e:I(I({},e),((o={})[a]=St(i,n),o))}),{})},kt=function(e,n){return I(I(I(I(I(I(I(I(I(I(I({},void 0!==e.Address&&null!==e.Address&&{Address:e.Address}),void 0!==e.Attributes&&null!==e.Attributes&&{Attributes:At(e.Attributes,n)}),void 0!==e.ChannelType&&null!==e.ChannelType&&{ChannelType:e.ChannelType}),void 0!==e.Demographic&&null!==e.Demographic&&{Demographic:vt(e.Demographic,n)}),void 0!==e.EffectiveDate&&null!==e.EffectiveDate&&{EffectiveDate:e.EffectiveDate}),void 0!==e.EndpointStatus&&null!==e.EndpointStatus&&{EndpointStatus:e.EndpointStatus}),void 0!==e.Location&&null!==e.Location&&{Location:yt(e.Location,n)}),void 0!==e.Metrics&&null!==e.Metrics&&{Metrics:_t(e.Metrics,n)}),void 0!==e.OptOut&&null!==e.OptOut&&{OptOut:e.OptOut}),void 0!==e.RequestId&&null!==e.RequestId&&{RequestId:e.RequestId}),void 0!==e.User&&null!==e.User&&{User:Ct(e.User,n)})},Tt=function(e,n){return I(I(I(I({},void 0!==e.Duration&&null!==e.Duration&&{Duration:e.Duration}),void 0!==e.Id&&null!==e.Id&&{Id:e.Id}),void 0!==e.StartTimestamp&&null!==e.StartTimestamp&&{StartTimestamp:e.StartTimestamp}),void 0!==e.StopTimestamp&&null!==e.StopTimestamp&&{StopTimestamp:e.StopTimestamp})},Pt=function(e,n){return{Message:void 0!==e.Message&&null!==e.Message?e.Message:void 0,StatusCode:void 0!==e.StatusCode&&null!==e.StatusCode?e.StatusCode:void 0}},Mt=function(e,n){return{Results:void 0!==e.Results&&null!==e.Results?Rt(e.Results,n):void 0}},It=function(e,n){return Object.entries(e).reduce((function(e,n){var t,o=N(n,2),r=o[0],a=o[1];return null===a?e:I(I({},e),((t={})[r]=function(e,n){return{Message:void 0!==e.Message&&null!==e.Message?e.Message:void 0,StatusCode:void 0!==e.StatusCode&&null!==e.StatusCode?e.StatusCode:void 0}}(a),t))}),{})},Rt=function(e,n){return Object.entries(e).reduce((function(e,t){var o,r=N(t,2),a=r[0],i=r[1];return null===i?e:I(I({},e),((o={})[a]=function(e,n){return{EndpointItemResponse:void 0!==e.EndpointItemResponse&&null!==e.EndpointItemResponse?Pt(e.EndpointItemResponse):void 0,EventsItemResponse:void 0!==e.EventsItemResponse&&null!==e.EventsItemResponse?It(e.EventsItemResponse,n):void 0}}(i,n),o))}),{})},jt=function(e,n){return{Message:void 0!==e.Message&&null!==e.Message?e.Message:void 0,RequestID:void 0!==e.RequestID&&null!==e.RequestID?e.RequestID:void 0}},Nt=function(e){var n;return{httpStatusCode:e.statusCode,requestId:null!==(n=e.headers["x-amzn-requestid"])&&void 0!==n?n:e.headers["x-amzn-request-id"],extendedRequestId:e.headers["x-amz-id-2"],cfId:e.headers["x-amz-cf-id"]}},Lt=function(e,n){return void 0===e&&(e=new Uint8Array),e instanceof Uint8Array?Promise.resolve(e):n.streamCollector(e)||Promise.resolve(new Uint8Array)},Ft=function(e,n){return function(e,n){return Lt(e,n).then((function(e){return n.utf8Encoder(e)}))}(e,n).then((function(e){return e.length?JSON.parse(e):{}}))},Ut=function(e,n){var t,o,r=function(e){var n=e;return n.indexOf(":")>=0&&(n=n.split(":")[0]),n.indexOf("#")>=0&&(n=n.split("#")[1]),n},a=(t=e.headers,o="x-amzn-errortype",Object.keys(t).find((function(e){return e.toLowerCase()===o.toLowerCase()})));return void 0!==a?r(e.headers[a]):void 0!==n.code?r(n.code):void 0!==n.__type?r(n.__type):""},Dt=t(97),Bt=function(e){function n(n){var t=e.call(this)||this;return t.input=n,t}return M(n,e),n.prototype.resolveMiddleware=function(e,n,t){this.middlewareStack.use(Object(Dt.a)(n,this.serialize,this.deserialize));var o=e.concat(this.middlewareStack),r={logger:n.logger,clientName:"PinpointClient",commandName:"PutEventsCommand",inputFilterSensitiveLog:Ke.filterSensitiveLog,outputFilterSensitiveLog:We.filterSensitiveLog},a=n.requestHandler;return o.resolve((function(e){return a.handle(e.request,t||{})}),r)},n.prototype.serialize=function(e,n){return function(e,n){return R(void 0,void 0,void 0,(function(){var t,o,r,a,i,s,c,u,l;return j(this,(function(d){switch(d.label){case 0:if(t={"content-type":"application/json"},o="/v1/apps/{ApplicationId}/events",void 0===e.ApplicationId)throw new Error("No value provided for input HTTP label: ApplicationId.");if((r=e.ApplicationId).length<=0)throw new Error("Empty value provided for input HTTP label: ApplicationId.");return o=o.replace("{ApplicationId}",Object(st.c)(r)),void 0!==e.EventsRequest&&(a=wt(e.EventsRequest,n)),void 0===a&&(a={}),a=JSON.stringify(a),[4,n.endpoint()];case 1:return i=d.sent(),s=i.hostname,c=i.protocol,u=void 0===c?"https":c,l=i.port,[2,new it.a({protocol:u,hostname:s,port:l,method:"POST",headers:t,path:o,body:a})]}}))}))}(e,n)},n.prototype.deserialize=function(e,n){return function(e,n){return R(void 0,void 0,void 0,(function(){var t,o;return j(this,(function(r){switch(r.label){case 0:return 202!==e.statusCode&&e.statusCode>=300?[2,ct(e,n)]:(t={$metadata:Nt(e),EventsResponse:void 0},[4,Ft(e.body,n)]);case 1:return o=r.sent(),t.EventsResponse=Mt(o,n),[2,Promise.resolve(t)]}}))}))}(e,n)},n}(st.b),zt=function(e){function n(n){var t=e.call(this)||this;return t.input=n,t}return M(n,e),n.prototype.resolveMiddleware=function(e,n,t){this.middlewareStack.use(Object(Dt.a)(n,this.serialize,this.deserialize));var o=e.concat(this.middlewareStack),r={logger:n.logger,clientName:"PinpointClient",commandName:"UpdateEndpointCommand",inputFilterSensitiveLog:Pn.filterSensitiveLog,outputFilterSensitiveLog:Mn.filterSensitiveLog},a=n.requestHandler;return o.resolve((function(e){return a.handle(e.request,t||{})}),r)},n.prototype.serialize=function(e,n){return function(e,n){return R(void 0,void 0,void 0,(function(){var t,o,r,a,i,s,c,u,l;return j(this,(function(d){switch(d.label){case 0:if(t={"content-type":"application/json"},o="/v1/apps/{ApplicationId}/endpoints/{EndpointId}",void 0===e.ApplicationId)throw new Error("No value provided for input HTTP label: ApplicationId.");if((r=e.ApplicationId).length<=0)throw new Error("Empty value provided for input HTTP label: ApplicationId.");if(o=o.replace("{ApplicationId}",Object(st.c)(r)),void 0===e.EndpointId)throw new Error("No value provided for input HTTP label: EndpointId.");if((r=e.EndpointId).length<=0)throw new Error("Empty value provided for input HTTP label: EndpointId.");return o=o.replace("{EndpointId}",Object(st.c)(r)),void 0!==e.EndpointRequest&&(a=bt(e.EndpointRequest,n)),void 0===a&&(a={}),a=JSON.stringify(a),[4,n.endpoint()];case 1:return i=d.sent(),s=i.hostname,c=i.protocol,u=void 0===c?"https":c,l=i.port,[2,new it.a({protocol:u,hostname:s,port:l,method:"PUT",headers:t,path:o,body:a})]}}))}))}(e,n)},n.prototype.deserialize=function(e,n){return function(e,n){return R(void 0,void 0,void 0,(function(){var t,o;return j(this,(function(r){switch(r.label){case 0:return 202!==e.statusCode&&e.statusCode>=300?[2,ut(e,n)]:(t={$metadata:Nt(e),MessageBody:void 0},[4,Ft(e.body,n)]);case 1:return o=r.sent(),t.MessageBody=jt(o,n),[2,Promise.resolve(t)]}}))}))}(e,n)},n}(st.b),Vt=t(514),Gt=t(155),Ht=t(126),qt=t(174),Kt=t(83),Wt=t(98),$t=t(156),Yt=t(157),Qt=t(127),Jt="pinpoint.{region}.amazonaws.com",Zt=new Set(["af-south-1","ap-east-1","ap-northeast-1","ap-northeast-2","ap-south-1","ap-southeast-1","ap-southeast-2","ca-central-1","eu-central-1","eu-north-1","eu-south-1","eu-west-1","eu-west-2","eu-west-3","me-south-1","sa-east-1","us-east-1","us-east-2","us-west-1","us-west-2"]),Xt=new Set(["cn-north-1","cn-northwest-1"]),eo=new Set(["us-iso-east-1"]),no=new Set(["us-isob-east-1"]),to=new Set(["us-gov-east-1","us-gov-west-1"]),oo={apiVersion:"2016-12-01",disableHostPrefix:!1,logger:{},regionInfoProvider:function(e,n){var t=void 0;switch(e){case"ap-northeast-1":t={hostname:"pinpoint.ap-northeast-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-northeast-2":t={hostname:"pinpoint.ap-northeast-2.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-south-1":t={hostname:"pinpoint.ap-south-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-southeast-1":t={hostname:"pinpoint.ap-southeast-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ap-southeast-2":t={hostname:"pinpoint.ap-southeast-2.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"ca-central-1":t={hostname:"pinpoint.ca-central-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"eu-central-1":t={hostname:"pinpoint.eu-central-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"eu-west-1":t={hostname:"pinpoint.eu-west-1.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"eu-west-2":t={hostname:"pinpoint.eu-west-2.amazonaws.com",partition:"aws",signingService:"mobiletargeting"};break;case"fips-us-east-1":t={hostname:"pinpoint-fips.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"fips-us-gov-west-1":t={hostname:"pinpoint-fips.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"fips-us-west-2":t={hostname:"pinpoint-fips.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;case"us-east-1":t={hostname:"pinpoint.us-east-1.amazonaws.com",partition:"aws",signingRegion:"us-east-1"};break;case"us-gov-west-1":t={hostname:"pinpoint.us-gov-west-1.amazonaws.com",partition:"aws-us-gov",signingRegion:"us-gov-west-1"};break;case"us-west-2":t={hostname:"pinpoint.us-west-2.amazonaws.com",partition:"aws",signingRegion:"us-west-2"};break;default:Zt.has(e)&&(t={hostname:Jt.replace("{region}",e),partition:"aws",signingService:"mobiletargeting"}),Xt.has(e)&&(t={hostname:"pinpoint.{region}.amazonaws.com.cn".replace("{region}",e),partition:"aws-cn"}),eo.has(e)&&(t={hostname:"pinpoint.{region}.c2s.ic.gov".replace("{region}",e),partition:"aws-iso"}),no.has(e)&&(t={hostname:"pinpoint.{region}.sc2s.sgov.gov".replace("{region}",e),partition:"aws-iso-b"}),to.has(e)&&(t={hostname:"pinpoint.{region}.amazonaws.com".replace("{region}",e),partition:"aws-us-gov",signingService:"mobiletargeting"}),void 0===t&&(t={hostname:Jt.replace("{region}",e),partition:"aws",signingService:"mobiletargeting"})}return Promise.resolve(I({signingService:"mobiletargeting"},t))},serviceId:"Pinpoint",urlParser:t(176).a},ro=I(I({},oo),{runtime:"browser",base64Decoder:Wt.a,base64Encoder:Wt.b,bodyLengthChecker:$t.a,credentialDefaultProvider:function(e){return function(){return Promise.reject(new Error("Credential is missing"))}},defaultUserAgentProvider:Object(Yt.a)({serviceId:oo.serviceId,clientVersion:Vt.version}),maxAttempts:Kt.a,region:Object(qt.a)("Region is missing"),requestHandler:new Ht.a,sha256:Gt.Sha256,streamCollector:Ht.b,utf8Decoder:Qt.a,utf8Encoder:Qt.b}),ao=t(128),io=t(154),so=t(122),co=t(175),uo=t(141),lo=t(125),po=function(e){function n(n){var t=this,o=I(I({},ro),n),r=Object(ao.b)(o),a=Object(ao.a)(r),i=Object(uo.b)(a),s=Object(Kt.c)(i),c=Object(so.b)(s),u=Object(lo.b)(c);return(t=e.call(this,u)||this).config=u,t.middlewareStack.use(Object(uo.a)(t.config)),t.middlewareStack.use(Object(Kt.b)(t.config)),t.middlewareStack.use(Object(io.a)(t.config)),t.middlewareStack.use(Object(so.a)(t.config)),t.middlewareStack.use(Object(co.a)(t.config)),t.middlewareStack.use(Object(lo.a)(t.config)),t}return M(n,e),n.prototype.destroy=function(){e.prototype.destroy.call(this)},n}(st.a),mo=t(776),ho=t(85),fo=new r.a("EventsBuffer"),go=[429,500],vo=[202],yo=function(){function e(e,n){this._pause=!1,this._flush=!1,fo.debug("Instantiating buffer with config:",n),this._buffer=[],this._client=e,this._config=n,this._sendBatch=this._sendBatch.bind(this),this._startLoop()}return e.prototype.push=function(e){var n;if(this._buffer.length>=this._config.bufferSize)return fo.debug("Exceeded analytics events buffer size"),e.handlers.reject(new Error("Exceeded the size of analytics events buffer"));var t=((n={})[e.params.event.eventId]=e,n);this._buffer.push(t)},e.prototype.pause=function(){this._pause=!0},e.prototype.resume=function(){this._pause=!1},e.prototype.updateClient=function(e){this._client=e},e.prototype.flush=function(){this._flush=!0},e.prototype._startLoop=function(){this._interval&&clearInterval(this._interval);var e=this._config.flushInterval;this._interval=setInterval(this._sendBatch,e)},e.prototype._sendBatch=function(){var e=this._buffer.length;if(this._flush&&!e&&clearInterval(this._interval),!this._pause&&e){var n=this._config.flushSize,t=Math.min(n,e),o=this._buffer.splice(0,t);this._putEvents(o)}},e.prototype._putEvents=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,r,a,i;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:n=this._bufferToMap(e),t=this._generateBatchEventParams(n),o.label=1;case 1:return o.trys.push([1,3,,4]),r=new Bt(t),[4,this._client.send(r)];case 2:return a=o.sent(),this._processPutEventsSuccessResponse(a,n),[3,4];case 3:return i=o.sent(),[2,this._handlePutEventsFailure(i,n)];case 4:return[2]}}))}))},e.prototype._generateBatchEventParams=function(e){var n={ApplicationId:"",EventsRequest:{BatchItem:{}}};return Object.values(e).forEach((function(e){var t=e.params,o=t.event,r=t.timestamp,a=t.config,i=o.name,s=o.attributes,c=o.metrics,u=o.eventId,l=o.session,d=a.appId,p=a.endpointId,m=n.EventsRequest.BatchItem;n.ApplicationId=n.ApplicationId||d,m[p]||(m[p]={Endpoint:{},Events:{}}),m[p].Events[u]={EventType:i,Timestamp:new Date(r).toISOString(),Attributes:s,Metrics:c,Session:l}})),n},e.prototype._handlePutEventsFailure=function(e,n){fo.debug("_putEvents Failed: ",e);var t=e.$metadata&&e.$metadata.httpStatusCode;if(go.includes(t)){var o=Object.values(n);this._retry(o)}else;},e.prototype._processPutEventsSuccessResponse=function(e,n){var t=e.EventsResponse.Results,r=[];Object.entries(t).forEach((function(e){var t=Object(o.__read)(e,2),a=t[0],i=t[1].EventsItemResponse;Object.entries(i).forEach((function(e){var t,i,s=Object(o.__read)(e,2),c=s[0],u=s[1],l=u.StatusCode,d=u.Message,p=n[c],m={EventsResponse:{Results:(t={},t[a]={EventsItemResponse:(i={},i[c]={StatusCode:l,Message:d},i)},t)}};if(vo.includes(l))p.handlers.resolve(m);else{if(!go.includes(l)){var h=p.params.event.name;return fo.error("event "+c+" : "+h+" failed with error: "+d),p.handlers.reject(m)}r.push(p)}}))})),r.length&&this._retry(r)},e.prototype._retry=function(e){var n,t=[];e.forEach((function(e){var n,o=e.params,r=o.event,a=r.eventId,i=r.name;if(o.resendLimit-- >0)return fo.debug("resending event "+a+" : "+i+" with "+o.resendLimit+" retry attempts remaining"),void t.push((n={},n[a]=e,n));fo.debug("no retry attempts remaining for event "+a+" : "+i)})),(n=this._buffer).unshift.apply(n,Object(o.__spread)(t))},e.prototype._bufferToMap=function(e){return e.reduce((function(e,n){var t=Object(o.__read)(Object.entries(n),1),r=Object(o.__read)(t[0],2),a=r[0],i=r[1];return e[a]=i,e}),{})},e}(),bo="undefined"!==typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Co=function(e,n){a.a.dispatch("analytics",{event:e,data:n},"Analytics",bo)},wo=new r.a("AWSPinpointProvider"),So=[429,500],_o=[202],Eo="_update_endpoint",xo="_session.stop",Oo="undefined"!==typeof navigator&&navigator&&"function"===typeof navigator.sendBeacon,Ao=function(){function e(e){this._endpointGenerating=!0,this._endpointUpdateInProgress=!1,this._buffer=null,this._endpointBuffer=[],this._config=e||{},this._config.bufferSize=this._config.bufferSize||1e3,this._config.flushSize=this._config.flushSize||100,this._config.flushInterval=this._config.flushInterval||5e3,this._config.resendLimit=this._config.resendLimit||5,this._clientInfo=l.clientInfo()}return e.prototype.getCategory=function(){return e.category},e.prototype.getProviderName=function(){return e.providerName},e.prototype.configure=function(e){var n=this;wo.debug("configure Analytics",e);var t=e||{};if(this._config=Object.assign({},this._config,t),this._endpointGenerating=!!e.autoSessionRecord,this._config.appId&&!this._config.disabled)if(this._config.endpointId)Co("pinpointProvider_configured",null);else{var o=this.getProviderName()+"_"+this._config.appId;this._getEndpointId(o).then((function(e){wo.debug("setting endpoint id from the cache",e),n._config.endpointId=e,Co("pinpointProvider_configured",null)})).catch((function(e){wo.debug("Failed to generate endpointId",e)}))}else this._flushBuffer();return this._config},e.prototype.record=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var t,r;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return wo.debug("_public record",e),[4,this._getCredentials()];case 1:return(t=o.sent())&&this._config.appId&&this._config.region?(this._initClients(t),r=(new Date).getTime(),this._generateSession(e),e.event.eventId=Object(ho.v1)(),Object.assign(e,{timestamp:r,config:this._config}),e.event.immediate?[2,this._send(e,n)]:(this._putToBuffer(e,n),[2])):(wo.debug("cannot send events without credentials, applicationId or region"),[2,n.reject(new Error("No credentials, applicationId or region"))])}}))}))},e.prototype._sendEndpointUpdate=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n;return Object(o.__generator)(this,(function(t){switch(t.label){case 0:return this._endpointUpdateInProgress?(this._endpointBuffer.push(e),[2]):(this._endpointUpdateInProgress=!0,[4,this._updateEndpoint(e)]);case 1:return t.sent(),n=this._endpointBuffer.shift(),this._endpointUpdateInProgress=!1,n&&this._sendEndpointUpdate(n),[2]}}))}))},e.prototype._putToBuffer=function(e,n){e.event.name!==Eo?this._buffer&&this._buffer.push({params:e,handlers:n}):this._sendEndpointUpdate({params:e,handlers:n})},e.prototype._generateSession=function(e){this._sessionId=this._sessionId||Object(ho.v1)();var n=e.event;switch(n.name){case"_session.start":this._sessionStartTimestamp=(new Date).getTime(),this._sessionId=Object(ho.v1)(),n.session={Id:this._sessionId,StartTimestamp:new Date(this._sessionStartTimestamp).toISOString()};break;case xo:var t=(new Date).getTime();this._sessionStartTimestamp=this._sessionStartTimestamp||(new Date).getTime(),this._sessionId=this._sessionId||Object(ho.v1)(),n.session={Id:this._sessionId,Duration:t-this._sessionStartTimestamp,StartTimestamp:new Date(this._sessionStartTimestamp).toISOString(),StopTimestamp:new Date(t).toISOString()},this._sessionId=void 0,this._sessionStartTimestamp=void 0;break;default:this._sessionStartTimestamp=this._sessionStartTimestamp||(new Date).getTime(),this._sessionId=this._sessionId||Object(ho.v1)(),n.session={Id:this._sessionId,StartTimestamp:new Date(this._sessionStartTimestamp).toISOString()}}},e.prototype._send=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){return Object(o.__generator)(this,(function(t){switch(e.event.name){case Eo:return[2,this._updateEndpoint({params:e,handlers:n})];case xo:return[2,this._pinpointSendStopSession(e,n)];default:return[2,this._pinpointPutEvents(e,n)]}return[2]}))}))},e.prototype._generateBatchItemContext=function(e){var n,t=e.event,o=e.timestamp,r=e.config,a=t.name,i=t.attributes,s=t.metrics,c=t.eventId,u=t.session,l=r.appId,d=r.endpointId,p={ApplicationId:l,EventsRequest:{BatchItem:{}}},m={Endpoint:{}};return m.Events=((n={})[c]={EventType:a,Timestamp:new Date(o).toISOString(),Attributes:i,Metrics:s,Session:u},n),p.EventsRequest.BatchItem[d]=m,p},e.prototype._pinpointPutEvents=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var t,r,a,i,s,c,u,l,d,p,m;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:t=e.event.eventId,r=e.config.endpointId,a=this._generateBatchItemContext(e),i=new Bt(a),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,this.pinpointClient.send(i)];case 2:return s=o.sent(),c=r,u=t,l=s.EventsResponse.Results[c].EventsItemResponse[u],d=l.StatusCode,p=l.Message,_o.includes(d)?(wo.debug("record event success. ",s),[2,n.resolve(s)]):So.includes(d)?(this._retry(e,n),[3,4]):(wo.error("Event "+t+" is not accepted, the error is "+p),[2,n.reject(s)]);case 3:return m=o.sent(),this._eventError(m),[2,n.reject(m)];case 4:return[2]}}))}))},e.prototype._pinpointSendStopSession=function(e,n){if(Oo){var t=this._generateBatchItemContext(e),o=this._config.region,r=t.ApplicationId,a=t.EventsRequest,i={secret_key:this._config.credentials.secretAccessKey,access_key:this._config.credentials.accessKeyId,session_token:this._config.credentials.sessionToken},s="https://pinpoint."+o+".amazonaws.com/v1/apps/"+r+"/events/legacy",c=JSON.stringify(a),u={url:s,body:c,method:"POST"},l={region:o,service:"mobiletargeting"},d=O.signUrl(u,i,l,null);return navigator.sendBeacon(d,c)?n.resolve("sendBeacon success"):n.reject("sendBeacon failure")}this._pinpointPutEvents(e,n)},e.prototype._retry=function(e,n){var t=e.config.resendLimit;e.resendLimit="number"===typeof e.resendLimit?e.resendLimit:t,e.resendLimit-- >0?(wo.debug("resending event "+e.eventName+" with "+e.resendLimit+" retry times left"),this._pinpointPutEvents(e,n)):wo.debug("retry times used up for event "+e.eventName)},e.prototype._updateEndpoint=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,r,a,i,s,c,u,l,d,p,m;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:n=e.params,t=e.handlers,r=n.config,a=n.event,i=r.appId,s=r.endpointId,c=this._endpointRequest(r,Object(A.c)(a,[],["attributes","userAttributes","Attributes","UserAttributes"])),u={ApplicationId:i,EndpointId:s,EndpointRequest:c},o.label=1;case 1:return o.trys.push([1,3,,4]),l=new zt(u),[4,this.pinpointClient.send(l)];case 2:return d=o.sent(),wo.debug("updateEndpoint success",d),this._endpointGenerating=!1,this._resumeBuffer(),t.resolve(d),[2];case 3:return p=o.sent(),m={err:p,update_params:u,endpointObject:e},[2,this._handleEndpointUpdateFailure(m)];case 4:return[2]}}))}))},e.prototype._handleEndpointUpdateFailure=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t,r;return Object(o.__generator)(this,(function(o){switch(n=e.err,t=e.endpointObject,r=n.$metadata&&n.$metadata.httpStatusCode,wo.debug("updateEndpoint error",n),r){case 403:return[2,this._handleEndpointUpdateForbidden(e)];default:if(So.includes(r))return!0,[2,this._retryEndpointUpdate(t,true)];wo.error("updateEndpoint failed",n),t.handlers.reject(n)}return[2]}))}))},e.prototype._handleEndpointUpdateForbidden=function(e){var n=e.err,t=e.endpointObject,o=n.code,r=n.retryable;if("ExpiredTokenException"!==o&&!r)return t.handlers.reject(n);this._retryEndpointUpdate(t)},e.prototype._retryEndpointUpdate=function(e,n){void 0===n&&(n=!1),wo.debug("_retryEndpointUpdate",e);var t=e.params,o=t.config.resendLimit;if(t.resendLimit="number"===typeof t.resendLimit?t.resendLimit:o,t.resendLimit-- >0)return wo.debug("resending endpoint update "+t.event.eventId+" with "+t.resendLimit+" retry attempts remaining"),void(this._endpointBuffer.length?this._endpointBuffer.unshift(e):this._updateEndpoint(e));wo.warn("resending endpoint update "+t.event.eventId+" failed after "+t.config.resendLimit+" attempts"),this._endpointGenerating&&wo.error("Initial endpoint update failed. ")},e.prototype._initClients=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t;return Object(o.__generator)(this,(function(o){return wo.debug("init clients"),this.pinpointClient&&this._config.credentials&&this._config.credentials.sessionToken===e.sessionToken&&this._config.credentials.identityId===e.identityId?(wo.debug("no change for aws credentials, directly return from init"),[2]):(n=this._config.credentials?this._config.credentials.identityId:null,this._config.credentials=e,t=this._config.region,wo.debug("init clients with credentials",e),this.pinpointClient=new po({region:t,credentials:e,customUserAgent:Object(k.a)()}),this.pinpointClient.middlewareStack.addRelativeTo((function(e){return function(n){return delete n.request.headers["amz-sdk-invocation-id"],delete n.request.headers["amz-sdk-request"],e(n)}}),{step:"finalizeRequest",relation:"after",toMiddleware:"retryMiddleware"}),this._bufferExists()&&n===e.identityId?this._updateBufferClient():this._initBuffer(),this._customizePinpointClientReq(),[2])}))}))},e.prototype._bufferExists=function(){return this._buffer&&this._buffer instanceof yo},e.prototype._initBuffer=function(){this._bufferExists()&&this._flushBuffer(),this._buffer=new yo(this.pinpointClient,this._config),this._endpointGenerating&&this._buffer.pause()},e.prototype._updateBufferClient=function(){this._bufferExists()&&this._buffer.updateClient(this.pinpointClient)},e.prototype._flushBuffer=function(){this._bufferExists()&&(this._buffer.flush(),this._buffer=null)},e.prototype._resumeBuffer=function(){this._bufferExists()&&this._buffer.resume()},e.prototype._customizePinpointClientReq=function(){},e.prototype._getEndpointId=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return[4,mo.a.getItem(e)];case 1:return n=o.sent(),wo.debug("endpointId from cache",n,"type",typeof n),n||(n=Object(ho.v1)(),31536e8,t=(new Date).getTime()+31536e8,mo.a.setItem(e,n,{expires:t,priority:1})),[2,n]}}))}))},e.prototype._endpointRequest=function(e,n){var t=e.credentials,r=this._clientInfo||{},a=e.clientContext||{},i=e.endpoint||{},s={appVersion:r.appVersion,make:r.make,model:r.model,modelVersion:r.version,platform:r.platform},c=(a.clientId,a.appTitle,a.appVersionName,a.appVersionCode,a.appPackageName,Object(o.__rest)(a,["clientId","appTitle","appVersionName","appVersionCode","appPackageName"])),u=n.address?"android"===r.platform?"GCM":"APNS":void 0,l=Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({channelType:u,requestId:Object(ho.v1)(),effectiveDate:(new Date).toISOString()},i),n),{attributes:Object(o.__assign)(Object(o.__assign)({},i.attributes),n.attributes),demographic:Object(o.__assign)(Object(o.__assign)(Object(o.__assign)(Object(o.__assign)({},s),c),i.demographic),n.demographic),location:Object(o.__assign)(Object(o.__assign)({},i.location),n.location),metrics:Object(o.__assign)(Object(o.__assign)({},i.metrics),n.metrics),user:{userId:n.userId||i.userId||t.identityId,userAttributes:Object(o.__assign)(Object(o.__assign)({},i.userAttributes),n.userAttributes)}}),d=(l.userId,l.userAttributes,l.name,l.session,l.eventId,l.immediate,Object(o.__rest)(l,["userId","userAttributes","name","session","eventId","immediate"]));return Object(A.d)(d,[],["metrics","userAttributes","attributes"])},e.prototype._eventError=function(e){wo.error("record event failed.",e),wo.warn('Please ensure you have updated your Pinpoint IAM Policy with the Action: "mobiletargeting:PutEvents" in order to record events')},e.prototype._getCredentials=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n;return Object(o.__generator)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,T.a.get()];case 1:return(e=t.sent())?(wo.debug("set credentials for analytics",e),[2,T.a.shear(e)]):[2,null];case 2:return n=t.sent(),wo.debug("ensure credentials error",n),[2,null];case 3:return[2]}}))}))},e.category="Analytics",e.providerName="AWSPinpoint",e}(),ko=[],To=function(){function e(e,n){this.context=e,this.methodName=n,this._originalMethod=e[n].bind(e)}return e.add=function(e,n,t){Po(e,n).set(t)},e.remove=function(e,n){Po(e,n).remove()},e.prototype.set=function(e){var n=this;this.context[this.methodName]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e(n._originalMethod.apply(n,Object(o.__spread)(t)))}},e.prototype.remove=function(){this.context[this.methodName]=this._originalMethod},e}();function Po(e,n){var t=ko.filter((function(t){return t.context===e&&t.methodName===n}))[0];return t||(t=new To(e,n),ko.push(t)),t}var Mo=new r.a("PageViewTracker"),Io="aws-amplify-analytics-prevUrl",Ro={enable:!1,provider:"AWSPinpoint",getUrl:function(){return Object(A.a)().isBrowser?window.location.origin+window.location.pathname:""}},jo=function(){function e(e,n){Mo.debug("initialize pageview tracker with opts",n),this._config=Object.assign({},Ro,n),this._tracker=e,this._hasEnabled=!1,this._trackFunc=this._trackFunc.bind(this),"SPA"===this._config.type?this._pageViewTrackSPA():this._pageViewTrackDefault()}return e.prototype.configure=function(e){return Object.assign(this._config,e),"SPA"===this._config.type&&this._pageViewTrackSPA(),this._config},e.prototype._isSameUrl=function(){return sessionStorage.getItem(Io)===this._config.getUrl()&&(Mo.debug("the url is same"),!0)},e.prototype._pageViewTrackDefault=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n,t,r;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return Object(A.a)().isBrowser&&window.addEventListener&&window.sessionStorage?(e=this._config.getUrl(),"function"!==typeof this._config.attributes?[3,2]:[4,this._config.attributes()]):(Mo.debug("not in the supported web enviroment"),[2]);case 1:return t=o.sent(),[3,3];case 2:t=this._config.attributes,o.label=3;case 3:return n=t,r=Object.assign({url:e},n),this._config.enable&&!this._isSameUrl()&&(this._tracker({name:this._config.eventName||"pageView",attributes:r},this._config.provider).catch((function(e){Mo.debug("Failed to record the page view event",e)})),sessionStorage.setItem(Io,e)),[2]}}))}))},e.prototype._trackFunc=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n,t,r;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return Object(A.a)().isBrowser&&window.addEventListener&&history.pushState&&window.sessionStorage?(e=this._config.getUrl(),"function"!==typeof this._config.attributes?[3,2]:[4,this._config.attributes()]):(Mo.debug("not in the supported web enviroment"),[2]);case 1:return t=o.sent(),[3,3];case 2:t=this._config.attributes,o.label=3;case 3:return n=t,r=Object.assign({url:e},n),this._isSameUrl()||(this._tracker({name:this._config.eventName||"pageView",attributes:r},this._config.provider).catch((function(e){Mo.debug("Failed to record the page view event",e)})),sessionStorage.setItem(Io,e)),[2]}}))}))},e.prototype._pageViewTrackSPA=function(){Object(A.a)().isBrowser&&window.addEventListener&&history.pushState?this._config.enable&&!this._hasEnabled?(To.add(history,"pushState",this._trackFunc),To.add(history,"replaceState",this._trackFunc),window.addEventListener("popstate",this._trackFunc),this._trackFunc(),this._hasEnabled=!0):(To.remove(history,"pushState"),To.remove(history,"replaceState"),window.removeEventListener("popstate",this._trackFunc),this._hasEnabled=!1):Mo.debug("not in the supported web enviroment")},e}(),No=Object(A.a)().isBrowser&&window.Element?window.Element.prototype:null,Lo=No?No.matches||No.matchesSelector||No.webkitMatchesSelector||No.mozMatchesSelector||No.msMatchesSelector||No.oMatchesSelector:null;function Fo(e,n){if(e&&1===e.nodeType&&n){if("string"===typeof n||1===n.nodeType)return e===n||Uo(e,n);if("length"in n)for(var t=0,o=void 0;o=n[t];t++)if(e===o||Uo(e,o))return!0}return!1}function Uo(e,n){if("string"!==typeof n)return!1;if(Lo)return Lo.call(e,n);for(var t=e.parentNode.querySelectorAll(n),o=0,r=void 0;r=t[o];o++)if(r===e)return!0;return!1}function Do(e,n,t,o,r){void 0===r&&(r={});var a=function(e){var n;if(r.composed&&"function"===typeof e.composedPath)for(var a=e.composedPath(),i=0,s=void 0;s=a[i];i++)1===s.nodeType&&Fo(s,t)&&(n=s);else n=function(e,n,t){if(void 0===t&&(t=!1),e&&1===e.nodeType&&n)for(var o,r=(t?[e]:[]).concat(function(e){for(var n=[],t=e;t&&t.parentNode&&1===t.parentNode.nodeType;)t=t.parentNode,n.push(t);return n}(e)),a=0;o=r[a];a++)if(Fo(o,n))return o}(e.target,t,!0);n&&o.call(n,e,n)};return e.addEventListener(n,a,r.useCapture),{destroy:function(){e.removeEventListener(n,a,r.useCapture)}}}var Bo=new r.a("EventTracker"),zo={enable:!1,events:["click"],selectorPrefix:"data-amplify-analytics-",provider:"AWSPinpoint"},Vo=function(){function e(e,n){Object(A.a)().isBrowser&&window.addEventListener?(this._config=Object.assign({},zo,n),this._tracker=e,this._delegates={},this._trackFunc=this._trackFunc.bind(this),Bo.debug("initialize pageview tracker with opts",this._config),this.configure(this._config)):Bo.debug("not in the supported web environment")}return e.prototype.configure=function(e){var n=this;if(Object.assign(this._config,e),this._config.enable){if(this._config.enable&&0===Object.keys(this._delegates).length){var t="["+this._config.selectorPrefix+"on]";this._config.events.forEach((function(e){n._delegates[e]=Do(document,e,t,n._trackFunc,{composed:!0,useCapture:!0})}))}}else Object.keys(this._delegates).forEach((function(e){"function"===typeof n._delegates[e].destroy&&n._delegates[e].destroy()})),this._delegates={};return this._config},e.prototype._trackFunc=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var t,r,a,i,s,c,u;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return t={},r=n.getAttribute(this._config.selectorPrefix+"on").split(/\s*,\s*/),a=n.getAttribute(this._config.selectorPrefix+"name"),(i=n.getAttribute(this._config.selectorPrefix+"attrs"))&&i.split(/\s*,\s*/).forEach((function(e){var n=e.trim().split(/\s*:\s*/);t[n[0]]=n[1]})),"function"!==typeof this._config.attributes?[3,2]:[4,this._config.attributes()];case 1:return c=o.sent(),[3,3];case 2:c=this._config.attributes,o.label=3;case 3:return s=c,u=Object.assign({type:e.type,target:e.target.localName+" with id "+e.target.id},s,t),Bo.debug("events needed to be recorded",r),Bo.debug("attributes needed to be attached",t),r.indexOf(e.type)<0?(Bo.debug("event "+e.type+" is not selected to be recorded"),[2]):(this._tracker({name:a||"event",attributes:u},this._config.provider).catch((function(n){Bo.debug("Failed to record the "+e.type+" event', "+n)})),[2])}}))}))},e}(),Go=new r.a("SessionTracker"),Ho={enable:!1,provider:"AWSPinpoint"},qo=!1,Ko=function(){function e(e,n){this._config=Object.assign({},Ho,n),this._tracker=e,this._hasEnabled=!1,this._trackFunc=this._trackFunc.bind(this),this._trackBeforeUnload=this._trackBeforeUnload.bind(this),this.configure(this._config)}return e.prototype._envCheck=function(){if(!Object(A.a)().isBrowser)return!1;if(!document||!document.addEventListener)return Go.debug("not in the supported web environment"),!1;if("undefined"!==typeof document.hidden)this._hidden="hidden",this._visibilityChange="visibilitychange";else if("undefined"!==typeof document.msHidden)this._hidden="msHidden",this._visibilityChange="msvisibilitychange";else{if("undefined"===typeof document.webkitHidden)return Go.debug("not in the supported web environment"),!1;this._hidden="webkitHidden",this._visibilityChange="webkitvisibilitychange"}return!0},e.prototype._trackFunc=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n,t;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return"function"!==typeof this._config.attributes?[3,2]:[4,this._config.attributes()];case 1:return n=o.sent(),[3,3];case 2:n=this._config.attributes,o.label=3;case 3:return e=n,t=Object.assign({},e),document.visibilityState===this._hidden?this._tracker({name:"_session.stop",attributes:t},this._config.provider).catch((function(e){Go.debug("record session stop event failed.",e)})):this._tracker({name:"_session.start",attributes:t},this._config.provider).catch((function(e){Go.debug("record session start event failed.",e)})),[2]}}))}))},e.prototype._trackBeforeUnload=function(e){var n=this;("function"===typeof this._config.attributes?Promise.resolve(this._config.attributes()):Promise.resolve(this._config.attributes)).then((function(e){var t=Object.assign({},e);n._tracker({name:"_session.stop",attributes:t,immediate:!0},n._config.provider).catch((function(e){Go.debug("record session stop event failed.",e)}))}))},e.prototype._sendInitialEvent=function(){return Object(o.__awaiter)(this,void 0,void 0,(function(){var e,n,t;return Object(o.__generator)(this,(function(o){switch(o.label){case 0:return qo?(Go.debug("the start session has been sent when the page is loaded"),[2]):(qo=!0,"function"!==typeof this._config.attributes?[3,2]:[4,this._config.attributes()]);case 1:return n=o.sent(),[3,3];case 2:n=this._config.attributes,o.label=3;case 3:return e=n,t=Object.assign({},e),this._tracker({name:"_session.start",attributes:t},this._config.provider).catch((function(e){Go.debug("record session start event failed.",e)})),[2]}}))}))},e.prototype.configure=function(e){return this._envCheck()?(Object.assign(this._config,e),this._config.enable&&!this._hasEnabled?(this._sendInitialEvent(),document.addEventListener(this._visibilityChange,this._trackFunc,!1),window.addEventListener("beforeunload",this._trackBeforeUnload,!1),this._hasEnabled=!0):!this._config.enable&&this._hasEnabled&&(document.removeEventListener(this._visibilityChange,this._trackFunc,!1),window.removeEventListener("beforeunload",this._trackBeforeUnload,!1),this._hasEnabled=!1),this._config):this._config},e}(),Wo=new r.a("AnalyticsClass"),$o="undefined"!==typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("amplify_default"):"@@amplify_default",Yo=function(e,n,t){a.a.dispatch("analytics",{event:e,data:n,message:t},"Analytics",$o)},Qo={pageView:jo,event:Vo,session:Ko},Jo=null,Zo=function(){function e(){this._config={},this._pluggables=[],this._disabled=!1,this._trackers={},Jo=this,this.record=this.record.bind(this),a.a.listen("auth",or),a.a.listen("storage",or),a.a.listen("analytics",or),a.a.listen("core",or)}return e.prototype.getModuleName=function(){return"Analytics"},e.prototype.configure=function(e){var n=this;if(!e)return this._config;Wo.debug("configure Analytics",e);var t=Object(i.a)(e);return this._config=Object.assign({},this._config,t.Analytics,e),this._config.disabled&&(this._disabled=!0),void 0===this._config.autoSessionRecord&&(this._config.autoSessionRecord=!0),this._pluggables.forEach((function(e){var t="AWSPinpoint"!==e.getProviderName()||n._config.AWSPinpoint?n._config[e.getProviderName()]:n._config;e.configure(Object(o.__assign)({disabled:n._config.disabled,autoSessionRecord:n._config.autoSessionRecord},t))})),0===this._pluggables.length&&this.addPluggable(new Ao),Yo("configured",null,"The Analytics category has been configured successfully"),Wo.debug("current configuration",this._config),this._config},e.prototype.addPluggable=function(e){if(e&&"Analytics"===e.getCategory()){this._pluggables.push(e);var n="AWSPinpoint"!==e.getProviderName()||this._config.AWSPinpoint?this._config[e.getProviderName()]:this._config,t=Object(o.__assign)({disabled:this._config.disabled},n);return e.configure(t),t}},e.prototype.getPluggable=function(e){for(var n=0;n<this._pluggables.length;n+=1){var t=this._pluggables[n];if(t.getProviderName()===e)return t}return Wo.debug("No plugin found with providerName",e),null},e.prototype.removePluggable=function(e){for(var n=0;n<this._pluggables.length&&this._pluggables[n].getProviderName()!==e;)n+=1;return n===this._pluggables.length?void Wo.debug("No plugin found with providerName",e):void this._pluggables.splice(n,n+1)},e.prototype.disable=function(){this._disabled=!0},e.prototype.enable=function(){this._disabled=!1},e.prototype.startSession=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t;return Object(o.__generator)(this,(function(o){return t={event:n={name:"_session.start"},provider:e},Yo("record",n,"Recording Analytics session start event"),[2,this._sendEvent(t)]}))}))},e.prototype.stopSession=function(e){return Object(o.__awaiter)(this,void 0,void 0,(function(){var n,t;return Object(o.__generator)(this,(function(o){return t={event:n={name:"_session.stop"},provider:e},Yo("record",n,"Recording Analytics session stop event"),[2,this._sendEvent(t)]}))}))},e.prototype.record=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var t;return Object(o.__generator)(this,(function(o){return Yo("record",(t={event:e,provider:n}).event,"Recording Analytics event"),[2,this._sendEvent(t)]}))}))},e.prototype.updateEndpoint=function(e,n){return Object(o.__awaiter)(this,void 0,void 0,(function(){var t;return Object(o.__generator)(this,(function(r){return t=Object(o.__assign)(Object(o.__assign)({},e),{name:"_update_endpoint"}),[2,this.record(t,n)]}))}))},e.prototype._sendEvent=function(e){var n=this;if(this._disabled)return Wo.debug("Analytics has been disabled"),Promise.resolve();var t=e.provider?e.provider:"AWSPinpoint";return new Promise((function(o,r){n._pluggables.forEach((function(n){n.getProviderName()===t&&n.record(e,{resolve:o,reject:r})}))}))},e.prototype.autoTrack=function(e,n){if(Qo[e]){"session"===e&&(this._config.autoSessionRecord=n.enable);var t=this._trackers[e];t?t.configure(n):this._trackers[e]=new Qo[e](this.record,n)}else Wo.debug("invalid tracker type")},e}(),Xo=!1,er=!1,nr=!1,tr=!1,or=function(e){var n=e.channel,t=e.payload;switch(Wo.debug("on hub capsule "+n,t),n){case"auth":ar(t);break;case"storage":rr(t);break;case"analytics":ir(t);break;case"core":sr(t)}},rr=function(e){var n=e.data,t=n.attrs,o=n.metrics;t&&nr&&Jo.record({name:"Storage",attributes:t,metrics:o}).catch((function(e){Wo.debug("Failed to send the storage event automatically",e)}))},ar=function(e){var n=e.event;if(n){var t=function(e){return Object(o.__awaiter)(void 0,void 0,void 0,(function(){var n;return Object(o.__generator)(this,(function(t){switch(t.label){case 0:if(!er||!nr)return[3,4];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,Jo.record({name:"_userauth."+e})];case 2:return[2,t.sent()];case 3:return n=t.sent(),Wo.debug("Failed to send the "+e+" event automatically",n),[3,4];case 4:return[2]}}))}))};switch(n){case"signIn":return t("sign_in");case"signUp":return t("sign_up");case"signOut":return t("sign_out");case"signIn_failure":return t("auth_fail");case"configured":er=!0,nr&&cr()}}},ir=function(e){var n=e.event;if(n)switch(n){case"pinpointProvider_configured":nr=!0,(er||tr)&&cr()}},sr=function(e){var n=e.event;if(n)switch(n){case"credentials_configured":tr=!0,nr&&cr()}},cr=function(){var e=Jo.configure();!Xo&&e.autoSessionRecord&&(Jo.updateEndpoint({immediate:!0}).catch((function(e){Wo.debug("Failed to update the endpoint",e)})),Xo=!0),Jo.autoTrack("session",{enable:e.autoSessionRecord})},ur=new Zo;s.a.register(ur)},function(e,n,t){"use strict";t.d(n,"a",(function(){return D}));var o=t(1),r=t(121),a=function(e){function n(n,t){var o=e.call(this,n,t)||this;return o.scheduler=n,o.work=t,o}return o.__extends(n,e),n.prototype.schedule=function(n,t){return void 0===t&&(t=0),t>0?e.prototype.schedule.call(this,n,t):(this.delay=t,this.state=n,this.scheduler.flush(this),this)},n.prototype.execute=function(n,t){return t>0||this.closed?e.prototype.execute.call(this,n,t):this._execute(n,t)},n.prototype.requestAsyncId=function(n,t,o){return void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0?e.prototype.requestAsyncId.call(this,n,t,o):n.flush(this)},n}(r.a),i=t(120),s=new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(n,e),n}(i.a))(a),c=t(38),u=t(41),l=t(49),d=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),p=function(e){function n(n,t){var o=e.call(this)||this;return o.subject=n,o.subscriber=t,o.closed=!1,o}return o.__extends(n,e),n.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,n=e.observers;if(this.subject=null,n&&0!==n.length&&!e.isStopped&&!e.closed){var t=n.indexOf(this.subscriber);-1!==t&&n.splice(t,1)}}},n}(l.a),m=t(103),h=function(e){function n(n){var t=e.call(this,n)||this;return t.destination=n,t}return o.__extends(n,e),n}(u.a),f=function(e){function n(){var n=e.call(this)||this;return n.observers=[],n.closed=!1,n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return o.__extends(n,e),n.prototype[m.a]=function(){return new h(this)},n.prototype.lift=function(e){var n=new g(this,this);return n.operator=e,n},n.prototype.next=function(e){if(this.closed)throw new d;if(!this.isStopped)for(var n=this.observers,t=n.length,o=n.slice(),r=0;r<t;r++)o[r].next(e)},n.prototype.error=function(e){if(this.closed)throw new d;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var n=this.observers,t=n.length,o=n.slice(),r=0;r<t;r++)o[r].error(e);this.observers.length=0},n.prototype.complete=function(){if(this.closed)throw new d;this.isStopped=!0;for(var e=this.observers,n=e.length,t=e.slice(),o=0;o<n;o++)t[o].complete();this.observers.length=0},n.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},n.prototype._trySubscribe=function(n){if(this.closed)throw new d;return e.prototype._trySubscribe.call(this,n)},n.prototype._subscribe=function(e){if(this.closed)throw new d;return this.hasError?(e.error(this.thrownError),l.a.EMPTY):this.isStopped?(e.complete(),l.a.EMPTY):(this.observers.push(e),new p(this,e))},n.prototype.asObservable=function(){var e=new c.a;return e.source=this,e},n.create=function(e,n){return new g(e,n)},n}(c.a),g=function(e){function n(n,t){var o=e.call(this)||this;return o.destination=n,o.source=t,o}return o.__extends(n,e),n.prototype.next=function(e){var n=this.destination;n&&n.next&&n.next(e)},n.prototype.error=function(e){var n=this.destination;n&&n.error&&this.destination.error(e)},n.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},n.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):l.a.EMPTY},n}(f),v=t(546),y=t(107);function b(e,n){return void 0===n&&(n=0),function(t){return t.lift(new C(e,n))}}var C=function(){function e(e,n){void 0===n&&(n=0),this.scheduler=e,this.delay=n}return e.prototype.call=function(e,n){return n.subscribe(new w(e,this.scheduler,this.delay))},e}(),w=function(e){function n(n,t,o){void 0===o&&(o=0);var r=e.call(this,n)||this;return r.scheduler=t,r.delay=o,r}return o.__extends(n,e),n.dispatch=function(e){var n=e.notification,t=e.destination;n.observe(t),this.unsubscribe()},n.prototype.scheduleMessage=function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new S(e,this.destination)))},n.prototype._next=function(e){this.scheduleMessage(y.a.createNext(e))},n.prototype._error=function(e){this.scheduleMessage(y.a.createError(e)),this.unsubscribe()},n.prototype._complete=function(){this.scheduleMessage(y.a.createComplete()),this.unsubscribe()},n}(u.a),S=function(){return function(e,n){this.notification=e,this.destination=n}}(),_=t(170),E=t(526),x=1,O=function(){return Promise.resolve()}(),A={};function k(e){return e in A&&(delete A[e],!0)}var T=function(e){var n=x++;return A[n]=!0,O.then((function(){return k(n)&&e()})),n},P=function(e){k(e)},M=function(e){function n(n,t){var o=e.call(this,n,t)||this;return o.scheduler=n,o.work=t,o}return o.__extends(n,e),n.prototype.requestAsyncId=function(n,t,o){return void 0===o&&(o=0),null!==o&&o>0?e.prototype.requestAsyncId.call(this,n,t,o):(n.actions.push(this),n.scheduled||(n.scheduled=T(n.flush.bind(n,null))))},n.prototype.recycleAsyncId=function(n,t,o){if(void 0===o&&(o=0),null!==o&&o>0||null===o&&this.delay>0)return e.prototype.recycleAsyncId.call(this,n,t,o);0===n.actions.length&&(P(t),n.scheduled=void 0)},n}(r.a),I=new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(n,e),n.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var n,t=this.actions,o=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++o<r&&(e=t.shift()));if(this.active=!1,n){for(;++o<r&&(e=t.shift());)e.unsubscribe();throw n}},n}(i.a))(M),R=t(117);var j=function(e){function n(n,t,o){void 0===t&&(t=0),void 0===o&&(o=I);var r,a=e.call(this)||this;return a.source=n,a.delayTime=t,a.scheduler=o,r=t,(Object(R.a)(r)||!(r-parseFloat(r)+1>=0)||t<0)&&(a.delayTime=0),o&&"function"===typeof o.schedule||(a.scheduler=I),a}return o.__extends(n,e),n.create=function(e,t,o){return void 0===t&&(t=0),void 0===o&&(o=I),new n(e,t,o)},n.dispatch=function(e){var n=e.source,t=e.subscriber;return this.add(n.subscribe(t))},n.prototype._subscribe=function(e){var t=this.delayTime,o=this.source;return this.scheduler.schedule(n.dispatch,t,{source:o,subscriber:e})},n}(c.a);function N(e,n){return void 0===n&&(n=0),function(t){return t.lift(new L(e,n))}}var L=function(){function e(e,n){this.scheduler=e,this.delay=n}return e.prototype.call=function(e,n){return new j(n,this.delay,this.scheduler).subscribe(e)},e}(),F=t(548);var U=function(e){function n(e,t){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==typeof n&&"function"!==typeof n?e:n}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,(function(e){var n=o.__notifier.subscribe(e);return n&&!n.closed&&e.next(o.value),n})));return o.value=t,o.__notifier=new f,o.__subscription=e.subscribe((function(e){e!==o.value&&(o.value=e,o.__notifier.next(e))})),o}return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}(n,e),n}(c.a);function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=s.constructor,t=new n(s.SchedulerAction);var o=new f,r=void 0,a=function(n){r=n;var a=(new f).pipe(b(t)),i=(new f).pipe(b(t)),s=new F.a(a),c=new U(i,r.getState());return o.pipe(Object(_.a)((function(n){var t="dependencies"in e?n(s,c,e.dependencies):n(s,c);if(!t)throw new TypeError('Your root Epic "'+(n.name||"<anonymous>")+"\" does not return a stream. Double check you're not missing a return statement!");return t})),Object(E.a)((function(e){return Object(v.a)(e).pipe(N(t),b(t))}))).subscribe(r.dispatch),function(e){return function(n){var t=e(n);return i.next(r.getState()),a.next(n),t}}};return a.run=function(e){o.next(e)},a}},function(e,n,t){"use strict";t.d(n,"a",(function(){return K}));var o,r=t(17),a=t(0),i=t.n(a),s=t(42),c=t(26),u=t(55),l=t(33),d=t(89),p=t(94),m=t(44),h=t(70),f=t(23),g=t(153);function v(e,n,t){void 0===n&&(n=o.All);var i=void 0===t?{}:t,s=i.initialFocus,c=i.containers,u=Object(a.useRef)("undefined"!==typeof window?document.activeElement:null),d=Object(a.useRef)(null),p=Object(g.a)(),m=Boolean(n&o.RestoreFocus),v=Boolean(n&o.InitialFocus);Object(a.useEffect)((function(){m&&(u.current=document.activeElement)}),[m]),Object(a.useEffect)((function(){if(m)return function(){Object(f.d)(u.current),u.current=null}}),[m]),Object(a.useEffect)((function(){if(v&&e.current){var n=document.activeElement;if(null==s?void 0:s.current){if((null==s?void 0:s.current)===n)return void(d.current=n)}else if(e.current.contains(n))return void(d.current=n);(null==s?void 0:s.current)?Object(f.d)(s.current):Object(f.e)(e.current,f.a.First)===f.b.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),d.current=document.activeElement}}),[e,s,v]),Object(h.a)("keydown",(function(t){n&o.TabLock&&e.current&&t.key===l.a.Tab&&(t.preventDefault(),Object(f.e)(e.current,(t.shiftKey?f.a.Previous:f.a.Next)|f.a.WrapAround)===f.b.Success&&(d.current=document.activeElement))})),Object(h.a)("focus",(function(t){if(n&o.FocusLock){var a=new Set(null==c?void 0:c.current);if(a.add(e),a.size){var i=d.current;if(i&&p.current){var s=t.target;s&&s instanceof HTMLElement?!function(e,n){for(var t,o=Object(r.a)(e);!(t=o()).done;){var a;if(null==(a=t.value.current)?void 0:a.contains(n))return!0}return!1}(a,s)?(t.preventDefault(),t.stopPropagation(),Object(f.d)(i)):(d.current=s,Object(f.d)(s)):Object(f.d)(d.current)}}}}),!0)}!function(e){e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All"}(o||(o={}));var y=t(39),b=new Set,C=new Map;function w(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function S(e){var n=C.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert)}var _=Object(a.createContext)(!1);function E(e){return i.a.createElement(_.Provider,{value:e.force},e.children)}var x=t(53);function O(){var e=Object(a.useContext)(_),n=Object(a.useContext)(P),t=Object(a.useState)((function(){if(!e&&null!==n)return null;if("undefined"===typeof window)return null;var t=document.getElementById("headlessui-portal-root");if(t)return t;var o=document.createElement("div");return o.setAttribute("id","headlessui-portal-root"),document.body.appendChild(o)})),o=t[0],r=t[1];return Object(a.useEffect)((function(){e||null!==n&&r(n.current)}),[n,r,e]),o}var A=a.Fragment;function k(e){var n=e,t=O(),o=Object(a.useState)((function(){return"undefined"===typeof window?null:document.createElement("div")}))[0],r=Object(p.a)();return Object(y.a)((function(){if(t&&o)return t.appendChild(o),function(){var e;t&&(o&&(t.removeChild(o),t.childNodes.length<=0&&(null==(e=t.parentElement)||e.removeChild(t))))}}),[t,o]),r&&t&&o?Object(x.createPortal)(Object(c.d)({props:n,defaultTag:A,name:"Portal"}),o):null}var T=a.Fragment,P=Object(a.createContext)(null);k.Group=function(e){var n=e.target,t=Object(r.c)(e,["target"]);return i.a.createElement(P.Provider,{value:n},Object(c.d)({props:t,defaultTag:T,name:"Popover.Group"}))};var M,I,R,j,N=t(84),L=t(43),F=Object(a.createContext)((function(){}));function U(e){var n=e.children,t=e.onUpdate,o=e.type,r=e.element,s=Object(a.useContext)(F),c=Object(a.useCallback)((function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];null==t||t.apply(void 0,n),s.apply(void 0,n)}),[s,t]);return Object(y.a)((function(){return c(M.Add,o,r),function(){return c(M.Remove,o,r)}}),[c,o,r]),i.a.createElement(F.Provider,{value:c},n)}F.displayName="StackContext",function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(M||(M={})),function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(R||(R={})),function(e){e[e.SetTitleId=0]="SetTitleId"}(j||(j={}));var D=((I={})[j.SetTitleId]=function(e,n){return e.titleId===n.id?e:Object(r.b)({},e,{titleId:n.id})},I),B=Object(a.createContext)(null);function z(e){var n=Object(a.useContext)(B);if(null===n){var t=new Error("<"+e+" /> is missing a parent <"+K.displayName+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,z),t}return n}function V(e,n){return Object(s.a)(n.type,D,e,n)}B.displayName="DialogContext";var G=c.a.RenderStrategy|c.a.Static,H=Object(c.c)((function(e,n){var t,d=e.open,f=e.onClose,g=e.initialFocus,_=Object(r.c)(e,["open","onClose","initialFocus"]),x=Object(a.useState)(0),O=x[0],A=x[1],T=Object(L.c)();void 0===d&&null!==T&&(d=Object(s.a)(T,((t={})[L.b.Open]=!0,t[L.b.Closed]=!1,t)));var P=Object(a.useRef)(new Set),I=Object(a.useRef)(null),F=Object(u.a)(I,n),D=e.hasOwnProperty("open")||null!==T,z=e.hasOwnProperty("onClose");if(!D&&!z)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!D)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!z)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!==typeof d)throw new Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: "+d);if("function"!==typeof f)throw new Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: "+f);var H=d?R.Open:R.Closed,q=null!==T?T===L.b.Open:H===R.Open,K=Object(a.useReducer)(V,{titleId:null,descriptionId:null}),W=K[0],$=K[1],Y=Object(a.useCallback)((function(){return f(!1)}),[f]),Q=Object(a.useCallback)((function(e){return $({type:j.SetTitleId,id:e})}),[$]),J=Object(p.a)()&&H===R.Open,Z=O>1,X=null!==Object(a.useContext)(B),ee=Z?"parent":"leaf";v(I,J?Object(s.a)(ee,{parent:o.RestoreFocus,leaf:o.All}):o.None,{initialFocus:g,containers:P}),function(e,n){void 0===n&&(n=!0),Object(y.a)((function(){if(n&&e.current){var t=e.current;b.add(t);for(var o,a=Object(r.a)(C.keys());!(o=a()).done;){var i=o.value;i.contains(t)&&(S(i),C.delete(i))}return document.querySelectorAll("body > *").forEach((function(e){if(e instanceof HTMLElement){for(var n,t=Object(r.a)(b);!(n=t()).done;){var o=n.value;if(e.contains(o))return}1===b.size&&(C.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),w(e))}})),function(){if(b.delete(t),b.size>0)document.querySelectorAll("body > *").forEach((function(e){if(e instanceof HTMLElement&&!C.has(e)){for(var n,t=Object(r.a)(b);!(n=t()).done;){var o=n.value;if(e.contains(o))return}C.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),w(e)}}));else for(var e,n=Object(r.a)(C.keys());!(e=n()).done;){var o=e.value;S(o),C.delete(o)}}}}),[n])}(I,!!Z&&J),Object(h.a)("mousedown",(function(e){var n,t=e.target;H===R.Open&&(Z||(null==(n=I.current)?void 0:n.contains(t))||Y())})),Object(h.a)("keydown",(function(e){e.key===l.a.Escape&&H===R.Open&&(Z||(e.preventDefault(),e.stopPropagation(),Y()))})),Object(a.useEffect)((function(){if(H===R.Open&&!X){var e=document.documentElement.style.overflow,n=document.documentElement.style.paddingRight,t=window.innerWidth-document.documentElement.clientWidth;return document.documentElement.style.overflow="hidden",document.documentElement.style.paddingRight=t+"px",function(){document.documentElement.style.overflow=e,document.documentElement.style.paddingRight=n}}}),[H,X]),Object(a.useEffect)((function(){if(H===R.Open&&I.current){var e=new IntersectionObserver((function(e){for(var n,t=Object(r.a)(e);!(n=t()).done;){var o=n.value;0===o.boundingClientRect.x&&0===o.boundingClientRect.y&&0===o.boundingClientRect.width&&0===o.boundingClientRect.height&&Y()}}));return e.observe(I.current),function(){return e.disconnect()}}}),[H,I,Y]);var ne=Object(N.b)(),te=ne[0],oe=ne[1],re="headlessui-dialog-"+Object(m.a)(),ae=Object(a.useMemo)((function(){return[{dialogState:H,close:Y,setTitleId:Q},W]}),[H,W,Y,Q]),ie=Object(a.useMemo)((function(){return{open:H===R.Open}}),[H]),se={ref:F,id:re,role:"dialog","aria-modal":H===R.Open||void 0,"aria-labelledby":W.titleId,"aria-describedby":te,onClick:function(e){e.stopPropagation()}},ce=_;return i.a.createElement(U,{type:"Dialog",element:I,onUpdate:Object(a.useCallback)((function(e,n,t){var o;"Dialog"===n&&Object(s.a)(e,((o={})[M.Add]=function(){P.current.add(t),A((function(e){return e+1}))},o[M.Remove]=function(){P.current.add(t),A((function(e){return e-1}))},o))}),[])},i.a.createElement(E,{force:!0},i.a.createElement(k,null,i.a.createElement(B.Provider,{value:ae},i.a.createElement(k.Group,{target:I},i.a.createElement(E,{force:!1},i.a.createElement(oe,{slot:ie,name:"Dialog.Description"},Object(c.d)({props:Object(r.b)({},ce,se),slot:ie,defaultTag:"div",features:G,visible:q,name:"Dialog"}))))))))})),q=Object(c.c)((function e(n,t){var o=z([K.displayName,e.name].join("."))[0],i=o.dialogState,s=o.close,l=Object(u.a)(t),p="headlessui-dialog-overlay-"+Object(m.a)(),h=Object(a.useCallback)((function(e){if(Object(d.a)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),s()}),[s]),f=Object(a.useMemo)((function(){return{open:i===R.Open}}),[i]),g={ref:l,id:p,"aria-hidden":!0,onClick:h},v=n;return Object(c.d)({props:Object(r.b)({},v,g),slot:f,defaultTag:"div",name:"Dialog.Overlay"})}));var K=Object.assign(H,{Overlay:q,Title:function e(n){var t=z([K.displayName,e.name].join("."))[0],o=t.dialogState,i=t.setTitleId,s="headlessui-dialog-title-"+Object(m.a)();Object(a.useEffect)((function(){return i(s),function(){return i(null)}}),[s,i]);var u=Object(a.useMemo)((function(){return{open:o===R.Open}}),[o]),l={id:s},d=n;return Object(c.d)({props:Object(r.b)({},d,l),slot:u,defaultTag:"h2",name:"Dialog.Title"})},Description:N.a})},function(e,n,t){"use strict";t.d(n,"a",(function(){return P}));var o,r=t(17),a=t(0),i=t.n(a),s=t(42),c=t(26),u=t(39),l=t(94),d=t(44),p=t(153),m=t(43);function h(){var e=Object(a.useRef)(!0);return Object(a.useEffect)((function(){e.current=!1}),[]),e.current}function f(){var e=[],n={requestAnimationFrame:function(e){function n(){return e.apply(this,arguments)}return n.toString=function(){return e.toString()},n}((function(){var e=requestAnimationFrame.apply(void 0,arguments);n.add((function(){return cancelAnimationFrame(e)}))})),nextFrame:function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n.requestAnimationFrame((function(){n.requestAnimationFrame.apply(n,t)}))},setTimeout:function(e){function n(){return e.apply(this,arguments)}return n.toString=function(){return e.toString()},n}((function(){var e=setTimeout.apply(void 0,arguments);n.add((function(){return clearTimeout(e)}))})),add:function(n){e.push(n)},dispose:function(){for(var n,t=Object(r.a)(e.splice(0));!(n=t()).done;){var o=n.value;o()}}};return n}function g(e){for(var n,t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];e&&o.length>0&&(n=e.classList).add.apply(n,o)}function v(e){for(var n,t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];e&&o.length>0&&(n=e.classList).remove.apply(n,o)}function y(e,n,t,r,a,i){var s=f(),c=void 0!==i?function(e){var n={called:!1};return function(){if(!n.called)return n.called=!0,e.apply(void 0,arguments)}}(i):function(){};return v.apply(void 0,[e].concat(a)),g.apply(void 0,[e].concat(n,t)),s.nextFrame((function(){v.apply(void 0,[e].concat(t)),g.apply(void 0,[e].concat(r)),s.add(function(e,n){var t=f();if(!e)return t.dispose;var r=getComputedStyle(e),a=[r.transitionDuration,r.transitionDelay].map((function(e){var n=e.split(",").filter(Boolean).map((function(e){return e.includes("ms")?parseFloat(e):1e3*parseFloat(e)})).sort((function(e,n){return n-e}))[0];return void 0===n?0:n})),i=a[0],s=a[1];return 0!==i?t.setTimeout((function(){n(o.Finished)}),i+s):n(o.Finished),t.add((function(){return n(o.Cancelled)})),t.dispose}(e,(function(t){return v.apply(void 0,[e].concat(r,n)),g.apply(void 0,[e].concat(a)),c(t)})))})),s.add((function(){return v.apply(void 0,[e].concat(n,t,r,a))})),s.add((function(){return c(o.Cancelled)})),s.dispose}function b(e){return void 0===e&&(e=""),Object(a.useMemo)((function(){return e.split(" ").filter((function(e){return e.trim().length>1}))}),[e])}!function(e){e.Finished="finished",e.Cancelled="cancelled"}(o||(o={}));var C,w=Object(a.createContext)(null);w.displayName="TransitionContext",function(e){e.Visible="visible",e.Hidden="hidden"}(C||(C={}));var S=Object(a.createContext)(null);function _(e){return"children"in e?_(e.children):e.current.filter((function(e){return e.state===C.Visible})).length>0}function E(e){var n=Object(a.useRef)(e),t=Object(a.useRef)([]),o=Object(p.a)();Object(a.useEffect)((function(){n.current=e}),[e]);var r=Object(a.useCallback)((function(e,r){var a;void 0===r&&(r=c.b.Hidden);var i=t.current.findIndex((function(n){return n.id===e}));-1!==i&&(Object(s.a)(r,((a={})[c.b.Unmount]=function(){t.current.splice(i,1)},a[c.b.Hidden]=function(){t.current[i].state=C.Hidden},a)),!_(t)&&o.current&&(null==n.current||n.current()))}),[n,o,t]),i=Object(a.useCallback)((function(e){var n=t.current.find((function(n){return n.id===e}));return n?n.state!==C.Visible&&(n.state=C.Visible):t.current.push({id:e,state:C.Visible}),function(){return r(e,c.b.Unmount)}}),[t,r]);return Object(a.useMemo)((function(){return{children:t,register:i,unregister:r}}),[i,r,t])}function x(){}S.displayName="NestingContext";var O=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function A(e){for(var n,t={},o=Object(r.a)(O);!(n=o()).done;){var a,i=n.value;t[i]=null!=(a=e[i])?a:x}return t}var k=c.a.RenderStrategy;function T(e){var n,t=e.beforeEnter,p=e.afterEnter,f=e.beforeLeave,g=e.afterLeave,v=e.enter,x=e.enterFrom,O=e.enterTo,T=e.entered,P=e.leave,M=e.leaveFrom,I=e.leaveTo,R=Object(r.c)(e,["beforeEnter","afterEnter","beforeLeave","afterLeave","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"]),j=Object(a.useRef)(null),N=Object(a.useState)(C.Visible),L=N[0],F=N[1],U=R.unmount?c.b.Unmount:c.b.Hidden,D=function(){var e=Object(a.useContext)(w);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),B=D.show,z=D.appear,V=function(){var e=Object(a.useContext)(S);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),G=V.register,H=V.unregister,q=h(),K=Object(d.a)(),W=Object(a.useRef)(!1),$=E((function(){W.current||(F(C.Hidden),H(K),te.current.afterLeave())}));Object(u.a)((function(){if(K)return G(K)}),[G,K]),Object(u.a)((function(){var e;U===c.b.Hidden&&K&&(B&&L!==C.Visible?F(C.Visible):Object(s.a)(L,((e={})[C.Hidden]=function(){return H(K)},e[C.Visible]=function(){return G(K)},e)))}),[L,K,G,H,B,U]);var Y=b(v),Q=b(x),J=b(O),Z=b(T),X=b(P),ee=b(M),ne=b(I),te=function(e){var n=Object(a.useRef)(A(e));return Object(a.useEffect)((function(){n.current=A(e)}),[e]),n}({beforeEnter:t,afterEnter:p,beforeLeave:f,afterLeave:g}),oe=Object(l.a)();Object(a.useEffect)((function(){if(oe&&L===C.Visible&&null===j.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[j,L,oe]);var re=q&&!z;Object(u.a)((function(){var e=j.current;if(e&&!re)return W.current=!0,B&&te.current.beforeEnter(),B||te.current.beforeLeave(),B?y(e,Y,Q,J,Z,(function(e){W.current=!1,e===o.Finished&&te.current.afterEnter()})):y(e,X,ee,ne,Z,(function(e){W.current=!1,e===o.Finished&&(_($)||(F(C.Hidden),H(K),te.current.afterLeave()))}))}),[te,K,W,H,$,j,re,B,Y,Q,J,X,ee,ne]);var ae={ref:j},ie=R;return i.a.createElement(S.Provider,{value:$},i.a.createElement(m.a,{value:Object(s.a)(L,(n={},n[C.Visible]=m.b.Open,n[C.Hidden]=m.b.Closed,n))},Object(c.d)({props:Object(r.b)({},ie,ae),defaultTag:"div",features:k,visible:L===C.Visible,name:"Transition.Child"})))}function P(e){var n,t=e.show,o=e.appear,u=void 0!==o&&o,l=e.unmount,d=Object(r.c)(e,["show","appear","unmount"]),p=Object(m.c)();void 0===t&&null!==p&&(t=Object(s.a)(p,((n={})[m.b.Open]=!0,n[m.b.Closed]=!1,n)));if(![!0,!1].includes(t))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");var f=Object(a.useState)(t?C.Visible:C.Hidden),g=f[0],v=f[1],y=E((function(){v(C.Hidden)})),b=h(),x=Object(a.useMemo)((function(){return{show:t,appear:u||!b}}),[t,u,b]);Object(a.useEffect)((function(){t?v(C.Visible):_(y)||v(C.Hidden)}),[t,y]);var O={unmount:l};return i.a.createElement(S.Provider,{value:y},i.a.createElement(w.Provider,{value:x},Object(c.d)({props:Object(r.b)({},O,{as:a.Fragment,children:i.a.createElement(T,Object.assign({},O,d))}),defaultTag:a.Fragment,features:k,visible:g===C.Visible,name:"Transition"})))}P.Child=function(e){var n=null!==Object(a.useContext)(w),t=null!==Object(m.c)();return!n&&t?i.a.createElement(P,Object.assign({},e)):i.a.createElement(T,Object.assign({},e))},P.Root=P},function(e,n,t){"use strict";t.d(n,"a",(function(){return h}));var o=t(1),r=t(131),a=t(199),i={keyPrefix:"aws-amplify-cache",capacityInBytes:1048576,itemMaxSize:21e4,defaultTTL:2592e5,defaultPriority:5,warningThreshold:.8,storage:(new(t(515).a)).getStorage()};function s(e){var n=0;n=e.length;for(var t=e.length;t>=0;t-=1){var o=e.charCodeAt(t);o>127&&o<=2047?n+=1:o>2047&&o<=65535&&(n+=2),o>=56320&&o<=57343&&(t-=1)}return n}function c(){return(new Date).getTime()}function u(e){return Number.isInteger?Number.isInteger(e):function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e}(e)}var l={},d=(function(){function e(){}e.clear=function(){l={}},e.getItem=function(e){return l[e]||null},e.setItem=function(e,n){l[e]=n},e.removeItem=function(e){delete l[e]}}(),new r.a("StorageCache")),p=function(){function e(e){this.config=Object.assign({},e),this.cacheCurSizeKey=this.config.keyPrefix+"CurSize",this.checkConfig()}return e.prototype.getModuleName=function(){return"Cache"},e.prototype.checkConfig=function(){u(this.config.capacityInBytes)||(d.error("Invalid parameter: capacityInBytes. It should be an Integer. Setting back to default."),this.config.capacityInBytes=i.capacityInBytes),u(this.config.itemMaxSize)||(d.error("Invalid parameter: itemMaxSize. It should be an Integer. Setting back to default."),this.config.itemMaxSize=i.itemMaxSize),u(this.config.defaultTTL)||(d.error("Invalid parameter: defaultTTL. It should be an Integer. Setting back to default."),this.config.defaultTTL=i.defaultTTL),u(this.config.defaultPriority)||(d.error("Invalid parameter: defaultPriority. It should be an Integer. Setting back to default."),this.config.defaultPriority=i.defaultPriority),this.config.itemMaxSize>this.config.capacityInBytes&&(d.error("Invalid parameter: itemMaxSize. It should be smaller than capacityInBytes. Setting back to default."),this.config.itemMaxSize=i.itemMaxSize),(this.config.defaultPriority>5||this.config.defaultPriority<1)&&(d.error("Invalid parameter: defaultPriority. It should be between 1 and 5. Setting back to default."),this.config.defaultPriority=i.defaultPriority),(Number(this.config.warningThreshold)>1||Number(this.config.warningThreshold)<0)&&(d.error("Invalid parameter: warningThreshold. It should be between 0 and 1. Setting back to default."),this.config.warningThreshold=i.warningThreshold);this.config.capacityInBytes>5242880&&(d.error("Cache Capacity should be less than 5MB. Setting back to default. Setting back to default."),this.config.capacityInBytes=i.capacityInBytes)},e.prototype.fillCacheItem=function(e,n,t){var o={key:e,data:n,timestamp:c(),visitedTime:c(),priority:t.priority,expires:t.expires,type:typeof n,byteSize:0};return o.byteSize=s(JSON.stringify(o)),o.byteSize=s(JSON.stringify(o)),o},e.prototype.configure=function(e){return e?(e.keyPrefix&&d.warn("Don't try to configure keyPrefix!"),this.config=Object.assign({},this.config,e,e.Cache),this.checkConfig(),this.config):this.config},e}(),m=new r.a("Cache"),h=new(function(e){function n(n){var t=this,o=n?Object.assign({},i,n):i;return(t=e.call(this,o)||this).config.storage=o.storage,t.getItem=t.getItem.bind(t),t.setItem=t.setItem.bind(t),t.removeItem=t.removeItem.bind(t),t}return Object(o.__extends)(n,e),n.prototype._decreaseCurSizeInBytes=function(e){var n=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(n-e).toString())},n.prototype._increaseCurSizeInBytes=function(e){var n=this.getCacheCurSize();this.config.storage.setItem(this.cacheCurSizeKey,(n+e).toString())},n.prototype._refreshItem=function(e,n){return e.visitedTime=c(),this.config.storage.setItem(n,JSON.stringify(e)),e},n.prototype._isExpired=function(e){var n=this.config.storage.getItem(e),t=JSON.parse(n);return c()>=t.expires},n.prototype._removeItem=function(e,n){var t=n||JSON.parse(this.config.storage.getItem(e)).byteSize;this._decreaseCurSizeInBytes(t),this.config.storage.removeItem(e)},n.prototype._setItem=function(e,n){this._increaseCurSizeInBytes(n.byteSize);try{this.config.storage.setItem(e,JSON.stringify(n))}catch(t){this._decreaseCurSizeInBytes(n.byteSize),m.error("Failed to set item "+t)}},n.prototype._sizeToPop=function(e){var n=this.getCacheCurSize()+e-this.config.capacityInBytes,t=(1-this.config.warningThreshold)*this.config.capacityInBytes;return n>t?n:t},n.prototype._isCacheFull=function(e){return e+this.getCacheCurSize()>this.config.capacityInBytes},n.prototype._findValidKeys=function(){for(var e=[],n=[],t=0;t<this.config.storage.length;t+=1)n.push(this.config.storage.key(t));for(t=0;t<n.length;t+=1){var o=n[t];0===o.indexOf(this.config.keyPrefix)&&o!==this.cacheCurSizeKey&&(this._isExpired(o)?this._removeItem(o):e.push(o))}return e},n.prototype._popOutItems=function(e,n){for(var t=[],o=n,r=0;r<e.length;r+=1){var a=this.config.storage.getItem(e[r]);if(null!=a){var i=JSON.parse(a);t.push(i)}}t.sort((function(e,n){return e.priority>n.priority?-1:e.priority<n.priority?1:e.visitedTime<n.visitedTime?-1:1}));for(r=0;r<t.length;r+=1)if(this._removeItem(t[r].key,t[r].byteSize),(o-=t[r].byteSize)<=0)return},n.prototype.setItem=function(e,n,t){m.log("Set item: key is "+e+", value is "+n+" with options: "+t);var o=this.config.keyPrefix+e;if(o!==this.config.keyPrefix&&o!==this.cacheCurSizeKey)if("undefined"!==typeof n){var r={priority:t&&void 0!==t.priority?t.priority:this.config.defaultPriority,expires:t&&void 0!==t.expires?t.expires:this.config.defaultTTL+c()};if(r.priority<1||r.priority>5)m.warn("Invalid parameter: priority due to out or range. It should be within 1 and 5.");else{var a=this.fillCacheItem(o,n,r);if(a.byteSize>this.config.itemMaxSize)m.warn("Item with key: "+e+" you are trying to put into is too big!");else try{var i=this.config.storage.getItem(o);if(i&&this._removeItem(o,JSON.parse(i).byteSize),this._isCacheFull(a.byteSize)){var s=this._findValidKeys();if(this._isCacheFull(a.byteSize)){var u=this._sizeToPop(a.byteSize);this._popOutItems(s,u)}}this._setItem(o,a)}catch(l){m.warn("setItem failed! "+l)}}}else m.warn("The value of item should not be undefined!");else m.warn("Invalid key: should not be empty or 'CurSize'")},n.prototype.getItem=function(e,n){m.log("Get item: key is "+e+" with options "+n);var t=null,o=this.config.keyPrefix+e;if(o===this.config.keyPrefix||o===this.cacheCurSizeKey)return m.warn("Invalid key: should not be empty or 'CurSize'"),null;try{if(null!=(t=this.config.storage.getItem(o))){if(!this._isExpired(o)){var r=JSON.parse(t);return(r=this._refreshItem(r,o)).data}this._removeItem(o,JSON.parse(t).byteSize),t=null}if(n&&void 0!==n.callback){var a=n.callback();return null!==a&&this.setItem(e,a,n),a}return null}catch(i){return m.warn("getItem failed! "+i),null}},n.prototype.removeItem=function(e){m.log("Remove item: key is "+e);var n=this.config.keyPrefix+e;if(n!==this.config.keyPrefix&&n!==this.cacheCurSizeKey)try{var t=this.config.storage.getItem(n);t&&this._removeItem(n,JSON.parse(t).byteSize)}catch(o){m.warn("removeItem failed! "+o)}},n.prototype.clear=function(){m.log("Clear Cache");for(var e=[],n=0;n<this.config.storage.length;n+=1){var t=this.config.storage.key(n);0===t.indexOf(this.config.keyPrefix)&&e.push(t)}try{for(n=0;n<e.length;n+=1)this.config.storage.removeItem(e[n])}catch(o){m.warn("clear failed! "+o)}},n.prototype.getAllKeys=function(){for(var e=[],n=0;n<this.config.storage.length;n+=1){var t=this.config.storage.key(n);0===t.indexOf(this.config.keyPrefix)&&t!==this.cacheCurSizeKey&&e.push(t.substring(this.config.keyPrefix.length))}return e},n.prototype.getCacheCurSize=function(){var e=this.config.storage.getItem(this.cacheCurSizeKey);return e||(this.config.storage.setItem(this.cacheCurSizeKey,"0"),e="0"),Number(e)},n.prototype.createInstance=function(e){return e.keyPrefix&&e.keyPrefix!==i.keyPrefix||(m.error("invalid keyPrefix, setting keyPrefix with timeStamp"),e.keyPrefix=c.toString()),new n(e)},n}(p));a.a.register(h)},function(e,n,t){"use strict";t.d(n,"a",(function(){return w}));var o=t(17),r=t(0),a=t.n(r),i=t(42),s=t(26),c=t(33),u=t(39),l=t(44),d=t(23),p=t(84);var m,h,f=t(106);!function(e){e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption"}(h||(h={}));var g=((m={})[h.RegisterOption]=function(e,n){return Object(o.b)({},e,{options:[].concat(e.options,[{id:n.id,element:n.element,propsRef:n.propsRef}])})},m[h.UnregisterOption]=function(e,n){var t=e.options.slice(),r=e.options.findIndex((function(e){return e.id===n.id}));return-1===r?e:(t.splice(r,1),Object(o.b)({},e,{options:t}))},m),v=Object(r.createContext)(null);function y(e){var n=Object(r.useContext)(v);if(null===n){var t=new Error("<"+e+" /> is missing a parent <"+w.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(t,y),t}return n}function b(e,n){return Object(i.a)(n.type,g,e,n)}v.displayName="RadioGroupContext";var C;function w(e){var n=e.value,t=e.onChange,i=e.disabled,m=void 0!==i&&i,g=Object(o.c)(e,["value","onChange","disabled"]),y=Object(r.useReducer)(b,{options:[]}),C=y[0].options,w=y[1],S=Object(f.b)(),_=S[0],E=S[1],x=Object(p.b)(),O=x[0],A=x[1],k="headlessui-radiogroup-"+Object(l.a)(),T=Object(r.useRef)(null),P=Object(r.useMemo)((function(){return C.find((function(e){return!e.propsRef.current.disabled}))}),[C]),M=Object(r.useMemo)((function(){return C.some((function(e){return e.propsRef.current.value===n}))}),[C,n]),I=Object(r.useCallback)((function(e){var o;if(m)return!1;if(e===n)return!1;var r=null==(o=C.find((function(n){return n.propsRef.current.value===e})))?void 0:o.propsRef.current;return!(null==r?void 0:r.disabled)&&(t(e),!0)}),[t,n,m,C]);!function(e){var n=e.container,t=e.accept,o=e.walk,a=e.enabled,i=void 0===a||a,s=Object(r.useRef)(t),c=Object(r.useRef)(o);Object(r.useEffect)((function(){s.current=t,c.current=o}),[t,o]),Object(u.a)((function(){if(n&&i)for(var e=s.current,t=c.current,o=Object.assign((function(n){return e(n)}),{acceptNode:e}),r=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,o,!1);r.nextNode();)t(r.currentNode)}),[n,i,s,c])}({container:T.current,accept:function(e){return"radio"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk:function(e){e.setAttribute("role","none")}});var R=Object(r.useCallback)((function(e){if(T.current){var n=C.filter((function(e){return!1===e.propsRef.current.disabled})).map((function(e){return e.element.current}));switch(e.key){case c.a.ArrowLeft:case c.a.ArrowUp:if(e.preventDefault(),e.stopPropagation(),Object(d.e)(n,d.a.Previous|d.a.WrapAround)===d.b.Success){var t=C.find((function(e){return e.element.current===document.activeElement}));t&&I(t.propsRef.current.value)}break;case c.a.ArrowRight:case c.a.ArrowDown:if(e.preventDefault(),e.stopPropagation(),Object(d.e)(n,d.a.Next|d.a.WrapAround)===d.b.Success){var o=C.find((function(e){return e.element.current===document.activeElement}));o&&I(o.propsRef.current.value)}break;case c.a.Space:e.preventDefault(),e.stopPropagation();var r=C.find((function(e){return e.element.current===document.activeElement}));r&&I(r.propsRef.current.value)}}}),[T,C,I]),j=Object(r.useCallback)((function(e){return w(Object(o.b)({type:h.RegisterOption},e)),function(){return w({type:h.UnregisterOption,id:e.id})}}),[w]),N=Object(r.useMemo)((function(){return{registerOption:j,firstOption:P,containsCheckedOption:M,change:I,disabled:m,value:n}}),[j,P,M,I,m,n]),L={ref:T,id:k,role:"radiogroup","aria-labelledby":_,"aria-describedby":O,onKeyDown:R};return a.a.createElement(A,{name:"RadioGroup.Description"},a.a.createElement(E,{name:"RadioGroup.Label"},a.a.createElement(v.Provider,{value:N},Object(s.d)({props:Object(o.b)({},g,L),defaultTag:"div",name:"RadioGroup"}))))}!function(e){e[e.Empty=1]="Empty",e[e.Active=2]="Active"}(C||(C={}));w.Option=function e(n){var t=Object(r.useRef)(null),i="headlessui-radiogroup-option-"+Object(l.a)(),c=Object(f.b)(),d=c[0],m=c[1],h=Object(p.b)(),g=h[0],v=h[1],b=function(e){void 0===e&&(e=0);var n=Object(r.useState)(e),t=n[0],o=n[1];return{addFlag:Object(r.useCallback)((function(e){return o((function(n){return n|e}))}),[o]),hasFlag:Object(r.useCallback)((function(e){return Boolean(t&e)}),[t]),removeFlag:Object(r.useCallback)((function(e){return o((function(n){return n&~e}))}),[o]),toggleFlag:Object(r.useCallback)((function(e){return o((function(n){return n^e}))}),[o])}}(C.Empty),S=b.addFlag,_=b.removeFlag,E=b.hasFlag,x=n.value,O=n.disabled,A=void 0!==O&&O,k=Object(o.c)(n,["value","disabled"]),T=Object(r.useRef)({value:x,disabled:A});Object(u.a)((function(){T.current.value=x}),[x,T]),Object(u.a)((function(){T.current.disabled=A}),[A,T]);var P=y([w.name,e.name].join(".")),M=P.registerOption,I=P.disabled,R=P.change,j=P.firstOption,N=P.containsCheckedOption,L=P.value;Object(u.a)((function(){return M({id:i,element:t,propsRef:T})}),[i,M,t,n]);var F=Object(r.useCallback)((function(){var e;R(x)&&(S(C.Active),null==(e=t.current)||e.focus())}),[S,R,x]),U=Object(r.useCallback)((function(){return S(C.Active)}),[S]),D=Object(r.useCallback)((function(){return _(C.Active)}),[_]),B=(null==j?void 0:j.id)===i,z=I||A,V=L===x,G={ref:t,id:i,role:"radio","aria-checked":V?"true":"false","aria-labelledby":d,"aria-describedby":g,"aria-disabled":!!z||void 0,tabIndex:z?-1:V||!N&&B?0:-1,onClick:z?void 0:F,onFocus:z?void 0:U,onBlur:z?void 0:D},H=Object(r.useMemo)((function(){return{checked:V,disabled:z,active:E(C.Active)}}),[V,z,E]);return a.a.createElement(v,{name:"RadioGroup.Description"},a.a.createElement(m,{name:"RadioGroup.Label"},Object(s.d)({props:Object(o.b)({},k,G),slot:H,defaultTag:"div",name:"RadioGroup.Option"})))},w.Label=f.a,w.Description=p.a},function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var o=t(1),r=t(121),a=new(t(120).a)(r.a);var i=t(41),s=t(107);function c(e,n){void 0===n&&(n=a);var t,o=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new u(o,n))}}var u=function(){function e(e,n){this.delay=e,this.scheduler=n}return e.prototype.call=function(e,n){return n.subscribe(new l(e,this.delay,this.scheduler))},e}(),l=function(e){function n(n,t,o){var r=e.call(this,n)||this;return r.delay=t,r.scheduler=o,r.queue=[],r.active=!1,r.errored=!1,r}return o.__extends(n,e),n.dispatch=function(e){for(var n=e.source,t=n.queue,o=e.scheduler,r=e.destination;t.length>0&&t[0].time-o.now()<=0;)t.shift().notification.observe(r);if(t.length>0){var a=Math.max(0,t[0].time-o.now());this.schedule(e,a)}else this.unsubscribe(),n.active=!1},n.prototype._schedule=function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},n.prototype.scheduleNotification=function(e){if(!0!==this.errored){var n=this.scheduler,t=new d(n.now()+this.delay,e);this.queue.push(t),!1===this.active&&this._schedule(n)}},n.prototype._next=function(e){this.scheduleNotification(s.a.createNext(e))},n.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()},n.prototype._complete=function(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()},n}(i.a),d=function(){return function(e,n){this.time=e,this.notification=n}}()},function(e,n,t){"use strict";t.d(n,"a",(function(){return w}));var o=t(1),r=t(61),a=t(38),i=t(41),s=t(170);function c(e,n){return void 0===n&&(n=null),new f({method:"GET",url:e,headers:n})}function u(e,n,t){return new f({method:"POST",url:e,body:n,headers:t})}function l(e,n){return new f({method:"DELETE",url:e,headers:n})}function d(e,n,t){return new f({method:"PUT",url:e,body:n,headers:t})}function p(e,n,t){return new f({method:"PATCH",url:e,body:n,headers:t})}var m=Object(s.a)((function(e,n){return e.response}));function h(e,n){return m(new f({method:"GET",url:e,responseType:"json",headers:n}))}var f=function(e){function n(n){var t=e.call(this)||this,o={async:!0,createXHR:function(){return this.crossDomain?function(){if(r.a.XMLHttpRequest)return new r.a.XMLHttpRequest;if(r.a.XDomainRequest)return new r.a.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(r.a.XMLHttpRequest)return new r.a.XMLHttpRequest;var e=void 0;try{for(var n=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],t=0;t<3;t++)try{if(e=n[t],new r.a.ActiveXObject(e))break}catch(o){}return new r.a.ActiveXObject(e)}catch(o){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"===typeof n)o.url=n;else for(var a in n)n.hasOwnProperty(a)&&(o[a]=n[a]);return t.request=o,t}return o.__extends(n,e),n.prototype._subscribe=function(e){return new g(e,this.request)},n.create=function(){var e=function(e){return new n(e)};return e.get=c,e.post=u,e.delete=l,e.put=d,e.patch=p,e.getJSON=h,e}(),n}(a.a),g=function(e){function n(n,t){var o=e.call(this,n)||this;o.request=t,o.done=!1;var a=t.headers=t.headers||{};return t.crossDomain||o.getHeader(a,"X-Requested-With")||(a["X-Requested-With"]="XMLHttpRequest"),o.getHeader(a,"Content-Type")||r.a.FormData&&t.body instanceof r.a.FormData||"undefined"===typeof t.body||(a["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),t.body=o.serializeBody(t.body,o.getHeader(t.headers,"Content-Type")),o.send(),o}return o.__extends(n,e),n.prototype.next=function(e){this.done=!0;var n,t=this,o=t.xhr,r=t.request,a=t.destination;try{n=new v(e,o,r)}catch(i){return a.error(i)}a.next(n)},n.prototype.send=function(){var e=this.request,n=this.request,t=n.user,o=n.method,r=n.url,a=n.async,i=n.password,s=n.headers,c=n.body;try{var u=this.xhr=e.createXHR();this.setupEvents(u,e),t?u.open(o,r,a,t,i):u.open(o,r,a),a&&(u.timeout=e.timeout,u.responseType=e.responseType),"withCredentials"in u&&(u.withCredentials=!!e.withCredentials),this.setHeaders(u,s),c?u.send(c):u.send()}catch(l){this.error(l)}},n.prototype.serializeBody=function(e,n){if(!e||"string"===typeof e)return e;if(r.a.FormData&&e instanceof r.a.FormData)return e;if(n){var t=n.indexOf(";");-1!==t&&(n=n.substring(0,t))}switch(n){case"application/x-www-form-urlencoded":return Object.keys(e).map((function(n){return encodeURIComponent(n)+"="+encodeURIComponent(e[n])})).join("&");case"application/json":return JSON.stringify(e);default:return e}},n.prototype.setHeaders=function(e,n){for(var t in n)n.hasOwnProperty(t)&&e.setRequestHeader(t,n[t])},n.prototype.getHeader=function(e,n){for(var t in e)if(t.toLowerCase()===n.toLowerCase())return e[t]},n.prototype.setupEvents=function(e,n){var t=n.progressSubscriber;function o(e){var n,t=o,r=t.subscriber,a=t.progressSubscriber,i=t.request;a&&a.error(e);try{n=new C(this,i)}catch(s){n=s}r.error(n)}if(e.ontimeout=o,o.request=n,o.subscriber=this,o.progressSubscriber=t,e.upload&&"withCredentials"in e){var a,i;if(t)a=function(e){a.progressSubscriber.next(e)},r.a.XDomainRequest?e.onprogress=a:e.upload.onprogress=a,a.progressSubscriber=t;i=function(e){var n,t=i,o=t.progressSubscriber,r=t.subscriber,a=t.request;o&&o.error(e);try{n=new y("ajax error",this,a)}catch(s){n=s}r.error(n)},e.onerror=i,i.request=n,i.subscriber=this,i.progressSubscriber=t}function s(e){}function c(e){var n=c,t=n.subscriber,o=n.progressSubscriber,r=n.request;if(4===this.readyState){var a=1223===this.status?204:this.status,i="text"===this.responseType?this.response||this.responseText:this.response;if(0===a&&(a=i?200:0),a<400)o&&o.complete(),t.next(e),t.complete();else{o&&o.error(e);var s=void 0;try{s=new y("ajax error "+a,this,r)}catch(u){s=u}t.error(s)}}}e.onreadystatechange=s,s.subscriber=this,s.progressSubscriber=t,s.request=n,e.onload=c,c.subscriber=this,c.progressSubscriber=t,c.request=n},n.prototype.unsubscribe=function(){var n=this.done,t=this.xhr;!n&&t&&4!==t.readyState&&"function"===typeof t.abort&&t.abort(),e.prototype.unsubscribe.call(this)},n}(i.a),v=function(){return function(e,n,t){this.originalEvent=e,this.xhr=n,this.request=t,this.status=n.status,this.responseType=n.responseType||t.responseType,this.response=b(this.responseType,n)}}(),y=function(){function e(e,n,t){return Error.call(this),this.message=e,this.name="AjaxError",this.xhr=n,this.request=t,this.status=n.status,this.responseType=n.responseType||t.responseType,this.response=b(this.responseType,n),this}return e.prototype=Object.create(Error.prototype),e}();function b(e,n){switch(e){case"json":return function(e){return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null")}(n);case"xml":return n.responseXML;case"text":default:return"response"in n?n.response:n.responseText}}var C=function(e,n){return y.call(this,"ajax timeout",e,n),this.name="AjaxTimeoutError",this},w=function(){return f.create}()}]]);
//# sourceMappingURL=2.0a2e91af.chunk.js.map