daily pastebin goal
60%
SHARE
TWEET

aws - amplify (javascript)

blur Nov 9th, 2018 160 in 9 hours
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("aws-amplify",[],t):"object"==typeof exports?exports["aws-amplify"]=t():e["aws-amplify"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=176)}([function(e,t,n){var r={util:n(6)};({}).toString(),e.exports=r,r.util.update(r,{VERSION:"2.329.0",Signers:{},Protocol:{Json:n(51),Query:n(81),Rest:n(38),RestJson:n(83),RestXml:n(84)},XML:{Builder:n(183),Parser:null},JSON:{Builder:n(52),Parser:n(53)},Model:{Api:n(85),Operation:n(86),Shape:n(33),Paginator:n(87),ResourceWaiter:n(88)},apiLoader:n(188)}),n(89),n(189),n(192),n(92),n(193),n(197),n(199),n(200),n(201),n(207),r.events=new r.SequentialExecutor},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0});var i=n(37),o=n(8),a=n(41);r(n(37));var s=n(246);t.ClientDevice=s.default,r(n(8)),r(n(248));var u=n(100);t.Hub=u.default;var c=n(249);t.I18n=c.default;var l=n(27);t.JS=l.default;var p=n(251);t.Signer=p.default;var d=n(252);t.Parser=d.default;var f=n(101);t.FacebookOAuth=f.FacebookOAuth,t.GoogleOAuth=f.GoogleOAuth,r(n(255));var h=n(256);t.Credentials=h.default;var m=n(257);t.ServiceWorker=m.default;var y=n(102);t.StorageHelper=y.default,t.MemoryStorage=y.MemoryStorage;var g=n(103);t.Platform=g.default;var v=n(103);t.Constants={userAgent:v.default.userAgent},t.default=a.default;var b=new o.ConsoleLogger("Core");i.AWS.util?i.AWS.util.userAgent=function(){return t.Constants.userAgent}:i.AWS.config?i.AWS.config.update({customUserAgent:t.Constants.userAgent}):b.warn("No AWS.config")},function(e,t,n){"use strict";var r=n(22);n.d(t,"a",function(){return r.a});var i=n(332);n.d(t,"e",function(){return i.a});var o=n(131);n.d(t,"c",function(){return o.a});var a=n(128);n.d(t,"d",function(){return a.a});var s=n(333);n.d(t,"b",function(){return s.a})},function(e,t,n){!function(n,r){e.exports=t=r()}(0,function(){var e=e||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},i=r.lib={},o=i.Base=function(){return{extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),a=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(var o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=0;i<t;i+=4){var o=function(t){var t=t,n=987654321,r=4294967295;return function(){n=36969*(65535&n)+(n>>16)&r,t=18e3*(65535&t)+(t>>16)&r;var i=(n<<16)+t&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}}(4294967296*(n||e.random()));n=987654071*o(),r.push(4294967296*o()|0)}return new a.init(r,t)}}),s=r.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},c=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},l=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},p=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=4*o,u=i/s;u=t?e.ceil(u):e.max((0|u)-this._minBufferSize,0);var c=u*o,l=e.min(4*c,i);if(c){for(var p=0;p<c;p+=o)this._doProcessBlock(r,p);var d=r.splice(0,c);n.sigBytes-=l}return new a.init(d,l)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),d=(i.Hasher=p.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new d.HMAC.init(e,n).finalize(t)}}}),r.algo={});return r}(Math);return e})},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return a(e)||u(e)||l(e)||d(e)||h(e)||y(e)||v(e)||S(e)}function o(e){return i(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL type."),e}function a(e){return Object(W.a)(e,te)}function s(e){return a(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Scalar type."),e}function u(e){return Object(W.a)(e,ne)}function c(e){return u(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Object type."),e}function l(e){return Object(W.a)(e,re)}function p(e){return l(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Interface type."),e}function d(e){return Object(W.a)(e,ie)}function f(e){return d(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Union type."),e}function h(e){return Object(W.a)(e,oe)}function m(e){return h(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Enum type."),e}function y(e){return Object(W.a)(e,ae)}function g(e){return y(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Input Object type."),e}function v(e){return Object(W.a)(e,$.a)}function b(e){return v(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL List type."),e}function S(e){return Object(W.a)(e,$.b)}function _(e){return S(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL Non-Null type."),e}function E(e){return a(e)||h(e)||y(e)||P(e)&&E(e.ofType)}function I(e){return E(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL input type."),e}function C(e){return a(e)||u(e)||l(e)||d(e)||h(e)||P(e)&&C(e.ofType)}function T(e){return C(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL output type."),e}function w(e){return a(e)||h(e)}function N(e){return w(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL leaf type."),e}function A(e){return u(e)||l(e)||d(e)}function k(e){return A(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL composite type."),e}function O(e){return l(e)||d(e)}function R(e){return O(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL abstract type."),e}function P(e){return v(e)||S(e)}function x(e){return P(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL wrapping type."),e}function D(e){return i(e)&&!S(e)}function U(e){return D(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL nullable type."),e}function M(e){if(e)return S(e)?e.ofType:e}function j(e){return a(e)||u(e)||l(e)||d(e)||h(e)||y(e)}function L(e){return j(e)||Object(J.a)(0,"Expected "+String(e)+" to be a GraphQL named type."),e}function B(e){if(e){for(var t=e;P(t);)t=t.ofType;return t}}function q(e){return"function"==typeof e?e():e}function F(e,t){var n=q(t)||[];return Array.isArray(n)||Object(J.a)(0,e.name+" interfaces must be an Array or a function which returns an Array."),n}function V(e,t){var n=q(t)||{};K(n)||Object(J.a)(0,e.name+" fields must be an object with field names as keys or a function which returns such an object.");var r=Object.create(null);return Object.keys(n).forEach(function(t){var i=n[t];K(i)||Object(J.a)(0,e.name+"."+t+" field config must be an object"),i.hasOwnProperty("isDeprecated")&&Object(J.a)(0,e.name+"."+t+' should provide "deprecationReason" instead of "isDeprecated".');var o=ee({},i,{isDeprecated:Boolean(i.deprecationReason),name:t});z(o.resolve)||Object(J.a)(0,e.name+"."+t+" field resolver must be a function if provided, but got: "+String(o.resolve)+".");var a=i.args;a?(K(a)||Object(J.a)(0,e.name+"."+t+" args must be an object with argument names as keys."),o.args=Object.keys(a).map(function(e){var t=a[e];return{name:e,description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,astNode:t.astNode}})):o.args=[],r[t]=o}),r}function K(e){return e&&"object"===(void 0===e?"undefined":Z(e))&&!Array.isArray(e)}function z(e){return null==e||"function"==typeof e}function G(e,t){var n=q(t)||[];return Array.isArray(n)||Object(J.a)(0,"Must provide Array of types or a function which returns such an array for Union "+e.name+"."),n}function H(e,t){return K(t)||Object(J.a)(0,e.name+" values must be an object with value names as keys."),Object.keys(t).map(function(n){var r=t[n];return K(r)||Object(J.a)(0,e.name+"."+n+' must refer to an object with a "value" key representing an internal value but got: '+String(r)+"."),r.hasOwnProperty("isDeprecated")&&Object(J.a)(0,e.name+"."+n+' should provide "deprecationReason" instead of "isDeprecated".'),{name:n,description:r.description,isDeprecated:Boolean(r.deprecationReason),deprecationReason:r.deprecationReason,astNode:r.astNode,value:r.hasOwnProperty("value")?r.value:n}})}t.N=i,t.u=o,t.M=a,t.t=s,t.K=u,t.r=c,t.E=l,t.l=p,t.O=d,t.v=f,t.B=h,t.i=m,t.C=y,t.j=g,t.G=v,t.n=b,t.I=S,t.p=_,t.D=E,t.k=I,t.L=C,t.s=T,t.F=w,t.m=N,t.A=A,t.h=k,t.z=O,t.g=R,t.P=P,t.w=x,t.J=D,t.q=U,t.y=M,t.H=j,t.o=L,t.x=B,n.d(t,"e",function(){return te}),n.d(t,"d",function(){return ne}),n.d(t,"c",function(){return re}),n.d(t,"f",function(){return ie}),n.d(t,"a",function(){return oe}),n.d(t,"b",function(){return ae});var W=n(67),J=n(10),Y=n(12),Q=n(5),X=n(127),$=n(13),Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._scalarConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),"function"!=typeof t.serialize&&Object(J.a)(0,this.name+' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.'),(t.parseValue||t.parseLiteral)&&("function"!=typeof t.parseValue||"function"!=typeof t.parseLiteral)&&Object(J.a)(0,this.name+' must provide both "parseValue" and "parseLiteral" functions.')}return e.prototype.serialize=function(e){return(0,this._scalarConfig.serialize)(e)},e.prototype.parseValue=function(e){var t=this._scalarConfig.parseValue;if(!Object(Y.a)(e))return t?t(e):e},e.prototype.parseLiteral=function(e,t){var n=this._scalarConfig.parseLiteral;return n?n(e,t):Object(X.a)(e,t)},e.prototype.toString=function(){return this.name},e}();te.prototype.toJSON=te.prototype.inspect=te.prototype.toString;var ne=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this.isTypeOf=t.isTypeOf,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),t.isTypeOf&&"function"!=typeof t.isTypeOf&&Object(J.a)(0,this.name+' must provide "isTypeOf" as a function.')}return e.prototype.getFields=function(){return this._fields||(this._fields=V(this,this._typeConfig.fields))},e.prototype.getInterfaces=function(){return this._interfaces||(this._interfaces=F(this,this._typeConfig.interfaces))},e.prototype.toString=function(){return this.name},e}();ne.prototype.toJSON=ne.prototype.inspect=ne.prototype.toString;var re=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this.resolveType=t.resolveType,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),t.resolveType&&"function"!=typeof t.resolveType&&Object(J.a)(0,this.name+' must provide "resolveType" as a function.')}return e.prototype.getFields=function(){return this._fields||(this._fields=V(this,this._typeConfig.fields))},e.prototype.toString=function(){return this.name},e}();re.prototype.toJSON=re.prototype.inspect=re.prototype.toString;var ie=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this.resolveType=t.resolveType,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name."),t.resolveType&&"function"!=typeof t.resolveType&&Object(J.a)(0,this.name+' must provide "resolveType" as a function.')}return e.prototype.getTypes=function(){return this._types||(this._types=G(this,this._typeConfig.types))},e.prototype.toString=function(){return this.name},e}();ie.prototype.toJSON=ie.prototype.inspect=ie.prototype.toString;var oe=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._enumConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name.")}return e.prototype.getValues=function(){return this._values||(this._values=H(this,this._enumConfig.values))},e.prototype.getValue=function(e){return this._getNameLookup()[e]},e.prototype.serialize=function(e){var t=this._getValueLookup().get(e);if(t)return t.name},e.prototype.parseValue=function(e){if("string"==typeof e){var t=this._getNameLookup()[e];if(t)return t.value}},e.prototype.parseLiteral=function(e,t){if(e.kind===Q.a.ENUM){var n=this._getNameLookup()[e.value];if(n)return n.value}},e.prototype._getValueLookup=function(){if(!this._valueLookup){var e=new Map;this.getValues().forEach(function(t){e.set(t.value,t)}),this._valueLookup=e}return this._valueLookup},e.prototype._getNameLookup=function(){if(!this._nameLookup){var e=Object.create(null);this.getValues().forEach(function(t){e[t.name]=t}),this._nameLookup=e}return this._nameLookup},e.prototype.toString=function(){return this.name},e}();oe.prototype.toJSON=oe.prototype.inspect=oe.prototype.toString;var ae=function(){function e(t){r(this,e),this.name=t.name,this.description=t.description,this.astNode=t.astNode,this._typeConfig=t,"string"!=typeof t.name&&Object(J.a)(0,"Must provide name.")}return e.prototype.getFields=function(){return this._fields||(this._fields=this._defineFieldMap())},e.prototype._defineFieldMap=function(){var e=this,t=q(this._typeConfig.fields)||{};K(t)||Object(J.a)(0,this.name+" fields must be an object with field names as keys or a function which returns such an object.");var n=Object.create(null);return Object.keys(t).forEach(function(r){var i=ee({},t[r],{name:r});i.hasOwnProperty("resolve")&&Object(J.a)(0,e.name+"."+r+" field type has a resolve property, but Input Types cannot define resolvers."),n[r]=i}),n},e.prototype.toString=function(){return this.name},e}();ae.prototype.toJSON=ae.prototype.toString,ae.prototype.inspect=ae.prototype.toString},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",VARIABLE:"Variable",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension",DIRECTIVE_DEFINITION:"DirectiveDefinition"})},function(e,t,n){(function(t,r){var i,o={environment:"nodejs",engine:function(){if(o.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=t.platform+"/"+t.version;return t.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+t.env.AWS_EXECUTION_ENV),e},userAgent:function(){var e=o.environment,t="aws-sdk-"+e+"/"+n(0).VERSION;return"nodejs"===e&&(t+=" "+o.engine()),t},isBrowser:function(){return t&&t.browser},isNode:function(){return!o.isBrowser()},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 o.arrayEach(e.split("/"),function(e){t.push(o.uriEscape(e))}),t.join("/")},urlParse:function(e){return o.url.parse(e)},urlFormat:function(e){return o.url.format(e)},queryStringParse:function(e){return o.querystring.parse(e)},queryParamsToString:function(e){var t=[],n=o.uriEscape,r=Object.keys(e).sort();return o.arrayEach(r,function(r){var i=e[r],a=n(r),s=a+"=";if(Array.isArray(i)){var u=[];o.arrayEach(i,function(e){u.push(n(e))}),s=a+"="+u.sort().join("&"+a+"=")}else void 0!==i&&null!==i&&(s=a+"="+n(i));t.push(s)}),t.join("&")},readFileSync:function(e){return o.isBrowser()?null:n(55).readFileSync(e,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 encode number "+e));return null===e||void 0===e?e:("function"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e):new o.Buffer(e)).toString("base64")},decode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 decode number "+e));return null===e||void 0===e?e:"function"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e,"base64"):new o.Buffer(e,"base64")}},buffer:{toStream:function(e){o.Buffer.isBuffer(e)||(e=new o.Buffer(e));var t=new o.stream.Readable,n=0;return t._read=function(r){if(n>=e.length)return t.push(null);var i=n+r;i>e.length&&(i=e.length),t.push(e.slice(n,i)),n=i},t},concat:function(e){var t,n=0,r=0,i=null;for(t=0;t<e.length;t++)n+=e[t].length;for(i=new o.Buffer(n),t=0;t<e.length;t++)e[t].copy(i,r),r+=e[t].length;return i}},string:{byteLength:function(e){if(null===e||void 0===e)return 0;if("string"==typeof e&&(e=new o.Buffer(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 n(55).lstatSync(e.path).size;throw o.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,n={};return o.arrayEach(e.split(/\r?\n/),function(e){e=e.split(/(^|\s)[;#]/)[0];var r=e.match(/^\s*\[([^\[\]]+)\]\s*$/);if(r)t=r[1];else if(t){var i=e.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/);i&&(n[t]=n[t]||{},n[t][i[1]]=i[2])}}),n}},fn:{noop:function(){},makeAsync:function(e,t){return t&&t<=e.length?e:function(){var t=Array.prototype.slice.call(arguments,0);t.pop()(e.apply(null,t))}}},date:{getDate:function(){return i||(i=n(0)),i.config.systemClockOffset?new Date((new Date).getTime()+i.config.systemClockOffset):new Date},iso8601:function(e){return void 0===e&&(e=o.date.getDate()),e.toISOString().replace(/\.\d{3}Z$/,"Z")},rfc822:function(e){return void 0===e&&(e=o.date.getDate()),e.toUTCString()},unixTimestamp:function(e){return void 0===e&&(e=o.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"),o.date[t](o.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 o.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=o.crypto.crc32Table,n=-1;"string"==typeof e&&(e=new o.Buffer(e));for(var r=0;r<e.length;r++){n=n>>>8^t[255&(n^e.readUInt8(r))]}return(-1^n)>>>0},hmac:function(e,t,n,r){return n||(n="binary"),"buffer"===n&&(n=void 0),r||(r="sha256"),"string"==typeof t&&(t=new o.Buffer(t)),o.crypto.lib.createHmac(r,e).update(t).digest(n)},md5:function(e,t,n){return o.crypto.hash("md5",e,t,n)},sha256:function(e,t,n){return o.crypto.hash("sha256",e,t,n)},hash:function(e,t,n,r){var i=o.crypto.createHash(e);n||(n="binary"),"buffer"===n&&(n=void 0),"string"==typeof t&&(t=new o.Buffer(t));var a=o.arraySliceFn(t),s=o.Buffer.isBuffer(t);if(o.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(s=!0),r&&"object"==typeof t&&"function"==typeof t.on&&!s)t.on("data",function(e){i.update(e)}),t.on("error",function(e){r(e)}),t.on("end",function(){r(null,i.digest(n))});else{if(!r||!a||s||"undefined"==typeof FileReader){o.isBrowser()&&"object"==typeof t&&!s&&(t=new o.Buffer(new Uint8Array(t)));var u=i.update(t).digest(n);return r&&r(null,u),u}var c=0,l=new FileReader;l.onerror=function(){r(new Error("Failed to read data."))},l.onload=function(){var e=new o.Buffer(new Uint8Array(l.result));i.update(e),c+=e.length,l._continueReading()},l._continueReading=function(){if(c>=t.size)return void r(null,i.digest(n));var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(a.call(t,c,e))},l._continueReading()}},toHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push(("0"+e.charCodeAt(n).toString(16)).substr(-2,2));return t.join("")},createHash:function(e){return o.crypto.lib.createHash(e)}},abort:{},each:function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=t.call(this,n,e[n]);if(r===o.abort)break}},arrayEach:function(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=t.call(this,e[n],parseInt(n,10));if(r===o.abort)break}},update:function(e,t){return o.each(t,function(t,n){e[t]=n}),e},merge:function(e,t){return o.update(o.copy(e),t)},copy:function(e){if(null===e||void 0===e)return e;var t={};for(var n in e)t[n]=e[n];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=o.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(),n=t.match(/^\s*function (.+)\(/);return n?n[1]:t},error:function(e,t){var n=null;return"string"==typeof e.message&&""!==e.message&&("string"==typeof t||t&&t.message)&&(n=o.copy(e),n.message=e.message),e.message=e.message||null,"string"==typeof t?e.message=t:"object"==typeof t&&null!==t&&(o.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,n&&(e.originalError=n),e},inherit:function(e,t){var n=null;if(void 0===t)t=e,e=Object,n={};else{var r=function(){};r.prototype=e.prototype,n=new r}return t.constructor===Object&&(t.constructor=function(){if(e!==Object)return e.apply(this,arguments)}),t.constructor.prototype=n,o.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 n in arguments[t].prototype){var r=arguments[t].prototype[n];"constructor"!==n&&(e.prototype[n]=r)}return e},hideProperties:function(e,t){"function"==typeof Object.defineProperty&&o.arrayEach(t,function(t){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0})})},property:function(e,t,n,r,i){var o={configurable:!0,enumerable:void 0===r||r};"function"!=typeof n||i?(o.value=n,o.writable=!0):o.get=n,Object.defineProperty(e,t,o)},memoizedProperty:function(e,t,n,r){var i=null;o.property(e,t,function(){return null===i&&(i=n()),i},r)},hoistPayloadMember:function(e){var t=e.request,n=t.operation,r=t.service.api.operations[n],i=r.output;if(i.payload&&!r.hasEventOutput){var a=i.members[i.payload],s=e.data[i.payload];"structure"===a.type&&o.each(s,function(t,n){o.property(e.data,t,n,!1)})}},computeSha256:function(e,t){if(o.isNode()){var r=o.stream.Stream,i=n(55);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)}}o.crypto.sha256(e,"hex",function(e,n){e?t(e):t(null,n)})},isClockSkewed:function(e){if(e)return o.property(i.config,"isClockSkewed",Math.abs((new Date).getTime()-e)>=3e5,!1),i.config.isClockSkewed},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)},addPromises:function(e,t){var n=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&"undefined"!=typeof Promise&&(t=Promise),"function"!=typeof t&&(n=!0),Array.isArray(e)||(e=[e]);for(var r=0;r<e.length;r++){var o=e[r];n?o.deletePromisesFromClass&&o.deletePromisesFromClass():o.addPromisesToClass&&o.addPromisesToClass(t)}},promisifyMethod:function(e,t){return function(){var n=this;return new t(function(t,r){n[e](function(e,n){e?r(e):t(n)})})}},isDualstackAvailable:function(e){if(!e)return!1;var t=n(208);return"string"!=typeof e&&(e=e.serviceIdentifier),!("string"!=typeof e||!t.hasOwnProperty(e))&&!!t[e].dualstackAvailable},calculateRetryDelay:function(e,t){t||(t={});var n=t.customBackoff||null;if("function"==typeof n)return n(e);var r="number"==typeof t.base?t.base:100;return Math.random()*(Math.pow(2,e)*r)},handleRequestWithRetries:function(e,t,n){t||(t={});var r=i.HttpClient.getInstance(),a=t.httpOptions||{},s=0,u=function(e){var r=t.maxRetries||0;if(e&&"TimeoutError"===e.code&&(e.retryable=!0),e&&e.retryable&&s<r){s++;var i=o.calculateRetryDelay(s,t.retryDelayOptions);setTimeout(c,i+(e.retryAfter||0))}else n(e)},c=function(){var t="";r.handleRequest(e,a,function(e){e.on("data",function(e){t+=e.toString()}),e.on("end",function(){var r=e.statusCode;if(r<300)n(null,t);else{var i=1e3*parseInt(e.headers["retry-after"],10)||0,a=o.error(new Error,{retryable:r>=500||429===r});i&&a.retryable&&(a.retryAfter=i),u(a)}})},u)};i.util.defer(c)},uuid:{v4:function(){return n(209).v4()}},convertPayloadToString:function(e){var t=e.request,n=t.operation,r=t.service.api.operations[n].output||{};r.payload&&e.data[r.payload]&&(e.data[r.payload]=e.data[r.payload].toString())},defer:function(e){"object"==typeof t&&"function"==typeof t.nextTick?t.nextTick(e):"function"==typeof r?r(e):setTimeout(e,0)},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};e.exports=o}).call(t,n(15),n(180).setImmediate)},function(e,t,n){!function(r,i,o){e.exports=t=i(n(3),n(25))}(0,function(e){e.lib.Cipher||function(t){var n=e,r=n.lib,i=r.Base,o=r.WordArray,a=r.BufferedBlockAlgorithm,s=n.enc,u=(s.Utf8,s.Base64),c=n.algo,l=c.EvpKDF,p=r.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,n){this.cfg=this.cfg.extend(n),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?I:S}return function(t){return{encrypt:function(n,r,i){return e(r).encrypt(t,n,r,i)},decrypt:function(n,r,i){return e(r).decrypt(t,n,r,i)}}}}()}),d=(r.StreamCipher=p.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),n.mode={}),f=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),h=d.CBC=function(){function e(e,n,r){var i=this._iv;if(i){var o=i;this._iv=t}else var o=this._prevBlock;for(var a=0;a<r;a++)e[n+a]^=o[a]}var n=f.extend();return n.Encryptor=n.extend({processBlock:function(t,n){var r=this._cipher,i=r.blockSize;e.call(this,t,n,i),r.encryptBlock(t,n),this._prevBlock=t.slice(n,n+i)}}),n.Decryptor=n.extend({processBlock:function(t,n){var r=this._cipher,i=r.blockSize,o=t.slice(n,n+i);r.decryptBlock(t,n),e.call(this,t,n,i),this._prevBlock=o}}),n}(),m=n.pad={},y=m.Pkcs7={pad:function(e,t){for(var n=4*t,r=n-e.sigBytes%n,i=r<<24|r<<16|r<<8|r,a=[],s=0;s<r;s+=4)a.push(i);var u=o.create(a,r);e.concat(u)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},g=(r.BlockCipher=p.extend({cfg:p.cfg.extend({mode:h,padding:y}),reset:function(){p.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var r=n.createEncryptor;else{var r=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==r?this._mode.init(this,t&&t.words):(this._mode=r.call(n,this,t&&t.words),this._mode.__creator=r)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{var t=this._process(!0);e.unpad(t)}return t},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),v=n.format={},b=v.OpenSSL={stringify:function(e){var t=e.ciphertext,n=e.salt;if(n)var r=o.create([1398893684,1701076831]).concat(n).concat(t);else var r=t;return r.toString(u)},parse:function(e){var t=u.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var r=o.create(n.slice(2,4));n.splice(0,4),t.sigBytes-=16}return g.create({ciphertext:t,salt:r})}},S=r.SerializableCipher=i.extend({cfg:i.extend({format:b}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=e.createEncryptor(n,r),o=i.finalize(t),a=i.cfg;return g.create({ciphertext:o,key:n,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:r.format})},decrypt:function(e,t,n,r){return r=this.cfg.extend(r),t=this._parse(t,r.format),e.createDecryptor(n,r).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),_=n.kdf={},E=_.OpenSSL={execute:function(e,t,n,r){r||(r=o.random(8));var i=l.create({keySize:t+n}).compute(e,r),a=o.create(i.words.slice(t),4*n);return i.sigBytes=4*t,g.create({key:i,iv:a,salt:r})}},I=r.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:E}),encrypt:function(e,t,n,r){r=this.cfg.extend(r);var i=r.kdf.execute(n,e.keySize,e.ivSize);r.iv=i.iv;var o=S.encrypt.call(this,e,t,i.key,r);return o.mixIn(i),o},decrypt:function(e,t,n,r){r=this.cfg.extend(r),t=this._parse(t,r.format);var i=r.kdf.execute(n,e.keySize,e.ivSize,t.salt);return r.iv=i.iv,S.decrypt.call(this,e,t,i.key,r)}})}()})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n(245))},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return Object(p.a)(e,m)}function o(e,t){if(!t)return e;if(Object(s.P)(t))return o(e,t.ofType);if(e[t.name])return e[t.name]!==t&&Object(d.a)(0,'Schema must contain unique named types but contains multiple types named "'+t.name+'".'),e;e[t.name]=t;var n=e;return Object(s.O)(t)&&(n=t.getTypes().reduce(o,n)),Object(s.K)(t)&&(n=t.getInterfaces().reduce(o,n)),(Object(s.K)(t)||Object(s.E)(t))&&Object(f.a)(t.getFields()).forEach(function(e){if(e.args){var t=e.args.map(function(e){return e.type});n=t.reduce(o,n)}n=o(n,e.type)}),Object(s.C)(t)&&Object(f.a)(t.getFields()).forEach(function(e){n=o(n,e.type)}),n}function a(e,t){return Object(u.f)(t)?t.args.reduce(function(e,t){return o(e,t.type)},e):e}t.b=i,n.d(t,"a",function(){return m});var s=n(4),u=n(14),c=n(16),l=n(32),p=n(67),d=n(10),f=n(26),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(t){var n=this;r(this,e),t&&t.assumeValid?this.__validationErrors=[]:("object"!==(void 0===t?"undefined":h(t))&&Object(d.a)(0,"Must provide configuration object."),t.types&&!Array.isArray(t.types)&&Object(d.a)(0,'"types" must be Array if provided but got: '+String(t.types)+"."),t.directives&&!Array.isArray(t.directives)&&Object(d.a)(0,'"directives" must be Array if provided but got: '+String(t.directives)+"."),t.allowedLegacyNames&&!Array.isArray(t.allowedLegacyNames)&&Object(d.a)(0,'"allowedLegacyNames" must be Array if provided but got: '+String(t.allowedLegacyNames)+"."),this.__allowedLegacyNames=t.allowedLegacyNames),this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=t.directives||u.h,this.astNode=t.astNode;var i=[this.getQueryType(),this.getMutationType(),this.getSubscriptionType(),c.j],l=t.types;l&&(i=i.concat(l));var p=Object.create(null);p=i.reduce(o,p),p=this._directives.reduce(a,p),this._typeMap=p,this._implementations=Object.create(null),Object.keys(this._typeMap).forEach(function(e){var t=n._typeMap[e];Object(s.K)(t)&&t.getInterfaces().forEach(function(e){var r=n._implementations[e.name];r?r.push(t):n._implementations[e.name]=[t]})})}return e.prototype.getQueryType=function(){return this._queryType},e.prototype.getMutationType=function(){return this._mutationType},e.prototype.getSubscriptionType=function(){return this._subscriptionType},e.prototype.getTypeMap=function(){return this._typeMap},e.prototype.getType=function(e){return this.getTypeMap()[e]},e.prototype.getPossibleTypes=function(e){return Object(s.O)(e)?e.getTypes():this._implementations[e.name]},e.prototype.isPossibleType=function(e,t){var n=this._possibleTypeMap;if(n||(this._possibleTypeMap=n=Object.create(null)),!n[e.name]){var r=this.getPossibleTypes(e);Array.isArray(r)||Object(d.a)(0,"Could not find possible implementing types for "+e.name+" in schema. Check that schema.types is defined and is an array of all possible types in the schema."),n[e.name]=r.reduce(function(e,t){return e[t.name]=!0,e},Object.create(null))}return Boolean(n[e.name][t.name])},e.prototype.getDirectives=function(){return this._directives},e.prototype.getDirective=function(e){return Object(l.a)(this.getDirectives(),function(t){return t.name===e})},e}()},function(e,t,n){"use strict";function r(e,t){if(!e)throw new Error(t)}t.a=r},function(e,t,n){"use strict";function r(e){return"[object Array]"===C.call(e)}function i(e){return"[object ArrayBuffer]"===C.call(e)}function o(e){return"undefined"!=typeof FormData&&e instanceof FormData}function a(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function s(e){return"string"==typeof e}function u(e){return"number"==typeof e}function c(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function p(e){return"[object Date]"===C.call(e)}function d(e){return"[object File]"===C.call(e)}function f(e){return"[object Blob]"===C.call(e)}function h(e){return"[object Function]"===C.call(e)}function m(e){return l(e)&&h(e.pipe)}function y(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function g(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function v(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),r(e))for(var n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function S(){function e(e,n){"object"==typeof t[n]&&"object"==typeof e?t[n]=S(t[n],e):t[n]=e}for(var t={},n=0,r=arguments.length;n<r;n++)b(arguments[n],e);return t}function _(e,t,n){return b(t,function(t,r){e[r]=n&&"function"==typeof t?E(t,n):t}),e}var E=n(166),I=n(373),C=Object.prototype.toString;e.exports={isArray:r,isArrayBuffer:i,isBuffer:I,isFormData:o,isArrayBufferView:a,isString:s,isNumber:u,isObject:l,isUndefined:c,isDate:p,isFile:d,isBlob:f,isFunction:h,isStream:m,isURLSearchParams:y,isStandardBrowserEnv:v,forEach:b,merge:S,extend:_,trim:g}},function(e,t,n){"use strict";function r(e){return void 0===e||e!==e}t.a=r},function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);this.ofType=Object(o.u)(e)}function i(e){if(!(this instanceof i))return new i(e);this.ofType=Object(o.q)(e)}t.a=r,t.b=i;var o=n(4),a=r.prototype;a.toString=a.toJSON=a.inspect=function(){return"["+String(this.ofType)+"]"};var s=i.prototype;s.toString=s.toJSON=s.inspect=function(){return String(this.ofType)+"!"}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return Object(u.a)(e,p)}function o(e){return y.some(function(t){return t.name===e.name})}t.f=i,n.d(t,"c",function(){return p}),n.d(t,"d",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"a",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"h",function(){return y}),t.g=o;var a=n(13),s=n(20),u=n(67),c=n(10),l=n(30),p=function e(t){r(this,e),this.name=t.name,this.description=t.description,this.locations=t.locations,this.astNode=t.astNode,t.name||Object(c.a)(0,"Directive must be named."),Array.isArray(t.locations)||Object(c.a)(0,"Must provide locations for directive.");var n=t.args;n?(Array.isArray(n)&&Object(c.a)(0,"@"+t.name+" args must be an object with argument names as keys."),this.args=Object.keys(n).map(function(e){var t=n[e];return{name:e,description:void 0===t.description?null:t.description,type:t.type,defaultValue:t.defaultValue,astNode:t.astNode}})):this.args=[]},d=new p({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[l.a.FIELD,l.a.FRAGMENT_SPREAD,l.a.INLINE_FRAGMENT],args:{if:{type:Object(a.b)(s.a),description:"Included when true."}}}),f=new p({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[l.a.FIELD,l.a.FRAGMENT_SPREAD,l.a.INLINE_FRAGMENT],args:{if:{type:Object(a.b)(s.a),description:"Skipped when true."}}}),h="No longer supported",m=new p({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[l.a.FIELD_DEFINITION,l.a.ENUM_VALUE],args:{reason:{type:s.e,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted in [Markdown](https://daringfireball.net/projects/markdown/).",defaultValue:h}}}),y=[d,f,m]},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):y=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++y<t;)f&&f[y].run();y=-1,t=h.length}f=null,m=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var l,p,d=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{p="function"==typeof clearTimeout?clearTimeout:r}catch(e){p=r}}();var f,h=[],m=!1,y=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new u(e,t)),1!==h.length||m||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.prependListener=c,d.prependOnceListener=c,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return Object(u.H)(e)&&(e.name===d.name||e.name===f.name||e.name===h.name||e.name===m.name||e.name===y.name||e.name===g.name||e.name===v.name||e.name===S.name)}n.d(t,"j",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"k",function(){return m}),n.d(t,"h",function(){return y}),n.d(t,"i",function(){return g}),n.d(t,"g",function(){return v}),n.d(t,"b",function(){return b}),n.d(t,"l",function(){return S}),n.d(t,"a",function(){return _}),n.d(t,"c",function(){return E}),n.d(t,"d",function(){return I}),n.d(t,"m",function(){return C}),t.n=r;var i=n(12),o=n(26),a=n(68),s=n(21),u=n(4),c=n(13),l=n(20),p=n(30),d=new u.d({name:"__Schema",isIntrospection:!0,description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{types:{description:"A list of all types supported by this server.",type:Object(c.b)(Object(c.a)(Object(c.b)(m))),resolve:function(e){return Object(o.a)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:Object(c.b)(m),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:m,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:m,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:Object(c.b)(Object(c.a)(Object(c.b)(f))),resolve:function(e){return e.getDirectives()}}}}}),f=new u.d({name:"__Directive",isIntrospection:!0,description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},locations:{type:Object(c.b)(Object(c.a)(Object(c.b)(h)))},args:{type:Object(c.b)(Object(c.a)(Object(c.b)(g))),resolve:function(e){return e.args||[]}},onOperation:{deprecationReason:"Use `locations`.",type:Object(c.b)(l.a),resolve:function(e){return-1!==e.locations.indexOf(p.a.QUERY)||-1!==e.locations.indexOf(p.a.MUTATION)||-1!==e.locations.indexOf(p.a.SUBSCRIPTION)}},onFragment:{deprecationReason:"Use `locations`.",type:Object(c.b)(l.a),resolve:function(e){return-1!==e.locations.indexOf(p.a.FRAGMENT_SPREAD)||-1!==e.locations.indexOf(p.a.INLINE_FRAGMENT)||-1!==e.locations.indexOf(p.a.FRAGMENT_DEFINITION)}},onField:{deprecationReason:"Use `locations`.",type:Object(c.b)(l.a),resolve:function(e){return-1!==e.locations.indexOf(p.a.FIELD)}}}}}),h=new u.a({name:"__DirectiveLocation",isIntrospection:!0,description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:p.a.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:p.a.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:p.a.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:p.a.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:p.a.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:p.a.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:p.a.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},SCHEMA:{value:p.a.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:p.a.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:p.a.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:p.a.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:p.a.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:p.a.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:p.a.UNION,description:"Location adjacent to a union definition."},ENUM:{value:p.a.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:p.a.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:p.a.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:p.a.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),m=new u.d({name:"__Type",isIntrospection:!0,description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:Object(c.b)(S),resolve:function(e){if(Object(u.M)(e))return b.SCALAR;if(Object(u.K)(e))return b.OBJECT;if(Object(u.E)(e))return b.INTERFACE;if(Object(u.O)(e))return b.UNION;if(Object(u.B)(e))return b.ENUM;if(Object(u.C)(e))return b.INPUT_OBJECT;if(Object(u.G)(e))return b.LIST;if(Object(u.I)(e))return b.NON_NULL;throw new Error("Unknown kind of type: "+e)}},name:{type:l.e},description:{type:l.e},fields:{type:Object(c.a)(Object(c.b)(y)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.K)(e)||Object(u.E)(e)){var r=Object(o.a)(e.getFields());return n||(r=r.filter(function(e){return!e.deprecationReason})),r}return null}},interfaces:{type:Object(c.a)(Object(c.b)(m)),resolve:function(e){if(Object(u.K)(e))return e.getInterfaces()}},possibleTypes:{type:Object(c.a)(Object(c.b)(m)),resolve:function(e,t,n,r){var i=r.schema;if(Object(u.z)(e))return i.getPossibleTypes(e)}},enumValues:{type:Object(c.a)(Object(c.b)(v)),args:{includeDeprecated:{type:l.a,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Object(u.B)(e)){var r=e.getValues();return n||(r=r.filter(function(e){return!e.deprecationReason})),r}}},inputFields:{type:Object(c.a)(Object(c.b)(g)),resolve:function(e){if(Object(u.C)(e))return Object(o.a)(e.getFields())}},ofType:{type:m}}}}),y=new u.d({name:"__Field",isIntrospection:!0,description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},args:{type:Object(c.b)(Object(c.a)(Object(c.b)(g))),resolve:function(e){return e.args||[]}},type:{type:Object(c.b)(m)},isDeprecated:{type:Object(c.b)(l.a)},deprecationReason:{type:l.e}}}}),g=new u.d({name:"__InputValue",isIntrospection:!0,description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},type:{type:Object(c.b)(m)},defaultValue:{type:l.e,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){return Object(i.a)(e.defaultValue)?null:Object(s.a)(Object(a.a)(e.defaultValue,e.type))}}}}}),v=new u.d({name:"__EnumValue",isIntrospection:!0,description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:Object(c.b)(l.e)},description:{type:l.e},isDeprecated:{type:Object(c.b)(l.a)},deprecationReason:{type:l.e}}}}),b={SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"},S=new u.a({name:"__TypeKind",isIntrospection:!0,description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:b.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:b.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:b.INTERFACE,description:"Indicates this type is an interface. `fields` and `possibleTypes` are valid fields."},UNION:{value:b.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:b.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:b.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:b.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:b.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),_={name:"__schema",type:Object(c.b)(d),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema}},E={name:"__type",type:m,description:"Request the type information of a single type.",args:[{name:"name",type:Object(c.b)(l.e)}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)}},I={name:"__typename",type:Object(c.b)(l.e),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name}},C=[d,f,h,m,y,g,v,S]},function(e,t,n){"use strict";function r(e,t){var n=void 0;if(t.kind===i.a.LIST_TYPE)return(n=r(e,t.type))&&Object(o.a)(n);if(t.kind===i.a.NON_NULL_TYPE)return(n=r(e,t.type))&&Object(o.b)(n);if(t.kind===i.a.NAMED_TYPE)return e.getType(t.name.value);throw new Error("Unexpected type kind: "+t.kind+".")}t.a=r;var i=n(5),o=n(13)},function(e,t,n){(function(t){var r=n(6);r.crypto.lib=n(212),r.Buffer=n(19).Buffer,r.url=n(56),r.querystring=n(98),r.realClock=n(224),r.environment="js",r.createEventStream=n(225).createEventStream;var i=n(0);e.exports=i,n(90),n(91),n(231),n(235),n(236),n(241),i.XML.Parser=n(242),n(243),void 0===t&&(t={browser:!0})}).call(t,n(15))},function(e,t,n){"use strict";(function(e){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(r()<t)throw new RangeError("Invalid typed array length");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=o.prototype):(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return c(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?d(e,t,n,r):"string"==typeof t?l(e,t,n):f(e,t)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function u(e,t,n,r){return s(t),t<=0?i(e,t):void 0!==n?"string"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}function c(e,t){if(s(t),e=i(e,t<0?0:0|h(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function l(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!o.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|y(t,n);e=i(e,r);var a=e.write(t,n);return a!==r&&(e=e.slice(0,a)),e}function p(e,t){var n=t.length<0?0:0|h(t.length);e=i(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function d(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),o.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=o.prototype):e=p(e,t),e}function f(e,t){if(o.isBuffer(t)){var n=0|h(t.length);return e=i(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||Y(t.length)?i(e,0):p(e,t);if("Buffer"===t.type&&$(t.data))return p(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function h(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function m(e){return+e!=e&&(e=0),o.alloc(+e)}function y(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return W(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return A(this,t,n);case"ascii":return O(this,t,n);case"latin1":case"binary":return R(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return x(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function v(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function b(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:S(e,t,n,r,i);if("number"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):S(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function S(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var c;if(i){var l=-1;for(c=n;c<s;c++)if(o(e,c)===o(t,-1===l?0:c-l)){if(-1===l&&(l=c),c-l+1===u)return l*a}else-1!==l&&(c-=c-l),l=-1}else for(n+u>s&&(n=s-u),c=n;c>=0;c--){for(var p=!0,d=0;d<u;d++)if(o(e,c+d)!==o(t,d)){p=!1;break}if(p)return c}return-1}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function E(e,t,n,r){return J(z(t,e.length-n),e,n,r)}function I(e,t,n,r){return J(G(t),e,n,r)}function C(e,t,n,r){return I(e,t,n,r)}function T(e,t,n,r){return J(W(t),e,n,r)}function w(e,t,n,r){return J(H(t,e.length-n),e,n,r)}function N(e,t,n){return 0===t&&n===e.length?Q.fromByteArray(e):Q.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,c,l,p;switch(s){case 1:o<128&&(a=o);break;case 2:u=e[i+1],128==(192&u)&&(p=(31&o)<<6|63&u)>127&&(a=p);break;case 3:u=e[i+1],c=e[i+2],128==(192&u)&&128==(192&c)&&(p=(15&o)<<12|(63&u)<<6|63&c)>2047&&(p<55296||p>57343)&&(a=p);break;case 4:u=e[i+1],c=e[i+2],l=e[i+3],128==(192&u)&&128==(192&c)&&128==(192&l)&&(p=(15&o)<<18|(63&u)<<12|(63&c)<<6|63&l)>65535&&p<1114112&&(a=p)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return k(r)}function k(e){var t=e.length;if(t<=Z)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Z));return n}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=K(e[o]);return i}function x(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function D(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function U(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function L(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function B(e,t,n,r,i){return i||L(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,n,r,23,4),n+4}function q(e,t,n,r,i){return i||L(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,n,r,52,8),n+8}function F(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 K(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function G(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function H(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function W(e){return Q.toByteArray(F(e))}function J(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Y(e){return e!==e}/*!
  2.  * The buffer module from node.js, for the browser.
  3.  *
  4.  * @author   Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
  5.  * @license  MIT
  6.  */
  7. var Q=n(214),X=n(215),$=n(216);t.Buffer=o,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return a(null,e,t,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,n){return u(null,e,t,n)},o.allocUnsafe=function(e){return c(null,e)},o.allocUnsafeSlow=function(e){return c(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(e,t){if(!$(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!o.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=y,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},o.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?A(this,0,e):g.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},o.prototype.compare=function(e,t,n,r,i){if(!o.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,s=n-t,u=Math.min(a,s),c=this.slice(r,i),l=e.slice(t,n),p=0;p<u;++p)if(c[p]!==l[p]){a=c[p],s=l[p];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return b(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return b(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return E(this,e,t,n);case"ascii":return I(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Z=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r;if(o.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=o.prototype;else{var i=t-e;r=new o(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},o.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},o.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||D(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||D(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||D(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||D(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||D(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||D(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||D(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||D(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||D(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||D(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||D(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||D(e,4,this.length),X.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||D(e,4,this.length),X.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||D(e,8,this.length),X.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||D(e,8,this.length),X.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){U(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){U(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);U(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);U(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||U(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return B(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return B(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return q(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return q(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},o.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!o.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=o.isBuffer(e)?e:z(new o(e,r).toString()),u=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%u]}return this};var ee=/[^+\/0-9A-Za-z-_]/g}).call(t,n(24))},function(e,t,n){"use strict";function r(e){if(""===e)throw new TypeError("Int cannot represent non 32-bit signed integer value: (empty string)");var t=Number(e);if(t!==t||t>c||t<l)throw new TypeError("Int cannot represent non 32-bit signed integer value: "+String(e));var n=Math.floor(t);if(n!==t)throw new TypeError("Int cannot represent non-integer value: "+String(e));return n}function i(e){if(""===e)throw new TypeError("Float cannot represent non numeric value: (empty string)");var t=Number(e);if(t===t)return t;throw new TypeError("Float cannot represent non numeric value: "+String(e))}function o(e){if(Array.isArray(e))throw new TypeError("String cannot represent an array value: ["+String(e)+"]");return String(e)}function a(e){return Object(s.H)(e)&&(e.name===f.name||e.name===p.name||e.name===d.name||e.name===h.name||e.name===m.name)}n.d(t,"d",function(){return p}),n.d(t,"b",function(){return d}),n.d(t,"e",function(){return f}),n.d(t,"a",function(){return h}),n.d(t,"c",function(){return m}),n.d(t,"g",function(){return y}),t.f=a;var s=n(4),u=n(5),c=2147483647,l=-2147483648,p=new s.e({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ",serialize:r,parseValue:r,parseLiteral:function(e){if(e.kind===u.a.INT){var t=parseInt(e.value,10);if(t<=c&&t>=l)return t}}}),d=new s.e({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ",serialize:i,parseValue:i,parseLiteral:function(e){return e.kind===u.a.FLOAT||e.kind===u.a.INT?parseFloat(e.value):void 0}}),f=new s.e({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:o,parseValue:o,parseLiteral:function(e){return e.kind===u.a.STRING?e.value:void 0}}),h=new s.e({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:Boolean,parseValue:Boolean,parseLiteral:function(e){return e.kind===u.a.BOOLEAN?e.value:void 0}}),m=new s.e({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:String,parseValue:String,parseLiteral:function(e){return e.kind===u.a.STRING||e.kind===u.a.INT?e.value:void 0}}),y=[f,p,d,h,m]},function(e,t,n){"use strict";function r(e){return Object(l.c)(e,{leave:p})}function i(e){return function(t){return o([t.description,e(t)],"\n")}}function o(e,t){return e?e.filter(function(e){return e}).join(t||""):""}function a(e){return e&&0!==e.length?"{\n"+u(o(e,"\n"))+"\n}":""}function s(e,t,n){return t?e+t+(n||""):""}function u(e){return e&&"  "+e.replace(/\n/g,"\n  ")}function c(e,t){var n=e.replace(/"""/g,'\\"""');return" "!==e[0]&&"\t"!==e[0]||-1!==e.indexOf("\n")?'"""\n'+(t?n:u(n))+'\n"""':'"""'+n.replace(/"$/,'"\n')+'"""'}t.a=r;var l=n(31),p={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return o(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=s("(",o(e.variableDefinitions,", "),")"),i=o(e.directives," "),a=e.selectionSet;return n||i||r||"query"!==t?o([t,o([n,r]),i,a]," "):a},VariableDefinition:function(e){return e.variable+": "+e.type+s(" = ",e.defaultValue)},SelectionSet:function(e){return a(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,a=e.selectionSet;return o([s("",t,": ")+n+s("(",o(r,", "),")"),o(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+s(" ",o(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return o(["...",s("on ",t),o(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment "+t+s("(",o(r,", "),")")+" on "+n+" "+s("",o(i," ")," ")+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?c(n,"description"===t):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+o(e.values,", ")+"]"},ObjectValue:function(e){return"{"+o(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+s("(",o(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:function(e){var t=e.directives,n=e.operationTypes;return o(["schema",o(t," "),a(n)]," ")},OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:i(function(e){return o(["scalar",e.name,o(e.directives," ")]," ")}),ObjectTypeDefinition:i(function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["type",t,s("implements ",o(n," & ")),o(r," "),a(i)]," ")}),FieldDefinition:i(function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+s("(",o(n,", "),")")+": "+r+s(" ",o(i," "))}),InputValueDefinition:i(function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return o([t+": "+n,s("= ",r),o(i," ")]," ")}),InterfaceTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.fields;return o(["interface",t,o(n," "),a(r)]," ")}),UnionTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.types;return o(["union",t,o(n," "),r&&0!==r.length?"= "+o(r," | "):""]," ")}),EnumTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.values;return o(["enum",t,o(n," "),a(r)]," ")}),EnumValueDefinition:i(function(e){return o([e.name,o(e.directives," ")]," ")}),InputObjectTypeDefinition:i(function(e){var t=e.name,n=e.directives,r=e.fields;return o(["input",t,o(n," "),a(r)]," ")}),ScalarTypeExtension:function(e){return o(["extend scalar",e.name,o(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return o(["extend type",t,s("implements ",o(n," & ")),o(r," "),a(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o(["extend interface",t,o(n," "),a(r)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return o(["extend union",t,o(n," "),r&&0!==r.length?"= "+o(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return o(["extend enum",t,o(n," "),a(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return o(["extend input",t,o(n," "),a(r)]," ")},DirectiveDefinition:i(function(e){var t=e.name,n=e.arguments,r=e.locations;return"directive @"+t+s("(",o(n,", "),")")+" on "+o(r," | ")})}},function(e,t,n){"use strict";function r(e,t,n,i,a,s,u){var c=Array.isArray(t)?0!==t.length?t:void 0:t?[t]:void 0,l=n;if(!l&&c){var p=c[0];l=p&&p.loc&&p.loc.source}var d=i;!d&&c&&(d=c.reduce(function(e,t){return t.loc&&e.push(t.loc.start),e},[])),d&&0===d.length&&(d=void 0);var f=void 0;if(i&&n){var h=n;f=i.map(function(e){return Object(o.a)(h,e)})}else c&&(f=c.reduce(function(e,t){return t.loc&&e.push(Object(o.a)(t.loc.source,t.loc.start)),e},[]));Object.defineProperties(this,{message:{value:e,enumerable:!0,writable:!0},locations:{value:f||void 0,enumerable:!0},path:{value:a||void 0,enumerable:!0},nodes:{value:c||void 0},source:{value:l||void 0},positions:{value:d||void 0},originalError:{value:s},extensions:{value:u||s&&s.extensions}}),s&&s.stack?Object.defineProperty(this,"stack",{value:s.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,r):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}t.a=r;var i=n(128),o=n(69);r.prototype=Object.create(Error.prototype,{constructor:{value:r},name:{value:"GraphQLError"},toString:{value:function(){return Object(i.a)(this)}}})},function(e,t,n){"use strict";function r(e,t){return e.reduce(function(e,n){return e[t(n)]=n,e},Object.create(null))}t.a=r},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){!function(r,i,o){e.exports=t=i(n(3),n(61),n(62))}(0,function(e){return function(){var t=e,n=t.lib,r=n.Base,i=n.WordArray,o=t.algo,a=o.MD5,s=o.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var n=this.cfg,r=n.hasher.create(),o=i.create(),a=o.words,s=n.keySize,u=n.iterations;a.length<s;){c&&r.update(c);var c=r.update(e).finalize(t);r.reset();for(var l=1;l<u;l++)c=r.finalize(c),r.reset();o.concat(c)}return o.sigBytes=4*s,o}});t.EvpKDF=function(e,t,n){return s.create(n).compute(e,t)}}(),e.EvpKDF})},function(e,t,n){"use strict";var r=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})};t.a=r},function(e,t,n){"use strict";(function(e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0});var r=[{type:"text/plain",ext:"txt"},{type:"text/html",ext:"html"},{type:"text/javascript",ext:"js"},{type:"text/css",ext:"css"},{type:"text/csv",ext:"csv"},{type:"text/yaml",ext:"yml"},{type:"text/yaml",ext:"yaml"},{type:"text/calendar",ext:"ics"},{type:"text/calendar",ext:"ical"},{type:"image/png",ext:"png"},{type:"image/gif",ext:"gif"},{type:"image/jpeg",ext:"jpg"},{type:"image/jpeg",ext:"jpeg"},{type:"image/bmp",ext:"bmp"},{type:"image/x-icon",ext:"ico"},{type:"image/tiff",ext:"tif"},{type:"image/tiff",ext:"tiff"},{type:"image/svg+xml",ext:"svg"},{type:"application/json",ext:"json"},{type:"application/xml",ext:"xml"},{type:"application/x-sh",ext:"sh"},{type:"application/zip",ext:"zip"},{type:"application/x-rar-compressed",ext:"rar"},{type:"application/x-tar",ext:"tar"},{type:"application/x-bzip",ext:"bz"},{type:"application/x-bzip2",ext:"bz2"},{type:"application/pdf",ext:"pdf"},{type:"application/java-archive",ext:"jar"},{type:"application/msword",ext:"doc"},{type:"application/vnd.ms-excel",ext:"xls"},{type:"application/vnd.ms-excel",ext:"xlsx"},{type:"message/rfc822",ext:"eml"}],i=function(){function t(){}return t.isEmpty=function(e){return 0===Object.keys(e).length},t.sortByField=function(e,t,n){if(!e||!e.sort)return!1;var r=n&&"desc"===n?-1:1;return e.sort(function(e,n){var i=e[t],o=n[t];return void 0===o?void 0===i?0:1*r:void 0===i?-1*r:i<o?-1*r:i>o?1*r:0}),!0},t.objectLessAttributes=function(e,t){var n=Object.assign({},e);return t&&("string"==typeof t?delete n[t]:t.forEach(function(e){delete n[e]})),n},t.filenameToContentType=function(e,t){void 0===t&&(t="application/octet-stream");var n=e.toLowerCase(),i=r.filter(function(e){return n.endsWith("."+e.ext)});return i.length>0?i[0].type:t},t.isTextFile=function(e){var t=e.toLowerCase();return!!t.startsWith("text/")||("application/json"===t||"application/xml"===t||"application/sh"===t)},t.generateRandomString=function(){for(var e="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",n=32;n>0;n-=1)e+=t[Math.floor(Math.random()*t.length)];return e},t.makeQuerablePromise=function(e){if(e.isResolved)return e;var t=!0,n=!1,r=!1,i=e.then(function(e){return r=!0,t=!1,e},function(e){throw n=!0,t=!1,e});return i.isFullfilled=function(){return r},i.isPending=function(){return t},i.isRejected=function(){return n},i},t.browserOrNode=function(){return{isBrowser:"undefined"!=typeof window&&void 0!==window.document,isNode:void 0!==e&&null!=e.versions&&null!=e.versions.node}},t.transferKeyToLowerCase=function(e,r,i){if(void 0===r&&(r=[]),void 0===i&&(i=[]),"object"!==(void 0===e?"undefined":n(e))||Array.isArray(e))return e;var o={};for(var a in e)if(e.hasOwnProperty(a)){var s=r.includes(a)?a:a[0].toLowerCase()+a.slice(1);o[s]=i.includes(a)?e[a]:t.transferKeyToLowerCase(e[a],r,i)}return o},t.transferKeyToUpperCase=function(e,r,i){if(void 0===r&&(r=[]),void 0===i&&(i=[]),"object"!==(void 0===e?"undefined":n(e))||Array.isArray(e))return e;var o={};for(var a in e)if(e.hasOwnProperty(a)){var s=r.includes(a)?a:a[0].toUpperCase()+a.slice(1);o[s]=i.includes(a)?e[a]:t.transferKeyToUpperCase(e[a],r,i)}return o},t}();t.default=i}).call(t,n(15))},function(e,t,n){!function(r,i){e.exports=t=i(n(3))}(0,function(e){return function(){function t(e,t,n){for(var r=[],o=0,a=0;a<t;a++)if(a%4){var s=n[e.charCodeAt(a-1)]<<a%4*2,u=n[e.charCodeAt(a)]>>>6-a%4*2;r[o>>>2]|=(s|u)<<24-o%4*8,o++}return i.create(r,o)}var n=e,r=n.lib,i=r.WordArray,o=n.enc;o.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=t[o>>>2]>>>24-o%4*8&255,s=t[o+1>>>2]>>>24-(o+1)%4*8&255,u=t[o+2>>>2]>>>24-(o+2)%4*8&255,c=a<<16|s<<8|u,l=0;l<4&&o+.75*l<n;l++)i.push(r.charAt(c>>>6*(3-l)&63));var p=r.charAt(64);if(p)for(;i.length%4;)i.push(p);return i.join("")},parse:function(e){var n=e.length,r=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<r.length;o++)i[r.charCodeAt(o)]=o}var a=r.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(n=s)}return t(e,n,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64})},function(e,t,n){!function(r,i){e.exports=t=i(n(3))}(0,function(e){return function(t){function n(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function r(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function i(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function o(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}var a=e,s=a.lib,u=s.WordArray,c=s.Hasher,l=a.algo,p=[];!function(){for(var e=0;e<64;e++)p[e]=4294967296*t.abs(t.sin(e+1))|0}();var d=l.MD5=c.extend({_doReset:function(){this._hash=new u.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var a=0;a<16;a++){var s=t+a,u=e[s];e[s]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}var c=this._hash.words,l=e[t+0],d=e[t+1],f=e[t+2],h=e[t+3],m=e[t+4],y=e[t+5],g=e[t+6],v=e[t+7],b=e[t+8],S=e[t+9],_=e[t+10],E=e[t+11],I=e[t+12],C=e[t+13],T=e[t+14],w=e[t+15],N=c[0],A=c[1],k=c[2],O=c[3];N=n(N,A,k,O,l,7,p[0]),O=n(O,N,A,k,d,12,p[1]),k=n(k,O,N,A,f,17,p[2]),A=n(A,k,O,N,h,22,p[3]),N=n(N,A,k,O,m,7,p[4]),O=n(O,N,A,k,y,12,p[5]),k=n(k,O,N,A,g,17,p[6]),A=n(A,k,O,N,v,22,p[7]),N=n(N,A,k,O,b,7,p[8]),O=n(O,N,A,k,S,12,p[9]),k=n(k,O,N,A,_,17,p[10]),A=n(A,k,O,N,E,22,p[11]),N=n(N,A,k,O,I,7,p[12]),O=n(O,N,A,k,C,12,p[13]),k=n(k,O,N,A,T,17,p[14]),A=n(A,k,O,N,w,22,p[15]),N=r(N,A,k,O,d,5,p[16]),O=r(O,N,A,k,g,9,p[17]),k=r(k,O,N,A,E,14,p[18]),A=r(A,k,O,N,l,20,p[19]),N=r(N,A,k,O,y,5,p[20]),O=r(O,N,A,k,_,9,p[21]),k=r(k,O,N,A,w,14,p[22]),A=r(A,k,O,N,m,20,p[23]),N=r(N,A,k,O,S,5,p[24]),O=r(O,N,A,k,T,9,p[25]),k=r(k,O,N,A,h,14,p[26]),A=r(A,k,O,N,b,20,p[27]),N=r(N,A,k,O,C,5,p[28]),O=r(O,N,A,k,f,9,p[29]),k=r(k,O,N,A,v,14,p[30]),A=r(A,k,O,N,I,20,p[31]),N=i(N,A,k,O,y,4,p[32]),O=i(O,N,A,k,b,11,p[33]),k=i(k,O,N,A,E,16,p[34]),A=i(A,k,O,N,T,23,p[35]),N=i(N,A,k,O,d,4,p[36]),O=i(O,N,A,k,m,11,p[37]),k=i(k,O,N,A,v,16,p[38]),A=i(A,k,O,N,_,23,p[39]),N=i(N,A,k,O,C,4,p[40]),O=i(O,N,A,k,l,11,p[41]),k=i(k,O,N,A,h,16,p[42]),A=i(A,k,O,N,g,23,p[43]),N=i(N,A,k,O,S,4,p[44]),O=i(O,N,A,k,I,11,p[45]),k=i(k,O,N,A,w,16,p[46]),A=i(A,k,O,N,f,23,p[47]),N=o(N,A,k,O,l,6,p[48]),O=o(O,N,A,k,v,10,p[49]),k=o(k,O,N,A,T,15,p[50]),A=o(A,k,O,N,y,21,p[51]),N=o(N,A,k,O,I,6,p[52]),O=o(O,N,A,k,h,10,p[53]),k=o(k,O,N,A,_,15,p[54]),A=o(A,k,O,N,d,21,p[55]),N=o(N,A,k,O,b,6,p[56]),O=o(O,N,A,k,w,10,p[57]),k=o(k,O,N,A,g,15,p[58]),A=o(A,k,O,N,C,21,p[59]),N=o(N,A,k,O,m,6,p[60]),O=o(O,N,A,k,E,10,p[61]),k=o(k,O,N,A,f,15,p[62]),A=o(A,k,O,N,S,21,p[63]),c[0]=c[0]+N|0,c[1]=c[1]+A|0,c[2]=c[2]+k|0,c[3]=c[3]+O|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;n[i>>>5]|=128<<24-i%32;var o=t.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,c=0;c<4;c++){var l=u[c];u[c]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return s},clone:function(){var e=c.clone.call(this);return e._hash=this._hash.clone(),e}});a.MD5=c._createHelper(d),a.HmacMD5=c._createHmacHelper(d)}(Math),e.MD5})},function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=void 0,o=Array.isArray(e),a=[e],l=-1,p=[],d=void 0,f=void 0,h=void 0,m=[],y=[],g=e;do{l++;var v=l===a.length,b=v&&0!==p.length;if(v){if(f=0===y.length?void 0:m[m.length-1],d=h,h=y.pop(),b){if(o)d=d.slice();else{var S={};for(var _ in d)d.hasOwnProperty(_)&&(S[_]=d[_]);d=S}for(var E=0,I=0;I<p.length;I++){var C=p[I][0],T=p[I][1];o&&(C-=E),o&&null===T?(d.splice(C,1),E++):d[C]=T}}l=r.index,a=r.keys,p=r.edits,o=r.inArray,r=r.prev}else{if(f=h?o?l:a[l]:void 0,null===(d=h?h[f]:g)||void 0===d)continue;h&&m.push(f)}var w=void 0;if(!Array.isArray(d)){if(!i(d))throw new Error("Invalid AST Node: "+JSON.stringify(d));var N=s(t,d.kind,v);if(N){if((w=N.call(t,d,f,h,m,y))===c)break;if(!1===w){if(!v){m.pop();continue}}else if(void 0!==w&&(p.push([f,w]),!v)){if(!i(w)){m.pop();continue}d=w}}}void 0===w&&b&&p.push([f,d]),v?m.pop():(r={inArray:o,index:l,keys:a,edits:p,prev:r},o=Array.isArray(d),a=o?d:n[d.kind]||[],l=-1,p=[],h&&y.push(h),h=d)}while(void 0!==r);return 0!==p.length&&(g=p[p.length-1][1]),g}function i(e){return Boolean(e&&"string"==typeof e.kind)}function o(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(!t[r]){var i=s(e[r],n.kind,!1);if(i){var o=i.apply(e[r],arguments);if(!1===o)t[r]=n;else if(o===c)t[r]=c;else if(void 0!==o)return o}}},leave:function(n){for(var r=0;r<e.length;r++)if(t[r])t[r]===n&&(t[r]=null);else{var i=s(e[r],n.kind,!0);if(i){var o=i.apply(e[r],arguments);if(o===c)t[r]=c;else if(void 0!==o&&!1!==o)return o}}}}}function a(e,t){return{enter:function(n){e.enter(n);var r=s(t,n.kind,!1);if(r){var o=r.apply(t,arguments);return void 0!==o&&(e.leave(n),i(o)&&e.enter(o)),o}},leave:function(n){var r=s(t,n.kind,!0),i=void 0;return r&&(i=r.apply(t,arguments)),e.leave(n),i}}}function s(e,t,n){var r=e[t];if(r){if(!n&&"function"==typeof r)return r;var i=n?r.leave:r.enter;if("function"==typeof i)return i}else{var o=n?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}n.d(t,"a",function(){return c}),t.c=r,t.d=o,t.e=a,t.b=s;var u={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"]},c={}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}t.a=r},function(e,t,n){function r(e,t,n){null!==n&&void 0!==n&&v.property.apply(this,arguments)}function i(e,t){e.constructor.prototype[t]||v.memoizedProperty.apply(this,arguments)}function o(e,t,n){t=t||{},r(this,"shape",e.shape),r(this,"api",t.api,!1),r(this,"type",e.type),r(this,"enum",e.enum),r(this,"min",e.min),r(this,"max",e.max),r(this,"pattern",e.pattern),r(this,"location",e.location||this.location||"body"),r(this,"name",this.name||e.xmlName||e.queryName||e.locationName||n),r(this,"isStreaming",e.streaming||this.isStreaming||!1),r(this,"isComposite",e.isComposite||!1),r(this,"isShape",!0,!1),r(this,"isQueryName",Boolean(e.queryName),!1),r(this,"isLocationName",Boolean(e.locationName),!1),r(this,"isIdempotent",!0===e.idempotencyToken),r(this,"isJsonValue",!0===e.jsonvalue),r(this,"isSensitive",!0===e.sensitive||e.prototype&&!0===e.prototype.sensitive),r(this,"isEventStream",Boolean(e.eventstream),!1),r(this,"isEvent",Boolean(e.event),!1),r(this,"isEventPayload",Boolean(e.eventpayload),!1),r(this,"isEventHeader",Boolean(e.eventheader),!1),r(this,"isTimestampFormatSet",Boolean(e.timestampFormat)||e.prototype&&!0===e.prototype.isTimestampFormatSet,!1),t.documentation&&(r(this,"documentation",e.documentation),r(this,"documentationUrl",e.documentationUrl)),e.xmlAttribute&&r(this,"isXmlAttribute",e.xmlAttribute||!1),r(this,"defaultValue",null),this.toWireFormat=function(e){return null===e||void 0===e?"":e},this.toType=function(e){return e}}function a(e){o.apply(this,arguments),r(this,"isComposite",!0),e.flattened&&r(this,"flattened",e.flattened||!1)}function s(e,t){var n=this,s=null,u=!this.isShape;a.apply(this,arguments),u&&(r(this,"defaultValue",function(){return{}}),r(this,"members",{}),r(this,"memberNames",[]),r(this,"required",[]),r(this,"isRequired",function(){return!1})),e.members&&(r(this,"members",new g(e.members,t,function(e,n){return o.create(n,t,e)})),i(this,"memberNames",function(){return e.xmlOrder||Object.keys(e.members)}),e.event&&(i(this,"eventPayloadMemberName",function(){for(var e=n.members,t=n.memberNames,r=0,i=t.length;r<i;r++)if(e[t[r]].isEventPayload)return t[r]}),i(this,"eventHeaderMemberNames",function(){for(var e=n.members,t=n.memberNames,r=[],i=0,o=t.length;i<o;i++)e[t[i]].isEventHeader&&r.push(t[i]);return r}))),e.required&&(r(this,"required",e.required),r(this,"isRequired",function(t){if(!s){s={};for(var n=0;n<e.required.length;n++)s[e.required[n]]=!0}return s[t]},!1,!0)),r(this,"resultWrapper",e.resultWrapper||null),e.payload&&r(this,"payload",e.payload),"string"==typeof e.xmlNamespace?r(this,"xmlNamespaceUri",e.xmlNamespace):"object"==typeof e.xmlNamespace&&(r(this,"xmlNamespacePrefix",e.xmlNamespace.prefix),r(this,"xmlNamespaceUri",e.xmlNamespace.uri))}function u(e,t){var n=this,s=!this.isShape;if(a.apply(this,arguments),s&&r(this,"defaultValue",function(){return[]}),e.member&&i(this,"member",function(){return o.create(e.member,t)}),this.flattened){var u=this.name;i(this,"name",function(){return n.member.name||u})}}function c(e,t){var n=!this.isShape;a.apply(this,arguments),n&&(r(this,"defaultValue",function(){return{}}),r(this,"key",o.create({type:"string"},t)),r(this,"value",o.create({type:"string"},t))),e.key&&i(this,"key",function(){return o.create(e.key,t)}),e.value&&i(this,"value",function(){return o.create(e.value,t)})}function l(e){var t=this;if(o.apply(this,arguments),e.timestampFormat)r(this,"timestampFormat",e.timestampFormat);else if(t.isTimestampFormatSet&&this.timestampFormat)r(this,"timestampFormat",this.timestampFormat);else if("header"===this.location)r(this,"timestampFormat","rfc822");else if("querystring"===this.location)r(this,"timestampFormat","iso8601");else if(this.api)switch(this.api.protocol){case"json":case"rest-json":r(this,"timestampFormat","unixTimestamp");break;case"rest-xml":case"query":case"ec2":r(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?v.date.parseTimestamp(e):null},this.toWireFormat=function(e){return v.date.format(e,t.timestampFormat)}}function p(){o.apply(this,arguments);var e=["rest-xml","query","ec2"];this.toType=function(t){return t=this.api&&e.indexOf(this.api.protocol)>-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function d(){o.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function f(){o.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function h(){o.apply(this,arguments),this.toType=v.base64.decode,this.toWireFormat=v.base64.encode}function m(){h.apply(this,arguments)}function y(){o.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=n(82),v=n(6);o.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},o.types={structure:s,list:u,map:c,boolean:y,timestamp:l,float:d,integer:f,string:p,base64:m,binary:h},o.resolve=function(e,t){if(e.shape){var n=t.api.shapes[e.shape];if(!n)throw new Error("Cannot find shape reference: "+e.shape);return n}return null},o.create=function(e,t,n){if(e.isShape)return e;var r=o.resolve(e,t);if(r){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var a=function(){r.constructor.call(this,e,t,n)};return a.prototype=r,new a}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var s=e.type;if(o.normalizedTypes[e.type]&&(e.type=o.normalizedTypes[e.type]),o.types[e.type])return new o.types[e.type](e,t,n);throw new Error("Unrecognized shape type: "+s)},o.shapes={StructureShape:s,ListShape:u,MapShape:c,StringShape:p,BooleanShape:y,Base64Shape:m},e.exports=o},function(e,t){function n(e){return!!a(e)}function r(e){var t=null!=e&&e.length;return"number"==typeof t&&t>=0&&t%1==0}function i(e){return Object(e)===e&&(r(e)||n(e))}function o(e){var t=a(e);if(t)return t.call(e)}function a(e){if(null!=e){var t=y&&e[y]||e["@@iterator"];if("function"==typeof t)return t}}function s(e){if(null!=e){var t=o(e);if(t)return t;if(r(e))return new u(e)}}function u(e){this._o=e,this._i=0}function c(e,t,n){if(null!=e){if("function"==typeof e.forEach)return e.forEach(t,n);var i=0,a=o(e);if(a){for(var s;!(s=a.next()).done;)if(t.call(n,s.value,i++,e),i>9999999)throw new TypeError("Near-infinite iteration.")}else if(r(e))for(;i<e.length;i++)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}}function l(e){return!!d(e)}function p(e){var t=d(e);if(t)return t.call(e)}function d(e){if(null!=e){var t=v&&e[v]||e["@@asyncIterator"];if("function"==typeof t)return t}}function f(e){if(null!=e){var t=p(e);if(t)return t;var n=s(e);if(n)return new h(n)}}function h(e){this._i=e}function m(e,t,n){var r=f(e);if(r){var i=0;return new Promise(function(o,a){function s(){return r.next().then(function(r){return r.done?o():Promise.resolve(t.call(n,r.value,i++,e)).then(s).catch(a),null}).catch(a),null}s()})}}var y="function"==typeof Symbol&&Symbol.iterator,g=y||"@@iterator";t.$$iterator=g,t.isIterable=n,t.isArrayLike=r,t.isCollection=i,t.getIterator=o,t.getIteratorMethod=a,t.createIterator=s,u.prototype[g]=function(){return this},u.prototype.next=function(){return void 0===this._o||this._i>=this._o.length?(this._o=void 0,{value:void 0,done:!0}):{value:this._o[this._i++],done:!1}},t.forEach=c;var v="function"==typeof Symbol&&Symbol.asyncIterator,b=v||"@@asyncIterator";t.$$asyncIterator=b,t.isAsyncIterable=l,t.getAsyncIterator=p,t.getAsyncIteratorMethod=d,t.createAsyncIterator=f,h.prototype[b]=function(){return this},h.prototype.next=function(){var e=this._i.next();return Promise.resolve(e.value).then(function(t){return{value:t,done:e.done}})},t.forAwaitEach=m},function(e,t,n){"use strict";function r(e,t){var n="string"==typeof e?new Se.a(e):e;if(!(n instanceof Se.a))throw new TypeError("Must provide Source. Received: "+String(n));return s(Object(Ee.b)(n,t||{}))}function i(e,t){var n="string"==typeof e?new Se.a(e):e,r=Object(Ee.b)(n,t||{});me(r,Ee.a.SOF);var i=C(r,!1);return me(r,Ee.a.EOF),i}function o(e,t){var n="string"==typeof e?new Se.a(e):e,r=Object(Ee.b)(n,t||{});me(r,Ee.a.SOF);var i=x(r);return me(r,Ee.a.EOF),i}function a(e){var t=me(e,Ee.a.NAME);return{kind:Ie.a.NAME,value:t.value,loc:pe(e,t)}}function s(e){var t=e.token;me(e,Ee.a.SOF);var n=[];do{n.push(u(e))}while(!he(e,Ee.a.EOF));return{kind:Ie.a.DOCUMENT,definitions:n,loc:pe(e,t)}}function u(e){if(fe(e,Ee.a.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":case"fragment":return c(e);case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"extend":case"directive":return U(e)}else{if(fe(e,Ee.a.BRACE_L))return c(e);if(M(e))return U(e)}throw ge(e)}function c(e){if(fe(e,Ee.a.NAME))switch(e.token.value){case"query":case"mutation":case"subscription":return l(e);case"fragment":return E(e)}else if(fe(e,Ee.a.BRACE_L))return l(e);throw ge(e)}function l(e){var t=e.token;if(fe(e,Ee.a.BRACE_L))return{kind:Ie.a.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:m(e),loc:pe(e,t)};var n=p(e),r=void 0;return fe(e,Ee.a.NAME)&&(r=a(e)),{kind:Ie.a.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:d(e),directives:R(e,!1),selectionSet:m(e),loc:pe(e,t)}}function p(e){var t=me(e,Ee.a.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw ge(e,t)}function d(e){return fe(e,Ee.a.PAREN_L)?be(e,Ee.a.PAREN_L,f,Ee.a.PAREN_R):[]}function f(e){var t=e.token;return{kind:Ie.a.VARIABLE_DEFINITION,variable:h(e),type:(me(e,Ee.a.COLON),x(e)),defaultValue:he(e,Ee.a.EQUALS)?C(e,!0):void 0,loc:pe(e,t)}}function h(e){var t=e.token;return me(e,Ee.a.DOLLAR),{kind:Ie.a.VARIABLE,name:a(e),loc:pe(e,t)}}function m(e){var t=e.token;return{kind:Ie.a.SELECTION_SET,selections:be(e,Ee.a.BRACE_L,y,Ee.a.BRACE_R),loc:pe(e,t)}}function y(e){return fe(e,Ee.a.SPREAD)?_(e):g(e)}function g(e){var t=e.token,n=a(e),r=void 0,i=void 0;return he(e,Ee.a.COLON)?(r=n,i=a(e)):i=n,{kind:Ie.a.FIELD,alias:r,name:i,arguments:v(e,!1),directives:R(e,!1),selectionSet:fe(e,Ee.a.BRACE_L)?m(e):void 0,loc:pe(e,t)}}function v(e,t){var n=t?S:b;return fe(e,Ee.a.PAREN_L)?be(e,Ee.a.PAREN_L,n,Ee.a.PAREN_R):[]}function b(e){var t=e.token;return{kind:Ie.a.ARGUMENT,name:a(e),value:(me(e,Ee.a.COLON),C(e,!1)),loc:pe(e,t)}}function S(e){var t=e.token;return{kind:Ie.a.ARGUMENT,name:a(e),value:(me(e,Ee.a.COLON),w(e)),loc:pe(e,t)}}function _(e){var t=e.token;if(me(e,Ee.a.SPREAD),fe(e,Ee.a.NAME)&&"on"!==e.token.value)return{kind:Ie.a.FRAGMENT_SPREAD,name:I(e),directives:R(e,!1),loc:pe(e,t)};var n=void 0;return"on"===e.token.value&&(e.advance(),n=D(e)),{kind:Ie.a.INLINE_FRAGMENT,typeCondition:n,directives:R(e,!1),selectionSet:m(e),loc:pe(e,t)}}function E(e){var t=e.token;return ye(e,"fragment"),e.options.experimentalFragmentVariables?{kind:Ie.a.FRAGMENT_DEFINITION,name:I(e),variableDefinitions:d(e),typeCondition:(ye(e,"on"),D(e)),directives:R(e,!1),selectionSet:m(e),loc:pe(e,t)}:{kind:Ie.a.FRAGMENT_DEFINITION,name:I(e),typeCondition:(ye(e,"on"),D(e)),directives:R(e,!1),selectionSet:m(e),loc:pe(e,t)}}function I(e){if("on"===e.token.value)throw ge(e);return a(e)}function C(e,t){var n=e.token;switch(n.kind){case Ee.a.BRACKET_L:return A(e,t);case Ee.a.BRACE_L:return k(e,t);case Ee.a.INT:return e.advance(),{kind:Ie.a.INT,value:n.value,loc:pe(e,n)};case Ee.a.FLOAT:return e.advance(),{kind:Ie.a.FLOAT,value:n.value,loc:pe(e,n)};case Ee.a.STRING:case Ee.a.BLOCK_STRING:return T(e);case Ee.a.NAME:return"true"===n.value||"false"===n.value?(e.advance(),{kind:Ie.a.BOOLEAN,value:"true"===n.value,loc:pe(e,n)}):"null"===n.value?(e.advance(),{kind:Ie.a.NULL,loc:pe(e,n)}):(e.advance(),{kind:Ie.a.ENUM,value:n.value,loc:pe(e,n)});case Ee.a.DOLLAR:if(!t)return h(e)}throw ge(e)}function T(e){var t=e.token;return e.advance(),{kind:Ie.a.STRING,value:t.value,block:t.kind===Ee.a.BLOCK_STRING,loc:pe(e,t)}}function w(e){return C(e,!0)}function N(e){return C(e,!1)}function A(e,t){var n=e.token,r=t?w:N;return{kind:Ie.a.LIST,values:ve(e,Ee.a.BRACKET_L,r,Ee.a.BRACKET_R),loc:pe(e,n)}}function k(e,t){var n=e.token;me(e,Ee.a.BRACE_L);for(var r=[];!he(e,Ee.a.BRACE_R);)r.push(O(e,t));return{kind:Ie.a.OBJECT,fields:r,loc:pe(e,n)}}function O(e,t){var n=e.token;return{kind:Ie.a.OBJECT_FIELD,name:a(e),value:(me(e,Ee.a.COLON),C(e,t)),loc:pe(e,n)}}function R(e,t){for(var n=[];fe(e,Ee.a.AT);)n.push(P(e,t));return n}function P(e,t){var n=e.token;return me(e,Ee.a.AT),{kind:Ie.a.DIRECTIVE,name:a(e),arguments:v(e,t),loc:pe(e,n)}}function x(e){var t=e.token,n=void 0;return he(e,Ee.a.BRACKET_L)?(n=x(e),me(e,Ee.a.BRACKET_R),n={kind:Ie.a.LIST_TYPE,type:n,loc:pe(e,t)}):n=D(e),he(e,Ee.a.BANG)?{kind:Ie.a.NON_NULL_TYPE,type:n,loc:pe(e,t)}:n}function D(e){var t=e.token;return{kind:Ie.a.NAMED_TYPE,name:a(e),loc:pe(e,t)}}function U(e){var t=M(e)?e.lookahead():e.token;if(t.kind===Ee.a.NAME)switch(t.value){case"schema":return L(e);case"scalar":return q(e);case"type":return F(e);case"interface":return W(e);case"union":return J(e);case"enum":return Q(e);case"input":return Z(e);case"extend":return te(e);case"directive":return ue(e)}throw ge(e,t)}function M(e){return fe(e,Ee.a.STRING)||fe(e,Ee.a.BLOCK_STRING)}function j(e){if(M(e))return T(e)}function L(e){var t=e.token;ye(e,"schema");var n=R(e,!0),r=be(e,Ee.a.BRACE_L,B,Ee.a.BRACE_R);return{kind:Ie.a.SCHEMA_DEFINITION,directives:n,operationTypes:r,loc:pe(e,t)}}function B(e){var t=e.token,n=p(e);me(e,Ee.a.COLON);var r=D(e);return{kind:Ie.a.OPERATION_TYPE_DEFINITION,operation:n,type:r,loc:pe(e,t)}}function q(e){var t=e.token,n=j(e);ye(e,"scalar");var r=a(e),i=R(e,!0);return{kind:Ie.a.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i,loc:pe(e,t)}}function F(e){var t=e.token,n=j(e);ye(e,"type");var r=a(e),i=V(e),o=R(e,!0),s=K(e);return{kind:Ie.a.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:o,fields:s,loc:pe(e,t)}}function V(e){var t=[];if("implements"===e.token.value){e.advance(),he(e,Ee.a.AMP);do{t.push(D(e))}while(he(e,Ee.a.AMP)||e.options.allowLegacySDLImplementsInterfaces&&fe(e,Ee.a.NAME))}return t}function K(e){return e.options.allowLegacySDLEmptyFields&&fe(e,Ee.a.BRACE_L)&&e.lookahead().kind===Ee.a.BRACE_R?(e.advance(),e.advance(),[]):fe(e,Ee.a.BRACE_L)?be(e,Ee.a.BRACE_L,z,Ee.a.BRACE_R):[]}function z(e){var t=e.token,n=j(e),r=a(e),i=G(e);me(e,Ee.a.COLON);var o=x(e),s=R(e,!0);return{kind:Ie.a.FIELD_DEFINITION,description:n,name:r,arguments:i,type:o,directives:s,loc:pe(e,t)}}function G(e){return fe(e,Ee.a.PAREN_L)?be(e,Ee.a.PAREN_L,H,Ee.a.PAREN_R):[]}function H(e){var t=e.token,n=j(e),r=a(e);me(e,Ee.a.COLON);var i=x(e),o=void 0;he(e,Ee.a.EQUALS)&&(o=w(e));var s=R(e,!0);return{kind:Ie.a.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:o,directives:s,loc:pe(e,t)}}function W(e){var t=e.token,n=j(e);ye(e,"interface");var r=a(e),i=R(e,!0),o=K(e);return{kind:Ie.a.INTERFACE_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:pe(e,t)}}function J(e){var t=e.token,n=j(e);ye(e,"union");var r=a(e),i=R(e,!0),o=Y(e);return{kind:Ie.a.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:o,loc:pe(e,t)}}function Y(e){var t=[];if(he(e,Ee.a.EQUALS)){he(e,Ee.a.PIPE);do{t.push(D(e))}while(he(e,Ee.a.PIPE))}return t}function Q(e){var t=e.token,n=j(e);ye(e,"enum");var r=a(e),i=R(e,!0),o=X(e);return{kind:Ie.a.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:o,loc:pe(e,t)}}function X(e){return fe(e,Ee.a.BRACE_L)?be(e,Ee.a.BRACE_L,$,Ee.a.BRACE_R):[]}function $(e){var t=e.token,n=j(e),r=a(e),i=R(e,!0);return{kind:Ie.a.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i,loc:pe(e,t)}}function Z(e){var t=e.token,n=j(e);ye(e,"input");var r=a(e),i=R(e,!0),o=ee(e);return{kind:Ie.a.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:o,loc:pe(e,t)}}function ee(e){return fe(e,Ee.a.BRACE_L)?be(e,Ee.a.BRACE_L,H,Ee.a.BRACE_R):[]}function te(e){var t=e.lookahead();if(t.kind===Ee.a.NAME)switch(t.value){case"scalar":return ne(e);case"type":return re(e);case"interface":return ie(e);case"union":return oe(e);case"enum":return ae(e);case"input":return se(e)}throw ge(e,t)}function ne(e){var t=e.token;ye(e,"extend"),ye(e,"scalar");var n=a(e),r=R(e,!0);if(0===r.length)throw ge(e);return{kind:Ie.a.SCALAR_TYPE_EXTENSION,name:n,directives:r,loc:pe(e,t)}}function re(e){var t=e.token;ye(e,"extend"),ye(e,"type");var n=a(e),r=V(e),i=R(e,!0),o=K(e);if(0===r.length&&0===i.length&&0===o.length)throw ge(e);return{kind:Ie.a.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:o,loc:pe(e,t)}}function ie(e){var t=e.token;ye(e,"extend"),ye(e,"interface");var n=a(e),r=R(e,!0),i=K(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:Ie.a.INTERFACE_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:pe(e,t)}}function oe(e){var t=e.token;ye(e,"extend"),ye(e,"union");var n=a(e),r=R(e,!0),i=Y(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:Ie.a.UNION_TYPE_EXTENSION,name:n,directives:r,types:i,loc:pe(e,t)}}function ae(e){var t=e.token;ye(e,"extend"),ye(e,"enum");var n=a(e),r=R(e,!0),i=X(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:Ie.a.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i,loc:pe(e,t)}}function se(e){var t=e.token;ye(e,"extend"),ye(e,"input");var n=a(e),r=R(e,!0),i=ee(e);if(0===r.length&&0===i.length)throw ge(e);return{kind:Ie.a.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i,loc:pe(e,t)}}function ue(e){var t=e.token,n=j(e);ye(e,"directive"),me(e,Ee.a.AT);var r=a(e),i=G(e);ye(e,"on");var o=ce(e);return{kind:Ie.a.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,locations:o,loc:pe(e,t)}}function ce(e){he(e,Ee.a.PIPE);var t=[];do{t.push(le(e))}while(he(e,Ee.a.PIPE));return t}function le(e){var t=e.token,n=a(e);if(Ce.a.hasOwnProperty(n.value))return n;throw ge(e,t)}function pe(e,t){if(!e.options.noLocation)return new de(t,e.lastToken,e.source)}function de(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}function fe(e,t){return e.token.kind===t}function he(e,t){var n=e.token.kind===t;return n&&e.advance(),n}function me(e,t){var n=e.token;if(n.kind===t)return e.advance(),n;throw Object(_e.e)(e.source,n.start,"Expected "+t+", found "+Object(Ee.c)(n))}function ye(e,t){var n=e.token;if(n.kind===Ee.a.NAME&&n.value===t)return e.advance(),n;throw Object(_e.e)(e.source,n.start,'Expected "'+t+'", found '+Object(Ee.c)(n))}function ge(e,t){var n=t||e.token;return Object(_e.e)(e.source,n.start,"Unexpected "+Object(Ee.c)(n))}function ve(e,t,n,r){me(e,t);for(var i=[];!he(e,r);)i.push(n(e));return i}function be(e,t,n,r){me(e,t);for(var i=[n(e)];!he(e,r);)i.push(n(e));return i}t.a=r,t.c=i,t.b=o;var Se=n(130),_e=n(2),Ee=n(70),Ie=n(5),Ce=n(30);de.prototype.toJSON=de.prototype.inspect=function(){return{start:this.start,end:this.end}}},function(e,t,n){"use strict";function r(e,t){for(var n=Object.create(null),r=t.length,o=e.length/2,a=0;a<r;a++){var s=i(e,t[a]);s<=Math.max(o,t[a].length/2,1)&&(n[t[a]]=s)}return Object.keys(n).sort(function(e,t){return n[e]-n[t]})}function i(e,t){if(e===t)return 0;var n=void 0,r=void 0,i=[],o=e.toLowerCase(),a=t.toLowerCase(),s=o.length,u=a.length;if(o===a)return 1;for(n=0;n<=s;n++)i[n]=[n];for(r=1;r<=u;r++)i[0][r]=r;for(n=1;n<=s;n++)for(r=1;r<=u;r++){var c=o[n-1]===a[r-1]?0:1;i[n][r]=Math.min(i[n-1][r]+1,i[n][r-1]+1,i[n-1][r-1]+c),n>1&&r>1&&o[n-1]===a[r-2]&&o[n-2]===a[r-1]&&(i[n][r]=Math.min(i[n][r],i[n-2][r-2]+c))}return i[s][u]}t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(179);t.AWS=r},function(e,t,n){function r(e){e.httpRequest.method=e.service.api.operations[e.operation].httpMethod}function i(e,t,n,r){var i=[e,t].join("/");i=i.replace(/\/+/g,"/");var o={},a=!1;if(l.each(n.members,function(e,t){var n=r[e];if(null!==n&&void 0!==n)if("uri"===t.location){var s=new RegExp("\\{"+t.name+"(\\+)?\\}");i=i.replace(s,function(e,t){return(t?l.uriEscapePath:l.uriEscape)(String(n))})}else"querystring"===t.location&&(a=!0,"list"===t.type?o[t.name]=n.map(function(e){return l.uriEscape(t.member.toWireFormat(e).toString())}):"map"===t.type?l.each(n,function(e,t){Array.isArray(t)?o[e]=t.map(function(e){return l.uriEscape(String(e))}):o[e]=l.uriEscape(String(t))}):o[t.name]=l.uriEscape(t.toWireFormat(n).toString()))}),a){i+=i.indexOf("?")>=0?"&":"?";var s=[];l.arrayEach(Object.keys(o).sort(),function(e){Array.isArray(o[e])||(o[e]=[o[e]]);for(var t=0;t<o[e].length;t++)s.push(l.uriEscape(String(e))+"="+o[e][t])}),i+=s.join("&")}return i}function o(e){var t=e.service.api.operations[e.operation],n=t.input,r=i(e.httpRequest.endpoint.path,t.httpPath,n,e.params);e.httpRequest.path=r}function a(e){var t=e.service.api.operations[e.operation];l.each(t.input.members,function(t,n){var r=e.params[t];null!==r&&void 0!==r&&("headers"===n.location&&"map"===n.type?l.each(r,function(t,r){e.httpRequest.headers[n.name+t]=r}):"header"===n.location&&(r=n.toWireFormat(r).toString(),n.isJsonValue&&(r=l.base64.encode(r)),e.httpRequest.headers[n.name]=r))})}function s(e){r(e),o(e),a(e)}function u(){}function c(e){var t=e.request,n={},r=e.httpResponse,i=t.service.api.operations[t.operation],o=i.output,a={};l.each(r.headers,function(e,t){a[e.toLowerCase()]=t}),l.each(o.members,function(e,t){var i=(t.name||e).toLowerCase();if("headers"===t.location&&"map"===t.type){n[e]={};var o=t.isLocationName?t.name:"",s=new RegExp("^"+o+"(.+)","i");l.each(r.headers,function(t,r){var i=t.match(s);null!==i&&(n[e][i[1]]=r)})}else if("header"===t.location){if(void 0!==a[i]){var u=t.isJsonValue?l.base64.decode(a[i]):a[i];n[e]=t.toType(u)}}else"statusCode"===t.location&&(n[e]=parseInt(r.statusCode,10))}),e.data=n}var l=n(6);e.exports={buildRequest:s,extractError:u,extractData:c,generateURI:i}},function(e,t,n){function r(e){return"string"==typeof e?0===e.length:0===e.byteLength}function i