// AWS SDK for JavaScript v2.4.6
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
!function e(t,r,i){function a(s,o){if(!r[s]){if(!t[s]){var u="function"==typeof require&&require;if(!o&&u)return u(s,!0);if(n)return n(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var p=r[s]={exports:{}};t[s][0].call(p.exports,function(e){var r=t[s][1][e];return a(r?r:e)},p,p.exports,e,t,r,i)}return r[s].exports}for(var n="function"==typeof require&&require,s=0;s<i.length;s++)a(i[s]);return a}({1:[function(e,t,r){var i=e("./core");i.apiLoader=function(e,t){return i.apiLoader.services[e][t]},i.apiLoader.services={},i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),"undefined"!=typeof window&&(window.AWS=i),"undefined"!=typeof t&&(t.exports=i),"undefined"!=typeof self&&(self.AWS=i),i.apiLoader.services.acm={},i.ACM=i.Service.defineService("acm",["2015-12-08"]),i.apiLoader.services.acm["2015-12-08"]={version:"2.0",metadata:{apiVersion:"2015-12-08",endpointPrefix:"acm",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"ACM",serviceFullName:"AWS Certificate Manager",signatureVersion:"v4",targetPrefix:"CertificateManager"},operations:{AddTagsToCertificate:{input:{type:"structure",required:["CertificateArn","Tags"],members:{CertificateArn:{},Tags:{shape:"S3"}}},http:{}},DeleteCertificate:{input:{type:"structure",required:["CertificateArn"],members:{CertificateArn:{}}},http:{}},DescribeCertificate:{input:{type:"structure",required:["CertificateArn"],members:{CertificateArn:{}}},output:{type:"structure",members:{Certificate:{type:"structure",members:{CertificateArn:{},DomainName:{},SubjectAlternativeNames:{shape:"Sc"},DomainValidationOptions:{type:"list",member:{type:"structure",required:["DomainName"],members:{DomainName:{},ValidationEmails:{type:"list",member:{}},ValidationDomain:{}}}},Serial:{},Subject:{},Issuer:{},CreatedAt:{type:"timestamp"},IssuedAt:{type:"timestamp"},Status:{},RevokedAt:{type:"timestamp"},RevocationReason:{},NotBefore:{type:"timestamp"},NotAfter:{type:"timestamp"},KeyAlgorithm:{},SignatureAlgorithm:{},InUseBy:{type:"list",member:{}}}}}},http:{}},GetCertificate:{input:{type:"structure",required:["CertificateArn"],members:{CertificateArn:{}}},output:{type:"structure",members:{Certificate:{},CertificateChain:{}}},http:{}},ListCertificates:{input:{type:"structure",members:{CertificateStatuses:{type:"list",member:{}},NextToken:{},MaxItems:{type:"integer"}}},output:{type:"structure",members:{NextToken:{},CertificateSummaryList:{type:"list",member:{type:"structure",members:{CertificateArn:{},DomainName:{}}}}}},http:{}},ListTagsForCertificate:{input:{type:"structure",required:["CertificateArn"],members:{CertificateArn:{}}},output:{type:"structure",members:{Tags:{shape:"S3"}}},http:{}},RemoveTagsFromCertificate:{input:{type:"structure",required:["CertificateArn","Tags"],members:{CertificateArn:{},Tags:{shape:"S3"}}},http:{}},RequestCertificate:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},SubjectAlternativeNames:{shape:"Sc"},IdempotencyToken:{},DomainValidationOptions:{type:"list",member:{type:"structure",required:["DomainName","ValidationDomain"],members:{DomainName:{},ValidationDomain:{}}}}}},output:{type:"structure",members:{CertificateArn:{}}},http:{}},ResendValidationEmail:{input:{type:"structure",required:["CertificateArn","Domain","ValidationDomain"],members:{CertificateArn:{},Domain:{},ValidationDomain:{}}},http:{}}},shapes:{S3:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sc:{type:"list",member:{}}},paginators:{ListCertificates:{limit_key:"MaxItems",input_token:"NextToken",output_token:"NextToken",result_key:"CertificateSummaryList"}}},i.apiLoader.services.apigateway={},i.APIGateway=i.Service.defineService("apigateway",["2015-07-09"]),e("./services/apigateway"),i.apiLoader.services.apigateway["2015-07-09"]={version:"2.0",metadata:{apiVersion:"2015-07-09",endpointPrefix:"apigateway",protocol:"rest-json",serviceFullName:"Amazon API Gateway",signatureVersion:"v4"},operations:{CreateApiKey:{http:{requestUri:"/apikeys",responseCode:201},input:{type:"structure",members:{name:{},description:{},enabled:{type:"boolean"},stageKeys:{type:"list",member:{type:"structure",members:{restApiId:{},stageName:{}}}}}},output:{shape:"S6"}},CreateAuthorizer:{http:{requestUri:"/restapis/{restapi_id}/authorizers",responseCode:201},input:{type:"structure",required:["restApiId","name","type","authorizerUri","identitySource"],members:{restApiId:{location:"uri",locationName:"restapi_id"},name:{},type:{},authType:{},authorizerUri:{},authorizerCredentials:{},identitySource:{},identityValidationExpression:{},authorizerResultTtlInSeconds:{type:"integer"}}},output:{shape:"Sc"}},CreateBasePathMapping:{http:{requestUri:"/domainnames/{domain_name}/basepathmappings",responseCode:201},input:{type:"structure",required:["domainName","restApiId"],members:{domainName:{location:"uri",locationName:"domain_name"},basePath:{},restApiId:{},stage:{}}},output:{shape:"Se"}},CreateDeployment:{http:{requestUri:"/restapis/{restapi_id}/deployments",responseCode:201},input:{type:"structure",required:["restApiId","stageName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{},stageDescription:{},description:{},cacheClusterEnabled:{type:"boolean"},cacheClusterSize:{},variables:{shape:"Si"}}},output:{shape:"Sj"}},CreateDomainName:{http:{requestUri:"/domainnames",responseCode:201},input:{type:"structure",required:["domainName","certificateName","certificateBody","certificatePrivateKey","certificateChain"],members:{domainName:{},certificateName:{},certificateBody:{},certificatePrivateKey:{},certificateChain:{}}},output:{shape:"So"}},CreateModel:{http:{requestUri:"/restapis/{restapi_id}/models",responseCode:201},input:{type:"structure",required:["restApiId","name","contentType"],members:{restApiId:{location:"uri",locationName:"restapi_id"},name:{},description:{},schema:{},contentType:{}}},output:{shape:"Sq"}},CreateResource:{http:{requestUri:"/restapis/{restapi_id}/resources/{parent_id}",responseCode:201},input:{type:"structure",required:["restApiId","parentId","pathPart"],members:{restApiId:{location:"uri",locationName:"restapi_id"},parentId:{location:"uri",locationName:"parent_id"},pathPart:{}}},output:{shape:"Ss"}},CreateRestApi:{http:{requestUri:"/restapis",responseCode:201},input:{type:"structure",required:["name"],members:{name:{},description:{},cloneFrom:{}}},output:{shape:"S14"}},CreateStage:{http:{requestUri:"/restapis/{restapi_id}/stages",responseCode:201},input:{type:"structure",required:["restApiId","stageName","deploymentId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{},deploymentId:{},description:{},cacheClusterEnabled:{type:"boolean"},cacheClusterSize:{},variables:{shape:"Si"}}},output:{shape:"S16"}},DeleteApiKey:{http:{method:"DELETE",requestUri:"/apikeys/{api_Key}",responseCode:202},input:{type:"structure",required:["apiKey"],members:{apiKey:{location:"uri",locationName:"api_Key"}}}},DeleteAuthorizer:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/authorizers/{authorizer_id}",responseCode:202},input:{type:"structure",required:["restApiId","authorizerId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},authorizerId:{location:"uri",locationName:"authorizer_id"}}}},DeleteBasePathMapping:{http:{method:"DELETE",requestUri:"/domainnames/{domain_name}/basepathmappings/{base_path}",responseCode:202},input:{type:"structure",required:["domainName","basePath"],members:{domainName:{location:"uri",locationName:"domain_name"},basePath:{location:"uri",locationName:"base_path"}}}},DeleteClientCertificate:{http:{method:"DELETE",requestUri:"/clientcertificates/{clientcertificate_id}",responseCode:202},input:{type:"structure",required:["clientCertificateId"],members:{clientCertificateId:{location:"uri",locationName:"clientcertificate_id"}}}},DeleteDeployment:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/deployments/{deployment_id}",responseCode:202},input:{type:"structure",required:["restApiId","deploymentId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},deploymentId:{location:"uri",locationName:"deployment_id"}}}},DeleteDomainName:{http:{method:"DELETE",requestUri:"/domainnames/{domain_name}",responseCode:202},input:{type:"structure",required:["domainName"],members:{domainName:{location:"uri",locationName:"domain_name"}}}},DeleteIntegration:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",responseCode:204},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"}}}},DeleteIntegrationResponse:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",responseCode:204},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"}}}},DeleteMethod:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",responseCode:204},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"}}}},DeleteMethodResponse:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",responseCode:204},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"}}}},DeleteModel:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/models/{model_name}",responseCode:202},input:{type:"structure",required:["restApiId","modelName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},modelName:{location:"uri",locationName:"model_name"}}}},DeleteResource:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/resources/{resource_id}",responseCode:202},input:{type:"structure",required:["restApiId","resourceId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"}}}},DeleteRestApi:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}",responseCode:202},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"}}}},DeleteStage:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/stages/{stage_name}",responseCode:202},input:{type:"structure",required:["restApiId","stageName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"}}}},FlushStageAuthorizersCache:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/stages/{stage_name}/cache/authorizers",responseCode:202},input:{type:"structure",required:["restApiId","stageName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"}}}},FlushStageCache:{http:{method:"DELETE",requestUri:"/restapis/{restapi_id}/stages/{stage_name}/cache/data",responseCode:202},input:{type:"structure",required:["restApiId","stageName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"}}}},GenerateClientCertificate:{http:{requestUri:"/clientcertificates",responseCode:201},input:{type:"structure",members:{description:{}}},output:{shape:"S1u"}},GetAccount:{http:{method:"GET",requestUri:"/account"},input:{type:"structure",members:{}},output:{shape:"S1w"}},GetApiKey:{http:{method:"GET",requestUri:"/apikeys/{api_Key}"},input:{type:"structure",required:["apiKey"],members:{apiKey:{location:"uri",locationName:"api_Key"}}},output:{shape:"S6"}},GetApiKeys:{http:{method:"GET",requestUri:"/apikeys"},input:{type:"structure",members:{position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"S6"}}}}},GetAuthorizer:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/authorizers/{authorizer_id}"},input:{type:"structure",required:["restApiId","authorizerId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},authorizerId:{location:"uri",locationName:"authorizer_id"}}},output:{shape:"Sc"}},GetAuthorizers:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/authorizers"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"Sc"}}}}},GetBasePathMapping:{http:{method:"GET",requestUri:"/domainnames/{domain_name}/basepathmappings/{base_path}"},input:{type:"structure",required:["domainName","basePath"],members:{domainName:{location:"uri",locationName:"domain_name"},basePath:{location:"uri",locationName:"base_path"}}},output:{shape:"Se"}},GetBasePathMappings:{http:{method:"GET",requestUri:"/domainnames/{domain_name}/basepathmappings"},input:{type:"structure",required:["domainName"],members:{domainName:{location:"uri",locationName:"domain_name"},position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"Se"}}}}},GetClientCertificate:{http:{method:"GET",requestUri:"/clientcertificates/{clientcertificate_id}"},input:{type:"structure",required:["clientCertificateId"],members:{clientCertificateId:{location:"uri",locationName:"clientcertificate_id"}}},output:{shape:"S1u"}},GetClientCertificates:{http:{method:"GET",requestUri:"/clientcertificates"},input:{type:"structure",members:{position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"S1u"}}}}},GetDeployment:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/deployments/{deployment_id}"},input:{type:"structure",required:["restApiId","deploymentId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},deploymentId:{location:"uri",locationName:"deployment_id"}}},output:{shape:"Sj"}},GetDeployments:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/deployments"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"Sj"}}}}},GetDomainName:{http:{method:"GET",requestUri:"/domainnames/{domain_name}"},input:{type:"structure",required:["domainName"],members:{domainName:{location:"uri",locationName:"domain_name"}}},output:{shape:"So"}},GetDomainNames:{http:{method:"GET",requestUri:"/domainnames"},input:{type:"structure",members:{position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"So"}}}}},GetExport:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/stages/{stage_name}/exports/{export_type}",responseCode:200},input:{type:"structure",required:["restApiId","stageName","exportType"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"},exportType:{location:"uri",locationName:"export_type"},parameters:{shape:"Si",location:"querystring"},accepts:{location:"header",locationName:"Accept"}}},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},contentDisposition:{location:"header",locationName:"Content-Disposition"},body:{type:"blob"}},payload:"body"}},GetIntegration:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"}}},output:{shape:"Sz"}},GetIntegrationResponse:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"}}},output:{shape:"S12"}},GetMethod:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"}}},output:{shape:"Su"}},GetMethodResponse:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}"},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"}}},output:{shape:"Sx"}},GetModel:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/models/{model_name}"},input:{type:"structure",required:["restApiId","modelName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},modelName:{location:"uri",locationName:"model_name"},flatten:{location:"querystring",locationName:"flatten",type:"boolean"}}},output:{shape:"Sq"}},GetModelTemplate:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/models/{model_name}/default_template"},input:{type:"structure",required:["restApiId","modelName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},modelName:{location:"uri",locationName:"model_name"}}},output:{type:"structure",members:{value:{}}}},GetModels:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/models"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"Sq"}}}}},GetResource:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/resources/{resource_id}"},input:{type:"structure",required:["restApiId","resourceId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"}}},output:{shape:"Ss"}},GetResources:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/resources"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"Ss"}}}}},GetRestApi:{http:{method:"GET",requestUri:"/restapis/{restapi_id}"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"}}},output:{shape:"S14"}},GetRestApis:{http:{method:"GET",requestUri:"/restapis"},input:{type:"structure",members:{position:{location:"querystring",locationName:"position"},limit:{location:"querystring",locationName:"limit",type:"integer"}}},output:{type:"structure",members:{position:{},items:{locationName:"item",type:"list",member:{shape:"S14"}}}}},GetSdk:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/stages/{stage_name}/sdks/{sdk_type}",responseCode:200},input:{type:"structure",required:["restApiId","stageName","sdkType"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"},sdkType:{location:"uri",locationName:"sdk_type"},parameters:{shape:"Si",location:"querystring"}}},output:{type:"structure",members:{contentType:{location:"header",locationName:"Content-Type"},contentDisposition:{location:"header",locationName:"Content-Disposition"},body:{type:"blob"}},payload:"body"}},GetStage:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/stages/{stage_name}"},input:{type:"structure",required:["restApiId","stageName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"}}},output:{shape:"S16"}},GetStages:{http:{method:"GET",requestUri:"/restapis/{restapi_id}/stages"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},deploymentId:{location:"querystring",locationName:"deploymentId"}}},output:{type:"structure",members:{item:{type:"list",member:{shape:"S16"}}}}},ImportRestApi:{http:{requestUri:"/restapis?mode=import",responseCode:201},input:{type:"structure",required:["body"],members:{failOnWarnings:{location:"querystring",locationName:"failonwarnings",type:"boolean"},parameters:{shape:"Si",location:"querystring"},body:{type:"blob"}},payload:"body"},output:{shape:"S14"}},PutIntegration:{http:{method:"PUT",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration",responseCode:201},input:{type:"structure",required:["restApiId","resourceId","httpMethod","type"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},type:{},integrationHttpMethod:{locationName:"httpMethod"},uri:{},credentials:{},requestParameters:{shape:"Si"},requestTemplates:{shape:"Si"},passthroughBehavior:{},cacheNamespace:{},cacheKeyParameters:{shape:"S7"}}},output:{shape:"Sz"}},PutIntegrationResponse:{http:{method:"PUT",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}",responseCode:201},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"},selectionPattern:{},responseParameters:{shape:"Si"},responseTemplates:{shape:"Si"}}},output:{shape:"S12"}},PutMethod:{http:{method:"PUT",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}",responseCode:201},input:{type:"structure",required:["restApiId","resourceId","httpMethod","authorizationType"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},authorizationType:{},authorizerId:{},apiKeyRequired:{type:"boolean"},requestParameters:{shape:"Sv"},requestModels:{shape:"Si"}}},output:{shape:"Su"}},PutMethodResponse:{http:{method:"PUT",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",responseCode:201},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"},responseParameters:{shape:"Sv"},responseModels:{shape:"Si"}}},output:{shape:"Sx"}},PutRestApi:{http:{method:"PUT",requestUri:"/restapis/{restapi_id}"},input:{type:"structure",required:["restApiId","body"],members:{restApiId:{location:"uri",locationName:"restapi_id"},mode:{location:"querystring",locationName:"mode"},failOnWarnings:{location:"querystring",locationName:"failonwarnings",type:"boolean"},parameters:{shape:"Si",location:"querystring"},body:{type:"blob"}},payload:"body"},output:{shape:"S14"}},TestInvokeAuthorizer:{http:{requestUri:"/restapis/{restapi_id}/authorizers/{authorizer_id}"},input:{type:"structure",required:["restApiId","authorizerId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},authorizerId:{location:"uri",locationName:"authorizer_id"},headers:{shape:"S3l"},pathWithQueryString:{},body:{},stageVariables:{shape:"Si"},additionalContext:{shape:"Si"}}},output:{type:"structure",members:{clientStatus:{type:"integer"},log:{},latency:{type:"long"},principalId:{},policy:{},authorization:{type:"map",key:{},value:{shape:"S7"}}}}},TestInvokeMethod:{http:{requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},pathWithQueryString:{},body:{},headers:{shape:"S3l"},clientCertificateId:{},stageVariables:{shape:"Si"}}},output:{type:"structure",members:{status:{type:"integer"},body:{},headers:{shape:"S3l"},log:{},latency:{type:"long"}}}},UpdateAccount:{http:{method:"PATCH",requestUri:"/account"},input:{type:"structure",members:{patchOperations:{shape:"S3s"}}},output:{shape:"S1w"}},UpdateApiKey:{http:{method:"PATCH",requestUri:"/apikeys/{api_Key}"},input:{type:"structure",required:["apiKey"],members:{apiKey:{location:"uri",locationName:"api_Key"},patchOperations:{shape:"S3s"}}},output:{shape:"S6"}},UpdateAuthorizer:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/authorizers/{authorizer_id}"},input:{type:"structure",required:["restApiId","authorizerId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},authorizerId:{location:"uri",locationName:"authorizer_id"},patchOperations:{shape:"S3s"}}},output:{shape:"Sc"}},UpdateBasePathMapping:{http:{method:"PATCH",requestUri:"/domainnames/{domain_name}/basepathmappings/{base_path}"},input:{type:"structure",required:["domainName","basePath"],members:{domainName:{location:"uri",locationName:"domain_name"},basePath:{location:"uri",locationName:"base_path"},patchOperations:{shape:"S3s"}}},output:{shape:"Se"}},UpdateClientCertificate:{http:{method:"PATCH",requestUri:"/clientcertificates/{clientcertificate_id}"},input:{type:"structure",required:["clientCertificateId"],members:{clientCertificateId:{location:"uri",locationName:"clientcertificate_id"},patchOperations:{shape:"S3s"}}},output:{shape:"S1u"}},UpdateDeployment:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/deployments/{deployment_id}"},input:{type:"structure",required:["restApiId","deploymentId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},deploymentId:{location:"uri",locationName:"deployment_id"},patchOperations:{shape:"S3s"}}},output:{shape:"Sj"}},UpdateDomainName:{http:{method:"PATCH",requestUri:"/domainnames/{domain_name}"},input:{type:"structure",required:["domainName"],members:{domainName:{location:"uri",locationName:"domain_name"},patchOperations:{shape:"S3s"}}},output:{shape:"So"}},UpdateIntegration:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration"},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},patchOperations:{shape:"S3s"}}},output:{shape:"Sz"}},UpdateIntegrationResponse:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/integration/responses/{status_code}"},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"},patchOperations:{shape:"S3s"}}},output:{shape:"S12"}},UpdateMethod:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}"},input:{type:"structure",required:["restApiId","resourceId","httpMethod"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},patchOperations:{shape:"S3s"}}},output:{shape:"Su"}},UpdateMethodResponse:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/resources/{resource_id}/methods/{http_method}/responses/{status_code}",responseCode:201},input:{type:"structure",required:["restApiId","resourceId","httpMethod","statusCode"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},httpMethod:{location:"uri",locationName:"http_method"},statusCode:{location:"uri",locationName:"status_code"},patchOperations:{shape:"S3s"}}},output:{shape:"Sx"}},UpdateModel:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/models/{model_name}"},input:{type:"structure",required:["restApiId","modelName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},modelName:{location:"uri",locationName:"model_name"},patchOperations:{shape:"S3s"}}},output:{shape:"Sq"}},UpdateResource:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/resources/{resource_id}"},input:{type:"structure",required:["restApiId","resourceId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},resourceId:{location:"uri",locationName:"resource_id"},patchOperations:{shape:"S3s"}}},output:{shape:"Ss"}},UpdateRestApi:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}"},input:{type:"structure",required:["restApiId"],members:{restApiId:{location:"uri",locationName:"restapi_id"},patchOperations:{shape:"S3s"}}},output:{shape:"S14"}},UpdateStage:{http:{method:"PATCH",requestUri:"/restapis/{restapi_id}/stages/{stage_name}"},input:{type:"structure",required:["restApiId","stageName"],members:{restApiId:{location:"uri",locationName:"restapi_id"},stageName:{location:"uri",locationName:"stage_name"},patchOperations:{shape:"S3s"}}},output:{shape:"S16"}}},shapes:{S6:{type:"structure",members:{id:{},name:{},description:{},enabled:{type:"boolean"},stageKeys:{shape:"S7"},createdDate:{type:"timestamp"},lastUpdatedDate:{type:"timestamp"}}},S7:{type:"list",member:{}},Sc:{type:"structure",members:{id:{},name:{},type:{},authType:{},authorizerUri:{},authorizerCredentials:{},identitySource:{},identityValidationExpression:{},authorizerResultTtlInSeconds:{type:"integer"}}},Se:{type:"structure",members:{basePath:{},restApiId:{},stage:{}}},Si:{type:"map",key:{},value:{}},Sj:{type:"structure",members:{id:{},description:{},createdDate:{type:"timestamp"},apiSummary:{type:"map",key:{},value:{type:"map",key:{},value:{type:"structure",members:{authorizationType:{},apiKeyRequired:{type:"boolean"}}}}}}},So:{type:"structure",members:{domainName:{},
certificateName:{},certificateUploadDate:{type:"timestamp"},distributionDomainName:{}}},Sq:{type:"structure",members:{id:{},name:{},description:{},schema:{},contentType:{}}},Ss:{type:"structure",members:{id:{},parentId:{},pathPart:{},path:{},resourceMethods:{type:"map",key:{},value:{shape:"Su"}}}},Su:{type:"structure",members:{httpMethod:{},authorizationType:{},authorizerId:{},apiKeyRequired:{type:"boolean"},requestParameters:{shape:"Sv"},requestModels:{shape:"Si"},methodResponses:{type:"map",key:{},value:{shape:"Sx"}},methodIntegration:{shape:"Sz"}}},Sv:{type:"map",key:{},value:{type:"boolean"}},Sx:{type:"structure",members:{statusCode:{},responseParameters:{shape:"Sv"},responseModels:{shape:"Si"}}},Sz:{type:"structure",members:{type:{},httpMethod:{},uri:{},credentials:{},requestParameters:{shape:"Si"},requestTemplates:{shape:"Si"},passthroughBehavior:{},cacheNamespace:{},cacheKeyParameters:{shape:"S7"},integrationResponses:{type:"map",key:{},value:{shape:"S12"}}}},S12:{type:"structure",members:{statusCode:{},selectionPattern:{},responseParameters:{shape:"Si"},responseTemplates:{shape:"Si"}}},S14:{type:"structure",members:{id:{},name:{},description:{},createdDate:{type:"timestamp"},warnings:{shape:"S7"}}},S16:{type:"structure",members:{deploymentId:{},clientCertificateId:{},stageName:{},description:{},cacheClusterEnabled:{type:"boolean"},cacheClusterSize:{},cacheClusterStatus:{},methodSettings:{type:"map",key:{},value:{type:"structure",members:{metricsEnabled:{type:"boolean"},loggingLevel:{},dataTraceEnabled:{type:"boolean"},throttlingBurstLimit:{type:"integer"},throttlingRateLimit:{type:"double"},cachingEnabled:{type:"boolean"},cacheTtlInSeconds:{type:"integer"},cacheDataEncrypted:{type:"boolean"},requireAuthorizationForCacheControl:{type:"boolean"},unauthorizedCacheControlHeaderStrategy:{}}}},variables:{shape:"Si"},createdDate:{type:"timestamp"},lastUpdatedDate:{type:"timestamp"}}},S1u:{type:"structure",members:{clientCertificateId:{},description:{},pemEncodedCertificate:{},createdDate:{type:"timestamp"},expirationDate:{type:"timestamp"}}},S1w:{type:"structure",members:{cloudwatchRoleArn:{},throttleSettings:{type:"structure",members:{burstLimit:{type:"integer"},rateLimit:{type:"double"}}}}},S3l:{type:"map",key:{},value:{}},S3s:{type:"list",member:{type:"structure",members:{op:{},path:{},value:{},from:{}}}}},paginators:{GetApiKeys:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetBasePathMappings:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetClientCertificates:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetDeployments:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetDomainNames:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetModels:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetResources:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"},GetRestApis:{input_token:"position",output_token:"position",limit_key:"limit",result_key:"items"}}},i.apiLoader.services.cloudfront={},i.CloudFront=i.Service.defineService("cloudfront",["2016-01-28"]),e("./services/cloudfront"),i.apiLoader.services.cloudfront["2016-01-28"]={version:"2.0",metadata:{apiVersion:"2016-01-28",endpointPrefix:"cloudfront",globalEndpoint:"cloudfront.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"CloudFront",serviceFullName:"Amazon CloudFront",signatureVersion:"v4"},operations:{CreateCloudFrontOriginAccessIdentity:{http:{requestUri:"/2016-01-28/origin-access-identity/cloudfront",responseCode:201},input:{type:"structure",required:["CloudFrontOriginAccessIdentityConfig"],members:{CloudFrontOriginAccessIdentityConfig:{shape:"S2",locationName:"CloudFrontOriginAccessIdentityConfig",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}}},payload:"CloudFrontOriginAccessIdentityConfig"},output:{type:"structure",members:{CloudFrontOriginAccessIdentity:{shape:"S5"},Location:{location:"header",locationName:"Location"},ETag:{location:"header",locationName:"ETag"}},payload:"CloudFrontOriginAccessIdentity"}},CreateDistribution:{http:{requestUri:"/2016-01-28/distribution",responseCode:201},input:{type:"structure",required:["DistributionConfig"],members:{DistributionConfig:{shape:"S7",locationName:"DistributionConfig",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}}},payload:"DistributionConfig"},output:{type:"structure",members:{Distribution:{shape:"S1l"},Location:{location:"header",locationName:"Location"},ETag:{location:"header",locationName:"ETag"}},payload:"Distribution"}},CreateInvalidation:{http:{requestUri:"/2016-01-28/distribution/{DistributionId}/invalidation",responseCode:201},input:{type:"structure",required:["DistributionId","InvalidationBatch"],members:{DistributionId:{location:"uri",locationName:"DistributionId"},InvalidationBatch:{shape:"S1t",locationName:"InvalidationBatch",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}}},payload:"InvalidationBatch"},output:{type:"structure",members:{Location:{location:"header",locationName:"Location"},Invalidation:{shape:"S1x"}},payload:"Invalidation"}},CreateStreamingDistribution:{http:{requestUri:"/2016-01-28/streaming-distribution",responseCode:201},input:{type:"structure",required:["StreamingDistributionConfig"],members:{StreamingDistributionConfig:{shape:"S1z",locationName:"StreamingDistributionConfig",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}}},payload:"StreamingDistributionConfig"},output:{type:"structure",members:{StreamingDistribution:{shape:"S23"},Location:{location:"header",locationName:"Location"},ETag:{location:"header",locationName:"ETag"}},payload:"StreamingDistribution"}},DeleteCloudFrontOriginAccessIdentity:{http:{method:"DELETE",requestUri:"/2016-01-28/origin-access-identity/cloudfront/{Id}",responseCode:204},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},IfMatch:{location:"header",locationName:"If-Match"}}}},DeleteDistribution:{http:{method:"DELETE",requestUri:"/2016-01-28/distribution/{Id}",responseCode:204},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},IfMatch:{location:"header",locationName:"If-Match"}}}},DeleteStreamingDistribution:{http:{method:"DELETE",requestUri:"/2016-01-28/streaming-distribution/{Id}",responseCode:204},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},IfMatch:{location:"header",locationName:"If-Match"}}}},GetCloudFrontOriginAccessIdentity:{http:{method:"GET",requestUri:"/2016-01-28/origin-access-identity/cloudfront/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{CloudFrontOriginAccessIdentity:{shape:"S5"},ETag:{location:"header",locationName:"ETag"}},payload:"CloudFrontOriginAccessIdentity"}},GetCloudFrontOriginAccessIdentityConfig:{http:{method:"GET",requestUri:"/2016-01-28/origin-access-identity/cloudfront/{Id}/config"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{CloudFrontOriginAccessIdentityConfig:{shape:"S2"},ETag:{location:"header",locationName:"ETag"}},payload:"CloudFrontOriginAccessIdentityConfig"}},GetDistribution:{http:{method:"GET",requestUri:"/2016-01-28/distribution/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Distribution:{shape:"S1l"},ETag:{location:"header",locationName:"ETag"}},payload:"Distribution"}},GetDistributionConfig:{http:{method:"GET",requestUri:"/2016-01-28/distribution/{Id}/config"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{DistributionConfig:{shape:"S7"},ETag:{location:"header",locationName:"ETag"}},payload:"DistributionConfig"}},GetInvalidation:{http:{method:"GET",requestUri:"/2016-01-28/distribution/{DistributionId}/invalidation/{Id}"},input:{type:"structure",required:["DistributionId","Id"],members:{DistributionId:{location:"uri",locationName:"DistributionId"},Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Invalidation:{shape:"S1x"}},payload:"Invalidation"}},GetStreamingDistribution:{http:{method:"GET",requestUri:"/2016-01-28/streaming-distribution/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{StreamingDistribution:{shape:"S23"},ETag:{location:"header",locationName:"ETag"}},payload:"StreamingDistribution"}},GetStreamingDistributionConfig:{http:{method:"GET",requestUri:"/2016-01-28/streaming-distribution/{Id}/config"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{StreamingDistributionConfig:{shape:"S1z"},ETag:{location:"header",locationName:"ETag"}},payload:"StreamingDistributionConfig"}},ListCloudFrontOriginAccessIdentities:{http:{method:"GET",requestUri:"/2016-01-28/origin-access-identity/cloudfront"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems"}}},output:{type:"structure",members:{CloudFrontOriginAccessIdentityList:{type:"structure",required:["Marker","MaxItems","IsTruncated","Quantity"],members:{Marker:{},NextMarker:{},MaxItems:{type:"integer"},IsTruncated:{type:"boolean"},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"CloudFrontOriginAccessIdentitySummary",type:"structure",required:["Id","S3CanonicalUserId","Comment"],members:{Id:{},S3CanonicalUserId:{},Comment:{}}}}}}},payload:"CloudFrontOriginAccessIdentityList"}},ListDistributions:{http:{method:"GET",requestUri:"/2016-01-28/distribution"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems"}}},output:{type:"structure",members:{DistributionList:{shape:"S2s"}},payload:"DistributionList"}},ListDistributionsByWebACLId:{http:{method:"GET",requestUri:"/2016-01-28/distributionsByWebACLId/{WebACLId}"},input:{type:"structure",required:["WebACLId"],members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems"},WebACLId:{location:"uri",locationName:"WebACLId"}}},output:{type:"structure",members:{DistributionList:{shape:"S2s"}},payload:"DistributionList"}},ListInvalidations:{http:{method:"GET",requestUri:"/2016-01-28/distribution/{DistributionId}/invalidation"},input:{type:"structure",required:["DistributionId"],members:{DistributionId:{location:"uri",locationName:"DistributionId"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems"}}},output:{type:"structure",members:{InvalidationList:{type:"structure",required:["Marker","MaxItems","IsTruncated","Quantity"],members:{Marker:{},NextMarker:{},MaxItems:{type:"integer"},IsTruncated:{type:"boolean"},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"InvalidationSummary",type:"structure",required:["Id","CreateTime","Status"],members:{Id:{},CreateTime:{type:"timestamp"},Status:{}}}}}}},payload:"InvalidationList"}},ListStreamingDistributions:{http:{method:"GET",requestUri:"/2016-01-28/streaming-distribution"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems"}}},output:{type:"structure",members:{StreamingDistributionList:{type:"structure",required:["Marker","MaxItems","IsTruncated","Quantity"],members:{Marker:{},NextMarker:{},MaxItems:{type:"integer"},IsTruncated:{type:"boolean"},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"StreamingDistributionSummary",type:"structure",required:["Id","Status","LastModifiedTime","DomainName","S3Origin","Aliases","TrustedSigners","Comment","PriceClass","Enabled"],members:{Id:{},Status:{},LastModifiedTime:{type:"timestamp"},DomainName:{},S3Origin:{shape:"S20"},Aliases:{shape:"S8"},TrustedSigners:{shape:"Sw"},Comment:{},PriceClass:{},Enabled:{type:"boolean"}}}}}}},payload:"StreamingDistributionList"}},UpdateCloudFrontOriginAccessIdentity:{http:{method:"PUT",requestUri:"/2016-01-28/origin-access-identity/cloudfront/{Id}/config"},input:{type:"structure",required:["CloudFrontOriginAccessIdentityConfig","Id"],members:{CloudFrontOriginAccessIdentityConfig:{shape:"S2",locationName:"CloudFrontOriginAccessIdentityConfig",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}},Id:{location:"uri",locationName:"Id"},IfMatch:{location:"header",locationName:"If-Match"}},payload:"CloudFrontOriginAccessIdentityConfig"},output:{type:"structure",members:{CloudFrontOriginAccessIdentity:{shape:"S5"},ETag:{location:"header",locationName:"ETag"}},payload:"CloudFrontOriginAccessIdentity"}},UpdateDistribution:{http:{method:"PUT",requestUri:"/2016-01-28/distribution/{Id}/config"},input:{type:"structure",required:["DistributionConfig","Id"],members:{DistributionConfig:{shape:"S7",locationName:"DistributionConfig",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}},Id:{location:"uri",locationName:"Id"},IfMatch:{location:"header",locationName:"If-Match"}},payload:"DistributionConfig"},output:{type:"structure",members:{Distribution:{shape:"S1l"},ETag:{location:"header",locationName:"ETag"}},payload:"Distribution"}},UpdateStreamingDistribution:{http:{method:"PUT",requestUri:"/2016-01-28/streaming-distribution/{Id}/config"},input:{type:"structure",required:["StreamingDistributionConfig","Id"],members:{StreamingDistributionConfig:{shape:"S1z",locationName:"StreamingDistributionConfig",xmlNamespace:{uri:"http://cloudfront.amazonaws.com/doc/2016-01-28/"}},Id:{location:"uri",locationName:"Id"},IfMatch:{location:"header",locationName:"If-Match"}},payload:"StreamingDistributionConfig"},output:{type:"structure",members:{StreamingDistribution:{shape:"S23"},ETag:{location:"header",locationName:"ETag"}},payload:"StreamingDistribution"}}},shapes:{S2:{type:"structure",required:["CallerReference","Comment"],members:{CallerReference:{},Comment:{}}},S5:{type:"structure",required:["Id","S3CanonicalUserId"],members:{Id:{},S3CanonicalUserId:{},CloudFrontOriginAccessIdentityConfig:{shape:"S2"}}},S7:{type:"structure",required:["CallerReference","Origins","DefaultCacheBehavior","Comment","Enabled"],members:{CallerReference:{},Aliases:{shape:"S8"},DefaultRootObject:{},Origins:{shape:"Sb"},DefaultCacheBehavior:{shape:"Sn"},CacheBehaviors:{shape:"S14"},CustomErrorResponses:{shape:"S17"},Comment:{},Logging:{type:"structure",required:["Enabled","IncludeCookies","Bucket","Prefix"],members:{Enabled:{type:"boolean"},IncludeCookies:{type:"boolean"},Bucket:{},Prefix:{}}},PriceClass:{},Enabled:{type:"boolean"},ViewerCertificate:{shape:"S1c"},Restrictions:{shape:"S1g"},WebACLId:{}}},S8:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"CNAME"}}}},Sb:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"Origin",type:"structure",required:["Id","DomainName"],members:{Id:{},DomainName:{},OriginPath:{},CustomHeaders:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"OriginCustomHeader",type:"structure",required:["HeaderName","HeaderValue"],members:{HeaderName:{},HeaderValue:{}}}}}},S3OriginConfig:{type:"structure",required:["OriginAccessIdentity"],members:{OriginAccessIdentity:{}}},CustomOriginConfig:{type:"structure",required:["HTTPPort","HTTPSPort","OriginProtocolPolicy"],members:{HTTPPort:{type:"integer"},HTTPSPort:{type:"integer"},OriginProtocolPolicy:{},OriginSslProtocols:{type:"structure",required:["Quantity","Items"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"SslProtocol"}}}}}}}}}}},Sn:{type:"structure",required:["TargetOriginId","ForwardedValues","TrustedSigners","ViewerProtocolPolicy","MinTTL"],members:{TargetOriginId:{},ForwardedValues:{shape:"So"},TrustedSigners:{shape:"Sw"},ViewerProtocolPolicy:{},MinTTL:{type:"long"},AllowedMethods:{shape:"S10"},SmoothStreaming:{type:"boolean"},DefaultTTL:{type:"long"},MaxTTL:{type:"long"},Compress:{type:"boolean"}}},So:{type:"structure",required:["QueryString","Cookies"],members:{QueryString:{type:"boolean"},Cookies:{type:"structure",required:["Forward"],members:{Forward:{},WhitelistedNames:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"Name"}}}}}},Headers:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"Name"}}}}}},Sw:{type:"structure",required:["Enabled","Quantity"],members:{Enabled:{type:"boolean"},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"AwsAccountNumber"}}}},S10:{type:"structure",required:["Quantity","Items"],members:{Quantity:{type:"integer"},Items:{shape:"S11"},CachedMethods:{type:"structure",required:["Quantity","Items"],members:{Quantity:{type:"integer"},Items:{shape:"S11"}}}}},S11:{type:"list",member:{locationName:"Method"}},S14:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"CacheBehavior",type:"structure",required:["PathPattern","TargetOriginId","ForwardedValues","TrustedSigners","ViewerProtocolPolicy","MinTTL"],members:{PathPattern:{},TargetOriginId:{},ForwardedValues:{shape:"So"},TrustedSigners:{shape:"Sw"},ViewerProtocolPolicy:{},MinTTL:{type:"long"},AllowedMethods:{shape:"S10"},SmoothStreaming:{type:"boolean"},DefaultTTL:{type:"long"},MaxTTL:{type:"long"},Compress:{type:"boolean"}}}}}},S17:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"CustomErrorResponse",type:"structure",required:["ErrorCode"],members:{ErrorCode:{type:"integer"},ResponsePagePath:{},ResponseCode:{},ErrorCachingMinTTL:{type:"long"}}}}}},S1c:{type:"structure",members:{CloudFrontDefaultCertificate:{type:"boolean"},IAMCertificateId:{},ACMCertificateArn:{},SSLSupportMethod:{},MinimumProtocolVersion:{},Certificate:{deprecated:!0},CertificateSource:{deprecated:!0}}},S1g:{type:"structure",required:["GeoRestriction"],members:{GeoRestriction:{type:"structure",required:["RestrictionType","Quantity"],members:{RestrictionType:{},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"Location"}}}}}},S1l:{type:"structure",required:["Id","Status","LastModifiedTime","InProgressInvalidationBatches","DomainName","ActiveTrustedSigners","DistributionConfig"],members:{Id:{},Status:{},LastModifiedTime:{type:"timestamp"},InProgressInvalidationBatches:{type:"integer"},DomainName:{},ActiveTrustedSigners:{shape:"S1n"},DistributionConfig:{shape:"S7"}}},S1n:{type:"structure",required:["Enabled","Quantity"],members:{Enabled:{type:"boolean"},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"Signer",type:"structure",members:{AwsAccountNumber:{},KeyPairIds:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"KeyPairId"}}}}}}}}},S1t:{type:"structure",required:["Paths","CallerReference"],members:{Paths:{type:"structure",required:["Quantity"],members:{Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"Path"}}}},CallerReference:{}}},S1x:{type:"structure",required:["Id","Status","CreateTime","InvalidationBatch"],members:{Id:{},Status:{},CreateTime:{type:"timestamp"},InvalidationBatch:{shape:"S1t"}}},S1z:{type:"structure",required:["CallerReference","S3Origin","Comment","TrustedSigners","Enabled"],members:{CallerReference:{},S3Origin:{shape:"S20"},Aliases:{shape:"S8"},Comment:{},Logging:{type:"structure",required:["Enabled","Bucket","Prefix"],members:{Enabled:{type:"boolean"},Bucket:{},Prefix:{}}},TrustedSigners:{shape:"Sw"},PriceClass:{},Enabled:{type:"boolean"}}},S20:{type:"structure",required:["DomainName","OriginAccessIdentity"],members:{DomainName:{},OriginAccessIdentity:{}}},S23:{type:"structure",required:["Id","Status","DomainName","ActiveTrustedSigners","StreamingDistributionConfig"],members:{Id:{},Status:{},LastModifiedTime:{type:"timestamp"},DomainName:{},ActiveTrustedSigners:{shape:"S1n"},StreamingDistributionConfig:{shape:"S1z"}}},S2s:{type:"structure",required:["Marker","MaxItems","IsTruncated","Quantity"],members:{Marker:{},NextMarker:{},MaxItems:{type:"integer"},IsTruncated:{type:"boolean"},Quantity:{type:"integer"},Items:{type:"list",member:{locationName:"DistributionSummary",type:"structure",required:["Id","Status","LastModifiedTime","DomainName","Aliases","Origins","DefaultCacheBehavior","CacheBehaviors","CustomErrorResponses","Comment","PriceClass","Enabled","ViewerCertificate","Restrictions","WebACLId"],members:{Id:{},Status:{},LastModifiedTime:{type:"timestamp"},DomainName:{},Aliases:{shape:"S8"},Origins:{shape:"Sb"},DefaultCacheBehavior:{shape:"Sn"},CacheBehaviors:{shape:"S14"},CustomErrorResponses:{shape:"S17"},Comment:{},PriceClass:{},Enabled:{type:"boolean"},ViewerCertificate:{shape:"S1c"},Restrictions:{shape:"S1g"},WebACLId:{}}}}}}},paginators:{ListCloudFrontOriginAccessIdentities:{input_token:"Marker",output_token:"CloudFrontOriginAccessIdentityList.NextMarker",limit_key:"MaxItems",more_results:"CloudFrontOriginAccessIdentityList.IsTruncated",result_key:"CloudFrontOriginAccessIdentityList.Items"},ListDistributions:{input_token:"Marker",output_token:"DistributionList.NextMarker",limit_key:"MaxItems",more_results:"DistributionList.IsTruncated",result_key:"DistributionList.Items"},ListInvalidations:{input_token:"Marker",output_token:"InvalidationList.NextMarker",limit_key:"MaxItems",more_results:"InvalidationList.IsTruncated",result_key:"InvalidationList.Items"},ListStreamingDistributions:{input_token:"Marker",output_token:"StreamingDistributionList.NextMarker",limit_key:"MaxItems",more_results:"StreamingDistributionList.IsTruncated",result_key:"StreamingDistributionList.Items"}},waiters:{DistributionDeployed:{delay:60,operation:"GetDistribution",maxAttempts:25,description:"Wait until a distribution is deployed.",acceptors:[{expected:"Deployed",matcher:"path",state:"success",argument:"Distribution.Status"}]},InvalidationCompleted:{delay:20,operation:"GetInvalidation",maxAttempts:30,description:"Wait until an invalidation has completed.",acceptors:[{expected:"Completed",matcher:"path",state:"success",argument:"Invalidation.Status"}]},StreamingDistributionDeployed:{delay:60,operation:"GetStreamingDistribution",maxAttempts:25,description:"Wait until a streaming distribution is deployed.",acceptors:[{expected:"Deployed",matcher:"path",state:"success",argument:"StreamingDistribution.Status"}]}}},i.apiLoader.services.cloudtrail={},i.CloudTrail=i.Service.defineService("cloudtrail",["2013-11-01"]),i.apiLoader.services.cloudtrail["2013-11-01"]={version:"2.0",metadata:{apiVersion:"2013-11-01",endpointPrefix:"cloudtrail",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"CloudTrail",serviceFullName:"AWS CloudTrail",signatureVersion:"v4",targetPrefix:"com.amazonaws.cloudtrail.v20131101.CloudTrail_20131101"},operations:{AddTags:{input:{type:"structure",required:["ResourceId"],members:{ResourceId:{},TagsList:{shape:"S3"}}},output:{type:"structure",members:{}},idempotent:!0,http:{}},CreateTrail:{input:{type:"structure",required:["Name","S3BucketName"],members:{Name:{},S3BucketName:{},S3KeyPrefix:{},SnsTopicName:{},IncludeGlobalServiceEvents:{type:"boolean"},IsMultiRegionTrail:{type:"boolean"},EnableLogFileValidation:{type:"boolean"},CloudWatchLogsLogGroupArn:{},CloudWatchLogsRoleArn:{},KmsKeyId:{}}},output:{type:"structure",members:{Name:{},S3BucketName:{},S3KeyPrefix:{},SnsTopicName:{deprecated:!0},SnsTopicARN:{},IncludeGlobalServiceEvents:{type:"boolean"},IsMultiRegionTrail:{type:"boolean"},TrailARN:{},LogFileValidationEnabled:{type:"boolean"},CloudWatchLogsLogGroupArn:{},CloudWatchLogsRoleArn:{},KmsKeyId:{}}},idempotent:!0,http:{}},DeleteTrail:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}},idempotent:!0,http:{}},DescribeTrails:{input:{type:"structure",members:{trailNameList:{type:"list",member:{}},includeShadowTrails:{type:"boolean"}}},output:{type:"structure",members:{trailList:{type:"list",member:{type:"structure",members:{Name:{},S3BucketName:{},S3KeyPrefix:{},SnsTopicName:{deprecated:!0},SnsTopicARN:{},IncludeGlobalServiceEvents:{type:"boolean"},IsMultiRegionTrail:{type:"boolean"},HomeRegion:{},TrailARN:{},LogFileValidationEnabled:{type:"boolean"},CloudWatchLogsLogGroupArn:{},CloudWatchLogsRoleArn:{},KmsKeyId:{}}}}}},idempotent:!0,http:{}},GetTrailStatus:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{IsLogging:{type:"boolean"},LatestDeliveryError:{},LatestNotificationError:{},LatestDeliveryTime:{type:"timestamp"},LatestNotificationTime:{type:"timestamp"},StartLoggingTime:{type:"timestamp"},StopLoggingTime:{type:"timestamp"},LatestCloudWatchLogsDeliveryError:{},LatestCloudWatchLogsDeliveryTime:{type:"timestamp"},LatestDigestDeliveryTime:{type:"timestamp"},LatestDigestDeliveryError:{},LatestDeliveryAttemptTime:{},LatestNotificationAttemptTime:{},LatestNotificationAttemptSucceeded:{},LatestDeliveryAttemptSucceeded:{},TimeLoggingStarted:{},TimeLoggingStopped:{}}},idempotent:!0,http:{}},ListPublicKeys:{input:{type:"structure",members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},NextToken:{}}},output:{type:"structure",members:{PublicKeyList:{type:"list",member:{type:"structure",members:{Value:{type:"blob"},ValidityStartTime:{type:"timestamp"},ValidityEndTime:{type:"timestamp"},Fingerprint:{}}}},NextToken:{}}},idempotent:!0,http:{}},ListTags:{input:{type:"structure",required:["ResourceIdList"],members:{ResourceIdList:{type:"list",member:{}},NextToken:{}}},output:{type:"structure",members:{ResourceTagList:{type:"list",member:{type:"structure",members:{ResourceId:{},TagsList:{shape:"S3"}}}},NextToken:{}}},idempotent:!0,http:{}},LookupEvents:{input:{type:"structure",members:{LookupAttributes:{type:"list",member:{type:"structure",required:["AttributeKey","AttributeValue"],members:{AttributeKey:{},AttributeValue:{}}}},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventId:{},EventName:{},EventTime:{type:"timestamp"},Username:{},Resources:{type:"list",member:{type:"structure",members:{ResourceType:{},ResourceName:{}}}},CloudTrailEvent:{}}}},NextToken:{}}},idempotent:!0,http:{}},RemoveTags:{input:{type:"structure",required:["ResourceId"],members:{ResourceId:{},TagsList:{shape:"S3"}}},output:{type:"structure",members:{}},idempotent:!0,http:{}},StartLogging:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}},idempotent:!0,http:{}},StopLogging:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}},idempotent:!0,http:{}},UpdateTrail:{input:{type:"structure",required:["Name"],members:{Name:{},S3BucketName:{},S3KeyPrefix:{},SnsTopicName:{},IncludeGlobalServiceEvents:{type:"boolean"},IsMultiRegionTrail:{type:"boolean"},EnableLogFileValidation:{type:"boolean"},CloudWatchLogsLogGroupArn:{},CloudWatchLogsRoleArn:{},KmsKeyId:{}}},output:{type:"structure",members:{Name:{},S3BucketName:{},S3KeyPrefix:{},SnsTopicName:{deprecated:!0},SnsTopicARN:{},IncludeGlobalServiceEvents:{type:"boolean"},IsMultiRegionTrail:{type:"boolean"},TrailARN:{},LogFileValidationEnabled:{type:"boolean"},CloudWatchLogsLogGroupArn:{},CloudWatchLogsRoleArn:{},KmsKeyId:{}}},idempotent:!0,http:{}}},shapes:{S3:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}}},paginators:{DescribeTrails:{result_key:"trailList"}}},i.apiLoader.services.cloudwatch={},i.CloudWatch=i.Service.defineService("cloudwatch",["2010-08-01"]),i.apiLoader.services.cloudwatch["2010-08-01"]={version:"2.0",metadata:{apiVersion:"2010-08-01",endpointPrefix:"monitoring",protocol:"query",serviceAbbreviation:"CloudWatch",serviceFullName:"Amazon CloudWatch",signatureVersion:"v4",xmlNamespace:"http://monitoring.amazonaws.com/doc/2010-08-01/"},operations:{DeleteAlarms:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}},http:{}},DescribeAlarmHistory:{input:{type:"structure",members:{AlarmName:{},HistoryItemType:{},StartDate:{type:"timestamp"},EndDate:{type:"timestamp"},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeAlarmHistoryResult",type:"structure",members:{AlarmHistoryItems:{type:"list",member:{type:"structure",members:{AlarmName:{},Timestamp:{type:"timestamp"},HistoryItemType:{},HistorySummary:{},HistoryData:{}}}},NextToken:{}}},http:{}},DescribeAlarms:{input:{type:"structure",members:{AlarmNames:{shape:"S2"},AlarmNamePrefix:{},StateValue:{},ActionPrefix:{},MaxRecords:{type:"integer"},NextToken:{}}},output:{resultWrapper:"DescribeAlarmsResult",type:"structure",members:{MetricAlarms:{shape:"Sj"},NextToken:{}}},http:{}},DescribeAlarmsForMetric:{input:{type:"structure",required:["MetricName","Namespace"],members:{MetricName:{},Namespace:{},Statistic:{},Dimensions:{shape:"Sv"},Period:{type:"integer"},Unit:{}}},output:{resultWrapper:"DescribeAlarmsForMetricResult",type:"structure",members:{MetricAlarms:{shape:"Sj"}}},http:{}},DisableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}},http:{}},EnableAlarmActions:{input:{type:"structure",required:["AlarmNames"],members:{AlarmNames:{shape:"S2"}}},http:{}},GetMetricStatistics:{input:{type:"structure",required:["Namespace","MetricName","StartTime","EndTime","Period","Statistics"],members:{Namespace:{},MetricName:{},Dimensions:{shape:"Sv"},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Period:{type:"integer"},Statistics:{type:"list",member:{}},Unit:{}}},output:{resultWrapper:"GetMetricStatisticsResult",type:"structure",members:{Label:{},Datapoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},SampleCount:{type:"double"},Average:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{type:"double"},Unit:{}},xmlOrder:["Timestamp","SampleCount","Average","Sum","Minimum","Maximum","Unit"]}}}},http:{}},ListMetrics:{input:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Value:{}}}},NextToken:{}}},output:{resultWrapper:"ListMetricsResult",type:"structure",members:{Metrics:{type:"list",member:{type:"structure",members:{Namespace:{},MetricName:{},Dimensions:{shape:"Sv"}},xmlOrder:["Namespace","MetricName","Dimensions"]}},NextToken:{}},xmlOrder:["Metrics","NextToken"]},http:{}},PutMetricAlarm:{input:{type:"structure",required:["AlarmName","MetricName","Namespace","Statistic","Period","EvaluationPeriods","Threshold","ComparisonOperator"],members:{AlarmName:{},AlarmDescription:{},ActionsEnabled:{type:"boolean"},OKActions:{shape:"So"},AlarmActions:{shape:"So"},InsufficientDataActions:{shape:"So"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{shape:"Sv"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{}}},http:{}},PutMetricData:{input:{type:"structure",required:["Namespace","MetricData"],members:{Namespace:{},MetricData:{type:"list",member:{type:"structure",required:["MetricName"],members:{MetricName:{},Dimensions:{shape:"Sv"},Timestamp:{type:"timestamp"},Value:{type:"double"},StatisticValues:{type:"structure",required:["SampleCount","Sum","Minimum","Maximum"],members:{SampleCount:{type:"double"},Sum:{type:"double"},Minimum:{type:"double"},Maximum:{
type:"double"}}},Unit:{}}}}}},http:{}},SetAlarmState:{input:{type:"structure",required:["AlarmName","StateValue","StateReason"],members:{AlarmName:{},StateValue:{},StateReason:{},StateReasonData:{}}},http:{}}},shapes:{S2:{type:"list",member:{}},Sj:{type:"list",member:{type:"structure",members:{AlarmName:{},AlarmArn:{},AlarmDescription:{},AlarmConfigurationUpdatedTimestamp:{type:"timestamp"},ActionsEnabled:{type:"boolean"},OKActions:{shape:"So"},AlarmActions:{shape:"So"},InsufficientDataActions:{shape:"So"},StateValue:{},StateReason:{},StateReasonData:{},StateUpdatedTimestamp:{type:"timestamp"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{shape:"Sv"},Period:{type:"integer"},Unit:{},EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{}},xmlOrder:["AlarmName","AlarmArn","AlarmDescription","AlarmConfigurationUpdatedTimestamp","ActionsEnabled","OKActions","AlarmActions","InsufficientDataActions","StateValue","StateReason","StateReasonData","StateUpdatedTimestamp","MetricName","Namespace","Statistic","Dimensions","Period","Unit","EvaluationPeriods","Threshold","ComparisonOperator"]}},So:{type:"list",member:{}},Sv:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}},xmlOrder:["Name","Value"]}}},paginators:{DescribeAlarmHistory:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxRecords",result_key:"AlarmHistoryItems"},DescribeAlarms:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxRecords",result_key:"MetricAlarms"},DescribeAlarmsForMetric:{result_key:"MetricAlarms"},ListMetrics:{input_token:"NextToken",output_token:"NextToken",result_key:"Metrics"}},waiters:{AlarmExists:{delay:5,maxAttempts:40,operation:"DescribeAlarms",acceptors:[{matcher:"path",expected:!0,argument:"length(MetricAlarms[]) > `0`",state:"success"}]}}},i.apiLoader.services.cloudwatchevents={},i.CloudWatchEvents=i.Service.defineService("cloudwatchevents",["2015-10-07"]),i.apiLoader.services.cloudwatchevents["2015-10-07"]={version:"2.0",metadata:{apiVersion:"2015-10-07",endpointPrefix:"events",jsonVersion:"1.1",serviceFullName:"Amazon CloudWatch Events",signatureVersion:"v4",targetPrefix:"AWSEvents",protocol:"json"},operations:{DeleteRule:{input:{type:"structure",required:["Name"],members:{Name:{}}},http:{}},DescribeRule:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},ScheduleExpression:{},State:{},Description:{},RoleArn:{}}},http:{}},DisableRule:{input:{type:"structure",required:["Name"],members:{Name:{}}},http:{}},EnableRule:{input:{type:"structure",required:["Name"],members:{Name:{}}},http:{}},ListRuleNamesByTarget:{input:{type:"structure",required:["TargetArn"],members:{TargetArn:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{RuleNames:{type:"list",member:{}},NextToken:{}}},http:{}},ListRules:{input:{type:"structure",members:{NamePrefix:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Rules:{type:"list",member:{type:"structure",members:{Name:{},Arn:{},EventPattern:{},State:{},Description:{},ScheduleExpression:{},RoleArn:{}}}},NextToken:{}}},http:{}},ListTargetsByRule:{input:{type:"structure",required:["Rule"],members:{Rule:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Targets:{shape:"Sp"},NextToken:{}}},http:{}},PutEvents:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{type:"structure",members:{Time:{type:"timestamp"},Source:{},Resources:{type:"list",member:{}},DetailType:{},Detail:{}}}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},Entries:{type:"list",member:{type:"structure",members:{EventId:{},ErrorCode:{},ErrorMessage:{}}}}}},http:{}},PutRule:{input:{type:"structure",required:["Name"],members:{Name:{},ScheduleExpression:{},EventPattern:{},State:{},Description:{},RoleArn:{}}},output:{type:"structure",members:{RuleArn:{}}},http:{}},PutTargets:{input:{type:"structure",required:["Rule","Targets"],members:{Rule:{},Targets:{shape:"Sp"}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}},http:{}},RemoveTargets:{input:{type:"structure",required:["Rule","Ids"],members:{Rule:{},Ids:{type:"list",member:{}}}},output:{type:"structure",members:{FailedEntryCount:{type:"integer"},FailedEntries:{type:"list",member:{type:"structure",members:{TargetId:{},ErrorCode:{},ErrorMessage:{}}}}}},http:{}},TestEventPattern:{input:{type:"structure",required:["EventPattern","Event"],members:{EventPattern:{},Event:{}}},output:{type:"structure",members:{Result:{type:"boolean"}}},http:{}}},shapes:{Sp:{type:"list",member:{type:"structure",required:["Id","Arn"],members:{Id:{},Arn:{},Input:{},InputPath:{}}}}},examples:{}},i.apiLoader.services.cloudwatchlogs={},i.CloudWatchLogs=i.Service.defineService("cloudwatchlogs",["2014-03-28"]),i.apiLoader.services.cloudwatchlogs["2014-03-28"]={version:"2.0",metadata:{apiVersion:"2014-03-28",endpointPrefix:"logs",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon CloudWatch Logs",signatureVersion:"v4",targetPrefix:"Logs_20140328"},operations:{CancelExportTask:{input:{type:"structure",required:["taskId"],members:{taskId:{}}},http:{}},CreateExportTask:{input:{type:"structure",required:["logGroupName","from","to","destination"],members:{taskName:{},logGroupName:{},logStreamNamePrefix:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{}}},output:{type:"structure",members:{taskId:{}}},http:{}},CreateLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}},http:{}},CreateLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}},http:{}},DeleteDestination:{input:{type:"structure",required:["destinationName"],members:{destinationName:{}}},http:{}},DeleteLogGroup:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}},http:{}},DeleteLogStream:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{}}},http:{}},DeleteMetricFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}},http:{}},DeleteRetentionPolicy:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{}}},http:{}},DeleteSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName"],members:{logGroupName:{},filterName:{}}},http:{}},DescribeDestinations:{input:{type:"structure",members:{DestinationNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{destinations:{type:"list",member:{shape:"Sq"}},nextToken:{}}},http:{}},DescribeExportTasks:{input:{type:"structure",members:{taskId:{},statusCode:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{exportTasks:{type:"list",member:{type:"structure",members:{taskId:{},taskName:{},logGroupName:{},from:{type:"long"},to:{type:"long"},destination:{},destinationPrefix:{},status:{type:"structure",members:{code:{},message:{}}},executionInfo:{type:"structure",members:{creationTime:{type:"long"},completionTime:{type:"long"}}}}}},nextToken:{}}},http:{}},DescribeLogGroups:{input:{type:"structure",members:{logGroupNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logGroups:{type:"list",member:{type:"structure",members:{logGroupName:{},creationTime:{type:"long"},retentionInDays:{type:"integer"},metricFilterCount:{type:"integer"},arn:{},storedBytes:{type:"long"}}}},nextToken:{}}},http:{}},DescribeLogStreams:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNamePrefix:{},orderBy:{},descending:{type:"boolean"},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{logStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},creationTime:{type:"long"},firstEventTimestamp:{type:"long"},lastEventTimestamp:{type:"long"},lastIngestionTime:{type:"long"},uploadSequenceToken:{},arn:{},storedBytes:{type:"long"}}}},nextToken:{}}},http:{}},DescribeMetricFilters:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{metricFilters:{type:"list",member:{type:"structure",members:{filterName:{},filterPattern:{},metricTransformations:{shape:"S1m"},creationTime:{type:"long"}}}},nextToken:{}}},http:{}},DescribeSubscriptionFilters:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},filterNamePrefix:{},nextToken:{},limit:{type:"integer"}}},output:{type:"structure",members:{subscriptionFilters:{type:"list",member:{type:"structure",members:{filterName:{},logGroupName:{},filterPattern:{},destinationArn:{},roleArn:{},creationTime:{type:"long"}}}},nextToken:{}}},http:{}},FilterLogEvents:{input:{type:"structure",required:["logGroupName"],members:{logGroupName:{},logStreamNames:{type:"list",member:{}},startTime:{type:"long"},endTime:{type:"long"},filterPattern:{},nextToken:{},limit:{type:"integer"},interleaved:{type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{logStreamName:{},timestamp:{type:"long"},message:{},ingestionTime:{type:"long"},eventId:{}}}},searchedLogStreams:{type:"list",member:{type:"structure",members:{logStreamName:{},searchedCompletely:{type:"boolean"}}}},nextToken:{}}},http:{}},GetLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName"],members:{logGroupName:{},logStreamName:{},startTime:{type:"long"},endTime:{type:"long"},nextToken:{},limit:{type:"integer"},startFromHead:{type:"boolean"}}},output:{type:"structure",members:{events:{type:"list",member:{type:"structure",members:{timestamp:{type:"long"},message:{},ingestionTime:{type:"long"}}}},nextForwardToken:{},nextBackwardToken:{}}},http:{}},PutDestination:{input:{type:"structure",required:["destinationName","targetArn","roleArn"],members:{destinationName:{},targetArn:{},roleArn:{}}},output:{type:"structure",members:{destination:{shape:"Sq"}}},http:{}},PutDestinationPolicy:{input:{type:"structure",required:["destinationName","accessPolicy"],members:{destinationName:{},accessPolicy:{}}},http:{}},PutLogEvents:{input:{type:"structure",required:["logGroupName","logStreamName","logEvents"],members:{logGroupName:{},logStreamName:{},logEvents:{type:"list",member:{type:"structure",required:["timestamp","message"],members:{timestamp:{type:"long"},message:{}}}},sequenceToken:{}}},output:{type:"structure",members:{nextSequenceToken:{},rejectedLogEventsInfo:{type:"structure",members:{tooNewLogEventStartIndex:{type:"integer"},tooOldLogEventEndIndex:{type:"integer"},expiredLogEventEndIndex:{type:"integer"}}}}},http:{}},PutMetricFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","metricTransformations"],members:{logGroupName:{},filterName:{},filterPattern:{},metricTransformations:{shape:"S1m"}}},http:{}},PutRetentionPolicy:{input:{type:"structure",required:["logGroupName","retentionInDays"],members:{logGroupName:{},retentionInDays:{type:"integer"}}},http:{}},PutSubscriptionFilter:{input:{type:"structure",required:["logGroupName","filterName","filterPattern","destinationArn"],members:{logGroupName:{},filterName:{},filterPattern:{},destinationArn:{},roleArn:{}}},http:{}},TestMetricFilter:{input:{type:"structure",required:["filterPattern","logEventMessages"],members:{filterPattern:{},logEventMessages:{type:"list",member:{}}}},output:{type:"structure",members:{matches:{type:"list",member:{type:"structure",members:{eventNumber:{type:"long"},eventMessage:{},extractedValues:{type:"map",key:{},value:{}}}}}}},http:{}}},shapes:{Sq:{type:"structure",members:{destinationName:{},targetArn:{},roleArn:{},accessPolicy:{},arn:{},creationTime:{type:"long"}}},S1m:{type:"list",member:{type:"structure",required:["metricName","metricNamespace","metricValue"],members:{metricName:{},metricNamespace:{},metricValue:{}}}}},paginators:{DescribeDestinations:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"destinations"},DescribeLogGroups:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"logGroups"},DescribeLogStreams:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"logStreams"},DescribeMetricFilters:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"metricFilters"},DescribeSubscriptionFilters:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"subscriptionFilters"},FilterLogEvents:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:["events","searchedLogStreams"]},GetLogEvents:{input_token:"nextToken",output_token:"nextForwardToken",limit_key:"limit",result_key:"events"}}},i.apiLoader.services.codecommit={},i.CodeCommit=i.Service.defineService("codecommit",["2015-04-13"]),i.apiLoader.services.codecommit["2015-04-13"]={version:"2.0",metadata:{apiVersion:"2015-04-13",endpointPrefix:"codecommit",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"CodeCommit",serviceFullName:"AWS CodeCommit",signatureVersion:"v4",targetPrefix:"CodeCommit_20150413"},operations:{BatchGetRepositories:{input:{type:"structure",required:["repositoryNames"],members:{repositoryNames:{type:"list",member:{}}}},output:{type:"structure",members:{repositories:{type:"list",member:{shape:"S6"}},repositoriesNotFound:{type:"list",member:{}}}},http:{}},CreateBranch:{input:{type:"structure",required:["repositoryName","branchName","commitId"],members:{repositoryName:{},branchName:{},commitId:{}}},http:{}},CreateRepository:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{},repositoryDescription:{}}},output:{type:"structure",members:{repositoryMetadata:{shape:"S6"}}},http:{}},DeleteRepository:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{}}},output:{type:"structure",members:{repositoryId:{}}},http:{}},GetBranch:{input:{type:"structure",members:{repositoryName:{},branchName:{}}},output:{type:"structure",members:{branch:{type:"structure",members:{branchName:{},commitId:{}}}}},http:{}},GetCommit:{input:{type:"structure",required:["repositoryName","commitId"],members:{repositoryName:{},commitId:{}}},output:{type:"structure",required:["commit"],members:{commit:{type:"structure",members:{treeId:{},parents:{type:"list",member:{}},message:{},author:{shape:"Sw"},committer:{shape:"Sw"},additionalData:{}}}}},http:{}},GetRepository:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{}}},output:{type:"structure",members:{repositoryMetadata:{shape:"S6"}}},http:{}},GetRepositoryTriggers:{input:{type:"structure",members:{repositoryName:{}}},output:{type:"structure",members:{configurationId:{},triggers:{shape:"S16"}}},http:{}},ListBranches:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{},nextToken:{}}},output:{type:"structure",members:{branches:{shape:"S1a"},nextToken:{}}},http:{}},ListRepositories:{input:{type:"structure",members:{nextToken:{},sortBy:{},order:{}}},output:{type:"structure",members:{repositories:{type:"list",member:{type:"structure",members:{repositoryName:{},repositoryId:{}}}},nextToken:{}}},http:{}},PutRepositoryTriggers:{input:{type:"structure",members:{repositoryName:{},triggers:{shape:"S16"}}},output:{type:"structure",members:{configurationId:{}}},http:{}},TestRepositoryTriggers:{input:{type:"structure",members:{repositoryName:{},triggers:{shape:"S16"}}},output:{type:"structure",members:{successfulExecutions:{type:"list",member:{}},failedExecutions:{type:"list",member:{type:"structure",members:{trigger:{},failureMessage:{}}}}}},http:{}},UpdateDefaultBranch:{input:{type:"structure",required:["repositoryName","defaultBranchName"],members:{repositoryName:{},defaultBranchName:{}}},http:{}},UpdateRepositoryDescription:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{},repositoryDescription:{}}},http:{}},UpdateRepositoryName:{input:{type:"structure",required:["oldName","newName"],members:{oldName:{},newName:{}}},http:{}}},shapes:{S6:{type:"structure",members:{accountId:{},repositoryId:{},repositoryName:{},repositoryDescription:{},defaultBranch:{},lastModifiedDate:{type:"timestamp"},creationDate:{type:"timestamp"},cloneUrlHttp:{},cloneUrlSsh:{},Arn:{}}},Sw:{type:"structure",members:{name:{},email:{},date:{}}},S16:{type:"list",member:{type:"structure",members:{name:{},destinationArn:{},customData:{},branches:{shape:"S1a"},events:{type:"list",member:{}}}}},S1a:{type:"list",member:{}}},paginators:{ListBranches:{input_token:"nextToken",output_token:"nextToken",result_key:"branches"},ListRepositories:{input_token:"nextToken",output_token:"nextToken",result_key:"repositories"}}},i.apiLoader.services.codepipeline={},i.CodePipeline=i.Service.defineService("codepipeline",["2015-07-09"]),i.apiLoader.services.codepipeline["2015-07-09"]={version:"2.0",metadata:{apiVersion:"2015-07-09",endpointPrefix:"codepipeline",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"CodePipeline",serviceFullName:"AWS CodePipeline",signatureVersion:"v4",targetPrefix:"CodePipeline_20150709"},operations:{AcknowledgeJob:{input:{type:"structure",required:["jobId","nonce"],members:{jobId:{},nonce:{}}},output:{type:"structure",members:{status:{}}},http:{}},AcknowledgeThirdPartyJob:{input:{type:"structure",required:["jobId","nonce","clientToken"],members:{jobId:{},nonce:{},clientToken:{}}},output:{type:"structure",members:{status:{}}},http:{}},CreateCustomActionType:{input:{type:"structure",required:["category","provider","version","inputArtifactDetails","outputArtifactDetails"],members:{category:{},provider:{},version:{},settings:{shape:"Se"},configurationProperties:{shape:"Sh"},inputArtifactDetails:{shape:"Sn"},outputArtifactDetails:{shape:"Sn"}}},output:{type:"structure",required:["actionType"],members:{actionType:{shape:"Sr"}}},http:{}},CreatePipeline:{input:{type:"structure",required:["pipeline"],members:{pipeline:{shape:"Sv"}}},output:{type:"structure",members:{pipeline:{shape:"Sv"}}},http:{}},DeleteCustomActionType:{input:{type:"structure",required:["category","provider","version"],members:{category:{},provider:{},version:{}}},http:{}},DeletePipeline:{input:{type:"structure",required:["name"],members:{name:{}}},http:{}},DisableStageTransition:{input:{type:"structure",required:["pipelineName","stageName","transitionType","reason"],members:{pipelineName:{},stageName:{},transitionType:{},reason:{}}},http:{}},EnableStageTransition:{input:{type:"structure",required:["pipelineName","stageName","transitionType"],members:{pipelineName:{},stageName:{},transitionType:{}}},http:{}},GetJobDetails:{input:{type:"structure",required:["jobId"],members:{jobId:{}}},output:{type:"structure",members:{jobDetails:{type:"structure",members:{id:{},data:{shape:"S1x"},accountId:{}}}}},http:{}},GetPipeline:{input:{type:"structure",required:["name"],members:{name:{},version:{type:"integer"}}},output:{type:"structure",members:{pipeline:{shape:"Sv"}}},http:{}},GetPipelineState:{input:{type:"structure",required:["name"],members:{name:{}}},output:{type:"structure",members:{pipelineName:{},pipelineVersion:{type:"integer"},stageStates:{type:"list",member:{type:"structure",members:{stageName:{},inboundTransitionState:{type:"structure",members:{enabled:{type:"boolean"},lastChangedBy:{},lastChangedAt:{type:"timestamp"},disabledReason:{}}},actionStates:{type:"list",member:{type:"structure",members:{actionName:{},currentRevision:{shape:"S2s"},latestExecution:{type:"structure",members:{status:{},summary:{},lastStatusChange:{type:"timestamp"},token:{},lastUpdatedBy:{},externalExecutionId:{},externalExecutionUrl:{},percentComplete:{type:"integer"},errorDetails:{type:"structure",members:{code:{},message:{}}}}},entityUrl:{},revisionUrl:{}}}},latestExecution:{type:"structure",required:["pipelineExecutionId","status"],members:{pipelineExecutionId:{},status:{}}}}}},created:{type:"timestamp"},updated:{type:"timestamp"}}},http:{}},GetThirdPartyJobDetails:{input:{type:"structure",required:["jobId","clientToken"],members:{jobId:{},clientToken:{}}},output:{type:"structure",members:{jobDetails:{type:"structure",members:{id:{},data:{type:"structure",members:{actionTypeId:{shape:"Ss"},actionConfiguration:{shape:"S1y"},pipelineContext:{shape:"S1z"},inputArtifacts:{shape:"S22"},outputArtifacts:{shape:"S22"},artifactCredentials:{shape:"S2a"},continuationToken:{},encryptionKey:{shape:"S11"}}},nonce:{}}}}},http:{}},ListActionTypes:{input:{type:"structure",members:{actionOwnerFilter:{},nextToken:{}}},output:{type:"structure",required:["actionTypes"],members:{actionTypes:{type:"list",member:{shape:"Sr"}},nextToken:{}}},http:{}},ListPipelines:{input:{type:"structure",members:{nextToken:{}}},output:{type:"structure",members:{pipelines:{type:"list",member:{type:"structure",members:{name:{},version:{type:"integer"},created:{type:"timestamp"},updated:{type:"timestamp"}}}},nextToken:{}}},http:{}},PollForJobs:{input:{type:"structure",required:["actionTypeId"],members:{actionTypeId:{shape:"Ss"},maxBatchSize:{type:"integer"},queryParam:{type:"map",key:{},value:{}}}},output:{type:"structure",members:{jobs:{type:"list",member:{type:"structure",members:{id:{},data:{shape:"S1x"},nonce:{},accountId:{}}}}}},http:{}},PollForThirdPartyJobs:{input:{type:"structure",required:["actionTypeId"],members:{actionTypeId:{shape:"Ss"},maxBatchSize:{type:"integer"}}},output:{type:"structure",members:{jobs:{type:"list",member:{type:"structure",members:{clientId:{},jobId:{}}}}}},http:{}},PutActionRevision:{input:{type:"structure",required:["pipelineName","stageName","actionName","actionRevision"],members:{pipelineName:{},stageName:{},actionName:{},actionRevision:{shape:"S2s"}}},output:{type:"structure",members:{newRevision:{type:"boolean"},pipelineExecutionId:{}}},http:{}},PutApprovalResult:{input:{type:"structure",required:["pipelineName","stageName","actionName","result"],members:{pipelineName:{},stageName:{},actionName:{},result:{type:"structure",required:["summary","status"],members:{summary:{},status:{}}},token:{}}},output:{type:"structure",members:{approvedAt:{type:"timestamp"}}},http:{}},PutJobFailureResult:{input:{type:"structure",required:["jobId","failureDetails"],members:{jobId:{},failureDetails:{shape:"S45"}}},http:{}},PutJobSuccessResult:{input:{type:"structure",required:["jobId"],members:{jobId:{},currentRevision:{shape:"S48"},continuationToken:{},executionDetails:{shape:"S49"}}},http:{}},PutThirdPartyJobFailureResult:{input:{type:"structure",required:["jobId","clientToken","failureDetails"],members:{jobId:{},clientToken:{},failureDetails:{shape:"S45"}}},http:{}},PutThirdPartyJobSuccessResult:{input:{type:"structure",required:["jobId","clientToken"],members:{jobId:{},clientToken:{},currentRevision:{shape:"S48"},continuationToken:{},executionDetails:{shape:"S49"}}},http:{}},RetryStageExecution:{input:{type:"structure",required:["pipelineName","stageName","pipelineExecutionId","retryMode"],members:{pipelineName:{},stageName:{},pipelineExecutionId:{},retryMode:{}}},output:{type:"structure",members:{pipelineExecutionId:{}}},http:{}},StartPipelineExecution:{input:{type:"structure",required:["name"],members:{name:{}}},output:{type:"structure",members:{pipelineExecutionId:{}}},http:{}},UpdatePipeline:{input:{type:"structure",required:["pipeline"],members:{pipeline:{shape:"Sv"}}},output:{type:"structure",members:{pipeline:{shape:"Sv"}}},http:{}}},shapes:{Se:{type:"structure",members:{thirdPartyConfigurationUrl:{},entityUrlTemplate:{},executionUrlTemplate:{},revisionUrlTemplate:{}}},Sh:{type:"list",member:{type:"structure",required:["name","required","key","secret"],members:{name:{},required:{type:"boolean"},key:{type:"boolean"},secret:{type:"boolean"},queryable:{type:"boolean"},description:{},type:{}}}},Sn:{type:"structure",required:["minimumCount","maximumCount"],members:{minimumCount:{type:"integer"},maximumCount:{type:"integer"}}},Sr:{type:"structure",required:["id","inputArtifactDetails","outputArtifactDetails"],members:{id:{shape:"Ss"},settings:{shape:"Se"},actionConfigurationProperties:{shape:"Sh"},inputArtifactDetails:{shape:"Sn"},outputArtifactDetails:{shape:"Sn"}}},Ss:{type:"structure",required:["category","owner","provider","version"],members:{category:{},owner:{},provider:{},version:{}}},Sv:{type:"structure",required:["name","roleArn","artifactStore","stages"],members:{name:{},roleArn:{},artifactStore:{type:"structure",required:["type","location"],members:{type:{},location:{},encryptionKey:{shape:"S11"}}},stages:{type:"list",member:{type:"structure",required:["name","actions"],members:{name:{},blockers:{type:"list",member:{type:"structure",required:["name","type"],members:{name:{},type:{}}}},actions:{type:"list",member:{type:"structure",required:["name","actionTypeId"],members:{name:{},actionTypeId:{shape:"Ss"},runOrder:{type:"integer"},configuration:{shape:"S1f"},outputArtifacts:{type:"list",member:{type:"structure",required:["name"],members:{name:{}}}},inputArtifacts:{type:"list",member:{type:"structure",required:["name"],members:{name:{}}}},roleArn:{}}}}}}},version:{type:"integer"}}},S11:{type:"structure",required:["id","type"],members:{id:{},type:{}}},S1f:{type:"map",key:{},value:{}},S1x:{type:"structure",members:{actionTypeId:{shape:"Ss"},actionConfiguration:{shape:"S1y"},pipelineContext:{shape:"S1z"},inputArtifacts:{shape:"S22"},outputArtifacts:{shape:"S22"},artifactCredentials:{shape:"S2a"},continuationToken:{},encryptionKey:{shape:"S11"}}},S1y:{type:"structure",members:{configuration:{shape:"S1f"}}},S1z:{type:"structure",members:{pipelineName:{},stage:{type:"structure",members:{name:{}}},action:{type:"structure",members:{name:{}}}}},S22:{type:"list",member:{type:"structure",members:{name:{},revision:{},location:{type:"structure",members:{type:{},s3Location:{type:"structure",required:["bucketName","objectKey"],members:{bucketName:{},objectKey:{}}}}}}}},S2a:{type:"structure",required:["accessKeyId","secretAccessKey","sessionToken"],members:{accessKeyId:{},secretAccessKey:{},sessionToken:{}},sensitive:!0},S2s:{type:"structure",required:["revisionId","revisionChangeId","created"],members:{revisionId:{},revisionChangeId:{},created:{type:"timestamp"}}},S45:{type:"structure",required:["type","message"],members:{type:{},message:{},externalExecutionId:{}}},S48:{type:"structure",required:["revision","changeIdentifier"],members:{revision:{},changeIdentifier:{}}},S49:{type:"structure",members:{summary:{},externalExecutionId:{},percentComplete:{type:"integer"}}}}},i.apiLoader.services.cognitoidentity={},i.CognitoIdentity=i.Service.defineService("cognitoidentity",["2014-06-30"]),e("./services/cognitoidentity"),i.apiLoader.services.cognitoidentity["2014-06-30"]={version:"2.0",metadata:{apiVersion:"2014-06-30",endpointPrefix:"cognito-identity",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Cognito Identity",signatureVersion:"v4",targetPrefix:"AWSCognitoIdentityService"},operations:{CreateIdentityPool:{input:{type:"structure",required:["IdentityPoolName","AllowUnauthenticatedIdentities"],members:{IdentityPoolName:{},AllowUnauthenticatedIdentities:{type:"boolean"},SupportedLoginProviders:{shape:"S4"},DeveloperProviderName:{},OpenIdConnectProviderARNs:{shape:"S8"},CognitoIdentityProviders:{shape:"Sa"},SamlProviderARNs:{shape:"Se"}}},output:{shape:"Sf"},http:{}},DeleteIdentities:{input:{type:"structure",required:["IdentityIdsToDelete"],members:{IdentityIdsToDelete:{type:"list",member:{}}}},output:{type:"structure",members:{UnprocessedIdentityIds:{type:"list",member:{type:"structure",members:{IdentityId:{},ErrorCode:{}}}}}},http:{}},DeleteIdentityPool:{input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{}}},http:{}},DescribeIdentity:{input:{type:"structure",required:["IdentityId"],members:{IdentityId:{}}},output:{shape:"Sq"},http:{}},DescribeIdentityPool:{input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{}}},output:{shape:"Sf"},http:{}},GetCredentialsForIdentity:{input:{type:"structure",required:["IdentityId"],members:{IdentityId:{},Logins:{shape:"Sv"},CustomRoleArn:{}}},output:{type:"structure",members:{IdentityId:{},Credentials:{type:"structure",members:{AccessKeyId:{},SecretKey:{},SessionToken:{},Expiration:{type:"timestamp"}}}}},http:{}},GetId:{input:{type:"structure",required:["IdentityPoolId"],members:{AccountId:{},IdentityPoolId:{},Logins:{shape:"Sv"}}},output:{type:"structure",members:{IdentityId:{}}},http:{}},GetIdentityPoolRoles:{input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{}}},output:{type:"structure",members:{IdentityPoolId:{},Roles:{shape:"S17"}}},http:{}},GetOpenIdToken:{input:{type:"structure",required:["IdentityId"],members:{IdentityId:{},Logins:{shape:"Sv"}}},output:{type:"structure",members:{IdentityId:{},Token:{}}},http:{}},GetOpenIdTokenForDeveloperIdentity:{input:{type:"structure",required:["IdentityPoolId","Logins"],members:{IdentityPoolId:{},IdentityId:{},Logins:{shape:"Sv"},TokenDuration:{type:"long"}}},output:{type:"structure",members:{IdentityId:{},Token:{}}},http:{}},ListIdentities:{input:{type:"structure",required:["IdentityPoolId","MaxResults"],members:{IdentityPoolId:{},MaxResults:{type:"integer"},NextToken:{},HideDisabled:{type:"boolean"}}},output:{type:"structure",members:{IdentityPoolId:{},Identities:{type:"list",member:{shape:"Sq"}},NextToken:{}}},http:{}},ListIdentityPools:{input:{type:"structure",required:["MaxResults"],members:{MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{IdentityPools:{type:"list",member:{type:"structure",members:{IdentityPoolId:{},IdentityPoolName:{}}}},NextToken:{}}},http:{}},LookupDeveloperIdentity:{input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{},IdentityId:{},DeveloperUserIdentifier:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{IdentityId:{},DeveloperUserIdentifierList:{type:"list",member:{}},NextToken:{}}},http:{}},MergeDeveloperIdentities:{input:{type:"structure",required:["SourceUserIdentifier","DestinationUserIdentifier","DeveloperProviderName","IdentityPoolId"],members:{SourceUserIdentifier:{},DestinationUserIdentifier:{},DeveloperProviderName:{},IdentityPoolId:{}}},output:{type:"structure",members:{IdentityId:{}}},http:{}},SetIdentityPoolRoles:{input:{type:"structure",required:["IdentityPoolId","Roles"],members:{IdentityPoolId:{},Roles:{shape:"S17"}}},http:{}},UnlinkDeveloperIdentity:{input:{type:"structure",required:["IdentityId","IdentityPoolId","DeveloperProviderName","DeveloperUserIdentifier"],members:{IdentityId:{},IdentityPoolId:{},DeveloperProviderName:{},DeveloperUserIdentifier:{}}},http:{}},UnlinkIdentity:{input:{type:"structure",required:["IdentityId","Logins","LoginsToRemove"],members:{IdentityId:{},Logins:{shape:"Sv"},LoginsToRemove:{shape:"Sr"}}},http:{}},UpdateIdentityPool:{input:{shape:"Sf"},output:{shape:"Sf"},http:{}}},shapes:{S4:{type:"map",key:{},value:{}},S8:{type:"list",member:{}},Sa:{type:"list",member:{type:"structure",members:{ProviderName:{},ClientId:{}}}},Se:{type:"list",member:{}},Sf:{type:"structure",required:["IdentityPoolId","IdentityPoolName","AllowUnauthenticatedIdentities"],members:{IdentityPoolId:{},IdentityPoolName:{},AllowUnauthenticatedIdentities:{type:"boolean"},SupportedLoginProviders:{shape:"S4"},DeveloperProviderName:{},OpenIdConnectProviderARNs:{shape:"S8"},CognitoIdentityProviders:{shape:"Sa"},SamlProviderARNs:{shape:"Se"}}},Sq:{type:"structure",members:{IdentityId:{},Logins:{shape:"Sr"},CreationDate:{type:"timestamp"},LastModifiedDate:{type:"timestamp"}}},Sr:{type:"list",member:{}},Sv:{type:"map",key:{},value:{}},S17:{type:"map",key:{},value:{}}}},i.apiLoader.services.cognitoidentityserviceprovider={},i.CognitoIdentityServiceProvider=i.Service.defineService("cognitoidentityserviceprovider",["2016-04-18"]),
i.apiLoader.services.cognitoidentityserviceprovider["2016-04-18"]={version:"2.0",metadata:{apiVersion:"2016-04-18",endpointPrefix:"cognito-idp",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Cognito Identity Provider",signatureVersion:"v4",targetPrefix:"AWSCognitoIdentityProviderService"},operations:{AddCustomAttributes:{input:{type:"structure",required:["UserPoolId","CustomAttributes"],members:{UserPoolId:{},CustomAttributes:{type:"list",member:{shape:"S4"}}}},output:{type:"structure",members:{}},http:{}},AdminConfirmSignUp:{input:{type:"structure",required:["UserPoolId","Username"],members:{UserPoolId:{},Username:{shape:"Sd"}}},output:{type:"structure",members:{}},http:{}},AdminDeleteUser:{input:{type:"structure",required:["UserPoolId","Username"],members:{UserPoolId:{},Username:{shape:"Sd"}}},http:{}},AdminDeleteUserAttributes:{input:{type:"structure",required:["UserPoolId","Username","UserAttributeNames"],members:{UserPoolId:{},Username:{shape:"Sd"},UserAttributeNames:{shape:"Sh"}}},output:{type:"structure",members:{}},http:{}},AdminDisableUser:{input:{type:"structure",required:["UserPoolId","Username"],members:{UserPoolId:{},Username:{shape:"Sd"}}},output:{type:"structure",members:{}},http:{}},AdminEnableUser:{input:{type:"structure",required:["UserPoolId","Username"],members:{UserPoolId:{},Username:{shape:"Sd"}}},output:{type:"structure",members:{}},http:{}},AdminGetUser:{input:{type:"structure",required:["UserPoolId","Username"],members:{UserPoolId:{},Username:{shape:"Sd"}}},output:{type:"structure",required:["Username"],members:{Username:{shape:"Sd"},UserAttributes:{shape:"Sq"},UserCreateDate:{type:"timestamp"},UserLastModifiedDate:{type:"timestamp"},Enabled:{type:"boolean"},UserStatus:{},MFAOptions:{shape:"Sv"}}},http:{}},AdminResetUserPassword:{input:{type:"structure",required:["UserPoolId","Username"],members:{UserPoolId:{},Username:{shape:"Sd"}}},output:{type:"structure",members:{}},http:{}},AdminSetUserSettings:{input:{type:"structure",required:["UserPoolId","Username","MFAOptions"],members:{UserPoolId:{},Username:{shape:"Sd"},MFAOptions:{shape:"Sv"}}},output:{type:"structure",members:{}},http:{}},AdminUpdateUserAttributes:{input:{type:"structure",required:["UserPoolId","Username","UserAttributes"],members:{UserPoolId:{},Username:{shape:"Sd"},UserAttributes:{shape:"Sq"}}},output:{type:"structure",members:{}},http:{}},ChangePassword:{input:{type:"structure",required:["PreviousPassword","ProposedPassword"],members:{PreviousPassword:{shape:"S15"},ProposedPassword:{shape:"S15"},AccessToken:{shape:"S16"}}},output:{type:"structure",members:{}},authtype:"none",http:{}},ConfirmForgotPassword:{input:{type:"structure",required:["ClientId","Username","ConfirmationCode","Password"],members:{ClientId:{shape:"S19"},SecretHash:{shape:"S1a"},Username:{shape:"Sd"},ConfirmationCode:{},Password:{shape:"S15"}}},output:{type:"structure",members:{}},authtype:"none",http:{}},ConfirmSignUp:{input:{type:"structure",required:["ClientId","Username","ConfirmationCode"],members:{ClientId:{shape:"S19"},SecretHash:{shape:"S1a"},Username:{shape:"Sd"},ConfirmationCode:{},ForceAliasCreation:{type:"boolean"}}},output:{type:"structure",members:{}},authtype:"none",http:{}},CreateUserPool:{input:{type:"structure",required:["PoolName"],members:{PoolName:{},Policies:{shape:"S1i"},LambdaConfig:{shape:"S1l"},AutoVerifiedAttributes:{shape:"S1n"},AliasAttributes:{shape:"S1p"},SmsVerificationMessage:{},EmailVerificationMessage:{},EmailVerificationSubject:{},SmsAuthenticationMessage:{},MfaConfiguration:{}}},output:{type:"structure",members:{UserPool:{shape:"S1w"}}},http:{}},CreateUserPoolClient:{input:{type:"structure",required:["UserPoolId","ClientName"],members:{UserPoolId:{},ClientName:{},GenerateSecret:{type:"boolean"}}},output:{type:"structure",members:{UserPoolClient:{shape:"S24"}}},http:{}},DeleteUser:{input:{type:"structure",members:{AccessToken:{shape:"S16"}}},authtype:"none",http:{}},DeleteUserAttributes:{input:{type:"structure",required:["UserAttributeNames"],members:{UserAttributeNames:{shape:"Sh"},AccessToken:{shape:"S16"}}},output:{type:"structure",members:{}},authtype:"none",http:{}},DeleteUserPool:{input:{type:"structure",required:["UserPoolId"],members:{UserPoolId:{}}},http:{}},DeleteUserPoolClient:{input:{type:"structure",required:["UserPoolId","ClientId"],members:{UserPoolId:{},ClientId:{shape:"S19"}}},http:{}},DescribeUserPool:{input:{type:"structure",required:["UserPoolId"],members:{UserPoolId:{}}},output:{type:"structure",members:{UserPool:{shape:"S1w"}}},http:{}},DescribeUserPoolClient:{input:{type:"structure",required:["UserPoolId","ClientId"],members:{UserPoolId:{},ClientId:{shape:"S19"}}},output:{type:"structure",members:{UserPoolClient:{shape:"S24"}}},http:{}},ForgotPassword:{input:{type:"structure",required:["ClientId","Username"],members:{ClientId:{shape:"S19"},SecretHash:{shape:"S1a"},Username:{shape:"Sd"}}},output:{type:"structure",members:{CodeDeliveryDetails:{shape:"S2h"}}},authtype:"none",http:{}},GetUser:{input:{type:"structure",members:{AccessToken:{shape:"S16"}}},output:{type:"structure",required:["Username","UserAttributes"],members:{Username:{shape:"Sd"},UserAttributes:{shape:"Sq"},MFAOptions:{shape:"Sv"}}},authtype:"none",http:{}},GetUserAttributeVerificationCode:{input:{type:"structure",required:["AttributeName"],members:{AccessToken:{shape:"S16"},AttributeName:{}}},output:{type:"structure",members:{CodeDeliveryDetails:{shape:"S2h"}}},authtype:"none",http:{}},ListUserPoolClients:{input:{type:"structure",required:["UserPoolId"],members:{UserPoolId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{UserPoolClients:{type:"list",member:{type:"structure",members:{ClientId:{shape:"S19"},UserPoolId:{},ClientName:{}}}},NextToken:{}}},http:{}},ListUserPools:{input:{type:"structure",required:["MaxResults"],members:{NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{UserPools:{type:"list",member:{type:"structure",members:{Id:{},Name:{},LambdaConfig:{shape:"S1l"},Status:{},LastModifiedDate:{type:"timestamp"},CreationDate:{type:"timestamp"}}}},NextToken:{}}},http:{}},ListUsers:{input:{type:"structure",required:["UserPoolId"],members:{UserPoolId:{},AttributesToGet:{type:"list",member:{}},Limit:{type:"integer"},PaginationToken:{},UserStatus:{}}},output:{type:"structure",members:{Users:{type:"list",member:{type:"structure",members:{Username:{shape:"Sd"},Attributes:{shape:"Sq"},UserCreateDate:{type:"timestamp"},UserLastModifiedDate:{type:"timestamp"},Enabled:{type:"boolean"},UserStatus:{}}}},PaginationToken:{}}},http:{}},ResendConfirmationCode:{input:{type:"structure",required:["ClientId","Username"],members:{ClientId:{shape:"S19"},SecretHash:{shape:"S1a"},Username:{shape:"Sd"}}},output:{type:"structure",members:{CodeDeliveryDetails:{shape:"S2h"}}},authtype:"none",http:{}},SetUserSettings:{input:{type:"structure",required:["AccessToken","MFAOptions"],members:{AccessToken:{shape:"S16"},MFAOptions:{shape:"Sv"}}},output:{type:"structure",members:{}},authtype:"none",http:{}},SignUp:{input:{type:"structure",required:["ClientId","Username","Password"],members:{ClientId:{shape:"S19"},SecretHash:{shape:"S1a"},Username:{shape:"Sd"},Password:{shape:"S15"},UserAttributes:{shape:"Sq"},ValidationData:{shape:"Sq"}}},output:{type:"structure",members:{UserConfirmed:{type:"boolean"},CodeDeliveryDetails:{shape:"S2h"}}},authtype:"none",http:{}},UpdateUserAttributes:{input:{type:"structure",required:["UserAttributes"],members:{UserAttributes:{shape:"Sq"},AccessToken:{shape:"S16"}}},output:{type:"structure",members:{CodeDeliveryDetailsList:{type:"list",member:{shape:"S2h"}}}},authtype:"none",http:{}},UpdateUserPool:{input:{type:"structure",required:["UserPoolId"],members:{UserPoolId:{},Policies:{shape:"S1i"},LambdaConfig:{shape:"S1l"},AutoVerifiedAttributes:{shape:"S1n"},SmsVerificationMessage:{},EmailVerificationMessage:{},EmailVerificationSubject:{},SmsAuthenticationMessage:{},MfaConfiguration:{}}},output:{type:"structure",members:{}},http:{}},UpdateUserPoolClient:{input:{type:"structure",required:["UserPoolId","ClientId"],members:{UserPoolId:{},ClientId:{shape:"S19"},ClientName:{}}},output:{type:"structure",members:{UserPoolClient:{shape:"S24"}}},http:{}},VerifyUserAttribute:{input:{type:"structure",required:["AttributeName","Code"],members:{AccessToken:{shape:"S16"},AttributeName:{},Code:{}}},output:{type:"structure",members:{}},authtype:"none",http:{}}},shapes:{S4:{type:"structure",members:{Name:{},AttributeDataType:{},DeveloperOnlyAttribute:{type:"boolean"},Mutable:{type:"boolean"},Required:{type:"boolean"},NumberAttributeConstraints:{type:"structure",members:{MinValue:{},MaxValue:{}}},StringAttributeConstraints:{type:"structure",members:{MinLength:{},MaxLength:{}}}}},Sd:{type:"string",sensitive:!0},Sh:{type:"list",member:{}},Sq:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},Value:{type:"string",sensitive:!0}}}},Sv:{type:"list",member:{type:"structure",members:{DeliveryMedium:{},AttributeName:{}}}},S15:{type:"string",sensitive:!0},S16:{type:"string",sensitive:!0},S19:{type:"string",sensitive:!0},S1a:{type:"string",sensitive:!0},S1i:{type:"structure",members:{PasswordPolicy:{type:"structure",members:{MinimumLength:{type:"integer"},RequireUppercase:{type:"boolean"},RequireLowercase:{type:"boolean"},RequireNumbers:{type:"boolean"},RequireSymbols:{type:"boolean"}}}}},S1l:{type:"structure",members:{PreSignUp:{},CustomMessage:{},PostConfirmation:{},PreAuthentication:{},PostAuthentication:{}}},S1n:{type:"list",member:{}},S1p:{type:"list",member:{}},S1w:{type:"structure",members:{Id:{},Name:{},Policies:{shape:"S1i"},LambdaConfig:{shape:"S1l"},Status:{},LastModifiedDate:{type:"timestamp"},CreationDate:{type:"timestamp"},SchemaAttributes:{type:"list",member:{shape:"S4"}},AutoVerifiedAttributes:{shape:"S1n"},AliasAttributes:{shape:"S1p"},SmsVerificationMessage:{},EmailVerificationMessage:{},EmailVerificationSubject:{},SmsAuthenticationMessage:{},MfaConfiguration:{},EstimatedNumberOfUsers:{type:"integer"}}},S24:{type:"structure",members:{UserPoolId:{},ClientName:{},ClientId:{shape:"S19"},ClientSecret:{type:"string",sensitive:!0},LastModifiedDate:{type:"timestamp"},CreationDate:{type:"timestamp"}}},S2h:{type:"structure",members:{Destination:{},DeliveryMedium:{},AttributeName:{}}}}},i.apiLoader.services.cognitosync={},i.CognitoSync=i.Service.defineService("cognitosync",["2014-06-30"]),i.apiLoader.services.cognitosync["2014-06-30"]={version:"2.0",metadata:{apiVersion:"2014-06-30",endpointPrefix:"cognito-sync",jsonVersion:"1.1",serviceFullName:"Amazon Cognito Sync",signatureVersion:"v4",protocol:"rest-json"},operations:{BulkPublish:{http:{requestUri:"/identitypools/{IdentityPoolId}/bulkpublish",responseCode:200},input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"}}},output:{type:"structure",members:{IdentityPoolId:{}}}},DeleteDataset:{http:{method:"DELETE",requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","DatasetName"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},DatasetName:{location:"uri",locationName:"DatasetName"}}},output:{type:"structure",members:{Dataset:{shape:"S8"}}}},DescribeDataset:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","DatasetName"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},DatasetName:{location:"uri",locationName:"DatasetName"}}},output:{type:"structure",members:{Dataset:{shape:"S8"}}}},DescribeIdentityPoolUsage:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}",responseCode:200},input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"}}},output:{type:"structure",members:{IdentityPoolUsage:{shape:"Sg"}}}},DescribeIdentityUsage:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"}}},output:{type:"structure",members:{IdentityUsage:{type:"structure",members:{IdentityId:{},IdentityPoolId:{},LastModifiedDate:{type:"timestamp"},DatasetCount:{type:"integer"},DataStorage:{type:"long"}}}}}},GetBulkPublishDetails:{http:{requestUri:"/identitypools/{IdentityPoolId}/getBulkPublishDetails",responseCode:200},input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"}}},output:{type:"structure",members:{IdentityPoolId:{},BulkPublishStartTime:{type:"timestamp"},BulkPublishCompleteTime:{type:"timestamp"},BulkPublishStatus:{},FailureMessage:{}}}},GetCognitoEvents:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}/events",responseCode:200},input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"}}},output:{type:"structure",members:{Events:{shape:"Sq"}}}},GetIdentityPoolConfiguration:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}/configuration",responseCode:200},input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"}}},output:{type:"structure",members:{IdentityPoolId:{},PushSync:{shape:"Sv"},CognitoStreams:{shape:"Sz"}}}},ListDatasets:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets",responseCode:200},input:{type:"structure",required:["IdentityId","IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},NextToken:{location:"querystring",locationName:"nextToken"},MaxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{Datasets:{type:"list",member:{shape:"S8"}},Count:{type:"integer"},NextToken:{}}}},ListIdentityPoolUsage:{http:{method:"GET",requestUri:"/identitypools",responseCode:200},input:{type:"structure",members:{NextToken:{location:"querystring",locationName:"nextToken"},MaxResults:{location:"querystring",locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{IdentityPoolUsages:{type:"list",member:{shape:"Sg"}},MaxResults:{type:"integer"},Count:{type:"integer"},NextToken:{}}}},ListRecords:{http:{method:"GET",requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","DatasetName"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},DatasetName:{location:"uri",locationName:"DatasetName"},LastSyncCount:{location:"querystring",locationName:"lastSyncCount",type:"long"},NextToken:{location:"querystring",locationName:"nextToken"},MaxResults:{location:"querystring",locationName:"maxResults",type:"integer"},SyncSessionToken:{location:"querystring",locationName:"syncSessionToken"}}},output:{type:"structure",members:{Records:{shape:"S1c"},NextToken:{},Count:{type:"integer"},DatasetSyncCount:{type:"long"},LastModifiedBy:{},MergedDatasetNames:{type:"list",member:{}},DatasetExists:{type:"boolean"},DatasetDeletedAfterRequestedSyncCount:{type:"boolean"},SyncSessionToken:{}}}},RegisterDevice:{http:{requestUri:"/identitypools/{IdentityPoolId}/identity/{IdentityId}/device",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","Platform","Token"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},Platform:{},Token:{}}},output:{type:"structure",members:{DeviceId:{}}}},SetCognitoEvents:{http:{requestUri:"/identitypools/{IdentityPoolId}/events",responseCode:200},input:{type:"structure",required:["IdentityPoolId","Events"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},Events:{shape:"Sq"}}}},SetIdentityPoolConfiguration:{http:{requestUri:"/identitypools/{IdentityPoolId}/configuration",responseCode:200},input:{type:"structure",required:["IdentityPoolId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},PushSync:{shape:"Sv"},CognitoStreams:{shape:"Sz"}}},output:{type:"structure",members:{IdentityPoolId:{},PushSync:{shape:"Sv"},CognitoStreams:{shape:"Sz"}}}},SubscribeToDataset:{http:{requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","DatasetName","DeviceId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},DatasetName:{location:"uri",locationName:"DatasetName"},DeviceId:{location:"uri",locationName:"DeviceId"}}},output:{type:"structure",members:{}}},UnsubscribeFromDataset:{http:{method:"DELETE",requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","DatasetName","DeviceId"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},DatasetName:{location:"uri",locationName:"DatasetName"},DeviceId:{location:"uri",locationName:"DeviceId"}}},output:{type:"structure",members:{}}},UpdateRecords:{http:{requestUri:"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",responseCode:200},input:{type:"structure",required:["IdentityPoolId","IdentityId","DatasetName","SyncSessionToken"],members:{IdentityPoolId:{location:"uri",locationName:"IdentityPoolId"},IdentityId:{location:"uri",locationName:"IdentityId"},DatasetName:{location:"uri",locationName:"DatasetName"},DeviceId:{},RecordPatches:{type:"list",member:{type:"structure",required:["Op","Key","SyncCount"],members:{Op:{},Key:{},Value:{},SyncCount:{type:"long"},DeviceLastModifiedDate:{type:"timestamp"}}}},SyncSessionToken:{},ClientContext:{location:"header",locationName:"x-amz-Client-Context"}}},output:{type:"structure",members:{Records:{shape:"S1c"}}}}},shapes:{S8:{type:"structure",members:{IdentityId:{},DatasetName:{},CreationDate:{type:"timestamp"},LastModifiedDate:{type:"timestamp"},LastModifiedBy:{},DataStorage:{type:"long"},NumRecords:{type:"long"}}},Sg:{type:"structure",members:{IdentityPoolId:{},SyncSessionsCount:{type:"long"},DataStorage:{type:"long"},LastModifiedDate:{type:"timestamp"}}},Sq:{type:"map",key:{},value:{}},Sv:{type:"structure",members:{ApplicationArns:{type:"list",member:{}},RoleArn:{}}},Sz:{type:"structure",members:{StreamName:{},RoleArn:{},StreamingStatus:{}}},S1c:{type:"list",member:{type:"structure",members:{Key:{},Value:{},SyncCount:{type:"long"},LastModifiedDate:{type:"timestamp"},LastModifiedBy:{},DeviceLastModifiedDate:{type:"timestamp"}}}}},examples:{}},i.apiLoader.services.configservice={},i.ConfigService=i.Service.defineService("configservice",["2014-11-12"]),i.apiLoader.services.configservice["2014-11-12"]={version:"2.0",metadata:{apiVersion:"2014-11-12",endpointPrefix:"config",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Config Service",serviceFullName:"AWS Config",signatureVersion:"v4",targetPrefix:"StarlingDoveService"},operations:{DeleteConfigRule:{input:{type:"structure",required:["ConfigRuleName"],members:{ConfigRuleName:{}}},http:{}},DeleteConfigurationRecorder:{input:{type:"structure",required:["ConfigurationRecorderName"],members:{ConfigurationRecorderName:{}}},http:{}},DeleteDeliveryChannel:{input:{type:"structure",required:["DeliveryChannelName"],members:{DeliveryChannelName:{}}},http:{}},DeliverConfigSnapshot:{input:{type:"structure",required:["deliveryChannelName"],members:{deliveryChannelName:{}}},output:{type:"structure",members:{configSnapshotId:{}}},http:{}},DescribeComplianceByConfigRule:{input:{type:"structure",members:{ConfigRuleNames:{shape:"Sb"},ComplianceTypes:{shape:"Sc"},NextToken:{}}},output:{type:"structure",members:{ComplianceByConfigRules:{type:"list",member:{type:"structure",members:{ConfigRuleName:{},Compliance:{shape:"Sh"}}}},NextToken:{}}},http:{}},DescribeComplianceByResource:{input:{type:"structure",members:{ResourceType:{},ResourceId:{},ComplianceTypes:{shape:"Sc"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ComplianceByResources:{type:"list",member:{type:"structure",members:{ResourceType:{},ResourceId:{},Compliance:{shape:"Sh"}}}},NextToken:{}}},http:{}},DescribeConfigRuleEvaluationStatus:{input:{type:"structure",members:{ConfigRuleNames:{shape:"Sb"}}},output:{type:"structure",members:{ConfigRulesEvaluationStatus:{type:"list",member:{type:"structure",members:{ConfigRuleName:{},ConfigRuleArn:{},ConfigRuleId:{},LastSuccessfulInvocationTime:{type:"timestamp"},LastFailedInvocationTime:{type:"timestamp"},LastSuccessfulEvaluationTime:{type:"timestamp"},LastFailedEvaluationTime:{type:"timestamp"},FirstActivatedTime:{type:"timestamp"},LastErrorCode:{},LastErrorMessage:{},FirstEvaluationStarted:{type:"boolean"}}}}}},http:{}},DescribeConfigRules:{input:{type:"structure",members:{ConfigRuleNames:{shape:"Sb"},NextToken:{}}},output:{type:"structure",members:{ConfigRules:{type:"list",member:{shape:"S10"}},NextToken:{}}},http:{}},DescribeConfigurationRecorderStatus:{input:{type:"structure",members:{ConfigurationRecorderNames:{shape:"S1e"}}},output:{type:"structure",members:{ConfigurationRecordersStatus:{type:"list",member:{type:"structure",members:{name:{},lastStartTime:{type:"timestamp"},lastStopTime:{type:"timestamp"},recording:{type:"boolean"},lastStatus:{},lastErrorCode:{},lastErrorMessage:{},lastStatusChangeTime:{type:"timestamp"}}}}}},http:{}},DescribeConfigurationRecorders:{input:{type:"structure",members:{ConfigurationRecorderNames:{shape:"S1e"}}},output:{type:"structure",members:{ConfigurationRecorders:{type:"list",member:{shape:"S1m"}}}},http:{}},DescribeDeliveryChannelStatus:{input:{type:"structure",members:{DeliveryChannelNames:{shape:"S1t"}}},output:{type:"structure",members:{DeliveryChannelsStatus:{type:"list",member:{type:"structure",members:{name:{},configSnapshotDeliveryInfo:{shape:"S1x"},configHistoryDeliveryInfo:{shape:"S1x"},configStreamDeliveryInfo:{type:"structure",members:{lastStatus:{},lastErrorCode:{},lastErrorMessage:{},lastStatusChangeTime:{type:"timestamp"}}}}}}}},http:{}},DescribeDeliveryChannels:{input:{type:"structure",members:{DeliveryChannelNames:{shape:"S1t"}}},output:{type:"structure",members:{DeliveryChannels:{type:"list",member:{shape:"S23"}}}},http:{}},GetComplianceDetailsByConfigRule:{input:{type:"structure",required:["ConfigRuleName"],members:{ConfigRuleName:{},ComplianceTypes:{shape:"Sc"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{EvaluationResults:{shape:"S27"},NextToken:{}}},http:{}},GetComplianceDetailsByResource:{input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{},ResourceId:{},ComplianceTypes:{shape:"Sc"},NextToken:{}}},output:{type:"structure",members:{EvaluationResults:{shape:"S27"},NextToken:{}}},http:{}},GetComplianceSummaryByConfigRule:{output:{type:"structure",members:{ComplianceSummary:{shape:"S2e"}}},http:{}},GetComplianceSummaryByResourceType:{input:{type:"structure",members:{ResourceTypes:{type:"list",member:{}}}},output:{type:"structure",members:{ComplianceSummariesByResourceType:{type:"list",member:{type:"structure",members:{ResourceType:{},ComplianceSummary:{shape:"S2e"}}}}}},http:{}},GetResourceConfigHistory:{input:{type:"structure",required:["resourceType","resourceId"],members:{resourceType:{},resourceId:{},laterTime:{type:"timestamp"},earlierTime:{type:"timestamp"},chronologicalOrder:{},limit:{type:"integer"},nextToken:{}}},output:{type:"structure",members:{configurationItems:{type:"list",member:{type:"structure",members:{version:{},accountId:{},configurationItemCaptureTime:{type:"timestamp"},configurationItemStatus:{},configurationStateId:{},configurationItemMD5Hash:{},arn:{},resourceType:{},resourceId:{},resourceName:{},awsRegion:{},availabilityZone:{},resourceCreationTime:{type:"timestamp"},tags:{type:"map",key:{},value:{}},relatedEvents:{type:"list",member:{}},relationships:{type:"list",member:{type:"structure",members:{resourceType:{},resourceId:{},resourceName:{},relationshipName:{}}}},configuration:{}}}},nextToken:{}}},http:{}},ListDiscoveredResources:{input:{type:"structure",required:["resourceType"],members:{resourceType:{},resourceIds:{type:"list",member:{}},resourceName:{},limit:{type:"integer"},includeDeletedResources:{type:"boolean"},nextToken:{}}},output:{type:"structure",members:{resourceIdentifiers:{type:"list",member:{type:"structure",members:{resourceType:{},resourceId:{},resourceName:{},resourceDeletionTime:{type:"timestamp"}}}},nextToken:{}}},http:{}},PutConfigRule:{input:{type:"structure",required:["ConfigRule"],members:{ConfigRule:{shape:"S10"}}},http:{}},PutConfigurationRecorder:{input:{type:"structure",required:["ConfigurationRecorder"],members:{ConfigurationRecorder:{shape:"S1m"}}},http:{}},PutDeliveryChannel:{input:{type:"structure",required:["DeliveryChannel"],members:{DeliveryChannel:{shape:"S23"}}},http:{}},PutEvaluations:{input:{type:"structure",required:["ResultToken"],members:{Evaluations:{shape:"S3m"},ResultToken:{}}},output:{type:"structure",members:{FailedEvaluations:{shape:"S3m"}}},http:{}},StartConfigurationRecorder:{input:{type:"structure",required:["ConfigurationRecorderName"],members:{ConfigurationRecorderName:{}}},http:{}},StopConfigurationRecorder:{input:{type:"structure",required:["ConfigurationRecorderName"],members:{ConfigurationRecorderName:{}}},http:{}}},shapes:{Sb:{type:"list",member:{}},Sc:{type:"list",member:{}},Sh:{type:"structure",members:{ComplianceType:{},ComplianceContributorCount:{shape:"Si"}}},Si:{type:"structure",members:{CappedCount:{type:"integer"},CapExceeded:{type:"boolean"}}},S10:{type:"structure",required:["Source"],members:{ConfigRuleName:{},ConfigRuleArn:{},ConfigRuleId:{},Description:{},Scope:{type:"structure",members:{ComplianceResourceTypes:{type:"list",member:{}},TagKey:{},TagValue:{},ComplianceResourceId:{}}},Source:{type:"structure",members:{Owner:{},SourceIdentifier:{},SourceDetails:{type:"list",member:{type:"structure",members:{EventSource:{},MessageType:{}}}}}},InputParameters:{},MaximumExecutionFrequency:{},ConfigRuleState:{}}},S1e:{type:"list",member:{}},S1m:{type:"structure",members:{name:{},roleARN:{},recordingGroup:{type:"structure",members:{allSupported:{type:"boolean"},includeGlobalResourceTypes:{type:"boolean"},resourceTypes:{type:"list",member:{}}}}}},S1t:{type:"list",member:{}},S1x:{type:"structure",members:{lastStatus:{},lastErrorCode:{},lastErrorMessage:{},lastAttemptTime:{type:"timestamp"},lastSuccessfulTime:{type:"timestamp"},nextDeliveryTime:{type:"timestamp"}}},S23:{type:"structure",members:{name:{},s3BucketName:{},s3KeyPrefix:{},snsTopicARN:{},configSnapshotDeliveryProperties:{type:"structure",members:{deliveryFrequency:{}}}}},S27:{type:"list",member:{type:"structure",members:{EvaluationResultIdentifier:{type:"structure",members:{EvaluationResultQualifier:{type:"structure",members:{ConfigRuleName:{},ResourceType:{},ResourceId:{}}},OrderingTimestamp:{type:"timestamp"}}},ComplianceType:{},ResultRecordedTime:{type:"timestamp"},ConfigRuleInvokedTime:{type:"timestamp"},Annotation:{},ResultToken:{}}}},S2e:{type:"structure",members:{CompliantResourceCount:{shape:"Si"},NonCompliantResourceCount:{shape:"Si"},ComplianceSummaryTimestamp:{type:"timestamp"}}},S3m:{type:"list",member:{type:"structure",required:["ComplianceResourceType","ComplianceResourceId","ComplianceType","OrderingTimestamp"],members:{ComplianceResourceType:{},ComplianceResourceId:{},ComplianceType:{},Annotation:{},OrderingTimestamp:{type:"timestamp"}}}}},paginators:{GetResourceConfigHistory:{input_token:"nextToken",output_token:"nextToken",limit_key:"limit",result_key:"configurationItems"}}},i.apiLoader.services.devicefarm={},i.DeviceFarm=i.Service.defineService("devicefarm",["2015-06-23"]),i.apiLoader.services.devicefarm["2015-06-23"]={version:"2.0",metadata:{apiVersion:"2015-06-23",endpointPrefix:"devicefarm",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Device Farm",signatureVersion:"v4",targetPrefix:"DeviceFarm_20150623"},operations:{CreateDevicePool:{input:{type:"structure",required:["projectArn","name","rules"],members:{projectArn:{},name:{},description:{},rules:{shape:"S5"}}},output:{type:"structure",members:{devicePool:{shape:"Sb"}}},http:{}},CreateProject:{input:{type:"structure",required:["name"],members:{name:{}}},output:{type:"structure",members:{project:{shape:"Sf"}}},http:{}},CreateUpload:{input:{type:"structure",required:["projectArn","name","type"],members:{projectArn:{},name:{},type:{},contentType:{}}},output:{type:"structure",members:{upload:{shape:"Sl"}}},http:{}},DeleteDevicePool:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{}},http:{}},DeleteProject:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{}},http:{}},DeleteRun:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{}},http:{}},DeleteUpload:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{}},http:{}},GetAccountSettings:{input:{type:"structure",members:{}},output:{type:"structure",members:{accountSettings:{type:"structure",members:{awsAccountNumber:{},unmeteredDevices:{shape:"S11"},unmeteredRemoteAccessDevices:{shape:"S11"}}}}},http:{}},GetDevice:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{device:{shape:"S16"}}},http:{}},GetDevicePool:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{devicePool:{shape:"Sb"}}},http:{}},GetDevicePoolCompatibility:{input:{type:"structure",required:["devicePoolArn"],members:{devicePoolArn:{},appArn:{},testType:{}}},output:{type:"structure",members:{compatibleDevices:{shape:"S1h"},incompatibleDevices:{shape:"S1h"}}},http:{}},GetJob:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{job:{shape:"S1o"}}},http:{}},GetOfferingStatus:{input:{type:"structure",members:{nextToken:{}}},output:{type:"structure",members:{current:{shape:"S1w"},nextPeriod:{shape:"S1w"},nextToken:{}}},http:{}},GetProject:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{project:{shape:"Sf"}}},http:{}},GetRun:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{run:{shape:"S2b"}}},http:{}},GetSuite:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{suite:{shape:"S2f"}}},http:{}},GetTest:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{test:{shape:"S2i"}}},http:{}},GetUpload:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{upload:{shape:"Sl"}}},http:{}},ListArtifacts:{input:{type:"structure",required:["arn","type"],members:{arn:{},type:{},nextToken:{}}},output:{type:"structure",members:{artifacts:{type:"list",member:{type:"structure",members:{arn:{},name:{},type:{},extension:{},url:{}}}},nextToken:{}}},http:{}},ListDevicePools:{input:{type:"structure",required:["arn"],members:{arn:{},type:{},nextToken:{}}},output:{type:"structure",members:{devicePools:{type:"list",member:{shape:"Sb"}},nextToken:{}}},http:{}},ListDevices:{
input:{type:"structure",members:{arn:{},nextToken:{}}},output:{type:"structure",members:{devices:{type:"list",member:{shape:"S16"}},nextToken:{}}},http:{}},ListJobs:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{jobs:{type:"list",member:{shape:"S1o"}},nextToken:{}}},http:{}},ListOfferingTransactions:{input:{type:"structure",members:{nextToken:{}}},output:{type:"structure",members:{offeringTransactions:{type:"list",member:{shape:"S33"}},nextToken:{}}},http:{}},ListOfferings:{input:{type:"structure",members:{nextToken:{}}},output:{type:"structure",members:{offerings:{type:"list",member:{shape:"S20"}},nextToken:{}}},http:{}},ListProjects:{input:{type:"structure",members:{arn:{},nextToken:{}}},output:{type:"structure",members:{projects:{type:"list",member:{shape:"Sf"}},nextToken:{}}},http:{}},ListRuns:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{runs:{type:"list",member:{shape:"S2b"}},nextToken:{}}},http:{}},ListSamples:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{samples:{type:"list",member:{type:"structure",members:{arn:{},type:{},url:{}}}},nextToken:{}}},http:{}},ListSuites:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{suites:{type:"list",member:{shape:"S2f"}},nextToken:{}}},http:{}},ListTests:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{tests:{type:"list",member:{shape:"S2i"}},nextToken:{}}},http:{}},ListUniqueProblems:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{uniqueProblems:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{message:{},problems:{type:"list",member:{type:"structure",members:{run:{shape:"S3w"},job:{shape:"S3w"},suite:{shape:"S3w"},test:{shape:"S3w"},device:{shape:"S16"},result:{},message:{}}}}}}}},nextToken:{}}},http:{}},ListUploads:{input:{type:"structure",required:["arn"],members:{arn:{},nextToken:{}}},output:{type:"structure",members:{uploads:{type:"list",member:{shape:"Sl"}},nextToken:{}}},http:{}},PurchaseOffering:{input:{type:"structure",members:{offeringId:{},quantity:{type:"integer"}}},output:{type:"structure",members:{offeringTransaction:{shape:"S33"}}},http:{}},RenewOffering:{input:{type:"structure",members:{offeringId:{},quantity:{type:"integer"}}},output:{type:"structure",members:{offeringTransaction:{shape:"S33"}}},http:{}},ScheduleRun:{input:{type:"structure",required:["projectArn","devicePoolArn","test"],members:{projectArn:{},appArn:{},devicePoolArn:{},name:{},test:{type:"structure",required:["type"],members:{type:{},testPackageArn:{},filter:{},parameters:{type:"map",key:{},value:{}}}},configuration:{type:"structure",members:{extraDataPackageArn:{},networkProfileArn:{},locale:{},location:{type:"structure",required:["latitude","longitude"],members:{latitude:{type:"double"},longitude:{type:"double"}}},radios:{type:"structure",members:{wifi:{type:"boolean"},bluetooth:{type:"boolean"},nfc:{type:"boolean"},gps:{type:"boolean"}}},auxiliaryApps:{type:"list",member:{}},billingMethod:{}}}}},output:{type:"structure",members:{run:{shape:"S2b"}}},http:{}},StopRun:{input:{type:"structure",required:["arn"],members:{arn:{}}},output:{type:"structure",members:{run:{shape:"S2b"}}},http:{}},UpdateDevicePool:{input:{type:"structure",required:["arn"],members:{arn:{},name:{},description:{},rules:{shape:"S5"}}},output:{type:"structure",members:{devicePool:{shape:"Sb"}}},http:{}},UpdateProject:{input:{type:"structure",required:["arn"],members:{arn:{},name:{}}},output:{type:"structure",members:{project:{shape:"Sf"}}},http:{}}},shapes:{S5:{type:"list",member:{type:"structure",members:{attribute:{},operator:{},value:{}}}},Sb:{type:"structure",members:{arn:{},name:{},description:{},type:{},rules:{shape:"S5"}}},Sf:{type:"structure",members:{arn:{},name:{},created:{type:"timestamp"}}},Sl:{type:"structure",members:{arn:{},name:{},created:{type:"timestamp"},type:{},status:{},url:{},metadata:{},contentType:{},message:{}}},S11:{type:"map",key:{},value:{type:"integer"}},S16:{type:"structure",members:{arn:{},name:{},manufacturer:{},model:{},formFactor:{},platform:{},os:{},cpu:{type:"structure",members:{frequency:{},architecture:{},clock:{type:"double"}}},resolution:{type:"structure",members:{width:{type:"integer"},height:{type:"integer"}}},heapSize:{type:"long"},memory:{type:"long"},image:{},carrier:{},radio:{}}},S1h:{type:"list",member:{type:"structure",members:{device:{shape:"S16"},compatible:{type:"boolean"},incompatibilityMessages:{type:"list",member:{type:"structure",members:{message:{},type:{}}}}}}},S1o:{type:"structure",members:{arn:{},name:{},type:{},created:{type:"timestamp"},status:{},result:{},started:{type:"timestamp"},stopped:{type:"timestamp"},counters:{shape:"S1r"},message:{},device:{shape:"S16"},deviceMinutes:{shape:"S1s"}}},S1r:{type:"structure",members:{total:{type:"integer"},passed:{type:"integer"},failed:{type:"integer"},warned:{type:"integer"},errored:{type:"integer"},stopped:{type:"integer"},skipped:{type:"integer"}}},S1s:{type:"structure",members:{total:{type:"double"},metered:{type:"double"},unmetered:{type:"double"}}},S1w:{type:"map",key:{},value:{shape:"S1y"}},S1y:{type:"structure",members:{type:{},offering:{shape:"S20"},quantity:{type:"integer"},effectiveOn:{type:"timestamp"}}},S20:{type:"structure",members:{id:{},description:{},type:{},platform:{},recurringCharges:{type:"list",member:{type:"structure",members:{cost:{shape:"S24"},frequency:{}}}}}},S24:{type:"structure",members:{amount:{type:"double"},currencyCode:{}}},S2b:{type:"structure",members:{arn:{},name:{},type:{},platform:{},created:{type:"timestamp"},status:{},result:{},started:{type:"timestamp"},stopped:{type:"timestamp"},counters:{shape:"S1r"},message:{},totalJobs:{type:"integer"},completedJobs:{type:"integer"},billingMethod:{},deviceMinutes:{shape:"S1s"}}},S2f:{type:"structure",members:{arn:{},name:{},type:{},created:{type:"timestamp"},status:{},result:{},started:{type:"timestamp"},stopped:{type:"timestamp"},counters:{shape:"S1r"},message:{},deviceMinutes:{shape:"S1s"}}},S2i:{type:"structure",members:{arn:{},name:{},type:{},created:{type:"timestamp"},status:{},result:{},started:{type:"timestamp"},stopped:{type:"timestamp"},counters:{shape:"S1r"},message:{},deviceMinutes:{shape:"S1s"}}},S33:{type:"structure",members:{offeringStatus:{shape:"S1y"},transactionId:{},createdOn:{type:"timestamp"},cost:{shape:"S24"}}},S3w:{type:"structure",members:{arn:{},name:{}}}},paginators:{GetOfferingStatus:{input_token:"nextToken",output_token:"nextToken",result_key:["current","nextPeriod"]},ListArtifacts:{input_token:"nextToken",output_token:"nextToken",result_key:"artifacts"},ListDevicePools:{input_token:"nextToken",output_token:"nextToken",result_key:"devicePools"},ListDevices:{input_token:"nextToken",output_token:"nextToken",result_key:"devices"},ListJobs:{input_token:"nextToken",output_token:"nextToken",result_key:"jobs"},ListOfferingTransactions:{input_token:"nextToken",output_token:"nextToken",result_key:"offeringTransactions"},ListOfferings:{input_token:"nextToken",output_token:"nextToken",result_key:"offerings"},ListProjects:{input_token:"nextToken",output_token:"nextToken",result_key:"projects"},ListRuns:{input_token:"nextToken",output_token:"nextToken",result_key:"runs"},ListSamples:{input_token:"nextToken",output_token:"nextToken",result_key:"samples"},ListSuites:{input_token:"nextToken",output_token:"nextToken",result_key:"suites"},ListTests:{input_token:"nextToken",output_token:"nextToken",result_key:"tests"},ListUniqueProblems:{input_token:"nextToken",output_token:"nextToken",result_key:"uniqueProblems"},ListUploads:{input_token:"nextToken",output_token:"nextToken",result_key:"uploads"}}},i.apiLoader.services.directconnect={},i.DirectConnect=i.Service.defineService("directconnect",["2012-10-25"]),i.apiLoader.services.directconnect["2012-10-25"]={version:"2.0",metadata:{apiVersion:"2012-10-25",endpointPrefix:"directconnect",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Direct Connect",signatureVersion:"v4",targetPrefix:"OvertureService"},operations:{AllocateConnectionOnInterconnect:{input:{type:"structure",required:["bandwidth","connectionName","ownerAccount","interconnectId","vlan"],members:{bandwidth:{},connectionName:{},ownerAccount:{},interconnectId:{},vlan:{type:"integer"}}},output:{shape:"S7"},http:{}},AllocatePrivateVirtualInterface:{input:{type:"structure",required:["connectionId","ownerAccount","newPrivateVirtualInterfaceAllocation"],members:{connectionId:{},ownerAccount:{},newPrivateVirtualInterfaceAllocation:{type:"structure",required:["virtualInterfaceName","vlan","asn"],members:{virtualInterfaceName:{},vlan:{type:"integer"},asn:{type:"integer"},authKey:{},amazonAddress:{},customerAddress:{}}}}},output:{shape:"Sl"},http:{}},AllocatePublicVirtualInterface:{input:{type:"structure",required:["connectionId","ownerAccount","newPublicVirtualInterfaceAllocation"],members:{connectionId:{},ownerAccount:{},newPublicVirtualInterfaceAllocation:{type:"structure",required:["virtualInterfaceName","vlan","asn","amazonAddress","customerAddress","routeFilterPrefixes"],members:{virtualInterfaceName:{},vlan:{type:"integer"},asn:{type:"integer"},authKey:{},amazonAddress:{},customerAddress:{},routeFilterPrefixes:{shape:"Sr"}}}}},output:{shape:"Sl"},http:{}},ConfirmConnection:{input:{type:"structure",required:["connectionId"],members:{connectionId:{}}},output:{type:"structure",members:{connectionState:{}}},http:{}},ConfirmPrivateVirtualInterface:{input:{type:"structure",required:["virtualInterfaceId","virtualGatewayId"],members:{virtualInterfaceId:{},virtualGatewayId:{}}},output:{type:"structure",members:{virtualInterfaceState:{}}},http:{}},ConfirmPublicVirtualInterface:{input:{type:"structure",required:["virtualInterfaceId"],members:{virtualInterfaceId:{}}},output:{type:"structure",members:{virtualInterfaceState:{}}},http:{}},CreateConnection:{input:{type:"structure",required:["location","bandwidth","connectionName"],members:{location:{},bandwidth:{},connectionName:{}}},output:{shape:"S7"},http:{}},CreateInterconnect:{input:{type:"structure",required:["interconnectName","bandwidth","location"],members:{interconnectName:{},bandwidth:{},location:{}}},output:{shape:"S15"},http:{}},CreatePrivateVirtualInterface:{input:{type:"structure",required:["connectionId","newPrivateVirtualInterface"],members:{connectionId:{},newPrivateVirtualInterface:{type:"structure",required:["virtualInterfaceName","vlan","asn","virtualGatewayId"],members:{virtualInterfaceName:{},vlan:{type:"integer"},asn:{type:"integer"},authKey:{},amazonAddress:{},customerAddress:{},virtualGatewayId:{}}}}},output:{shape:"Sl"},http:{}},CreatePublicVirtualInterface:{input:{type:"structure",required:["connectionId","newPublicVirtualInterface"],members:{connectionId:{},newPublicVirtualInterface:{type:"structure",required:["virtualInterfaceName","vlan","asn","amazonAddress","customerAddress","routeFilterPrefixes"],members:{virtualInterfaceName:{},vlan:{type:"integer"},asn:{type:"integer"},authKey:{},amazonAddress:{},customerAddress:{},routeFilterPrefixes:{shape:"Sr"}}}}},output:{shape:"Sl"},http:{}},DeleteConnection:{input:{type:"structure",required:["connectionId"],members:{connectionId:{}}},output:{shape:"S7"},http:{}},DeleteInterconnect:{input:{type:"structure",required:["interconnectId"],members:{interconnectId:{}}},output:{type:"structure",members:{interconnectState:{}}},http:{}},DeleteVirtualInterface:{input:{type:"structure",required:["virtualInterfaceId"],members:{virtualInterfaceId:{}}},output:{type:"structure",members:{virtualInterfaceState:{}}},http:{}},DescribeConnectionLoa:{input:{type:"structure",required:["connectionId"],members:{connectionId:{},providerName:{},loaContentType:{}}},output:{type:"structure",members:{loa:{shape:"S1k"}}},http:{}},DescribeConnections:{input:{type:"structure",members:{connectionId:{}}},output:{shape:"S1n"},http:{}},DescribeConnectionsOnInterconnect:{input:{type:"structure",required:["interconnectId"],members:{interconnectId:{}}},output:{shape:"S1n"},http:{}},DescribeInterconnectLoa:{input:{type:"structure",required:["interconnectId"],members:{interconnectId:{},providerName:{},loaContentType:{}}},output:{type:"structure",members:{loa:{shape:"S1k"}}},http:{}},DescribeInterconnects:{input:{type:"structure",members:{interconnectId:{}}},output:{type:"structure",members:{interconnects:{type:"list",member:{shape:"S15"}}}},http:{}},DescribeLocations:{output:{type:"structure",members:{locations:{type:"list",member:{type:"structure",members:{locationCode:{},locationName:{}}}}}},http:{}},DescribeVirtualGateways:{output:{type:"structure",members:{virtualGateways:{type:"list",member:{type:"structure",members:{virtualGatewayId:{},virtualGatewayState:{}}}}}},http:{}},DescribeVirtualInterfaces:{input:{type:"structure",members:{connectionId:{},virtualInterfaceId:{}}},output:{type:"structure",members:{virtualInterfaces:{type:"list",member:{shape:"Sl"}}}},http:{}}},shapes:{S7:{type:"structure",members:{ownerAccount:{},connectionId:{},connectionName:{},connectionState:{},region:{},location:{},bandwidth:{},vlan:{type:"integer"},partnerName:{},loaIssueTime:{type:"timestamp"}}},Sl:{type:"structure",members:{ownerAccount:{},virtualInterfaceId:{},location:{},connectionId:{},virtualInterfaceType:{},virtualInterfaceName:{},vlan:{type:"integer"},asn:{type:"integer"},authKey:{},amazonAddress:{},customerAddress:{},virtualInterfaceState:{},customerRouterConfig:{},virtualGatewayId:{},routeFilterPrefixes:{shape:"Sr"}}},Sr:{type:"list",member:{type:"structure",members:{cidr:{}}}},S15:{type:"structure",members:{interconnectId:{},interconnectName:{},interconnectState:{},region:{},location:{},bandwidth:{},loaIssueTime:{type:"timestamp"}}},S1k:{type:"structure",members:{loaContent:{type:"blob"},loaContentType:{}}},S1n:{type:"structure",members:{connections:{type:"list",member:{shape:"S7"}}}}},paginators:{DescribeConnections:{result_key:"connections"},DescribeConnectionsOnInterconnect:{result_key:"connections"},DescribeInterconnects:{result_key:"interconnects"},DescribeLocations:{result_key:"locations"},DescribeVirtualGateways:{result_key:"virtualGateways"},DescribeVirtualInterfaces:{result_key:"virtualInterfaces"}}},i.apiLoader.services.dynamodb={},i.DynamoDB=i.Service.defineService("dynamodb",["2011-12-05","2012-08-10"]),e("./services/dynamodb"),i.apiLoader.services.dynamodb["2012-08-10"]={version:"2.0",metadata:{apiVersion:"2012-08-10",endpointPrefix:"dynamodb",jsonVersion:"1.0",protocol:"json",serviceAbbreviation:"DynamoDB",serviceFullName:"Amazon DynamoDB",signatureVersion:"v4",targetPrefix:"DynamoDB_20120810"},operations:{BatchGetItem:{input:{type:"structure",required:["RequestItems"],members:{RequestItems:{shape:"S2"},ReturnConsumedCapacity:{}}},output:{type:"structure",members:{Responses:{type:"map",key:{},value:{shape:"Sr"}},UnprocessedKeys:{shape:"S2"},ConsumedCapacity:{shape:"St"}}},http:{}},BatchWriteItem:{input:{type:"structure",required:["RequestItems"],members:{RequestItems:{shape:"S10"},ReturnConsumedCapacity:{},ReturnItemCollectionMetrics:{}}},output:{type:"structure",members:{UnprocessedItems:{shape:"S10"},ItemCollectionMetrics:{type:"map",key:{},value:{type:"list",member:{shape:"S1a"}}},ConsumedCapacity:{shape:"St"}}},http:{}},CreateTable:{input:{type:"structure",required:["AttributeDefinitions","TableName","KeySchema","ProvisionedThroughput"],members:{AttributeDefinitions:{shape:"S1f"},TableName:{},KeySchema:{shape:"S1j"},LocalSecondaryIndexes:{type:"list",member:{type:"structure",required:["IndexName","KeySchema","Projection"],members:{IndexName:{},KeySchema:{shape:"S1j"},Projection:{shape:"S1o"}}}},GlobalSecondaryIndexes:{type:"list",member:{type:"structure",required:["IndexName","KeySchema","Projection","ProvisionedThroughput"],members:{IndexName:{},KeySchema:{shape:"S1j"},Projection:{shape:"S1o"},ProvisionedThroughput:{shape:"S1u"}}}},ProvisionedThroughput:{shape:"S1u"},StreamSpecification:{shape:"S1w"}}},output:{type:"structure",members:{TableDescription:{shape:"S20"}}},http:{}},DeleteItem:{input:{type:"structure",required:["TableName","Key"],members:{TableName:{},Key:{shape:"S6"},Expected:{shape:"S2e"},ConditionalOperator:{},ReturnValues:{},ReturnConsumedCapacity:{},ReturnItemCollectionMetrics:{},ConditionExpression:{},ExpressionAttributeNames:{shape:"Sm"},ExpressionAttributeValues:{shape:"S2m"}}},output:{type:"structure",members:{Attributes:{shape:"Ss"},ConsumedCapacity:{shape:"Su"},ItemCollectionMetrics:{shape:"S1a"}}},http:{}},DeleteTable:{input:{type:"structure",required:["TableName"],members:{TableName:{}}},output:{type:"structure",members:{TableDescription:{shape:"S20"}}},http:{}},DescribeLimits:{input:{type:"structure",members:{}},output:{type:"structure",members:{AccountMaxReadCapacityUnits:{type:"long"},AccountMaxWriteCapacityUnits:{type:"long"},TableMaxReadCapacityUnits:{type:"long"},TableMaxWriteCapacityUnits:{type:"long"}}},http:{}},DescribeTable:{input:{type:"structure",required:["TableName"],members:{TableName:{}}},output:{type:"structure",members:{Table:{shape:"S20"}}},http:{}},GetItem:{input:{type:"structure",required:["TableName","Key"],members:{TableName:{},Key:{shape:"S6"},AttributesToGet:{shape:"Sj"},ConsistentRead:{type:"boolean"},ReturnConsumedCapacity:{},ProjectionExpression:{},ExpressionAttributeNames:{shape:"Sm"}}},output:{type:"structure",members:{Item:{shape:"Ss"},ConsumedCapacity:{shape:"Su"}}},http:{}},ListTables:{input:{type:"structure",members:{ExclusiveStartTableName:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TableNames:{type:"list",member:{}},LastEvaluatedTableName:{}}},http:{}},PutItem:{input:{type:"structure",required:["TableName","Item"],members:{TableName:{},Item:{shape:"S14"},Expected:{shape:"S2e"},ReturnValues:{},ReturnConsumedCapacity:{},ReturnItemCollectionMetrics:{},ConditionalOperator:{},ConditionExpression:{},ExpressionAttributeNames:{shape:"Sm"},ExpressionAttributeValues:{shape:"S2m"}}},output:{type:"structure",members:{Attributes:{shape:"Ss"},ConsumedCapacity:{shape:"Su"},ItemCollectionMetrics:{shape:"S1a"}}},http:{}},Query:{input:{type:"structure",required:["TableName"],members:{TableName:{},IndexName:{},Select:{},AttributesToGet:{shape:"Sj"},Limit:{type:"integer"},ConsistentRead:{type:"boolean"},KeyConditions:{type:"map",key:{},value:{shape:"S37"}},QueryFilter:{shape:"S38"},ConditionalOperator:{},ScanIndexForward:{type:"boolean"},ExclusiveStartKey:{shape:"S6"},ReturnConsumedCapacity:{},ProjectionExpression:{},FilterExpression:{},KeyConditionExpression:{},ExpressionAttributeNames:{shape:"Sm"},ExpressionAttributeValues:{shape:"S2m"}}},output:{type:"structure",members:{Items:{shape:"Sr"},Count:{type:"integer"},ScannedCount:{type:"integer"},LastEvaluatedKey:{shape:"S6"},ConsumedCapacity:{shape:"Su"}}},http:{}},Scan:{input:{type:"structure",required:["TableName"],members:{TableName:{},IndexName:{},AttributesToGet:{shape:"Sj"},Limit:{type:"integer"},Select:{},ScanFilter:{shape:"S38"},ConditionalOperator:{},ExclusiveStartKey:{shape:"S6"},ReturnConsumedCapacity:{},TotalSegments:{type:"integer"},Segment:{type:"integer"},ProjectionExpression:{},FilterExpression:{},ExpressionAttributeNames:{shape:"Sm"},ExpressionAttributeValues:{shape:"S2m"},ConsistentRead:{type:"boolean"}}},output:{type:"structure",members:{Items:{shape:"Sr"},Count:{type:"integer"},ScannedCount:{type:"integer"},LastEvaluatedKey:{shape:"S6"},ConsumedCapacity:{shape:"Su"}}},http:{}},UpdateItem:{input:{type:"structure",required:["TableName","Key"],members:{TableName:{},Key:{shape:"S6"},AttributeUpdates:{type:"map",key:{},value:{type:"structure",members:{Value:{shape:"S8"},Action:{}}}},Expected:{shape:"S2e"},ConditionalOperator:{},ReturnValues:{},ReturnConsumedCapacity:{},ReturnItemCollectionMetrics:{},UpdateExpression:{},ConditionExpression:{},ExpressionAttributeNames:{shape:"Sm"},ExpressionAttributeValues:{shape:"S2m"}}},output:{type:"structure",members:{Attributes:{shape:"Ss"},ConsumedCapacity:{shape:"Su"},ItemCollectionMetrics:{shape:"S1a"}}},http:{}},UpdateTable:{input:{type:"structure",required:["TableName"],members:{AttributeDefinitions:{shape:"S1f"},TableName:{},ProvisionedThroughput:{shape:"S1u"},GlobalSecondaryIndexUpdates:{type:"list",member:{type:"structure",members:{Update:{type:"structure",required:["IndexName","ProvisionedThroughput"],members:{IndexName:{},ProvisionedThroughput:{shape:"S1u"}}},Create:{type:"structure",required:["IndexName","KeySchema","Projection","ProvisionedThroughput"],members:{IndexName:{},KeySchema:{shape:"S1j"},Projection:{shape:"S1o"},ProvisionedThroughput:{shape:"S1u"}}},Delete:{type:"structure",required:["IndexName"],members:{IndexName:{}}}}}},StreamSpecification:{shape:"S1w"}}},output:{type:"structure",members:{TableDescription:{shape:"S20"}}},http:{}}},shapes:{S2:{type:"map",key:{},value:{type:"structure",required:["Keys"],members:{Keys:{type:"list",member:{shape:"S6"}},AttributesToGet:{shape:"Sj"},ConsistentRead:{type:"boolean"},ProjectionExpression:{},ExpressionAttributeNames:{shape:"Sm"}}}},S6:{type:"map",key:{},value:{shape:"S8"}},S8:{type:"structure",members:{S:{},N:{},B:{type:"blob"},SS:{type:"list",member:{}},NS:{type:"list",member:{}},BS:{type:"list",member:{type:"blob"}},M:{type:"map",key:{},value:{shape:"S8"}},L:{type:"list",member:{shape:"S8"}},NULL:{type:"boolean"},BOOL:{type:"boolean"}}},Sj:{type:"list",member:{}},Sm:{type:"map",key:{},value:{}},Sr:{type:"list",member:{shape:"Ss"}},Ss:{type:"map",key:{},value:{shape:"S8"}},St:{type:"list",member:{shape:"Su"}},Su:{type:"structure",members:{TableName:{},CapacityUnits:{type:"double"},Table:{shape:"Sw"},LocalSecondaryIndexes:{shape:"Sx"},GlobalSecondaryIndexes:{shape:"Sx"}}},Sw:{type:"structure",members:{CapacityUnits:{type:"double"}}},Sx:{type:"map",key:{},value:{shape:"Sw"}},S10:{type:"map",key:{},value:{type:"list",member:{type:"structure",members:{PutRequest:{type:"structure",required:["Item"],members:{Item:{shape:"S14"}}},DeleteRequest:{type:"structure",required:["Key"],members:{Key:{shape:"S6"}}}}}}},S14:{type:"map",key:{},value:{shape:"S8"}},S1a:{type:"structure",members:{ItemCollectionKey:{type:"map",key:{},value:{shape:"S8"}},SizeEstimateRangeGB:{type:"list",member:{type:"double"}}}},S1f:{type:"list",member:{type:"structure",required:["AttributeName","AttributeType"],members:{AttributeName:{},AttributeType:{}}}},S1j:{type:"list",member:{type:"structure",required:["AttributeName","KeyType"],members:{AttributeName:{},KeyType:{}}}},S1o:{type:"structure",members:{ProjectionType:{},NonKeyAttributes:{type:"list",member:{}}}},S1u:{type:"structure",required:["ReadCapacityUnits","WriteCapacityUnits"],members:{ReadCapacityUnits:{type:"long"},WriteCapacityUnits:{type:"long"}}},S1w:{type:"structure",members:{StreamEnabled:{type:"boolean"},StreamViewType:{}}},S20:{type:"structure",members:{AttributeDefinitions:{shape:"S1f"},TableName:{},KeySchema:{shape:"S1j"},TableStatus:{},CreationDateTime:{type:"timestamp"},ProvisionedThroughput:{shape:"S23"},TableSizeBytes:{type:"long"},ItemCount:{type:"long"},TableArn:{},LocalSecondaryIndexes:{type:"list",member:{type:"structure",members:{IndexName:{},KeySchema:{shape:"S1j"},Projection:{shape:"S1o"},IndexSizeBytes:{type:"long"},ItemCount:{type:"long"},IndexArn:{}}}},GlobalSecondaryIndexes:{type:"list",member:{type:"structure",members:{IndexName:{},KeySchema:{shape:"S1j"},Projection:{shape:"S1o"},IndexStatus:{},Backfilling:{type:"boolean"},ProvisionedThroughput:{shape:"S23"},IndexSizeBytes:{type:"long"},ItemCount:{type:"long"},IndexArn:{}}}},StreamSpecification:{shape:"S1w"},LatestStreamLabel:{},LatestStreamArn:{}}},S23:{type:"structure",members:{LastIncreaseDateTime:{type:"timestamp"},LastDecreaseDateTime:{type:"timestamp"},NumberOfDecreasesToday:{type:"long"},ReadCapacityUnits:{type:"long"},WriteCapacityUnits:{type:"long"}}},S2e:{type:"map",key:{},value:{type:"structure",members:{Value:{shape:"S8"},Exists:{type:"boolean"},ComparisonOperator:{},AttributeValueList:{shape:"S2i"}}}},S2i:{type:"list",member:{shape:"S8"}},S2m:{type:"map",key:{},value:{shape:"S8"}},S37:{type:"structure",required:["ComparisonOperator"],members:{AttributeValueList:{shape:"S2i"},ComparisonOperator:{}}},S38:{type:"map",key:{},value:{shape:"S37"}}},paginators:{BatchGetItem:{input_token:"RequestItems",output_token:"UnprocessedKeys"},ListTables:{input_token:"ExclusiveStartTableName",output_token:"LastEvaluatedTableName",limit_key:"Limit",result_key:"TableNames"},Query:{input_token:"ExclusiveStartKey",output_token:"LastEvaluatedKey",limit_key:"Limit",result_key:"Items"},Scan:{input_token:"ExclusiveStartKey",output_token:"LastEvaluatedKey",limit_key:"Limit",result_key:"Items"}},waiters:{TableExists:{delay:20,operation:"DescribeTable",maxAttempts:25,acceptors:[{expected:"ACTIVE",matcher:"path",state:"success",argument:"Table.TableStatus"},{expected:"ResourceNotFoundException",matcher:"error",state:"retry"}]},TableNotExists:{delay:20,operation:"DescribeTable",maxAttempts:25,acceptors:[{expected:"ResourceNotFoundException",matcher:"error",state:"success"}]}}},i.apiLoader.services.dynamodbstreams={},i.DynamoDBStreams=i.Service.defineService("dynamodbstreams",["2012-08-10"]),i.apiLoader.services.dynamodbstreams["2012-08-10"]={version:"2.0",metadata:{apiVersion:"2012-08-10",endpointPrefix:"streams.dynamodb",jsonVersion:"1.0",protocol:"json",serviceFullName:"Amazon DynamoDB Streams",signatureVersion:"v4",signingName:"dynamodb",targetPrefix:"DynamoDBStreams_20120810"},operations:{DescribeStream:{input:{type:"structure",required:["StreamArn"],members:{StreamArn:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",members:{StreamDescription:{type:"structure",members:{StreamArn:{},StreamLabel:{},StreamStatus:{},StreamViewType:{},CreationRequestDateTime:{type:"timestamp"},TableName:{},KeySchema:{type:"list",member:{type:"structure",required:["AttributeName","KeyType"],members:{AttributeName:{},KeyType:{}}}},Shards:{type:"list",member:{type:"structure",members:{ShardId:{},SequenceNumberRange:{type:"structure",members:{StartingSequenceNumber:{},EndingSequenceNumber:{}}},ParentShardId:{}}}},LastEvaluatedShardId:{}}}}},http:{}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Records:{type:"list",member:{type:"structure",members:{eventID:{},eventName:{},eventVersion:{},eventSource:{},awsRegion:{},dynamodb:{type:"structure",members:{ApproximateCreationDateTime:{type:"timestamp"},Keys:{shape:"Sr"},NewImage:{shape:"Sr"},OldImage:{shape:"Sr"},SequenceNumber:{},SizeBytes:{type:"long"},StreamViewType:{}}}}}},NextShardIterator:{}}},http:{}},GetShardIterator:{input:{type:"structure",required:["StreamArn","ShardId","ShardIteratorType"],members:{StreamArn:{},ShardId:{},ShardIteratorType:{},SequenceNumber:{}}},output:{type:"structure",members:{ShardIterator:{}}},http:{}},ListStreams:{input:{type:"structure",members:{TableName:{},Limit:{type:"integer"},ExclusiveStartStreamArn:{}}},output:{type:"structure",members:{Streams:{type:"list",member:{type:"structure",members:{StreamArn:{},TableName:{},StreamLabel:{}}}},LastEvaluatedStreamArn:{}}},http:{}}},shapes:{Sr:{type:"map",key:{},value:{shape:"St"}},St:{type:"structure",members:{S:{},N:{},B:{type:"blob"},SS:{type:"list",member:{}},NS:{type:"list",member:{}},BS:{type:"list",member:{type:"blob"}},M:{type:"map",key:{},value:{shape:"St"}},L:{type:"list",member:{shape:"St"}},NULL:{type:"boolean"},BOOL:{type:"boolean"}}}}},i.apiLoader.services.ec2={},i.EC2=i.Service.defineService("ec2",["2016-04-01"]),e("./services/ec2"),i.apiLoader.services.ec2["2016-04-01"]={version:"2.0",metadata:{apiVersion:"2016-04-01",endpointPrefix:"ec2",protocol:"ec2",serviceAbbreviation:"Amazon EC2",serviceFullName:"Amazon Elastic Compute Cloud",signatureVersion:"v4",xmlNamespace:"http://ec2.amazonaws.com/doc/2016-04-01"},operations:{AcceptVpcPeeringConnection:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{VpcPeeringConnection:{shape:"S5",locationName:"vpcPeeringConnection"}}},http:{}},AllocateAddress:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},Domain:{}}},output:{type:"structure",members:{PublicIp:{locationName:"publicIp"},Domain:{locationName:"domain"},AllocationId:{locationName:"allocationId"}}},http:{}},AllocateHosts:{input:{type:"structure",required:["InstanceType","Quantity","AvailabilityZone"],members:{AutoPlacement:{locationName:"autoPlacement"},ClientToken:{locationName:"clientToken"},InstanceType:{locationName:"instanceType"},Quantity:{locationName:"quantity",type:"integer"},AvailabilityZone:{locationName:"availabilityZone"}}},output:{type:"structure",members:{HostIds:{shape:"Sk",locationName:"hostIdSet"}}},http:{}},AssignPrivateIpAddresses:{input:{type:"structure",required:["NetworkInterfaceId"],members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddresses:{shape:"Sm",locationName:"privateIpAddress"},SecondaryPrivateIpAddressCount:{locationName:"secondaryPrivateIpAddressCount",type:"integer"},AllowReassignment:{locationName:"allowReassignment",type:"boolean"}}},http:{}},AssociateAddress:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{},PublicIp:{},AllocationId:{},NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddress:{locationName:"privateIpAddress"},AllowReassociation:{locationName:"allowReassociation",type:"boolean"}}},output:{type:"structure",members:{AssociationId:{locationName:"associationId"}}},http:{}},AssociateDhcpOptions:{input:{type:"structure",required:["DhcpOptionsId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},DhcpOptionsId:{},VpcId:{}}},http:{}},AssociateRouteTable:{input:{type:"structure",required:["SubnetId","RouteTableId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SubnetId:{locationName:"subnetId"},RouteTableId:{locationName:"routeTableId"}}},output:{type:"structure",members:{AssociationId:{locationName:"associationId"}}},http:{}},AttachClassicLinkVpc:{input:{type:"structure",required:["InstanceId","VpcId","Groups"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},VpcId:{locationName:"vpcId"},Groups:{shape:"St",locationName:"SecurityGroupId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},AttachInternetGateway:{input:{type:"structure",required:["InternetGatewayId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayId:{locationName:"internetGatewayId"},VpcId:{locationName:"vpcId"}}},http:{}},AttachNetworkInterface:{input:{type:"structure",required:["NetworkInterfaceId","InstanceId","DeviceIndex"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},InstanceId:{locationName:"instanceId"},DeviceIndex:{locationName:"deviceIndex",type:"integer"}}},output:{type:"structure",members:{AttachmentId:{locationName:"attachmentId"}}},http:{}},AttachVolume:{input:{type:"structure",required:["VolumeId","InstanceId","Device"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{},InstanceId:{},Device:{}}},output:{shape:"Sz"},http:{}},AttachVpnGateway:{input:{type:"structure",required:["VpnGatewayId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpnGatewayId:{},VpcId:{}}},output:{type:"structure",members:{VpcAttachment:{shape:"S13",locationName:"attachment"}}},http:{}},AuthorizeSecurityGroupEgress:{input:{type:"structure",required:["GroupId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupId:{locationName:"groupId"},SourceSecurityGroupName:{locationName:"sourceSecurityGroupName"},SourceSecurityGroupOwnerId:{
locationName:"sourceSecurityGroupOwnerId"},IpProtocol:{locationName:"ipProtocol"},FromPort:{locationName:"fromPort",type:"integer"},ToPort:{locationName:"toPort",type:"integer"},CidrIp:{locationName:"cidrIp"},IpPermissions:{shape:"S16",locationName:"ipPermissions"}}},http:{}},AuthorizeSecurityGroupIngress:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{},GroupId:{},SourceSecurityGroupName:{},SourceSecurityGroupOwnerId:{},IpProtocol:{},FromPort:{type:"integer"},ToPort:{type:"integer"},CidrIp:{},IpPermissions:{shape:"S16"}}},http:{}},BundleInstance:{input:{type:"structure",required:["InstanceId","Storage"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{},Storage:{shape:"S1g"}}},output:{type:"structure",members:{BundleTask:{shape:"S1k",locationName:"bundleInstanceTask"}}},http:{}},CancelBundleTask:{input:{type:"structure",required:["BundleId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},BundleId:{}}},output:{type:"structure",members:{BundleTask:{shape:"S1k",locationName:"bundleInstanceTask"}}},http:{}},CancelConversionTask:{input:{type:"structure",required:["ConversionTaskId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ConversionTaskId:{locationName:"conversionTaskId"},ReasonMessage:{locationName:"reasonMessage"}}},http:{}},CancelExportTask:{input:{type:"structure",required:["ExportTaskId"],members:{ExportTaskId:{locationName:"exportTaskId"}}},http:{}},CancelImportTask:{input:{type:"structure",members:{DryRun:{type:"boolean"},ImportTaskId:{},CancelReason:{}}},output:{type:"structure",members:{ImportTaskId:{locationName:"importTaskId"},State:{locationName:"state"},PreviousState:{locationName:"previousState"}}},http:{}},CancelReservedInstancesListing:{input:{type:"structure",required:["ReservedInstancesListingId"],members:{ReservedInstancesListingId:{locationName:"reservedInstancesListingId"}}},output:{type:"structure",members:{ReservedInstancesListings:{shape:"S1v",locationName:"reservedInstancesListingsSet"}}},http:{}},CancelSpotFleetRequests:{input:{type:"structure",required:["SpotFleetRequestIds","TerminateInstances"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestIds:{shape:"S27",locationName:"spotFleetRequestId"},TerminateInstances:{locationName:"terminateInstances",type:"boolean"}}},output:{type:"structure",members:{UnsuccessfulFleetRequests:{locationName:"unsuccessfulFleetRequestSet",type:"list",member:{locationName:"item",type:"structure",required:["SpotFleetRequestId","Error"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"},Error:{locationName:"error",type:"structure",required:["Code","Message"],members:{Code:{locationName:"code"},Message:{locationName:"message"}}}}}},SuccessfulFleetRequests:{locationName:"successfulFleetRequestSet",type:"list",member:{locationName:"item",type:"structure",required:["SpotFleetRequestId","CurrentSpotFleetRequestState","PreviousSpotFleetRequestState"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"},CurrentSpotFleetRequestState:{locationName:"currentSpotFleetRequestState"},PreviousSpotFleetRequestState:{locationName:"previousSpotFleetRequestState"}}}}}},http:{}},CancelSpotInstanceRequests:{input:{type:"structure",required:["SpotInstanceRequestIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotInstanceRequestIds:{shape:"S2h",locationName:"SpotInstanceRequestId"}}},output:{type:"structure",members:{CancelledSpotInstanceRequests:{locationName:"spotInstanceRequestSet",type:"list",member:{locationName:"item",type:"structure",members:{SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},State:{locationName:"state"}}}}}},http:{}},ConfirmProductInstance:{input:{type:"structure",required:["ProductCode","InstanceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ProductCode:{},InstanceId:{}}},output:{type:"structure",members:{OwnerId:{locationName:"ownerId"},Return:{locationName:"return",type:"boolean"}}},http:{}},CopyImage:{input:{type:"structure",required:["SourceRegion","SourceImageId","Name"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SourceRegion:{},SourceImageId:{},Name:{},Description:{},ClientToken:{},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"}}},http:{}},CopySnapshot:{input:{type:"structure",required:["SourceRegion","SourceSnapshotId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SourceRegion:{},SourceSnapshotId:{},Description:{},DestinationRegion:{locationName:"destinationRegion"},PresignedUrl:{locationName:"presignedUrl"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"}}},output:{type:"structure",members:{SnapshotId:{locationName:"snapshotId"}}},http:{}},CreateCustomerGateway:{input:{type:"structure",required:["Type","PublicIp","BgpAsn"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Type:{},PublicIp:{locationName:"IpAddress"},BgpAsn:{type:"integer"}}},output:{type:"structure",members:{CustomerGateway:{shape:"S2v",locationName:"customerGateway"}}},http:{}},CreateDhcpOptions:{input:{type:"structure",required:["DhcpConfigurations"],members:{DryRun:{locationName:"dryRun",type:"boolean"},DhcpConfigurations:{locationName:"dhcpConfiguration",type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},Values:{shape:"S27",locationName:"Value"}}}}}},output:{type:"structure",members:{DhcpOptions:{shape:"S30",locationName:"dhcpOptions"}}},http:{}},CreateFlowLogs:{input:{type:"structure",required:["ResourceIds","ResourceType","TrafficType","LogGroupName","DeliverLogsPermissionArn"],members:{ResourceIds:{shape:"S27",locationName:"ResourceId"},ResourceType:{},TrafficType:{},LogGroupName:{},DeliverLogsPermissionArn:{},ClientToken:{}}},output:{type:"structure",members:{FlowLogIds:{shape:"S27",locationName:"flowLogIdSet"},ClientToken:{locationName:"clientToken"},Unsuccessful:{shape:"S39",locationName:"unsuccessful"}}},http:{}},CreateImage:{input:{type:"structure",required:["InstanceId","Name"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},Name:{locationName:"name"},Description:{locationName:"description"},NoReboot:{locationName:"noReboot",type:"boolean"},BlockDeviceMappings:{shape:"S3d",locationName:"blockDeviceMapping"}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"}}},http:{}},CreateInstanceExportTask:{input:{type:"structure",required:["InstanceId"],members:{Description:{locationName:"description"},InstanceId:{locationName:"instanceId"},TargetEnvironment:{locationName:"targetEnvironment"},ExportToS3Task:{locationName:"exportToS3",type:"structure",members:{DiskImageFormat:{locationName:"diskImageFormat"},ContainerFormat:{locationName:"containerFormat"},S3Bucket:{locationName:"s3Bucket"},S3Prefix:{locationName:"s3Prefix"}}}}},output:{type:"structure",members:{ExportTask:{shape:"S3o",locationName:"exportTask"}}},http:{}},CreateInternetGateway:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{InternetGateway:{shape:"S3u",locationName:"internetGateway"}}},http:{}},CreateKeyPair:{input:{type:"structure",required:["KeyName"],members:{DryRun:{locationName:"dryRun",type:"boolean"},KeyName:{}}},output:{type:"structure",members:{KeyName:{locationName:"keyName"},KeyFingerprint:{locationName:"keyFingerprint"},KeyMaterial:{locationName:"keyMaterial"}}},http:{}},CreateNatGateway:{input:{type:"structure",required:["SubnetId","AllocationId"],members:{SubnetId:{},AllocationId:{},ClientToken:{}}},output:{type:"structure",members:{NatGateway:{shape:"S41",locationName:"natGateway"},ClientToken:{locationName:"clientToken"}}},http:{}},CreateNetworkAcl:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{NetworkAcl:{shape:"S48",locationName:"networkAcl"}}},http:{}},CreateNetworkAclEntry:{input:{type:"structure",required:["NetworkAclId","RuleNumber","Protocol","RuleAction","Egress","CidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclId:{locationName:"networkAclId"},RuleNumber:{locationName:"ruleNumber",type:"integer"},Protocol:{locationName:"protocol"},RuleAction:{locationName:"ruleAction"},Egress:{locationName:"egress",type:"boolean"},CidrBlock:{locationName:"cidrBlock"},IcmpTypeCode:{shape:"S4c",locationName:"Icmp"},PortRange:{shape:"S4d",locationName:"portRange"}}},http:{}},CreateNetworkInterface:{input:{type:"structure",required:["SubnetId"],members:{SubnetId:{locationName:"subnetId"},Description:{locationName:"description"},PrivateIpAddress:{locationName:"privateIpAddress"},Groups:{shape:"S4i",locationName:"SecurityGroupId"},PrivateIpAddresses:{shape:"S4j",locationName:"privateIpAddresses"},SecondaryPrivateIpAddressCount:{locationName:"secondaryPrivateIpAddressCount",type:"integer"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{NetworkInterface:{shape:"S4m",locationName:"networkInterface"}}},http:{}},CreatePlacementGroup:{input:{type:"structure",required:["GroupName","Strategy"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{locationName:"groupName"},Strategy:{locationName:"strategy"}}},http:{}},CreateReservedInstancesListing:{input:{type:"structure",required:["ReservedInstancesId","InstanceCount","PriceSchedules","ClientToken"],members:{ReservedInstancesId:{locationName:"reservedInstancesId"},InstanceCount:{locationName:"instanceCount",type:"integer"},PriceSchedules:{locationName:"priceSchedules",type:"list",member:{locationName:"item",type:"structure",members:{Term:{locationName:"term",type:"long"},Price:{locationName:"price",type:"double"},CurrencyCode:{locationName:"currencyCode"}}}},ClientToken:{locationName:"clientToken"}}},output:{type:"structure",members:{ReservedInstancesListings:{shape:"S1v",locationName:"reservedInstancesListingsSet"}}},http:{}},CreateRoute:{input:{type:"structure",required:["RouteTableId","DestinationCidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"},DestinationCidrBlock:{locationName:"destinationCidrBlock"},GatewayId:{locationName:"gatewayId"},InstanceId:{locationName:"instanceId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"},NatGatewayId:{locationName:"natGatewayId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},CreateRouteTable:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{RouteTable:{shape:"S55",locationName:"routeTable"}}},http:{}},CreateSecurityGroup:{input:{type:"structure",required:["GroupName","Description"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{},Description:{locationName:"GroupDescription"},VpcId:{}}},output:{type:"structure",members:{GroupId:{locationName:"groupId"}}},http:{}},CreateSnapshot:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{},Description:{}}},output:{shape:"S5h"},http:{}},CreateSpotDatafeedSubscription:{input:{type:"structure",required:["Bucket"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Bucket:{locationName:"bucket"},Prefix:{locationName:"prefix"}}},output:{type:"structure",members:{SpotDatafeedSubscription:{shape:"S5l",locationName:"spotDatafeedSubscription"}}},http:{}},CreateSubnet:{input:{type:"structure",required:["VpcId","CidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{},CidrBlock:{},AvailabilityZone:{}}},output:{type:"structure",members:{Subnet:{shape:"S5q",locationName:"subnet"}}},http:{}},CreateTags:{input:{type:"structure",required:["Resources","Tags"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Resources:{shape:"S5t",locationName:"ResourceId"},Tags:{shape:"Sb",locationName:"Tag"}}},http:{}},CreateVolume:{input:{type:"structure",required:["AvailabilityZone"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Size:{type:"integer"},SnapshotId:{},AvailabilityZone:{},VolumeType:{},Iops:{type:"integer"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{}}},output:{shape:"S5v"},http:{}},CreateVpc:{input:{type:"structure",required:["CidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},CidrBlock:{},InstanceTenancy:{locationName:"instanceTenancy"}}},output:{type:"structure",members:{Vpc:{shape:"S61",locationName:"vpc"}}},http:{}},CreateVpcEndpoint:{input:{type:"structure",required:["VpcId","ServiceName"],members:{DryRun:{type:"boolean"},VpcId:{},ServiceName:{},PolicyDocument:{},RouteTableIds:{shape:"S27",locationName:"RouteTableId"},ClientToken:{}}},output:{type:"structure",members:{VpcEndpoint:{shape:"S65",locationName:"vpcEndpoint"},ClientToken:{locationName:"clientToken"}}},http:{}},CreateVpcPeeringConnection:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"},PeerVpcId:{locationName:"peerVpcId"},PeerOwnerId:{locationName:"peerOwnerId"}}},output:{type:"structure",members:{VpcPeeringConnection:{shape:"S5",locationName:"vpcPeeringConnection"}}},http:{}},CreateVpnConnection:{input:{type:"structure",required:["Type","CustomerGatewayId","VpnGatewayId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Type:{},CustomerGatewayId:{},VpnGatewayId:{},Options:{locationName:"options",type:"structure",members:{StaticRoutesOnly:{locationName:"staticRoutesOnly",type:"boolean"}}}}},output:{type:"structure",members:{VpnConnection:{shape:"S6c",locationName:"vpnConnection"}}},http:{}},CreateVpnConnectionRoute:{input:{type:"structure",required:["VpnConnectionId","DestinationCidrBlock"],members:{VpnConnectionId:{},DestinationCidrBlock:{}}},http:{}},CreateVpnGateway:{input:{type:"structure",required:["Type"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Type:{},AvailabilityZone:{}}},output:{type:"structure",members:{VpnGateway:{shape:"S6o",locationName:"vpnGateway"}}},http:{}},DeleteCustomerGateway:{input:{type:"structure",required:["CustomerGatewayId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},CustomerGatewayId:{}}},http:{}},DeleteDhcpOptions:{input:{type:"structure",required:["DhcpOptionsId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},DhcpOptionsId:{}}},http:{}},DeleteFlowLogs:{input:{type:"structure",required:["FlowLogIds"],members:{FlowLogIds:{shape:"S27",locationName:"FlowLogId"}}},output:{type:"structure",members:{Unsuccessful:{shape:"S39",locationName:"unsuccessful"}}},http:{}},DeleteInternetGateway:{input:{type:"structure",required:["InternetGatewayId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayId:{locationName:"internetGatewayId"}}},http:{}},DeleteKeyPair:{input:{type:"structure",required:["KeyName"],members:{DryRun:{locationName:"dryRun",type:"boolean"},KeyName:{}}},http:{}},DeleteNatGateway:{input:{type:"structure",required:["NatGatewayId"],members:{NatGatewayId:{}}},output:{type:"structure",members:{NatGatewayId:{locationName:"natGatewayId"}}},http:{}},DeleteNetworkAcl:{input:{type:"structure",required:["NetworkAclId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclId:{locationName:"networkAclId"}}},http:{}},DeleteNetworkAclEntry:{input:{type:"structure",required:["NetworkAclId","RuleNumber","Egress"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclId:{locationName:"networkAclId"},RuleNumber:{locationName:"ruleNumber",type:"integer"},Egress:{locationName:"egress",type:"boolean"}}},http:{}},DeleteNetworkInterface:{input:{type:"structure",required:["NetworkInterfaceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}},http:{}},DeletePlacementGroup:{input:{type:"structure",required:["GroupName"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{locationName:"groupName"}}},http:{}},DeleteRoute:{input:{type:"structure",required:["RouteTableId","DestinationCidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"},DestinationCidrBlock:{locationName:"destinationCidrBlock"}}},http:{}},DeleteRouteTable:{input:{type:"structure",required:["RouteTableId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"}}},http:{}},DeleteSecurityGroup:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{},GroupId:{}}},http:{}},DeleteSnapshot:{input:{type:"structure",required:["SnapshotId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SnapshotId:{}}},http:{}},DeleteSpotDatafeedSubscription:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"}}},http:{}},DeleteSubnet:{input:{type:"structure",required:["SubnetId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SubnetId:{}}},http:{}},DeleteTags:{input:{type:"structure",required:["Resources"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Resources:{shape:"S5t",locationName:"resourceId"},Tags:{shape:"Sb",locationName:"tag"}}},http:{}},DeleteVolume:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{}}},http:{}},DeleteVpc:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{}}},http:{}},DeleteVpcEndpoints:{input:{type:"structure",required:["VpcEndpointIds"],members:{DryRun:{type:"boolean"},VpcEndpointIds:{shape:"S27",locationName:"VpcEndpointId"}}},output:{type:"structure",members:{Unsuccessful:{shape:"S39",locationName:"unsuccessful"}}},http:{}},DeleteVpcPeeringConnection:{input:{type:"structure",required:["VpcPeeringConnectionId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},DeleteVpnConnection:{input:{type:"structure",required:["VpnConnectionId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpnConnectionId:{}}},http:{}},DeleteVpnConnectionRoute:{input:{type:"structure",required:["VpnConnectionId","DestinationCidrBlock"],members:{VpnConnectionId:{},DestinationCidrBlock:{}}},http:{}},DeleteVpnGateway:{input:{type:"structure",required:["VpnGatewayId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpnGatewayId:{}}},http:{}},DeregisterImage:{input:{type:"structure",required:["ImageId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageId:{}}},http:{}},DescribeAccountAttributes:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},AttributeNames:{locationName:"attributeName",type:"list",member:{locationName:"attributeName"}}}},output:{type:"structure",members:{AccountAttributes:{locationName:"accountAttributeSet",type:"list",member:{locationName:"item",type:"structure",members:{AttributeName:{locationName:"attributeName"},AttributeValues:{locationName:"attributeValueSet",type:"list",member:{locationName:"item",type:"structure",members:{AttributeValue:{locationName:"attributeValue"}}}}}}}}},http:{}},DescribeAddresses:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIps:{locationName:"PublicIp",type:"list",member:{locationName:"PublicIp"}},Filters:{shape:"S7t",locationName:"Filter"},AllocationIds:{locationName:"AllocationId",type:"list",member:{locationName:"AllocationId"}}}},output:{type:"structure",members:{Addresses:{locationName:"addressesSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},PublicIp:{locationName:"publicIp"},AllocationId:{locationName:"allocationId"},AssociationId:{locationName:"associationId"},Domain:{locationName:"domain"},NetworkInterfaceId:{locationName:"networkInterfaceId"},NetworkInterfaceOwnerId:{locationName:"networkInterfaceOwnerId"},PrivateIpAddress:{locationName:"privateIpAddress"}}}}}},http:{}},DescribeAvailabilityZones:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},ZoneNames:{locationName:"ZoneName",type:"list",member:{locationName:"ZoneName"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{AvailabilityZones:{locationName:"availabilityZoneInfo",type:"list",member:{locationName:"item",type:"structure",members:{ZoneName:{locationName:"zoneName"},State:{locationName:"zoneState"},RegionName:{locationName:"regionName"},Messages:{locationName:"messageSet",type:"list",member:{locationName:"item",type:"structure",members:{Message:{locationName:"message"}}}}}}}}},http:{}},DescribeBundleTasks:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},BundleIds:{locationName:"BundleId",type:"list",member:{locationName:"BundleId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{BundleTasks:{locationName:"bundleInstanceTasksSet",type:"list",member:{shape:"S1k",locationName:"item"}}}},http:{}},DescribeClassicLinkInstances:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"},Filters:{shape:"S7t",locationName:"Filter"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{Instances:{locationName:"instancesSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},VpcId:{locationName:"vpcId"},Groups:{shape:"S4o",locationName:"groupSet"},Tags:{shape:"Sb",locationName:"tagSet"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeConversionTasks:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},Filters:{shape:"S7t",locationName:"filter"},ConversionTaskIds:{locationName:"conversionTaskId",type:"list",member:{locationName:"item"}}}},output:{type:"structure",members:{ConversionTasks:{locationName:"conversionTasks",type:"list",member:{shape:"S8k",locationName:"item"}}}},http:{}},DescribeCustomerGateways:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},CustomerGatewayIds:{locationName:"CustomerGatewayId",type:"list",member:{locationName:"CustomerGatewayId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{CustomerGateways:{locationName:"customerGatewaySet",type:"list",member:{shape:"S2v",locationName:"item"}}}},http:{}},DescribeDhcpOptions:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},DhcpOptionsIds:{locationName:"DhcpOptionsId",type:"list",member:{locationName:"DhcpOptionsId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{DhcpOptions:{locationName:"dhcpOptionsSet",type:"list",member:{shape:"S30",locationName:"item"}}}},http:{}},DescribeExportTasks:{input:{type:"structure",members:{ExportTaskIds:{locationName:"exportTaskId",type:"list",member:{locationName:"ExportTaskId"}}}},output:{type:"structure",members:{ExportTasks:{locationName:"exportTaskSet",type:"list",member:{shape:"S3o",locationName:"item"}}}},http:{}},DescribeFlowLogs:{input:{type:"structure",members:{FlowLogIds:{shape:"S27",locationName:"FlowLogId"},Filter:{shape:"S7t"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{FlowLogs:{locationName:"flowLogSet",type:"list",member:{locationName:"item",type:"structure",members:{CreationTime:{locationName:"creationTime",type:"timestamp"},FlowLogId:{locationName:"flowLogId"},FlowLogStatus:{locationName:"flowLogStatus"},ResourceId:{locationName:"resourceId"},TrafficType:{locationName:"trafficType"},LogGroupName:{locationName:"logGroupName"},DeliverLogsStatus:{locationName:"deliverLogsStatus"},DeliverLogsErrorMessage:{locationName:"deliverLogsErrorMessage"},DeliverLogsPermissionArn:{locationName:"deliverLogsPermissionArn"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeHosts:{input:{type:"structure",members:{HostIds:{shape:"S9a",locationName:"hostId"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"},Filter:{shape:"S7t",locationName:"filter"}}},output:{type:"structure",members:{Hosts:{locationName:"hostSet",type:"list",member:{locationName:"item",type:"structure",members:{HostId:{locationName:"hostId"},AutoPlacement:{locationName:"autoPlacement"},HostReservationId:{locationName:"hostReservationId"},ClientToken:{locationName:"clientToken"},HostProperties:{locationName:"hostProperties",type:"structure",members:{Sockets:{locationName:"sockets",type:"integer"},Cores:{locationName:"cores",type:"integer"},TotalVCpus:{locationName:"totalVCpus",type:"integer"},InstanceType:{locationName:"instanceType"}}},State:{locationName:"state"},AvailabilityZone:{locationName:"availabilityZone"},Instances:{locationName:"instances",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},InstanceType:{locationName:"instanceType"}}}},AvailableCapacity:{locationName:"availableCapacity",type:"structure",members:{AvailableInstanceCapacity:{locationName:"availableInstanceCapacity",type:"list",member:{locationName:"item",type:"structure",members:{InstanceType:{locationName:"instanceType"},AvailableCapacity:{locationName:"availableCapacity",type:"integer"},TotalCapacity:{locationName:"totalCapacity",type:"integer"}}}},AvailableVCpus:{locationName:"availableVCpus",type:"integer"}}}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeIdFormat:{input:{type:"structure",members:{Resource:{}}},output:{type:"structure",members:{Statuses:{shape:"S9n",locationName:"statusSet"}}},http:{}},DescribeIdentityIdFormat:{input:{type:"structure",required:["PrincipalArn"],members:{Resource:{locationName:"resource"},PrincipalArn:{locationName:"principalArn"}}},output:{type:"structure",members:{Statuses:{shape:"S9n",locationName:"statusSet"}}},http:{}},DescribeImageAttribute:{input:{type:"structure",required:["ImageId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageId:{},Attribute:{}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"},LaunchPermissions:{shape:"S9u",locationName:"launchPermission"},ProductCodes:{shape:"S9x",locationName:"productCodes"},KernelId:{shape:"S34",locationName:"kernel"},RamdiskId:{shape:"S34",locationName:"ramdisk"},Description:{shape:"S34",locationName:"description"},SriovNetSupport:{shape:"S34",locationName:"sriovNetSupport"},BlockDeviceMappings:{shape:"Sa0",locationName:"blockDeviceMapping"}}},http:{}},DescribeImages:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageIds:{locationName:"ImageId",type:"list",member:{locationName:"ImageId"}},Owners:{shape:"Sa3",locationName:"Owner"},ExecutableUsers:{locationName:"ExecutableBy",type:"list",member:{locationName:"ExecutableBy"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{Images:{locationName:"imagesSet",type:"list",member:{locationName:"item",type:"structure",members:{ImageId:{locationName:"imageId"},ImageLocation:{locationName:"imageLocation"},State:{locationName:"imageState"},OwnerId:{locationName:"imageOwnerId"},CreationDate:{locationName:"creationDate"},Public:{locationName:"isPublic",type:"boolean"},ProductCodes:{shape:"S9x",locationName:"productCodes"},Architecture:{locationName:"architecture"},ImageType:{locationName:"imageType"},KernelId:{locationName:"kernelId"},RamdiskId:{locationName:"ramdiskId"},Platform:{locationName:"platform"},SriovNetSupport:{locationName:"sriovNetSupport"},EnaSupport:{locationName:"enaSupport",type:"boolean"},StateReason:{shape:"Sab",locationName:"stateReason"},ImageOwnerAlias:{locationName:"imageOwnerAlias"},Name:{locationName:"name"},Description:{locationName:"description"},RootDeviceType:{locationName:"rootDeviceType"},RootDeviceName:{locationName:"rootDeviceName"},BlockDeviceMappings:{shape:"Sa0",locationName:"blockDeviceMapping"},VirtualizationType:{locationName:"virtualizationType"},Tags:{shape:"Sb",locationName:"tagSet"},Hypervisor:{locationName:"hypervisor"}}}}}},http:{}},DescribeImportImageTasks:{input:{type:"structure",members:{DryRun:{type:"boolean"},ImportTaskIds:{shape:"Sag",locationName:"ImportTaskId"},NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S7t"}}},output:{type:"structure",members:{ImportImageTasks:{locationName:"importImageTaskSet",type:"list",member:{locationName:"item",type:"structure",members:{ImportTaskId:{locationName:"importTaskId"},Architecture:{locationName:"architecture"},LicenseType:{locationName:"licenseType"},Platform:{locationName:"platform"},Hypervisor:{locationName:"hypervisor"},Description:{locationName:"description"},SnapshotDetails:{shape:"Sak",locationName:"snapshotDetailSet"},ImageId:{locationName:"imageId"},Progress:{locationName:"progress"},StatusMessage:{locationName:"statusMessage"},Status:{locationName:"status"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeImportSnapshotTasks:{input:{type:"structure",members:{DryRun:{type:"boolean"},ImportTaskIds:{shape:"Sag",locationName:"ImportTaskId"},NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S7t"}}},output:{type:"structure",members:{ImportSnapshotTasks:{locationName:"importSnapshotTaskSet",type:"list",member:{locationName:"item",type:"structure",members:{ImportTaskId:{locationName:"importTaskId"},SnapshotTaskDetail:{shape:"Sar",locationName:"snapshotTaskDetail"},Description:{locationName:"description"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeInstanceAttribute:{input:{type:"structure",required:["InstanceId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},Attribute:{locationName:"attribute"}}},output:{type:"structure",members:{InstanceId:{locationName:"instanceId"},InstanceType:{shape:"S34",locationName:"instanceType"},KernelId:{shape:"S34",locationName:"kernel"},RamdiskId:{shape:"S34",locationName:"ramdisk"},UserData:{shape:"S34",locationName:"userData"},DisableApiTermination:{shape:"Sav",locationName:"disableApiTermination"},InstanceInitiatedShutdownBehavior:{shape:"S34",locationName:"instanceInitiatedShutdownBehavior"},RootDeviceName:{shape:"S34",locationName:"rootDeviceName"},BlockDeviceMappings:{shape:"Saw",locationName:"blockDeviceMapping"},ProductCodes:{shape:"S9x",locationName:"productCodes"},EbsOptimized:{shape:"Sav",locationName:"ebsOptimized"},SriovNetSupport:{shape:"S34",locationName:"sriovNetSupport"},EnaSupport:{shape:"Sav",locationName:"enaSupport"},SourceDestCheck:{shape:"Sav",locationName:"sourceDestCheck"},Groups:{shape:"S4o",locationName:"groupSet"}}},http:{}},DescribeInstanceStatus:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"},Filters:{shape:"S7t",locationName:"Filter"},NextToken:{},MaxResults:{type:"integer"},IncludeAllInstances:{locationName:"includeAllInstances",type:"boolean"}}},output:{type:"structure",members:{InstanceStatuses:{locationName:"instanceStatusSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},AvailabilityZone:{locationName:"availabilityZone"},Events:{locationName:"eventsSet",type:"list",member:{locationName:"item",type:"structure",members:{Code:{locationName:"code"},Description:{locationName:"description"},NotBefore:{locationName:"notBefore",type:"timestamp"},NotAfter:{locationName:"notAfter",type:"timestamp"}}}},InstanceState:{shape:"Sb6",locationName:"instanceState"},SystemStatus:{shape:"Sb8",locationName:"systemStatus"},InstanceStatus:{shape:"Sb8",locationName:"instanceStatus"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeInstances:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"
},Filters:{shape:"S7t",locationName:"Filter"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{Reservations:{locationName:"reservationSet",type:"list",member:{shape:"Sbh",locationName:"item"}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeInternetGateways:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayIds:{shape:"S27",locationName:"internetGatewayId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{InternetGateways:{locationName:"internetGatewaySet",type:"list",member:{shape:"S3u",locationName:"item"}}}},http:{}},DescribeKeyPairs:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},KeyNames:{locationName:"KeyName",type:"list",member:{locationName:"KeyName"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{KeyPairs:{locationName:"keySet",type:"list",member:{locationName:"item",type:"structure",members:{KeyName:{locationName:"keyName"},KeyFingerprint:{locationName:"keyFingerprint"}}}}}},http:{}},DescribeMovingAddresses:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIps:{shape:"S27",locationName:"publicIp"},NextToken:{locationName:"nextToken"},Filters:{shape:"S7t",locationName:"filter"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{MovingAddressStatuses:{locationName:"movingAddressStatusSet",type:"list",member:{locationName:"item",type:"structure",members:{PublicIp:{locationName:"publicIp"},MoveStatus:{locationName:"moveStatus"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeNatGateways:{input:{type:"structure",members:{NatGatewayIds:{shape:"S27",locationName:"NatGatewayId"},Filter:{shape:"S7t"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{NatGateways:{locationName:"natGatewaySet",type:"list",member:{shape:"S41",locationName:"item"}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeNetworkAcls:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclIds:{shape:"S27",locationName:"NetworkAclId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{NetworkAcls:{locationName:"networkAclSet",type:"list",member:{shape:"S48",locationName:"item"}}}},http:{}},DescribeNetworkInterfaceAttribute:{input:{type:"structure",required:["NetworkInterfaceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},Attribute:{locationName:"attribute"}}},output:{type:"structure",members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},Description:{shape:"S34",locationName:"description"},SourceDestCheck:{shape:"Sav",locationName:"sourceDestCheck"},Groups:{shape:"S4o",locationName:"groupSet"},Attachment:{shape:"S4q",locationName:"attachment"}}},http:{}},DescribeNetworkInterfaces:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceIds:{locationName:"NetworkInterfaceId",type:"list",member:{locationName:"item"}},Filters:{shape:"S7t",locationName:"filter"}}},output:{type:"structure",members:{NetworkInterfaces:{locationName:"networkInterfaceSet",type:"list",member:{shape:"S4m",locationName:"item"}}}},http:{}},DescribePlacementGroups:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupNames:{locationName:"groupName",type:"list",member:{}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{PlacementGroups:{locationName:"placementGroupSet",type:"list",member:{locationName:"item",type:"structure",members:{GroupName:{locationName:"groupName"},Strategy:{locationName:"strategy"},State:{locationName:"state"}}}}}},http:{}},DescribePrefixLists:{input:{type:"structure",members:{DryRun:{type:"boolean"},PrefixListIds:{shape:"S27",locationName:"PrefixListId"},Filters:{shape:"S7t",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{PrefixLists:{locationName:"prefixListSet",type:"list",member:{locationName:"item",type:"structure",members:{PrefixListId:{locationName:"prefixListId"},PrefixListName:{locationName:"prefixListName"},Cidrs:{shape:"S27",locationName:"cidrSet"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeRegions:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},RegionNames:{locationName:"RegionName",type:"list",member:{locationName:"RegionName"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{Regions:{locationName:"regionInfo",type:"list",member:{locationName:"item",type:"structure",members:{RegionName:{locationName:"regionName"},Endpoint:{locationName:"regionEndpoint"}}}}}},http:{}},DescribeReservedInstances:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},ReservedInstancesIds:{shape:"Sd2",locationName:"ReservedInstancesId"},Filters:{shape:"S7t",locationName:"Filter"},OfferingType:{locationName:"offeringType"}}},output:{type:"structure",members:{ReservedInstances:{locationName:"reservedInstancesSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"},InstanceType:{locationName:"instanceType"},AvailabilityZone:{locationName:"availabilityZone"},Start:{locationName:"start",type:"timestamp"},End:{locationName:"end",type:"timestamp"},Duration:{locationName:"duration",type:"long"},UsagePrice:{locationName:"usagePrice",type:"float"},FixedPrice:{locationName:"fixedPrice",type:"float"},InstanceCount:{locationName:"instanceCount",type:"integer"},ProductDescription:{locationName:"productDescription"},State:{locationName:"state"},Tags:{shape:"Sb",locationName:"tagSet"},InstanceTenancy:{locationName:"instanceTenancy"},CurrencyCode:{locationName:"currencyCode"},OfferingType:{locationName:"offeringType"},RecurringCharges:{shape:"Sda",locationName:"recurringCharges"}}}}}},http:{}},DescribeReservedInstancesListings:{input:{type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"},ReservedInstancesListingId:{locationName:"reservedInstancesListingId"},Filters:{shape:"S7t",locationName:"filters"}}},output:{type:"structure",members:{ReservedInstancesListings:{shape:"S1v",locationName:"reservedInstancesListingsSet"}}},http:{}},DescribeReservedInstancesModifications:{input:{type:"structure",members:{ReservedInstancesModificationIds:{locationName:"ReservedInstancesModificationId",type:"list",member:{locationName:"ReservedInstancesModificationId"}},NextToken:{locationName:"nextToken"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{ReservedInstancesModifications:{locationName:"reservedInstancesModificationsSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesModificationId:{locationName:"reservedInstancesModificationId"},ReservedInstancesIds:{locationName:"reservedInstancesSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"}}}},ModificationResults:{locationName:"modificationResultSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"},TargetConfiguration:{shape:"Sdo",locationName:"targetConfiguration"}}}},CreateDate:{locationName:"createDate",type:"timestamp"},UpdateDate:{locationName:"updateDate",type:"timestamp"},EffectiveDate:{locationName:"effectiveDate",type:"timestamp"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},ClientToken:{locationName:"clientToken"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeReservedInstancesOfferings:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},ReservedInstancesOfferingIds:{locationName:"ReservedInstancesOfferingId",type:"list",member:{}},InstanceType:{},AvailabilityZone:{},ProductDescription:{},Filters:{shape:"S7t",locationName:"Filter"},InstanceTenancy:{locationName:"instanceTenancy"},OfferingType:{locationName:"offeringType"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"},IncludeMarketplace:{type:"boolean"},MinDuration:{type:"long"},MaxDuration:{type:"long"},MaxInstanceCount:{type:"integer"}}},output:{type:"structure",members:{ReservedInstancesOfferings:{locationName:"reservedInstancesOfferingsSet",type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesOfferingId:{locationName:"reservedInstancesOfferingId"},InstanceType:{locationName:"instanceType"},AvailabilityZone:{locationName:"availabilityZone"},Duration:{locationName:"duration",type:"long"},UsagePrice:{locationName:"usagePrice",type:"float"},FixedPrice:{locationName:"fixedPrice",type:"float"},ProductDescription:{locationName:"productDescription"},InstanceTenancy:{locationName:"instanceTenancy"},CurrencyCode:{locationName:"currencyCode"},OfferingType:{locationName:"offeringType"},RecurringCharges:{shape:"Sda",locationName:"recurringCharges"},Marketplace:{locationName:"marketplace",type:"boolean"},PricingDetails:{locationName:"pricingDetailsSet",type:"list",member:{locationName:"item",type:"structure",members:{Price:{locationName:"price",type:"double"},Count:{locationName:"count",type:"integer"}}}}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeRouteTables:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableIds:{shape:"S27",locationName:"RouteTableId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{RouteTables:{locationName:"routeTableSet",type:"list",member:{shape:"S55",locationName:"item"}}}},http:{}},DescribeScheduledInstanceAvailability:{input:{type:"structure",required:["Recurrence","FirstSlotStartTimeRange"],members:{DryRun:{type:"boolean"},Recurrence:{type:"structure",members:{Frequency:{},Interval:{type:"integer"},OccurrenceDays:{locationName:"OccurrenceDay",type:"list",member:{locationName:"OccurenceDay",type:"integer"}},OccurrenceRelativeToEnd:{type:"boolean"},OccurrenceUnit:{}}},FirstSlotStartTimeRange:{type:"structure",required:["EarliestTime","LatestTime"],members:{EarliestTime:{type:"timestamp"},LatestTime:{type:"timestamp"}}},MinSlotDurationInHours:{type:"integer"},MaxSlotDurationInHours:{type:"integer"},NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},ScheduledInstanceAvailabilitySet:{locationName:"scheduledInstanceAvailabilitySet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceType:{locationName:"instanceType"},Platform:{locationName:"platform"},NetworkPlatform:{locationName:"networkPlatform"},AvailabilityZone:{locationName:"availabilityZone"},PurchaseToken:{locationName:"purchaseToken"},SlotDurationInHours:{locationName:"slotDurationInHours",type:"integer"},Recurrence:{shape:"Se6",locationName:"recurrence"},FirstSlotStartTime:{locationName:"firstSlotStartTime",type:"timestamp"},HourlyPrice:{locationName:"hourlyPrice"},TotalScheduledInstanceHours:{locationName:"totalScheduledInstanceHours",type:"integer"},AvailableInstanceCount:{locationName:"availableInstanceCount",type:"integer"},MinTermDurationInDays:{locationName:"minTermDurationInDays",type:"integer"},MaxTermDurationInDays:{locationName:"maxTermDurationInDays",type:"integer"}}}}}},http:{}},DescribeScheduledInstances:{input:{type:"structure",members:{DryRun:{type:"boolean"},ScheduledInstanceIds:{locationName:"ScheduledInstanceId",type:"list",member:{locationName:"ScheduledInstanceId"}},SlotStartTimeRange:{type:"structure",members:{EarliestTime:{type:"timestamp"},LatestTime:{type:"timestamp"}}},NextToken:{},MaxResults:{type:"integer"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{NextToken:{locationName:"nextToken"},ScheduledInstanceSet:{locationName:"scheduledInstanceSet",type:"list",member:{shape:"Sed",locationName:"item"}}}},http:{}},DescribeSecurityGroupReferences:{input:{type:"structure",required:["GroupId"],members:{DryRun:{type:"boolean"},GroupId:{type:"list",member:{locationName:"item"}}}},output:{type:"structure",members:{SecurityGroupReferenceSet:{locationName:"securityGroupReferenceSet",type:"list",member:{locationName:"item",type:"structure",required:["GroupId","ReferencingVpcId"],members:{GroupId:{locationName:"groupId"},ReferencingVpcId:{locationName:"referencingVpcId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}}}}},http:{}},DescribeSecurityGroups:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupNames:{shape:"Sek",locationName:"GroupName"},GroupIds:{shape:"St",locationName:"GroupId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{SecurityGroups:{locationName:"securityGroupInfo",type:"list",member:{locationName:"item",type:"structure",members:{OwnerId:{locationName:"ownerId"},GroupName:{locationName:"groupName"},GroupId:{locationName:"groupId"},Description:{locationName:"groupDescription"},IpPermissions:{shape:"S16",locationName:"ipPermissions"},IpPermissionsEgress:{shape:"S16",locationName:"ipPermissionsEgress"},VpcId:{locationName:"vpcId"},Tags:{shape:"Sb",locationName:"tagSet"}}}}}},http:{}},DescribeSnapshotAttribute:{input:{type:"structure",required:["SnapshotId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SnapshotId:{},Attribute:{}}},output:{type:"structure",members:{SnapshotId:{locationName:"snapshotId"},CreateVolumePermissions:{shape:"Ser",locationName:"createVolumePermission"},ProductCodes:{shape:"S9x",locationName:"productCodes"}}},http:{}},DescribeSnapshots:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},SnapshotIds:{locationName:"SnapshotId",type:"list",member:{locationName:"SnapshotId"}},OwnerIds:{shape:"Sa3",locationName:"Owner"},RestorableByUserIds:{locationName:"RestorableBy",type:"list",member:{}},Filters:{shape:"S7t",locationName:"Filter"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{Snapshots:{locationName:"snapshotSet",type:"list",member:{shape:"S5h",locationName:"item"}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeSpotDatafeedSubscription:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{SpotDatafeedSubscription:{shape:"S5l",locationName:"spotDatafeedSubscription"}}},http:{}},DescribeSpotFleetInstances:{input:{type:"structure",required:["SpotFleetRequestId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestId:{locationName:"spotFleetRequestId"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",required:["SpotFleetRequestId","ActiveInstances"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"},ActiveInstances:{locationName:"activeInstanceSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceType:{locationName:"instanceType"},InstanceId:{locationName:"instanceId"},SpotInstanceRequestId:{locationName:"spotInstanceRequestId"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeSpotFleetRequestHistory:{input:{type:"structure",required:["SpotFleetRequestId","StartTime"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestId:{locationName:"spotFleetRequestId"},EventType:{locationName:"eventType"},StartTime:{locationName:"startTime",type:"timestamp"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",required:["SpotFleetRequestId","StartTime","LastEvaluatedTime","HistoryRecords"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"},StartTime:{locationName:"startTime",type:"timestamp"},LastEvaluatedTime:{locationName:"lastEvaluatedTime",type:"timestamp"},HistoryRecords:{locationName:"historyRecordSet",type:"list",member:{locationName:"item",type:"structure",required:["Timestamp","EventType","EventInformation"],members:{Timestamp:{locationName:"timestamp",type:"timestamp"},EventType:{locationName:"eventType"},EventInformation:{locationName:"eventInformation",type:"structure",members:{InstanceId:{locationName:"instanceId"},EventSubType:{locationName:"eventSubType"},EventDescription:{locationName:"eventDescription"}}}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeSpotFleetRequests:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestIds:{shape:"S27",locationName:"spotFleetRequestId"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",required:["SpotFleetRequestConfigs"],members:{SpotFleetRequestConfigs:{locationName:"spotFleetRequestConfigSet",type:"list",member:{locationName:"item",type:"structure",required:["SpotFleetRequestId","SpotFleetRequestState","SpotFleetRequestConfig","CreateTime"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"},SpotFleetRequestState:{locationName:"spotFleetRequestState"},SpotFleetRequestConfig:{shape:"Sfe",locationName:"spotFleetRequestConfig"},CreateTime:{locationName:"createTime",type:"timestamp"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeSpotInstanceRequests:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotInstanceRequestIds:{shape:"S2h",locationName:"SpotInstanceRequestId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{SpotInstanceRequests:{shape:"Sfr",locationName:"spotInstanceRequestSet"}}},http:{}},DescribeSpotPriceHistory:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},StartTime:{locationName:"startTime",type:"timestamp"},EndTime:{locationName:"endTime",type:"timestamp"},InstanceTypes:{locationName:"InstanceType",type:"list",member:{}},ProductDescriptions:{locationName:"ProductDescription",type:"list",member:{}},Filters:{shape:"S7t",locationName:"Filter"},AvailabilityZone:{locationName:"availabilityZone"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{SpotPriceHistory:{locationName:"spotPriceHistorySet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceType:{locationName:"instanceType"},ProductDescription:{locationName:"productDescription"},SpotPrice:{locationName:"spotPrice"},Timestamp:{locationName:"timestamp",type:"timestamp"},AvailabilityZone:{locationName:"availabilityZone"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeStaleSecurityGroups:{input:{type:"structure",required:["VpcId"],members:{DryRun:{type:"boolean"},VpcId:{},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{StaleSecurityGroupSet:{locationName:"staleSecurityGroupSet",type:"list",member:{locationName:"item",type:"structure",required:["GroupId"],members:{GroupId:{locationName:"groupId"},GroupName:{locationName:"groupName"},Description:{locationName:"description"},VpcId:{locationName:"vpcId"},StaleIpPermissions:{shape:"Sga",locationName:"staleIpPermissions"},StaleIpPermissionsEgress:{shape:"Sga",locationName:"staleIpPermissionsEgress"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeSubnets:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},SubnetIds:{locationName:"SubnetId",type:"list",member:{locationName:"SubnetId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{Subnets:{locationName:"subnetSet",type:"list",member:{shape:"S5q",locationName:"item"}}}},http:{}},DescribeTags:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},Filters:{shape:"S7t",locationName:"Filter"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{Tags:{locationName:"tagSet",type:"list",member:{locationName:"item",type:"structure",members:{ResourceId:{locationName:"resourceId"},ResourceType:{locationName:"resourceType"},Key:{locationName:"key"},Value:{locationName:"value"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeVolumeAttribute:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{},Attribute:{}}},output:{type:"structure",members:{VolumeId:{locationName:"volumeId"},AutoEnableIO:{shape:"Sav",locationName:"autoEnableIO"},ProductCodes:{shape:"S9x",locationName:"productCodes"}}},http:{}},DescribeVolumeStatus:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeIds:{shape:"Sgs",locationName:"VolumeId"},Filters:{shape:"S7t",locationName:"Filter"},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{VolumeStatuses:{locationName:"volumeStatusSet",type:"list",member:{locationName:"item",type:"structure",members:{VolumeId:{locationName:"volumeId"},AvailabilityZone:{locationName:"availabilityZone"},VolumeStatus:{locationName:"volumeStatus",type:"structure",members:{Status:{locationName:"status"},Details:{locationName:"details",type:"list",member:{locationName:"item",type:"structure",members:{Name:{locationName:"name"},Status:{locationName:"status"}}}}}},Events:{locationName:"eventsSet",type:"list",member:{locationName:"item",type:"structure",members:{EventType:{locationName:"eventType"},Description:{locationName:"description"},NotBefore:{locationName:"notBefore",type:"timestamp"},NotAfter:{locationName:"notAfter",type:"timestamp"},EventId:{locationName:"eventId"}}}},Actions:{locationName:"actionsSet",type:"list",member:{locationName:"item",type:"structure",members:{Code:{locationName:"code"},Description:{locationName:"description"},EventType:{locationName:"eventType"},EventId:{locationName:"eventId"}}}}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeVolumes:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeIds:{shape:"Sgs",locationName:"VolumeId"},Filters:{shape:"S7t",locationName:"Filter"},NextToken:{locationName:"nextToken"},MaxResults:{locationName:"maxResults",type:"integer"}}},output:{type:"structure",members:{Volumes:{locationName:"volumeSet",type:"list",member:{shape:"S5v",locationName:"item"}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeVpcAttribute:{input:{type:"structure",required:["VpcId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{},Attribute:{}}},output:{type:"structure",members:{VpcId:{locationName:"vpcId"},EnableDnsSupport:{shape:"Sav",locationName:"enableDnsSupport"},EnableDnsHostnames:{shape:"Sav",locationName:"enableDnsHostnames"}}},http:{}},DescribeVpcClassicLink:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcIds:{shape:"Shc",locationName:"VpcId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{Vpcs:{locationName:"vpcSet",type:"list",member:{locationName:"item",type:"structure",members:{VpcId:{locationName:"vpcId"},ClassicLinkEnabled:{locationName:"classicLinkEnabled",type:"boolean"},Tags:{shape:"Sb",locationName:"tagSet"}}}}}},http:{}},DescribeVpcClassicLinkDnsSupport:{input:{type:"structure",members:{VpcIds:{shape:"Shc"},MaxResults:{locationName:"maxResults",type:"integer"},NextToken:{locationName:"nextToken"}}},output:{type:"structure",members:{Vpcs:{locationName:"vpcs",type:"list",member:{locationName:"item",type:"structure",members:{VpcId:{locationName:"vpcId"},ClassicLinkDnsSupported:{locationName:"classicLinkDnsSupported",type:"boolean"}}}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeVpcEndpointServices:{input:{type:"structure",members:{DryRun:{type:"boolean"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ServiceNames:{shape:"S27",locationName:"serviceNameSet"},NextToken:{locationName:"nextToken"}}},http:{}},DescribeVpcEndpoints:{input:{type:"structure",members:{DryRun:{type:"boolean"},VpcEndpointIds:{shape:"S27",locationName:"VpcEndpointId"},Filters:{shape:"S7t",locationName:"Filter"},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{VpcEndpoints:{locationName:"vpcEndpointSet",type:"list",member:{shape:"S65",locationName:"item"}},NextToken:{locationName:"nextToken"}}},http:{}},DescribeVpcPeeringConnections:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionIds:{shape:"S27",locationName:"VpcPeeringConnectionId"},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{VpcPeeringConnections:{locationName:"vpcPeeringConnectionSet",type:"list",member:{shape:"S5",locationName:"item"}}}},http:{}},DescribeVpcs:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcIds:{locationName:"VpcId",type:"list",member:{locationName:"VpcId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{Vpcs:{locationName:"vpcSet",type:"list",member:{shape:"S61",locationName:"item"}}}},http:{}},DescribeVpnConnections:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpnConnectionIds:{locationName:"VpnConnectionId",type:"list",member:{locationName:"VpnConnectionId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{VpnConnections:{locationName:"vpnConnectionSet",type:"list",member:{shape:"S6c",locationName:"item"}}}},http:{}},DescribeVpnGateways:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},VpnGatewayIds:{locationName:"VpnGatewayId",type:"list",member:{locationName:"VpnGatewayId"}},Filters:{shape:"S7t",locationName:"Filter"}}},output:{type:"structure",members:{VpnGateways:{locationName:"vpnGatewaySet",type:"list",member:{shape:"S6o",locationName:"item"}}}},http:{}},DetachClassicLinkVpc:{input:{type:"structure",required:["InstanceId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},DetachInternetGateway:{input:{type:"structure",required:["InternetGatewayId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InternetGatewayId:{locationName:"internetGatewayId"},VpcId:{locationName:"vpcId"}}},http:{}},DetachNetworkInterface:{input:{type:"structure",required:["AttachmentId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},AttachmentId:{locationName:"attachmentId"},Force:{locationName:"force",type:"boolean"}}},http:{}},DetachVolume:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{},InstanceId:{},Device:{},Force:{type:"boolean"}}},output:{shape:"Sz"},http:{}},DetachVpnGateway:{input:{type:"structure",required:["VpnGatewayId","VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpnGatewayId:{},VpcId:{}}},http:{}},DisableVgwRoutePropagation:{input:{type:"structure",required:["RouteTableId","GatewayId"],members:{RouteTableId:{},GatewayId:{}}},http:{}},DisableVpcClassicLink:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},DisableVpcClassicLinkDnsSupport:{input:{type:"structure",members:{VpcId:{}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},DisassociateAddress:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIp:{},AssociationId:{}}},http:{}},DisassociateRouteTable:{input:{type:"structure",required:["AssociationId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},AssociationId:{locationName:"associationId"}}},http:{}},EnableVgwRoutePropagation:{input:{type:"structure",required:["RouteTableId","GatewayId"],members:{RouteTableId:{},GatewayId:{}}},http:{}},EnableVolumeIO:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{locationName:"volumeId"}}},http:{}},EnableVpcClassicLink:{input:{type:"structure",required:["VpcId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcId:{locationName:"vpcId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},EnableVpcClassicLinkDnsSupport:{input:{type:"structure",members:{VpcId:{}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},GetConsoleOutput:{input:{type:"structure",required:["InstanceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{}}},output:{type:"structure",members:{InstanceId:{locationName:"instanceId"},Timestamp:{locationName:"timestamp",type:"timestamp"},Output:{locationName:"output"}}},http:{}},GetConsoleScreenshot:{input:{type:"structure",required:["InstanceId"],members:{DryRun:{type:"boolean"},InstanceId:{},WakeUp:{type:"boolean"}}},output:{type:"structure",members:{InstanceId:{locationName:"instanceId"},ImageData:{locationName:"imageData"}}},http:{}},GetPasswordData:{input:{type:"structure",required:["InstanceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{}}},output:{type:"structure",members:{InstanceId:{locationName:"instanceId"},Timestamp:{locationName:"timestamp",type:"timestamp"},PasswordData:{locationName:"passwordData"}}},http:{}},ImportImage:{input:{type:"structure",members:{DryRun:{type:"boolean"},Description:{},DiskContainers:{locationName:"DiskContainer",type:"list",member:{locationName:"item",type:"structure",members:{Description:{},Format:{},Url:{},UserBucket:{shape:"Siw"},DeviceName:{},SnapshotId:{}}}},LicenseType:{},Hypervisor:{},Architecture:{},Platform:{},ClientData:{shape:"Six"},ClientToken:{},RoleName:{}}},output:{type:"structure",members:{ImportTaskId:{locationName:"importTaskId"},Architecture:{locationName:"architecture"},LicenseType:{locationName:"licenseType"},Platform:{locationName:"platform"},Hypervisor:{locationName:"hypervisor"},Description:{locationName:"description"},SnapshotDetails:{shape:"Sak",locationName:"snapshotDetailSet"},ImageId:{locationName:"imageId"},Progress:{locationName:"progress"},StatusMessage:{locationName:"statusMessage"},Status:{locationName:"status"}}},http:{}},ImportInstance:{input:{type:"structure",required:["Platform"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Description:{locationName:"description"},LaunchSpecification:{locationName:"launchSpecification",type:"structure",members:{Architecture:{locationName:"architecture"},GroupNames:{shape:"Sj1",locationName:"GroupName"},GroupIds:{shape:"S4i",locationName:"GroupId"},AdditionalInfo:{locationName:"additionalInfo"},UserData:{locationName:"userData",type:"structure",members:{Data:{locationName:"data"}}},InstanceType:{locationName:"instanceType"},Placement:{shape:"Sbl",locationName:"placement"},Monitoring:{locationName:"monitoring",type:"boolean"},SubnetId:{locationName:"subnetId"},InstanceInitiatedShutdownBehavior:{locationName:"instanceInitiatedShutdownBehavior"},PrivateIpAddress:{locationName:"privateIpAddress"}}},DiskImages:{locationName:"diskImage",type:"list",member:{type:"structure",members:{Image:{shape:"Sj6"},Description:{},Volume:{shape:"Sj7"}}}},Platform:{locationName:"platform"}}},output:{type:"structure",members:{ConversionTask:{shape:"S8k",locationName:"conversionTask"}}},http:{}},ImportKeyPair:{input:{type:"structure",required:["KeyName","PublicKeyMaterial"],members:{DryRun:{locationName:"dryRun",type:"boolean"},KeyName:{locationName:"keyName"},PublicKeyMaterial:{locationName:"publicKeyMaterial",type:"blob"}}},output:{type:"structure",members:{KeyName:{locationName:"keyName"},KeyFingerprint:{locationName:"keyFingerprint"}}},http:{}},ImportSnapshot:{input:{type:"structure",members:{DryRun:{type:"boolean"},Description:{},DiskContainer:{type:"structure",members:{Description:{},
Format:{},Url:{},UserBucket:{shape:"Siw"}}},ClientData:{shape:"Six"},ClientToken:{},RoleName:{}}},output:{type:"structure",members:{ImportTaskId:{locationName:"importTaskId"},SnapshotTaskDetail:{shape:"Sar",locationName:"snapshotTaskDetail"},Description:{locationName:"description"}}},http:{}},ImportVolume:{input:{type:"structure",required:["AvailabilityZone","Image","Volume"],members:{DryRun:{locationName:"dryRun",type:"boolean"},AvailabilityZone:{locationName:"availabilityZone"},Image:{shape:"Sj6",locationName:"image"},Description:{locationName:"description"},Volume:{shape:"Sj7",locationName:"volume"}}},output:{type:"structure",members:{ConversionTask:{shape:"S8k",locationName:"conversionTask"}}},http:{}},ModifyHosts:{input:{type:"structure",required:["HostIds","AutoPlacement"],members:{HostIds:{shape:"S9a",locationName:"hostId"},AutoPlacement:{locationName:"autoPlacement"}}},output:{type:"structure",members:{Successful:{shape:"Sk",locationName:"successful"},Unsuccessful:{shape:"Sji",locationName:"unsuccessful"}}},http:{}},ModifyIdFormat:{input:{type:"structure",required:["Resource","UseLongIds"],members:{Resource:{},UseLongIds:{type:"boolean"}}},http:{}},ModifyIdentityIdFormat:{input:{type:"structure",required:["Resource","UseLongIds","PrincipalArn"],members:{Resource:{locationName:"resource"},UseLongIds:{locationName:"useLongIds",type:"boolean"},PrincipalArn:{locationName:"principalArn"}}},http:{}},ModifyImageAttribute:{input:{type:"structure",required:["ImageId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageId:{},Attribute:{},OperationType:{},UserIds:{shape:"Sjn",locationName:"UserId"},UserGroups:{locationName:"UserGroup",type:"list",member:{locationName:"UserGroup"}},ProductCodes:{locationName:"ProductCode",type:"list",member:{locationName:"ProductCode"}},Value:{},LaunchPermission:{type:"structure",members:{Add:{shape:"S9u"},Remove:{shape:"S9u"}}},Description:{shape:"S34"}}},http:{}},ModifyInstanceAttribute:{input:{type:"structure",required:["InstanceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},Attribute:{locationName:"attribute"},Value:{locationName:"value"},BlockDeviceMappings:{locationName:"blockDeviceMapping",type:"list",member:{locationName:"item",type:"structure",members:{DeviceName:{locationName:"deviceName"},Ebs:{locationName:"ebs",type:"structure",members:{VolumeId:{locationName:"volumeId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}},VirtualName:{locationName:"virtualName"},NoDevice:{locationName:"noDevice"}}}},SourceDestCheck:{shape:"Sav"},DisableApiTermination:{shape:"Sav",locationName:"disableApiTermination"},InstanceType:{shape:"S34",locationName:"instanceType"},Kernel:{shape:"S34",locationName:"kernel"},Ramdisk:{shape:"S34",locationName:"ramdisk"},UserData:{locationName:"userData",type:"structure",members:{Value:{locationName:"value",type:"blob"}}},InstanceInitiatedShutdownBehavior:{shape:"S34",locationName:"instanceInitiatedShutdownBehavior"},Groups:{shape:"St",locationName:"GroupId"},EbsOptimized:{shape:"Sav",locationName:"ebsOptimized"},SriovNetSupport:{shape:"S34",locationName:"sriovNetSupport"},EnaSupport:{shape:"Sav",locationName:"enaSupport"}}},http:{}},ModifyInstancePlacement:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{locationName:"instanceId"},Tenancy:{locationName:"tenancy"},Affinity:{locationName:"affinity"},HostId:{locationName:"hostId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},ModifyNetworkInterfaceAttribute:{input:{type:"structure",required:["NetworkInterfaceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},Description:{shape:"S34",locationName:"description"},SourceDestCheck:{shape:"Sav",locationName:"sourceDestCheck"},Groups:{shape:"S4i",locationName:"SecurityGroupId"},Attachment:{locationName:"attachment",type:"structure",members:{AttachmentId:{locationName:"attachmentId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}}}},http:{}},ModifyReservedInstances:{input:{type:"structure",required:["ReservedInstancesIds","TargetConfigurations"],members:{ClientToken:{locationName:"clientToken"},ReservedInstancesIds:{shape:"Sd2",locationName:"ReservedInstancesId"},TargetConfigurations:{locationName:"ReservedInstancesConfigurationSetItemType",type:"list",member:{shape:"Sdo",locationName:"item"}}}},output:{type:"structure",members:{ReservedInstancesModificationId:{locationName:"reservedInstancesModificationId"}}},http:{}},ModifySnapshotAttribute:{input:{type:"structure",required:["SnapshotId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SnapshotId:{},Attribute:{},OperationType:{},UserIds:{shape:"Sjn",locationName:"UserId"},GroupNames:{shape:"Sek",locationName:"UserGroup"},CreateVolumePermission:{type:"structure",members:{Add:{shape:"Ser"},Remove:{shape:"Ser"}}}}},http:{}},ModifySpotFleetRequest:{input:{type:"structure",required:["SpotFleetRequestId"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"},TargetCapacity:{locationName:"targetCapacity",type:"integer"},ExcessCapacityTerminationPolicy:{locationName:"excessCapacityTerminationPolicy"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},ModifySubnetAttribute:{input:{type:"structure",required:["SubnetId"],members:{SubnetId:{locationName:"subnetId"},MapPublicIpOnLaunch:{shape:"Sav"}}},http:{}},ModifyVolumeAttribute:{input:{type:"structure",required:["VolumeId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VolumeId:{},AutoEnableIO:{shape:"Sav"}}},http:{}},ModifyVpcAttribute:{input:{type:"structure",required:["VpcId"],members:{VpcId:{locationName:"vpcId"},EnableDnsSupport:{shape:"Sav"},EnableDnsHostnames:{shape:"Sav"}}},http:{}},ModifyVpcEndpoint:{input:{type:"structure",required:["VpcEndpointId"],members:{DryRun:{type:"boolean"},VpcEndpointId:{},ResetPolicy:{type:"boolean"},PolicyDocument:{},AddRouteTableIds:{shape:"S27",locationName:"AddRouteTableId"},RemoveRouteTableIds:{shape:"S27",locationName:"RemoveRouteTableId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},ModifyVpcPeeringConnectionOptions:{input:{type:"structure",required:["VpcPeeringConnectionId"],members:{DryRun:{type:"boolean"},VpcPeeringConnectionId:{},RequesterPeeringConnectionOptions:{shape:"Skf"},AccepterPeeringConnectionOptions:{shape:"Skf"}}},output:{type:"structure",members:{RequesterPeeringConnectionOptions:{shape:"Skh",locationName:"requesterPeeringConnectionOptions"},AccepterPeeringConnectionOptions:{shape:"Skh",locationName:"accepterPeeringConnectionOptions"}}},http:{}},MonitorInstances:{input:{type:"structure",required:["InstanceIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"}}},output:{type:"structure",members:{InstanceMonitorings:{shape:"Skk",locationName:"instancesSet"}}},http:{}},MoveAddressToVpc:{input:{type:"structure",required:["PublicIp"],members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIp:{locationName:"publicIp"}}},output:{type:"structure",members:{AllocationId:{locationName:"allocationId"},Status:{locationName:"status"}}},http:{}},PurchaseReservedInstancesOffering:{input:{type:"structure",required:["ReservedInstancesOfferingId","InstanceCount"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ReservedInstancesOfferingId:{},InstanceCount:{type:"integer"},LimitPrice:{locationName:"limitPrice",type:"structure",members:{Amount:{locationName:"amount",type:"double"},CurrencyCode:{locationName:"currencyCode"}}}}},output:{type:"structure",members:{ReservedInstancesId:{locationName:"reservedInstancesId"}}},http:{}},PurchaseScheduledInstances:{input:{type:"structure",required:["PurchaseRequests"],members:{DryRun:{type:"boolean"},ClientToken:{idempotencyToken:!0},PurchaseRequests:{locationName:"PurchaseRequest",type:"list",member:{locationName:"PurchaseRequest",type:"structure",required:["PurchaseToken","InstanceCount"],members:{PurchaseToken:{},InstanceCount:{type:"integer"}}}}}},output:{type:"structure",members:{ScheduledInstanceSet:{locationName:"scheduledInstanceSet",type:"list",member:{shape:"Sed",locationName:"item"}}}},http:{}},RebootInstances:{input:{type:"structure",required:["InstanceIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"}}},http:{}},RegisterImage:{input:{type:"structure",required:["Name"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageLocation:{},Name:{locationName:"name"},Description:{locationName:"description"},Architecture:{locationName:"architecture"},KernelId:{locationName:"kernelId"},RamdiskId:{locationName:"ramdiskId"},RootDeviceName:{locationName:"rootDeviceName"},BlockDeviceMappings:{shape:"S3d",locationName:"BlockDeviceMapping"},VirtualizationType:{locationName:"virtualizationType"},SriovNetSupport:{locationName:"sriovNetSupport"},EnaSupport:{locationName:"enaSupport",type:"boolean"}}},output:{type:"structure",members:{ImageId:{locationName:"imageId"}}},http:{}},RejectVpcPeeringConnection:{input:{type:"structure",required:["VpcPeeringConnectionId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},output:{type:"structure",members:{Return:{locationName:"return",type:"boolean"}}},http:{}},ReleaseAddress:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIp:{},AllocationId:{}}},http:{}},ReleaseHosts:{input:{type:"structure",required:["HostIds"],members:{HostIds:{shape:"S9a",locationName:"hostId"}}},output:{type:"structure",members:{Successful:{shape:"Sk",locationName:"successful"},Unsuccessful:{shape:"Sji",locationName:"unsuccessful"}}},http:{}},ReplaceNetworkAclAssociation:{input:{type:"structure",required:["AssociationId","NetworkAclId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},AssociationId:{locationName:"associationId"},NetworkAclId:{locationName:"networkAclId"}}},output:{type:"structure",members:{NewAssociationId:{locationName:"newAssociationId"}}},http:{}},ReplaceNetworkAclEntry:{input:{type:"structure",required:["NetworkAclId","RuleNumber","Protocol","RuleAction","Egress","CidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkAclId:{locationName:"networkAclId"},RuleNumber:{locationName:"ruleNumber",type:"integer"},Protocol:{locationName:"protocol"},RuleAction:{locationName:"ruleAction"},Egress:{locationName:"egress",type:"boolean"},CidrBlock:{locationName:"cidrBlock"},IcmpTypeCode:{shape:"S4c",locationName:"Icmp"},PortRange:{shape:"S4d",locationName:"portRange"}}},http:{}},ReplaceRoute:{input:{type:"structure",required:["RouteTableId","DestinationCidrBlock"],members:{DryRun:{locationName:"dryRun",type:"boolean"},RouteTableId:{locationName:"routeTableId"},DestinationCidrBlock:{locationName:"destinationCidrBlock"},GatewayId:{locationName:"gatewayId"},InstanceId:{locationName:"instanceId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"},NatGatewayId:{locationName:"natGatewayId"}}},http:{}},ReplaceRouteTableAssociation:{input:{type:"structure",required:["AssociationId","RouteTableId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},AssociationId:{locationName:"associationId"},RouteTableId:{locationName:"routeTableId"}}},output:{type:"structure",members:{NewAssociationId:{locationName:"newAssociationId"}}},http:{}},ReportInstanceStatus:{input:{type:"structure",required:["Instances","Status","ReasonCodes"],members:{DryRun:{locationName:"dryRun",type:"boolean"},Instances:{shape:"S8c",locationName:"instanceId"},Status:{locationName:"status"},StartTime:{locationName:"startTime",type:"timestamp"},EndTime:{locationName:"endTime",type:"timestamp"},ReasonCodes:{locationName:"reasonCode",type:"list",member:{locationName:"item"}},Description:{locationName:"description"}}},http:{}},RequestSpotFleet:{input:{type:"structure",required:["SpotFleetRequestConfig"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotFleetRequestConfig:{shape:"Sfe",locationName:"spotFleetRequestConfig"}}},output:{type:"structure",required:["SpotFleetRequestId"],members:{SpotFleetRequestId:{locationName:"spotFleetRequestId"}}},http:{}},RequestSpotInstances:{input:{type:"structure",required:["SpotPrice"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SpotPrice:{locationName:"spotPrice"},ClientToken:{locationName:"clientToken"},InstanceCount:{locationName:"instanceCount",type:"integer"},Type:{locationName:"type"},ValidFrom:{locationName:"validFrom",type:"timestamp"},ValidUntil:{locationName:"validUntil",type:"timestamp"},LaunchGroup:{locationName:"launchGroup"},AvailabilityZoneGroup:{locationName:"availabilityZoneGroup"},BlockDurationMinutes:{locationName:"blockDurationMinutes",type:"integer"},LaunchSpecification:{type:"structure",members:{ImageId:{locationName:"imageId"},KeyName:{locationName:"keyName"},SecurityGroups:{shape:"S27",locationName:"SecurityGroup"},UserData:{locationName:"userData"},AddressingType:{locationName:"addressingType"},InstanceType:{locationName:"instanceType"},Placement:{shape:"Sfh",locationName:"placement"},KernelId:{locationName:"kernelId"},RamdiskId:{locationName:"ramdiskId"},BlockDeviceMappings:{shape:"Sa0",locationName:"blockDeviceMapping"},SubnetId:{locationName:"subnetId"},NetworkInterfaces:{shape:"Sfj",locationName:"NetworkInterface"},IamInstanceProfile:{shape:"Sfl",locationName:"iamInstanceProfile"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},Monitoring:{shape:"Sfx",locationName:"monitoring"},SecurityGroupIds:{shape:"S27",locationName:"SecurityGroupId"}}}}},output:{type:"structure",members:{SpotInstanceRequests:{shape:"Sfr",locationName:"spotInstanceRequestSet"}}},http:{}},ResetImageAttribute:{input:{type:"structure",required:["ImageId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageId:{},Attribute:{}}},http:{}},ResetInstanceAttribute:{input:{type:"structure",required:["InstanceId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceId:{locationName:"instanceId"},Attribute:{locationName:"attribute"}}},http:{}},ResetNetworkInterfaceAttribute:{input:{type:"structure",required:["NetworkInterfaceId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},NetworkInterfaceId:{locationName:"networkInterfaceId"},SourceDestCheck:{locationName:"sourceDestCheck"}}},http:{}},ResetSnapshotAttribute:{input:{type:"structure",required:["SnapshotId","Attribute"],members:{DryRun:{locationName:"dryRun",type:"boolean"},SnapshotId:{},Attribute:{}}},http:{}},RestoreAddressToClassic:{input:{type:"structure",required:["PublicIp"],members:{DryRun:{locationName:"dryRun",type:"boolean"},PublicIp:{locationName:"publicIp"}}},output:{type:"structure",members:{Status:{locationName:"status"},PublicIp:{locationName:"publicIp"}}},http:{}},RevokeSecurityGroupEgress:{input:{type:"structure",required:["GroupId"],members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupId:{locationName:"groupId"},SourceSecurityGroupName:{locationName:"sourceSecurityGroupName"},SourceSecurityGroupOwnerId:{locationName:"sourceSecurityGroupOwnerId"},IpProtocol:{locationName:"ipProtocol"},FromPort:{locationName:"fromPort",type:"integer"},ToPort:{locationName:"toPort",type:"integer"},CidrIp:{locationName:"cidrIp"},IpPermissions:{shape:"S16",locationName:"ipPermissions"}}},http:{}},RevokeSecurityGroupIngress:{input:{type:"structure",members:{DryRun:{locationName:"dryRun",type:"boolean"},GroupName:{},GroupId:{},SourceSecurityGroupName:{},SourceSecurityGroupOwnerId:{},IpProtocol:{},FromPort:{type:"integer"},ToPort:{type:"integer"},CidrIp:{},IpPermissions:{shape:"S16"}}},http:{}},RunInstances:{input:{type:"structure",required:["ImageId","MinCount","MaxCount"],members:{DryRun:{locationName:"dryRun",type:"boolean"},ImageId:{},MinCount:{type:"integer"},MaxCount:{type:"integer"},KeyName:{},SecurityGroups:{shape:"Sj1",locationName:"SecurityGroup"},SecurityGroupIds:{shape:"S4i",locationName:"SecurityGroupId"},UserData:{},InstanceType:{},Placement:{shape:"Sbl"},KernelId:{},RamdiskId:{},BlockDeviceMappings:{shape:"S3d",locationName:"BlockDeviceMapping"},Monitoring:{shape:"Sfx"},SubnetId:{},DisableApiTermination:{locationName:"disableApiTermination",type:"boolean"},InstanceInitiatedShutdownBehavior:{locationName:"instanceInitiatedShutdownBehavior"},PrivateIpAddress:{locationName:"privateIpAddress"},ClientToken:{locationName:"clientToken"},AdditionalInfo:{locationName:"additionalInfo"},NetworkInterfaces:{shape:"Sfj",locationName:"networkInterface"},IamInstanceProfile:{shape:"Sfl",locationName:"iamInstanceProfile"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"}}},output:{shape:"Sbh"},http:{}},RunScheduledInstances:{input:{type:"structure",required:["ScheduledInstanceId","LaunchSpecification"],members:{DryRun:{type:"boolean"},ClientToken:{idempotencyToken:!0},InstanceCount:{type:"integer"},ScheduledInstanceId:{},LaunchSpecification:{type:"structure",required:["ImageId"],members:{ImageId:{},KeyName:{},SecurityGroupIds:{shape:"Slw",locationName:"SecurityGroupId"},UserData:{},Placement:{type:"structure",members:{AvailabilityZone:{},GroupName:{}}},KernelId:{},InstanceType:{},RamdiskId:{},BlockDeviceMappings:{locationName:"BlockDeviceMapping",type:"list",member:{locationName:"BlockDeviceMapping",type:"structure",members:{DeviceName:{},NoDevice:{},VirtualName:{},Ebs:{type:"structure",members:{SnapshotId:{},VolumeSize:{type:"integer"},DeleteOnTermination:{type:"boolean"},VolumeType:{},Iops:{type:"integer"},Encrypted:{type:"boolean"}}}}}},Monitoring:{type:"structure",members:{Enabled:{type:"boolean"}}},SubnetId:{},NetworkInterfaces:{locationName:"NetworkInterface",type:"list",member:{locationName:"NetworkInterface",type:"structure",members:{NetworkInterfaceId:{},DeviceIndex:{type:"integer"},SubnetId:{},Description:{},PrivateIpAddress:{},PrivateIpAddressConfigs:{locationName:"PrivateIpAddressConfig",type:"list",member:{locationName:"PrivateIpAddressConfigSet",type:"structure",members:{PrivateIpAddress:{},Primary:{type:"boolean"}}}},SecondaryPrivateIpAddressCount:{type:"integer"},AssociatePublicIpAddress:{type:"boolean"},Groups:{shape:"Slw",locationName:"Group"},DeleteOnTermination:{type:"boolean"}}}},IamInstanceProfile:{type:"structure",members:{Arn:{},Name:{}}},EbsOptimized:{type:"boolean"}}}}},output:{type:"structure",members:{InstanceIdSet:{locationName:"instanceIdSet",type:"list",member:{locationName:"item"}}}},http:{}},StartInstances:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"S8c",locationName:"InstanceId"},AdditionalInfo:{locationName:"additionalInfo"},DryRun:{locationName:"dryRun",type:"boolean"}}},output:{type:"structure",members:{StartingInstances:{shape:"Smb",locationName:"instancesSet"}}},http:{}},StopInstances:{input:{type:"structure",required:["InstanceIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"},Force:{locationName:"force",type:"boolean"}}},output:{type:"structure",members:{StoppingInstances:{shape:"Smb",locationName:"instancesSet"}}},http:{}},TerminateInstances:{input:{type:"structure",required:["InstanceIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"}}},output:{type:"structure",members:{TerminatingInstances:{shape:"Smb",locationName:"instancesSet"}}},http:{}},UnassignPrivateIpAddresses:{input:{type:"structure",required:["NetworkInterfaceId","PrivateIpAddresses"],members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},PrivateIpAddresses:{shape:"Sm",locationName:"privateIpAddress"}}},http:{}},UnmonitorInstances:{input:{type:"structure",required:["InstanceIds"],members:{DryRun:{locationName:"dryRun",type:"boolean"},InstanceIds:{shape:"S8c",locationName:"InstanceId"}}},output:{type:"structure",members:{InstanceMonitorings:{shape:"Skk",locationName:"instancesSet"}}},http:{}}},shapes:{S5:{type:"structure",members:{AccepterVpcInfo:{shape:"S6",locationName:"accepterVpcInfo"},ExpirationTime:{locationName:"expirationTime",type:"timestamp"},RequesterVpcInfo:{shape:"S6",locationName:"requesterVpcInfo"},Status:{locationName:"status",type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},Tags:{shape:"Sb",locationName:"tagSet"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"}}},S6:{type:"structure",members:{CidrBlock:{locationName:"cidrBlock"},OwnerId:{locationName:"ownerId"},VpcId:{locationName:"vpcId"},PeeringOptions:{locationName:"peeringOptions",type:"structure",members:{AllowEgressFromLocalClassicLinkToRemoteVpc:{locationName:"allowEgressFromLocalClassicLinkToRemoteVpc",type:"boolean"},AllowEgressFromLocalVpcToRemoteClassicLink:{locationName:"allowEgressFromLocalVpcToRemoteClassicLink",type:"boolean"}}}}},Sb:{type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},Value:{locationName:"value"}}}},Sk:{type:"list",member:{locationName:"item"}},Sm:{type:"list",member:{locationName:"PrivateIpAddress"}},St:{type:"list",member:{locationName:"groupId"}},Sz:{type:"structure",members:{VolumeId:{locationName:"volumeId"},InstanceId:{locationName:"instanceId"},Device:{locationName:"device"},State:{locationName:"status"},AttachTime:{locationName:"attachTime",type:"timestamp"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}},S13:{type:"structure",members:{VpcId:{locationName:"vpcId"},State:{locationName:"state"}}},S16:{type:"list",member:{locationName:"item",type:"structure",members:{IpProtocol:{locationName:"ipProtocol"},FromPort:{locationName:"fromPort",type:"integer"},ToPort:{locationName:"toPort",type:"integer"},UserIdGroupPairs:{locationName:"groups",type:"list",member:{shape:"S19",locationName:"item"}},IpRanges:{locationName:"ipRanges",type:"list",member:{locationName:"item",type:"structure",members:{CidrIp:{locationName:"cidrIp"}}}},PrefixListIds:{locationName:"prefixListIds",type:"list",member:{locationName:"item",type:"structure",members:{PrefixListId:{locationName:"prefixListId"}}}}}}},S19:{type:"structure",members:{UserId:{locationName:"userId"},GroupName:{locationName:"groupName"},GroupId:{locationName:"groupId"},VpcId:{locationName:"vpcId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"},PeeringStatus:{locationName:"peeringStatus"}}},S1g:{type:"structure",members:{S3:{type:"structure",members:{Bucket:{locationName:"bucket"},Prefix:{locationName:"prefix"},AWSAccessKeyId:{},UploadPolicy:{locationName:"uploadPolicy",type:"blob"},UploadPolicySignature:{locationName:"uploadPolicySignature"}}}}},S1k:{type:"structure",members:{InstanceId:{locationName:"instanceId"},BundleId:{locationName:"bundleId"},State:{locationName:"state"},StartTime:{locationName:"startTime",type:"timestamp"},UpdateTime:{locationName:"updateTime",type:"timestamp"},Storage:{shape:"S1g",locationName:"storage"},Progress:{locationName:"progress"},BundleTaskError:{locationName:"error",type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}}}},S1v:{type:"list",member:{locationName:"item",type:"structure",members:{ReservedInstancesListingId:{locationName:"reservedInstancesListingId"},ReservedInstancesId:{locationName:"reservedInstancesId"},CreateDate:{locationName:"createDate",type:"timestamp"},UpdateDate:{locationName:"updateDate",type:"timestamp"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},InstanceCounts:{locationName:"instanceCounts",type:"list",member:{locationName:"item",type:"structure",members:{State:{locationName:"state"},InstanceCount:{locationName:"instanceCount",type:"integer"}}}},PriceSchedules:{locationName:"priceSchedules",type:"list",member:{locationName:"item",type:"structure",members:{Term:{locationName:"term",type:"long"},Price:{locationName:"price",type:"double"},CurrencyCode:{locationName:"currencyCode"},Active:{locationName:"active",type:"boolean"}}}},Tags:{shape:"Sb",locationName:"tagSet"},ClientToken:{locationName:"clientToken"}}}},S27:{type:"list",member:{locationName:"item"}},S2h:{type:"list",member:{locationName:"SpotInstanceRequestId"}},S2v:{type:"structure",members:{CustomerGatewayId:{locationName:"customerGatewayId"},State:{locationName:"state"},Type:{locationName:"type"},IpAddress:{locationName:"ipAddress"},BgpAsn:{locationName:"bgpAsn"},Tags:{shape:"Sb",locationName:"tagSet"}}},S30:{type:"structure",members:{DhcpOptionsId:{locationName:"dhcpOptionsId"},DhcpConfigurations:{locationName:"dhcpConfigurationSet",type:"list",member:{locationName:"item",type:"structure",members:{Key:{locationName:"key"},Values:{locationName:"valueSet",type:"list",member:{shape:"S34",locationName:"item"}}}}},Tags:{shape:"Sb",locationName:"tagSet"}}},S34:{type:"structure",members:{Value:{locationName:"value"}}},S39:{type:"list",member:{shape:"S3a",locationName:"item"}},S3a:{type:"structure",required:["Error"],members:{ResourceId:{locationName:"resourceId"},Error:{locationName:"error",type:"structure",required:["Code","Message"],members:{Code:{locationName:"code"},Message:{locationName:"message"}}}}},S3d:{type:"list",member:{shape:"S3e",locationName:"BlockDeviceMapping"}},S3e:{type:"structure",members:{VirtualName:{locationName:"virtualName"},DeviceName:{locationName:"deviceName"},Ebs:{locationName:"ebs",type:"structure",members:{SnapshotId:{locationName:"snapshotId"},VolumeSize:{locationName:"volumeSize",type:"integer"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},VolumeType:{locationName:"volumeType"},Iops:{locationName:"iops",type:"integer"},Encrypted:{locationName:"encrypted",type:"boolean"}}},NoDevice:{locationName:"noDevice"}}},S3o:{type:"structure",members:{ExportTaskId:{locationName:"exportTaskId"},Description:{locationName:"description"},State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"},InstanceExportDetails:{locationName:"instanceExport",type:"structure",members:{InstanceId:{locationName:"instanceId"},TargetEnvironment:{locationName:"targetEnvironment"}}},ExportToS3Task:{locationName:"exportToS3",type:"structure",members:{DiskImageFormat:{locationName:"diskImageFormat"},ContainerFormat:{locationName:"containerFormat"},S3Bucket:{locationName:"s3Bucket"},S3Key:{locationName:"s3Key"}}}}},S3u:{type:"structure",members:{InternetGatewayId:{locationName:"internetGatewayId"},Attachments:{locationName:"attachmentSet",type:"list",member:{locationName:"item",type:"structure",members:{VpcId:{locationName:"vpcId"},State:{locationName:"state"}}}},Tags:{shape:"Sb",locationName:"tagSet"}}},S41:{type:"structure",members:{VpcId:{locationName:"vpcId"},SubnetId:{locationName:"subnetId"},NatGatewayId:{locationName:"natGatewayId"},CreateTime:{locationName:"createTime",type:"timestamp"},DeleteTime:{locationName:"deleteTime",type:"timestamp"},NatGatewayAddresses:{locationName:"natGatewayAddressSet",type:"list",member:{locationName:"item",type:"structure",members:{PublicIp:{locationName:"publicIp"},AllocationId:{locationName:"allocationId"},PrivateIp:{locationName:"privateIp"},NetworkInterfaceId:{locationName:"networkInterfaceId"}}}},State:{locationName:"state"},FailureCode:{locationName:"failureCode"},FailureMessage:{locationName:"failureMessage"},ProvisionedBandwidth:{locationName:"provisionedBandwidth",type:"structure",members:{Provisioned:{locationName:"provisioned"},Requested:{locationName:"requested"},RequestTime:{locationName:"requestTime",type:"timestamp"},ProvisionTime:{locationName:"provisionTime",type:"timestamp"},Status:{locationName:"status"}}}}},S48:{type:"structure",members:{NetworkAclId:{locationName:"networkAclId"},VpcId:{locationName:"vpcId"},IsDefault:{locationName:"default",type:"boolean"},Entries:{locationName:"entrySet",type:"list",member:{locationName:"item",type:"structure",members:{RuleNumber:{locationName:"ruleNumber",type:"integer"},Protocol:{locationName:"protocol"},RuleAction:{locationName:"ruleAction"},Egress:{locationName:"egress",type:"boolean"},CidrBlock:{locationName:"cidrBlock"},IcmpTypeCode:{shape:"S4c",locationName:"icmpTypeCode"},PortRange:{shape:"S4d",locationName:"portRange"}}}},Associations:{locationName:"associationSet",type:"list",member:{locationName:"item",type:"structure",members:{NetworkAclAssociationId:{locationName:"networkAclAssociationId"},NetworkAclId:{locationName:"networkAclId"},SubnetId:{locationName:"subnetId"}}}},Tags:{shape:"Sb",locationName:"tagSet"}}},S4c:{type:"structure",members:{Type:{locationName:"type",type:"integer"},Code:{locationName:"code",type:"integer"}}},S4d:{type:"structure",members:{From:{locationName:"from",type:"integer"},To:{locationName:"to",type:"integer"}}},S4i:{type:"list",member:{locationName:"SecurityGroupId"}},S4j:{type:"list",member:{locationName:"item",type:"structure",required:["PrivateIpAddress"],members:{PrivateIpAddress:{locationName:"privateIpAddress"},Primary:{locationName:"primary",type:"boolean"}}}},S4m:{type:"structure",members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"},AvailabilityZone:{locationName:"availabilityZone"},Description:{locationName:"description"},OwnerId:{locationName:"ownerId"},RequesterId:{locationName:"requesterId"},RequesterManaged:{locationName:"requesterManaged",type:"boolean"},Status:{locationName:"status"},MacAddress:{locationName:"macAddress"},PrivateIpAddress:{locationName:"privateIpAddress"},PrivateDnsName:{locationName:"privateDnsName"},SourceDestCheck:{locationName:"sourceDestCheck",type:"boolean"},Groups:{shape:"S4o",locationName:"groupSet"},Attachment:{shape:"S4q",locationName:"attachment"},Association:{shape:"S4r",locationName:"association"},TagSet:{shape:"Sb",locationName:"tagSet"},PrivateIpAddresses:{locationName:"privateIpAddressesSet",type:"list",member:{locationName:"item",type:"structure",members:{PrivateIpAddress:{locationName:"privateIpAddress"},PrivateDnsName:{locationName:"privateDnsName"},Primary:{locationName:"primary",type:"boolean"},Association:{shape:"S4r",locationName:"association"}}}},InterfaceType:{locationName:"interfaceType"}}},S4o:{type:"list",member:{locationName:"item",type:"structure",members:{GroupName:{locationName:"groupName"},GroupId:{locationName:"groupId"}}}},S4q:{type:"structure",members:{AttachmentId:{locationName:"attachmentId"},InstanceId:{locationName:"instanceId"},InstanceOwnerId:{locationName:"instanceOwnerId"},DeviceIndex:{locationName:"deviceIndex",type:"integer"},Status:{locationName:"status"},AttachTime:{locationName:"attachTime",type:"timestamp"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}},S4r:{type:"structure",members:{PublicIp:{locationName:"publicIp"},PublicDnsName:{locationName:"publicDnsName"},IpOwnerId:{locationName:"ipOwnerId"},AllocationId:{locationName:"allocationId"},AssociationId:{locationName:"associationId"}}},S55:{type:"structure",members:{RouteTableId:{locationName:"routeTableId"},VpcId:{locationName:"vpcId"},Routes:{locationName:"routeSet",type:"list",member:{locationName:"item",type:"structure",members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},DestinationPrefixListId:{locationName:"destinationPrefixListId"},GatewayId:{locationName:"gatewayId"},InstanceId:{locationName:"instanceId"},InstanceOwnerId:{locationName:"instanceOwnerId"},NetworkInterfaceId:{locationName:"networkInterfaceId"},VpcPeeringConnectionId:{locationName:"vpcPeeringConnectionId"},NatGatewayId:{locationName:"natGatewayId"},State:{locationName:"state"},Origin:{locationName:"origin"}}}},Associations:{locationName:"associationSet",type:"list",member:{locationName:"item",type:"structure",members:{RouteTableAssociationId:{locationName:"routeTableAssociationId"},RouteTableId:{locationName:"routeTableId"},SubnetId:{locationName:"subnetId"},Main:{locationName:"main",type:"boolean"}}}},Tags:{shape:"Sb",locationName:"tagSet"},PropagatingVgws:{
locationName:"propagatingVgwSet",type:"list",member:{locationName:"item",type:"structure",members:{GatewayId:{locationName:"gatewayId"}}}}}},S5h:{type:"structure",members:{SnapshotId:{locationName:"snapshotId"},VolumeId:{locationName:"volumeId"},State:{locationName:"status"},StateMessage:{locationName:"statusMessage"},StartTime:{locationName:"startTime",type:"timestamp"},Progress:{locationName:"progress"},OwnerId:{locationName:"ownerId"},Description:{locationName:"description"},VolumeSize:{locationName:"volumeSize",type:"integer"},OwnerAlias:{locationName:"ownerAlias"},Tags:{shape:"Sb",locationName:"tagSet"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"},DataEncryptionKeyId:{locationName:"dataEncryptionKeyId"}}},S5l:{type:"structure",members:{OwnerId:{locationName:"ownerId"},Bucket:{locationName:"bucket"},Prefix:{locationName:"prefix"},State:{locationName:"state"},Fault:{shape:"S5n",locationName:"fault"}}},S5n:{type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},S5q:{type:"structure",members:{SubnetId:{locationName:"subnetId"},State:{locationName:"state"},VpcId:{locationName:"vpcId"},CidrBlock:{locationName:"cidrBlock"},AvailableIpAddressCount:{locationName:"availableIpAddressCount",type:"integer"},AvailabilityZone:{locationName:"availabilityZone"},DefaultForAz:{locationName:"defaultForAz",type:"boolean"},MapPublicIpOnLaunch:{locationName:"mapPublicIpOnLaunch",type:"boolean"},Tags:{shape:"Sb",locationName:"tagSet"}}},S5t:{type:"list",member:{}},S5v:{type:"structure",members:{VolumeId:{locationName:"volumeId"},Size:{locationName:"size",type:"integer"},SnapshotId:{locationName:"snapshotId"},AvailabilityZone:{locationName:"availabilityZone"},State:{locationName:"status"},CreateTime:{locationName:"createTime",type:"timestamp"},Attachments:{locationName:"attachmentSet",type:"list",member:{shape:"Sz",locationName:"item"}},Tags:{shape:"Sb",locationName:"tagSet"},VolumeType:{locationName:"volumeType"},Iops:{locationName:"iops",type:"integer"},Encrypted:{locationName:"encrypted",type:"boolean"},KmsKeyId:{locationName:"kmsKeyId"}}},S61:{type:"structure",members:{VpcId:{locationName:"vpcId"},State:{locationName:"state"},CidrBlock:{locationName:"cidrBlock"},DhcpOptionsId:{locationName:"dhcpOptionsId"},Tags:{shape:"Sb",locationName:"tagSet"},InstanceTenancy:{locationName:"instanceTenancy"},IsDefault:{locationName:"isDefault",type:"boolean"}}},S65:{type:"structure",members:{VpcEndpointId:{locationName:"vpcEndpointId"},VpcId:{locationName:"vpcId"},ServiceName:{locationName:"serviceName"},State:{locationName:"state"},PolicyDocument:{locationName:"policyDocument"},RouteTableIds:{shape:"S27",locationName:"routeTableIdSet"},CreationTimestamp:{locationName:"creationTimestamp",type:"timestamp"}}},S6c:{type:"structure",members:{VpnConnectionId:{locationName:"vpnConnectionId"},State:{locationName:"state"},CustomerGatewayConfiguration:{locationName:"customerGatewayConfiguration"},Type:{locationName:"type"},CustomerGatewayId:{locationName:"customerGatewayId"},VpnGatewayId:{locationName:"vpnGatewayId"},Tags:{shape:"Sb",locationName:"tagSet"},VgwTelemetry:{locationName:"vgwTelemetry",type:"list",member:{locationName:"item",type:"structure",members:{OutsideIpAddress:{locationName:"outsideIpAddress"},Status:{locationName:"status"},LastStatusChange:{locationName:"lastStatusChange",type:"timestamp"},StatusMessage:{locationName:"statusMessage"},AcceptedRouteCount:{locationName:"acceptedRouteCount",type:"integer"}}}},Options:{locationName:"options",type:"structure",members:{StaticRoutesOnly:{locationName:"staticRoutesOnly",type:"boolean"}}},Routes:{locationName:"routes",type:"list",member:{locationName:"item",type:"structure",members:{DestinationCidrBlock:{locationName:"destinationCidrBlock"},Source:{locationName:"source"},State:{locationName:"state"}}}}}},S6o:{type:"structure",members:{VpnGatewayId:{locationName:"vpnGatewayId"},State:{locationName:"state"},Type:{locationName:"type"},AvailabilityZone:{locationName:"availabilityZone"},VpcAttachments:{locationName:"attachments",type:"list",member:{shape:"S13",locationName:"item"}},Tags:{shape:"Sb",locationName:"tagSet"}}},S7t:{type:"list",member:{locationName:"Filter",type:"structure",members:{Name:{},Values:{shape:"S27",locationName:"Value"}}}},S8c:{type:"list",member:{locationName:"InstanceId"}},S8k:{type:"structure",required:["ConversionTaskId","State"],members:{ConversionTaskId:{locationName:"conversionTaskId"},ExpirationTime:{locationName:"expirationTime"},ImportInstance:{locationName:"importInstance",type:"structure",required:["Volumes"],members:{Volumes:{locationName:"volumes",type:"list",member:{locationName:"item",type:"structure",required:["BytesConverted","AvailabilityZone","Image","Volume","Status"],members:{BytesConverted:{locationName:"bytesConverted",type:"long"},AvailabilityZone:{locationName:"availabilityZone"},Image:{shape:"S8o",locationName:"image"},Volume:{shape:"S8p",locationName:"volume"},Status:{locationName:"status"},StatusMessage:{locationName:"statusMessage"},Description:{locationName:"description"}}}},InstanceId:{locationName:"instanceId"},Platform:{locationName:"platform"},Description:{locationName:"description"}}},ImportVolume:{locationName:"importVolume",type:"structure",required:["BytesConverted","AvailabilityZone","Image","Volume"],members:{BytesConverted:{locationName:"bytesConverted",type:"long"},AvailabilityZone:{locationName:"availabilityZone"},Description:{locationName:"description"},Image:{shape:"S8o",locationName:"image"},Volume:{shape:"S8p",locationName:"volume"}}},State:{locationName:"state"},StatusMessage:{locationName:"statusMessage"},Tags:{shape:"Sb",locationName:"tagSet"}}},S8o:{type:"structure",required:["Format","Size","ImportManifestUrl"],members:{Format:{locationName:"format"},Size:{locationName:"size",type:"long"},ImportManifestUrl:{locationName:"importManifestUrl"},Checksum:{locationName:"checksum"}}},S8p:{type:"structure",required:["Id"],members:{Size:{locationName:"size",type:"long"},Id:{locationName:"id"}}},S9a:{type:"list",member:{locationName:"item"}},S9n:{type:"list",member:{locationName:"item",type:"structure",members:{Resource:{locationName:"resource"},UseLongIds:{locationName:"useLongIds",type:"boolean"},Deadline:{locationName:"deadline",type:"timestamp"}}}},S9u:{type:"list",member:{locationName:"item",type:"structure",members:{UserId:{locationName:"userId"},Group:{locationName:"group"}}}},S9x:{type:"list",member:{locationName:"item",type:"structure",members:{ProductCodeId:{locationName:"productCode"},ProductCodeType:{locationName:"type"}}}},Sa0:{type:"list",member:{shape:"S3e",locationName:"item"}},Sa3:{type:"list",member:{locationName:"Owner"}},Sab:{type:"structure",members:{Code:{locationName:"code"},Message:{locationName:"message"}}},Sag:{type:"list",member:{locationName:"ImportTaskId"}},Sak:{type:"list",member:{locationName:"item",type:"structure",members:{DiskImageSize:{locationName:"diskImageSize",type:"double"},Description:{locationName:"description"},Format:{locationName:"format"},Url:{locationName:"url"},UserBucket:{shape:"Sam",locationName:"userBucket"},DeviceName:{locationName:"deviceName"},SnapshotId:{locationName:"snapshotId"},Progress:{locationName:"progress"},StatusMessage:{locationName:"statusMessage"},Status:{locationName:"status"}}}},Sam:{type:"structure",members:{S3Bucket:{locationName:"s3Bucket"},S3Key:{locationName:"s3Key"}}},Sar:{type:"structure",members:{DiskImageSize:{locationName:"diskImageSize",type:"double"},Description:{locationName:"description"},Format:{locationName:"format"},Url:{locationName:"url"},UserBucket:{shape:"Sam",locationName:"userBucket"},SnapshotId:{locationName:"snapshotId"},Progress:{locationName:"progress"},StatusMessage:{locationName:"statusMessage"},Status:{locationName:"status"}}},Sav:{type:"structure",members:{Value:{locationName:"value",type:"boolean"}}},Saw:{type:"list",member:{locationName:"item",type:"structure",members:{DeviceName:{locationName:"deviceName"},Ebs:{locationName:"ebs",type:"structure",members:{VolumeId:{locationName:"volumeId"},Status:{locationName:"status"},AttachTime:{locationName:"attachTime",type:"timestamp"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}}}}},Sb6:{type:"structure",members:{Code:{locationName:"code",type:"integer"},Name:{locationName:"name"}}},Sb8:{type:"structure",members:{Status:{locationName:"status"},Details:{locationName:"details",type:"list",member:{locationName:"item",type:"structure",members:{Name:{locationName:"name"},Status:{locationName:"status"},ImpairedSince:{locationName:"impairedSince",type:"timestamp"}}}}}},Sbh:{type:"structure",members:{ReservationId:{locationName:"reservationId"},OwnerId:{locationName:"ownerId"},RequesterId:{locationName:"requesterId"},Groups:{shape:"S4o",locationName:"groupSet"},Instances:{locationName:"instancesSet",type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},ImageId:{locationName:"imageId"},State:{shape:"Sb6",locationName:"instanceState"},PrivateDnsName:{locationName:"privateDnsName"},PublicDnsName:{locationName:"dnsName"},StateTransitionReason:{locationName:"reason"},KeyName:{locationName:"keyName"},AmiLaunchIndex:{locationName:"amiLaunchIndex",type:"integer"},ProductCodes:{shape:"S9x",locationName:"productCodes"},InstanceType:{locationName:"instanceType"},LaunchTime:{locationName:"launchTime",type:"timestamp"},Placement:{shape:"Sbl",locationName:"placement"},KernelId:{locationName:"kernelId"},RamdiskId:{locationName:"ramdiskId"},Platform:{locationName:"platform"},Monitoring:{shape:"Sbm",locationName:"monitoring"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"},PrivateIpAddress:{locationName:"privateIpAddress"},PublicIpAddress:{locationName:"ipAddress"},StateReason:{shape:"Sab",locationName:"stateReason"},Architecture:{locationName:"architecture"},RootDeviceType:{locationName:"rootDeviceType"},RootDeviceName:{locationName:"rootDeviceName"},BlockDeviceMappings:{shape:"Saw",locationName:"blockDeviceMapping"},VirtualizationType:{locationName:"virtualizationType"},InstanceLifecycle:{locationName:"instanceLifecycle"},SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},ClientToken:{locationName:"clientToken"},Tags:{shape:"Sb",locationName:"tagSet"},SecurityGroups:{shape:"S4o",locationName:"groupSet"},SourceDestCheck:{locationName:"sourceDestCheck",type:"boolean"},Hypervisor:{locationName:"hypervisor"},NetworkInterfaces:{locationName:"networkInterfaceSet",type:"list",member:{locationName:"item",type:"structure",members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},SubnetId:{locationName:"subnetId"},VpcId:{locationName:"vpcId"},Description:{locationName:"description"},OwnerId:{locationName:"ownerId"},Status:{locationName:"status"},MacAddress:{locationName:"macAddress"},PrivateIpAddress:{locationName:"privateIpAddress"},PrivateDnsName:{locationName:"privateDnsName"},SourceDestCheck:{locationName:"sourceDestCheck",type:"boolean"},Groups:{shape:"S4o",locationName:"groupSet"},Attachment:{locationName:"attachment",type:"structure",members:{AttachmentId:{locationName:"attachmentId"},DeviceIndex:{locationName:"deviceIndex",type:"integer"},Status:{locationName:"status"},AttachTime:{locationName:"attachTime",type:"timestamp"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"}}},Association:{shape:"Sbs",locationName:"association"},PrivateIpAddresses:{locationName:"privateIpAddressesSet",type:"list",member:{locationName:"item",type:"structure",members:{PrivateIpAddress:{locationName:"privateIpAddress"},PrivateDnsName:{locationName:"privateDnsName"},Primary:{locationName:"primary",type:"boolean"},Association:{shape:"Sbs",locationName:"association"}}}}}}},IamInstanceProfile:{locationName:"iamInstanceProfile",type:"structure",members:{Arn:{locationName:"arn"},Id:{locationName:"id"}}},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},SriovNetSupport:{locationName:"sriovNetSupport"},EnaSupport:{locationName:"enaSupport",type:"boolean"}}}}}},Sbl:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},GroupName:{locationName:"groupName"},Tenancy:{locationName:"tenancy"},HostId:{locationName:"hostId"},Affinity:{locationName:"affinity"}}},Sbm:{type:"structure",members:{State:{locationName:"state"}}},Sbs:{type:"structure",members:{PublicIp:{locationName:"publicIp"},PublicDnsName:{locationName:"publicDnsName"},IpOwnerId:{locationName:"ipOwnerId"}}},Sd2:{type:"list",member:{locationName:"ReservedInstancesId"}},Sda:{type:"list",member:{locationName:"item",type:"structure",members:{Frequency:{locationName:"frequency"},Amount:{locationName:"amount",type:"double"}}}},Sdo:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},Platform:{locationName:"platform"},InstanceCount:{locationName:"instanceCount",type:"integer"},InstanceType:{locationName:"instanceType"}}},Se6:{type:"structure",members:{Frequency:{locationName:"frequency"},Interval:{locationName:"interval",type:"integer"},OccurrenceDaySet:{locationName:"occurrenceDaySet",type:"list",member:{locationName:"item",type:"integer"}},OccurrenceRelativeToEnd:{locationName:"occurrenceRelativeToEnd",type:"boolean"},OccurrenceUnit:{locationName:"occurrenceUnit"}}},Sed:{type:"structure",members:{ScheduledInstanceId:{locationName:"scheduledInstanceId"},InstanceType:{locationName:"instanceType"},Platform:{locationName:"platform"},NetworkPlatform:{locationName:"networkPlatform"},AvailabilityZone:{locationName:"availabilityZone"},SlotDurationInHours:{locationName:"slotDurationInHours",type:"integer"},Recurrence:{shape:"Se6",locationName:"recurrence"},PreviousSlotEndTime:{locationName:"previousSlotEndTime",type:"timestamp"},NextSlotStartTime:{locationName:"nextSlotStartTime",type:"timestamp"},HourlyPrice:{locationName:"hourlyPrice"},TotalScheduledInstanceHours:{locationName:"totalScheduledInstanceHours",type:"integer"},InstanceCount:{locationName:"instanceCount",type:"integer"},TermStartDate:{locationName:"termStartDate",type:"timestamp"},TermEndDate:{locationName:"termEndDate",type:"timestamp"},CreateDate:{locationName:"createDate",type:"timestamp"}}},Sek:{type:"list",member:{locationName:"GroupName"}},Ser:{type:"list",member:{locationName:"item",type:"structure",members:{UserId:{locationName:"userId"},Group:{locationName:"group"}}}},Sfe:{type:"structure",required:["SpotPrice","TargetCapacity","IamFleetRole","LaunchSpecifications"],members:{ClientToken:{locationName:"clientToken"},SpotPrice:{locationName:"spotPrice"},TargetCapacity:{locationName:"targetCapacity",type:"integer"},ValidFrom:{locationName:"validFrom",type:"timestamp"},ValidUntil:{locationName:"validUntil",type:"timestamp"},TerminateInstancesWithExpiration:{locationName:"terminateInstancesWithExpiration",type:"boolean"},IamFleetRole:{locationName:"iamFleetRole"},LaunchSpecifications:{locationName:"launchSpecifications",type:"list",member:{locationName:"item",type:"structure",members:{ImageId:{locationName:"imageId"},KeyName:{locationName:"keyName"},SecurityGroups:{shape:"S4o",locationName:"groupSet"},UserData:{locationName:"userData"},AddressingType:{locationName:"addressingType"},InstanceType:{locationName:"instanceType"},Placement:{shape:"Sfh",locationName:"placement"},KernelId:{locationName:"kernelId"},RamdiskId:{locationName:"ramdiskId"},BlockDeviceMappings:{shape:"Sa0",locationName:"blockDeviceMapping"},Monitoring:{locationName:"monitoring",type:"structure",members:{Enabled:{locationName:"enabled",type:"boolean"}}},SubnetId:{locationName:"subnetId"},NetworkInterfaces:{shape:"Sfj",locationName:"networkInterfaceSet"},IamInstanceProfile:{shape:"Sfl",locationName:"iamInstanceProfile"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},WeightedCapacity:{locationName:"weightedCapacity",type:"double"},SpotPrice:{locationName:"spotPrice"}}}},ExcessCapacityTerminationPolicy:{locationName:"excessCapacityTerminationPolicy"},AllocationStrategy:{locationName:"allocationStrategy"},FulfilledCapacity:{locationName:"fulfilledCapacity",type:"double"},Type:{locationName:"type"}}},Sfh:{type:"structure",members:{AvailabilityZone:{locationName:"availabilityZone"},GroupName:{locationName:"groupName"}}},Sfj:{type:"list",member:{locationName:"item",type:"structure",members:{NetworkInterfaceId:{locationName:"networkInterfaceId"},DeviceIndex:{locationName:"deviceIndex",type:"integer"},SubnetId:{locationName:"subnetId"},Description:{locationName:"description"},PrivateIpAddress:{locationName:"privateIpAddress"},Groups:{shape:"S4i",locationName:"SecurityGroupId"},DeleteOnTermination:{locationName:"deleteOnTermination",type:"boolean"},PrivateIpAddresses:{shape:"S4j",locationName:"privateIpAddressesSet",queryName:"PrivateIpAddresses"},SecondaryPrivateIpAddressCount:{locationName:"secondaryPrivateIpAddressCount",type:"integer"},AssociatePublicIpAddress:{locationName:"associatePublicIpAddress",type:"boolean"}}}},Sfl:{type:"structure",members:{Arn:{locationName:"arn"},Name:{locationName:"name"}}},Sfr:{type:"list",member:{locationName:"item",type:"structure",members:{SpotInstanceRequestId:{locationName:"spotInstanceRequestId"},SpotPrice:{locationName:"spotPrice"},Type:{locationName:"type"},State:{locationName:"state"},Fault:{shape:"S5n",locationName:"fault"},Status:{locationName:"status",type:"structure",members:{Code:{locationName:"code"},UpdateTime:{locationName:"updateTime",type:"timestamp"},Message:{locationName:"message"}}},ValidFrom:{locationName:"validFrom",type:"timestamp"},ValidUntil:{locationName:"validUntil",type:"timestamp"},LaunchGroup:{locationName:"launchGroup"},AvailabilityZoneGroup:{locationName:"availabilityZoneGroup"},LaunchSpecification:{locationName:"launchSpecification",type:"structure",members:{ImageId:{locationName:"imageId"},KeyName:{locationName:"keyName"},SecurityGroups:{shape:"S4o",locationName:"groupSet"},UserData:{locationName:"userData"},AddressingType:{locationName:"addressingType"},InstanceType:{locationName:"instanceType"},Placement:{shape:"Sfh",locationName:"placement"},KernelId:{locationName:"kernelId"},RamdiskId:{locationName:"ramdiskId"},BlockDeviceMappings:{shape:"Sa0",locationName:"blockDeviceMapping"},SubnetId:{locationName:"subnetId"},NetworkInterfaces:{shape:"Sfj",locationName:"networkInterfaceSet"},IamInstanceProfile:{shape:"Sfl",locationName:"iamInstanceProfile"},EbsOptimized:{locationName:"ebsOptimized",type:"boolean"},Monitoring:{shape:"Sfx",locationName:"monitoring"}}},InstanceId:{locationName:"instanceId"},CreateTime:{locationName:"createTime",type:"timestamp"},ProductDescription:{locationName:"productDescription"},BlockDurationMinutes:{locationName:"blockDurationMinutes",type:"integer"},ActualBlockHourlyPrice:{locationName:"actualBlockHourlyPrice"},Tags:{shape:"Sb",locationName:"tagSet"},LaunchedAvailabilityZone:{locationName:"launchedAvailabilityZone"}}}},Sfx:{type:"structure",required:["Enabled"],members:{Enabled:{locationName:"enabled",type:"boolean"}}},Sga:{type:"list",member:{locationName:"item",type:"structure",members:{FromPort:{locationName:"fromPort",type:"integer"},IpProtocol:{locationName:"ipProtocol"},IpRanges:{locationName:"ipRanges",type:"list",member:{locationName:"item"}},PrefixListIds:{locationName:"prefixListIds",type:"list",member:{locationName:"item"}},ToPort:{locationName:"toPort",type:"integer"},UserIdGroupPairs:{locationName:"groups",type:"list",member:{shape:"S19",locationName:"item"}}}}},Sgs:{type:"list",member:{locationName:"VolumeId"}},Shc:{type:"list",member:{locationName:"VpcId"}},Siw:{type:"structure",members:{S3Bucket:{},S3Key:{}}},Six:{type:"structure",members:{UploadStart:{type:"timestamp"},UploadEnd:{type:"timestamp"},UploadSize:{type:"double"},Comment:{}}},Sj1:{type:"list",member:{locationName:"SecurityGroup"}},Sj6:{type:"structure",required:["Format","Bytes","ImportManifestUrl"],members:{Format:{locationName:"format"},Bytes:{locationName:"bytes",type:"long"},ImportManifestUrl:{locationName:"importManifestUrl"}}},Sj7:{type:"structure",required:["Size"],members:{Size:{locationName:"size",type:"long"}}},Sji:{type:"list",member:{shape:"S3a",locationName:"item"}},Sjn:{type:"list",member:{locationName:"UserId"}},Skf:{type:"structure",required:["AllowEgressFromLocalClassicLinkToRemoteVpc","AllowEgressFromLocalVpcToRemoteClassicLink"],members:{AllowEgressFromLocalClassicLinkToRemoteVpc:{type:"boolean"},AllowEgressFromLocalVpcToRemoteClassicLink:{type:"boolean"}}},Skh:{type:"structure",members:{AllowEgressFromLocalClassicLinkToRemoteVpc:{locationName:"allowEgressFromLocalClassicLinkToRemoteVpc",type:"boolean"},AllowEgressFromLocalVpcToRemoteClassicLink:{locationName:"allowEgressFromLocalVpcToRemoteClassicLink",type:"boolean"}}},Skk:{type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},Monitoring:{shape:"Sbm",locationName:"monitoring"}}}},Slw:{type:"list",member:{locationName:"SecurityGroupId"}},Smb:{type:"list",member:{locationName:"item",type:"structure",members:{InstanceId:{locationName:"instanceId"},CurrentState:{shape:"Sb6",locationName:"currentState"},PreviousState:{shape:"Sb6",locationName:"previousState"}}}}},paginators:{DescribeAccountAttributes:{result_key:"AccountAttributes"},DescribeAddresses:{result_key:"Addresses"},DescribeAvailabilityZones:{result_key:"AvailabilityZones"},DescribeBundleTasks:{result_key:"BundleTasks"},DescribeConversionTasks:{result_key:"ConversionTasks"},DescribeCustomerGateways:{result_key:"CustomerGateways"},DescribeDhcpOptions:{result_key:"DhcpOptions"},DescribeExportTasks:{result_key:"ExportTasks"},DescribeImages:{result_key:"Images"},DescribeInstanceStatus:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"InstanceStatuses"},DescribeInstances:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Reservations"},DescribeInternetGateways:{result_key:"InternetGateways"},DescribeKeyPairs:{result_key:"KeyPairs"},DescribeNetworkAcls:{result_key:"NetworkAcls"},DescribeNetworkInterfaces:{result_key:"NetworkInterfaces"},DescribePlacementGroups:{result_key:"PlacementGroups"},DescribeRegions:{result_key:"Regions"},DescribeReservedInstances:{result_key:"ReservedInstances"},DescribeReservedInstancesListings:{result_key:"ReservedInstancesListings"},DescribeReservedInstancesOfferings:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ReservedInstancesOfferings"},DescribeReservedInstancesModifications:{input_token:"NextToken",output_token:"NextToken",result_key:"ReservedInstancesModifications"},DescribeRouteTables:{result_key:"RouteTables"},DescribeSecurityGroups:{result_key:"SecurityGroups"},DescribeSnapshots:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Snapshots"},DescribeSpotInstanceRequests:{result_key:"SpotInstanceRequests"},DescribeSpotFleetRequests:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"SpotFleetRequestConfigs"},DescribeSpotPriceHistory:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"SpotPriceHistory"},DescribeSubnets:{result_key:"Subnets"},DescribeTags:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Tags"},DescribeVolumeStatus:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"VolumeStatuses"},DescribeVolumes:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Volumes"},DescribeVpcs:{result_key:"Vpcs"},DescribeVpcPeeringConnections:{result_key:"VpcPeeringConnections"},DescribeVpnConnections:{result_key:"VpnConnections"},DescribeVpnGateways:{result_key:"VpnGateways"}},waiters:{InstanceExists:{delay:5,maxAttempts:40,operation:"DescribeInstances",acceptors:[{matcher:"path",expected:!0,argument:"length(Reservations[]) > `0`",state:"success"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},BundleTaskComplete:{delay:15,operation:"DescribeBundleTasks",maxAttempts:40,acceptors:[{expected:"complete",matcher:"pathAll",state:"success",argument:"BundleTasks[].State"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"BundleTasks[].State"}]},ConversionTaskCancelled:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},ConversionTaskCompleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"},{expected:"cancelled",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"},{expected:"cancelling",matcher:"pathAny",state:"failure",argument:"ConversionTasks[].State"}]},ConversionTaskDeleted:{delay:15,operation:"DescribeConversionTasks",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"ConversionTasks[].State"}]},CustomerGatewayAvailable:{delay:15,operation:"DescribeCustomerGateways",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"CustomerGateways[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"CustomerGateways[].State"}]},ExportTaskCancelled:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"cancelled",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ExportTaskCompleted:{delay:15,operation:"DescribeExportTasks",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"ExportTasks[].State"}]},ImageExists:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{matcher:"path",expected:!0,argument:"length(Images[]) > `0`",state:"success"},{matcher:"error",expected:"InvalidAMIID.NotFound",state:"retry"}]},ImageAvailable:{operation:"DescribeImages",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"Images[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"Images[].State",expected:"failed"}]},InstanceRunning:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"running",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"shutting-down",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].InstanceStatus.Status",expected:"ok"},{matcher:"error",expected:"InvalidInstanceID.NotFound",state:"retry"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Reservations[].Instances[].State.Name"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Reservations[].Instances[].State.Name"}]},KeyPairExists:{operation:"DescribeKeyPairs",delay:5,maxAttempts:6,acceptors:[{expected:!0,matcher:"pathAll",state:"success",argument:"length(KeyPairs[].KeyName) > `0`"},{expected:"InvalidKeyPair.NotFound",matcher:"error",state:"retry"}]},NatGatewayAvailable:{operation:"DescribeNatGateways",delay:15,maxAttempts:40,acceptors:[{state:"success",matcher:"pathAll",argument:"NatGateways[].State",expected:"available"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"failed"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleting"},{state:"failure",matcher:"pathAny",argument:"NatGateways[].State",expected:"deleted"},{state:"retry",matcher:"error",expected:"NatGatewayNotFound"}]},NetworkInterfaceAvailable:{operation:"DescribeNetworkInterfaces",delay:20,maxAttempts:10,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"NetworkInterfaces[].Status"},{expected:"InvalidNetworkInterfaceID.NotFound",matcher:"error",state:"failure"}]},PasswordDataAvailable:{operation:"GetPasswordData",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"path",argument:"length(PasswordData) > `0`",expected:!0}]},SnapshotCompleted:{delay:15,operation:"DescribeSnapshots",maxAttempts:40,acceptors:[{expected:"completed",matcher:"pathAll",state:"success",argument:"Snapshots[].State"}]},SpotInstanceRequestFulfilled:{operation:"DescribeSpotInstanceRequests",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"SpotInstanceRequests[].Status.Code",expected:"fulfilled"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"schedule-expired"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"canceled-before-fulfillment"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"bad-parameters"},{state:"failure",matcher:"pathAny",argument:"SpotInstanceRequests[].Status.Code",expected:"system-error"}]},SubnetAvailable:{delay:15,operation:"DescribeSubnets",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Subnets[].State"}]},SystemStatusOk:{operation:"DescribeInstanceStatus",maxAttempts:40,delay:15,acceptors:[{state:"success",matcher:"pathAll",argument:"InstanceStatuses[].SystemStatus.Status",expected:"ok"}]},VolumeAvailable:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VolumeDeleted:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{matcher:"error",expected:"InvalidVolume.NotFound",state:"success"}]},VolumeInUse:{delay:15,operation:"DescribeVolumes",maxAttempts:40,acceptors:[{expected:"in-use",matcher:"pathAll",state:"success",argument:"Volumes[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"Volumes[].State"}]},VpcAvailable:{delay:15,operation:"DescribeVpcs",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"Vpcs[].State"}]},VpcExists:{operation:"DescribeVpcs",delay:1,maxAttempts:5,acceptors:[{matcher:"status",expected:200,state:"success"},{matcher:"error",expected:"InvalidVpcID.NotFound",state:"retry"}]},VpnConnectionAvailable:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpnConnectionDeleted:{delay:15,operation:"DescribeVpnConnections",maxAttempts:40,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"VpnConnections[].State"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"VpnConnections[].State"}]},VpcPeeringConnectionExists:{delay:15,operation:"DescribeVpcPeeringConnections",maxAttempts:40,acceptors:[{matcher:"status",expected:200,
state:"success"},{matcher:"error",expected:"InvalidVpcPeeringConnectionID.NotFound",state:"retry"}]}}},i.apiLoader.services.ecr={},i.ECR=i.Service.defineService("ecr",["2015-09-21"]),i.apiLoader.services.ecr["2015-09-21"]={version:"2.0",metadata:{apiVersion:"2015-09-21",endpointPrefix:"ecr",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECR",serviceFullName:"Amazon EC2 Container Registry",signatureVersion:"v4",targetPrefix:"AmazonEC2ContainerRegistry_V20150921"},operations:{BatchCheckLayerAvailability:{input:{type:"structure",required:["repositoryName","layerDigests"],members:{registryId:{},repositoryName:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{layers:{type:"list",member:{type:"structure",members:{layerDigest:{},layerAvailability:{},layerSize:{type:"long"}}}},failures:{type:"list",member:{type:"structure",members:{layerDigest:{},failureCode:{},failureReason:{}}}}}},http:{}},BatchDeleteImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Sh"}}},output:{type:"structure",members:{imageIds:{shape:"Sh"},failures:{shape:"Sm"}}},http:{}},BatchGetImage:{input:{type:"structure",required:["repositoryName","imageIds"],members:{registryId:{},repositoryName:{},imageIds:{shape:"Sh"}}},output:{type:"structure",members:{images:{type:"list",member:{shape:"St"}},failures:{shape:"Sm"}}},http:{}},CompleteLayerUpload:{input:{type:"structure",required:["repositoryName","uploadId","layerDigests"],members:{registryId:{},repositoryName:{},uploadId:{},layerDigests:{type:"list",member:{}}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},layerDigest:{}}},http:{}},CreateRepository:{input:{type:"structure",required:["repositoryName"],members:{repositoryName:{}}},output:{type:"structure",members:{repository:{shape:"S11"}}},http:{}},DeleteRepository:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},force:{type:"boolean"}}},output:{type:"structure",members:{repository:{shape:"S11"}}},http:{}},DeleteRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}},http:{}},DescribeRepositories:{input:{type:"structure",members:{registryId:{},repositoryNames:{type:"list",member:{}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{repositories:{type:"list",member:{shape:"S11"}},nextToken:{}}},http:{}},GetAuthorizationToken:{input:{type:"structure",members:{registryIds:{type:"list",member:{}}}},output:{type:"structure",members:{authorizationData:{type:"list",member:{type:"structure",members:{authorizationToken:{},expiresAt:{type:"timestamp"},proxyEndpoint:{}}}}}},http:{}},GetDownloadUrlForLayer:{input:{type:"structure",required:["repositoryName","layerDigest"],members:{registryId:{},repositoryName:{},layerDigest:{}}},output:{type:"structure",members:{downloadUrl:{},layerDigest:{}}},http:{}},GetRepositoryPolicy:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}},http:{}},InitiateLayerUpload:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{}}},output:{type:"structure",members:{uploadId:{},partSize:{type:"long"}}},http:{}},ListImages:{input:{type:"structure",required:["repositoryName"],members:{registryId:{},repositoryName:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{imageIds:{shape:"Sh"},nextToken:{}}},http:{}},PutImage:{input:{type:"structure",required:["repositoryName","imageManifest"],members:{registryId:{},repositoryName:{},imageManifest:{}}},output:{type:"structure",members:{image:{shape:"St"}}},http:{}},SetRepositoryPolicy:{input:{type:"structure",required:["repositoryName","policyText"],members:{registryId:{},repositoryName:{},policyText:{},force:{type:"boolean"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},policyText:{}}},http:{}},UploadLayerPart:{input:{type:"structure",required:["repositoryName","uploadId","partFirstByte","partLastByte","layerPartBlob"],members:{registryId:{},repositoryName:{},uploadId:{},partFirstByte:{type:"long"},partLastByte:{type:"long"},layerPartBlob:{type:"blob"}}},output:{type:"structure",members:{registryId:{},repositoryName:{},uploadId:{},lastByteReceived:{type:"long"}}},http:{}}},shapes:{Sh:{type:"list",member:{shape:"Si"}},Si:{type:"structure",members:{imageDigest:{},imageTag:{}}},Sm:{type:"list",member:{type:"structure",members:{imageId:{shape:"Si"},failureCode:{},failureReason:{}}}},St:{type:"structure",members:{registryId:{},repositoryName:{},imageId:{shape:"Si"},imageManifest:{}}},S11:{type:"structure",members:{repositoryArn:{},registryId:{},repositoryName:{},repositoryUri:{}}}}},i.apiLoader.services.ecs={},i.ECS=i.Service.defineService("ecs",["2014-11-13"]),i.apiLoader.services.ecs["2014-11-13"]={version:"2.0",metadata:{apiVersion:"2014-11-13",endpointPrefix:"ecs",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon ECS",serviceFullName:"Amazon EC2 Container Service",signatureVersion:"v4",targetPrefix:"AmazonEC2ContainerServiceV20141113"},operations:{CreateCluster:{input:{type:"structure",members:{clusterName:{}}},output:{type:"structure",members:{cluster:{shape:"S4"}}},http:{}},CreateService:{input:{type:"structure",required:["serviceName","taskDefinition","desiredCount"],members:{cluster:{},serviceName:{},taskDefinition:{},loadBalancers:{shape:"S7"},desiredCount:{type:"integer"},clientToken:{},role:{},deploymentConfiguration:{shape:"Sa"}}},output:{type:"structure",members:{service:{shape:"Sc"}}},http:{}},DeleteCluster:{input:{type:"structure",required:["cluster"],members:{cluster:{}}},output:{type:"structure",members:{cluster:{shape:"S4"}}},http:{}},DeleteService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{}}},output:{type:"structure",members:{service:{shape:"Sc"}}},http:{}},DeregisterContainerInstance:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{},force:{type:"boolean"}}},output:{type:"structure",members:{containerInstance:{shape:"Sp"}}},http:{}},DeregisterTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{}}},output:{type:"structure",members:{taskDefinition:{shape:"S12"}}},http:{}},DescribeClusters:{input:{type:"structure",members:{clusters:{shape:"Sv"}}},output:{type:"structure",members:{clusters:{type:"list",member:{shape:"S4"}},failures:{shape:"S1v"}}},http:{}},DescribeContainerInstances:{input:{type:"structure",required:["containerInstances"],members:{cluster:{},containerInstances:{shape:"Sv"}}},output:{type:"structure",members:{containerInstances:{type:"list",member:{shape:"Sp"}},failures:{shape:"S1v"}}},http:{}},DescribeServices:{input:{type:"structure",required:["services"],members:{cluster:{},services:{shape:"Sv"}}},output:{type:"structure",members:{services:{type:"list",member:{shape:"Sc"}},failures:{shape:"S1v"}}},http:{}},DescribeTaskDefinition:{input:{type:"structure",required:["taskDefinition"],members:{taskDefinition:{}}},output:{type:"structure",members:{taskDefinition:{shape:"S12"}}},http:{}},DescribeTasks:{input:{type:"structure",required:["tasks"],members:{cluster:{},tasks:{shape:"Sv"}}},output:{type:"structure",members:{tasks:{shape:"S27"},failures:{shape:"S1v"}}},http:{}},DiscoverPollEndpoint:{input:{type:"structure",members:{containerInstance:{},cluster:{}}},output:{type:"structure",members:{endpoint:{},telemetryEndpoint:{}}},http:{}},ListClusters:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{clusterArns:{shape:"Sv"},nextToken:{}}},http:{}},ListContainerInstances:{input:{type:"structure",members:{cluster:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{containerInstanceArns:{shape:"Sv"},nextToken:{}}},http:{}},ListServices:{input:{type:"structure",members:{cluster:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{serviceArns:{shape:"Sv"},nextToken:{}}},http:{}},ListTaskDefinitionFamilies:{input:{type:"structure",members:{familyPrefix:{},status:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{families:{shape:"Sv"},nextToken:{}}},http:{}},ListTaskDefinitions:{input:{type:"structure",members:{familyPrefix:{},status:{},sort:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",members:{taskDefinitionArns:{shape:"Sv"},nextToken:{}}},http:{}},ListTasks:{input:{type:"structure",members:{cluster:{},containerInstance:{},family:{},nextToken:{},maxResults:{type:"integer"},startedBy:{},serviceName:{},desiredStatus:{}}},output:{type:"structure",members:{taskArns:{shape:"Sv"},nextToken:{}}},http:{}},RegisterContainerInstance:{input:{type:"structure",members:{cluster:{},instanceIdentityDocument:{},instanceIdentityDocumentSignature:{},totalResources:{shape:"Sr"},versionInfo:{shape:"Sq"},containerInstanceArn:{},attributes:{shape:"Sy"}}},output:{type:"structure",members:{containerInstance:{shape:"Sp"}}},http:{}},RegisterTaskDefinition:{input:{type:"structure",required:["family","containerDefinitions"],members:{family:{},containerDefinitions:{shape:"S13"},volumes:{shape:"S1n"}}},output:{type:"structure",members:{taskDefinition:{shape:"S12"}}},http:{}},RunTask:{input:{type:"structure",required:["taskDefinition"],members:{cluster:{},taskDefinition:{},overrides:{shape:"S29"},count:{type:"integer"},startedBy:{}}},output:{type:"structure",members:{tasks:{shape:"S27"},failures:{shape:"S1v"}}},http:{}},StartTask:{input:{type:"structure",required:["taskDefinition","containerInstances"],members:{cluster:{},taskDefinition:{},overrides:{shape:"S29"},containerInstances:{shape:"Sv"},startedBy:{}}},output:{type:"structure",members:{tasks:{shape:"S27"},failures:{shape:"S1v"}}},http:{}},StopTask:{input:{type:"structure",required:["task"],members:{cluster:{},task:{},reason:{}}},output:{type:"structure",members:{task:{shape:"S28"}}},http:{}},SubmitContainerStateChange:{input:{type:"structure",members:{cluster:{},task:{},containerName:{},status:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S2e"}}},output:{type:"structure",members:{acknowledgment:{}}},http:{}},SubmitTaskStateChange:{input:{type:"structure",members:{cluster:{},task:{},status:{},reason:{}}},output:{type:"structure",members:{acknowledgment:{}}},http:{}},UpdateContainerAgent:{input:{type:"structure",required:["containerInstance"],members:{cluster:{},containerInstance:{}}},output:{type:"structure",members:{containerInstance:{shape:"Sp"}}},http:{}},UpdateService:{input:{type:"structure",required:["service"],members:{cluster:{},service:{},desiredCount:{type:"integer"},taskDefinition:{},deploymentConfiguration:{shape:"Sa"}}},output:{type:"structure",members:{service:{shape:"Sc"}}},http:{}}},shapes:{S4:{type:"structure",members:{clusterArn:{},clusterName:{},status:{},registeredContainerInstancesCount:{type:"integer"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},activeServicesCount:{type:"integer"}}},S7:{type:"list",member:{type:"structure",members:{loadBalancerName:{},containerName:{},containerPort:{type:"integer"}}}},Sa:{type:"structure",members:{maximumPercent:{type:"integer"},minimumHealthyPercent:{type:"integer"}}},Sc:{type:"structure",members:{serviceArn:{},serviceName:{},clusterArn:{},loadBalancers:{shape:"S7"},status:{},desiredCount:{type:"integer"},runningCount:{type:"integer"},pendingCount:{type:"integer"},taskDefinition:{},deploymentConfiguration:{shape:"Sa"},deployments:{type:"list",member:{type:"structure",members:{id:{},status:{},taskDefinition:{},desiredCount:{type:"integer"},pendingCount:{type:"integer"},runningCount:{type:"integer"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},roleArn:{},events:{type:"list",member:{type:"structure",members:{id:{},createdAt:{type:"timestamp"},message:{}}}},createdAt:{type:"timestamp"}}},Sp:{type:"structure",members:{containerInstanceArn:{},ec2InstanceId:{},versionInfo:{shape:"Sq"},remainingResources:{shape:"Sr"},registeredResources:{shape:"Sr"},status:{},agentConnected:{type:"boolean"},runningTasksCount:{type:"integer"},pendingTasksCount:{type:"integer"},agentUpdateStatus:{},attributes:{shape:"Sy"}}},Sq:{type:"structure",members:{agentVersion:{},agentHash:{},dockerVersion:{}}},Sr:{type:"list",member:{type:"structure",members:{name:{},type:{},doubleValue:{type:"double"},longValue:{type:"long"},integerValue:{type:"integer"},stringSetValue:{shape:"Sv"}}}},Sv:{type:"list",member:{}},Sy:{type:"list",member:{shape:"Sz"}},Sz:{type:"structure",required:["name"],members:{name:{},value:{}}},S12:{type:"structure",members:{taskDefinitionArn:{},containerDefinitions:{shape:"S13"},family:{},revision:{type:"integer"},volumes:{shape:"S1n"},status:{},requiresAttributes:{type:"list",member:{shape:"Sz"}}}},S13:{type:"list",member:{type:"structure",members:{name:{},image:{},cpu:{type:"integer"},memory:{type:"integer"},links:{shape:"Sv"},portMappings:{type:"list",member:{type:"structure",members:{containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}},essential:{type:"boolean"},entryPoint:{shape:"Sv"},command:{shape:"Sv"},environment:{shape:"S18"},mountPoints:{type:"list",member:{type:"structure",members:{sourceVolume:{},containerPath:{},readOnly:{type:"boolean"}}}},volumesFrom:{type:"list",member:{type:"structure",members:{sourceContainer:{},readOnly:{type:"boolean"}}}},hostname:{},user:{},workingDirectory:{},disableNetworking:{type:"boolean"},privileged:{type:"boolean"},readonlyRootFilesystem:{type:"boolean"},dnsServers:{shape:"Sv"},dnsSearchDomains:{shape:"Sv"},extraHosts:{type:"list",member:{type:"structure",required:["hostname","ipAddress"],members:{hostname:{},ipAddress:{}}}},dockerSecurityOptions:{shape:"Sv"},dockerLabels:{type:"map",key:{},value:{}},ulimits:{type:"list",member:{type:"structure",required:["name","softLimit","hardLimit"],members:{name:{},softLimit:{type:"integer"},hardLimit:{type:"integer"}}}},logConfiguration:{type:"structure",required:["logDriver"],members:{logDriver:{},options:{type:"map",key:{},value:{}}}}}}},S18:{type:"list",member:{type:"structure",members:{name:{},value:{}}}},S1n:{type:"list",member:{type:"structure",members:{name:{},host:{type:"structure",members:{sourcePath:{}}}}}},S1v:{type:"list",member:{type:"structure",members:{arn:{},reason:{}}}},S27:{type:"list",member:{shape:"S28"}},S28:{type:"structure",members:{taskArn:{},clusterArn:{},taskDefinitionArn:{},containerInstanceArn:{},overrides:{shape:"S29"},lastStatus:{},desiredStatus:{},containers:{type:"list",member:{type:"structure",members:{containerArn:{},taskArn:{},name:{},lastStatus:{},exitCode:{type:"integer"},reason:{},networkBindings:{shape:"S2e"}}}},startedBy:{},stoppedReason:{},createdAt:{type:"timestamp"},startedAt:{type:"timestamp"},stoppedAt:{type:"timestamp"}}},S29:{type:"structure",members:{containerOverrides:{type:"list",member:{type:"structure",members:{name:{},command:{shape:"Sv"},environment:{shape:"S18"}}}}}},S2e:{type:"list",member:{type:"structure",members:{bindIP:{},containerPort:{type:"integer"},hostPort:{type:"integer"},protocol:{}}}}},paginators:{ListClusters:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"clusterArns"},ListContainerInstances:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"containerInstanceArns"},ListTaskDefinitions:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"taskDefinitionArns"},ListTaskDefinitionFamilies:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"families"},ListTasks:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"taskArns"},ListServices:{input_token:"nextToken",output_token:"nextToken",limit_key:"maxResults",result_key:"serviceArns"}},waiters:{TasksRunning:{delay:6,operation:"DescribeTasks",maxAttempts:100,acceptors:[{expected:"STOPPED",matcher:"pathAny",state:"failure",argument:"tasks[].lastStatus"},{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"RUNNING",matcher:"pathAll",state:"success",argument:"tasks[].lastStatus"}]},TasksStopped:{delay:6,operation:"DescribeTasks",maxAttempts:100,acceptors:[{expected:"STOPPED",matcher:"pathAll",state:"success",argument:"tasks[].lastStatus"}]},ServicesStable:{delay:15,operation:"DescribeServices",maxAttempts:40,acceptors:[{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"DRAINING",matcher:"pathAny",state:"failure",argument:"services[].status"},{expected:"INACTIVE",matcher:"pathAny",state:"failure",argument:"services[].status"},{expected:!0,matcher:"path",state:"success",argument:"services | [@[?length(deployments)!=`1`], @[?desiredCount!=runningCount]][] | length(@) == `0`"}]},ServicesInactive:{delay:15,operation:"DescribeServices",maxAttempts:40,acceptors:[{expected:"MISSING",matcher:"pathAny",state:"failure",argument:"failures[].reason"},{expected:"INACTIVE",matcher:"pathAny",state:"success",argument:"services[].status"}]}}},i.apiLoader.services.elastictranscoder={},i.ElasticTranscoder=i.Service.defineService("elastictranscoder",["2012-09-25"]),i.apiLoader.services.elastictranscoder["2012-09-25"]={version:"2.0",metadata:{apiVersion:"2012-09-25",endpointPrefix:"elastictranscoder",serviceFullName:"Amazon Elastic Transcoder",signatureVersion:"v4",protocol:"rest-json"},operations:{CancelJob:{http:{method:"DELETE",requestUri:"/2012-09-25/jobs/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},CreateJob:{http:{requestUri:"/2012-09-25/jobs",responseCode:201},input:{type:"structure",required:["PipelineId","Input"],members:{PipelineId:{},Input:{shape:"S5"},Output:{shape:"Sk"},Outputs:{type:"list",member:{shape:"Sk"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1i"},HlsContentProtection:{shape:"S1j"},PlayReadyDrm:{shape:"S1n"}}}},UserMetadata:{shape:"S1s"}}},output:{type:"structure",members:{Job:{shape:"S1v"}}}},CreatePipeline:{http:{requestUri:"/2012-09-25/pipelines",responseCode:201},input:{type:"structure",required:["Name","InputBucket","Role"],members:{Name:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S27"},ContentConfig:{shape:"S29"},ThumbnailConfig:{shape:"S29"}}},output:{type:"structure",members:{Pipeline:{shape:"S2i"},Warnings:{shape:"S2k"}}}},CreatePreset:{http:{requestUri:"/2012-09-25/presets",responseCode:201},input:{type:"structure",required:["Name","Container"],members:{Name:{},Description:{},Container:{},Video:{shape:"S2o"},Audio:{shape:"S34"},Thumbnails:{shape:"S3f"}}},output:{type:"structure",members:{Preset:{shape:"S3j"},Warning:{}}}},DeletePipeline:{http:{method:"DELETE",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeletePreset:{http:{method:"DELETE",requestUri:"/2012-09-25/presets/{Id}",responseCode:202},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},ListJobsByPipeline:{http:{method:"GET",requestUri:"/2012-09-25/jobsByPipeline/{PipelineId}"},input:{type:"structure",required:["PipelineId"],members:{PipelineId:{location:"uri",locationName:"PipelineId"},Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Jobs:{shape:"S3s"},NextPageToken:{}}}},ListJobsByStatus:{http:{method:"GET",requestUri:"/2012-09-25/jobsByStatus/{Status}"},input:{type:"structure",required:["Status"],members:{Status:{location:"uri",locationName:"Status"},Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Jobs:{shape:"S3s"},NextPageToken:{}}}},ListPipelines:{http:{method:"GET",requestUri:"/2012-09-25/pipelines"},input:{type:"structure",members:{Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Pipelines:{type:"list",member:{shape:"S2i"}},NextPageToken:{}}}},ListPresets:{http:{method:"GET",requestUri:"/2012-09-25/presets"},input:{type:"structure",members:{Ascending:{location:"querystring",locationName:"Ascending"},PageToken:{location:"querystring",locationName:"PageToken"}}},output:{type:"structure",members:{Presets:{type:"list",member:{shape:"S3j"}},NextPageToken:{}}}},ReadJob:{http:{method:"GET",requestUri:"/2012-09-25/jobs/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Job:{shape:"S1v"}}}},ReadPipeline:{http:{method:"GET",requestUri:"/2012-09-25/pipelines/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Pipeline:{shape:"S2i"},Warnings:{shape:"S2k"}}}},ReadPreset:{http:{method:"GET",requestUri:"/2012-09-25/presets/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{Preset:{shape:"S3j"}}}},TestRole:{http:{requestUri:"/2012-09-25/roleTests",responseCode:200},input:{type:"structure",required:["Role","InputBucket","OutputBucket","Topics"],members:{Role:{},InputBucket:{},OutputBucket:{},Topics:{type:"list",member:{}}}},output:{type:"structure",members:{Success:{},Messages:{type:"list",member:{}}}}},UpdatePipeline:{http:{method:"PUT",requestUri:"/2012-09-25/pipelines/{Id}",responseCode:200},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Name:{},InputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S27"},ContentConfig:{shape:"S29"},ThumbnailConfig:{shape:"S29"}}},output:{type:"structure",members:{Pipeline:{shape:"S2i"},Warnings:{shape:"S2k"}}}},UpdatePipelineNotifications:{http:{requestUri:"/2012-09-25/pipelines/{Id}/notifications"},input:{type:"structure",required:["Id","Notifications"],members:{Id:{location:"uri",locationName:"Id"},Notifications:{shape:"S27"}}},output:{type:"structure",members:{Pipeline:{shape:"S2i"}}}},UpdatePipelineStatus:{http:{requestUri:"/2012-09-25/pipelines/{Id}/status"},input:{type:"structure",required:["Id","Status"],members:{Id:{location:"uri",locationName:"Id"},Status:{}}},output:{type:"structure",members:{Pipeline:{shape:"S2i"}}}}},shapes:{S5:{type:"structure",members:{Key:{},FrameRate:{},Resolution:{},AspectRatio:{},Interlaced:{},Container:{},Encryption:{shape:"Sc"},DetectedProperties:{type:"structure",members:{Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"}}}}},Sc:{type:"structure",members:{Mode:{},Key:{},KeyMd5:{},InitializationVector:{}}},Sk:{type:"structure",members:{Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Watermarks:{shape:"Sn"},AlbumArt:{shape:"Sr"},Composition:{shape:"Sz"},Captions:{shape:"S13"},Encryption:{shape:"Sc"}}},Sn:{type:"list",member:{type:"structure",members:{PresetWatermarkId:{},InputKey:{},Encryption:{shape:"Sc"}}}},Sr:{type:"structure",members:{MergePolicy:{},Artwork:{type:"list",member:{type:"structure",members:{InputKey:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{},AlbumArtFormat:{},Encryption:{shape:"Sc"}}}}}},Sz:{type:"list",member:{type:"structure",members:{TimeSpan:{type:"structure",members:{StartTime:{},Duration:{}}}}}},S13:{type:"structure",members:{MergePolicy:{},CaptionSources:{type:"list",member:{type:"structure",members:{Key:{},Language:{},TimeOffset:{},Label:{},Encryption:{shape:"Sc"}}}},CaptionFormats:{type:"list",member:{type:"structure",members:{Format:{},Pattern:{},Encryption:{shape:"Sc"}}}}}},S1i:{type:"list",member:{}},S1j:{type:"structure",members:{Method:{},Key:{},KeyMd5:{},InitializationVector:{},LicenseAcquisitionUrl:{},KeyStoragePolicy:{}}},S1n:{type:"structure",members:{Format:{},Key:{},KeyMd5:{},KeyId:{},InitializationVector:{},LicenseAcquisitionUrl:{}}},S1s:{type:"map",key:{},value:{}},S1v:{type:"structure",members:{Id:{},Arn:{},PipelineId:{},Input:{shape:"S5"},Output:{shape:"S1w"},Outputs:{type:"list",member:{shape:"S1w"}},OutputKeyPrefix:{},Playlists:{type:"list",member:{type:"structure",members:{Name:{},Format:{},OutputKeys:{shape:"S1i"},HlsContentProtection:{shape:"S1j"},PlayReadyDrm:{shape:"S1n"},Status:{},StatusDetail:{}}}},Status:{},UserMetadata:{shape:"S1s"},Timing:{type:"structure",members:{SubmitTimeMillis:{type:"long"},StartTimeMillis:{type:"long"},FinishTimeMillis:{type:"long"}}}}},S1w:{type:"structure",members:{Id:{},Key:{},ThumbnailPattern:{},ThumbnailEncryption:{shape:"Sc"},Rotate:{},PresetId:{},SegmentDuration:{},Status:{},StatusDetail:{},Duration:{type:"long"},Width:{type:"integer"},Height:{type:"integer"},FrameRate:{},FileSize:{type:"long"},DurationMillis:{type:"long"},Watermarks:{shape:"Sn"},AlbumArt:{shape:"Sr"},Composition:{shape:"Sz"},Captions:{shape:"S13"},Encryption:{shape:"Sc"},AppliedColorSpaceConversion:{}}},S27:{type:"structure",members:{Progressing:{},Completed:{},Warning:{},Error:{}}},S29:{type:"structure",members:{Bucket:{},StorageClass:{},Permissions:{type:"list",member:{type:"structure",members:{GranteeType:{},Grantee:{},Access:{type:"list",member:{}}}}}}},S2i:{type:"structure",members:{Id:{},Arn:{},Name:{},Status:{},InputBucket:{},OutputBucket:{},Role:{},AwsKmsKeyArn:{},Notifications:{shape:"S27"},ContentConfig:{shape:"S29"},ThumbnailConfig:{shape:"S29"}}},S2k:{type:"list",member:{type:"structure",members:{Code:{},Message:{}}}},S2o:{type:"structure",members:{Codec:{},CodecOptions:{type:"map",key:{},value:{}},KeyframesMaxDist:{},FixedGOP:{},BitRate:{},FrameRate:{},MaxFrameRate:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},DisplayAspectRatio:{},SizingPolicy:{},PaddingPolicy:{},Watermarks:{type:"list",member:{type:"structure",members:{Id:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},HorizontalAlign:{},HorizontalOffset:{},VerticalAlign:{},VerticalOffset:{},Opacity:{},Target:{}}}}}},S34:{type:"structure",members:{Codec:{},SampleRate:{},BitRate:{},Channels:{},AudioPackingMode:{},CodecOptions:{type:"structure",members:{Profile:{},BitDepth:{},BitOrder:{},Signed:{}}}}},S3f:{type:"structure",members:{Format:{},Interval:{},Resolution:{},AspectRatio:{},MaxWidth:{},MaxHeight:{},SizingPolicy:{},PaddingPolicy:{}}},S3j:{type:"structure",members:{Id:{},Arn:{},Name:{},Description:{},Container:{},Audio:{shape:"S34"},Video:{shape:"S2o"},Thumbnails:{shape:"S3f"},Type:{}}},S3s:{type:"list",member:{shape:"S1v"}}},paginators:{ListJobsByPipeline:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Jobs"},ListJobsByStatus:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Jobs"},ListPipelines:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Pipelines"},ListPresets:{input_token:"PageToken",output_token:"NextPageToken",result_key:"Presets"}},waiters:{JobComplete:{delay:30,operation:"ReadJob",maxAttempts:120,acceptors:[{expected:"Complete",matcher:"path",state:"success",argument:"Job.Status"},{expected:"Canceled",matcher:"path",state:"failure",argument:"Job.Status"},{expected:"Error",matcher:"path",state:"failure",argument:"Job.Status"}]}}},i.apiLoader.services.elb={},i.ELB=i.Service.defineService("elb",["2012-06-01"]),i.apiLoader.services.elb["2012-06-01"]={version:"2.0",metadata:{apiVersion:"2012-06-01",endpointPrefix:"elasticloadbalancing",serviceFullName:"Elastic Load Balancing",signatureVersion:"v4",xmlNamespace:"http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/",protocol:"query"},operations:{AddTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{shape:"S4"}}},output:{resultWrapper:"AddTagsResult",type:"structure",members:{}},http:{}},ApplySecurityGroupsToLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","SecurityGroups"],members:{LoadBalancerName:{},SecurityGroups:{shape:"Sa"}}},output:{resultWrapper:"ApplySecurityGroupsToLoadBalancerResult",type:"structure",members:{SecurityGroups:{shape:"Sa"}}},http:{}},AttachLoadBalancerToSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"AttachLoadBalancerToSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}},http:{}},ConfigureHealthCheck:{input:{type:"structure",required:["LoadBalancerName","HealthCheck"],members:{LoadBalancerName:{},HealthCheck:{shape:"Si"}}},output:{resultWrapper:"ConfigureHealthCheckResult",type:"structure",members:{HealthCheck:{shape:"Si"}}},http:{}},CreateAppCookieStickinessPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName","CookieName"],members:{LoadBalancerName:{},PolicyName:{},CookieName:{}}},output:{resultWrapper:"CreateAppCookieStickinessPolicyResult",type:"structure",members:{}},http:{}},CreateLBCookieStickinessPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName"],members:{LoadBalancerName:{},PolicyName:{},CookieExpirationPeriod:{type:"long"}}},output:{resultWrapper:"CreateLBCookieStickinessPolicyResult",type:"structure",members:{}},http:{}},CreateLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Listeners"],members:{LoadBalancerName:{},Listeners:{shape:"Sx"},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},SecurityGroups:{shape:"Sa"},Scheme:{},Tags:{shape:"S4"}}},output:{resultWrapper:"CreateLoadBalancerResult",type:"structure",members:{DNSName:{}}},http:{}},CreateLoadBalancerListeners:{input:{type:"structure",required:["LoadBalancerName","Listeners"],members:{LoadBalancerName:{},Listeners:{shape:"Sx"}}},output:{resultWrapper:"CreateLoadBalancerListenersResult",type:"structure",members:{}},http:{}},CreateLoadBalancerPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName","PolicyTypeName"],members:{LoadBalancerName:{},PolicyName:{},PolicyTypeName:{},PolicyAttributes:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeValue:{}}}}}},output:{resultWrapper:"CreateLoadBalancerPolicyResult",type:"structure",members:{}},http:{}},DeleteLoadBalancer:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{}}},output:{resultWrapper:"DeleteLoadBalancerResult",type:"structure",members:{}},http:{}},DeleteLoadBalancerListeners:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPorts"],members:{LoadBalancerName:{},LoadBalancerPorts:{type:"list",member:{type:"integer"}}}},output:{resultWrapper:"DeleteLoadBalancerListenersResult",type:"structure",members:{}},http:{}},DeleteLoadBalancerPolicy:{input:{type:"structure",required:["LoadBalancerName","PolicyName"],members:{LoadBalancerName:{},PolicyName:{}}},output:{resultWrapper:"DeleteLoadBalancerPolicyResult",type:"structure",members:{}},http:{}},DeregisterInstancesFromLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DeregisterInstancesFromLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}},http:{}},DescribeInstanceHealth:{input:{type:"structure",required:["LoadBalancerName"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"DescribeInstanceHealthResult",type:"structure",members:{InstanceStates:{type:"list",member:{type:"structure",members:{InstanceId:{},State:{},ReasonCode:{},Description:{}}}}}},http:{}},DescribeLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName"],
members:{LoadBalancerName:{}}},output:{resultWrapper:"DescribeLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerAttributes:{shape:"S22"}}},http:{}},DescribeLoadBalancerPolicies:{input:{type:"structure",members:{LoadBalancerName:{},PolicyNames:{shape:"S2j"}}},output:{resultWrapper:"DescribeLoadBalancerPoliciesResult",type:"structure",members:{PolicyDescriptions:{type:"list",member:{type:"structure",members:{PolicyName:{},PolicyTypeName:{},PolicyAttributeDescriptions:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeValue:{}}}}}}}}},http:{}},DescribeLoadBalancerPolicyTypes:{input:{type:"structure",members:{PolicyTypeNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeLoadBalancerPolicyTypesResult",type:"structure",members:{PolicyTypeDescriptions:{type:"list",member:{type:"structure",members:{PolicyTypeName:{},Description:{},PolicyAttributeTypeDescriptions:{type:"list",member:{type:"structure",members:{AttributeName:{},AttributeType:{},Description:{},DefaultValue:{},Cardinality:{}}}}}}}}},http:{}},DescribeLoadBalancers:{input:{type:"structure",members:{LoadBalancerNames:{shape:"S2"},Marker:{},PageSize:{type:"integer"}}},output:{resultWrapper:"DescribeLoadBalancersResult",type:"structure",members:{LoadBalancerDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},DNSName:{},CanonicalHostedZoneName:{},CanonicalHostedZoneNameID:{},ListenerDescriptions:{type:"list",member:{type:"structure",members:{Listener:{shape:"Sy"},PolicyNames:{shape:"S2j"}}}},Policies:{type:"structure",members:{AppCookieStickinessPolicies:{type:"list",member:{type:"structure",members:{PolicyName:{},CookieName:{}}}},LBCookieStickinessPolicies:{type:"list",member:{type:"structure",members:{PolicyName:{},CookieExpirationPeriod:{type:"long"}}}},OtherPolicies:{shape:"S2j"}}},BackendServerDescriptions:{type:"list",member:{type:"structure",members:{InstancePort:{type:"integer"},PolicyNames:{shape:"S2j"}}}},AvailabilityZones:{shape:"S13"},Subnets:{shape:"Se"},VPCId:{},Instances:{shape:"S1p"},HealthCheck:{shape:"Si"},SourceSecurityGroup:{type:"structure",members:{OwnerAlias:{},GroupName:{}}},SecurityGroups:{shape:"Sa"},CreatedTime:{type:"timestamp"},Scheme:{}}}},NextMarker:{}}},http:{}},DescribeTags:{input:{type:"structure",required:["LoadBalancerNames"],members:{LoadBalancerNames:{type:"list",member:{}}}},output:{resultWrapper:"DescribeTagsResult",type:"structure",members:{TagDescriptions:{type:"list",member:{type:"structure",members:{LoadBalancerName:{},Tags:{shape:"S4"}}}}}},http:{}},DetachLoadBalancerFromSubnets:{input:{type:"structure",required:["LoadBalancerName","Subnets"],members:{LoadBalancerName:{},Subnets:{shape:"Se"}}},output:{resultWrapper:"DetachLoadBalancerFromSubnetsResult",type:"structure",members:{Subnets:{shape:"Se"}}},http:{}},DisableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"DisableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}},http:{}},EnableAvailabilityZonesForLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","AvailabilityZones"],members:{LoadBalancerName:{},AvailabilityZones:{shape:"S13"}}},output:{resultWrapper:"EnableAvailabilityZonesForLoadBalancerResult",type:"structure",members:{AvailabilityZones:{shape:"S13"}}},http:{}},ModifyLoadBalancerAttributes:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerAttributes"],members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S22"}}},output:{resultWrapper:"ModifyLoadBalancerAttributesResult",type:"structure",members:{LoadBalancerName:{},LoadBalancerAttributes:{shape:"S22"}}},http:{}},RegisterInstancesWithLoadBalancer:{input:{type:"structure",required:["LoadBalancerName","Instances"],members:{LoadBalancerName:{},Instances:{shape:"S1p"}}},output:{resultWrapper:"RegisterInstancesWithLoadBalancerResult",type:"structure",members:{Instances:{shape:"S1p"}}},http:{}},RemoveTags:{input:{type:"structure",required:["LoadBalancerNames","Tags"],members:{LoadBalancerNames:{shape:"S2"},Tags:{type:"list",member:{type:"structure",members:{Key:{}}}}}},output:{resultWrapper:"RemoveTagsResult",type:"structure",members:{}},http:{}},SetLoadBalancerListenerSSLCertificate:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","SSLCertificateId"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},SSLCertificateId:{}}},output:{resultWrapper:"SetLoadBalancerListenerSSLCertificateResult",type:"structure",members:{}},http:{}},SetLoadBalancerPoliciesForBackendServer:{input:{type:"structure",required:["LoadBalancerName","InstancePort","PolicyNames"],members:{LoadBalancerName:{},InstancePort:{type:"integer"},PolicyNames:{shape:"S2j"}}},output:{resultWrapper:"SetLoadBalancerPoliciesForBackendServerResult",type:"structure",members:{}},http:{}},SetLoadBalancerPoliciesOfListener:{input:{type:"structure",required:["LoadBalancerName","LoadBalancerPort","PolicyNames"],members:{LoadBalancerName:{},LoadBalancerPort:{type:"integer"},PolicyNames:{shape:"S2j"}}},output:{resultWrapper:"SetLoadBalancerPoliciesOfListenerResult",type:"structure",members:{}},http:{}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},Sa:{type:"list",member:{}},Se:{type:"list",member:{}},Si:{type:"structure",required:["Target","Interval","Timeout","UnhealthyThreshold","HealthyThreshold"],members:{Target:{},Interval:{type:"integer"},Timeout:{type:"integer"},UnhealthyThreshold:{type:"integer"},HealthyThreshold:{type:"integer"}}},Sx:{type:"list",member:{shape:"Sy"}},Sy:{type:"structure",required:["Protocol","LoadBalancerPort","InstancePort"],members:{Protocol:{},LoadBalancerPort:{type:"integer"},InstanceProtocol:{},InstancePort:{type:"integer"},SSLCertificateId:{}}},S13:{type:"list",member:{}},S1p:{type:"list",member:{type:"structure",members:{InstanceId:{}}}},S22:{type:"structure",members:{CrossZoneLoadBalancing:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"}}},AccessLog:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},S3BucketName:{},EmitInterval:{type:"integer"},S3BucketPrefix:{}}},ConnectionDraining:{type:"structure",required:["Enabled"],members:{Enabled:{type:"boolean"},Timeout:{type:"integer"}}},ConnectionSettings:{type:"structure",required:["IdleTimeout"],members:{IdleTimeout:{type:"integer"}}},AdditionalAttributes:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}}}},S2j:{type:"list",member:{}}},examples:{},paginators:{DescribeInstanceHealth:{result_key:"InstanceStates"},DescribeLoadBalancerPolicies:{result_key:"PolicyDescriptions"},DescribeLoadBalancerPolicyTypes:{result_key:"PolicyTypeDescriptions"},DescribeLoadBalancers:{input_token:"Marker",output_token:"NextMarker",result_key:"LoadBalancerDescriptions"}},waiters:{InstanceInService:{delay:15,operation:"DescribeInstanceHealth",maxAttempts:40,acceptors:[{expected:"InService",matcher:"pathAll",state:"success",argument:"InstanceStates[].State"}]},InstanceDeregistered:{delay:15,operation:"DescribeInstanceHealth",maxAttempts:40,acceptors:[{expected:"OutOfService",matcher:"pathAll",state:"success",argument:"InstanceStates[].State"},{matcher:"error",expected:"InvalidInstance",state:"success"}]},AnyInstanceInService:{delay:15,operation:"DescribeInstanceHealth",maxAttempts:40,acceptors:[{expected:"InService",matcher:"pathAny",state:"success",argument:"InstanceStates[].State"}]}}},i.apiLoader.services.firehose={},i.Firehose=i.Service.defineService("firehose",["2015-08-04"]),i.apiLoader.services.firehose["2015-08-04"]={version:"2.0",metadata:{apiVersion:"2015-08-04",endpointPrefix:"firehose",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Firehose",serviceFullName:"Amazon Kinesis Firehose",signatureVersion:"v4",targetPrefix:"Firehose_20150804"},operations:{CreateDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},S3DestinationConfiguration:{shape:"S3"},RedshiftDestinationConfiguration:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","Password","S3Configuration"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"Sl"},Username:{shape:"Sp"},Password:{shape:"Sq"},RetryOptions:{shape:"Sr"},S3Configuration:{shape:"S3"},CloudWatchLoggingOptions:{shape:"Sf"}}},ElasticsearchDestinationConfiguration:{type:"structure",required:["RoleARN","DomainARN","IndexName","TypeName","S3Configuration"],members:{RoleARN:{},DomainARN:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"Sy"},RetryOptions:{shape:"S11"},S3BackupMode:{},S3Configuration:{shape:"S3"},CloudWatchLoggingOptions:{shape:"Sf"}}}}},output:{type:"structure",members:{DeliveryStreamARN:{}}},http:{}},DeleteDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{}}},output:{type:"structure",members:{}},http:{}},DescribeDeliveryStream:{input:{type:"structure",required:["DeliveryStreamName"],members:{DeliveryStreamName:{},Limit:{type:"integer"},ExclusiveStartDestinationId:{}}},output:{type:"structure",required:["DeliveryStreamDescription"],members:{DeliveryStreamDescription:{type:"structure",required:["DeliveryStreamName","DeliveryStreamARN","DeliveryStreamStatus","VersionId","Destinations","HasMoreDestinations"],members:{DeliveryStreamName:{},DeliveryStreamARN:{},DeliveryStreamStatus:{},VersionId:{},CreateTimestamp:{type:"timestamp"},LastUpdateTimestamp:{type:"timestamp"},Destinations:{type:"list",member:{type:"structure",required:["DestinationId"],members:{DestinationId:{},S3DestinationDescription:{shape:"S1i"},RedshiftDestinationDescription:{type:"structure",required:["RoleARN","ClusterJDBCURL","CopyCommand","Username","S3DestinationDescription"],members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"Sl"},Username:{shape:"Sp"},RetryOptions:{shape:"Sr"},S3DestinationDescription:{shape:"S1i"},CloudWatchLoggingOptions:{shape:"Sf"}}},ElasticsearchDestinationDescription:{type:"structure",members:{RoleARN:{},DomainARN:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"Sy"},RetryOptions:{shape:"S11"},S3BackupMode:{},S3DestinationDescription:{shape:"S1i"},CloudWatchLoggingOptions:{shape:"Sf"}}}}}},HasMoreDestinations:{type:"boolean"}}}}},http:{}},ListDeliveryStreams:{input:{type:"structure",members:{Limit:{type:"integer"},ExclusiveStartDeliveryStreamName:{}}},output:{type:"structure",required:["DeliveryStreamNames","HasMoreDeliveryStreams"],members:{DeliveryStreamNames:{type:"list",member:{}},HasMoreDeliveryStreams:{type:"boolean"}}},http:{}},PutRecord:{input:{type:"structure",required:["DeliveryStreamName","Record"],members:{DeliveryStreamName:{},Record:{shape:"S1q"}}},output:{type:"structure",required:["RecordId"],members:{RecordId:{}}},http:{}},PutRecordBatch:{input:{type:"structure",required:["DeliveryStreamName","Records"],members:{DeliveryStreamName:{},Records:{type:"list",member:{shape:"S1q"}}}},output:{type:"structure",required:["FailedPutCount","RequestResponses"],members:{FailedPutCount:{type:"integer"},RequestResponses:{type:"list",member:{type:"structure",members:{RecordId:{},ErrorCode:{},ErrorMessage:{}}}}}},http:{}},UpdateDestination:{input:{type:"structure",required:["DeliveryStreamName","CurrentDeliveryStreamVersionId","DestinationId"],members:{DeliveryStreamName:{},CurrentDeliveryStreamVersionId:{},DestinationId:{},S3DestinationUpdate:{shape:"S23"},RedshiftDestinationUpdate:{type:"structure",members:{RoleARN:{},ClusterJDBCURL:{},CopyCommand:{shape:"Sl"},Username:{shape:"Sp"},Password:{shape:"Sq"},RetryOptions:{shape:"Sr"},S3Update:{shape:"S23"},CloudWatchLoggingOptions:{shape:"Sf"}}},ElasticsearchDestinationUpdate:{type:"structure",members:{RoleARN:{},DomainARN:{},IndexName:{},TypeName:{},IndexRotationPeriod:{},BufferingHints:{shape:"Sy"},RetryOptions:{shape:"S11"},S3Update:{shape:"S23"},CloudWatchLoggingOptions:{shape:"Sf"}}}}},output:{type:"structure",members:{}},http:{}}},shapes:{S3:{type:"structure",required:["RoleARN","BucketARN"],members:{RoleARN:{},BucketARN:{},Prefix:{},BufferingHints:{shape:"S7"},CompressionFormat:{},EncryptionConfiguration:{shape:"Sb"},CloudWatchLoggingOptions:{shape:"Sf"}}},S7:{type:"structure",members:{SizeInMBs:{type:"integer"},IntervalInSeconds:{type:"integer"}}},Sb:{type:"structure",members:{NoEncryptionConfig:{},KMSEncryptionConfig:{type:"structure",required:["AWSKMSKeyARN"],members:{AWSKMSKeyARN:{}}}}},Sf:{type:"structure",members:{Enabled:{type:"boolean"},LogGroupName:{},LogStreamName:{}}},Sl:{type:"structure",required:["DataTableName"],members:{DataTableName:{},DataTableColumns:{},CopyOptions:{}}},Sp:{type:"string",sensitive:!0},Sq:{type:"string",sensitive:!0},Sr:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},Sy:{type:"structure",members:{IntervalInSeconds:{type:"integer"},SizeInMBs:{type:"integer"}}},S11:{type:"structure",members:{DurationInSeconds:{type:"integer"}}},S1i:{type:"structure",required:["RoleARN","BucketARN","BufferingHints","CompressionFormat","EncryptionConfiguration"],members:{RoleARN:{},BucketARN:{},Prefix:{},BufferingHints:{shape:"S7"},CompressionFormat:{},EncryptionConfiguration:{shape:"Sb"},CloudWatchLoggingOptions:{shape:"Sf"}}},S1q:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},S23:{type:"structure",members:{RoleARN:{},BucketARN:{},Prefix:{},BufferingHints:{shape:"S7"},CompressionFormat:{},EncryptionConfiguration:{shape:"Sb"},CloudWatchLoggingOptions:{shape:"Sf"}}}}},i.apiLoader.services.gamelift={},i.GameLift=i.Service.defineService("gamelift",["2015-10-01"]),i.apiLoader.services.gamelift["2015-10-01"]={version:"2.0",metadata:{apiVersion:"2015-10-01",endpointPrefix:"gamelift",jsonVersion:"1.1",serviceFullName:"Amazon GameLift",signatureVersion:"v4",targetPrefix:"GameLift",protocol:"json"},operations:{CreateAlias:{input:{type:"structure",required:["Name","RoutingStrategy"],members:{Name:{},Description:{},RoutingStrategy:{shape:"S3"}}},output:{type:"structure",members:{Alias:{shape:"S8"}}},http:{}},CreateBuild:{input:{type:"structure",members:{Name:{},Version:{},StorageLocation:{shape:"Sc"}}},output:{type:"structure",members:{Build:{shape:"Sf"},UploadCredentials:{shape:"Sj"},StorageLocation:{shape:"Sc"}}},http:{}},CreateFleet:{input:{type:"structure",required:["Name","BuildId","EC2InstanceType"],members:{Name:{},Description:{},BuildId:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"Sl"},EC2InstanceType:{},EC2InboundPermissions:{shape:"Sn"},NewGameSessionProtectionPolicy:{},RuntimeConfiguration:{shape:"St"}}},output:{type:"structure",members:{FleetAttributes:{shape:"Sy"}}},http:{}},CreateGameSession:{input:{type:"structure",required:["MaximumPlayerSessionCount"],members:{FleetId:{},AliasId:{},MaximumPlayerSessionCount:{type:"integer"},Name:{},GameProperties:{shape:"S12"}}},output:{type:"structure",members:{GameSession:{shape:"S17"}}},http:{}},CreatePlayerSession:{input:{type:"structure",required:["GameSessionId","PlayerId"],members:{GameSessionId:{},PlayerId:{}}},output:{type:"structure",members:{PlayerSession:{shape:"S1e"}}},http:{}},CreatePlayerSessions:{input:{type:"structure",required:["GameSessionId","PlayerIds"],members:{GameSessionId:{},PlayerIds:{type:"list",member:{}}}},output:{type:"structure",members:{PlayerSessions:{shape:"S1k"}}},http:{}},DeleteAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},http:{}},DeleteBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},http:{}},DeleteFleet:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},http:{}},DeleteScalingPolicy:{input:{type:"structure",required:["Name","FleetId"],members:{Name:{},FleetId:{}}},http:{}},DescribeAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{Alias:{shape:"S8"}}},http:{}},DescribeBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{Build:{shape:"Sf"}}},http:{}},DescribeEC2InstanceLimits:{input:{type:"structure",members:{EC2InstanceType:{}}},output:{type:"structure",members:{EC2InstanceLimits:{type:"list",member:{type:"structure",members:{EC2InstanceType:{},CurrentInstances:{type:"integer"},InstanceLimit:{type:"integer"}}}}}},http:{}},DescribeFleetAttributes:{input:{type:"structure",members:{FleetIds:{shape:"S1y"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetAttributes:{type:"list",member:{shape:"Sy"}},NextToken:{}}},http:{}},DescribeFleetCapacity:{input:{type:"structure",members:{FleetIds:{shape:"S1y"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetCapacity:{type:"list",member:{type:"structure",members:{FleetId:{},InstanceType:{},InstanceCounts:{type:"structure",members:{DESIRED:{type:"integer"},MINIMUM:{type:"integer"},MAXIMUM:{type:"integer"},PENDING:{type:"integer"},ACTIVE:{type:"integer"},IDLE:{type:"integer"},TERMINATING:{type:"integer"}}}}}},NextToken:{}}},http:{}},DescribeFleetEvents:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Events:{type:"list",member:{type:"structure",members:{EventId:{},ResourceId:{},EventCode:{},Message:{},EventTime:{type:"timestamp"}}}},NextToken:{}}},http:{}},DescribeFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},output:{type:"structure",members:{InboundPermissions:{shape:"Sn"}}},http:{}},DescribeFleetUtilization:{input:{type:"structure",members:{FleetIds:{shape:"S1y"},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetUtilization:{type:"list",member:{type:"structure",members:{FleetId:{},ActiveServerProcessCount:{type:"integer"},ActiveGameSessionCount:{type:"integer"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"}}}},NextToken:{}}},http:{}},DescribeGameSessionDetails:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessionDetails:{type:"list",member:{type:"structure",members:{GameSession:{shape:"S17"},ProtectionPolicy:{}}}},NextToken:{}}},http:{}},DescribeGameSessions:{input:{type:"structure",members:{FleetId:{},GameSessionId:{},AliasId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{GameSessions:{type:"list",member:{shape:"S17"}},NextToken:{}}},http:{}},DescribePlayerSessions:{input:{type:"structure",members:{GameSessionId:{},PlayerId:{},PlayerSessionId:{},PlayerSessionStatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{PlayerSessions:{shape:"S1k"},NextToken:{}}},http:{}},DescribeRuntimeConfiguration:{input:{type:"structure",required:["FleetId"],members:{FleetId:{}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"St"}}},http:{}},DescribeScalingPolicies:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},StatusFilter:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ScalingPolicies:{type:"list",member:{type:"structure",members:{FleetId:{},Name:{},Status:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},ComparisonOperator:{},Threshold:{type:"double"},EvaluationPeriods:{type:"integer"},MetricName:{}}}},NextToken:{}}},http:{}},GetGameSessionLogUrl:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{}}},output:{type:"structure",members:{PreSignedUrl:{}}},http:{}},ListAliases:{input:{type:"structure",members:{RoutingStrategyType:{},Name:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{shape:"S8"}},NextToken:{}}},http:{}},ListBuilds:{input:{type:"structure",members:{Status:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Builds:{type:"list",member:{shape:"Sf"}},NextToken:{}}},http:{}},ListFleets:{input:{type:"structure",members:{BuildId:{},Limit:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{FleetIds:{shape:"S1y"},NextToken:{}}},http:{}},PutScalingPolicy:{input:{type:"structure",required:["Name","FleetId","ScalingAdjustment","ScalingAdjustmentType","Threshold","ComparisonOperator","EvaluationPeriods","MetricName"],members:{Name:{},FleetId:{},ScalingAdjustment:{type:"integer"},ScalingAdjustmentType:{},Threshold:{type:"double"},ComparisonOperator:{},EvaluationPeriods:{type:"integer"},MetricName:{}}},output:{type:"structure",members:{Name:{}}},http:{}},RequestUploadCredentials:{input:{type:"structure",required:["BuildId"],members:{BuildId:{}}},output:{type:"structure",members:{UploadCredentials:{shape:"Sj"},StorageLocation:{shape:"Sc"}}},http:{}},ResolveAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{}}},output:{type:"structure",members:{FleetId:{}}},http:{}},UpdateAlias:{input:{type:"structure",required:["AliasId"],members:{AliasId:{},Name:{},Description:{},RoutingStrategy:{shape:"S3"}}},output:{type:"structure",members:{Alias:{shape:"S8"}}},http:{}},UpdateBuild:{input:{type:"structure",required:["BuildId"],members:{BuildId:{},Name:{},Version:{}}},output:{type:"structure",members:{Build:{shape:"Sf"}}},http:{}},UpdateFleetAttributes:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},Name:{},Description:{},NewGameSessionProtectionPolicy:{}}},output:{type:"structure",members:{FleetId:{}}},http:{}},UpdateFleetCapacity:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},DesiredInstances:{type:"integer"},MinSize:{type:"integer"},MaxSize:{type:"integer"}}},output:{type:"structure",members:{FleetId:{}}},http:{}},UpdateFleetPortSettings:{input:{type:"structure",required:["FleetId"],members:{FleetId:{},InboundPermissionAuthorizations:{shape:"Sn"},InboundPermissionRevocations:{shape:"Sn"}}},output:{type:"structure",members:{FleetId:{}}},http:{}},UpdateGameSession:{input:{type:"structure",required:["GameSessionId"],members:{GameSessionId:{},MaximumPlayerSessionCount:{type:"integer"},Name:{},PlayerSessionCreationPolicy:{},ProtectionPolicy:{}}},output:{type:"structure",members:{GameSession:{shape:"S17"}}},http:{}},UpdateRuntimeConfiguration:{input:{type:"structure",required:["FleetId","RuntimeConfiguration"],members:{FleetId:{},RuntimeConfiguration:{shape:"St"}}},output:{type:"structure",members:{RuntimeConfiguration:{shape:"St"}}},http:{}}},shapes:{S3:{type:"structure",members:{Type:{},FleetId:{},Message:{}}},S8:{type:"structure",members:{AliasId:{},Name:{},Description:{},RoutingStrategy:{shape:"S3"},CreationTime:{type:"timestamp"},LastUpdatedTime:{type:"timestamp"}}},Sc:{type:"structure",members:{Bucket:{},Key:{},RoleArn:{}}},Sf:{type:"structure",members:{BuildId:{},Name:{},Version:{},Status:{},SizeOnDisk:{type:"long"},CreationTime:{type:"timestamp"}}},Sj:{type:"structure",members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{}},sensitive:!0},Sl:{type:"list",member:{}},Sn:{type:"list",member:{type:"structure",required:["FromPort","ToPort","IpRange","Protocol"],members:{FromPort:{type:"integer"},ToPort:{type:"integer"},IpRange:{},Protocol:{}}}},St:{type:"structure",members:{ServerProcesses:{type:"list",member:{type:"structure",required:["LaunchPath","ConcurrentExecutions"],members:{LaunchPath:{},Parameters:{},ConcurrentExecutions:{type:"integer"}}}}}},Sy:{type:"structure",members:{FleetId:{},Description:{},Name:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},BuildId:{},ServerLaunchPath:{},ServerLaunchParameters:{},LogPaths:{shape:"Sl"},NewGameSessionProtectionPolicy:{}}},S12:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S17:{type:"structure",members:{GameSessionId:{},Name:{},FleetId:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},CurrentPlayerSessionCount:{type:"integer"},MaximumPlayerSessionCount:{type:"integer"},Status:{},GameProperties:{shape:"S12"},IpAddress:{},Port:{type:"integer"},PlayerSessionCreationPolicy:{}}},S1e:{type:"structure",members:{PlayerSessionId:{},PlayerId:{},GameSessionId:{},FleetId:{},CreationTime:{type:"timestamp"},TerminationTime:{type:"timestamp"},Status:{},IpAddress:{},Port:{type:"integer"}}},S1k:{type:"list",member:{shape:"S1e"}},S1y:{type:"list",member:{}}},examples:{}},i.apiLoader.services.inspector={},i.Inspector=i.Service.defineService("inspector",["2016-02-16"]),i.apiLoader.services.inspector["2016-02-16"]={version:"2.0",metadata:{apiVersion:"2016-02-16",endpointPrefix:"inspector",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Inspector",signatureVersion:"v4",targetPrefix:"InspectorService"},operations:{AddAttributesToFindings:{input:{type:"structure",required:["findingArns","attributes"],members:{findingArns:{shape:"S2"},attributes:{shape:"S4"}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}},http:{}},CreateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetName","resourceGroupArn"],members:{assessmentTargetName:{},resourceGroupArn:{}}},output:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}},http:{}},CreateAssessmentTemplate:{input:{type:"structure",required:["assessmentTargetArn","assessmentTemplateName","durationInSeconds","rulesPackageArns"],members:{assessmentTargetArn:{},assessmentTemplateName:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"}}},output:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}},http:{}},CreateResourceGroup:{input:{type:"structure",required:["resourceGroupTags"],members:{resourceGroupTags:{shape:"Sm"}}},output:{type:"structure",required:["resourceGroupArn"],members:{resourceGroupArn:{}}},http:{}},DeleteAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},http:{}},DeleteAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn"],members:{assessmentTargetArn:{}}},http:{}},DeleteAssessmentTemplate:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{}}},http:{}},DescribeAssessmentRuns:{input:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"Sv"}}},output:{type:"structure",required:["assessmentRuns","failedItems"],members:{assessmentRuns:{type:"list",member:{type:"structure",required:["arn","name","assessmentTemplateArn","state","durationInSeconds","rulesPackageArns","userAttributesForFindings","createdAt","stateChangedAt","dataCollected","stateChanges","notifications"],members:{arn:{},name:{},assessmentTemplateArn:{},state:{},durationInSeconds:{type:"integer"},rulesPackageArns:{type:"list",member:{}},userAttributesForFindings:{shape:"S4"},createdAt:{type:"timestamp"},startedAt:{type:"timestamp"},completedAt:{type:"timestamp"},stateChangedAt:{type:"timestamp"},dataCollected:{type:"boolean"},stateChanges:{type:"list",member:{type:"structure",required:["stateChangedAt","state"],members:{stateChangedAt:{type:"timestamp"},state:{}}}},notifications:{type:"list",member:{type:"structure",required:["date","event","error"],members:{date:{type:"timestamp"},event:{},message:{},error:{type:"boolean"},snsTopicArn:{},snsPublishStatusCode:{}}}}}}},failedItems:{shape:"S9"}}},http:{}},DescribeAssessmentTargets:{input:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"Sv"}}},output:{type:"structure",required:["assessmentTargets","failedItems"],members:{assessmentTargets:{type:"list",member:{type:"structure",required:["arn","name","resourceGroupArn","createdAt","updatedAt"],members:{arn:{},name:{},resourceGroupArn:{},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}},http:{}},DescribeAssessmentTemplates:{input:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"Sv"}}},output:{type:"structure",required:["assessmentTemplates","failedItems"],members:{assessmentTemplates:{type:"list",member:{type:"structure",required:["arn","name","assessmentTargetArn","durationInSeconds","rulesPackageArns","userAttributesForFindings","createdAt"],members:{arn:{},name:{},assessmentTargetArn:{},durationInSeconds:{type:"integer"},rulesPackageArns:{shape:"Sj"},userAttributesForFindings:{shape:"S4"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}},http:{}},DescribeCrossAccountAccessRole:{output:{type:"structure",required:["roleArn","valid","registeredAt"],members:{roleArn:{},valid:{type:"boolean"},registeredAt:{type:"timestamp"}}},http:{}},DescribeFindings:{input:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"Sv"},locale:{}}},output:{type:"structure",required:["findings","failedItems"],members:{findings:{type:"list",member:{type:"structure",required:["arn","attributes","userAttributes","createdAt","updatedAt"],members:{arn:{},schemaVersion:{type:"integer"},service:{},serviceAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},assessmentRunArn:{},rulesPackageArn:{}}},assetType:{},assetAttributes:{type:"structure",required:["schemaVersion"],members:{schemaVersion:{type:"integer"},agentId:{},autoScalingGroup:{},amiId:{},hostname:{},ipv4Addresses:{type:"list",member:{}}}},id:{},title:{},description:{},recommendation:{},severity:{},numericSeverity:{type:"double"},confidence:{type:"integer"},indicatorOfCompromise:{type:"boolean"},attributes:{shape:"S24"},userAttributes:{shape:"S4"},createdAt:{type:"timestamp"},updatedAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}},http:{}},DescribeResourceGroups:{input:{type:"structure",required:["resourceGroupArns"],members:{resourceGroupArns:{shape:"Sv"}}},output:{type:"structure",required:["resourceGroups","failedItems"],members:{resourceGroups:{type:"list",member:{type:"structure",required:["arn","tags","createdAt"],members:{arn:{},tags:{shape:"Sm"},createdAt:{type:"timestamp"}}}},failedItems:{shape:"S9"}}},http:{}},DescribeRulesPackages:{input:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"Sv"},locale:{}}},output:{type:"structure",required:["rulesPackages","failedItems"],members:{rulesPackages:{type:"list",member:{type:"structure",required:["arn","name","version","provider"],members:{arn:{},name:{},version:{},provider:{},description:{}}}},failedItems:{shape:"S9"}}},http:{}},GetTelemetryMetadata:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},output:{type:"structure",required:["telemetryMetadata"],members:{telemetryMetadata:{shape:"S2i"}}},http:{}},ListAssessmentRunAgents:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{},filter:{type:"structure",required:["agentHealths","agentHealthCodes"],members:{agentHealths:{type:"list",member:{}},agentHealthCodes:{type:"list",member:{}}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunAgents"],members:{assessmentRunAgents:{type:"list",member:{type:"structure",required:["agentId","assessmentRunArn","agentHealth","agentHealthCode","telemetryMetadata"],members:{agentId:{},assessmentRunArn:{},agentHealth:{},agentHealthCode:{},agentHealthDetails:{},autoScalingGroup:{},telemetryMetadata:{shape:"S2i"}}}},nextToken:{}}},http:{}},ListAssessmentRuns:{input:{type:"structure",members:{assessmentTemplateArns:{shape:"S2y"},filter:{type:"structure",members:{namePattern:{},states:{type:"list",member:{}},durationRange:{shape:"S32"},rulesPackageArns:{shape:"S33"},startTimeRange:{shape:"S34"},completionTimeRange:{shape:"S34"},stateChangeTimeRange:{shape:"S34"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentRunArns"],members:{assessmentRunArns:{shape:"S36"},nextToken:{}}},http:{}
},ListAssessmentTargets:{input:{type:"structure",members:{filter:{type:"structure",members:{assessmentTargetNamePattern:{}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTargetArns"],members:{assessmentTargetArns:{shape:"S36"},nextToken:{}}},http:{}},ListAssessmentTemplates:{input:{type:"structure",members:{assessmentTargetArns:{shape:"S2y"},filter:{type:"structure",members:{namePattern:{},durationRange:{shape:"S32"},rulesPackageArns:{shape:"S33"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["assessmentTemplateArns"],members:{assessmentTemplateArns:{shape:"S36"},nextToken:{}}},http:{}},ListEventSubscriptions:{input:{type:"structure",members:{resourceArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["subscriptions"],members:{subscriptions:{type:"list",member:{type:"structure",required:["resourceArn","topicArn","eventSubscriptions"],members:{resourceArn:{},topicArn:{},eventSubscriptions:{type:"list",member:{type:"structure",required:["event","subscribedAt"],members:{event:{},subscribedAt:{type:"timestamp"}}}}}}},nextToken:{}}},http:{}},ListFindings:{input:{type:"structure",members:{assessmentRunArns:{shape:"S2y"},filter:{type:"structure",members:{agentIds:{type:"list",member:{}},autoScalingGroups:{type:"list",member:{}},ruleNames:{type:"list",member:{}},severities:{type:"list",member:{}},rulesPackageArns:{shape:"S33"},attributes:{shape:"S24"},userAttributes:{shape:"S24"},creationTimeRange:{shape:"S34"}}},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["findingArns"],members:{findingArns:{shape:"S36"},nextToken:{}}},http:{}},ListRulesPackages:{input:{type:"structure",members:{nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["rulesPackageArns"],members:{rulesPackageArns:{shape:"S36"},nextToken:{}}},http:{}},ListTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{}}},output:{type:"structure",required:["tags"],members:{tags:{shape:"S3w"}}},http:{}},PreviewAgents:{input:{type:"structure",required:["previewAgentsArn"],members:{previewAgentsArn:{},nextToken:{},maxResults:{type:"integer"}}},output:{type:"structure",required:["agentPreviews"],members:{agentPreviews:{type:"list",member:{type:"structure",required:["agentId"],members:{agentId:{},autoScalingGroup:{}}}},nextToken:{}}},http:{}},RegisterCrossAccountAccessRole:{input:{type:"structure",required:["roleArn"],members:{roleArn:{}}},http:{}},RemoveAttributesFromFindings:{input:{type:"structure",required:["findingArns","attributeKeys"],members:{findingArns:{shape:"S2"},attributeKeys:{type:"list",member:{}}}},output:{type:"structure",required:["failedItems"],members:{failedItems:{shape:"S9"}}},http:{}},SetTagsForResource:{input:{type:"structure",required:["resourceArn"],members:{resourceArn:{},tags:{shape:"S3w"}}},http:{}},StartAssessmentRun:{input:{type:"structure",required:["assessmentTemplateArn"],members:{assessmentTemplateArn:{},assessmentRunName:{}}},output:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},http:{}},StopAssessmentRun:{input:{type:"structure",required:["assessmentRunArn"],members:{assessmentRunArn:{}}},http:{}},SubscribeToEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}},http:{}},UnsubscribeFromEvent:{input:{type:"structure",required:["resourceArn","event","topicArn"],members:{resourceArn:{},event:{},topicArn:{}}},http:{}},UpdateAssessmentTarget:{input:{type:"structure",required:["assessmentTargetArn","assessmentTargetName","resourceGroupArn"],members:{assessmentTargetArn:{},assessmentTargetName:{},resourceGroupArn:{}}},http:{}}},shapes:{S2:{type:"list",member:{}},S4:{type:"list",member:{shape:"S5"}},S5:{type:"structure",required:["key"],members:{key:{},value:{}}},S9:{type:"map",key:{},value:{type:"structure",required:["failureCode","retryable"],members:{failureCode:{},retryable:{type:"boolean"}}}},Sj:{type:"list",member:{}},Sm:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}},Sv:{type:"list",member:{}},S24:{type:"list",member:{shape:"S5"}},S2i:{type:"list",member:{type:"structure",required:["messageType","count"],members:{messageType:{},count:{type:"long"},dataSize:{type:"long"}}}},S2y:{type:"list",member:{}},S32:{type:"structure",members:{minSeconds:{type:"integer"},maxSeconds:{type:"integer"}}},S33:{type:"list",member:{}},S34:{type:"structure",members:{beginDate:{type:"timestamp"},endDate:{type:"timestamp"}}},S36:{type:"list",member:{}},S3w:{type:"list",member:{type:"structure",required:["key"],members:{key:{},value:{}}}}}},i.apiLoader.services.iotdata={},i.IotData=i.Service.defineService("iotdata",["2015-05-28"]),e("./services/iotdata"),i.apiLoader.services.iotdata["2015-05-28"]={version:"2.0",metadata:{apiVersion:"2015-05-28",endpointPrefix:"data.iot",protocol:"rest-json",serviceFullName:"AWS IoT Data Plane",signatureVersion:"v4",signingName:"iotdata"},operations:{DeleteThingShadow:{http:{method:"DELETE",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",required:["payload"],members:{payload:{type:"blob"}},payload:"payload"}},GetThingShadow:{http:{method:"GET",requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName"],members:{thingName:{location:"uri",locationName:"thingName"}}},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}},Publish:{http:{requestUri:"/topics/{topic}"},input:{type:"structure",required:["topic"],members:{topic:{location:"uri",locationName:"topic"},qos:{location:"querystring",locationName:"qos",type:"integer"},payload:{type:"blob"}},payload:"payload"}},UpdateThingShadow:{http:{requestUri:"/things/{thingName}/shadow"},input:{type:"structure",required:["thingName","payload"],members:{thingName:{location:"uri",locationName:"thingName"},payload:{type:"blob"}},payload:"payload"},output:{type:"structure",members:{payload:{type:"blob"}},payload:"payload"}}},shapes:{}},i.apiLoader.services.kinesis={},i.Kinesis=i.Service.defineService("kinesis",["2013-12-02"]),i.apiLoader.services.kinesis["2013-12-02"]={version:"2.0",metadata:{apiVersion:"2013-12-02",endpointPrefix:"kinesis",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Kinesis",serviceFullName:"Amazon Kinesis",signatureVersion:"v4",targetPrefix:"Kinesis_20131202"},operations:{AddTagsToStream:{input:{type:"structure",required:["StreamName","Tags"],members:{StreamName:{},Tags:{type:"map",key:{},value:{}}}},http:{}},CreateStream:{input:{type:"structure",required:["StreamName","ShardCount"],members:{StreamName:{},ShardCount:{type:"integer"}}},http:{}},DecreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}},http:{}},DeleteStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{}}},http:{}},DescribeStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},Limit:{type:"integer"},ExclusiveStartShardId:{}}},output:{type:"structure",required:["StreamDescription"],members:{StreamDescription:{type:"structure",required:["StreamName","StreamARN","StreamStatus","Shards","HasMoreShards","RetentionPeriodHours","EnhancedMonitoring"],members:{StreamName:{},StreamARN:{},StreamStatus:{},Shards:{type:"list",member:{type:"structure",required:["ShardId","HashKeyRange","SequenceNumberRange"],members:{ShardId:{},ParentShardId:{},AdjacentParentShardId:{},HashKeyRange:{type:"structure",required:["StartingHashKey","EndingHashKey"],members:{StartingHashKey:{},EndingHashKey:{}}},SequenceNumberRange:{type:"structure",required:["StartingSequenceNumber"],members:{StartingSequenceNumber:{},EndingSequenceNumber:{}}}}}},HasMoreShards:{type:"boolean"},RetentionPeriodHours:{type:"integer"},EnhancedMonitoring:{type:"list",member:{type:"structure",members:{ShardLevelMetrics:{shape:"Sr"}}}}}}}},http:{}},DisableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"Sr"}}},output:{shape:"Su"},http:{}},EnableEnhancedMonitoring:{input:{type:"structure",required:["StreamName","ShardLevelMetrics"],members:{StreamName:{},ShardLevelMetrics:{shape:"Sr"}}},output:{shape:"Su"},http:{}},GetRecords:{input:{type:"structure",required:["ShardIterator"],members:{ShardIterator:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Records"],members:{Records:{type:"list",member:{type:"structure",required:["SequenceNumber","Data","PartitionKey"],members:{SequenceNumber:{},ApproximateArrivalTimestamp:{type:"timestamp"},Data:{type:"blob"},PartitionKey:{}}}},NextShardIterator:{},MillisBehindLatest:{type:"long"}}},http:{}},GetShardIterator:{input:{type:"structure",required:["StreamName","ShardId","ShardIteratorType"],members:{StreamName:{},ShardId:{},ShardIteratorType:{},StartingSequenceNumber:{},Timestamp:{type:"timestamp"}}},output:{type:"structure",members:{ShardIterator:{}}},http:{}},IncreaseStreamRetentionPeriod:{input:{type:"structure",required:["StreamName","RetentionPeriodHours"],members:{StreamName:{},RetentionPeriodHours:{type:"integer"}}},http:{}},ListStreams:{input:{type:"structure",members:{Limit:{type:"integer"},ExclusiveStartStreamName:{}}},output:{type:"structure",required:["StreamNames","HasMoreStreams"],members:{StreamNames:{type:"list",member:{}},HasMoreStreams:{type:"boolean"}}},http:{}},ListTagsForStream:{input:{type:"structure",required:["StreamName"],members:{StreamName:{},ExclusiveStartTagKey:{},Limit:{type:"integer"}}},output:{type:"structure",required:["Tags","HasMoreTags"],members:{Tags:{type:"list",member:{type:"structure",required:["Key"],members:{Key:{},Value:{}}}},HasMoreTags:{type:"boolean"}}},http:{}},MergeShards:{input:{type:"structure",required:["StreamName","ShardToMerge","AdjacentShardToMerge"],members:{StreamName:{},ShardToMerge:{},AdjacentShardToMerge:{}}},http:{}},PutRecord:{input:{type:"structure",required:["StreamName","Data","PartitionKey"],members:{StreamName:{},Data:{type:"blob"},PartitionKey:{},ExplicitHashKey:{},SequenceNumberForOrdering:{}}},output:{type:"structure",required:["ShardId","SequenceNumber"],members:{ShardId:{},SequenceNumber:{}}},http:{}},PutRecords:{input:{type:"structure",required:["Records","StreamName"],members:{Records:{type:"list",member:{type:"structure",required:["Data","PartitionKey"],members:{Data:{type:"blob"},ExplicitHashKey:{},PartitionKey:{}}}},StreamName:{}}},output:{type:"structure",required:["Records"],members:{FailedRecordCount:{type:"integer"},Records:{type:"list",member:{type:"structure",members:{SequenceNumber:{},ShardId:{},ErrorCode:{},ErrorMessage:{}}}}}},http:{}},RemoveTagsFromStream:{input:{type:"structure",required:["StreamName","TagKeys"],members:{StreamName:{},TagKeys:{type:"list",member:{}}}},http:{}},SplitShard:{input:{type:"structure",required:["StreamName","ShardToSplit","NewStartingHashKey"],members:{StreamName:{},ShardToSplit:{},NewStartingHashKey:{}}},http:{}}},shapes:{Sr:{type:"list",member:{}},Su:{type:"structure",members:{StreamName:{},CurrentShardLevelMetrics:{shape:"Sr"},DesiredShardLevelMetrics:{shape:"Sr"}}}},paginators:{DescribeStream:{input_token:"ExclusiveStartShardId",limit_key:"Limit",more_results:"StreamDescription.HasMoreShards",output_token:"StreamDescription.Shards[-1].ShardId",result_key:"StreamDescription.Shards"},ListStreams:{input_token:"ExclusiveStartStreamName",limit_key:"Limit",more_results:"HasMoreStreams",output_token:"StreamNames[-1]",result_key:"StreamNames"}},waiters:{StreamExists:{delay:10,operation:"DescribeStream",maxAttempts:18,acceptors:[{expected:"ACTIVE",matcher:"path",state:"success",argument:"StreamDescription.StreamStatus"}]}}},i.apiLoader.services.kms={},i.KMS=i.Service.defineService("kms",["2014-11-01"]),i.apiLoader.services.kms["2014-11-01"]={version:"2.0",metadata:{apiVersion:"2014-11-01",endpointPrefix:"kms",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"KMS",serviceFullName:"AWS Key Management Service",signatureVersion:"v4",targetPrefix:"TrentService"},operations:{CancelKeyDeletion:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},output:{type:"structure",members:{KeyId:{}}},http:{}},CreateAlias:{input:{type:"structure",required:["AliasName","TargetKeyId"],members:{AliasName:{},TargetKeyId:{}}},http:{}},CreateGrant:{input:{type:"structure",required:["KeyId","GranteePrincipal"],members:{KeyId:{},GranteePrincipal:{},RetiringPrincipal:{},Operations:{shape:"S8"},Constraints:{shape:"Sa"},GrantTokens:{shape:"Se"},Name:{}}},output:{type:"structure",members:{GrantToken:{},GrantId:{}}},http:{}},CreateKey:{input:{type:"structure",members:{Policy:{},Description:{},KeyUsage:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"}}},output:{type:"structure",members:{KeyMetadata:{shape:"Sp"}}},http:{}},Decrypt:{input:{type:"structure",required:["CiphertextBlob"],members:{CiphertextBlob:{type:"blob"},EncryptionContext:{shape:"Sb"},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{KeyId:{},Plaintext:{shape:"Sx"}}},http:{}},DeleteAlias:{input:{type:"structure",required:["AliasName"],members:{AliasName:{}}},http:{}},DescribeKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{KeyMetadata:{shape:"Sp"}}},http:{}},DisableKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},http:{}},DisableKeyRotation:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},http:{}},EnableKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},http:{}},EnableKeyRotation:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},http:{}},Encrypt:{input:{type:"structure",required:["KeyId","Plaintext"],members:{KeyId:{},Plaintext:{shape:"Sx"},EncryptionContext:{shape:"Sb"},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},KeyId:{}}},http:{}},GenerateDataKey:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},EncryptionContext:{shape:"Sb"},NumberOfBytes:{type:"integer"},KeySpec:{},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},Plaintext:{shape:"Sx"},KeyId:{}}},http:{}},GenerateDataKeyWithoutPlaintext:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},EncryptionContext:{shape:"Sb"},KeySpec:{},NumberOfBytes:{type:"integer"},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},KeyId:{}}},http:{}},GenerateRandom:{input:{type:"structure",members:{NumberOfBytes:{type:"integer"}}},output:{type:"structure",members:{Plaintext:{shape:"Sx"}}},http:{}},GetKeyPolicy:{input:{type:"structure",required:["KeyId","PolicyName"],members:{KeyId:{},PolicyName:{}}},output:{type:"structure",members:{Policy:{}}},http:{}},GetKeyRotationStatus:{input:{type:"structure",required:["KeyId"],members:{KeyId:{}}},output:{type:"structure",members:{KeyRotationEnabled:{type:"boolean"}}},http:{}},ListAliases:{input:{type:"structure",members:{Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Aliases:{type:"list",member:{type:"structure",members:{AliasName:{},AliasArn:{},TargetKeyId:{}}}},NextMarker:{},Truncated:{type:"boolean"}}},http:{}},ListGrants:{input:{type:"structure",required:["KeyId"],members:{Limit:{type:"integer"},Marker:{},KeyId:{}}},output:{shape:"S1r"},http:{}},ListKeyPolicies:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{PolicyNames:{type:"list",member:{}},NextMarker:{},Truncated:{type:"boolean"}}},http:{}},ListKeys:{input:{type:"structure",members:{Limit:{type:"integer"},Marker:{}}},output:{type:"structure",members:{Keys:{type:"list",member:{type:"structure",members:{KeyId:{},KeyArn:{}}}},NextMarker:{},Truncated:{type:"boolean"}}},http:{}},ListRetirableGrants:{input:{type:"structure",required:["RetiringPrincipal"],members:{Limit:{type:"integer"},Marker:{},RetiringPrincipal:{}}},output:{shape:"S1r"},http:{}},PutKeyPolicy:{input:{type:"structure",required:["KeyId","PolicyName","Policy"],members:{KeyId:{},PolicyName:{},Policy:{},BypassPolicyLockoutSafetyCheck:{type:"boolean"}}},http:{}},ReEncrypt:{input:{type:"structure",required:["CiphertextBlob","DestinationKeyId"],members:{CiphertextBlob:{type:"blob"},SourceEncryptionContext:{shape:"Sb"},DestinationKeyId:{},DestinationEncryptionContext:{shape:"Sb"},GrantTokens:{shape:"Se"}}},output:{type:"structure",members:{CiphertextBlob:{type:"blob"},SourceKeyId:{},KeyId:{}}},http:{}},RetireGrant:{input:{type:"structure",members:{GrantToken:{},KeyId:{},GrantId:{}}},http:{}},RevokeGrant:{input:{type:"structure",required:["KeyId","GrantId"],members:{KeyId:{},GrantId:{}}},http:{}},ScheduleKeyDeletion:{input:{type:"structure",required:["KeyId"],members:{KeyId:{},PendingWindowInDays:{type:"integer"}}},output:{type:"structure",members:{KeyId:{},DeletionDate:{type:"timestamp"}}},http:{}},UpdateAlias:{input:{type:"structure",required:["AliasName","TargetKeyId"],members:{AliasName:{},TargetKeyId:{}}},http:{}},UpdateKeyDescription:{input:{type:"structure",required:["KeyId","Description"],members:{KeyId:{},Description:{}}},http:{}}},shapes:{S8:{type:"list",member:{}},Sa:{type:"structure",members:{EncryptionContextSubset:{shape:"Sb"},EncryptionContextEquals:{shape:"Sb"}}},Sb:{type:"map",key:{},value:{}},Se:{type:"list",member:{}},Sp:{type:"structure",required:["KeyId"],members:{AWSAccountId:{},KeyId:{},Arn:{},CreationDate:{type:"timestamp"},Enabled:{type:"boolean"},Description:{},KeyUsage:{},KeyState:{},DeletionDate:{type:"timestamp"}}},Sx:{type:"blob",sensitive:!0},S1r:{type:"structure",members:{Grants:{type:"list",member:{type:"structure",members:{KeyId:{},GrantId:{},Name:{},CreationDate:{type:"timestamp"},GranteePrincipal:{},RetiringPrincipal:{},IssuingAccount:{},Operations:{shape:"S8"},Constraints:{shape:"Sa"}}}},NextMarker:{},Truncated:{type:"boolean"}}}},paginators:{ListAliases:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"Aliases"},ListGrants:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"Grants"},ListKeyPolicies:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"PolicyNames"},ListKeys:{limit_key:"Limit",input_token:"Marker",output_token:"NextMarker",more_results:"Truncated",result_key:"Keys"}}},i.apiLoader.services.lambda={},i.Lambda=i.Service.defineService("lambda",["2014-11-11","2015-03-31"]),i.apiLoader.services.lambda["2015-03-31"]={version:"2.0",metadata:{apiVersion:"2015-03-31",endpointPrefix:"lambda",protocol:"rest-json",serviceFullName:"AWS Lambda",signatureVersion:"v4"},operations:{AddPermission:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:201},input:{type:"structure",required:["FunctionName","StatementId","Action","Principal"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{},Action:{},Principal:{},SourceArn:{},SourceAccount:{},EventSourceToken:{},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Statement:{}}}},CreateAlias:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/aliases",responseCode:201},input:{type:"structure",required:["FunctionName","Name","FunctionVersion"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{},FunctionVersion:{},Description:{}}},output:{shape:"Sg"}},CreateEventSourceMapping:{http:{requestUri:"/2015-03-31/event-source-mappings/",responseCode:202},input:{type:"structure",required:["EventSourceArn","FunctionName","StartingPosition"],members:{EventSourceArn:{},FunctionName:{},Enabled:{type:"boolean"},BatchSize:{type:"integer"},StartingPosition:{}}},output:{shape:"Sm"}},CreateFunction:{http:{requestUri:"/2015-03-31/functions",responseCode:201},input:{type:"structure",required:["FunctionName","Runtime","Role","Handler","Code"],members:{FunctionName:{},Runtime:{},Role:{},Handler:{},Code:{type:"structure",members:{ZipFile:{type:"blob"},S3Bucket:{},S3Key:{},S3ObjectVersion:{}}},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},Publish:{type:"boolean"},VpcConfig:{shape:"S10"}}},output:{shape:"S15"}},DeleteAlias:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:204},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}}},DeleteEventSourceMapping:{http:{method:"DELETE",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:202},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"Sm"}},DeleteFunction:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:204},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},GetAlias:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"}}},output:{shape:"Sg"}},GetEventSourceMapping:{http:{method:"GET",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:200},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"}}},output:{shape:"Sm"}},GetFunction:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Configuration:{shape:"S15"},Code:{type:"structure",members:{RepositoryType:{},Location:{}}}}}},GetFunctionConfiguration:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{shape:"S15"}},GetPolicy:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/policy",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Qualifier:{location:"querystring",locationName:"Qualifier"}}},output:{type:"structure",members:{Policy:{}}}},Invoke:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/invocations"},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvocationType:{location:"header",locationName:"X-Amz-Invocation-Type"},LogType:{location:"header",locationName:"X-Amz-Log-Type"},ClientContext:{location:"header",locationName:"X-Amz-Client-Context"},Payload:{type:"blob"},Qualifier:{location:"querystring",locationName:"Qualifier"}},payload:"Payload"},output:{type:"structure",members:{StatusCode:{location:"statusCode",type:"integer"},FunctionError:{location:"header",locationName:"X-Amz-Function-Error"},LogResult:{location:"header",locationName:"X-Amz-Log-Result"},Payload:{type:"blob"}},payload:"Payload"}},InvokeAsync:{http:{requestUri:"/2014-11-13/functions/{FunctionName}/invoke-async/",responseCode:202},input:{type:"structure",required:["FunctionName","InvokeArgs"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},InvokeArgs:{type:"blob",streaming:!0}},deprecated:!0,payload:"InvokeArgs"},output:{type:"structure",members:{Status:{location:"statusCode",type:"integer"}},deprecated:!0},deprecated:!0},ListAliases:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/aliases",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},FunctionVersion:{location:"querystring",locationName:"FunctionVersion"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Aliases:{type:"list",member:{shape:"Sg"}}}}},ListEventSourceMappings:{http:{method:"GET",requestUri:"/2015-03-31/event-source-mappings/",responseCode:200},input:{type:"structure",members:{EventSourceArn:{location:"querystring",locationName:"EventSourceArn"},FunctionName:{location:"querystring",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},EventSourceMappings:{type:"list",member:{shape:"Sm"}}}}},ListFunctions:{http:{method:"GET",requestUri:"/2015-03-31/functions/",responseCode:200},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Functions:{shape:"S23"}}}},ListVersionsByFunction:{http:{method:"GET",requestUri:"/2015-03-31/functions/{FunctionName}/versions",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Marker:{location:"querystring",locationName:"Marker"},MaxItems:{location:"querystring",locationName:"MaxItems",type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Versions:{shape:"S23"}}}},PublishVersion:{http:{requestUri:"/2015-03-31/functions/{FunctionName}/versions",responseCode:201},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},CodeSha256:{},Description:{}}},output:{shape:"S15"}},RemovePermission:{http:{method:"DELETE",requestUri:"/2015-03-31/functions/{FunctionName}/policy/{StatementId}",responseCode:204},input:{type:"structure",required:["FunctionName","StatementId"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},StatementId:{location:"uri",locationName:"StatementId"},Qualifier:{location:"querystring",locationName:"Qualifier"}}}},UpdateAlias:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/aliases/{Name}",responseCode:200},input:{type:"structure",required:["FunctionName","Name"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Name:{location:"uri",locationName:"Name"},FunctionVersion:{},Description:{}}},output:{shape:"Sg"}},UpdateEventSourceMapping:{http:{method:"PUT",requestUri:"/2015-03-31/event-source-mappings/{UUID}",responseCode:202},input:{type:"structure",required:["UUID"],members:{UUID:{location:"uri",locationName:"UUID"},FunctionName:{},Enabled:{type:"boolean"},BatchSize:{type:"integer"}}},output:{shape:"Sm"}},UpdateFunctionCode:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/code",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},ZipFile:{type:"blob"},S3Bucket:{},S3Key:{},S3ObjectVersion:{},Publish:{type:"boolean"}}},output:{shape:"S15"}},UpdateFunctionConfiguration:{http:{method:"PUT",requestUri:"/2015-03-31/functions/{FunctionName}/configuration",responseCode:200},input:{type:"structure",required:["FunctionName"],members:{FunctionName:{location:"uri",locationName:"FunctionName"},Role:{},Handler:{},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},VpcConfig:{shape:"S10"},Runtime:{}}},output:{shape:"S15"}}},shapes:{Sg:{type:"structure",members:{AliasArn:{},Name:{},FunctionVersion:{},Description:{}}},Sm:{type:"structure",members:{UUID:{},BatchSize:{type:"integer"},EventSourceArn:{},FunctionArn:{},LastModified:{type:"timestamp"},LastProcessingResult:{},State:{},StateTransitionReason:{}}},S10:{type:"structure",members:{SubnetIds:{shape:"S11"},SecurityGroupIds:{shape:"S13"}}},S11:{type:"list",member:{}},S13:{type:"list",member:{}},S15:{type:"structure",members:{FunctionName:{},FunctionArn:{},Runtime:{},Role:{},Handler:{},CodeSize:{type:"long"},Description:{},Timeout:{type:"integer"},MemorySize:{type:"integer"},LastModified:{},CodeSha256:{},Version:{},VpcConfig:{type:"structure",members:{SubnetIds:{shape:"S11"},SecurityGroupIds:{shape:"S13"},VpcId:{}}}}},S23:{type:"list",member:{shape:"S15"}}},paginators:{ListEventSourceMappings:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"EventSourceMappings"},ListFunctions:{input_token:"Marker",output_token:"NextMarker",limit_key:"MaxItems",result_key:"Functions"}}},i.apiLoader.services.machinelearning={},i.MachineLearning=i.Service.defineService("machinelearning",["2014-12-12"]),e("./services/machinelearning"),i.apiLoader.services.machinelearning["2014-12-12"]={version:"2.0",metadata:{apiVersion:"2014-12-12",endpointPrefix:"machinelearning",jsonVersion:"1.1",serviceFullName:"Amazon Machine Learning",signatureVersion:"v4",targetPrefix:"AmazonML_20141212",protocol:"json"},operations:{AddTags:{input:{type:"structure",required:["Tags","ResourceId","ResourceType"],members:{Tags:{shape:"S2"},ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{}}},http:{}},CreateBatchPrediction:{input:{type:"structure",required:["BatchPredictionId","MLModelId","BatchPredictionDataSourceId","OutputUri"],members:{BatchPredictionId:{},BatchPredictionName:{},MLModelId:{},BatchPredictionDataSourceId:{},OutputUri:{}}},output:{type:"structure",members:{BatchPredictionId:{}}},http:{}},CreateDataSourceFromRDS:{input:{type:"structure",required:["DataSourceId","RDSData","RoleARN"],members:{DataSourceId:{},DataSourceName:{},RDSData:{type:"structure",required:["DatabaseInformation","SelectSqlQuery","DatabaseCredentials","S3StagingLocation","ResourceRole","ServiceRole","SubnetId","SecurityGroupIds"],members:{DatabaseInformation:{shape:"Sf"},SelectSqlQuery:{},DatabaseCredentials:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},S3StagingLocation:{},DataRearrangement:{},DataSchema:{},DataSchemaUri:{},ResourceRole:{},ServiceRole:{},SubnetId:{},SecurityGroupIds:{type:"list",member:{}}}},RoleARN:{},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}},http:{}},CreateDataSourceFromRedshift:{input:{type:"structure",required:["DataSourceId","DataSpec","RoleARN"],members:{DataSourceId:{},DataSourceName:{},DataSpec:{type:"structure",required:["DatabaseInformation","SelectSqlQuery","DatabaseCredentials","S3StagingLocation"],members:{DatabaseInformation:{shape:"Sy"},SelectSqlQuery:{},DatabaseCredentials:{type:"structure",required:["Username","Password"],members:{Username:{},Password:{}}},S3StagingLocation:{},DataRearrangement:{},DataSchema:{},DataSchemaUri:{}}},RoleARN:{},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}},http:{}},CreateDataSourceFromS3:{input:{type:"structure",required:["DataSourceId","DataSpec"],members:{DataSourceId:{},DataSourceName:{},DataSpec:{type:"structure",required:["DataLocationS3"],members:{DataLocationS3:{},DataRearrangement:{},DataSchema:{},DataSchemaLocationS3:{}}},ComputeStatistics:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{}}},http:{}},CreateEvaluation:{input:{type:"structure",required:["EvaluationId","MLModelId","EvaluationDataSourceId"],members:{EvaluationId:{},EvaluationName:{},MLModelId:{},EvaluationDataSourceId:{}}},output:{type:"structure",members:{EvaluationId:{}}},http:{}},CreateMLModel:{input:{type:"structure",required:["MLModelId","MLModelType","TrainingDataSourceId"],members:{MLModelId:{},MLModelName:{},MLModelType:{},Parameters:{shape:"S1d"},TrainingDataSourceId:{},
Recipe:{},RecipeUri:{}}},output:{type:"structure",members:{MLModelId:{}}},http:{}},CreateRealtimeEndpoint:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{},RealtimeEndpointInfo:{shape:"S1j"}}},http:{}},DeleteBatchPrediction:{input:{type:"structure",required:["BatchPredictionId"],members:{BatchPredictionId:{}}},output:{type:"structure",members:{BatchPredictionId:{}}},http:{}},DeleteDataSource:{input:{type:"structure",required:["DataSourceId"],members:{DataSourceId:{}}},output:{type:"structure",members:{DataSourceId:{}}},http:{}},DeleteEvaluation:{input:{type:"structure",required:["EvaluationId"],members:{EvaluationId:{}}},output:{type:"structure",members:{EvaluationId:{}}},http:{}},DeleteMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{}}},http:{}},DeleteRealtimeEndpoint:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{}}},output:{type:"structure",members:{MLModelId:{},RealtimeEndpointInfo:{shape:"S1j"}}},http:{}},DeleteTags:{input:{type:"structure",required:["TagKeys","ResourceId","ResourceType"],members:{TagKeys:{type:"list",member:{}},ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{}}},http:{}},DescribeBatchPredictions:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{BatchPredictionId:{},MLModelId:{},BatchPredictionDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},OutputUri:{},Message:{}}}},NextToken:{}}},http:{}},DescribeDataSources:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{DataSourceId:{},DataLocationS3:{},DataRearrangement:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},DataSizeInBytes:{type:"long"},NumberOfFiles:{type:"long"},Name:{},Status:{},Message:{},RedshiftMetadata:{shape:"S2i"},RDSMetadata:{shape:"S2j"},RoleARN:{},ComputeStatistics:{type:"boolean"}}}},NextToken:{}}},http:{}},DescribeEvaluations:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{EvaluationId:{},MLModelId:{},EvaluationDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},PerformanceMetrics:{shape:"S2q"},Message:{}}}},NextToken:{}}},http:{}},DescribeMLModels:{input:{type:"structure",members:{FilterVariable:{},EQ:{},GT:{},LT:{},GE:{},LE:{},NE:{},Prefix:{},SortOrder:{},NextToken:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Results:{type:"list",member:{type:"structure",members:{MLModelId:{},TrainingDataSourceId:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},SizeInBytes:{type:"long"},EndpointInfo:{shape:"S1j"},TrainingParameters:{shape:"S1d"},InputDataLocationS3:{},Algorithm:{},MLModelType:{},ScoreThreshold:{type:"float"},ScoreThresholdLastUpdatedAt:{type:"timestamp"},Message:{}}}},NextToken:{}}},http:{}},DescribeTags:{input:{type:"structure",required:["ResourceId","ResourceType"],members:{ResourceId:{},ResourceType:{}}},output:{type:"structure",members:{ResourceId:{},ResourceType:{},Tags:{shape:"S2"}}},http:{}},GetBatchPrediction:{input:{type:"structure",required:["BatchPredictionId"],members:{BatchPredictionId:{}}},output:{type:"structure",members:{BatchPredictionId:{},MLModelId:{},BatchPredictionDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},OutputUri:{},LogUri:{},Message:{}}},http:{}},GetDataSource:{input:{type:"structure",required:["DataSourceId"],members:{DataSourceId:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{DataSourceId:{},DataLocationS3:{},DataRearrangement:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},DataSizeInBytes:{type:"long"},NumberOfFiles:{type:"long"},Name:{},Status:{},LogUri:{},Message:{},RedshiftMetadata:{shape:"S2i"},RDSMetadata:{shape:"S2j"},RoleARN:{},ComputeStatistics:{type:"boolean"},DataSourceSchema:{}}},http:{}},GetEvaluation:{input:{type:"structure",required:["EvaluationId"],members:{EvaluationId:{}}},output:{type:"structure",members:{EvaluationId:{},MLModelId:{},EvaluationDataSourceId:{},InputDataLocationS3:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},PerformanceMetrics:{shape:"S2q"},LogUri:{},Message:{}}},http:{}},GetMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{},Verbose:{type:"boolean"}}},output:{type:"structure",members:{MLModelId:{},TrainingDataSourceId:{},CreatedByIamUser:{},CreatedAt:{type:"timestamp"},LastUpdatedAt:{type:"timestamp"},Name:{},Status:{},SizeInBytes:{type:"long"},EndpointInfo:{shape:"S1j"},TrainingParameters:{shape:"S1d"},InputDataLocationS3:{},MLModelType:{},ScoreThreshold:{type:"float"},ScoreThresholdLastUpdatedAt:{type:"timestamp"},LogUri:{},Message:{},Recipe:{},Schema:{}}},http:{}},Predict:{input:{type:"structure",required:["MLModelId","Record","PredictEndpoint"],members:{MLModelId:{},Record:{type:"map",key:{},value:{}},PredictEndpoint:{}}},output:{type:"structure",members:{Prediction:{type:"structure",members:{predictedLabel:{},predictedValue:{type:"float"},predictedScores:{type:"map",key:{},value:{type:"float"}},details:{type:"map",key:{},value:{}}}}}},http:{}},UpdateBatchPrediction:{input:{type:"structure",required:["BatchPredictionId","BatchPredictionName"],members:{BatchPredictionId:{},BatchPredictionName:{}}},output:{type:"structure",members:{BatchPredictionId:{}}},http:{}},UpdateDataSource:{input:{type:"structure",required:["DataSourceId","DataSourceName"],members:{DataSourceId:{},DataSourceName:{}}},output:{type:"structure",members:{DataSourceId:{}}},http:{}},UpdateEvaluation:{input:{type:"structure",required:["EvaluationId","EvaluationName"],members:{EvaluationId:{},EvaluationName:{}}},output:{type:"structure",members:{EvaluationId:{}}},http:{}},UpdateMLModel:{input:{type:"structure",required:["MLModelId"],members:{MLModelId:{},MLModelName:{},ScoreThreshold:{type:"float"}}},output:{type:"structure",members:{MLModelId:{}}},http:{}}},shapes:{S2:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},Sf:{type:"structure",required:["InstanceIdentifier","DatabaseName"],members:{InstanceIdentifier:{},DatabaseName:{}}},Sy:{type:"structure",required:["DatabaseName","ClusterIdentifier"],members:{DatabaseName:{},ClusterIdentifier:{}}},S1d:{type:"map",key:{},value:{}},S1j:{type:"structure",members:{PeakRequestsPerSecond:{type:"integer"},CreatedAt:{type:"timestamp"},EndpointUrl:{},EndpointStatus:{}}},S2i:{type:"structure",members:{RedshiftDatabase:{shape:"Sy"},DatabaseUserName:{},SelectSqlQuery:{}}},S2j:{type:"structure",members:{Database:{shape:"Sf"},DatabaseUserName:{},SelectSqlQuery:{},ResourceRole:{},ServiceRole:{},DataPipelineId:{}}},S2q:{type:"structure",members:{Properties:{type:"map",key:{},value:{}}}}},examples:{},paginators:{DescribeBatchPredictions:{limit_key:"Limit",output_token:"NextToken",input_token:"NextToken",result_key:"Results"},DescribeDataSources:{limit_key:"Limit",output_token:"NextToken",input_token:"NextToken",result_key:"Results"},DescribeEvaluations:{limit_key:"Limit",output_token:"NextToken",input_token:"NextToken",result_key:"Results"},DescribeMLModels:{limit_key:"Limit",output_token:"NextToken",input_token:"NextToken",result_key:"Results"}},waiters:{DataSourceAvailable:{delay:30,operation:"DescribeDataSources",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},MLModelAvailable:{delay:30,operation:"DescribeMLModels",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},EvaluationAvailable:{delay:30,operation:"DescribeEvaluations",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]},BatchPredictionAvailable:{delay:30,operation:"DescribeBatchPredictions",maxAttempts:60,acceptors:[{expected:"COMPLETED",matcher:"pathAll",state:"success",argument:"Results[].Status"},{expected:"FAILED",matcher:"pathAny",state:"failure",argument:"Results[].Status"}]}}},i.apiLoader.services.marketplacecommerceanalytics={},i.MarketplaceCommerceAnalytics=i.Service.defineService("marketplacecommerceanalytics",["2015-07-01"]),i.apiLoader.services.marketplacecommerceanalytics["2015-07-01"]={version:"2.0",metadata:{apiVersion:"2015-07-01",endpointPrefix:"marketplacecommerceanalytics",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Marketplace Commerce Analytics",signatureVersion:"v4",signingName:"marketplacecommerceanalytics",targetPrefix:"MarketplaceCommerceAnalytics20150701"},operations:{GenerateDataSet:{input:{type:"structure",required:["dataSetType","dataSetPublicationDate","roleNameArn","destinationS3BucketName","snsTopicArn"],members:{dataSetType:{},dataSetPublicationDate:{type:"timestamp"},roleNameArn:{},destinationS3BucketName:{},destinationS3Prefix:{},snsTopicArn:{},customerDefinedValues:{type:"map",key:{},value:{}}}},output:{type:"structure",members:{dataSetRequestId:{}}},http:{}}},shapes:{}},i.apiLoader.services.mobileanalytics={},i.MobileAnalytics=i.Service.defineService("mobileanalytics",["2014-06-05"]),i.apiLoader.services.mobileanalytics["2014-06-05"]={version:"2.0",metadata:{apiVersion:"2014-06-05",endpointPrefix:"mobileanalytics",serviceFullName:"Amazon Mobile Analytics",signatureVersion:"v4",protocol:"rest-json"},operations:{PutEvents:{http:{requestUri:"/2014-06-05/events",responseCode:202},input:{type:"structure",required:["events","clientContext"],members:{events:{type:"list",member:{type:"structure",required:["eventType","timestamp"],members:{eventType:{},timestamp:{},session:{type:"structure",members:{id:{},duration:{type:"long"},startTimestamp:{},stopTimestamp:{}}},version:{},attributes:{type:"map",key:{},value:{}},metrics:{type:"map",key:{},value:{type:"double"}}}}},clientContext:{location:"header",locationName:"x-amz-Client-Context"},clientContextEncoding:{location:"header",locationName:"x-amz-Client-Context-Encoding"}}}}},shapes:{}},i.apiLoader.services.opsworks={},i.OpsWorks=i.Service.defineService("opsworks",["2013-02-18"]),i.apiLoader.services.opsworks["2013-02-18"]={version:"2.0",metadata:{apiVersion:"2013-02-18",endpointPrefix:"opsworks",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS OpsWorks",signatureVersion:"v4",targetPrefix:"OpsWorks_20130218"},operations:{AssignInstance:{input:{type:"structure",required:["InstanceId","LayerIds"],members:{InstanceId:{},LayerIds:{shape:"S3"}}},http:{}},AssignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},InstanceId:{}}},http:{}},AssociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},InstanceId:{}}},http:{}},AttachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}},http:{}},CloneStack:{input:{type:"structure",required:["SourceStackId","ServiceRoleArn"],members:{SourceStackId:{},Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},ClonePermissions:{type:"boolean"},CloneAppIds:{shape:"S3"},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}},http:{}},CreateApp:{input:{type:"structure",required:["StackId","Name","Type"],members:{StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}},output:{type:"structure",members:{AppId:{}}},http:{}},CreateDeployment:{input:{type:"structure",required:["StackId","Command"],members:{StackId:{},AppId:{},InstanceIds:{shape:"S3"},LayerIds:{shape:"S3"},Command:{shape:"Ss"},Comment:{},CustomJson:{}}},output:{type:"structure",members:{DeploymentId:{}}},http:{}},CreateInstance:{input:{type:"structure",required:["StackId","LayerIds","InstanceType"],members:{StackId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},AvailabilityZone:{},VirtualizationType:{},SubnetId:{},Architecture:{},RootDeviceType:{},BlockDeviceMappings:{shape:"Sz"},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{},Tenancy:{}}},output:{type:"structure",members:{InstanceId:{}}},http:{}},CreateLayer:{input:{type:"structure",required:["StackId","Type","Name","Shortname"],members:{StackId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S19"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1b"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1c"}}},output:{type:"structure",members:{LayerId:{}}},http:{}},CreateStack:{input:{type:"structure",required:["Name","Region","ServiceRoleArn","DefaultInstanceProfileArn"],members:{Name:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},AgentVersion:{}}},output:{type:"structure",members:{StackId:{}}},http:{}},CreateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}},output:{type:"structure",members:{IamUserArn:{}}},http:{}},DeleteApp:{input:{type:"structure",required:["AppId"],members:{AppId:{}}},http:{}},DeleteInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},DeleteElasticIp:{type:"boolean"},DeleteVolumes:{type:"boolean"}}},http:{}},DeleteLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}},http:{}},DeleteStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},http:{}},DeleteUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{}}},http:{}},DeregisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn"],members:{EcsClusterArn:{}}},http:{}},DeregisterElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}},http:{}},DeregisterInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},http:{}},DeregisterRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{}}},http:{}},DeregisterVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}},http:{}},DescribeAgentVersions:{input:{type:"structure",members:{StackId:{},ConfigurationManager:{shape:"Sa"}}},output:{type:"structure",members:{AgentVersions:{type:"list",member:{type:"structure",members:{Version:{},ConfigurationManager:{shape:"Sa"}}}}}},http:{}},DescribeApps:{input:{type:"structure",members:{StackId:{},AppIds:{shape:"S3"}}},output:{type:"structure",members:{Apps:{type:"list",member:{type:"structure",members:{AppId:{},StackId:{},Shortname:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},CreatedAt:{},Environment:{shape:"So"}}}}}},http:{}},DescribeCommands:{input:{type:"structure",members:{DeploymentId:{},InstanceId:{},CommandIds:{shape:"S3"}}},output:{type:"structure",members:{Commands:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},DeploymentId:{},CreatedAt:{},AcknowledgedAt:{},CompletedAt:{},Status:{},ExitCode:{type:"integer"},LogUrl:{},Type:{}}}}}},http:{}},DescribeDeployments:{input:{type:"structure",members:{StackId:{},AppId:{},DeploymentIds:{shape:"S3"}}},output:{type:"structure",members:{Deployments:{type:"list",member:{type:"structure",members:{DeploymentId:{},StackId:{},AppId:{},CreatedAt:{},CompletedAt:{},Duration:{type:"integer"},IamUserArn:{},Comment:{},Command:{shape:"Ss"},Status:{},CustomJson:{},InstanceIds:{shape:"S3"}}}}}},http:{}},DescribeEcsClusters:{input:{type:"structure",members:{EcsClusterArns:{shape:"S3"},StackId:{},NextToken:{},MaxResults:{type:"integer"}}},output:{type:"structure",members:{EcsClusters:{type:"list",member:{type:"structure",members:{EcsClusterArn:{},EcsClusterName:{},StackId:{},RegisteredAt:{}}}},NextToken:{}}},http:{}},DescribeElasticIps:{input:{type:"structure",members:{InstanceId:{},StackId:{},Ips:{shape:"S3"}}},output:{type:"structure",members:{ElasticIps:{type:"list",member:{type:"structure",members:{Ip:{},Name:{},Domain:{},Region:{},InstanceId:{}}}}}},http:{}},DescribeElasticLoadBalancers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{ElasticLoadBalancers:{type:"list",member:{type:"structure",members:{ElasticLoadBalancerName:{},Region:{},DnsName:{},StackId:{},LayerId:{},VpcId:{},AvailabilityZones:{shape:"S3"},SubnetIds:{shape:"S3"},Ec2InstanceIds:{shape:"S3"}}}}}},http:{}},DescribeInstances:{input:{type:"structure",members:{StackId:{},LayerId:{},InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{Instances:{type:"list",member:{type:"structure",members:{AgentVersion:{},AmiId:{},Architecture:{},AutoScalingType:{},AvailabilityZone:{},BlockDeviceMappings:{shape:"Sz"},CreatedAt:{},EbsOptimized:{type:"boolean"},Ec2InstanceId:{},EcsClusterArn:{},EcsContainerInstanceArn:{},ElasticIp:{},Hostname:{},InfrastructureClass:{},InstallUpdatesOnBoot:{type:"boolean"},InstanceId:{},InstanceProfileArn:{},InstanceType:{},LastServiceErrorId:{},LayerIds:{shape:"S3"},Os:{},Platform:{},PrivateDns:{},PrivateIp:{},PublicDns:{},PublicIp:{},RegisteredBy:{},ReportedAgentVersion:{},ReportedOs:{type:"structure",members:{Family:{},Name:{},Version:{}}},RootDeviceType:{},RootDeviceVolumeId:{},SecurityGroupIds:{shape:"S3"},SshHostDsaKeyFingerprint:{},SshHostRsaKeyFingerprint:{},SshKeyName:{},StackId:{},Status:{},SubnetId:{},Tenancy:{},VirtualizationType:{}}}}}},http:{}},DescribeLayers:{input:{type:"structure",members:{StackId:{},LayerIds:{shape:"S3"}}},output:{type:"structure",members:{Layers:{type:"list",member:{type:"structure",members:{StackId:{},LayerId:{},Type:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},DefaultSecurityGroupNames:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S19"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},DefaultRecipes:{shape:"S1b"},CustomRecipes:{shape:"S1b"},CreatedAt:{},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1c"}}}}}},http:{}},DescribeLoadBasedAutoScaling:{input:{type:"structure",required:["LayerIds"],members:{LayerIds:{shape:"S3"}}},output:{type:"structure",members:{LoadBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S30"},DownScaling:{shape:"S30"}}}}}},http:{}},DescribeMyUserProfile:{output:{type:"structure",members:{UserProfile:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{}}}}},http:{}},DescribePermissions:{input:{type:"structure",members:{IamUserArn:{},StackId:{}}},output:{type:"structure",members:{Permissions:{type:"list",member:{type:"structure",members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}}}}},http:{}},DescribeRaidArrays:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayIds:{shape:"S3"}}},output:{type:"structure",members:{RaidArrays:{type:"list",member:{type:"structure",members:{RaidArrayId:{},InstanceId:{},Name:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},Device:{},MountPoint:{},AvailabilityZone:{},CreatedAt:{},StackId:{},VolumeType:{},Iops:{type:"integer"}}}}}},http:{}},DescribeRdsDbInstances:{input:{type:"structure",required:["StackId"],members:{StackId:{},RdsDbInstanceArns:{shape:"S3"}}},output:{type:"structure",members:{RdsDbInstances:{type:"list",member:{type:"structure",members:{RdsDbInstanceArn:{},DbInstanceIdentifier:{},DbUser:{},DbPassword:{},Region:{},Address:{},Engine:{},StackId:{},MissingOnRds:{type:"boolean"}}}}}},http:{}},DescribeServiceErrors:{input:{type:"structure",members:{StackId:{},InstanceId:{},ServiceErrorIds:{shape:"S3"}}},output:{type:"structure",members:{ServiceErrors:{type:"list",member:{type:"structure",members:{ServiceErrorId:{},StackId:{},InstanceId:{},Type:{},Message:{},CreatedAt:{}}}}}},http:{}},DescribeStackProvisioningParameters:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{AgentInstallerUrl:{},Parameters:{type:"map",key:{},value:{}}}},http:{}},DescribeStackSummary:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},output:{type:"structure",members:{StackSummary:{type:"structure",members:{StackId:{},Name:{},Arn:{},LayersCount:{type:"integer"},AppsCount:{type:"integer"},InstancesCount:{type:"structure",members:{Assigning:{type:"integer"},Booting:{type:"integer"},ConnectionLost:{type:"integer"},Deregistering:{type:"integer"},Online:{type:"integer"},Pending:{type:"integer"},Rebooting:{type:"integer"},Registered:{type:"integer"},Registering:{type:"integer"},Requested:{type:"integer"},RunningSetup:{type:"integer"},SetupFailed:{type:"integer"},ShuttingDown:{type:"integer"},StartFailed:{type:"integer"},Stopped:{type:"integer"},Stopping:{type:"integer"},Terminated:{type:"integer"},Terminating:{type:"integer"},Unassigning:{type:"integer"}}}}}}},http:{}},DescribeStacks:{input:{type:"structure",members:{StackIds:{shape:"S3"}}},output:{type:"structure",members:{Stacks:{type:"list",member:{type:"structure",members:{StackId:{},Name:{},Arn:{},Region:{},VpcId:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},UseOpsworksSecurityGroups:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},CreatedAt:{},DefaultRootDeviceType:{},AgentVersion:{}}}}}},http:{}},DescribeTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceIds"],members:{InstanceIds:{shape:"S3"}}},output:{type:"structure",members:{TimeBasedAutoScalingConfigurations:{type:"list",member:{type:"structure",members:{InstanceId:{},AutoScalingSchedule:{shape:"S40"}}}}}},http:{}},DescribeUserProfiles:{input:{type:"structure",members:{IamUserArns:{shape:"S3"}}},output:{type:"structure",members:{UserProfiles:{type:"list",member:{type:"structure",members:{IamUserArn:{},Name:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}}}}},http:{}},DescribeVolumes:{input:{type:"structure",members:{InstanceId:{},StackId:{},RaidArrayId:{},VolumeIds:{shape:"S3"}}},output:{type:"structure",members:{Volumes:{type:"list",member:{type:"structure",members:{VolumeId:{},Ec2VolumeId:{},Name:{},RaidArrayId:{},InstanceId:{},Status:{},Size:{type:"integer"},Device:{},MountPoint:{},Region:{},AvailabilityZone:{},VolumeType:{},Iops:{type:"integer"}}}}}},http:{}},DetachElasticLoadBalancer:{input:{type:"structure",required:["ElasticLoadBalancerName","LayerId"],members:{ElasticLoadBalancerName:{},LayerId:{}}},http:{}},DisassociateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{}}},http:{}},GetHostnameSuggestion:{input:{type:"structure",required:["LayerId"],members:{LayerId:{}}},output:{type:"structure",members:{LayerId:{},Hostname:{}}},http:{}},GrantAccess:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},ValidForInMinutes:{type:"integer"}}},output:{type:"structure",members:{TemporaryCredential:{type:"structure",members:{Username:{},Password:{},ValidForInMinutes:{type:"integer"},InstanceId:{}}}}},http:{}},RebootInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},http:{}},RegisterEcsCluster:{input:{type:"structure",required:["EcsClusterArn","StackId"],members:{EcsClusterArn:{},StackId:{}}},output:{type:"structure",members:{EcsClusterArn:{}}},http:{}},RegisterElasticIp:{input:{type:"structure",required:["ElasticIp","StackId"],members:{ElasticIp:{},StackId:{}}},output:{type:"structure",members:{ElasticIp:{}}},http:{}},RegisterInstance:{input:{type:"structure",required:["StackId"],members:{StackId:{},Hostname:{},PublicIp:{},PrivateIp:{},RsaPublicKey:{},RsaPublicKeyFingerprint:{},InstanceIdentity:{type:"structure",members:{Document:{},Signature:{}}}}},output:{type:"structure",members:{InstanceId:{}}},http:{}},RegisterRdsDbInstance:{input:{type:"structure",required:["StackId","RdsDbInstanceArn","DbUser","DbPassword"],members:{StackId:{},RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}},http:{}},RegisterVolume:{input:{type:"structure",required:["StackId"],members:{Ec2VolumeId:{},StackId:{}}},output:{type:"structure",members:{VolumeId:{}}},http:{}},SetLoadBasedAutoScaling:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Enable:{type:"boolean"},UpScaling:{shape:"S30"},DownScaling:{shape:"S30"}}},http:{}},SetPermission:{input:{type:"structure",required:["StackId","IamUserArn"],members:{StackId:{},IamUserArn:{},AllowSsh:{type:"boolean"},AllowSudo:{type:"boolean"},Level:{}}},http:{}},SetTimeBasedAutoScaling:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},AutoScalingSchedule:{shape:"S40"}}},http:{}},StartInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},http:{}},StartStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},http:{}},StopInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},http:{}},StopStack:{input:{type:"structure",required:["StackId"],members:{StackId:{}}},http:{}},UnassignInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},http:{}},UnassignVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{}}},http:{}},UpdateApp:{input:{type:"structure",required:["AppId"],members:{AppId:{},Name:{},Description:{},DataSources:{shape:"Si"},Type:{},AppSource:{shape:"Sd"},Domains:{shape:"S3"},EnableSsl:{type:"boolean"},SslConfiguration:{shape:"Sl"},Attributes:{shape:"Sm"},Environment:{shape:"So"}}},http:{}},UpdateElasticIp:{input:{type:"structure",required:["ElasticIp"],members:{ElasticIp:{},Name:{}}},http:{}},UpdateInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{},LayerIds:{shape:"S3"},InstanceType:{},AutoScalingType:{},Hostname:{},Os:{},AmiId:{},SshKeyName:{},Architecture:{},InstallUpdatesOnBoot:{type:"boolean"},EbsOptimized:{type:"boolean"},AgentVersion:{}}},http:{}},UpdateLayer:{input:{type:"structure",required:["LayerId"],members:{LayerId:{},Name:{},Shortname:{},Attributes:{shape:"S17"},CustomInstanceProfileArn:{},CustomJson:{},CustomSecurityGroupIds:{shape:"S3"},Packages:{shape:"S3"},VolumeConfigurations:{shape:"S19"},EnableAutoHealing:{type:"boolean"},AutoAssignElasticIps:{type:"boolean"},AutoAssignPublicIps:{type:"boolean"},CustomRecipes:{shape:"S1b"},InstallUpdatesOnBoot:{type:"boolean"},UseEbsOptimizedInstances:{type:"boolean"},LifecycleEventConfiguration:{shape:"S1c"}}},http:{}},UpdateMyUserProfile:{input:{type:"structure",members:{SshPublicKey:{}}},http:{}},UpdateRdsDbInstance:{input:{type:"structure",required:["RdsDbInstanceArn"],members:{RdsDbInstanceArn:{},DbUser:{},DbPassword:{}}},http:{}},UpdateStack:{input:{type:"structure",required:["StackId"],members:{StackId:{},Name:{},Attributes:{shape:"S8"},ServiceRoleArn:{},DefaultInstanceProfileArn:{},DefaultOs:{},HostnameTheme:{},DefaultAvailabilityZone:{},DefaultSubnetId:{},CustomJson:{},ConfigurationManager:{shape:"Sa"},ChefConfiguration:{shape:"Sb"},UseCustomCookbooks:{type:"boolean"},CustomCookbooksSource:{shape:"Sd"},DefaultSshKeyName:{},DefaultRootDeviceType:{},UseOpsworksSecurityGroups:{type:"boolean"},AgentVersion:{}}},http:{}},UpdateUserProfile:{input:{type:"structure",required:["IamUserArn"],members:{IamUserArn:{},SshUsername:{},SshPublicKey:{},AllowSelfManagement:{type:"boolean"}}},http:{}},UpdateVolume:{input:{type:"structure",required:["VolumeId"],members:{VolumeId:{},Name:{},MountPoint:{}}},http:{}}},shapes:{S3:{type:"list",member:{}},S8:{type:"map",key:{},value:{}},Sa:{type:"structure",members:{Name:{},Version:{}}},Sb:{type:"structure",members:{ManageBerkshelf:{type:"boolean"},BerkshelfVersion:{}}},Sd:{type:"structure",members:{Type:{},Url:{},Username:{},Password:{},SshKey:{},Revision:{}}},Si:{type:"list",member:{type:"structure",members:{Type:{},Arn:{},DatabaseName:{}}}},Sl:{type:"structure",required:["Certificate","PrivateKey"],members:{Certificate:{},PrivateKey:{},Chain:{}}},Sm:{type:"map",key:{},value:{}},So:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{},Secure:{type:"boolean"}}}},Ss:{type:"structure",required:["Name"],members:{Name:{},Args:{type:"map",key:{},value:{shape:"S3"}}}},Sz:{type:"list",member:{type:"structure",members:{DeviceName:{},NoDevice:{},VirtualName:{},Ebs:{type:"structure",members:{SnapshotId:{},Iops:{type:"integer"},VolumeSize:{type:"integer"},VolumeType:{},DeleteOnTermination:{type:"boolean"}}}}}},S17:{type:"map",key:{},value:{}},S19:{type:"list",member:{type:"structure",required:["MountPoint","NumberOfDisks","Size"],members:{MountPoint:{},RaidLevel:{type:"integer"},NumberOfDisks:{type:"integer"},Size:{type:"integer"},VolumeType:{},Iops:{type:"integer"}}}},S1b:{type:"structure",members:{Setup:{shape:"S3"},Configure:{shape:"S3"},Deploy:{shape:"S3"},Undeploy:{shape:"S3"},Shutdown:{shape:"S3"}}},S1c:{type:"structure",members:{Shutdown:{type:"structure",members:{ExecutionTimeout:{type:"integer"},DelayUntilElbConnectionsDrained:{type:"boolean"}}}}},S30:{type:"structure",members:{InstanceCount:{type:"integer"},ThresholdsWaitTime:{type:"integer"},IgnoreMetricsTime:{type:"integer"},CpuThreshold:{type:"double"},MemoryThreshold:{type:"double"},LoadThreshold:{type:"double"},Alarms:{shape:"S3"}}},S40:{type:"structure",members:{Monday:{shape:"S41"},Tuesday:{shape:"S41"},Wednesday:{shape:"S41"},Thursday:{shape:"S41"},Friday:{shape:"S41"},Saturday:{shape:"S41"},Sunday:{shape:"S41"}}},S41:{type:"map",key:{},value:{}}},paginators:{DescribeApps:{result_key:"Apps"},DescribeCommands:{result_key:"Commands"},DescribeDeployments:{result_key:"Deployments"},DescribeEcsClusters:{input_token:"NextToken",output_token:"NextToken",
limit_key:"MaxResults",result_key:"EcsClusters"},DescribeElasticIps:{result_key:"ElasticIps"},DescribeElasticLoadBalancers:{result_key:"ElasticLoadBalancers"},DescribeInstances:{result_key:"Instances"},DescribeLayers:{result_key:"Layers"},DescribeLoadBasedAutoScaling:{result_key:"LoadBasedAutoScalingConfigurations"},DescribePermissions:{result_key:"Permissions"},DescribeRaidArrays:{result_key:"RaidArrays"},DescribeServiceErrors:{result_key:"ServiceErrors"},DescribeStacks:{result_key:"Stacks"},DescribeTimeBasedAutoScaling:{result_key:"TimeBasedAutoScalingConfigurations"},DescribeUserProfiles:{result_key:"UserProfiles"},DescribeVolumes:{result_key:"Volumes"}},waiters:{AppExists:{delay:1,operation:"DescribeApps",maxAttempts:40,acceptors:[{expected:200,matcher:"status",state:"success"},{matcher:"status",expected:400,state:"failure"}]},DeploymentSuccessful:{delay:15,operation:"DescribeDeployments",maxAttempts:40,description:"Wait until a deployment has completed successfully",acceptors:[{expected:"successful",matcher:"pathAll",state:"success",argument:"Deployments[].Status"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"Deployments[].Status"}]},InstanceOnline:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is online.",acceptors:[{expected:"online",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"shutting_down",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopped",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminating",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceRegistered:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is registered.",acceptors:[{expected:"registered",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"shutting_down",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopped",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stopping",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminating",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"terminated",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceStopped:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is stopped.",acceptors:[{expected:"stopped",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"booting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"online",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"requested",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"running_setup",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"stop_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]},InstanceTerminated:{delay:15,operation:"DescribeInstances",maxAttempts:40,description:"Wait until OpsWorks instance is terminated.",acceptors:[{expected:"terminated",matcher:"pathAll",state:"success",argument:"Instances[].Status"},{expected:"ResourceNotFoundException",matcher:"error",state:"success"},{expected:"booting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"online",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"pending",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"requested",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"running_setup",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"setup_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"},{expected:"start_failed",matcher:"pathAny",state:"failure",argument:"Instances[].Status"}]}}},i.apiLoader.services.rds={},i.RDS=i.Service.defineService("rds",["2013-01-10","2013-02-12","2013-09-09","2014-10-31"]),i.apiLoader.services.rds["2014-10-31"]={version:"2.0",metadata:{apiVersion:"2014-10-31",endpointPrefix:"rds",protocol:"query",serviceAbbreviation:"Amazon RDS",serviceFullName:"Amazon Relational Database Service",signatureVersion:"v4",xmlNamespace:"http://rds.amazonaws.com/doc/2014-10-31/"},operations:{AddSourceIdentifierToSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"AddSourceIdentifierToSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}},http:{}},AddTagsToResource:{input:{type:"structure",required:["ResourceName","Tags"],members:{ResourceName:{},Tags:{shape:"S9"}}},http:{}},ApplyPendingMaintenanceAction:{input:{type:"structure",required:["ResourceIdentifier","ApplyAction","OptInType"],members:{ResourceIdentifier:{},ApplyAction:{},OptInType:{}}},output:{resultWrapper:"ApplyPendingMaintenanceActionResult",type:"structure",members:{ResourcePendingMaintenanceActions:{shape:"Sd"}}},http:{}},AuthorizeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"AuthorizeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sj"}}},http:{}},CopyDBClusterSnapshot:{input:{type:"structure",required:["SourceDBClusterSnapshotIdentifier","TargetDBClusterSnapshotIdentifier"],members:{SourceDBClusterSnapshotIdentifier:{},TargetDBClusterSnapshotIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"Sq"}}},http:{}},CopyDBParameterGroup:{input:{type:"structure",required:["SourceDBParameterGroupIdentifier","TargetDBParameterGroupIdentifier","TargetDBParameterGroupDescription"],members:{SourceDBParameterGroupIdentifier:{},TargetDBParameterGroupIdentifier:{},TargetDBParameterGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sv"}}},http:{}},CopyDBSnapshot:{input:{type:"structure",required:["SourceDBSnapshotIdentifier","TargetDBSnapshotIdentifier"],members:{SourceDBSnapshotIdentifier:{},TargetDBSnapshotIdentifier:{},KmsKeyId:{},Tags:{shape:"S9"},CopyTags:{type:"boolean"}}},output:{resultWrapper:"CopyDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sz"}}},http:{}},CopyOptionGroup:{input:{type:"structure",required:["SourceOptionGroupIdentifier","TargetOptionGroupIdentifier","TargetOptionGroupDescription"],members:{SourceOptionGroupIdentifier:{},TargetOptionGroupIdentifier:{},TargetOptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CopyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S13"}}},http:{}},CreateDBCluster:{input:{type:"structure",required:["DBClusterIdentifier","Engine","MasterUsername","MasterUserPassword"],members:{AvailabilityZones:{shape:"Sr"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S1d"},DBSubnetGroupName:{},Engine:{},EngineVersion:{},Port:{type:"integer"},MasterUsername:{},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},Tags:{shape:"S9"},StorageEncrypted:{type:"boolean"},KmsKeyId:{}}},output:{resultWrapper:"CreateDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},CreateDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","DBParameterGroupFamily","Description"],members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBClusterParameterGroupResult",type:"structure",members:{DBClusterParameterGroup:{shape:"S1n"}}},http:{}},CreateDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","DBClusterIdentifier"],members:{DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"Sq"}}},http:{}},CreateDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier","DBInstanceClass","Engine"],members:{DBName:{},DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},Engine:{},MasterUsername:{},MasterUserPassword:{},DBSecurityGroups:{shape:"S1r"},VpcSecurityGroupIds:{shape:"S1d"},AvailabilityZone:{},DBSubnetGroupName:{},PreferredMaintenanceWindow:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},Port:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},Iops:{type:"integer"},OptionGroupName:{},CharacterSetName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBClusterIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"}}},output:{resultWrapper:"CreateDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},CreateDBInstanceReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier","SourceDBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SourceDBInstanceIdentifier:{},DBInstanceClass:{},AvailabilityZone:{},Port:{type:"integer"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},PubliclyAccessible:{type:"boolean"},Tags:{shape:"S9"},DBSubnetGroupName:{},StorageType:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},MonitoringRoleArn:{}}},output:{resultWrapper:"CreateDBInstanceReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},CreateDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","DBParameterGroupFamily","Description"],members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBParameterGroupResult",type:"structure",members:{DBParameterGroup:{shape:"Sv"}}},http:{}},CreateDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName","DBSecurityGroupDescription"],members:{DBSecurityGroupName:{},DBSecurityGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSecurityGroupResult",type:"structure",members:{DBSecurityGroup:{shape:"Sj"}}},http:{}},CreateDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier","DBInstanceIdentifier"],members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sz"}}},http:{}},CreateDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","DBSubnetGroupDescription","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S2i"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1x"}}},http:{}},CreateEventSubscription:{input:{type:"structure",required:["SubscriptionName","SnsTopicArn"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},SourceIds:{shape:"S5"},Enabled:{type:"boolean"},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}},http:{}},CreateOptionGroup:{input:{type:"structure",required:["OptionGroupName","EngineName","MajorEngineVersion","OptionGroupDescription"],members:{OptionGroupName:{},EngineName:{},MajorEngineVersion:{},OptionGroupDescription:{},Tags:{shape:"S9"}}},output:{resultWrapper:"CreateOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S13"}}},http:{}},DeleteDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},DeleteDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{}}},http:{}},DeleteDBClusterSnapshot:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBClusterSnapshotResult",type:"structure",members:{DBClusterSnapshot:{shape:"Sq"}}},http:{}},DeleteDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},SkipFinalSnapshot:{type:"boolean"},FinalDBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},DeleteDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{}}},http:{}},DeleteDBSecurityGroup:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{}}},http:{}},DeleteDBSnapshot:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DeleteDBSnapshotResult",type:"structure",members:{DBSnapshot:{shape:"Sz"}}},http:{}},DeleteDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName"],members:{DBSubnetGroupName:{}}},http:{}},DeleteEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{}}},output:{resultWrapper:"DeleteEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}},http:{}},DeleteOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{}}},http:{}},DescribeAccountAttributes:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeAccountAttributesResult",type:"structure",members:{AccountQuotas:{type:"list",member:{locationName:"AccountQuota",type:"structure",members:{AccountQuotaName:{},Used:{type:"long"},Max:{type:"long"}},wrapper:!0}}}},http:{}},DescribeCertificates:{input:{type:"structure",members:{CertificateIdentifier:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeCertificatesResult",type:"structure",members:{Certificates:{type:"list",member:{locationName:"Certificate",type:"structure",members:{CertificateIdentifier:{},CertificateType:{},Thumbprint:{},ValidFrom:{type:"timestamp"},ValidTill:{type:"timestamp"}},wrapper:!0}},Marker:{}}},http:{}},DescribeDBClusterParameterGroups:{input:{type:"structure",members:{DBClusterParameterGroupName:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParameterGroupsResult",type:"structure",members:{Marker:{},DBClusterParameterGroups:{type:"list",member:{shape:"S1n",locationName:"DBClusterParameterGroup"}}}},http:{}},DescribeDBClusterParameters:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},Source:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClusterParametersResult",type:"structure",members:{Parameters:{shape:"S3k"},Marker:{}}},http:{}},DescribeDBClusterSnapshotAttributes:{input:{type:"structure",required:["DBClusterSnapshotIdentifier"],members:{DBClusterSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBClusterSnapshotAttributesResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S3p"}}},http:{}},DescribeDBClusterSnapshots:{input:{type:"structure",members:{DBClusterIdentifier:{},DBClusterSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"}}},output:{resultWrapper:"DescribeDBClusterSnapshotsResult",type:"structure",members:{Marker:{},DBClusterSnapshots:{type:"list",member:{shape:"Sq",locationName:"DBClusterSnapshot"}}}},http:{}},DescribeDBClusters:{input:{type:"structure",members:{DBClusterIdentifier:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBClustersResult",type:"structure",members:{Marker:{},DBClusters:{type:"list",member:{shape:"S1f",locationName:"DBCluster"}}}},http:{}},DescribeDBEngineVersions:{input:{type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{},DefaultOnly:{type:"boolean"},ListSupportedCharacterSets:{type:"boolean"}}},output:{resultWrapper:"DescribeDBEngineVersionsResult",type:"structure",members:{Marker:{},DBEngineVersions:{type:"list",member:{locationName:"DBEngineVersion",type:"structure",members:{Engine:{},EngineVersion:{},DBParameterGroupFamily:{},DBEngineDescription:{},DBEngineVersionDescription:{},DefaultCharacterSet:{shape:"S43"},SupportedCharacterSets:{type:"list",member:{shape:"S43",locationName:"CharacterSet"}},ValidUpgradeTarget:{type:"list",member:{locationName:"UpgradeTarget",type:"structure",members:{Engine:{},EngineVersion:{},Description:{},AutoUpgrade:{type:"boolean"},IsMajorVersionUpgrade:{type:"boolean"}}}}}}}}},http:{}},DescribeDBInstances:{input:{type:"structure",members:{DBInstanceIdentifier:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBInstancesResult",type:"structure",members:{Marker:{},DBInstances:{type:"list",member:{shape:"S1t",locationName:"DBInstance"}}}},http:{}},DescribeDBLogFiles:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},FilenameContains:{},FileLastWritten:{type:"long"},FileSize:{type:"long"},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBLogFilesResult",type:"structure",members:{DescribeDBLogFiles:{type:"list",member:{locationName:"DescribeDBLogFilesDetails",type:"structure",members:{LogFileName:{},LastWritten:{type:"long"},Size:{type:"long"}}}},Marker:{}}},http:{}},DescribeDBParameterGroups:{input:{type:"structure",members:{DBParameterGroupName:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParameterGroupsResult",type:"structure",members:{Marker:{},DBParameterGroups:{type:"list",member:{shape:"Sv",locationName:"DBParameterGroup"}}}},http:{}},DescribeDBParameters:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},Source:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBParametersResult",type:"structure",members:{Parameters:{shape:"S3k"},Marker:{}}},http:{}},DescribeDBSecurityGroups:{input:{type:"structure",members:{DBSecurityGroupName:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSecurityGroupsResult",type:"structure",members:{Marker:{},DBSecurityGroups:{type:"list",member:{shape:"Sj",locationName:"DBSecurityGroup"}}}},http:{}},DescribeDBSnapshotAttributes:{input:{type:"structure",required:["DBSnapshotIdentifier"],members:{DBSnapshotIdentifier:{}}},output:{resultWrapper:"DescribeDBSnapshotAttributesResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S4o"}}},http:{}},DescribeDBSnapshots:{input:{type:"structure",members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},SnapshotType:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{},IncludeShared:{type:"boolean"},IncludePublic:{type:"boolean"}}},output:{resultWrapper:"DescribeDBSnapshotsResult",type:"structure",members:{Marker:{},DBSnapshots:{type:"list",member:{shape:"Sz",locationName:"DBSnapshot"}}}},http:{}},DescribeDBSubnetGroups:{input:{type:"structure",members:{DBSubnetGroupName:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeDBSubnetGroupsResult",type:"structure",members:{Marker:{},DBSubnetGroups:{type:"list",member:{shape:"S1x",locationName:"DBSubnetGroup"}}}},http:{}},DescribeEngineDefaultClusterParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultClusterParametersResult",type:"structure",members:{EngineDefaults:{shape:"S4z"}}},http:{}},DescribeEngineDefaultParameters:{input:{type:"structure",required:["DBParameterGroupFamily"],members:{DBParameterGroupFamily:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEngineDefaultParametersResult",type:"structure",members:{EngineDefaults:{shape:"S4z"}}},http:{}},DescribeEventCategories:{input:{type:"structure",members:{SourceType:{},Filters:{shape:"S39"}}},output:{resultWrapper:"DescribeEventCategoriesResult",type:"structure",members:{EventCategoriesMapList:{type:"list",member:{locationName:"EventCategoriesMap",type:"structure",members:{SourceType:{},EventCategories:{shape:"S6"}},wrapper:!0}}}},http:{}},DescribeEventSubscriptions:{input:{type:"structure",members:{SubscriptionName:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventSubscriptionsResult",type:"structure",members:{Marker:{},EventSubscriptionsList:{type:"list",member:{shape:"S4",locationName:"EventSubscription"}}}},http:{}},DescribeEvents:{input:{type:"structure",members:{SourceIdentifier:{},SourceType:{},StartTime:{type:"timestamp"},EndTime:{type:"timestamp"},Duration:{type:"integer"},EventCategories:{shape:"S6"},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeEventsResult",type:"structure",members:{Marker:{},Events:{type:"list",member:{locationName:"Event",type:"structure",members:{SourceIdentifier:{},SourceType:{},Message:{},EventCategories:{shape:"S6"},Date:{type:"timestamp"}}}}}},http:{}},DescribeOptionGroupOptions:{input:{type:"structure",required:["EngineName"],members:{EngineName:{},MajorEngineVersion:{},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOptionGroupOptionsResult",type:"structure",members:{OptionGroupOptions:{type:"list",member:{locationName:"OptionGroupOption",type:"structure",members:{Name:{},Description:{},EngineName:{},MajorEngineVersion:{},MinimumRequiredMinorEngineVersion:{},PortRequired:{type:"boolean"},DefaultPort:{type:"integer"},OptionsDependedOn:{type:"list",member:{locationName:"OptionName"}},Persistent:{type:"boolean"},Permanent:{type:"boolean"},OptionGroupOptionSettings:{type:"list",member:{locationName:"OptionGroupOptionSetting",type:"structure",members:{SettingName:{},SettingDescription:{},DefaultValue:{},ApplyType:{},AllowedValues:{},IsModifiable:{type:"boolean"}}}}}}},Marker:{}}},http:{}},DescribeOptionGroups:{input:{type:"structure",members:{OptionGroupName:{},Filters:{shape:"S39"},Marker:{},MaxRecords:{type:"integer"},EngineName:{},MajorEngineVersion:{}}},output:{resultWrapper:"DescribeOptionGroupsResult",type:"structure",members:{OptionGroupsList:{type:"list",member:{shape:"S13",locationName:"OptionGroup"}},Marker:{}}},http:{}},DescribeOrderableDBInstanceOptions:{input:{type:"structure",required:["Engine"],members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},Vpc:{type:"boolean"},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeOrderableDBInstanceOptionsResult",type:"structure",members:{OrderableDBInstanceOptions:{type:"list",member:{locationName:"OrderableDBInstanceOption",type:"structure",members:{Engine:{},EngineVersion:{},DBInstanceClass:{},LicenseModel:{},AvailabilityZones:{type:"list",member:{shape:"S20",locationName:"AvailabilityZone"}},MultiAZCapable:{type:"boolean"},ReadReplicaCapable:{type:"boolean"},Vpc:{type:"boolean"},SupportsStorageEncryption:{type:"boolean"},StorageType:{},SupportsIops:{type:"boolean"},SupportsEnhancedMonitoring:{type:"boolean"}},wrapper:!0}},Marker:{}}},http:{}},DescribePendingMaintenanceActions:{input:{type:"structure",members:{ResourceIdentifier:{},Filters:{shape:"S39"},Marker:{},MaxRecords:{type:"integer"}}},output:{resultWrapper:"DescribePendingMaintenanceActionsResult",type:"structure",members:{PendingMaintenanceActions:{type:"list",member:{shape:"Sd",locationName:"ResourcePendingMaintenanceActions"}},Marker:{}}},http:{}},DescribeReservedDBInstances:{input:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesResult",type:"structure",members:{Marker:{},ReservedDBInstances:{type:"list",member:{shape:"S5z",locationName:"ReservedDBInstance"}}}},http:{}},DescribeReservedDBInstancesOfferings:{input:{type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},Filters:{shape:"S39"},MaxRecords:{type:"integer"},Marker:{}}},output:{resultWrapper:"DescribeReservedDBInstancesOfferingsResult",type:"structure",members:{Marker:{},ReservedDBInstancesOfferings:{type:"list",member:{locationName:"ReservedDBInstancesOffering",type:"structure",members:{ReservedDBInstancesOfferingId:{},DBInstanceClass:{},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},RecurringCharges:{shape:"S61"}},wrapper:!0}}}},http:{}},DownloadDBLogFilePortion:{input:{type:"structure",required:["DBInstanceIdentifier","LogFileName"],members:{DBInstanceIdentifier:{},LogFileName:{},Marker:{},NumberOfLines:{type:"integer"}}},output:{resultWrapper:"DownloadDBLogFilePortionResult",type:"structure",members:{LogFileData:{},Marker:{},AdditionalDataPending:{type:"boolean"}}},http:{}},FailoverDBCluster:{input:{type:"structure",members:{DBClusterIdentifier:{}}},output:{resultWrapper:"FailoverDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},ListTagsForResource:{input:{type:"structure",required:["ResourceName"],members:{ResourceName:{},Filters:{shape:"S39"}}},output:{resultWrapper:"ListTagsForResourceResult",type:"structure",members:{TagList:{shape:"S9"}}},http:{}},ModifyDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{},NewDBClusterIdentifier:{},ApplyImmediately:{type:"boolean"},BackupRetentionPeriod:{type:"integer"},DBClusterParameterGroupName:{},VpcSecurityGroupIds:{shape:"S1d"},Port:{type:"integer"},MasterUserPassword:{},OptionGroupName:{},PreferredBackupWindow:{},PreferredMaintenanceWindow:{}}},output:{resultWrapper:"ModifyDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},ModifyDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName","Parameters"],members:{DBClusterParameterGroupName:{},Parameters:{shape:"S3k"}}},output:{shape:"S6g",resultWrapper:"ModifyDBClusterParameterGroupResult"},http:{}},ModifyDBClusterSnapshotAttribute:{input:{type:"structure",required:["DBClusterSnapshotIdentifier","AttributeName"],members:{DBClusterSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S3s"},ValuesToRemove:{shape:"S3s"}}},output:{resultWrapper:"ModifyDBClusterSnapshotAttributeResult",type:"structure",members:{DBClusterSnapshotAttributesResult:{shape:"S3p"}}},http:{}},ModifyDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},AllocatedStorage:{type:"integer"},DBInstanceClass:{},DBSecurityGroups:{shape:"S1r"},VpcSecurityGroupIds:{shape:"S1d"},ApplyImmediately:{type:"boolean"},MasterUserPassword:{},DBParameterGroupName:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},MultiAZ:{type:"boolean"},EngineVersion:{},AllowMajorVersionUpgrade:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},Iops:{type:"integer"},OptionGroupName:{},NewDBInstanceIdentifier:{},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},CACertificateIdentifier:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},DBPortNumber:{type:"integer"},PubliclyAccessible:{type:"boolean"},MonitoringRoleArn:{},DomainIAMRoleName:{},PromotionTier:{type:"integer"}}},output:{resultWrapper:"ModifyDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},ModifyDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName","Parameters"],members:{DBParameterGroupName:{},Parameters:{shape:"S3k"}}},output:{shape:"S6m",resultWrapper:"ModifyDBParameterGroupResult"},http:{}},ModifyDBSnapshotAttribute:{input:{type:"structure",required:["DBSnapshotIdentifier","AttributeName"],members:{DBSnapshotIdentifier:{},AttributeName:{},ValuesToAdd:{shape:"S3s"},ValuesToRemove:{shape:"S3s"}}},output:{resultWrapper:"ModifyDBSnapshotAttributeResult",type:"structure",members:{DBSnapshotAttributesResult:{shape:"S4o"}}},http:{}},ModifyDBSubnetGroup:{input:{type:"structure",required:["DBSubnetGroupName","SubnetIds"],members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},SubnetIds:{shape:"S2i"}}},output:{resultWrapper:"ModifyDBSubnetGroupResult",type:"structure",members:{DBSubnetGroup:{shape:"S1x"}}},http:{}},ModifyEventSubscription:{input:{type:"structure",required:["SubscriptionName"],members:{SubscriptionName:{},SnsTopicArn:{},SourceType:{},EventCategories:{shape:"S6"},Enabled:{type:"boolean"}}},output:{resultWrapper:"ModifyEventSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}},http:{}},ModifyOptionGroup:{input:{type:"structure",required:["OptionGroupName"],members:{OptionGroupName:{},OptionsToInclude:{type:"list",member:{locationName:"OptionConfiguration",type:"structure",required:["OptionName"],members:{OptionName:{},Port:{type:"integer"},DBSecurityGroupMemberships:{shape:"S1r"},VpcSecurityGroupMemberships:{shape:"S1d"},OptionSettings:{type:"list",member:{shape:"S17",locationName:"OptionSetting"}}}}},OptionsToRemove:{type:"list",member:{}},ApplyImmediately:{type:"boolean"}}},output:{resultWrapper:"ModifyOptionGroupResult",type:"structure",members:{OptionGroup:{shape:"S13"}}},http:{}},PromoteReadReplica:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},BackupRetentionPeriod:{type:"integer"},PreferredBackupWindow:{}}},output:{resultWrapper:"PromoteReadReplicaResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},PromoteReadReplicaDBCluster:{input:{type:"structure",required:["DBClusterIdentifier"],members:{DBClusterIdentifier:{}}},output:{resultWrapper:"PromoteReadReplicaDBClusterResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},PurchaseReservedDBInstancesOffering:{input:{type:"structure",required:["ReservedDBInstancesOfferingId"],
members:{ReservedDBInstancesOfferingId:{},ReservedDBInstanceId:{},DBInstanceCount:{type:"integer"},Tags:{shape:"S9"}}},output:{resultWrapper:"PurchaseReservedDBInstancesOfferingResult",type:"structure",members:{ReservedDBInstance:{shape:"S5z"}}},http:{}},RebootDBInstance:{input:{type:"structure",required:["DBInstanceIdentifier"],members:{DBInstanceIdentifier:{},ForceFailover:{type:"boolean"}}},output:{resultWrapper:"RebootDBInstanceResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},RemoveSourceIdentifierFromSubscription:{input:{type:"structure",required:["SubscriptionName","SourceIdentifier"],members:{SubscriptionName:{},SourceIdentifier:{}}},output:{resultWrapper:"RemoveSourceIdentifierFromSubscriptionResult",type:"structure",members:{EventSubscription:{shape:"S4"}}},http:{}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceName","TagKeys"],members:{ResourceName:{},TagKeys:{type:"list",member:{}}}},http:{}},ResetDBClusterParameterGroup:{input:{type:"structure",required:["DBClusterParameterGroupName"],members:{DBClusterParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S3k"}}},output:{shape:"S6g",resultWrapper:"ResetDBClusterParameterGroupResult"},http:{}},ResetDBParameterGroup:{input:{type:"structure",required:["DBParameterGroupName"],members:{DBParameterGroupName:{},ResetAllParameters:{type:"boolean"},Parameters:{shape:"S3k"}}},output:{shape:"S6m",resultWrapper:"ResetDBParameterGroupResult"},http:{}},RestoreDBClusterFromSnapshot:{input:{type:"structure",required:["DBClusterIdentifier","SnapshotIdentifier","Engine"],members:{AvailabilityZones:{shape:"Sr"},DBClusterIdentifier:{},SnapshotIdentifier:{},Engine:{},EngineVersion:{},Port:{type:"integer"},DBSubnetGroupName:{},DatabaseName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S1d"},Tags:{shape:"S9"},KmsKeyId:{}}},output:{resultWrapper:"RestoreDBClusterFromSnapshotResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},RestoreDBClusterToPointInTime:{input:{type:"structure",required:["DBClusterIdentifier","SourceDBClusterIdentifier"],members:{DBClusterIdentifier:{},SourceDBClusterIdentifier:{},RestoreToTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},Port:{type:"integer"},DBSubnetGroupName:{},OptionGroupName:{},VpcSecurityGroupIds:{shape:"S1d"},Tags:{shape:"S9"},KmsKeyId:{}}},output:{resultWrapper:"RestoreDBClusterToPointInTimeResult",type:"structure",members:{DBCluster:{shape:"S1f"}}},http:{}},RestoreDBInstanceFromDBSnapshot:{input:{type:"structure",required:["DBInstanceIdentifier","DBSnapshotIdentifier"],members:{DBInstanceIdentifier:{},DBSnapshotIdentifier:{},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},Domain:{},CopyTagsToSnapshot:{type:"boolean"},DomainIAMRoleName:{}}},output:{resultWrapper:"RestoreDBInstanceFromDBSnapshotResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},RestoreDBInstanceToPointInTime:{input:{type:"structure",required:["SourceDBInstanceIdentifier","TargetDBInstanceIdentifier"],members:{SourceDBInstanceIdentifier:{},TargetDBInstanceIdentifier:{},RestoreTime:{type:"timestamp"},UseLatestRestorableTime:{type:"boolean"},DBInstanceClass:{},Port:{type:"integer"},AvailabilityZone:{},DBSubnetGroupName:{},MultiAZ:{type:"boolean"},PubliclyAccessible:{type:"boolean"},AutoMinorVersionUpgrade:{type:"boolean"},LicenseModel:{},DBName:{},Engine:{},Iops:{type:"integer"},OptionGroupName:{},CopyTagsToSnapshot:{type:"boolean"},Tags:{shape:"S9"},StorageType:{},TdeCredentialArn:{},TdeCredentialPassword:{},Domain:{},DomainIAMRoleName:{}}},output:{resultWrapper:"RestoreDBInstanceToPointInTimeResult",type:"structure",members:{DBInstance:{shape:"S1t"}}},http:{}},RevokeDBSecurityGroupIngress:{input:{type:"structure",required:["DBSecurityGroupName"],members:{DBSecurityGroupName:{},CIDRIP:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}},output:{resultWrapper:"RevokeDBSecurityGroupIngressResult",type:"structure",members:{DBSecurityGroup:{shape:"Sj"}}},http:{}}},shapes:{S4:{type:"structure",members:{CustomerAwsId:{},CustSubscriptionId:{},SnsTopicArn:{},Status:{},SubscriptionCreationTime:{},SourceType:{},SourceIdsList:{shape:"S5"},EventCategoriesList:{shape:"S6"},Enabled:{type:"boolean"}},wrapper:!0},S5:{type:"list",member:{locationName:"SourceId"}},S6:{type:"list",member:{locationName:"EventCategory"}},S9:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},Sd:{type:"structure",members:{ResourceIdentifier:{},PendingMaintenanceActionDetails:{type:"list",member:{locationName:"PendingMaintenanceAction",type:"structure",members:{Action:{},AutoAppliedAfterDate:{type:"timestamp"},ForcedApplyDate:{type:"timestamp"},OptInStatus:{},CurrentApplyDate:{type:"timestamp"},Description:{}}}}},wrapper:!0},Sj:{type:"structure",members:{OwnerId:{},DBSecurityGroupName:{},DBSecurityGroupDescription:{},VpcId:{},EC2SecurityGroups:{type:"list",member:{locationName:"EC2SecurityGroup",type:"structure",members:{Status:{},EC2SecurityGroupName:{},EC2SecurityGroupId:{},EC2SecurityGroupOwnerId:{}}}},IPRanges:{type:"list",member:{locationName:"IPRange",type:"structure",members:{Status:{},CIDRIP:{}}}}},wrapper:!0},Sq:{type:"structure",members:{AvailabilityZones:{shape:"Sr"},DBClusterSnapshotIdentifier:{},DBClusterIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},VpcId:{},ClusterCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},PercentProgress:{type:"integer"},StorageEncrypted:{type:"boolean"},KmsKeyId:{}},wrapper:!0},Sr:{type:"list",member:{locationName:"AvailabilityZone"}},Sv:{type:"structure",members:{DBParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},Sz:{type:"structure",members:{DBSnapshotIdentifier:{},DBInstanceIdentifier:{},SnapshotCreateTime:{type:"timestamp"},Engine:{},AllocatedStorage:{type:"integer"},Status:{},Port:{type:"integer"},AvailabilityZone:{},VpcId:{},InstanceCreateTime:{type:"timestamp"},MasterUsername:{},EngineVersion:{},LicenseModel:{},SnapshotType:{},Iops:{type:"integer"},OptionGroupName:{},PercentProgress:{type:"integer"},SourceRegion:{},SourceDBSnapshotIdentifier:{},StorageType:{},TdeCredentialArn:{},Encrypted:{type:"boolean"},KmsKeyId:{}},wrapper:!0},S13:{type:"structure",members:{OptionGroupName:{},OptionGroupDescription:{},EngineName:{},MajorEngineVersion:{},Options:{type:"list",member:{locationName:"Option",type:"structure",members:{OptionName:{},OptionDescription:{},Persistent:{type:"boolean"},Permanent:{type:"boolean"},Port:{type:"integer"},OptionSettings:{type:"list",member:{shape:"S17",locationName:"OptionSetting"}},DBSecurityGroupMemberships:{shape:"S18"},VpcSecurityGroupMemberships:{shape:"S1a"}}}},AllowsVpcAndNonVpcInstanceMemberships:{type:"boolean"},VpcId:{}},wrapper:!0},S17:{type:"structure",members:{Name:{},Value:{},DefaultValue:{},Description:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},IsCollection:{type:"boolean"}}},S18:{type:"list",member:{locationName:"DBSecurityGroup",type:"structure",members:{DBSecurityGroupName:{},Status:{}}}},S1a:{type:"list",member:{locationName:"VpcSecurityGroupMembership",type:"structure",members:{VpcSecurityGroupId:{},Status:{}}}},S1d:{type:"list",member:{locationName:"VpcSecurityGroupId"}},S1f:{type:"structure",members:{AllocatedStorage:{type:"integer"},AvailabilityZones:{shape:"Sr"},BackupRetentionPeriod:{type:"integer"},CharacterSetName:{},DatabaseName:{},DBClusterIdentifier:{},DBClusterParameterGroup:{},DBSubnetGroup:{},Status:{},PercentProgress:{},EarliestRestorableTime:{type:"timestamp"},Endpoint:{},Engine:{},EngineVersion:{},LatestRestorableTime:{type:"timestamp"},Port:{type:"integer"},MasterUsername:{},DBClusterOptionGroupMemberships:{type:"list",member:{locationName:"DBClusterOptionGroup",type:"structure",members:{DBClusterOptionGroupName:{},Status:{}}}},PreferredBackupWindow:{},PreferredMaintenanceWindow:{},ReplicationSourceIdentifier:{},ReadReplicaIdentifiers:{type:"list",member:{locationName:"ReadReplicaIdentifier"}},DBClusterMembers:{type:"list",member:{locationName:"DBClusterMember",type:"structure",members:{DBInstanceIdentifier:{},IsClusterWriter:{type:"boolean"},DBClusterParameterGroupStatus:{},PromotionTier:{type:"integer"}},wrapper:!0}},VpcSecurityGroups:{shape:"S1a"},HostedZoneId:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbClusterResourceId:{}},wrapper:!0},S1n:{type:"structure",members:{DBClusterParameterGroupName:{},DBParameterGroupFamily:{},Description:{}},wrapper:!0},S1r:{type:"list",member:{locationName:"DBSecurityGroupName"}},S1t:{type:"structure",members:{DBInstanceIdentifier:{},DBInstanceClass:{},Engine:{},DBInstanceStatus:{},MasterUsername:{},DBName:{},Endpoint:{type:"structure",members:{Address:{},Port:{type:"integer"},HostedZoneId:{}}},AllocatedStorage:{type:"integer"},InstanceCreateTime:{type:"timestamp"},PreferredBackupWindow:{},BackupRetentionPeriod:{type:"integer"},DBSecurityGroups:{shape:"S18"},VpcSecurityGroups:{shape:"S1a"},DBParameterGroups:{type:"list",member:{locationName:"DBParameterGroup",type:"structure",members:{DBParameterGroupName:{},ParameterApplyStatus:{}}}},AvailabilityZone:{},DBSubnetGroup:{shape:"S1x"},PreferredMaintenanceWindow:{},PendingModifiedValues:{type:"structure",members:{DBInstanceClass:{},AllocatedStorage:{type:"integer"},MasterUserPassword:{},Port:{type:"integer"},BackupRetentionPeriod:{type:"integer"},MultiAZ:{type:"boolean"},EngineVersion:{},Iops:{type:"integer"},DBInstanceIdentifier:{},StorageType:{},CACertificateIdentifier:{}}},LatestRestorableTime:{type:"timestamp"},MultiAZ:{type:"boolean"},EngineVersion:{},AutoMinorVersionUpgrade:{type:"boolean"},ReadReplicaSourceDBInstanceIdentifier:{},ReadReplicaDBInstanceIdentifiers:{type:"list",member:{locationName:"ReadReplicaDBInstanceIdentifier"}},LicenseModel:{},Iops:{type:"integer"},OptionGroupMemberships:{type:"list",member:{locationName:"OptionGroupMembership",type:"structure",members:{OptionGroupName:{},Status:{}}}},CharacterSetName:{},SecondaryAvailabilityZone:{},PubliclyAccessible:{type:"boolean"},StatusInfos:{type:"list",member:{locationName:"DBInstanceStatusInfo",type:"structure",members:{StatusType:{},Normal:{type:"boolean"},Status:{},Message:{}}}},StorageType:{},TdeCredentialArn:{},DbInstancePort:{type:"integer"},DBClusterIdentifier:{},StorageEncrypted:{type:"boolean"},KmsKeyId:{},DbiResourceId:{},CACertificateIdentifier:{},DomainMemberships:{type:"list",member:{locationName:"DomainMembership",type:"structure",members:{Domain:{},Status:{},FQDN:{},IAMRoleName:{}}}},CopyTagsToSnapshot:{type:"boolean"},MonitoringInterval:{type:"integer"},EnhancedMonitoringResourceArn:{},MonitoringRoleArn:{},PromotionTier:{type:"integer"}},wrapper:!0},S1x:{type:"structure",members:{DBSubnetGroupName:{},DBSubnetGroupDescription:{},VpcId:{},SubnetGroupStatus:{},Subnets:{type:"list",member:{locationName:"Subnet",type:"structure",members:{SubnetIdentifier:{},SubnetAvailabilityZone:{shape:"S20"},SubnetStatus:{}}}}},wrapper:!0},S20:{type:"structure",members:{Name:{}},wrapper:!0},S2i:{type:"list",member:{locationName:"SubnetIdentifier"}},S39:{type:"list",member:{locationName:"Filter",type:"structure",required:["Name","Values"],members:{Name:{},Values:{type:"list",member:{locationName:"Value"}}}}},S3k:{type:"list",member:{locationName:"Parameter",type:"structure",members:{ParameterName:{},ParameterValue:{},Description:{},Source:{},ApplyType:{},DataType:{},AllowedValues:{},IsModifiable:{type:"boolean"},MinimumEngineVersion:{},ApplyMethod:{}}}},S3p:{type:"structure",members:{DBClusterSnapshotIdentifier:{},DBClusterSnapshotAttributes:{type:"list",member:{locationName:"DBClusterSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S3s"}}}}},wrapper:!0},S3s:{type:"list",member:{locationName:"AttributeValue"}},S43:{type:"structure",members:{CharacterSetName:{},CharacterSetDescription:{}}},S4o:{type:"structure",members:{DBSnapshotIdentifier:{},DBSnapshotAttributes:{type:"list",member:{locationName:"DBSnapshotAttribute",type:"structure",members:{AttributeName:{},AttributeValues:{shape:"S3s"}},wrapper:!0}}},wrapper:!0},S4z:{type:"structure",members:{DBParameterGroupFamily:{},Marker:{},Parameters:{shape:"S3k"}},wrapper:!0},S5z:{type:"structure",members:{ReservedDBInstanceId:{},ReservedDBInstancesOfferingId:{},DBInstanceClass:{},StartTime:{type:"timestamp"},Duration:{type:"integer"},FixedPrice:{type:"double"},UsagePrice:{type:"double"},CurrencyCode:{},DBInstanceCount:{type:"integer"},ProductDescription:{},OfferingType:{},MultiAZ:{type:"boolean"},State:{},RecurringCharges:{shape:"S61"}},wrapper:!0},S61:{type:"list",member:{locationName:"RecurringCharge",type:"structure",members:{RecurringChargeAmount:{type:"double"},RecurringChargeFrequency:{}},wrapper:!0}},S6g:{type:"structure",members:{DBClusterParameterGroupName:{}}},S6m:{type:"structure",members:{DBParameterGroupName:{}}}},paginators:{DescribeDBEngineVersions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBEngineVersions"},DescribeDBInstances:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBInstances"},DescribeDBLogFiles:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DescribeDBLogFiles"},DescribeDBParameterGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBParameterGroups"},DescribeDBParameters:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Parameters"},DescribeDBSecurityGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSecurityGroups"},DescribeDBSnapshots:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSnapshots"},DescribeDBSubnetGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"DBSubnetGroups"},DescribeEngineDefaultParameters:{input_token:"Marker",output_token:"EngineDefaults.Marker",limit_key:"MaxRecords",result_key:"EngineDefaults.Parameters"},DescribeEventSubscriptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"EventSubscriptionsList"},DescribeEvents:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"Events"},DescribeOptionGroupOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OptionGroupOptions"},DescribeOptionGroups:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OptionGroupsList"},DescribeOrderableDBInstanceOptions:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"OrderableDBInstanceOptions"},DescribeReservedDBInstances:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedDBInstances"},DescribeReservedDBInstancesOfferings:{input_token:"Marker",output_token:"Marker",limit_key:"MaxRecords",result_key:"ReservedDBInstancesOfferings"},DownloadDBLogFilePortion:{input_token:"Marker",output_token:"Marker",limit_key:"NumberOfLines",more_results:"AdditionalDataPending",result_key:"LogFileData"},ListTagsForResource:{result_key:"TagList"}},waiters:{DBInstanceAvailable:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"available",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleted",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"deleting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"failed",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-parameters",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"incompatible-restore",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]},DBInstanceDeleted:{delay:30,operation:"DescribeDBInstances",maxAttempts:60,acceptors:[{expected:"deleted",matcher:"pathAll",state:"success",argument:"DBInstances[].DBInstanceStatus"},{expected:"DBInstanceNotFound",matcher:"error",state:"success"},{expected:"creating",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"modifying",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"rebooting",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"},{expected:"resetting-master-credentials",matcher:"pathAny",state:"failure",argument:"DBInstances[].DBInstanceStatus"}]}}},i.apiLoader.services.route53={},i.Route53=i.Service.defineService("route53",["2013-04-01"]),e("./services/route53"),i.apiLoader.services.route53["2013-04-01"]={version:"2.0",metadata:{apiVersion:"2013-04-01",endpointPrefix:"route53",globalEndpoint:"route53.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Route 53",serviceFullName:"Amazon Route 53",signatureVersion:"v4"},operations:{AssociateVPCWithHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/associatevpc"},input:{locationName:"AssociateVPCWithHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"S3"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},ChangeResourceRecordSets:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/rrset/"},input:{locationName:"ChangeResourceRecordSetsRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","ChangeBatch"],members:{HostedZoneId:{location:"uri",locationName:"Id"},ChangeBatch:{type:"structure",required:["Changes"],members:{Comment:{},Changes:{shape:"Se"}}}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},ChangeTagsForResource:{http:{requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{locationName:"ChangeTagsForResourceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"},AddTags:{shape:"S14"},RemoveTagKeys:{type:"list",member:{locationName:"Key"}}}},output:{type:"structure",members:{}}},CreateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck",responseCode:201},input:{locationName:"CreateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference","HealthCheckConfig"],members:{CallerReference:{},HealthCheckConfig:{shape:"S1c"}}},output:{type:"structure",required:["HealthCheck","Location"],members:{HealthCheck:{shape:"S1x"},Location:{location:"header",locationName:"Location"}}}},CreateHostedZone:{http:{requestUri:"/2013-04-01/hostedzone",responseCode:201},input:{locationName:"CreateHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Name","CallerReference"],members:{Name:{},VPC:{shape:"S3"},CallerReference:{},HostedZoneConfig:{shape:"S2d"},DelegationSetId:{}}},output:{type:"structure",required:["HostedZone","ChangeInfo","DelegationSet","Location"],members:{HostedZone:{shape:"S2g"},ChangeInfo:{shape:"S8"},DelegationSet:{shape:"S2i"},VPC:{shape:"S3"},Location:{location:"header",locationName:"Location"}}}},CreateReusableDelegationSet:{http:{requestUri:"/2013-04-01/delegationset",responseCode:201},input:{locationName:"CreateReusableDelegationSetRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["CallerReference"],members:{CallerReference:{},HostedZoneId:{}}},output:{type:"structure",required:["DelegationSet","Location"],members:{DelegationSet:{shape:"S2i"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicy:{http:{requestUri:"/2013-04-01/trafficpolicy",responseCode:201},input:{locationName:"CreateTrafficPolicyRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Name","Document"],members:{Name:{},Document:{},Comment:{}}},output:{type:"structure",required:["TrafficPolicy","Location"],members:{TrafficPolicy:{shape:"S2r"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicyInstance:{http:{requestUri:"/2013-04-01/trafficpolicyinstance",responseCode:201},input:{locationName:"CreateTrafficPolicyInstanceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","Name","TTL","TrafficPolicyId","TrafficPolicyVersion"],members:{HostedZoneId:{},Name:{},TTL:{type:"long"},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"}}},output:{type:"structure",required:["TrafficPolicyInstance","Location"],members:{TrafficPolicyInstance:{shape:"S2w"},Location:{location:"header",locationName:"Location"}}}},CreateTrafficPolicyVersion:{http:{requestUri:"/2013-04-01/trafficpolicy/{Id}",responseCode:201},input:{locationName:"CreateTrafficPolicyVersionRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","Document"],members:{Id:{location:"uri",locationName:"Id"},Document:{},Comment:{}}},output:{type:"structure",required:["TrafficPolicy","Location"],members:{TrafficPolicy:{shape:"S2r"},Location:{location:"header",locationName:"Location"}}}},DeleteHealthCheck:{http:{method:"DELETE",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",members:{}}},DeleteHostedZone:{http:{method:"DELETE",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},DeleteReusableDelegationSet:{http:{method:"DELETE",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicy:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",members:{}}},DeleteTrafficPolicyInstance:{http:{method:"DELETE",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",members:{}}},DisassociateVPCFromHostedZone:{http:{requestUri:"/2013-04-01/hostedzone/{Id}/disassociatevpc"},input:{locationName:"DisassociateVPCFromHostedZoneRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HostedZoneId","VPC"],members:{HostedZoneId:{location:"uri",locationName:"Id"},VPC:{shape:"S3"},Comment:{}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},GetChange:{http:{method:"GET",requestUri:"/2013-04-01/change/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["ChangeInfo"],members:{ChangeInfo:{shape:"S8"}}}},GetChangeDetails:{http:{method:"GET",requestUri:"/2013-04-01/changedetails/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}},deprecated:!0},output:{type:"structure",required:["ChangeBatchRecord"],members:{ChangeBatchRecord:{shape:"S3i"}},deprecated:!0},deprecated:!0},GetCheckerIpRanges:{http:{method:"GET",requestUri:"/2013-04-01/checkeripranges"},input:{type:"structure",members:{}},output:{type:"structure",required:["CheckerIpRanges"],members:{CheckerIpRanges:{type:"list",member:{}}}}},GetGeoLocation:{http:{method:"GET",requestUri:"/2013-04-01/geolocation"},input:{type:"structure",members:{ContinentCode:{location:"querystring",locationName:"continentcode"},CountryCode:{location:"querystring",locationName:"countrycode"},SubdivisionCode:{location:"querystring",locationName:"subdivisioncode"}}},output:{type:"structure",required:["GeoLocationDetails"],members:{GeoLocationDetails:{shape:"S3q"}}}},GetHealthCheck:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S1x"}}}},GetHealthCheckCount:{http:{method:"GET",requestUri:"/2013-04-01/healthcheckcount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HealthCheckCount"],members:{HealthCheckCount:{type:"long"}}}},GetHealthCheckLastFailureReason:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheckObservations"],members:{HealthCheckObservations:{shape:"S41"}}}},GetHealthCheckStatus:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck/{HealthCheckId}/status"},input:{type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"}}},output:{type:"structure",required:["HealthCheckObservations"],members:{HealthCheckObservations:{shape:"S41"}}}},GetHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["HostedZone"],members:{HostedZone:{shape:"S2g"},DelegationSet:{shape:"S2i"},VPCs:{type:"list",member:{shape:"S3",locationName:"VPC"}}}}},GetHostedZoneCount:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["HostedZoneCount"],members:{HostedZoneCount:{type:"long"}}}},GetReusableDelegationSet:{http:{method:"GET",requestUri:"/2013-04-01/delegationset/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["DelegationSet"],members:{DelegationSet:{shape:"S2i"}}}},GetTrafficPolicy:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{type:"structure",required:["Id","Version"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"}}},output:{type:"structure",required:["TrafficPolicy"],members:{TrafficPolicy:{shape:"S2r"}}}},GetTrafficPolicyInstance:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"}}},output:{type:"structure",required:["TrafficPolicyInstance"],members:{TrafficPolicyInstance:{shape:"S2w"}}}},GetTrafficPolicyInstanceCount:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstancecount"},input:{type:"structure",members:{}},output:{type:"structure",required:["TrafficPolicyInstanceCount"],members:{TrafficPolicyInstanceCount:{type:"integer"}}}},ListChangeBatchesByHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/changes"},input:{type:"structure",required:["HostedZoneId","StartDate","EndDate"],members:{HostedZoneId:{location:"uri",locationName:"Id"},StartDate:{shape:"S4n",location:"querystring",locationName:"startDate"},EndDate:{shape:"S4n",location:"querystring",locationName:"endDate"},MaxItems:{location:"querystring",locationName:"maxItems"},Marker:{location:"querystring",locationName:"marker"}},deprecated:!0},output:{type:"structure",required:["MaxItems","Marker","ChangeBatchRecords"],members:{MaxItems:{},Marker:{},IsTruncated:{type:"boolean"},ChangeBatchRecords:{shape:"S4s"},NextMarker:{}},deprecated:!0},deprecated:!0},ListChangeBatchesByRRSet:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/rrsChanges"},input:{type:"structure",required:["HostedZoneId","Name","Type","StartDate","EndDate"],members:{HostedZoneId:{location:"uri",locationName:"Id"},Name:{location:"querystring",locationName:"rrSet_name"},Type:{location:"querystring",locationName:"type"},SetIdentifier:{location:"querystring",locationName:"identifier"},StartDate:{shape:"S4n",location:"querystring",locationName:"startDate"},EndDate:{shape:"S4n",location:"querystring",locationName:"endDate"},MaxItems:{location:"querystring",locationName:"maxItems"},Marker:{location:"querystring",locationName:"marker"}},deprecated:!0},output:{type:"structure",required:["MaxItems","Marker","ChangeBatchRecords"],members:{MaxItems:{},Marker:{},IsTruncated:{type:"boolean"},ChangeBatchRecords:{shape:"S4s"},NextMarker:{}},deprecated:!0},deprecated:!0},ListGeoLocations:{http:{method:"GET",requestUri:"/2013-04-01/geolocations"},input:{type:"structure",members:{StartContinentCode:{location:"querystring",locationName:"startcontinentcode"},StartCountryCode:{location:"querystring",locationName:"startcountrycode"},StartSubdivisionCode:{location:"querystring",locationName:"startsubdivisioncode"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["GeoLocationDetailsList","IsTruncated","MaxItems"],members:{GeoLocationDetailsList:{type:"list",member:{shape:"S3q",locationName:"GeoLocationDetails"}},IsTruncated:{type:"boolean"},NextContinentCode:{},NextCountryCode:{},NextSubdivisionCode:{},MaxItems:{}}}},ListHealthChecks:{http:{method:"GET",requestUri:"/2013-04-01/healthcheck"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["HealthChecks","Marker","IsTruncated","MaxItems"],members:{HealthChecks:{type:"list",member:{shape:"S1x",locationName:"HealthCheck"}},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListHostedZones:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"},DelegationSetId:{location:"querystring",locationName:"delegationsetid"}}},output:{type:"structure",required:["HostedZones","Marker","IsTruncated","MaxItems"],members:{HostedZones:{shape:"S53"},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListHostedZonesByName:{http:{method:"GET",requestUri:"/2013-04-01/hostedzonesbyname"},input:{type:"structure",members:{DNSName:{location:"querystring",locationName:"dnsname"},HostedZoneId:{location:"querystring",locationName:"hostedzoneid"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["HostedZones","IsTruncated","MaxItems"],members:{HostedZones:{shape:"S53"},DNSName:{},HostedZoneId:{},IsTruncated:{type:"boolean"},NextDNSName:{},NextHostedZoneId:{},MaxItems:{}}}},ListResourceRecordSets:{http:{method:"GET",requestUri:"/2013-04-01/hostedzone/{Id}/rrset"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"uri",locationName:"Id"},StartRecordName:{location:"querystring",locationName:"name"},StartRecordType:{location:"querystring",locationName:"type"},StartRecordIdentifier:{location:"querystring",locationName:"identifier"},MaxItems:{location:"querystring",locationName:"maxitems"
}}},output:{type:"structure",required:["ResourceRecordSets","IsTruncated","MaxItems"],members:{ResourceRecordSets:{type:"list",member:{shape:"Sh",locationName:"ResourceRecordSet"}},IsTruncated:{type:"boolean"},NextRecordName:{},NextRecordType:{},NextRecordIdentifier:{},MaxItems:{}}}},ListReusableDelegationSets:{http:{method:"GET",requestUri:"/2013-04-01/delegationset"},input:{type:"structure",members:{Marker:{location:"querystring",locationName:"marker"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["DelegationSets","Marker","IsTruncated","MaxItems"],members:{DelegationSets:{type:"list",member:{shape:"S2i",locationName:"DelegationSet"}},Marker:{},IsTruncated:{type:"boolean"},NextMarker:{},MaxItems:{}}}},ListTagsForResource:{http:{method:"GET",requestUri:"/2013-04-01/tags/{ResourceType}/{ResourceId}"},input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceId:{location:"uri",locationName:"ResourceId"}}},output:{type:"structure",required:["ResourceTagSet"],members:{ResourceTagSet:{shape:"S5e"}}}},ListTagsForResources:{http:{requestUri:"/2013-04-01/tags/{ResourceType}"},input:{locationName:"ListTagsForResourcesRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["ResourceType","ResourceIds"],members:{ResourceType:{location:"uri",locationName:"ResourceType"},ResourceIds:{type:"list",member:{locationName:"ResourceId"}}}},output:{type:"structure",required:["ResourceTagSets"],members:{ResourceTagSets:{type:"list",member:{shape:"S5e",locationName:"ResourceTagSet"}}}}},ListTrafficPolicies:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicies"},input:{type:"structure",members:{TrafficPolicyIdMarker:{location:"querystring",locationName:"trafficpolicyid"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicySummaries","IsTruncated","TrafficPolicyIdMarker","MaxItems"],members:{TrafficPolicySummaries:{type:"list",member:{locationName:"TrafficPolicySummary",type:"structure",required:["Id","Name","Type","LatestVersion","TrafficPolicyCount"],members:{Id:{},Name:{},Type:{},LatestVersion:{type:"integer"},TrafficPolicyCount:{type:"integer"}}}},IsTruncated:{type:"boolean"},TrafficPolicyIdMarker:{},MaxItems:{}}}},ListTrafficPolicyInstances:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances"},input:{type:"structure",members:{HostedZoneIdMarker:{location:"querystring",locationName:"hostedzoneid"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S5p"},HostedZoneIdMarker:{},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyInstancesByHostedZone:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances/hostedzone"},input:{type:"structure",required:["HostedZoneId"],members:{HostedZoneId:{location:"querystring",locationName:"id"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S5p"},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyInstancesByPolicy:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicyinstances/trafficpolicy"},input:{type:"structure",required:["TrafficPolicyId","TrafficPolicyVersion"],members:{TrafficPolicyId:{location:"querystring",locationName:"id"},TrafficPolicyVersion:{location:"querystring",locationName:"version",type:"integer"},HostedZoneIdMarker:{location:"querystring",locationName:"hostedzoneid"},TrafficPolicyInstanceNameMarker:{location:"querystring",locationName:"trafficpolicyinstancename"},TrafficPolicyInstanceTypeMarker:{location:"querystring",locationName:"trafficpolicyinstancetype"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicyInstances","IsTruncated","MaxItems"],members:{TrafficPolicyInstances:{shape:"S5p"},HostedZoneIdMarker:{},TrafficPolicyInstanceNameMarker:{},TrafficPolicyInstanceTypeMarker:{},IsTruncated:{type:"boolean"},MaxItems:{}}}},ListTrafficPolicyVersions:{http:{method:"GET",requestUri:"/2013-04-01/trafficpolicies/{Id}/versions"},input:{type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},TrafficPolicyVersionMarker:{location:"querystring",locationName:"trafficpolicyversion"},MaxItems:{location:"querystring",locationName:"maxitems"}}},output:{type:"structure",required:["TrafficPolicies","IsTruncated","TrafficPolicyVersionMarker","MaxItems"],members:{TrafficPolicies:{type:"list",member:{shape:"S2r",locationName:"TrafficPolicy"}},IsTruncated:{type:"boolean"},TrafficPolicyVersionMarker:{},MaxItems:{}}}},UpdateHealthCheck:{http:{requestUri:"/2013-04-01/healthcheck/{HealthCheckId}"},input:{locationName:"UpdateHealthCheckRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["HealthCheckId"],members:{HealthCheckId:{location:"uri",locationName:"HealthCheckId"},HealthCheckVersion:{type:"long"},IPAddress:{},Port:{type:"integer"},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},FailureThreshold:{type:"integer"},Inverted:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1o"},EnableSNI:{type:"boolean"},Regions:{shape:"S1q"},AlarmIdentifier:{shape:"S1s"},InsufficientDataHealthStatus:{}}},output:{type:"structure",required:["HealthCheck"],members:{HealthCheck:{shape:"S1x"}}}},UpdateHostedZoneComment:{http:{requestUri:"/2013-04-01/hostedzone/{Id}"},input:{locationName:"UpdateHostedZoneCommentRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id"],members:{Id:{location:"uri",locationName:"Id"},Comment:{}}},output:{type:"structure",required:["HostedZone"],members:{HostedZone:{shape:"S2g"}}}},UpdateTrafficPolicyComment:{http:{requestUri:"/2013-04-01/trafficpolicy/{Id}/{Version}"},input:{locationName:"UpdateTrafficPolicyCommentRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","Version","Comment"],members:{Id:{location:"uri",locationName:"Id"},Version:{location:"uri",locationName:"Version",type:"integer"},Comment:{}}},output:{type:"structure",required:["TrafficPolicy"],members:{TrafficPolicy:{shape:"S2r"}}}},UpdateTrafficPolicyInstance:{http:{requestUri:"/2013-04-01/trafficpolicyinstance/{Id}"},input:{locationName:"UpdateTrafficPolicyInstanceRequest",xmlNamespace:{uri:"https://route53.amazonaws.com/doc/2013-04-01/"},type:"structure",required:["Id","TTL","TrafficPolicyId","TrafficPolicyVersion"],members:{Id:{location:"uri",locationName:"Id"},TTL:{type:"long"},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"}}},output:{type:"structure",required:["TrafficPolicyInstance"],members:{TrafficPolicyInstance:{shape:"S2w"}}}}},shapes:{S3:{type:"structure",members:{VPCRegion:{},VPCId:{}}},S8:{type:"structure",required:["Id","Status","SubmittedAt"],members:{Id:{},Status:{},SubmittedAt:{type:"timestamp"},Comment:{}}},Se:{type:"list",member:{locationName:"Change",type:"structure",required:["Action","ResourceRecordSet"],members:{Action:{},ResourceRecordSet:{shape:"Sh"}}}},Sh:{type:"structure",required:["Name","Type"],members:{Name:{},Type:{},SetIdentifier:{},Weight:{type:"long"},Region:{},GeoLocation:{type:"structure",members:{ContinentCode:{},CountryCode:{},SubdivisionCode:{}}},Failover:{},TTL:{type:"long"},ResourceRecords:{type:"list",member:{locationName:"ResourceRecord",type:"structure",required:["Value"],members:{Value:{}}}},AliasTarget:{type:"structure",required:["HostedZoneId","DNSName","EvaluateTargetHealth"],members:{HostedZoneId:{},DNSName:{},EvaluateTargetHealth:{type:"boolean"}}},HealthCheckId:{},TrafficPolicyInstanceId:{}}},S14:{type:"list",member:{locationName:"Tag",type:"structure",members:{Key:{},Value:{}}}},S1c:{type:"structure",required:["Type"],members:{IPAddress:{},Port:{type:"integer"},Type:{},ResourcePath:{},FullyQualifiedDomainName:{},SearchString:{},RequestInterval:{type:"integer"},FailureThreshold:{type:"integer"},MeasureLatency:{type:"boolean"},Inverted:{type:"boolean"},HealthThreshold:{type:"integer"},ChildHealthChecks:{shape:"S1o"},EnableSNI:{type:"boolean"},Regions:{shape:"S1q"},AlarmIdentifier:{shape:"S1s"},InsufficientDataHealthStatus:{}}},S1o:{type:"list",member:{locationName:"ChildHealthCheck"}},S1q:{type:"list",member:{locationName:"Region"}},S1s:{type:"structure",required:["Region","Name"],members:{Region:{},Name:{}}},S1x:{type:"structure",required:["Id","CallerReference","HealthCheckConfig","HealthCheckVersion"],members:{Id:{},CallerReference:{},HealthCheckConfig:{shape:"S1c"},HealthCheckVersion:{type:"long"},CloudWatchAlarmConfiguration:{type:"structure",required:["EvaluationPeriods","Threshold","ComparisonOperator","Period","MetricName","Namespace","Statistic"],members:{EvaluationPeriods:{type:"integer"},Threshold:{type:"double"},ComparisonOperator:{},Period:{type:"integer"},MetricName:{},Namespace:{},Statistic:{},Dimensions:{type:"list",member:{locationName:"Dimension",type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}}}}},S2d:{type:"structure",members:{Comment:{},PrivateZone:{type:"boolean"}}},S2g:{type:"structure",required:["Id","Name","CallerReference"],members:{Id:{},Name:{},CallerReference:{},Config:{shape:"S2d"},ResourceRecordSetCount:{type:"long"}}},S2i:{type:"structure",required:["NameServers"],members:{Id:{},CallerReference:{},NameServers:{type:"list",member:{locationName:"NameServer"}}}},S2r:{type:"structure",required:["Id","Version","Name","Type","Document"],members:{Id:{},Version:{type:"integer"},Name:{},Type:{},Document:{},Comment:{}}},S2w:{type:"structure",required:["Id","HostedZoneId","Name","TTL","State","Message","TrafficPolicyId","TrafficPolicyVersion","TrafficPolicyType"],members:{Id:{},HostedZoneId:{},Name:{},TTL:{type:"long"},State:{},Message:{},TrafficPolicyId:{},TrafficPolicyVersion:{type:"integer"},TrafficPolicyType:{}}},S3i:{type:"structure",required:["Id","Status"],members:{Id:{},SubmittedAt:{type:"timestamp"},Status:{},Comment:{},Submitter:{},Changes:{shape:"Se"}},deprecated:!0},S3q:{type:"structure",members:{ContinentCode:{},ContinentName:{},CountryCode:{},CountryName:{},SubdivisionCode:{},SubdivisionName:{}}},S41:{type:"list",member:{locationName:"HealthCheckObservation",type:"structure",members:{Region:{},IPAddress:{},StatusReport:{type:"structure",members:{Status:{},CheckedTime:{type:"timestamp"}}}}}},S4n:{type:"string",deprecated:!0},S4s:{type:"list",member:{shape:"S3i",locationName:"ChangeBatchRecord"},deprecated:!0},S53:{type:"list",member:{shape:"S2g",locationName:"HostedZone"}},S5e:{type:"structure",members:{ResourceType:{},ResourceId:{},Tags:{shape:"S14"}}},S5p:{type:"list",member:{shape:"S2w",locationName:"TrafficPolicyInstance"}}},paginators:{ListHealthChecks:{input_token:"Marker",output_token:"NextMarker",more_results:"IsTruncated",limit_key:"MaxItems",result_key:"HealthChecks"},ListHostedZones:{input_token:"Marker",output_token:"NextMarker",more_results:"IsTruncated",limit_key:"MaxItems",result_key:"HostedZones"},ListResourceRecordSets:{more_results:"IsTruncated",limit_key:"MaxItems",result_key:"ResourceRecordSets",input_token:["StartRecordName","StartRecordType","StartRecordIdentifier"],output_token:["NextRecordName","NextRecordType","NextRecordIdentifier"]}},waiters:{ResourceRecordSetsChanged:{delay:30,maxAttempts:60,operation:"GetChange",acceptors:[{matcher:"path",expected:"INSYNC",argument:"ChangeInfo.Status",state:"success"}]}}},i.apiLoader.services.route53domains={},i.Route53Domains=i.Service.defineService("route53domains",["2014-05-15"]),i.apiLoader.services.route53domains["2014-05-15"]={version:"2.0",metadata:{apiVersion:"2014-05-15",endpointPrefix:"route53domains",jsonVersion:"1.1",protocol:"json",serviceFullName:"Amazon Route 53 Domains",signatureVersion:"v4",targetPrefix:"Route53Domains_v20140515"},operations:{CheckDomainAvailability:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},IdnLangCode:{}}},output:{type:"structure",required:["Availability"],members:{Availability:{}}},http:{}},DeleteTagsForDomain:{input:{type:"structure",required:["DomainName","TagsToDelete"],members:{DomainName:{},TagsToDelete:{type:"list",member:{}}}},output:{type:"structure",members:{}},http:{}},DisableDomainAutoRenew:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{}},http:{}},DisableDomainTransferLock:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},EnableDomainAutoRenew:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",members:{}},http:{}},EnableDomainTransferLock:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},GetContactReachabilityStatus:{input:{type:"structure",members:{domainName:{}}},output:{type:"structure",members:{domainName:{},status:{}}},http:{}},GetDomainDetail:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["DomainName","Nameservers","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},Nameservers:{shape:"So"},AutoRenew:{type:"boolean"},AdminContact:{shape:"Su"},RegistrantContact:{shape:"Su"},TechContact:{shape:"Su"},AdminPrivacy:{type:"boolean"},RegistrantPrivacy:{type:"boolean"},TechPrivacy:{type:"boolean"},RegistrarName:{},WhoIsServer:{},RegistrarUrl:{},AbuseContactEmail:{},AbuseContactPhone:{},RegistryDomainId:{},CreationDate:{type:"timestamp"},UpdatedDate:{type:"timestamp"},ExpirationDate:{type:"timestamp"},Reseller:{},DnsSec:{},StatusList:{type:"list",member:{}}}},http:{}},GetOperationDetail:{input:{type:"structure",required:["OperationId"],members:{OperationId:{}}},output:{type:"structure",members:{OperationId:{},Status:{},Message:{},DomainName:{},Type:{},SubmittedDate:{type:"timestamp"}}},http:{}},ListDomains:{input:{type:"structure",members:{Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Domains"],members:{Domains:{type:"list",member:{type:"structure",required:["DomainName"],members:{DomainName:{},AutoRenew:{type:"boolean"},TransferLock:{type:"boolean"},Expiry:{type:"timestamp"}}}},NextPageMarker:{}}},http:{}},ListOperations:{input:{type:"structure",members:{Marker:{},MaxItems:{type:"integer"}}},output:{type:"structure",required:["Operations"],members:{Operations:{type:"list",member:{type:"structure",required:["OperationId","Status","Type","SubmittedDate"],members:{OperationId:{},Status:{},Type:{},SubmittedDate:{type:"timestamp"}}}},NextPageMarker:{}}},http:{}},ListTagsForDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["TagList"],members:{TagList:{shape:"S1y"}}},http:{}},RegisterDomain:{input:{type:"structure",required:["DomainName","DurationInYears","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},IdnLangCode:{},DurationInYears:{type:"integer"},AutoRenew:{type:"boolean"},AdminContact:{shape:"Su"},RegistrantContact:{shape:"Su"},TechContact:{shape:"Su"},PrivacyProtectAdminContact:{type:"boolean"},PrivacyProtectRegistrantContact:{type:"boolean"},PrivacyProtectTechContact:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},ResendContactReachabilityEmail:{input:{type:"structure",members:{domainName:{}}},output:{type:"structure",members:{domainName:{},emailAddress:{},isAlreadyVerified:{type:"boolean"}}},http:{}},RetrieveDomainAuthCode:{input:{type:"structure",required:["DomainName"],members:{DomainName:{}}},output:{type:"structure",required:["AuthCode"],members:{AuthCode:{shape:"S28"}}},http:{}},TransferDomain:{input:{type:"structure",required:["DomainName","DurationInYears","AdminContact","RegistrantContact","TechContact"],members:{DomainName:{},IdnLangCode:{},DurationInYears:{type:"integer"},Nameservers:{shape:"So"},AuthCode:{shape:"S28"},AutoRenew:{type:"boolean"},AdminContact:{shape:"Su"},RegistrantContact:{shape:"Su"},TechContact:{shape:"Su"},PrivacyProtectAdminContact:{type:"boolean"},PrivacyProtectRegistrantContact:{type:"boolean"},PrivacyProtectTechContact:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},UpdateDomainContact:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AdminContact:{shape:"Su"},RegistrantContact:{shape:"Su"},TechContact:{shape:"Su"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},UpdateDomainContactPrivacy:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},AdminPrivacy:{type:"boolean"},RegistrantPrivacy:{type:"boolean"},TechPrivacy:{type:"boolean"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},UpdateDomainNameservers:{input:{type:"structure",required:["DomainName","Nameservers"],members:{DomainName:{},FIAuthKey:{},Nameservers:{shape:"So"}}},output:{type:"structure",required:["OperationId"],members:{OperationId:{}}},http:{}},UpdateTagsForDomain:{input:{type:"structure",required:["DomainName"],members:{DomainName:{},TagsToUpdate:{shape:"S1y"}}},output:{type:"structure",members:{}},http:{}}},shapes:{So:{type:"list",member:{type:"structure",required:["Name"],members:{Name:{},GlueIps:{type:"list",member:{}}}}},Su:{type:"structure",members:{FirstName:{},LastName:{},ContactType:{},OrganizationName:{},AddressLine1:{},AddressLine2:{},City:{},State:{},CountryCode:{},ZipCode:{},PhoneNumber:{},Email:{},Fax:{},ExtraParams:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}}},sensitive:!0},S1y:{type:"list",member:{type:"structure",members:{Key:{},Value:{}}}},S28:{type:"string",sensitive:!0}},paginators:{ListDomains:{limit_key:"MaxItems",input_token:"Marker",output_token:"NextPageMarker",result_key:"Domains"},ListOperations:{limit_key:"MaxItems",input_token:"Marker",output_token:"NextPageMarker",result_key:"Operations"}}},i.apiLoader.services.s3={},i.S3=i.Service.defineService("s3",["2006-03-01"]),e("./services/s3"),i.apiLoader.services.s3["2006-03-01"]={version:"2.0",metadata:{apiVersion:"2006-03-01",checksumFormat:"md5",endpointPrefix:"s3",globalEndpoint:"s3.amazonaws.com",protocol:"rest-xml",serviceAbbreviation:"Amazon S3",serviceFullName:"Amazon Simple Storage Service",signatureVersion:"s3",timestampFormat:"rfc822"},operations:{AbortMultipartUpload:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CompleteMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MultipartUpload:{locationName:"CompleteMultipartUpload",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{ETag:{},PartNumber:{type:"integer"}}},flattened:!0}}},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"MultipartUpload"},output:{type:"structure",members:{Location:{},Bucket:{},Key:{},Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},CopyObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},MetadataDirective:{location:"header",locationName:"x-amz-metadata-directive"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{CopyObjectResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},Expiration:{location:"header",locationName:"x-amz-expiration"},CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},VersionId:{location:"header",locationName:"x-amz-version-id"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyObjectResult"},alias:"PutObjectCopy"},CreateBucket:{http:{method:"PUT",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CreateBucketConfiguration:{locationName:"CreateBucketConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LocationConstraint:{}}},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"}},payload:"CreateBucketConfiguration"},output:{type:"structure",members:{Location:{location:"header",locationName:"Location"}}},alias:"PutBucket"},CreateMultipartUpload:{http:{requestUri:"/{Bucket}/{Key+}?uploads"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{locationName:"Bucket"},Key:{},UploadId:{},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},alias:"InitiateMultipartUpload"},DeleteBucket:{http:{method:"DELETE",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketCors:{http:{method:"DELETE",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketLifecycle:{http:{method:"DELETE",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketPolicy:{http:{method:"DELETE",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketReplication:{http:{method:"DELETE",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketTagging:{http:{method:"DELETE",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteBucketWebsite:{http:{method:"DELETE",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},DeleteObject:{http:{method:"DELETE",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MFA:{location:"header",locationName:"x-amz-mfa"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},VersionId:{location:"header",locationName:"x-amz-version-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},DeleteObjects:{http:{requestUri:"/{Bucket}?delete"},input:{type:"structure",required:["Bucket","Delete"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delete:{locationName:"Delete",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Objects"],members:{Objects:{locationName:"Object",type:"list",member:{type:"structure",required:["Key"],members:{Key:{},VersionId:{}}},flattened:!0},Quiet:{type:"boolean"}}},MFA:{location:"header",locationName:"x-amz-mfa"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Delete"},output:{type:"structure",members:{Deleted:{type:"list",member:{type:"structure",members:{Key:{},VersionId:{},DeleteMarker:{type:"boolean"},DeleteMarkerVersionId:{}}},flattened:!0},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},Errors:{locationName:"Error",type:"list",member:{type:"structure",members:{Key:{},VersionId:{},Code:{},Message:{}}},flattened:!0}}},alias:"DeleteMultipleObjects"},GetBucketAccelerateConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?accelerate"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Status:{}}}},GetBucketAcl:{http:{method:"GET",requestUri:"/{Bucket}?acl"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Owner:{shape:"S2k"},Grants:{shape:"S2n",locationName:"AccessControlList"}}}},GetBucketCors:{http:{method:"GET",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{CORSRules:{shape:"S2w",locationName:"CORSRule"}}}},GetBucketLifecycle:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Rules:{shape:"S39",locationName:"Rule"}}},deprecated:!0},GetBucketLifecycleConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Rules:{shape:"S3p",locationName:"Rule"}}}},GetBucketLocation:{http:{method:"GET",requestUri:"/{Bucket}?location"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"
}}},output:{type:"structure",members:{LocationConstraint:{}}}},GetBucketLogging:{http:{method:"GET",requestUri:"/{Bucket}?logging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{LoggingEnabled:{shape:"S3x"}}}},GetBucketNotification:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S43"},output:{shape:"S44"},deprecated:!0},GetBucketNotificationConfiguration:{http:{method:"GET",requestUri:"/{Bucket}?notification"},input:{shape:"S43"},output:{shape:"S4f"}},GetBucketPolicy:{http:{method:"GET",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Policy:{}},payload:"Policy"}},GetBucketReplication:{http:{method:"GET",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{ReplicationConfiguration:{shape:"S4y"}},payload:"ReplicationConfiguration"}},GetBucketRequestPayment:{http:{method:"GET",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Payer:{}}}},GetBucketTagging:{http:{method:"GET",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",required:["TagSet"],members:{TagSet:{shape:"S59"}}}},GetBucketVersioning:{http:{method:"GET",requestUri:"/{Bucket}?versioning"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{Status:{},MFADelete:{locationName:"MfaDelete"}}}},GetBucketWebsite:{http:{method:"GET",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}},output:{type:"structure",members:{RedirectAllRequestsTo:{shape:"S5i"},IndexDocument:{shape:"S5l"},ErrorDocument:{shape:"S5n"},RoutingRules:{shape:"S5o"}}}},GetObject:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},ResponseCacheControl:{location:"querystring",locationName:"response-cache-control"},ResponseContentDisposition:{location:"querystring",locationName:"response-content-disposition"},ResponseContentEncoding:{location:"querystring",locationName:"response-content-encoding"},ResponseContentLanguage:{location:"querystring",locationName:"response-content-language"},ResponseContentType:{location:"querystring",locationName:"response-content-type"},ResponseExpires:{location:"querystring",locationName:"response-expires",type:"timestamp"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},AcceptRanges:{location:"header",locationName:"accept-ranges"},Expiration:{location:"header",locationName:"x-amz-expiration"},Restore:{location:"header",locationName:"x-amz-restore"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ETag:{location:"header",locationName:"ETag"},MissingMeta:{location:"header",locationName:"x-amz-missing-meta",type:"integer"},VersionId:{location:"header",locationName:"x-amz-version-id"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentRange:{location:"header",locationName:"Content-Range"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},ReplicationStatus:{location:"header",locationName:"x-amz-replication-status"}},payload:"Body"}},GetObjectAcl:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{Owner:{shape:"S2k"},Grants:{shape:"S2n",locationName:"AccessControlList"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},GetObjectTorrent:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}?torrent"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{Body:{streaming:!0,type:"blob"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"Body"}},HeadBucket:{http:{method:"HEAD",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"}}}},HeadObject:{http:{method:"HEAD",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},IfMatch:{location:"header",locationName:"If-Match"},IfModifiedSince:{location:"header",locationName:"If-Modified-Since",type:"timestamp"},IfNoneMatch:{location:"header",locationName:"If-None-Match"},IfUnmodifiedSince:{location:"header",locationName:"If-Unmodified-Since",type:"timestamp"},Key:{location:"uri",locationName:"Key"},Range:{location:"header",locationName:"Range"},VersionId:{location:"querystring",locationName:"versionId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{DeleteMarker:{location:"header",locationName:"x-amz-delete-marker",type:"boolean"},AcceptRanges:{location:"header",locationName:"accept-ranges"},Expiration:{location:"header",locationName:"x-amz-expiration"},Restore:{location:"header",locationName:"x-amz-restore"},LastModified:{location:"header",locationName:"Last-Modified",type:"timestamp"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ETag:{location:"header",locationName:"ETag"},MissingMeta:{location:"header",locationName:"x-amz-missing-meta",type:"integer"},VersionId:{location:"header",locationName:"x-amz-version-id"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"},ReplicationStatus:{location:"header",locationName:"x-amz-replication-status"}}}},ListBuckets:{http:{method:"GET"},output:{type:"structure",members:{Buckets:{type:"list",member:{locationName:"Bucket",type:"structure",members:{Name:{},CreationDate:{type:"timestamp"}}}},Owner:{shape:"S2k"}}},alias:"GetService"},ListMultipartUploads:{http:{method:"GET",requestUri:"/{Bucket}?uploads"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},KeyMarker:{location:"querystring",locationName:"key-marker"},MaxUploads:{location:"querystring",locationName:"max-uploads",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},UploadIdMarker:{location:"querystring",locationName:"upload-id-marker"}}},output:{type:"structure",members:{Bucket:{},KeyMarker:{},UploadIdMarker:{},NextKeyMarker:{},Prefix:{},Delimiter:{},NextUploadIdMarker:{},MaxUploads:{type:"integer"},IsTruncated:{type:"boolean"},Uploads:{locationName:"Upload",type:"list",member:{type:"structure",members:{UploadId:{},Key:{},Initiated:{type:"timestamp"},StorageClass:{},Owner:{shape:"S2k"},Initiator:{shape:"S75"}}},flattened:!0},CommonPrefixes:{shape:"S76"},EncodingType:{}}}},ListObjectVersions:{http:{method:"GET",requestUri:"/{Bucket}?versions"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},KeyMarker:{location:"querystring",locationName:"key-marker"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},VersionIdMarker:{location:"querystring",locationName:"version-id-marker"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},KeyMarker:{},VersionIdMarker:{},NextKeyMarker:{},NextVersionIdMarker:{},Versions:{locationName:"Version",type:"list",member:{type:"structure",members:{ETag:{},Size:{type:"integer"},StorageClass:{},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"},Owner:{shape:"S2k"}}},flattened:!0},DeleteMarkers:{locationName:"DeleteMarker",type:"list",member:{type:"structure",members:{Owner:{shape:"S2k"},Key:{},VersionId:{},IsLatest:{type:"boolean"},LastModified:{type:"timestamp"}}},flattened:!0},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"S76"},EncodingType:{}}},alias:"GetBucketObjectVersions"},ListObjects:{http:{method:"GET",requestUri:"/{Bucket}"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},Marker:{location:"querystring",locationName:"marker"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},Marker:{},NextMarker:{},Contents:{shape:"S7o"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"S76"},EncodingType:{}}},alias:"GetBucket"},ListObjectsV2:{http:{method:"GET",requestUri:"/{Bucket}?list-type=2"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},Delimiter:{location:"querystring",locationName:"delimiter"},EncodingType:{location:"querystring",locationName:"encoding-type"},MaxKeys:{location:"querystring",locationName:"max-keys",type:"integer"},Prefix:{location:"querystring",locationName:"prefix"},ContinuationToken:{location:"querystring",locationName:"continuation-token"},FetchOwner:{location:"querystring",locationName:"fetch-owner",type:"boolean"},StartAfter:{location:"querystring",locationName:"start-after"}}},output:{type:"structure",members:{IsTruncated:{type:"boolean"},Contents:{shape:"S7o"},Name:{},Prefix:{},Delimiter:{},MaxKeys:{type:"integer"},CommonPrefixes:{shape:"S76"},EncodingType:{},KeyCount:{type:"integer"},ContinuationToken:{},NextContinuationToken:{},StartAfter:{}}}},ListParts:{http:{method:"GET",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},MaxParts:{location:"querystring",locationName:"max-parts",type:"integer"},PartNumberMarker:{location:"querystring",locationName:"part-number-marker",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{AbortDate:{location:"header",locationName:"x-amz-abort-date",type:"timestamp"},AbortRuleId:{location:"header",locationName:"x-amz-abort-rule-id"},Bucket:{},Key:{},UploadId:{},PartNumberMarker:{type:"integer"},NextPartNumberMarker:{type:"integer"},MaxParts:{type:"integer"},IsTruncated:{type:"boolean"},Parts:{locationName:"Part",type:"list",member:{type:"structure",members:{PartNumber:{type:"integer"},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"}}},flattened:!0},Initiator:{shape:"S75"},Owner:{shape:"S2k"},StorageClass:{},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutBucketAccelerateConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?accelerate"},input:{type:"structure",required:["Bucket","AccelerateConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},AccelerateConfiguration:{locationName:"AccelerateConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{Status:{}}}},payload:"AccelerateConfiguration"}},PutBucketAcl:{http:{method:"PUT",requestUri:"/{Bucket}?acl"},input:{type:"structure",required:["Bucket"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"S88",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"}},payload:"AccessControlPolicy"}},PutBucketCors:{http:{method:"PUT",requestUri:"/{Bucket}?cors"},input:{type:"structure",required:["Bucket","CORSConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},CORSConfiguration:{locationName:"CORSConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["CORSRules"],members:{CORSRules:{shape:"S2w",locationName:"CORSRule"}}},ContentMD5:{location:"header",locationName:"Content-MD5"}},payload:"CORSConfiguration"}},PutBucketLifecycle:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S39",locationName:"Rule"}}}},payload:"LifecycleConfiguration"},deprecated:!0},PutBucketLifecycleConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?lifecycle"},input:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",locationName:"Bucket"},LifecycleConfiguration:{locationName:"LifecycleConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Rules"],members:{Rules:{shape:"S3p",locationName:"Rule"}}}},payload:"LifecycleConfiguration"}},PutBucketLogging:{http:{method:"PUT",requestUri:"/{Bucket}?logging"},input:{type:"structure",required:["Bucket","BucketLoggingStatus"],members:{Bucket:{location:"uri",locationName:"Bucket"},BucketLoggingStatus:{locationName:"BucketLoggingStatus",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{LoggingEnabled:{shape:"S3x"}}},ContentMD5:{location:"header",locationName:"Content-MD5"}},payload:"BucketLoggingStatus"}},PutBucketNotification:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},NotificationConfiguration:{shape:"S44",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"NotificationConfiguration"},deprecated:!0},PutBucketNotificationConfiguration:{http:{method:"PUT",requestUri:"/{Bucket}?notification"},input:{type:"structure",required:["Bucket","NotificationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},NotificationConfiguration:{shape:"S4f",locationName:"NotificationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"NotificationConfiguration"}},PutBucketPolicy:{http:{method:"PUT",requestUri:"/{Bucket}?policy"},input:{type:"structure",required:["Bucket","Policy"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},Policy:{}},payload:"Policy"}},PutBucketReplication:{http:{method:"PUT",requestUri:"/{Bucket}?replication"},input:{type:"structure",required:["Bucket","ReplicationConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},ReplicationConfiguration:{shape:"S4y",locationName:"ReplicationConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}}},payload:"ReplicationConfiguration"}},PutBucketRequestPayment:{http:{method:"PUT",requestUri:"/{Bucket}?requestPayment"},input:{type:"structure",required:["Bucket","RequestPaymentConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},RequestPaymentConfiguration:{locationName:"RequestPaymentConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Payer"],members:{Payer:{}}}},payload:"RequestPaymentConfiguration"}},PutBucketTagging:{http:{method:"PUT",requestUri:"/{Bucket}?tagging"},input:{type:"structure",required:["Bucket","Tagging"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},Tagging:{locationName:"Tagging",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["TagSet"],members:{TagSet:{shape:"S59"}}}},payload:"Tagging"}},PutBucketVersioning:{http:{method:"PUT",requestUri:"/{Bucket}?versioning"},input:{type:"structure",required:["Bucket","VersioningConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},MFA:{location:"header",locationName:"x-amz-mfa"},VersioningConfiguration:{locationName:"VersioningConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{MFADelete:{locationName:"MfaDelete"},Status:{}}}},payload:"VersioningConfiguration"}},PutBucketWebsite:{http:{method:"PUT",requestUri:"/{Bucket}?website"},input:{type:"structure",required:["Bucket","WebsiteConfiguration"],members:{Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},WebsiteConfiguration:{locationName:"WebsiteConfiguration",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",members:{ErrorDocument:{shape:"S5n"},IndexDocument:{shape:"S5l"},RedirectAllRequestsTo:{shape:"S5i"},RoutingRules:{shape:"S5o"}}}},payload:"WebsiteConfiguration"}},PutObject:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},Body:{streaming:!0,type:"blob"},Bucket:{location:"uri",locationName:"Bucket"},CacheControl:{location:"header",locationName:"Cache-Control"},ContentDisposition:{location:"header",locationName:"Content-Disposition"},ContentEncoding:{location:"header",locationName:"Content-Encoding"},ContentLanguage:{location:"header",locationName:"Content-Language"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentMD5:{location:"header",locationName:"Content-MD5"},ContentType:{location:"header",locationName:"Content-Type"},Expires:{location:"header",locationName:"Expires",type:"timestamp"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},Metadata:{shape:"S11",location:"headers",locationName:"x-amz-meta-"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},StorageClass:{location:"header",locationName:"x-amz-storage-class"},WebsiteRedirectLocation:{location:"header",locationName:"x-amz-website-redirect-location"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Body"},output:{type:"structure",members:{Expiration:{location:"header",locationName:"x-amz-expiration"},ETag:{location:"header",locationName:"ETag"},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},VersionId:{location:"header",locationName:"x-amz-version-id"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},PutObjectAcl:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}?acl"},input:{type:"structure",required:["Bucket","Key"],members:{ACL:{location:"header",locationName:"x-amz-acl"},AccessControlPolicy:{shape:"S88",locationName:"AccessControlPolicy",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"}},Bucket:{location:"uri",locationName:"Bucket"},ContentMD5:{location:"header",locationName:"Content-MD5"},GrantFullControl:{location:"header",locationName:"x-amz-grant-full-control"},GrantRead:{location:"header",locationName:"x-amz-grant-read"},GrantReadACP:{location:"header",locationName:"x-amz-grant-read-acp"},GrantWrite:{location:"header",locationName:"x-amz-grant-write"},GrantWriteACP:{location:"header",locationName:"x-amz-grant-write-acp"},Key:{location:"uri",locationName:"Key"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"},VersionId:{location:"querystring",locationName:"versionId"}},payload:"AccessControlPolicy"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},RestoreObject:{http:{requestUri:"/{Bucket}/{Key+}?restore"},input:{type:"structure",required:["Bucket","Key"],members:{Bucket:{location:"uri",locationName:"Bucket"},Key:{location:"uri",locationName:"Key"},VersionId:{location:"querystring",locationName:"versionId"},RestoreRequest:{locationName:"RestoreRequest",xmlNamespace:{uri:"http://s3.amazonaws.com/doc/2006-03-01/"},type:"structure",required:["Days"],members:{Days:{type:"integer"}}},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"RestoreRequest"},output:{type:"structure",members:{RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}},alias:"PostObjectRestore"},UploadPart:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","Key","PartNumber","UploadId"],members:{Body:{streaming:!0,type:"blob"},Bucket:{location:"uri",locationName:"Bucket"},ContentLength:{location:"header",locationName:"Content-Length",type:"long"},ContentMD5:{location:"header",locationName:"Content-MD5"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}},payload:"Body"},output:{type:"structure",members:{ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},ETag:{location:"header",locationName:"ETag"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}}}},UploadPartCopy:{http:{method:"PUT",requestUri:"/{Bucket}/{Key+}"},input:{type:"structure",required:["Bucket","CopySource","Key","PartNumber","UploadId"],members:{Bucket:{location:"uri",locationName:"Bucket"},CopySource:{location:"header",locationName:"x-amz-copy-source"},CopySourceIfMatch:{location:"header",locationName:"x-amz-copy-source-if-match"},CopySourceIfModifiedSince:{location:"header",locationName:"x-amz-copy-source-if-modified-since",type:"timestamp"},CopySourceIfNoneMatch:{location:"header",locationName:"x-amz-copy-source-if-none-match"},CopySourceIfUnmodifiedSince:{location:"header",locationName:"x-amz-copy-source-if-unmodified-since",type:"timestamp"},CopySourceRange:{location:"header",locationName:"x-amz-copy-source-range"},Key:{location:"uri",locationName:"Key"},PartNumber:{location:"querystring",locationName:"partNumber",type:"integer"},UploadId:{location:"querystring",locationName:"uploadId"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKey:{shape:"S18",location:"header",locationName:"x-amz-server-side-encryption-customer-key"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},CopySourceSSECustomerAlgorithm:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-algorithm"},CopySourceSSECustomerKey:{shape:"S1b",location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key"},CopySourceSSECustomerKeyMD5:{location:"header",locationName:"x-amz-copy-source-server-side-encryption-customer-key-MD5"},RequestPayer:{location:"header",locationName:"x-amz-request-payer"}}},output:{type:"structure",members:{CopySourceVersionId:{location:"header",locationName:"x-amz-copy-source-version-id"},CopyPartResult:{type:"structure",members:{ETag:{},LastModified:{type:"timestamp"}}},ServerSideEncryption:{location:"header",locationName:"x-amz-server-side-encryption"},SSECustomerAlgorithm:{location:"header",locationName:"x-amz-server-side-encryption-customer-algorithm"},SSECustomerKeyMD5:{location:"header",locationName:"x-amz-server-side-encryption-customer-key-MD5"},SSEKMSKeyId:{shape:"Sj",location:"header",locationName:"x-amz-server-side-encryption-aws-kms-key-id"},RequestCharged:{location:"header",locationName:"x-amz-request-charged"}},payload:"CopyPartResult"}}},shapes:{Sj:{type:"string",sensitive:!0},S11:{type:"map",key:{},value:{}},S18:{type:"blob",sensitive:!0},S1b:{type:"blob",sensitive:!0},S2k:{type:"structure",members:{DisplayName:{},ID:{}}},S2n:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S2p"},Permission:{}}}},S2p:{type:"structure",required:["Type"],members:{DisplayName:{},EmailAddress:{},ID:{},Type:{locationName:"xsi:type",xmlAttribute:!0},URI:{}},xmlNamespace:{prefix:"xsi",uri:"http://www.w3.org/2001/XMLSchema-instance"}},S2w:{type:"list",member:{type:"structure",required:["AllowedMethods","AllowedOrigins"],members:{AllowedHeaders:{locationName:"AllowedHeader",type:"list",member:{},flattened:!0},AllowedMethods:{locationName:"AllowedMethod",type:"list",member:{},flattened:!0},AllowedOrigins:{locationName:"AllowedOrigin",type:"list",member:{},flattened:!0},ExposeHeaders:{locationName:"ExposeHeader",type:"list",member:{},flattened:!0},MaxAgeSeconds:{type:"integer"}}},flattened:!0},S39:{type:"list",member:{type:"structure",required:["Prefix","Status"],members:{Expiration:{shape:"S3b"},ID:{},Prefix:{},Status:{},Transition:{shape:"S3h"},NoncurrentVersionTransition:{shape:"S3j"},NoncurrentVersionExpiration:{shape:"S3k"},AbortIncompleteMultipartUpload:{shape:"S3l"}}},flattened:!0},S3b:{type:"structure",members:{Date:{shape:"S3c"},Days:{type:"integer"},ExpiredObjectDeleteMarker:{type:"boolean"}}},S3c:{type:"timestamp",timestampFormat:"iso8601"},S3h:{type:"structure",members:{Date:{shape:"S3c"},Days:{type:"integer"},StorageClass:{}}},S3j:{type:"structure",members:{NoncurrentDays:{type:"integer"},StorageClass:{}}},S3k:{type:"structure",members:{NoncurrentDays:{type:"integer"}}},S3l:{type:"structure",members:{DaysAfterInitiation:{type:"integer"}}},S3p:{type:"list",member:{type:"structure",required:["Prefix","Status"],members:{Expiration:{shape:"S3b"},ID:{},Prefix:{},Status:{},Transitions:{locationName:"Transition",type:"list",member:{shape:"S3h"},flattened:!0},NoncurrentVersionTransitions:{locationName:"NoncurrentVersionTransition",type:"list",member:{shape:"S3j"},flattened:!0},NoncurrentVersionExpiration:{shape:"S3k"},AbortIncompleteMultipartUpload:{shape:"S3l"}}},flattened:!0},S3x:{type:"structure",members:{TargetBucket:{},TargetGrants:{type:"list",member:{locationName:"Grant",type:"structure",members:{Grantee:{shape:"S2p"},Permission:{}}}},TargetPrefix:{}}},S43:{type:"structure",required:["Bucket"],members:{Bucket:{location:"uri",
locationName:"Bucket"}}},S44:{type:"structure",members:{TopicConfiguration:{type:"structure",members:{Id:{},Events:{shape:"S47",locationName:"Event"},Event:{deprecated:!0},Topic:{}}},QueueConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S47",locationName:"Event"},Queue:{}}},CloudFunctionConfiguration:{type:"structure",members:{Id:{},Event:{deprecated:!0},Events:{shape:"S47",locationName:"Event"},CloudFunction:{},InvocationRole:{}}}}},S47:{type:"list",member:{},flattened:!0},S4f:{type:"structure",members:{TopicConfigurations:{locationName:"TopicConfiguration",type:"list",member:{type:"structure",required:["TopicArn","Events"],members:{Id:{},TopicArn:{locationName:"Topic"},Events:{shape:"S47",locationName:"Event"},Filter:{shape:"S4i"}}},flattened:!0},QueueConfigurations:{locationName:"QueueConfiguration",type:"list",member:{type:"structure",required:["QueueArn","Events"],members:{Id:{},QueueArn:{locationName:"Queue"},Events:{shape:"S47",locationName:"Event"},Filter:{shape:"S4i"}}},flattened:!0},LambdaFunctionConfigurations:{locationName:"CloudFunctionConfiguration",type:"list",member:{type:"structure",required:["LambdaFunctionArn","Events"],members:{Id:{},LambdaFunctionArn:{locationName:"CloudFunction"},Events:{shape:"S47",locationName:"Event"},Filter:{shape:"S4i"}}},flattened:!0}}},S4i:{type:"structure",members:{Key:{locationName:"S3Key",type:"structure",members:{FilterRules:{locationName:"FilterRule",type:"list",member:{type:"structure",members:{Name:{},Value:{}}},flattened:!0}}}}},S4y:{type:"structure",required:["Role","Rules"],members:{Role:{},Rules:{locationName:"Rule",type:"list",member:{type:"structure",required:["Prefix","Status","Destination"],members:{ID:{},Prefix:{},Status:{},Destination:{type:"structure",required:["Bucket"],members:{Bucket:{},StorageClass:{}}}}},flattened:!0}}},S59:{type:"list",member:{locationName:"Tag",type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S5i:{type:"structure",required:["HostName"],members:{HostName:{},Protocol:{}}},S5l:{type:"structure",required:["Suffix"],members:{Suffix:{}}},S5n:{type:"structure",required:["Key"],members:{Key:{}}},S5o:{type:"list",member:{locationName:"RoutingRule",type:"structure",required:["Redirect"],members:{Condition:{type:"structure",members:{HttpErrorCodeReturnedEquals:{},KeyPrefixEquals:{}}},Redirect:{type:"structure",members:{HostName:{},HttpRedirectCode:{},Protocol:{},ReplaceKeyPrefixWith:{},ReplaceKeyWith:{}}}}}},S75:{type:"structure",members:{ID:{},DisplayName:{}}},S76:{type:"list",member:{type:"structure",members:{Prefix:{}}},flattened:!0},S7o:{type:"list",member:{type:"structure",members:{Key:{},LastModified:{type:"timestamp"},ETag:{},Size:{type:"integer"},StorageClass:{},Owner:{shape:"S2k"}}},flattened:!0},S88:{type:"structure",members:{Grants:{shape:"S2n",locationName:"AccessControlList"},Owner:{shape:"S2k"}}}},paginators:{ListBuckets:{result_key:"Buckets"},ListMultipartUploads:{limit_key:"MaxUploads",more_results:"IsTruncated",output_token:["NextKeyMarker","NextUploadIdMarker"],input_token:["KeyMarker","UploadIdMarker"],result_key:["Uploads","CommonPrefixes"]},ListObjectVersions:{more_results:"IsTruncated",limit_key:"MaxKeys",output_token:["NextKeyMarker","NextVersionIdMarker"],input_token:["KeyMarker","VersionIdMarker"],result_key:["Versions","DeleteMarkers","CommonPrefixes"]},ListObjects:{more_results:"IsTruncated",limit_key:"MaxKeys",output_token:"NextMarker || Contents[-1].Key",input_token:"Marker",result_key:["Contents","CommonPrefixes"]},ListObjectsV2:{limit_key:"MaxKeys",output_token:"NextContinuationToken",input_token:"ContinuationToken",result_key:["Contents","CommonPrefixes"]},ListParts:{more_results:"IsTruncated",limit_key:"MaxParts",output_token:"NextPartNumberMarker",input_token:"PartNumberMarker",result_key:"Parts"}},waiters:{BucketExists:{delay:5,operation:"HeadBucket",maxAttempts:20,acceptors:[{expected:200,matcher:"status",state:"success"},{expected:301,matcher:"status",state:"success"},{expected:403,matcher:"status",state:"success"},{expected:404,matcher:"status",state:"retry"}]},BucketNotExists:{delay:5,operation:"HeadBucket",maxAttempts:20,acceptors:[{expected:404,matcher:"status",state:"success"}]},ObjectExists:{delay:5,operation:"HeadObject",maxAttempts:20,acceptors:[{expected:200,matcher:"status",state:"success"},{expected:404,matcher:"status",state:"retry"}]},ObjectNotExists:{delay:5,operation:"HeadObject",maxAttempts:20,acceptors:[{expected:404,matcher:"status",state:"success"}]}}},i.apiLoader.services.ses={},i.SES=i.Service.defineService("ses",["2010-12-01"]),i.apiLoader.services.ses["2010-12-01"]={version:"2.0",metadata:{apiVersion:"2010-12-01",endpointPrefix:"email",protocol:"query",serviceAbbreviation:"Amazon SES",serviceFullName:"Amazon Simple Email Service",signatureVersion:"v4",signingName:"ses",xmlNamespace:"http://ses.amazonaws.com/doc/2010-12-01/"},operations:{CloneReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","OriginalRuleSetName"],members:{RuleSetName:{},OriginalRuleSetName:{}}},output:{resultWrapper:"CloneReceiptRuleSetResult",type:"structure",members:{}},http:{}},CreateReceiptFilter:{input:{type:"structure",required:["Filter"],members:{Filter:{shape:"S5"}}},output:{resultWrapper:"CreateReceiptFilterResult",type:"structure",members:{}},http:{}},CreateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},After:{},Rule:{shape:"Sd"}}},output:{resultWrapper:"CreateReceiptRuleResult",type:"structure",members:{}},http:{}},CreateReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"CreateReceiptRuleSetResult",type:"structure",members:{}},http:{}},DeleteIdentity:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"DeleteIdentityResult",type:"structure",members:{}},http:{}},DeleteIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName"],members:{Identity:{},PolicyName:{}}},output:{resultWrapper:"DeleteIdentityPolicyResult",type:"structure",members:{}},http:{}},DeleteReceiptFilter:{input:{type:"structure",required:["FilterName"],members:{FilterName:{}}},output:{resultWrapper:"DeleteReceiptFilterResult",type:"structure",members:{}},http:{}},DeleteReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DeleteReceiptRuleResult",type:"structure",members:{}},http:{}},DeleteReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DeleteReceiptRuleSetResult",type:"structure",members:{}},http:{}},DeleteVerifiedEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}},http:{}},DescribeActiveReceiptRuleSet:{input:{type:"structure",members:{}},output:{resultWrapper:"DescribeActiveReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S1l"},Rules:{shape:"S1n"}}},http:{}},DescribeReceiptRule:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{}}},output:{resultWrapper:"DescribeReceiptRuleResult",type:"structure",members:{Rule:{shape:"Sd"}}},http:{}},DescribeReceiptRuleSet:{input:{type:"structure",required:["RuleSetName"],members:{RuleSetName:{}}},output:{resultWrapper:"DescribeReceiptRuleSetResult",type:"structure",members:{Metadata:{shape:"S1l"},Rules:{shape:"S1n"}}},http:{}},GetIdentityDkimAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityDkimAttributesResult",type:"structure",required:["DkimAttributes"],members:{DkimAttributes:{type:"map",key:{},value:{type:"structure",required:["DkimEnabled","DkimVerificationStatus"],members:{DkimEnabled:{type:"boolean"},DkimVerificationStatus:{},DkimTokens:{shape:"S1y"}}}}}},http:{}},GetIdentityMailFromDomainAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityMailFromDomainAttributesResult",type:"structure",required:["MailFromDomainAttributes"],members:{MailFromDomainAttributes:{type:"map",key:{},value:{type:"structure",required:["MailFromDomain","MailFromDomainStatus","BehaviorOnMXFailure"],members:{MailFromDomain:{},MailFromDomainStatus:{},BehaviorOnMXFailure:{}}}}}},http:{}},GetIdentityNotificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityNotificationAttributesResult",type:"structure",required:["NotificationAttributes"],members:{NotificationAttributes:{type:"map",key:{},value:{type:"structure",required:["BounceTopic","ComplaintTopic","DeliveryTopic","ForwardingEnabled"],members:{BounceTopic:{},ComplaintTopic:{},DeliveryTopic:{},ForwardingEnabled:{type:"boolean"},HeadersInBounceNotificationsEnabled:{type:"boolean"},HeadersInComplaintNotificationsEnabled:{type:"boolean"},HeadersInDeliveryNotificationsEnabled:{type:"boolean"}}}}}},http:{}},GetIdentityPolicies:{input:{type:"structure",required:["Identity","PolicyNames"],members:{Identity:{},PolicyNames:{shape:"S2d"}}},output:{resultWrapper:"GetIdentityPoliciesResult",type:"structure",required:["Policies"],members:{Policies:{type:"map",key:{},value:{}}}},http:{}},GetIdentityVerificationAttributes:{input:{type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"}}},output:{resultWrapper:"GetIdentityVerificationAttributesResult",type:"structure",required:["VerificationAttributes"],members:{VerificationAttributes:{type:"map",key:{},value:{type:"structure",required:["VerificationStatus"],members:{VerificationStatus:{},VerificationToken:{}}}}}},http:{}},GetSendQuota:{output:{resultWrapper:"GetSendQuotaResult",type:"structure",members:{Max24HourSend:{type:"double"},MaxSendRate:{type:"double"},SentLast24Hours:{type:"double"}}},http:{}},GetSendStatistics:{output:{resultWrapper:"GetSendStatisticsResult",type:"structure",members:{SendDataPoints:{type:"list",member:{type:"structure",members:{Timestamp:{type:"timestamp"},DeliveryAttempts:{type:"long"},Bounces:{type:"long"},Complaints:{type:"long"},Rejects:{type:"long"}}}}}},http:{}},ListIdentities:{input:{type:"structure",members:{IdentityType:{},NextToken:{},MaxItems:{type:"integer"}}},output:{resultWrapper:"ListIdentitiesResult",type:"structure",required:["Identities"],members:{Identities:{shape:"S1t"},NextToken:{}}},http:{}},ListIdentityPolicies:{input:{type:"structure",required:["Identity"],members:{Identity:{}}},output:{resultWrapper:"ListIdentityPoliciesResult",type:"structure",required:["PolicyNames"],members:{PolicyNames:{shape:"S2d"}}},http:{}},ListReceiptFilters:{input:{type:"structure",members:{}},output:{resultWrapper:"ListReceiptFiltersResult",type:"structure",members:{Filters:{type:"list",member:{shape:"S5"}}}},http:{}},ListReceiptRuleSets:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListReceiptRuleSetsResult",type:"structure",members:{RuleSets:{type:"list",member:{shape:"S1l"}},NextToken:{}}},http:{}},ListVerifiedEmailAddresses:{output:{resultWrapper:"ListVerifiedEmailAddressesResult",type:"structure",members:{VerifiedEmailAddresses:{shape:"S37"}}},http:{}},PutIdentityPolicy:{input:{type:"structure",required:["Identity","PolicyName","Policy"],members:{Identity:{},PolicyName:{},Policy:{}}},output:{resultWrapper:"PutIdentityPolicyResult",type:"structure",members:{}},http:{}},ReorderReceiptRuleSet:{input:{type:"structure",required:["RuleSetName","RuleNames"],members:{RuleSetName:{},RuleNames:{type:"list",member:{}}}},output:{resultWrapper:"ReorderReceiptRuleSetResult",type:"structure",members:{}},http:{}},SendBounce:{input:{type:"structure",required:["OriginalMessageId","BounceSender","BouncedRecipientInfoList"],members:{OriginalMessageId:{},BounceSender:{},Explanation:{},MessageDsn:{type:"structure",required:["ReportingMta"],members:{ReportingMta:{},ArrivalDate:{type:"timestamp"},ExtensionFields:{shape:"S3j"}}},BouncedRecipientInfoList:{type:"list",member:{type:"structure",required:["Recipient"],members:{Recipient:{},RecipientArn:{},BounceType:{},RecipientDsnFields:{type:"structure",required:["Action","Status"],members:{FinalRecipient:{},Action:{},RemoteMta:{},Status:{},DiagnosticCode:{},LastAttemptDate:{type:"timestamp"},ExtensionFields:{shape:"S3j"}}}}}},BounceSenderArn:{}}},output:{resultWrapper:"SendBounceResult",type:"structure",members:{MessageId:{}}},http:{}},SendEmail:{input:{type:"structure",required:["Source","Destination","Message"],members:{Source:{},Destination:{type:"structure",members:{ToAddresses:{shape:"S37"},CcAddresses:{shape:"S37"},BccAddresses:{shape:"S37"}}},Message:{type:"structure",required:["Subject","Body"],members:{Subject:{shape:"S40"},Body:{type:"structure",members:{Text:{shape:"S40"},Html:{shape:"S40"}}}}},ReplyToAddresses:{shape:"S37"},ReturnPath:{},SourceArn:{},ReturnPathArn:{}}},output:{resultWrapper:"SendEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}},http:{}},SendRawEmail:{input:{type:"structure",required:["RawMessage"],members:{Source:{},Destinations:{shape:"S37"},RawMessage:{type:"structure",required:["Data"],members:{Data:{type:"blob"}}},FromArn:{},SourceArn:{},ReturnPathArn:{}}},output:{resultWrapper:"SendRawEmailResult",type:"structure",required:["MessageId"],members:{MessageId:{}}},http:{}},SetActiveReceiptRuleSet:{input:{type:"structure",members:{RuleSetName:{}}},output:{resultWrapper:"SetActiveReceiptRuleSetResult",type:"structure",members:{}},http:{}},SetIdentityDkimEnabled:{input:{type:"structure",required:["Identity","DkimEnabled"],members:{Identity:{},DkimEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityDkimEnabledResult",type:"structure",members:{}},http:{}},SetIdentityFeedbackForwardingEnabled:{input:{type:"structure",required:["Identity","ForwardingEnabled"],members:{Identity:{},ForwardingEnabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityFeedbackForwardingEnabledResult",type:"structure",members:{}},http:{}},SetIdentityHeadersInNotificationsEnabled:{input:{type:"structure",required:["Identity","NotificationType","Enabled"],members:{Identity:{},NotificationType:{},Enabled:{type:"boolean"}}},output:{resultWrapper:"SetIdentityHeadersInNotificationsEnabledResult",type:"structure",members:{}},http:{}},SetIdentityMailFromDomain:{input:{type:"structure",required:["Identity"],members:{Identity:{},MailFromDomain:{},BehaviorOnMXFailure:{}}},output:{resultWrapper:"SetIdentityMailFromDomainResult",type:"structure",members:{}},http:{}},SetIdentityNotificationTopic:{input:{type:"structure",required:["Identity","NotificationType"],members:{Identity:{},NotificationType:{},SnsTopic:{}}},output:{resultWrapper:"SetIdentityNotificationTopicResult",type:"structure",members:{}},http:{}},SetReceiptRulePosition:{input:{type:"structure",required:["RuleSetName","RuleName"],members:{RuleSetName:{},RuleName:{},After:{}}},output:{resultWrapper:"SetReceiptRulePositionResult",type:"structure",members:{}},http:{}},UpdateReceiptRule:{input:{type:"structure",required:["RuleSetName","Rule"],members:{RuleSetName:{},Rule:{shape:"Sd"}}},output:{resultWrapper:"UpdateReceiptRuleResult",type:"structure",members:{}},http:{}},VerifyDomainDkim:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainDkimResult",type:"structure",required:["DkimTokens"],members:{DkimTokens:{shape:"S1y"}}},http:{}},VerifyDomainIdentity:{input:{type:"structure",required:["Domain"],members:{Domain:{}}},output:{resultWrapper:"VerifyDomainIdentityResult",type:"structure",required:["VerificationToken"],members:{VerificationToken:{}}},http:{}},VerifyEmailAddress:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}},http:{}},VerifyEmailIdentity:{input:{type:"structure",required:["EmailAddress"],members:{EmailAddress:{}}},output:{resultWrapper:"VerifyEmailIdentityResult",type:"structure",members:{}},http:{}}},shapes:{S5:{type:"structure",required:["Name","IpFilter"],members:{Name:{},IpFilter:{type:"structure",required:["Policy","Cidr"],members:{Policy:{},Cidr:{}}}}},Sd:{type:"structure",required:["Name"],members:{Name:{},Enabled:{type:"boolean"},TlsPolicy:{},Recipients:{type:"list",member:{}},Actions:{type:"list",member:{type:"structure",members:{S3Action:{type:"structure",required:["BucketName"],members:{TopicArn:{},BucketName:{},ObjectKeyPrefix:{},KmsKeyArn:{}}},BounceAction:{type:"structure",required:["SmtpReplyCode","Message","Sender"],members:{TopicArn:{},SmtpReplyCode:{},StatusCode:{},Message:{},Sender:{}}},WorkmailAction:{type:"structure",required:["OrganizationArn"],members:{TopicArn:{},OrganizationArn:{}}},LambdaAction:{type:"structure",required:["FunctionArn"],members:{TopicArn:{},FunctionArn:{},InvocationType:{}}},StopAction:{type:"structure",required:["Scope"],members:{Scope:{},TopicArn:{}}},AddHeaderAction:{type:"structure",required:["HeaderName","HeaderValue"],members:{HeaderName:{},HeaderValue:{}}},SNSAction:{type:"structure",required:["TopicArn"],members:{TopicArn:{},Encoding:{}}}}}},ScanEnabled:{type:"boolean"}}},S1l:{type:"structure",members:{Name:{},CreatedTimestamp:{type:"timestamp"}}},S1n:{type:"list",member:{shape:"Sd"}},S1t:{type:"list",member:{}},S1y:{type:"list",member:{}},S2d:{type:"list",member:{}},S37:{type:"list",member:{}},S3j:{type:"list",member:{type:"structure",required:["Name","Value"],members:{Name:{},Value:{}}}},S40:{type:"structure",required:["Data"],members:{Data:{},Charset:{}}}},paginators:{ListIdentities:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxItems",result_key:"Identities"},ListVerifiedEmailAddresses:{result_key:"VerifiedEmailAddresses"}},waiters:{IdentityExists:{delay:3,operation:"GetIdentityVerificationAttributes",maxAttempts:20,acceptors:[{expected:"Success",matcher:"pathAll",state:"success",argument:"VerificationAttributes.*.VerificationStatus"}]}}},i.apiLoader.services.sns={},i.SNS=i.Service.defineService("sns",["2010-03-31"]),i.apiLoader.services.sns["2010-03-31"]={version:"2.0",metadata:{apiVersion:"2010-03-31",endpointPrefix:"sns",protocol:"query",serviceAbbreviation:"Amazon SNS",serviceFullName:"Amazon Simple Notification Service",signatureVersion:"v4",xmlNamespace:"http://sns.amazonaws.com/doc/2010-03-31/"},operations:{AddPermission:{input:{type:"structure",required:["TopicArn","Label","AWSAccountId","ActionName"],members:{TopicArn:{},Label:{},AWSAccountId:{type:"list",member:{}},ActionName:{type:"list",member:{}}}},http:{}},CheckIfPhoneNumberIsOptedOut:{input:{type:"structure",required:["phoneNumber"],members:{phoneNumber:{}}},output:{resultWrapper:"CheckIfPhoneNumberIsOptedOutResult",type:"structure",members:{isOptedOut:{type:"boolean"}}},http:{}},ConfirmSubscription:{input:{type:"structure",required:["TopicArn","Token"],members:{TopicArn:{},Token:{},AuthenticateOnUnsubscribe:{}}},output:{resultWrapper:"ConfirmSubscriptionResult",type:"structure",members:{SubscriptionArn:{}}},http:{}},CreatePlatformApplication:{input:{type:"structure",required:["Name","Platform","Attributes"],members:{Name:{},Platform:{},Attributes:{shape:"Sj"}}},output:{resultWrapper:"CreatePlatformApplicationResult",type:"structure",members:{PlatformApplicationArn:{}}},http:{}},CreatePlatformEndpoint:{input:{type:"structure",required:["PlatformApplicationArn","Token"],members:{PlatformApplicationArn:{},Token:{},CustomUserData:{},Attributes:{shape:"Sj"}}},output:{resultWrapper:"CreatePlatformEndpointResult",type:"structure",members:{EndpointArn:{}}},http:{}},CreateTopic:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{resultWrapper:"CreateTopicResult",type:"structure",members:{TopicArn:{}}},http:{}},DeleteEndpoint:{input:{type:"structure",required:["EndpointArn"],members:{EndpointArn:{}}},http:{}},DeletePlatformApplication:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{}}},http:{}},DeleteTopic:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{}}},http:{}},GetEndpointAttributes:{input:{type:"structure",required:["EndpointArn"],members:{EndpointArn:{}}},output:{resultWrapper:"GetEndpointAttributesResult",type:"structure",members:{Attributes:{shape:"Sj"}}},http:{}},GetPlatformApplicationAttributes:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{}}},output:{resultWrapper:"GetPlatformApplicationAttributesResult",type:"structure",members:{Attributes:{shape:"Sj"}}},http:{}},GetSMSAttributes:{input:{type:"structure",members:{attributes:{type:"list",member:{}}}},output:{resultWrapper:"GetSMSAttributesResult",type:"structure",members:{attributes:{shape:"Sj"}}},http:{}},GetSubscriptionAttributes:{input:{type:"structure",required:["SubscriptionArn"],members:{SubscriptionArn:{}}},output:{resultWrapper:"GetSubscriptionAttributesResult",type:"structure",members:{Attributes:{type:"map",key:{},value:{}}}},http:{}},GetTopicAttributes:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{}}},output:{resultWrapper:"GetTopicAttributesResult",type:"structure",members:{Attributes:{type:"map",key:{},value:{}}}},http:{}},ListEndpointsByPlatformApplication:{input:{type:"structure",required:["PlatformApplicationArn"],members:{PlatformApplicationArn:{},NextToken:{}}},output:{resultWrapper:"ListEndpointsByPlatformApplicationResult",type:"structure",members:{Endpoints:{type:"list",member:{type:"structure",members:{EndpointArn:{},Attributes:{shape:"Sj"}}}},NextToken:{}}},http:{}},ListPhoneNumbersOptedOut:{input:{type:"structure",members:{nextToken:{}}},output:{resultWrapper:"ListPhoneNumbersOptedOutResult",type:"structure",members:{phoneNumbers:{type:"list",member:{}},nextToken:{}}},http:{}},ListPlatformApplications:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListPlatformApplicationsResult",type:"structure",members:{PlatformApplications:{type:"list",member:{type:"structure",members:{PlatformApplicationArn:{},Attributes:{shape:"Sj"}}}},NextToken:{}}},http:{}},ListSubscriptions:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListSubscriptionsResult",type:"structure",members:{Subscriptions:{shape:"S1n"},NextToken:{}}},http:{}},ListSubscriptionsByTopic:{input:{type:"structure",required:["TopicArn"],members:{TopicArn:{},NextToken:{}}},output:{resultWrapper:"ListSubscriptionsByTopicResult",type:"structure",members:{Subscriptions:{shape:"S1n"},NextToken:{}}},http:{}},ListTopics:{input:{type:"structure",members:{NextToken:{}}},output:{resultWrapper:"ListTopicsResult",type:"structure",members:{Topics:{type:"list",member:{type:"structure",members:{TopicArn:{}}}},NextToken:{}}},http:{}},OptInPhoneNumber:{input:{type:"structure",required:["phoneNumber"],members:{phoneNumber:{}}},output:{resultWrapper:"OptInPhoneNumberResult",type:"structure",members:{}},http:{}},Publish:{input:{type:"structure",required:["Message"],members:{TopicArn:{},TargetArn:{},PhoneNumber:{},Message:{},Subject:{},MessageStructure:{},MessageAttributes:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{DataType:{},StringValue:{},BinaryValue:{type:"blob"}}}}}},output:{resultWrapper:"PublishResult",type:"structure",members:{MessageId:{}}},http:{}},RemovePermission:{input:{type:"structure",required:["TopicArn","Label"],members:{TopicArn:{},Label:{}}},http:{}},SetEndpointAttributes:{input:{type:"structure",required:["EndpointArn","Attributes"],members:{EndpointArn:{},Attributes:{shape:"Sj"}}},http:{}},SetPlatformApplicationAttributes:{input:{type:"structure",required:["PlatformApplicationArn","Attributes"],members:{PlatformApplicationArn:{},Attributes:{shape:"Sj"}}},http:{}},SetSMSAttributes:{input:{type:"structure",required:["attributes"],members:{attributes:{shape:"Sj"}}},output:{resultWrapper:"SetSMSAttributesResult",type:"structure",members:{}},http:{}},SetSubscriptionAttributes:{input:{type:"structure",required:["SubscriptionArn","AttributeName"],members:{SubscriptionArn:{},AttributeName:{},AttributeValue:{}}},http:{}},SetTopicAttributes:{input:{type:"structure",required:["TopicArn","AttributeName"],members:{TopicArn:{},AttributeName:{},AttributeValue:{}}},http:{}},Subscribe:{input:{type:"structure",required:["TopicArn","Protocol"],members:{TopicArn:{},Protocol:{},Endpoint:{}}},output:{resultWrapper:"SubscribeResult",type:"structure",members:{SubscriptionArn:{}}},http:{}},Unsubscribe:{input:{type:"structure",required:["SubscriptionArn"],members:{SubscriptionArn:{}}},http:{}}},shapes:{Sj:{type:"map",key:{},value:{}},S1n:{type:"list",member:{type:"structure",members:{SubscriptionArn:{},Owner:{},Protocol:{},Endpoint:{},TopicArn:{}}}}},paginators:{ListEndpointsByPlatformApplication:{input_token:"NextToken",output_token:"NextToken",result_key:"Endpoints"},ListPlatformApplications:{input_token:"NextToken",output_token:"NextToken",result_key:"PlatformApplications"},ListSubscriptions:{input_token:"NextToken",output_token:"NextToken",result_key:"Subscriptions"},ListSubscriptionsByTopic:{input_token:"NextToken",output_token:"NextToken",result_key:"Subscriptions"},ListTopics:{input_token:"NextToken",output_token:"NextToken",result_key:"Topics"}}},i.apiLoader.services.sqs={},i.SQS=i.Service.defineService("sqs",["2012-11-05"]),e("./services/sqs"),i.apiLoader.services.sqs["2012-11-05"]={version:"2.0",metadata:{apiVersion:"2012-11-05",endpointPrefix:"sqs",protocol:"query",serviceAbbreviation:"Amazon SQS",serviceFullName:"Amazon Simple Queue Service",signatureVersion:"v4",xmlNamespace:"http://queue.amazonaws.com/doc/2012-11-05/"},operations:{AddPermission:{input:{type:"structure",required:["QueueUrl","Label","AWSAccountIds","Actions"],members:{QueueUrl:{},Label:{},AWSAccountIds:{type:"list",member:{locationName:"AWSAccountId"},flattened:!0},Actions:{type:"list",member:{locationName:"ActionName"},flattened:!0}}},http:{}},ChangeMessageVisibility:{input:{type:"structure",required:["QueueUrl","ReceiptHandle","VisibilityTimeout"],members:{QueueUrl:{},ReceiptHandle:{},VisibilityTimeout:{type:"integer"}}},http:{}},ChangeMessageVisibilityBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchRequestEntry",type:"structure",required:["Id","ReceiptHandle"],members:{Id:{},ReceiptHandle:{},VisibilityTimeout:{type:"integer"}}},flattened:!0}}},output:{resultWrapper:"ChangeMessageVisibilityBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"ChangeMessageVisibilityBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},Failed:{shape:"Sd"}}},http:{}},CreateQueue:{input:{type:"structure",required:["QueueName"],members:{QueueName:{},Attributes:{shape:"Sh",locationName:"Attribute"}}},output:{resultWrapper:"CreateQueueResult",type:"structure",members:{QueueUrl:{}}},http:{}},DeleteMessage:{input:{type:"structure",required:["QueueUrl","ReceiptHandle"],members:{QueueUrl:{},ReceiptHandle:{}}},http:{}},DeleteMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"DeleteMessageBatchRequestEntry",type:"structure",required:["Id","ReceiptHandle"],members:{Id:{},ReceiptHandle:{}}},flattened:!0}}},output:{resultWrapper:"DeleteMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"DeleteMessageBatchResultEntry",type:"structure",required:["Id"],members:{Id:{}}},flattened:!0},Failed:{shape:"Sd"}}},http:{}},DeleteQueue:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}},http:{}},GetQueueAttributes:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},AttributeNames:{shape:"St"}}},output:{resultWrapper:"GetQueueAttributesResult",type:"structure",members:{Attributes:{shape:"Sh",locationName:"Attribute"}}},http:{}},GetQueueUrl:{input:{type:"structure",required:["QueueName"],members:{QueueName:{},QueueOwnerAWSAccountId:{}}},output:{resultWrapper:"GetQueueUrlResult",type:"structure",members:{QueueUrl:{}}},http:{}},ListDeadLetterSourceQueues:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}},output:{resultWrapper:"ListDeadLetterSourceQueuesResult",type:"structure",required:["queueUrls"],members:{queueUrls:{shape:"Sz"}}},http:{}},ListQueues:{input:{type:"structure",members:{QueueNamePrefix:{}}},output:{resultWrapper:"ListQueuesResult",type:"structure",members:{QueueUrls:{shape:"Sz"}}},http:{}},PurgeQueue:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{}}},http:{}},ReceiveMessage:{input:{type:"structure",required:["QueueUrl"],members:{QueueUrl:{},AttributeNames:{shape:"St"},MessageAttributeNames:{type:"list",member:{locationName:"MessageAttributeName"},flattened:!0},MaxNumberOfMessages:{type:"integer"},VisibilityTimeout:{type:"integer"},WaitTimeSeconds:{type:"integer"}}},output:{resultWrapper:"ReceiveMessageResult",type:"structure",members:{Messages:{type:"list",member:{locationName:"Message",type:"structure",members:{MessageId:{},ReceiptHandle:{},MD5OfBody:{},Body:{},Attributes:{shape:"Sh",locationName:"Attribute"},MD5OfMessageAttributes:{},MessageAttributes:{shape:"S19",locationName:"MessageAttribute"}}},flattened:!0}}},http:{}},RemovePermission:{input:{type:"structure",required:["QueueUrl","Label"],members:{QueueUrl:{},Label:{}}},http:{}},SendMessage:{input:{type:"structure",required:["QueueUrl","MessageBody"],members:{QueueUrl:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S19",locationName:"MessageAttribute"}}},output:{resultWrapper:"SendMessageResult",type:"structure",members:{MD5OfMessageBody:{},MD5OfMessageAttributes:{},MessageId:{}}},http:{}},SendMessageBatch:{input:{type:"structure",required:["QueueUrl","Entries"],members:{QueueUrl:{},Entries:{type:"list",member:{locationName:"SendMessageBatchRequestEntry",type:"structure",required:["Id","MessageBody"],members:{Id:{},MessageBody:{},DelaySeconds:{type:"integer"},MessageAttributes:{shape:"S19",locationName:"MessageAttribute"}}},flattened:!0}}},output:{resultWrapper:"SendMessageBatchResult",type:"structure",required:["Successful","Failed"],members:{Successful:{type:"list",member:{locationName:"SendMessageBatchResultEntry",type:"structure",required:["Id","MessageId","MD5OfMessageBody"],members:{Id:{},MessageId:{},MD5OfMessageBody:{},MD5OfMessageAttributes:{}}},flattened:!0},Failed:{shape:"Sd"}}},http:{}},SetQueueAttributes:{input:{type:"structure",required:["QueueUrl","Attributes"],members:{QueueUrl:{},Attributes:{shape:"Sh",locationName:"Attribute"}}},http:{}}},shapes:{Sd:{type:"list",member:{locationName:"BatchResultErrorEntry",type:"structure",required:["Id","SenderFault","Code"],members:{Id:{},SenderFault:{type:"boolean"},Code:{},Message:{}}},flattened:!0},Sh:{type:"map",key:{locationName:"Name"},value:{locationName:"Value"},flattened:!0,locationName:"Attribute"},St:{type:"list",member:{locationName:"AttributeName"},flattened:!0},Sz:{type:"list",member:{locationName:"QueueUrl"},flattened:!0},S19:{type:"map",key:{locationName:"Name"},value:{locationName:"Value",type:"structure",required:["DataType"],members:{StringValue:{},BinaryValue:{type:"blob"},StringListValues:{flattened:!0,locationName:"StringListValue",type:"list",member:{locationName:"StringListValue"}},BinaryListValues:{flattened:!0,locationName:"BinaryListValue",type:"list",member:{locationName:"BinaryListValue",type:"blob"}},DataType:{}}},flattened:!0}},paginators:{ListQueues:{result_key:"QueueUrls"}}},i.apiLoader.services.ssm={},i.SSM=i.Service.defineService("ssm",["2014-11-06"]),i.apiLoader.services.ssm["2014-11-06"]={version:"2.0",metadata:{apiVersion:"2014-11-06",endpointPrefix:"ssm",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"Amazon SSM",serviceFullName:"Amazon Simple Systems Management Service",signatureVersion:"v4",targetPrefix:"AmazonSSM"},operations:{AddTagsToResource:{input:{type:"structure",required:["ResourceType","ResourceId","Tags"],
members:{ResourceType:{},ResourceId:{},Tags:{shape:"S4"}}},output:{type:"structure",members:{}},http:{}},CancelCommand:{input:{type:"structure",required:["CommandId"],members:{CommandId:{},InstanceIds:{shape:"Sb"}}},output:{type:"structure",members:{}},http:{}},CreateActivation:{input:{type:"structure",required:["IamRole"],members:{Description:{},DefaultInstanceName:{},IamRole:{},RegistrationLimit:{type:"integer"},ExpirationDate:{type:"timestamp"}}},output:{type:"structure",members:{ActivationId:{},ActivationCode:{}}},http:{}},CreateAssociation:{input:{type:"structure",required:["Name","InstanceId"],members:{Name:{},InstanceId:{},Parameters:{shape:"Sp"}}},output:{type:"structure",members:{AssociationDescription:{shape:"Su"}}},http:{}},CreateAssociationBatch:{input:{type:"structure",required:["Entries"],members:{Entries:{type:"list",member:{shape:"S12",locationName:"entries"}}}},output:{type:"structure",members:{Successful:{type:"list",member:{shape:"Su",locationName:"AssociationDescription"}},Failed:{type:"list",member:{locationName:"FailedCreateAssociationEntry",type:"structure",members:{Entry:{shape:"S12"},Message:{},Fault:{}}}}}},http:{}},CreateDocument:{input:{type:"structure",required:["Content","Name"],members:{Content:{},Name:{}}},output:{type:"structure",members:{DocumentDescription:{shape:"S1c"}}},http:{}},DeleteActivation:{input:{type:"structure",required:["ActivationId"],members:{ActivationId:{}}},output:{type:"structure",members:{}},http:{}},DeleteAssociation:{input:{type:"structure",required:["Name","InstanceId"],members:{Name:{},InstanceId:{}}},output:{type:"structure",members:{}},http:{}},DeleteDocument:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{}},http:{}},DeregisterManagedInstance:{input:{type:"structure",required:["InstanceId"],members:{InstanceId:{}}},output:{type:"structure",members:{}},http:{}},DescribeActivations:{input:{type:"structure",members:{Filters:{type:"list",member:{type:"structure",members:{FilterKey:{},FilterValues:{type:"list",member:{}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{ActivationList:{type:"list",member:{type:"structure",members:{ActivationId:{},Description:{},DefaultInstanceName:{},IamRole:{},RegistrationLimit:{type:"integer"},RegistrationsCount:{type:"integer"},ExpirationDate:{type:"timestamp"},Expired:{type:"boolean"},CreatedDate:{type:"timestamp"}}}},NextToken:{}}},http:{}},DescribeAssociation:{input:{type:"structure",required:["Name","InstanceId"],members:{Name:{},InstanceId:{}}},output:{type:"structure",members:{AssociationDescription:{shape:"Su"}}},http:{}},DescribeDocument:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Document:{shape:"S1c"}}},http:{}},DescribeDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{}}},output:{type:"structure",members:{AccountIds:{shape:"S2m"}}},http:{}},DescribeInstanceInformation:{input:{type:"structure",members:{InstanceInformationFilterList:{type:"list",member:{locationName:"InstanceInformationFilter",type:"structure",required:["key","valueSet"],members:{key:{},valueSet:{type:"list",member:{locationName:"InstanceInformationFilterValue"}}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{InstanceInformationList:{type:"list",member:{locationName:"InstanceInformation",type:"structure",members:{InstanceId:{},PingStatus:{},LastPingDateTime:{type:"timestamp"},AgentVersion:{},IsLatestVersion:{type:"boolean"},PlatformType:{},PlatformName:{},PlatformVersion:{},ActivationId:{},IamRole:{},RegistrationDate:{type:"timestamp"},ResourceType:{},Name:{},IPAddress:{},ComputerName:{}}}},NextToken:{}}},http:{}},GetDocument:{input:{type:"structure",required:["Name"],members:{Name:{}}},output:{type:"structure",members:{Name:{},Content:{}}},http:{}},ListAssociations:{input:{type:"structure",required:["AssociationFilterList"],members:{AssociationFilterList:{type:"list",member:{locationName:"AssociationFilter",type:"structure",required:["key","value"],members:{key:{},value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{Associations:{type:"list",member:{locationName:"Association",type:"structure",members:{Name:{},InstanceId:{}}}},NextToken:{}}},http:{}},ListCommandInvocations:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"S3f"},Details:{type:"boolean"}}},output:{type:"structure",members:{CommandInvocations:{type:"list",member:{type:"structure",members:{CommandId:{},InstanceId:{},Comment:{},DocumentName:{},RequestedDateTime:{type:"timestamp"},Status:{},TraceOutput:{},CommandPlugins:{type:"list",member:{type:"structure",members:{Name:{},Status:{},ResponseCode:{type:"integer"},ResponseStartDateTime:{type:"timestamp"},ResponseFinishDateTime:{type:"timestamp"},Output:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}}}}},NextToken:{}}},http:{}},ListCommands:{input:{type:"structure",members:{CommandId:{},InstanceId:{},MaxResults:{type:"integer"},NextToken:{},Filters:{shape:"S3f"}}},output:{type:"structure",members:{Commands:{type:"list",member:{shape:"S40"}},NextToken:{}}},http:{}},ListDocuments:{input:{type:"structure",members:{DocumentFilterList:{type:"list",member:{locationName:"DocumentFilter",type:"structure",required:["key","value"],members:{key:{},value:{}}}},MaxResults:{type:"integer"},NextToken:{}}},output:{type:"structure",members:{DocumentIdentifiers:{type:"list",member:{locationName:"DocumentIdentifier",type:"structure",members:{Name:{},Owner:{},PlatformTypes:{shape:"S1q"}}}},NextToken:{}}},http:{}},ListTagsForResource:{input:{type:"structure",required:["ResourceType","ResourceId"],members:{ResourceType:{},ResourceId:{}}},output:{type:"structure",members:{TagList:{shape:"S4"}}},http:{}},ModifyDocumentPermission:{input:{type:"structure",required:["Name","PermissionType"],members:{Name:{},PermissionType:{},AccountIdsToAdd:{shape:"S2m"},AccountIdsToRemove:{shape:"S2m"}}},output:{type:"structure",members:{}},http:{}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceType","ResourceId","TagKeys"],members:{ResourceType:{},ResourceId:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{}},http:{}},SendCommand:{input:{type:"structure",required:["InstanceIds","DocumentName"],members:{InstanceIds:{shape:"Sb"},DocumentName:{},DocumentHash:{},DocumentHashType:{},TimeoutSeconds:{type:"integer"},Comment:{},Parameters:{shape:"Sp"},OutputS3BucketName:{},OutputS3KeyPrefix:{}}},output:{type:"structure",members:{Command:{shape:"S40"}}},http:{}},UpdateAssociationStatus:{input:{type:"structure",required:["Name","InstanceId","AssociationStatus"],members:{Name:{},InstanceId:{},AssociationStatus:{shape:"Sw"}}},output:{type:"structure",members:{AssociationDescription:{shape:"Su"}}},http:{}},UpdateManagedInstanceRole:{input:{type:"structure",required:["InstanceId","IamRole"],members:{InstanceId:{},IamRole:{}}},output:{type:"structure",members:{}},http:{}}},shapes:{S4:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},Sb:{type:"list",member:{}},Sp:{type:"map",key:{},value:{type:"list",member:{}}},Su:{type:"structure",members:{Name:{},InstanceId:{},Date:{type:"timestamp"},Status:{shape:"Sw"},Parameters:{shape:"Sp"}}},Sw:{type:"structure",required:["Date","Name","Message"],members:{Date:{type:"timestamp"},Name:{},Message:{},AdditionalInfo:{}}},S12:{type:"structure",members:{Name:{},InstanceId:{},Parameters:{shape:"Sp"}}},S1c:{type:"structure",members:{Sha1:{},Hash:{},HashType:{},Name:{},Owner:{},CreatedDate:{type:"timestamp"},Status:{},Description:{},Parameters:{type:"list",member:{locationName:"DocumentParameter",type:"structure",members:{Name:{},Type:{},Description:{},DefaultValue:{}}}},PlatformTypes:{shape:"S1q"}}},S1q:{type:"list",member:{locationName:"PlatformType"}},S2m:{type:"list",member:{locationName:"AccountId"}},S3f:{type:"list",member:{type:"structure",required:["key","value"],members:{key:{},value:{}}}},S40:{type:"structure",members:{CommandId:{},DocumentName:{},Comment:{},ExpiresAfter:{type:"timestamp"},Parameters:{shape:"Sp"},InstanceIds:{shape:"Sb"},RequestedDateTime:{type:"timestamp"},Status:{},OutputS3BucketName:{},OutputS3KeyPrefix:{}}}},paginators:{ListAssociations:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Associations"},ListCommandInvocations:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"CommandInvocations"},ListCommands:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"Commands"},ListDocuments:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"DocumentIdentifiers"},DescribeActivations:{input_token:"NextToken",output_token:"NextToken",limit_key:"MaxResults",result_key:"ActivationList"}}},i.apiLoader.services.storagegateway={},i.StorageGateway=i.Service.defineService("storagegateway",["2013-06-30"]),i.apiLoader.services.storagegateway["2013-06-30"]={version:"2.0",metadata:{apiVersion:"2013-06-30",endpointPrefix:"storagegateway",jsonVersion:"1.1",protocol:"json",serviceFullName:"AWS Storage Gateway",signatureVersion:"v4",targetPrefix:"StorageGateway_20130630"},operations:{ActivateGateway:{input:{type:"structure",required:["ActivationKey","GatewayName","GatewayTimezone","GatewayRegion"],members:{ActivationKey:{},GatewayName:{},GatewayTimezone:{},GatewayRegion:{},GatewayType:{},TapeDriveType:{},MediumChangerType:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},AddCache:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sc"}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},AddTagsToResource:{input:{type:"structure",required:["ResourceARN","Tags"],members:{ResourceARN:{},Tags:{shape:"Sh"}}},output:{type:"structure",members:{ResourceARN:{}}},http:{}},AddUploadBuffer:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sc"}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},AddWorkingStorage:{input:{type:"structure",required:["GatewayARN","DiskIds"],members:{GatewayARN:{},DiskIds:{shape:"Sc"}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},CancelArchival:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},CancelRetrieval:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},CreateCachediSCSIVolume:{input:{type:"structure",required:["GatewayARN","VolumeSizeInBytes","TargetName","NetworkInterfaceId","ClientToken"],members:{GatewayARN:{},VolumeSizeInBytes:{type:"long"},SnapshotId:{},TargetName:{},NetworkInterfaceId:{},ClientToken:{}}},output:{type:"structure",members:{VolumeARN:{},TargetARN:{}}},http:{}},CreateSnapshot:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{}}},output:{type:"structure",members:{VolumeARN:{},SnapshotId:{}}},http:{}},CreateSnapshotFromVolumeRecoveryPoint:{input:{type:"structure",required:["VolumeARN","SnapshotDescription"],members:{VolumeARN:{},SnapshotDescription:{}}},output:{type:"structure",members:{SnapshotId:{},VolumeARN:{},VolumeRecoveryPointTime:{}}},http:{}},CreateStorediSCSIVolume:{input:{type:"structure",required:["GatewayARN","DiskId","PreserveExistingData","TargetName","NetworkInterfaceId"],members:{GatewayARN:{},DiskId:{},SnapshotId:{},PreserveExistingData:{type:"boolean"},TargetName:{},NetworkInterfaceId:{}}},output:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},TargetARN:{}}},http:{}},CreateTapeWithBarcode:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","TapeBarcode"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},TapeBarcode:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},CreateTapes:{input:{type:"structure",required:["GatewayARN","TapeSizeInBytes","ClientToken","NumTapesToCreate","TapeBarcodePrefix"],members:{GatewayARN:{},TapeSizeInBytes:{type:"long"},ClientToken:{},NumTapesToCreate:{type:"integer"},TapeBarcodePrefix:{}}},output:{type:"structure",members:{TapeARNs:{shape:"S1l"}}},http:{}},DeleteBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN","BandwidthType"],members:{GatewayARN:{},BandwidthType:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},DeleteChapCredentials:{input:{type:"structure",required:["TargetARN","InitiatorName"],members:{TargetARN:{},InitiatorName:{}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}},http:{}},DeleteGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},DeleteSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}},http:{}},DeleteTape:{input:{type:"structure",required:["GatewayARN","TapeARN"],members:{GatewayARN:{},TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},DeleteTapeArchive:{input:{type:"structure",required:["TapeARN"],members:{TapeARN:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},DeleteVolume:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{}}},http:{}},DescribeBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}},http:{}},DescribeCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sc"},CacheAllocatedInBytes:{type:"long"},CacheUsedPercentage:{type:"double"},CacheDirtyPercentage:{type:"double"},CacheHitPercentage:{type:"double"},CacheMissPercentage:{type:"double"}}},http:{}},DescribeCachediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S2a"}}},output:{type:"structure",members:{CachediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},SourceSnapshotId:{},VolumeiSCSIAttributes:{shape:"S2i"}}}}}},http:{}},DescribeChapCredentials:{input:{type:"structure",required:["TargetARN"],members:{TargetARN:{}}},output:{type:"structure",members:{ChapCredentials:{type:"list",member:{type:"structure",members:{TargetARN:{},SecretToAuthenticateInitiator:{},InitiatorName:{},SecretToAuthenticateTarget:{}}}}}},http:{}},DescribeGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayId:{},GatewayName:{},GatewayTimezone:{},GatewayState:{},GatewayNetworkInterfaces:{type:"list",member:{type:"structure",members:{Ipv4Address:{},MacAddress:{},Ipv6Address:{}}}},GatewayType:{},NextUpdateAvailabilityDate:{},LastSoftwareUpdate:{}}},http:{}},DescribeMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"},Timezone:{}}},http:{}},DescribeSnapshotSchedule:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{},Timezone:{}}},http:{}},DescribeStorediSCSIVolumes:{input:{type:"structure",required:["VolumeARNs"],members:{VolumeARNs:{shape:"S2a"}}},output:{type:"structure",members:{StorediSCSIVolumes:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},VolumeType:{},VolumeStatus:{},VolumeSizeInBytes:{type:"long"},VolumeProgress:{type:"double"},VolumeDiskId:{},SourceSnapshotId:{},PreservedExistingData:{type:"boolean"},VolumeiSCSIAttributes:{shape:"S2i"}}}}}},http:{}},DescribeTapeArchives:{input:{type:"structure",members:{TapeARNs:{shape:"S1l"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeArchives:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},CompletionTime:{type:"timestamp"},RetrievedTo:{},TapeStatus:{}}}},Marker:{}}},http:{}},DescribeTapeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},TapeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeRecoveryPointTime:{type:"timestamp"},TapeSizeInBytes:{type:"long"},TapeStatus:{}}}},Marker:{}}},http:{}},DescribeTapes:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},TapeARNs:{shape:"S1l"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Tapes:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},TapeStatus:{},VTLDevice:{},Progress:{type:"double"}}}},Marker:{}}},http:{}},DescribeUploadBuffer:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sc"},UploadBufferUsedInBytes:{type:"long"},UploadBufferAllocatedInBytes:{type:"long"}}},http:{}},DescribeVTLDevices:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},VTLDeviceARNs:{type:"list",member:{}},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},VTLDevices:{type:"list",member:{type:"structure",members:{VTLDeviceARN:{},VTLDeviceType:{},VTLDeviceVendor:{},VTLDeviceProductIdentifier:{},DeviceiSCSIAttributes:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},ChapEnabled:{type:"boolean"}}}}}},Marker:{}}},http:{}},DescribeWorkingStorage:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},DiskIds:{shape:"Sc"},WorkingStorageUsedInBytes:{type:"long"},WorkingStorageAllocatedInBytes:{type:"long"}}},http:{}},DisableGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},ListGateways:{input:{type:"structure",members:{Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{Gateways:{type:"list",member:{type:"structure",members:{GatewayId:{},GatewayARN:{},GatewayType:{},GatewayOperationalState:{},GatewayName:{}}}},Marker:{}}},http:{}},ListLocalDisks:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},Disks:{type:"list",member:{type:"structure",members:{DiskId:{},DiskPath:{},DiskNode:{},DiskStatus:{},DiskSizeInBytes:{type:"long"},DiskAllocationType:{},DiskAllocationResource:{}}}}}},http:{}},ListTagsForResource:{input:{type:"structure",required:["ResourceARN"],members:{ResourceARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{ResourceARN:{},Marker:{},Tags:{shape:"Sh"}}},http:{}},ListTapes:{input:{type:"structure",members:{TapeARNs:{shape:"S1l"},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{TapeInfos:{type:"list",member:{type:"structure",members:{TapeARN:{},TapeBarcode:{},TapeSizeInBytes:{type:"long"},TapeStatus:{},GatewayARN:{}}}},Marker:{}}},http:{}},ListVolumeInitiators:{input:{type:"structure",required:["VolumeARN"],members:{VolumeARN:{}}},output:{type:"structure",members:{Initiators:{type:"list",member:{}}}},http:{}},ListVolumeRecoveryPoints:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{},VolumeRecoveryPointInfos:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeSizeInBytes:{type:"long"},VolumeUsageInBytes:{type:"long"},VolumeRecoveryPointTime:{}}}}}},http:{}},ListVolumes:{input:{type:"structure",members:{GatewayARN:{},Marker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{},Marker:{},VolumeInfos:{type:"list",member:{type:"structure",members:{VolumeARN:{},VolumeId:{},GatewayARN:{},GatewayId:{},VolumeType:{},VolumeSizeInBytes:{type:"long"}}}}}},http:{}},RemoveTagsFromResource:{input:{type:"structure",required:["ResourceARN","TagKeys"],members:{ResourceARN:{},TagKeys:{type:"list",member:{}}}},output:{type:"structure",members:{ResourceARN:{}}},http:{}},ResetCache:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},RetrieveTapeArchive:{input:{type:"structure",required:["TapeARN","GatewayARN"],members:{TapeARN:{},GatewayARN:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},RetrieveTapeRecoveryPoint:{input:{type:"structure",required:["TapeARN","GatewayARN"],members:{TapeARN:{},GatewayARN:{}}},output:{type:"structure",members:{TapeARN:{}}},http:{}},SetLocalConsolePassword:{input:{type:"structure",required:["GatewayARN","LocalConsolePassword"],members:{GatewayARN:{},LocalConsolePassword:{type:"string",sensitive:!0}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},ShutdownGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},StartGateway:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},UpdateBandwidthRateLimit:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},AverageUploadRateLimitInBitsPerSec:{type:"long"},AverageDownloadRateLimitInBitsPerSec:{type:"long"}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},UpdateChapCredentials:{input:{type:"structure",required:["TargetARN","SecretToAuthenticateInitiator","InitiatorName"],members:{TargetARN:{},SecretToAuthenticateInitiator:{},InitiatorName:{},SecretToAuthenticateTarget:{}}},output:{type:"structure",members:{TargetARN:{},InitiatorName:{}}},http:{}},UpdateGatewayInformation:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{},GatewayName:{},GatewayTimezone:{}}},output:{type:"structure",members:{GatewayARN:{},GatewayName:{}}},http:{}},UpdateGatewaySoftwareNow:{input:{type:"structure",required:["GatewayARN"],members:{GatewayARN:{}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},UpdateMaintenanceStartTime:{input:{type:"structure",required:["GatewayARN","HourOfDay","MinuteOfHour","DayOfWeek"],members:{GatewayARN:{},HourOfDay:{type:"integer"},MinuteOfHour:{type:"integer"},DayOfWeek:{type:"integer"}}},output:{type:"structure",members:{GatewayARN:{}}},http:{}},UpdateSnapshotSchedule:{input:{type:"structure",required:["VolumeARN","StartAt","RecurrenceInHours"],members:{VolumeARN:{},StartAt:{type:"integer"},RecurrenceInHours:{type:"integer"},Description:{}}},output:{type:"structure",members:{VolumeARN:{}}},http:{}},UpdateVTLDeviceType:{input:{type:"structure",required:["VTLDeviceARN","DeviceType"],members:{VTLDeviceARN:{},DeviceType:{}}},output:{type:"structure",members:{VTLDeviceARN:{}}},http:{}}},shapes:{Sc:{type:"list",member:{}},Sh:{type:"list",member:{type:"structure",required:["Key","Value"],members:{Key:{},Value:{}}}},S1l:{type:"list",member:{}},S2a:{type:"list",member:{}},S2i:{type:"structure",members:{TargetARN:{},NetworkInterfaceId:{},NetworkInterfacePort:{type:"integer"},LunNumber:{type:"integer"},ChapEnabled:{type:"boolean"}}}},paginators:{DescribeCachediSCSIVolumes:{result_key:"CachediSCSIVolumes"},DescribeStorediSCSIVolumes:{result_key:"StorediSCSIVolumes"},DescribeTapeArchives:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeArchives"},DescribeTapeRecoveryPoints:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"TapeRecoveryPointInfos"},DescribeTapes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Tapes"},DescribeVTLDevices:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"VTLDevices"},ListGateways:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"Gateways"},ListLocalDisks:{result_key:"Disks"},ListVolumeRecoveryPoints:{result_key:"VolumeRecoveryPointInfos"},ListVolumes:{input_token:"Marker",limit_key:"Limit",output_token:"Marker",result_key:"VolumeInfos"}}},i.apiLoader.services.sts={},i.STS=i.Service.defineService("sts",["2011-06-15"]),e("./services/sts"),i.apiLoader.services.sts["2011-06-15"]={version:"2.0",metadata:{apiVersion:"2011-06-15",endpointPrefix:"sts",globalEndpoint:"sts.amazonaws.com",protocol:"query",serviceAbbreviation:"AWS STS",serviceFullName:"AWS Security Token Service",signatureVersion:"v4",xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/"},operations:{AssumeRole:{input:{type:"structure",required:["RoleArn","RoleSessionName"],members:{RoleArn:{},RoleSessionName:{},Policy:{},DurationSeconds:{type:"integer"},ExternalId:{},SerialNumber:{},TokenCode:{}}},output:{resultWrapper:"AssumeRoleResult",type:"structure",members:{Credentials:{shape:"Sa"},AssumedRoleUser:{shape:"Sf"},PackedPolicySize:{type:"integer"}}},http:{}},AssumeRoleWithSAML:{input:{type:"structure",required:["RoleArn","PrincipalArn","SAMLAssertion"],members:{RoleArn:{},PrincipalArn:{},SAMLAssertion:{},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithSAMLResult",type:"structure",members:{Credentials:{shape:"Sa"},AssumedRoleUser:{shape:"Sf"},PackedPolicySize:{type:"integer"},Subject:{},SubjectType:{},Issuer:{},Audience:{},NameQualifier:{}}},http:{}},AssumeRoleWithWebIdentity:{input:{type:"structure",required:["RoleArn","RoleSessionName","WebIdentityToken"],members:{RoleArn:{},RoleSessionName:{},WebIdentityToken:{},ProviderId:{},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"AssumeRoleWithWebIdentityResult",type:"structure",members:{Credentials:{shape:"Sa"},SubjectFromWebIdentityToken:{},AssumedRoleUser:{shape:"Sf"},PackedPolicySize:{type:"integer"},Provider:{},Audience:{}}},http:{}},DecodeAuthorizationMessage:{input:{type:"structure",required:["EncodedMessage"],members:{EncodedMessage:{}}},output:{resultWrapper:"DecodeAuthorizationMessageResult",type:"structure",members:{DecodedMessage:{}}},http:{}},GetCallerIdentity:{input:{type:"structure",members:{}},output:{resultWrapper:"GetCallerIdentityResult",type:"structure",members:{UserId:{},Account:{},Arn:{}}},http:{}},GetFederationToken:{input:{type:"structure",required:["Name"],members:{Name:{},Policy:{},DurationSeconds:{type:"integer"}}},output:{resultWrapper:"GetFederationTokenResult",type:"structure",members:{Credentials:{shape:"Sa"},FederatedUser:{type:"structure",required:["FederatedUserId","Arn"],members:{FederatedUserId:{},Arn:{}}},PackedPolicySize:{type:"integer"}}},http:{}},GetSessionToken:{input:{type:"structure",members:{DurationSeconds:{type:"integer"},SerialNumber:{},TokenCode:{}}},output:{resultWrapper:"GetSessionTokenResult",type:"structure",members:{Credentials:{shape:"Sa"}}},http:{}}},shapes:{Sa:{type:"structure",required:["AccessKeyId","SecretAccessKey","SessionToken","Expiration"],members:{AccessKeyId:{},SecretAccessKey:{},SessionToken:{},Expiration:{type:"timestamp"}}},Sf:{type:"structure",required:["AssumedRoleId","Arn"],members:{AssumedRoleId:{},Arn:{}}}}},i.apiLoader.services.waf={},i.WAF=i.Service.defineService("waf",["2015-08-24"]),i.apiLoader.services.waf["2015-08-24"]={version:"2.0",metadata:{apiVersion:"2015-08-24",endpointPrefix:"waf",jsonVersion:"1.1",protocol:"json",serviceAbbreviation:"WAF",serviceFullName:"AWS WAF",signatureVersion:"v4",targetPrefix:"AWSWAF_20150824"},operations:{CreateByteMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"},ChangeToken:{}}},http:{}},CreateIPSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{IPSet:{shape:"Sh"},ChangeToken:{}}},http:{}},CreateRule:{input:{type:"structure",required:["Name","MetricName","ChangeToken"],members:{Name:{},MetricName:{},ChangeToken:{}}},output:{type:"structure",members:{Rule:{shape:"Sp"},ChangeToken:{}}},http:{}},CreateSizeConstraintSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"Sw"},ChangeToken:{}}},http:{}},CreateSqlInjectionMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S13"},ChangeToken:{}}},http:{}},CreateWebACL:{input:{type:"structure",required:["Name","MetricName","DefaultAction","ChangeToken"],members:{Name:{},MetricName:{},DefaultAction:{shape:"S17"},ChangeToken:{}}},output:{type:"structure",members:{WebACL:{shape:"S1a"},ChangeToken:{}}},http:{}},CreateXssMatchSet:{input:{type:"structure",required:["Name","ChangeToken"],members:{Name:{},ChangeToken:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S1g"},ChangeToken:{}}},http:{}},DeleteByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken"],members:{ByteMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},DeleteIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken"],members:{IPSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},DeleteRule:{input:{type:"structure",required:["RuleId","ChangeToken"],members:{RuleId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},DeleteSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken"],members:{SizeConstraintSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},DeleteSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken"],members:{SqlInjectionMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},DeleteWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},DeleteXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken"],members:{XssMatchSetId:{},ChangeToken:{}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},GetByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId"],members:{ByteMatchSetId:{}}},output:{type:"structure",members:{ByteMatchSet:{shape:"S5"}}},http:{}},GetChangeToken:{input:{type:"structure",members:{}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},GetChangeTokenStatus:{input:{type:"structure",required:["ChangeToken"],members:{ChangeToken:{}}},output:{type:"structure",members:{ChangeTokenStatus:{}}},http:{}},GetIPSet:{input:{type:"structure",required:["IPSetId"],members:{IPSetId:{}}},output:{type:"structure",members:{IPSet:{shape:"Sh"}}},http:{}},GetRule:{input:{type:"structure",required:["RuleId"],members:{RuleId:{}}},output:{type:"structure",members:{Rule:{shape:"Sp"}}},http:{}},GetSampledRequests:{input:{type:"structure",required:["WebAclId","RuleId","TimeWindow","MaxItems"],members:{WebAclId:{},RuleId:{},TimeWindow:{shape:"S29"},MaxItems:{type:"long"}}},output:{type:"structure",members:{SampledRequests:{type:"list",member:{type:"structure",required:["Request","Weight"],members:{Request:{type:"structure",members:{ClientIP:{},Country:{},URI:{},Method:{},HTTPVersion:{},Headers:{type:"list",member:{type:"structure",members:{Name:{},Value:{}}}}}},Weight:{type:"long"},Timestamp:{type:"timestamp"},Action:{}}}},PopulationSize:{type:"long"},TimeWindow:{shape:"S29"}}},http:{}},GetSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId"],
members:{SizeConstraintSetId:{}}},output:{type:"structure",members:{SizeConstraintSet:{shape:"Sw"}}},http:{}},GetSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId"],members:{SqlInjectionMatchSetId:{}}},output:{type:"structure",members:{SqlInjectionMatchSet:{shape:"S13"}}},http:{}},GetWebACL:{input:{type:"structure",required:["WebACLId"],members:{WebACLId:{}}},output:{type:"structure",members:{WebACL:{shape:"S1a"}}},http:{}},GetXssMatchSet:{input:{type:"structure",required:["XssMatchSetId"],members:{XssMatchSetId:{}}},output:{type:"structure",members:{XssMatchSet:{shape:"S1g"}}},http:{}},ListByteMatchSets:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},ByteMatchSets:{type:"list",member:{type:"structure",required:["ByteMatchSetId","Name"],members:{ByteMatchSetId:{},Name:{}}}}}},http:{}},ListIPSets:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},IPSets:{type:"list",member:{type:"structure",required:["IPSetId","Name"],members:{IPSetId:{},Name:{}}}}}},http:{}},ListRules:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},Rules:{type:"list",member:{type:"structure",required:["RuleId","Name"],members:{RuleId:{},Name:{}}}}}},http:{}},ListSizeConstraintSets:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},SizeConstraintSets:{type:"list",member:{type:"structure",required:["SizeConstraintSetId","Name"],members:{SizeConstraintSetId:{},Name:{}}}}}},http:{}},ListSqlInjectionMatchSets:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},SqlInjectionMatchSets:{type:"list",member:{type:"structure",required:["SqlInjectionMatchSetId","Name"],members:{SqlInjectionMatchSetId:{},Name:{}}}}}},http:{}},ListWebACLs:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},WebACLs:{type:"list",member:{type:"structure",required:["WebACLId","Name"],members:{WebACLId:{},Name:{}}}}}},http:{}},ListXssMatchSets:{input:{type:"structure",required:["Limit"],members:{NextMarker:{},Limit:{type:"integer"}}},output:{type:"structure",members:{NextMarker:{},XssMatchSets:{type:"list",member:{type:"structure",required:["XssMatchSetId","Name"],members:{XssMatchSetId:{},Name:{}}}}}},http:{}},UpdateByteMatchSet:{input:{type:"structure",required:["ByteMatchSetId","ChangeToken","Updates"],members:{ByteMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ByteMatchTuple"],members:{Action:{},ByteMatchTuple:{shape:"S8"}}}}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},UpdateIPSet:{input:{type:"structure",required:["IPSetId","ChangeToken","Updates"],members:{IPSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","IPSetDescriptor"],members:{Action:{},IPSetDescriptor:{shape:"Sj"}}}}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},UpdateRule:{input:{type:"structure",required:["RuleId","ChangeToken","Updates"],members:{RuleId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","Predicate"],members:{Action:{},Predicate:{shape:"Sr"}}}}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},UpdateSizeConstraintSet:{input:{type:"structure",required:["SizeConstraintSetId","ChangeToken","Updates"],members:{SizeConstraintSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SizeConstraint"],members:{Action:{},SizeConstraint:{shape:"Sy"}}}}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},UpdateSqlInjectionMatchSet:{input:{type:"structure",required:["SqlInjectionMatchSetId","ChangeToken","Updates"],members:{SqlInjectionMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","SqlInjectionMatchTuple"],members:{Action:{},SqlInjectionMatchTuple:{shape:"S15"}}}}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},UpdateWebACL:{input:{type:"structure",required:["WebACLId","ChangeToken"],members:{WebACLId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","ActivatedRule"],members:{Action:{},ActivatedRule:{shape:"S1c"}}}},DefaultAction:{shape:"S17"}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}},UpdateXssMatchSet:{input:{type:"structure",required:["XssMatchSetId","ChangeToken","Updates"],members:{XssMatchSetId:{},ChangeToken:{},Updates:{type:"list",member:{type:"structure",required:["Action","XssMatchTuple"],members:{Action:{},XssMatchTuple:{shape:"S1i"}}}}}},output:{type:"structure",members:{ChangeToken:{}}},http:{}}},shapes:{S5:{type:"structure",required:["ByteMatchSetId","ByteMatchTuples"],members:{ByteMatchSetId:{},Name:{},ByteMatchTuples:{type:"list",member:{shape:"S8"}}}},S8:{type:"structure",required:["FieldToMatch","TargetString","TextTransformation","PositionalConstraint"],members:{FieldToMatch:{shape:"S9"},TargetString:{type:"blob"},TextTransformation:{},PositionalConstraint:{}}},S9:{type:"structure",required:["Type"],members:{Type:{},Data:{}}},Sh:{type:"structure",required:["IPSetId","IPSetDescriptors"],members:{IPSetId:{},Name:{},IPSetDescriptors:{type:"list",member:{shape:"Sj"}}}},Sj:{type:"structure",required:["Type","Value"],members:{Type:{},Value:{}}},Sp:{type:"structure",required:["RuleId","Predicates"],members:{RuleId:{},Name:{},MetricName:{},Predicates:{type:"list",member:{shape:"Sr"}}}},Sr:{type:"structure",required:["Negated","Type","DataId"],members:{Negated:{type:"boolean"},Type:{},DataId:{}}},Sw:{type:"structure",required:["SizeConstraintSetId","SizeConstraints"],members:{SizeConstraintSetId:{},Name:{},SizeConstraints:{type:"list",member:{shape:"Sy"}}}},Sy:{type:"structure",required:["FieldToMatch","TextTransformation","ComparisonOperator","Size"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{},ComparisonOperator:{},Size:{type:"long"}}},S13:{type:"structure",required:["SqlInjectionMatchSetId","SqlInjectionMatchTuples"],members:{SqlInjectionMatchSetId:{},Name:{},SqlInjectionMatchTuples:{type:"list",member:{shape:"S15"}}}},S15:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S17:{type:"structure",required:["Type"],members:{Type:{}}},S1a:{type:"structure",required:["WebACLId","DefaultAction","Rules"],members:{WebACLId:{},Name:{},MetricName:{},DefaultAction:{shape:"S17"},Rules:{type:"list",member:{shape:"S1c"}}}},S1c:{type:"structure",required:["Priority","RuleId","Action"],members:{Priority:{type:"integer"},RuleId:{},Action:{shape:"S17"}}},S1g:{type:"structure",required:["XssMatchSetId","XssMatchTuples"],members:{XssMatchSetId:{},Name:{},XssMatchTuples:{type:"list",member:{shape:"S1i"}}}},S1i:{type:"structure",required:["FieldToMatch","TextTransformation"],members:{FieldToMatch:{shape:"S9"},TextTransformation:{}}},S29:{type:"structure",required:["StartTime","EndTime"],members:{StartTime:{type:"timestamp"},EndTime:{type:"timestamp"}}}}}},{"./core":4,"./http/xhr":18,"./services/apigateway":42,"./services/cloudfront":43,"./services/cognitoidentity":44,"./services/dynamodb":45,"./services/ec2":46,"./services/iotdata":47,"./services/machinelearning":48,"./services/route53":49,"./services/s3":50,"./services/sqs":51,"./services/sts":52,"./xml/browser_parser":62}],2:[function(e,t,r){var i=e("crypto"),a=e("url"),n=e("../core"),s=n.util.base64.encode,o=n.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},c=function(e,t){var r=i.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},p=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:c(a.toString(),i)}},m=function(e,t,r){return e=e.replace(/\s/gm,e),{Policy:u(s(e)),"Key-Pair-Id":t,Signature:c(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},h=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},y=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},f=function(e,t){return t&&"function"==typeof t?void t(null,e):e};n.CloudFront.Signer=o({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?m(e.policy,this.keyPairId,this.privateKey):p(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return f(i,t)},getSignedUrl:function(e,t){try{var r=h(e.url)}catch(i){return y(i,t)}var n=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?m(e.policy,this.keyPairId,this.privateKey):p(r,e.expires,this.keyPairId,this.privateKey);n.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(n.query[o]=s[o]);try{var u="rtmp"===l(e.url)?d(a.format(n)):a.format(n)}catch(i){return y(i,t)}return f(u,t)}}),t.exports=n.CloudFront.Signer},{"../core":4,crypto:85,url:240}],3:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain"),i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:s.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e})}function a(){s.credentials.get(function(e){if(e){var i="Could not load credentials from "+s.credentials.constructor.name;e=r(i,e)}t(e)})}function n(){var e=null;s.credentials.accessKeyId&&s.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}var s=this;s.credentials?"function"==typeof s.credentials.get?a():n():s.credentialProvider?s.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),s.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),"function"==typeof r?this[e]=r.call(this):this[e]=r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{base:100},useAccelerateEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){i.util.addPromisesToRequests(i.Request,e)}}),i.config=new i.Config},{"./core":4,"./credentials":5,"./credentials/credential_provider_chain":7}],4:[function(e,t,r){var i={util:e("./util")},a={};a.toString(),t.exports=i,i.util.update(i,{VERSION:"2.4.6",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},util:e("./util"),apiLoader:function(){throw new Error("No API loader set")}}),e("./service"),e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),e("./config"),e("./http"),e("./sequential_executor"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor},{"./config":3,"./credentials":5,"./credentials/cognito_identity_credentials":6,"./credentials/credential_provider_chain":7,"./credentials/saml_credentials":8,"./credentials/temporary_credentials":9,"./credentials/web_identity_credentials":10,"./event_listeners":16,"./http":17,"./json/builder":19,"./json/parser":20,"./model/api":21,"./model/operation":23,"./model/paginator":24,"./model/resource_waiter":25,"./model/shape":26,"./param_validator":27,"./protocol/json":28,"./protocol/query":29,"./protocol/rest":30,"./protocol/rest_json":31,"./protocol/rest_xml":32,"./request":36,"./resource_waiter":37,"./response":38,"./sequential_executor":40,"./service":41,"./signers/request_signer":54,"./util":61,"./xml/builder":63}],5:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return this.expireTime&&t>this.expireTime?!0:this.expired||!this.accessKeyId||!this.secretAccessKey},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()}})},{"./core":4}],6:[function(e,t,r){var i=e("../core");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this.identityId=null,this.loadCachedId()},refresh:function(e){var t=this;t.createClients(),t.data=null,t.identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this.identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;return"string"==typeof t.params.IdentityId?e(null,t.params.IdentityId):void t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins),a=(e.getStorage("providers")||"").split(","),n=a.filter(function(e){return-1!==r.indexOf(e)});0!==n.length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params),this.cognito=this.cognito||new i.CognitoIdentity({params:this.params}),this.sts=this.sts||new i.STS},cacheId:function(e){this.identityId=e.IdentityId,this.params.IdentityId=this.identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(r){}},storage:function(){try{return i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{}}catch(e){return{}}}()})},{"../core":4}],7:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){e?this.providers=e:this.providers=i.CredentialProviderChain.defaultProviders.slice(0)},resolve:function(e){function t(a,n){if(!a&&n||r===i.length)return void e(a,n);var s=i[r++];n="function"==typeof s?s.call():s,n.get?n.get(function(e){t(e,e?null:n)}):t(null,n)}if(0===this.providers.length)return e(new Error("No providers")),this;var r=0,i=this.providers.slice(0);return t(),this}}),i.CredentialProviderChain.defaultProviders=[]},{"../core":4}],8:[function(e,t,r){var i=e("../core");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new i.STS({params:this.params})}})},{"../core":4}],9:[function(e,t,r){var i=e("../core");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.loadMasterCredentials(),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.config.credentials=t.masterCredentials;var r=t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken;r.call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},loadMasterCredentials:function(){for(this.masterCredentials=i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials},createClients:function(){this.service=this.service||new i.STS({params:this.params})}})},{"../core":4}],10:[function(e,t,r){var i=e("../core");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null},refresh:function(e){var t=this;t.createClients(),e||(e=function(e){if(e)throw e}),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){this.service=this.service||new i.STS({params:this.params})}})},{"../core":4}],11:[function(e,t,r){function i(e){if("Object"===o(e)){var t={M:{}};for(var r in e)t.M[r]=i(e[r]);return t}if("Array"===o(e)){for(var n={L:[]},s=0;s<e.length;s++)n.L.push(i(e[s]));return n}return"Set"===o(e)?a(e):"String"===o(e)?{S:e}:"Number"===o(e)?{N:e.toString()}:"Binary"===o(e)?{B:e}:"Boolean"===o(e)?{BOOL:e}:"null"===o(e)?{NULL:!0}:void 0}function a(e){var t={};switch(e.type){case"String":t.SS=e.values;break;case"Binary":t.BS=e.values;break;case"Number":t.NS=e.values.map(function(e){return e.toString()})}return t}function n(e){var t,r,i;for(var a in e){var o=e[a];if("M"===a){r={};for(var c in o)r[c]=n(o[c]);return r}if("L"===a){for(t=[],i=0;i<o.length;i++)t.push(n(o[i]));return t}if("SS"===a){for(t=[],i=0;i<o.length;i++)t.push(o[i]+"");return new u(t)}if("NS"===a){for(t=[],i=0;i<o.length;i++)t.push(Number(o[i]));return new u(t)}if("BS"===a){for(t=[],i=0;i<o.length;i++)t.push(new s.Buffer(o[i]));return new u(t)}if("S"===a)return o+"";if("N"===a)return Number(o);if("B"===a)return new s.Buffer(o);if("BOOL"===a)return"true"===o||"TRUE"===o||o===!0;if("NULL"===a)return null}}var s=e("../core").util,o=e("./types").typeOf,u=e("./set");t.exports={input:i,output:n}},{"../core":4,"./set":13,"./types":15}],12:[function(e,t,r){var i=e("../core"),a=e("./translator"),n=e("./set");i.DynamoDB.DocumentClient=i.util.inherit({operations:{batchGetItem:"batchGet",batchWriteItem:"batchWrite",putItem:"put",getItem:"get",deleteItem:"delete",updateItem:"update",scan:"scan",query:"query"},constructor:function(e){var t=this;t.options=e||{},t.configure(t.options)},configure:function(e){var t=this;t.service=e.service,t.bindServiceObject(e),t.attrValue=t.service.api.operations.putItem.input.members.Item.value.shape},bindServiceObject:function(e){var t=this;if(e=e||{},t.service){var r=i.util.copy(t.service.config);t.service=new t.service.constructor.__super__(r),t.service.config.params=i.util.merge(t.service.config.params||{},e.params)}else t.service=new i.DynamoDB(e)},batchGet:function(e,t){var r=this,i=r.service.batchGetItem(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},batchWrite:function(e,t){var r=this,i=r.service.batchWriteItem(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},"delete":function(e,t){var r=this,i=r.service.deleteItem(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},get:function(e,t){var r=this,i=r.service.getItem(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},put:function(e,t){var r=this,i=r.service.putItem(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},update:function(e,t){var r=this,i=r.service.updateItem(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},scan:function(e,t){var r=this,i=r.service.scan(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},query:function(e,t){var r=this,i=r.service.query(e);return r.setupRequest(i),r.setupResponse(i),"function"==typeof t&&i.send(t),i},createSet:function(e,t){return t=t||{},new n(e,t)},getTranslator:function(){return new a({attrValue:this.attrValue})},setupRequest:function(e){var t=this,r=t.getTranslator(),a=e.operation,n=e.service.api.operations[a].input;e._events.validate.unshift(function(e){e.rawParams=i.util.copy(e.params),e.params=r.translateInput(e.rawParams,n)})},setupResponse:function(e){var t=this,r=t.getTranslator(),a=t.service.api.operations[e.operation].output;e.on("extractData",function(e){e.data=r.translateOutput(e.data,a)});var n=e.response;n.nextPage=function(e){var r,a=this,n=a.request,s=n.service,o=n.operation;try{r=s.paginationConfig(o,!0)}catch(u){a.error=u}if(!a.hasNextPage()){if(e)e(a.error,null);else if(a.error)throw a.error;return null}var c=i.util.copy(n.rawParams);if(a.nextPageTokens){var p=r.inputToken;"string"==typeof p&&(p=[p]);for(var m=0;m<p.length;m++)c[p[m]]=a.nextPageTokens[m];return t[o](c,e)}return e?e(null,null):null}}}),t.exports=i.DynamoDB.DocumentClient},{"../core":4,"./set":13,"./translator":14}],13:[function(e,t,r){var i=e("../core").util,a=e("./types").typeOf,n=i.inherit({constructor:function(e,t){t=t||{},this.initialize(e,t.validate)},initialize:function(e,t){var r=this;r.values=[].concat(e),r.detectType(),t&&r.validate()},detectType:function(){var e=this,t=e.values[0];if("String"===a(t))e.type="String";else if("Number"===a(t))e.type="Number";else{if("Binary"!==a(t))throw i.error(new Error,{code:"InvalidSetType",message:"Sets can contain string, number, or binary values"});e.type="Binary"}},validate:function(){for(var e=this,t=e.values.length,r=e.values,n=0;t>n;n++)if(a(r[n])!==e.type)throw i.error(new Error,{code:"InvalidType",message:e.type+" Set contains "+a(r[n])+" value"})}});t.exports=n},{"../core":4,"./types":15}],14:[function(e,t,r){var i=e("../core").util,a=e("./converter"),n=function(e){e=e||{},this.attrValue=e.attrValue};n.prototype.translateInput=function(e,t){return this.mode="input",this.translate(e,t)},n.prototype.translateOutput=function(e,t){return this.mode="output",this.translate(e,t)},n.prototype.translate=function(e,t){var r=this;if(t&&void 0!==e){if(t.shape===r.attrValue)return a[r.mode](e);switch(t.type){case"structure":return r.translateStructure(e,t);case"map":return r.translateMap(e,t);case"list":return r.translateList(e,t);default:return r.translateScalar(e,t)}}},n.prototype.translateStructure=function(e,t){var r=this;if(null!=e){var a={};return i.each(e,function(e,i){var n=t.members[e];if(n){var s=r.translate(i,n);void 0!==s&&(a[e]=s)}}),a}},n.prototype.translateList=function(e,t){var r=this;if(null!=e){var a=[];return i.arrayEach(e,function(e){var i=r.translate(e,t.member);void 0===i?a.push(null):a.push(i)}),a}},n.prototype.translateMap=function(e,t){var r=this;if(null!=e){var a={};return i.each(e,function(e,i){var n=r.translate(i,t.value);void 0===n?a[e]=null:a[e]=n}),a}},n.prototype.translateScalar=function(e,t){return t.toType(e)},t.exports=n},{"../core":4,"./converter":11}],15:[function(e,t,r){function i(e){return null===e&&"object"==typeof e?"null":void 0!==e&&a(e)?"Binary":void 0!==e&&e.constructor?n.typeName(e.constructor):"undefined"}function a(e){var t=["Buffer","File","Blob","ArrayBuffer","DataView","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"];if(n.isNode()){var r=n.nodeRequire("stream").Stream;if(n.Buffer.isBuffer(e)||e instanceof r)return!0}else for(var i=0;i<t.length;i++)if(void 0!==e&&e.constructor){if(n.isType(e,t[i]))return!0;if(n.typeName(e.constructor)===t[i])return!0}return!1}var n=e("../core").util;t.exports={typeOf:i,isBinary:a}},{"../core":4}],16:[function(e,t,r){var i=e("./core"),a=e("./sequential_executor");i.EventListeners={Core:{}},i.EventListeners={Core:(new a).addNamedListeners(function(e,t){t("VALIDATE_CREDENTIALS","validate",function(e,t){return e.service.api.signatureVersion?void e.service.config.getCredentials(function(r){r&&(e.response.error=i.util.error(r,{code:"CredentialsError",message:"Missing credentials in config"})),t()}):t()}),e("VALIDATE_REGION","validate",function(e){e.service.config.region||e.service.isGlobalEndpoint||(e.response.error=i.util.error(new Error,{code:"ConfigError",message:"Missing region in config"}))}),e("VALIDATE_PARAMETERS","validate",function(e){var t=e.service.api.operations[e.operation].input,r=e.service.config.paramValidation;new i.ParamValidator(r).validate(t,e.params)}),t("COMPUTE_SHA256","afterBuild",function(e,t){if(e.haltHandlersOnError(),!e.service.api.signatureVersion)return t();if(e.service.getSignerClass(e)===i.Signers.V4){var r=e.httpRequest.body||"";i.util.computeSha256(r,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}),e("SET_CONTENT_LENGTH","afterBuild",function(e){if(void 0===e.httpRequest.headers["Content-Length"]){var t=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=t}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount<this.service.config.maxRetries?this.response.retryCount++:this.response.error=null)}),t("SIGN","sign",function(e,t){return e.service.api.signatureVersion?void e.service.config.getCredentials(function(r,a){if(r)return e.response.error=r,t();try{var n=i.util.date.getDate(),s=e.service.getSignerClass(e),o=new s(e.httpRequest,e.service.api.signingName||e.service.api.endpointPrefix,e.service.config.signatureCache);delete e.httpRequest.headers.Authorization,delete e.httpRequest.headers.Date,delete e.httpRequest.headers["X-Amz-Date"],o.addAuthorization(a,n),e.signedAt=n}catch(u){e.response.error=u}t()}):t()}),e("VALIDATE_RESPONSE","validateResponse",function(e){this.service.successfulResponse(e,this)?(e.data={},e.error=null):(e.data=null,e.error=i.util.error(new Error,{code:"UnknownError",message:"An unknown error occurred."}))}),t("SEND","send",function(e,t){function r(r){e.httpResponse.stream=r,r.on("headers",function(t,a){e.request.emit("httpHeaders",[t,a,e]),e.httpResponse.streaming||(2===i.HttpClient.streamsApiVersion?r.on("readable",function(){var t=r.read();null!==t&&e.request.emit("httpData",[t,e])}):r.on("data",function(t){e.request.emit("httpData",[t,e])}))}),r.on("end",function(){e.request.emit("httpDone"),t()})}function a(t){t.on("sendProgress",function(t){e.request.emit("httpUploadProgress",[t,e])}),t.on("receiveProgress",function(t){e.request.emit("httpDownloadProgress",[t,e])})}function n(r){e.error=i.util.error(r,{code:"NetworkingError",region:e.request.httpRequest.region,hostname:e.request.httpRequest.endpoint.hostname,retryable:!0}),e.request.emit("httpError",[e.error,e],function(){t()})}function s(){var t=i.HttpClient.getInstance(),s=e.request.service.config.httpOptions||{};try{var o=t.handleRequest(e.request.httpRequest,s,r,n);a(o)}catch(u){n(u)}}e.httpResponse._abortCallback=t,e.error=null,e.data=null;var o=(i.util.date.getDate()-this.signedAt)/1e3;o>=600?this.emit("sign",[this],function(e){e?t(e):s()}):s()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r){r.httpResponse.statusCode=e,r.httpResponse.headers=t,r.httpResponse.body=new i.util.Buffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var a=t.date||t.Date;if(a){var n=Date.parse(a);r.request.service.config.correctClockSkew&&i.util.isClockSkewed(n)&&i.util.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],a={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[a,t])}t.httpResponse.buffers.push(new i.util.Buffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){
e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&i.config.isClockSkewed&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount<e.maxRedirects?e.error.retryDelay=0:e.retryCount<e.maxRetries&&(e.error.retryDelay=this.service.retryDelays(e.retryCount)||0))}),t("RESET_RETRY_STATE","afterRetry",function(e,t){var r,i=!1;e.error&&(r=e.error.retryDelay||0,e.error.retryable&&e.retryCount<e.maxRetries?(e.retryCount++,i=!0):e.error.redirect&&e.redirectCount<e.maxRedirects&&(e.redirectCount++,i=!0)),i?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new a).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",i.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",i.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&"ENOTFOUND"===e.errno){var t="Inaccessible host: `"+e.hostname+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=i.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new a).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(){var r=i.util.date.getDate().getTime(),s=(r-a.startTime.getTime())/1e3,o=!!n.isTTY,u=t.httpResponse.statusCode,c=e("util").inspect(a.params,!0,null),p="";return o&&(p+="[33m"),p+="[AWS "+a.service.serviceIdentifier+" "+u,p+=" "+s.toString()+"s "+t.retryCount+" retries]",o&&(p+="[0;1m"),p+=" "+i.util.string.lowerFirst(a.operation),p+="("+c+")",o&&(p+="[0m"),p}var a=t.request,n=a.service.config.logger;if(n){var s=r();"function"==typeof n.log?n.log(s):"function"==typeof n.write&&n.write(s+"\n")}})}),Json:(new a).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new a).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new a).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new a).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new a).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":4,"./protocol/json":28,"./protocol/query":29,"./protocol/rest":30,"./protocol/rest_json":31,"./protocol/rest_xml":32,"./sequential_executor":40,util:242}],17:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),"undefined"==typeof e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){var r=t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled;e=(r?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t,r){e=new i.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this.setUserAgent(r)},setUserAgent:function(e){var t=i.util.isBrowser()?"X-Amz-":"",r="";"string"==typeof e&&e&&(r+=" "+e),this.headers[t+"User-Agent"]=i.util.userAgent()+r},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""}}),i.HttpResponse=a({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":4}],18:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,n){var s=this,o=e.endpoint,u=new a,c=o.protocol+"//"+o.hostname;80!==o.port&&443!==o.port&&(c+=":"+o.port),c+=e.path;var p=new XMLHttpRequest,m=!1;e.stream=p,p.addEventListener("readystatechange",function(){try{if(0===p.status)return}catch(e){return}if(this.readyState>=this.HEADERS_RECEIVED&&!m){try{p.responseType="arraybuffer"}catch(e){}u.statusCode=p.status,u.headers=s.parseHeaders(p.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers),m=!0}this.readyState===this.DONE&&s.finishRequest(p,u)},!1),p.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),p.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),p.addEventListener("timeout",function(){n(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),p.addEventListener("error",function(){n(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),r(u),p.open(e.method,c,t.xhrAsync!==!1),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&p.setRequestHeader(e,t)}),t.timeout&&t.xhrAsync!==!1&&(p.timeout=t.timeout),t.xhrWithCredentials&&(p.withCredentials=!0);try{p.send(e.body)}catch(l){if(!e.body||"object"!=typeof e.body.buffer)throw l;p.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var n=new Uint8Array(a),s=0;s<r.length;++s)r[s]=n[s]}try{r||"string"!=typeof e.responseText||(r=new i.util.Buffer(e.responseText))}catch(o){}r&&t.emit("data",r),t.emit("end")}}),i.HttpClient.prototype=i.XHRClient.prototype,i.HttpClient.streamsApiVersion=1},{"../core":4,"../http":17,events:218}],19:[function(e,t,r){function i(){}function a(e,t){if(t&&void 0!==e&&null!==e)switch(t.type){case"structure":return n(e,t);case"map":return o(e,t);case"list":return s(e,t);default:return u(e,t)}}function n(e,t){var r={};return c.each(e,function(e,i){var n=t.members[e];if(n){if("body"!==n.location)return;var s=n.isLocationName?n.name:e,o=a(i,n);void 0!==o&&(r[s]=o)}}),r}function s(e,t){var r=[];return c.arrayEach(e,function(e){var i=a(e,t.member);void 0!==i&&r.push(i)}),r}function o(e,t){var r={};return c.each(e,function(e,i){var n=a(i,t.value);void 0!==n&&(r[e]=n)}),r}function u(e,t){return t.toWireFormat(e)}var c=e("../util");i.prototype.build=function(e,t){return JSON.stringify(a(e,t))},t.exports=i},{"../util":61}],20:[function(e,t,r){function i(){}function a(e,t){if(t&&void 0!==e)switch(t.type){case"structure":return n(e,t);case"map":return o(e,t);case"list":return s(e,t);default:return u(e,t)}}function n(e,t){if(null!=e){var r={},i=t.members;return c.each(i,function(t,i){var n=i.isLocationName?i.name:t;if(Object.prototype.hasOwnProperty.call(e,n)){var s=e[n],o=a(s,i);void 0!==o&&(r[t]=o)}}),r}}function s(e,t){if(null!=e){var r=[];return c.arrayEach(e,function(e){var i=a(e,t.member);void 0===i?r.push(null):r.push(i)}),r}}function o(e,t){if(null!=e){var r={};return c.each(e,function(e,i){var n=a(i,t.value);void 0===n?r[e]=null:r[e]=n}),r}}function u(e,t){return t.toType(e)}var c=e("../util");i.prototype.parse=function(e,t){return a(JSON.parse(e),t)},t.exports=i},{"../util":61}],21:[function(e,t,r){function i(e,t){e=e||{},t=t||{},t.api=this,e.metadata=e.metadata||{},p(this,"isApi",!0,!1),p(this,"apiVersion",e.metadata.apiVersion),p(this,"endpointPrefix",e.metadata.endpointPrefix),p(this,"signingName",e.metadata.signingName),p(this,"globalEndpoint",e.metadata.globalEndpoint),p(this,"signatureVersion",e.metadata.signatureVersion),p(this,"jsonVersion",e.metadata.jsonVersion),p(this,"targetPrefix",e.metadata.targetPrefix),p(this,"protocol",e.metadata.protocol),p(this,"timestampFormat",e.metadata.timestampFormat),p(this,"xmlNamespaceUri",e.metadata.xmlNamespace),p(this,"abbreviation",e.metadata.serviceAbbreviation),p(this,"fullName",e.metadata.serviceFullName),m(this,"className",function(){var t=e.metadata.serviceAbbreviation||e.metadata.serviceFullName;return t?(t=t.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g,""),"ElasticLoadBalancing"===t&&(t="ELB"),t):null}),p(this,"operations",new a(e.operations,t,function(e,r){return new n(e,r,t)},c.string.lowerFirst)),p(this,"shapes",new a(e.shapes,t,function(e,r){return s.create(r,t)})),p(this,"paginators",new a(e.paginators,t,function(e,r){return new o(e,r,t)})),p(this,"waiters",new a(e.waiters,t,function(e,r){return new u(e,r,t)},c.string.lowerFirst)),t.documentation&&(p(this,"documentation",e.documentation),p(this,"documentationUrl",e.documentationUrl))}var a=e("./collection"),n=e("./operation"),s=e("./shape"),o=e("./paginator"),u=e("./resource_waiter"),c=e("../util"),p=c.property,m=c.memoizedProperty;t.exports=i},{"../util":61,"./collection":22,"./operation":23,"./paginator":24,"./resource_waiter":25,"./shape":26}],22:[function(e,t,r){function i(e,t,r,i){n(this,i(e),function(){return r(e,t)})}function a(e,t,r,a){a=a||String;var n=this;for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&i.call(n,s,e[s],r,a)}var n=e("../util").memoizedProperty;t.exports=a},{"../util":61}],23:[function(e,t,r){function i(e,t,r){r=r||{},s(this,"name",t.name||e),s(this,"api",r.api,!1),t.http=t.http||{},s(this,"httpMethod",t.http.method||"POST"),s(this,"httpPath",t.http.requestUri||"/"),s(this,"authtype",t.authtype||""),o(this,"input",function(){return t.input?a.create(t.input,r):new a.create({type:"structure"},r)}),o(this,"output",function(){return t.output?a.create(t.output,r):new a.create({type:"structure"},r)}),o(this,"errors",function(){var e=[];if(!t.errors)return null;for(var i=0;i<t.errors.length;i++)e.push(a.create(t.errors[i],r));return e}),o(this,"paginator",function(){return r.api.paginators[e]}),r.documentation&&(s(this,"documentation",t.documentation),s(this,"documentationUrl",t.documentationUrl))}var a=e("./shape"),n=e("../util"),s=n.property,o=n.memoizedProperty;t.exports=i},{"../util":61,"./shape":26}],24:[function(e,t,r){function i(e,t){a(this,"inputToken",t.input_token),a(this,"limitKey",t.limit_key),a(this,"moreResults",t.more_results),a(this,"outputToken",t.output_token),a(this,"resultKey",t.result_key)}var a=e("../util").property;t.exports=i},{"../util":61}],25:[function(e,t,r){function i(e,t,r){r=r||{},n(this,"name",e),n(this,"api",r.api,!1),t.operation&&n(this,"operation",a.string.lowerFirst(t.operation));var i=this,s=["type","description","delay","maxAttempts","acceptors"];s.forEach(function(e){var r=t[e];r&&n(i,e,r)})}var a=e("../util"),n=a.property;t.exports=i},{"../util":61}],26:[function(e,t,r){function i(e,t,r){null!==r&&void 0!==r&&g.property.apply(this,arguments)}function a(e,t){e.constructor.prototype[t]||g.memoizedProperty.apply(this,arguments)}function n(e,t,r){t=t||{},i(this,"shape",e.shape),i(this,"api",t.api,!1),i(this,"type",e.type),i(this,"enum",e["enum"]),i(this,"min",e.min),i(this,"max",e.max),i(this,"pattern",e.pattern),i(this,"location",e.location||this.location||"body"),i(this,"name",this.name||e.xmlName||e.queryName||e.locationName||r),i(this,"isStreaming",e.streaming||this.isStreaming||!1),i(this,"isComposite",e.isComposite||!1),i(this,"isShape",!0,!1),i(this,"isQueryName",!!e.queryName,!1),i(this,"isLocationName",!!e.locationName,!1),t.documentation&&(i(this,"documentation",e.documentation),i(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&i(this,"isXmlAttribute",e.xmlAttribute||!1),i(this,"defaultValue",null),this.toWireFormat=function(e){return null===e||void 0===e?"":e},this.toType=function(e){return e}}function s(e){n.apply(this,arguments),i(this,"isComposite",!0),e.flattened&&i(this,"flattened",e.flattened||!1)}function o(e,t){var r=null,o=!this.isShape;s.apply(this,arguments),o&&(i(this,"defaultValue",function(){return{}}),i(this,"members",{}),i(this,"memberNames",[]),i(this,"required",[]),i(this,"isRequired",function(){return!1})),e.members&&(i(this,"members",new b(e.members,t,function(e,r){return n.create(r,t,e)})),a(this,"memberNames",function(){return e.xmlOrder||Object.keys(e.members)})),e.required&&(i(this,"required",e.required),i(this,"isRequired",function(t){if(!r){r={};for(var i=0;i<e.required.length;i++)r[e.required[i]]=!0}return r[t]},!1,!0)),i(this,"resultWrapper",e.resultWrapper||null),e.payload&&i(this,"payload",e.payload),"string"==typeof e.xmlNamespace?i(this,"xmlNamespaceUri",e.xmlNamespace):"object"==typeof e.xmlNamespace&&(i(this,"xmlNamespacePrefix",e.xmlNamespace.prefix),i(this,"xmlNamespaceUri",e.xmlNamespace.uri))}function u(e,t){var r=this,o=!this.isShape;if(s.apply(this,arguments),o&&i(this,"defaultValue",function(){return[]}),e.member&&a(this,"member",function(){return n.create(e.member,t)}),this.flattened){var u=this.name;a(this,"name",function(){return r.member.name||u})}}function c(e,t){var r=!this.isShape;s.apply(this,arguments),r&&(i(this,"defaultValue",function(){return{}}),i(this,"key",n.create({type:"string"},t)),i(this,"value",n.create({type:"string"},t))),e.key&&a(this,"key",function(){return n.create(e.key,t)}),e.value&&a(this,"value",function(){return n.create(e.value,t)})}function p(e){var t=this;if(n.apply(this,arguments),"header"===this.location)i(this,"timestampFormat","rfc822");else if(e.timestampFormat)i(this,"timestampFormat",e.timestampFormat);else if(this.api)if(this.api.timestampFormat)i(this,"timestampFormat",this.api.timestampFormat);else switch(this.api.protocol){case"json":case"rest-json":i(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":i(this,"timestampFormat","iso8601")}this.toType=function(e){return null===e||void 0===e?null:"function"==typeof e.toUTCString?e:"string"==typeof e||"number"==typeof e?g.date.parseTimestamp(e):null},this.toWireFormat=function(e){return g.date.format(e,t.timestampFormat)}}function m(){if(n.apply(this,arguments),this.api)switch(this.api.protocol){case"rest-xml":case"query":case"ec2":this.toType=function(e){return e||""}}}function l(){n.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){n.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function h(){n.apply(this,arguments),this.toType=g.base64.decode,this.toWireFormat=g.base64.encode}function y(){h.apply(this,arguments)}function f(){n.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var b=e("./collection"),g=e("../util");n.normalizedTypes={character:"string","double":"float","long":"integer","short":"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},n.types={structure:o,list:u,map:c,"boolean":f,timestamp:p,"float":l,integer:d,string:m,base64:y,binary:h},n.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},n.create=function(e,t,r){if(e.isShape)return e;var i=n.resolve(e,t);if(i){var a=Object.keys(e);if(t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)})),a===["shape"])return i;var s=function(){i.constructor.call(this,e,t,r)};return s.prototype=i,new s}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var o=e.type;if(n.normalizedTypes[e.type]&&(e.type=n.normalizedTypes[e.type]),n.types[e.type])return new n.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+o)},n.shapes={StructureShape:o,ListShape:u,MapShape:c,StringShape:m,BooleanShape:f,Base64Shape:y},t.exports=n},{"../util":61,"./collection":22}],27:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){e!==!0&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a<e.required.length;a++){i=e.required[a];var n=t[i];void 0!==n&&null!==n||this.fail("MissingRequiredParameter","Missing required key '"+i+"' in "+r)}for(i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=t[i],o=e.members[i];if(void 0!==o){var u=[r,i].join(".");this.validateMember(o,s,u)}else this.fail("UnexpectedParameter","Unexpected key '"+i+"' found in "+r)}return!0},validateMember:function(e,t,r){switch(e.type){case"structure":return this.validateStructure(e,t,r);case"list":return this.validateList(e,t,r);case"map":return this.validateMap(e,t,r);default:return this.validateScalar(e,t,r)}},validateList:function(e,t,r){if(this.validateType(t,r,[Array])){this.validateRange(e,t.length,r,"list member count");for(var i=0;i<t.length;i++)this.validateMember(e.member,t[i],r+"["+i+"]")}},validateMap:function(e,t,r){if(this.validateType(t,r,["object"],"map")){var i=0;for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(this.validateMember(e.key,a,r+"[key='"+a+"']"),this.validateMember(e.value,t[a],r+"['"+a+"']"),i++);this.validateRange(e,i,r,"map member count")}},validateScalar:function(e,t,r){switch(e.type){case null:case void 0:case"string":return this.validateString(e,t,r);case"base64":case"binary":return this.validatePayload(t,r);case"integer":case"float":return this.validateNumber(e,t,r);case"boolean":return this.validateType(t,r,["boolean"]);case"timestamp":return this.validateType(t,r,[Date,/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/,"number"],"Date object, ISO-8601 string, or a UNIX timestamp");default:return this.fail("UnkownType","Unhandled type "+e.type+" for "+r)}},validateString:function(e,t,r){this.validateType(t,r,["string"])&&(this.validateEnum(e,t,r),this.validateRange(e,t.length,r,"string length"),this.validatePattern(e,t,r))},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t<e.min&&this.fail("MinRangeError","Expected "+i+" >= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation["enum"]&&void 0!==e["enum"]&&-1===e["enum"].indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e["enum"].join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var n=!1,s=0;s<r.length;s++){if("string"==typeof r[s]){if(typeof e===r[s])return!0}else if(r[s]instanceof RegExp){if((e||"").toString().match(r[s]))return!0}else{if(e instanceof r[s])return!0;if(i.util.isType(e,r[s]))return!0;a||n||(r=r.slice()),r[s]=i.util.typeName(r[s])}n=!0}var o=a;o||(o=r.join(", ").replace(/,([^,]+)$/,", or$1"));var u=o.match(/^[aeiou]/i)?"n":"";return this.fail("InvalidParameterType","Expected "+t+" to be a"+u+" "+o),!1},validateNumber:function(e,t,r){if(null!==t&&void 0!==t){if("string"==typeof t){var i=parseFloat(t);i.toString()===t&&(t=i)}this.validateType(t,r,["number"])&&this.validateRange(e,t,r,"numeric value")}},validatePayload:function(e,t){if(null!==e&&void 0!==e&&"string"!=typeof e&&(!e||"number"!=typeof e.byteLength)){if(i.util.isNode()){var r=i.util.nodeRequire("stream").Stream;if(i.util.Buffer.isBuffer(e)||e instanceof r)return}var a=["Buffer","Stream","File","Blob","ArrayBuffer","DataView"];if(e)for(var n=0;n<a.length;n++){if(i.util.isType(e,a[n]))return;if(i.util.typeName(e.constructor)===a[n])return}this.fail("InvalidParameterType","Expected "+t+" to be a string, Buffer, Stream, Blob, or typed array object")}}})},{"./core":4}],28:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",n=r.operations[e.operation].input,s=new o;1===a&&(a="1.0"),t.body=s.build(e.params||{},n),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0){var i=JSON.parse(r.body.toString());(i.__type||i.code)&&(t.code=(i.__type||i.code).split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=s.error(new Error,t)}function n(e){var t=e.httpResponse.body.toString()||"{}";if(e.request.service.config.convertResponseTypes===!1)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var s=e("../util"),o=e("../json/builder"),u=e("../json/parser");t.exports={buildRequest:i,extractError:a,extractData:n}},{"../json/builder":19,"../json/parser":20,"../util":61}],29:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name};var i=new u;i.serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=o.queryParamsToString(r.params)}function a(e){var t,r=e.httpResponse.body.toString();t=r.match("<UnknownOperationException")?{Code:"UnknownOperation",Message:"Unknown operation "+e.request.operation}:(new s.XML.Parser).parse(r),t.requestId&&!e.requestId&&(e.requestId=t.requestId),t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=o.error(new Error,{code:t.Code,message:t.Message}):e.error=o.error(new Error,{code:e.httpResponse.statusCode,message:null})}function n(e){var t=e.request,r=t.service.api.operations[t.operation],i=r.output||{},a=i;if(a.resultWrapper){var n=c.create({type:"structure"});n.members[a.resultWrapper]=i,n.memberNames=[a.resultWrapper],o.property(i,"name",i.resultWrapper),i=n}var u=new s.XML.Parser;if(i&&i.members&&!i.members._XAMZRequestId){var p=c.create({type:"string"},{api:{protocol:"query"}},"requestId");i.members._XAMZRequestId=p}var m=u.parse(e.httpResponse.body.toString(),i);e.requestId=m._XAMZRequestId||m.requestId,m._XAMZRequestId&&delete m._XAMZRequestId,a.resultWrapper&&m[a.resultWrapper]&&(o.update(m,m[a.resultWrapper]),delete m[a.resultWrapper]),e.data=m}var s=e("../core"),o=e("../util"),u=e("../query/query_param_serializer"),c=e("../model/shape");t.exports={buildRequest:i,extractError:a,extractData:n}},{"../core":4,"../model/shape":26,"../query/query_param_serializer":33,"../util":61}],30:[function(e,t,r){function i(e){e.httpRequest.method=e.service.api.operations[e.operation].httpMethod}function a(e){var t=e.service.api.operations[e.operation],r=t.input,i=[e.httpRequest.endpoint.path,t.httpPath].join("/");i=i.replace(/\/+/g,"/");var a={},n=!1;if(c.each(r.members,function(t,r){var s=e.params[t];if(null!==s&&void 0!==s)if("uri"===r.location){var o=new RegExp("\\{"+r.name+"(\\+)?\\}");i=i.replace(o,function(e,t){var r=t?c.uriEscapePath:c.uriEscape;return r(String(s))})}else"querystring"===r.location&&(n=!0,"list"===r.type?a[r.name]=s.map(function(e){return c.uriEscape(String(e))}):"map"===r.type?c.each(s,function(e,t){Array.isArray(t)?a[e]=t.map(function(e){return c.uriEscape(String(e))}):a[e]=c.uriEscape(String(t))}):a[r.name]=c.uriEscape(String(s)))}),n){i+=i.indexOf("?")>=0?"&":"?";var s=[];c.arrayEach(Object.keys(a).sort(),function(e){Array.isArray(a[e])||(a[e]=[a[e]]);for(var t=0;t<a[e].length;t++)s.push(c.uriEscape(String(e))+"="+a[e][t])}),i+=s.join("&")}e.httpRequest.path=i}function n(e){var t=e.service.api.operations[e.operation];c.each(t.input.members,function(t,r){var i=e.params[t];null!==i&&void 0!==i&&("headers"===r.location&&"map"===r.type?c.each(i,function(t,i){e.httpRequest.headers[r.name+t]=i}):"header"===r.location&&(i=r.toWireFormat(i).toString(),e.httpRequest.headers[r.name]=i))})}function s(e){i(e),a(e),n(e)}function o(){}function u(e){var t=e.request,r={},i=e.httpResponse,a=t.service.api.operations[t.operation],n=a.output,s={};c.each(i.headers,function(e,t){s[e.toLowerCase()]=t}),c.each(n.members,function(e,t){var a=(t.name||e).toLowerCase();if("headers"===t.location&&"map"===t.type){r[e]={};var n=t.isLocationName?t.name:"",o=new RegExp("^"+n+"(.+)","i");c.each(i.headers,function(t,i){var a=t.match(o);null!==a&&(r[e][a[1]]=i)})}else"header"===t.location?void 0!==s[a]&&(r[e]=s[a]):"statusCode"===t.location&&(r[e]=parseInt(i.statusCode,10))}),e.data=r}var c=e("../util");t.exports={buildRequest:s,extractError:o,extractData:u}},{"../util":61}],31:[function(e,t,r){function i(e){var t=new p,r=e.service.api.operations[e.operation].input;if(r.payload){var i={},a=r.members[r.payload];if(i=e.params[r.payload],void 0===i)return;"structure"===a.type?e.httpRequest.body=t.build(i,a):e.httpRequest.body=i}else e.httpRequest.body=t.build(e.params,r)}function a(e){u.buildRequest(e),["GET","HEAD","DELETE"].indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function s(e){u.extractData(e);var t=e.request,r=t.service.api.operations[t.operation].output||{};if(r.payload){var i=r.members[r.payload],a=e.httpResponse.body;if(i.isStreaming)e.data[r.payload]=a;else if("structure"===i.type||"list"===i.type){var n=new m;e.data[r.payload]=n.parse(a,i)}else e.data[r.payload]=a.toString()}else{var s=e.data;c.extractData(e),e.data=o.merge(s,e.data)}}var o=e("../util"),u=e("./rest"),c=e("./json"),p=e("../json/builder"),m=e("../json/parser");t.exports={buildRequest:a,extractError:n,extractData:s}},{"../json/builder":19,"../json/parser":20,"../util":61,"./json":28,"./rest":30}],32:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation].input,r=new o.XML.Builder,i=e.params,a=t.payload;if(a){var n=t.members[a];if(i=i[a],void 0===i)return;if("structure"===n.type){var s=n.name;e.httpRequest.body=r.toXML(i,n,s,!0)}else e.httpRequest.body=i}else e.httpRequest.body=r.toXML(i,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function a(e){c.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e);var t=(new o.XML.Parser).parse(e.httpResponse.body.toString());t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function s(e){c.extractData(e);var t,r=e.request,i=e.httpResponse.body,a=r.service.api.operations[r.operation],n=a.output,s=n.payload;if(s){var p=n.members[s];p.isStreaming?e.data[s]=i:"structure"===p.type?(t=new o.XML.Parser,e.data[s]=t.parse(i.toString(),p)):e.data[s]=i.toString()}else if(i.length>0){t=new o.XML.Parser;var m=t.parse(i.toString(),n);u.update(e.data,m)}}var o=e("../core"),u=e("../util"),c=e("./rest");t.exports={buildRequest:a,extractError:n,extractData:s}},{"../core":4,"../util":61,"./rest":30}],33:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function n(e,t,r,i){c.each(r.members,function(r,n){var s=t[r];if(null!==s&&void 0!==s){var o=a(n);o=e?e+"."+o:o,u(o,s,n,i)}})}function s(e,t,r,i){var a=1;c.each(t,function(t,n){var s=r.flattened?".":".entry.",o=s+a++ +".",c=o+(r.key.name||"key"),p=o+(r.value.name||"value");u(e+c,t,r.key,i),u(e+p,n,r.value,i)})}function o(e,t,r,i){var n=r.member||{};return 0===t.length?void i.call(this,e,null):void c.arrayEach(t,function(t,s){var o="."+(s+1);if("ec2"===r.api.protocol)o+="";else if(r.flattened){if(n.name){var c=e.split(".");c.pop(),c.push(a(n)),e=c.join(".")}}else o=".member"+o;u(e+o,t,n,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?n(e,t,r,i):"list"===r.type?o(e,t,r,i):"map"===r.type?s(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var c=e("../util");i.prototype.serialize=function(e,t,r){n("",e,t,r)},t.exports=i},{"../util":61}],34:[function(e,t,r){t.exports={rules:{"*/*":{endpoint:"{service}.{region}.amazonaws.com"},"cn-*/*":{endpoint:"{service}.{region}.amazonaws.com.cn"},"*/cloudfront":"globalSSL","*/iam":"globalSSL","*/sts":"globalSSL","*/importexport":{endpoint:"{service}.amazonaws.com",signatureVersion:"v2",globalEndpoint:!0},"*/route53":{endpoint:"https://{service}.amazonaws.com",signatureVersion:"v3https",globalEndpoint:!0},"*/waf":"globalSSL","us-gov-*/iam":"globalGovCloud","us-gov-*/sts":{endpoint:"{service}.{region}.amazonaws.com"},"us-gov-west-1/s3":"s3dash","us-west-1/s3":"s3dash","us-west-2/s3":"s3dash","eu-west-1/s3":"s3dash","ap-southeast-1/s3":"s3dash","ap-southeast-2/s3":"s3dash","ap-northeast-1/s3":"s3dash","sa-east-1/s3":"s3dash","us-east-1/s3":{endpoint:"{service}.amazonaws.com",signatureVersion:"s3"},"us-east-1/sdb":{endpoint:"{service}.amazonaws.com",signatureVersion:"v2"},"*/sdb":{endpoint:"{service}.{region}.amazonaws.com",signatureVersion:"v2"}},patterns:{globalSSL:{endpoint:"https://{service}.amazonaws.com",globalEndpoint:!0},globalGovCloud:{endpoint:"{service}.us-gov.amazonaws.com"},s3dash:{endpoint:"{service}-{region}.amazonaws.com",signatureVersion:"s3"}}}},{}],35:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function n(e,t){o.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function s(e){for(var t=a(e),r=0;r<t.length;r++){var i=t[r];if(i&&Object.prototype.hasOwnProperty.call(u.rules,i)){var s=u.rules[i];return"string"==typeof s&&(s=u.patterns[s]),e.isGlobalEndpoint=!!s.globalEndpoint,s.signatureVersion||(s.signatureVersion="v4"),void n(e,s)}}}var o=e("./util"),u=e("./region_config.json");t.exports=s},{"./region_config.json":34,"./util":61}],36:[function(e,t,r){(function(t){function r(e){return Object.prototype.hasOwnProperty.call(u,e._asm.currentState)}var i=e("./core"),a=e("./state_machine"),n=i.util.inherit,s=i.util.nodeRequire("domain"),o=e("jmespath"),u={success:1,error:1,complete:1},c=new a;c.setupStates=function(){var e=function(e,t){var i=this;i._haltHandlersOnError=!1,i.emit(i._asm.currentState,function(e){if(e)if(r(i)){if(!(s&&i.domain instanceof s.Domain))throw e;e.domainEmitter=i,e.domain=i.domain,e.domainThrown=!1,i.domain.emit("error",e)}else i.response.error=e,t(e);else t(i.response.error)})};this.addState("validate","build","error",e),this.addState("build","afterBuild","restart",e),this.addState("afterBuild","sign","restart",e),this.addState("sign","send","retry",e),this.addState("retry","afterRetry","afterRetry",e),this.addState("afterRetry","sign","error",e),this.addState("send","validateResponse","retry",e),this.addState("validateResponse","extractData","extractError",e),
this.addState("extractError","extractData","retry",e),this.addState("extractData","success","retry",e),this.addState("restart","build","error",e),this.addState("success","complete","complete",e),this.addState("error","complete","complete",e),this.addState("complete",null,null,e)},c.setupStates(),i.Request=n({constructor:function(e,t,r){var n=e.endpoint,o=e.config.region,u=e.config.customUserAgent;e.isGlobalEndpoint&&(o="us-east-1"),this.domain=s&&s.active,this.service=e,this.operation=t,this.params=r||{},this.httpRequest=new i.HttpRequest(n,o,u),this.startTime=i.util.date.getDate(),this.response=new i.Response(this),this._asm=new a(c.states,"validate"),this._haltHandlersOnError=!1,i.SequentialExecutor.call(this),this.emit=this.emitEvent},send:function(e){return e&&this.on("complete",function(t){e.call(t,t.error,t.data)}),this.runTo(),this.response},build:function(e){return this.runTo("send",e)},runTo:function(e,t){return this._asm.runTo(e,t,this),this},abort:function(){return this.removeAllListeners("validateResponse"),this.removeAllListeners("extractError"),this.on("validateResponse",function(e){e.error=i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1})}),this.httpRequest.stream&&(this.httpRequest.stream.abort(),this.httpRequest._abortCallback?this.httpRequest._abortCallback():this.removeAllListeners("send")),this},eachPage:function(e){function t(r){e.call(r,r.error,r.data,function(a){a!==!1&&(r.hasNextPage()?r.nextPage().on("complete",t).send():e.call(r,null,null,i.util.fn.noop))})}e=i.util.fn.makeAsync(e,3),this.on("complete",t).send()},eachItem:function(e){function t(t,a){if(t)return e(t,null);if(null===a)return e(null,null);var n=r.service.paginationConfig(r.operation),s=n.resultKey;Array.isArray(s)&&(s=s[0]);var u=o.search(a,s);i.util.arrayEach(u,function(t){e(null,t)})}var r=this;this.eachPage(t)},isPageable:function(){return!!this.service.paginationConfig(this.operation)},createReadStream:function(){var e=i.util.nodeRequire("stream"),r=this,a=null;return 2===i.HttpClient.streamsApiVersion?(a=new e.PassThrough,r.send()):(a=new e.Stream,a.readable=!0,a.sent=!1,a.on("newListener",function(e){a.sent||"data"!==e||(a.sent=!0,t.nextTick(function(){r.send()}))})),this.on("httpHeaders",function(e,t,n){if(300>e){r.removeListener("httpData",i.EventListeners.Core.HTTP_DATA),r.removeListener("httpError",i.EventListeners.Core.HTTP_ERROR),r.on("httpError",function(e){n.error=e,n.error.retryable=!1});var s=n.httpResponse.createUnbufferedStream();2===i.HttpClient.streamsApiVersion?s.pipe(a):(s.on("data",function(e){a.emit("data",e)}),s.on("end",function(){a.emit("end")})),s.on("error",function(e){a.emit("error",e)})}}),this.on("error",function(e){a.emit("error",e)}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response));var a=i.SequentialExecutor.prototype.emit;a.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.util.addPromisesToRequests(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this,e("_process"))},{"./core":4,"./state_machine":60,_process:222,jmespath:259}],37:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var n=t.matchers[r.matcher];n&&n(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),n=a.util.inherit,s=e("jmespath");a.ResourceWaiter=n({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){var i=s.search(e.data,r);return s.strictDeepEqual(i,t)},pathAll:function(e,t,r){var i=s.search(e.data,r);Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var n=0;a>n;n++)if(!s.strictDeepEqual(i[n],t))return!1;return!0},pathAny:function(e,t,r){var i=s.search(e.data,r);Array.isArray(i)||(i=[i]);for(var a=i.length,n=0;a>n;n++)if(s.strictDeepEqual(i[n],t))return!0;return!1},status:function(e,t){var r=e.httpResponse.statusCode;return"number"==typeof r&&r===t},error:function(e,t){return"string"==typeof t&&e.error?t===e.error.code:t===!!e.error}},listeners:(new a.SequentialExecutor).addNamedListeners(function(e){e("RETRY_CHECK","retry",function(e){var t=e.request._waiter;e.error&&"ResourceNotReady"===e.error.code&&(e.error.retryDelay=1e3*(t.config.delay||0))}),e("CHECK_OUTPUT","extractData",i),e("CHECK_ERROR","extractError",i)}),wait:function(e,t){"function"==typeof e&&(t=e,e=void 0);var r=this.service.makeRequest(this.config.operation,e);return r._waiter=this,r.response.maxRetries=this.config.maxAttempts,r.addListeners(this.listeners),t&&r.send(t),r},setSuccess:function(e){e.error=null,e.data=e.data||{},e.request.removeAllListeners("extractData")},setError:function(e,t){e.data=null,e.error=a.util.error(e.error||new Error,{code:"ResourceNotReady",message:"Resource is not in the state "+this.state,retryable:t})},loadWaiterConfig:function(e){if(!this.service.api.waiters[e])throw new a.util.error(new Error,{code:"StateNotFoundError",message:"State "+e+" not found."});this.config=this.service.api.waiters[e]}})},{"./core":4,jmespath:259}],38:[function(e,t,r){var i=e("./core"),a=i.util.inherit,n=e("jmespath");i.Response=a({constructor:function(e){this.request=e,this.data=null,this.error=null,this.retryCount=0,this.redirectCount=0,this.httpResponse=new i.HttpResponse,e&&(this.maxRetries=e.service.numRetries(),this.maxRedirects=e.service.config.maxRedirects)},nextPage:function(e){var t,r=this.request.service,a=this.request.operation;try{t=r.paginationConfig(a,!0)}catch(n){this.error=n}if(!this.hasNextPage()){if(e)e(this.error,null);else if(this.error)throw this.error;return null}var s=i.util.copy(this.request.params);if(this.nextPageTokens){var o=t.inputToken;"string"==typeof o&&(o=[o]);for(var u=0;u<o.length;u++)s[o[u]]=this.nextPageTokens[u];return r.makeRequest(this.request.operation,s,e)}return e?e(null,null):null},hasNextPage:function(){return this.cacheNextPageTokens(),this.nextPageTokens?!0:void 0===this.nextPageTokens?void 0:!1},cacheNextPageTokens:function(){if(Object.prototype.hasOwnProperty.call(this,"nextPageTokens"))return this.nextPageTokens;this.nextPageTokens=void 0;var e=this.request.service.paginationConfig(this.request.operation);if(!e)return this.nextPageTokens;if(this.nextPageTokens=null,e.moreResults&&!n.search(this.data,e.moreResults))return this.nextPageTokens;var t=e.outputToken;return"string"==typeof t&&(t=[t]),i.util.arrayEach.call(this,t,function(e){var t=n.search(this.data,e);t&&(this.nextPageTokens=this.nextPageTokens||[],this.nextPageTokens.push(t))}),this.nextPageTokens}})},{"./core":4,jmespath:259}],39:[function(e,t,r){(function(r){var i=e("../core"),a=i.util.string.byteLength;i.S3.ManagedUpload=i.util.inherit({constructor:function(e){var t=this;i.SequentialExecutor.call(t),t.body=null,t.sliceFn=null,t.callback=null,t.parts={},t.completeInfo=[],t.fillQueue=function(){t.callback(new Error("Unsupported body payload "+typeof t.body))},t.configure(e)},configure:function(e){if(e=e||{},this.partSize=this.minPartSize,e.queueSize&&(this.queueSize=e.queueSize),e.partSize&&(this.partSize=e.partSize),e.leavePartsOnError&&(this.leavePartsOnError=!0),this.partSize<this.minPartSize)throw new Error("partSize must be greater than "+this.minPartSize);this.service=e.service,this.bindServiceObject(e.params),this.validateBody(),this.adjustTotalBytes()},leavePartsOnError:!1,queueSize:4,partSize:null,minPartSize:5242880,maxTotalParts:1e4,send:function(e){var t=this;t.failed=!1,t.callback=e||function(e){if(e)throw e};var r=!0;if(t.sliceFn)t.fillQueue=t.fillBuffer;else if(i.util.isNode()){var a=i.util.nodeRequire("stream").Stream;t.body instanceof a&&(r=!1,t.fillQueue=t.fillStream,t.partBuffers=[],t.body.on("readable",function(){t.fillQueue()}).on("end",function(){t.isDoneChunking=!0,t.numParts=t.totalPartNumbers,t.fillQueue.call(t)}))}r&&t.fillQueue.call(t)},abort:function(){this.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,!e.body)throw new Error("params.Body is required");"string"==typeof e.body&&(e.body=new i.util.Buffer(e.body)),e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=i.util.copy(t.service.config);t.service=new t.service.constructor.__super__(r),t.service.config.params=i.util.merge(t.service.config.params||{},e)}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(t){}if(e.totalBytes){var r=Math.ceil(e.totalBytes/e.maxTotalParts);r>e.partSize&&(e.partSize=r)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts<e.queueSize&&e.partPos<t;){var r=Math.min(e.partPos+e.partSize,t),i=e.sliceFn.call(e.body,e.partPos,r);e.partPos+=e.partSize,(a(i)<e.partSize||e.partPos===t)&&(e.isDoneChunking=!0,e.numParts=e.totalPartNumbers+1),e.nextChunk(i)}},fillStream:function(){var e=this;if(!(e.activeParts>=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var i=1===e.partBuffers.length?e.partBuffers[0]:r.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,i.length>e.partSize){var a=i.slice(e.partSize);e.partBuffers.push(a),e.partBufferLength+=a.length,i=i.slice(0,e.partSize)}e.nextChunk(i)}e.isDoneChunking&&!e.isDoneSending&&(i=1===e.partBuffers.length?e.partBuffers[0]:r.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||i.length>0)&&(e.numParts++,e.nextChunk(i))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a=t.service.putObject({Body:e});return a._managedUpload=t,a.on("httpUploadProgress",t.progress).send(t.finishSinglePart),null}if(t.service.config.params.ContentMD5){var n=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(n),null}return t.completeInfo[r]&&null!==t.completeInfo[r].ETag?null:(t.activeParts++,void(t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())))},uploadPart:function(e,t){var r=this,a={Body:e,ContentLength:i.util.string.byteLength(e),PartNumber:t},n={ETag:null,PartNumber:t};r.completeInfo[t]=n;var s=r.service.uploadPart(a);r.parts[t]=s,s._lastUploadedBytes=0,s._managedUpload=r,s.on("httpUploadProgress",r.progress),s.send(function(e,t){if(delete r.parts[a.PartNumber],r.activeParts--,!(e||t&&t.ETag)){var s="No access to ETag property on response.";i.util.isBrowser()&&(s+=" Check CORS configuration to expose ETag header."),e=i.util.error(new Error(s),{code:"ETagMissing",retryable:!1})}return e?r.cleanup(e):(n.ETag=t.ETag,r.doneParts++,void(r.isDoneChunking&&r.doneParts===r.numParts?r.finishMultiPart():r.fillQueue.call(r)))})},queueChunks:function(e,t){var r=this;r.multipartReq.on("success",function(){r.uploadPart(e,t)})},cleanup:function(e){var t=this;t.failed||("function"==typeof t.body.removeAllListeners&&"function"==typeof t.body.resume&&(t.body.removeAllListeners("readable"),t.body.removeAllListeners("end"),t.body.resume()),t.service.config.params.UploadId&&!t.leavePartsOnError&&t.service.abortMultipartUpload().send(),i.util.each(t.parts,function(e,t){t.removeAllListeners("complete"),t.abort()}),t.activeParts=0,t.partPos=0,t.numParts=0,t.totalPartNumbers=0,t.parts={},t.failed=!0,t.callback(e))},finishMultiPart:function(){var e=this,t={MultipartUpload:{Parts:e.completeInfo.slice(1)}};e.service.completeMultipartUpload(t,function(t,r){return t?e.cleanup(t):void e.callback(t,r)})},finishSinglePart:function(e,t){var r=this.request._managedUpload,i=this.request.httpRequest,a=i.endpoint;return e?r.callback(e):(t.Location=[a.protocol,"//",a.host,i.path].join(""),t.key=this.request.params.Key,t.Key=this.request.params.Key,t.Bucket=this.request.params.Bucket,void r.callback(e,t))},progress:function(e){var t=this._managedUpload;"putObject"===this.operation?(e.part=1,e.key=this.params.Key):(t.totalUploadedBytes+=e.loaded-this._lastUploadedBytes,this._lastUploadedBytes=e.loaded,e={loaded:t.totalUploadedBytes,total:t.totalBytes,part:this.params.PartNumber,key:this.params.Key}),t.emit("httpUploadProgress",[e])}}),i.util.mixin(i.S3.ManagedUpload,i.SequentialExecutor),t.exports=i.S3.ManagedUpload}).call(this,e("buffer").Buffer)},{"../core":4,buffer:81}],40:[function(e,t,r){var i=e("./core");i.SequentialExecutor=i.util.inherit({constructor:function(){this._events={}},listeners:function(e){return this._events[e]?this._events[e].slice(0):[]},on:function(e,t){return this._events[e]?this._events[e].push(t):this._events[e]=[t],this},onAsync:function(e,t){return t._isAsync=!0,this.on(e,t)},removeListener:function(e,t){var r=this._events[e];if(r){for(var i=r.length,a=-1,n=0;i>n;++n)r[n]===t&&(a=n);a>-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function n(a){return a&&(o=i.util.error(o||new Error,a),s._haltHandlersOnError)?r.call(s,o):void s.callListeners(e,t,r,o)}for(var s=this,o=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(s,t.concat([n]));try{u.apply(s,t)}catch(c){o=i.util.error(o||new Error,c)}if(o&&s._haltHandlersOnError)return void r.call(s,o)}r.call(s,o)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r){return this[e]=r,this.addListener(t,r),this},addNamedAsyncListener:function(e,t,r){return r._isAsync=!0,this.addNamedListener(e,t,r)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":4}],41:[function(e,t,r){var i=e("./core"),a=e("./model/api"),n=e("./region_config"),s=i.util.inherit;i.Service=s({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var r=i.util.copy(e),a=new t(e);return Object.defineProperty(a,"_originalConfig",{get:function(){return r},enumerable:!1,configurable:!0}),a}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||n(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint)},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var n=new i.Request(this,e,t);return this.addAllRequestListeners(n),r&&n.send(r),n},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){var a=new i.ResourceWaiter(this,e);return a.wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r<t.length;r++)t[r]&&e.addListeners(t[r]);this.config.paramValidation||e.removeListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS),this.config.logger&&e.addListeners(i.EventListeners.Logger),this.setupRequestListeners(e)},setupRequestListeners:function(){},getSignerClass:function(){var e;return e=this.config.signatureVersion?this.config.signatureVersion:this.api.signatureVersion,i.Signers.RequestSigner.getVersion(e)},serviceInterface:function(){switch(this.api.protocol){case"ec2":return i.EventListeners.Query;case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e){var t=this.config.retryDelayOptions||{},r=t.customBackoff||null;if("function"==typeof r)return r(e);var i=t.base||30,a=Math.random()*(Math.pow(2,e)*i);return a},retryableError:function(e){return this.networkingError(e)?!0:this.expiredCredentialsError(e)?!0:this.throttledError(e)?!0:e.statusCode>=500},networkingError:function(e){return"NetworkingError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},throttledError:function(e){switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){var r=e.prototype.api.operations[t];"none"===r.authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=s(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var n=a.serviceIdentifier||e;a.serviceIdentifier=n}else a.prototype.api=e,i.Service.defineMethods(a);return a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r<t.length;r++)void 0===e.services[t[r]]&&(e.services[t[r]]=null);e.apiVersions=Object.keys(e.services).sort()},defineServiceApi:function(e,t,r){function n(e){e.isApi?o.prototype.api=e:o.prototype.api=new a(e)}var o=s(e,{serviceIdentifier:e.serviceIdentifier});if("string"==typeof t){if(r)n(r);else try{n(i.apiLoader(e.serviceIdentifier,t))}catch(u){throw i.util.error(u,{message:"Could not find API configuration "+e.serviceIdentifier+"-"+t})}Object.prototype.hasOwnProperty.call(e.services,t)||(e.apiVersions=e.apiVersions.concat(t).sort()),e.services[t]=o}else n(t);return i.Service.defineMethods(o),o},hasService:function(e){return Object.prototype.hasOwnProperty.call(i.Service._serviceMap,e)},_serviceMap:{}})},{"./core":4,"./model/api":21,"./region_config":35}],42:[function(e,t,r){var i=e("../core");i.util.update(i.APIGateway.prototype,{setAcceptHeader:function(e){var t=e.httpRequest;t.headers.Accept="application/json"},setupRequestListeners:function(e){e.addListener("build",this.setAcceptHeader),"getSdk"===e.operation&&e.addListener("extractData",this.useRawPayload)},useRawPayload:function(e){var t=e.request,r=t.operation,i=t.service.api.operations[r].output||{};if(i.payload){var a=e.httpResponse.body;e.data[i.payload]=a}}})},{"../core":4}],43:[function(e,t,r){var i=e("../core");e("../cloudfront/signer"),i.util.update(i.CloudFront.prototype,{setupRequestListeners:function(e){e.addListener("extractData",i.util.hoistPayloadMember)}})},{"../cloudfront/signer":2,"../core":4}],44:[function(e,t,r){var i=e("../core");i.util.update(i.CognitoIdentity.prototype,{getOpenIdToken:function(e,t){return this.makeUnauthenticatedRequest("getOpenIdToken",e,t)},getId:function(e,t){return this.makeUnauthenticatedRequest("getId",e,t)},getCredentialsForIdentity:function(e,t){return this.makeUnauthenticatedRequest("getCredentialsForIdentity",e,t)}})},{"../core":4}],45:[function(e,t,r){var i=e("../core");e("../dynamodb/document_client"),i.util.update(i.DynamoDB.prototype,{setupRequestListeners:function(e){e.service.config.dynamoDbCrc32&&(e.removeListener("extractData",i.EventListeners.Json.EXTRACT_DATA),e.addListener("extractData",this.checkCrc32),e.addListener("extractData",i.EventListeners.Json.EXTRACT_DATA))},checkCrc32:function(e){if(!e.httpResponse.streaming&&!e.request.service.crc32IsValid(e))throw e.data=null,e.error=i.util.error(new Error,{code:"CRC32CheckFailed",message:"CRC32 integrity check failed",retryable:!0}),e.request.haltHandlersOnError(),e.error},crc32IsValid:function(e){var t=e.httpResponse.headers["x-amz-crc32"];return t?parseInt(t,10)===i.util.crypto.crc32(e.httpResponse.body):!0},defaultRetryCount:10,retryDelays:function(e){var t=e>0?50*Math.pow(2,e-1):0;return t}})},{"../core":4,"../dynamodb/document_client":12}],46:[function(e,t,r){var i=e("../core");i.util.update(i.EC2.prototype,{setupRequestListeners:function(e){e.removeListener("extractError",i.EventListeners.Query.EXTRACT_ERROR),e.addListener("extractError",this.extractError),"copySnapshot"===e.operation&&e.onAsync("validate",this.buildCopySnapshotPresignedUrl)},buildCopySnapshotPresignedUrl:function(e,t){if(e.params.PresignedUrl||e._subRequest)return t();e.params=i.util.copy(e.params),e.params.DestinationRegion=e.service.config.region;var r=i.util.copy(e.service.config);delete r.endpoint,r.region=e.params.SourceRegion;var a=new e.service.constructor(r),n=a[e.operation](e.params);n._subRequest=!0,n.presign(function(r,i){r?t(r):(e.params.PresignedUrl=i,t())})},extractError:function(e){var t=e.httpResponse,r=(new i.XML.Parser).parse(t.body.toString()||"");r.Errors?e.error=i.util.error(new Error,{code:r.Errors.Error.Code,message:r.Errors.Error.Message}):e.error=i.util.error(new Error,{code:t.statusCode,message:null}),e.error.requestId=r.RequestID||null}})},{"../core":4}],47:[function(e,t,r){var i=e("../core");i.util.update(i.IotData.prototype,{validateService:function(){if(!this.config.endpoint||this.config.endpoint.indexOf("{")>=0){var e="AWS.IotData requires an explicit `endpoint' configuration option.";throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":4}],48:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":4}],49:[function(e,t,r){var i=e("../core");i.util.update(i.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")}})},{"../core":4}],50:[function(e,t,r){var i=e("../core");e("../s3/managed_upload");var a={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},n=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];i.util.update(i.S3.prototype,{getSignerClass:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,a=this.config.signatureVersion,n=e?e.isPresigned():!1;return r?(r="v2"===r?"s3":r,i.Signers.RequestSigner.getVersion(r)):(n!==!0?t="v4":a&&(t=a),i.Signers.RequestSigner.getVersion(t))},validateService:function(){if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint){var e="An endpoint must be provided when configuring `s3BucketEndpoint` to true.";throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})}},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return this.config.s3DisableBodySigning===!0&&t===i.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.addListener("build",this.addContentType),e.addListener("build",this.populateURI),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("afterBuild",this.addExpect100Continue),e.removeListener("validate",i.EventListeners.Core.VALIDATE_REGION),e.addListener("extractError",this.extractError),e.onAsync("extractError",this.requestBucketRegion),e.addListener("extractData",this.extractData),e.addListener("extractData",i.util.hoistPayloadMember),e.addListener("beforePresign",this.prepareSignedUrl),i.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning))},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol,a=t.SSECustomerKey||t.CopySourceSSECustomerKey;if(a&&"https:"!==r){var n="Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration";throw i.util.error(new Error,{code:"ConfigError",message:n})}},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){var t="Cannot send requests to root API with `s3BucketEndpoint` set.";throw i.util.error(new Error,{code:"ConfigError",message:t})}},isValidAccelerateOperation:function(e){var t=["createBucket","deleteBucket","listBuckets"];return-1===t.indexOf(e)},populateURI:function(e){var t=e.httpRequest,r=e.params.Bucket,i=e.service,a=t.endpoint;if(r&&!i.pathStyleBucketName(r)){i.config.useAccelerateEndpoint&&i.isValidAccelerateOperation(e.operation)?a.hostname=r+".s3-accelerate.amazonaws.com":i.config.s3BucketEndpoint||(a.hostname=r+"."+a.hostname);var n=a.port;80!==n&&443!==n?a.host=a.hostname+":"+a.port:a.host=a.hostname,t.virtualHostedBucket=r,i.removeVirtualHostedBucketFromPath(e)}},removeVirtualHostedBucketFromPath:function(e){var t=e.httpRequest,r=t.virtualHostedBucket;r&&t.path&&(t.path=t.path.replace(new RegExp("/"+r),""),"/"!==t.path[0]&&(t.path="/"+t.path))},addExpect100Continue:function(e){var t=e.httpRequest.headers["Content-Length"];i.util.isNode()&&t>=1048576&&(e.httpRequest.headers.Expect="100-continue")},addContentType:function(e){var t=e.httpRequest;if("GET"===t.method||"HEAD"===t.method)return void delete t.headers["Content-Type"];t.headers["Content-Type"]||(t.headers["Content-Type"]="application/octet-stream");var r=t.headers["Content-Type"];if(i.util.isBrowser())if("string"!=typeof t.body||r.match(/;\s*charset=/)){var a=function(e,t,r){return t+r.toUpperCase()};t.headers["Content-Type"]=r.replace(/(;\s*charset=)(.+)$/,a)}else{var n="; charset=UTF-8";t.headers["Content-Type"]+=n}},computableChecksumOperations:{putBucketCors:!0,putBucketLifecycle:!0,putBucketLifecycleConfiguration:!0,putBucketTagging:!0,deleteObjects:!0,putBucketReplication:!0},willComputeChecksums:function(e){if(this.computableChecksumOperations[e.operation])return!0;if(!this.config.computeChecksums)return!1;if(!i.util.Buffer.isBuffer(e.httpRequest.body)&&"string"!=typeof e.httpRequest.body)return!1;var t=e.service.api.operations[e.operation].input.members;return e.service.shouldDisableBodySigning(e)&&!Object.prototype.hasOwnProperty.call(e.httpRequest.headers,"presigned-expires")&&t.ContentMD5&&!e.params.ContentMD5?!0:e.service.getSignerClass(e)===i.Signers.V4&&t.ContentMD5&&!t.ContentMD5.required?!1:t.ContentMD5&&!e.params.ContentMD5?!0:void 0},computeContentMd5:function(e){if(e.service.willComputeChecksums(e)){var t=i.util.crypto.md5(e.httpRequest.body,"base64");e.httpRequest.headers["Content-MD5"]=t}},computeSseCustomerKeyMd5:function(e){var t={SSECustomerKey:"x-amz-server-side-encryption-customer-key-MD5",CopySourceSSECustomerKey:"x-amz-copy-source-server-side-encryption-customer-key-MD5"};i.util.each(t,function(t,r){if(e.params[t]){var a=i.util.crypto.md5(e.params[t],"base64");e.httpRequest.headers[r]=a}})},pathStyleBucketName:function(e){return this.config.s3ForcePathStyle?!0:this.config.s3BucketEndpoint?!1:this.dnsCompatibleBucketName(e)?!(!this.config.sslEnabled||!e.match(/\./)):!0},dnsCompatibleBucketName:function(e){
var t=e,r=new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/),i=new RegExp(/(\d+\.){3}\d+/),a=new RegExp(/\.\./);return t.match(r)&&!t.match(i)&&!t.match(a)},successfulResponse:function(e){var t=e.request,r=e.httpResponse;return a[t.operation]&&r.body.toString().match("<Error>")?!1:r.statusCode<300},retryableError:function(e,t){if(a[t.operation]&&200===e.statusCode)return!0;if(t._requestRegionForBucket&&t.service.bucketRegionCache[t._requestRegionForBucket])return!1;if(e&&"RequestTimeout"===e.code)return!0;if(e&&-1!=n.indexOf(e.code)&&e.region&&e.region!=t.httpRequest.region)return t.httpRequest.region=e.region,301===e.statusCode&&t.service.updateReqBucketRegion(t),!0;var r=i.Service.prototype.retryableError;return r.call(this,e,t)},updateReqBucketRegion:function(e,t){var r=e.httpRequest;if("string"==typeof t&&t.length&&(r.region=t),r.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)){var a=e.service,n=a.config,s=n.s3BucketEndpoint;s&&delete n.s3BucketEndpoint;var o=i.util.copy(n);delete o.endpoint,o.region=r.region,r.endpoint=new i.S3(o).endpoint,a.populateURI(e),n.s3BucketEndpoint=s,r.headers.Host=r.endpoint.host,"validate"===e._asm.currentState&&(e.removeListener("build",a.populateURI),e.addListener("build",a.removeVirtualHostedBucketFromPath))}},extractData:function(e){var t=e.request;if("getBucketLocation"===t.operation){var r=e.httpResponse.body.toString().match(/>(.+)<\/Location/);delete e.data._,r?e.data.LocationConstraint=r[1]:e.data.LocationConstraint=""}var i=t.params.Bucket||null;if("deleteBucket"!==t.operation||"string"!=typeof i||e.error){var a=e.httpResponse.headers||{},n=a["x-amz-bucket-region"]||null;if(!n&&"createBucket"===t.operation&&!e.error){var s=t.params.CreateBucketConfiguration;n=s?"EU"===s.LocationConstraint?"eu-west-1":s.LocationConstraint:"us-east-1"}n&&i&&n!==t.service.bucketRegionCache[i]&&(t.service.bucketRegionCache[i]=n)}else t.service.clearBucketRegionCache(i);t.service.extractRequestIds(e)},extractError:function(e){var t={304:"NotModified",403:"Forbidden",400:"BadRequest",404:"NotFound"},r=e.request,a=e.httpResponse.statusCode,n=e.httpResponse.body||"",s=e.httpResponse.headers||{},o=s["x-amz-bucket-region"]||null,u=r.params.Bucket||null,c=r.service.bucketRegionCache;o&&u&&o!==c[u]&&(c[u]=o);var p;if(t[a]&&0===n.length)u&&!o&&(p=c[u]||null,p!==r.httpRequest.region&&(o=p)),e.error=i.util.error(new Error,{code:t[a],message:null,region:o});else{var m=(new i.XML.Parser).parse(n.toString());m.Region&&!o?(o=m.Region,u&&o!==c[u]&&(c[u]=o)):!u||o||m.Region||(p=c[u]||null,p!==r.httpRequest.region&&(o=p)),e.error=i.util.error(new Error,{code:m.Code||a,message:m.Message||null,region:o})}r.service.extractRequestIds(e)},requestBucketRegion:function(e,t){var r=e.error,a=e.request,s=a.params.Bucket||null;if(!r||!s||r.region||"listObjects"===a.operation||i.util.isNode()&&"headBucket"===a.operation||400===r.statusCode&&"headObject"!==a.operation||-1===n.indexOf(r.code))return t();var o=i.util.isNode()?"headBucket":"listObjects",u={Bucket:s};"listObjects"===o&&(u.MaxKeys=0);var c=a.service[o](u);c._requestRegionForBucket=s,c.send(function(){var e=a.service.bucketRegionCache[s]||null;r.region=e,t()})},reqRegionForNetworkingError:function(e,t){if(!i.util.isBrowser())return t();var r=e.error,a=e.request,n=a.params.Bucket;if(!r||"NetworkingError"!==r.code||!n||"us-east-1"===a.httpRequest.region)return t();var s=a.service,o=s.bucketRegionCache,u=o[n]||null;if(u&&u!==a.httpRequest.region)s.updateReqBucketRegion(a,u),t();else if(s.dnsCompatibleBucketName(n))if(a.httpRequest.virtualHostedBucket){var c=s.listObjects({Bucket:n,MaxKeys:0});s.updateReqBucketRegion(c,"us-east-1"),c._requestRegionForBucket=n,c.send(function(){var e=s.bucketRegionCache[n]||null;e&&e!==a.httpRequest.region&&s.updateReqBucketRegion(a,e),t()})}else t();else s.updateReqBucketRegion(a,"us-east-1"),"us-east-1"!==o[n]&&(o[n]="us-east-1"),t()},bucketRegionCache:{},clearBucketRegionCache:function(e){var t=this.bucketRegionCache;e?"string"==typeof e&&(e=[e]):e=Object.keys(t);for(var r=0;r<e.length;r++)delete t[e[r]];return t},correctBucketRegionFromCache:function(e){var t=e.params.Bucket||null;if(t){var r=e.service,i=e.httpRequest.region,a=r.bucketRegionCache[t];a&&a!==i&&r.updateReqBucketRegion(e,a)}},extractRequestIds:function(e){var t=e.httpResponse.headers?e.httpResponse.headers["x-amz-id-2"]:null,r=e.httpResponse.headers?e.httpResponse.headers["x-amz-cf-id"]:null;e.extendedRequestId=t,e.cfId=r,e.error&&(e.error.requestId=e.requestId||null,e.error.extendedRequestId=t,e.error.cfId=r)},getSignedUrl:function(e,t,r){t=i.util.copy(t||{});var a=t.Expires||900;delete t.Expires;var n=this.makeRequest(e,t);return n.presign(a,r)},prepareSignedUrl:function(e){e.addListener("validate",e.service.noPresignedContentLength),e.removeListener("build",e.service.addContentType),e.params.Body?e.addListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256):e.removeListener("build",e.service.computeContentMd5)},disableBodySigning:function(e){var t=e.httpRequest.headers;Object.prototype.hasOwnProperty.call(t,"presigned-expires")||(t["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD")},noPresignedContentLength:function(e){if(void 0!==e.params.ContentLength)throw i.util.error(new Error,{code:"UnexpectedParameter",message:"ContentLength is not supported in pre-signed URLs."})},createBucket:function(e,t){"function"!=typeof e&&e||(t=t||e,e={});var r=this.endpoint.hostname;return r===this.api.globalEndpoint||e.CreateBucketConfiguration||(e.CreateBucketConfiguration={LocationConstraint:this.config.region}),this.makeRequest("createBucket",e,t)},upload:function(e,t,r){"function"==typeof t&&void 0===r&&(r=t,t=null),t=t||{},t=i.util.merge(t||{},{service:this,params:e});var a=new i.S3.ManagedUpload(t);return"function"==typeof r&&a.send(r),a}})},{"../core":4,"../s3/managed_upload":39}],51:[function(e,t,r){var i=e("../core");i.util.update(i.SQS.prototype,{setupRequestListeners:function(e){e.addListener("build",this.buildEndpoint),e.service.config.computeChecksums&&("sendMessage"===e.operation?e.addListener("extractData",this.verifySendMessageChecksum):"sendMessageBatch"===e.operation?e.addListener("extractData",this.verifySendMessageBatchChecksum):"receiveMessage"===e.operation&&e.addListener("extractData",this.verifyReceiveMessageChecksum))},verifySendMessageChecksum:function(e){if(e.data){var t=e.data.MD5OfMessageBody,r=this.params.MessageBody,i=this.service.calculateChecksum(r);if(i!==t){var a='Got "'+e.data.MD5OfMessageBody+'", expecting "'+i+'".';this.service.throwInvalidChecksumError(e,[e.data.MessageId],a)}}},verifySendMessageBatchChecksum:function(e){if(e.data){var t=this.service,r={},a=[],n=[];i.util.arrayEach(e.data.Successful,function(e){r[e.Id]=e}),i.util.arrayEach(this.params.Entries,function(e){if(r[e.Id]){var i=r[e.Id].MD5OfMessageBody,s=e.MessageBody;t.isChecksumValid(i,s)||(a.push(e.Id),n.push(r[e.Id].MessageId))}}),a.length>0&&t.throwInvalidChecksumError(e,n,"Invalid messages: "+a.join(", "))}},verifyReceiveMessageChecksum:function(e){if(e.data){var t=this.service,r=[];i.util.arrayEach(e.data.Messages,function(e){var i=e.MD5OfBody,a=e.Body;t.isChecksumValid(i,a)||r.push(e.MessageId)}),r.length>0&&t.throwInvalidChecksumError(e,r,"Invalid messages: "+r.join(", "))}},throwInvalidChecksumError:function(e,t,r){e.error=i.util.error(new Error,{retryable:!0,code:"InvalidChecksum",messageIds:t,message:e.request.operation+" returned an invalid MD5 response. "+r})},isChecksumValid:function(e,t){return this.calculateChecksum(t)===e},calculateChecksum:function(e){return i.util.crypto.md5(e,"hex")},buildEndpoint:function(e){var t=e.httpRequest.params.QueueUrl;if(t){e.httpRequest.endpoint=new i.Endpoint(t);var r=e.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./);r&&(e.httpRequest.region=r[1])}}})},{"../core":4}],52:[function(e,t,r){var i=e("../core");i.util.update(i.STS.prototype,{credentialsFrom:function(e,t){return e?(t||(t=new i.TemporaryCredentials),t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretAccessKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration,t):null},assumeRoleWithWebIdentity:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithWebIdentity",e,t)},assumeRoleWithSAML:function(e,t){return this.makeUnauthenticatedRequest("assumeRoleWithSAML",e,t)}})},{"../core":4}],53:[function(e,t,r){function i(e){var t=e.httpRequest.headers[o],r=e.service.getSignerClass(e);if(delete e.httpRequest.headers["User-Agent"],delete e.httpRequest.headers["X-Amz-User-Agent"],r===n.Signers.V4){if(t>604800){var i="Presigning does not support expiry time greater than a week with SigV4 signing.";throw n.util.error(new Error,{code:"InvalidExpiryTime",message:i,retryable:!1})}e.httpRequest.headers[o]=t}else{if(r!==n.Signers.S3)throw n.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});e.httpRequest.headers[o]=parseInt(n.util.date.unixTimestamp()+t,10).toString()}}function a(e){var t=e.httpRequest.endpoint,r=n.util.urlParse(e.httpRequest.path),i={};r.search&&(i=n.util.queryStringParse(r.search.substr(1))),n.util.each(e.httpRequest.headers,function(e,t){e===o&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete i[e],e=e.toLowerCase()),i[e]=t}),delete e.httpRequest.headers[o];var a=i.Authorization.split(" ");if("AWS"===a[0])a=a[1].split(":"),i.AWSAccessKeyId=a[0],i.Signature=a[1];else if("AWS4-HMAC-SHA256"===a[0]){a.shift();var s=a.join(" "),u=s.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];i["X-Amz-Signature"]=u,delete i.Expires}delete i.Authorization,delete i.Host,t.pathname=r.pathname,t.search=n.util.queryParamsToString(i)}var n=e("../core"),s=n.util.inherit,o="presigned-expires";n.Signers.Presign=s({sign:function(e,t,r){if(e.httpRequest.headers[o]=t||3600,e.on("build",i),e.on("sign",a),e.removeListener("afterBuild",n.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",n.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return n.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,n.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=n.Signers.Presign},{"../core":4}],54:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.RequestSigner=a({constructor:function(e){this.request=e}}),i.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return i.Signers.V2;case"v3":return i.Signers.V3;case"v4":return i.Signers.V4;case"s3":return i.Signers.S3;case"v3https":return i.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":4,"./presign":53,"./s3":55,"./v2":56,"./v3":57,"./v3https":58,"./v4":59}],55:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.S3=a(i.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,cors:1,lifecycle:1,"delete":1,location:1,logging:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=i.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),a="AWS "+e.accessKeyId+":"+r;this.request.headers.Authorization=a},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];i.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()<t.toLowerCase()?-1:1});var t=[];return i.util.arrayEach.call(this,e,function(e){t.push(e.toLowerCase()+":"+String(this.request.headers[e]))}),t.join("\n")},canonicalizedResource:function(){var e=this.request,t=e.path.split("?"),r=t[0],a=t[1],n="";if(e.virtualHostedBucket&&(n+="/"+e.virtualHostedBucket),n+=r,a){var s=[];i.util.arrayEach.call(this,a.split("&"),function(e){var t=e.split("=")[0],r=e.split("=")[1];if(this.subResources[t]||this.responseHeaders[t]){var i={name:t};void 0!==r&&(this.subResources[t]?i.value=r:i.value=decodeURIComponent(r)),s.push(i)}}),s.sort(function(e,t){return e.name<t.name?-1:1}),s.length&&(a=[],i.util.arrayEach(s,function(e){void 0===e.value?a.push(e.name):a.push(e.name+"="+e.value)}),n+="?"+a.join("&"))}return n},sign:function(e,t){return i.util.crypto.hmac(e,t,"base64","sha1")}}),t.exports=i.Signers.S3},{"../core":4}],56:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.V2=a(i.Signers.RequestSigner,{addAuthorization:function(e,t){t||(t=i.util.date.getDate());var r=this.request;r.params.Timestamp=i.util.date.iso8601(t),r.params.SignatureVersion="2",r.params.SignatureMethod="HmacSHA256",r.params.AWSAccessKeyId=e.accessKeyId,e.sessionToken&&(r.params.SecurityToken=e.sessionToken),delete r.params.Signature,r.params.Signature=this.signature(e),r.body=i.util.queryParamsToString(r.params),r.headers["Content-Length"]=r.body.length},signature:function(e){return i.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push(this.request.endpoint.host.toLowerCase()),e.push(this.request.pathname()),e.push(i.util.queryParamsToString(this.request.params)),e.join("\n")}}),t.exports=i.Signers.V2},{"../core":4}],57:[function(e,t,r){var i=e("../core"),a=i.util.inherit;i.Signers.V3=a(i.Signers.RequestSigner,{addAuthorization:function(e,t){var r=i.util.date.rfc822(t);this.request.headers["X-Amz-Date"]=r,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken),this.request.headers["X-Amzn-Authorization"]=this.authorization(e,r)},authorization:function(e){return"AWS3 AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,SignedHeaders="+this.signedHeaders()+",Signature="+this.signature(e)},signedHeaders:function(){var e=[];return i.util.arrayEach(this.headersToSign(),function(t){e.push(t.toLowerCase())}),e.sort().join(";")},canonicalHeaders:function(){var e=this.request.headers,t=[];return i.util.arrayEach(this.headersToSign(),function(r){t.push(r.toLowerCase().trim()+":"+String(e[r]).trim())}),t.sort().join("\n")+"\n"},headersToSign:function(){var e=[];return i.util.each(this.request.headers,function(t){("Host"===t||"Content-Encoding"===t||t.match(/^X-Amz/i))&&e.push(t)}),e},signature:function(e){return i.util.crypto.hmac(e.secretAccessKey,this.stringToSign(),"base64")},stringToSign:function(){var e=[];return e.push(this.request.method),e.push("/"),e.push(""),e.push(this.canonicalHeaders()),e.push(this.request.body),i.util.crypto.sha256(e.join("\n"))}}),t.exports=i.Signers.V3},{"../core":4}],58:[function(e,t,r){var i=e("../core"),a=i.util.inherit;e("./v3"),i.Signers.V3Https=a(i.Signers.V3,{authorization:function(e){return"AWS3-HTTPS AWSAccessKeyId="+e.accessKeyId+",Algorithm=HmacSHA256,Signature="+this.signature(e)},stringToSign:function(){return this.request.headers["X-Amz-Date"]}}),t.exports=i.Signers.V3Https},{"../core":4,"./v3":57}],59:[function(e,t,r){var i=e("../core"),a=i.util.inherit,n={},s="presigned-expires";i.Signers.V4=a(i.Signers.RequestSigner,{constructor:function(e,t,r){i.Signers.RequestSigner.call(this,e),this.serviceName=t,this.signatureCache=r},algorithm:"AWS4-HMAC-SHA256",addAuthorization:function(e,t){var r=i.util.date.iso8601(t).replace(/[:\-]|\.\d{3}/g,"");this.isPresigned()?this.updateForPresigned(e,r):this.addHeaders(e,r),this.request.headers.Authorization=this.authorization(e,r)},addHeaders:function(e,t){this.request.headers["X-Amz-Date"]=t,e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken)},updateForPresigned:function(e,t){var r=this.credentialString(t),a={"X-Amz-Date":t,"X-Amz-Algorithm":this.algorithm,"X-Amz-Credential":e.accessKeyId+"/"+r,"X-Amz-Expires":this.request.headers[s],"X-Amz-SignedHeaders":this.signedHeaders()};e.sessionToken&&(a["X-Amz-Security-Token"]=e.sessionToken),this.request.headers["Content-Type"]&&(a["Content-Type"]=this.request.headers["Content-Type"]),this.request.headers["Content-MD5"]&&(a["Content-MD5"]=this.request.headers["Content-MD5"]),this.request.headers["Cache-Control"]&&(a["Cache-Control"]=this.request.headers["Cache-Control"]),i.util.each.call(this,this.request.headers,function(e,t){if(e!==s&&this.isSignableHeader(e)){var r=e.toLowerCase();0===r.indexOf("x-amz-meta-")?a[r]=t:0===r.indexOf("x-amz-")&&(a[e]=t)}});var n=this.request.path.indexOf("?")>=0?"&":"?";this.request.path+=n+i.util.queryParamsToString(a)},authorization:function(e,t){var r=[],i=this.credentialString(t);return r.push(this.algorithm+" Credential="+e.accessKeyId+"/"+i),r.push("SignedHeaders="+this.signedHeaders()),r.push("Signature="+this.signature(e,t)),r.join(", ")},signature:function(e,t){var r=null;if(this.signatureCache)var r=n[this.serviceName];var a=t.substr(0,8);if(!r||r.akid!==e.accessKeyId||r.region!==this.request.region||r.date!==a){var s=e.secretAccessKey,o=i.util.crypto.hmac("AWS4"+s,a,"buffer"),u=i.util.crypto.hmac(o,this.request.region,"buffer"),c=i.util.crypto.hmac(u,this.serviceName,"buffer"),p=i.util.crypto.hmac(c,"aws4_request","buffer");if(!this.signatureCache)return i.util.crypto.hmac(p,this.stringToSign(t),"hex");n[this.serviceName]={region:this.request.region,date:a,key:p,akid:e.accessKeyId}}var m=n[this.serviceName].key;return i.util.crypto.hmac(m,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&(t=i.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];i.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()<t[0].toLowerCase()?-1:1});var t=[];return i.util.arrayEach.call(this,e,function(e){var r=e[0].toLowerCase();this.isSignableHeader(r)&&t.push(r+":"+this.canonicalHeaderValues(e[1].toString()))}),t.join("\n")},canonicalHeaderValues:function(e){return e.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"")},signedHeaders:function(){var e=[];return i.util.each.call(this,this.request.headers,function(t){t=t.toLowerCase(),this.isSignableHeader(t)&&e.push(t)}),e.sort().join(";")},credentialString:function(e){var t=[];return t.push(e.substr(0,8)),t.push(this.request.region),t.push(this.serviceName),t.push("aws4_request"),t.join("/")},hexEncodedHash:function(e){return i.util.crypto.sha256(e,"hex")},hexEncodedBodyHash:function(){return this.isPresigned()&&"s3"===this.serviceName&&!this.request.body?"UNSIGNED-PAYLOAD":this.request.headers["X-Amz-Content-Sha256"]?this.request.headers["X-Amz-Content-Sha256"]:this.hexEncodedHash(this.request.body||"")},unsignableHeaders:["authorization","content-type","content-length","user-agent",s,"expect"],isSignableHeader:function(e){return 0===e.toLowerCase().indexOf("x-amz-")?!0:this.unsignableHeaders.indexOf(e)<0},isPresigned:function(){return!!this.request.headers[s]}}),t.exports=i.Signers.V4},{"../core":4}],60:[function(e,t,r){function i(e,t){this.currentState=t||null,this.states=e||{}}i.prototype.runTo=function(e,t,r,i){"function"==typeof e&&(i=r,r=t,t=e,e=null);var a=this,n=a.states[a.currentState];n.fn.call(r||a,i,function(i){if(i){if(!n.fail)return t?t.call(r,i):null;a.currentState=n.fail}else{if(!n.accept)return t?t.call(r):null;a.currentState=n.accept}return a.currentState===e?t?t.call(r,i):null:void a.runTo(e,t,r,i)})},i.prototype.addState=function(e,t,r,i){return"function"==typeof t?(i=t,t=null,r=null):"function"==typeof r&&(i=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:i},this},t.exports=i},{}],61:[function(e,t,r){(function(r){var i,a=e("crypto"),n=e("buffer").Buffer,s={engine:function(){return s.isBrowser()&&"undefined"!=typeof navigator?navigator.userAgent:r.platform+"/"+r.version},userAgent:function(){var t=s.isBrowser()?"js":"nodejs",r="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(r+=" "+s.engine()),r},isBrowser:function(){return r&&r.browser},isNode:function(){return!s.isBrowser()},nodeRequire:function(t){return s.isNode()?e(t):void 0},multiRequire:function(t,r){return e(s.isNode()?t:r)},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return s.arrayEach(e.split("/"),function(e){t.push(s.uriEscape(e))}),t.join("/")},urlParse:function(t){return e("url").parse(t)},urlFormat:function(t){return e("url").format(t)},queryStringParse:function(t){return e("querystring").parse(t)},queryParamsToString:function(e){var t=[],r=s.uriEscape,i=Object.keys(e).sort();return s.arrayEach(i,function(i){var a=e[i],n=r(i),o=n+"=";if(Array.isArray(a)){var u=[];s.arrayEach(a,function(e){u.push(r(e))}),o=n+"="+u.sort().join("&"+n+"=")}else void 0!==a&&null!==a&&(o=n+"="+r(a));t.push(o)}),t.join("&")},readFileSync:function(e){return s.isBrowser()?null:s.nodeRequire("fs").readFileSync(e,"utf-8")},base64:{encode:function(e){return new n(e).toString("base64")},decode:function(e){return new n(e,"base64")}},Buffer:n,buffer:{toStream:function(e){s.Buffer.isBuffer(e)||(e=new s.Buffer(e));var t=new(s.nodeRequire("stream").Readable),r=0;return t._read=function(i){if(r>=e.length)return t.push(null);var a=r+i;a>e.length&&(a=e.length),t.push(e.slice(r,a)),r=a},t},concat:function(e){var t,r=0,i=0,a=null;for(t=0;t<e.length;t++)r+=e[t].length;for(a=new n(r),t=0;t<e.length;t++)e[t].copy(a,i),i+=e[t].length;return a}},string:{byteLength:function(e){if(null===e||void 0===e)return 0;if("string"==typeof e&&(e=new n(e)),"number"==typeof e.byteLength)return e.byteLength;if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("string"==typeof e.path)return s.nodeRequire("fs").lstatSync(e.path).size;throw s.error(new Error("Cannot determine length of "+e),{object:e})},upperFirst:function(e){return e[0].toUpperCase()+e.substr(1)},lowerFirst:function(e){return e[0].toLowerCase()+e.substr(1)}},ini:{parse:function(e){var t,r={};return s.arrayEach(e.split(/\r?\n/),function(e){e=e.split(/(^|\s);/)[0];var i=e.match(/^\s*\[([^\[\]]+)\]\s*$/);if(i)t=i[1];else if(t){var a=e.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);a&&(r[t]=r[t]||{},r[t][a[1]]=a[2])}}),r}},fn:{noop:function(){},makeAsync:function(e,t){return t&&t<=e.length?e:function(){var t=Array.prototype.slice.call(arguments,0),r=t.pop(),i=e.apply(null,t);r(i)}}},date:{getDate:function(){return i||(i=e("./core")),i.config.systemClockOffset?new Date((new Date).getTime()+i.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=s.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=s.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=s.date.getDate()),e.getTime()/1e3},from:function(e){return"number"==typeof e?new Date(1e3*e):new Date(e)},format:function(e,t){return t||(t="iso8601"),s.date[t](s.date.from(e))},parseTimestamp:function(e){if("number"==typeof e)return new Date(1e3*e);if(e.match(/^\d+$/))return new Date(1e3*e);if(e.match(/^\d{4}/))return new Date(e);if(e.match(/^\w{3},/))return new Date(e);throw s.error(new Error("unhandled timestamp format: "+e),{code:"TimestampParserError"})}},crypto:{crc32Table:[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],crc32:function(e){var t=s.crypto.crc32Table,r=-1;"string"==typeof e&&(e=new n(e));for(var i=0;i<e.length;i++){var a=e.readUInt8(i);r=r>>>8^t[255&(r^a)]}return(-1^r)>>>0},hmac:function(e,t,r,i){return r||(r="binary"),"buffer"===r&&(r=void 0),i||(i="sha256"),"string"==typeof t&&(t=new n(t)),a.createHmac(i,e).update(t).digest(r)},md5:function(e,t,r){return s.crypto.hash("md5",e,t,r)},sha256:function(e,t,r){return s.crypto.hash("sha256",e,t,r)},hash:function(e,t,r,i){var a=s.crypto.createHash(e);r||(r="binary"),"buffer"===r&&(r=void 0),"string"==typeof t&&(t=new n(t));var o=s.arraySliceFn(t),u=n.isBuffer(t);if(s.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(u=!0),i&&"object"==typeof t&&"function"==typeof t.on&&!u)t.on("data",function(e){a.update(e)}),t.on("error",function(e){i(e)}),t.on("end",function(){i(null,a.digest(r))});else{if(!i||!o||u||"undefined"==typeof FileReader){s.isBrowser()&&"object"==typeof t&&!u&&(t=new n(new Uint8Array(t)));var c=a.update(t).digest(r);return i&&i(null,c),c}var p=0,m=524288,l=new FileReader;l.onerror=function(){i(new Error("Failed to read data."))},l.onload=function(){var e=new n(new Uint8Array(l.result));a.update(e),p+=e.length,l._continueReading()},l._continueReading=function(){if(p>=t.size)return void i(null,a.digest(r));var e=p+m;e>t.size&&(e=t.size),l.readAsArrayBuffer(o.call(t,p,e))},l._continueReading()}},toHex:function(e){for(var t=[],r=0;r<e.length;r++)t.push(("0"+e.charCodeAt(r).toString(16)).substr(-2,2));return t.join("")},createHash:function(e){return a.createHash(e)}},abort:{},each:function(e,t){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=t.call(this,r,e[r]);if(i===s.abort)break}},arrayEach:function(e,t){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=t.call(this,e[r],parseInt(r,10));if(i===s.abort)break}},update:function(e,t){return s.each(t,function(t,r){e[t]=r}),e},merge:function(e,t){return s.update(s.copy(e),t)},copy:function(e){if(null===e||void 0===e)return e;var t={};for(var r in e)t[r]=e[r];return t},isEmpty:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},arraySliceFn:function(e){var t=e.slice||e.webkitSlice||e.mozSlice;return"function"==typeof t?t:null},isType:function(e,t){return"function"==typeof t&&(t=s.typeName(t)),Object.prototype.toString.call(e)==="[object "+t+"]"},typeName:function(e){if(Object.prototype.hasOwnProperty.call(e,"name"))return e.name;var t=e.toString(),r=t.match(/^\s*function (.+)\(/);return r?r[1]:t},error:function(e,t){var r=null;return"string"==typeof e.message&&""!==e.message&&("string"==typeof t||t&&t.message)&&(r=s.copy(e),r.message=e.message),e.message=e.message||null,"string"==typeof t?e.message=t:"object"==typeof t&&null!==t&&(s.update(e,t),t.message&&(e.message=t.message),(t.code||t.name)&&(e.code=t.code||t.name),t.stack&&(e.stack=t.stack)),"function"==typeof Object.defineProperty&&(Object.defineProperty(e,"name",{writable:!0,enumerable:!1}),Object.defineProperty(e,"message",{enumerable:!0})),e.name=t&&t.name||e.name||e.code||"Error",e.time=new Date,r&&(e.originalError=r),e},inherit:function(e,t){var r=null;if(void 0===t)t=e,e=Object,r={};else{var i=function(){};i.prototype=e.prototype,r=new i}return t.constructor===Object&&(t.constructor=function(){return e!==Object?e.apply(this,arguments):void 0}),t.constructor.prototype=r,s.update(t.constructor.prototype,t),t.constructor.__super__=e,t.constructor},mixin:function(){for(var e=arguments[0],t=1;t<arguments.length;t++)for(var r in arguments[t].prototype){var i=arguments[t].prototype[r];"constructor"!==r&&(e.prototype[r]=i)}return e},hideProperties:function(e,t){"function"==typeof Object.defineProperty&&s.arrayEach(t,function(t){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0})})},property:function(e,t,r,i,a){var n={configurable:!0,enumerable:void 0!==i?i:!0};"function"!=typeof r||a?(n.value=r,n.writable=!0):n.get=r,Object.defineProperty(e,t,n)},memoizedProperty:function(e,t,r,i){var a=null;s.property(e,t,function(){return null===a&&(a=r()),a},i)},hoistPayloadMember:function(e){var t=e.request,r=t.operation,i=t.service.api.operations[r].output;if(i.payload){var a=i.members[i.payload],n=e.data[i.payload];"structure"===a.type&&s.each(n,function(t,r){s.property(e.data,t,r,!1)})}},computeSha256:function(e,t){if(s.isNode()){var r=s.nodeRequire("stream").Stream,i=s.nodeRequire("fs");if(e instanceof r){if("string"!=typeof e.path)return t(new Error("Non-file stream objects are not supported with SigV4"));var a={};"number"==typeof e.start&&(a.start=e.start),"number"==typeof e.end&&(a.end=e.end),e=i.createReadStream(e.path,a)}}s.crypto.sha256(e,"hex",function(e,r){e?t(e):t(null,r)})},isClockSkewed:function(e){return e?(s.property(i.config,"isClockSkewed",Math.abs((new Date).getTime()-e)>=3e5,!1),i.config.isClockSkewed):void 0},applyClockOffset:function(e){e&&(i.config.systemClockOffset=e-(new Date).getTime())},extractRequestId:function(e){var t=e.httpResponse.headers["x-amz-request-id"]||e.httpResponse.headers["x-amzn-requestid"];!t&&e.data&&e.data.ResponseMetadata&&(t=e.data.ResponseMetadata.RequestId),
t&&(e.requestId=t),e.error&&(e.error.requestId=t)},addPromisesToRequests:function(e,t){return t=t||null,t||"undefined"==typeof Promise||(t=Promise),"function"!=typeof t?void delete e.prototype.promise:void(e.prototype.promise=function(){var e=this;return new t(function(t,r){e.on("complete",function(e){e.error?r(e.error):t(e.data)}),e.runTo()})})}};t.exports=s}).call(this,e("_process"))},{"./core":4,_process:222,buffer:81,crypto:85,querystring:226,url:240}],62:[function(e,t,r){function i(){}function a(e,t){switch(t||(t={}),t.type){case"structure":return n(e,t);case"map":return s(e,t);case"list":return o(e,t);case void 0:case null:return c(e);default:return u(e,t)}}function n(e,t){var r={};return null===e?r:(p.each(t.members,function(t,i){if(i.isXmlAttribute){if(Object.prototype.hasOwnProperty.call(e.attributes,i.name)){var n=e.attributes[i.name].value;r[t]=a({textContent:n},i)}}else{var s=i.flattened?e:e.getElementsByTagName(i.name)[0];s?r[t]=a(s,i):i.flattened||"list"!==i.type||(r[t]=i.defaultValue)}}),r)}function s(e,t){for(var r={},i=t.key.name||"key",n=t.value.name||"value",s=t.flattened?t.name:"entry",o=e.firstElementChild;o;){if(o.nodeName===s){var u=o.getElementsByTagName(i)[0].textContent,c=o.getElementsByTagName(n)[0];r[u]=a(c,t.value)}o=o.nextElementSibling}return r}function o(e,t){for(var r=[],i=t.flattened?t.name:t.member.name||"member",n=e.firstElementChild;n;)n.nodeName===i&&r.push(a(n,t.member)),n=n.nextElementSibling;return r}function u(e,t){if(e.getAttribute){var r=e.getAttribute("encoding");"base64"===r&&(t=new m.create({type:r}))}var i=e.textContent;return""===i&&(i=null),"function"==typeof t.toType?t.toType(i):i}function c(e){if(void 0===e||null===e)return"";if(!e.firstElementChild)return null===e.parentNode.parentNode?{}:0===e.childNodes.length?"":e.textContent;for(var t={type:"structure",members:{}},r=e.firstElementChild;r;){var i=r.nodeName;Object.prototype.hasOwnProperty.call(t.members,i)?t.members[i].type="list":t.members[i]={name:i},r=r.nextElementSibling}return n(e,t)}var p=e("../util"),m=e("../model/shape");i.prototype.parse=function(e,t){if(""===e.replace(/^\s+/,""))return{};var r,i;try{if(window.DOMParser){try{var n=new DOMParser;r=n.parseFromString(e,"text/xml")}catch(s){throw p.error(new Error("Parse error in document"),{originalError:s,code:"XMLParserError",retryable:!0})}if(null===r.documentElement)throw p.error(new Error("Cannot parse empty document."),{code:"XMLParserError",retryable:!0});var o=r.getElementsByTagName("parsererror")[0];if(o&&(o.parentNode===r||"body"===o.parentNode.nodeName||o.parentNode.parentNode===r||"body"===o.parentNode.parentNode.nodeName)){var u=o.getElementsByTagName("div")[0]||o;throw p.error(new Error(u.textContent||"Parser error in document"),{code:"XMLParserError",retryable:!0})}}else{if(!window.ActiveXObject)throw new Error("Cannot load XML parser");if(r=new window.ActiveXObject("Microsoft.XMLDOM"),r.async=!1,!r.loadXML(e))throw p.error(new Error("Parse error in document"),{code:"XMLParserError",retryable:!0})}}catch(c){i=c}if(r&&r.documentElement&&!i){var m=a(r.documentElement,t),l=r.getElementsByTagName("ResponseMetadata")[0];return l&&(m.ResponseMetadata=a(l,{})),m}if(i)throw p.error(i||new Error,{code:"XMLParserError",retryable:!0});return{}},t.exports=i},{"../model/shape":26,"../util":61}],63:[function(e,t,r){function i(){}function a(e,t,r){switch(r.type){case"structure":return n(e,t,r);case"map":return s(e,t,r);case"list":return o(e,t,r);default:return u(e,t,r)}}function n(e,t,r){p.arrayEach(r.memberNames,function(i){var n=r.members[i];if("body"===n.location){var s=t[i],o=n.name;if(void 0!==s&&null!==s)if(n.isXmlAttribute)e.att(o,s);else if(n.flattened)a(e,s,n);else{var u=e.ele(o);c(u,n),a(u,s,n)}}})}function s(e,t,r){var i=r.key.name||"key",n=r.value.name||"value";p.each(t,function(t,s){var o=e.ele(r.flattened?r.name:"entry");a(o.ele(i),t,r.key),a(o.ele(n),s,r.value)})}function o(e,t,r){r.flattened?p.arrayEach(t,function(t){var i=r.member.name||r.name,n=e.ele(i);a(n,t,r.member)}):p.arrayEach(t,function(t){var i=r.member.name||"member",n=e.ele(i);a(n,t,r.member)})}function u(e,t,r){e.txt(r.toWireFormat(t))}function c(e,t){var r,i="xmlns";t.xmlNamespaceUri?(r=t.xmlNamespaceUri,t.xmlNamespacePrefix&&(i+=":"+t.xmlNamespacePrefix)):e.isRoot&&t.api.xmlNamespaceUri&&(r=t.api.xmlNamespaceUri),r&&e.att(i,r)}var p=e("../util"),m=e("xmlbuilder");i.prototype.toXML=function(e,t,r,i){var n=m.create(r);return c(n,t),a(n,e,t),n.children.length>0||i?n.root().toString():""},t.exports=i},{"../util":61,xmlbuilder:277}],64:[function(e,t,r){var i=r;i.bignum=e("bn.js"),i.define=e("./asn1/api").define,i.base=e("./asn1/base"),i.constants=e("./asn1/constants"),i.decoders=e("./asn1/decoders"),i.encoders=e("./asn1/encoders")},{"./asn1/api":65,"./asn1/base":67,"./asn1/constants":71,"./asn1/decoders":73,"./asn1/encoders":76,"bn.js":78}],65:[function(e,t,r){function i(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}var a=e("../asn1"),n=e("inherits"),s=r;s.define=function(e,t){return new i(e,t)},i.prototype._createNamed=function(t){var r;try{r=e("vm").runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(i){r=function(e){this._initNamed(e)}}return n(r,t),r.prototype._initNamed=function(e){t.call(this,e)},new r(this)},i.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(a.decoders[e])),this.decoders[e]},i.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},i.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(a.encoders[e])),this.encoders[e]},i.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},{"../asn1":64,inherits:258,vm:243}],66:[function(e,t,r){function i(e,t){return s.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,void(this.length=e.length)):void this.error("Input not Buffer")}function a(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof a||(e=new a(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(e>=0&&255>=e))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}var n=e("inherits"),s=e("../base").Reporter,o=e("buffer").Buffer;n(i,s),r.DecoderBuffer=i,i.prototype.save=function(){return{offset:this.offset,reporter:s.prototype.save.call(this)}},i.prototype.restore=function(e){var t=new i(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,s.prototype.restore.call(this,e.reporter),t},i.prototype.isEmpty=function(){return this.offset===this.length},i.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},i.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new i(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},i.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},r.EncoderBuffer=a,a.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length?e:(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length),e)}},{"../base":67,buffer:81,inherits:258}],67:[function(e,t,r){var i=r;i.Reporter=e("./reporter").Reporter,i.DecoderBuffer=e("./buffer").DecoderBuffer,i.EncoderBuffer=e("./buffer").EncoderBuffer,i.Node=e("./node")},{"./buffer":66,"./node":68,"./reporter":69}],68:[function(e,t,r){function i(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r["default"]=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}var a=e("../base").Reporter,n=e("../base").EncoderBuffer,s=e("../base").DecoderBuffer,o=e("minimalistic-assert"),u=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],c=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(u),p=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];t.exports=i;var m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit"];i.prototype.clone=function(){var e=this._baseState,t={};m.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},i.prototype._wrap=function(){var e=this._baseState;c.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},i.prototype._init=function(e){var t=this._baseState;o(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),o.equal(t.children.length,1,"Root node can have only one child")},i.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(o(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(o(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var i=e[r];t[i]=r}),t}))},p.forEach(function(e){i.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),u.forEach(function(e){i.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return o(null===t.tag),t.tag=e,this._useArgs(r),this}}),i.prototype.use=function(e){var t=this._baseState;return o(null===t.use),t.use=e,this},i.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this},i.prototype.def=function(e){var t=this._baseState;return o(null===t["default"]),t["default"]=e,t.optional=!0,this},i.prototype.explicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.explicit=e,this},i.prototype.implicit=function(e){var t=this._baseState;return o(null===t.explicit&&null===t.implicit),t.implicit=e,this},i.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},i.prototype.key=function(e){var t=this._baseState;return o(null===t.key),t.key=e,this},i.prototype.any=function(){var e=this._baseState;return e.any=!0,this},i.prototype.choice=function(e){var t=this._baseState;return o(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},i.prototype.contains=function(e){var t=this._baseState;return o(null===t.use),t.contains=e,this},i.prototype._decode=function(e){var t=this._baseState;if(null===t.parent)return e.wrapResult(t.children[0]._decode(e));var r,i=t["default"],a=!0;if(null!==t.key&&(r=e.enterKey(t.key)),t.optional){var n=null;if(null!==t.explicit?n=t.explicit:null!==t.implicit?n=t.implicit:null!==t.tag&&(n=t.tag),null!==n||t.any){if(a=this._peekTag(e,n,t.any),e.isError(a))return a}else{var o=e.save();try{null===t.choice?this._decodeGeneric(t.tag,e):this._decodeChoice(e),a=!0}catch(u){a=!1}e.restore(o)}}var c;if(t.obj&&a&&(c=e.enterObject()),a){if(null!==t.explicit){var p=this._decodeTag(e,t.explicit);if(e.isError(p))return p;e=p}if(null===t.use&&null===t.choice){if(t.any)var o=e.save();var m=this._decodeTag(e,null!==t.implicit?t.implicit:t.tag,t.any);if(e.isError(m))return m;t.any?i=e.raw(o):e=m}if(i=t.any?i:null===t.choice?this._decodeGeneric(t.tag,e):this._decodeChoice(e),e.isError(i))return i;if(t.any||null!==t.choice||null===t.children||t.children.forEach(function(t){t._decode(e)}),t.contains&&("octstr"===t.tag||"bitstr"===t.tag)){var l=new s(i);i=this._getUse(t.contains,e._reporterState.obj)._decode(l)}}return t.obj&&a&&(i=e.leaveObject(c)),null===t.key||null===i&&a!==!0||e.leaveKey(r,t.key,i),i},i.prototype._decodeGeneric=function(e,t){var r=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,r.args[0]):/str$/.test(e)?this._decodeStr(t,e):"objid"===e&&r.args?this._decodeObjid(t,r.args[0],r.args[1]):"objid"===e?this._decodeObjid(t,null,null):"gentime"===e||"utctime"===e?this._decodeTime(t,e):"null_"===e?this._decodeNull(t):"bool"===e?this._decodeBool(t):"int"===e||"enum"===e?this._decodeInt(t,r.args&&r.args[0]):null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t):t.error("unknown tag: "+e)},i.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),o(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},i.prototype._decodeChoice=function(e){var t=this._baseState,r=null,i=!1;return Object.keys(t.choice).some(function(a){var n=e.save(),s=t.choice[a];try{var o=s._decode(e);if(e.isError(o))return!1;r={type:a,value:o},i=!0}catch(u){return e.restore(n),!1}return!0},this),i?r:e.error("Choice not matched")},i.prototype._createEncoderBuffer=function(e){return new n(e,this.reporter)},i.prototype._encode=function(e,t,r){var i=this._baseState;if(null===i["default"]||i["default"]!==e){var a=this._encodeValue(e,t,r);if(void 0!==a&&!this._skipDefault(a,t,r))return a}},i.prototype._encodeValue=function(e,t,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new a);var n=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i["default"])return;e=i["default"]}var s=null,o=!1;if(i.any)n=this._createEncoderBuffer(e);else if(i.choice)n=this._encodeChoice(e,t);else if(i.contains)s=this._getUse(i.contains,r)._encode(e,t),o=!0;else if(i.children)s=i.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var i=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var a=r._encode(e[r._baseState.key],t,e);return t.leaveKey(i),a},this).filter(function(e){return e}),s=this._createEncoderBuffer(s);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var u=this.clone();u._baseState.implicit=null,s=this._createEncoderBuffer(e.map(function(r){var i=this._baseState;return this._getUse(i.args[0],e)._encode(r,t)},u))}else null!==i.use?n=this._getUse(i.use,r)._encode(e,t):(s=this._encodePrimitive(i.tag,e),o=!0);var n;if(!i.any&&null===i.choice){var c=null!==i.implicit?i.implicit:i.tag,p=null===i.implicit?"universal":"context";null===c?null===i.use&&t.error("Tag could be ommited only for .use()"):null===i.use&&(n=this._encodeComposite(c,o,p,s))}return null!==i.explicit&&(n=this._encodeComposite(i.explicit,!1,"context",n)),n},i.prototype._encodeChoice=function(e,t){var r=this._baseState,i=r.choice[e.type];return i||o(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),i._encode(e.value,t)},i.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);throw new Error("Unsupported tag: "+e)},i.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},i.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},{"../base":67,"minimalistic-assert":260}],69:[function(e,t,r){function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function a(e,t){this.path=e,this.rethrow(t)}var n=e("inherits");r.Reporter=i,i.prototype.isError=function(e){return e instanceof a},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.leaveKey=function(e,t,r){var i=this._reporterState;i.path=i.path.slice(0,e-1),null!==i.obj&&(i.obj[t]=r)},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,i=e instanceof a;if(t=i?e:new a(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return i||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(a,Error),a.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,a),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},{inherits:258}],70:[function(e,t,r){var i=e("../constants");r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=i._reverse(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=i._reverse(r.tag)},{"../constants":71}],71:[function(e,t,r){var i=r;i._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r=0|r);var i=e[r];t[i]=r}),t},i.der=e("./der")},{"./der":70}],72:[function(e,t,r){function i(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new a,this.tree._init(e.body)}function a(e){c.Node.call(this,"der",e)}function n(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var i=m.tagClass[r>>6],a=0===(32&r);if(31===(31&r)){var n=r;for(r=0;128===(128&n);){if(n=e.readUInt8(t),e.isError(n))return n;r<<=7,r|=127&n}}else r&=31;var s=m.tag[r];return{cls:i,primitive:a,tag:r,tagStr:s}}function s(e,t,r){var i=e.readUInt8(r);if(e.isError(i))return i;if(!t&&128===i)return null;if(0===(128&i))return i;var a=127&i;if(a>=4)return e.error("length octect is too long");i=0;for(var n=0;a>n;n++){i<<=8;var s=e.readUInt8(r);if(e.isError(s))return s;i|=s}return i}var o=e("inherits"),u=e("../../asn1"),c=u.base,p=u.bignum,m=u.constants.der;t.exports=i,i.prototype.decode=function(e,t){return e instanceof c.DecoderBuffer||(e=new c.DecoderBuffer(e,t)),this.tree._decode(e,t)},o(a,c.Node),a.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var i=e.save(),a=n(e,'Failed to peek tag: "'+t+'"');return e.isError(a)?a:(e.restore(i),a.tag===t||a.tagStr===t||a.tagStr+"of"===t||r)},a.prototype._decodeTag=function(e,t,r){var i=n(e,'Failed to decode tag of "'+t+'"');if(e.isError(i))return i;var a=s(e,i.primitive,'Failed to get length of "'+t+'"');if(e.isError(a))return a;if(!r&&i.tag!==t&&i.tagStr!==t&&i.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(i.primitive||null!==a)return e.skip(a,'Failed to match body of: "'+t+'"');var o=e.save(),u=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(u)?u:(a=e.offset-o.offset,e.restore(o),e.skip(a,'Failed to match body of: "'+t+'"'))},a.prototype._skipUntilEnd=function(e,t){for(;;){var r=n(e,t);if(e.isError(r))return r;var i=s(e,r.primitive,t);if(e.isError(i))return i;var a;if(a=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(a))return a;if("end"===r.tagStr)break}},a.prototype._decodeList=function(e,t,r){for(var i=[];!e.isEmpty();){var a=this._peekTag(e,"end");if(e.isError(a))return a;var n=r.decode(e,"der");if(e.isError(n)&&a)break;i.push(n)}return i},a.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var i=e.raw();if(i.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var a="",n=0;n<i.length/2;n++)a+=String.fromCharCode(i.readUInt16BE(2*n));return a}if("numstr"===t){var s=e.raw().toString("ascii");return this._isNumstr(s)?s:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("printstr"===t){var o=e.raw().toString("ascii");return this._isPrintstr(o)?o:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},a.prototype._decodeObjid=function(e,t,r){for(var i,a=[],n=0;!e.isEmpty();){var s=e.readUInt8();n<<=7,n|=127&s,0===(128&s)&&(a.push(n),n=0)}128&s&&a.push(n);var o=a[0]/40|0,u=a[0]%40;if(i=r?a:[o,u].concat(a.slice(1)),t){var c=t[i.join(" ")];void 0===c&&(c=t[i.join(".")]),void 0!==c&&(i=c)}return i},a.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var i=0|r.slice(0,4),a=0|r.slice(4,6),n=0|r.slice(6,8),s=0|r.slice(8,10),o=0|r.slice(10,12),u=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var i=0|r.slice(0,2),a=0|r.slice(2,4),n=0|r.slice(4,6),s=0|r.slice(6,8),o=0|r.slice(8,10),u=0|r.slice(10,12);i=70>i?2e3+i:1900+i}return Date.UTC(i,a-1,n,s,o,u,0)},a.prototype._decodeNull=function(e){return null},a.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},a.prototype._decodeInt=function(e,t){var r=e.raw(),i=new p(r);return t&&(i=t[i.toString(10)]||i),i},a.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},{"../../asn1":64,inherits:258}],73:[function(e,t,r){var i=r;i.der=e("./der"),i.pem=e("./pem")},{"./der":72,"./pem":74}],74:[function(e,t,r){function i(e){s.call(this,e),this.enc="pem"}var a=e("inherits"),n=e("buffer").Buffer,s=e("./der");a(i,s),t.exports=i,i.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),i=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,o=-1,u=-1,c=0;c<r.length;c++){var p=r[c].match(a);if(null!==p&&p[2]===i){if(-1!==o){if("END"!==p[1])break;u=c;break}if("BEGIN"!==p[1])break;o=c}}if(-1===o||-1===u)throw new Error("PEM section not found for: "+i);var m=r.slice(o+1,u).join("");m.replace(/[^a-z0-9\+\/=]+/gi,"");var l=new n(m,"base64");return s.prototype.decode.call(this,l,t)}},{"./der":72,buffer:81,inherits:258}],75:[function(e,t,r){function i(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new a,this.tree._init(e.body)}function a(e){p.Node.call(this,"der",e)}function n(e){return 10>e?"0"+e:e}function s(e,t,r,i){var a;if("seqof"===e?e="seq":"setof"===e&&(e="set"),m.tagByName.hasOwnProperty(e))a=m.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return i.error("Unknown tag: "+e);a=e}return a>=31?i.error("Multi-octet tag encoding unsupported"):(t||(a|=32),a|=m.tagClassByName[r||"universal"]<<6)}var o=e("inherits"),u=e("buffer").Buffer,c=e("../../asn1"),p=c.base,m=c.constants.der;t.exports=i,i.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},o(a,p.Node),a.prototype._encodeComposite=function(e,t,r,i){var a=s(e,t,r,this.reporter);if(i.length<128){var n=new u(2);return n[0]=a,n[1]=i.length,this._createEncoderBuffer([n,i])}for(var o=1,c=i.length;c>=256;c>>=8)o++;var n=new u(2+o);n[0]=a,n[1]=128|o;for(var c=1+o,p=i.length;p>0;c--,p>>=8)n[c]=255&p;return this._createEncoderBuffer([n,i])},a.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new u(2*e.length),i=0;i<e.length;i++)r.writeUInt16BE(e.charCodeAt(i),2*i);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},a.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var i=0;i<e.length;i++)e[i]|=0}else if(Array.isArray(e)){e=e.slice();for(var i=0;i<e.length;i++)e[i]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var a=0,i=0;i<e.length;i++){var n=e[i];for(a++;n>=128;n>>=7)a++}for(var s=new u(a),o=s.length-1,i=e.length-1;i>=0;i--){var n=e[i];for(s[o--]=127&n;(n>>=7)>0;)s[o--]=128|127&n}return this._createEncoderBuffer(s)},a.prototype._encodeTime=function(e,t){var r,i=new Date(e);return"gentime"===t?r=[n(i.getFullYear()),n(i.getUTCMonth()+1),n(i.getUTCDate()),n(i.getUTCHours()),n(i.getUTCMinutes()),n(i.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[n(i.getFullYear()%100),n(i.getUTCMonth()+1),n(i.getUTCDate()),n(i.getUTCHours()),n(i.getUTCMinutes()),n(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},a.prototype._encodeNull=function(){return this._createEncoderBuffer("")},a.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!u.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new u(r)}if(u.isBuffer(e)){var i=e.length;0===e.length&&i++;var a=new u(i);return e.copy(a),0===e.length&&(a[0]=0),this._createEncoderBuffer(a)}if(128>e)return this._createEncoderBuffer(e);if(256>e)return this._createEncoderBuffer([0,e]);for(var i=1,n=e;n>=256;n>>=8)i++;for(var a=new Array(i),n=a.length-1;n>=0;n--)a[n]=255&e,e>>=8;return 128&a[0]&&a.unshift(0),this._createEncoderBuffer(new u(a))},a.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},a.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},a.prototype._skipDefault=function(e,t,r){var i,a=this._baseState;if(null===a["default"])return!1;var n=e.join();if(void 0===a.defaultBuffer&&(a.defaultBuffer=this._encodeValue(a["default"],t,r).join()),n.length!==a.defaultBuffer.length)return!1;for(i=0;i<n.length;i++)if(n[i]!==a.defaultBuffer[i])return!1;return!0}},{"../../asn1":64,buffer:81,inherits:258}],76:[function(e,t,r){var i=r;i.der=e("./der"),i.pem=e("./pem")},{"./der":75,"./pem":77}],77:[function(e,t,r){function i(e){n.call(this,e),this.enc="pem"}var a=e("inherits"),n=e("./der");a(i,n),t.exports=i,i.prototype.encode=function(e,t){for(var r=n.prototype.encode.call(this,e),i=r.toString("base64"),a=["-----BEGIN "+t.label+"-----"],s=0;s<i.length;s+=64)a.push(i.slice(s,s+64));return a.push("-----END "+t.label+"-----"),a.join("\n")}},{"./der":75,inherits:258}],78:[function(e,t,r){!function(t,r){"use strict";function i(e,t){if(!e)throw new Error(t||"Assertion failed")}function a(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function n(e,t,r){return n.isBN(e)?e:(this.negative=0,this.words=null,this.length=0,this.red=null,void(null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))))}function s(e,t,r){for(var i=0,a=Math.min(e.length,r),n=t;a>n;n++){var s=e.charCodeAt(n)-48;i<<=4,i|=s>=49&&54>=s?s-49+10:s>=17&&22>=s?s-17+10:15&s}return i}function o(e,t,r,i){for(var a=0,n=Math.min(e.length,r),s=t;n>s;s++){var o=e.charCodeAt(s)-48;a*=i,a+=o>=49?o-49+10:o>=17?o-17+10:o}return a}function u(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var i=r/26|0,a=r%26;t[r]=(e.words[i]&1<<a)>>>a}return t}function c(e,t,r){r.negative=t.negative^e.negative;var i=e.length+t.length|0;r.length=i,i=i-1|0;var a=0|e.words[0],n=0|t.words[0],s=a*n,o=67108863&s,u=s/67108864|0;r.words[0]=o;for(var c=1;i>c;c++){for(var p=u>>>26,m=67108863&u,l=Math.min(c,t.length-1),d=Math.max(0,c-e.length+1);l>=d;d++){var h=c-d|0;a=0|e.words[h],n=0|t.words[d],s=a*n+m,p+=s/67108864|0,m=67108863&s}r.words[c]=0|m,u=0|p}return 0!==u?r.words[c]=0|u:r.length--,r.strip()}function p(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var i=0,a=0,n=0;n<r.length-1;n++){var s=a;a=0;for(var o=67108863&i,u=Math.min(n,t.length-1),c=Math.max(0,n-e.length+1);u>=c;c++){var p=n-c,m=0|e.words[p],l=0|t.words[c],d=m*l,h=67108863&d;s=s+(d/67108864|0)|0,h=h+o|0,o=67108863&h,s=s+(h>>>26)|0,a+=s>>>26,s&=67108863}r.words[n]=o,i=s,s=a}return 0!==i?r.words[n]=i:r.length--,r.strip()}function m(e,t,r){var i=new l;return i.mulp(e,t,r)}function l(e,t){this.x=e,this.y=t}function d(e,t){this.name=e,this.p=new n(t,16),this.n=this.p.bitLength(),this.k=new n(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function h(){d.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function y(){d.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function f(){d.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function b(){d.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function g(e){if("string"==typeof e){var t=n._prime(e);this.m=t.p,this.prime=t}else i(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function S(e){g.call(this,e),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new n(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}"object"==typeof t?t.exports=n:r.BN=n,n.BN=n,n.wordSize=26;var v;try{v=e("buffer").Buffer}catch(I){}n.isBN=function(e){return null!==e&&"object"==typeof e&&"BN"===e.constructor.name&&Array.isArray(e.words)},n.max=function(e,t){return e.cmp(t)>0?e:t},n.min=function(e,t){return e.cmp(t)<0?e:t},n.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),i(t===(0|t)&&t>=2&&36>=t),e=e.toString().replace(/\s+/g,"");var a=0;"-"===e[0]&&a++,16===t?this._parseHex(e,a):this._parseBase(e,t,a),"-"===e[0]&&(this.negative=1),this.strip(),"le"===r&&this._initArray(this.toArray(),t,r)},n.prototype._initNumber=function(e,t,r){0>e&&(this.negative=1,e=-e),67108864>e?(this.words=[67108863&e],this.length=1):4503599627370496>e?(this.words=[67108863&e,e/67108864&67108863],
this.length=2):(i(9007199254740992>e),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},n.prototype._initArray=function(e,t,r){if(i("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var a=0;a<this.length;a++)this.words[a]=0;var n,s,o=0;if("be"===r)for(a=e.length-1,n=0;a>=0;a-=3)s=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[n]|=s<<o&67108863,this.words[n+1]=s>>>26-o&67108863,o+=24,o>=26&&(o-=26,n++);else if("le"===r)for(a=0,n=0;a<e.length;a+=3)s=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[n]|=s<<o&67108863,this.words[n+1]=s>>>26-o&67108863,o+=24,o>=26&&(o-=26,n++);return this.strip()},n.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var r=0;r<this.length;r++)this.words[r]=0;var i,a,n=0;for(r=e.length-6,i=0;r>=t;r-=6)a=s(e,r,r+6),this.words[i]|=a<<n&67108863,this.words[i+1]|=a>>>26-n&4194303,n+=24,n>=26&&(n-=26,i++);r+6!==t&&(a=s(e,t,r+6),this.words[i]|=a<<n&67108863,this.words[i+1]|=a>>>26-n&4194303),this.strip()},n.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var i=0,a=1;67108863>=a;a*=t)i++;i--,a=a/t|0;for(var n=e.length-r,s=n%i,u=Math.min(n,n-s)+r,c=0,p=r;u>p;p+=i)c=o(e,p,p+i,t),this.imuln(a),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==s){var m=1;for(c=o(e,p,e.length,t),p=0;s>p;p++)m*=t;this.imuln(m),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},n.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},n.prototype.clone=function(){var e=new n(null);return this.copy(e),e},n.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},n.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},n.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},n.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var N=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],k=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],A=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];n.prototype.toString=function(e,t){e=e||10,t=0|t||1;var r;if(16===e||"hex"===e){r="";for(var a=0,n=0,s=0;s<this.length;s++){var o=this.words[s],u=(16777215&(o<<a|n)).toString(16);n=o>>>24-a&16777215,r=0!==n||s!==this.length-1?N[6-u.length]+u+r:u+r,a+=2,a>=26&&(a-=26,s--)}for(0!==n&&(r=n.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&36>=e){var c=k[e],p=A[e];r="";var m=this.clone();for(m.negative=0;!m.isZero();){var l=m.modn(p).toString(e);m=m.idivn(p),r=m.isZero()?l+r:N[c-l.length]+l+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}i(!1,"Base should be between 2 and 36")},n.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},n.prototype.toJSON=function(){return this.toString(16)},n.prototype.toBuffer=function(e,t){return i("undefined"!=typeof v),this.toArrayLike(v,e,t)},n.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},n.prototype.toArrayLike=function(e,t,r){var a=this.byteLength(),n=r||Math.max(1,a);i(n>=a,"byte array longer than desired length"),i(n>0,"Requested array length <= 0"),this.strip();var s,o,u="le"===t,c=new e(n),p=this.clone();if(u){for(o=0;!p.isZero();o++)s=p.andln(255),p.iushrn(8),c[o]=s;for(;n>o;o++)c[o]=0}else{for(o=0;n-a>o;o++)c[o]=0;for(o=0;!p.isZero();o++)s=p.andln(255),p.iushrn(8),c[n-o-1]=s}return c},Math.clz32?n.prototype._countBits=function(e){return 32-Math.clz32(e)}:n.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},n.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 0===(8191&t)&&(r+=13,t>>>=13),0===(127&t)&&(r+=7,t>>>=7),0===(15&t)&&(r+=4,t>>>=4),0===(3&t)&&(r+=2,t>>>=2),0===(1&t)&&r++,r},n.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},n.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},n.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},n.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},n.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},n.prototype.isNeg=function(){return 0!==this.negative},n.prototype.neg=function(){return this.clone().ineg()},n.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},n.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},n.prototype.ior=function(e){return i(0===(this.negative|e.negative)),this.iuor(e)},n.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},n.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},n.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},n.prototype.iand=function(e){return i(0===(this.negative|e.negative)),this.iuand(e)},n.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},n.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},n.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var i=0;i<r.length;i++)this.words[i]=t.words[i]^r.words[i];if(this!==t)for(;i<t.length;i++)this.words[i]=t.words[i];return this.length=t.length,this.strip()},n.prototype.ixor=function(e){return i(0===(this.negative|e.negative)),this.iuxor(e)},n.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},n.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},n.prototype.inotn=function(e){i("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var a=0;t>a;a++)this.words[a]=67108863&~this.words[a];return r>0&&(this.words[a]=~this.words[a]&67108863>>26-r),this.strip()},n.prototype.notn=function(e){return this.clone().inotn(e)},n.prototype.setn=function(e,t){i("number"==typeof e&&e>=0);var r=e/26|0,a=e%26;return this._expand(r+1),t?this.words[r]=this.words[r]|1<<a:this.words[r]=this.words[r]&~(1<<a),this.strip()},n.prototype.iadd=function(e){var t;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();var r,i;this.length>e.length?(r=this,i=e):(r=e,i=this);for(var a=0,n=0;n<i.length;n++)t=(0|r.words[n])+(0|i.words[n])+a,this.words[n]=67108863&t,a=t>>>26;for(;0!==a&&n<r.length;n++)t=(0|r.words[n])+a,this.words[n]=67108863&t,a=t>>>26;if(this.length=r.length,0!==a)this.words[this.length]=a,this.length++;else if(r!==this)for(;n<r.length;n++)this.words[n]=r.words[n];return this},n.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},n.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;var i,a;r>0?(i=this,a=e):(i=e,a=this);for(var n=0,s=0;s<a.length;s++)t=(0|i.words[s])-(0|a.words[s])+n,n=t>>26,this.words[s]=67108863&t;for(;0!==n&&s<i.length;s++)t=(0|i.words[s])+n,n=t>>26,this.words[s]=67108863&t;if(0===n&&s<i.length&&i!==this)for(;s<i.length;s++)this.words[s]=i.words[s];return this.length=Math.max(this.length,s),i!==this&&(this.negative=1),this.strip()},n.prototype.sub=function(e){return this.clone().isub(e)};var C=function(e,t,r){var i,a,n,s=e.words,o=t.words,u=r.words,c=0,p=0|s[0],m=8191&p,l=p>>>13,d=0|s[1],h=8191&d,y=d>>>13,f=0|s[2],b=8191&f,g=f>>>13,S=0|s[3],v=8191&S,I=S>>>13,N=0|s[4],k=8191&N,A=N>>>13,C=0|s[5],R=8191&C,D=C>>>13,T=0|s[6],w=8191&T,q=T>>>13,x=0|s[7],_=8191&x,P=x>>>13,E=0|s[8],M=8191&E,B=E>>>13,L=0|s[9],U=8191&L,G=L>>>13,O=0|o[0],V=8191&O,F=O>>>13,j=0|o[1],z=8191&j,K=j>>>13,H=0|o[2],W=8191&H,Z=H>>>13,X=0|o[3],Q=8191&X,J=X>>>13,Y=0|o[4],$=8191&Y,ee=Y>>>13,te=0|o[5],re=8191&te,ie=te>>>13,ae=0|o[6],ne=8191&ae,se=ae>>>13,oe=0|o[7],ue=8191&oe,ce=oe>>>13,pe=0|o[8],me=8191&pe,le=pe>>>13,de=0|o[9],he=8191&de,ye=de>>>13;r.negative=e.negative^t.negative,r.length=19,i=Math.imul(m,V),a=Math.imul(m,F),a=a+Math.imul(l,V)|0,n=Math.imul(l,F);var fe=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(fe>>>26)|0,fe&=67108863,i=Math.imul(h,V),a=Math.imul(h,F),a=a+Math.imul(y,V)|0,n=Math.imul(y,F),i=i+Math.imul(m,z)|0,a=a+Math.imul(m,K)|0,a=a+Math.imul(l,z)|0,n=n+Math.imul(l,K)|0;var be=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(be>>>26)|0,be&=67108863,i=Math.imul(b,V),a=Math.imul(b,F),a=a+Math.imul(g,V)|0,n=Math.imul(g,F),i=i+Math.imul(h,z)|0,a=a+Math.imul(h,K)|0,a=a+Math.imul(y,z)|0,n=n+Math.imul(y,K)|0,i=i+Math.imul(m,W)|0,a=a+Math.imul(m,Z)|0,a=a+Math.imul(l,W)|0,n=n+Math.imul(l,Z)|0;var ge=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(ge>>>26)|0,ge&=67108863,i=Math.imul(v,V),a=Math.imul(v,F),a=a+Math.imul(I,V)|0,n=Math.imul(I,F),i=i+Math.imul(b,z)|0,a=a+Math.imul(b,K)|0,a=a+Math.imul(g,z)|0,n=n+Math.imul(g,K)|0,i=i+Math.imul(h,W)|0,a=a+Math.imul(h,Z)|0,a=a+Math.imul(y,W)|0,n=n+Math.imul(y,Z)|0,i=i+Math.imul(m,Q)|0,a=a+Math.imul(m,J)|0,a=a+Math.imul(l,Q)|0,n=n+Math.imul(l,J)|0;var Se=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Se>>>26)|0,Se&=67108863,i=Math.imul(k,V),a=Math.imul(k,F),a=a+Math.imul(A,V)|0,n=Math.imul(A,F),i=i+Math.imul(v,z)|0,a=a+Math.imul(v,K)|0,a=a+Math.imul(I,z)|0,n=n+Math.imul(I,K)|0,i=i+Math.imul(b,W)|0,a=a+Math.imul(b,Z)|0,a=a+Math.imul(g,W)|0,n=n+Math.imul(g,Z)|0,i=i+Math.imul(h,Q)|0,a=a+Math.imul(h,J)|0,a=a+Math.imul(y,Q)|0,n=n+Math.imul(y,J)|0,i=i+Math.imul(m,$)|0,a=a+Math.imul(m,ee)|0,a=a+Math.imul(l,$)|0,n=n+Math.imul(l,ee)|0;var ve=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(ve>>>26)|0,ve&=67108863,i=Math.imul(R,V),a=Math.imul(R,F),a=a+Math.imul(D,V)|0,n=Math.imul(D,F),i=i+Math.imul(k,z)|0,a=a+Math.imul(k,K)|0,a=a+Math.imul(A,z)|0,n=n+Math.imul(A,K)|0,i=i+Math.imul(v,W)|0,a=a+Math.imul(v,Z)|0,a=a+Math.imul(I,W)|0,n=n+Math.imul(I,Z)|0,i=i+Math.imul(b,Q)|0,a=a+Math.imul(b,J)|0,a=a+Math.imul(g,Q)|0,n=n+Math.imul(g,J)|0,i=i+Math.imul(h,$)|0,a=a+Math.imul(h,ee)|0,a=a+Math.imul(y,$)|0,n=n+Math.imul(y,ee)|0,i=i+Math.imul(m,re)|0,a=a+Math.imul(m,ie)|0,a=a+Math.imul(l,re)|0,n=n+Math.imul(l,ie)|0;var Ie=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Ie>>>26)|0,Ie&=67108863,i=Math.imul(w,V),a=Math.imul(w,F),a=a+Math.imul(q,V)|0,n=Math.imul(q,F),i=i+Math.imul(R,z)|0,a=a+Math.imul(R,K)|0,a=a+Math.imul(D,z)|0,n=n+Math.imul(D,K)|0,i=i+Math.imul(k,W)|0,a=a+Math.imul(k,Z)|0,a=a+Math.imul(A,W)|0,n=n+Math.imul(A,Z)|0,i=i+Math.imul(v,Q)|0,a=a+Math.imul(v,J)|0,a=a+Math.imul(I,Q)|0,n=n+Math.imul(I,J)|0,i=i+Math.imul(b,$)|0,a=a+Math.imul(b,ee)|0,a=a+Math.imul(g,$)|0,n=n+Math.imul(g,ee)|0,i=i+Math.imul(h,re)|0,a=a+Math.imul(h,ie)|0,a=a+Math.imul(y,re)|0,n=n+Math.imul(y,ie)|0,i=i+Math.imul(m,ne)|0,a=a+Math.imul(m,se)|0,a=a+Math.imul(l,ne)|0,n=n+Math.imul(l,se)|0;var Ne=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,i=Math.imul(_,V),a=Math.imul(_,F),a=a+Math.imul(P,V)|0,n=Math.imul(P,F),i=i+Math.imul(w,z)|0,a=a+Math.imul(w,K)|0,a=a+Math.imul(q,z)|0,n=n+Math.imul(q,K)|0,i=i+Math.imul(R,W)|0,a=a+Math.imul(R,Z)|0,a=a+Math.imul(D,W)|0,n=n+Math.imul(D,Z)|0,i=i+Math.imul(k,Q)|0,a=a+Math.imul(k,J)|0,a=a+Math.imul(A,Q)|0,n=n+Math.imul(A,J)|0,i=i+Math.imul(v,$)|0,a=a+Math.imul(v,ee)|0,a=a+Math.imul(I,$)|0,n=n+Math.imul(I,ee)|0,i=i+Math.imul(b,re)|0,a=a+Math.imul(b,ie)|0,a=a+Math.imul(g,re)|0,n=n+Math.imul(g,ie)|0,i=i+Math.imul(h,ne)|0,a=a+Math.imul(h,se)|0,a=a+Math.imul(y,ne)|0,n=n+Math.imul(y,se)|0,i=i+Math.imul(m,ue)|0,a=a+Math.imul(m,ce)|0,a=a+Math.imul(l,ue)|0,n=n+Math.imul(l,ce)|0;var ke=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(ke>>>26)|0,ke&=67108863,i=Math.imul(M,V),a=Math.imul(M,F),a=a+Math.imul(B,V)|0,n=Math.imul(B,F),i=i+Math.imul(_,z)|0,a=a+Math.imul(_,K)|0,a=a+Math.imul(P,z)|0,n=n+Math.imul(P,K)|0,i=i+Math.imul(w,W)|0,a=a+Math.imul(w,Z)|0,a=a+Math.imul(q,W)|0,n=n+Math.imul(q,Z)|0,i=i+Math.imul(R,Q)|0,a=a+Math.imul(R,J)|0,a=a+Math.imul(D,Q)|0,n=n+Math.imul(D,J)|0,i=i+Math.imul(k,$)|0,a=a+Math.imul(k,ee)|0,a=a+Math.imul(A,$)|0,n=n+Math.imul(A,ee)|0,i=i+Math.imul(v,re)|0,a=a+Math.imul(v,ie)|0,a=a+Math.imul(I,re)|0,n=n+Math.imul(I,ie)|0,i=i+Math.imul(b,ne)|0,a=a+Math.imul(b,se)|0,a=a+Math.imul(g,ne)|0,n=n+Math.imul(g,se)|0,i=i+Math.imul(h,ue)|0,a=a+Math.imul(h,ce)|0,a=a+Math.imul(y,ue)|0,n=n+Math.imul(y,ce)|0,i=i+Math.imul(m,me)|0,a=a+Math.imul(m,le)|0,a=a+Math.imul(l,me)|0,n=n+Math.imul(l,le)|0;var Ae=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,i=Math.imul(U,V),a=Math.imul(U,F),a=a+Math.imul(G,V)|0,n=Math.imul(G,F),i=i+Math.imul(M,z)|0,a=a+Math.imul(M,K)|0,a=a+Math.imul(B,z)|0,n=n+Math.imul(B,K)|0,i=i+Math.imul(_,W)|0,a=a+Math.imul(_,Z)|0,a=a+Math.imul(P,W)|0,n=n+Math.imul(P,Z)|0,i=i+Math.imul(w,Q)|0,a=a+Math.imul(w,J)|0,a=a+Math.imul(q,Q)|0,n=n+Math.imul(q,J)|0,i=i+Math.imul(R,$)|0,a=a+Math.imul(R,ee)|0,a=a+Math.imul(D,$)|0,n=n+Math.imul(D,ee)|0,i=i+Math.imul(k,re)|0,a=a+Math.imul(k,ie)|0,a=a+Math.imul(A,re)|0,n=n+Math.imul(A,ie)|0,i=i+Math.imul(v,ne)|0,a=a+Math.imul(v,se)|0,a=a+Math.imul(I,ne)|0,n=n+Math.imul(I,se)|0,i=i+Math.imul(b,ue)|0,a=a+Math.imul(b,ce)|0,a=a+Math.imul(g,ue)|0,n=n+Math.imul(g,ce)|0,i=i+Math.imul(h,me)|0,a=a+Math.imul(h,le)|0,a=a+Math.imul(y,me)|0,n=n+Math.imul(y,le)|0,i=i+Math.imul(m,he)|0,a=a+Math.imul(m,ye)|0,a=a+Math.imul(l,he)|0,n=n+Math.imul(l,ye)|0;var Ce=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,i=Math.imul(U,z),a=Math.imul(U,K),a=a+Math.imul(G,z)|0,n=Math.imul(G,K),i=i+Math.imul(M,W)|0,a=a+Math.imul(M,Z)|0,a=a+Math.imul(B,W)|0,n=n+Math.imul(B,Z)|0,i=i+Math.imul(_,Q)|0,a=a+Math.imul(_,J)|0,a=a+Math.imul(P,Q)|0,n=n+Math.imul(P,J)|0,i=i+Math.imul(w,$)|0,a=a+Math.imul(w,ee)|0,a=a+Math.imul(q,$)|0,n=n+Math.imul(q,ee)|0,i=i+Math.imul(R,re)|0,a=a+Math.imul(R,ie)|0,a=a+Math.imul(D,re)|0,n=n+Math.imul(D,ie)|0,i=i+Math.imul(k,ne)|0,a=a+Math.imul(k,se)|0,a=a+Math.imul(A,ne)|0,n=n+Math.imul(A,se)|0,i=i+Math.imul(v,ue)|0,a=a+Math.imul(v,ce)|0,a=a+Math.imul(I,ue)|0,n=n+Math.imul(I,ce)|0,i=i+Math.imul(b,me)|0,a=a+Math.imul(b,le)|0,a=a+Math.imul(g,me)|0,n=n+Math.imul(g,le)|0,i=i+Math.imul(h,he)|0,a=a+Math.imul(h,ye)|0,a=a+Math.imul(y,he)|0,n=n+Math.imul(y,ye)|0;var Re=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Re>>>26)|0,Re&=67108863,i=Math.imul(U,W),a=Math.imul(U,Z),a=a+Math.imul(G,W)|0,n=Math.imul(G,Z),i=i+Math.imul(M,Q)|0,a=a+Math.imul(M,J)|0,a=a+Math.imul(B,Q)|0,n=n+Math.imul(B,J)|0,i=i+Math.imul(_,$)|0,a=a+Math.imul(_,ee)|0,a=a+Math.imul(P,$)|0,n=n+Math.imul(P,ee)|0,i=i+Math.imul(w,re)|0,a=a+Math.imul(w,ie)|0,a=a+Math.imul(q,re)|0,n=n+Math.imul(q,ie)|0,i=i+Math.imul(R,ne)|0,a=a+Math.imul(R,se)|0,a=a+Math.imul(D,ne)|0,n=n+Math.imul(D,se)|0,i=i+Math.imul(k,ue)|0,a=a+Math.imul(k,ce)|0,a=a+Math.imul(A,ue)|0,n=n+Math.imul(A,ce)|0,i=i+Math.imul(v,me)|0,a=a+Math.imul(v,le)|0,a=a+Math.imul(I,me)|0,n=n+Math.imul(I,le)|0,i=i+Math.imul(b,he)|0,a=a+Math.imul(b,ye)|0,a=a+Math.imul(g,he)|0,n=n+Math.imul(g,ye)|0;var De=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(De>>>26)|0,De&=67108863,i=Math.imul(U,Q),a=Math.imul(U,J),a=a+Math.imul(G,Q)|0,n=Math.imul(G,J),i=i+Math.imul(M,$)|0,a=a+Math.imul(M,ee)|0,a=a+Math.imul(B,$)|0,n=n+Math.imul(B,ee)|0,i=i+Math.imul(_,re)|0,a=a+Math.imul(_,ie)|0,a=a+Math.imul(P,re)|0,n=n+Math.imul(P,ie)|0,i=i+Math.imul(w,ne)|0,a=a+Math.imul(w,se)|0,a=a+Math.imul(q,ne)|0,n=n+Math.imul(q,se)|0,i=i+Math.imul(R,ue)|0,a=a+Math.imul(R,ce)|0,a=a+Math.imul(D,ue)|0,n=n+Math.imul(D,ce)|0,i=i+Math.imul(k,me)|0,a=a+Math.imul(k,le)|0,a=a+Math.imul(A,me)|0,n=n+Math.imul(A,le)|0,i=i+Math.imul(v,he)|0,a=a+Math.imul(v,ye)|0,a=a+Math.imul(I,he)|0,n=n+Math.imul(I,ye)|0;var Te=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Te>>>26)|0,Te&=67108863,i=Math.imul(U,$),a=Math.imul(U,ee),a=a+Math.imul(G,$)|0,n=Math.imul(G,ee),i=i+Math.imul(M,re)|0,a=a+Math.imul(M,ie)|0,a=a+Math.imul(B,re)|0,n=n+Math.imul(B,ie)|0,i=i+Math.imul(_,ne)|0,a=a+Math.imul(_,se)|0,a=a+Math.imul(P,ne)|0,n=n+Math.imul(P,se)|0,i=i+Math.imul(w,ue)|0,a=a+Math.imul(w,ce)|0,a=a+Math.imul(q,ue)|0,n=n+Math.imul(q,ce)|0,i=i+Math.imul(R,me)|0,a=a+Math.imul(R,le)|0,a=a+Math.imul(D,me)|0,n=n+Math.imul(D,le)|0,i=i+Math.imul(k,he)|0,a=a+Math.imul(k,ye)|0,a=a+Math.imul(A,he)|0,n=n+Math.imul(A,ye)|0;var we=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(we>>>26)|0,we&=67108863,i=Math.imul(U,re),a=Math.imul(U,ie),a=a+Math.imul(G,re)|0,n=Math.imul(G,ie),i=i+Math.imul(M,ne)|0,a=a+Math.imul(M,se)|0,a=a+Math.imul(B,ne)|0,n=n+Math.imul(B,se)|0,i=i+Math.imul(_,ue)|0,a=a+Math.imul(_,ce)|0,a=a+Math.imul(P,ue)|0,n=n+Math.imul(P,ce)|0,i=i+Math.imul(w,me)|0,a=a+Math.imul(w,le)|0,a=a+Math.imul(q,me)|0,n=n+Math.imul(q,le)|0,i=i+Math.imul(R,he)|0,a=a+Math.imul(R,ye)|0,a=a+Math.imul(D,he)|0,n=n+Math.imul(D,ye)|0;var qe=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(qe>>>26)|0,qe&=67108863,i=Math.imul(U,ne),a=Math.imul(U,se),a=a+Math.imul(G,ne)|0,n=Math.imul(G,se),i=i+Math.imul(M,ue)|0,a=a+Math.imul(M,ce)|0,a=a+Math.imul(B,ue)|0,n=n+Math.imul(B,ce)|0,i=i+Math.imul(_,me)|0,a=a+Math.imul(_,le)|0,a=a+Math.imul(P,me)|0,n=n+Math.imul(P,le)|0,i=i+Math.imul(w,he)|0,a=a+Math.imul(w,ye)|0,a=a+Math.imul(q,he)|0,n=n+Math.imul(q,ye)|0;var xe=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(xe>>>26)|0,xe&=67108863,i=Math.imul(U,ue),a=Math.imul(U,ce),a=a+Math.imul(G,ue)|0,n=Math.imul(G,ce),i=i+Math.imul(M,me)|0,a=a+Math.imul(M,le)|0,a=a+Math.imul(B,me)|0,n=n+Math.imul(B,le)|0,i=i+Math.imul(_,he)|0,a=a+Math.imul(_,ye)|0,a=a+Math.imul(P,he)|0,n=n+Math.imul(P,ye)|0;var _e=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(_e>>>26)|0,_e&=67108863,i=Math.imul(U,me),a=Math.imul(U,le),a=a+Math.imul(G,me)|0,n=Math.imul(G,le),i=i+Math.imul(M,he)|0,a=a+Math.imul(M,ye)|0,a=a+Math.imul(B,he)|0,n=n+Math.imul(B,ye)|0;var Pe=(c+i|0)+((8191&a)<<13)|0;c=(n+(a>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,i=Math.imul(U,he),a=Math.imul(U,ye),a=a+Math.imul(G,he)|0,n=Math.imul(G,ye);var Ee=(c+i|0)+((8191&a)<<13)|0;return c=(n+(a>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,u[0]=fe,u[1]=be,u[2]=ge,u[3]=Se,u[4]=ve,u[5]=Ie,u[6]=Ne,u[7]=ke,u[8]=Ae,u[9]=Ce,u[10]=Re,u[11]=De,u[12]=Te,u[13]=we,u[14]=qe,u[15]=xe,u[16]=_e,u[17]=Pe,u[18]=Ee,0!==c&&(u[19]=c,r.length++),r};Math.imul||(C=c),n.prototype.mulTo=function(e,t){var r,i=this.length+e.length;return r=10===this.length&&10===e.length?C(this,e,t):63>i?c(this,e,t):1024>i?p(this,e,t):m(this,e,t)},l.prototype.makeRBT=function(e){for(var t=new Array(e),r=n.prototype._countBits(e)-1,i=0;e>i;i++)t[i]=this.revBin(i,r,e);return t},l.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var i=0,a=0;t>a;a++)i|=(1&e)<<t-a-1,e>>=1;return i},l.prototype.permute=function(e,t,r,i,a,n){for(var s=0;n>s;s++)i[s]=t[e[s]],a[s]=r[e[s]]},l.prototype.transform=function(e,t,r,i,a,n){this.permute(n,e,t,r,i,a);for(var s=1;a>s;s<<=1)for(var o=s<<1,u=Math.cos(2*Math.PI/o),c=Math.sin(2*Math.PI/o),p=0;a>p;p+=o)for(var m=u,l=c,d=0;s>d;d++){var h=r[p+d],y=i[p+d],f=r[p+d+s],b=i[p+d+s],g=m*f-l*b;b=m*b+l*f,f=g,r[p+d]=h+f,i[p+d]=y+b,r[p+d+s]=h-f,i[p+d+s]=y-b,d!==o&&(g=u*m-c*l,l=u*l+c*m,m=g)}},l.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),i=1&r,a=0;for(r=r/2|0;r;r>>>=1)a++;return 1<<a+1+i},l.prototype.conjugate=function(e,t,r){if(!(1>=r))for(var i=0;r/2>i;i++){var a=e[i];e[i]=e[r-i-1],e[r-i-1]=a,a=t[i],t[i]=-t[r-i-1],t[r-i-1]=-a}},l.prototype.normalize13b=function(e,t){for(var r=0,i=0;t/2>i;i++){var a=8192*Math.round(e[2*i+1]/t)+Math.round(e[2*i]/t)+r;e[i]=67108863&a,r=67108864>a?0:a/67108864|0}return e},l.prototype.convert13b=function(e,t,r,a){for(var n=0,s=0;t>s;s++)n+=0|e[s],r[2*s]=8191&n,n>>>=13,r[2*s+1]=8191&n,n>>>=13;for(s=2*t;a>s;++s)r[s]=0;i(0===n),i(0===(-8192&n))},l.prototype.stub=function(e){for(var t=new Array(e),r=0;e>r;r++)t[r]=0;return t},l.prototype.mulp=function(e,t,r){var i=2*this.guessLen13b(e.length,t.length),a=this.makeRBT(i),n=this.stub(i),s=new Array(i),o=new Array(i),u=new Array(i),c=new Array(i),p=new Array(i),m=new Array(i),l=r.words;l.length=i,this.convert13b(e.words,e.length,s,i),this.convert13b(t.words,t.length,c,i),this.transform(s,n,o,u,i,a),this.transform(c,n,p,m,i,a);for(var d=0;i>d;d++){var h=o[d]*p[d]-u[d]*m[d];u[d]=o[d]*m[d]+u[d]*p[d],o[d]=h}return this.conjugate(o,u,i),this.transform(o,u,l,n,i,a),this.conjugate(l,n,i),this.normalize13b(l,i),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},n.prototype.mul=function(e){var t=new n(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},n.prototype.mulf=function(e){var t=new n(null);return t.words=new Array(this.length+e.length),m(this,e,t)},n.prototype.imul=function(e){return this.clone().mulTo(e,this)},n.prototype.imuln=function(e){i("number"==typeof e),i(67108864>e);for(var t=0,r=0;r<this.length;r++){var a=(0|this.words[r])*e,n=(67108863&a)+(67108863&t);t>>=26,t+=a/67108864|0,t+=n>>>26,this.words[r]=67108863&n}return 0!==t&&(this.words[r]=t,this.length++),this},n.prototype.muln=function(e){return this.clone().imuln(e)},n.prototype.sqr=function(){return this.mul(this)},n.prototype.isqr=function(){return this.imul(this.clone())},n.prototype.pow=function(e){var t=u(e);if(0===t.length)return new n(1);for(var r=this,i=0;i<t.length&&0===t[i];i++,r=r.sqr());if(++i<t.length)for(var a=r.sqr();i<t.length;i++,a=a.sqr())0!==t[i]&&(r=r.mul(a));return r},n.prototype.iushln=function(e){i("number"==typeof e&&e>=0);var t,r=e%26,a=(e-r)/26,n=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(t=0;t<this.length;t++){var o=this.words[t]&n,u=(0|this.words[t])-o<<r;this.words[t]=u|s,s=o>>>26-r}s&&(this.words[t]=s,this.length++)}if(0!==a){for(t=this.length-1;t>=0;t--)this.words[t+a]=this.words[t];for(t=0;a>t;t++)this.words[t]=0;this.length+=a}return this.strip()},n.prototype.ishln=function(e){return i(0===this.negative),this.iushln(e)},n.prototype.iushrn=function(e,t,r){i("number"==typeof e&&e>=0);var a;a=t?(t-t%26)/26:0;var n=e%26,s=Math.min((e-n)/26,this.length),o=67108863^67108863>>>n<<n,u=r;if(a-=s,a=Math.max(0,a),u){for(var c=0;s>c;c++)u.words[c]=this.words[c];u.length=s}if(0===s);else if(this.length>s)for(this.length-=s,c=0;c<this.length;c++)this.words[c]=this.words[c+s];else this.words[0]=0,this.length=1;var p=0;for(c=this.length-1;c>=0&&(0!==p||c>=a);c--){var m=0|this.words[c];this.words[c]=p<<26-n|m>>>n,p=m&o}return u&&0!==p&&(u.words[u.length++]=p),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},n.prototype.ishrn=function(e,t,r){return i(0===this.negative),this.iushrn(e,t,r)},n.prototype.shln=function(e){return this.clone().ishln(e)},n.prototype.ushln=function(e){return this.clone().iushln(e)},n.prototype.shrn=function(e){return this.clone().ishrn(e)},n.prototype.ushrn=function(e){return this.clone().iushrn(e)},n.prototype.testn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,a=1<<t;if(this.length<=r)return!1;var n=this.words[r];return!!(n&a)},n.prototype.imaskn=function(e){i("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var a=67108863^67108863>>>t<<t;this.words[this.length-1]&=a}return this.strip()},n.prototype.maskn=function(e){return this.clone().imaskn(e)},n.prototype.iaddn=function(e){return i("number"==typeof e),i(67108864>e),0>e?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},n.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},n.prototype.isubn=function(e){if(i("number"==typeof e),i(67108864>e),0>e)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},n.prototype.addn=function(e){return this.clone().iaddn(e)},n.prototype.subn=function(e){return this.clone().isubn(e)},n.prototype.iabs=function(){return this.negative=0,this},n.prototype.abs=function(){return this.clone().iabs()},n.prototype._ishlnsubmul=function(e,t,r){var a,n=e.length+r;this._expand(n);var s,o=0;for(a=0;a<e.length;a++){s=(0|this.words[a+r])+o;var u=(0|e.words[a])*t;s-=67108863&u,o=(s>>26)-(u/67108864|0),this.words[a+r]=67108863&s}for(;a<this.length-r;a++)s=(0|this.words[a+r])+o,o=s>>26,this.words[a+r]=67108863&s;if(0===o)return this.strip();for(i(-1===o),o=0,a=0;a<this.length;a++)s=-(0|this.words[a])+o,o=s>>26,this.words[a]=67108863&s;return this.negative=1,this.strip()},n.prototype._wordDiv=function(e,t){var r=this.length-e.length,i=this.clone(),a=e,s=0|a.words[a.length-1],o=this._countBits(s);r=26-o,0!==r&&(a=a.ushln(r),i.iushln(r),s=0|a.words[a.length-1]);var u,c=i.length-a.length;if("mod"!==t){u=new n(null),u.length=c+1,u.words=new Array(u.length);for(var p=0;p<u.length;p++)u.words[p]=0}var m=i.clone()._ishlnsubmul(a,1,c);0===m.negative&&(i=m,u&&(u.words[c]=1));for(var l=c-1;l>=0;l--){var d=67108864*(0|i.words[a.length+l])+(0|i.words[a.length+l-1]);for(d=Math.min(d/s|0,67108863),i._ishlnsubmul(a,d,l);0!==i.negative;)d--,i.negative=0,i._ishlnsubmul(a,1,l),i.isZero()||(i.negative^=1);u&&(u.words[l]=d)}return u&&u.strip(),i.strip(),"div"!==t&&0!==r&&i.iushrn(r),{div:u||null,mod:i}},n.prototype.divmod=function(e,t,r){if(i(!e.isZero()),this.isZero())return{div:new n(0),mod:new n(0)};var a,s,o;return 0!==this.negative&&0===e.negative?(o=this.neg().divmod(e,t),"mod"!==t&&(a=o.div.neg()),"div"!==t&&(s=o.mod.neg(),r&&0!==s.negative&&s.iadd(e)),{div:a,mod:s}):0===this.negative&&0!==e.negative?(o=this.divmod(e.neg(),t),"mod"!==t&&(a=o.div.neg()),{div:a,mod:o.mod}):0!==(this.negative&e.negative)?(o=this.neg().divmod(e.neg(),t),"div"!==t&&(s=o.mod.neg(),r&&0!==s.negative&&s.isub(e)),{div:o.div,mod:s}):e.length>this.length||this.cmp(e)<0?{div:new n(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new n(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new n(this.modn(e.words[0]))}:this._wordDiv(e,t)},n.prototype.div=function(e){return this.divmod(e,"div",!1).div},n.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},n.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},n.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=0!==t.div.negative?t.mod.isub(e):t.mod,i=e.ushrn(1),a=e.andln(1),n=r.cmp(i);return 0>n||1===a&&0===n?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},n.prototype.modn=function(e){i(67108863>=e);for(var t=(1<<26)%e,r=0,a=this.length-1;a>=0;a--)r=(t*r+(0|this.words[a]))%e;return r},n.prototype.idivn=function(e){i(67108863>=e);for(var t=0,r=this.length-1;r>=0;r--){var a=(0|this.words[r])+67108864*t;this.words[r]=a/e|0,t=a%e}return this.strip()},n.prototype.divn=function(e){return this.clone().idivn(e)},n.prototype.egcd=function(e){i(0===e.negative),i(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var a=new n(1),s=new n(0),o=new n(0),u=new n(1),c=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++c;for(var p=r.clone(),m=t.clone();!t.isZero();){for(var l=0,d=1;0===(t.words[0]&d)&&26>l;++l,d<<=1);if(l>0)for(t.iushrn(l);l-- >0;)(a.isOdd()||s.isOdd())&&(a.iadd(p),s.isub(m)),a.iushrn(1),s.iushrn(1);for(var h=0,y=1;0===(r.words[0]&y)&&26>h;++h,y<<=1);if(h>0)for(r.iushrn(h);h-- >0;)(o.isOdd()||u.isOdd())&&(o.iadd(p),u.isub(m)),o.iushrn(1),u.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(o),s.isub(u)):(r.isub(t),o.isub(a),u.isub(s))}return{a:o,b:u,gcd:r.iushln(c)}},n.prototype._invmp=function(e){i(0===e.negative),i(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var a=new n(1),s=new n(0),o=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&26>u;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(o),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&26>p;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)s.isOdd()&&s.iadd(o),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}var l;return l=0===t.cmpn(1)?a:s,l.cmpn(0)<0&&l.iadd(e),l},n.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var i=0;t.isEven()&&r.isEven();i++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var a=t.cmp(r);if(0>a){var n=t;t=r,r=n}else if(0===a||0===r.cmpn(1))break;t.isub(r)}return r.iushln(i)},n.prototype.invm=function(e){return this.egcd(e).a.umod(e)},n.prototype.isEven=function(){return 0===(1&this.words[0])},n.prototype.isOdd=function(){return 1===(1&this.words[0])},n.prototype.andln=function(e){return this.words[0]&e},n.prototype.bincn=function(e){i("number"==typeof e);var t=e%26,r=(e-t)/26,a=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=a,this;for(var n=a,s=r;0!==n&&s<this.length;s++){var o=0|this.words[s];o+=n,n=o>>>26,o&=67108863,this.words[s]=o}return 0!==n&&(this.words[s]=n,this.length++),this},n.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},n.prototype.cmpn=function(e){var t=0>e;if(0!==this.negative&&!t)return-1;if(0===this.negative&&t)return 1;this.strip();var r;if(this.length>1)r=1;else{t&&(e=-e),i(67108863>=e,"Number is too big");var a=0|this.words[0];r=a===e?0:e>a?-1:1}return 0!==this.negative?0|-r:r},n.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},n.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var i=0|this.words[r],a=0|e.words[r];if(i!==a){a>i?t=-1:i>a&&(t=1);break}}return t},n.prototype.gtn=function(e){return 1===this.cmpn(e)},n.prototype.gt=function(e){return 1===this.cmp(e)},n.prototype.gten=function(e){return this.cmpn(e)>=0},n.prototype.gte=function(e){return this.cmp(e)>=0},n.prototype.ltn=function(e){return-1===this.cmpn(e)},n.prototype.lt=function(e){return-1===this.cmp(e)},n.prototype.lten=function(e){
return this.cmpn(e)<=0},n.prototype.lte=function(e){return this.cmp(e)<=0},n.prototype.eqn=function(e){return 0===this.cmpn(e)},n.prototype.eq=function(e){return 0===this.cmp(e)},n.red=function(e){return new g(e)},n.prototype.toRed=function(e){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},n.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},n.prototype._forceRed=function(e){return this.red=e,this},n.prototype.forceRed=function(e){return i(!this.red,"Already a number in reduction context"),this._forceRed(e)},n.prototype.redAdd=function(e){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},n.prototype.redIAdd=function(e){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},n.prototype.redSub=function(e){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},n.prototype.redISub=function(e){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},n.prototype.redShl=function(e){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},n.prototype.redMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},n.prototype.redIMul=function(e){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},n.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},n.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},n.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},n.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},n.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},n.prototype.redPow=function(e){return i(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var R={k256:null,p224:null,p192:null,p25519:null};d.prototype._tmp=function(){var e=new n(null);return e.words=new Array(Math.ceil(this.n/13)),e},d.prototype.ireduce=function(e){var t,r=e;do this.split(r,this.tmp),r=this.imulK(r),r=r.iadd(this.tmp),t=r.bitLength();while(t>this.n);var i=t<this.n?-1:r.ucmp(this.p);return 0===i?(r.words[0]=0,r.length=1):i>0?r.isub(this.p):r.strip(),r},d.prototype.split=function(e,t){e.iushrn(this.n,0,t)},d.prototype.imulK=function(e){return e.imul(this.k)},a(h,d),h.prototype.split=function(e,t){for(var r=4194303,i=Math.min(e.length,9),a=0;i>a;a++)t.words[a]=e.words[a];if(t.length=i,e.length<=9)return e.words[0]=0,void(e.length=1);var n=e.words[9];for(t.words[t.length++]=n&r,a=10;a<e.length;a++){var s=0|e.words[a];e.words[a-10]=(s&r)<<4|n>>>22,n=s}n>>>=22,e.words[a-10]=n,0===n&&e.length>10?e.length-=10:e.length-=9},h.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var i=0|e.words[r];t+=977*i,e.words[r]=67108863&t,t=64*i+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},a(y,d),a(f,d),a(b,d),b.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var i=19*(0|e.words[r])+t,a=67108863&i;i>>>=26,e.words[r]=a,t=i}return 0!==t&&(e.words[e.length++]=t),e},n._prime=function D(e){if(R[e])return R[e];var D;if("k256"===e)D=new h;else if("p224"===e)D=new y;else if("p192"===e)D=new f;else{if("p25519"!==e)throw new Error("Unknown prime "+e);D=new b}return R[e]=D,D},g.prototype._verify1=function(e){i(0===e.negative,"red works only with positives"),i(e.red,"red works only with red numbers")},g.prototype._verify2=function(e,t){i(0===(e.negative|t.negative),"red works only with positives"),i(e.red&&e.red===t.red,"red works only with red numbers")},g.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},g.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},g.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},g.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},g.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},g.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},g.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},g.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},g.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},g.prototype.isqr=function(e){return this.imul(e,e.clone())},g.prototype.sqr=function(e){return this.mul(e,e)},g.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(i(t%2===1),3===t){var r=this.m.add(new n(1)).iushrn(2);return this.pow(e,r)}for(var a=this.m.subn(1),s=0;!a.isZero()&&0===a.andln(1);)s++,a.iushrn(1);i(!a.isZero());var o=new n(1).toRed(this),u=o.redNeg(),c=this.m.subn(1).iushrn(1),p=this.m.bitLength();for(p=new n(2*p*p).toRed(this);0!==this.pow(p,c).cmp(u);)p.redIAdd(u);for(var m=this.pow(p,a),l=this.pow(e,a.addn(1).iushrn(1)),d=this.pow(e,a),h=s;0!==d.cmp(o);){for(var y=d,f=0;0!==y.cmp(o);f++)y=y.redSqr();i(h>f);var b=this.pow(m,new n(1).iushln(h-f-1));l=l.redMul(b),m=b.redSqr(),d=d.redMul(m),h=f}return l},g.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},g.prototype.pow=function(e,t){if(t.isZero())return new n(1);if(0===t.cmpn(1))return e.clone();var r=4,i=new Array(1<<r);i[0]=new n(1).toRed(this),i[1]=e;for(var a=2;a<i.length;a++)i[a]=this.mul(i[a-1],e);var s=i[0],o=0,u=0,c=t.bitLength()%26;for(0===c&&(c=26),a=t.length-1;a>=0;a--){for(var p=t.words[a],m=c-1;m>=0;m--){var l=p>>m&1;s!==i[0]&&(s=this.sqr(s)),0!==l||0!==o?(o<<=1,o|=l,u++,(u===r||0===a&&0===m)&&(s=this.mul(s,i[o]),u=0,o=0)):u=0}c=26}return s},g.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},g.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},n.mont=function(e){return new S(e)},a(S,g),S.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},S.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},S.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),i=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),a=r.isub(i).iushrn(this.shift),n=a;return a.cmp(this.m)>=0?n=a.isub(this.m):a.cmpn(0)<0&&(n=a.iadd(this.m)),n._forceRed(this)},S.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new n(0)._forceRed(this);var r=e.mul(t),i=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),a=r.isub(i).iushrn(this.shift),s=a;return a.cmp(this.m)>=0?s=a.isub(this.m):a.cmpn(0)<0&&(s=a.iadd(this.m)),s._forceRed(this)},S.prototype.invm=function(e){var t=this.imod(e._invmp(this.m).mul(this.r2));return t._forceRed(this)}}("undefined"==typeof t||t,this)},{}],79:[function(e,t,r){function i(e){this.rand=e}var a;if(t.exports=function(e){return a||(a=new i(null)),a.generate(e)},t.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},"object"==typeof window)window.crypto&&window.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return window.crypto.getRandomValues(t),t}:window.msCrypto&&window.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return window.msCrypto.getRandomValues(t),t}:i.prototype._rand=function(){throw new Error("Not implemented yet")};else try{var n=e("crypto");i.prototype._rand=function(e){return n.randomBytes(e)}}catch(s){i.prototype._rand=function(e){for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t}}},{}],80:[function(e,t,r){},{}],81:[function(e,t,r){(function(t){"use strict";function i(){function e(){}try{var t=new Uint8Array(1);return t.foo=function(){return 42},t.constructor=e,42===t.foo()&&t.constructor===e&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(r){return!1}}function a(){return n.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function n(e){return this instanceof n?(n.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof e?s(this,e):"string"==typeof e?o(this,e,arguments.length>1?arguments[1]:"utf8"):u(this,e)):arguments.length>1?new n(e,arguments[1]):new n(e)}function s(e,t){if(e=y(e,0>t?0:0|f(t)),!n.TYPED_ARRAY_SUPPORT)for(var r=0;t>r;r++)e[r]=0;return e}function o(e,t,r){"string"==typeof r&&""!==r||(r="utf8");var i=0|g(t,r);return e=y(e,i),e.write(t,r),e}function u(e,t){if(n.isBuffer(t))return c(e,t);if(Q(t))return p(e,t);if(null==t)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(t.buffer instanceof ArrayBuffer)return m(e,t);if(t instanceof ArrayBuffer)return l(e,t)}return t.length?d(e,t):h(e,t)}function c(e,t){var r=0|f(t.length);return e=y(e,r),t.copy(e,0,0,r),e}function p(e,t){var r=0|f(t.length);e=y(e,r);for(var i=0;r>i;i+=1)e[i]=255&t[i];return e}function m(e,t){var r=0|f(t.length);e=y(e,r);for(var i=0;r>i;i+=1)e[i]=255&t[i];return e}function l(e,t){return n.TYPED_ARRAY_SUPPORT?(t.byteLength,e=n._augment(new Uint8Array(t))):e=m(e,new Uint8Array(t)),e}function d(e,t){var r=0|f(t.length);e=y(e,r);for(var i=0;r>i;i+=1)e[i]=255&t[i];return e}function h(e,t){var r,i=0;"Buffer"===t.type&&Q(t.data)&&(r=t.data,i=0|f(r.length)),e=y(e,i);for(var a=0;i>a;a+=1)e[a]=255&r[a];return e}function y(e,t){n.TYPED_ARRAY_SUPPORT?(e=n._augment(new Uint8Array(t)),e.__proto__=n.prototype):(e.length=t,e._isBuffer=!0);var r=0!==t&&t<=n.poolSize>>>1;return r&&(e.parent=J),e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e,t){if(!(this instanceof b))return new b(e,t);var r=new n(e,t);return delete r.parent,r}function g(e,t){"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"binary":case"raw":case"raws":return r;case"utf8":case"utf-8":return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(i)return j(e).length;t=(""+t).toLowerCase(),i=!0}}function S(e,t,r){var i=!1;if(t=0|t,r=void 0===r||r===1/0?this.length:0|r,e||(e="utf8"),0>t&&(t=0),r>this.length&&(r=this.length),t>=r)return"";for(;;)switch(e){case"hex":return x(this,t,r);case"utf8":case"utf-8":return D(this,t,r);case"ascii":return w(this,t,r);case"binary":return q(this,t,r);case"base64":return R(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function v(e,t,r,i){r=Number(r)||0;var a=e.length-r;i?(i=Number(i),i>a&&(i=a)):i=a;var n=t.length;if(n%2!==0)throw new Error("Invalid hex string");i>n/2&&(i=n/2);for(var s=0;i>s;s++){var o=parseInt(t.substr(2*s,2),16);if(isNaN(o))throw new Error("Invalid hex string");e[r+s]=o}return s}function I(e,t,r,i){return W(j(t,e.length-r),e,r,i)}function N(e,t,r,i){return W(z(t),e,r,i)}function k(e,t,r,i){return N(e,t,r,i)}function A(e,t,r,i){return W(H(t),e,r,i)}function C(e,t,r,i){return W(K(t,e.length-r),e,r,i)}function R(e,t,r){return 0===t&&r===e.length?Z.fromByteArray(e):Z.fromByteArray(e.slice(t,r))}function D(e,t,r){r=Math.min(e.length,r);for(var i=[],a=t;r>a;){var n=e[a],s=null,o=n>239?4:n>223?3:n>191?2:1;if(r>=a+o){var u,c,p,m;switch(o){case 1:128>n&&(s=n);break;case 2:u=e[a+1],128===(192&u)&&(m=(31&n)<<6|63&u,m>127&&(s=m));break;case 3:u=e[a+1],c=e[a+2],128===(192&u)&&128===(192&c)&&(m=(15&n)<<12|(63&u)<<6|63&c,m>2047&&(55296>m||m>57343)&&(s=m));break;case 4:u=e[a+1],c=e[a+2],p=e[a+3],128===(192&u)&&128===(192&c)&&128===(192&p)&&(m=(15&n)<<18|(63&u)<<12|(63&c)<<6|63&p,m>65535&&1114112>m&&(s=m))}}null===s?(s=65533,o=1):s>65535&&(s-=65536,i.push(s>>>10&1023|55296),s=56320|1023&s),i.push(s),a+=o}return T(i)}function T(e){var t=e.length;if(Y>=t)return String.fromCharCode.apply(String,e);for(var r="",i=0;t>i;)r+=String.fromCharCode.apply(String,e.slice(i,i+=Y));return r}function w(e,t,r){var i="";r=Math.min(e.length,r);for(var a=t;r>a;a++)i+=String.fromCharCode(127&e[a]);return i}function q(e,t,r){var i="";r=Math.min(e.length,r);for(var a=t;r>a;a++)i+=String.fromCharCode(e[a]);return i}function x(e,t,r){var i=e.length;(!t||0>t)&&(t=0),(!r||0>r||r>i)&&(r=i);for(var a="",n=t;r>n;n++)a+=F(e[n]);return a}function _(e,t,r){for(var i=e.slice(t,r),a="",n=0;n<i.length;n+=2)a+=String.fromCharCode(i[n]+256*i[n+1]);return a}function P(e,t,r){if(e%1!==0||0>e)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function E(e,t,r,i,a,s){if(!n.isBuffer(e))throw new TypeError("buffer must be a Buffer instance");if(t>a||s>t)throw new RangeError("value is out of bounds");if(r+i>e.length)throw new RangeError("index out of range")}function M(e,t,r,i){0>t&&(t=65535+t+1);for(var a=0,n=Math.min(e.length-r,2);n>a;a++)e[r+a]=(t&255<<8*(i?a:1-a))>>>8*(i?a:1-a)}function B(e,t,r,i){0>t&&(t=4294967295+t+1);for(var a=0,n=Math.min(e.length-r,4);n>a;a++)e[r+a]=t>>>8*(i?a:3-a)&255}function L(e,t,r,i,a,n){if(t>a||n>t)throw new RangeError("value is out of bounds");if(r+i>e.length)throw new RangeError("index out of range");if(0>r)throw new RangeError("index out of range")}function U(e,t,r,i,a){return a||L(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,i,23,4),r+4}function G(e,t,r,i,a){return a||L(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,i,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function F(e){return 16>e?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var r,i=e.length,a=null,n=[],s=0;i>s;s++){if(r=e.charCodeAt(s),r>55295&&57344>r){if(!a){if(r>56319){(t-=3)>-1&&n.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&n.push(239,191,189);continue}a=r;continue}if(56320>r){(t-=3)>-1&&n.push(239,191,189),a=r;continue}r=(a-55296<<10|r-56320)+65536}else a&&(t-=3)>-1&&n.push(239,191,189);if(a=null,128>r){if((t-=1)<0)break;n.push(r)}else if(2048>r){if((t-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(65536>r){if((t-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(1114112>r))throw new Error("Invalid code point");if((t-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return n}function z(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t}function K(e,t){for(var r,i,a,n=[],s=0;s<e.length&&!((t-=2)<0);s++)r=e.charCodeAt(s),i=r>>8,a=r%256,n.push(a),n.push(i);return n}function H(e){return Z.toByteArray(O(e))}function W(e,t,r,i){for(var a=0;i>a&&!(a+r>=t.length||a>=e.length);a++)t[a+r]=e[a];return a}var Z=e("base64-js"),X=e("ieee754"),Q=e("isarray");r.Buffer=n,r.SlowBuffer=b,r.INSPECT_MAX_BYTES=50,n.poolSize=8192;var J={};n.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:i(),n.TYPED_ARRAY_SUPPORT?(n.prototype.__proto__=Uint8Array.prototype,n.__proto__=Uint8Array):(n.prototype.length=void 0,n.prototype.parent=void 0),n.isBuffer=function(e){return!(null==e||!e._isBuffer)},n.compare=function(e,t){if(!n.isBuffer(e)||!n.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,i=t.length,a=0,s=Math.min(r,i);s>a&&e[a]===t[a];)++a;return a!==s&&(r=e[a],i=t[a]),i>r?-1:r>i?1:0},n.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},n.concat=function(e,t){if(!Q(e))throw new TypeError("list argument must be an Array of Buffers.");if(0===e.length)return new n(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;r++)t+=e[r].length;var i=new n(t),a=0;for(r=0;r<e.length;r++){var s=e[r];s.copy(i,a),a+=s.length}return i},n.byteLength=g,n.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?D(this,0,e):S.apply(this,arguments)},n.prototype.equals=function(e){if(!n.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:0===n.compare(this,e)},n.prototype.inspect=function(){var e="",t=r.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},n.prototype.compare=function(e){if(!n.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?0:n.compare(this,e)},n.prototype.indexOf=function(e,t){function r(e,t,r){for(var i=-1,a=0;r+a<e.length;a++)if(e[r+a]===t[-1===i?0:a-i]){if(-1===i&&(i=a),a-i+1===t.length)return r+i}else i=-1;return-1}if(t>2147483647?t=2147483647:-2147483648>t&&(t=-2147483648),t>>=0,0===this.length)return-1;if(t>=this.length)return-1;if(0>t&&(t=Math.max(this.length+t,0)),"string"==typeof e)return 0===e.length?-1:String.prototype.indexOf.call(this,e,t);if(n.isBuffer(e))return r(this,e,t);if("number"==typeof e)return n.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,e,t):r(this,[e],t);throw new TypeError("val must be string, number or Buffer")},n.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},n.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},n.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else if(isFinite(t))t=0|t,isFinite(r)?(r=0|r,void 0===i&&(i="utf8")):(i=r,r=void 0);else{var a=i;i=t,t=0|r,r=a}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(0>r||0>t)||t>this.length)throw new RangeError("attempt to write outside buffer bounds");i||(i="utf8");for(var s=!1;;)switch(i){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return I(this,e,t,r);case"ascii":return N(this,e,t,r);case"binary":return k(this,e,t,r);case"base64":return A(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),s=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;n.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,0>e?(e+=r,0>e&&(e=0)):e>r&&(e=r),0>t?(t+=r,0>t&&(t=0)):t>r&&(t=r),e>t&&(t=e);var i;if(n.TYPED_ARRAY_SUPPORT)i=n._augment(this.subarray(e,t));else{var a=t-e;i=new n(a,void 0);for(var s=0;a>s;s++)i[s]=this[s+e]}return i.length&&(i.parent=this.parent||this),i},n.prototype.readUIntLE=function(e,t,r){e=0|e,t=0|t,r||P(e,t,this.length);for(var i=this[e],a=1,n=0;++n<t&&(a*=256);)i+=this[e+n]*a;return i},n.prototype.readUIntBE=function(e,t,r){e=0|e,t=0|t,r||P(e,t,this.length);for(var i=this[e+--t],a=1;t>0&&(a*=256);)i+=this[e+--t]*a;return i},n.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},n.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},n.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},n.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},n.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},n.prototype.readIntLE=function(e,t,r){e=0|e,t=0|t,r||P(e,t,this.length);for(var i=this[e],a=1,n=0;++n<t&&(a*=256);)i+=this[e+n]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*t)),i},n.prototype.readIntBE=function(e,t,r){e=0|e,t=0|t,r||P(e,t,this.length);for(var i=t,a=1,n=this[e+--i];i>0&&(a*=256);)n+=this[e+--i]*a;return a*=128,n>=a&&(n-=Math.pow(2,8*t)),n},n.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},n.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},n.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},n.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},n.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},n.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),X.read(this,e,!0,23,4)},n.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),X.read(this,e,!1,23,4)},n.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),X.read(this,e,!0,52,8)},n.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),X.read(this,e,!1,52,8)},n.prototype.writeUIntLE=function(e,t,r,i){e=+e,t=0|t,r=0|r,i||E(this,e,t,r,Math.pow(2,8*r),0);var a=1,n=0;for(this[t]=255&e;++n<r&&(a*=256);)this[t+n]=e/a&255;return t+r},n.prototype.writeUIntBE=function(e,t,r,i){e=+e,t=0|t,r=0|r,i||E(this,e,t,r,Math.pow(2,8*r),0);var a=r-1,n=1;for(this[t+a]=255&e;--a>=0&&(n*=256);)this[t+a]=e/n&255;return t+r},n.prototype.writeUInt8=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,1,255,0),n.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},n.prototype.writeUInt16LE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},n.prototype.writeUInt16BE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,2,65535,0),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},n.prototype.writeUInt32LE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},n.prototype.writeUInt32BE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,4,4294967295,0),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},n.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t=0|t,!i){var a=Math.pow(2,8*r-1);E(this,e,t,r,a-1,-a)}var n=0,s=1,o=0>e?1:0;for(this[t]=255&e;++n<r&&(s*=256);)this[t+n]=(e/s>>0)-o&255;return t+r},n.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t=0|t,!i){var a=Math.pow(2,8*r-1);E(this,e,t,r,a-1,-a)}var n=r-1,s=1,o=0>e?1:0;for(this[t+n]=255&e;--n>=0&&(s*=256);)this[t+n]=(e/s>>0)-o&255;return t+r},n.prototype.writeInt8=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,1,127,-128),n.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),0>e&&(e=255+e+1),this[t]=255&e,t+1},n.prototype.writeInt16LE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},n.prototype.writeInt16BE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,2,32767,-32768),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},n.prototype.writeInt32LE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,4,2147483647,-2147483648),n.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},n.prototype.writeInt32BE=function(e,t,r){return e=+e,t=0|t,r||E(this,e,t,4,2147483647,-2147483648),0>e&&(e=4294967295+e+1),n.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},n.prototype.writeFloatLE=function(e,t,r){return U(this,e,t,!0,r)},n.prototype.writeFloatBE=function(e,t,r){return U(this,e,t,!1,r)},n.prototype.writeDoubleLE=function(e,t,r){return G(this,e,t,!0,r)},n.prototype.writeDoubleBE=function(e,t,r){return G(this,e,t,!1,r)},n.prototype.copy=function(e,t,r,i){if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&r>i&&(i=r),i===r)return 0;if(0===e.length||0===this.length)return 0;if(0>t)throw new RangeError("targetStart out of bounds");if(0>r||r>=this.length)throw new RangeError("sourceStart out of bounds");if(0>i)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);var a,s=i-r;if(this===e&&t>r&&i>t)for(a=s-1;a>=0;a--)e[a+t]=this[a+r];else if(1e3>s||!n.TYPED_ARRAY_SUPPORT)for(a=0;s>a;a++)e[a+t]=this[a+r];else e._set(this.subarray(r,r+s),t);return s},n.prototype.fill=function(e,t,r){if(e||(e=0),t||(t=0),r||(r=this.length),t>r)throw new RangeError("end < start");if(r!==t&&0!==this.length){if(0>t||t>=this.length)throw new RangeError("start out of bounds");if(0>r||r>this.length)throw new RangeError("end out of bounds");var i;if("number"==typeof e)for(i=t;r>i;i++)this[i]=e;else{var a=j(e.toString()),n=a.length;for(i=t;r>i;i++)this[i]=a[i%n]}return this}},n.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(n.TYPED_ARRAY_SUPPORT)return new n(this).buffer;for(var e=new Uint8Array(this.length),t=0,r=e.length;r>t;t+=1)e[t]=this[t];return e.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var $=n.prototype;n._augment=function(e){return e.constructor=n,e._isBuffer=!0,e._set=e.set,e.get=$.get,e.set=$.set,e.write=$.write,e.toString=$.toString,e.toLocaleString=$.toString,e.toJSON=$.toJSON,e.equals=$.equals,e.compare=$.compare,e.indexOf=$.indexOf,e.copy=$.copy,e.slice=$.slice,e.readUIntLE=$.readUIntLE,e.readUIntBE=$.readUIntBE,e.readUInt8=$.readUInt8,e.readUInt16LE=$.readUInt16LE,e.readUInt16BE=$.readUInt16BE,e.readUInt32LE=$.readUInt32LE,e.readUInt32BE=$.readUInt32BE,e.readIntLE=$.readIntLE,e.readIntBE=$.readIntBE,e.readInt8=$.readInt8,e.readInt16LE=$.readInt16LE,e.readInt16BE=$.readInt16BE,e.readInt32LE=$.readInt32LE,e.readInt32BE=$.readInt32BE,e.readFloatLE=$.readFloatLE,e.readFloatBE=$.readFloatBE,e.readDoubleLE=$.readDoubleLE,e.readDoubleBE=$.readDoubleBE,e.writeUInt8=$.writeUInt8,e.writeUIntLE=$.writeUIntLE,e.writeUIntBE=$.writeUIntBE,e.writeUInt16LE=$.writeUInt16LE,e.writeUInt16BE=$.writeUInt16BE,e.writeUInt32LE=$.writeUInt32LE,e.writeUInt32BE=$.writeUInt32BE,e.writeIntLE=$.writeIntLE,e.writeIntBE=$.writeIntBE,e.writeInt8=$.writeInt8,e.writeInt16LE=$.writeInt16LE,e.writeInt16BE=$.writeInt16BE,e.writeInt32LE=$.writeInt32LE,e.writeInt32BE=$.writeInt32BE,e.writeFloatLE=$.writeFloatLE,e.writeFloatBE=$.writeFloatBE,e.writeDoubleLE=$.writeDoubleLE,e.writeDoubleBE=$.writeDoubleBE,e.fill=$.fill,e.inspect=$.inspect,e.toArrayBuffer=$.toArrayBuffer,e};var ee=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":82,ieee754:83,isarray:84}],82:[function(e,t,r){var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";!function(e){"use strict";function t(e){var t=e.charCodeAt(0);return t===s||t===m?62:t===o||t===l?63:u>t?-1:u+10>t?t-u+26+26:p+26>t?t-p:c+26>t?t-c+26:void 0}function r(e){function r(e){c[m++]=e}var i,a,s,o,u,c;if(e.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var p=e.length;u="="===e.charAt(p-2)?2:"="===e.charAt(p-1)?1:0,c=new n(3*e.length/4-u),s=u>0?e.length-4:e.length;var m=0;for(i=0,a=0;s>i;i+=4,a+=3)o=t(e.charAt(i))<<18|t(e.charAt(i+1))<<12|t(e.charAt(i+2))<<6|t(e.charAt(i+3)),r((16711680&o)>>16),r((65280&o)>>8),r(255&o);return 2===u?(o=t(e.charAt(i))<<2|t(e.charAt(i+1))>>4,r(255&o)):1===u&&(o=t(e.charAt(i))<<10|t(e.charAt(i+1))<<4|t(e.charAt(i+2))>>2,r(o>>8&255),r(255&o)),c}function a(e){function t(e){return i.charAt(e)}function r(e){return t(e>>18&63)+t(e>>12&63)+t(e>>6&63)+t(63&e)}var a,n,s,o=e.length%3,u="";for(a=0,s=e.length-o;s>a;a+=3)n=(e[a]<<16)+(e[a+1]<<8)+e[a+2],u+=r(n);switch(o){case 1:n=e[e.length-1],u+=t(n>>2),u+=t(n<<4&63),u+="==";break;case 2:n=(e[e.length-2]<<8)+e[e.length-1],u+=t(n>>10),u+=t(n>>4&63),u+=t(n<<2&63),u+="="}return u}var n="undefined"!=typeof Uint8Array?Uint8Array:Array,s="+".charCodeAt(0),o="/".charCodeAt(0),u="0".charCodeAt(0),c="a".charCodeAt(0),p="A".charCodeAt(0),m="-".charCodeAt(0),l="_".charCodeAt(0);e.toByteArray=r,e.fromByteArray=a}("undefined"==typeof r?this.base64js={}:r)},{}],83:[function(e,t,r){r.read=function(e,t,r,i,a){var n,s,o=8*a-i-1,u=(1<<o)-1,c=u>>1,p=-7,m=r?a-1:0,l=r?-1:1,d=e[t+m];for(m+=l,n=d&(1<<-p)-1,d>>=-p,p+=o;p>0;n=256*n+e[t+m],m+=l,p-=8);for(s=n&(1<<-p)-1,n>>=-p,p+=i;p>0;s=256*s+e[t+m],m+=l,p-=8);if(0===n)n=1-c;else{if(n===u)return s?NaN:(d?-1:1)*(1/0);s+=Math.pow(2,i),n-=c}return(d?-1:1)*s*Math.pow(2,n-i)},r.write=function(e,t,r,i,a,n){var s,o,u,c=8*n-a-1,p=(1<<c)-1,m=p>>1,l=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:n-1,h=i?1:-1,y=0>t||0===t&&0>1/t?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,s=p):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+m>=1?l/u:l*Math.pow(2,1-m),t*u>=2&&(s++,u/=2),s+m>=p?(o=0,s=p):s+m>=1?(o=(t*u-1)*Math.pow(2,a),s+=m):(o=t*Math.pow(2,m-1)*Math.pow(2,a),s=0));a>=8;e[r+d]=255&o,d+=h,o/=256,a-=8);for(s=s<<a|o,c+=a;c>0;e[r+d]=255&s,d+=h,s/=256,c-=8);e[r+d-h]|=128*y}},{}],84:[function(e,t,r){var i={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==i.call(e)}},{}],85:[function(e,t,r){"use strict";r.randomBytes=r.rng=r.pseudoRandomBytes=r.prng=e("randombytes"),r.createHash=r.Hash=e("create-hash"),r.createHmac=r.Hmac=e("create-hmac");var i=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(e("browserify-sign/algos")));r.getHashes=function(){return i};var a=e("pbkdf2");r.pbkdf2=a.pbkdf2,r.pbkdf2Sync=a.pbkdf2Sync;var n=e("browserify-cipher");["Cipher","createCipher","Cipheriv","createCipheriv","Decipher","createDecipher","Decipheriv","createDecipheriv","getCiphers","listCiphers"].forEach(function(e){r[e]=n[e]});var s=e("diffie-hellman");["DiffieHellmanGroup","createDiffieHellmanGroup","getDiffieHellman","createDiffieHellman","DiffieHellman"].forEach(function(e){r[e]=s[e]});var o=e("browserify-sign");["createSign","Sign","createVerify","Verify"].forEach(function(e){r[e]=o[e]}),r.createECDH=e("create-ecdh");var u=e("public-encrypt");["publicEncrypt","privateEncrypt","publicDecrypt","privateDecrypt"].forEach(function(e){r[e]=u[e]}),["createCredentials"].forEach(function(e){r[e]=function(){throw new Error(["sorry, "+e+" is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))}})},{"browserify-cipher":86,"browserify-sign":107,"browserify-sign/algos":106,"create-ecdh":151,"create-hash":169,"create-hmac":182,"diffie-hellman":183,pbkdf2:188,"public-encrypt":189,randombytes:217}],86:[function(e,t,r){function i(e,t){var r,i;if(e=e.toLowerCase(),l[e])r=l[e].key,i=l[e].iv;else{if(!m[e])throw new TypeError("invalid suite type");r=8*m[e].key,i=m[e].iv}var a=u(t,!1,r,i);return n(e,a.key,a.iv)}function a(e,t){var r,i;if(e=e.toLowerCase(),l[e])r=l[e].key,i=l[e].iv;else{if(!m[e])throw new TypeError("invalid suite type");r=8*m[e].key,i=m[e].iv}var a=u(t,!1,r,i);return s(e,a.key,a.iv)}function n(e,t,r){if(e=e.toLowerCase(),l[e])return c.createCipheriv(e,t,r);if(m[e])return new p({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function s(e,t,r){if(e=e.toLowerCase(),l[e])return c.createDecipheriv(e,t,r);if(m[e])return new p({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function o(){return Object.keys(m).concat(c.getCiphers())}var u=e("evp_bytestokey"),c=e("browserify-aes/browser"),p=e("browserify-des"),m=e("browserify-des/modes"),l=e("browserify-aes/modes");r.createCipher=r.Cipher=i,r.createCipheriv=r.Cipheriv=n,r.createDecipher=r.Decipher=a,r.createDecipheriv=r.Decipheriv=s,r.listCiphers=r.getCiphers=o},{"browserify-aes/browser":89,"browserify-aes/modes":93,"browserify-des":102,
"browserify-des/modes":103,evp_bytestokey:105}],87:[function(e,t,r){(function(e){function t(e){var t,r;return t=e>o||0>e?(r=Math.abs(e)%o,0>e?o-r:r):e}function i(e){for(var t=0;t<e.length;e++)e[t]=0;return!1}function a(){this.SBOX=[],this.INV_SBOX=[],this.SUB_MIX=[[],[],[],[]],this.INV_SUB_MIX=[[],[],[],[]],this.init(),this.RCON=[0,1,2,4,8,16,32,64,128,27,54]}function n(e){for(var t=e.length/4,r=new Array(t),i=-1;++i<t;)r[i]=e.readUInt32BE(4*i);return r}function s(e){this._key=n(e),this._doReset()}var o=Math.pow(2,32);a.prototype.init=function(){var e,t,r,i,a,n,s,o,u,c;for(e=function(){var e,r;for(r=[],t=e=0;256>e;t=++e)128>t?r.push(t<<1):r.push(t<<1^283);return r}(),a=0,u=0,t=c=0;256>c;t=++c)r=u^u<<1^u<<2^u<<3^u<<4,r=r>>>8^255&r^99,this.SBOX[a]=r,this.INV_SBOX[r]=a,n=e[a],s=e[n],o=e[s],i=257*e[r]^16843008*r,this.SUB_MIX[0][a]=i<<24|i>>>8,this.SUB_MIX[1][a]=i<<16|i>>>16,this.SUB_MIX[2][a]=i<<8|i>>>24,this.SUB_MIX[3][a]=i,i=16843009*o^65537*s^257*n^16843008*a,this.INV_SUB_MIX[0][r]=i<<24|i>>>8,this.INV_SUB_MIX[1][r]=i<<16|i>>>16,this.INV_SUB_MIX[2][r]=i<<8|i>>>24,this.INV_SUB_MIX[3][r]=i,0===a?a=u=1:(a=n^e[e[e[o^n]]],u^=e[e[u]]);return!0};var u=new a;s.blockSize=16,s.prototype.blockSize=s.blockSize,s.keySize=32,s.prototype.keySize=s.keySize,s.prototype._doReset=function(){var e,t,r,i,a,n;for(r=this._key,t=r.length,this._nRounds=t+6,a=4*(this._nRounds+1),this._keySchedule=[],i=0;a>i;i++)this._keySchedule[i]=t>i?r[i]:(n=this._keySchedule[i-1],i%t===0?(n=n<<8|n>>>24,n=u.SBOX[n>>>24]<<24|u.SBOX[n>>>16&255]<<16|u.SBOX[n>>>8&255]<<8|u.SBOX[255&n],n^=u.RCON[i/t|0]<<24):t>6&&i%t===4?n=u.SBOX[n>>>24]<<24|u.SBOX[n>>>16&255]<<16|u.SBOX[n>>>8&255]<<8|u.SBOX[255&n]:void 0,this._keySchedule[i-t]^n);for(this._invKeySchedule=[],e=0;a>e;e++)i=a-e,n=this._keySchedule[i-(e%4?0:4)],this._invKeySchedule[e]=4>e||4>=i?n:u.INV_SUB_MIX[0][u.SBOX[n>>>24]]^u.INV_SUB_MIX[1][u.SBOX[n>>>16&255]]^u.INV_SUB_MIX[2][u.SBOX[n>>>8&255]]^u.INV_SUB_MIX[3][u.SBOX[255&n]];return!0},s.prototype.encryptBlock=function(t){t=n(new e(t));var r=this._doCryptBlock(t,this._keySchedule,u.SUB_MIX,u.SBOX),i=new e(16);return i.writeUInt32BE(r[0],0),i.writeUInt32BE(r[1],4),i.writeUInt32BE(r[2],8),i.writeUInt32BE(r[3],12),i},s.prototype.decryptBlock=function(t){t=n(new e(t));var r=[t[3],t[1]];t[1]=r[0],t[3]=r[1];var i=this._doCryptBlock(t,this._invKeySchedule,u.INV_SUB_MIX,u.INV_SBOX),a=new e(16);return a.writeUInt32BE(i[0],0),a.writeUInt32BE(i[3],4),a.writeUInt32BE(i[2],8),a.writeUInt32BE(i[1],12),a},s.prototype.scrub=function(){i(this._keySchedule),i(this._invKeySchedule),i(this._key)},s.prototype._doCryptBlock=function(e,r,i,a){var n,s,o,u,c,p,m,l,d;s=e[0]^r[0],o=e[1]^r[1],u=e[2]^r[2],c=e[3]^r[3],n=4;for(var h=1;h<this._nRounds;h++)p=i[0][s>>>24]^i[1][o>>>16&255]^i[2][u>>>8&255]^i[3][255&c]^r[n++],m=i[0][o>>>24]^i[1][u>>>16&255]^i[2][c>>>8&255]^i[3][255&s]^r[n++],l=i[0][u>>>24]^i[1][c>>>16&255]^i[2][s>>>8&255]^i[3][255&o]^r[n++],d=i[0][c>>>24]^i[1][s>>>16&255]^i[2][o>>>8&255]^i[3][255&u]^r[n++],s=p,o=m,u=l,c=d;return p=(a[s>>>24]<<24|a[o>>>16&255]<<16|a[u>>>8&255]<<8|a[255&c])^r[n++],m=(a[o>>>24]<<24|a[u>>>16&255]<<16|a[c>>>8&255]<<8|a[255&s])^r[n++],l=(a[u>>>24]<<24|a[c>>>16&255]<<16|a[s>>>8&255]<<8|a[255&o])^r[n++],d=(a[c>>>24]<<24|a[s>>>16&255]<<16|a[o>>>8&255]<<8|a[255&u])^r[n++],[t(p),t(m),t(l),t(d)]},r.AES=s}).call(this,e("buffer").Buffer)},{buffer:81}],88:[function(e,t,r){(function(r){function i(e,t,a,o){if(!(this instanceof i))return new i(e,t,a);s.call(this),this._finID=r.concat([a,new r([0,0,0,1])]),a=r.concat([a,new r([0,0,0,2])]),this._cipher=new n.AES(t),this._prev=new r(a.length),this._cache=new r(""),this._secCache=new r(""),this._decrypt=o,this._alen=0,this._len=0,a.copy(this._prev),this._mode=e;var c=new r(4);c.fill(0),this._ghash=new u(this._cipher.encryptBlock(c)),this._authTag=null,this._called=!1}function a(e,t){var r=0;e.length!==t.length&&r++;for(var i=Math.min(e.length,t.length),a=-1;++a<i;)r+=e[a]^t[a];return r}var n=e("./aes"),s=e("cipher-base"),o=e("inherits"),u=e("./ghash"),c=e("buffer-xor");o(i,s),t.exports=i,i.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;16>t&&(t=new r(t),t.fill(0),this._ghash.update(t))}this._called=!0;var i=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(i),this._len+=e.length,i},i.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=c(this._ghash["final"](8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt){if(a(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data")}else this._authTag=e;this._cipher.scrub()},i.prototype.getAuthTag=function(){if(!this._decrypt&&r.isBuffer(this._authTag))return this._authTag;throw new Error("Attempting to get auth tag in unsupported state")},i.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},i.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length}}).call(this,e("buffer").Buffer)},{"./aes":87,"./ghash":92,buffer:81,"buffer-xor":245,"cipher-base":104,inherits:219}],89:[function(e,t,r){function i(){return Object.keys(s)}var a=e("./encrypter");r.createCipher=r.Cipher=a.createCipher,r.createCipheriv=r.Cipheriv=a.createCipheriv;var n=e("./decrypter");r.createDecipher=r.Decipher=n.createDecipher,r.createDecipheriv=r.Decipheriv=n.createDecipheriv;var s=e("./modes");r.listCiphers=r.getCiphers=i},{"./decrypter":90,"./encrypter":91,"./modes":93}],90:[function(e,t,r){(function(t){function i(e,r,n){return this instanceof i?(c.call(this),this._cache=new a,this._last=void 0,this._cipher=new u.AES(r),this._prev=new t(n.length),n.copy(this._prev),this._mode=e,void(this._autopadding=!0)):new i(e,r,n)}function a(){return this instanceof a?void(this.cache=new t("")):new a}function n(e){for(var t=e[15],r=-1;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");return 16!==t?e.slice(0,16-t):void 0}function s(e,r,a){var n=m[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if("string"==typeof a&&(a=new t(a)),"string"==typeof r&&(r=new t(r)),r.length!==n.key/8)throw new TypeError("invalid key length "+r.length);if(a.length!==n.iv)throw new TypeError("invalid iv length "+a.length);return"stream"===n.type?new l(y[n.mode],r,a,!0):"auth"===n.type?new d(y[n.mode],r,a,!0):new i(y[n.mode],r,a)}function o(e,t){var r=m[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=h(t,!1,r.key,r.iv);return s(e,i.key,i.iv)}var u=e("./aes"),c=e("cipher-base"),p=e("inherits"),m=e("./modes"),l=e("./streamCipher"),d=e("./authCipher"),h=e("evp_bytestokey");p(i,c),i.prototype._update=function(e){this._cache.add(e);for(var r,i,a=[];r=this._cache.get(this._autopadding);)i=this._mode.decrypt(this,r),a.push(i);return t.concat(a)},i.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return n(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},i.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},a.prototype.add=function(e){this.cache=t.concat([this.cache,e])},a.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},a.prototype.flush=function(){return this.cache.length?this.cache:void 0};var y={ECB:e("./modes/ecb"),CBC:e("./modes/cbc"),CFB:e("./modes/cfb"),CFB8:e("./modes/cfb8"),CFB1:e("./modes/cfb1"),OFB:e("./modes/ofb"),CTR:e("./modes/ctr"),GCM:e("./modes/ctr")};r.createDecipher=o,r.createDecipheriv=s}).call(this,e("buffer").Buffer)},{"./aes":87,"./authCipher":88,"./modes":93,"./modes/cbc":94,"./modes/cfb":95,"./modes/cfb1":96,"./modes/cfb8":97,"./modes/ctr":98,"./modes/ecb":99,"./modes/ofb":100,"./streamCipher":101,buffer:81,"cipher-base":104,evp_bytestokey:105,inherits:219}],91:[function(e,t,r){(function(t){function i(e,r,n){return this instanceof i?(u.call(this),this._cache=new a,this._cipher=new o.AES(r),this._prev=new t(n.length),n.copy(this._prev),this._mode=e,void(this._autopadding=!0)):new i(e,r,n)}function a(){return this instanceof a?void(this.cache=new t("")):new a}function n(e,r,a){var n=p[e.toLowerCase()];if(!n)throw new TypeError("invalid suite type");if("string"==typeof a&&(a=new t(a)),"string"==typeof r&&(r=new t(r)),r.length!==n.key/8)throw new TypeError("invalid key length "+r.length);if(a.length!==n.iv)throw new TypeError("invalid iv length "+a.length);return"stream"===n.type?new l(h[n.mode],r,a):"auth"===n.type?new d(h[n.mode],r,a):new i(h[n.mode],r,a)}function s(e,t){var r=p[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=m(t,!1,r.key,r.iv);return n(e,i.key,i.iv)}var o=e("./aes"),u=e("cipher-base"),c=e("inherits"),p=e("./modes"),m=e("evp_bytestokey"),l=e("./streamCipher"),d=e("./authCipher");c(i,u),i.prototype._update=function(e){this._cache.add(e);for(var r,i,a=[];r=this._cache.get();)i=this._mode.encrypt(this,r),a.push(i);return t.concat(a)},i.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if("10101010101010101010101010101010"!==e.toString("hex"))throw this._cipher.scrub(),new Error("data not multiple of block length")},i.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},a.prototype.add=function(e){this.cache=t.concat([this.cache,e])},a.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},a.prototype.flush=function(){for(var e=16-this.cache.length,r=new t(e),i=-1;++i<e;)r.writeUInt8(e,i);var a=t.concat([this.cache,r]);return a};var h={ECB:e("./modes/ecb"),CBC:e("./modes/cbc"),CFB:e("./modes/cfb"),CFB8:e("./modes/cfb8"),CFB1:e("./modes/cfb1"),OFB:e("./modes/ofb"),CTR:e("./modes/ctr"),GCM:e("./modes/ctr")};r.createCipheriv=n,r.createCipher=s}).call(this,e("buffer").Buffer)},{"./aes":87,"./authCipher":88,"./modes":93,"./modes/cbc":94,"./modes/cfb":95,"./modes/cfb1":96,"./modes/cfb8":97,"./modes/ctr":98,"./modes/ecb":99,"./modes/ofb":100,"./streamCipher":101,buffer:81,"cipher-base":104,evp_bytestokey:105,inherits:219}],92:[function(e,t,r){(function(e){function r(t){this.h=t,this.state=new e(16),this.state.fill(0),this.cache=new e("")}function i(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function a(t){t=t.map(n);var r=new e(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r}function n(e){var t,r;return t=e>u||0>e?(r=Math.abs(e)%u,0>e?u-r:r):e}function s(e,t){return[e[0]^t[0],e[1]^t[1],e[2]^t[2],e[3]^t[3]]}var o=new e(16);o.fill(0),t.exports=r,r.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},r.prototype._multiply=function(){for(var e,t,r,n=i(this.h),o=[0,0,0,0],u=-1;++u<128;){for(t=0!==(this.state[~~(u/8)]&1<<7-u%8),t&&(o=s(o,n)),r=0!==(1&n[3]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=a(o)},r.prototype.update=function(t){this.cache=e.concat([this.cache,t]);for(var r;this.cache.length>=16;)r=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(r)},r.prototype["final"]=function(t,r){return this.cache.length&&this.ghash(e.concat([this.cache,o],16)),this.ghash(a([0,t,0,r])),this.state};var u=Math.pow(2,32)}).call(this,e("buffer").Buffer)},{buffer:81}],93:[function(e,t,r){r["aes-128-ecb"]={cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},r["aes-192-ecb"]={cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},r["aes-256-ecb"]={cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},r["aes-128-cbc"]={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},r["aes-192-cbc"]={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},r["aes-256-cbc"]={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},r.aes128=r["aes-128-cbc"],r.aes192=r["aes-192-cbc"],r.aes256=r["aes-256-cbc"],r["aes-128-cfb"]={cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},r["aes-192-cfb"]={cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},r["aes-256-cfb"]={cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},r["aes-128-cfb8"]={cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},r["aes-192-cfb8"]={cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},r["aes-256-cfb8"]={cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},r["aes-128-cfb1"]={cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},r["aes-192-cfb1"]={cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},r["aes-256-cfb1"]={cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},r["aes-128-ofb"]={cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},r["aes-192-ofb"]={cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},r["aes-256-ofb"]={cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},r["aes-128-ctr"]={cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},r["aes-192-ctr"]={cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},r["aes-256-ctr"]={cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},r["aes-128-gcm"]={cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},r["aes-192-gcm"]={cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},r["aes-256-gcm"]={cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}},{}],94:[function(e,t,r){var i=e("buffer-xor");r.encrypt=function(e,t){var r=i(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},r.decrypt=function(e,t){var r=e._prev;e._prev=t;var a=e._cipher.decryptBlock(t);return i(a,r)}},{"buffer-xor":245}],95:[function(e,t,r){(function(t){function i(e,r,i){var n=r.length,s=a(r,e._cache);return e._cache=e._cache.slice(n),e._prev=t.concat([e._prev,i?r:s]),s}var a=e("buffer-xor");r.encrypt=function(e,r,a){for(var n,s=new t("");r.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=new t("")),!(e._cache.length<=r.length)){s=t.concat([s,i(e,r,a)]);break}n=e._cache.length,s=t.concat([s,i(e,r.slice(0,n),a)]),r=r.slice(n)}return s}}).call(this,e("buffer").Buffer)},{buffer:81,"buffer-xor":245}],96:[function(e,t,r){(function(e){function t(e,t,r){for(var a,n,s,o=-1,u=8,c=0;++o<u;)a=e._cipher.encryptBlock(e._prev),n=t&1<<7-o?128:0,s=a[0]^n,c+=(128&s)>>o%8,e._prev=i(e._prev,r?n:s);return c}function i(t,r){var i=t.length,a=-1,n=new e(t.length);for(t=e.concat([t,new e([r])]);++a<i;)n[a]=t[a]<<1|t[a+1]>>7;return n}r.encrypt=function(r,i,a){for(var n=i.length,s=new e(n),o=-1;++o<n;)s[o]=t(r,i[o],a);return s}}).call(this,e("buffer").Buffer)},{buffer:81}],97:[function(e,t,r){(function(e){function t(t,r,i){var a=t._cipher.encryptBlock(t._prev),n=a[0]^r;return t._prev=e.concat([t._prev.slice(1),new e([i?r:n])]),n}r.encrypt=function(r,i,a){for(var n=i.length,s=new e(n),o=-1;++o<n;)s[o]=t(r,i[o],a);return s}}).call(this,e("buffer").Buffer)},{buffer:81}],98:[function(e,t,r){(function(t){function i(e){for(var t,r=e.length;r--;){if(t=e.readUInt8(r),255!==t){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}function a(e){var t=e._cipher.encryptBlock(e._prev);return i(e._prev),t}var n=e("buffer-xor");r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,a(e)]);var i=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,i)}}).call(this,e("buffer").Buffer)},{buffer:81,"buffer-xor":245}],99:[function(e,t,r){r.encrypt=function(e,t){return e._cipher.encryptBlock(t)},r.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},{}],100:[function(e,t,r){(function(t){function i(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}var a=e("buffer-xor");r.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,i(e)]);var n=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),a(r,n)}}).call(this,e("buffer").Buffer)},{buffer:81,"buffer-xor":245}],101:[function(e,t,r){(function(r){function i(e,t,s,o){return this instanceof i?(n.call(this),this._cipher=new a.AES(t),this._prev=new r(s.length),this._cache=new r(""),this._secCache=new r(""),this._decrypt=o,s.copy(this._prev),void(this._mode=e)):new i(e,t,s)}var a=e("./aes"),n=e("cipher-base"),s=e("inherits");s(i,n),t.exports=i,i.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},i.prototype._final=function(){this._cipher.scrub()}}).call(this,e("buffer").Buffer)},{"./aes":87,buffer:81,"cipher-base":104,inherits:219}],102:[function(e,t,r){(function(r){function i(e){a.call(this);var t,i=e.mode.toLowerCase(),n=o[i];t=e.decrypt?"decrypt":"encrypt";var s=e.key;"des-ede"!==i&&"des-ede-cbc"!==i||(s=r.concat([s,s.slice(0,8)]));var u=e.iv;this._des=n.create({key:s,iv:u,type:t})}var a=e("cipher-base"),n=e("des.js"),s=e("inherits"),o={"des-ede3-cbc":n.CBC.instantiate(n.EDE),"des-ede3":n.EDE,"des-ede-cbc":n.CBC.instantiate(n.EDE),"des-ede":n.EDE,"des-cbc":n.CBC.instantiate(n.DES),"des-ecb":n.DES};o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],t.exports=i,s(i,a),i.prototype._update=function(e){return new r(this._des.update(e))},i.prototype._final=function(){return new r(this._des["final"]())}}).call(this,e("buffer").Buffer)},{buffer:81,"cipher-base":104,"des.js":246,inherits:219}],103:[function(e,t,r){r["des-ecb"]={key:8,iv:0},r["des-cbc"]=r.des={key:8,iv:8},r["des-ede3-cbc"]=r.des3={key:24,iv:8},r["des-ede3"]={key:24,iv:0},r["des-ede-cbc"]={key:16,iv:8},r["des-ede"]={key:16,iv:0}},{}],104:[function(e,t,r){(function(r){function i(e){a.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this["final"]=this._finalOrDigest,this._decoder=null,this._encoding=null}var a=e("stream").Transform,n=e("inherits"),s=e("string_decoder").StringDecoder;t.exports=i,n(i,a),i.prototype.update=function(e,t,i){"string"==typeof e&&(e=new r(e,t));var a=this._update(e);return this.hashMode?this:(i&&(a=this._toString(a,i)),a)},i.prototype.setAutoPadding=function(){},i.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},i.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},i.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},i.prototype._transform=function(e,t,r){var i;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(a){i=a}finally{r(i)}},i.prototype._flush=function(e){var t;try{this.push(this._final())}catch(r){t=r}finally{e(t)}},i.prototype._finalOrDigest=function(e){var t=this._final()||new r("");return e&&(t=this._toString(t,e,!0)),t},i.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new s(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var i=this._decoder.write(e);return r&&(i+=this._decoder.end()),i}}).call(this,e("buffer").Buffer)},{buffer:81,inherits:219,stream:238,string_decoder:239}],105:[function(e,t,r){(function(r){function i(e,t,i,n){r.isBuffer(e)||(e=new r(e,"binary")),t&&!r.isBuffer(t)&&(t=new r(t,"binary")),i/=8,n=n||0;for(var s,o,u=0,c=0,p=new r(i),m=new r(n),l=0,d=[];;){if(l++>0&&d.push(s),d.push(e),t&&d.push(t),s=a(r.concat(d)),d=[],o=0,i>0)for(;;){if(0===i)break;if(o===s.length)break;p[u++]=s[o],i--,o++}if(n>0&&o!==s.length)for(;;){if(0===n)break;if(o===s.length)break;m[c++]=s[o],n--,o++}if(0===i&&0===n)break}for(o=0;o<s.length;o++)s[o]=0;return{key:p,iv:m}}var a=e("create-hash/md5");t.exports=i}).call(this,e("buffer").Buffer)},{buffer:81,"create-hash/md5":171}],106:[function(e,t,r){(function(e){"use strict";r["RSA-SHA224"]=r.sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:new e("302d300d06096086480165030402040500041c","hex")},r["RSA-SHA256"]=r.sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:new e("3031300d060960864801650304020105000420","hex")},r["RSA-SHA384"]=r.sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:new e("3041300d060960864801650304020205000430","hex")},r["RSA-SHA512"]=r.sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:new e("3051300d060960864801650304020305000440","hex")},r["RSA-SHA1"]={sign:"rsa",hash:"sha1",id:new e("3021300906052b0e03021a05000414","hex")},r["ecdsa-with-SHA1"]={sign:"ecdsa",hash:"sha1",id:new e("","hex")},r.DSA=r["DSA-SHA1"]=r["DSA-SHA"]={sign:"dsa",hash:"sha1",id:new e("","hex")},r["DSA-SHA224"]=r["DSA-WITH-SHA224"]={sign:"dsa",hash:"sha224",id:new e("","hex")},r["DSA-SHA256"]=r["DSA-WITH-SHA256"]={sign:"dsa",hash:"sha256",id:new e("","hex")},r["DSA-SHA384"]=r["DSA-WITH-SHA384"]={sign:"dsa",hash:"sha384",id:new e("","hex")},r["DSA-SHA512"]=r["DSA-WITH-SHA512"]={sign:"dsa",hash:"sha512",id:new e("","hex")},r["DSA-RIPEMD160"]={sign:"dsa",hash:"rmd160",id:new e("","hex")},r["RSA-RIPEMD160"]=r.ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:new e("3021300906052b2403020105000414","hex")},r["RSA-MD5"]=r.md5WithRSAEncryption={sign:"rsa",hash:"md5",id:new e("3020300c06082a864886f70d020505000410","hex")}}).call(this,e("buffer").Buffer)},{buffer:81}],107:[function(e,t,r){(function(r){function i(e){m.Writable.call(this);var t=d[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=u(t.hash),this._tag=t.id,this._signType=t.sign}function a(e){m.Writable.call(this);var t=d[e];if(!t)throw new Error("Unknown message digest");this._hash=u(t.hash),this._tag=t.id,this._signType=t.sign}function n(e){return new i(e)}function s(e){return new a(e)}var o=e("./algos"),u=e("create-hash"),c=e("inherits"),p=e("./sign"),m=e("stream"),l=e("./verify"),d={};Object.keys(o).forEach(function(e){d[e]=d[e.toLowerCase()]=o[e]}),c(i,m.Writable),i.prototype._write=function(e,t,r){this._hash.update(e),r()},i.prototype.update=function(e,t){return"string"==typeof e&&(e=new r(e,t)),this._hash.update(e),this},i.prototype.sign=function(e,t){this.end();var i=this._hash.digest(),a=p(r.concat([this._tag,i]),e,this._hashType,this._signType);return t?a.toString(t):a},c(a,m.Writable),a.prototype._write=function(e,t,r){this._hash.update(e),r()},a.prototype.update=function(e,t){return"string"==typeof e&&(e=new r(e,t)),this._hash.update(e),this},a.prototype.verify=function(e,t,i){"string"==typeof t&&(t=new r(t,i)),this.end();var a=this._hash.digest();return l(t,r.concat([this._tag,a]),e,this._signType)},t.exports={Sign:n,Verify:s,createSign:n,createVerify:s}}).call(this,e("buffer").Buffer)},{"./algos":106,"./sign":149,"./verify":150,buffer:81,"create-hash":169,inherits:219,stream:238}],108:[function(e,t,r){"use strict";r["1.3.132.0.10"]="secp256k1",r["1.3.132.0.33"]="p224",r["1.2.840.10045.3.1.1"]="p192",r["1.2.840.10045.3.1.7"]="p256",r["1.3.132.0.34"]="p384",r["1.3.132.0.35"]="p521"},{}],109:[function(e,t,r){arguments[4][78][0].apply(r,arguments)},{dup:78}],110:[function(e,t,r){arguments[4][87][0].apply(r,arguments)},{buffer:81,dup:87}],111:[function(e,t,r){arguments[4][88][0].apply(r,arguments)},{"./aes":110,"./ghash":115,buffer:81,"buffer-xor":245,"cipher-base":126,dup:88,inherits:219}],112:[function(e,t,r){arguments[4][89][0].apply(r,arguments)},{"./decrypter":113,"./encrypter":114,"./modes":116,dup:89}],113:[function(e,t,r){arguments[4][90][0].apply(r,arguments)},{"./aes":110,"./authCipher":111,"./modes":116,"./modes/cbc":117,"./modes/cfb":118,"./modes/cfb1":119,"./modes/cfb8":120,"./modes/ctr":121,"./modes/ecb":122,"./modes/ofb":123,"./streamCipher":124,buffer:81,"cipher-base":126,dup:90,evp_bytestokey:144,inherits:219}],114:[function(e,t,r){arguments[4][91][0].apply(r,arguments)},{"./aes":110,"./authCipher":111,"./modes":116,"./modes/cbc":117,"./modes/cfb":118,"./modes/cfb1":119,"./modes/cfb8":120,"./modes/ctr":121,"./modes/ecb":122,"./modes/ofb":123,"./streamCipher":124,buffer:81,"cipher-base":126,dup:91,evp_bytestokey:144,inherits:219}],115:[function(e,t,r){arguments[4][92][0].apply(r,arguments)},{buffer:81,dup:92}],116:[function(e,t,r){arguments[4][93][0].apply(r,arguments)},{dup:93}],117:[function(e,t,r){arguments[4][94][0].apply(r,arguments)},{"buffer-xor":245,dup:94}],118:[function(e,t,r){arguments[4][95][0].apply(r,arguments)},{buffer:81,"buffer-xor":245,dup:95}],119:[function(e,t,r){arguments[4][96][0].apply(r,arguments)},{buffer:81,dup:96}],120:[function(e,t,r){arguments[4][97][0].apply(r,arguments)},{buffer:81,dup:97}],121:[function(e,t,r){arguments[4][98][0].apply(r,arguments)},{buffer:81,"buffer-xor":245,dup:98}],122:[function(e,t,r){arguments[4][99][0].apply(r,arguments)},{dup:99}],123:[function(e,t,r){arguments[4][100][0].apply(r,arguments)},{buffer:81,"buffer-xor":245,dup:100}],124:[function(e,t,r){arguments[4][101][0].apply(r,arguments)},{"./aes":110,buffer:81,"cipher-base":126,dup:101,inherits:219}],125:[function(e,t,r){(function(r){function i(e){var t=n(e),r=t.toRed(s.mont(e.modulus)).redPow(new s(e.publicExponent)).fromRed();return{blinder:r,unblinder:t.invm(e.modulus)}}function a(e,t){var a=i(t),n=t.modulus.byteLength(),o=(s.mont(t.modulus),new s(e).mul(a.blinder).umod(t.modulus)),u=o.toRed(s.mont(t.prime1)),c=o.toRed(s.mont(t.prime2)),p=t.coefficient,m=t.prime1,l=t.prime2,d=u.redPow(t.exponent1),h=c.redPow(t.exponent2);d=d.fromRed(),h=h.fromRed();var y=d.isub(h).imul(p).umod(m);return y.imul(l),h.iadd(y),new r(h.imul(a.unblinder).umod(t.modulus).toArray(!1,n))}function n(e){for(var t=e.modulus.byteLength(),r=new s(o(t));r.cmp(e.modulus)>=0||!r.umod(e.prime1)||!r.umod(e.prime2);)r=new s(o(t));return r}var s=e("bn.js"),o=e("randombytes");t.exports=a,a.getr=n}).call(this,e("buffer").Buffer)},{"bn.js":109,buffer:81,randombytes:217}],126:[function(e,t,r){arguments[4][104][0].apply(r,arguments)},{buffer:81,dup:104,inherits:219,stream:238,string_decoder:239}],127:[function(e,t,r){"use strict";var i=r;i.version=e("../package.json").version,i.utils=e("./elliptic/utils"),i.rand=e("brorand"),i.hmacDRBG=e("./elliptic/hmac-drbg"),i.curve=e("./elliptic/curve"),i.curves=e("./elliptic/curves"),i.ec=e("./elliptic/ec"),i.eddsa=e("./elliptic/eddsa")},{"../package.json":143,"./elliptic/curve":130,"./elliptic/curves":133,"./elliptic/ec":134,"./elliptic/eddsa":137,"./elliptic/hmac-drbg":140,"./elliptic/utils":142,brorand:79}],128:[function(e,t,r){"use strict";function i(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4);var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function a(e,t){this.curve=e,this.type=t,this.precomputed=null}var n=e("bn.js"),s=e("../../elliptic"),o=s.utils,u=o.getNAF,c=o.getJSF,p=o.assert;t.exports=i,i.prototype.point=function(){throw new Error("Not implemented")},i.prototype.validate=function(){throw new Error("Not implemented")},i.prototype._fixedNafMul=function(e,t){p(e.precomputed);var r=e._getDoubles(),i=u(t,1),a=(1<<r.step+1)-(r.step%2===0?2:1);a/=3;for(var n=[],s=0;s<i.length;s+=r.step){for(var o=0,t=s+r.step-1;t>=s;t--)o=(o<<1)+i[t];n.push(o)}for(var c=this.jpoint(null,null,null),m=this.jpoint(null,null,null),l=a;l>0;l--){for(var s=0;s<n.length;s++){var o=n[s];o===l?m=m.mixedAdd(r.points[s]):o===-l&&(m=m.mixedAdd(r.points[s].neg()))}c=c.add(m)}return c.toP()},i.prototype._wnafMul=function(e,t){var r=4,i=e._getNAFPoints(r);r=i.wnd;for(var a=i.points,n=u(t,r),s=this.jpoint(null,null,null),o=n.length-1;o>=0;o--){for(var t=0;o>=0&&0===n[o];o--)t++;if(o>=0&&t++,s=s.dblp(t),0>o)break;var c=n[o];p(0!==c),s="affine"===e.type?c>0?s.mixedAdd(a[c-1>>1]):s.mixedAdd(a[-c-1>>1].neg()):c>0?s.add(a[c-1>>1]):s.add(a[-c-1>>1].neg())}return"affine"===e.type?s.toP():s},i.prototype._wnafMulAdd=function(e,t,r,i,a){for(var n=this._wnafT1,s=this._wnafT2,o=this._wnafT3,p=0,m=0;i>m;m++){var l=t[m],d=l._getNAFPoints(e);n[m]=d.wnd,s[m]=d.points}for(var m=i-1;m>=1;m-=2){var h=m-1,y=m;if(1===n[h]&&1===n[y]){var f=[t[h],null,null,t[y]];0===t[h].y.cmp(t[y].y)?(f[1]=t[h].add(t[y]),f[2]=t[h].toJ().mixedAdd(t[y].neg())):0===t[h].y.cmp(t[y].y.redNeg())?(f[1]=t[h].toJ().mixedAdd(t[y]),f[2]=t[h].add(t[y].neg())):(f[1]=t[h].toJ().mixedAdd(t[y]),f[2]=t[h].toJ().mixedAdd(t[y].neg()));var b=[-3,-1,-5,-7,0,7,5,1,3],g=c(r[h],r[y]);p=Math.max(g[0].length,p),o[h]=new Array(p),o[y]=new Array(p);for(var S=0;p>S;S++){var v=0|g[0][S],I=0|g[1][S];o[h][S]=b[3*(v+1)+(I+1)],o[y][S]=0,s[h]=f}}else o[h]=u(r[h],n[h]),o[y]=u(r[y],n[y]),p=Math.max(o[h].length,p),p=Math.max(o[y].length,p)}for(var N=this.jpoint(null,null,null),k=this._wnafT4,m=p;m>=0;m--){for(var A=0;m>=0;){for(var C=!0,S=0;i>S;S++)k[S]=0|o[S][m],0!==k[S]&&(C=!1);if(!C)break;A++,m--}if(m>=0&&A++,N=N.dblp(A),0>m)break;for(var S=0;i>S;S++){var l,R=k[S];0!==R&&(R>0?l=s[S][R-1>>1]:0>R&&(l=s[S][-R-1>>1].neg()),N="affine"===l.type?N.mixedAdd(l):N.add(l))}}for(var m=0;i>m;m++)s[m]=null;return a?N:N.toP()},i.BasePoint=a,a.prototype.eq=function(){throw new Error("Not implemented")},a.prototype.validate=function(){return this.curve.validate(this)},i.prototype.decodePoint=function(e,t){e=o.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1===2*r){6===e[0]?p(e[e.length-1]%2===0):7===e[0]&&p(e[e.length-1]%2===1);var i=this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));return i}if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},a.prototype.encodeCompressed=function(e){return this.encode(e,!0)},a.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},a.prototype.encode=function(e,t){return o.encode(this._encode(t),e)},a.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},a.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return t?t.points.length>=Math.ceil((e.bitLength()+1)/t.step):!1},a.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],i=this,a=0;t>a;a+=e){for(var n=0;e>n;n++)i=i.dbl();r.push(i)}return{step:e,points:r}},a.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,i=1===r?null:this.dbl(),a=1;r>a;a++)t[a]=t[a-1].add(i);return{wnd:e,points:t}},a.prototype._getBeta=function(){return null},a.prototype.dblp=function(e){for(var t=this,r=0;e>r;r++)t=t.dbl();return t}},{"../../elliptic":127,"bn.js":109}],129:[function(e,t,r){"use strict";function i(e){this.twisted=1!==(0|e.a),this.mOneA=this.twisted&&-1===(0|e.a),this.extended=this.mOneA,c.call(this,"edwards",e),this.a=new o(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),p(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1===(0|e.c)}function a(e,t,r,i,a){c.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===i?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new o(t,16),this.y=new o(r,16),this.z=i?new o(i,16):this.curve.one,this.t=a&&new o(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}var n=e("../curve"),s=e("../../elliptic"),o=e("bn.js"),u=e("inherits"),c=n.base,p=s.utils.assert;u(i,c),t.exports=i,i.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e);
},i.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},i.prototype.jpoint=function(e,t,r,i){return this.point(e,t,r,i)},i.prototype.pointFromX=function(e,t){e=new o(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr(),i=this.c2.redSub(this.a.redMul(r)),a=this.one.redSub(this.c2.redMul(this.d).redMul(r)),n=i.redMul(a.redInvm()),s=n.redSqrt();if(0!==s.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");var u=s.fromRed().isOdd();return(t&&!u||!t&&u)&&(s=s.redNeg()),this.point(e,s)},i.prototype.pointFromY=function(e,t){e=new o(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr(),i=r.redSub(this.one),a=r.redMul(this.d).redAdd(this.one),n=i.redMul(a.redInvm());if(0===n.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=n.redSqrt();if(0!==s.redSqr().redSub(n).cmp(this.zero))throw new Error("invalid point");return s.isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},i.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),i=t.redMul(this.a).redAdd(r),a=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===i.cmp(a)},u(a,c.BasePoint),i.prototype.pointFromJSON=function(e){return a.fromJSON(this,e)},i.prototype.point=function(e,t,r,i){return new a(this,e,t,r,i)},a.fromJSON=function(e,t){return new a(e,t[0],t[1],t[2])},a.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},a.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&0===this.y.cmp(this.z)},a.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var i=this.curve._mulA(e),a=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),n=i.redAdd(t),s=n.redSub(r),o=i.redSub(t),u=a.redMul(s),c=n.redMul(o),p=a.redMul(o),m=s.redMul(n);return this.curve.point(u,c,m,p)},a.prototype._projDbl=function(){var e,t,r,i=this.x.redAdd(this.y).redSqr(),a=this.x.redSqr(),n=this.y.redSqr();if(this.curve.twisted){var s=this.curve._mulA(a),o=s.redAdd(n);if(this.zOne)e=i.redSub(a).redSub(n).redMul(o.redSub(this.curve.two)),t=o.redMul(s.redSub(n)),r=o.redSqr().redSub(o).redSub(o);else{var u=this.z.redSqr(),c=o.redSub(u).redISub(u);e=i.redSub(a).redISub(n).redMul(c),t=o.redMul(s.redSub(n)),r=o.redMul(c)}}else{var s=a.redAdd(n),u=this.curve._mulC(this.c.redMul(this.z)).redSqr(),c=s.redSub(u).redSub(u);e=this.curve._mulC(i.redISub(s)).redMul(c),t=this.curve._mulC(s).redMul(a.redISub(n)),r=s.redMul(c)}return this.curve.point(e,t,r)},a.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},a.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),i=this.t.redMul(this.curve.dd).redMul(e.t),a=this.z.redMul(e.z.redAdd(e.z)),n=r.redSub(t),s=a.redSub(i),o=a.redAdd(i),u=r.redAdd(t),c=n.redMul(s),p=o.redMul(u),m=n.redMul(u),l=s.redMul(o);return this.curve.point(c,p,l,m)},a.prototype._projAdd=function(e){var t,r,i=this.z.redMul(e.z),a=i.redSqr(),n=this.x.redMul(e.x),s=this.y.redMul(e.y),o=this.curve.d.redMul(n).redMul(s),u=a.redSub(o),c=a.redAdd(o),p=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(n).redISub(s),m=i.redMul(u).redMul(p);return this.curve.twisted?(t=i.redMul(c).redMul(s.redSub(this.curve._mulA(n))),r=u.redMul(c)):(t=i.redMul(c).redMul(s.redSub(n)),r=this.curve._mulC(u).redMul(c)),this.curve.point(m,t,r)},a.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},a.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},a.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},a.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},a.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},a.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},a.prototype.getX=function(){return this.normalize(),this.x.fromRed()},a.prototype.getY=function(){return this.normalize(),this.y.fromRed()},a.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},a.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(i),0===this.x.cmp(t))return!0}return!1},a.prototype.toP=a.prototype.normalize,a.prototype.mixedAdd=a.prototype.add},{"../../elliptic":127,"../curve":130,"bn.js":109,inherits:219}],130:[function(e,t,r){"use strict";var i=r;i.base=e("./base"),i["short"]=e("./short"),i.mont=e("./mont"),i.edwards=e("./edwards")},{"./base":128,"./edwards":129,"./mont":131,"./short":132}],131:[function(e,t,r){"use strict";function i(e){u.call(this,"mont",e),this.a=new s(e.a,16).toRed(this.red),this.b=new s(e.b,16).toRed(this.red),this.i4=new s(4).toRed(this.red).redInvm(),this.two=new s(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function a(e,t,r){u.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new s(t,16),this.z=new s(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}var n=e("../curve"),s=e("bn.js"),o=e("inherits"),u=n.base,c=e("../../elliptic"),p=c.utils;o(i,u),t.exports=i,i.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),i=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t),a=i.redSqrt();return 0===a.redSqr().cmp(i)},o(a,u.BasePoint),i.prototype.decodePoint=function(e,t){return this.point(p.toArray(e,t),1)},i.prototype.point=function(e,t){return new a(this,e,t)},i.prototype.pointFromJSON=function(e){return a.fromJSON(this,e)},a.prototype.precompute=function(){},a.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},a.fromJSON=function(e,t){return new a(e,t[0],t[1]||e.one)},a.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},a.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},a.prototype.dbl=function(){var e=this.x.redAdd(this.z),t=e.redSqr(),r=this.x.redSub(this.z),i=r.redSqr(),a=t.redSub(i),n=t.redMul(i),s=a.redMul(i.redAdd(this.curve.a24.redMul(a)));return this.curve.point(n,s)},a.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),i=this.x.redSub(this.z),a=e.x.redAdd(e.z),n=e.x.redSub(e.z),s=n.redMul(r),o=a.redMul(i),u=t.z.redMul(s.redAdd(o).redSqr()),c=t.x.redMul(s.redISub(o).redSqr());return this.curve.point(u,c)},a.prototype.mul=function(e){for(var t=e.clone(),r=this,i=this.curve.point(null,null),a=this,n=[];0!==t.cmpn(0);t.iushrn(1))n.push(t.andln(1));for(var s=n.length-1;s>=0;s--)0===n[s]?(r=r.diffAdd(i,a),i=i.dbl()):(i=r.diffAdd(i,a),r=r.dbl());return i},a.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},a.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},a.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},a.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},{"../../elliptic":127,"../curve":130,"bn.js":109,inherits:219}],132:[function(e,t,r){"use strict";function i(e){p.call(this,"short",e),this.a=new u(e.a,16).toRed(this.red),this.b=new u(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function a(e,t,r,i){p.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new u(t,16),this.y=new u(r,16),i&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function n(e,t,r,i){p.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===i?(this.x=this.curve.one,this.y=this.curve.one,this.z=new u(0)):(this.x=new u(t,16),this.y=new u(r,16),this.z=new u(i,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}var s=e("../curve"),o=e("../../elliptic"),u=e("bn.js"),c=e("inherits"),p=s.base,m=o.utils.assert;c(i,p),t.exports=i,i.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new u(e.beta,16).toRed(this.red);else{var i=this._getEndoRoots(this.p);t=i[0].cmp(i[1])<0?i[0]:i[1],t=t.toRed(this.red)}if(e.lambda)r=new u(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?r=a[0]:(r=a[1],m(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}var n;return n=e.basis?e.basis.map(function(e){return{a:new u(e.a,16),b:new u(e.b,16)}}):this._getEndoBasis(r),{beta:t,lambda:r,basis:n}}},i.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:u.mont(e),r=new u(2).toRed(t).redInvm(),i=r.redNeg(),a=new u(3).toRed(t).redNeg().redSqrt().redMul(r),n=i.redAdd(a).fromRed(),s=i.redSub(a).fromRed();return[n,s]},i.prototype._getEndoBasis=function(e){for(var t,r,i,a,n,s,o,c,p,m=this.n.ushrn(Math.floor(this.n.bitLength()/2)),l=e,d=this.n.clone(),h=new u(1),y=new u(0),f=new u(0),b=new u(1),g=0;0!==l.cmpn(0);){var S=d.div(l);c=d.sub(S.mul(l)),p=f.sub(S.mul(h));var v=b.sub(S.mul(y));if(!i&&c.cmp(m)<0)t=o.neg(),r=h,i=c.neg(),a=p;else if(i&&2===++g)break;o=c,d=l,l=c,f=h,h=p,b=y,y=v}n=c.neg(),s=p;var I=i.sqr().add(a.sqr()),N=n.sqr().add(s.sqr());return N.cmp(I)>=0&&(n=t,s=r),i.negative&&(i=i.neg(),a=a.neg()),n.negative&&(n=n.neg(),s=s.neg()),[{a:i,b:a},{a:n,b:s}]},i.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],i=t[1],a=i.b.mul(e).divRound(this.n),n=r.b.neg().mul(e).divRound(this.n),s=a.mul(r.a),o=n.mul(i.a),u=a.mul(r.b),c=n.mul(i.b),p=e.sub(s).sub(o),m=u.add(c).neg();return{k1:p,k2:m}},i.prototype.pointFromX=function(e,t){e=new u(e,16),e.red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),i=r.redSqrt();if(0!==i.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var a=i.fromRed().isOdd();return(t&&!a||!t&&a)&&(i=i.redNeg()),this.point(e,i)},i.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,i=this.a.redMul(t),a=t.redSqr().redMul(t).redIAdd(i).redIAdd(this.b);return 0===r.redSqr().redISub(a).cmpn(0)},i.prototype._endoWnafMulAdd=function(e,t,r){for(var i=this._endoWnafT1,a=this._endoWnafT2,n=0;n<e.length;n++){var s=this._endoSplit(t[n]),o=e[n],u=o._getBeta();s.k1.negative&&(s.k1.ineg(),o=o.neg(!0)),s.k2.negative&&(s.k2.ineg(),u=u.neg(!0)),i[2*n]=o,i[2*n+1]=u,a[2*n]=s.k1,a[2*n+1]=s.k2}for(var c=this._wnafMulAdd(1,i,a,2*n,r),p=0;2*n>p;p++)i[p]=null,a[p]=null;return c},c(a,p.BasePoint),i.prototype.point=function(e,t,r){return new a(this,e,t,r)},i.prototype.pointFromJSON=function(e,t){return a.fromJSON(this,e,t)},a.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,i=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(i)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(i)}}}return t}},a.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},a.fromJSON=function(e,t,r){function i(t){return e.point(t[0],t[1],r)}"string"==typeof t&&(t=JSON.parse(t));var a=e.point(t[0],t[1],r);if(!t[2])return a;var n=t[2];return a.precomputed={beta:null,doubles:n.doubles&&{step:n.doubles.step,points:[a].concat(n.doubles.points.map(i))},naf:n.naf&&{wnd:n.naf.wnd,points:[a].concat(n.naf.points.map(i))}},a},a.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},a.prototype.isInfinity=function(){return this.inf},a.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),i=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,i)},a.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),i=e.redInvm(),a=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(i),n=a.redSqr().redISub(this.x.redAdd(this.x)),s=a.redMul(this.x.redSub(n)).redISub(this.y);return this.curve.point(n,s)},a.prototype.getX=function(){return this.x.fromRed()},a.prototype.getY=function(){return this.y.fromRed()},a.prototype.mul=function(e){return e=new u(e,16),this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},a.prototype.mulAdd=function(e,t,r){var i=[this,t],a=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(i,a):this.curve._wnafMulAdd(1,i,a,2)},a.prototype.jmulAdd=function(e,t,r){var i=[this,t],a=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(i,a,!0):this.curve._wnafMulAdd(1,i,a,2,!0)},a.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},a.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,i=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(i)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(i)}}}return t},a.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var e=this.curve.jpoint(this.x,this.y,this.curve.one);return e},c(n,p.BasePoint),i.prototype.jpoint=function(e,t,r){return new n(this,e,t,r)},n.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),i=this.y.redMul(t).redMul(e);return this.curve.point(r,i)},n.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},n.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),i=this.x.redMul(t),a=e.x.redMul(r),n=this.y.redMul(t.redMul(e.z)),s=e.y.redMul(r.redMul(this.z)),o=i.redSub(a),u=n.redSub(s);if(0===o.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),p=c.redMul(o),m=i.redMul(c),l=u.redSqr().redIAdd(p).redISub(m).redISub(m),d=u.redMul(m.redISub(l)).redISub(n.redMul(p)),h=this.z.redMul(e.z).redMul(o);return this.curve.jpoint(l,d,h)},n.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,i=e.x.redMul(t),a=this.y,n=e.y.redMul(t).redMul(this.z),s=r.redSub(i),o=a.redSub(n);if(0===s.cmpn(0))return 0!==o.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),p=r.redMul(u),m=o.redSqr().redIAdd(c).redISub(p).redISub(p),l=o.redMul(p.redISub(m)).redISub(a.redMul(c)),d=this.z.redMul(s);return this.curve.jpoint(m,l,d)},n.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,r=0;e>r;r++)t=t.dbl();return t}for(var i=this.curve.a,a=this.curve.tinv,n=this.x,s=this.y,o=this.z,u=o.redSqr().redSqr(),c=s.redAdd(s),r=0;e>r;r++){var p=n.redSqr(),m=c.redSqr(),l=m.redSqr(),d=p.redAdd(p).redIAdd(p).redIAdd(i.redMul(u)),h=n.redMul(m),y=d.redSqr().redISub(h.redAdd(h)),f=h.redISub(y),b=d.redMul(f);b=b.redIAdd(b).redISub(l);var g=c.redMul(o);e>r+1&&(u=u.redMul(l)),n=y,o=g,c=b}return this.curve.jpoint(n,c.redMul(a),o)},n.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},n.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var i=this.x.redSqr(),a=this.y.redSqr(),n=a.redSqr(),s=this.x.redAdd(a).redSqr().redISub(i).redISub(n);s=s.redIAdd(s);var o=i.redAdd(i).redIAdd(i),u=o.redSqr().redISub(s).redISub(s),c=n.redIAdd(n);c=c.redIAdd(c),c=c.redIAdd(c),e=u,t=o.redMul(s.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var p=this.x.redSqr(),m=this.y.redSqr(),l=m.redSqr(),d=this.x.redAdd(m).redSqr().redISub(p).redISub(l);d=d.redIAdd(d);var h=p.redAdd(p).redIAdd(p),y=h.redSqr(),f=l.redIAdd(l);f=f.redIAdd(f),f=f.redIAdd(f),e=y.redISub(d).redISub(d),t=h.redMul(d.redISub(e)).redISub(f),r=this.y.redMul(this.z),r=r.redIAdd(r)}return this.curve.jpoint(e,t,r)},n.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var i=this.x.redSqr(),a=this.y.redSqr(),n=a.redSqr(),s=this.x.redAdd(a).redSqr().redISub(i).redISub(n);s=s.redIAdd(s);var o=i.redAdd(i).redIAdd(i).redIAdd(this.curve.a),u=o.redSqr().redISub(s).redISub(s);e=u;var c=n.redIAdd(n);c=c.redIAdd(c),c=c.redIAdd(c),t=o.redMul(s.redISub(u)).redISub(c),r=this.y.redAdd(this.y)}else{var p=this.z.redSqr(),m=this.y.redSqr(),l=this.x.redMul(m),d=this.x.redSub(p).redMul(this.x.redAdd(p));d=d.redAdd(d).redIAdd(d);var h=l.redIAdd(l);h=h.redIAdd(h);var y=h.redAdd(h);e=d.redSqr().redISub(y),r=this.y.redAdd(this.z).redSqr().redISub(m).redISub(p);var f=m.redSqr();f=f.redIAdd(f),f=f.redIAdd(f),f=f.redIAdd(f),t=d.redMul(h.redISub(e)).redISub(f)}return this.curve.jpoint(e,t,r)},n.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,i=this.z,a=i.redSqr().redSqr(),n=t.redSqr(),s=r.redSqr(),o=n.redAdd(n).redIAdd(n).redIAdd(e.redMul(a)),u=t.redAdd(t);u=u.redIAdd(u);var c=u.redMul(s),p=o.redSqr().redISub(c.redAdd(c)),m=c.redISub(p),l=s.redSqr();l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var d=o.redMul(m).redISub(l),h=r.redAdd(r).redMul(i);return this.curve.jpoint(p,d,h)},n.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),i=t.redSqr(),a=e.redAdd(e).redIAdd(e),n=a.redSqr(),s=this.x.redAdd(t).redSqr().redISub(e).redISub(i);s=s.redIAdd(s),s=s.redAdd(s).redIAdd(s),s=s.redISub(n);var o=s.redSqr(),u=i.redIAdd(i);u=u.redIAdd(u),u=u.redIAdd(u),u=u.redIAdd(u);var c=a.redIAdd(s).redSqr().redISub(n).redISub(o).redISub(u),p=t.redMul(c);p=p.redIAdd(p),p=p.redIAdd(p);var m=this.x.redMul(o).redISub(p);m=m.redIAdd(m),m=m.redIAdd(m);var l=this.y.redMul(c.redMul(u.redISub(c)).redISub(s.redMul(o)));l=l.redIAdd(l),l=l.redIAdd(l),l=l.redIAdd(l);var d=this.z.redAdd(s).redSqr().redISub(r).redISub(o);return this.curve.jpoint(m,l,d)},n.prototype.mul=function(e,t){return e=new u(e,t),this.curve._wnafMul(this,e)},n.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var i=t.redMul(this.z),a=r.redMul(e.z);return 0===this.y.redMul(a).redISub(e.y.redMul(i)).cmpn(0)},n.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var i=e.clone(),a=this.curve.redN.redMul(t);;){if(i.iadd(this.curve.n),i.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(a),0===this.x.cmp(r))return!0}return!1},n.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},n.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},{"../../elliptic":127,"../curve":130,"bn.js":109,inherits:219}],133:[function(e,t,r){"use strict";function i(e){"short"===e.type?this.curve=new o.curve["short"](e):"edwards"===e.type?this.curve=new o.curve.edwards(e):this.curve=new o.curve.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,u(this.g.validate(),"Invalid curve"),u(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function a(e,t){Object.defineProperty(n,e,{configurable:!0,enumerable:!0,get:function(){var r=new i(t);return Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:r}),r}})}var n=r,s=e("hash.js"),o=e("../elliptic"),u=o.utils.assert;n.PresetCurve=i,a("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),a("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),a("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),a("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),a("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),a("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"0",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),a("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var c;try{c=e("./precomputed/secp256k1")}catch(p){c=void 0}a("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",c]})},{"../elliptic":127,"./precomputed/secp256k1":141,"hash.js":252}],134:[function(e,t,r){"use strict";function i(e){return this instanceof i?("string"==typeof e&&(o(n.curves.hasOwnProperty(e),"Unknown curve "+e),e=n.curves[e]),e instanceof n.curves.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),void(this.hash=e.hash||e.curve.hash)):new i(e)}var a=e("bn.js"),n=e("../../elliptic"),s=n.utils,o=s.assert,u=e("./key"),c=e("./signature");t.exports=i,i.prototype.keyPair=function(e){return new u(this,e)},i.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},i.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},i.prototype.genKeyPair=function(e){e||(e={});for(var t=new n.hmacDRBG({hash:this.hash,pers:e.pers,entropy:e.entropy||n.rand(this.hash.hmacStrength),nonce:this.n.toArray()}),r=this.n.byteLength(),i=this.n.sub(new a(2));;){var s=new a(t.generate(r));if(!(s.cmp(i)>0))return s.iaddn(1),this.keyFromPrivate(s)}},i.prototype._truncateToN=function(e,t){var r=8*e.byteLength()-this.n.bitLength();return r>0&&(e=e.ushrn(r)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},i.prototype.sign=function(e,t,r,i){"object"==typeof r&&(i=r,r=null),i||(i={}),t=this.keyFromPrivate(t,r),e=this._truncateToN(new a(e,16));for(var s=this.n.byteLength(),o=t.getPrivate().toArray("be",s),u=e.toArray("be",s),p=new n.hmacDRBG({hash:this.hash,entropy:o,nonce:u,pers:i.pers,persEnc:i.persEnc}),m=this.n.sub(new a(1)),l=0;!0;l++){var d=i.k?i.k(l):new a(p.generate(this.n.byteLength()));if(d=this._truncateToN(d,!0),!(d.cmpn(1)<=0||d.cmp(m)>=0)){var h=this.g.mul(d);if(!h.isInfinity()){var y=h.getX(),f=y.umod(this.n);if(0!==f.cmpn(0)){var b=d.invm(this.n).mul(f.mul(t.getPrivate()).iadd(e));if(b=b.umod(this.n),0!==b.cmpn(0)){var g=(h.getY().isOdd()?1:0)|(0!==y.cmp(f)?2:0);return i.canonical&&b.cmp(this.nh)>0&&(b=this.n.sub(b),g^=1),new c({r:f,s:b,recoveryParam:g})}}}}}},i.prototype.verify=function(e,t,r,i){e=this._truncateToN(new a(e,16)),r=this.keyFromPublic(r,i),t=new c(t,"hex");var n=t.r,s=t.s;if(n.cmpn(1)<0||n.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var o=s.invm(this.n),u=o.mul(e).umod(this.n),p=o.mul(n).umod(this.n);if(!this.curve._maxwellTrick){var m=this.g.mulAdd(u,r.getPublic(),p);return m.isInfinity()?!1:0===m.getX().umod(this.n).cmp(n)}var m=this.g.jmulAdd(u,r.getPublic(),p);return m.isInfinity()?!1:m.eqXToP(n)},i.prototype.recoverPubKey=function(e,t,r,i){o((3&r)===r,"The recovery param is more than two bits"),t=new c(t,i);var n=this.n,s=new a(e),u=t.r,p=t.s,m=1&r,l=r>>1;if(u.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");u=l?this.curve.pointFromX(u.add(this.curve.n),m):this.curve.pointFromX(u,m);var d=n.sub(s),h=t.r.invm(n);return this.g.mulAdd(d,u,p).mul(h)},i.prototype.getKeyRecoveryParam=function(e,t,r,i){if(t=new c(t,i),null!==t.recoveryParam)return t.recoveryParam;for(var a=0;4>a;a++){var n;try{n=this.recoverPubKey(e,t,a)}catch(e){continue}if(n.eq(r))return a}throw new Error("Unable to find valid recovery factor")}},{"../../elliptic":127,"./key":135,"./signature":136,"bn.js":109}],135:[function(e,t,r){"use strict";function i(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}var a=e("bn.js");t.exports=i,i.fromPublic=function(e,t,r){return t instanceof i?t:new i(e,{pub:t,pubEnc:r})},i.fromPrivate=function(e,t,r){return t instanceof i?t:new i(e,{priv:t,privEnc:r})},i.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},i.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(e,t){this.priv=new a(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(e,t){return e.x||e.y?void(this.pub=this.ec.curve.point(e.x,e.y)):void(this.pub=this.ec.curve.decodePoint(e,t))},i.prototype.derive=function(e){return e.mul(this.priv).getX()},i.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},i.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},i.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},{"bn.js":109}],136:[function(e,t,r){"use strict";function i(e,t){return e instanceof i?e:void(this._importDER(e,t)||(m(e.r&&e.s,"Signature without r or s"),this.r=new u(e.r,16),this.s=new u(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam))}function a(){this.place=0}function n(e,t){var r=e[t.place++];if(!(128&r))return r;for(var i=15&r,a=0,n=0,s=t.place;i>n;n++,s++)a<<=8,a|=e[s];return t.place=s,a}function s(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&r>t;)t++;return 0===t?e:e.slice(t)}function o(e,t){if(128>t)return void e.push(t);var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}var u=e("bn.js"),c=e("../../elliptic"),p=c.utils,m=p.assert;t.exports=i,i.prototype._importDER=function(e,t){e=p.toArray(e,t);var r=new a;if(48!==e[r.place++])return!1;var i=n(e,r);if(i+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var s=n(e,r),o=e.slice(r.place,s+r.place);if(r.place+=s,2!==e[r.place++])return!1;var c=n(e,r);if(e.length!==c+r.place)return!1;var m=e.slice(r.place,c+r.place);return 0===o[0]&&128&o[1]&&(o=o.slice(1)),0===m[0]&&128&m[1]&&(m=m.slice(1)),this.r=new u(o),this.s=new u(m),this.recoveryParam=null,!0},i.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=s(t),r=s(r);!(r[0]||128&r[1]);)r=r.slice(1);var i=[2];o(i,t.length),i=i.concat(t),i.push(2),o(i,r.length);var a=i.concat(r),n=[48];return o(n,a.length),n=n.concat(a),p.encode(n,e)}},{"../../elliptic":127,"bn.js":109}],137:[function(e,t,r){"use strict";
function i(e){if(o("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof i))return new i(e);var e=n.curves[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=a.sha512}var a=e("hash.js"),n=e("../../elliptic"),s=n.utils,o=s.assert,u=s.parseBytes,c=e("./key"),p=e("./signature");t.exports=i,i.prototype.sign=function(e,t){e=u(e);var r=this.keyFromSecret(t),i=this.hashInt(r.messagePrefix(),e),a=this.g.mul(i),n=this.encodePoint(a),s=this.hashInt(n,r.pubBytes(),e).mul(r.priv()),o=i.add(s).umod(this.curve.n);return this.makeSignature({R:a,S:o,Rencoded:n})},i.prototype.verify=function(e,t,r){e=u(e),t=this.makeSignature(t);var i=this.keyFromPublic(r),a=this.hashInt(t.Rencoded(),i.pubBytes(),e),n=this.g.mul(t.S()),s=t.R().add(i.pub().mul(a));return s.eq(n)},i.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return s.intFromLE(e.digest()).umod(this.curve.n)},i.prototype.keyFromPublic=function(e){return c.fromPublic(this,e)},i.prototype.keyFromSecret=function(e){return c.fromSecret(this,e)},i.prototype.makeSignature=function(e){return e instanceof p?e:new p(this,e)},i.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},i.prototype.decodePoint=function(e){e=s.parseBytes(e);var t=e.length-1,r=e.slice(0,t).concat(-129&e[t]),i=0!==(128&e[t]),a=s.intFromLE(r);return this.curve.pointFromY(a,i)},i.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},i.prototype.decodeInt=function(e){return s.intFromLE(e)},i.prototype.isPoint=function(e){return e instanceof this.pointClass}},{"../../elliptic":127,"./key":138,"./signature":139,"hash.js":252}],138:[function(e,t,r){"use strict";function i(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}var a=e("../../elliptic"),n=a.utils,s=n.assert,o=n.parseBytes,u=n.cachedProperty;i.fromPublic=function(e,t){return t instanceof i?t:new i(e,{pub:t})},i.fromSecret=function(e,t){return t instanceof i?t:new i(e,{secret:t})},i.prototype.secret=function(){return this._secret},u(i,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),u(i,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),u(i,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,i=t.slice(0,e.encodingLength);return i[0]&=248,i[r]&=127,i[r]|=64,i}),u(i,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),u(i,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),u(i,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),i.prototype.sign=function(e){return s(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},i.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},i.prototype.getSecret=function(e){return s(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},i.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},t.exports=i},{"../../elliptic":127}],139:[function(e,t,r){"use strict";function i(e,t){this.eddsa=e,"object"!=typeof t&&(t=c(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof a&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}var a=e("bn.js"),n=e("../../elliptic"),s=n.utils,o=s.assert,u=s.cachedProperty,c=s.parseBytes;u(i,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),u(i,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),u(i,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),u(i,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),i.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},i.prototype.toHex=function(){return s.encode(this.toBytes(),"hex").toUpperCase()},t.exports=i},{"../../elliptic":127,"bn.js":109}],140:[function(e,t,r){"use strict";function i(e){if(!(this instanceof i))return new i(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this.reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=s.toArray(e.entropy,e.entropyEnc),r=s.toArray(e.nonce,e.nonceEnc),a=s.toArray(e.pers,e.persEnc);o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,a)}var a=e("hash.js"),n=e("../elliptic"),s=n.utils,o=s.assert;t.exports=i,i.prototype._init=function(e,t,r){var i=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var a=0;a<this.V.length;a++)this.K[a]=0,this.V[a]=1;this._update(i),this.reseed=1,this.reseedInterval=281474976710656},i.prototype._hmac=function(){return new a.hmac(this.hash,this.K)},i.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},i.prototype.reseed=function(e,t,r,i){"string"!=typeof t&&(i=r,r=t,t=null),e=s.toBuffer(e,t),r=s.toBuffer(r,i),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this.reseed=1},i.prototype.generate=function(e,t,r,i){if(this.reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(i=r,r=t,t=null),r&&(r=s.toArray(r,i),this._update(r));for(var a=[];a.length<e;)this.V=this._hmac().update(this.V).digest(),a=a.concat(this.V);var n=a.slice(0,e);return this._update(r),this.reseed++,s.encode(n,t)}},{"../elliptic":127,"hash.js":252}],141:[function(e,t,r){t.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]
}}},{}],142:[function(e,t,r){"use strict";function i(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var i=0;i<e.length;i++)r[i]=0|e[i];return r}if(t){if("hex"===t){e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e);for(var i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}}else for(var i=0;i<e.length;i++){var a=e.charCodeAt(i),n=a>>8,s=255&a;n?r.push(n,s):r.push(s)}return r}function a(e){return 1===e.length?"0"+e:e}function n(e){for(var t="",r=0;r<e.length;r++)t+=a(e[r].toString(16));return t}function s(e,t){for(var r=[],i=1<<t+1,a=e.clone();a.cmpn(1)>=0;){var n;if(a.isOdd()){var s=a.andln(i-1);n=s>(i>>1)-1?(i>>1)-s:s,a.isubn(n)}else n=0;r.push(n);for(var o=0!==a.cmpn(0)&&0===a.andln(i-1)?t+1:1,u=1;o>u;u++)r.push(0);a.iushrn(o)}return r}function o(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var i=0,a=0;e.cmpn(-i)>0||t.cmpn(-a)>0;){var n=e.andln(3)+i&3,s=t.andln(3)+a&3;3===n&&(n=-1),3===s&&(s=-1);var o;if(0===(1&n))o=0;else{var u=e.andln(7)+i&7;o=3!==u&&5!==u||2!==s?n:-n}r[0].push(o);var c;if(0===(1&s))c=0;else{var u=t.andln(7)+a&7;c=3!==u&&5!==u||2!==n?s:-s}r[1].push(c),2*i===o+1&&(i=1-i),2*a===c+1&&(a=1-a),e.iushrn(1),t.iushrn(1)}return r}function u(e,t,r){var i="_"+t;e.prototype[t]=function(){return void 0!==this[i]?this[i]:this[i]=r.call(this)}}function c(e){return"string"==typeof e?m.toArray(e,"hex"):e}function p(e){return new l(e,"hex","le")}var m=r,l=e("bn.js");m.assert=function(e,t){if(!e)throw new Error(t||"Assertion failed")},m.toArray=i,m.zero2=a,m.toHex=n,m.encode=function(e,t){return"hex"===t?n(e):e},m.getNAF=s,m.getJSF=o,m.cachedProperty=u,m.parseBytes=c,m.intFromLE=p},{"bn.js":109}],143:[function(e,t,r){t.exports={_args:[["elliptic@^6.0.0","/Users/radekc/aws/js/sdk/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"elliptic@6.3.1",_inCache:!0,_installable:!0,_location:"/browserify/crypto-browserify/browserify-sign/elliptic",_nodeVersion:"6.0.0",_npmOperationalInternal:{host:"packages-16-east.internal.npmjs.com",tmp:"tmp/elliptic-6.3.1.tgz_1465921413402_0.5202967382501811"},_npmUser:{email:"fedor@indutny.com",name:"indutny"},_npmVersion:"3.8.6",_phantomChildren:{},_requested:{name:"elliptic",raw:"elliptic@^6.0.0",rawSpec:"^6.0.0",scope:null,spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/browserify/crypto-browserify/browserify-sign"],_resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.3.1.tgz",_shasum:"17781f2109ab0ec686b146bdcff5d2e8c6aeceda",_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/Users/radekc/aws/js/sdk/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign",author:{email:"fedor@indutny.com",name:"Fedor Indutny"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0",inherits:"^2.0.1"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"17781f2109ab0ec686b146bdcff5d2e8c6aeceda",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.3.1.tgz"},files:["lib"],gitHead:"c53f5cf3d832c0073eb4a4ed423a464cbce68f3e",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{email:"fedor@indutny.com",name:"indutny"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.3.1"}},{}],144:[function(e,t,r){arguments[4][105][0].apply(r,arguments)},{buffer:81,"create-hash/md5":171,dup:105}],145:[function(e,t,r){t.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}},{}],146:[function(e,t,r){var i=e("asn1.js"),a=i.define("RSAPrivateKey",function(){this.seq().obj(this.key("version")["int"](),this.key("modulus")["int"](),this.key("publicExponent")["int"](),this.key("privateExponent")["int"](),this.key("prime1")["int"](),this.key("prime2")["int"](),this.key("exponent1")["int"](),this.key("exponent2")["int"](),this.key("coefficient")["int"]())});r.RSAPrivateKey=a;var n=i.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus")["int"](),this.key("publicExponent")["int"]())});r.RSAPublicKey=n;var s=i.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())});r.PublicKey=s;var o=i.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p")["int"](),this.key("q")["int"](),this.key("g")["int"]()).optional())}),u=i.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version")["int"](),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())});r.PrivateKey=u;var c=i.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters")["int"]())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});r.EncryptedPrivateKey=c;var p=i.define("DSAPrivateKey",function(){this.seq().obj(this.key("version")["int"](),this.key("p")["int"](),this.key("q")["int"](),this.key("g")["int"](),this.key("pub_key")["int"](),this.key("priv_key")["int"]())});r.DSAPrivateKey=p,r.DSAparam=i.define("DSAparam",function(){this["int"]()});var m=i.define("ECPrivateKey",function(){this.seq().obj(this.key("version")["int"](),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(l),this.key("publicKey").optional().explicit(1).bitstr())});r.ECPrivateKey=m;var l=i.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});r.signature=i.define("signature",function(){this.seq().obj(this.key("r")["int"](),this.key("s")["int"]())})},{"asn1.js":64}],147:[function(e,t,r){(function(r){var i=/Proc-Type: 4,ENCRYPTED\r?\nDEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)\r?\n\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n/m,a=/^-----BEGIN (.*) KEY-----\r?\n/m,n=/^-----BEGIN (.*) KEY-----\r?\n([0-9A-z\n\r\+\/\=]+)\r?\n-----END \1 KEY-----$/m,s=e("evp_bytestokey"),o=e("browserify-aes");t.exports=function(e,t){var u,c=e.toString(),p=c.match(i);if(p){var m="aes"+p[1],l=new r(p[2],"hex"),d=new r(p[3].replace(/\r?\n/g,""),"base64"),h=s(t,l.slice(0,8),parseInt(p[1],10)).key,y=[],f=o.createDecipheriv(m,h,l);y.push(f.update(d)),y.push(f["final"]()),u=r.concat(y)}else{var b=c.match(n);u=new r(b[2].replace(/\r?\n/g,""),"base64")}var g=c.match(a)[1]+" KEY";return{tag:g,data:u}}}).call(this,e("buffer").Buffer)},{"browserify-aes":112,buffer:81,evp_bytestokey:144}],148:[function(e,t,r){(function(r){function i(e){var t;"object"!=typeof e||r.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=new r(e));var i,s,u=o(e,t),c=u.tag,p=u.data;switch(c){case"PUBLIC KEY":switch(s=n.PublicKey.decode(p,"der"),i=s.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(s.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return s.subjectPrivateKey=s.subjectPublicKey,{type:"ec",data:s};case"1.2.840.10040.4.1":return s.algorithm.params.pub_key=n.DSAparam.decode(s.subjectPublicKey.data,"der"),{type:"dsa",data:s.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+c);case"ENCRYPTED PRIVATE KEY":p=n.EncryptedPrivateKey.decode(p,"der"),p=a(p,t);case"PRIVATE KEY":switch(s=n.PrivateKey.decode(p,"der"),i=s.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(s.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:s.algorithm.curve,privateKey:n.ECPrivateKey.decode(s.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return s.algorithm.params.priv_key=n.DSAparam.decode(s.subjectPrivateKey,"der"),{type:"dsa",params:s.algorithm.params};default:throw new Error("unknown key id "+i)}throw new Error("unknown key type "+c);case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(p,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(p,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(p,"der")};case"EC PRIVATE KEY":return p=n.ECPrivateKey.decode(p,"der"),{curve:p.parameters.value,privateKey:p.privateKey};default:throw new Error("unknown key type "+c)}}function a(e,t){var i=e.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=s[e.algorithm.decrypt.cipher.algo.join(".")],o=e.algorithm.decrypt.cipher.iv,p=e.subjectPrivateKey,m=parseInt(n.split("-")[1],10)/8,l=c.pbkdf2Sync(t,i,a,m),d=u.createDecipheriv(n,l,o),h=[];return h.push(d.update(p)),h.push(d["final"]()),r.concat(h)}var n=e("./asn1"),s=e("./aesid.json"),o=e("./fixProc"),u=e("browserify-aes"),c=e("pbkdf2");t.exports=i,i.signature=n.signature}).call(this,e("buffer").Buffer)},{"./aesid.json":145,"./asn1":146,"./fixProc":147,"browserify-aes":112,buffer:81,pbkdf2:188}],149:[function(e,t,r){(function(r){function i(e,t,r,i){var s=f(t);if(s.curve){if("ecdsa"!==i)throw new Error("wrong private key type");return a(e,s)}if("dsa"===s.type){if("dsa"!==i)throw new Error("wrong private key type");return n(e,s,r)}if("rsa"!==i)throw new Error("wrong private key type");for(var o=s.modulus.byteLength(),u=[0,1];e.length+u.length+1<o;)u.push(255);u.push(0);for(var c=-1;++c<e.length;)u.push(e[c]);var p=d(u,s);return p}function a(e,t){var i=h[t.curve.join(".")];if(!i)throw new Error("unknown curve "+t.curve.join("."));var a=new g(i),n=a.genKeyPair();n._importPrivate(t.privateKey);var s=n.sign(e);return new r(s.toDER())}function n(e,t,r){for(var i,a=t.params.priv_key,n=t.params.p,c=t.params.q,l=t.params.g,d=new b(0),h=u(e,c).mod(c),y=!1,f=o(a,c,e,r);y===!1;)i=p(c,f,r),d=m(l,i,n,c),y=i.invm(c).imul(h.add(a.mul(d))).mod(c),y.cmpn(0)||(y=!1,d=new b(0));return s(d,y)}function s(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var i=e.length+t.length+4,a=[48,i,2,e.length];return a=a.concat(e,[2,t.length],t),new r(a)}function o(e,t,i,a){if(e=new r(e.toArray()),e.length<t.byteLength()){var n=new r(t.byteLength()-e.length);n.fill(0),e=r.concat([n,e])}var s=i.length,o=c(i,t),u=new r(s);u.fill(1);var p=new r(s);return p.fill(0),p=l(a,p).update(u).update(new r([0])).update(e).update(o).digest(),u=l(a,p).update(u).digest(),p=l(a,p).update(u).update(new r([1])).update(e).update(o).digest(),u=l(a,p).update(u).digest(),{k:p,v:u}}function u(e,t){var r=new b(e),i=(e.length<<3)-t.bitLength();return i>0&&r.ishrn(i),r}function c(e,t){e=u(e,t),e=e.mod(t);var i=new r(e.toArray());if(i.length<t.byteLength()){var a=new r(t.byteLength()-i.length);a.fill(0),i=r.concat([a,i])}return i}function p(e,t,i){var a,n;do{for(a=new r("");8*a.length<e.bitLength();)t.v=l(i,t.k).update(t.v).digest(),a=r.concat([a,t.v]);n=u(a,e),t.k=l(i,t.k).update(t.v).update(new r([0])).digest(),t.v=l(i,t.k).update(t.v).digest()}while(-1!==n.cmp(e));return n}function m(e,t,r,i){return e.toRed(b.mont(r)).redPow(t).fromRed().mod(i)}var l=e("create-hmac"),d=e("browserify-rsa"),h=e("./curves"),y=e("elliptic"),f=e("parse-asn1"),b=e("bn.js"),g=y.ec;t.exports=i,t.exports.getKey=o,t.exports.makeKey=p}).call(this,e("buffer").Buffer)},{"./curves":108,"bn.js":109,"browserify-rsa":125,buffer:81,"create-hmac":182,elliptic:127,"parse-asn1":148}],150:[function(e,t,r){(function(r){function i(e,t,i,s){var o=c(i);if("ec"===o.type){if("ecdsa"!==s)throw new Error("wrong public key type");return a(e,t,o)}if("dsa"===o.type){if("dsa"!==s)throw new Error("wrong public key type");return n(e,t,o)}if("rsa"!==s)throw new Error("wrong public key type");for(var u=o.modulus.byteLength(),m=[1],l=0;t.length+m.length+2<u;)m.push(255),l++;m.push(0);for(var d=-1;++d<t.length;)m.push(t[d]);m=new r(m);var h=p.mont(o.modulus);e=new p(e).toRed(h),e=e.redPow(new p(o.publicExponent)),e=new r(e.fromRed().toArray());var y=0;for(8>l&&(y=1),u=Math.min(e.length,m.length),e.length!==m.length&&(y=1),d=-1;++d<u;)y|=e[d]^m[d];return 0===y}function a(e,t,r){var i=o[r.data.algorithm.curve.join(".")];if(!i)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var a=new m(i),n=r.data.subjectPrivateKey.data;return a.verify(t,e,n)}function n(e,t,r){var i=r.data.p,a=r.data.q,n=r.data.g,o=r.data.pub_key,u=c.signature.decode(e,"der"),m=u.s,l=u.r;s(m,a),s(l,a);var d=p.mont(i),h=m.invm(a),y=n.toRed(d).redPow(new p(t).mul(h).mod(a)).fromRed().mul(o.toRed(d).redPow(l.mul(h).mod(a)).fromRed()).mod(i).mod(a);return!y.cmp(l)}function s(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=t)throw new Error("invalid sig")}var o=e("./curves"),u=e("elliptic"),c=e("parse-asn1"),p=e("bn.js"),m=u.ec;t.exports=i}).call(this,e("buffer").Buffer)},{"./curves":108,"bn.js":109,buffer:81,elliptic:127,"parse-asn1":148}],151:[function(e,t,r){(function(r){function i(e){this.curveType=o[e],this.curveType||(this.curveType={name:e}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function a(e,t,i){Array.isArray(e)||(e=e.toArray());var a=new r(e);if(i&&a.length<i){var n=new r(i-a.length);n.fill(0),a=r.concat([n,a])}return t?a.toString(t):a}var n=e("elliptic"),s=e("bn.js");t.exports=function(e){return new i(e)};var o={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};o.p224=o.secp224r1,o.p256=o.secp256r1=o.prime256v1,o.p192=o.secp192r1=o.prime192v1,o.p384=o.secp384r1,o.p521=o.secp521r1,i.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},i.prototype.computeSecret=function(e,t,i){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var n=this.curve.keyFromPublic(e).getPublic(),s=n.mul(this.keys.getPrivate()).getX();return a(s,i,this.curveType.byteLength)},i.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),a(r,e)},i.prototype.getPrivateKey=function(e){return a(this.keys.getPrivate(),e)},i.prototype.setPublicKey=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.keys._importPublic(e),this},i.prototype.setPrivateKey=function(e,t){t=t||"utf8",r.isBuffer(e)||(e=new r(e,t));var i=new s(e);return i=i.toString(16),this.keys._importPrivate(i),this}}).call(this,e("buffer").Buffer)},{"bn.js":78,buffer:81,elliptic:152}],152:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{"../package.json":168,"./elliptic/curve":155,"./elliptic/curves":158,"./elliptic/ec":159,"./elliptic/eddsa":162,"./elliptic/hmac-drbg":165,"./elliptic/utils":167,brorand:79,dup:127}],153:[function(e,t,r){arguments[4][128][0].apply(r,arguments)},{"../../elliptic":152,"bn.js":78,dup:128}],154:[function(e,t,r){arguments[4][129][0].apply(r,arguments)},{"../../elliptic":152,"../curve":155,"bn.js":78,dup:129,inherits:219}],155:[function(e,t,r){arguments[4][130][0].apply(r,arguments)},{"./base":153,"./edwards":154,"./mont":156,"./short":157,dup:130}],156:[function(e,t,r){arguments[4][131][0].apply(r,arguments)},{"../../elliptic":152,"../curve":155,"bn.js":78,dup:131,inherits:219}],157:[function(e,t,r){arguments[4][132][0].apply(r,arguments)},{"../../elliptic":152,"../curve":155,"bn.js":78,dup:132,inherits:219}],158:[function(e,t,r){arguments[4][133][0].apply(r,arguments)},{"../elliptic":152,"./precomputed/secp256k1":166,dup:133,"hash.js":252}],159:[function(e,t,r){arguments[4][134][0].apply(r,arguments)},{"../../elliptic":152,"./key":160,"./signature":161,"bn.js":78,dup:134}],160:[function(e,t,r){arguments[4][135][0].apply(r,arguments)},{"bn.js":78,dup:135}],161:[function(e,t,r){arguments[4][136][0].apply(r,arguments)},{"../../elliptic":152,"bn.js":78,dup:136}],162:[function(e,t,r){arguments[4][137][0].apply(r,arguments)},{"../../elliptic":152,"./key":163,"./signature":164,dup:137,"hash.js":252}],163:[function(e,t,r){arguments[4][138][0].apply(r,arguments)},{"../../elliptic":152,dup:138}],164:[function(e,t,r){arguments[4][139][0].apply(r,arguments)},{"../../elliptic":152,"bn.js":78,dup:139}],165:[function(e,t,r){arguments[4][140][0].apply(r,arguments)},{"../elliptic":152,dup:140,"hash.js":252}],166:[function(e,t,r){arguments[4][141][0].apply(r,arguments)},{dup:141}],167:[function(e,t,r){arguments[4][142][0].apply(r,arguments)},{"bn.js":78,dup:142}],168:[function(e,t,r){t.exports={_args:[["elliptic@^6.0.0","/Users/radekc/aws/js/sdk/node_modules/browserify/node_modules/crypto-browserify/node_modules/browserify-sign"],["elliptic@^6.0.0","/Users/radekc/aws/js/sdk/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-ecdh"]],_from:"elliptic@>=6.0.0 <7.0.0",_id:"elliptic@6.3.1",_inCache:!0,_installable:!0,_location:"/browserify/crypto-browserify/create-ecdh/elliptic",_nodeVersion:"6.0.0",_npmOperationalInternal:{host:"packages-16-east.internal.npmjs.com",tmp:"tmp/elliptic-6.3.1.tgz_1465921413402_0.5202967382501811"},_npmUser:{email:"fedor@indutny.com",name:"indutny"},_npmVersion:"3.8.6",_phantomChildren:{},_requested:{name:"elliptic",raw:"elliptic@^6.0.0",rawSpec:"^6.0.0",scope:null,spec:">=6.0.0 <7.0.0",type:"range"},_requiredBy:["/browserify/crypto-browserify/create-ecdh"],_shrinkwrap:null,_spec:"elliptic@^6.0.0",_where:"/Users/radekc/aws/js/sdk/node_modules/browserify/node_modules/crypto-browserify/node_modules/create-ecdh",author:{email:"fedor@indutny.com",name:"Fedor Indutny"},bugs:{url:"https://github.com/indutny/elliptic/issues"},dependencies:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0",inherits:"^2.0.1"},description:"EC cryptography",devDependencies:{brfs:"^1.4.3",coveralls:"^2.11.3",grunt:"^0.4.5","grunt-browserify":"^5.0.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^8.6.2",istanbul:"^0.4.2",jscs:"^2.9.0",jshint:"^2.6.0",mocha:"^2.1.0"},directories:{},dist:{shasum:"17781f2109ab0ec686b146bdcff5d2e8c6aeceda",tarball:"https://registry.npmjs.org/elliptic/-/elliptic-6.3.1.tgz"},files:["lib"],gitHead:"c53f5cf3d832c0073eb4a4ed423a464cbce68f3e",homepage:"https://github.com/indutny/elliptic",keywords:["EC","Elliptic","curve","Cryptography"],license:"MIT",main:"lib/elliptic.js",maintainers:[{email:"fedor@indutny.com",name:"indutny"}],name:"elliptic",optionalDependencies:{},readme:"ERROR: No README data found!",repository:{type:"git",url:"git+ssh://git@github.com/indutny/elliptic.git"},scripts:{jscs:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",jshint:"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js",lint:"npm run jscs && npm run jshint",test:"npm run lint && npm run unit",unit:"istanbul test _mocha --reporter=spec test/index.js",version:"grunt dist && git add dist/"},version:"6.3.1"}},{}],169:[function(e,t,r){(function(r){"use strict";function i(e){c.call(this,"digest"),this._hash=e,this.buffers=[]}function a(e){c.call(this,"digest"),this._hash=e}var n=e("inherits"),s=e("./md5"),o=e("ripemd160"),u=e("sha.js"),c=e("cipher-base");n(i,c),i.prototype._update=function(e){this.buffers.push(e)},i.prototype._final=function(){var e=r.concat(this.buffers),t=this._hash(e);return this.buffers=null,t},n(a,c),a.prototype._update=function(e){this._hash.update(e)},a.prototype._final=function(){return this._hash.digest()},t.exports=function(e){return e=e.toLowerCase(),"md5"===e?new i(s):"rmd160"===e||"ripemd160"===e?new i(o):new a(u(e))}}).call(this,e("buffer").Buffer)},{"./md5":171,buffer:81,"cipher-base":172,inherits:219,ripemd160:173,"sha.js":175}],170:[function(e,t,r){(function(e){"use strict";function t(t,r){if(t.length%n!==0){var i=t.length+(n-t.length%n);t=e.concat([t,s],i)}for(var a=[],o=r?t.readInt32BE:t.readInt32LE,u=0;u<t.length;u+=n)a.push(o.call(t,u));return a}function i(t,r,i){for(var a=new e(r),n=i?a.writeInt32BE:a.writeInt32LE,s=0;s<t.length;s++)n.call(a,t[s],4*s,!0);return a}function a(r,a,n,s){e.isBuffer(r)||(r=new e(r));var u=a(t(r,s),r.length*o);return i(u,n,s)}var n=4,s=new e(n);s.fill(0);var o=8;r.hash=a}).call(this,e("buffer").Buffer)},{buffer:81}],171:[function(e,t,r){"use strict";function i(e,t){e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;for(var r=1732584193,i=-271733879,a=-1732584194,p=271733878,m=0;m<e.length;m+=16){var l=r,d=i,h=a,y=p;r=n(r,i,a,p,e[m+0],7,-680876936),p=n(p,r,i,a,e[m+1],12,-389564586),a=n(a,p,r,i,e[m+2],17,606105819),i=n(i,a,p,r,e[m+3],22,-1044525330),r=n(r,i,a,p,e[m+4],7,-176418897),p=n(p,r,i,a,e[m+5],12,1200080426),a=n(a,p,r,i,e[m+6],17,-1473231341),i=n(i,a,p,r,e[m+7],22,-45705983),r=n(r,i,a,p,e[m+8],7,1770035416),p=n(p,r,i,a,e[m+9],12,-1958414417),a=n(a,p,r,i,e[m+10],17,-42063),i=n(i,a,p,r,e[m+11],22,-1990404162),r=n(r,i,a,p,e[m+12],7,1804603682),p=n(p,r,i,a,e[m+13],12,-40341101),a=n(a,p,r,i,e[m+14],17,-1502002290),i=n(i,a,p,r,e[m+15],22,1236535329),r=s(r,i,a,p,e[m+1],5,-165796510),p=s(p,r,i,a,e[m+6],9,-1069501632),a=s(a,p,r,i,e[m+11],14,643717713),i=s(i,a,p,r,e[m+0],20,-373897302),r=s(r,i,a,p,e[m+5],5,-701558691),p=s(p,r,i,a,e[m+10],9,38016083),a=s(a,p,r,i,e[m+15],14,-660478335),i=s(i,a,p,r,e[m+4],20,-405537848),r=s(r,i,a,p,e[m+9],5,568446438),p=s(p,r,i,a,e[m+14],9,-1019803690),a=s(a,p,r,i,e[m+3],14,-187363961),i=s(i,a,p,r,e[m+8],20,1163531501),r=s(r,i,a,p,e[m+13],5,-1444681467),p=s(p,r,i,a,e[m+2],9,-51403784),a=s(a,p,r,i,e[m+7],14,1735328473),i=s(i,a,p,r,e[m+12],20,-1926607734),r=o(r,i,a,p,e[m+5],4,-378558),p=o(p,r,i,a,e[m+8],11,-2022574463),a=o(a,p,r,i,e[m+11],16,1839030562),i=o(i,a,p,r,e[m+14],23,-35309556),r=o(r,i,a,p,e[m+1],4,-1530992060),p=o(p,r,i,a,e[m+4],11,1272893353),a=o(a,p,r,i,e[m+7],16,-155497632),i=o(i,a,p,r,e[m+10],23,-1094730640),r=o(r,i,a,p,e[m+13],4,681279174),p=o(p,r,i,a,e[m+0],11,-358537222),a=o(a,p,r,i,e[m+3],16,-722521979),i=o(i,a,p,r,e[m+6],23,76029189),r=o(r,i,a,p,e[m+9],4,-640364487),p=o(p,r,i,a,e[m+12],11,-421815835),a=o(a,p,r,i,e[m+15],16,530742520),i=o(i,a,p,r,e[m+2],23,-995338651),r=u(r,i,a,p,e[m+0],6,-198630844),p=u(p,r,i,a,e[m+7],10,1126891415),a=u(a,p,r,i,e[m+14],15,-1416354905),i=u(i,a,p,r,e[m+5],21,-57434055),r=u(r,i,a,p,e[m+12],6,1700485571),p=u(p,r,i,a,e[m+3],10,-1894986606),a=u(a,p,r,i,e[m+10],15,-1051523),i=u(i,a,p,r,e[m+1],21,-2054922799),r=u(r,i,a,p,e[m+8],6,1873313359),p=u(p,r,i,a,e[m+15],10,-30611744),a=u(a,p,r,i,e[m+6],15,-1560198380),i=u(i,a,p,r,e[m+13],21,1309151649),r=u(r,i,a,p,e[m+4],6,-145523070),p=u(p,r,i,a,e[m+11],10,-1120210379),a=u(a,p,r,i,e[m+2],15,718787259),i=u(i,a,p,r,e[m+9],21,-343485551),r=c(r,l),i=c(i,d),a=c(a,h),p=c(p,y)}return Array(r,i,a,p)}function a(e,t,r,i,a,n){return c(p(c(c(t,e),c(i,n)),a),r)}function n(e,t,r,i,n,s,o){return a(t&r|~t&i,e,t,n,s,o)}function s(e,t,r,i,n,s,o){return a(t&i|r&~i,e,t,n,s,o)}function o(e,t,r,i,n,s,o){return a(t^r^i,e,t,n,s,o)}function u(e,t,r,i,n,s,o){return a(r^(t|~i),e,t,n,s,o)}function c(e,t){var r=(65535&e)+(65535&t),i=(e>>16)+(t>>16)+(r>>16);return i<<16|65535&r}function p(e,t){return e<<t|e>>>32-t}var m=e("./helpers");t.exports=function(e){return m.hash(e,i,16)}},{"./helpers":170}],172:[function(e,t,r){arguments[4][104][0].apply(r,arguments)},{buffer:81,dup:104,inherits:219,stream:238,string_decoder:239}],173:[function(e,t,r){(function(e){function r(e){for(var t=[],r=0,i=0;r<e.length;r++,i+=8)t[i>>>5]|=e[r]<<24-i%32;return t}function i(e){for(var t=[],r=0;r<32*e.length;r+=8)t.push(e[r>>>5]>>>24-r%32&255);return t}function a(e,t,r){for(var i=0;16>i;i++){var a=r+i,m=t[a];t[a]=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8)}var g,S,v,I,N,k,A,C,R,D;k=g=e[0],A=S=e[1],C=v=e[2],R=I=e[3],D=N=e[4];var T;for(i=0;80>i;i+=1)T=g+t[r+l[i]]|0,T+=16>i?n(S,v,I)+f[0]:32>i?s(S,v,I)+f[1]:48>i?o(S,v,I)+f[2]:64>i?u(S,v,I)+f[3]:c(S,v,I)+f[4],T=0|T,T=p(T,h[i]),T=T+N|0,g=N,N=I,I=p(v,10),v=S,S=T,T=k+t[r+d[i]]|0,T+=16>i?c(A,C,R)+b[0]:32>i?u(A,C,R)+b[1]:48>i?o(A,C,R)+b[2]:64>i?s(A,C,R)+b[3]:n(A,C,R)+b[4],T=0|T,T=p(T,y[i]),T=T+D|0,k=D,D=R,R=p(C,10),C=A,A=T;T=e[1]+v+R|0,e[1]=e[2]+I+D|0,e[2]=e[3]+N+k|0,e[3]=e[4]+g+A|0,e[4]=e[0]+S+C|0,e[0]=T}function n(e,t,r){return e^t^r}function s(e,t,r){return e&t|~e&r}function o(e,t,r){return(e|~t)^r}function u(e,t,r){return e&r|t&~r}function c(e,t,r){return e^(t|~r)}function p(e,t){return e<<t|e>>>32-t}function m(t){var n=[1732584193,4023233417,2562383102,271733878,3285377520];"string"==typeof t&&(t=new e(t,"utf8"));var s=r(t),o=8*t.length,u=8*t.length;s[o>>>5]|=128<<24-o%32,s[(o+64>>>9<<4)+14]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8);for(var c=0;c<s.length;c+=16)a(n,s,c);for(c=0;5>c;c++){var p=n[c];n[c]=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8)}var m=i(n);return new e(m)}var l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],d=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],f=[0,1518500249,1859775393,2400959708,2840853838],b=[1352829926,1548603684,1836072691,2053994217,0];t.exports=m}).call(this,e("buffer").Buffer)},{buffer:81}],174:[function(e,t,r){(function(e){function r(t,r){this._block=new e(t),this._finalSize=r,this._blockSize=t,this._len=0,this._s=0}r.prototype.update=function(t,r){"string"==typeof t&&(r=r||"utf8",t=new e(t,r));for(var i=this._len+=t.length,a=this._s||0,n=0,s=this._block;i>a;){for(var o=Math.min(t.length,n+this._blockSize-a%this._blockSize),u=o-n,c=0;u>c;c++)s[a%this._blockSize+c]=t[c+n];a+=u,n+=u,a%this._blockSize===0&&this._update(s)}return this._s=a,this},r.prototype.digest=function(e){var t=8*this._len;this._block[this._len%this._blockSize]=128,this._block.fill(0,this._len%this._blockSize+1),t%(8*this._blockSize)>=8*this._finalSize&&(this._update(this._block),this._block.fill(0)),this._block.writeInt32BE(t,this._blockSize-4);var r=this._update(this._block)||this._hash();return e?r.toString(e):r},r.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=r}).call(this,e("buffer").Buffer)},{buffer:81}],175:[function(e,t,r){var r=t.exports=function(e){e=e.toLowerCase();var t=r[e];if(!t)throw new Error(e+" is not supported (we accept pull requests)");return new t};r.sha=e("./sha"),r.sha1=e("./sha1"),r.sha224=e("./sha224"),r.sha256=e("./sha256"),r.sha384=e("./sha384"),r.sha512=e("./sha512")},{"./sha":176,"./sha1":177,"./sha224":178,"./sha256":179,"./sha384":180,"./sha512":181}],176:[function(e,t,r){(function(r){function i(){this.init(),this._w=p,u.call(this,64,56)}function a(e){return e<<5|e>>>27}function n(e){return e<<30|e>>>2}function s(e,t,r,i){return 0===e?t&r|~t&i:2===e?t&r|t&i|r&i:t^r^i}var o=e("inherits"),u=e("./hash"),c=[1518500249,1859775393,-1894007588,-899497514],p=new Array(80);o(i,u),i.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},i.prototype._update=function(e){for(var t=this._w,r=0|this._a,i=0|this._b,o=0|this._c,u=0|this._d,p=0|this._e,m=0;16>m;++m)t[m]=e.readInt32BE(4*m);for(;80>m;++m)t[m]=t[m-3]^t[m-8]^t[m-14]^t[m-16];for(var l=0;80>l;++l){var d=~~(l/20),h=a(r)+s(d,i,o,u)+p+t[l]+c[d]|0;p=u,u=o,o=n(i),i=r,r=h}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=u+this._d|0,this._e=p+this._e|0},i.prototype._hash=function(){var e=new r(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=i}).call(this,e("buffer").Buffer)},{"./hash":174,buffer:81,inherits:219}],177:[function(e,t,r){(function(r){function i(){this.init(),this._w=m,c.call(this,64,56)}function a(e){return e<<1|e>>>31}function n(e){return e<<5|e>>>27}function s(e){return e<<30|e>>>2}function o(e,t,r,i){return 0===e?t&r|~t&i:2===e?t&r|t&i|r&i:t^r^i}var u=e("inherits"),c=e("./hash"),p=[1518500249,1859775393,-1894007588,-899497514],m=new Array(80);u(i,c),i.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},i.prototype._update=function(e){for(var t=this._w,r=0|this._a,i=0|this._b,u=0|this._c,c=0|this._d,m=0|this._e,l=0;16>l;++l)t[l]=e.readInt32BE(4*l);for(;80>l;++l)t[l]=a(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var d=0;80>d;++d){var h=~~(d/20),y=n(r)+o(h,i,u,c)+m+t[d]+p[h]|0;m=c,c=u,u=s(i),i=r,r=y}this._a=r+this._a|0,this._b=i+this._b|0,this._c=u+this._c|0,this._d=c+this._d|0,this._e=m+this._e|0},i.prototype._hash=function(){var e=new r(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},t.exports=i}).call(this,e("buffer").Buffer)},{"./hash":174,buffer:81,inherits:219}],178:[function(e,t,r){(function(r){function i(){this.init(),this._w=o,s.call(this,64,56)}var a=e("inherits"),n=e("./sha256"),s=e("./hash"),o=new Array(64);a(i,n),i.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},i.prototype._hash=function(){var e=new r(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},t.exports=i}).call(this,e("buffer").Buffer)},{"./hash":174,"./sha256":179,buffer:81,inherits:219}],179:[function(e,t,r){(function(r){function i(){this.init(),this._w=d,m.call(this,64,56)}function a(e,t,r){return r^e&(t^r)}function n(e,t,r){return e&t|r&(e|t)}function s(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function o(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function u(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function c(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}var p=e("inherits"),m=e("./hash"),l=[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],d=new Array(64);
p(i,m),i.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},i.prototype._update=function(e){for(var t=this._w,r=0|this._a,i=0|this._b,p=0|this._c,m=0|this._d,d=0|this._e,h=0|this._f,y=0|this._g,f=0|this._h,b=0;16>b;++b)t[b]=e.readInt32BE(4*b);for(;64>b;++b)t[b]=c(t[b-2])+t[b-7]+u(t[b-15])+t[b-16]|0;for(var g=0;64>g;++g){var S=f+o(d)+a(d,h,y)+l[g]+t[g]|0,v=s(r)+n(r,i,p)|0;f=y,y=h,h=d,d=m+S|0,m=p,p=i,i=r,r=S+v|0}this._a=r+this._a|0,this._b=i+this._b|0,this._c=p+this._c|0,this._d=m+this._d|0,this._e=d+this._e|0,this._f=h+this._f|0,this._g=y+this._g|0,this._h=f+this._h|0},i.prototype._hash=function(){var e=new r(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},t.exports=i}).call(this,e("buffer").Buffer)},{"./hash":174,buffer:81,inherits:219}],180:[function(e,t,r){(function(r){function i(){this.init(),this._w=o,s.call(this,128,112)}var a=e("inherits"),n=e("./sha512"),s=e("./hash"),o=new Array(160);a(i,n),i.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},i.prototype._hash=function(){function e(e,r,i){t.writeInt32BE(e,i),t.writeInt32BE(r,i+4)}var t=new r(48);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=i}).call(this,e("buffer").Buffer)},{"./hash":174,"./sha512":181,buffer:81,inherits:219}],181:[function(e,t,r){(function(r){function i(){this.init(),this._w=f,h.call(this,128,112)}function a(e,t,r){return r^e&(t^r)}function n(e,t,r){return e&t|r&(e|t)}function s(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function o(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function u(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function c(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function p(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function l(e,t){return t>>>0>e>>>0?1:0}var d=e("inherits"),h=e("./hash"),y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],f=new Array(160);d(i,h),i.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},i.prototype._update=function(e){for(var t=this._w,r=0|this._ah,i=0|this._bh,d=0|this._ch,h=0|this._dh,f=0|this._eh,b=0|this._fh,g=0|this._gh,S=0|this._hh,v=0|this._al,I=0|this._bl,N=0|this._cl,k=0|this._dl,A=0|this._el,C=0|this._fl,R=0|this._gl,D=0|this._hl,T=0;32>T;T+=2)t[T]=e.readInt32BE(4*T),t[T+1]=e.readInt32BE(4*T+4);for(;160>T;T+=2){var w=t[T-30],q=t[T-30+1],x=u(w,q),_=c(q,w);w=t[T-4],q=t[T-4+1];var P=p(w,q),E=m(q,w),M=t[T-14],B=t[T-14+1],L=t[T-32],U=t[T-32+1],G=_+B|0,O=x+M+l(G,_)|0;G=G+E|0,O=O+P+l(G,E)|0,G=G+U|0,O=O+L+l(G,U)|0,t[T]=O,t[T+1]=G}for(var V=0;160>V;V+=2){O=t[V],G=t[V+1];var F=n(r,i,d),j=n(v,I,N),z=s(r,v),K=s(v,r),H=o(f,A),W=o(A,f),Z=y[V],X=y[V+1],Q=a(f,b,g),J=a(A,C,R),Y=D+W|0,$=S+H+l(Y,D)|0;Y=Y+J|0,$=$+Q+l(Y,J)|0,Y=Y+X|0,$=$+Z+l(Y,X)|0,Y=Y+G|0,$=$+O+l(Y,G)|0;var ee=K+j|0,te=z+F+l(ee,K)|0;S=g,D=R,g=b,R=C,b=f,C=A,A=k+Y|0,f=h+$+l(A,k)|0,h=d,k=N,d=i,N=I,i=r,I=v,v=Y+ee|0,r=$+te+l(v,Y)|0}this._al=this._al+v|0,this._bl=this._bl+I|0,this._cl=this._cl+N|0,this._dl=this._dl+k|0,this._el=this._el+A|0,this._fl=this._fl+C|0,this._gl=this._gl+R|0,this._hl=this._hl+D|0,this._ah=this._ah+r+l(this._al,v)|0,this._bh=this._bh+i+l(this._bl,I)|0,this._ch=this._ch+d+l(this._cl,N)|0,this._dh=this._dh+h+l(this._dl,k)|0,this._eh=this._eh+f+l(this._el,A)|0,this._fh=this._fh+b+l(this._fl,C)|0,this._gh=this._gh+g+l(this._gl,R)|0,this._hh=this._hh+S+l(this._hl,D)|0},i.prototype._hash=function(){function e(e,r,i){t.writeInt32BE(e,i),t.writeInt32BE(r,i+4)}var t=new r(64);return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=i}).call(this,e("buffer").Buffer)},{"./hash":174,buffer:81,inherits:219}],182:[function(e,t,r){(function(r){"use strict";function i(e,t){s.call(this),e=e.toLowerCase(),"string"==typeof t&&(t=new r(t));var i="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>i?t=a(e).update(t).digest():t.length<i&&(t=r.concat([t,o],i));for(var n=this._ipad=new r(i),u=this._opad=new r(i),c=0;i>c;c++)n[c]=54^t[c],u[c]=92^t[c];this._hash=a(e).update(n)}var a=e("create-hash/browser"),n=e("inherits"),s=e("stream").Transform,o=new r(128);o.fill(0),n(i,s),i.prototype.update=function(e,t){return this._hash.update(e,t),this},i.prototype._transform=function(e,t,r){this._hash.update(e),r()},i.prototype._flush=function(e){this.push(this.digest()),e()},i.prototype.digest=function(e){var t=this._hash.digest();return a(this._alg).update(this._opad).update(t).digest(e)},t.exports=function(e,t){return new i(e,t)}}).call(this,e("buffer").Buffer)},{buffer:81,"create-hash/browser":169,inherits:219,stream:238}],183:[function(e,t,r){(function(t){function i(e){var r=new t(s[e].prime,"hex"),i=new t(s[e].gen,"hex");return new o(r,i)}function a(e,r,i,s){return t.isBuffer(r)||void 0===u[r]?a(e,"binary",r,i):(r=r||"binary",s=s||"binary",i=i||new t([2]),t.isBuffer(i)||(i=new t(i,s)),"number"==typeof e?new o(n(e,i),i,!0):(t.isBuffer(e)||(e=new t(e,r)),new o(e,i,!0)))}var n=e("./lib/generatePrime"),s=e("./lib/primes.json"),o=e("./lib/dh"),u={binary:!0,hex:!0,base64:!0};r.DiffieHellmanGroup=r.createDiffieHellmanGroup=r.getDiffieHellman=i,r.createDiffieHellman=r.DiffieHellman=a}).call(this,e("buffer").Buffer)},{"./lib/dh":184,"./lib/generatePrime":185,"./lib/primes.json":186,buffer:81}],184:[function(e,t,r){(function(r){function i(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._pub=new u(e),this}function a(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this._priv=new u(e),this}function n(e,t){var r=t.toString("hex"),i=[r,e.toString(16)].join("_");if(i in g)return g[i];var a=0;if(e.isEven()||!f.simpleSieve||!f.fermatTest(e)||!p.test(e))return a+=1,a+="02"===r||"05"===r?8:4,g[i]=a,a;p.test(e.shrn(1))||(a+=2);var n;switch(r){case"02":e.mod(m).cmp(l)&&(a+=8);break;case"05":n=e.mod(d),n.cmp(h)&&n.cmp(y)&&(a+=8);break;default:a+=4}return g[i]=a,a}function s(e,t,r){this.setGenerator(t),this.__prime=new u(e),this._prime=u.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=i,this.setPrivateKey=a):this._primeCode=8}function o(e,t){var i=new r(e.toArray());return t?i.toString(t):i}var u=e("bn.js"),c=e("miller-rabin"),p=new c,m=new u(24),l=new u(11),d=new u(10),h=new u(3),y=new u(7),f=e("./generatePrime"),b=e("randombytes");t.exports=s;var g={};Object.defineProperty(s.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=n(this.__prime,this.__gen)),this._primeCode}}),s.prototype.generateKeys=function(){return this._priv||(this._priv=new u(b(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},s.prototype.computeSecret=function(e){e=new u(e),e=e.toRed(this._prime);var t=e.redPow(this._priv).fromRed(),i=new r(t.toArray()),a=this.getPrime();if(i.length<a.length){var n=new r(a.length-i.length);n.fill(0),i=r.concat([n,i])}return i},s.prototype.getPublicKey=function(e){return o(this._pub,e)},s.prototype.getPrivateKey=function(e){return o(this._priv,e)},s.prototype.getPrime=function(e){return o(this.__prime,e)},s.prototype.getGenerator=function(e){return o(this._gen,e)},s.prototype.setGenerator=function(e,t){return t=t||"utf8",r.isBuffer(e)||(e=new r(e,t)),this.__gen=e,this._gen=new u(e),this}}).call(this,e("buffer").Buffer)},{"./generatePrime":185,"bn.js":78,buffer:81,"miller-rabin":187,randombytes:217}],185:[function(e,t,r){function i(){if(null!==S)return S;var e=1048576,t=[];t[0]=2;for(var r=1,i=3;e>i;i+=2){for(var a=Math.ceil(Math.sqrt(i)),n=0;r>n&&t[n]<=a&&i%t[n]!==0;n++);r!==n&&t[n]<=a||(t[r++]=i)}return S=t,t}function a(e){for(var t=i(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function n(e){var t=u.mont(e);return 0===d.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function s(e,t){if(16>e)return new u(2===t||5===t?[140,123]:[140,39]);t=new u(t);for(var r,i;;){for(r=new u(o(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(l),r.testn(1)||r.iadd(d),t.cmp(d)){if(!t.cmp(h))for(;r.mod(y).cmp(f);)r.iadd(g)}else for(;r.mod(c).cmp(b);)r.iadd(g);if(i=r.shrn(1),a(i)&&a(r)&&n(i)&&n(r)&&m.test(i)&&m.test(r))return r}}var o=e("randombytes");t.exports=s,s.simpleSieve=a,s.fermatTest=n;var u=e("bn.js"),c=new u(24),p=e("miller-rabin"),m=new p,l=new u(1),d=new u(2),h=new u(5),y=(new u(16),new u(8),new u(10)),f=new u(3),b=(new u(7),new u(11)),g=new u(4),S=(new u(12),null)},{"bn.js":78,"miller-rabin":187,randombytes:217}],186:[function(e,t,r){t.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}},{}],187:[function(e,t,r){function i(e){this.rand=e||new n.Rand}var a=e("bn.js"),n=e("brorand");t.exports=i,i.create=function(e){return new i(e)},i.prototype._rand=function(e){var t=e.bitLength(),r=this.rand.generate(Math.ceil(t/8));r[0]|=3;var i=7&t;return 0!==i&&(r[r.length-1]>>=7-i),new a(r)},i.prototype.test=function(e,t,r){var i=e.bitLength(),n=a.mont(e),s=new a(1).toRed(n);t||(t=Math.max(1,i/48|0));for(var o=e.subn(1),u=o.subn(1),c=0;!o.testn(c);c++);for(var p=e.shrn(c),m=o.toRed(n),l=!0;t>0;t--){var d=this._rand(u);r&&r(d);var h=d.toRed(n).redPow(p);if(0!==h.cmp(s)&&0!==h.cmp(m)){for(var y=1;c>y;y++){if(h=h.redSqr(),0===h.cmp(s))return!1;if(0===h.cmp(m))break}if(y===c)return!1}}return l},i.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=a.mont(e),n=new a(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var s=e.subn(1),o=s.subn(1),u=0;!s.testn(u);u++);for(var c=e.shrn(u),p=s.toRed(i);t>0;t--){var m=this._rand(o),l=e.gcd(m);if(0!==l.cmpn(1))return l;var d=m.toRed(i).redPow(c);if(0!==d.cmp(n)&&0!==d.cmp(p)){for(var h=1;u>h;h++){if(d=d.redSqr(),0===d.cmp(n))return d.fromRed().subn(1).gcd(e);if(0===d.cmp(p))break}if(h===u)return d=d.redSqr(),d.fromRed().subn(1).gcd(e)}}return!1}},{"bn.js":78,brorand:79}],188:[function(e,t,r){(function(t){function i(e,t,r,i,n,s){if("function"==typeof n&&(s=n,n=void 0),"function"!=typeof s)throw new Error("No callback provided to pbkdf2");var o=a(e,t,r,i,n);setTimeout(function(){s(void 0,o)})}function a(e,r,i,a,o){if("number"!=typeof i)throw new TypeError("Iterations not a number");if(0>i)throw new TypeError("Bad iterations");if("number"!=typeof a)throw new TypeError("Key length not a number");if(0>a||a>s)throw new TypeError("Bad key length");o=o||"sha1",t.isBuffer(e)||(e=new t(e,"binary")),t.isBuffer(r)||(r=new t(r,"binary"));var u,c=1,p=new t(a),m=new t(r.length+4);r.copy(m,0,0,r.length);for(var l,d,h=1;c>=h;h++){m.writeUInt32BE(h,r.length);var y=n(o,e).update(m).digest();u||(u=y.length,d=new t(u),c=Math.ceil(a/u),l=a-(c-1)*u),y.copy(d,0,0,u);for(var f=1;i>f;f++){y=n(o,e).update(y).digest();for(var b=0;u>b;b++)d[b]^=y[b]}var g=(h-1)*u,S=h===c?l:u;d.copy(p,g,0,S)}return p}var n=e("create-hmac"),s=Math.pow(2,30)-1;r.pbkdf2=i,r.pbkdf2Sync=a}).call(this,e("buffer").Buffer)},{buffer:81,"create-hmac":182}],189:[function(e,t,r){r.publicEncrypt=e("./publicEncrypt"),r.privateDecrypt=e("./privateDecrypt"),r.privateEncrypt=function(e,t){return r.publicEncrypt(e,t,!0)},r.publicDecrypt=function(e,t){return r.privateDecrypt(e,t,!0)}},{"./privateDecrypt":213,"./publicEncrypt":214}],190:[function(e,t,r){(function(r){function i(e){var t=new r(4);return t.writeUInt32BE(e,0),t}var a=e("create-hash");t.exports=function(e,t){for(var n,s=new r(""),o=0;s.length<t;)n=i(o++),s=r.concat([s,a("sha1").update(e).update(n).digest()]);return s.slice(0,t)}}).call(this,e("buffer").Buffer)},{buffer:81,"create-hash":169}],191:[function(e,t,r){arguments[4][87][0].apply(r,arguments)},{buffer:81,dup:87}],192:[function(e,t,r){arguments[4][88][0].apply(r,arguments)},{"./aes":191,"./ghash":196,buffer:81,"buffer-xor":245,"cipher-base":207,dup:88,inherits:219}],193:[function(e,t,r){arguments[4][89][0].apply(r,arguments)},{"./decrypter":194,"./encrypter":195,"./modes":197,dup:89}],194:[function(e,t,r){arguments[4][90][0].apply(r,arguments)},{"./aes":191,"./authCipher":192,"./modes":197,"./modes/cbc":198,"./modes/cfb":199,"./modes/cfb1":200,"./modes/cfb8":201,"./modes/ctr":202,"./modes/ecb":203,"./modes/ofb":204,"./streamCipher":205,buffer:81,"cipher-base":207,dup:90,evp_bytestokey:208,inherits:219}],195:[function(e,t,r){arguments[4][91][0].apply(r,arguments)},{"./aes":191,"./authCipher":192,"./modes":197,"./modes/cbc":198,"./modes/cfb":199,"./modes/cfb1":200,"./modes/cfb8":201,"./modes/ctr":202,"./modes/ecb":203,"./modes/ofb":204,"./streamCipher":205,buffer:81,"cipher-base":207,dup:91,evp_bytestokey:208,inherits:219}],196:[function(e,t,r){arguments[4][92][0].apply(r,arguments)},{buffer:81,dup:92}],197:[function(e,t,r){arguments[4][93][0].apply(r,arguments)},{dup:93}],198:[function(e,t,r){arguments[4][94][0].apply(r,arguments)},{"buffer-xor":245,dup:94}],199:[function(e,t,r){arguments[4][95][0].apply(r,arguments)},{buffer:81,"buffer-xor":245,dup:95}],200:[function(e,t,r){arguments[4][96][0].apply(r,arguments)},{buffer:81,dup:96}],201:[function(e,t,r){arguments[4][97][0].apply(r,arguments)},{buffer:81,dup:97}],202:[function(e,t,r){arguments[4][98][0].apply(r,arguments)},{buffer:81,"buffer-xor":245,dup:98}],203:[function(e,t,r){arguments[4][99][0].apply(r,arguments)},{dup:99}],204:[function(e,t,r){arguments[4][100][0].apply(r,arguments)},{buffer:81,"buffer-xor":245,dup:100}],205:[function(e,t,r){arguments[4][101][0].apply(r,arguments)},{"./aes":191,buffer:81,"cipher-base":207,dup:101,inherits:219}],206:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"bn.js":78,buffer:81,dup:125,randombytes:217}],207:[function(e,t,r){arguments[4][104][0].apply(r,arguments)},{buffer:81,dup:104,inherits:219,stream:238,string_decoder:239}],208:[function(e,t,r){arguments[4][105][0].apply(r,arguments)},{buffer:81,"create-hash/md5":171,dup:105}],209:[function(e,t,r){arguments[4][145][0].apply(r,arguments)},{dup:145}],210:[function(e,t,r){arguments[4][146][0].apply(r,arguments)},{"asn1.js":64,dup:146}],211:[function(e,t,r){arguments[4][147][0].apply(r,arguments)},{"browserify-aes":193,buffer:81,dup:147,evp_bytestokey:208}],212:[function(e,t,r){arguments[4][148][0].apply(r,arguments)},{"./aesid.json":209,"./asn1":210,"./fixProc":211,"browserify-aes":193,buffer:81,dup:148,pbkdf2:188}],213:[function(e,t,r){(function(r){function i(e,t){var i=(e.modulus,e.modulus.byteLength()),a=(t.length,m("sha1").update(new r("")).digest()),s=a.length;if(0!==t[0])throw new Error("decryption error");var c=t.slice(1,s+1),p=t.slice(s+1),l=u(c,o(p,s)),d=u(p,o(l,i-s-1));if(n(a,d.slice(0,s)))throw new Error("decryption error");for(var h=s;0===d[h];)h++;if(1!==d[h++])throw new Error("decryption error");return d.slice(h)}function a(e,t,r){for(var i=t.slice(0,2),a=2,n=0;0!==t[a++];)if(a>=t.length){n++;break}var s=t.slice(2,a-1);t.slice(a-1,a);if(("0002"!==i.toString("hex")&&!r||"0001"!==i.toString("hex")&&r)&&n++,s.length<8&&n++,n)throw new Error("decryption error");return t.slice(a)}function n(e,t){e=new r(e),t=new r(t);var i=0,a=e.length;e.length!==t.length&&(i++,a=Math.min(e.length,t.length));for(var n=-1;++n<a;)i+=e[n]^t[n];return i}var s=e("parse-asn1"),o=e("./mgf"),u=e("./xor"),c=e("bn.js"),p=e("browserify-rsa"),m=e("create-hash"),l=e("./withPublic");t.exports=function(e,t,n){var o;o=e.padding?e.padding:n?1:4;var u=s(e),m=u.modulus.byteLength();if(t.length>m||new c(t).cmp(u.modulus)>=0)throw new Error("decryption error");var d;d=n?l(new c(t),u):p(t,u);var h=new r(m-d.length);if(h.fill(0),d=r.concat([h,d],m),4===o)return i(u,d);if(1===o)return a(u,d,n);if(3===o)return d;throw new Error("unknown padding")}}).call(this,e("buffer").Buffer)},{"./mgf":190,"./withPublic":215,"./xor":216,"bn.js":78,"browserify-rsa":206,buffer:81,"create-hash":169,"parse-asn1":212}],214:[function(e,t,r){(function(r){function i(e,t){var i=e.modulus.byteLength(),a=t.length,n=u("sha1").update(new r("")).digest(),s=n.length,l=2*s;if(a>i-l-2)throw new Error("message too long");var d=new r(i-a-l-2);d.fill(0);var h=i-s-1,y=o(s),f=p(r.concat([n,d,new r([1]),t],h),c(y,h)),b=p(y,c(f,s));return new m(r.concat([new r([0]),b,f],i))}function a(e,t,i){var a=t.length,s=e.modulus.byteLength();if(a>s-11)throw new Error("message too long");var o;return i?(o=new r(s-a-3),o.fill(255)):o=n(s-a-3),new m(r.concat([new r([0,i?1:2]),o,new r([0]),t],s))}function n(e,t){for(var i,a=new r(e),n=0,s=o(2*e),u=0;e>n;)u===s.length&&(s=o(2*e),u=0),i=s[u++],i&&(a[n++]=i);return a}var s=e("parse-asn1"),o=e("randombytes"),u=e("create-hash"),c=e("./mgf"),p=e("./xor"),m=e("bn.js"),l=e("./withPublic"),d=e("browserify-rsa");t.exports=function(e,t,r){var n;n=e.padding?e.padding:r?1:4;var o,u=s(e);if(4===n)o=i(u,t);else if(1===n)o=a(u,t,r);else{if(3!==n)throw new Error("unknown padding");if(o=new m(t),o.cmp(u.modulus)>=0)throw new Error("data too long for modulus")}return r?d(o,u):l(o,u)}}).call(this,e("buffer").Buffer)},{"./mgf":190,"./withPublic":215,"./xor":216,"bn.js":78,"browserify-rsa":206,buffer:81,"create-hash":169,"parse-asn1":212,randombytes:217}],215:[function(e,t,r){(function(r){function i(e,t){return new r(e.toRed(a.mont(t.modulus)).redPow(new a(t.publicExponent)).fromRed().toArray())}var a=e("bn.js");t.exports=i}).call(this,e("buffer").Buffer)},{"bn.js":78,buffer:81}],216:[function(e,t,r){t.exports=function(e,t){for(var r=e.length,i=-1;++i<r;)e[i]^=t[i];return e}},{}],217:[function(e,t,r){(function(e,r,i){"use strict";function a(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}function n(t,a){if(t>65536)throw new Error("requested too many random bytes");var n=new r.Uint8Array(t);t>0&&s.getRandomValues(n);var o=new i(n.buffer);return"function"==typeof a?e.nextTick(function(){a(null,o)}):o}var s=r.crypto||r.msCrypto;s&&s.getRandomValues?t.exports=n:t.exports=a}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer)},{_process:222,buffer:81}],218:[function(e,t,r){function i(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function a(e){return"function"==typeof e}function n(e){return"number"==typeof e}function s(e){return"object"==typeof e&&null!==e}function o(e){return void 0===e}t.exports=i,i.EventEmitter=i,i.prototype._events=void 0,i.prototype._maxListeners=void 0,i.defaultMaxListeners=10,i.prototype.setMaxListeners=function(e){if(!n(e)||0>e||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},i.prototype.emit=function(e){var t,r,i,n,u,c;if(this._events||(this._events={}),"error"===e&&(!this._events.error||s(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;throw TypeError('Uncaught, unspecified "error" event.')}if(r=this._events[e],o(r))return!1;if(a(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(i=arguments.length,n=new Array(i-1),u=1;i>u;u++)n[u-1]=arguments[u];r.apply(this,n)}else if(s(r)){for(i=arguments.length,n=new Array(i-1),u=1;i>u;u++)n[u-1]=arguments[u];for(c=r.slice(),i=c.length,u=0;i>u;u++)c[u].apply(this,n)}return!0},i.prototype.addListener=function(e,t){var r;if(!a(t))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,a(t.listener)?t.listener:t),this._events[e]?s(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,s(this._events[e])&&!this._events[e].warned){var r;r=o(this._maxListeners)?i.defaultMaxListeners:this._maxListeners,r&&r>0&&this._events[e].length>r&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())}return this},i.prototype.on=i.prototype.addListener,i.prototype.once=function(e,t){function r(){this.removeListener(e,r),i||(i=!0,t.apply(this,arguments))}if(!a(t))throw TypeError("listener must be a function");var i=!1;return r.listener=t,this.on(e,r),this},i.prototype.removeListener=function(e,t){var r,i,n,o;if(!a(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(r=this._events[e],n=r.length,i=-1,r===t||a(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(s(r)){for(o=n;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){i=o;break}if(0>i)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(i,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},i.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[e],a(r))this.removeListener(e,r);else for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},i.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?a(this._events[e])?[this._events[e]]:this._events[e].slice():[]},i.listenerCount=function(e,t){var r;return r=e._events&&e._events[t]?a(e._events[t])?1:e._events[t].length:0}},{}],219:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],220:[function(e,t,r){t.exports=function(e){return!(null==e||!(e._isBuffer||e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)))}},{}],221:[function(e,t,r){t.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},{}],222:[function(e,t,r){function i(){if(!o){o=!0;for(var e,t=s.length;t;){e=s,s=[];for(var r=-1;++r<t;)e[r]();t=s.length}o=!1}}function a(){}var n=t.exports={},s=[],o=!1;n.nextTick=function(e){s.push(e),o||setTimeout(i,0)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=a,n.addListener=a,n.once=a,n.off=a,n.removeListener=a,
n.removeAllListeners=a,n.emit=a,n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},{}],223:[function(e,t,r){(function(e){!function(i){function a(e){throw RangeError(P[e])}function n(e,t){for(var r=e.length;r--;)e[r]=t(e[r]);return e}function s(e,t){return n(e.split(_),t).join(".")}function o(e){for(var t,r,i=[],a=0,n=e.length;n>a;)t=e.charCodeAt(a++),t>=55296&&56319>=t&&n>a?(r=e.charCodeAt(a++),56320==(64512&r)?i.push(((1023&t)<<10)+(1023&r)+65536):(i.push(t),a--)):i.push(t);return i}function u(e){return n(e,function(e){var t="";return e>65535&&(e-=65536,t+=B(e>>>10&1023|55296),e=56320|1023&e),t+=B(e)}).join("")}function c(e){return 10>e-48?e-22:26>e-65?e-65:26>e-97?e-97:N}function p(e,t){return e+22+75*(26>e)-((0!=t)<<5)}function m(e,t,r){var i=0;for(e=r?M(e/R):e>>1,e+=M(e/t);e>E*A>>1;i+=N)e=M(e/E);return M(i+(E+1)*e/(e+C))}function l(e){var t,r,i,n,s,o,p,l,d,h,y=[],f=e.length,b=0,g=T,S=D;for(r=e.lastIndexOf(w),0>r&&(r=0),i=0;r>i;++i)e.charCodeAt(i)>=128&&a("not-basic"),y.push(e.charCodeAt(i));for(n=r>0?r+1:0;f>n;){for(s=b,o=1,p=N;n>=f&&a("invalid-input"),l=c(e.charCodeAt(n++)),(l>=N||l>M((I-b)/o))&&a("overflow"),b+=l*o,d=S>=p?k:p>=S+A?A:p-S,!(d>l);p+=N)h=N-d,o>M(I/h)&&a("overflow"),o*=h;t=y.length+1,S=m(b-s,t,0==s),M(b/t)>I-g&&a("overflow"),g+=M(b/t),b%=t,y.splice(b++,0,g)}return u(y)}function d(e){var t,r,i,n,s,u,c,l,d,h,y,f,b,g,S,v=[];for(e=o(e),f=e.length,t=T,r=0,s=D,u=0;f>u;++u)y=e[u],128>y&&v.push(B(y));for(i=n=v.length,n&&v.push(w);f>i;){for(c=I,u=0;f>u;++u)y=e[u],y>=t&&c>y&&(c=y);for(b=i+1,c-t>M((I-r)/b)&&a("overflow"),r+=(c-t)*b,t=c,u=0;f>u;++u)if(y=e[u],t>y&&++r>I&&a("overflow"),y==t){for(l=r,d=N;h=s>=d?k:d>=s+A?A:d-s,!(h>l);d+=N)S=l-h,g=N-h,v.push(B(p(h+S%g,0))),l=M(S/g);v.push(B(p(l,0))),s=m(r,b,i==n),r=0,++i}++r,++t}return v.join("")}function h(e){return s(e,function(e){return q.test(e)?l(e.slice(4).toLowerCase()):e})}function y(e){return s(e,function(e){return x.test(e)?"xn--"+d(e):e})}var f="object"==typeof r&&r,b="object"==typeof t&&t&&t.exports==f&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g||(i=g);var S,v,I=2147483647,N=36,k=1,A=26,C=38,R=700,D=72,T=128,w="-",q=/^xn--/,x=/[^ -~]/,_=/\x2E|\u3002|\uFF0E|\uFF61/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},E=N-k,M=Math.floor,B=String.fromCharCode;if(S={version:"1.2.4",ucs2:{decode:o,encode:u},decode:l,encode:d,toASCII:y,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return S});else if(f&&!f.nodeType)if(b)b.exports=S;else for(v in S)S.hasOwnProperty(v)&&(f[v]=S[v]);else i.punycode=S}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],224:[function(e,t,r){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,n){t=t||"&",r=r||"=";var s={};if("string"!=typeof e||0===e.length)return s;var o=/\+/g;e=e.split(t);var u=1e3;n&&"number"==typeof n.maxKeys&&(u=n.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var p=0;c>p;++p){var m,l,d,h,y=e[p].replace(o,"%20"),f=y.indexOf(r);f>=0?(m=y.substr(0,f),l=y.substr(f+1)):(m=y,l=""),d=decodeURIComponent(m),h=decodeURIComponent(l),i(s,d)?a(s[d])?s[d].push(h):s[d]=[s[d],h]:s[d]=h}return s};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],225:[function(e,t,r){"use strict";function i(e,t){if(e.map)return e.map(t);for(var r=[],i=0;i<e.length;i++)r.push(t(e[i],i));return r}var a=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,r,o){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?i(s(e),function(s){var o=encodeURIComponent(a(s))+r;return n(e[s])?i(e[s],function(e){return o+encodeURIComponent(a(e))}).join(t):o+encodeURIComponent(a(e[s]))}).join(t):o?encodeURIComponent(a(o))+r+encodeURIComponent(a(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},s=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},{}],226:[function(e,t,r){"use strict";r.decode=r.parse=e("./decode"),r.encode=r.stringify=e("./encode")},{"./decode":224,"./encode":225}],227:[function(e,t,r){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":228}],228:[function(e,t,r){(function(r){function i(e){return this instanceof i?(u.call(this,e),c.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",a)):new i(e)}function a(){this.allowHalfOpen||this._writableState.ended||r.nextTick(this.end.bind(this))}function n(e,t){for(var r=0,i=e.length;i>r;r++)t(e[r],r)}t.exports=i;var s=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t},o=e("core-util-is");o.inherits=e("inherits");var u=e("./_stream_readable"),c=e("./_stream_writable");o.inherits(i,u),n(s(c.prototype),function(e){i.prototype[e]||(i.prototype[e]=c.prototype[e])})}).call(this,e("_process"))},{"./_stream_readable":230,"./_stream_writable":232,_process:222,"core-util-is":233,inherits:219}],229:[function(e,t,r){function i(e){return this instanceof i?void a.call(this,e):new i(e)}t.exports=i;var a=e("./_stream_transform"),n=e("core-util-is");n.inherits=e("inherits"),n.inherits(i,a),i.prototype._transform=function(e,t,r){r(null,e)}},{"./_stream_transform":231,"core-util-is":233,inherits:219}],230:[function(e,t,r){(function(r){function i(t,r){var i=e("./_stream_duplex");t=t||{};var a=t.highWaterMark,n=t.objectMode?16:16384;this.highWaterMark=a||0===a?a:n,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!t.objectMode,r instanceof i&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(T||(T=e("string_decoder/").StringDecoder),this.decoder=new T(t.encoding),this.encoding=t.encoding)}function a(t){e("./_stream_duplex");return this instanceof a?(this._readableState=new i(t,this),this.readable=!0,void R.call(this)):new a(t)}function n(e,t,r,i,a){var n=c(t,r);if(n)e.emit("error",n);else if(D.isNullOrUndefined(r))t.reading=!1,t.ended||p(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!a){var o=new Error("stream.push() after EOF");e.emit("error",o)}else if(t.endEmitted&&a){var o=new Error("stream.unshift() after end event");e.emit("error",o)}else!t.decoder||a||i||(r=t.decoder.write(r)),a||(t.reading=!1),t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,a?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&m(e)),d(e,t);else a||(t.reading=!1);return s(t)}function s(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function o(e){if(e>=q)e=q;else{e--;for(var t=1;32>t;t<<=1)e|=e>>t;e++}return e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:isNaN(e)||D.isNull(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:0>=e?0:(e>t.highWaterMark&&(t.highWaterMark=o(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function c(e,t){var r=null;return D.isBuffer(t)||D.isString(t)||D.isNullOrUndefined(t)||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function p(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,m(e)}function m(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?r.nextTick(function(){l(e)}):l(e))}function l(e){w("emit readable"),e.emit("readable"),g(e)}function d(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(function(){h(e,t)}))}function h(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(w("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function y(e){return function(){var t=e._readableState;w("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&C.listenerCount(e,"data")&&(t.flowing=!0,g(e))}}function f(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(function(){b(e,t)}))}function b(e,t){t.resumeScheduled=!1,e.emit("resume"),g(e),t.flowing&&!t.reading&&e.read(0)}function g(e){var t=e._readableState;if(w("flow",t.flowing),t.flowing)do var r=e.read();while(null!==r&&t.flowing)}function S(e,t){var r,i=t.buffer,a=t.length,n=!!t.decoder,s=!!t.objectMode;if(0===i.length)return null;if(0===a)r=null;else if(s)r=i.shift();else if(!e||e>=a)r=n?i.join(""):A.concat(i,a),i.length=0;else if(e<i[0].length){var o=i[0];r=o.slice(0,e),i[0]=o.slice(e)}else if(e===i[0].length)r=i.shift();else{r=n?"":new A(e);for(var u=0,c=0,p=i.length;p>c&&e>u;c++){var o=i[0],m=Math.min(e-u,o.length);n?r+=o.slice(0,m):o.copy(r,u,0,m),m<o.length?i[0]=o.slice(m):i.shift(),u+=m}}return r}function v(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,r.nextTick(function(){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function I(e,t){for(var r=0,i=e.length;i>r;r++)t(e[r],r)}function N(e,t){for(var r=0,i=e.length;i>r;r++)if(e[r]===t)return r;return-1}t.exports=a;var k=e("isarray"),A=e("buffer").Buffer;a.ReadableState=i;var C=e("events").EventEmitter;C.listenerCount||(C.listenerCount=function(e,t){return e.listeners(t).length});var R=e("stream"),D=e("core-util-is");D.inherits=e("inherits");var T,w=e("util");w=w&&w.debuglog?w.debuglog("stream"):function(){},D.inherits(a,R),a.prototype.push=function(e,t){var r=this._readableState;return D.isString(e)&&!r.objectMode&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=new A(e,t),t="")),n(this,r,e,t,!1)},a.prototype.unshift=function(e){var t=this._readableState;return n(this,t,e,"",!0)},a.prototype.setEncoding=function(t){return T||(T=e("string_decoder/").StringDecoder),this._readableState.decoder=new T(t),this._readableState.encoding=t,this};var q=8388608;a.prototype.read=function(e){w("read",e);var t=this._readableState,r=e;if((!D.isNumber(e)||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?v(this):m(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&v(this),null;var i=t.needReadable;w("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&(i=!0,w("length less than watermark",i)),(t.ended||t.reading)&&(i=!1,w("reading or ended",i)),i&&(w("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),i&&!t.reading&&(e=u(r,t));var a;return a=e>0?S(e,t):null,D.isNull(a)&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),r!==e&&t.ended&&0===t.length&&v(this),D.isNull(a)||this.emit("data",a),a},a.prototype._read=function(e){this.emit("error",new Error("not implemented"))},a.prototype.pipe=function(e,t){function i(e){w("onunpipe"),e===m&&n()}function a(){w("onend"),e.end()}function n(){w("cleanup"),e.removeListener("close",u),e.removeListener("finish",c),e.removeListener("drain",f),e.removeListener("error",o),e.removeListener("unpipe",i),m.removeListener("end",a),m.removeListener("end",n),m.removeListener("data",s),!l.awaitDrain||e._writableState&&!e._writableState.needDrain||f()}function s(t){w("ondata");var r=e.write(t);!1===r&&(w("false write response, pause",m._readableState.awaitDrain),m._readableState.awaitDrain++,m.pause())}function o(t){w("onerror",t),p(),e.removeListener("error",o),0===C.listenerCount(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",c),p()}function c(){w("onfinish"),e.removeListener("close",u),p()}function p(){w("unpipe"),m.unpipe(e)}var m=this,l=this._readableState;switch(l.pipesCount){case 0:l.pipes=e;break;case 1:l.pipes=[l.pipes,e];break;default:l.pipes.push(e)}l.pipesCount+=1,w("pipe count=%d opts=%j",l.pipesCount,t);var d=(!t||t.end!==!1)&&e!==r.stdout&&e!==r.stderr,h=d?a:n;l.endEmitted?r.nextTick(h):m.once("end",h),e.on("unpipe",i);var f=y(m);return e.on("drain",f),m.on("data",s),e._events&&e._events.error?k(e._events.error)?e._events.error.unshift(o):e._events.error=[o,e._events.error]:e.on("error",o),e.once("close",u),e.once("finish",c),e.emit("pipe",m),l.flowing||(w("pipe resume"),m.resume()),e},a.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;i>a;a++)r[a].emit("unpipe",this);return this}var a=N(t.pipes,e);return-1===a?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},a.prototype.on=function(e,t){var i=R.prototype.on.call(this,e,t);if("data"===e&&!1!==this._readableState.flowing&&this.resume(),"readable"===e&&this.readable){var a=this._readableState;if(!a.readableListening)if(a.readableListening=!0,a.emittedReadable=!1,a.needReadable=!0,a.reading)a.length&&m(this,a);else{var n=this;r.nextTick(function(){w("readable nexttick read 0"),n.read(0)})}}return i},a.prototype.addListener=a.prototype.on,a.prototype.resume=function(){var e=this._readableState;return e.flowing||(w("resume"),e.flowing=!0,e.reading||(w("resume read 0"),this.read(0)),f(this,e)),this},a.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this},a.prototype.wrap=function(e){var t=this._readableState,r=!1,i=this;e.on("end",function(){if(w("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&i.push(e)}i.push(null)}),e.on("data",function(a){if(w("wrapped data"),t.decoder&&(a=t.decoder.write(a)),a&&(t.objectMode||a.length)){var n=i.push(a);n||(r=!0,e.pause())}});for(var a in e)D.isFunction(e[a])&&D.isUndefined(this[a])&&(this[a]=function(t){return function(){return e[t].apply(e,arguments)}}(a));var n=["error","close","destroy","pause","resume"];return I(n,function(t){e.on(t,i.emit.bind(i,t))}),i._read=function(t){w("wrapped _read",t),r&&(r=!1,e.resume())},i},a._fromList=S}).call(this,e("_process"))},{"./_stream_duplex":228,_process:222,buffer:81,"core-util-is":233,events:218,inherits:219,isarray:221,stream:238,"string_decoder/":239,util:80}],231:[function(e,t,r){function i(e,t){this.afterTransform=function(e,r){return a(t,e,r)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function a(e,t,r){var i=e._transformState;i.transforming=!1;var a=i.writecb;if(!a)return e.emit("error",new Error("no writecb in Transform class"));i.writechunk=null,i.writecb=null,u.isNullOrUndefined(r)||e.push(r),a&&a(t);var n=e._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&e._read(n.highWaterMark)}function n(e){if(!(this instanceof n))return new n(e);o.call(this,e),this._transformState=new i(e,this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("prefinish",function(){u.isFunction(this._flush)?this._flush(function(e){s(t,e)}):s(t)})}function s(e,t){if(t)return e.emit("error",t);var r=e._writableState,i=e._transformState;if(r.length)throw new Error("calling transform done when ws.length != 0");if(i.transforming)throw new Error("calling transform done when still transforming");return e.push(null)}t.exports=n;var o=e("./_stream_duplex"),u=e("core-util-is");u.inherits=e("inherits"),u.inherits(n,o),n.prototype.push=function(e,t){return this._transformState.needTransform=!1,o.prototype.push.call(this,e,t)},n.prototype._transform=function(e,t,r){throw new Error("not implemented")},n.prototype._write=function(e,t,r){var i=this._transformState;if(i.writecb=r,i.writechunk=e,i.writeencoding=t,!i.transforming){var a=this._readableState;(i.needTransform||a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}},n.prototype._read=function(e){var t=this._transformState;u.isNull(t.writechunk)||!t.writecb||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))}},{"./_stream_duplex":228,"core-util-is":233,inherits:219}],232:[function(e,t,r){(function(r){function i(e,t,r){this.chunk=e,this.encoding=t,this.callback=r}function a(t,r){var i=e("./_stream_duplex");t=t||{};var a=t.highWaterMark,n=t.objectMode?16:16384;this.highWaterMark=a||0===a?a:n,this.objectMode=!!t.objectMode,r instanceof i&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var s=t.decodeStrings===!1;this.decodeStrings=!s,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){d(r,e)},this.writecb=null,this.writelen=0,this.buffer=[],this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1}function n(t){var r=e("./_stream_duplex");return this instanceof n||this instanceof r?(this._writableState=new a(t,this),this.writable=!0,void k.call(this)):new n(t)}function s(e,t,i){var a=new Error("write after end");e.emit("error",a),r.nextTick(function(){i(a)})}function o(e,t,i,a){var n=!0;if(!(N.isBuffer(i)||N.isString(i)||N.isNullOrUndefined(i)||t.objectMode)){var s=new TypeError("Invalid non-string/buffer chunk");e.emit("error",s),r.nextTick(function(){a(s)}),n=!1}return n}function u(e,t,r){return!e.objectMode&&e.decodeStrings!==!1&&N.isString(t)&&(t=new I(t,r)),t}function c(e,t,r,a,n){r=u(t,r,a),N.isBuffer(r)&&(a="buffer");var s=t.objectMode?1:r.length;t.length+=s;var o=t.length<t.highWaterMark;return o||(t.needDrain=!0),t.writing||t.corked?t.buffer.push(new i(r,a,n)):p(e,t,!1,s,r,a,n),o}function p(e,t,r,i,a,n,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,r?e._writev(a,t.onwrite):e._write(a,n,t.onwrite),t.sync=!1}function m(e,t,i,a,n){i?r.nextTick(function(){t.pendingcb--,n(a)}):(t.pendingcb--,n(a)),e._writableState.errorEmitted=!0,e.emit("error",a)}function l(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function d(e,t){var i=e._writableState,a=i.sync,n=i.writecb;if(l(i),t)m(e,i,a,t,n);else{var s=b(e,i);s||i.corked||i.bufferProcessing||!i.buffer.length||f(e,i),a?r.nextTick(function(){h(e,i,s,n)}):h(e,i,s,n)}}function h(e,t,r,i){r||y(e,t),t.pendingcb--,i(),S(e,t)}function y(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function f(e,t){if(t.bufferProcessing=!0,e._writev&&t.buffer.length>1){for(var r=[],i=0;i<t.buffer.length;i++)r.push(t.buffer[i].callback);t.pendingcb++,p(e,t,!0,t.length,t.buffer,"",function(e){for(var i=0;i<r.length;i++)t.pendingcb--,r[i](e)}),t.buffer=[]}else{for(var i=0;i<t.buffer.length;i++){var a=t.buffer[i],n=a.chunk,s=a.encoding,o=a.callback,u=t.objectMode?1:n.length;if(p(e,t,!1,u,n,s,o),t.writing){i++;break}}i<t.buffer.length?t.buffer=t.buffer.slice(i):t.buffer.length=0}t.bufferProcessing=!1}function b(e,t){return t.ending&&0===t.length&&!t.finished&&!t.writing}function g(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function S(e,t){var r=b(e,t);return r&&(0===t.pendingcb?(g(e,t),t.finished=!0,e.emit("finish")):g(e,t)),r}function v(e,t,i){t.ending=!0,S(e,t),i&&(t.finished?r.nextTick(i):e.once("finish",i)),t.ended=!0}t.exports=n;var I=e("buffer").Buffer;n.WritableState=a;var N=e("core-util-is");N.inherits=e("inherits");var k=e("stream");N.inherits(n,k),n.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},n.prototype.write=function(e,t,r){var i=this._writableState,a=!1;return N.isFunction(t)&&(r=t,t=null),N.isBuffer(e)?t="buffer":t||(t=i.defaultEncoding),N.isFunction(r)||(r=function(){}),i.ended?s(this,i,r):o(this,i,e,r)&&(i.pendingcb++,a=c(this,i,e,t,r)),a},n.prototype.cork=function(){var e=this._writableState;e.corked++},n.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.buffer.length||f(this,e))},n.prototype._write=function(e,t,r){r(new Error("not implemented"))},n.prototype._writev=null,n.prototype.end=function(e,t,r){var i=this._writableState;N.isFunction(e)?(r=e,e=null,t=null):N.isFunction(t)&&(r=t,t=null),N.isNullOrUndefined(e)||this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||i.finished||v(this,i,r)}}).call(this,e("_process"))},{"./_stream_duplex":228,_process:222,buffer:81,"core-util-is":233,inherits:219,stream:238}],233:[function(e,t,r){(function(e){function t(e){return Array.isArray?Array.isArray(e):"[object Array]"===f(e)}function i(e){return"boolean"==typeof e}function a(e){return null===e}function n(e){return null==e}function s(e){return"number"==typeof e}function o(e){return"string"==typeof e}function u(e){return"symbol"==typeof e}function c(e){return void 0===e}function p(e){return"[object RegExp]"===f(e)}function m(e){return"object"==typeof e&&null!==e}function l(e){return"[object Date]"===f(e)}function d(e){return"[object Error]"===f(e)||e instanceof Error}function h(e){return"function"==typeof e}function y(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function f(e){return Object.prototype.toString.call(e)}r.isArray=t,r.isBoolean=i,r.isNull=a,r.isNullOrUndefined=n,r.isNumber=s,r.isString=o,r.isSymbol=u,r.isUndefined=c,r.isRegExp=p,r.isObject=m,r.isDate=l,r.isError=d,r.isFunction=h,r.isPrimitive=y,r.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../../../insert-module-globals/node_modules/is-buffer/index.js")})},{"../../../../insert-module-globals/node_modules/is-buffer/index.js":220}],234:[function(e,t,r){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":229}],235:[function(e,t,r){(function(i){r=t.exports=e("./lib/_stream_readable.js"),r.Stream=e("stream"),r.Readable=r,r.Writable=e("./lib/_stream_writable.js"),r.Duplex=e("./lib/_stream_duplex.js"),r.Transform=e("./lib/_stream_transform.js"),r.PassThrough=e("./lib/_stream_passthrough.js"),i.browser||"disable"!==i.env.READABLE_STREAM||(t.exports=e("stream"))}).call(this,e("_process"))},{"./lib/_stream_duplex.js":228,"./lib/_stream_passthrough.js":229,"./lib/_stream_readable.js":230,"./lib/_stream_transform.js":231,"./lib/_stream_writable.js":232,_process:222,stream:238}],236:[function(e,t,r){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":231}],237:[function(e,t,r){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":232}],238:[function(e,t,r){function i(){a.call(this)}t.exports=i;var a=e("events").EventEmitter,n=e("inherits");n(i,a),i.Readable=e("readable-stream/readable.js"),i.Writable=e("readable-stream/writable.js"),i.Duplex=e("readable-stream/duplex.js"),i.Transform=e("readable-stream/transform.js"),i.PassThrough=e("readable-stream/passthrough.js"),i.Stream=i,i.prototype.pipe=function(e,t){function r(t){e.writable&&!1===e.write(t)&&c.pause&&c.pause()}function i(){c.readable&&c.resume&&c.resume()}function n(){p||(p=!0,e.end())}function s(){p||(p=!0,"function"==typeof e.destroy&&e.destroy())}function o(e){if(u(),0===a.listenerCount(this,"error"))throw e}function u(){c.removeListener("data",r),e.removeListener("drain",i),c.removeListener("end",n),c.removeListener("close",s),c.removeListener("error",o),e.removeListener("error",o),c.removeListener("end",u),c.removeListener("close",u),e.removeListener("close",u)}var c=this;c.on("data",r),e.on("drain",i),e._isStdio||t&&t.end===!1||(c.on("end",n),c.on("close",s));var p=!1;return c.on("error",o),e.on("error",o),c.on("end",u),c.on("close",u),e.on("close",u),e.emit("pipe",c),e}},{events:218,inherits:219,"readable-stream/duplex.js":227,"readable-stream/passthrough.js":234,"readable-stream/readable.js":235,"readable-stream/transform.js":236,"readable-stream/writable.js":237}],239:[function(e,t,r){function i(e){if(e&&!u(e))throw new Error("Unknown encoding: "+e)}function a(e){return e.toString(this.encoding)}function n(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function s(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var o=e("buffer").Buffer,u=o.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},c=r.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),i(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=n;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=s;break;default:return void(this.write=a)}this.charBuffer=new o(6),this.charReceived=0,this.charLength=0};c.prototype.write=function(e){for(var t="";this.charLength;){var r=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,r),this.charReceived+=r,this.charReceived<this.charLength)return"";e=e.slice(r,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var i=t.charCodeAt(t.length-1);if(!(i>=55296&&56319>=i)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var a=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,a),a-=this.charReceived),t+=e.toString(this.encoding,0,a);var a=t.length-1,i=t.charCodeAt(a);if(i>=55296&&56319>=i){var n=this.surrogateSize;return this.charLength+=n,this.charReceived+=n,this.charBuffer.copy(this.charBuffer,n,0,n),e.copy(this.charBuffer,0,0,n),t.substring(0,a)}return t},c.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var r=e[e.length-t];if(1==t&&r>>5==6){this.charLength=2;break}if(2>=t&&r>>4==14){this.charLength=3;break}if(3>=t&&r>>3==30){this.charLength=4;break}}this.charReceived=t},c.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var r=this.charReceived,i=this.charBuffer,a=this.encoding;t+=i.slice(0,r).toString(a)}return t}},{buffer:81}],240:[function(e,t,r){function i(){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}function a(e,t,r){if(e&&c(e)&&e instanceof i)return e;var a=new i;return a.parse(e,t,r),a}function n(e){return u(e)&&(e=a(e)),e instanceof i?e.format():i.prototype.format.call(e)}function s(e,t){return a(e,!1,!0).resolve(t)}function o(e,t){return e?a(e,!1,!0).resolveObject(t):t}function u(e){return"string"==typeof e}function c(e){return"object"==typeof e&&null!==e}function p(e){return null===e}function m(e){return null==e}var l=e("punycode");r.parse=a,r.resolve=s,r.resolveObject=o,r.format=n,r.Url=i;var d=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,y=["<",">",'"',"`"," ","\r","\n","	"],f=["{","}","|","\\","^","`"].concat(y),b=["'"].concat(f),g=["%","/","?",";","#"].concat(b),S=["/","?","#"],v=255,I=/^[a-z0-9A-Z_-]{0,63}$/,N=/^([a-z0-9A-Z_-]{0,63})(.*)$/,k={javascript:!0,"javascript:":!0},A={javascript:!0,"javascript:":!0},C={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},R=e("querystring");i.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e;i=i.trim();var a=d.exec(i);if(a){a=a[0];var n=a.toLowerCase();this.protocol=n,i=i.substr(a.length)}if(r||a||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var s="//"===i.substr(0,2);!s||a&&A[a]||(i=i.substr(2),this.slashes=!0)}if(!A[a]&&(s||a&&!C[a])){for(var o=-1,c=0;c<S.length;c++){var p=i.indexOf(S[c]);-1!==p&&(-1===o||o>p)&&(o=p)}var m,h;h=-1===o?i.lastIndexOf("@"):i.lastIndexOf("@",o),-1!==h&&(m=i.slice(0,h),i=i.slice(h+1),this.auth=decodeURIComponent(m)),o=-1;for(var c=0;c<g.length;c++){var p=i.indexOf(g[c]);-1!==p&&(-1===o||o>p)&&(o=p)}-1===o&&(o=i.length),this.host=i.slice(0,o),i=i.slice(o),this.parseHost(),this.hostname=this.hostname||"";var y="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!y)for(var f=this.hostname.split(/\./),c=0,D=f.length;D>c;c++){var T=f[c];if(T&&!T.match(I)){for(var w="",q=0,x=T.length;x>q;q++)w+=T.charCodeAt(q)>127?"x":T[q];if(!w.match(I)){var _=f.slice(0,c),P=f.slice(c+1),E=T.match(N);E&&(_.push(E[1]),P.unshift(E[2])),P.length&&(i="/"+P.join(".")+i),this.hostname=_.join(".");break}}}if(this.hostname.length>v?this.hostname="":this.hostname=this.hostname.toLowerCase(),!y){for(var M=this.hostname.split("."),B=[],c=0;c<M.length;++c){var L=M[c];B.push(L.match(/[^A-Za-z0-9_-]/)?"xn--"+l.encode(L):L)}this.hostname=B.join(".")}var U=this.port?":"+this.port:"",G=this.hostname||"";this.host=G+U,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==i[0]&&(i="/"+i))}if(!k[n])for(var c=0,D=b.length;D>c;c++){var O=b[c],V=encodeURIComponent(O);V===O&&(V=escape(O)),i=i.split(O).join(V)}var F=i.indexOf("#");-1!==F&&(this.hash=i.substr(F),i=i.slice(0,F));var j=i.indexOf("?");if(-1!==j?(this.search=i.substr(j),this.query=i.substr(j+1),t&&(this.query=R.parse(this.query)),i=i.slice(0,j)):t&&(this.search="",this.query={}),i&&(this.pathname=i),C[n]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var U=this.pathname||"",L=this.search||"";this.path=U+L}return this.href=this.format(),this},i.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",i=this.hash||"",a=!1,n="";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&&c(this.query)&&Object.keys(this.query).length&&(n=R.stringify(this.query));var s=this.search||n&&"?"+n||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||C[t])&&a!==!1?(a="//"+(a||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):a||(a=""),i&&"#"!==i.charAt(0)&&(i="#"+i),s&&"?"!==s.charAt(0)&&(s="?"+s),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),s=s.replace("#","%23"),t+a+r+s+i},i.prototype.resolve=function(e){return this.resolveObject(a(e,!1,!0)).format()},i.prototype.resolveObject=function(e){if(u(e)){var t=new i;t.parse(e,!1,!0),e=t}var r=new i;if(Object.keys(this).forEach(function(e){r[e]=this[e]},this),r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol)return Object.keys(e).forEach(function(t){"protocol"!==t&&(r[t]=e[t])}),C[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r;if(e.protocol&&e.protocol!==r.protocol){if(!C[e.protocol])return Object.keys(e).forEach(function(t){r[t]=e[t]}),r.href=r.format(),r;if(r.protocol=e.protocol,e.host||A[e.protocol])r.pathname=e.pathname;else{for(var a=(e.pathname||"").split("/");a.length&&!(e.host=a.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==a[0]&&a.unshift(""),a.length<2&&a.unshift(""),r.pathname=a.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var n=r.pathname||"",s=r.search||"";r.path=n+s}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var o=r.pathname&&"/"===r.pathname.charAt(0),c=e.host||e.pathname&&"/"===e.pathname.charAt(0),l=c||o||r.host&&e.pathname,d=l,h=r.pathname&&r.pathname.split("/")||[],a=e.pathname&&e.pathname.split("/")||[],y=r.protocol&&!C[r.protocol];
if(y&&(r.hostname="",r.port=null,r.host&&(""===h[0]?h[0]=r.host:h.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===a[0]?a[0]=e.host:a.unshift(e.host)),e.host=null),l=l&&(""===a[0]||""===h[0])),c)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,h=a;else if(a.length)h||(h=[]),h.pop(),h=h.concat(a),r.search=e.search,r.query=e.query;else if(!m(e.search)){if(y){r.hostname=r.host=h.shift();var f=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;f&&(r.auth=f.shift(),r.host=r.hostname=f.shift())}return r.search=e.search,r.query=e.query,p(r.pathname)&&p(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!h.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var b=h.slice(-1)[0],g=(r.host||e.host)&&("."===b||".."===b)||""===b,S=0,v=h.length;v>=0;v--)b=h[v],"."==b?h.splice(v,1):".."===b?(h.splice(v,1),S++):S&&(h.splice(v,1),S--);if(!l&&!d)for(;S--;S)h.unshift("..");!l||""===h[0]||h[0]&&"/"===h[0].charAt(0)||h.unshift(""),g&&"/"!==h.join("/").substr(-1)&&h.push("");var I=""===h[0]||h[0]&&"/"===h[0].charAt(0);if(y){r.hostname=r.host=I?"":h.length?h.shift():"";var f=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1;f&&(r.auth=f.shift(),r.host=r.hostname=f.shift())}return l=l||r.host&&h.length,l&&!I&&h.unshift(""),h.length?r.pathname=h.join("/"):(r.pathname=null,r.path=null),p(r.pathname)&&p(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},i.prototype.parseHost=function(){var e=this.host,t=h.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:223,querystring:226}],241:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],242:[function(e,t,r){(function(t,i){function a(e,t){var i={seen:[],stylize:s};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),y(t)?i.showHidden=t:t&&r._extend(i,t),I(i.showHidden)&&(i.showHidden=!1),I(i.depth)&&(i.depth=2),I(i.colors)&&(i.colors=!1),I(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=n),u(i,e,i.depth)}function n(e,t){var r=a.styles[t];return r?"["+a.colors[r][0]+"m"+e+"["+a.colors[r][1]+"m":e}function s(e,t){return e}function o(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,i){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var a=t.inspect(i,e);return S(a)||(a=u(e,a,i)),a}var n=c(e,t);if(n)return n;var s=Object.keys(t),y=o(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),C(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return p(t);if(0===s.length){if(R(t)){var f=t.name?": "+t.name:"";return e.stylize("[Function"+f+"]","special")}if(N(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(A(t))return e.stylize(Date.prototype.toString.call(t),"date");if(C(t))return p(t)}var b="",g=!1,v=["{","}"];if(h(t)&&(g=!0,v=["[","]"]),R(t)){var I=t.name?": "+t.name:"";b=" [Function"+I+"]"}if(N(t)&&(b=" "+RegExp.prototype.toString.call(t)),A(t)&&(b=" "+Date.prototype.toUTCString.call(t)),C(t)&&(b=" "+p(t)),0===s.length&&(!g||0==t.length))return v[0]+b+v[1];if(0>i)return N(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var k;return k=g?m(e,t,i,y,s):s.map(function(r){return l(e,t,i,y,r,g)}),e.seen.pop(),d(k,b,v)}function c(e,t){if(I(t))return e.stylize("undefined","undefined");if(S(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):y(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,r,i,a){for(var n=[],s=0,o=t.length;o>s;++s)x(t,String(s))?n.push(l(e,t,r,i,String(s),!0)):n.push("");return a.forEach(function(a){a.match(/^\d+$/)||n.push(l(e,t,r,i,a,!0))}),n}function l(e,t,r,i,a,n){var s,o,c;if(c=Object.getOwnPropertyDescriptor(t,a)||{value:t[a]},c.get?o=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(o=e.stylize("[Setter]","special")),x(i,a)||(s="["+a+"]"),o||(e.seen.indexOf(c.value)<0?(o=f(r)?u(e,c.value,null):u(e,c.value,r-1),o.indexOf("\n")>-1&&(o=n?o.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+o.split("\n").map(function(e){return"   "+e}).join("\n"))):o=e.stylize("[Circular]","special")),I(s)){if(n&&a.match(/^\d+$/))return o;s=JSON.stringify(""+a),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+o}function d(e,t,r){var i=0,a=e.reduce(function(e,t){return i++,t.indexOf("\n")>=0&&i++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return a>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function h(e){return Array.isArray(e)}function y(e){return"boolean"==typeof e}function f(e){return null===e}function b(e){return null==e}function g(e){return"number"==typeof e}function S(e){return"string"==typeof e}function v(e){return"symbol"==typeof e}function I(e){return void 0===e}function N(e){return k(e)&&"[object RegExp]"===T(e)}function k(e){return"object"==typeof e&&null!==e}function A(e){return k(e)&&"[object Date]"===T(e)}function C(e){return k(e)&&("[object Error]"===T(e)||e instanceof Error)}function R(e){return"function"==typeof e}function D(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function T(e){return Object.prototype.toString.call(e)}function w(e){return 10>e?"0"+e.toString(10):e.toString(10)}function q(){var e=new Date,t=[w(e.getHours()),w(e.getMinutes()),w(e.getSeconds())].join(":");return[e.getDate(),M[e.getMonth()],t].join(" ")}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var _=/%[sdj%]/g;r.format=function(e){if(!S(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(a(arguments[r]));return t.join(" ")}for(var r=1,i=arguments,n=i.length,s=String(e).replace(_,function(e){if("%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch(t){return"[Circular]"}default:return e}}),o=i[r];n>r;o=i[++r])s+=f(o)||!k(o)?" "+o:" "+a(o);return s},r.deprecate=function(e,a){function n(){if(!s){if(t.throwDeprecation)throw new Error(a);t.traceDeprecation?console.trace(a):console.error(a),s=!0}return e.apply(this,arguments)}if(I(i.process))return function(){return r.deprecate(e,a).apply(this,arguments)};if(t.noDeprecation===!0)return e;var s=!1;return n};var P,E={};r.debuglog=function(e){if(I(P)&&(P=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!E[e])if(new RegExp("\\b"+e+"\\b","i").test(P)){var i=t.pid;E[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,i,t)}}else E[e]=function(){};return E[e]},r.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=h,r.isBoolean=y,r.isNull=f,r.isNullOrUndefined=b,r.isNumber=g,r.isString=S,r.isSymbol=v,r.isUndefined=I,r.isRegExp=N,r.isObject=k,r.isDate=A,r.isError=C,r.isFunction=R,r.isPrimitive=D,r.isBuffer=e("./support/isBuffer");var M=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",q(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!k(t))return e;for(var r=Object.keys(t),i=r.length;i--;)e[r[i]]=t[r[i]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":241,_process:222,inherits:219}],243:[function(require,module,exports){function Context(){}var indexOf=require("indexof"),Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];Context.prototype={};var Script=exports.Script=function(e){return this instanceof Script?void(this.code=e):new Script(e)};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,i=r.eval,a=r.execScript;!i&&a&&(a.call(r,"null"),i=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var n=Object_keys(r),s=i.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(n,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),s},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},{indexof:244}],244:[function(e,t,r){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},{}],245:[function(e,t,r){(function(e){t.exports=function(t,r){for(var i=Math.min(t.length,r.length),a=new e(i),n=0;i>n;++n)a[n]=t[n]^r[n];return a}}).call(this,e("buffer").Buffer)},{buffer:81}],246:[function(e,t,r){"use strict";r.utils=e("./des/utils"),r.Cipher=e("./des/cipher"),r.DES=e("./des/des"),r.CBC=e("./des/cbc"),r.EDE=e("./des/ede")},{"./des/cbc":247,"./des/cipher":248,"./des/des":249,"./des/ede":250,"./des/utils":251}],247:[function(e,t,r){"use strict";function i(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}function a(e){function t(t){e.call(this,t),this._cbcInit()}s(t,e);for(var r=Object.keys(o),i=0;i<r.length;i++){var a=r[i];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t}var n=e("minimalistic-assert"),s=e("inherits"),o={};r.instantiate=a,o._cbcInit=function(){var e=new i(this.options.iv);this._cbcState=e},o._update=function(e,t,r,i){var a=this._cbcState,n=this.constructor.super_.prototype,s=a.iv;if("encrypt"===this.type){for(var o=0;o<this.blockSize;o++)s[o]^=e[t+o];n._update.call(this,s,0,r,i);for(var o=0;o<this.blockSize;o++)s[o]=r[i+o]}else{n._update.call(this,e,t,r,i);for(var o=0;o<this.blockSize;o++)r[i+o]^=s[o];for(var o=0;o<this.blockSize;o++)s[o]=e[t+o]}}},{inherits:258,"minimalistic-assert":260}],248:[function(e,t,r){"use strict";function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}var a=e("minimalistic-assert");t.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),i=0;r>i;i++)this.buffer[this.bufferOff+i]=e[t+i];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,i=(this.bufferOff+e.length)/this.blockSize|0,a=new Array(i*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(a,r)));for(var n=e.length-(e.length-t)%this.blockSize;n>t;t+=this.blockSize)this._update(e,t,a,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return a},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,i=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,a=new Array(i*this.blockSize);i>0;i--)t+=this._buffer(e,t),r+=this._flushBuffer(a,r);return t+=this._buffer(e,t),a},i.prototype["final"]=function(e){var t;e&&(t=this.update(e));var r;return r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){a.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},{"minimalistic-assert":260}],249:[function(e,t,r){"use strict";function i(){this.tmp=new Array(2),this.keys=null}function a(e){c.call(this,e);var t=new i;this._desState=t,this.deriveKeys(t,e.key)}var n=e("minimalistic-assert"),s=e("inherits"),o=e("../des"),u=o.utils,c=o.Cipher;s(a,c),t.exports=a,a.create=function(e){return new a(e)};var p=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];a.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=u.readUInt32BE(t,0),i=u.readUInt32BE(t,4);u.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=p[a>>>1];r=u.r28shl(r,s),i=u.r28shl(i,s),u.pc2(r,i,e.keys,a)}},a.prototype._update=function(e,t,r,i){var a=this._desState,n=u.readUInt32BE(e,t),s=u.readUInt32BE(e,t+4);u.ip(n,s,a.tmp,0),n=a.tmp[0],s=a.tmp[1],"encrypt"===this.type?this._encrypt(a,n,s,a.tmp,0):this._decrypt(a,n,s,a.tmp,0),n=a.tmp[0],s=a.tmp[1],u.writeUInt32BE(r,n,i),u.writeUInt32BE(r,s,i+4)},a.prototype._pad=function(e,t){for(var r=e.length-t,i=t;i<e.length;i++)e[i]=r;return!0},a.prototype._unpad=function(e){for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},a.prototype._encrypt=function(e,t,r,i,a){for(var n=t,s=r,o=0;o<e.keys.length;o+=2){var c=e.keys[o],p=e.keys[o+1];u.expand(s,e.tmp,0),c^=e.tmp[0],p^=e.tmp[1];var m=u.substitute(c,p),l=u.permute(m),d=s;s=(n^l)>>>0,n=d}u.rip(s,n,i,a)},a.prototype._decrypt=function(e,t,r,i,a){for(var n=r,s=t,o=e.keys.length-2;o>=0;o-=2){var c=e.keys[o],p=e.keys[o+1];u.expand(n,e.tmp,0),c^=e.tmp[0],p^=e.tmp[1];var m=u.substitute(c,p),l=u.permute(m),d=n;n=(s^l)>>>0,s=d}u.rip(n,s,i,a)}},{"../des":246,inherits:258,"minimalistic-assert":260}],250:[function(e,t,r){"use strict";function i(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),a=t.slice(16,24);"encrypt"===e?this.ciphers=[c.create({type:"encrypt",key:r}),c.create({type:"decrypt",key:i}),c.create({type:"encrypt",key:a})]:this.ciphers=[c.create({type:"decrypt",key:a}),c.create({type:"encrypt",key:i}),c.create({type:"decrypt",key:r})]}function a(e){u.call(this,e);var t=new i(this.type,this.options.key);this._edeState=t}var n=e("minimalistic-assert"),s=e("inherits"),o=e("../des"),u=o.Cipher,c=o.DES;s(a,u),t.exports=a,a.create=function(e){return new a(e)},a.prototype._update=function(e,t,r,i){var a=this._edeState;a.ciphers[0]._update(e,t,r,i),a.ciphers[1]._update(r,i,r,i),a.ciphers[2]._update(r,i,r,i)},a.prototype._pad=c.prototype._pad,a.prototype._unpad=c.prototype._unpad},{"../des":246,inherits:258,"minimalistic-assert":260}],251:[function(e,t,r){"use strict";r.readUInt32BE=function(e,t){var r=e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t];return r>>>0},r.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},r.ip=function(e,t,r,i){for(var a=0,n=0,s=6;s>=0;s-=2){for(var o=0;24>=o;o+=8)a<<=1,a|=t>>>o+s&1;for(var o=0;24>=o;o+=8)a<<=1,a|=e>>>o+s&1}for(var s=6;s>=0;s-=2){for(var o=1;25>=o;o+=8)n<<=1,n|=t>>>o+s&1;for(var o=1;25>=o;o+=8)n<<=1,n|=e>>>o+s&1}r[i+0]=a>>>0,r[i+1]=n>>>0},r.rip=function(e,t,r,i){for(var a=0,n=0,s=0;4>s;s++)for(var o=24;o>=0;o-=8)a<<=1,a|=t>>>o+s&1,a<<=1,a|=e>>>o+s&1;for(var s=4;8>s;s++)for(var o=24;o>=0;o-=8)n<<=1,n|=t>>>o+s&1,n<<=1,n|=e>>>o+s&1;r[i+0]=a>>>0,r[i+1]=n>>>0},r.pc1=function(e,t,r,i){for(var a=0,n=0,s=7;s>=5;s--){for(var o=0;24>=o;o+=8)a<<=1,a|=t>>o+s&1;for(var o=0;24>=o;o+=8)a<<=1,a|=e>>o+s&1}for(var o=0;24>=o;o+=8)a<<=1,a|=t>>o+s&1;for(var s=1;3>=s;s++){for(var o=0;24>=o;o+=8)n<<=1,n|=t>>o+s&1;for(var o=0;24>=o;o+=8)n<<=1,n|=e>>o+s&1}for(var o=0;24>=o;o+=8)n<<=1,n|=e>>o+s&1;r[i+0]=a>>>0,r[i+1]=n>>>0},r.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var i=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];r.pc2=function(e,t,r,a){for(var n=0,s=0,o=i.length>>>1,u=0;o>u;u++)n<<=1,n|=e>>>i[u]&1;for(var u=o;u<i.length;u++)s<<=1,s|=t>>>i[u]&1;r[a+0]=n>>>0,r[a+1]=s>>>0},r.expand=function(e,t,r){var i=0,a=0;i=(1&e)<<5|e>>>27;for(var n=23;n>=15;n-=4)i<<=6,i|=e>>>n&63;for(var n=11;n>=3;n-=4)a|=e>>>n&63,a<<=6;a|=(31&e)<<1|e>>>31,t[r+0]=i>>>0,t[r+1]=a>>>0};var a=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];r.substitute=function(e,t){for(var r=0,i=0;4>i;i++){var n=e>>>18-6*i&63,s=a[64*i+n];r<<=4,r|=s}for(var i=0;4>i;i++){var n=t>>>18-6*i&63,s=a[256+64*i+n];r<<=4,r|=s}return r>>>0};var n=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];r.permute=function(e){for(var t=0,r=0;r<n.length;r++)t<<=1,t|=e>>>n[r]&1;return t>>>0},r.padSplit=function(e,t,r){for(var i=e.toString(2);i.length<t;)i="0"+i;for(var a=[],n=0;t>n;n+=r)a.push(i.slice(n,n+r));return a.join(" ")}},{}],252:[function(e,t,r){var i=r;i.utils=e("./hash/utils"),i.common=e("./hash/common"),i.sha=e("./hash/sha"),i.ripemd=e("./hash/ripemd"),i.hmac=e("./hash/hmac"),i.sha1=i.sha.sha1,i.sha256=i.sha.sha256,i.sha224=i.sha.sha224,i.sha384=i.sha.sha384,i.sha512=i.sha.sha512,i.ripemd160=i.ripemd.ripemd160},{"./hash/common":253,"./hash/hmac":254,"./hash/ripemd":255,"./hash/sha":256,"./hash/utils":257}],253:[function(e,t,r){function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}var a=e("../hash"),n=a.utils,s=n.assert;r.BlockHash=i,i.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){e=this.pending;var r=e.length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),s(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,i=new Array(r+this.padLength);i[0]=128;for(var a=1;r>a;a++)i[a]=0;if(e<<=3,"big"===this.endian){for(var n=8;n<this.padLength;n++)i[a++]=0;i[a++]=0,i[a++]=0,i[a++]=0,i[a++]=0,i[a++]=e>>>24&255,i[a++]=e>>>16&255,i[a++]=e>>>8&255,i[a++]=255&e}else{i[a++]=255&e,i[a++]=e>>>8&255,i[a++]=e>>>16&255,i[a++]=e>>>24&255,i[a++]=0,i[a++]=0,i[a++]=0,i[a++]=0;for(var n=8;n<this.padLength;n++)i[a++]=0}return i}},{"../hash":252}],254:[function(e,t,r){function i(e,t,r){return this instanceof i?(this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,void this._init(n.toArray(t,r))):new i(e,t,r)}var a=e("../hash"),n=a.utils,s=n.assert;t.exports=i,i.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),s(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(var t=0;t<e.length;t++)e[t]^=54;this.inner=(new this.Hash).update(e);for(var t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},i.prototype.update=function(e,t){return this.inner.update(e,t),this},i.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},{"../hash":252}],255:[function(e,t,r){function i(){return this instanceof i?(d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],void(this.endian="little")):new i}function a(e,t,r,i){return 15>=e?t^r^i:31>=e?t&r|~t&i:47>=e?(t|~r)^i:63>=e?t&i|r&~i:t^(r|~i)}function n(e){return 15>=e?0:31>=e?1518500249:47>=e?1859775393:63>=e?2400959708:2840853838}function s(e){return 15>=e?1352829926:31>=e?1548603684:47>=e?1836072691:63>=e?2053994217:0}var o=e("../hash"),u=o.utils,c=u.rotl32,p=u.sum32,m=u.sum32_3,l=u.sum32_4,d=o.common.BlockHash;u.inherits(i,d),r.ripemd160=i,i.blockSize=512,i.outSize=160,i.hmacStrength=192,i.padLength=64,i.prototype._update=function(e,t){for(var r=this.h[0],i=this.h[1],o=this.h[2],u=this.h[3],d=this.h[4],g=r,S=i,v=o,I=u,N=d,k=0;80>k;k++){var A=p(c(l(r,a(k,i,o,u),e[h[k]+t],n(k)),f[k]),d);r=d,d=u,u=c(o,10),o=i,i=A,A=p(c(l(g,a(79-k,S,v,I),e[y[k]+t],s(k)),b[k]),N),g=N,N=I,I=c(v,10),v=S,S=A}A=m(this.h[1],o,I),this.h[1]=m(this.h[2],u,N),this.h[2]=m(this.h[3],d,g),this.h[3]=m(this.h[4],r,S),this.h[4]=m(this.h[0],i,v),this.h[0]=A},i.prototype._digest=function(e){return"hex"===e?u.toHex32(this.h,"little"):u.split32(this.h,"little")};var h=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],y=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],f=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},{"../hash":252}],256:[function(e,t,r){function i(){return this instanceof i?(W.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=Z,void(this.W=new Array(64))):new i}function a(){return this instanceof a?(i.call(this),void(this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])):new a}function n(){return this instanceof n?(W.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=X,void(this.W=new Array(160))):new n}function s(){return this instanceof s?(n.call(this),void(this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428])):new s}function o(){return this instanceof o?(W.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],void(this.W=new Array(80))):new o}function u(e,t,r){return e&t^~e&r}function c(e,t,r){return e&t^e&r^t&r}function p(e,t,r){return e^t^r}function m(e){return x(e,2)^x(e,13)^x(e,22)}function l(e){return x(e,6)^x(e,11)^x(e,25)}function d(e){return x(e,7)^x(e,18)^e>>>3}function h(e){return x(e,17)^x(e,19)^e>>>10}function y(e,t,r,i){return 0===e?u(t,r,i):1===e||3===e?p(t,r,i):2===e?c(t,r,i):void 0}function f(e,t,r,i,a,n){var s=e&r^~e&a;return 0>s&&(s+=4294967296),s}function b(e,t,r,i,a,n){var s=t&i^~t&n;return 0>s&&(s+=4294967296),s}function g(e,t,r,i,a,n){var s=e&r^e&a^r&a;return 0>s&&(s+=4294967296),s}function S(e,t,r,i,a,n){var s=t&i^t&n^i&n;return 0>s&&(s+=4294967296),s}function v(e,t){var r=B(e,t,28),i=B(t,e,2),a=B(t,e,7),n=r^i^a;return 0>n&&(n+=4294967296),n}function I(e,t){var r=L(e,t,28),i=L(t,e,2),a=L(t,e,7),n=r^i^a;return 0>n&&(n+=4294967296),n}function N(e,t){var r=B(e,t,14),i=B(e,t,18),a=B(t,e,9),n=r^i^a;return 0>n&&(n+=4294967296),n}function k(e,t){var r=L(e,t,14),i=L(e,t,18),a=L(t,e,9),n=r^i^a;return 0>n&&(n+=4294967296),n}function A(e,t){var r=B(e,t,1),i=B(e,t,8),a=U(e,t,7),n=r^i^a;return 0>n&&(n+=4294967296),n}function C(e,t){var r=L(e,t,1),i=L(e,t,8),a=G(e,t,7),n=r^i^a;return 0>n&&(n+=4294967296),n}function R(e,t){var r=B(e,t,19),i=B(t,e,29),a=U(e,t,6),n=r^i^a;return 0>n&&(n+=4294967296),n}function D(e,t){var r=L(e,t,19),i=L(t,e,29),a=G(e,t,6),n=r^i^a;return 0>n&&(n+=4294967296),n}var T=e("../hash"),w=T.utils,q=w.assert,x=w.rotr32,_=w.rotl32,P=w.sum32,E=w.sum32_4,M=w.sum32_5,B=w.rotr64_hi,L=w.rotr64_lo,U=w.shr64_hi,G=w.shr64_lo,O=w.sum64,V=w.sum64_hi,F=w.sum64_lo,j=w.sum64_4_hi,z=w.sum64_4_lo,K=w.sum64_5_hi,H=w.sum64_5_lo,W=T.common.BlockHash,Z=[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],X=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],Q=[1518500249,1859775393,2400959708,3395469782];w.inherits(i,W),r.sha256=i,i.blockSize=512,i.outSize=256,i.hmacStrength=192,i.padLength=64,i.prototype._update=function(e,t){for(var r=this.W,i=0;16>i;i++)r[i]=e[t+i];for(;i<r.length;i++)r[i]=E(h(r[i-2]),r[i-7],d(r[i-15]),r[i-16]);var a=this.h[0],n=this.h[1],s=this.h[2],o=this.h[3],p=this.h[4],y=this.h[5],f=this.h[6],b=this.h[7];q(this.k.length===r.length);for(var i=0;i<r.length;i++){var g=M(b,l(p),u(p,y,f),this.k[i],r[i]),S=P(m(a),c(a,n,s));b=f,f=y,y=p,p=P(o,g),o=s,s=n,n=a,a=P(g,S)}this.h[0]=P(this.h[0],a),this.h[1]=P(this.h[1],n),this.h[2]=P(this.h[2],s),this.h[3]=P(this.h[3],o),this.h[4]=P(this.h[4],p),this.h[5]=P(this.h[5],y),this.h[6]=P(this.h[6],f),this.h[7]=P(this.h[7],b)},i.prototype._digest=function(e){return"hex"===e?w.toHex32(this.h,"big"):w.split32(this.h,"big")},w.inherits(a,i),r.sha224=a,a.blockSize=512,a.outSize=224,a.hmacStrength=192,a.padLength=64,a.prototype._digest=function(e){return"hex"===e?w.toHex32(this.h.slice(0,7),"big"):w.split32(this.h.slice(0,7),"big")},w.inherits(n,W),r.sha512=n,n.blockSize=1024,n.outSize=512,n.hmacStrength=192,n.padLength=128,n.prototype._prepareBlock=function(e,t){for(var r=this.W,i=0;32>i;i++)r[i]=e[t+i];for(;i<r.length;i+=2){var a=R(r[i-4],r[i-3]),n=D(r[i-4],r[i-3]),s=r[i-14],o=r[i-13],u=A(r[i-30],r[i-29]),c=C(r[i-30],r[i-29]),p=r[i-32],m=r[i-31];r[i]=j(a,n,s,o,u,c,p,m),r[i+1]=z(a,n,s,o,u,c,p,m)}},n.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,i=this.h[0],a=this.h[1],n=this.h[2],s=this.h[3],o=this.h[4],u=this.h[5],c=this.h[6],p=this.h[7],m=this.h[8],l=this.h[9],d=this.h[10],h=this.h[11],y=this.h[12],A=this.h[13],C=this.h[14],R=this.h[15];q(this.k.length===r.length);for(var D=0;D<r.length;D+=2){var T=C,w=R,x=N(m,l),_=k(m,l),P=f(m,l,d,h,y,A),E=b(m,l,d,h,y,A),M=this.k[D],B=this.k[D+1],L=r[D],U=r[D+1],G=K(T,w,x,_,P,E,M,B,L,U),j=H(T,w,x,_,P,E,M,B,L,U),T=v(i,a),w=I(i,a),x=g(i,a,n,s,o,u),_=S(i,a,n,s,o,u),z=V(T,w,x,_),W=F(T,w,x,_);C=y,R=A,y=d,A=h,d=m,h=l,m=V(c,p,G,j),l=F(p,p,G,j),c=o,p=u,o=n,u=s,n=i,s=a,i=V(G,j,z,W),a=F(G,j,z,W)}O(this.h,0,i,a),O(this.h,2,n,s),O(this.h,4,o,u),O(this.h,6,c,p),O(this.h,8,m,l),O(this.h,10,d,h),O(this.h,12,y,A),O(this.h,14,C,R)},n.prototype._digest=function(e){return"hex"===e?w.toHex32(this.h,"big"):w.split32(this.h,"big")},w.inherits(s,n),r.sha384=s,s.blockSize=1024,s.outSize=384,s.hmacStrength=192,s.padLength=128,s.prototype._digest=function(e){return"hex"===e?w.toHex32(this.h.slice(0,12),"big"):w.split32(this.h.slice(0,12),"big");
},w.inherits(o,W),r.sha1=o,o.blockSize=512,o.outSize=160,o.hmacStrength=80,o.padLength=64,o.prototype._update=function(e,t){for(var r=this.W,i=0;16>i;i++)r[i]=e[t+i];for(;i<r.length;i++)r[i]=_(r[i-3]^r[i-8]^r[i-14]^r[i-16],1);for(var a=this.h[0],n=this.h[1],s=this.h[2],o=this.h[3],u=this.h[4],i=0;i<r.length;i++){var c=~~(i/20),p=M(_(a,5),y(c,n,s,o),u,r[i],Q[c]);u=o,o=s,s=_(n,30),n=a,a=p}this.h[0]=P(this.h[0],a),this.h[1]=P(this.h[1],n),this.h[2]=P(this.h[2],s),this.h[3]=P(this.h[3],o),this.h[4]=P(this.h[4],u)},o.prototype._digest=function(e){return"hex"===e?w.toHex32(this.h,"big"):w.split32(this.h,"big")}},{"../hash":252}],257:[function(e,t,r){function i(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t){e=e.replace(/[^a-z0-9]+/gi,""),e.length%2!==0&&(e="0"+e);for(var i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}}else for(var i=0;i<e.length;i++){var a=e.charCodeAt(i),n=a>>8,s=255&a;n?r.push(n,s):r.push(s)}else for(var i=0;i<e.length;i++)r[i]=0|e[i];return r}function a(e){for(var t="",r=0;r<e.length;r++)t+=o(e[r].toString(16));return t}function n(e){var t=e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24;return t>>>0}function s(e,t){for(var r="",i=0;i<e.length;i++){var a=e[i];"little"===t&&(a=n(a)),r+=u(a.toString(16))}return r}function o(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}function c(e,t,r,i){var a=r-t;b(a%4===0);for(var n=new Array(a/4),s=0,o=t;s<n.length;s++,o+=4){var u;u="big"===i?e[o]<<24|e[o+1]<<16|e[o+2]<<8|e[o+3]:e[o+3]<<24|e[o+2]<<16|e[o+1]<<8|e[o],n[s]=u>>>0}return n}function p(e,t){for(var r=new Array(4*e.length),i=0,a=0;i<e.length;i++,a+=4){var n=e[i];"big"===t?(r[a]=n>>>24,r[a+1]=n>>>16&255,r[a+2]=n>>>8&255,r[a+3]=255&n):(r[a+3]=n>>>24,r[a+2]=n>>>16&255,r[a+1]=n>>>8&255,r[a]=255&n)}return r}function m(e,t){return e>>>t|e<<32-t}function l(e,t){return e<<t|e>>>32-t}function d(e,t){return e+t>>>0}function h(e,t,r){return e+t+r>>>0}function y(e,t,r,i){return e+t+r+i>>>0}function f(e,t,r,i,a){return e+t+r+i+a>>>0}function b(e,t){if(!e)throw new Error(t||"Assertion failed")}function g(e,t,r,i){var a=e[t],n=e[t+1],s=i+n>>>0,o=(i>s?1:0)+r+a;e[t]=o>>>0,e[t+1]=s}function S(e,t,r,i){var a=t+i>>>0,n=(t>a?1:0)+e+r;return n>>>0}function v(e,t,r,i){var a=t+i;return a>>>0}function I(e,t,r,i,a,n,s,o){var u=0,c=t;c=c+i>>>0,u+=t>c?1:0,c=c+n>>>0,u+=n>c?1:0,c=c+o>>>0,u+=o>c?1:0;var p=e+r+a+s+u;return p>>>0}function N(e,t,r,i,a,n,s,o){var u=t+i+n+o;return u>>>0}function k(e,t,r,i,a,n,s,o,u,c){var p=0,m=t;m=m+i>>>0,p+=t>m?1:0,m=m+n>>>0,p+=n>m?1:0,m=m+o>>>0,p+=o>m?1:0,m=m+c>>>0,p+=c>m?1:0;var l=e+r+a+s+u+p;return l>>>0}function A(e,t,r,i,a,n,s,o,u,c){var p=t+i+n+o+c;return p>>>0}function C(e,t,r){var i=t<<32-r|e>>>r;return i>>>0}function R(e,t,r){var i=e<<32-r|t>>>r;return i>>>0}function D(e,t,r){return e>>>r}function T(e,t,r){var i=e<<32-r|t>>>r;return i>>>0}var w=r,q=e("inherits");w.toArray=i,w.toHex=a,w.htonl=n,w.toHex32=s,w.zero2=o,w.zero8=u,w.join32=c,w.split32=p,w.rotr32=m,w.rotl32=l,w.sum32=d,w.sum32_3=h,w.sum32_4=y,w.sum32_5=f,w.assert=b,w.inherits=q,r.sum64=g,r.sum64_hi=S,r.sum64_lo=v,r.sum64_4_hi=I,r.sum64_4_lo=N,r.sum64_5_hi=k,r.sum64_5_lo=A,r.rotr64_hi=C,r.rotr64_lo=R,r.shr64_hi=D,r.shr64_lo=T},{inherits:258}],258:[function(e,t,r){arguments[4][219][0].apply(r,arguments)},{dup:219}],259:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e?"[object Array]"===Object.prototype.toString.call(e):!1}function r(e){return null!==e?"[object Object]"===Object.prototype.toString.call(e):!1}function i(e,a){if(e===a)return!0;var n=Object.prototype.toString.call(e);if(n!==Object.prototype.toString.call(a))return!1;if(t(e)===!0){if(e.length!==a.length)return!1;for(var s=0;s<e.length;s++)if(i(e[s],a[s])===!1)return!1;return!0}if(r(e)===!0){var o={};for(var u in e)if(hasOwnProperty.call(e,u)){if(i(e[u],a[u])===!1)return!1;o[u]=!0}for(var c in a)if(hasOwnProperty.call(a,c)&&o[c]!==!0)return!1;return!0}return!1}function a(e){if(""===e||e===!1||null===e)return!0;if(t(e)&&0===e.length)return!0;if(r(e)){for(var i in e)if(e.hasOwnProperty(i))return!1;return!0}return!1}function n(e){for(var t=Object.keys(e),r=[],i=0;i<t.length;i++)r.push(e[t[i]]);return r}function s(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e}function o(e){return e>="0"&&"9">=e||"-"===e}function u(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||e>="0"&&"9">=e||"_"===e}function c(){}function p(){}function m(e){this.runtime=e}function l(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[b]}]},avg:{_func:this._functionAvg,_signature:[{types:[C]}]},ceil:{_func:this._functionCeil,_signature:[{types:[b]}]},contains:{_func:this._functionContains,_signature:[{types:[S,v]},{types:[g]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[S]},{types:[S]}]},floor:{_func:this._functionFloor,_signature:[{types:[b]}]},length:{_func:this._functionLength,_signature:[{types:[S,v,I]}]},map:{_func:this._functionMap,_signature:[{types:[k]},{types:[v]}]},max:{_func:this._functionMax,_signature:[{types:[C,R]}]},merge:{_func:this._functionMerge,_signature:[{types:[I],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[v]},{types:[k]}]},sum:{_func:this._functionSum,_signature:[{types:[C]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[S]},{types:[S]}]},min:{_func:this._functionMin,_signature:[{types:[C,R]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[v]},{types:[k]}]},type:{_func:this._functionType,_signature:[{types:[g]}]},keys:{_func:this._functionKeys,_signature:[{types:[I]}]},values:{_func:this._functionValues,_signature:[{types:[I]}]},sort:{_func:this._functionSort,_signature:[{types:[R,C]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[v]},{types:[k]}]},join:{_func:this._functionJoin,_signature:[{types:[S]},{types:[R]}]},reverse:{_func:this._functionReverse,_signature:[{types:[S,v]}]},to_array:{_func:this._functionToArray,_signature:[{types:[g]}]},to_string:{_func:this._functionToString,_signature:[{types:[g]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[g]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[g],variadic:!0}]}}}function d(e){var t=new p,r=t.parse(e);return r}function h(e){var t=new c;return t.tokenize(e)}function y(e,t){var r=new p,i=new l,a=new m(i);i._interpreter=a;var n=r.parse(t);return a.search(n,e)}var f;f="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var b=0,g=1,S=2,v=3,I=4,N=5,k=6,A=7,C=8,R=9,D="EOF",T="UnquotedIdentifier",w="QuotedIdentifier",q="Rbracket",x="Rparen",_="Comma",P="Colon",E="Rbrace",M="Number",B="Current",L="Expref",U="Pipe",G="Or",O="And",V="EQ",F="GT",j="LT",z="GTE",K="LTE",H="NE",W="Flatten",Z="Star",X="Filter",Q="Dot",J="Not",Y="Lbrace",$="Lbracket",ee="Lparen",te="Literal",re={".":Q,"*":Z,",":_,":":P,"{":Y,"}":E,"]":q,"(":ee,")":x,"@":B},ie={"<":!0,">":!0,"=":!0,"!":!0},ae={" ":!0,"	":!0,"\n":!0};c.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,i,a;this._current<e.length;)if(s(e[this._current]))r=this._current,i=this._consumeUnquotedIdentifier(e),t.push({type:T,value:i,start:r});else if(void 0!==re[e[this._current]])t.push({type:re[e[this._current]],value:e[this._current],start:this._current}),this._current++;else if(o(e[this._current]))a=this._consumeNumber(e),t.push(a);else if("["===e[this._current])a=this._consumeLBracket(e),t.push(a);else if('"'===e[this._current])r=this._current,i=this._consumeQuotedIdentifier(e),t.push({type:w,value:i,start:r});else if("'"===e[this._current])r=this._current,i=this._consumeRawStringLiteral(e),t.push({type:te,value:i,start:r});else if("`"===e[this._current]){r=this._current;var n=this._consumeLiteral(e);t.push({type:te,value:n,start:r})}else if(void 0!==ie[e[this._current]])t.push(this._consumeOperator(e));else if(void 0!==ae[e[this._current]])this._current++;else if("&"===e[this._current])r=this._current,this._current++,"&"===e[this._current]?(this._current++,t.push({type:O,value:"&&",start:r})):t.push({type:L,value:"&",start:r});else{if("|"!==e[this._current]){var u=new Error("Unknown character:"+e[this._current]);throw u.name="LexerError",u}r=this._current,this._current++,"|"===e[this._current]?(this._current++,t.push({type:G,value:"||",start:r})):t.push({type:U,value:"|",start:r})}return t},_consumeUnquotedIdentifier:function(e){var t=this._current;for(this._current++;this._current<e.length&&u(e[this._current]);)this._current++;return e.slice(t,this._current)},_consumeQuotedIdentifier:function(e){var t=this._current;this._current++;for(var r=e.length;'"'!==e[this._current]&&this._current<r;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&'"'!==e[i+1]?i++:i+=2,this._current=i}return this._current++,JSON.parse(e.slice(t,this._current))},_consumeRawStringLiteral:function(e){var t=this._current;this._current++;for(var r=e.length;"'"!==e[this._current]&&this._current<r;){var i=this._current;"\\"!==e[i]||"\\"!==e[i+1]&&"'"!==e[i+1]?i++:i+=2,this._current=i}this._current++;var a=e.slice(t+1,this._current-1);return a.replace("\\'","'")},_consumeNumber:function(e){var t=this._current;this._current++;for(var r=e.length;o(e[this._current])&&this._current<r;)this._current++;var i=parseInt(e.slice(t,this._current));return{type:M,value:i,start:t}},_consumeLBracket:function(e){var t=this._current;return this._current++,"?"===e[this._current]?(this._current++,{type:X,value:"[?",start:t}):"]"===e[this._current]?(this._current++,{type:W,value:"[]",start:t}):{type:$,value:"[",start:t}},_consumeOperator:function(e){var t=this._current,r=e[t];return this._current++,"!"===r?"="===e[this._current]?(this._current++,{type:H,value:"!=",start:t}):{type:J,value:"!",start:t}:"<"===r?"="===e[this._current]?(this._current++,{type:K,value:"<=",start:t}):{type:j,value:"<",start:t}:">"===r?"="===e[this._current]?(this._current++,{type:z,value:">=",start:t}):{type:F,value:">",start:t}:"="===r&&"="===e[this._current]?(this._current++,{type:V,value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,i=e.length;"`"!==e[this._current]&&this._current<i;){var a=this._current;"\\"!==e[a]||"\\"!==e[a+1]&&"`"!==e[a+1]?a++:a+=2,this._current=a}var n=f(e.slice(r,this._current));return n=n.replace("\\`","`"),t=this._looksLikeJSON(n)?JSON.parse(n):JSON.parse('"'+n+'"'),this._current++,t},_looksLikeJSON:function(e){var t='[{"',r=["true","false","null"],i="-0123456789";if(""===e)return!1;if(t.indexOf(e[0])>=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(i.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(a){return!1}}};var ne={};ne[D]=0,ne[T]=0,ne[w]=0,ne[q]=0,ne[x]=0,ne[_]=0,ne[E]=0,ne[M]=0,ne[B]=0,ne[L]=0,ne[U]=1,ne[G]=2,ne[O]=3,ne[V]=5,ne[F]=5,ne[j]=5,ne[z]=5,ne[K]=5,ne[H]=5,ne[W]=9,ne[Z]=20,ne[X]=21,ne[Q]=40,ne[J]=45,ne[Y]=50,ne[$]=55,ne[ee]=60,p.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(this._lookahead(0)!==D){var r=this._lookaheadToken(0),i=new Error("Unexpected token type: "+r.type+", value: "+r.value);throw i.name="ParserError",i}return t},_loadTokens:function(e){var t=new c,r=t.tokenize(e);r.push({type:D,value:"",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),i=this._lookahead(0);e<ne[i];)this._advance(),r=this.led(i,r),i=this._lookahead(0);return r},_lookahead:function(e){return this.tokens[this.index+e].type},_lookaheadToken:function(e){return this.tokens[this.index+e]},_advance:function(){this.index++},nud:function(e){var t,r,i;switch(e.type){case te:return{type:"Literal",value:e.value};case T:return{type:"Field",name:e.value};case w:var a={type:"Field",name:e.value};if(this._lookahead(0)===ee)throw new Error("Quoted identifier not allowed for function names.");return a;case J:return r=this.expression(ne.Not),{type:"NotExpression",children:[r]};case Z:return t={type:"Identity"},r=null,r=this._lookahead(0)===q?{type:"Identity"}:this._parseProjectionRHS(ne.Star),{type:"ValueProjection",children:[t,r]};case X:return this.led(e.type,{type:"Identity"});case Y:return this._parseMultiselectHash();case W:return t={type:W,children:[{type:"Identity"}]},r=this._parseProjectionRHS(ne.Flatten),{type:"Projection",children:[t,r]};case $:return this._lookahead(0)===M||this._lookahead(0)===P?(r=this._parseIndexExpression(),this._projectIfSlice({type:"Identity"},r)):this._lookahead(0)===Z&&this._lookahead(1)===q?(this._advance(),this._advance(),r=this._parseProjectionRHS(ne.Star),{type:"Projection",children:[{type:"Identity"},r]}):this._parseMultiselectList();case B:return{type:B};case L:return i=this.expression(ne.Expref),{type:"ExpressionReference",children:[i]};case ee:for(var n=[];this._lookahead(0)!==x;)this._lookahead(0)===B?(i={type:B},this._advance()):i=this.expression(0),n.push(i);return this._match(x),n[0];default:this._errorToken(e)}},led:function(e,t){var r;switch(e){case Q:var i=ne.Dot;return this._lookahead(0)!==Z?(r=this._parseDotRHS(i),{type:"Subexpression",children:[t,r]}):(this._advance(),r=this._parseProjectionRHS(i),{type:"ValueProjection",children:[t,r]});case U:return r=this.expression(ne.Pipe),{type:U,children:[t,r]};case G:return r=this.expression(ne.Or),{type:"OrExpression",children:[t,r]};case O:return r=this.expression(ne.And),{type:"AndExpression",children:[t,r]};case ee:for(var a,n,s=t.name,o=[];this._lookahead(0)!==x;)this._lookahead(0)===B?(a={type:B},this._advance()):a=this.expression(0),this._lookahead(0)===_&&this._match(_),o.push(a);return this._match(x),n={type:"Function",name:s,children:o};case X:var u=this.expression(0);return this._match(q),r=this._lookahead(0)===W?{type:"Identity"}:this._parseProjectionRHS(ne.Filter),{type:"FilterProjection",children:[t,r,u]};case W:var c={type:W,children:[t]},p=this._parseProjectionRHS(ne.Flatten);return{type:"Projection",children:[c,p]};case V:case H:case F:case z:case j:case K:return this._parseComparator(t,e);case $:var m=this._lookaheadToken(0);return m.type===M||m.type===P?(r=this._parseIndexExpression(),this._projectIfSlice(t,r)):(this._match(Z),this._match(q),r=this._parseProjectionRHS(ne.Star),{type:"Projection",children:[t,r]});default:this._errorToken(this._lookaheadToken(0))}},_match:function(e){if(this._lookahead(0)!==e){var t=this._lookaheadToken(0),r=new Error("Expected "+e+", got: "+t.type);throw r.name="ParserError",r}this._advance()},_errorToken:function(e){var t=new Error("Invalid token ("+e.type+'): "'+e.value+'"');throw t.name="ParserError",t},_parseIndexExpression:function(){if(this._lookahead(0)===P||this._lookahead(1)===P)return this._parseSliceExpression();var e={type:"Index",value:this._lookaheadToken(0).value};return this._advance(),this._match(q),e},_projectIfSlice:function(e,t){var r={type:"IndexExpression",children:[e,t]};return"Slice"===t.type?{type:"Projection",children:[r,this._parseProjectionRHS(ne.Star)]}:r},_parseSliceExpression:function(){for(var e=[null,null,null],t=0,r=this._lookahead(0);r!==q&&3>t;){if(r===P)t++,this._advance();else{if(r!==M){var i=this._lookahead(0),a=new Error("Syntax error, unexpected token: "+i.value+"("+i.type+")");throw a.name="Parsererror",a}e[t]=this._lookaheadToken(0).value,this._advance()}r=this._lookahead(0)}return this._match(q),{type:"Slice",children:e}},_parseComparator:function(e,t){var r=this.expression(ne[t]);return{type:"Comparator",name:t,children:[e,r]}},_parseDotRHS:function(e){var t=this._lookahead(0),r=[T,w,Z];return r.indexOf(t)>=0?this.expression(e):t===$?(this._match($),this._parseMultiselectList()):t===Y?(this._match(Y),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(ne[this._lookahead(0)]<10)t={type:"Identity"};else if(this._lookahead(0)===$)t=this.expression(e);else if(this._lookahead(0)===X)t=this.expression(e);else{if(this._lookahead(0)!==Q){var r=this._lookaheadToken(0),i=new Error("Sytanx error, unexpected token: "+r.value+"("+r.type+")");throw i.name="ParserError",i}this._match(Q),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];this._lookahead(0)!==q;){var t=this.expression(0);if(e.push(t),this._lookahead(0)===_&&(this._match(_),this._lookahead(0)===q))throw new Error("Unexpected token Rbracket")}return this._match(q),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,r,i,a=[],n=[T,w];;){if(e=this._lookaheadToken(0),n.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match(P),r=this.expression(0),i={type:"KeyValuePair",name:t,value:r},a.push(i),this._lookahead(0)===_)this._match(_);else if(this._lookahead(0)===E){this._match(E);break}}return{type:"MultiSelectHash",children:a}}},m.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,s){var o,u,c,p,m,l,d,h,y,f;switch(e.type){case"Field":return null===s?null:r(s)?(l=s[e.name],void 0===l?null:l):null;case"Subexpression":for(c=this.visit(e.children[0],s),f=1;f<e.children.length;f++)if(c=this.visit(e.children[1],c),null===c)return null;return c;case"IndexExpression":return d=this.visit(e.children[0],s),h=this.visit(e.children[1],d);case"Index":if(!t(s))return null;var b=e.value;return 0>b&&(b=s.length+b),c=s[b],void 0===c&&(c=null),c;case"Slice":if(!t(s))return null;var g=e.children.slice(0),S=this.computeSliceParams(s.length,g),v=S[0],I=S[1],N=S[2];if(c=[],N>0)for(f=v;I>f;f+=N)c.push(s[f]);else for(f=v;f>I;f+=N)c.push(s[f]);return c;case"Projection":var k=this.visit(e.children[0],s);if(!t(k))return null;for(y=[],f=0;f<k.length;f++)u=this.visit(e.children[1],k[f]),null!==u&&y.push(u);return y;case"ValueProjection":if(k=this.visit(e.children[0],s),!r(k))return null;y=[];var A=n(k);for(f=0;f<A.length;f++)u=this.visit(e.children[1],A[f]),null!==u&&y.push(u);return y;case"FilterProjection":if(k=this.visit(e.children[0],s),!t(k))return null;var C=[],R=[];for(f=0;f<k.length;f++)o=this.visit(e.children[2],k[f]),a(o)||C.push(k[f]);for(var D=0;D<C.length;D++)u=this.visit(e.children[1],C[D]),null!==u&&R.push(u);return R;case"Comparator":switch(p=this.visit(e.children[0],s),m=this.visit(e.children[1],s),e.name){case V:c=i(p,m);break;case H:c=!i(p,m);break;case F:c=p>m;break;case z:c=p>=m;break;case j:c=m>p;break;case K:c=m>=p;break;default:throw new Error("Unknown comparator: "+e.name)}return c;case W:var T=this.visit(e.children[0],s);if(!t(T))return null;var w=[];for(f=0;f<T.length;f++)u=T[f],t(u)?w.push.apply(w,u):w.push(u);return w;case"Identity":return s;case"MultiSelectList":if(null===s)return null;for(y=[],f=0;f<e.children.length;f++)y.push(this.visit(e.children[f],s));return y;case"MultiSelectHash":if(null===s)return null;y={};var q;for(f=0;f<e.children.length;f++)q=e.children[f],y[q.name]=this.visit(q.value,s);return y;case"OrExpression":return o=this.visit(e.children[0],s),a(o)&&(o=this.visit(e.children[1],s)),o;case"AndExpression":return p=this.visit(e.children[0],s),a(p)===!0?p:this.visit(e.children[1],s);case"NotExpression":return p=this.visit(e.children[0],s),a(p);case"Literal":return e.value;case U:return d=this.visit(e.children[0],s),this.visit(e.children[1],d);case B:return s;case"Function":var x=[];for(f=0;f<e.children.length;f++)x.push(this.visit(e.children[f],s));return this.runtime.callFunction(e.name,x);case"ExpressionReference":var _=e.children[0];return _.jmespathType=L,_;default:throw new Error("Unknown node type: "+e.type)}},computeSliceParams:function(e,t){var r=t[0],i=t[1],a=t[2],n=[null,null,null];if(null===a)a=1;else if(0===a){var s=new Error("Invalid slice, step cannot be 0");throw s.name="RuntimeError",s}var o=0>a;return r=null===r?o?e-1:0:this.capSliceRange(e,r,a),i=null===i?o?-1:e:this.capSliceRange(e,i,a),n[0]=r,n[1]=i,n[2]=a,n},capSliceRange:function(e,t,r){return 0>t?(t+=e,0>t&&(t=0>r?-1:0)):t>=e&&(t=0>r?e-1:e),t}},l.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var i;if(r[r.length-1].variadic){if(t.length<r.length)throw i=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes at least"+r.length+i+" but received "+t.length)}else if(t.length!==r.length)throw i=1===r.length?" argument":" arguments",new Error("ArgumentError: "+e+"() takes "+r.length+i+" but received "+t.length);for(var a,n,s,o=0;o<r.length;o++){s=!1,a=r[o].types,n=this._getTypeName(t[o]);for(var u=0;u<a.length;u++)if(this._typeMatches(n,a[u],t[o])){s=!0;break}if(!s)throw new Error("TypeError: "+e+"() expected argument "+(o+1)+" to be type "+a+" but received type "+n+" instead.")}},_typeMatches:function(e,t,r){if(t===g)return!0;if(t!==R&&t!==C&&t!==v)return e===t;if(t===v)return e===v;if(e===v){var i;t===C?i=b:t===R&&(i=S);for(var a=0;a<r.length;a++)if(!this._typeMatches(this._getTypeName(r[a]),i,r[a]))return!1;return!0}},_getTypeName:function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return S;case"[object Number]":return b;case"[object Array]":return v;case"[object Boolean]":return N;case"[object Null]":return A;case"[object Object]":return e.jmespathType===L?k:I}},_functionStartsWith:function(e){return 0===e[0].lastIndexOf(e[1])},_functionEndsWith:function(e){var t=e[0],r=e[1];return-1!==t.indexOf(r,t.length-r.length)},_functionReverse:function(e){var t=this._getTypeName(e[0]);if(t===S){for(var r=e[0],i="",a=r.length-1;a>=0;a--)i+=r[a];return i}var n=e[0].slice(0);return n.reverse(),n},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],i=0;i<r.length;i++)t+=r[i];return t/r.length},_functionContains:function(e){return e[0].indexOf(e[1])>=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,i=e[0],a=e[1],n=0;n<a.length;n++)t.push(r.visit(i,a[n]));return t},_functionMerge:function(e){for(var t={},r=0;r<e.length;r++){var i=e[r];for(var a in i)t[a]=i[a]}return t},_functionMax:function(e){if(e[0].length>0){var t=this._getTypeName(e[0][0]);if(t===b)return Math.max.apply(Math,e[0]);for(var r=e[0],i=r[0],a=1;a<r.length;a++)i.localeCompare(r[a])<0&&(i=r[a]);return i}return null},_functionMin:function(e){if(e[0].length>0){var t=this._getTypeName(e[0][0]);if(t===b)return Math.min.apply(Math,e[0]);for(var r=e[0],i=r[0],a=1;a<r.length;a++)r[a].localeCompare(i)<0&&(i=r[a]);return i}return null},_functionSum:function(e){for(var t=0,r=e[0],i=0;i<r.length;i++)t+=r[i];return t},_functionType:function(e){switch(this._getTypeName(e[0])){case b:return"number";case S:return"string";case v:return"array";case I:return"object";case N:return"boolean";case k:return"expref";case A:return"null"}},_functionKeys:function(e){return Object.keys(e[0])},_functionValues:function(e){for(var t=e[0],r=Object.keys(t),i=[],a=0;a<r.length;a++)i.push(t[r[a]]);return i},_functionJoin:function(e){var t=e[0],r=e[1];return r.join(t)},_functionToArray:function(e){return this._getTypeName(e[0])===v?e[0]:[e[0]]},_functionToString:function(e){return this._getTypeName(e[0])===S?e[0]:JSON.stringify(e[0])},_functionToNumber:function(e){var t,r=this._getTypeName(e[0]);return r===b?e[0]:r!==S||(t=+e[0],isNaN(t))?null:t},_functionNotNull:function(e){for(var t=0;t<e.length;t++)if(this._getTypeName(e[t])!==A)return e[t];return null},_functionSort:function(e){var t=e[0].slice(0);return t.sort(),t},_functionSortBy:function(e){var t=e[0].slice(0);if(0===t.length)return t;var r=this._interpreter,i=e[1],a=this._getTypeName(r.visit(i,t[0]));if([b,S].indexOf(a)<0)throw new Error("TypeError");for(var n=this,s=[],o=0;o<t.length;o++)s.push([o,t[o]]);s.sort(function(e,t){var s=r.visit(i,e[1]),o=r.visit(i,t[1]);if(n._getTypeName(s)!==a)throw new Error("TypeError: expected "+a+", received "+n._getTypeName(s));if(n._getTypeName(o)!==a)throw new Error("TypeError: expected "+a+", received "+n._getTypeName(o));return s>o?1:o>s?-1:e[0]-t[0]});for(var u=0;u<s.length;u++)t[u]=s[u][1];return t},_functionMaxBy:function(e){for(var t,r,i=e[1],a=e[0],n=this.createKeyFunction(i,[b,S]),s=-(1/0),o=0;o<a.length;o++)r=n(a[o]),r>s&&(s=r,t=a[o]);return t},_functionMinBy:function(e){for(var t,r,i=e[1],a=e[0],n=this.createKeyFunction(i,[b,S]),s=1/0,o=0;o<a.length;o++)r=n(a[o]),s>r&&(s=r,t=a[o]);return t},createKeyFunction:function(e,t){var r=this,i=this._interpreter,a=function(a){var n=i.visit(e,a);if(t.indexOf(r._getTypeName(n))<0){var s="TypeError: expected one of "+t+", received "+r._getTypeName(n);throw new Error(s)}return n};return a}},e.tokenize=h,e.compile=d,e.search=y,e.strictDeepEqual=i}("undefined"==typeof r?this.jmespath={}:r)},{}],260:[function(e,t,r){function i(e,t){if(!e)throw new Error(t||"Assertion failed")}t.exports=i,i.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},{}],261:[function(e,t,r){(function(){var r,i;i=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing attribute name of element "+e.name);if(null==r)throw new Error("Missing attribute value for attribute "+t+" of element "+e.name);this.name=this.stringify.attName(t),this.value=this.stringify.attValue(r)}return e.prototype.clone=function(){return i(e.prototype,this)},e.prototype.toString=function(e,t){return" "+this.name+'="'+this.value+'"'},e}()}).call(this)},{"lodash/object/create":320}],262:[function(e,t,r){(function(){var r,i,a,n,s;s=e("./XMLStringifier"),i=e("./XMLDeclaration"),a=e("./XMLDocType"),n=e("./XMLElement"),t.exports=r=function(){function e(e,t){var r,i;if(null==e)throw new Error("Root element needs a name");null==t&&(t={}),this.options=t,this.stringify=new s(t),i=new n(this,"doc"),r=i.element(e),r.isRoot=!0,r.documentObject=this,this.rootObject=r,t.headless||(r.declaration(t),null==t.pubID&&null==t.sysID||r.doctype(t))}return e.prototype.root=function(){return this.rootObject},e.prototype.end=function(e){return this.toString(e)},e.prototype.toString=function(e){var t,r,i,a,n,s,o,u;return a=(null!=e?e.pretty:void 0)||!1,t=null!=(s=null!=e?e.indent:void 0)?s:"  ",i=null!=(o=null!=e?e.offset:void 0)?o:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",n="",null!=this.xmldec&&(n+=this.xmldec.toString(e)),null!=this.doctype&&(n+=this.doctype.toString(e)),n+=this.rootObject.toString(e),a&&n.slice(-r.length)===r&&(n=n.slice(0,-r.length)),n},e}()}).call(this)},{"./XMLDeclaration":269,"./XMLDocType":270,"./XMLElement":271,"./XMLStringifier":275}],263:[function(e,t,r){(function(){var r,i,a,n=function(e,t){function r(){this.constructor=e}for(var i in t)s.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;a=e("lodash/object/create"),i=e("./XMLNode"),t.exports=r=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(r)}return n(t,e),t.prototype.clone=function(){return a(t.prototype,this)},t.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<![CDATA["+this.text+"]]>",n&&(s+=i),s},t}(i)}).call(this)},{"./XMLNode":272,"lodash/object/create":320}],264:[function(e,t,r){(function(){var r,i,a,n=function(e,t){function r(){this.constructor=e}for(var i in t)s.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;a=e("lodash/object/create"),i=e("./XMLNode"),t.exports=r=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text");this.text=this.stringify.comment(r)}return n(t,e),t.prototype.clone=function(){return a(t.prototype,this)},t.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<!-- "+this.text+" -->",n&&(s+=i),s},t}(i)}).call(this)},{"./XMLNode":272,"lodash/object/create":320}],265:[function(e,t,r){(function(){var r,i;i=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r,i,a,n){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");if(null==r)throw new Error("Missing DTD attribute name");if(!i)throw new Error("Missing DTD attribute type");if(!a)throw new Error("Missing DTD attribute default");if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(n&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(t),this.attributeName=this.stringify.attName(r),this.attributeType=this.stringify.dtdAttType(i),this.defaultValue=this.stringify.dtdAttDefault(n),this.defaultValueType=a}return e.prototype.clone=function(){return i(e.prototype,this)},e.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<!ATTLIST "+this.elementName+" "+this.attributeName+" "+this.attributeType,"#DEFAULT"!==this.defaultValueType&&(s+=" "+this.defaultValueType),this.defaultValue&&(s+=' "'+this.defaultValue+'"'),s+=">",n&&(s+=i),s},e}()}).call(this)},{"lodash/object/create":320}],266:[function(e,t,r){(function(){var r,i,a;i=e("lodash/object/create"),a=e("lodash/lang/isArray"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");r||(r="(#PCDATA)"),a(r)&&(r="("+r.join(",")+")"),this.name=this.stringify.eleName(t),this.value=this.stringify.dtdElementValue(r)}return e.prototype.clone=function(){return i(e.prototype,this)},e.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<!ELEMENT "+this.name+" "+this.value+">",n&&(s+=i),s},e}()}).call(this)},{"lodash/lang/isArray":312,"lodash/object/create":320}],267:[function(e,t,r){(function(){var r,i,a;i=e("lodash/object/create"),a=e("lodash/lang/isObject"),t.exports=r=function(){function e(e,t,r,i){if(this.stringify=e.stringify,null==r)throw new Error("Missing entity name");if(null==i)throw new Error("Missing entity value");if(this.pe=!!t,this.name=this.stringify.eleName(r),a(i)){if(!i.pubID&&!i.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(i.pubID&&!i.sysID)throw new Error("System identifier is required for a public external entity");if(null!=i.pubID&&(this.pubID=this.stringify.dtdPubID(i.pubID)),null!=i.sysID&&(this.sysID=this.stringify.dtdSysID(i.sysID)),null!=i.nData&&(this.nData=this.stringify.dtdNData(i.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(i)}return e.prototype.clone=function(){return i(e.prototype,this)},e.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),
s="",n&&(s+=p),s+="<!ENTITY",this.pe&&(s+=" %"),s+=" "+this.name,this.value?s+=' "'+this.value+'"':(this.pubID&&this.sysID?s+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(s+=' SYSTEM "'+this.sysID+'"'),this.nData&&(s+=" NDATA "+this.nData)),s+=">",n&&(s+=i),s},e}()}).call(this)},{"lodash/lang/isObject":316,"lodash/object/create":320}],268:[function(e,t,r){(function(){var r,i;i=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing notation name");if(!r.pubID&&!r.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(t),null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID))}return e.prototype.clone=function(){return i(e.prototype,this)},e.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<!NOTATION "+this.name,this.pubID&&this.sysID?s+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.pubID?s+=' PUBLIC "'+this.pubID+'"':this.sysID&&(s+=' SYSTEM "'+this.sysID+'"'),s+=">",n&&(s+=i),s},e}()}).call(this)},{"lodash/object/create":320}],269:[function(e,t,r){(function(){var r,i,a,n,s=function(e,t){function r(){this.constructor=e}for(var i in t)o.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;a=e("lodash/object/create"),n=e("lodash/lang/isObject"),i=e("./XMLNode"),t.exports=r=function(e){function t(e,r,i,a){var s;t.__super__.constructor.call(this,e),n(r)&&(s=r,r=s.version,i=s.encoding,a=s.standalone),r||(r="1.0"),null!=r&&(this.version=this.stringify.xmlVersion(r)),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return s(t,e),t.prototype.clone=function(){return a(t.prototype,this)},t.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<?xml",null!=this.version&&(s+=' version="'+this.version+'"'),null!=this.encoding&&(s+=' encoding="'+this.encoding+'"'),null!=this.standalone&&(s+=' standalone="'+this.standalone+'"'),s+="?>",n&&(s+=i),s},t}(i)}).call(this)},{"./XMLNode":272,"lodash/lang/isObject":316,"lodash/object/create":320}],270:[function(e,t,r){(function(){var r,i,a,n,s,o,u,c,p,m;p=e("lodash/object/create"),m=e("lodash/lang/isObject"),r=e("./XMLCData"),i=e("./XMLComment"),a=e("./XMLDTDAttList"),s=e("./XMLDTDEntity"),n=e("./XMLDTDElement"),o=e("./XMLDTDNotation"),c=e("./XMLProcessingInstruction"),t.exports=u=function(){function e(e,t,r){var i,a;this.documentObject=e,this.stringify=this.documentObject.stringify,this.children=[],m(t)&&(i=t,t=i.pubID,r=i.sysID),null==r&&(a=[t,r],r=a[0],t=a[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=r&&(this.sysID=this.stringify.dtdSysID(r))}return e.prototype.clone=function(){return p(e.prototype,this)},e.prototype.element=function(e,t){var r;return r=new n(this,e,t),this.children.push(r),this},e.prototype.attList=function(e,t,r,i,n){var s;return s=new a(this,e,t,r,i,n),this.children.push(s),this},e.prototype.entity=function(e,t){var r;return r=new s(this,!1,e,t),this.children.push(r),this},e.prototype.pEntity=function(e,t){var r;return r=new s(this,!0,e,t),this.children.push(r),this},e.prototype.notation=function(e,t){var r;return r=new o(this,e,t),this.children.push(r),this},e.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},e.prototype.comment=function(e){var t;return t=new i(this,e),this.children.push(t),this},e.prototype.instruction=function(e,t){var r;return r=new c(this,e,t),this.children.push(r),this},e.prototype.root=function(){return this.documentObject.root()},e.prototype.document=function(){return this.documentObject},e.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p,m,l,d,h;if(u=(null!=e?e.pretty:void 0)||!1,a=null!=(p=null!=e?e.indent:void 0)?p:"  ",o=null!=(m=null!=e?e.offset:void 0)?m:0,s=null!=(l=null!=e?e.newline:void 0)?l:"\n",t||(t=0),h=new Array(t+o+1).join(a),c="",u&&(c+=h),c+="<!DOCTYPE "+this.root().name,this.pubID&&this.sysID?c+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(c+=' SYSTEM "'+this.sysID+'"'),this.children.length>0){for(c+=" [",u&&(c+=s),d=this.children,i=0,n=d.length;n>i;i++)r=d[i],c+=r.toString(e,t+1);c+="]"}return c+=">",u&&(c+=s),c},e.prototype.ele=function(e,t){return this.element(e,t)},e.prototype.att=function(e,t,r,i,a){return this.attList(e,t,r,i,a)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.up=function(){return this.root()},e.prototype.doc=function(){return this.document()},e}()}).call(this)},{"./XMLCData":263,"./XMLComment":264,"./XMLDTDAttList":265,"./XMLDTDElement":266,"./XMLDTDEntity":267,"./XMLDTDNotation":268,"./XMLProcessingInstruction":273,"lodash/lang/isObject":316,"lodash/object/create":320}],271:[function(e,t,r){(function(){var r,i,a,n,s,o,u,c,p,m=function(e,t){function r(){this.constructor=e}for(var i in t)l.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},l={}.hasOwnProperty;s=e("lodash/object/create"),p=e("lodash/lang/isObject"),u=e("lodash/lang/isArray"),c=e("lodash/lang/isFunction"),o=e("lodash/collection/every"),a=e("./XMLNode"),r=e("./XMLAttribute"),n=e("./XMLProcessingInstruction"),t.exports=i=function(e){function t(e,r,i){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element name");this.name=this.stringify.eleName(r),this.children=[],this.instructions=[],this.attributes={},null!=i&&this.attribute(i)}return m(t,e),t.prototype.clone=function(){var e,r,i,a,n,o,u,c;i=s(t.prototype,this),i.isRoot&&(i.documentObject=null),i.attributes={},u=this.attributes;for(r in u)l.call(u,r)&&(e=u[r],i.attributes[r]=e.clone());for(i.instructions=[],c=this.instructions,a=0,n=c.length;n>a;a++)o=c[a],i.instructions.push(o.clone());return i.children=[],this.children.forEach(function(e){var t;return t=e.clone(),t.parent=i,i.children.push(t)}),i},t.prototype.attribute=function(e,t){var i,a;if(null!=e&&(e=e.valueOf()),p(e))for(i in e)l.call(e,i)&&(a=e[i],this.attribute(i,a));else c(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new r(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,r,i;if(null==e)throw new Error("Missing attribute name");if(e=e.valueOf(),u(e))for(r=0,i=e.length;i>r;r++)t=e[r],delete this.attributes[t];else delete this.attributes[e];return this},t.prototype.instruction=function(e,t){var r,i,a,s,o;if(null!=e&&(e=e.valueOf()),null!=t&&(t=t.valueOf()),u(e))for(r=0,o=e.length;o>r;r++)i=e[r],this.instruction(i);else if(p(e))for(i in e)l.call(e,i)&&(a=e[i],this.instruction(i,a));else c(t)&&(t=t.apply()),s=new n(this,e,t),this.instructions.push(s);return this},t.prototype.toString=function(e,t){var r,i,a,n,s,u,c,p,m,d,h,y,f,b,g,S,v,I,N,k;for(y=(null!=e?e.pretty:void 0)||!1,n=null!=(b=null!=e?e.indent:void 0)?b:"  ",h=null!=(g=null!=e?e.offset:void 0)?g:0,d=null!=(S=null!=e?e.newline:void 0)?S:"\n",t||(t=0),k=new Array(t+h+1).join(n),f="",v=this.instructions,a=0,c=v.length;c>a;a++)s=v[a],f+=s.toString(e,t+1);y&&(f+=k),f+="<"+this.name,I=this.attributes;for(m in I)l.call(I,m)&&(r=I[m],f+=r.toString(e));if(0===this.children.length||o(this.children,function(e){return""===e.value}))f+="/>",y&&(f+=d);else if(y&&1===this.children.length&&null!=this.children[0].value)f+=">",f+=this.children[0].value,f+="</"+this.name+">",f+=d;else{for(f+=">",y&&(f+=d),N=this.children,u=0,p=N.length;p>u;u++)i=N[u],f+=i.toString(e,t+1);y&&(f+=k),f+="</"+this.name+">",y&&(f+=d)}return f},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t.prototype.i=function(e,t){return this.instruction(e,t)},t}(a)}).call(this)},{"./XMLAttribute":261,"./XMLNode":272,"./XMLProcessingInstruction":273,"lodash/collection/every":278,"lodash/lang/isArray":312,"lodash/lang/isFunction":314,"lodash/lang/isObject":316,"lodash/object/create":320}],272:[function(e,t,r){(function(){var r,i,a,n,s,o,u,c,p,m,l,d,h={}.hasOwnProperty;d=e("lodash/lang/isObject"),p=e("lodash/lang/isArray"),l=e("lodash/lang/isFunction"),m=e("lodash/lang/isEmpty"),s=null,r=null,i=null,a=null,n=null,u=null,c=null,t.exports=o=function(){function t(t){this.parent=t,this.options=this.parent.options,this.stringify=this.parent.stringify,null===s&&(s=e("./XMLElement"),r=e("./XMLCData"),i=e("./XMLComment"),a=e("./XMLDeclaration"),n=e("./XMLDocType"),u=e("./XMLRaw"),c=e("./XMLText"))}return t.prototype.clone=function(){throw new Error("Cannot clone generic XMLNode")},t.prototype.element=function(e,t,r){var i,a,n,s,o,u,c;if(s=null,null==t&&(t={}),t=t.valueOf(),d(t)||(u=[t,r],r=u[0],t=u[1]),null!=e&&(e=e.valueOf()),p(e))for(a=0,o=e.length;o>a;a++)i=e[a],s=this.element(i);else if(l(e))s=this.element(e.apply());else if(d(e))for(n in e)h.call(e,n)&&(c=e[n],l(c)&&(c=c.apply()),d(c)&&m(c)&&(c=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===n.indexOf(this.stringify.convertAttKey)?s=this.attribute(n.substr(this.stringify.convertAttKey.length),c):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===n.indexOf(this.stringify.convertPIKey)?s=this.instruction(n.substr(this.stringify.convertPIKey.length),c):d(c)?!this.options.ignoreDecorators&&this.stringify.convertListKey&&0===n.indexOf(this.stringify.convertListKey)&&p(c)?s=this.element(c):(s=this.element(n),s.element(c)):s=this.element(n,c));else s=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(r):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(r):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(r):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(r):this.node(e,t,r);if(null==s)throw new Error("Could not create any elements with: "+e);return s},t.prototype.insertBefore=function(e,t,r){var i,a,n;if(this.isRoot)throw new Error("Cannot insert elements at root level");return a=this.parent.children.indexOf(this),n=this.parent.children.splice(a),i=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,n),i},t.prototype.insertAfter=function(e,t,r){var i,a,n;if(this.isRoot)throw new Error("Cannot insert elements at root level");return a=this.parent.children.indexOf(this),n=this.parent.children.splice(a+1),i=this.parent.element(e,t,r),Array.prototype.push.apply(this.parent.children,n),i},t.prototype.remove=function(){var e,t;if(this.isRoot)throw new Error("Cannot remove the root element");return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat(t=[])),t,this.parent},t.prototype.node=function(e,t,r){var i,a;return null!=e&&(e=e.valueOf()),null==t&&(t={}),t=t.valueOf(),d(t)||(a=[t,r],r=a[0],t=a[1]),i=new s(this,e,t),null!=r&&i.text(r),this.children.push(i),i},t.prototype.text=function(e){var t;return t=new c(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t;return t=new r(this,e),this.children.push(t),this},t.prototype.comment=function(e){var t;return t=new i(this,e),this.children.push(t),this},t.prototype.raw=function(e){var t;return t=new u(this,e),this.children.push(t),this},t.prototype.declaration=function(e,t,r){var i,n;return i=this.document(),n=new a(i,e,t,r),i.xmldec=n,i.root()},t.prototype.doctype=function(e,t){var r,i;return r=this.document(),i=new n(r,e,t),r.doctype=i,i},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var e;if(this.isRoot)return this;for(e=this.parent;!e.isRoot;)e=e.parent;return e},t.prototype.document=function(){return this.root().documentObject},t.prototype.end=function(e){return this.document().toString(e)},t.prototype.prev=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(e=this.parent.children.indexOf(this),1>e)throw new Error("Already at the first node");return this.parent.children[e-1]},t.prototype.next=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(e=this.parent.children.indexOf(this),-1===e||e===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[e+1]},t.prototype.importXMLBuilder=function(e){var t;return t=e.root().clone(),t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.ele=function(e,t,r){return this.element(e,t,r)},t.prototype.nod=function(e,t,r){return this.node(e,t,r)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,r){return this.declaration(e,t,r)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,r){return this.element(e,t,r)},t.prototype.n=function(e,t,r){return this.node(e,t,r)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.u=function(){return this.up()},t}()}).call(this)},{"./XMLCData":263,"./XMLComment":264,"./XMLDeclaration":269,"./XMLDocType":270,"./XMLElement":271,"./XMLRaw":274,"./XMLText":276,"lodash/lang/isArray":312,"lodash/lang/isEmpty":313,"lodash/lang/isFunction":314,"lodash/lang/isObject":316}],273:[function(e,t,r){(function(){var r,i;i=e("lodash/object/create"),t.exports=r=function(){function e(e,t,r){if(this.stringify=e.stringify,null==t)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(t),r&&(this.value=this.stringify.insValue(r))}return e.prototype.clone=function(){return i(e.prototype,this)},e.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+="<?",s+=this.target,this.value&&(s+=" "+this.value),s+="?>",n&&(s+=i),s},e}()}).call(this)},{"lodash/object/create":320}],274:[function(e,t,r){(function(){var r,i,a,n=function(e,t){function r(){this.constructor=e}for(var i in t)s.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;a=e("lodash/object/create"),r=e("./XMLNode"),t.exports=i=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing raw text");this.value=this.stringify.raw(r)}return n(t,e),t.prototype.clone=function(){return a(t.prototype,this)},t.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+=this.value,n&&(s+=i),s},t}(r)}).call(this)},{"./XMLNode":272,"lodash/object/create":320}],275:[function(e,t,r){(function(){var e,r=function(e,t){return function(){return e.apply(t,arguments)}},i={}.hasOwnProperty;t.exports=e=function(){function e(e){this.assertLegalChar=r(this.assertLegalChar,this);var t,a,n;this.allowSurrogateChars=null!=e?e.allowSurrogateChars:void 0,a=(null!=e?e.stringify:void 0)||{};for(t in a)i.call(a,t)&&(n=a[t],this[t]=n)}return e.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},e.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},e.prototype.cdata=function(e){if(e=""+e||"",e.match(/]]>/))throw new Error("Invalid CDATA text: "+e);return this.assertLegalChar(e)},e.prototype.comment=function(e){if(e=""+e||"",e.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return""+e||""},e.prototype.attName=function(e){return""+e||""},e.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},e.prototype.insTarget=function(e){return""+e||""},e.prototype.insValue=function(e){if(e=""+e||"",e.match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},e.prototype.xmlVersion=function(e){if(e=""+e||"",!e.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(e=""+e||"",!e.match(/[A-Za-z](?:[A-Za-z0-9._-]|-)*/))throw new Error("Invalid encoding: "+e);return e},e.prototype.xmlStandalone=function(e){return e?"yes":"no"},e.prototype.dtdPubID=function(e){return""+e||""},e.prototype.dtdSysID=function(e){return""+e||""},e.prototype.dtdElementValue=function(e){return""+e||""},e.prototype.dtdAttType=function(e){return""+e||""},e.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},e.prototype.dtdEntityValue=function(e){return""+e||""},e.prototype.dtdNData=function(e){return""+e||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.convertListKey="#list",e.prototype.assertLegalChar=function(e){var t,r;if(t=this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/,r=e.match(t))throw new Error("Invalid character ("+r+") in string: "+e+" at index "+r.index);return e},e.prototype.elEscape=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")},e.prototype.attEscape=function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")},e}()}).call(this)},{}],276:[function(e,t,r){(function(){var r,i,a,n=function(e,t){function r(){this.constructor=e}for(var i in t)s.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},s={}.hasOwnProperty;a=e("lodash/object/create"),r=e("./XMLNode"),t.exports=i=function(e){function t(e,r){if(t.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text");this.value=this.stringify.eleText(r)}return n(t,e),t.prototype.clone=function(){return a(t.prototype,this)},t.prototype.toString=function(e,t){var r,i,a,n,s,o,u,c,p;return n=(null!=e?e.pretty:void 0)||!1,r=null!=(o=null!=e?e.indent:void 0)?o:"  ",a=null!=(u=null!=e?e.offset:void 0)?u:0,i=null!=(c=null!=e?e.newline:void 0)?c:"\n",t||(t=0),p=new Array(t+a+1).join(r),s="",n&&(s+=p),s+=this.value,n&&(s+=i),s},t}(r)}).call(this)},{"./XMLNode":272,"lodash/object/create":320}],277:[function(e,t,r){(function(){var r,i;i=e("lodash/object/assign"),r=e("./XMLBuilder"),t.exports.create=function(e,t,a,n){return n=i({},t,a,n),new r(e,n).root()}}).call(this)},{"./XMLBuilder":262,"lodash/object/assign":319}],278:[function(e,t,r){function i(e,t,r){var i=o(e)?a:s;return"function"==typeof t&&"undefined"==typeof r||(t=n(t,r,3)),i(e,t)}var a=e("../internal/arrayEvery"),n=e("../internal/baseCallback"),s=e("../internal/baseEvery"),o=e("../lang/isArray");t.exports=i},{"../internal/arrayEvery":279,"../internal/baseCallback":281,"../internal/baseEvery":285,"../lang/isArray":312}],279:[function(e,t,r){function i(e,t){for(var r=-1,i=e.length;++r<i;)if(!t(e[r],r,e))return!1;return!0}t.exports=i},{}],280:[function(e,t,r){function i(e,t,r){var i=n(t);if(!r)return a(t,e,i);for(var s=-1,o=i.length;++s<o;){var u=i[s],c=e[u],p=r(c,t[u],u,e,t);(p===p?p===c:c!==c)&&("undefined"!=typeof c||u in e)||(e[u]=p)}return e}var a=e("./baseCopy"),n=e("../object/keys");t.exports=i},{"../object/keys":321,"./baseCopy":282}],281:[function(e,t,r){function i(e,t,r){var i=typeof e;return"function"==i?"undefined"!=typeof t&&c(e)?o(e,t,r):e:null==e?u:"object"==i?a(e):"undefined"==typeof t?s(e+""):n(e+"",t)}var a=e("./baseMatches"),n=e("./baseMatchesProperty"),s=e("./baseProperty"),o=e("./bindCallback"),u=e("../utility/identity"),c=e("./isBindable");t.exports=i},{"../utility/identity":325,"./baseMatches":292,"./baseMatchesProperty":293,"./baseProperty":294,"./bindCallback":297,"./isBindable":302}],282:[function(e,t,r){function i(e,t,r){r||(r=t,t={});for(var i=-1,a=r.length;++i<a;){var n=r[i];t[n]=e[n]}return t}t.exports=i},{}],283:[function(e,t,r){(function(r){var i=e("../lang/isObject"),a=function(){function e(){}return function(t){if(i(t)){e.prototype=t;var a=new e;e.prototype=null}return a||r.Object()}}();t.exports=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../lang/isObject":316}],284:[function(e,t,r){function i(e,t){var r=e?e.length:0;if(!n(r))return a(e,t);for(var i=-1,o=s(e);++i<r&&t(o[i],i,o)!==!1;);return e}var a=e("./baseForOwn"),n=e("./isLength"),s=e("./toObject");t.exports=i},{"./baseForOwn":287,"./isLength":305,"./toObject":310}],285:[function(e,t,r){function i(e,t){var r=!0;return a(e,function(e,i,a){return r=!!t(e,i,a)}),r}var a=e("./baseEach");t.exports=i},{"./baseEach":284}],286:[function(e,t,r){function i(e,t,r){for(var i=-1,n=a(e),s=r(e),o=s.length;++i<o;){var u=s[i];if(t(n[u],u,n)===!1)break}return e}var a=e("./toObject");t.exports=i},{"./toObject":310}],287:[function(e,t,r){function i(e,t){return a(e,t,n)}var a=e("./baseFor"),n=e("../object/keys");t.exports=i},{"../object/keys":321,"./baseFor":286}],288:[function(e,t,r){function i(e,t,r,n,s,o){if(e===t)return 0!==e||1/e==1/t;var u=typeof e,c=typeof t;return"function"!=u&&"object"!=u&&"function"!=c&&"object"!=c||null==e||null==t?e!==e&&t!==t:a(e,t,i,r,n,s,o)}var a=e("./baseIsEqualDeep");t.exports=i},{"./baseIsEqualDeep":289}],289:[function(e,t,r){function i(e,t,r,i,l,y,f){var b=o(e),g=o(t),S=p,v=p;b||(S=h.call(e),S==c?S=m:S!=m&&(b=u(e))),g||(v=h.call(t),v==c?v=m:v!=m&&(g=u(t)));var I=S==m,N=v==m,k=S==v;if(k&&!b&&!I)return n(e,t,S);var A=I&&d.call(e,"__wrapped__"),C=N&&d.call(t,"__wrapped__");if(A||C)return r(A?e.value():e,C?t.value():t,i,l,y,f);if(!k)return!1;y||(y=[]),f||(f=[]);for(var R=y.length;R--;)if(y[R]==e)return f[R]==t;y.push(e),f.push(t);var D=(b?a:s)(e,t,r,i,l,y,f);return y.pop(),f.pop(),D}var a=e("./equalArrays"),n=e("./equalByTag"),s=e("./equalObjects"),o=e("../lang/isArray"),u=e("../lang/isTypedArray"),c="[object Arguments]",p="[object Array]",m="[object Object]",l=Object.prototype,d=l.hasOwnProperty,h=l.toString;t.exports=i},{"../lang/isArray":312,"../lang/isTypedArray":318,"./equalArrays":299,"./equalByTag":300,"./equalObjects":301}],290:[function(e,t,r){function i(e){return"function"==typeof e||!1}t.exports=i},{}],291:[function(e,t,r){function i(e,t,r,i,n){var o=t.length;if(null==e)return!o;for(var u=-1,c=!n;++u<o;)if(c&&i[u]?r[u]!==e[t[u]]:!s.call(e,t[u]))return!1;for(u=-1;++u<o;){var p=t[u];if(c&&i[u])var m=s.call(e,p);else{var l=e[p],d=r[u];m=n?n(l,d,p):void 0,"undefined"==typeof m&&(m=a(d,l,n,!0))}if(!m)return!1}return!0}var a=e("./baseIsEqual"),n=Object.prototype,s=n.hasOwnProperty;t.exports=i},{"./baseIsEqual":288}],292:[function(e,t,r){function i(e){var t=s(e),r=t.length;if(1==r){var i=t[0],o=e[i];if(n(o))return function(e){return null!=e&&e[i]===o&&u.call(e,i)}}for(var c=Array(r),p=Array(r);r--;)o=e[t[r]],c[r]=o,p[r]=n(o);return function(e){return a(e,t,c,p)}}var a=e("./baseIsMatch"),n=e("./isStrictComparable"),s=e("../object/keys"),o=Object.prototype,u=o.hasOwnProperty;t.exports=i},{"../object/keys":321,"./baseIsMatch":291,"./isStrictComparable":307}],293:[function(e,t,r){function i(e,t){return n(t)?function(r){return null!=r&&r[e]===t}:function(r){return null!=r&&a(t,r[e],null,!0)}}var a=e("./baseIsEqual"),n=e("./isStrictComparable");t.exports=i},{"./baseIsEqual":288,"./isStrictComparable":307}],294:[function(e,t,r){function i(e){return function(t){return null==t?void 0:t[e]}}t.exports=i},{}],295:[function(e,t,r){var i=e("../utility/identity"),a=e("./metaMap"),n=a?function(e,t){return a.set(e,t),e}:i;t.exports=n},{"../utility/identity":325,"./metaMap":308}],296:[function(e,t,r){function i(e){return"string"==typeof e?e:null==e?"":e+""}t.exports=i},{}],297:[function(e,t,r){function i(e,t,r){if("function"!=typeof e)return a;if("undefined"==typeof t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 3:return function(r,i,a){return e.call(t,r,i,a)};case 4:return function(r,i,a,n){return e.call(t,r,i,a,n)};case 5:return function(r,i,a,n,s){return e.call(t,r,i,a,n,s)}}return function(){return e.apply(t,arguments)}}var a=e("../utility/identity");t.exports=i},{"../utility/identity":325}],298:[function(e,t,r){function i(e){return function(){var t=arguments,r=t.length,i=t[0];if(2>r||null==i)return i;var s=t[r-2],o=t[r-1],u=t[3];r>3&&"function"==typeof s?(s=a(s,o,5),r-=2):(s=r>2&&"function"==typeof o?o:null,r-=s?1:0),u&&n(t[1],t[2],u)&&(s=3==r?null:s,r=2);for(var c=0;++c<r;){var p=t[c];p&&e(i,p,s)}return i}}var a=e("./bindCallback"),n=e("./isIterateeCall");t.exports=i},{"./bindCallback":297,"./isIterateeCall":304}],299:[function(e,t,r){function i(e,t,r,i,a,n,s){var o=-1,u=e.length,c=t.length,p=!0;if(u!=c&&!(a&&c>u))return!1;for(;p&&++o<u;){var m=e[o],l=t[o];if(p=void 0,i&&(p=a?i(l,m,o):i(m,l,o)),"undefined"==typeof p)if(a)for(var d=c;d--&&(l=t[d],!(p=m&&m===l||r(m,l,i,a,n,s))););else p=m&&m===l||r(m,l,i,a,n,s)}return!!p}t.exports=i},{}],300:[function(e,t,r){function i(e,t,r){switch(r){case a:case n:return+e==+t;case s:return e.name==t.name&&e.message==t.message;case o:return e!=+e?t!=+t:0==e?1/e==1/t:e==+t;case u:case c:return e==t+""}return!1}var a="[object Boolean]",n="[object Date]",s="[object Error]",o="[object Number]",u="[object RegExp]",c="[object String]";t.exports=i},{}],301:[function(e,t,r){function i(e,t,r,i,n,o,u){var c=a(e),p=c.length,m=a(t),l=m.length;if(p!=l&&!n)return!1;for(var d,h=-1;++h<p;){var y=c[h],f=s.call(t,y);if(f){var b=e[y],g=t[y];f=void 0,i&&(f=n?i(g,b,y):i(b,g,y)),"undefined"==typeof f&&(f=b&&b===g||r(b,g,i,n,o,u))}if(!f)return!1;d||(d="constructor"==y)}if(!d){var S=e.constructor,v=t.constructor;if(S!=v&&"constructor"in e&&"constructor"in t&&!("function"==typeof S&&S instanceof S&&"function"==typeof v&&v instanceof v))return!1}return!0}var a=e("../object/keys"),n=Object.prototype,s=n.hasOwnProperty;t.exports=i},{"../object/keys":321}],302:[function(e,t,r){function i(e){var t=!(s.funcNames?e.name:s.funcDecomp);if(!t){var r=c.call(e);s.funcNames||(t=!o.test(r)),t||(t=u.test(r)||n(e),a(e,t))}return t}var a=e("./baseSetData"),n=e("../lang/isNative"),s=e("../support"),o=/^\s*function[ \n\r\t]+\w/,u=/\bthis\b/,c=Function.prototype.toString;t.exports=i},{"../lang/isNative":315,"../support":324,"./baseSetData":295}],303:[function(e,t,r){function i(e,t){return e=+e,t=null==t?a:t,e>-1&&e%1==0&&t>e}var a=Math.pow(2,53)-1;t.exports=i},{}],304:[function(e,t,r){function i(e,t,r){if(!s(r))return!1;var i=typeof t;if("number"==i)var o=r.length,u=n(o)&&a(t,o);else u="string"==i&&t in r;if(u){var c=r[t];return e===e?e===c:c!==c}return!1}var a=e("./isIndex"),n=e("./isLength"),s=e("../lang/isObject");t.exports=i},{"../lang/isObject":316,"./isIndex":303,"./isLength":305}],305:[function(e,t,r){function i(e){return"number"==typeof e&&e>-1&&e%1==0&&a>=e}var a=Math.pow(2,53)-1;t.exports=i},{}],306:[function(e,t,r){function i(e){return e&&"object"==typeof e||!1}t.exports=i},{}],307:[function(e,t,r){function i(e){return e===e&&(0===e?1/e>0:!a(e))}var a=e("../lang/isObject");t.exports=i},{"../lang/isObject":316}],308:[function(e,t,r){(function(r){var i=e("../lang/isNative"),a=i(a=r.WeakMap)&&a,n=a&&new a;t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../lang/isNative":315}],309:[function(e,t,r){function i(e){for(var t=u(e),r=t.length,i=r&&e.length,p=i&&o(i)&&(n(e)||c.nonEnumArgs&&a(e)),l=-1,d=[];++l<r;){var h=t[l];(p&&s(h,i)||m.call(e,h))&&d.push(h)}return d}var a=e("../lang/isArguments"),n=e("../lang/isArray"),s=e("./isIndex"),o=e("./isLength"),u=e("../object/keysIn"),c=e("../support"),p=Object.prototype,m=p.hasOwnProperty;t.exports=i},{"../lang/isArguments":311,"../lang/isArray":312,"../object/keysIn":322,"../support":324,"./isIndex":303,"./isLength":305}],310:[function(e,t,r){function i(e){return a(e)?e:Object(e)}var a=e("../lang/isObject");t.exports=i},{"../lang/isObject":316}],311:[function(e,t,r){function i(e){var t=n(e)?e.length:void 0;return a(t)&&u.call(e)==s||!1}var a=e("../internal/isLength"),n=e("../internal/isObjectLike"),s="[object Arguments]",o=Object.prototype,u=o.toString;t.exports=i},{"../internal/isLength":305,"../internal/isObjectLike":306}],312:[function(e,t,r){var i=e("../internal/isLength"),a=e("./isNative"),n=e("../internal/isObjectLike"),s="[object Array]",o=Object.prototype,u=o.toString,c=a(c=Array.isArray)&&c,p=c||function(e){return n(e)&&i(e.length)&&u.call(e)==s||!1};t.exports=p},{"../internal/isLength":305,"../internal/isObjectLike":306,"./isNative":315}],313:[function(e,t,r){function i(e){if(null==e)return!0;var t=e.length;return o(t)&&(n(e)||c(e)||a(e)||u(e)&&s(e.splice))?!t:!p(e).length}var a=e("./isArguments"),n=e("./isArray"),s=e("./isFunction"),o=e("../internal/isLength"),u=e("../internal/isObjectLike"),c=e("./isString"),p=e("../object/keys");t.exports=i},{"../internal/isLength":305,"../internal/isObjectLike":306,"../object/keys":321,"./isArguments":311,"./isArray":312,"./isFunction":314,"./isString":317}],314:[function(e,t,r){(function(r){var i=e("../internal/baseIsFunction"),a=e("./isNative"),n="[object Function]",s=Object.prototype,o=s.toString,u=a(u=r.Uint8Array)&&u,c=i(/x/)||u&&!i(u)?function(e){return o.call(e)==n}:i;t.exports=c}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../internal/baseIsFunction":290,"./isNative":315}],315:[function(e,t,r){function i(e){return null==e?!1:p.call(e)==s?m.test(c.call(e)):n(e)&&o.test(e)||!1}var a=e("../string/escapeRegExp"),n=e("../internal/isObjectLike"),s="[object Function]",o=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,p=u.toString,m=RegExp("^"+a(p).replace(/toString|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=i},{"../internal/isObjectLike":306,"../string/escapeRegExp":323}],316:[function(e,t,r){function i(e){var t=typeof e;return"function"==t||e&&"object"==t||!1}t.exports=i},{}],317:[function(e,t,r){function i(e){return"string"==typeof e||a(e)&&o.call(e)==n||!1}var a=e("../internal/isObjectLike"),n="[object String]",s=Object.prototype,o=s.toString;t.exports=i},{"../internal/isObjectLike":306}],318:[function(e,t,r){function i(e){return n(e)&&a(e.length)&&w[x.call(e)]||!1}var a=e("../internal/isLength"),n=e("../internal/isObjectLike"),s="[object Arguments]",o="[object Array]",u="[object Boolean]",c="[object Date]",p="[object Error]",m="[object Function]",l="[object Map]",d="[object Number]",h="[object Object]",y="[object RegExp]",f="[object Set]",b="[object String]",g="[object WeakMap]",S="[object ArrayBuffer]",v="[object Float32Array]",I="[object Float64Array]",N="[object Int8Array]",k="[object Int16Array]",A="[object Int32Array]",C="[object Uint8Array]",R="[object Uint8ClampedArray]",D="[object Uint16Array]",T="[object Uint32Array]",w={};
w[v]=w[I]=w[N]=w[k]=w[A]=w[C]=w[R]=w[D]=w[T]=!0,w[s]=w[o]=w[S]=w[u]=w[c]=w[p]=w[m]=w[l]=w[d]=w[h]=w[y]=w[f]=w[b]=w[g]=!1;var q=Object.prototype,x=q.toString;t.exports=i},{"../internal/isLength":305,"../internal/isObjectLike":306}],319:[function(e,t,r){var i=e("../internal/baseAssign"),a=e("../internal/createAssigner"),n=a(i);t.exports=n},{"../internal/baseAssign":280,"../internal/createAssigner":298}],320:[function(e,t,r){function i(e,t,r){var i=n(e);return r&&s(e,t,r)&&(t=null),t?a(t,i,o(t)):i}var a=e("../internal/baseCopy"),n=e("../internal/baseCreate"),s=e("../internal/isIterateeCall"),o=e("./keys");t.exports=i},{"../internal/baseCopy":282,"../internal/baseCreate":283,"../internal/isIterateeCall":304,"./keys":321}],321:[function(e,t,r){var i=e("../internal/isLength"),a=e("../lang/isNative"),n=e("../lang/isObject"),s=e("../internal/shimKeys"),o=a(o=Object.keys)&&o,u=o?function(e){if(e)var t=e.constructor,r=e.length;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&r&&i(r)?s(e):n(e)?o(e):[]}:s;t.exports=u},{"../internal/isLength":305,"../internal/shimKeys":309,"../lang/isNative":315,"../lang/isObject":316}],322:[function(e,t,r){function i(e){if(null==e)return[];u(e)||(e=Object(e));var t=e.length;t=t&&o(t)&&(n(e)||c.nonEnumArgs&&a(e))&&t||0;for(var r=e.constructor,i=-1,p="function"==typeof r&&r.prototype===e,l=Array(t),d=t>0;++i<t;)l[i]=i+"";for(var h in e)d&&s(h,t)||"constructor"==h&&(p||!m.call(e,h))||l.push(h);return l}var a=e("../lang/isArguments"),n=e("../lang/isArray"),s=e("../internal/isIndex"),o=e("../internal/isLength"),u=e("../lang/isObject"),c=e("../support"),p=Object.prototype,m=p.hasOwnProperty;t.exports=i},{"../internal/isIndex":303,"../internal/isLength":305,"../lang/isArguments":311,"../lang/isArray":312,"../lang/isObject":316,"../support":324}],323:[function(e,t,r){function i(e){return e=a(e),e&&s.test(e)?e.replace(n,"\\$&"):e}var a=e("../internal/baseToString"),n=/[.*+?^${}()|[\]\/\\]/g,s=RegExp(n.source);t.exports=i},{"../internal/baseToString":296}],324:[function(e,t,r){(function(r){var i=e("./lang/isNative"),a=/\bthis\b/,n=Object.prototype,s=(s=r.window)&&s.document,o=n.propertyIsEnumerable,u={};!function(e){u.funcDecomp=!i(r.WinRTError)&&a.test(function(){return this}),u.funcNames="string"==typeof Function.name;try{u.dom=11===s.createDocumentFragment().nodeType}catch(t){u.dom=!1}try{u.nonEnumArgs=!o.call(arguments,1)}catch(t){u.nonEnumArgs=!0}}(0,0),t.exports=u}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./lang/isNative":315}],325:[function(e,t,r){function i(e){return e}t.exports=i},{}]},{},[1]);
