diff --git a/CHANGELOG.md b/CHANGELOG.md index f073126..af86f1f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.3.4] +### Added +- Throttle typing event. Throttle wait time is set to 10 seconds. +- add interactiveMessageResponse as a supported ContentType. + ## [1.3.3] ### Changed - fix unsafe-eval usage in code by updating webpack config. diff --git a/dist/amazon-connect-chat.js b/dist/amazon-connect-chat.js index 666a241..477a3d2 100644 --- a/dist/amazon-connect-chat.js +++ b/dist/amazon-connect-chat.js @@ -1,2 +1,2 @@ -(()=>{var e={228:(e,t,n)=>{var r;!function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,(function(e){return i(t[s][1][e]||e)}),u,u.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s-1});var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:function(e){return"string"==typeof e?0===e.length:0===e.byteLength},convertToBuffer:function(e){return"string"==typeof e&&(e=new r(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}},{"buffer/":82}],13:[function(e,t,n){function r(e,t){this.hash=new e,this.outer=new e;var n=i(e,t),r=new Uint8Array(e.BLOCK_SIZE);r.set(n);for(var o=0;oe.BLOCK_SIZE){var r=new e;r.update(n),n=r.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(n),i}var o=e("./browserHashUtils");t.exports=r,r.prototype.update=function(e){if(o.isEmptyData(e)||this.error)return this;try{this.hash.update(o.convertToBuffer(e))}catch(e){this.error=e}return this},r.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":12}],14:[function(e,t,n){function r(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(p)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,n,r,i,o){return((t=(t+e&4294967295)+(r+o&4294967295)&4294967295)<>>32-i)+n&4294967295}function o(e,t,n,r,o,s,a){return i(t&n|~t&r,e,t,o,s,a)}function s(e,t,n,r,o,s,a){return i(t&r|n&~r,e,t,o,s,a)}function a(e,t,n,r,o,s,a){return i(t^n^r,e,t,o,s,a)}function c(e,t,n,r,o,s,a){return i(n^(t|~r),e,t,o,s,a)}var u=e("./browserHashUtils"),l=e("buffer/").Buffer,p=64;t.exports=r,r.BLOCK_SIZE=p,r.prototype.update=function(e){if(u.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=u.convertToBuffer(e),n=0,r=t.byteLength;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===p&&(this.hashBuffer(),this.bufferLength=0);return this},r.prototype.digest=function(e){if(!this.finished){var t=this,n=t.buffer,r=t.bufferLength,i=8*t.bytesHashed;if(n.setUint8(this.bufferLength++,128),r%p>=p-8){for(var o=this.bufferLength;o>>0,!0),n.setUint32(p-4,Math.floor(i/4294967296),!0),this.hashBuffer(),this.finished=!0}var s=new DataView(new ArrayBuffer(16));for(o=0;o<4;o++)s.setUint32(4*o,this.state[o],!0);var a=new l(s.buffer,s.byteOffset,s.byteLength);return e?a.toString(e):a},r.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],u=t[3];n=o(n,r,i,u,e.getUint32(0,!0),7,3614090360),u=o(u,n,r,i,e.getUint32(4,!0),12,3905402710),i=o(i,u,n,r,e.getUint32(8,!0),17,606105819),r=o(r,i,u,n,e.getUint32(12,!0),22,3250441966),n=o(n,r,i,u,e.getUint32(16,!0),7,4118548399),u=o(u,n,r,i,e.getUint32(20,!0),12,1200080426),i=o(i,u,n,r,e.getUint32(24,!0),17,2821735955),r=o(r,i,u,n,e.getUint32(28,!0),22,4249261313),n=o(n,r,i,u,e.getUint32(32,!0),7,1770035416),u=o(u,n,r,i,e.getUint32(36,!0),12,2336552879),i=o(i,u,n,r,e.getUint32(40,!0),17,4294925233),r=o(r,i,u,n,e.getUint32(44,!0),22,2304563134),n=o(n,r,i,u,e.getUint32(48,!0),7,1804603682),u=o(u,n,r,i,e.getUint32(52,!0),12,4254626195),i=o(i,u,n,r,e.getUint32(56,!0),17,2792965006),n=s(n,r=o(r,i,u,n,e.getUint32(60,!0),22,1236535329),i,u,e.getUint32(4,!0),5,4129170786),u=s(u,n,r,i,e.getUint32(24,!0),9,3225465664),i=s(i,u,n,r,e.getUint32(44,!0),14,643717713),r=s(r,i,u,n,e.getUint32(0,!0),20,3921069994),n=s(n,r,i,u,e.getUint32(20,!0),5,3593408605),u=s(u,n,r,i,e.getUint32(40,!0),9,38016083),i=s(i,u,n,r,e.getUint32(60,!0),14,3634488961),r=s(r,i,u,n,e.getUint32(16,!0),20,3889429448),n=s(n,r,i,u,e.getUint32(36,!0),5,568446438),u=s(u,n,r,i,e.getUint32(56,!0),9,3275163606),i=s(i,u,n,r,e.getUint32(12,!0),14,4107603335),r=s(r,i,u,n,e.getUint32(32,!0),20,1163531501),n=s(n,r,i,u,e.getUint32(52,!0),5,2850285829),u=s(u,n,r,i,e.getUint32(8,!0),9,4243563512),i=s(i,u,n,r,e.getUint32(28,!0),14,1735328473),n=a(n,r=s(r,i,u,n,e.getUint32(48,!0),20,2368359562),i,u,e.getUint32(20,!0),4,4294588738),u=a(u,n,r,i,e.getUint32(32,!0),11,2272392833),i=a(i,u,n,r,e.getUint32(44,!0),16,1839030562),r=a(r,i,u,n,e.getUint32(56,!0),23,4259657740),n=a(n,r,i,u,e.getUint32(4,!0),4,2763975236),u=a(u,n,r,i,e.getUint32(16,!0),11,1272893353),i=a(i,u,n,r,e.getUint32(28,!0),16,4139469664),r=a(r,i,u,n,e.getUint32(40,!0),23,3200236656),n=a(n,r,i,u,e.getUint32(52,!0),4,681279174),u=a(u,n,r,i,e.getUint32(0,!0),11,3936430074),i=a(i,u,n,r,e.getUint32(12,!0),16,3572445317),r=a(r,i,u,n,e.getUint32(24,!0),23,76029189),n=a(n,r,i,u,e.getUint32(36,!0),4,3654602809),u=a(u,n,r,i,e.getUint32(48,!0),11,3873151461),i=a(i,u,n,r,e.getUint32(60,!0),16,530742520),n=c(n,r=a(r,i,u,n,e.getUint32(8,!0),23,3299628645),i,u,e.getUint32(0,!0),6,4096336452),u=c(u,n,r,i,e.getUint32(28,!0),10,1126891415),i=c(i,u,n,r,e.getUint32(56,!0),15,2878612391),r=c(r,i,u,n,e.getUint32(20,!0),21,4237533241),n=c(n,r,i,u,e.getUint32(48,!0),6,1700485571),u=c(u,n,r,i,e.getUint32(12,!0),10,2399980690),i=c(i,u,n,r,e.getUint32(40,!0),15,4293915773),r=c(r,i,u,n,e.getUint32(4,!0),21,2240044497),n=c(n,r,i,u,e.getUint32(32,!0),6,1873313359),u=c(u,n,r,i,e.getUint32(60,!0),10,4264355552),i=c(i,u,n,r,e.getUint32(24,!0),15,2734768916),r=c(r,i,u,n,e.getUint32(52,!0),21,1309151649),n=c(n,r,i,u,e.getUint32(16,!0),6,4149444226),u=c(u,n,r,i,e.getUint32(44,!0),10,3174756917),i=c(i,u,n,r,e.getUint32(8,!0),15,718787259),r=c(r,i,u,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=u+t[3]&4294967295}},{"./browserHashUtils":12,"buffer/":82}],15:[function(e,t,n){function r(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,o=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53),t.exports=r,r.BLOCK_SIZE=64,r.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(o.isEmptyData(e))return this;var t=(e=o.convertToBuffer(e)).length;this.totalLength+=8*t;for(var n=0;n14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var n=new i(20),r=new DataView(n.buffer);return r.setUint32(0,this.h0,!1),r.setUint32(4,this.h1,!1),r.setUint32(8,this.h2,!1),r.setUint32(12,this.h3,!1),r.setUint32(16,this.h4,!1),e?n.toString(e):n},r.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var n,r,i=this.h0,o=this.h1,s=this.h2,a=this.h3,c=this.h4;for(e=0;e<80;e++){e<20?(n=a^o&(s^a),r=1518500249):e<40?(n=o^s^a,r=1859775393):e<60?(n=o&s|a&(o|s),r=2400959708):(n=o^s^a,r=3395469782);var u=(i<<5|i>>>27)+n+c+r+(0|this.block[e]);c=a,a=s,s=o<<30|o>>>2,o=i,i=u}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+s|0,this.h3=this.h3+a|0,this.h4=this.h4+c|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":12,"buffer/":82}],16:[function(e,t,n){function r(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,o=e("./browserHashUtils"),s=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=Math.pow(2,53)-1;t.exports=r,r.BLOCK_SIZE=64,r.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(o.isEmptyData(e))return this;var t=0,n=(e=o.convertToBuffer(e)).byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>a)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},r.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%64>=56){for(var o=this.bufferLength;o<64;o++)n.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(o=this.bufferLength;o<56;o++)n.setUint8(o,0);n.setUint32(56,Math.floor(t/4294967296),!0),n.setUint32(60,t),this.hashBuffer(),this.finished=!0}var s=new i(32);for(o=0;o<8;o++)s[4*o]=this.state[o]>>>24&255,s[4*o+1]=this.state[o]>>>16&255,s[4*o+2]=this.state[o]>>>8&255,s[4*o+3]=this.state[o]>>>0&255;return e?s.toString(e):s},r.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],l=t[7],p=0;p<64;p++){if(p<16)this.temp[p]=(255&e[4*p])<<24|(255&e[4*p+1])<<16|(255&e[4*p+2])<<8|255&e[4*p+3];else{var d=this.temp[p-2],h=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,f=((d=this.temp[p-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[p]=(h+this.temp[p-7]|0)+(f+this.temp[p-16]|0)}var m=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&c^~a&u)|0)+(l+(s[p]+this.temp[p]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&i^r&i)|0;l=u,u=c,c=a,a=o+m|0,o=i,i=r,r=n,n=m+g|0}t[0]+=n,t[1]+=r,t[2]+=i,t[3]+=o,t[4]+=a,t[5]+=c,t[6]+=u,t[7]+=l}},{"./browserHashUtils":12,"buffer/":82}],17:[function(e,t,n){(function(n){(function(){var n=e("./util");n.crypto.lib=e("./browserCryptoLib"),n.Buffer=e("buffer/").Buffer,n.url=e("url/"),n.querystring=e("querystring/"),n.realClock=e("./realclock/browserClock"),n.environment="js",n.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,n.isBrowser=function(){return!0},n.isNode=function(){return!1};var r=e("./core");if(t.exports=r,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),r.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":11,"./core":20,"./credentials":21,"./credentials/chainable_temporary_credentials":22,"./credentials/cognito_identity_credentials":23,"./credentials/credential_provider_chain":24,"./credentials/saml_credentials":25,"./credentials/temporary_credentials":26,"./credentials/web_identity_credentials":27,"./event-stream/buffered-create-event-stream":29,"./http/xhr":37,"./realclock/browserClock":54,"./util":73,"./xml/browser_parser":74,_process:87,"buffer/":82,"querystring/":94,"url/":96}],18:[function(e,t,n){var r,i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain"),i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,(function(t,n){this.set(t,e[t],n)}))},getCredentials:function(e){function t(t){e(t,t?null:r.credentials)}function n(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var r=this;r.credentials?"function"==typeof r.credentials.get?r.credentials.get((function(e){e&&(e=n("Could not load credentials from "+r.credentials.constructor.name,e)),t(e)})):function(){var e=null;r.credentials.accessKeyId&&r.credentials.secretAccessKey||(e=n("Missing credentials")),t(e)}():r.credentialProvider?r.credentialProvider.resolve((function(e,i){e&&(e=n("Could not load credentials from any providers",e)),r.credentials=i,t(e)})):t(n("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,(function(e,n){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,n)}))},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),n=new i.FileSystemCredentials(e),r=new i.CredentialProviderChain;return r.providers.unshift(n),r.resolve((function(e,n){if(e)throw e;t.credentials=n})),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,(function(e){delete this[e]})),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,n){void 0===t?(void 0===n&&(n=this.keys[e]),this[e]="function"==typeof n?n.call(this):n):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&((e=i.util.copy(e)).credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){r=e,null===e&&"function"==typeof Promise&&(r=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,r)},getPromisesDependency:function(){return r}}),i.config=new i.Config},{"./core":20,"./credentials":21,"./credentials/credential_provider_chain":24}],19:[function(e,t,n){(function(n){(function(){function r(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw i.util.error(new Error,t)}}var i=e("./core");t.exports=function(e,t){var o;if((e=e||{})[t.clientConfig]&&(o=r(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return o;if(!i.util.isNode())return o;if(Object.prototype.hasOwnProperty.call(n.env,t.env)&&(o=r(n.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+n.env[t.env]+'".'})))return o;var s={};try{s=i.util.getProfilesFromSharedConfig(i.util.iniLoader)[n.env.AWS_PROFILE||i.util.defaultProfile]}catch(e){}return s&&Object.prototype.hasOwnProperty.call(s,t.sharedConfig)&&(o=r(s[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+s[t.sharedConfig]+'".'})),o}}).call(this)}).call(this,e("_process"))},{"./core":20,_process:87}],20:[function(e,t,n){var r={util:e("./util")};({}).toString(),t.exports=r,r.util.update(r,{VERSION:"2.772.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),r.events=new r.SequentialExecutor,r.util.memoizedProperty(r,"endpointCache",(function(){return new r.EndpointCache(r.config.endpointCacheSize)}),!0)},{"../vendor/endpoint-cache":105,"./api_loader":10,"./config":18,"./event_listeners":35,"./http":36,"./json/builder":38,"./json/parser":39,"./model/api":40,"./model/operation":42,"./model/paginator":43,"./model/resource_waiter":44,"./model/shape":45,"./param_validator":46,"./protocol/json":48,"./protocol/query":49,"./protocol/rest":50,"./protocol/rest_json":51,"./protocol/rest_xml":52,"./request":57,"./resource_waiter":58,"./response":59,"./sequential_executor":60,"./service":61,"./signers/request_signer":65,"./util":73,"./xml/builder":75}],21:[function(e,t,n){var r=e("./core");r.Credentials=r.util.inherit({constructor:function(){if(r.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=r.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||this.expired||!this.accessKeyId||!this.secretAccessKey},get:function(e){var t=this;this.needsRefresh()?this.refresh((function(n){n||(t.expired=!1),e&&e(n)})):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var n=this;1===n.refreshCallbacks.push(e)&&n.load((function(e){r.util.arrayEach(n.refreshCallbacks,(function(n){t?n(e):r.util.defer((function(){n(e)}))})),n.refreshCallbacks.length=0}))},load:function(e){e()}}),r.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=r.util.promisifyMethod("get",e),this.prototype.refreshPromise=r.util.promisifyMethod("refresh",e)},r.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},r.util.addPromises(r.Credentials)},{"./core":20}],22:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.ChainableTemporaryCredentials=r.util.inherit(r.Credentials,{constructor:function(e){r.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=r.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new r.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var n=r.util.merge({params:t,credentials:e.masterCredentials||r.config.credentials},e.stsConfig||{});this.service=new i(n)},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this,n=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode((function(r,i){var o={};r?e(r):(i&&(o.TokenCode=i),t.service[n](o,(function(n,r){n||t.service.credentialsFrom(r,t),e(n)})))}))},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,(function(n,i){if(n){var o=n;return n instanceof Error&&(o=n.message),void e(r.util.error(new Error("Error fetching MFA token: "+o),{code:t.errorCode}))}e(null,i)})):e(null)}})},{"../../clients/sts":9,"../core":20}],23:[function(e,t,n){var r=e("../core"),i=e("../../clients/cognitoidentity"),o=e("../../clients/sts");r.CognitoIdentityCredentials=r.util.inherit(r.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){r.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=r.util.copy(t||{}),this.loadCachedId();var n=this;Object.defineProperty(this,"identityId",{get:function(){return n.loadCachedId(),n._identityId||n.params.IdentityId},set:function(e){n._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId((function(n){n?(t.clearIdOnNotAuthorized(n),e(n)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)}))},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){"NotAuthorizedException"==e.code&&this.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId((function(n,r){!n&&r.IdentityId?(t.params.IdentityId=r.IdentityId,e(null,r.IdentityId)):e(n)}))},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity((function(n,r){n?t.clearIdOnNotAuthorized(n):(t.cacheId(r),t.data=r,t.loadCredentials(t.data,t)),e(n)}))},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken((function(n,r){n?(t.clearIdOnNotAuthorized(n),e(n)):(t.cacheId(r),t.params.WebIdentityToken=r.Token,t.webIdentityCredentials.refresh((function(n){n||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(n)})))}))},loadCachedId:function(){var e=this;if(r.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var n=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter((function(e){return-1!==n.indexOf(e)})).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new r.WebIdentityCredentials(this.params,e),!this.cognito){var t=r.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,r.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=r.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":8,"../../clients/sts":9,"../core":20}],24:[function(e,t,n){var r=e("../core");r.CredentialProviderChain=r.util.inherit(r.Credentials,{constructor:function(e){this.providers=e||r.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){var t=this;if(0===t.providers.length)return e(new Error("No providers")),t;if(1===t.resolveCallbacks.push(e)){var n=0,i=t.providers.slice(0);!function e(o,s){if(!o&&s||n===i.length)return r.util.arrayEach(t.resolveCallbacks,(function(e){e(o,s)})),void(t.resolveCallbacks.length=0);var a=i[n++];(s="function"==typeof a?a.call():a).get?s.get((function(t){e(t,t?null:s)})):e(null,s)}()}return t}}),r.CredentialProviderChain.defaultProviders=[],r.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=r.util.promisifyMethod("resolve",e)},r.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},r.util.addPromises(r.CredentialProviderChain)},{"../core":20}],25:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.SAMLCredentials=r.util.inherit(r.Credentials,{constructor:function(e){r.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML((function(n,r){n||t.service.credentialsFrom(r,t),e(n)}))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":9,"../core":20}],26:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.TemporaryCredentials=r.util.inherit(r.Credentials,{constructor:function(e,t){r.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get((function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,(function(n,r){n||t.service.credentialsFrom(r,t),e(n)}))}))},loadMasterCredentials:function(e){for(this.masterCredentials=e||r.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new r.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":9,"../core":20}],27:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.WebIdentityCredentials=r.util.inherit(r.Credentials,{constructor:function(e,t){r.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=r.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity((function(n,r){t.data=null,n||(t.data=r,t.service.credentialsFrom(r,t)),e(n)}))},createClients:function(){if(!this.service){var e=r.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":9,"../core":20}],28:[function(e,t,n){(function(n){(function(){function r(e){var t=e.service,n=t.api||{},r={};return t.config.region&&(r.region=t.config.region),n.serviceId&&(r.serviceId=n.serviceId),t.config.credentials.accessKeyId&&(r.accessKeyId=t.config.credentials.accessKeyId),r}function i(e,t,n){n&&null!=t&&"structure"===n.type&&n.required&&n.required.length>0&&h.arrayEach(n.required,(function(r){var o=n.members[r];if(!0===o.endpointDiscoveryId){var s=o.isLocationName?o.name:r;e[s]=String(t[r])}else i(e,t[r],o)}))}function o(e,t){var n={};return i(n,e.params,t),n}function s(e){var t=e.service,n=t.api,i=n.operations?n.operations[e.operation]:void 0,s=o(e,i?i.input:void 0),a=r(e);Object.keys(s).length>0&&(a=h.update(a,s),i&&(a.operation=i.name));var u=d.endpointCache.get(a);if(!u||1!==u.length||""!==u[0].Address)if(u&&u.length>0)e.httpRequest.updateEndpoint(u[0].Address);else{var l=t.makeRequest(n.endpointOperation,{Operation:i.name,Identifiers:s});c(l),l.removeListener("validate",d.EventListeners.Core.VALIDATE_PARAMETERS),l.removeListener("retry",d.EventListeners.Core.RETRY_CHECK),d.endpointCache.put(a,[{Address:"",CachePeriodInMinutes:1}]),l.send((function(e,t){t&&t.Endpoints?d.endpointCache.put(a,t.Endpoints):e&&d.endpointCache.put(a,[{Address:"",CachePeriodInMinutes:1}])}))}}function a(e,t){var n=e.service,i=n.api,s=i.operations?i.operations[e.operation]:void 0,a=s?s.input:void 0,u=o(e,a),l=r(e);Object.keys(u).length>0&&(l=h.update(l,u),s&&(l.operation=s.name));var p=d.EndpointCache.getKeyString(l),f=d.endpointCache.get(p);if(f&&1===f.length&&""===f[0].Address)return m[p]||(m[p]=[]),void m[p].push({request:e,callback:t});if(f&&f.length>0)e.httpRequest.updateEndpoint(f[0].Address),t();else{var g=n.makeRequest(i.endpointOperation,{Operation:s.name,Identifiers:u});g.removeListener("validate",d.EventListeners.Core.VALIDATE_PARAMETERS),c(g),d.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:60}]),g.send((function(n,r){if(n){if(e.response.error=h.error(n,{retryable:!1}),d.endpointCache.remove(l),m[p]){var i=m[p];h.arrayEach(i,(function(e){e.request.response.error=h.error(n,{retryable:!1}),e.callback()})),delete m[p]}}else r&&(d.endpointCache.put(p,r.Endpoints),e.httpRequest.updateEndpoint(r.Endpoints[0].Address),m[p])&&(i=m[p],h.arrayEach(i,(function(e){e.request.httpRequest.updateEndpoint(r.Endpoints[0].Address),e.callback()})),delete m[p]);t()}))}}function c(e){var t=e.service.api.apiVersion;t&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=t)}function u(e){var t=e.error,n=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===n.statusCode)){var i=e.request,s=i.service.api.operations||{},a=o(i,s[i.operation]?s[i.operation].input:void 0),c=r(i);Object.keys(a).length>0&&(c=h.update(c,a),s[i.operation]&&(c.operation=s[i.operation].name)),d.endpointCache.remove(c)}}function l(e){return["false","0"].indexOf(e)>=0}function p(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!h.isBrowser()){for(var r=0;r-1&&0==++e[t];t--);}var o=e("../core").util,s=o.buffer.toBuffer;r.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),n=7,o=Math.abs(Math.round(e));n>-1&&o>0;n--,o/=256)t[n]=o;return e<0&&i(t),new r(t)},r.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},r.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:r}},{"../core":20}],32:[function(e,t,n){var r=e("./parse-message").parseMessage;t.exports={parseEvent:function(e,t,n){var i=r(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw function(e){var t=e.headers[":error-code"],n=e.headers[":error-message"],r=new Error(n.value||n);return r.code=r.name=t.value||t,r}(i);if("event"!==o.value)return}var s=i.headers[":event-type"],a=n.members[s.value];if(a){var c={},u=a.eventPayloadMemberName;if(u){var l=a.members[u];"binary"===l.type?c[u]=i.body:c[u]=e.parse(i.body.toString(),l)}for(var p=a.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();r.util.computeSha256(o,(function(n,r){n?t(n):(e.httpRequest.headers["X-Amz-Content-Sha256"]=r,t())}))}else t()}})),e("SET_CONTENT_LENGTH","afterBuild",(function(e){var t=function(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}(e),n=r.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var i=r.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=i}catch(r){if(n&&n.isStreaming){if(n.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}})),e("SET_HTTP_HOST","afterBuild",(function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host})),e("RESTART","restart",(function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new r.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],(function(e){e?t(e):o()})):o()})),e("HTTP_HEADERS","httpHeaders",(function(e,t,n,i){n.httpResponse.statusCode=e,n.httpResponse.statusMessage=i,n.httpResponse.headers=t,n.httpResponse.body=r.util.buffer.toBuffer(""),n.httpResponse.buffers=[],n.httpResponse.numBytes=0;var o=t.date||t.Date,s=n.request.service;if(o){var a=Date.parse(o);s.config.correctClockSkew&&s.isClockSkewed(a)&&s.applyClockOffset(a)}})),e("HTTP_DATA","httpData",(function(e,t){if(e){if(r.util.isNode()){t.httpResponse.numBytes+=e.length;var n=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:n};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(r.util.buffer.toBuffer(e))}})),e("HTTP_DONE","httpDone",(function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=r.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers})),e("FINALIZE_ERROR","retry",(function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))})),e("INVALIDATE_CREDENTIALS","retry",(function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}})),e("EXPIRED_SIGNATURE","retry",(function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)})),e("CLOCK_SKEWED","retry",(function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)})),e("REDIRECT","retry",(function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new r.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)})),e("RETRY_CHECK","retry",(function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,n)):t()}))})),CorePost:(new i).addNamedListeners((function(e){e("EXTRACT_REQUEST_ID","extractData",r.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",r.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",(function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof r.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(r.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=r.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}}))})),Logger:(new i).addNamedListeners((function(t){t("LOG_REQUEST","complete",(function(t){function n(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return r.util.each(t,(function(t,r){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=n(e.members[t],r):i[t]=r})),i;case"list":var o=[];return r.util.arrayEach(t,(function(t,r){o.push(n(e.member,t))})),o;case"map":var s={};return r.util.each(t,(function(t,r){s[t]=n(e.value,r)})),s;default:return t}}var i=t.request,o=i.service.config.logger;if(o){var s=function(){var s=(t.request.service.getSkewCorrectedDate().getTime()-i.startTime.getTime())/1e3,a=!!o.isTTY,c=t.httpResponse.statusCode,u=i.params;i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input&&(u=n(i.service.api.operations[i.operation].input,i.params));var l=e("util").inspect(u,!0,null),p="";return a&&(p+=""),p+="[AWS "+i.service.serviceIdentifier+" "+c,p+=" "+s.toString()+"s "+t.retryCount+" retries]",a&&(p+=""),p+=" "+r.util.string.lowerFirst(i.operation),p+="("+l+")",a&&(p+=""),p}();"function"==typeof o.log?o.log(s):"function"==typeof o.write&&o.write(s+"\n")}}))})),Json:(new i).addNamedListeners((function(t){var n=e("./protocol/json");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),Rest:(new i).addNamedListeners((function(t){var n=e("./protocol/rest");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),RestJson:(new i).addNamedListeners((function(t){var n=e("./protocol/rest_json");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),RestXml:(new i).addNamedListeners((function(t){var n=e("./protocol/rest_xml");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),Query:(new i).addNamedListeners((function(t){var n=e("./protocol/query");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)}))}},{"./core":20,"./discover_endpoint":28,"./protocol/json":48,"./protocol/query":49,"./protocol/rest":50,"./protocol/rest_json":51,"./protocol/rest_xml":52,"./sequential_executor":60,util:99}],36:[function(e,t,n){var r=e("./core"),i=r.util.inherit;r.Endpoint=i({constructor:function(e,t){if(r.util.hideProperties(this,["slashes","auth","hash","search","query"]),null==e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return r.util.copy(e);e.match(/^http/)||(e=((t&&void 0!==t.sslEnabled?t.sslEnabled:r.config.sslEnabled)?"https":"http")+"://"+e),r.util.update(this,r.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),r.HttpRequest=i({constructor:function(e,t){e=new r.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=r.util.userAgent()},getUserAgentHeaderName:function(){return(r.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=r.util.queryStringParse(e),r.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new r.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),r.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),r.HttpClient=i({}),r.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":20}],37:[function(e,t,n){var r=e("../core"),i=e("events").EventEmitter;e("../http"),r.XHRClient=r.util.inherit({handleRequest:function(e,t,n,o){var s=this,a=e.endpoint,c=new i,u=a.protocol+"//"+a.hostname;80!==a.port&&443!==a.port&&(u+=":"+a.port),u+=e.path;var l=new XMLHttpRequest,p=!1;e.stream=l,l.addEventListener("readystatechange",(function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!p&&(c.statusCode=l.status,c.headers=s.parseHeaders(l.getAllResponseHeaders()),c.emit("headers",c.statusCode,c.headers,l.statusText),p=!0),this.readyState===this.DONE&&s.finishRequest(l,c)}),!1),l.upload.addEventListener("progress",(function(e){c.emit("sendProgress",e)})),l.addEventListener("progress",(function(e){c.emit("receiveProgress",e)}),!1),l.addEventListener("timeout",(function(){o(r.util.error(new Error("Timeout"),{code:"TimeoutError"}))}),!1),l.addEventListener("error",(function(){o(r.util.error(new Error("Network Failure"),{code:"NetworkingError"}))}),!1),l.addEventListener("abort",(function(){o(r.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))}),!1),n(c),l.open(e.method,u,!1!==t.xhrAsync),r.util.each(e.headers,(function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&l.setRequestHeader(e,t)})),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType="arraybuffer"}catch(e){}try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return c},parseHeaders:function(e){var t={};return r.util.arrayEach(e.split(/\r?\n/),(function(e){var n=e.split(":",1)[0],r=e.substring(n.length+2);n.length>0&&(t[n.toLowerCase()]=r)})),t},finishRequest:function(e,t){var n;if("arraybuffer"===e.responseType&&e.response){var i=e.response;n=new r.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s-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 p(){o.apply(this,arguments),this.toType=function(e){var t=m.base64.decode(e);if(this.isSensitive&&m.isNode()&&"function"==typeof m.Buffer.alloc){var n=m.Buffer.alloc(t.length,t);t.fill(0),t=n}return t},this.toWireFormat=m.base64.encode}function d(){p.apply(this,arguments)}function h(){o.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null==e?null:"true"===e}}var f=e("./collection"),m=e("../util");o.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},o.types={structure:a,list:c,map:u,boolean:h,timestamp:function(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?null:"function"==typeof e.toUTCString?e:"string"==typeof e||"number"==typeof e?m.date.parseTimestamp(e):null},this.toWireFormat=function(e){return m.date.format(e,t.timestampFormat)}},float:function(){o.apply(this,arguments),this.toType=function(e){return null==e?null:parseFloat(e)},this.toWireFormat=this.toType},integer:function(){o.apply(this,arguments),this.toType=function(e){return null==e?null:parseInt(e,10)},this.toWireFormat=this.toType},string:l,base64:d,binary:p},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 s=function(){r.constructor.call(this,e,t,n)};return s.prototype=r,new s}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var a=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: "+a)},o.shapes={StructureShape:a,ListShape:c,MapShape:u,StringShape:l,BooleanShape:h,Base64Shape:d},t.exports=o},{"../util":73,"./collection":41}],46:[function(e,t,n){var r=e("./core");r.ParamValidator=r.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,n){if(this.errors=[],this.validateMember(e,t||{},n||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,r.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(r.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,n){this.validateType(t,n,["object"],"structure");for(var r,i=0;e.required&&i= 1, but found "'+t+'" for '+n)},validatePattern:function(e,t,n){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+n))},validateRange:function(e,t,n,r){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+n),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+r+" <= "+e.max+", but found "+t+" for "+n)},validateEnum:function(e,t,n){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+n)},validateType:function(e,t,n,i){if(null==e)return!1;for(var o=!1,s=0;s63)throw r.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!n.test(e))throw i.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})}))}(e.httpRequest.endpoint.hostname)}return e}}},{"../core":20,"../util":73}],48:[function(e,t,n){var r=e("../util"),i=e("../json/builder"),o=e("../json/parser"),s=e("./helpers").populateHostPrefix;t.exports={buildRequest:function(e){var t=e.httpRequest,n=e.service.api,r=n.targetPrefix+"."+n.operations[e.operation].name,o=n.jsonVersion||"1.0",a=n.operations[e.operation].input,c=new i;1===o&&(o="1.0"),t.body=c.build(e.params||{},a),t.headers["Content-Type"]="application/x-amz-json-"+o,t.headers["X-Amz-Target"]=r,s(e)},extractError:function(e){var t={},n=e.httpResponse;if(t.code=n.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),n.body.length>0)try{var i=JSON.parse(n.body.toString()),o=i.__type||i.code||i.Code;o&&(t.code=o.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=n.statusCode,t.message=n.statusMessage}else t.statusCode=n.statusCode,t.message=n.statusCode.toString();e.error=r.error(new Error,t)},extractData:function(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var n=e.request.service.api.operations[e.request.operation].output||{},r=new o;e.data=r.parse(t,n)}}}},{"../json/builder":38,"../json/parser":39,"../util":73,"./helpers":47}],49:[function(e,t,n){var r=e("../core"),i=e("../util"),o=e("../query/query_param_serializer"),s=e("../model/shape"),a=e("./helpers").populateHostPrefix;t.exports={buildRequest:function(e){var t=e.service.api.operations[e.operation],n=e.httpRequest;n.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",n.params={Version:e.service.api.apiVersion,Action:t.name},(new o).serialize(e.params,t.input,(function(e,t){n.params[e]=t})),n.body=i.queryParamsToString(n.params),a(e)},extractError:function(e){var t,n=e.httpResponse.body.toString();if(n.match("=0?"&":"?";var c=[];i.arrayEach(Object.keys(s).sort(),(function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){var p=(t=new r.XML.Parser).parse(s.toString(),c);i.update(e.data,p)}}}},{"../core":20,"../util":73,"./rest":50}],53:[function(e,t,n){function r(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function o(e,t,n,r){a.each(n.members,(function(n,o){var a=t[n];if(null!=a){var c=i(o);s(c=e?e+"."+c:c,a,o,r)}}))}function s(e,t,n,r){null!=t&&("structure"===n.type?o(e,t,n,r):"list"===n.type?function(e,t,n,r){var o=n.member||{};0!==t.length?a.arrayEach(t,(function(t,a){var c="."+(a+1);if("ec2"===n.api.protocol)c+="";else if(n.flattened){if(o.name){var u=e.split(".");u.pop(),u.push(i(o)),e=u.join(".")}}else c="."+(o.name?o.name:"member")+c;s(e+c,t,o,r)})):r.call(this,e,null)}(e,t,n,r):"map"===n.type?function(e,t,n,r){var i=1;a.each(t,(function(t,o){var a=(n.flattened?".":".entry.")+i+++".",c=a+(n.key.name||"key"),u=a+(n.value.name||"value");s(e+c,t,n.key,r),s(e+u,o,n.value,r)}))}(e,t,n,r):r(e,n.toWireFormat(t).toString()))}var a=e("../util");r.prototype.serialize=function(e,t,n){o("",e,t,n)},t.exports=r},{"../util":73}],54:[function(e,t,n){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],55:[function(e,t,n){function r(e,t){i.each(t,(function(t,n){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=n))}))}var i=e("./util"),o=e("./region_config_data.json");t.exports={configureEndpoint:function(e){for(var t=function(e){var t=e.config.region,n=function(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}(t),r=e.api.endpointPrefix;return[[t,r],[n,r],[t,"*"],[n,"*"],["*",r],["*","*"]].map((function(e){return e[0]&&e[1]?e.join("/"):null}))}(e),n=0;n=0){c=!0;var u=0}var l=function(){c&&u!==a?i.emit("error",n.util.error(new Error("Stream content length mismatch. Received "+u+" of "+a+" bytes."),{code:"StreamContentLengthMismatch"})):2===n.HttpClient.streamsApiVersion?i.end():i.emit("end")},p=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(c){var d=new e.PassThrough;d._write=function(t){return t&&t.length&&(u+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},d.on("end",l),i.on("error",(function(e){c=!1,p.unpipe(d),d.emit("end"),d.end()})),p.pipe(d).pipe(i,{end:!1})}else p.pipe(i);else c&&p.on("data",(function(e){e&&e.length&&(u+=e.length)})),p.on("data",(function(e){i.emit("data",e)})),p.on("end",l);p.on("error",(function(e){c=!1,i.emit("error",e)}))}})),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),n.SequentialExecutor.prototype.emit.call(this,e,t,(function(e){e&&(this.response.error=e),r.call(this,e)}))},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new n.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",n.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),n.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e((function(e,n){t.on("complete",(function(t){t.error?n(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))})),t.runTo()}))}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":20,"./state_machine":72,_process:87,jmespath:86}],58:[function(e,t,n){function r(e){var t=e.request._waiter,n=t.config.acceptors,r=!1,i="retry";n.forEach((function(n){if(!r){var o=t.matchers[n.matcher];o&&o(e,n.expected,n.argument)&&(r=!0,i=n.state)}})),!r&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),o=i.util.inherit,s=e("jmespath");i.ResourceWaiter=o({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,n){try{var r=s.search(e.data,n)}catch(e){return!1}return s.strictDeepEqual(r,t)},pathAll:function(e,t,n){try{var r=s.search(e.data,n)}catch(e){return!1}Array.isArray(r)||(r=[r]);var i=r.length;if(!i)return!1;for(var o=0;o-1&&n.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,n){n||(n=function(){});var r=this.listeners(e),i=r.length;return this.callListeners(r,t,n),i>0},callListeners:function(e,t,n,i){function o(i){if(i&&(a=r.util.error(a||new Error,i),s._haltHandlersOnError))return n.call(s,a);s.callListeners(e,t,n,a)}for(var s=this,a=i||null;e.length>0;){var c=e.shift();if(c._isAsync)return void c.apply(s,t.concat([o]));try{c.apply(s,t)}catch(e){a=r.util.error(a||new Error,e)}if(a&&s._haltHandlersOnError)return void n.call(s,a)}n.call(s,a)},addListeners:function(e){var t=this;return e._events&&(e=e._events),r.util.each(e,(function(e,n){"function"==typeof n&&(n=[n]),r.util.arrayEach(n,(function(n){t.on(e,n)}))})),t},addNamedListener:function(e,t,n,r){return this[e]=n,this.addListener(t,n,r),this},addNamedAsyncListener:function(e,t,n,r){return n._isAsync=!0,this.addNamedListener(e,t,n,r)},addNamedListeners:function(e){var t=this;return e((function(){t.addNamedListener.apply(t,arguments)}),(function(){t.addNamedAsyncListener.apply(t,arguments)})),this}}),r.SequentialExecutor.prototype.addListener=r.SequentialExecutor.prototype.on,t.exports=r.SequentialExecutor},{"./core":20}],61:[function(e,t,n){(function(n){(function(){var r=e("./core"),i=e("./model/api"),o=e("./region_config"),s=r.util.inherit,a=0;r.Service=s({constructor:function(e){if(!this.loadServiceClass)throw r.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var n=r.util.copy(e),i=new t(e);return Object.defineProperty(i,"_originalConfig",{get:function(){return n},enumerable:!1,configurable:!0}),i._clientId=++a,i}this.initialize(e)},initialize:function(e){var t=r.config[this.serviceIdentifier];if(this.config=new r.Config(r.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),r.SequentialExecutor.call(this),r.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||r.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",(function(e){n.nextTick((function(){i.eventHandler(e)}))})),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",(function(e){n.nextTick((function(){i.eventHandler(e)}))}))}},validateService:function(){},loadServiceClass:function(e){var t=e;if(r.util.isEmpty(this.api)){if(t.apiConfig)return r.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){(t=new r.Config(r.config)).update(e,!0);var n=t.apiVersions[this.constructor.serviceIdentifier];return n=n||t.apiVersion,this.getLatestServiceClass(n)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&r.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?r.util.isType(e,Date)&&(e=r.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),n=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(n=t[i]),t[i].substr(0,10)<=e)return n;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,n){if("function"==typeof t&&(n=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=r.util.copy(t),r.util.each(this.config.params,(function(e,n){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=n))})))}var o=new r.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),n&&o.send(n),o},makeUnauthenticatedRequest:function(e,t,n){"function"==typeof t&&(n=t,t={});var r=this.makeRequest(e,t).toUnauthenticated();return n?r.send(n):r},waitFor:function(e,t,n){return new r.ResourceWaiter(this,e).wait(t,n)},addAllRequestListeners:function(e){for(var t=[r.events,r.EventListeners.Core,this.serviceInterface(),r.EventListeners.CorePost],n=0;n299?(i.code&&(n.FinalAwsException=i.code),i.message&&(n.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(n.FinalSdkException=i.code||i.name),i.message&&(n.FinalSdkExceptionMessage=i.message))}return n},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],n={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},r=e.response;return r.httpResponse.statusCode&&(n.HttpStatusCode=r.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(n.AccessKey=e.service.config.credentials.accessKeyId),r.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(n.SessionToken=e.httpRequest.headers["x-amz-security-token"]),r.httpResponse.headers["x-amzn-requestid"]&&(n.XAmznRequestId=r.httpResponse.headers["x-amzn-requestid"]),r.httpResponse.headers["x-amz-request-id"]&&(n.XAmzRequestId=r.httpResponse.headers["x-amz-request-id"]),r.httpResponse.headers["x-amz-id-2"]&&(n.XAmzId2=r.httpResponse.headers["x-amz-id-2"]),n):n},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),n=e.response,r=n.error;return n.httpResponse.statusCode>299?(r.code&&(t.AwsException=r.code),r.message&&(t.AwsExceptionMessage=r.message)):((r.code||r.name)&&(t.SdkException=r.code||r.name),r.message&&(t.SdkExceptionMessage=r.message)),t},attachMonitoringEmitter:function(e){var t,n,i,o,s,a,c=0,u=this;e.on("validate",(function(){o=r.util.realClock.now(),a=Date.now()}),!0),e.on("sign",(function(){n=r.util.realClock.now(),t=Date.now(),s=e.httpRequest.region,c++}),!0),e.on("validateResponse",(function(){i=Math.round(r.util.realClock.now()-n)})),e.addNamedListener("API_CALL_ATTEMPT","success",(function(){var n=u.apiAttemptEvent(e);n.Timestamp=t,n.AttemptLatency=i>=0?i:0,n.Region=s,u.emit("apiCallAttempt",[n])})),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",(function(){var o=u.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(r.util.realClock.now()-n),o.AttemptLatency=i>=0?i:0,o.Region=s,u.emit("apiCallAttempt",[o])})),e.addNamedListener("API_CALL","complete",(function(){var t=u.apiCallEvent(e);if(t.AttemptCount=c,!(t.AttemptCount<=0)){t.Timestamp=a;var n=Math.round(r.util.realClock.now()-o);t.Latency=n>=0?n:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),u.emit("apiCall",[t])}}))},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,n=null,i="";return e&&(i=(n=(e.service.api.operations||{})[e.operation]||null)?n.authtype:""),t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":this.api.signatureVersion,r.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return r.EventListeners.Query;case"json":return r.EventListeners.Json;case"rest-json":return r.EventListeners.RestJson;case"rest-xml":return r.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return r.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||!!this.networkingError(e)||!!this.expiredCredentialsError(e)||!!this.throttledError(e)||e.statusCode>=500},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;return e.replace(/\{service\}/g,this.api.endpointPrefix).replace(/\{region\}/g,this.config.region).replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new r.Endpoint(e,this.config)},paginationConfig:function(e,t){var n=this.api.operations[e].paginator;if(!n){if(t){var i=new Error;throw r.util.error(i,"No pagination configuration for "+e)}return null}return n}}),r.util.update(r.Service,{defineMethods:function(e){r.util.each(e.prototype.api.operations,(function(t){e.prototype[t]||("none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,n){return this.makeUnauthenticatedRequest(t,e,n)}:e.prototype[t]=function(e,n){return this.makeRequest(t,e,n)})}))},defineService:function(e,t,n){r.Service._serviceMap[e]=!0,Array.isArray(t)||(n=t,t=[]);var i=s(r.Service,n||{});if("string"==typeof e){r.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,r.Service.defineMethods(i);if(r.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&r.util.clientSideMonitoring){var a=r.util.clientSideMonitoring.Publisher,c=(0,r.util.clientSideMonitoring.configProvider)();this.prototype.publisher=new a(c),c.enabled&&(r.Service._clientSideMonitoring=!0)}return r.SequentialExecutor.call(i.prototype),r.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var n=0;n604800)throw o.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1});e.httpRequest.headers[a]=t}else{if(n!==o.Signers.S3)throw o.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var r=e.service?e.service.getSkewCorrectedDate():o.util.date.getDate();e.httpRequest.headers[a]=parseInt(o.util.date.unixTimestamp(r)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,n=o.util.urlParse(e.httpRequest.path),r={};n.search&&(r=o.util.queryStringParse(n.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(" ");if("AWS"===i[0])i=i[1].split(":"),r.Signature=i.pop(),r.AWSAccessKeyId=i.join(":"),o.util.each(e.httpRequest.headers,(function(e,t){e===a&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete r[e],e=e.toLowerCase()),r[e]=t})),delete e.httpRequest.headers[a],delete r.Authorization,delete r.Host;else if("AWS4-HMAC-SHA256"===i[0]){i.shift();var s=i.join(" ").match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];r["X-Amz-Signature"]=s,delete r.Expires}t.pathname=n.pathname,t.search=o.util.queryParamsToString(r)}var o=e("../core"),s=o.util.inherit,a="presigned-expires";o.Signers.Presign=s({sign:function(e,t,n){if(e.httpRequest.headers[a]=t||3600,e.on("build",r),e.on("sign",i),e.removeListener("afterBuild",o.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",o.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!n){if(e.build(),e.response.error)throw e.response.error;return o.util.urlFormat(e.httpRequest.endpoint)}e.build((function(){this.response.error?n(this.response.error):n(null,o.util.urlFormat(e.httpRequest.endpoint))}))}}),t.exports=o.Signers.Presign},{"../core":20}],65:[function(e,t,n){var r=e("../core"),i=r.util.inherit;r.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),r.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return r.Signers.V2;case"v3":return r.Signers.V3;case"s3v4":case"v4":return r.Signers.V4;case"s3":return r.Signers.S3;case"v3https":return r.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":20,"./presign":64,"./s3":66,"./v2":67,"./v3":68,"./v3https":69,"./v4":70}],66:[function(e,t,n){var r=e("../core"),i=r.util.inherit;r.Signers.S3=i(r.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=r.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var n=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+n;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var n=this.canonicalizedAmzHeaders();return n&&t.push(n),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];r.util.each(this.request.headers,(function(t){t.match(/^x-amz-/i)&&e.push(t)})),e.sort((function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=o+r.util.queryParamsToString(i)},authorization:function(e,t){var n=[],r=this.credentialString(t);return n.push(this.algorithm+" Credential="+e.accessKeyId+"/"+r),n.push("SignedHeaders="+this.signedHeaders()),n.push("Signature="+this.signature(e,t)),n.join(", ")},signature:function(e,t){var n=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return r.util.crypto.hmac(n,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=r.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];r.util.each.call(this,this.request.headers,(function(t,n){e.push([t,n])})),e.sort((function(e,t){return e[0].toLowerCase()50&&delete i[o.shift()]),d},emptyCache:function(){i={},o=[]}}},{"../core":20}],72:[function(e,t,n){function r(e,t){this.currentState=t||null,this.states=e||{}}r.prototype.runTo=function(e,t,n,r){"function"==typeof e&&(r=n,n=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(n||i,r,(function(r){if(r){if(!o.fail)return t?t.call(n,r):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(n):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(n,r):null;i.runTo(e,t,n,r)}))},r.prototype.addState=function(e,t,n,r){return"function"==typeof t?(r=t,t=null,n=null):"function"==typeof n&&(r=n,n=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:n,fn:r},this},t.exports=r},{}],73:[function(e,t,n){(function(n,r){(function(){var i,o={environment:"nodejs",engine:function(){if(o.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=n.platform+"/"+n.version;return n.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+n.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=o.environment,n="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(n+=" "+o.engine()),n},uriEscape:function(e){var t=encodeURIComponent(e);return(t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape)).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],s=n(r),a=s+"=";if(Array.isArray(i)){var c=[];o.arrayEach(i,(function(e){c.push(n(e))})),a=s+"="+c.sort().join("&"+s+"=")}else null!=i&&(a=s+"="+n(i));t.push(a)})),t.join("&")},readFileSync:function(t){return o.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 encode number "+e));return null==e?e:o.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 decode number "+e));return null==e?e:o.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e,t):new o.Buffer(e,t)},alloc:function(e,t,n){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof o.Buffer.alloc)return o.Buffer.alloc(e,t,n);var r=new o.Buffer(e);return void 0!==t&&"function"==typeof r.fill&&r.fill(t,void 0,void 0,n),r},toStream:function(e){o.Buffer.isBuffer(e)||(e=o.buffer.toBuffer(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,r=0,i=0;for(t=0;t>>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=o.buffer.toBuffer(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=o.buffer.toBuffer(t));var s=o.arraySliceFn(t),a=o.Buffer.isBuffer(t);if(o.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),r&&"object"==typeof t&&"function"==typeof t.on&&!a)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||!s||a||"undefined"==typeof FileReader){o.isBrowser()&&"object"==typeof t&&!a&&(t=new o.Buffer(new Uint8Array(t)));var c=i.update(t).digest(n);return r&&r(null,c),c}var u=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),u+=e.length,l._continueReading()},l._continueReading=function(){if(u>=t.size)r(null,i.digest(n));else{var e=u+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,u,e))}},l._continueReading()}},toHex:function(e){for(var t=[],n=0;n=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=0)return a++,void setTimeout(u,i+(e.retryAfter||0))}n(e)},u=function(){var t="";r.handleRequest(e,s,(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,s=o.error(new Error,{statusCode:r,retryable:r>=500||429===r});i&&s.retryable&&(s.retryAfter=i),c(s)}}))}),c)};i.util.defer(u)},uuid:{v4:function(){return e("uuid").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 n&&"function"==typeof n.nextTick?n.nextTick(e):"function"==typeof r?r(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var n=(t||{})[e.operation];if(n&&n.input&&n.input.payload)return n.input.members[n.input.payload]}},getProfilesFromSharedConfig:function(e,t){function r(e,t){for(var n=0,r=Object.keys(t);n=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw o.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=o}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":5,"./core":20,_process:87,fs:81,timers:95,uuid:100}],74:[function(e,t,n){function r(){}function i(e,t){for(var n=e.getElementsByTagName(t),r=0,i=n.length;r0||r?s.toString():""},t.exports=r},{"../util":73,"./xml-node":78,"./xml-text":79}],76:[function(e,t,n){t.exports={escapeAttribute:function(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}}},{}],77:[function(e,t,n){t.exports={escapeElement:function(e){return e.replace(/&/g,"&").replace(//g,">")}}},{}],78:[function(e,t,n){function r(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e("./escape-attribute").escapeAttribute;r.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},r.prototype.addChildNode=function(e){return this.children.push(e),this},r.prototype.removeAttribute=function(e){return delete this.attributes[e],this},r.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,n=this.attributes,r=0,o=Object.keys(n);r"+this.children.map((function(e){return e.toString()})).join("")+"":"/>")},t.exports={XmlNode:r}},{"./escape-attribute":76}],79:[function(e,t,n){function r(e){this.value=e}var i=e("./escape-element").escapeElement;r.prototype.toString=function(){return i(""+this.value)},t.exports={XmlText:r}},{"./escape-element":77}],80:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function i(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function o(e,t,n){for(var r,o=[],s=t;s0?o-4:o;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i=[],a=0,c=n-r;ac?c:a+16383));return 1===r?(t=e[n-1],i.push(s[t>>2]+s[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"=")),i.join("")};for(var s=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,p=u.length;l=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function p(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 D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return D(e).length;t=(""+t).toLowerCase(),r=!0}}function d(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return I(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function f(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:m(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):m(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var s,a=1,c=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,c/=2,u/=2,n/=2}if(i){var l=-1;for(s=n;sc&&(n=c-u),s=n;s>=0;s--){for(var p=!0,d=0;di&&(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 s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?j.fromByteArray(e):j.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+p<=n)switch(p){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(c=(15&u)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return function(e){var t=e.length;if(t<=B)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function O(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function N(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 M(e,t,n,r,i){return i||N(e,0,n,4),F.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return i||N(e,0,n,8),F.write(e,t,n,r,52,8),n+8}function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+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 U(e){return j.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}var j=e("base64-js"),F=e("ieee754"),W=e("isarray");n.Buffer=o,n.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},n.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.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}}(),n.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return s(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 function(e,t,n,r){return a(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)}(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,s=Math.min(n,r);i0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(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(this===e)return 0;for(var s=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),c=Math.min(s,a),u=this.slice(r,i),l=e.slice(t,n),p=0;pi)&&(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 g(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(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 B=4096;o.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||A(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||A(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||A(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||A(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||A(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||A(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||A(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||A(e,4,this.length),F.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),F.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),F.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),F.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||x(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=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||x(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||x(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||x(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):O(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||x(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):O(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);x(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&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);x(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||x(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||x(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||x(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):O(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||x(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):O(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return L(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=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=0;--i)e[i+t]=this[i+n];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,s,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(n=this._events[e]).length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(a=s;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],84:[function(e,t,n){n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,c=(1<>1,l=-7,p=n?i-1:0,d=n?-1:1,h=e[t+p];for(p+=d,o=h&(1<<-l)-1,h>>=-l,l+=a;l>0;o=256*o+e[t+p],p+=d,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+e[t+p],p+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=u}return(h?-1:1)*s*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(s++,c/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(t*c-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&a,h+=f,a/=256,i-=8);for(s=s<0;e[n+h]=255&s,h+=f,s/=256,u-=8);e[n+h-f]|=128*m}},{}],85:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],86:[function(e,t,n){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var o=0;o="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function s(e){return e>="0"&&e<="9"||"-"===e}function a(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function c(){}function u(){}function l(e){this.runtime=e}function p(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[h]}]},avg:{_func:this._functionAvg,_signature:[{types:[b]}]},ceil:{_func:this._functionCeil,_signature:[{types:[h]}]},contains:{_func:this._functionContains,_signature:[{types:[m,g]},{types:[f]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[m]},{types:[m]}]},floor:{_func:this._functionFloor,_signature:[{types:[h]}]},length:{_func:this._functionLength,_signature:[{types:[m,g,v]}]},map:{_func:this._functionMap,_signature:[{types:[y]},{types:[g]}]},max:{_func:this._functionMax,_signature:[{types:[b,w]}]},merge:{_func:this._functionMerge,_signature:[{types:[v],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[g]},{types:[y]}]},sum:{_func:this._functionSum,_signature:[{types:[b]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[m]},{types:[m]}]},min:{_func:this._functionMin,_signature:[{types:[b,w]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[g]},{types:[y]}]},type:{_func:this._functionType,_signature:[{types:[f]}]},keys:{_func:this._functionKeys,_signature:[{types:[v]}]},values:{_func:this._functionValues,_signature:[{types:[v]}]},sort:{_func:this._functionSort,_signature:[{types:[w,b]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[g]},{types:[y]}]},join:{_func:this._functionJoin,_signature:[{types:[m]},{types:[w]}]},reverse:{_func:this._functionReverse,_signature:[{types:[m,g]}]},to_array:{_func:this._functionToArray,_signature:[{types:[f]}]},to_string:{_func:this._functionToString,_signature:[{types:[f]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[f]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[f],variadic:!0}]}}}var d;d="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var h=0,f=1,m=2,g=3,v=4,y=6,b=8,w=9,E={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},C={"<":!0,">":!0,"=":!0,"!":!0},S={" ":!0,"\t":!0,"\n":!0};c.prototype={tokenize:function(e){var t,n,r,i=[];for(this._current=0;this._current"===n?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===n&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,n=this._current,r=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(["true","false","null"].indexOf(e)>=0)return!0;if(!("-0123456789".indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var T={EOF:0,UnquotedIdentifier:0,QuotedIdentifier:0,Rbracket:0,Rparen:0,Comma:0,Rbrace:0,Number:0,Current:0,Expref:0,Pipe:1,Or:2,And:3,EQ:5,GT:5,LT:5,GTE:5,LTE:5,NE:5,Flatten:9,Star:20,Filter:21,Dot:40,Not:45,Lbrace:50,Lbracket:55,Lparen:60};u.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var n=this._lookaheadToken(0),r=new Error("Unexpected token type: "+n.type+", value: "+n.value);throw r.name="ParserError",r}return t},_loadTokens:function(e){var t=(new c).tokenize(e);t.push({type:"EOF",value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var n=this.nud(t),r=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(T[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var n=this._lookaheadToken(0),r=new Error("Sytanx error, unexpected token: "+n.value+"("+n.type+")");throw r.name="ParserError",r}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,n,r=[],i=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),n={type:"KeyValuePair",name:t,value:this.expression(0)},r.push(n),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:r}}},l.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,a,c,u,l,p,d,h,f;switch(e.type){case"Field":return null===o?null:n(o)?void 0===(p=o[e.name])?null:p:null;case"Subexpression":for(c=this.visit(e.children[0],o),f=1;f0)for(f=y;fb;f+=w)c.push(o[f]);return c;case"Projection":var E=this.visit(e.children[0],o);if(!t(E))return null;for(h=[],f=0;fl;break;case"GTE":c=u>=l;break;case"LT":c=u=e&&(t=n<0?e-1:e),t}},p.prototype={callFunction:function(e,t){var n=this.functionTable[e];if(void 0===n)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,n._signature),n._func.call(this,t)},_validateArgs:function(e,t,n){var r;if(n[n.length-1].variadic){if(t.length=0;r--)n+=t[r];return n}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,n=e[0],r=0;r=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return n(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],n=this._interpreter,r=e[0],i=e[1],o=0;o0){if(this._getTypeName(e[0][0])===h)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r0){if(this._getTypeName(e[0][0])===h)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;ra?1:ss&&(s=n,t=i[a]);return t},_functionMinBy:function(e){for(var t,n,r=e[1],i=e[0],o=this.createKeyFunction(r,[h,m]),s=1/0,a=0;a1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),r+u((e=e.replace(L,".")).split("."),t).join(".")}function p(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=q((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+q(e)})).join("")}function h(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function f(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function m(e,t,n){var r=0;for(e=n?U(e/A):e>>1,e+=U(e/t);e>D*k>>1;r+=T)e=U(e/D);return U(r+(D+1)*e/(e+_))}function g(e){var t,n,r,i,o,s,a,u,l,p,f=[],g=e.length,v=0,y=R,b=x;for((n=e.lastIndexOf(O))<0&&(n=0),r=0;r=128&&c("not-basic"),f.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=g&&c("invalid-input"),((u=h(e.charCodeAt(i++)))>=T||u>U((S-v)/s))&&c("overflow"),v+=u*s,!(u<(l=a<=b?I:a>=b+k?k:a-b));a+=T)s>U(S/(p=T-l))&&c("overflow"),s*=p;b=m(v-o,t=f.length+1,0==o),U(v/t)>S-y&&c("overflow"),y+=U(v/t),v%=t,f.splice(v++,0,y)}return d(f)}function v(e){var t,n,r,i,o,s,a,u,l,d,h,g,v,y,b,w=[];for(g=(e=p(e)).length,t=R,n=0,o=x,s=0;s=t&&hU((S-n)/(v=r+1))&&c("overflow"),n+=(a-t)*v,t=a,s=0;sS&&c("overflow"),h==t){for(u=n,l=T;!(u<(d=l<=o?I:l>=o+k?k:l-o));l+=T)b=u-d,y=T-d,w.push(q(f(d+b%y,0))),u=U(b/y);w.push(q(f(u,0))),o=m(n,v,r==i),n=0,++r}++n,++t}return w.join("")}var y="object"==typeof s&&s&&!s.nodeType&&s,b="object"==typeof o&&o&&!o.nodeType&&o,w="object"==typeof i&&i;w.global!==w&&w.window!==w&&w.self!==w||(a=w);var E,C,S=2147483647,T=36,I=1,k=26,_=38,A=700,x=72,R=128,O="-",N=/^xn--/,M=/[^\x20-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=T-I,U=Math.floor,q=String.fromCharCode;if(E={version:"1.3.2",ucs2:{decode:p,encode:d},decode:g,encode:v,toASCII:function(e){return l(e,(function(e){return M.test(e)?"xn--"+v(e):e}))},toUnicode:function(e){return l(e,(function(e){return N.test(e)?g(e.slice(4).toLowerCase()):e}))}},n.amdO)void 0===(r=function(){return E}.call(t,n,t,e))||(e.exports=r);else if(y&&b)if(o.exports==y)b.exports=E;else for(C in E)E.hasOwnProperty(C)&&(y[C]=E[C]);else a.punycode=E}(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],89:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,o){t=t||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l=0?(p=m.substr(0,g),d=m.substr(g+1)):(p=m,d=""),h=decodeURIComponent(p),f=decodeURIComponent(d),r(s,h)?i(s[h])?s[h].push(f):s[h]=[s[h],f]:s[h]=f}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],90:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r0&&c>a&&(c=a);for(var u=0;u=0?(l=f.substr(0,m),p=f.substr(m+1)):(l=f,p=""),d=decodeURIComponent(l),h=decodeURIComponent(p),r(o,d)?Array.isArray(o[d])?o[d].push(h):o[d]=[o[d],h]:o[d]=h}return o}},{}],93:[function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(r(e))})).join(t):o+encodeURIComponent(r(e[i]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},{}],94:[function(e,t,n){arguments[4][91][0].apply(n,arguments)},{"./decode":92,"./encode":93,dup:91}],95:[function(e,t,n){(function(t,r){(function(){function i(e,t){this._id=e,this._clearFn=t}var o=e("process/browser.js").nextTick,s=Function.prototype.apply,a=Array.prototype.slice,c={},u=0;n.setTimeout=function(){return new i(s.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new i(s.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"==typeof t?t:function(e){var t=u++,r=!(arguments.length<2)&&a.call(arguments,1);return c[t]=!0,o((function(){c[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"==typeof r?r:function(e){delete c[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":87,timers:95}],96:[function(e,t,n){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,n){if(e&&s(e)&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}function o(e){return"string"==typeof e}function s(e){return"object"==typeof e&&null!==e}function a(e){return null===e}var c=e("punycode");n.parse=i,n.resolve=function(e,t){return i(e,!1,!0).resolve(t)},n.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},n.format=function(e){return o(e)&&(e=i(e)),e instanceof r?e.format():r.prototype.format.call(e)},n.Url=r;var u=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,p=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(p),h=["%","/","?",";","#"].concat(d),f=["/","?","#"],m=/^[a-z0-9A-Z_-]{0,63}$/,g=/^([a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=e("querystring");r.prototype.parse=function(e,t,n){if(!o(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e;r=r.trim();var i=u.exec(r);if(i){var s=(i=i[0]).toLowerCase();this.protocol=s,r=r.substr(i.length)}if(n||i||r.match(/^\/\/[^@\/]+@[^@\/]+/)){var a="//"===r.substr(0,2);!a||i&&y[i]||(r=r.substr(2),this.slashes=!0)}if(!y[i]&&(a||i&&!b[i])){for(var l=-1,p=0;p127?A+="x":A+=_[x];if(!A.match(m)){var O=I.slice(0,p),N=I.slice(p+1),M=_.match(g);M&&(O.push(M[1]),N.unshift(M[2])),N.length&&(r="/"+N.join(".")+r),this.hostname=O.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!T){var L=this.hostname.split("."),P=[];for(p=0;p0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),n.search=e.search,n.query=e.query,a(n.pathname)&&a(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!h.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var m=h.slice(-1)[0],g=(n.host||e.host)&&("."===m||".."===m)||""===m,v=0,w=h.length;w>=0;w--)"."==(m=h[w])?h.splice(w,1):".."===m?(h.splice(w,1),v++):v&&(h.splice(w,1),v--);if(!p&&!d)for(;v--;v)h.unshift("..");!p||""===h[0]||h[0]&&"/"===h[0].charAt(0)||h.unshift(""),g&&"/"!==h.join("/").substr(-1)&&h.push("");var E,C=""===h[0]||h[0]&&"/"===h[0].charAt(0);return f&&(n.hostname=n.host=C?"":h.length?h.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),(p=p||n.host&&h.length)&&!C&&h.unshift(""),h.length?n.pathname=h.join("/"):(n.pathname=null,n.path=null),a(n.pathname)&&a(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=l.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:88,querystring:91}],97:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],98:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],99:[function(e,t,n){(function(t,r){(function(){function i(e,t){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(t)?r.showHidden=t:t&&n._extend(r,t),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),a(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e,t,r){if(e.customInspect&&t&&E(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return m(i)||(i=a(e,i,r)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),d=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),w(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(t);if(0===s.length){if(E(t)){var h=t.name?": "+t.name:"";return e.stylize("[Function"+h+"]","special")}if(v(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(b(t))return e.stylize(Date.prototype.toString.call(t),"date");if(w(t))return u(t)}var f,g="",y=!1,C=["{","}"];return p(t)&&(y=!0,C=["[","]"]),E(t)&&(g=" [Function"+(t.name?": "+t.name:"")+"]"),v(t)&&(g=" "+RegExp.prototype.toString.call(t)),b(t)&&(g=" "+Date.prototype.toUTCString.call(t)),w(t)&&(g=" "+u(t)),0!==s.length||y&&0!=t.length?r<0?v(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),f=y?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(f,g,C)):C[0]+g+C[1]}function c(e,t){if(g(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return f(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):h(t)?e.stylize("null","null"):void 0}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,n,r,i,o){var s,c,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?c=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(c=e.stylize("[Setter]","special")),I(r,i)||(s="["+i+"]"),c||(e.seen.indexOf(u.value)<0?(c=h(n)?a(e,u.value,null):a(e,u.value,n-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),g(s)){if(o&&i.match(/^\d+$/))return c;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function p(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function h(e){return null===e}function f(e){return"number"==typeof e}function m(e){return"string"==typeof e}function g(e){return void 0===e}function v(e){return y(e)&&"[object RegExp]"===C(e)}function y(e){return"object"==typeof e&&null!==e}function b(e){return y(e)&&"[object Date]"===C(e)}function w(e){return y(e)&&("[object Error]"===C(e)||e instanceof Error)}function E(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}function T(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),x[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var k=/%[sdj%]/g;n.format=function(e){if(!m(e)){for(var t=[],n=0;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n>>((3&t)<<3)&255;return o}}},{}],103:[function(e,t,n){var r,i,o=e("./lib/rng"),s=e("./lib/bytesToUuid"),a=0,c=0;t.exports=function(e,t,n){var u=t&&n||0,l=t||[],p=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:i;if(null==p||null==d){var h=o();null==p&&(p=r=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==d&&(d=i=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=f-a+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=f,c=m,i=d;var v=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;l[u++]=v>>>24&255,l[u++]=v>>>16&255,l[u++]=v>>>8&255,l[u++]=255&v;var y=f/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=d>>>8|128,l[u++]=255&d;for(var b=0;b<6;++b)l[u+b]=p[b];return t||s(l)}},{"./lib/bytesToUuid":101,"./lib/rng":102}],104:[function(e,t,n){var r=e("./lib/rng"),i=e("./lib/bytesToUuid");t.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}},{"./lib/bytesToUuid":101,"./lib/rng":102}],105:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./utils/LRU"),i=function(){function e(e){void 0===e&&(e=1e3),this.maxSize=e,this.cache=new r.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,n){var r="string"!=typeof t?e.getKeyString(t):t,i=this.populateValue(n);this.cache.put(r,i)},e.prototype.get=function(t){var n="string"!=typeof t?e.getKeyString(t):t,r=Date.now(),i=this.cache.get(n);if(i)for(var o=0;o{var r=n(639).Symbol;e.exports=r},239:(e,t,n)=>{var r=n(705),i=n(607),o=n(333),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},561:(e,t,n)=>{var r=n(990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},957:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},607:(e,t,n)=>{var r=n(705),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:(e,t,n)=>{var r=n(957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},279:(e,t,n)=>{var r=n(218),i=n(771),o=n(841),s=Math.max,a=Math.min;e.exports=function(e,t,n){var c,u,l,p,d,h,f=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,f=t,p=e.apply(r,n)}function b(e){return f=e,d=setTimeout(E,t),m?y(e):p}function w(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-f>=l}function E(){var e=i();if(w(e))return C(e);d=setTimeout(E,function(e){var n=t-(e-h);return g?a(n,l-(e-f)):n}(e))}function C(e){return d=void 0,v&&c?y(e):(c=u=void 0,p)}function S(){var e=i(),n=w(e);if(c=arguments,u=this,h=e,n){if(void 0===d)return b(h);if(g)return clearTimeout(d),d=setTimeout(E,t),y(h)}return void 0===d&&(d=setTimeout(E,t)),p}return t=o(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?s(o(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==d&&clearTimeout(d),f=0,c=h=u=d=void 0},S.flush=function(){return void 0===d?p:C(i())},S}},218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},448:(e,t,n)=>{var r=n(239),i=n(5);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},771:(e,t,n)=>{var r=n(639);e.exports=function(){return r.Date.now()}},493:(e,t,n)=>{var r=n(279),i=n(218);e.exports=function(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:o,maxWait:t,trailing:s})}},841:(e,t,n)=>{var r=n(561),i=n(218),o=n(448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?NaN:+e}},975:(e,t,n)=>{var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(e){return a(u(e),arguments)}function s(e,t){return o.apply(null,[e].concat(t||[]))}function a(e,t){var n,r,s,a,c,u,l,p,d,h=1,f=e.length,m="";for(r=0;r=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?m+=n:(!i.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",n=n.toString().replace(i.sign,"")),u=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",l=a.width-(d+n).length,c=a.width&&l>0?u.repeat(l):"",m+=a.align?d+n+c:"0"===u?d+c+n:c+d+n)}return m}var c=Object.create(null);function u(e){if(c[e])return c[e];for(var t,n=e,r=[],o=0;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],a=t[2],u=[];if(null===(u=i.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(u[1]);""!==(a=a.substring(u[0].length));)if(null!==(u=i.key_access.exec(a)))s.push(u[1]);else{if(null===(u=i.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(u[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}t.sprintf=o,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(r=function(){return{sprintf:o,vsprintf:s}}.call(t,n,t,e))||(e.exports=r))}()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";class e extends Error{constructor(e){super(e),this.name="ValueError"}}class t extends Error{constructor(e){super(e),this.name="UnImplementedMethod"}}class r extends Error{constructor(e,t){super(e),this.name="IllegalArgument",this.argument=t}}Error,Error;var i=new class{constructor(){this.stage="prod",this.region="us-west-2",this.reconnect=!0;var e=this;this.features=new Proxy([],{set:function(t,n,r){console.log("new features added, initialValue: "+t[n]+" , newValue: "+r,Array.isArray(t[n]));var i=t[n];return Array.isArray(r)&&r.forEach((t=>{Array.isArray(i)&&-1===i.indexOf(t)&&Array.isArray(e.featureChangeListeners[t])&&(e.featureChangeListeners[t].forEach((e=>e())),e._cleanFeatureChangeListener(t))})),t[n]=r,!0}}),this.featureChangeListeners=[]}update(e){var t=e||{};this.stage=t.stage||this.stage,this.region=t.region||this.region,this.endpointOverride=t.endpoint||this.endpointOverride,this.reconnect=!1!==t.reconnect&&this.reconnect,this.messageReceiptThrottleTime=t.throttleTime?t.throttleTime:5e3,this.features.values=Array.isArray(t.features)?[...t.features]:new Array}updateStageRegion(e){e&&(this.stage=e.stage||this.stage,this.region=e.region||this.region)}updateThrottleTime(e){this.messageReceiptThrottleTime=e||this.messageReceiptThrottleTime}getMessageReceiptsThrottleTime(){return this.messageReceiptThrottleTime}getStage(){return this.stage}getRegion(){return this.region}getEndpointOverride(){return this.endpointOverride}setFeatureFlag(e){if(!this.isFeatureEnabled(e)){var t=Array.isArray(this.features.values)?this.features.values:[];this.features.values=[...t,e]}}_registerFeatureChangeListener(e,t){this.featureChangeListeners[e]||(this.featureChangeListeners[e]=[]),this.featureChangeListeners[e].push(t)}_cleanFeatureChangeListener(e){delete this.featureChangeListeners[e]}isFeatureEnabled(e,t){return Array.isArray(this.features.values)&&-1!==this.features.values.indexOf(e)?"function"!=typeof t||t():("function"==typeof t&&this._registerFeatureChangeListener(e,t),!1)}},o="PARTICIPANT_CONN_ACK",s="MESSAGE_RECEIPTS_ENABLED",a={AGENT:"AGENT",CUSTOMER:"CUSTOMER"},c="API",u="SendMessage",l="SendAttachment",p="DownloadAttachment",d="SendEvent",h="GetTranscript",f="DisconnectParticipant",m="CreateParticipantConnection",g="InitWebsocket",v={INCOMING_MESSAGE:"INCOMING_MESSAGE",INCOMING_TYPING:"INCOMING_TYPING",INCOMING_READ_RECEIPT:"INCOMING_READ_RECEIPT",INCOMING_DELIVERED_RECEIPT:"INCOMING_DELIVERED_RECEIPT",CONNECTION_ESTABLISHED:"CONNECTION_ESTABLISHED",CONNECTION_LOST:"CONNECTION_LOST",CONNECTION_BROKEN:"CONNECTION_BROKEN",CONNECTION_ACK:"CONNECTION_ACK",CHAT_ENDED:"CHAT_ENDED",MESSAGE_METADATA:"MESSAGEMETADATA",PARTICIPANT_IDLE:"PARTICIPANT_IDLE",PARTICIPANT_RETURNED:"PARTICIPANT_RETURNED",AUTODISCONNECTION:"AUTODISCONNECTION"},y={textPlain:"text/plain",textMarkdown:"text/markdown",textCsv:"text/csv",applicationDoc:"application/msword",applicationDocx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",applicationJson:"application/json",applicationPdf:"application/pdf",applicationPpt:"application/vnd.ms-powerpoint",applicationPptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",applicationXls:"application/vnd.ms-excel",applicationXlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",imageJpg:"image/jpeg",imagePng:"image/png",audioWav:"audio/wav",audioXWav:"audio/x-wav",audioVndWave:"audio/vnd.wave",connectionAcknowledged:"application/vnd.amazonaws.connect.event.connection.acknowledged",typing:"application/vnd.amazonaws.connect.event.typing",participantJoined:"application/vnd.amazonaws.connect.event.participant.joined",participantLeft:"application/vnd.amazonaws.connect.event.participant.left",participantActive:"application/vnd.amazonaws.connect.event.participant.active",participantInactive:"application/vnd.amazonaws.connect.event.participant.inactive",transferSucceeded:"application/vnd.amazonaws.connect.event.transfer.succeeded",transferFailed:"application/vnd.amazonaws.connect.event.transfer.failed",chatEnded:"application/vnd.amazonaws.connect.event.chat.ended",interactiveMessage:"application/vnd.amazonaws.connect.message.interactive",readReceipt:"application/vnd.amazonaws.connect.event.message.read",deliveredReceipt:"application/vnd.amazonaws.connect.event.message.delivered",participantIdle:"application/vnd.amazonaws.connect.event.participant.idle",participantReturned:"application/vnd.amazonaws.connect.event.participant.returned",autoDisconnection:"application/vnd.amazonaws.connect.event.participant.autodisconnection"},b={[y.typing]:v.INCOMING_TYPING,[y.readReceipt]:v.INCOMING_READ_RECEIPT,[y.deliveredReceipt]:v.INCOMING_DELIVERED_RECEIPT,[y.participantIdle]:v.PARTICIPANT_IDLE,[y.participantReturned]:v.PARTICIPANT_RETURNED,[y.autoDisconnection]:v.AUTODISCONNECTION,default:v.INCOMING_MESSAGE},w=3540,E=n(975),C={assertTrue:function(t,n){if(!t)throw new e(n)},assertNotNull:function(e,t){return C.assertTrue(null!=e,(0,E.sprintf)("%s must be provided",t||"A value")),e},now:function(){return(new Date).getTime()},isString:function(e){return"string"==typeof e},randomId:function(){return(0,E.sprintf)("%s-%s",C.now(),Math.random().toString(36).slice(2))},assertIsNonEmptyString:function(e,t){if(!e||"string"!=typeof e)throw new r(t+" is not a non-empty string!")},assertIsList:function(e,t){if(!Array.isArray(e))throw new r(t+" is not an array")},assertIsEnum:function(e,t,n){var i;for(i=0;inew Promise((t=>setTimeout(t,e))),asyncWhileInterval:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=new Date;return t(r)?e(r).catch((i=>{var s=Math.max(0,n-(new Date).valueOf()+o.valueOf());return C.delay(s).then((()=>C.asyncWhileInterval(e,t,n,r+1,i)))})):Promise.reject(i||new Error("async while aborted"))},isAttachmentContentType:function(e){return e===y.applicationPdf||e===y.imageJpg||e===y.imagePng||e===y.applicationDoc||e===y.applicationXls||e===y.applicationPpt||e===y.textCsv||e===y.audioWav}};const S=C;var T={DEBUG:10,INFO:20,WARN:30,ERROR:40,ADVANCED_LOG:50},I=new class{constructor(){this.updateLoggerConfig()}writeToClientLogger(e,t,n){if(this.hasClientLogger()){var r=function(e){switch(e){case 10:return"DEBUG";case 20:return"INFO";case 30:return"WARN";case 40:return"ERROR";case 50:return"ADVANCED_LOG"}}(e);switch(e){case T.DEBUG:return this._clientLogger.debug(r,t,n)||t;case T.INFO:return this._clientLogger.info(r,t,n)||t;case T.WARN:return this._clientLogger.warn(r,t,n)||t;case T.ERROR:return this._clientLogger.error(r,t,n)||t;case T.ADVANCED_LOG:return this._advancedLogWriter&&this._clientLogger[this._advancedLogWriter]&&this._clientLogger[this._advancedLogWriter](r,t,n)||t}}}isLevelEnabled(e){return e>=this._level}hasClientLogger(){return null!==this._clientLogger}getLogger(){return new _(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}updateLoggerConfig(e){var t=e||{};this._level=t.level||T.INFO,this._advancedLogWriter="warn",function(e,t){var n=t&&Object.keys(t);if(n&&-1===n.indexOf(e))return console.error("customizedLogger: incorrect value for loggerConfig:advancedLogWriter; use valid values from list ".concat(n," but used ").concat(e)),!1;var r=["warn","info","debug","log"];return!e||-1!==r.indexOf(e)||(console.error("incorrect value for loggerConfig:advancedLogWriter; use valid values from list ".concat(r," but used ").concat(e)),!1)}(t.advancedLogWriter,t.customizedLogger)&&(this._advancedLogWriter=t.advancedLogWriter),(t.customizedLogger&&"object"==typeof t.customizedLogger||t.logger&&"object"==typeof t.logger)&&(this.useClientLogger=!0),this._clientLogger=this.selectLogger(t)}selectLogger(e){return e.customizedLogger&&"object"==typeof e.customizedLogger?e.customizedLogger:e.logger&&"object"==typeof e.logger?e.logger:e.useDefaultLogger?A():null}};class k{debug(){}info(){}warn(){}error(){}}class _ extends k{constructor(e){super(),this.options=e||{}}debug(){for(var e=arguments.length,t=new Array(e),n=0;n{var e=new k;return e.debug=console.debug.bind(window.console),e.info=console.info.bind(window.console),e.warn=console.warn.bind(window.console),e.error=console.error.bind(window.console),e},x=(n(228),n(493)),R=n.n(x);function O(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;tthis._submitEvent(e,t,n)),1e4,{trailing:!1,leading:!0}));var t=new AWS.Credentials("",""),n=new AWS.Config({region:e.region,endpoint:e.endpoint,credentials:t});this.chatClient=new AWS.ConnectParticipant(n),this.invokeUrl=e.endpoint,this.logger=I.getLogger({prefix:"Amazon-Connect-ChatJS-ChatClient",logMetaData:e.logMetaData})}createParticipantConnection(e,t,n){var r=this,i={ParticipantToken:e,Type:t,ConnectParticipant:n},o=r.chatClient.createParticipantConnection(i);return r._sendRequest(o).then((e=>{var t,n;return null===(t=r.logger.info("Successfully create connection request"))||void 0===t||null===(n=t.sendInternalLogToServer)||void 0===n||n.call(t),e})).catch((e=>{var t,n;return null===(t=r.logger.error("Error when creating connection request ",e))||void 0===t||null===(n=t.sendInternalLogToServer)||void 0===n||n.call(t),Promise.reject(e)}))}disconnectParticipant(e){var t=this,n={ConnectionToken:e},r=t.chatClient.disconnectParticipant(n);return t._sendRequest(r).then((e=>{var n,r;return null===(n=t.logger.info("Successfully disconnect participant"))||void 0===n||null===(r=n.sendInternalLogToServer)||void 0===r||r.call(n),e})).catch((e=>{var n,r;return null===(n=t.logger.error("Error when disconnecting participant ",e))||void 0===n||null===(r=n.sendInternalLogToServer)||void 0===r||r.call(n),Promise.reject(e)}))}getTranscript(e,t){var n={MaxResults:t.maxResults,NextToken:t.nextToken,ScanDirection:t.scanDirection,SortOrder:t.sortOrder,StartPosition:{Id:t.startPosition.id,AbsoluteTime:t.startPosition.absoluteTime,MostRecent:t.startPosition.mostRecent},ConnectionToken:e};t.contactId&&(n.ContactId=t.contactId);var r=this.chatClient.getTranscript(n);return this._sendRequest(r).then((e=>(this.logger.info("Successfully get transcript"),e))).catch((e=>(this.logger.error("Get transcript error",e),Promise.reject(e))))}sendMessage(e,t,n){var r={Content:t,ContentType:n,ConnectionToken:e},i=this.chatClient.sendMessage(r);return this._sendRequest(i).then((e=>{var t,n={id:null===(t=e.data)||void 0===t?void 0:t.Id,contentType:r.ContentType};return this.logger.debug("Successfully send message",n),e})).catch((e=>(this.logger.error("Send message error",e,{contentType:r.ContentType}),Promise.reject(e))))}sendAttachment(e,t,n){var r=this,i={ContentType:t.type,AttachmentName:t.name,AttachmentSizeInBytes:t.size,ConnectionToken:e},o=r.chatClient.startAttachmentUpload(i),s={contentType:t.type,size:t.size};return r._sendRequest(o).then((n=>r._uploadToS3(t,n.data.UploadMetadata).then((()=>{var t,i={AttachmentIds:[n.data.AttachmentId],ConnectionToken:e};this.logger.debug("Successfully upload attachment",M(M({},s),{},{attachmentId:null===(t=n.data)||void 0===t?void 0:t.AttachmentId}));var o=r.chatClient.completeAttachmentUpload(i);return r._sendRequest(o)})))).catch((e=>(this.logger.error("Upload attachment error",e,s),Promise.reject(e))))}_uploadToS3(e,t){return fetch(t.Url,{method:"PUT",headers:t.HeadersToInclude,body:e})}downloadAttachment(e,t){var n=this,r={AttachmentId:t,ConnectionToken:e},i={attachmentId:t},o=n.chatClient.getAttachment(r);return n._sendRequest(o).then((e=>(this.logger.debug("Successfully download attachment",i),n._downloadUrl(e.data.Url)))).catch((e=>(this.logger.error("Download attachment error",e,i),Promise.reject(e))))}_downloadUrl(e){return fetch(e).then((e=>e.blob())).catch((e=>Promise.reject(e)))}sendEvent(e,t,n){return t===y.typing?this.throttleEvent(e,t,n):this._submitEvent(e,t,n)}_submitEvent(e,t,n){var r,i=this;return(r=function*(){var r=i,o={ConnectionToken:e,ContentType:t,Content:n},s=r.chatClient.sendEvent(o),a={contentType:t};try{var c,u=yield r._sendRequest(s);return i.logger.debug("Successfully send event",M(M({},a),{},{id:null===(c=u.data)||void 0===c?void 0:c.Id})),u}catch(e){return yield Promise.reject(e)}},function(){var e=this,t=arguments;return new Promise((function(n,i){var o=r.apply(e,t);function s(e){O(o,n,i,s,a,"next",e)}function a(e){O(o,n,i,s,a,"throw",e)}s(void 0)}))})()}_sendRequest(e){return new Promise(((t,n)=>{e.on("success",(function(e){t(e)})).on("error",(function(e){var t={type:e.code,message:e.message,stack:e.stack?e.stack.split("\n"):[],statusCode:e.statusCode};n(t)})).send()}))}}var D=new class{constructor(){this.clientCache={}}getCachedClient(e,t){var n=Object.assign({},e),r=e.region||i.getRegion()||"us-west-2";if(n.region=r,t.region=r,this.clientCache[r])return this.clientCache[r];var o=this._createAwsClient(n,t);return this.clientCache[r]=o,o}_createAwsClient(e,t){var n=e.region,r=i.getEndpointOverride(),o="https://participant.connect.".concat(n,".amazonaws.com");return r&&(o=r),new P({endpoint:o,region:n,logMetaData:t})}};class U extends class{validateNewControllerDetails(e){return!0}validateSendMessage(e){if(!S.isString(e.message))throw new r(e.message+"is not a valid message");this.validateContentType(e.contentType)}validateContentType(e){S.assertIsEnum(e,Object.values(y),"contentType")}validateConnectChat(e){return!0}validateLogger(e){S.assertIsObject(e,"logger"),["debug","info","warn","error"].forEach((t=>{if(!S.isFunction(e[t]))throw new r(t+" should be a valid function on the passed logger object!")}))}validateSendEvent(e){this.validateContentType(e.contentType)}validateGetMessages(e){return!0}}{validateChatDetails(e,t){if(S.assertIsObject(e,"chatDetails"),t===a.AGENT&&!S.isFunction(e.getConnectionToken))throw new r("getConnectionToken was not a function",e.getConnectionToken);if(S.assertIsNonEmptyString(e.contactId,"chatDetails.contactId"),S.assertIsNonEmptyString(e.participantId,"chatDetails.participantId"),t===a.CUSTOMER){if(!e.participantToken)throw new r("participantToken was not provided for a customer session type",e.participantToken);S.assertIsNonEmptyString(e.participantToken,"chatDetails.participantToken")}}validateInitiateChatResponse(){return!0}normalizeChatDetails(e){var t={};return t.contactId=e.ContactId||e.contactId,t.participantId=e.ParticipantId||e.participantId,t.initialContactId=e.InitialContactId||e.initialContactId||t.contactId||t.ContactId,t.getConnectionToken=e.getConnectionToken||e.GetConnectionToken,(e.participantToken||e.ParticipantToken)&&(t.participantToken=e.ParticipantToken||e.participantToken),this.validateChatDetails(t),t}}var q="NeverStarted",j="Starting",F="Connected",W="ConnectionLost",B="Ended",z="ConnectionLost",H="ConnectionGained",V="Ended",G="IncomingMessage",K="<>",X=function(e,t,n){this.subMap=e,this.id=S.randomId(),this.eventName=t,this.f=n};X.prototype.unsubscribe=function(){this.subMap.unsubscribe(this.eventName,this.id)};var J=function(){this.subIdMap={},this.subEventNameMap={}};J.prototype.subscribe=function(e,t){var n=new X(this,e,t);this.subIdMap[n.id]=n;var r=this.subEventNameMap[e]||[];return r.push(n),this.subEventNameMap[e]=r,()=>n.unsubscribe()},J.prototype.unsubscribe=function(e,t){S.contains(this.subEventNameMap,e)&&(this.subEventNameMap[e]=this.subEventNameMap[e].filter((function(e){return e.id!==t})),this.subEventNameMap[e].length<1&&delete this.subEventNameMap[e]),S.contains(this.subIdMap,t)&&delete this.subIdMap[t]},J.prototype.getAllSubscriptions=function(){return S.values(this.subEventNameMap).reduce((function(e,t){return e.concat(t)}),[])},J.prototype.getSubscriptions=function(e){return this.subEventNameMap[e]||[]};var Y=function(e){var t=e||{};this.subMap=new J,this.logEvents=t.logEvents||!1};Y.prototype.subscribe=function(e,t){return S.assertNotNull(e,"eventName"),S.assertNotNull(t,"f"),S.assertTrue(S.isFunction(t),"f must be a function"),this.subMap.subscribe(e,t)},Y.prototype.subscribeAll=function(e){return S.assertNotNull(e,"f"),S.assertTrue(S.isFunction(e),"f must be a function"),this.subMap.subscribe(K,e)},Y.prototype.getSubscriptions=function(e){return this.subMap.getSubscriptions(e)},Y.prototype.trigger=function(e,t){S.assertNotNull(e,"eventName");var n=this,r=this.subMap.getSubscriptions(K),i=this.subMap.getSubscriptions(e);r.concat(i).forEach((function(r){try{r.f(t||null,e,n)}catch(e){}}))},Y.prototype.triggerAsync=function(e,t){setTimeout((()=>this.trigger(e,t)),0)},Y.prototype.bridge=function(){var e=this;return function(t,n){e.trigger(n,t)}},Y.prototype.unsubscribeAll=function(){this.subMap.getAllSubscriptions().forEach((function(e){e.unsubscribe()}))};var $="Category",Q=new class{constructor(){this.widgetType="CustomChatWidget",this.logger=I.getLogger({prefix:"ChatJS-csmService"}),this.csmInitialized=!1,this.metricsToBePublished=[],this.agentMetricToBePublished=[],this.MAX_RETRY=5}loadCsmScriptAndExecute(){try{var e=document.createElement("script");e.type="text/javascript",e.innerHTML="(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension \\'' + dimensionName + '\\'. Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(`${objName}[${key}]`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.globalDimensions = []; // These dimensions are added to all captured metrics.\n csm.globalOptionalDimensions = [];\n csm.initFailureDimensions = [];\n\n const API = {\n getWorkflow: function(workflowType, instanceId, data) {\n return csm.workflow(workflowType, instanceId, data);\n },\n\n addMetric: function(metric) {\n csm.Util.assertExist(metric, 'metric');\n csm.putMetric(metric);\n },\n\n addMetricWithDedupe: function(metric, dedupeIntervalMs, context) {\n csm.Util.assertExist(metric, 'metric');\n csm.Util.assertExist(metric, 'dedupeIntervalMs');\n // context is optional; if present it will only dedupe on metrics with the same context. ex.) tabId\n metric.dedupeOptions = {dedupeIntervalMs, context: context || 'global'};\n csm.putMetric(metric);\n },\n\n addCount: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(count, 'count');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n csm.putMetric(metric);\n },\n\n addCountWithPageLocation: function(metricName) {\n csm.Util.assertExist(metricName, 'metricName');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, 1.0);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n addError: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n\n if (count === undefined || count == null) {\n count = 1.0;\n }\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n metric.addDimension('Metric', 'Error');\n csm.putMetric(metric);\n },\n\n addSuccess: function(metricName) {\n API.addError(metricName, 0);\n },\n\n addTime: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('Metric', 'Time');\n csm.putMetric(metric);\n },\n\n addTimeWithPageLocation: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n pageReady: function() {\n if (window.performance && window.performance.now) {\n const pageLoadTime = window.performance.now();\n const metric = new csm.Metric('PageReadyLatency', csm.UNIT.MILLISECONDS, pageLoadTime);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n }\n },\n\n setPageLocationTransformer: function(transformFunc) {\n csm.Util.assertExist(transformFunc, 'transformFunc');\n csm.Util.assertTrue((typeof transformFunc) === 'function');\n csm.Util.pageLocationTransformer = transformFunc;\n },\n\n setGlobalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalDimensions = dimensions;\n },\n\n setGlobalOptionalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalOptionalDimensions = dimensions;\n },\n\n setInitFailureDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.initFailureDimensions = dimensions;\n },\n\n putCustom: function(endpoint, headers, data) {\n csm.Util.assertExist(data, 'data');\n csm.Util.assertExist(endpoint, 'endpoint');\n csm.Util.assertExist(headers, 'headers');\n csm.putCustom(endpoint, headers, data);\n },\n\n setAuthParams: function(authParams) {\n csm.setAuthParams(authParams);\n },\n\n setConfig: function(key, value) {\n csm.Util.assertExist(key, 'key');\n csm.Util.assertExist(value, 'value');\n if (!csm.configuration[key]) {\n csm.setConfig(key, value); // set configuration variables such as accountId, instanceId, userId\n }\n },\n };\n\n csm.API = API;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n const WORKFLOW_KEY_PREFIX = 'csm.workflow';\n\n /**\n * Calculates the local storage key used to store a workflow of the specified type.\n * @param {string} type of workflow\n * @return {string} storage key\n */\n const getWorkflowKeyForType = function(type) {\n return [\n WORKFLOW_KEY_PREFIX,\n type,\n ].join('.');\n };\n\n /**\n * Constructor for new Workflow objects.\n *\n * If you need to be able to share a workflow across tabs, it is recommended\n * to use \"csm.workflow\" to create/hydrate your workflows instead.\n * @param {string} type of workflow\n * @param {string} instanceId of workflow\n * @param {JSON} data blob associated with workflow\n */\n const Workflow = function(type, instanceId, data) {\n this.type = type;\n this.instanceId = instanceId || csm.Util.randomId();\n this.instanceSpecified = instanceId || false;\n this.eventMap = {};\n this.data = data || {};\n\n // Merge global dimensions into the data map.\n const dimensionData = {};\n csm.globalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n csm.globalOptionalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n this.data = this._mergeData(dimensionData);\n };\n\n /**\n * Create a new workflow or rehydrate an existing shared workflow.\n *\n * @param {string} type The type of workflow to be created.\n * @param {string} instanceId The instanceId of the workflow. If not provided, it will be\n * assigned a random ID and will not be automatically saved to local storage.\n * If provided, we will attempt to load an existing workflow of the same type\n * from local storage and rehydrate it.\n * @param {JSON} data An optional map of key/value pairs to be added as data to every\n * workflow event created with this workflow.\n * @return {Workflow} workflow event\n * NOTE: Only one workflow of each type can be stored at the same time, to avoid\n * overloading localStorage with unused workflow records.\n */\n csm.workflow = function(type, instanceId, data) {\n let workflow = new Workflow(type, instanceId, data);\n\n if (instanceId) {\n const savedWorkflow = csm._loadWorkflow(type);\n if (savedWorkflow && savedWorkflow.instanceId === instanceId) {\n workflow = savedWorkflow;\n workflow.addData(data || {});\n }\n }\n\n return workflow;\n };\n\n csm._loadWorkflow = function(type) {\n let workflow = null;\n const workflowJson = localStorage.getItem(getWorkflowKeyForType(type));\n const workflowStruct = workflowJson ? JSON.parse(workflowJson) : null;\n if (workflowStruct) {\n workflow = new Workflow(type, workflowStruct.instanceId);\n workflow.eventMap = workflowStruct.eventMap;\n }\n return workflow;\n };\n\n /**\n * Creates a new workflow event and returns it. Then this workflow event is sent upstream\n * to the CSMSharedWorker where it is provided to the backend.\n *\n * If an instanceId was specified when the workflow was created, this will also save the workflow\n * and all of its events to localStorage.\n *\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.event = function(event, data) {\n const mergedData = this._mergeData(data || {});\n const workflowEvent = new csm.WorkflowEvent({\n workflow: this,\n event: event,\n data: mergedData,\n userId: csm.configuration.userId || '',\n organizationId: csm.configuration.organizationId || '',\n accountId: csm.configuration.accountId || '',\n appName: csm.configuration.namespace || '',\n });\n csm.putWorkflowEvent(workflowEvent);\n this.eventMap[event] = workflowEvent;\n if (this.instanceSpecified) {\n this.save();\n }\n return workflowEvent;\n };\n\n /**\n * Creates a new workflow event and returns it, if the same event is not happened in ths past\n * dedupeIntervalMs milliseconds.\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @param {int} dedupeIntervalMs defaults to 200 MS\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.eventWithDedupe = function(event, data, dedupeIntervalMs) {\n const pastEvent = this.getPastEvent(event);\n const now = new Date().getTime();\n const interval = dedupeIntervalMs || 200;\n\n // Crafting the expected workflow event data result\n const mergedData = this._mergeData(data);\n const expectedData = [];\n for (const key in mergedData) {\n if (Object.prototype.hasOwnProperty.call(mergedData, key)) {\n expectedData.push({'key': key, 'value': mergedData[key]});\n }\n }\n\n // Deduplicate same events that happened within interval\n if (!pastEvent || (pastEvent && JSON.stringify(pastEvent.data) !== JSON.stringify(expectedData)) ||\n (pastEvent && (now - pastEvent.timestamp > interval))) {\n return this.event(event, data);\n }\n return null;\n };\n\n /**\n * Get a past event if it exists in this workflow, otherwise returns null.\n * This can be helpful to emit metrics in real time based on the differences\n * between workflow event timestamps, especially for workflows shared across tabs.\n * @param {string} event key to see if workflow exists for this event\n * @return {WorkflowEvent} workflow event retrieved\n */\n Workflow.prototype.getPastEvent = function(event) {\n return event in this.eventMap ? this.eventMap[event] : null;\n };\n\n /**\n * Save the workflow to local storage. This only happens automatically when an\n * instanceId is specified on workflow creation, however if this method is called\n * explicitly by the client, the randomly generated workflow instance id can be\n * used to retrieve the workflow later and automatic save on events will be enabled.\n */\n Workflow.prototype.save = function() {\n this.instanceSpecified = true;\n localStorage.setItem(getWorkflowKeyForType(this.type), JSON.stringify(this));\n };\n\n /**\n * Remove this workflow if it is the saved instance for this workflow type in localStorage.\n */\n Workflow.prototype.close = function() {\n const storedWorkflow = csm._loadWorkflow(this.type);\n if (storedWorkflow && storedWorkflow.instanceId === this.instanceId) {\n localStorage.removeItem(getWorkflowKeyForType(this.type));\n }\n };\n\n Workflow.prototype.addData = function(data) {\n for (const key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n this.data[key] = data[key];\n }\n }\n };\n\n Workflow.prototype._mergeData = function(data) {\n const mergedData = {};\n let key = null;\n for (key in this.data) {\n if (Object.prototype.hasOwnProperty.call(this.data, key)) {\n mergedData[key] = this.data[key] == null ? 'null' : (this.data[key] === '' ? ' ' : this.data[key].toString());\n }\n }\n for (key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n mergedData[key] = data[key] == null ? 'null' : (data[key] === '' ? ' ' : data[key].toString());\n }\n }\n return mergedData;\n };\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n let worker = null;\n let portId = null;\n\n const MAX_INIT_MILLISECONDS = 5000;\n const preInitTaskQueue = [];\n csm.configuration = {};\n\n /**\n * Initialize CSM variables\n * @param {object} params for CSM\n * @params.namespace Define your metric namespace used in CloudWatch metrics\n * @params.sharedWorkerUrl Specify the relative url to the connect-csm-worker.js file in your service\n * @params.endpoint Specify an LDAS endpoint to use.\n * @params.dryRunMode When CSM is initialized with dry run mode, it won't actually publish metrics.\n * @params.defaultMetrics Enable default metrics. Default to false.\n */\n csm.initCSM = function(params) {\n csm.Util.assertExist(params.namespace, 'namespace');\n csm.Util.assertExist(params.sharedWorkerUrl, 'sharedWorkerUrl');\n csm.Util.assertExist(params.endpoint, 'endpoint');\n\n try {\n console.log('Starting csm shared worker with', params.sharedWorkerUrl);\n worker = new SharedWorker(params.sharedWorkerUrl, 'CSM_SharedWorker');\n worker.port.start();\n } catch (e) {\n console.log('Failed to initialize csm shared worker with', params.sharedWorkerUrl);\n console.log(e.message);\n }\n\n /**\n * Configure shared worker\n */\n csm.configuration = {\n namespace: params.namespace,\n userId: params.userId || '',\n accountId: params.accountId || '',\n organizationId: params.organizationId || '',\n endpointUrl: params.endpoint || null,\n batchSettings: params.batchSettings || null,\n addPageVisibilityDimension: params.addPageVisibilityDimension || false,\n addUrlDataDimensions: params.addUrlDataDimensions || false,\n dryRunMode: params.dryRunMode || false, // When csm is in dryRunMode it won't actually publish metrics to CSM\n };\n\n postEventToWorker(csm.EVENT_TYPE.CONFIG, csm.configuration);\n\n /**\n * Receive message from shared worker\n * @param {MessageEvent} messageEvent from shared worker\n */\n worker.port.onmessage = function(messageEvent) {\n const messageType = messageEvent.data.type;\n onMessageFromWorker(messageType, messageEvent.data);\n };\n\n /**\n * Inform shared worker window closed\n */\n global.onbeforeunload = function() {\n worker.port.postMessage(\n {\n type: csm.EVENT_TYPE.CLOSE,\n portId: portId,\n },\n );\n };\n\n /**\n * Check if initialization success\n */\n global.setTimeout(function() {\n if (!isCSMInitialized()) {\n console.log('[FATAL] CSM initialization failed! Please make sure the sharedWorkerUrl is reachable.');\n }\n }, MAX_INIT_MILLISECONDS);\n\n // Emit out of the box metrics\n if (params.defaultMetrics) {\n emitDefaultMetrics();\n }\n };\n // Final processing before sending to SharedWorker\n const processMetric = function(metric) {\n if (csm.configuration.addPageVisibilityDimension && document.visibilityState) {\n metric.addOptionalDimension('VisibilityState', document.visibilityState);\n }\n };\n\n const processWorkflowEvent = function(event) {\n if (csm.configuration.addUrlDataDimensions) {\n event.data.push({'key': 'ReferrerUrl', 'value': csm.Util.getReferrerUrl()});\n event.data.push({'key': 'Origin', 'value': csm.Util.getOrigin()});\n event.data.push({'key': 'WindowParent', 'value': csm.Util.getWindowParent()});\n }\n if (['initFailure', 'initializationLatencyInfo'].includes(event.event)) {\n csm.initFailureDimensions.forEach((dimension) => {\n Object.keys(dimension).forEach((key) => {\n event.data.push({'key': key, 'value': dimension[key]});\n });\n });\n }\n return event;\n };\n\n csm.putMetric = function(metric) {\n processMetric(metric);\n postEventToWorker(csm.EVENT_TYPE.METRIC, metric);\n };\n\n csm.putLog = function(log) {\n postEventToWorker(csm.EVENT_TYPE.LOG, log);\n };\n\n csm.putWorkflowEvent = function(event) {\n const processedEvent = processWorkflowEvent(event);\n postEventToWorker(csm.EVENT_TYPE.WORKFLOW_EVENT, processedEvent);\n };\n\n csm.putCustom = function(endpoint, headers, data) {\n postEventToWorker(csm.EVENT_TYPE.CUSTOM, data, endpoint, headers);\n };\n\n csm.setAuthParams = function(authParams) {\n postEventToWorker(csm.EVENT_TYPE.SET_AUTH, authParams);\n };\n\n csm.setConfig = function(key, value) {\n csm.configuration[key] = value;\n postEventToWorker(csm.EVENT_TYPE.SET_CONFIG, {key, value});\n };\n /** ********************** PRIVATE METHODS ************************/\n\n const onMessageFromWorker = function(messageType, data) {\n if (messageType === csm.EVENT_TYPE.CONFIG) {\n portId = data.portId;\n onCSMInitialized();\n }\n };\n\n const onCSMInitialized = function() {\n // Purge the preInitTaskQueue\n preInitTaskQueue.forEach(function(task) {\n postEventToWorker(task.type, task.message, task.endpoint, task.headers);\n });\n\n // TODO: Capture on errors and publish log to shared worker\n /**\n window.onerror = function(message, fileName, lineNumber, columnNumber, errorstack) {\n var log = new csm.Log(message, fileName, lineNumber, columnNumber, errorstack.stack);\n csm.putLog(log);\n };\n */\n };\n\n /**\n * Emit out of the box metrics automatically\n *\n * TODO allow configuration\n */\n const emitDefaultMetrics = function() {\n window.addEventListener('load', function() {\n // loadEventEnd is avaliable after the onload function finished\n // https://www.w3.org/TR/navigation-timing-2/#processing-model\n // https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming\n global.setTimeout(function() {\n try {\n const perfData = window.performance.getEntriesByType('navigation')[0];\n const pageLoadTime = perfData.loadEventEnd - perfData.startTime;\n const connectTime = perfData.responseEnd - perfData.requestStart;\n const domRenderTime = perfData.domComplete - perfData.domInteractive;\n csm.API.addCountWithPageLocation('PageLoad');\n csm.API.addTimeWithPageLocation('PageLoadTime', pageLoadTime);\n csm.API.addTimeWithPageLocation('ConnectTime', connectTime);\n csm.API.addTimeWithPageLocation('DomRenderTime', domRenderTime);\n } catch (err) {\n console.log('Error emitting default metrics', err);\n }\n }, 0);\n });\n };\n\n /**\n * Try posting message to shared worker\n * If shared worker hasn't been initialized, put the task to queue to be clean up once initialized\n * @param {csm.EVENT_TYPE} eventType for CSM\n * @param {object} message event following type of eventType\n * @param {string} [endpoint] optional parameter for putCustom function (put any data to specified endpoint)\n * @param {object} [headers] optional parameter for putCustom function\n */\n const postEventToWorker = function(eventType, message, endpoint, headers) {\n if (eventType === csm.EVENT_TYPE.CONFIG || isCSMInitialized()) {\n worker.port.postMessage(\n {\n type: eventType,\n portId: portId,\n message: message,\n endpoint: endpoint,\n headers: headers,\n },\n );\n } else {\n preInitTaskQueue.push({\n type: eventType,\n message: message,\n endpoint: endpoint,\n headers: headers,\n });\n }\n };\n\n const isCSMInitialized = function() {\n return portId !== null;\n };\n})()",document.head.appendChild(e),this.initializeCSM()}catch(e){this.logger.error("Load csm script error: ",e)}}initializeCSM(){try{if(this.csmInitialized)return;var e=i.getRegion(),t="(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension ' + dimensionName + ' . Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(`${objName}[${key}]`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const XHR_DONE_READY_STATE = 4; // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState\n\n const global = self;\n const configuration = {};\n const batchSettings = {\n maxMetricsSize: 30,\n maxWorkflowEventsSize: 30,\n putMetricsIntervalMs: 30000,\n putWorkflowEventsIntervalMs: 2000,\n };\n const metricLists = {}; // metricList per CloudWatch Namespace\n const metricMap = {};\n const ports = {};\n let workflowEvents = {workflowEventList: []};\n\n // SharedWorker wiki: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker\n onconnect = function(connectEvent) {\n const port = connectEvent.ports[0];\n\n port.onmessage = function(event) {\n const data = event.data;\n const messageType = data.type;\n const message = data.message;\n const endpoint = data.endpoint;\n const headers = data.headers;\n\n if (data.portId && !(data.portId in ports)) {\n // This could happen when a user tries to close a tab which has a pop up alert to confirm closing,\n // and the user decides to cancel closing\n // This triggers before unload event while the tab or window is not closed actually\n ports[data.portId] = port;\n }\n\n const {METRIC, WORKFLOW_EVENT, CUSTOM, CONFIG, SET_AUTH, SET_CONFIG, CLOSE} = csm.EVENT_TYPE;\n switch (messageType) {\n case METRIC: {\n csm.Util.assertInObject(message, 'message', 'namespace');\n const namespace = message.namespace;\n if (shouldDedupe(message)) break;\n addMetricEventToMap(message);\n if (metricLists[namespace]) {\n metricLists[namespace].push(message);\n } else {\n metricLists[namespace] = [message];\n }\n if (metricLists[namespace].length >= batchSettings.maxMetricsSize) {\n putMetricsForNamespace(namespace);\n }\n break;\n }\n case WORKFLOW_EVENT: {\n workflowEvents.workflowEventList.push(message);\n if (workflowEvents.length >= batchSettings.maxWorkflowEventsSize) {\n putWorkflowEvents();\n }\n break;\n }\n case CUSTOM: {\n putCustom(endpoint, headers, message);\n break;\n }\n case CONFIG: {\n const portId = Object.keys(ports).length + 1; // portId starts from 1\n ports[portId] = port;\n for (const setting of Object.keys(message)) {\n if (!csm.Util.isEmpty(message[setting])) {\n configuration[setting] = message[setting];\n }\n }\n\n // set optional batch settings\n if (configuration.batchSettings) {\n for (const setting of Object.keys(configuration.batchSettings)) {\n batchSettings[setting] = configuration.batchSettings[setting];\n }\n }\n // send metrics and workflow events at set intervals\n putMetrics();\n putWorkflowEvents();\n global.setInterval(putMetrics, batchSettings.putMetricsIntervalMs);\n global.setInterval(putWorkflowEvents, batchSettings.putWorkflowEventsIntervalMs);\n\n port.postMessage(\n {\n type: csm.EVENT_TYPE.CONFIG,\n portId: portId,\n },\n );\n break;\n }\n case SET_AUTH: {\n configuration.authParams = message;\n authenticate();\n break;\n }\n case SET_CONFIG: {\n configuration[message.key] = message.value;\n break;\n }\n case CLOSE: {\n delete ports[data.portId];\n if (Object.keys(ports).length === 0) {\n putMetrics();\n putWorkflowEvents();\n }\n break;\n }\n default:\n break;\n }\n };\n };\n\n const shouldDedupe = function(metric) {\n try {\n const pastMetric = getPastMetricEvent(metric);\n return pastMetric && metric.dedupeOptions &&\n (metric.timestamp - pastMetric.timestamp < metric.dedupeOptions.dedupeIntervalMs);\n } catch (err) {\n console.error('Error in shouldDedupe', err);\n return false;\n }\n };\n\n const getPastMetricEvent = function(metric) {\n try {\n return metricMap[getMetricEventKey(metric)];\n } catch (err) {\n // ignore err - no previous metrics found\n return null;\n }\n };\n\n const addMetricEventToMap = function(metric) {\n try {\n metricMap[getMetricEventKey(metric)] = metric;\n } catch (err) {\n console.error('Failed to add event to metricMap', err);\n }\n csm.metricMap = metricMap;\n };\n\n const getMetricEventKey = function(metric) {\n const {namespace, metricName, unit, dedupeOptions} = metric;\n let context = 'global';\n if (dedupeOptions && dedupeOptions.context) {\n context = dedupeOptions.context;\n }\n return `${namespace}-${metricName}-${unit}-${context}`;\n };\n\n const authenticate = function() {\n postRequest(configuration.endpointUrl + '/auth', {authParams: configuration.authParams},\n {\n success: function(response) {\n if (response && response.jwtToken) {\n configuration.authParams.jwtToken = response.jwtToken;\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] csm auth failed!');\n broadcastMessage('Response : ' + response);\n },\n }, {'x-api-key': 'auth-method-level-key'});\n };\n\n /**\n * Put metrics to service when:\n * a) metricList size is at maxMetricsSize\n * b) every putMetricsIntervalMs time if the metricList is not empty\n * c) worker is closed\n *\n * Timer is reset, and metricList emptied after each putMetrics call\n */\n const putMetrics = function() {\n for (const namespace of Object.keys(metricLists)) {\n putMetricsForNamespace(namespace);\n }\n };\n\n const putMetricsForNamespace = function(namespace) {\n csm.Util.assertInObject(metricLists, 'metricLists', namespace);\n const metricList = metricLists[namespace];\n\n if (metricList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n postRequest(configuration.endpointUrl + '/put-metrics', {\n metricNamespace: namespace,\n metricList: metricList,\n authParams: configuration.authParams,\n accountId: configuration.accountId,\n organizationId: configuration.organizationId,\n agentResourceId: configuration.userId,\n }, {\n success: function(response) {\n if (response) {\n broadcastMessage('PutMetrics response : ' + response);\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put metrics to service failed! ');\n },\n });\n }\n metricLists[namespace] = [];\n };\n\n /**\n * Put metrics to service every two seconds if there are events to be put.\n */\n const putWorkflowEvents = function() {\n if (workflowEvents.workflowEventList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n workflowEvents.authParams = configuration.authParams;\n postRequest(configuration.endpointUrl + '/put-workflow-events', workflowEvents,\n {\n success: function(response) {\n if (response) {\n if (response.workflowEventList && response.workflowEventList.length > 0) {\n broadcastMessage('[WARN] There are ' + response.length + ' workflow events that failed to publish');\n broadcastMessage('Response : ' + response);\n }\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put workflow events to service failed! ');\n },\n });\n }\n\n workflowEvents = {workflowEventList: []};\n };\n\n /**\n * Put data to custom endpoint on demand\n * @param {string} endpoint\n * @param {object} headers\n * @param {object} data to send to endpoint\n */\n const putCustom = function(endpoint, headers, data) {\n if (!configuration.dryRunMode && endpoint && data) {\n postRequest(endpoint, data, {\n success: function(response) {\n if (response) {\n broadcastMessage('Response : ' + response);\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Failed to put custom data! ');\n },\n }, headers);\n }\n };\n\n /**\n * Broadcast message to all tabs\n * @param {string} message to post to all the tabs\n */\n const broadcastMessage = function(message) {\n for (const portId in ports) {\n if (Object.prototype.hasOwnProperty.call(ports, portId)) {\n ports[portId].postMessage(message);\n }\n }\n };\n\n const postRequest = function(url, data, callbacks, headers) {\n csm.Util.assertExist(url, 'url');\n csm.Util.assertExist(data, 'data');\n\n callbacks = callbacks || {};\n callbacks.success = callbacks.success || function() {};\n callbacks.failure = callbacks.failure || function() {};\n\n const request = new XMLHttpRequest(); // new HttpRequest instance\n request.onreadystatechange = function() {\n const errorList = request.response ? JSON.parse(request.response): [];\n if (request.readyState === XHR_DONE_READY_STATE) { // request finished and response is ready\n if (request.status === 200) {\n callbacks.success(errorList);\n } else {\n broadcastMessage('AJAX request failed with status: ' + request.status);\n callbacks.failure(errorList);\n }\n }\n };\n\n request.open('POST', url);\n if (headers && typeof headers === 'object') {\n Object.keys(headers).forEach((header) => request.setRequestHeader(header, headers[header]));\n } else {\n request.setRequestHeader('Content-Type', 'application/json');\n }\n request.send(JSON.stringify(data));\n };\n})()".replace(/\\/g,""),n=URL.createObjectURL(new Blob([t],{type:"text/javascript"})),r=(e=>"https://ieluqbvv.telemetry.connect.".concat(e,".amazonaws.com/prod"))(e),o={endpoint:r,namespace:"chat-widget",sharedWorkerUrl:n};csm.initCSM(o),this.logger.info("CSMService is initialized in ".concat(e)),this.csmInitialized=!0,this.metricsToBePublished&&(this.metricsToBePublished.forEach((e=>{csm.API.addMetric(e)})),this.metricsToBePublished=null)}catch(e){this.logger.error("Failed to initialize csm: ",e)}}updateCsmConfig(e){this.widgetType="object"!=typeof e||null===e||Array.isArray(e)?this.widgetType:e.widgetType}getDefaultDimensions(){return[{name:"WidgetType",value:this.widgetType}]}addMetric(e){if(this.csmInitialized)try{csm.API.addMetric(e)}catch(e){this.logger.error("Failed to addMetric csm: ",e)}else this.metricsToBePublished&&(this.metricsToBePublished.push(e),this.logger.info("CSMService is not initialized yet. Adding metrics to queue to be published once CSMService is initialized"))}setDimensions(e,t){t.forEach((t=>{e.addDimension(t.name,t.value)}))}addLatencyMetric(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];try{var i=new csm.Metric(e,csm.UNIT.MILLISECONDS,t),o=[...this.getDefaultDimensions(),{name:"Metric",value:"Latency"},{name:$,value:n},...r];this.setDimensions(i,o),this.addMetric(i),this.logger.debug("Successfully published latency API metrics for method ".concat(e))}catch(e){this.logger.error("Failed to addLatencyMetric csm: ",e)}}addLatencyMetricWithStartTime(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=(new Date).getTime()-t;this.addLatencyMetric(e,i,n,r),this.logger.debug("Successfully published latency API metrics for method ".concat(e))}addCountAndErrorMetric(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];try{var i=[...this.getDefaultDimensions(),{name:$,value:t},...r],o=new csm.Metric(e,csm.UNIT.COUNT,1);this.setDimensions(o,[...i,{name:"Metric",value:"Count"}]);var s=n?1:0,a=new csm.Metric(e,csm.UNIT.COUNT,s);this.setDimensions(a,[...i,{name:"Metric",value:"Error"}]),this.addMetric(o),this.addMetric(a),this.logger.debug("Successfully published count and error metrics for method ".concat(e))}catch(e){this.logger.error("Failed to addCountAndErrorMetric csm: ",e)}}addCountMetric(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];try{var r=[...this.getDefaultDimensions(),{name:$,value:t},{name:"Metric",value:"Count"},...n],i=new csm.Metric(e,csm.UNIT.COUNT,1);this.setDimensions(i,r),this.addMetric(i),this.logger.debug("Successfully published count metrics for method ".concat(e))}catch(e){this.logger.error("Failed to addCountMetric csm: ",e)}}addAgentCountMetric(e,t){try{var n=this;csm&&csm.API.addCount&&e?(csm.API.addCount(e,t),n.MAX_RETRY=5):(e&&this.agentMetricToBePublished.push({metricName:e,count:t}),setTimeout((()=>{csm&&csm.API.addCount?(this.agentMetricToBePublished.forEach((e=>{csm.API.addCount(e.metricName,e.count)})),this.agentMetricToBePublished=[]):n.MAX_RETRY>0&&(n.MAX_RETRY-=1,n.addAgentCountMetric())}),3e3))}catch(e){this.logger.error("Failed to addAgentCountMetric csm: ",e)}}};function Z(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}class ee{constructor(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.chatClient=t,this.participantToken=e||null,this.connectionDetails=null,this.connectionToken=null,this.connectionTokenExpiry=null,this.sessionType=n,this.getConnectionToken=r}getFetchedConnectionToken(){return this.connectionToken}getConnectionTokenExpiry(){return this.connectionTokenExpiry}getConnectionDetails(){return this.connectionDetails}fetchConnectionDetails(){return this._fetchConnectionDetails().then((e=>e))}_handleCreateParticipantConnectionResponse(e,t){return this.connectionDetails={url:e.Websocket.Url,expiry:e.Websocket.ConnectionExpiry,transportLifeTimeInSeconds:w,connectionAcknowledged:t,connectionToken:e.ConnectionCredentials.ConnectionToken,connectionTokenExpiry:e.ConnectionCredentials.Expiry},this.connectionToken=e.ConnectionCredentials.ConnectionToken,this.connectionTokenExpiry=e.ConnectionCredentials.Expiry,this.connectionDetails}_handleGetConnectionTokenResponse(e){return this.connectionDetails={url:null,expiry:null,connectionToken:e.participantToken,connectionTokenExpiry:e.expiry,transportLifeTimeInSeconds:w,connectionAcknowledged:!1},this.connectionToken=e.participantToken,this.connectionTokenExpiry=e.expiry,Promise.resolve(this.connectionDetails)}callCreateParticipantConnection(){var{Type:e=!0,ConnectParticipant:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(new Date).getTime();return this.chatClient.createParticipantConnection(this.participantToken,e?["WEBSOCKET","CONNECTION_CREDENTIALS"]:null,t||null).then((r=>{if(e)return this._addParticipantConnectionMetric(n),this._handleCreateParticipantConnectionResponse(r.data,t)})).catch((t=>(e&&this._addParticipantConnectionMetric(n,!0),Promise.reject({reason:"Failed to fetch connectionDetails with createParticipantConnection",_debug:t}))))}_addParticipantConnectionMetric(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Q.addLatencyMetricWithStartTime(m,e,c),Q.addCountAndErrorMetric(m,c,t)}_fetchConnectionDetails(){var e,t=this;return(e=function*(){return t.sessionType===a.CUSTOMER?t.callCreateParticipantConnection():t.sessionType===a.AGENT?t.getConnectionToken().then((e=>t._handleGetConnectionTokenResponse(e.chatTokenTransport))).catch((()=>i.isFeatureEnabled(o)?t.callCreateParticipantConnection({Type:!0,ConnectParticipant:!0}).catch((e=>{throw new Error({type:"CONN_ACK_FAILED",errorMessage:e})})):t.callCreateParticipantConnection())):Promise.reject({reason:"Failed to fetch connectionDetails.",_debug:new r("Failed to fetch connectionDetails.")})},function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){Z(o,r,i,s,a,"next",e)}function a(e){Z(o,r,i,s,a,"throw",e)}s(void 0)}))})()}}var te=void 0!==te?te:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};te.connect=te.connect||{};var ne=connect.WebSocketManager;!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t){function n(t){return e.exports=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},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?m+=n:(!i.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",n=n.toString().replace(i.sign,"")),u=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",l=a.width-(d+n).length,c=a.width&&l>0?u.repeat(l):"",m+=a.align?d+n+c:"0"===u?d+c+n:c+d+n)}return m}var c=Object.create(null);function u(e){if(c[e])return c[e];for(var t,n=e,r=[],o=0;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],a=t[2],u=[];if(null===(u=i.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(u[1]);""!==(a=a.substring(u[0].length));)if(null!==(u=i.key_access.exec(a)))s.push(u[1]);else{if(null===(u=i.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(u[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}t.sprintf=o,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(r=function(){return{sprintf:o,vsprintf:s}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){var r=n(8);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(0).default,i=n(9);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n.r(t),n.d(t,"WebSocketManager",(function(){return ce}));var r=n(0),i=n.n(r),o=n(4),s="AMZ_WEB_SOCKET_MANAGER:",a="Network offline",c="Network online, connecting to WebSocket server",u="Network offline, ignoring this getWebSocketConnConfig request",l="Heartbeat response not received",p="aws/ping deep heartbeat response not received",d="Failed to send heartbeat since WebSocket is not open",h="Failed to send aws/ping deep heartbeat since WebSocket is not open",f="WebSocket connection established!",m="WebSocket connection is closed",g="WebSocketManager Error, error_event: ",v="Scheduling WebSocket reinitialization, after delay ",y="WebSocket URL cannot be used to establish connection",b="WebSocket Initialization failed - Terminating and cleaning subscriptions",w="Fetching new WebSocket connection configuration",E="Successfully fetched webSocket connection configuration",C="Failed to fetch webSocket connection configuration",S="Retrying fetching new WebSocket connection configuration",T="Initializing Websocket Manager",I="WebSocketManager Message Error",k="Message received for topic ",_="Invalid incoming message",A="aws/subscribe",x="aws/heartbeat",R="aws/ping",O="disconnected",N={assertTrue:function(e,t){if(!e)throw new Error(t)},assertNotNull:function(e,t){return N.assertTrue(null!==e&&void 0!==i()(e),Object(o.sprintf)("%s must be provided",t||"A value")),e},isNonEmptyString:function(e){return"string"==typeof e&&e.length>0},assertIsList:function(e,t){if(!Array.isArray(e))throw new Error(t+" is not an array")},isFunction:function(e){return!!(e&&e.constructor&&e.call&&e.apply)},isObject:function(e){return!("object"!==i()(e)||null===e)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e}},M=new RegExp("^(wss://)\\w*"),L=new RegExp("^(ws://127.0.0.1:)");N.validWSUrl=function(e){return M.test(e)||L.test(e)},N.getSubscriptionResponse=function(e,t,n){return{topic:e,content:{status:t?"success":"failure",topics:n}}},N.assertIsObject=function(e,t){if(!N.isObject(e))throw new Error(t+" is not an object!")},N.addJitter=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t=Math.min(t,1);var n=Math.random()>.5?1:-1;return Math.floor(e+n*e*Math.random()*t)},N.isNetworkOnline=function(){return navigator.onLine},N.isNetworkFailure=function(e){return!(!e._debug||!e._debug.type)&&"NetworkingError"===e._debug.type};var P=N,D=n(5),U=n.n(D),q=n(6),j=n.n(q),F=n(3),W=n.n(F),B=n(7),z=n.n(B),H=n(1),V=n.n(H),G=n(2),K=n.n(G);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t=this._level}},{key:"hasClientLogger",value:function(){return null!==this._clientLogger}},{key:"getLogger",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prefix||$;return e.logMetaData&&this.setLogMetaData(e.logMetaData),this.logMetaData||console.info("*********Missing required option: WebSocketManager:logMetaData**********"),new ne(this,J({prefix:t,logMetaData:this.logMetaData},e))}},{key:"setLogMetaData",value:function(e){this.logMetaData=e}},{key:"updateLoggerConfig",value:function(e){var t=e||{};this._level=t.level||Q.INFO,this._advancedLogWriter="warn",t.advancedLogWriter&&(this._advancedLogWriter=t.advancedLogWriter),t.customizedLogger&&"object"===i()(t.customizedLogger)&&(this.useClientLogger=!0),this._clientLogger=t.logger||this.selectLogger(t),this._logsDestination="NULL",t.debug&&(this._logsDestination="DEBUG"),t.logger&&(this._logsDestination="CLIENT_LOGGER")}},{key:"selectLogger",value:function(e){return e.customizedLogger&&"object"===i()(e.customizedLogger)?e.customizedLogger:e.useDefaultLogger?re():null}}]),e}(),ee=function(){function e(){V()(this,e)}return K()(e,[{key:"debug",value:function(){}},{key:"info",value:function(){}},{key:"warn",value:function(){}},{key:"error",value:function(){}},{key:"advancedLog",value:function(){}}]),e}(),ne=function(e){U()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W()(e);if(t){var i=W()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return j()(this,n)}}(n);function n(e,r){var i;return V()(this,n),(i=t.call(this)).options=r||{},i.prefix=r.prefix||$,i.logManager=e,i}return K()(n,[{key:"debug",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:2e3;V()(this,e),this.numAttempts=0,this.executor=t,this.hasActiveReconnection=!1,this.defaultRetry=n}return K()(e,[{key:"retry",value:function(){var e=this;this.hasActiveReconnection||(this.hasActiveReconnection=!0,setTimeout((function(){e._execute()}),this._getDelay()))}},{key:"_execute",value:function(){this.hasActiveReconnection=!1,this.executor(),this.numAttempts++}},{key:"connected",value:function(){this.numAttempts=0}},{key:"_getDelay",value:function(){var e=Math.pow(2,this.numAttempts)*this.defaultRetry;return e<=3e4?e:3e4}},{key:"getIsConnected",value:function(){return!this.numAttempts}}]),e}(),oe=null,se=function(){var e=!1,t=oe.getLogger({prefix:s}),n=P.isNetworkOnline(),r={primary:null,secondary:null},i={reconnectWebSocket:!0,websocketInitFailed:!1,exponentialBackOffTime:1e3,exponentialTimeoutHandle:null,lifeTimeTimeoutHandle:null,webSocketInitCheckerTimeoutId:null,connState:null},o={connectWebSocketRetryCount:0,connectionAttemptStartTime:null,noOpenConnectionsTimestamp:null},N={pendingResponse:!1,intervalHandle:null},M={pendingResponse:!1,intervalHandle:null},L={initFailure:new Set,getWebSocketTransport:null,subscriptionUpdate:new Set,subscriptionFailure:new Set,topic:new Map,allMessage:new Set,connectionGain:new Set,connectionLost:new Set,connectionOpen:new Set,connectionClose:new Set,deepHeartbeatSuccess:new Set,deepHeartbeatFailure:new Set,topicFailure:new Set},D={connConfig:null,promiseHandle:null,promiseCompleted:!0},U={subscribed:new Set,pending:new Set,subscriptionHistory:new Set},q={responseCheckIntervalId:null,requestCompleted:!0,reSubscribeIntervalId:null,consecutiveFailedSubscribeAttempts:0,consecutiveNoResponseRequest:0},j=new ie((function(){pe()})),F=new Set([A,"aws/unsubscribe",x,R]),W=setInterval((function(){if(n!==P.isNetworkOnline()){if(!(n=P.isNetworkOnline()))return t.advancedLog(a),void fe(t.info(a));var e=X();n&&(!e||V(e,WebSocket.CLOSING)||V(e,WebSocket.CLOSED))&&(t.advancedLog(c),fe(t.info(c)),pe())}}),250),B=function(e,n){e.forEach((function(e){try{e(n)}catch(e){fe(t.error("Error executing callback",e))}}))},z=function(e){if(null===e)return"NULL";switch(e.readyState){case WebSocket.CONNECTING:return"CONNECTING";case WebSocket.OPEN:return"OPEN";case WebSocket.CLOSING:return"CLOSING";case WebSocket.CLOSED:return"CLOSED";default:return"UNDEFINED"}},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fe(t.debug("["+e+"] Primary WebSocket: "+z(r.primary)+" | Secondary WebSocket: "+z(r.secondary)))},V=function(e,t){return e&&e.readyState===t},G=function(e){return V(e,WebSocket.OPEN)},K=function(e){return null===e||void 0===e.readyState||V(e,WebSocket.CLOSED)},X=function(){return null!==r.secondary?r.secondary:r.primary},J=function(){return G(X())},Y=function(){if(e&&M.pendingResponse&&(t.advancedLog(p),fe(t.warn(p)),B(L.deepHeartbeatFailure,{timestamp:Date.now(),error:"aws/ping response is not received"}),clearInterval(M.intervalHandle),M.pendingResponse=!1),N.pendingResponse)return t.advancedLog(l),fe(t.warn(l)),clearInterval(N.intervalHandle),N.pendingResponse=!1,void pe();J()?(e&&(fe(t.debug("Sending aws/ping deep heartbeat")),X().send(ue(R)),M.pendingResponse=!0),fe(t.debug("Sending heartbeat")),X().send(ue(x)),N.pendingResponse=!0):(e&&(t.advancedLog(h),fe(t.warn(h)),B(L.deepHeartbeatFailure,{timestamp:Date.now(),error:"Unable to send message to aws/ping because websocket connection is not established."})),t.advancedLog(d),fe(t.warn(d)),H("sendHeartBeat"),pe())},$=function(){t.advancedLog("Reset Websocket state"),i.exponentialBackOffTime=1e3,N.pendingResponse=!1,M.pendingResponse=!1,i.reconnectWebSocket=!0,clearTimeout(i.lifeTimeTimeoutHandle),clearInterval(N.intervalHandle),clearInterval(M.intervalHandle),clearTimeout(i.exponentialTimeoutHandle),clearTimeout(i.webSocketInitCheckerTimeoutId)},Q=function(){q.consecutiveFailedSubscribeAttempts=0,q.consecutiveNoResponseRequest=0,clearInterval(q.responseCheckIntervalId),clearInterval(q.reSubscribeIntervalId)},Z=function(){o.connectWebSocketRetryCount=0,o.connectionAttemptStartTime=null,o.noOpenConnectionsTimestamp=null},ee=function(){j.connected();try{t.advancedLog(f),fe(t.info(f)),H("webSocketOnOpen"),null!==i.connState&&i.connState!==O||B(L.connectionGain),i.connState="connected";var e=Date.now();B(L.connectionOpen,{connectWebSocketRetryCount:o.connectWebSocketRetryCount,connectionAttemptStartTime:o.connectionAttemptStartTime,noOpenConnectionsTimestamp:o.noOpenConnectionsTimestamp,connectionEstablishedTime:e,timeToConnect:e-o.connectionAttemptStartTime,timeWithoutConnection:o.noOpenConnectionsTimestamp?e-o.noOpenConnectionsTimestamp:null}),Z(),$(),X().openTimestamp=Date.now(),0===U.subscribed.size&&G(r.secondary)&&se(r.primary,"[Primary WebSocket] Closing WebSocket"),(U.subscribed.size>0||U.pending.size>0)&&(G(r.secondary)&&fe(t.info("Subscribing secondary websocket to topics of primary websocket")),U.subscribed.forEach((function(e){U.subscriptionHistory.add(e),U.pending.add(e)})),U.subscribed.clear(),re()),Y(),N.intervalHandle=setInterval(Y,1e4);var n=1e3*D.connConfig.webSocketTransport.transportLifeTimeInSeconds;fe(t.debug("Scheduling WebSocket manager reconnection, after delay "+n+" ms")),i.lifeTimeTimeoutHandle=setTimeout((function(){fe(t.debug("Starting scheduled WebSocket manager reconnection")),pe()}),n)}catch(e){fe(t.error("Error after establishing WebSocket connection",e))}},te=function(e){H("webSocketOnError"),t.advancedLog(g,JSON.stringify(e)),fe(t.error(g,JSON.stringify(e))),j.getIsConnected()?pe():j.retry()},ne=function(e){var n=JSON.parse(e.data);switch(n.topic){case A:if(fe(t.debug("Subscription Message received from webSocket server",e.data)),q.requestCompleted=!0,q.consecutiveNoResponseRequest=0,"success"===n.content.status)q.consecutiveFailedSubscribeAttempts=0,n.content.topics.forEach((function(e){U.subscriptionHistory.delete(e),U.pending.delete(e),U.subscribed.add(e)})),0===U.subscriptionHistory.size?G(r.secondary)&&(fe(t.info("Successfully subscribed secondary websocket to all topics of primary websocket")),se(r.primary,"[Primary WebSocket] Closing WebSocket")):re(),B(L.subscriptionUpdate,n);else{if(clearInterval(q.reSubscribeIntervalId),++q.consecutiveFailedSubscribeAttempts,5===q.consecutiveFailedSubscribeAttempts)return B(L.subscriptionFailure,n),void(q.consecutiveFailedSubscribeAttempts=0);q.reSubscribeIntervalId=setInterval((function(){re()}),500)}break;case x:fe(t.debug("Heartbeat response received")),N.pendingResponse=!1;break;case R:fe(t.debug("aws/ping deep heartbeat received")),M.pendingResponse=!1,200===n.statusCode?B(L.deepHeartbeatSuccess,{timestamp:Date.now()}):B(L.deepHeartbeatFailure,{timestamp:Date.now(),statusCode:n.statusCode,statusContent:n.statusContent});break;default:if(n.topic){if(t.advancedLog(k,n.topic),fe(t.debug(k+n.topic)),G(r.primary)&&G(r.secondary)&&0===U.subscriptionHistory.size&&this===r.primary)return void fe(t.warn("Ignoring Message for Topic "+n.topic+", to avoid duplicates"));if(0===L.allMessage.size&&0===L.topic.size)return void fe(t.warn("No registered callback listener for Topic",n.topic));t.advancedLog("WebsocketManager invoke callbacks for topic success ",n.topic),B(L.allMessage,n),L.topic.has(n.topic)&&B(L.topic.get(n.topic),n)}else n.message?(t.advancedLog(I,n),fe(t.warn(I,n)),B(L.topicFailure,{timestamp:Date.now(),errorMessage:n.message,connectionId:n.connectionId,requestId:n.requestId})):(t.advancedLog(_,n),fe(t.warn(_,n)))}},re=function e(){if(q.consecutiveNoResponseRequest>3)return fe(t.warn("Ignoring subscribePendingTopics since we have exhausted max subscription retries with no response")),void B(L.subscriptionFailure,P.getSubscriptionResponse(A,!1,Array.from(U.pending)));J()?0!==Array.from(U.pending).length&&(clearInterval(q.responseCheckIntervalId),X().send(ue(A,{topics:Array.from(U.pending)})),q.requestCompleted=!1,q.responseCheckIntervalId=setInterval((function(){q.requestCompleted||(++q.consecutiveNoResponseRequest,e())}),1e3)):fe(t.warn("Ignoring subscribePendingTopics call since Default WebSocket is not open"))},se=function(e,n){V(e,WebSocket.CONNECTING)||V(e,WebSocket.OPEN)?e.close(1e3,n):fe(t.warn("Ignoring WebSocket Close request, WebSocket State: "+z(e)))},ae=function(e){se(r.primary,"[Primary] WebSocket "+e),se(r.secondary,"[Secondary] WebSocket "+e)},ce=function(e){$(),Q(),t.advancedLog(b,e),fe(t.error(b)),i.websocketInitFailed=!0,ae("Terminating WebSocket Manager"),clearInterval(W),B(L.initFailure,{connectWebSocketRetryCount:o.connectWebSocketRetryCount,connectionAttemptStartTime:o.connectionAttemptStartTime,reason:e}),Z()},ue=function(e,t){return JSON.stringify({topic:e,content:t})},le=function(e){return!!(P.isObject(e)&&P.isObject(e.webSocketTransport)&&P.isNonEmptyString(e.webSocketTransport.url)&&P.validWSUrl(e.webSocketTransport.url)&&1e3*e.webSocketTransport.transportLifeTimeInSeconds>=3e5)||(fe(t.error("Invalid WebSocket Connection Configuration",e)),!1)},pe=function(){if(!P.isNetworkOnline())return t.advancedLog(u),void fe(t.info(u));if(i.websocketInitFailed)fe(t.debug("WebSocket Init had failed, ignoring this getWebSocketConnConfig request"));else{if(D.promiseCompleted)return $(),t.advancedLog(w),fe(t.info(w)),o.connectionAttemptStartTime=o.connectionAttemptStartTime||Date.now(),D.promiseCompleted=!1,D.promiseHandle=L.getWebSocketTransport(),D.promiseHandle.then((function(e){return D.promiseCompleted=!0,t.advancedLog(E),fe(t.debug(E,e)),le(e)?(D.connConfig=e,D.connConfig.urlConnValidTime=Date.now()+85e3,de()):(ce("Invalid WebSocket connection configuration: "+e),{webSocketConnectionFailed:!0})}),(function(e){return D.promiseCompleted=!0,t.advancedLog(C),fe(t.error(C,e)),P.isNetworkFailure(e)?(t.advancedLog(S+JSON.stringify(e)),fe(t.info(S+JSON.stringify(e))),j.retry()):ce("Failed to fetch webSocket connection configuration: "+JSON.stringify(e)),{webSocketConnectionFailed:!0}}));fe(t.debug("There is an ongoing getWebSocketConnConfig request, this request will be ignored"))}},de=function(){if(i.websocketInitFailed)return fe(t.info("web-socket initializing had failed, aborting re-init")),{webSocketConnectionFailed:!0};if(!P.isNetworkOnline())return fe(t.warn("System is offline aborting web-socket init")),{webSocketConnectionFailed:!0};t.advancedLog(T),fe(t.info(T)),H("initWebSocket");try{if(le(D.connConfig)){var e=null;return G(r.primary)?(fe(t.debug("Primary Socket connection is already open")),V(r.secondary,WebSocket.CONNECTING)||(fe(t.debug("Establishing a secondary web-socket connection")),j.numAttempts=0,r.secondary=he()),e=r.secondary):(V(r.primary,WebSocket.CONNECTING)||(fe(t.debug("Establishing a primary web-socket connection")),r.primary=he()),e=r.primary),i.webSocketInitCheckerTimeoutId=setTimeout((function(){G(e)||function(){o.connectWebSocketRetryCount++;var e=P.addJitter(i.exponentialBackOffTime,.3);Date.now()+e<=D.connConfig.urlConnValidTime?(t.advancedLog(v),fe(t.debug(v+e+" ms")),i.exponentialTimeoutHandle=setTimeout((function(){return de()}),e),i.exponentialBackOffTime*=2):(t.advancedLog(y),fe(t.warn(y)),pe())}()}),1e3),{webSocketConnectionFailed:!1}}}catch(e){return fe(t.error("Error Initializing web-socket-manager",e)),ce("Failed to initialize new WebSocket: "+e.message),{webSocketConnectionFailed:!0}}},he=function(){var e=new WebSocket(D.connConfig.webSocketTransport.url);return e.addEventListener("open",ee),e.addEventListener("message",ne),e.addEventListener("error",te),e.addEventListener("close",(function(n){return function(e,n){t.advancedLog(m,JSON.stringify(e)),fe(t.info(m,JSON.stringify(e))),H("webSocketOnClose before-cleanup"),B(L.connectionClose,{openTimestamp:n.openTimestamp,closeTimestamp:Date.now(),connectionDuration:Date.now()-n.openTimestamp,code:e.code,reason:e.reason}),K(r.primary)&&(r.primary=null),K(r.secondary)&&(r.secondary=null),i.reconnectWebSocket&&(G(r.primary)||G(r.secondary)?K(r.primary)&&G(r.secondary)&&(fe(t.info("[Primary] WebSocket Cleanly Closed")),r.primary=r.secondary,r.secondary=null):(fe(t.warn("Neither primary websocket and nor secondary websocket have open connections, attempting to re-establish connection")),i.connState===O?fe(t.info("Ignoring connectionLost callback invocation")):(B(L.connectionLost,{openTimestamp:n.openTimestamp,closeTimestamp:Date.now(),connectionDuration:Date.now()-n.openTimestamp,code:e.code,reason:e.reason}),o.noOpenConnectionsTimestamp=Date.now()),i.connState=O,pe()),H("webSocketOnClose after-cleanup"))}(n,e)})),e},fe=function(e){return e&&"function"==typeof e.sendInternalLogToServer&&e.sendInternalLogToServer(),e};this.init=function(e){if(P.assertTrue(P.isFunction(e),"transportHandle must be a function"),null===L.getWebSocketTransport)return L.getWebSocketTransport=e,pe();fe(t.warn("Web Socket Manager was already initialized"))},this.onInitFailure=function(e){return t.advancedLog("Initializing Websocket Manager Failure callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.initFailure.add(e),i.websocketInitFailed&&e(),function(){return L.initFailure.delete(e)}},this.onConnectionOpen=function(e){return t.advancedLog("Websocket connection open callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionOpen.add(e),function(){return L.connectionOpen.delete(e)}},this.onConnectionClose=function(e){return t.advancedLog("Websocket connection close callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionClose.add(e),function(){return L.connectionClose.delete(e)}},this.onConnectionGain=function(e){return t.advancedLog("Websocket connection gain callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionGain.add(e),J()&&e(),function(){return L.connectionGain.delete(e)}},this.onConnectionLost=function(e){return t.advancedLog("Websocket connection lost callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionLost.add(e),i.connState===O&&e(),function(){return L.connectionLost.delete(e)}},this.onSubscriptionUpdate=function(e){return P.assertTrue(P.isFunction(e),"cb must be a function"),L.subscriptionUpdate.add(e),function(){return L.subscriptionUpdate.delete(e)}},this.onSubscriptionFailure=function(e){return t.advancedLog("Websocket subscription failure callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.subscriptionFailure.add(e),function(){return L.subscriptionFailure.delete(e)}},this.onMessage=function(e,t){return P.assertNotNull(e,"topicName"),P.assertTrue(P.isFunction(t),"cb must be a function"),L.topic.has(e)?L.topic.get(e).add(t):L.topic.set(e,new Set([t])),function(){return L.topic.get(e).delete(t)}},this.onAllMessage=function(e){return P.assertTrue(P.isFunction(e),"cb must be a function"),L.allMessage.add(e),function(){return L.allMessage.delete(e)}},this.subscribeTopics=function(e){P.assertNotNull(e,"topics"),P.assertIsList(e),e.forEach((function(e){U.subscribed.has(e)||U.pending.add(e)})),q.consecutiveNoResponseRequest=0,re()},this.sendMessage=function(e){if(P.assertIsObject(e,"payload"),void 0===e.topic||F.has(e.topic))fe(t.warn("Cannot send message, Invalid topic",e));else{try{e=JSON.stringify(e)}catch(n){return void fe(t.warn("Error stringify message",e))}J()?X().send(e):fe(t.warn("Cannot send message, web socket connection is not open"))}},this.deepHeartbeatHandler=function(){e=!0},this.onDeepHeartbeatSuccess=function(e){return t.advancedLog("Deep Heartbeat is successful. WebSocketManager has received 200 response from aws/ping"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.deepHeartbeatSuccess.add(e),function(){return L.deepHeartbeatSuccess.delete(e)}},this.onDeepHeartbeatFailure=function(e){return t.advancedLog("Deep Heartbeat failed. WebSocketManager does not receive 200 response from aws/ping"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.deepHeartbeatFailure.add(e),function(){return L.deepHeartbeatFailure.delete(e)}},this.onTopicFailure=function(e){return t.advancedLog("Generic topic failed."),P.assertTrue(P.isFunction(e),"cb must be a function"),L.topicFailure.add(e),function(){return L.topicFailure.delete(e)}},this.closeWebSocket=function(){$(),Q(),i.reconnectWebSocket=!1,clearInterval(W),ae("User request to close WebSocket")},this.terminateWebSocketManager=ce},ae={create:function(e){return oe||(oe=new Z(e)),oe.hasLogMetaData()||oe.setLogMetaData(e),e||console.info("********Missing metaData for logs from websocketManager: initialize websocketManager using create(metaData)*******"),new se},setGlobalConfig:function(e){var t=e&&e.loggerConfig;oe||(oe=new Z),oe.updateLoggerConfig(t)},LogLevel:Q,Logger:Y};te.connect=te.connect||{},connect.WebSocketManager=ae;var ce=ae;t.default=ce}]);var re=connect.WebSocketManager;connect.WebSocketManager=ne||re;const ie=re;class oe extends class{constructor(e,t){this.connectionDetailsProvider=e,this.isStarted=!1,this.logger=I.getLogger({prefix:"ChatJS-BaseConnectionHelper",logMetaData:t})}startConnectionTokenPolling(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:432e5;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))return this.connectionDetailsProvider.fetchConnectionDetails().then((t=>(this.logger.info("Connection token polling succeeded."),e=this.getTimeToConnectionTokenExpiry(),this.timeout=setTimeout(this.startConnectionTokenPolling.bind(this),e),t))).catch((t=>(this.logger.error("An error occurred when attempting to fetch the connection token during Connection Token Polling",t),this.timeout=setTimeout(this.startConnectionTokenPolling.bind(this),e),t)));this.logger.info("First time polling connection token."),this.timeout=setTimeout(this.startConnectionTokenPolling.bind(this),e)}start(){return this.isStarted?this.getConnectionToken():(this.isStarted=!0,this.startConnectionTokenPolling(!0,this.getTimeToConnectionTokenExpiry()))}end(){clearTimeout(this.timeout)}getConnectionToken(){return this.connectionDetailsProvider.getFetchedConnectionToken()}getConnectionTokenExpiry(){return this.connectionDetailsProvider.getConnectionTokenExpiry()}getTimeToConnectionTokenExpiry(){return new Date(this.getConnectionTokenExpiry()).getTime()-(new Date).getTime()-6e4}}{constructor(e,t,n,r,i,o){super(n,i),this.customerConnection=!r,this.customerConnection?(oe.customerBaseInstances[e]||(oe.customerBaseInstances[e]=new se(n,void 0,i,o)),this.baseInstance=oe.customerBaseInstances[e]):(oe.agentBaseInstance&&oe.agentBaseInstance.getWebsocketManager()!==r&&(oe.agentBaseInstance.end(),oe.agentBaseInstance=null),oe.agentBaseInstance||(oe.agentBaseInstance=new se(void 0,r,i)),this.baseInstance=oe.agentBaseInstance),this.contactId=e,this.initialContactId=t,this.status=null,this.eventBus=new Y,this.subscriptions=[this.baseInstance.onEnded(this.handleEnded.bind(this)),this.baseInstance.onConnectionGain(this.handleConnectionGain.bind(this)),this.baseInstance.onConnectionLost(this.handleConnectionLost.bind(this)),this.baseInstance.onMessage(this.handleMessage.bind(this))]}start(){return super.start(),this.baseInstance.start()}end(){super.end(),this.eventBus.unsubscribeAll(),this.subscriptions.forEach((e=>e())),this.status=B,this.tryCleanup()}tryCleanup(){this.customerConnection&&!this.baseInstance.hasMessageSubscribers()&&(this.baseInstance.end(),delete oe.customerBaseInstances[this.contactId])}getStatus(){return this.status||this.baseInstance.getStatus()}onEnded(e){return this.eventBus.subscribe(V,e)}handleEnded(){this.eventBus.trigger(V,{})}onConnectionGain(e){return this.eventBus.subscribe(H,e)}handleConnectionGain(){this.eventBus.trigger(H,{})}onConnectionLost(e){return this.eventBus.subscribe(z,e)}handleConnectionLost(){this.eventBus.trigger(z,{})}onMessage(e){return this.eventBus.subscribe(G,e)}handleMessage(e){e.InitialContactId!==this.initialContactId&&e.ContactId!==this.contactId&&e.Type!==v.MESSAGE_METADATA||this.eventBus.trigger(G,e)}}oe.customerBaseInstances={},oe.agentBaseInstance=null;class se{constructor(e,t,n,r){this.status=q,this.eventBus=new Y,this.logger=I.getLogger({prefix:"ChatJS-LPCConnectionHelperBase",logMetaData:n}),this.initialConnectionDetails=r,this.initWebsocketManager(t,e,n)}initWebsocketManager(e,t,n){if(this.websocketManager=e||ie.create(n),this.websocketManager.subscribeTopics(["aws/chat"]),this.subscriptions=[this.websocketManager.onMessage("aws/chat",this.handleMessage.bind(this)),this.websocketManager.onConnectionGain(this.handleConnectionGain.bind(this)),this.websocketManager.onConnectionLost(this.handleConnectionLost.bind(this)),this.websocketManager.onInitFailure(this.handleEnded.bind(this))],this.logger.info("Initializing websocket manager."),!e){var r=(new Date).getTime();this.websocketManager.init((()=>this._getConnectionDetails(t,this.initialConnectionDetails,r).then((e=>(this.initialConnectionDetails=null,e)))))}}_getConnectionDetails(e,t,n){if(null!==t&&"object"==typeof t&&t.expiry&&t.connectionTokenExpiry){var r={expiry:t.expiry,transportLifeTimeInSeconds:w};return this.logger.debug("Websocket manager initialized. Connection details:",r),Promise.resolve({webSocketTransport:{url:t.url,expiry:t.expiry,transportLifeTimeInSeconds:w}})}return e.fetchConnectionDetails().then((e=>{var t={webSocketTransport:{url:e.url,expiry:e.expiry,transportLifeTimeInSeconds:w}},r={expiry:e.expiry,transportLifeTimeInSeconds:w};return this.logger.debug("Websocket manager initialized. Connection details:",r),this._addWebsocketInitCSMMetric(n),t})).catch((e=>{throw this.logger.error("Initializing Websocket Manager failed:",e),this._addWebsocketInitCSMMetric(n,!0),e}))}_addWebsocketInitCSMMetric(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Q.addLatencyMetric(g,e,c),Q.addCountAndErrorMetric(g,c,t)}end(){this.websocketManager.closeWebSocket&&this.websocketManager.closeWebSocket(),this.eventBus.unsubscribeAll(),this.subscriptions.forEach((e=>e())),this.logger.info("Websocket closed. All event subscriptions are cleared.")}start(){return this.status===q&&(this.status=j),Promise.resolve({websocketStatus:this.status})}onEnded(e){return this.eventBus.subscribe(V,e)}handleEnded(){this.status=B,this.eventBus.trigger(V,{}),Q.addCountMetric("WebsocketEnded",c),this.logger.info("Websocket connection ended.")}onConnectionGain(e){return this.eventBus.subscribe(H,e)}handleConnectionGain(){this.status=F,this.eventBus.trigger(H,{}),Q.addCountMetric("WebsocketConnectionGained",c),this.logger.info("Websocket connection gained.")}onConnectionLost(e){return this.eventBus.subscribe(z,e)}handleConnectionLost(){this.status=W,this.eventBus.trigger(z,{}),Q.addCountMetric("WebsocketConnectionLost",c),this.logger.info("Websocket connection lost.")}onMessage(e){return this.eventBus.subscribe(G,e)}handleMessage(e){var t;try{t=JSON.parse(e.content),this.eventBus.trigger(G,t),Q.addCountMetric("WebsocketIncomingMessage",c),this.logger.info("this.eventBus trigger Websocket incoming message",G,t)}catch(e){this._sendInternalLogToServer(this.logger.error("Wrong message format"))}}getStatus(){return this.status}getWebsocketManager(){return this.websocketManager}hasMessageSubscribers(){return this.eventBus.getSubscriptions(G).length>0}_sendInternalLogToServer(e){return e&&"function"==typeof e.sendInternalLogToServer&&e.sendInternalLogToServer(),e}}const ae=oe;function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class le{constructor(e){this.logger=I.getLogger({prefix:"ChatJS-MessageReceiptUtil",logMetaData:e}),this.timeout=null,this.timeoutId=null,this.readSet=new Set,this.deliveredSet=new Set,this.readPromiseMap=new Map,this.deliveredPromiseMap=new Map,this.lastReadArgs=null,this.throttleInitialEventsToPrioritizeRead=null,this.throttleSendEventApiCall=null}isMessageReceipt(e,t){return-1!==[v.INCOMING_READ_RECEIPT,v.INCOMING_DELIVERED_RECEIPT].indexOf(e)||t.Type===v.MESSAGE_METADATA}getEventTypeFromMessageMetaData(e){return Array.isArray(e.Receipts)&&e.Receipts[0]&&e.Receipts[0].ReadTimestamp?v.INCOMING_READ_RECEIPT:e.Receipts[0].DeliveredTimestamp?v.INCOMING_DELIVERED_RECEIPT:null}shouldShowMessageReceiptForCurrentParticipantId(e,t){return e!==(t.MessageMetadata&&Array.isArray(t.MessageMetadata.Receipts)&&t.MessageMetadata.Receipts[0]&&t.MessageMetadata.Receipts[0].RecipientParticipantId)}prioritizeAndSendMessageReceipt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i2?n-2:0),o=2;o{s.resolveReadPromises(o.messageId,e[0]),s.resolveDeliveredPromises(u,e[0])}))}}catch(e){s.logger.error("send message receipt failed",e),s.resolveReadPromises(u,e,!0),s.resolveDeliveredPromises(u,e,!0)}},s.timeoutId||(s.timeoutId=setTimeout((function(){s.timeoutId=null,s.throttleSendEventApiCall()}),a))}resolveDeliveredPromises(e,t,n){return this.resolvePromises(this.deliveredPromiseMap,e,t,n)}resolveReadPromises(e,t,n){return this.resolvePromises(this.readPromiseMap,e,t,n)}resolvePromises(e,t,n,r){var i=Array.from(e.keys()),o=i.indexOf(t);if(-1!==o)for(var s=0;s<=o;s++){var a,c=null===(a=e.get(i[s]))||void 0===a?void 0:a[r?1:0];"function"==typeof c&&(e.delete(i[s]),c(n))}else this.logger.debug("Promise for messageId: ".concat(t," already resolved"))}rehydrateReceiptMappers(e,t){var n=this;return r=>{if(n.logger.debug("rehydrate chat",null==r?void 0:r.data),t){var{Transcript:i=[]}=(null==r?void 0:r.data)||{};i.forEach((e=>{if((null==e?void 0:e.Type)===v.MESSAGE_METADATA){var t,n,r,i=null==e||null===(t=e.MessageMetadata)||void 0===t||null===(n=t.Receipts)||void 0===n?void 0:n[0],o=null==e||null===(r=e.MessageMetadata)||void 0===r?void 0:r.MessageId;null!=i&&i.ReadTimestamp&&this.readSet.add(o),null!=i&&i.DeliveredTimestamp&&this.deliveredSet.add(o)}}))}return e(r)}}}class pe{constructor(e){this.argsValidator=new U,this.pubsub=new Y,this.sessionType=e.sessionType,this.getConnectionToken=e.chatDetails.getConnectionToken,this.connectionDetails=e.chatDetails.connectionDetails,this.initialContactId=e.chatDetails.initialContactId,this.contactId=e.chatDetails.contactId,this.participantId=e.chatDetails.participantId,this.chatClient=e.chatClient,this.participantToken=e.chatDetails.participantToken,this.websocketManager=e.websocketManager,this._participantDisconnected=!1,this.sessionMetadata={},this.logger=I.getLogger({prefix:"ChatJS-ChatController",logMetaData:e.logMetaData}),this.logMetaData=e.logMetaData,this.messageReceiptUtil=new le(e.logMetaData),this.logger.info("Browser info:",window.navigator.userAgent)}subscribe(e,t){this.pubsub.subscribe(e,t),this._sendInternalLogToServer(this.logger.info("Subscribed successfully to event:",e))}handleRequestSuccess(e,t,n,r){return i=>{var o=r?[{name:"ContentType",value:r}]:[];return Q.addLatencyMetricWithStartTime(t,n,c,o),Q.addCountAndErrorMetric(t,c,!1,o),i.metadata=e,i}}handleRequestFailure(e,t,n,r){return i=>{var o=r?[{name:"ContentType",value:r}]:[];return Q.addLatencyMetricWithStartTime(t,n,c,o),Q.addCountAndErrorMetric(t,c,!0,o),i.metadata=e,Promise.reject(i)}}sendMessage(e){var t=(new Date).getTime(),n=e.metadata||null;this.argsValidator.validateSendMessage(e);var r=this.connectionHelper.getConnectionToken();return this.chatClient.sendMessage(r,e.message,e.contentType).then(this.handleRequestSuccess(n,u,t,e.contentType)).catch(this.handleRequestFailure(n,u,t,e.contentType))}sendAttachment(e){var t=(new Date).getTime(),n=e.metadata||null,r=this.connectionHelper.getConnectionToken();return this.chatClient.sendAttachment(r,e.attachment,e.metadata).then(this.handleRequestSuccess(n,l,t,e.attachment.type)).catch(this.handleRequestFailure(n,l,t,e.attachment.type))}downloadAttachment(e){var t=(new Date).getTime(),n=e.metadata||null,r=this.connectionHelper.getConnectionToken();return this.chatClient.downloadAttachment(r,e.attachmentId).then(this.handleRequestSuccess(n,p,t)).catch(this.handleRequestFailure(n,p,t))}sendEvent(e){var t=(new Date).getTime(),n=e.metadata||null;this.argsValidator.validateSendEvent(e);var r=this.connectionHelper.getConnectionToken(),o=e.content||null,a=de(e.contentType),c="string"==typeof o?JSON.parse(o):o;return this.messageReceiptUtil.isMessageReceipt(a,e)?i.isFeatureEnabled(s)&&c.messageId?this.messageReceiptUtil.prioritizeAndSendMessageReceipt(this.chatClient,this.chatClient.sendEvent,r,e.contentType,o,a,i.getMessageReceiptsThrottleTime()).then(this.handleRequestSuccess(n,d,t,e.contentType)).catch(this.handleRequestFailure(n,d,t,e.contentType)):(this.logger.warn("Ignoring messageReceipt: ".concat(i.isFeatureEnabled(s)&&"missing messageId"),e),Promise.reject({errorMessage:"Ignoring messageReceipt: ".concat(i.isFeatureEnabled(s)&&"missing messageId"),data:e})):this.chatClient.sendEvent(r,e.contentType,o).then(this.handleRequestSuccess(n,d,t,e.contentType)).catch(this.handleRequestFailure(n,d,t,e.contentType))}getTranscript(e){var t=(new Date).getTime(),n=e.metadata||null,r={startPosition:e.startPosition||{},scanDirection:e.scanDirection||"BACKWARD",sortOrder:e.sortOrder||"ASCENDING",maxResults:e.maxResults||15};e.nextToken&&(r.nextToken=e.nextToken),e.contactId&&(r.contactId=e.contactId);var o=this.connectionHelper.getConnectionToken();return this.chatClient.getTranscript(o,r).then(this.messageReceiptUtil.rehydrateReceiptMappers(this.handleRequestSuccess(n,h,t),i.isFeatureEnabled(s))).catch(this.handleRequestFailure(n,h,t))}connect(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.sessionMetadata=e.metadata||null,this.argsValidator.validateConnectChat(e);var t=this._getConnectionDetailsProvider();return t.fetchConnectionDetails().then((e=>this._initConnectionHelper(t,e))).then((e=>this._onConnectSuccess(e,t))).catch((e=>this._onConnectFailure(e)))}_initConnectionHelper(e,t){return this.connectionHelper=new ae(this.contactId,this.initialContactId,e,this.websocketManager,this.logMetaData,t),this.connectionHelper.onEnded(this._handleEndedConnection.bind(this)),this.connectionHelper.onConnectionLost(this._handleLostConnection.bind(this)),this.connectionHelper.onConnectionGain(this._handleGainedConnection.bind(this)),this.connectionHelper.onMessage(this._handleIncomingMessage.bind(this)),this.connectionHelper.start()}_getConnectionDetailsProvider(){return new ee(this.participantToken,this.chatClient,this.sessionType,this.getConnectionToken)}_handleEndedConnection(e){this._forwardChatEvent(v.CONNECTION_BROKEN,{data:e,chatDetails:this.getChatDetails()}),this.breakConnection()}_handleLostConnection(e){this._forwardChatEvent(v.CONNECTION_LOST,{data:e,chatDetails:this.getChatDetails()})}_handleGainedConnection(e){this._forwardChatEvent(v.CONNECTION_ESTABLISHED,{data:e,chatDetails:this.getChatDetails()})}_handleIncomingMessage(e){try{var t=de(null==e?void 0:e.ContentType);if(this.messageReceiptUtil.isMessageReceipt(t,e)&&(!(t=this.messageReceiptUtil.getEventTypeFromMessageMetaData(null==e?void 0:e.MessageMetadata))||!this.messageReceiptUtil.shouldShowMessageReceiptForCurrentParticipantId(this.participantId,e)))return;this._forwardChatEvent(t,{data:e,chatDetails:this.getChatDetails()}),e.ContentType===y.chatEnded&&(this._forwardChatEvent(v.CHAT_ENDED,{data:null,chatDetails:this.getChatDetails()}),this.breakConnection())}catch(t){this._sendInternalLogToServer(this.logger.error("Error occured while handling message from Connection. eventData:",e," Causing exception:",t))}}_forwardChatEvent(e,t){this.pubsub.triggerAsync(e,t)}_onConnectSuccess(e,t){var n;this._sendInternalLogToServer(this.logger.info("Connect successful!")),console.warn("onConnectionSuccess response",e);var r={_debug:e,connectSuccess:!0,connectCalled:!0,metadata:this.sessionMetadata},s=Object.assign({chatDetails:this.getChatDetails()},r);this.pubsub.triggerAsync(v.CONNECTION_ESTABLISHED,s);var a=i.isFeatureEnabled(o),c=null===(n=t.getConnectionDetails())||void 0===n?void 0:n.connectionAcknowledged;return this._shouldAcknowledgeContact()&&!c&&(a?(Q.addAgentCountMetric("CREATE_PARTICIPANT_CONACK_CALL_COUNT",1),t.callCreateParticipantConnection({Type:!1,ConnectParticipant:!0}).catch((e=>{this.logger.warn("ConnectParticipant failed to acknowledge Agent connection ",e),this.sendEvent({contentType:y.connectionAcknowledged}),Q.addAgentCountMetric("CREATE_PARTICIPANT_CONACK_FAILURE",1)}))):this.sendEvent({contentType:y.connectionAcknowledged}).catch((e=>{t.callCreateParticipantConnection({Type:!1,ConnectParticipant:!0}),429===e.statusCode&&Q.addAgentCountMetric("SEND_EVENT_CONACK_THROTTLED",1),Q.addAgentCountMetric("SEND_EVENT_CONACK_FAILURE",1),this.logger.warn("Send event conack failed: ",e)}))),console.warn("onConnectionSuccess responseObject",r),r}_onConnectFailure(e){var t={_debug:e,connectSuccess:!1,connectCalled:!0,metadata:this.sessionMetadata};return this._sendInternalLogToServer(this.logger.error("Connect Failed. Error: ",t)),Promise.reject(t)}_shouldAcknowledgeContact(){return this.sessionType===a.AGENT}breakConnection(){return this.connectionHelper?this.connectionHelper.end():Promise.resolve()}cleanUpOnParticipantDisconnect(){this.pubsub.unsubscribeAll()}disconnectParticipant(){var e=(new Date).getTime(),t=this.connectionHelper.getConnectionToken();return this.chatClient.disconnectParticipant(t).then((t=>(this._sendInternalLogToServer(this.logger.info("Disconnect participant successfully")),this._participantDisconnected=!0,this.cleanUpOnParticipantDisconnect(),this.breakConnection(),Q.addLatencyMetricWithStartTime(f,e,c),Q.addCountAndErrorMetric(f,c,!1),t)),(t=>(this._sendInternalLogToServer(this.logger.error("Disconnect participant failed. Error:",t)),Q.addLatencyMetricWithStartTime(f,e,c),Q.addCountAndErrorMetric(f,c,!0),Promise.reject(t))))}getChatDetails(){return{initialContactId:this.initialContactId,contactId:this.contactId,participantId:this.participantId,participantToken:this.participantToken,connectionDetails:this.connectionDetails}}_convertConnectionHelperStatus(e){switch(e){case q:return"NeverEstablished";case j:return"Establishing";case B:case W:return"Broken";case F:return"Established"}this._sendInternalLogToServer(this.logger.error("Reached invalid state. Unknown connectionHelperStatus: ",e))}getConnectionStatus(){return this._convertConnectionHelperStatus(this.connectionHelper.getStatus())}_sendInternalLogToServer(e){return e&&"function"==typeof e.sendInternalLogToServer&&e.sendInternalLogToServer(),e}}var de=e=>b[e]||b.default;class he{constructor(e){this.controller=e}onMessage(e){this.controller.subscribe(v.INCOMING_MESSAGE,e)}onTyping(e){this.controller.subscribe(v.INCOMING_TYPING,e)}onReadReceipt(e){this.controller.subscribe(v.INCOMING_READ_RECEIPT,e)}onDeliveredReceipt(e){this.controller.subscribe(v.INCOMING_DELIVERED_RECEIPT,e)}onConnectionBroken(e){this.controller.subscribe(v.CONNECTION_BROKEN,e)}onConnectionEstablished(e){this.controller.subscribe(v.CONNECTION_ESTABLISHED,e)}onEnded(e){this.controller.subscribe(v.CHAT_ENDED,e)}onParticipantIdle(e){this.controller.subscribe(v.PARTICIPANT_IDLE,e)}onParticipantReturned(e){this.controller.subscribe(v.PARTICIPANT_RETURNED,e)}onAutoDisconnection(e){this.controller.subscribe(v.AUTODISCONNECTION,e)}sendMessage(e){return this.controller.sendMessage(e)}sendAttachment(e){return this.controller.sendAttachment(e)}downloadAttachment(e){return this.controller.downloadAttachment(e)}connect(e){return this.controller.connect(e)}sendEvent(e){return this.controller.sendEvent(e)}getTranscript(e){return this.controller.getTranscript(e)}getChatDetails(){return this.controller.getChatDetails()}}class fe extends he{constructor(e){super(e)}cleanUpOnParticipantDisconnect(){return this.controller.cleanUpOnParticipantDisconnect()}}class me extends he{constructor(e){super(e)}disconnectParticipant(){return this.controller.disconnectParticipant()}}var ge=new class extends class{createAgentChatController(e,n){throw new t("createAgentChatController in ChatControllerFactory.")}createCustomerChatController(e,n){throw new t("createCustomerChatController in ChatControllerFactory.")}}{constructor(){super(),this.argsValidator=new U}createChatSession(e,t,n,i){var o=this._createChatController(e,t,n,i);if(e===a.AGENT)return new fe(o);if(e===a.CUSTOMER)return new me(o);throw new r("Unkown value for session type, Allowed values are: "+Object.values(a),e)}_createChatController(e,t,n,r){var i=this.argsValidator.normalizeChatDetails(t),o={contactId:i.contactId,participantId:i.participantId,sessionType:e},s=D.getCachedClient(n,o);return new pe({sessionType:e,chatDetails:i,chatClient:s,websocketManager:r,logMetaData:o})}},ve=e=>{i.setFeatureFlag(e)},ye={create:e=>{var t=e.options||{},n=e.type||a.AGENT;return i.updateStageRegion(t),e.disableCSM||n!==a.CUSTOMER||Q.loadCsmScriptAndExecute(),ge.createChatSession(n,e.chatDetails,t,e.websocketManager)},setGlobalConfig:e=>{var t,n,r,o,a=e.loggerConfig,c=e.csmConfig;i.update(e),ie.setGlobalConfig(e),I.updateLoggerConfig(a),c&&Q.updateCsmConfig(c),!1!==(null===(t=e.features)||void 0===t||null===(n=t.messageReceipts)||void 0===n?void 0:n.shouldSendMessageReceipts)&&(console.warn("enabling message-receipts by default; to disable set config.features.messageReceipts.shouldSendMessageReceipts = false"),ve(s),i.updateThrottleTime(null===(r=e.features)||void 0===r||null===(o=r.messageReceipts)||void 0===o?void 0:o.thorttleTime))},LogLevel:T,Logger:class{debug(e){}info(e){}warn(e){}error(e){}advancedLog(e){}},SessionTypes:a,csmService:Q,setFeatureFlag:ve},be=void 0!==be?be:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};be.connect=be.connect||{},connect.ChatSession=ye,connect.LogManager=I,connect.LogLevel=T,connect.csmService=ye.csmService})()})(); +(()=>{var e={228:(e,t,n)=>{var r;!function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,(function(e){return i(t[s][1][e]||e)}),u,u.exports,e,t,n,r)}return n[s].exports}for(var o=void 0,s=0;s-1});var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:function(e){return"string"==typeof e?0===e.length:0===e.byteLength},convertToBuffer:function(e){return"string"==typeof e&&(e=new r(e,"utf8")),ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}}},{"buffer/":82}],13:[function(e,t,n){function r(e,t){this.hash=new e,this.outer=new e;var n=i(e,t),r=new Uint8Array(e.BLOCK_SIZE);r.set(n);for(var o=0;oe.BLOCK_SIZE){var r=new e;r.update(n),n=r.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(n),i}var o=e("./browserHashUtils");t.exports=r,r.prototype.update=function(e){if(o.isEmptyData(e)||this.error)return this;try{this.hash.update(o.convertToBuffer(e))}catch(e){this.error=e}return this},r.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":12}],14:[function(e,t,n){function r(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(p)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,n,r,i,o){return((t=(t+e&4294967295)+(r+o&4294967295)&4294967295)<>>32-i)+n&4294967295}function o(e,t,n,r,o,s,a){return i(t&n|~t&r,e,t,o,s,a)}function s(e,t,n,r,o,s,a){return i(t&r|n&~r,e,t,o,s,a)}function a(e,t,n,r,o,s,a){return i(t^n^r,e,t,o,s,a)}function c(e,t,n,r,o,s,a){return i(n^(t|~r),e,t,o,s,a)}var u=e("./browserHashUtils"),l=e("buffer/").Buffer,p=64;t.exports=r,r.BLOCK_SIZE=p,r.prototype.update=function(e){if(u.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=u.convertToBuffer(e),n=0,r=t.byteLength;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===p&&(this.hashBuffer(),this.bufferLength=0);return this},r.prototype.digest=function(e){if(!this.finished){var t=this,n=t.buffer,r=t.bufferLength,i=8*t.bytesHashed;if(n.setUint8(this.bufferLength++,128),r%p>=p-8){for(var o=this.bufferLength;o>>0,!0),n.setUint32(p-4,Math.floor(i/4294967296),!0),this.hashBuffer(),this.finished=!0}var s=new DataView(new ArrayBuffer(16));for(o=0;o<4;o++)s.setUint32(4*o,this.state[o],!0);var a=new l(s.buffer,s.byteOffset,s.byteLength);return e?a.toString(e):a},r.prototype.hashBuffer=function(){var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],u=t[3];n=o(n,r,i,u,e.getUint32(0,!0),7,3614090360),u=o(u,n,r,i,e.getUint32(4,!0),12,3905402710),i=o(i,u,n,r,e.getUint32(8,!0),17,606105819),r=o(r,i,u,n,e.getUint32(12,!0),22,3250441966),n=o(n,r,i,u,e.getUint32(16,!0),7,4118548399),u=o(u,n,r,i,e.getUint32(20,!0),12,1200080426),i=o(i,u,n,r,e.getUint32(24,!0),17,2821735955),r=o(r,i,u,n,e.getUint32(28,!0),22,4249261313),n=o(n,r,i,u,e.getUint32(32,!0),7,1770035416),u=o(u,n,r,i,e.getUint32(36,!0),12,2336552879),i=o(i,u,n,r,e.getUint32(40,!0),17,4294925233),r=o(r,i,u,n,e.getUint32(44,!0),22,2304563134),n=o(n,r,i,u,e.getUint32(48,!0),7,1804603682),u=o(u,n,r,i,e.getUint32(52,!0),12,4254626195),i=o(i,u,n,r,e.getUint32(56,!0),17,2792965006),n=s(n,r=o(r,i,u,n,e.getUint32(60,!0),22,1236535329),i,u,e.getUint32(4,!0),5,4129170786),u=s(u,n,r,i,e.getUint32(24,!0),9,3225465664),i=s(i,u,n,r,e.getUint32(44,!0),14,643717713),r=s(r,i,u,n,e.getUint32(0,!0),20,3921069994),n=s(n,r,i,u,e.getUint32(20,!0),5,3593408605),u=s(u,n,r,i,e.getUint32(40,!0),9,38016083),i=s(i,u,n,r,e.getUint32(60,!0),14,3634488961),r=s(r,i,u,n,e.getUint32(16,!0),20,3889429448),n=s(n,r,i,u,e.getUint32(36,!0),5,568446438),u=s(u,n,r,i,e.getUint32(56,!0),9,3275163606),i=s(i,u,n,r,e.getUint32(12,!0),14,4107603335),r=s(r,i,u,n,e.getUint32(32,!0),20,1163531501),n=s(n,r,i,u,e.getUint32(52,!0),5,2850285829),u=s(u,n,r,i,e.getUint32(8,!0),9,4243563512),i=s(i,u,n,r,e.getUint32(28,!0),14,1735328473),n=a(n,r=s(r,i,u,n,e.getUint32(48,!0),20,2368359562),i,u,e.getUint32(20,!0),4,4294588738),u=a(u,n,r,i,e.getUint32(32,!0),11,2272392833),i=a(i,u,n,r,e.getUint32(44,!0),16,1839030562),r=a(r,i,u,n,e.getUint32(56,!0),23,4259657740),n=a(n,r,i,u,e.getUint32(4,!0),4,2763975236),u=a(u,n,r,i,e.getUint32(16,!0),11,1272893353),i=a(i,u,n,r,e.getUint32(28,!0),16,4139469664),r=a(r,i,u,n,e.getUint32(40,!0),23,3200236656),n=a(n,r,i,u,e.getUint32(52,!0),4,681279174),u=a(u,n,r,i,e.getUint32(0,!0),11,3936430074),i=a(i,u,n,r,e.getUint32(12,!0),16,3572445317),r=a(r,i,u,n,e.getUint32(24,!0),23,76029189),n=a(n,r,i,u,e.getUint32(36,!0),4,3654602809),u=a(u,n,r,i,e.getUint32(48,!0),11,3873151461),i=a(i,u,n,r,e.getUint32(60,!0),16,530742520),n=c(n,r=a(r,i,u,n,e.getUint32(8,!0),23,3299628645),i,u,e.getUint32(0,!0),6,4096336452),u=c(u,n,r,i,e.getUint32(28,!0),10,1126891415),i=c(i,u,n,r,e.getUint32(56,!0),15,2878612391),r=c(r,i,u,n,e.getUint32(20,!0),21,4237533241),n=c(n,r,i,u,e.getUint32(48,!0),6,1700485571),u=c(u,n,r,i,e.getUint32(12,!0),10,2399980690),i=c(i,u,n,r,e.getUint32(40,!0),15,4293915773),r=c(r,i,u,n,e.getUint32(4,!0),21,2240044497),n=c(n,r,i,u,e.getUint32(32,!0),6,1873313359),u=c(u,n,r,i,e.getUint32(60,!0),10,4264355552),i=c(i,u,n,r,e.getUint32(24,!0),15,2734768916),r=c(r,i,u,n,e.getUint32(52,!0),21,1309151649),n=c(n,r,i,u,e.getUint32(16,!0),6,4149444226),u=c(u,n,r,i,e.getUint32(44,!0),10,3174756917),i=c(i,u,n,r,e.getUint32(8,!0),15,718787259),r=c(r,i,u,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=u+t[3]&4294967295}},{"./browserHashUtils":12,"buffer/":82}],15:[function(e,t,n){function r(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e("buffer/").Buffer,o=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53),t.exports=r,r.BLOCK_SIZE=64,r.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(o.isEmptyData(e))return this;var t=(e=o.convertToBuffer(e)).length;this.totalLength+=8*t;for(var n=0;n14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var n=new i(20),r=new DataView(n.buffer);return r.setUint32(0,this.h0,!1),r.setUint32(4,this.h1,!1),r.setUint32(8,this.h2,!1),r.setUint32(12,this.h3,!1),r.setUint32(16,this.h4,!1),e?n.toString(e):n},r.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var n,r,i=this.h0,o=this.h1,s=this.h2,a=this.h3,c=this.h4;for(e=0;e<80;e++){e<20?(n=a^o&(s^a),r=1518500249):e<40?(n=o^s^a,r=1859775393):e<60?(n=o&s|a&(o|s),r=2400959708):(n=o^s^a,r=3395469782);var u=(i<<5|i>>>27)+n+c+r+(0|this.block[e]);c=a,a=s,s=o<<30|o>>>2,o=i,i=u}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+s|0,this.h3=this.h3+a|0,this.h4=this.h4+c|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":12,"buffer/":82}],16:[function(e,t,n){function r(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e("buffer/").Buffer,o=e("./browserHashUtils"),s=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=Math.pow(2,53)-1;t.exports=r,r.BLOCK_SIZE=64,r.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(o.isEmptyData(e))return this;var t=0,n=(e=o.convertToBuffer(e)).byteLength;if(this.bytesHashed+=n,8*this.bytesHashed>a)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;n>0;)this.buffer[this.bufferLength++]=e[t++],n--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},r.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%64>=56){for(var o=this.bufferLength;o<64;o++)n.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(o=this.bufferLength;o<56;o++)n.setUint8(o,0);n.setUint32(56,Math.floor(t/4294967296),!0),n.setUint32(60,t),this.hashBuffer(),this.finished=!0}var s=new i(32);for(o=0;o<8;o++)s[4*o]=this.state[o]>>>24&255,s[4*o+1]=this.state[o]>>>16&255,s[4*o+2]=this.state[o]>>>8&255,s[4*o+3]=this.state[o]>>>0&255;return e?s.toString(e):s},r.prototype.hashBuffer=function(){for(var e=this.buffer,t=this.state,n=t[0],r=t[1],i=t[2],o=t[3],a=t[4],c=t[5],u=t[6],l=t[7],p=0;p<64;p++){if(p<16)this.temp[p]=(255&e[4*p])<<24|(255&e[4*p+1])<<16|(255&e[4*p+2])<<8|255&e[4*p+3];else{var d=this.temp[p-2],h=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,f=((d=this.temp[p-15])>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[p]=(h+this.temp[p-7]|0)+(f+this.temp[p-16]|0)}var m=(((a>>>6|a<<26)^(a>>>11|a<<21)^(a>>>25|a<<7))+(a&c^~a&u)|0)+(l+(s[p]+this.temp[p]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&r^n&i^r&i)|0;l=u,u=c,c=a,a=o+m|0,o=i,i=r,r=n,n=m+g|0}t[0]+=n,t[1]+=r,t[2]+=i,t[3]+=o,t[4]+=a,t[5]+=c,t[6]+=u,t[7]+=l}},{"./browserHashUtils":12,"buffer/":82}],17:[function(e,t,n){(function(n){(function(){var n=e("./util");n.crypto.lib=e("./browserCryptoLib"),n.Buffer=e("buffer/").Buffer,n.url=e("url/"),n.querystring=e("querystring/"),n.realClock=e("./realclock/browserClock"),n.environment="js",n.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,n.isBrowser=function(){return!0},n.isNode=function(){return!1};var r=e("./core");if(t.exports=r,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),r.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":11,"./core":20,"./credentials":21,"./credentials/chainable_temporary_credentials":22,"./credentials/cognito_identity_credentials":23,"./credentials/credential_provider_chain":24,"./credentials/saml_credentials":25,"./credentials/temporary_credentials":26,"./credentials/web_identity_credentials":27,"./event-stream/buffered-create-event-stream":29,"./http/xhr":37,"./realclock/browserClock":54,"./util":73,"./xml/browser_parser":74,_process:87,"buffer/":82,"querystring/":94,"url/":96}],18:[function(e,t,n){var r,i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain"),i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,(function(t,n){this.set(t,e[t],n)}))},getCredentials:function(e){function t(t){e(t,t?null:r.credentials)}function n(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var r=this;r.credentials?"function"==typeof r.credentials.get?r.credentials.get((function(e){e&&(e=n("Could not load credentials from "+r.credentials.constructor.name,e)),t(e)})):function(){var e=null;r.credentials.accessKeyId&&r.credentials.secretAccessKey||(e=n("Missing credentials")),t(e)}():r.credentialProvider?r.credentialProvider.resolve((function(e,i){e&&(e=n("Could not load credentials from any providers",e)),r.credentials=i,t(e)})):t(n("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,(function(e,n){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,n)}))},loadFromPath:function(e){this.clear();var t=JSON.parse(i.util.readFileSync(e)),n=new i.FileSystemCredentials(e),r=new i.CredentialProviderChain;return r.providers.unshift(n),r.resolve((function(e,n){if(e)throw e;t.credentials=n})),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,(function(e){delete this[e]})),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,n){void 0===t?(void 0===n&&(n=this.keys[e]),this[e]="function"==typeof n?n.call(this):n):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&((e=i.util.copy(e)).credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){r=e,null===e&&"function"==typeof Promise&&(r=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,r)},getPromisesDependency:function(){return r}}),i.config=new i.Config},{"./core":20,"./credentials":21,"./credentials/credential_provider_chain":24}],19:[function(e,t,n){(function(n){(function(){function r(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw i.util.error(new Error,t)}}var i=e("./core");t.exports=function(e,t){var o;if((e=e||{})[t.clientConfig]&&(o=r(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return o;if(!i.util.isNode())return o;if(Object.prototype.hasOwnProperty.call(n.env,t.env)&&(o=r(n.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+n.env[t.env]+'".'})))return o;var s={};try{s=i.util.getProfilesFromSharedConfig(i.util.iniLoader)[n.env.AWS_PROFILE||i.util.defaultProfile]}catch(e){}return s&&Object.prototype.hasOwnProperty.call(s,t.sharedConfig)&&(o=r(s[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+s[t.sharedConfig]+'".'})),o}}).call(this)}).call(this,e("_process"))},{"./core":20,_process:87}],20:[function(e,t,n){var r={util:e("./util")};({}).toString(),t.exports=r,r.util.update(r,{VERSION:"2.772.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),r.events=new r.SequentialExecutor,r.util.memoizedProperty(r,"endpointCache",(function(){return new r.EndpointCache(r.config.endpointCacheSize)}),!0)},{"../vendor/endpoint-cache":105,"./api_loader":10,"./config":18,"./event_listeners":35,"./http":36,"./json/builder":38,"./json/parser":39,"./model/api":40,"./model/operation":42,"./model/paginator":43,"./model/resource_waiter":44,"./model/shape":45,"./param_validator":46,"./protocol/json":48,"./protocol/query":49,"./protocol/rest":50,"./protocol/rest_json":51,"./protocol/rest_xml":52,"./request":57,"./resource_waiter":58,"./response":59,"./sequential_executor":60,"./service":61,"./signers/request_signer":65,"./util":73,"./xml/builder":75}],21:[function(e,t,n){var r=e("./core");r.Credentials=r.util.inherit({constructor:function(){if(r.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=r.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||this.expired||!this.accessKeyId||!this.secretAccessKey},get:function(e){var t=this;this.needsRefresh()?this.refresh((function(n){n||(t.expired=!1),e&&e(n)})):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var n=this;1===n.refreshCallbacks.push(e)&&n.load((function(e){r.util.arrayEach(n.refreshCallbacks,(function(n){t?n(e):r.util.defer((function(){n(e)}))})),n.refreshCallbacks.length=0}))},load:function(e){e()}}),r.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=r.util.promisifyMethod("get",e),this.prototype.refreshPromise=r.util.promisifyMethod("refresh",e)},r.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},r.util.addPromises(r.Credentials)},{"./core":20}],22:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.ChainableTemporaryCredentials=r.util.inherit(r.Credentials,{constructor:function(e){r.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=r.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new r.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var n=r.util.merge({params:t,credentials:e.masterCredentials||r.config.credentials},e.stsConfig||{});this.service=new i(n)},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this,n=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode((function(r,i){var o={};r?e(r):(i&&(o.TokenCode=i),t.service[n](o,(function(n,r){n||t.service.credentialsFrom(r,t),e(n)})))}))},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,(function(n,i){if(n){var o=n;return n instanceof Error&&(o=n.message),void e(r.util.error(new Error("Error fetching MFA token: "+o),{code:t.errorCode}))}e(null,i)})):e(null)}})},{"../../clients/sts":9,"../core":20}],23:[function(e,t,n){var r=e("../core"),i=e("../../clients/cognitoidentity"),o=e("../../clients/sts");r.CognitoIdentityCredentials=r.util.inherit(r.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){r.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=r.util.copy(t||{}),this.loadCachedId();var n=this;Object.defineProperty(this,"identityId",{get:function(){return n.loadCachedId(),n._identityId||n.params.IdentityId},set:function(e){n._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId((function(n){n?(t.clearIdOnNotAuthorized(n),e(n)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)}))},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){"NotAuthorizedException"==e.code&&this.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId((function(n,r){!n&&r.IdentityId?(t.params.IdentityId=r.IdentityId,e(null,r.IdentityId)):e(n)}))},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity((function(n,r){n?t.clearIdOnNotAuthorized(n):(t.cacheId(r),t.data=r,t.loadCredentials(t.data,t)),e(n)}))},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken((function(n,r){n?(t.clearIdOnNotAuthorized(n),e(n)):(t.cacheId(r),t.params.WebIdentityToken=r.Token,t.webIdentityCredentials.refresh((function(n){n||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(n)})))}))},loadCachedId:function(){var e=this;if(r.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var n=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter((function(e){return-1!==n.indexOf(e)})).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new r.WebIdentityCredentials(this.params,e),!this.cognito){var t=r.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,r.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=r.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":8,"../../clients/sts":9,"../core":20}],24:[function(e,t,n){var r=e("../core");r.CredentialProviderChain=r.util.inherit(r.Credentials,{constructor:function(e){this.providers=e||r.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){var t=this;if(0===t.providers.length)return e(new Error("No providers")),t;if(1===t.resolveCallbacks.push(e)){var n=0,i=t.providers.slice(0);!function e(o,s){if(!o&&s||n===i.length)return r.util.arrayEach(t.resolveCallbacks,(function(e){e(o,s)})),void(t.resolveCallbacks.length=0);var a=i[n++];(s="function"==typeof a?a.call():a).get?s.get((function(t){e(t,t?null:s)})):e(null,s)}()}return t}}),r.CredentialProviderChain.defaultProviders=[],r.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=r.util.promisifyMethod("resolve",e)},r.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},r.util.addPromises(r.CredentialProviderChain)},{"../core":20}],25:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.SAMLCredentials=r.util.inherit(r.Credentials,{constructor:function(e){r.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML((function(n,r){n||t.service.credentialsFrom(r,t),e(n)}))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":9,"../core":20}],26:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.TemporaryCredentials=r.util.inherit(r.Credentials,{constructor:function(e,t){r.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get((function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,(function(n,r){n||t.service.credentialsFrom(r,t),e(n)}))}))},loadMasterCredentials:function(e){for(this.masterCredentials=e||r.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new r.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{"../../clients/sts":9,"../core":20}],27:[function(e,t,n){var r=e("../core"),i=e("../../clients/sts");r.WebIdentityCredentials=r.util.inherit(r.Credentials,{constructor:function(e,t){r.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=r.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||r.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity((function(n,r){t.data=null,n||(t.data=r,t.service.credentialsFrom(r,t)),e(n)}))},createClients:function(){if(!this.service){var e=r.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{"../../clients/sts":9,"../core":20}],28:[function(e,t,n){(function(n){(function(){function r(e){var t=e.service,n=t.api||{},r={};return t.config.region&&(r.region=t.config.region),n.serviceId&&(r.serviceId=n.serviceId),t.config.credentials.accessKeyId&&(r.accessKeyId=t.config.credentials.accessKeyId),r}function i(e,t,n){n&&null!=t&&"structure"===n.type&&n.required&&n.required.length>0&&h.arrayEach(n.required,(function(r){var o=n.members[r];if(!0===o.endpointDiscoveryId){var s=o.isLocationName?o.name:r;e[s]=String(t[r])}else i(e,t[r],o)}))}function o(e,t){var n={};return i(n,e.params,t),n}function s(e){var t=e.service,n=t.api,i=n.operations?n.operations[e.operation]:void 0,s=o(e,i?i.input:void 0),a=r(e);Object.keys(s).length>0&&(a=h.update(a,s),i&&(a.operation=i.name));var u=d.endpointCache.get(a);if(!u||1!==u.length||""!==u[0].Address)if(u&&u.length>0)e.httpRequest.updateEndpoint(u[0].Address);else{var l=t.makeRequest(n.endpointOperation,{Operation:i.name,Identifiers:s});c(l),l.removeListener("validate",d.EventListeners.Core.VALIDATE_PARAMETERS),l.removeListener("retry",d.EventListeners.Core.RETRY_CHECK),d.endpointCache.put(a,[{Address:"",CachePeriodInMinutes:1}]),l.send((function(e,t){t&&t.Endpoints?d.endpointCache.put(a,t.Endpoints):e&&d.endpointCache.put(a,[{Address:"",CachePeriodInMinutes:1}])}))}}function a(e,t){var n=e.service,i=n.api,s=i.operations?i.operations[e.operation]:void 0,a=s?s.input:void 0,u=o(e,a),l=r(e);Object.keys(u).length>0&&(l=h.update(l,u),s&&(l.operation=s.name));var p=d.EndpointCache.getKeyString(l),f=d.endpointCache.get(p);if(f&&1===f.length&&""===f[0].Address)return m[p]||(m[p]=[]),void m[p].push({request:e,callback:t});if(f&&f.length>0)e.httpRequest.updateEndpoint(f[0].Address),t();else{var g=n.makeRequest(i.endpointOperation,{Operation:s.name,Identifiers:u});g.removeListener("validate",d.EventListeners.Core.VALIDATE_PARAMETERS),c(g),d.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:60}]),g.send((function(n,r){if(n){if(e.response.error=h.error(n,{retryable:!1}),d.endpointCache.remove(l),m[p]){var i=m[p];h.arrayEach(i,(function(e){e.request.response.error=h.error(n,{retryable:!1}),e.callback()})),delete m[p]}}else r&&(d.endpointCache.put(p,r.Endpoints),e.httpRequest.updateEndpoint(r.Endpoints[0].Address),m[p])&&(i=m[p],h.arrayEach(i,(function(e){e.request.httpRequest.updateEndpoint(r.Endpoints[0].Address),e.callback()})),delete m[p]);t()}))}}function c(e){var t=e.service.api.apiVersion;t&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=t)}function u(e){var t=e.error,n=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===n.statusCode)){var i=e.request,s=i.service.api.operations||{},a=o(i,s[i.operation]?s[i.operation].input:void 0),c=r(i);Object.keys(a).length>0&&(c=h.update(c,a),s[i.operation]&&(c.operation=s[i.operation].name)),d.endpointCache.remove(c)}}function l(e){return["false","0"].indexOf(e)>=0}function p(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!h.isBrowser()){for(var r=0;r-1&&0==++e[t];t--);}var o=e("../core").util,s=o.buffer.toBuffer;r.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),n=7,o=Math.abs(Math.round(e));n>-1&&o>0;n--,o/=256)t[n]=o;return e<0&&i(t),new r(t)},r.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString("hex"),16)*(t?-1:1)},r.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:r}},{"../core":20}],32:[function(e,t,n){var r=e("./parse-message").parseMessage;t.exports={parseEvent:function(e,t,n){var i=r(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw function(e){var t=e.headers[":error-code"],n=e.headers[":error-message"],r=new Error(n.value||n);return r.code=r.name=t.value||t,r}(i);if("event"!==o.value)return}var s=i.headers[":event-type"],a=n.members[s.value];if(a){var c={},u=a.eventPayloadMemberName;if(u){var l=a.members[u];"binary"===l.type?c[u]=i.body:c[u]=e.parse(i.body.toString(),l)}for(var p=a.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();r.util.computeSha256(o,(function(n,r){n?t(n):(e.httpRequest.headers["X-Amz-Content-Sha256"]=r,t())}))}else t()}})),e("SET_CONTENT_LENGTH","afterBuild",(function(e){var t=function(e){if(!e.service.api.operations)return"";var t=e.service.api.operations[e.operation];return t?t.authtype:""}(e),n=r.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var i=r.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=i}catch(r){if(n&&n.isStreaming){if(n.requiresLength)throw r;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw r}throw r}})),e("SET_HTTP_HOST","afterBuild",(function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host})),e("RESTART","restart",(function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new r.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],(function(e){e?t(e):o()})):o()})),e("HTTP_HEADERS","httpHeaders",(function(e,t,n,i){n.httpResponse.statusCode=e,n.httpResponse.statusMessage=i,n.httpResponse.headers=t,n.httpResponse.body=r.util.buffer.toBuffer(""),n.httpResponse.buffers=[],n.httpResponse.numBytes=0;var o=t.date||t.Date,s=n.request.service;if(o){var a=Date.parse(o);s.config.correctClockSkew&&s.isClockSkewed(a)&&s.applyClockOffset(a)}})),e("HTTP_DATA","httpData",(function(e,t){if(e){if(r.util.isNode()){t.httpResponse.numBytes+=e.length;var n=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:n};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(r.util.buffer.toBuffer(e))}})),e("HTTP_DONE","httpDone",(function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=r.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers})),e("FINALIZE_ERROR","retry",(function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))})),e("INVALIDATE_CREDENTIALS","retry",(function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}})),e("EXPIRED_SIGNATURE","retry",(function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)})),e("CLOCK_SKEWED","retry",(function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)})),e("REDIRECT","retry",(function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new r.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)})),e("RETRY_CHECK","retry",(function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,n)):t()}))})),CorePost:(new i).addNamedListeners((function(e){e("EXTRACT_REQUEST_ID","extractData",r.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",r.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",(function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof r.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(r.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=r.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}}))})),Logger:(new i).addNamedListeners((function(t){t("LOG_REQUEST","complete",(function(t){function n(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return r.util.each(t,(function(t,r){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=n(e.members[t],r):i[t]=r})),i;case"list":var o=[];return r.util.arrayEach(t,(function(t,r){o.push(n(e.member,t))})),o;case"map":var s={};return r.util.each(t,(function(t,r){s[t]=n(e.value,r)})),s;default:return t}}var i=t.request,o=i.service.config.logger;if(o){var s=function(){var s=(t.request.service.getSkewCorrectedDate().getTime()-i.startTime.getTime())/1e3,a=!!o.isTTY,c=t.httpResponse.statusCode,u=i.params;i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input&&(u=n(i.service.api.operations[i.operation].input,i.params));var l=e("util").inspect(u,!0,null),p="";return a&&(p+=""),p+="[AWS "+i.service.serviceIdentifier+" "+c,p+=" "+s.toString()+"s "+t.retryCount+" retries]",a&&(p+=""),p+=" "+r.util.string.lowerFirst(i.operation),p+="("+l+")",a&&(p+=""),p}();"function"==typeof o.log?o.log(s):"function"==typeof o.write&&o.write(s+"\n")}}))})),Json:(new i).addNamedListeners((function(t){var n=e("./protocol/json");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),Rest:(new i).addNamedListeners((function(t){var n=e("./protocol/rest");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),RestJson:(new i).addNamedListeners((function(t){var n=e("./protocol/rest_json");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),RestXml:(new i).addNamedListeners((function(t){var n=e("./protocol/rest_xml");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)})),Query:(new i).addNamedListeners((function(t){var n=e("./protocol/query");t("BUILD","build",n.buildRequest),t("EXTRACT_DATA","extractData",n.extractData),t("EXTRACT_ERROR","extractError",n.extractError)}))}},{"./core":20,"./discover_endpoint":28,"./protocol/json":48,"./protocol/query":49,"./protocol/rest":50,"./protocol/rest_json":51,"./protocol/rest_xml":52,"./sequential_executor":60,util:99}],36:[function(e,t,n){var r=e("./core"),i=r.util.inherit;r.Endpoint=i({constructor:function(e,t){if(r.util.hideProperties(this,["slashes","auth","hash","search","query"]),null==e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return r.util.copy(e);e.match(/^http/)||(e=((t&&void 0!==t.sslEnabled?t.sslEnabled:r.config.sslEnabled)?"https":"http")+"://"+e),r.util.update(this,r.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),r.HttpRequest=i({constructor:function(e,t){e=new r.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=r.util.userAgent()},getUserAgentHeaderName:function(){return(r.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=r.util.queryStringParse(e),r.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new r.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),r.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),r.HttpClient=i({}),r.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":20}],37:[function(e,t,n){var r=e("../core"),i=e("events").EventEmitter;e("../http"),r.XHRClient=r.util.inherit({handleRequest:function(e,t,n,o){var s=this,a=e.endpoint,c=new i,u=a.protocol+"//"+a.hostname;80!==a.port&&443!==a.port&&(u+=":"+a.port),u+=e.path;var l=new XMLHttpRequest,p=!1;e.stream=l,l.addEventListener("readystatechange",(function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!p&&(c.statusCode=l.status,c.headers=s.parseHeaders(l.getAllResponseHeaders()),c.emit("headers",c.statusCode,c.headers,l.statusText),p=!0),this.readyState===this.DONE&&s.finishRequest(l,c)}),!1),l.upload.addEventListener("progress",(function(e){c.emit("sendProgress",e)})),l.addEventListener("progress",(function(e){c.emit("receiveProgress",e)}),!1),l.addEventListener("timeout",(function(){o(r.util.error(new Error("Timeout"),{code:"TimeoutError"}))}),!1),l.addEventListener("error",(function(){o(r.util.error(new Error("Network Failure"),{code:"NetworkingError"}))}),!1),l.addEventListener("abort",(function(){o(r.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))}),!1),n(c),l.open(e.method,u,!1!==t.xhrAsync),r.util.each(e.headers,(function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&l.setRequestHeader(e,t)})),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType="arraybuffer"}catch(e){}try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return c},parseHeaders:function(e){var t={};return r.util.arrayEach(e.split(/\r?\n/),(function(e){var n=e.split(":",1)[0],r=e.substring(n.length+2);n.length>0&&(t[n.toLowerCase()]=r)})),t},finishRequest:function(e,t){var n;if("arraybuffer"===e.responseType&&e.response){var i=e.response;n=new r.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s-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 p(){o.apply(this,arguments),this.toType=function(e){var t=m.base64.decode(e);if(this.isSensitive&&m.isNode()&&"function"==typeof m.Buffer.alloc){var n=m.Buffer.alloc(t.length,t);t.fill(0),t=n}return t},this.toWireFormat=m.base64.encode}function d(){p.apply(this,arguments)}function h(){o.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null==e?null:"true"===e}}var f=e("./collection"),m=e("../util");o.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},o.types={structure:a,list:c,map:u,boolean:h,timestamp:function(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?null:"function"==typeof e.toUTCString?e:"string"==typeof e||"number"==typeof e?m.date.parseTimestamp(e):null},this.toWireFormat=function(e){return m.date.format(e,t.timestampFormat)}},float:function(){o.apply(this,arguments),this.toType=function(e){return null==e?null:parseFloat(e)},this.toWireFormat=this.toType},integer:function(){o.apply(this,arguments),this.toType=function(e){return null==e?null:parseInt(e,10)},this.toWireFormat=this.toType},string:l,base64:d,binary:p},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 s=function(){r.constructor.call(this,e,t,n)};return s.prototype=r,new s}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var a=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: "+a)},o.shapes={StructureShape:a,ListShape:c,MapShape:u,StringShape:l,BooleanShape:h,Base64Shape:d},t.exports=o},{"../util":73,"./collection":41}],46:[function(e,t,n){var r=e("./core");r.ParamValidator=r.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,n){if(this.errors=[],this.validateMember(e,t||{},n||"params"),this.errors.length>1){var i=this.errors.join("\n* ");throw i="There were "+this.errors.length+" validation errors:\n* "+i,r.util.error(new Error(i),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(r.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,n){this.validateType(t,n,["object"],"structure");for(var r,i=0;e.required&&i= 1, but found "'+t+'" for '+n)},validatePattern:function(e,t,n){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+n))},validateRange:function(e,t,n,r){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+n),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+r+" <= "+e.max+", but found "+t+" for "+n)},validateEnum:function(e,t,n){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+n)},validateType:function(e,t,n,i){if(null==e)return!1;for(var o=!1,s=0;s63)throw r.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!n.test(e))throw i.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})}))}(e.httpRequest.endpoint.hostname)}return e}}},{"../core":20,"../util":73}],48:[function(e,t,n){var r=e("../util"),i=e("../json/builder"),o=e("../json/parser"),s=e("./helpers").populateHostPrefix;t.exports={buildRequest:function(e){var t=e.httpRequest,n=e.service.api,r=n.targetPrefix+"."+n.operations[e.operation].name,o=n.jsonVersion||"1.0",a=n.operations[e.operation].input,c=new i;1===o&&(o="1.0"),t.body=c.build(e.params||{},a),t.headers["Content-Type"]="application/x-amz-json-"+o,t.headers["X-Amz-Target"]=r,s(e)},extractError:function(e){var t={},n=e.httpResponse;if(t.code=n.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),n.body.length>0)try{var i=JSON.parse(n.body.toString()),o=i.__type||i.code||i.Code;o&&(t.code=o.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=n.statusCode,t.message=n.statusMessage}else t.statusCode=n.statusCode,t.message=n.statusCode.toString();e.error=r.error(new Error,t)},extractData:function(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var n=e.request.service.api.operations[e.request.operation].output||{},r=new o;e.data=r.parse(t,n)}}}},{"../json/builder":38,"../json/parser":39,"../util":73,"./helpers":47}],49:[function(e,t,n){var r=e("../core"),i=e("../util"),o=e("../query/query_param_serializer"),s=e("../model/shape"),a=e("./helpers").populateHostPrefix;t.exports={buildRequest:function(e){var t=e.service.api.operations[e.operation],n=e.httpRequest;n.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",n.params={Version:e.service.api.apiVersion,Action:t.name},(new o).serialize(e.params,t.input,(function(e,t){n.params[e]=t})),n.body=i.queryParamsToString(n.params),a(e)},extractError:function(e){var t,n=e.httpResponse.body.toString();if(n.match("=0?"&":"?";var c=[];i.arrayEach(Object.keys(s).sort(),(function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){var p=(t=new r.XML.Parser).parse(s.toString(),c);i.update(e.data,p)}}}},{"../core":20,"../util":73,"./rest":50}],53:[function(e,t,n){function r(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function o(e,t,n,r){a.each(n.members,(function(n,o){var a=t[n];if(null!=a){var c=i(o);s(c=e?e+"."+c:c,a,o,r)}}))}function s(e,t,n,r){null!=t&&("structure"===n.type?o(e,t,n,r):"list"===n.type?function(e,t,n,r){var o=n.member||{};0!==t.length?a.arrayEach(t,(function(t,a){var c="."+(a+1);if("ec2"===n.api.protocol)c+="";else if(n.flattened){if(o.name){var u=e.split(".");u.pop(),u.push(i(o)),e=u.join(".")}}else c="."+(o.name?o.name:"member")+c;s(e+c,t,o,r)})):r.call(this,e,null)}(e,t,n,r):"map"===n.type?function(e,t,n,r){var i=1;a.each(t,(function(t,o){var a=(n.flattened?".":".entry.")+i+++".",c=a+(n.key.name||"key"),u=a+(n.value.name||"value");s(e+c,t,n.key,r),s(e+u,o,n.value,r)}))}(e,t,n,r):r(e,n.toWireFormat(t).toString()))}var a=e("../util");r.prototype.serialize=function(e,t,n){o("",e,t,n)},t.exports=r},{"../util":73}],54:[function(e,t,n){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],55:[function(e,t,n){function r(e,t){i.each(t,(function(t,n){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=n))}))}var i=e("./util"),o=e("./region_config_data.json");t.exports={configureEndpoint:function(e){for(var t=function(e){var t=e.config.region,n=function(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}(t),r=e.api.endpointPrefix;return[[t,r],[n,r],[t,"*"],[n,"*"],["*",r],["*","*"]].map((function(e){return e[0]&&e[1]?e.join("/"):null}))}(e),n=0;n=0){c=!0;var u=0}var l=function(){c&&u!==a?i.emit("error",n.util.error(new Error("Stream content length mismatch. Received "+u+" of "+a+" bytes."),{code:"StreamContentLengthMismatch"})):2===n.HttpClient.streamsApiVersion?i.end():i.emit("end")},p=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(c){var d=new e.PassThrough;d._write=function(t){return t&&t.length&&(u+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},d.on("end",l),i.on("error",(function(e){c=!1,p.unpipe(d),d.emit("end"),d.end()})),p.pipe(d).pipe(i,{end:!1})}else p.pipe(i);else c&&p.on("data",(function(e){e&&e.length&&(u+=e.length)})),p.on("data",(function(e){i.emit("data",e)})),p.on("end",l);p.on("error",(function(e){c=!1,i.emit("error",e)}))}})),i},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),n.SequentialExecutor.prototype.emit.call(this,e,t,(function(e){e&&(this.response.error=e),r.call(this,e)}))},eventParameters:function(e){switch(e){case"restart":case"validate":case"sign":case"build":case"afterValidate":case"afterBuild":return[this];case"error":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||"function"!=typeof e||(t=e,e=null),(new n.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",n.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),n.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e((function(e,n){t.on("complete",(function(t){t.error?n(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))})),t.runTo()}))}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":20,"./state_machine":72,_process:87,jmespath:86}],58:[function(e,t,n){function r(e){var t=e.request._waiter,n=t.config.acceptors,r=!1,i="retry";n.forEach((function(n){if(!r){var o=t.matchers[n.matcher];o&&o(e,n.expected,n.argument)&&(r=!0,i=n.state)}})),!r&&e.error&&(i="failure"),"success"===i?t.setSuccess(e):t.setError(e,"retry"===i)}var i=e("./core"),o=i.util.inherit,s=e("jmespath");i.ResourceWaiter=o({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,n){try{var r=s.search(e.data,n)}catch(e){return!1}return s.strictDeepEqual(r,t)},pathAll:function(e,t,n){try{var r=s.search(e.data,n)}catch(e){return!1}Array.isArray(r)||(r=[r]);var i=r.length;if(!i)return!1;for(var o=0;o-1&&n.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,n){n||(n=function(){});var r=this.listeners(e),i=r.length;return this.callListeners(r,t,n),i>0},callListeners:function(e,t,n,i){function o(i){if(i&&(a=r.util.error(a||new Error,i),s._haltHandlersOnError))return n.call(s,a);s.callListeners(e,t,n,a)}for(var s=this,a=i||null;e.length>0;){var c=e.shift();if(c._isAsync)return void c.apply(s,t.concat([o]));try{c.apply(s,t)}catch(e){a=r.util.error(a||new Error,e)}if(a&&s._haltHandlersOnError)return void n.call(s,a)}n.call(s,a)},addListeners:function(e){var t=this;return e._events&&(e=e._events),r.util.each(e,(function(e,n){"function"==typeof n&&(n=[n]),r.util.arrayEach(n,(function(n){t.on(e,n)}))})),t},addNamedListener:function(e,t,n,r){return this[e]=n,this.addListener(t,n,r),this},addNamedAsyncListener:function(e,t,n,r){return n._isAsync=!0,this.addNamedListener(e,t,n,r)},addNamedListeners:function(e){var t=this;return e((function(){t.addNamedListener.apply(t,arguments)}),(function(){t.addNamedAsyncListener.apply(t,arguments)})),this}}),r.SequentialExecutor.prototype.addListener=r.SequentialExecutor.prototype.on,t.exports=r.SequentialExecutor},{"./core":20}],61:[function(e,t,n){(function(n){(function(){var r=e("./core"),i=e("./model/api"),o=e("./region_config"),s=r.util.inherit,a=0;r.Service=s({constructor:function(e){if(!this.loadServiceClass)throw r.util.error(new Error,"Service must be constructed with `new' operator");var t=this.loadServiceClass(e||{});if(t){var n=r.util.copy(e),i=new t(e);return Object.defineProperty(i,"_originalConfig",{get:function(){return n},enumerable:!1,configurable:!0}),i._clientId=++a,i}this.initialize(e)},initialize:function(e){var t=r.config[this.serviceIdentifier];if(this.config=new r.Config(r.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),r.SequentialExecutor.call(this),r.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||r.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",(function(e){n.nextTick((function(){i.eventHandler(e)}))})),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",(function(e){n.nextTick((function(){i.eventHandler(e)}))}))}},validateService:function(){},loadServiceClass:function(e){var t=e;if(r.util.isEmpty(this.api)){if(t.apiConfig)return r.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){(t=new r.Config(r.config)).update(e,!0);var n=t.apiVersions[this.constructor.serviceIdentifier];return n=n||t.apiVersion,this.getLatestServiceClass(n)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&r.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?r.util.isType(e,Date)&&(e=r.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),n=null,i=t.length-1;i>=0;i--)if("*"!==t[i][t[i].length-1]&&(n=t[i]),t[i].substr(0,10)<=e)return n;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,n){if("function"==typeof t&&(n=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=r.util.copy(t),r.util.each(this.config.params,(function(e,n){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=n))})))}var o=new r.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),n&&o.send(n),o},makeUnauthenticatedRequest:function(e,t,n){"function"==typeof t&&(n=t,t={});var r=this.makeRequest(e,t).toUnauthenticated();return n?r.send(n):r},waitFor:function(e,t,n){return new r.ResourceWaiter(this,e).wait(t,n)},addAllRequestListeners:function(e){for(var t=[r.events,r.EventListeners.Core,this.serviceInterface(),r.EventListeners.CorePost],n=0;n299?(i.code&&(n.FinalAwsException=i.code),i.message&&(n.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(n.FinalSdkException=i.code||i.name),i.message&&(n.FinalSdkExceptionMessage=i.message))}return n},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],n={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},r=e.response;return r.httpResponse.statusCode&&(n.HttpStatusCode=r.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(n.AccessKey=e.service.config.credentials.accessKeyId),r.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(n.SessionToken=e.httpRequest.headers["x-amz-security-token"]),r.httpResponse.headers["x-amzn-requestid"]&&(n.XAmznRequestId=r.httpResponse.headers["x-amzn-requestid"]),r.httpResponse.headers["x-amz-request-id"]&&(n.XAmzRequestId=r.httpResponse.headers["x-amz-request-id"]),r.httpResponse.headers["x-amz-id-2"]&&(n.XAmzId2=r.httpResponse.headers["x-amz-id-2"]),n):n},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),n=e.response,r=n.error;return n.httpResponse.statusCode>299?(r.code&&(t.AwsException=r.code),r.message&&(t.AwsExceptionMessage=r.message)):((r.code||r.name)&&(t.SdkException=r.code||r.name),r.message&&(t.SdkExceptionMessage=r.message)),t},attachMonitoringEmitter:function(e){var t,n,i,o,s,a,c=0,u=this;e.on("validate",(function(){o=r.util.realClock.now(),a=Date.now()}),!0),e.on("sign",(function(){n=r.util.realClock.now(),t=Date.now(),s=e.httpRequest.region,c++}),!0),e.on("validateResponse",(function(){i=Math.round(r.util.realClock.now()-n)})),e.addNamedListener("API_CALL_ATTEMPT","success",(function(){var n=u.apiAttemptEvent(e);n.Timestamp=t,n.AttemptLatency=i>=0?i:0,n.Region=s,u.emit("apiCallAttempt",[n])})),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",(function(){var o=u.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(r.util.realClock.now()-n),o.AttemptLatency=i>=0?i:0,o.Region=s,u.emit("apiCallAttempt",[o])})),e.addNamedListener("API_CALL","complete",(function(){var t=u.apiCallEvent(e);if(t.AttemptCount=c,!(t.AttemptCount<=0)){t.Timestamp=a;var n=Math.round(r.util.realClock.now()-o);t.Latency=n>=0?n:0;var i=e.response;i.error&&i.error.retryable&&"number"==typeof i.retryCount&&"number"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),u.emit("apiCall",[t])}}))},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,n=null,i="";return e&&(i=(n=(e.service.api.operations||{})[e.operation]||null)?n.authtype:""),t=this.config.signatureVersion?this.config.signatureVersion:"v4"===i||"v4-unsigned-body"===i?"v4":this.api.signatureVersion,r.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return r.EventListeners.Query;case"json":return r.EventListeners.Json;case"rest-json":return r.EventListeners.RestJson;case"rest-xml":return r.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return r.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||!!this.networkingError(e)||!!this.expiredCredentialsError(e)||!!this.throttledError(e)||e.statusCode>=500},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;return e.replace(/\{service\}/g,this.api.endpointPrefix).replace(/\{region\}/g,this.config.region).replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new r.Endpoint(e,this.config)},paginationConfig:function(e,t){var n=this.api.operations[e].paginator;if(!n){if(t){var i=new Error;throw r.util.error(i,"No pagination configuration for "+e)}return null}return n}}),r.util.update(r.Service,{defineMethods:function(e){r.util.each(e.prototype.api.operations,(function(t){e.prototype[t]||("none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,n){return this.makeUnauthenticatedRequest(t,e,n)}:e.prototype[t]=function(e,n){return this.makeRequest(t,e,n)})}))},defineService:function(e,t,n){r.Service._serviceMap[e]=!0,Array.isArray(t)||(n=t,t=[]);var i=s(r.Service,n||{});if("string"==typeof e){r.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,r.Service.defineMethods(i);if(r.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&r.util.clientSideMonitoring){var a=r.util.clientSideMonitoring.Publisher,c=(0,r.util.clientSideMonitoring.configProvider)();this.prototype.publisher=new a(c),c.enabled&&(r.Service._clientSideMonitoring=!0)}return r.SequentialExecutor.call(i.prototype),r.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var n=0;n604800)throw o.util.error(new Error,{code:"InvalidExpiryTime",message:"Presigning does not support expiry time greater than a week with SigV4 signing.",retryable:!1});e.httpRequest.headers[a]=t}else{if(n!==o.Signers.S3)throw o.util.error(new Error,{message:"Presigning only supports S3 or SigV4 signing.",code:"UnsupportedSigner",retryable:!1});var r=e.service?e.service.getSkewCorrectedDate():o.util.date.getDate();e.httpRequest.headers[a]=parseInt(o.util.date.unixTimestamp(r)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,n=o.util.urlParse(e.httpRequest.path),r={};n.search&&(r=o.util.queryStringParse(n.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(" ");if("AWS"===i[0])i=i[1].split(":"),r.Signature=i.pop(),r.AWSAccessKeyId=i.join(":"),o.util.each(e.httpRequest.headers,(function(e,t){e===a&&(e="Expires"),0===e.indexOf("x-amz-meta-")&&(delete r[e],e=e.toLowerCase()),r[e]=t})),delete e.httpRequest.headers[a],delete r.Authorization,delete r.Host;else if("AWS4-HMAC-SHA256"===i[0]){i.shift();var s=i.join(" ").match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1];r["X-Amz-Signature"]=s,delete r.Expires}t.pathname=n.pathname,t.search=o.util.queryParamsToString(r)}var o=e("../core"),s=o.util.inherit,a="presigned-expires";o.Signers.Presign=s({sign:function(e,t,n){if(e.httpRequest.headers[a]=t||3600,e.on("build",r),e.on("sign",i),e.removeListener("afterBuild",o.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener("afterBuild",o.EventListeners.Core.COMPUTE_SHA256),e.emit("beforePresign",[e]),!n){if(e.build(),e.response.error)throw e.response.error;return o.util.urlFormat(e.httpRequest.endpoint)}e.build((function(){this.response.error?n(this.response.error):n(null,o.util.urlFormat(e.httpRequest.endpoint))}))}}),t.exports=o.Signers.Presign},{"../core":20}],65:[function(e,t,n){var r=e("../core"),i=r.util.inherit;r.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),r.Signers.RequestSigner.getVersion=function(e){switch(e){case"v2":return r.Signers.V2;case"v3":return r.Signers.V3;case"s3v4":case"v4":return r.Signers.V4;case"s3":return r.Signers.S3;case"v3https":return r.Signers.V3Https}throw new Error("Unknown signing version "+e)},e("./v2"),e("./v3"),e("./v3https"),e("./v4"),e("./s3"),e("./presign")},{"../core":20,"./presign":64,"./s3":66,"./v2":67,"./v3":68,"./v3https":69,"./v4":70}],66:[function(e,t,n){var r=e("../core"),i=r.util.inherit;r.Signers.S3=i(r.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{"response-content-type":1,"response-content-language":1,"response-expires":1,"response-cache-control":1,"response-content-disposition":1,"response-content-encoding":1},addAuthorization:function(e,t){this.request.headers["presigned-expires"]||(this.request.headers["X-Amz-Date"]=r.util.date.rfc822(t)),e.sessionToken&&(this.request.headers["x-amz-security-token"]=e.sessionToken);var n=this.sign(e.secretAccessKey,this.stringToSign()),i="AWS "+e.accessKeyId+":"+n;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers["Content-MD5"]||""),t.push(e.headers["Content-Type"]||""),t.push(e.headers["presigned-expires"]||"");var n=this.canonicalizedAmzHeaders();return n&&t.push(n),t.push(this.canonicalizedResource()),t.join("\n")},canonicalizedAmzHeaders:function(){var e=[];r.util.each(this.request.headers,(function(t){t.match(/^x-amz-/i)&&e.push(t)})),e.sort((function(e,t){return e.toLowerCase()=0?"&":"?";this.request.path+=o+r.util.queryParamsToString(i)},authorization:function(e,t){var n=[],r=this.credentialString(t);return n.push(this.algorithm+" Credential="+e.accessKeyId+"/"+r),n.push("SignedHeaders="+this.signedHeaders()),n.push("Signature="+this.signature(e,t)),n.join(", ")},signature:function(e,t){var n=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return r.util.crypto.hmac(n,this.stringToSign(t),"hex")},stringToSign:function(e){var t=[];return t.push("AWS4-HMAC-SHA256"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join("\n")},canonicalString:function(){var e=[],t=this.request.pathname();return"s3"!==this.serviceName&&"s3v4"!==this.signatureVersion&&(t=r.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+"\n"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join("\n")},canonicalHeaders:function(){var e=[];r.util.each.call(this,this.request.headers,(function(t,n){e.push([t,n])})),e.sort((function(e,t){return e[0].toLowerCase()50&&delete i[o.shift()]),d},emptyCache:function(){i={},o=[]}}},{"../core":20}],72:[function(e,t,n){function r(e,t){this.currentState=t||null,this.states=e||{}}r.prototype.runTo=function(e,t,n,r){"function"==typeof e&&(r=n,n=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(n||i,r,(function(r){if(r){if(!o.fail)return t?t.call(n,r):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(n):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(n,r):null;i.runTo(e,t,n,r)}))},r.prototype.addState=function(e,t,n,r){return"function"==typeof t?(r=t,t=null,n=null):"function"==typeof n&&(r=n,n=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:n,fn:r},this},t.exports=r},{}],73:[function(e,t,n){(function(n,r){(function(){var i,o={environment:"nodejs",engine:function(){if(o.isBrowser()&&"undefined"!=typeof navigator)return navigator.userAgent;var e=n.platform+"/"+n.version;return n.env.AWS_EXECUTION_ENV&&(e+=" exec-env/"+n.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=o.environment,n="aws-sdk-"+t+"/"+e("./core").VERSION;return"nodejs"===t&&(n+=" "+o.engine()),n},uriEscape:function(e){var t=encodeURIComponent(e);return(t=t.replace(/[^A-Za-z0-9_.~\-%]+/g,escape)).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],s=n(r),a=s+"=";if(Array.isArray(i)){var c=[];o.arrayEach(i,(function(e){c.push(n(e))})),a=s+"="+c.sort().join("&"+s+"=")}else null!=i&&(a=s+"="+n(i));t.push(a)})),t.join("&")},readFileSync:function(t){return o.isBrowser()?null:e("fs").readFileSync(t,"utf-8")},base64:{encode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 encode number "+e));return null==e?e:o.buffer.toBuffer(e).toString("base64")},decode:function(e){if("number"==typeof e)throw o.error(new Error("Cannot base64 decode number "+e));return null==e?e:o.buffer.toBuffer(e,"base64")}},buffer:{toBuffer:function(e,t){return"function"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e,t):new o.Buffer(e,t)},alloc:function(e,t,n){if("number"!=typeof e)throw new Error("size passed to alloc must be a number.");if("function"==typeof o.Buffer.alloc)return o.Buffer.alloc(e,t,n);var r=new o.Buffer(e);return void 0!==t&&"function"==typeof r.fill&&r.fill(t,void 0,void 0,n),r},toStream:function(e){o.Buffer.isBuffer(e)||(e=o.buffer.toBuffer(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,r=0,i=0;for(t=0;t>>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=o.buffer.toBuffer(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=o.buffer.toBuffer(t));var s=o.arraySliceFn(t),a=o.Buffer.isBuffer(t);if(o.isBrowser()&&"undefined"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),r&&"object"==typeof t&&"function"==typeof t.on&&!a)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||!s||a||"undefined"==typeof FileReader){o.isBrowser()&&"object"==typeof t&&!a&&(t=new o.Buffer(new Uint8Array(t)));var c=i.update(t).digest(n);return r&&r(null,c),c}var u=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),u+=e.length,l._continueReading()},l._continueReading=function(){if(u>=t.size)r(null,i.digest(n));else{var e=u+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,u,e))}},l._continueReading()}},toHex:function(e){for(var t=[],n=0;n=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=0)return a++,void setTimeout(u,i+(e.retryAfter||0))}n(e)},u=function(){var t="";r.handleRequest(e,s,(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,s=o.error(new Error,{statusCode:r,retryable:r>=500||429===r});i&&s.retryable&&(s.retryAfter=i),c(s)}}))}),c)};i.util.defer(u)},uuid:{v4:function(){return e("uuid").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 n&&"function"==typeof n.nextTick?n.nextTick(e):"function"==typeof r?r(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var n=(t||{})[e.operation];if(n&&n.input&&n.input.payload)return n.input.members[n.input.payload]}},getProfilesFromSharedConfig:function(e,t){function r(e,t){for(var n=0,r=Object.keys(t);n=6},parse:function(e){var t=e.split(":");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(":")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw o.error(new Error("Input ARN object is invalid"));return"arn:"+(e.partition||"aws")+":"+e.service+":"+e.region+":"+e.accountId+":"+e.resource}},defaultProfile:"default",configOptInEnv:"AWS_SDK_LOAD_CONFIG",sharedCredentialsFileEnv:"AWS_SHARED_CREDENTIALS_FILE",sharedConfigFileEnv:"AWS_CONFIG_FILE",imdsDisabledEnv:"AWS_EC2_METADATA_DISABLED"};t.exports=o}).call(this)}).call(this,e("_process"),e("timers").setImmediate)},{"../apis/metadata.json":5,"./core":20,_process:87,fs:81,timers:95,uuid:100}],74:[function(e,t,n){function r(){}function i(e,t){for(var n=e.getElementsByTagName(t),r=0,i=n.length;r0||r?s.toString():""},t.exports=r},{"../util":73,"./xml-node":78,"./xml-text":79}],76:[function(e,t,n){t.exports={escapeAttribute:function(e){return e.replace(/&/g,"&").replace(/'/g,"'").replace(//g,">").replace(/"/g,""")}}},{}],77:[function(e,t,n){t.exports={escapeElement:function(e){return e.replace(/&/g,"&").replace(//g,">")}}},{}],78:[function(e,t,n){function r(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e("./escape-attribute").escapeAttribute;r.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},r.prototype.addChildNode=function(e){return this.children.push(e),this},r.prototype.removeAttribute=function(e){return delete this.attributes[e],this},r.prototype.toString=function(){for(var e=Boolean(this.children.length),t="<"+this.name,n=this.attributes,r=0,o=Object.keys(n);r"+this.children.map((function(e){return e.toString()})).join("")+"":"/>")},t.exports={XmlNode:r}},{"./escape-attribute":76}],79:[function(e,t,n){function r(e){this.value=e}var i=e("./escape-element").escapeElement;r.prototype.toString=function(){return i(""+this.value)},t.exports={XmlText:r}},{"./escape-element":77}],80:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function i(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function o(e,t,n){for(var r,o=[],s=t;s0?o-4:o;for(n=0;n>16&255,u[l++]=t>>8&255,u[l++]=255&t;return 2===s&&(t=a[e.charCodeAt(n)]<<2|a[e.charCodeAt(n+1)]>>4,u[l++]=255&t),1===s&&(t=a[e.charCodeAt(n)]<<10|a[e.charCodeAt(n+1)]<<4|a[e.charCodeAt(n+2)]>>2,u[l++]=t>>8&255,u[l++]=255&t),u},n.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i=[],a=0,c=n-r;ac?c:a+16383));return 1===r?(t=e[n-1],i.push(s[t>>2]+s[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"=")),i.join("")};for(var s=[],a=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,p=u.length;l=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function p(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 D(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return D(e).length;t=(""+t).toLowerCase(),r=!0}}function d(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return I(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function f(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:m(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):m(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var s,a=1,c=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,c/=2,u/=2,n/=2}if(i){var l=-1;for(s=n;sc&&(n=c-u),s=n;s>=0;s--){for(var p=!0,d=0;di&&(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 s=0;s>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?j.fromByteArray(e):j.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:u>223?3:u>191?2:1;if(i+p<=n)switch(p){case 1:u<128&&(l=u);break;case 2:128==(192&(o=e[i+1]))&&(c=(31&u)<<6|63&o)>127&&(l=c);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(c=(15&u)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(l=c);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(l=c)}null===l?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=p}return function(e){var t=e.length;if(t<=B)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,i,s){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function R(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i>>8*(r?i:1-i)}function O(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i>>8*(r?i:3-i)&255}function N(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 M(e,t,n,r,i){return i||N(e,0,n,4),F.write(e,t,n,r,23,4),n+4}function L(e,t,n,r,i){return i||N(e,0,n,8),F.write(e,t,n,r,52,8),n+8}function P(e){return e<16?"0"+e.toString(16):e.toString(16)}function D(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],s=0;s55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+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 U(e){return j.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function q(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}var j=e("base64-js"),F=e("ieee754"),W=e("isarray");n.Buffer=o,n.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},n.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.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}}(),n.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return s(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 function(e,t,n,r){return a(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)}(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,s=Math.min(n,r);i0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(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(this===e)return 0;for(var s=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),c=Math.min(s,a),u=this.slice(r,i),l=e.slice(t,n),p=0;pi)&&(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 g(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return b(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(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 B=4096;o.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||A(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||A(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||A(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||A(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||A(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||A(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||A(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||A(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||A(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||A(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||A(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||A(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||A(e,4,this.length),F.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||A(e,4,this.length),F.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||A(e,8,this.length),F.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||A(e,8,this.length),F.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||x(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o=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||x(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||x(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||x(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):O(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||x(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):O(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);x(this,e,t,n,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&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);x(this,e,t,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||x(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||x(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):R(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||x(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):R(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||x(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):O(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||x(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):O(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return M(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return M(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return L(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return L(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=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=0;--i)e[i+t]=this[i+n];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(s=t;s0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!i(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,s,a;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(n=this._events[e]).length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(o(n)){for(a=s;a-- >0;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],84:[function(e,t,n){n.read=function(e,t,n,r,i){var o,s,a=8*i-r-1,c=(1<>1,l=-7,p=n?i-1:0,d=n?-1:1,h=e[t+p];for(p+=d,o=h&(1<<-l)-1,h>>=-l,l+=a;l>0;o=256*o+e[t+p],p+=d,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+e[t+p],p+=d,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(h?-1:1);s+=Math.pow(2,r),o-=u}return(h?-1:1)*s*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),(t+=s+p>=1?d/c:d*Math.pow(2,1-p))*c>=2&&(s++,c/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(t*c-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[n+h]=255&a,h+=f,a/=256,i-=8);for(s=s<0;e[n+h]=255&s,h+=f,s/=256,u-=8);e[n+h-f]|=128*m}},{}],85:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],86:[function(e,t,n){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function n(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var o=0;o="a"&&e<="z"||e>="A"&&e<="Z"||"_"===e}function s(e){return e>="0"&&e<="9"||"-"===e}function a(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"_"===e}function c(){}function u(){}function l(e){this.runtime=e}function p(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[h]}]},avg:{_func:this._functionAvg,_signature:[{types:[b]}]},ceil:{_func:this._functionCeil,_signature:[{types:[h]}]},contains:{_func:this._functionContains,_signature:[{types:[m,g]},{types:[f]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[m]},{types:[m]}]},floor:{_func:this._functionFloor,_signature:[{types:[h]}]},length:{_func:this._functionLength,_signature:[{types:[m,g,v]}]},map:{_func:this._functionMap,_signature:[{types:[y]},{types:[g]}]},max:{_func:this._functionMax,_signature:[{types:[b,w]}]},merge:{_func:this._functionMerge,_signature:[{types:[v],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[g]},{types:[y]}]},sum:{_func:this._functionSum,_signature:[{types:[b]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[m]},{types:[m]}]},min:{_func:this._functionMin,_signature:[{types:[b,w]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[g]},{types:[y]}]},type:{_func:this._functionType,_signature:[{types:[f]}]},keys:{_func:this._functionKeys,_signature:[{types:[v]}]},values:{_func:this._functionValues,_signature:[{types:[v]}]},sort:{_func:this._functionSort,_signature:[{types:[w,b]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[g]},{types:[y]}]},join:{_func:this._functionJoin,_signature:[{types:[m]},{types:[w]}]},reverse:{_func:this._functionReverse,_signature:[{types:[m,g]}]},to_array:{_func:this._functionToArray,_signature:[{types:[f]}]},to_string:{_func:this._functionToString,_signature:[{types:[f]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[f]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[f],variadic:!0}]}}}var d;d="function"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\s*(.*)/)[1]};var h=0,f=1,m=2,g=3,v=4,y=6,b=8,w=9,E={".":"Dot","*":"Star",",":"Comma",":":"Colon","{":"Lbrace","}":"Rbrace","]":"Rbracket","(":"Lparen",")":"Rparen","@":"Current"},C={"<":!0,">":!0,"=":!0,"!":!0},S={" ":!0,"\t":!0,"\n":!0};c.prototype={tokenize:function(e){var t,n,r,i=[];for(this._current=0;this._current"===n?"="===e[this._current]?(this._current++,{type:"GTE",value:">=",start:t}):{type:"GT",value:">",start:t}:"="===n&&"="===e[this._current]?(this._current++,{type:"EQ",value:"==",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,n=this._current,r=e.length;"`"!==e[this._current]&&this._current=0)return!0;if(["true","false","null"].indexOf(e)>=0)return!0;if(!("-0123456789".indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var T={EOF:0,UnquotedIdentifier:0,QuotedIdentifier:0,Rbracket:0,Rparen:0,Comma:0,Rbrace:0,Number:0,Current:0,Expref:0,Pipe:1,Or:2,And:3,EQ:5,GT:5,LT:5,GTE:5,LTE:5,NE:5,Flatten:9,Star:20,Filter:21,Dot:40,Not:45,Lbrace:50,Lbracket:55,Lparen:60};u.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if("EOF"!==this._lookahead(0)){var n=this._lookaheadToken(0),r=new Error("Unexpected token type: "+n.type+", value: "+n.value);throw r.name="ParserError",r}return t},_loadTokens:function(e){var t=(new c).tokenize(e);t.push({type:"EOF",value:"",start:e.length}),this.tokens=t},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var n=this.nud(t),r=this._lookahead(0);e=0?this.expression(e):"Lbracket"===t?(this._match("Lbracket"),this._parseMultiselectList()):"Lbrace"===t?(this._match("Lbrace"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(T[this._lookahead(0)]<10)t={type:"Identity"};else if("Lbracket"===this._lookahead(0))t=this.expression(e);else if("Filter"===this._lookahead(0))t=this.expression(e);else{if("Dot"!==this._lookahead(0)){var n=this._lookaheadToken(0),r=new Error("Sytanx error, unexpected token: "+n.value+"("+n.type+")");throw r.name="ParserError",r}this._match("Dot"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];"Rbracket"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),"Comma"===this._lookahead(0)&&(this._match("Comma"),"Rbracket"===this._lookahead(0)))throw new Error("Unexpected token Rbracket")}return this._match("Rbracket"),{type:"MultiSelectList",children:e}},_parseMultiselectHash:function(){for(var e,t,n,r=[],i=["UnquotedIdentifier","QuotedIdentifier"];;){if(e=this._lookaheadToken(0),i.indexOf(e.type)<0)throw new Error("Expecting an identifier token, got: "+e.type);if(t=e.value,this._advance(),this._match("Colon"),n={type:"KeyValuePair",name:t,value:this.expression(0)},r.push(n),"Comma"===this._lookahead(0))this._match("Comma");else if("Rbrace"===this._lookahead(0)){this._match("Rbrace");break}}return{type:"MultiSelectHash",children:r}}},l.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,o){var s,a,c,u,l,p,d,h,f;switch(e.type){case"Field":return null===o?null:n(o)?void 0===(p=o[e.name])?null:p:null;case"Subexpression":for(c=this.visit(e.children[0],o),f=1;f0)for(f=y;fb;f+=w)c.push(o[f]);return c;case"Projection":var E=this.visit(e.children[0],o);if(!t(E))return null;for(h=[],f=0;fl;break;case"GTE":c=u>=l;break;case"LT":c=u=e&&(t=n<0?e-1:e),t}},p.prototype={callFunction:function(e,t){var n=this.functionTable[e];if(void 0===n)throw new Error("Unknown function: "+e+"()");return this._validateArgs(e,t,n._signature),n._func.call(this,t)},_validateArgs:function(e,t,n){var r;if(n[n.length-1].variadic){if(t.length=0;r--)n+=t[r];return n}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,n=e[0],r=0;r=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return n(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],n=this._interpreter,r=e[0],i=e[1],o=0;o0){if(this._getTypeName(e[0][0])===h)return Math.max.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;r0){if(this._getTypeName(e[0][0])===h)return Math.min.apply(Math,e[0]);for(var t=e[0],n=t[0],r=1;ra?1:ss&&(s=n,t=i[a]);return t},_functionMinBy:function(e){for(var t,n,r=e[1],i=e[0],o=this.createKeyFunction(r,[h,m]),s=1/0,a=0;a1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),r+u((e=e.replace(L,".")).split("."),t).join(".")}function p(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(t+=q((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+q(e)})).join("")}function h(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function f(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function m(e,t,n){var r=0;for(e=n?U(e/A):e>>1,e+=U(e/t);e>D*k>>1;r+=T)e=U(e/D);return U(r+(D+1)*e/(e+_))}function g(e){var t,n,r,i,o,s,a,u,l,p,f=[],g=e.length,v=0,y=R,b=x;for((n=e.lastIndexOf(O))<0&&(n=0),r=0;r=128&&c("not-basic"),f.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=g&&c("invalid-input"),((u=h(e.charCodeAt(i++)))>=T||u>U((S-v)/s))&&c("overflow"),v+=u*s,!(u<(l=a<=b?I:a>=b+k?k:a-b));a+=T)s>U(S/(p=T-l))&&c("overflow"),s*=p;b=m(v-o,t=f.length+1,0==o),U(v/t)>S-y&&c("overflow"),y+=U(v/t),v%=t,f.splice(v++,0,y)}return d(f)}function v(e){var t,n,r,i,o,s,a,u,l,d,h,g,v,y,b,w=[];for(g=(e=p(e)).length,t=R,n=0,o=x,s=0;s=t&&hU((S-n)/(v=r+1))&&c("overflow"),n+=(a-t)*v,t=a,s=0;sS&&c("overflow"),h==t){for(u=n,l=T;!(u<(d=l<=o?I:l>=o+k?k:l-o));l+=T)b=u-d,y=T-d,w.push(q(f(d+b%y,0))),u=U(b/y);w.push(q(f(u,0))),o=m(n,v,r==i),n=0,++r}++n,++t}return w.join("")}var y="object"==typeof s&&s&&!s.nodeType&&s,b="object"==typeof o&&o&&!o.nodeType&&o,w="object"==typeof i&&i;w.global!==w&&w.window!==w&&w.self!==w||(a=w);var E,C,S=2147483647,T=36,I=1,k=26,_=38,A=700,x=72,R=128,O="-",N=/^xn--/,M=/[^\x20-\x7E]/,L=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=T-I,U=Math.floor,q=String.fromCharCode;if(E={version:"1.3.2",ucs2:{decode:p,encode:d},decode:g,encode:v,toASCII:function(e){return l(e,(function(e){return M.test(e)?"xn--"+v(e):e}))},toUnicode:function(e){return l(e,(function(e){return N.test(e)?g(e.slice(4).toLowerCase()):e}))}},n.amdO)void 0===(r=function(){return E}.call(t,n,t,e))||(e.exports=r);else if(y&&b)if(o.exports==y)b.exports=E;else for(C in E)E.hasOwnProperty(C)&&(y[C]=E[C]);else a.punycode=E}(this)}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],89:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,o){t=t||"&",n=n||"=";var s={};if("string"!=typeof e||0===e.length)return s;var a=/\+/g;e=e.split(t);var c=1e3;o&&"number"==typeof o.maxKeys&&(c=o.maxKeys);var u=e.length;c>0&&u>c&&(u=c);for(var l=0;l=0?(p=m.substr(0,g),d=m.substr(g+1)):(p=m,d=""),h=decodeURIComponent(p),f=decodeURIComponent(d),r(s,h)?i(s[h])?s[h].push(f):s[h]=[s[h],f]:s[h]=f}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],90:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r0&&c>a&&(c=a);for(var u=0;u=0?(l=f.substr(0,m),p=f.substr(m+1)):(l=f,p=""),d=decodeURIComponent(l),h=decodeURIComponent(p),r(o,d)?Array.isArray(o[d])?o[d].push(h):o[d]=[o[d],h]:o[d]=h}return o}},{}],93:[function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,i){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var o=encodeURIComponent(r(i))+n;return Array.isArray(e[i])?e[i].map((function(e){return o+encodeURIComponent(r(e))})).join(t):o+encodeURIComponent(r(e[i]))})).join(t):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(e)):""}},{}],94:[function(e,t,n){arguments[4][91][0].apply(n,arguments)},{"./decode":92,"./encode":93,dup:91}],95:[function(e,t,n){(function(t,r){(function(){function i(e,t){this._id=e,this._clearFn=t}var o=e("process/browser.js").nextTick,s=Function.prototype.apply,a=Array.prototype.slice,c={},u=0;n.setTimeout=function(){return new i(s.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new i(s.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n.setImmediate="function"==typeof t?t:function(e){var t=u++,r=!(arguments.length<2)&&a.call(arguments,1);return c[t]=!0,o((function(){c[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))})),t},n.clearImmediate="function"==typeof r?r:function(e){delete c[e]}}).call(this)}).call(this,e("timers").setImmediate,e("timers").clearImmediate)},{"process/browser.js":87,timers:95}],96:[function(e,t,n){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,n){if(e&&s(e)&&e instanceof r)return e;var i=new r;return i.parse(e,t,n),i}function o(e){return"string"==typeof e}function s(e){return"object"==typeof e&&null!==e}function a(e){return null===e}var c=e("punycode");n.parse=i,n.resolve=function(e,t){return i(e,!1,!0).resolve(t)},n.resolveObject=function(e,t){return e?i(e,!1,!0).resolveObject(t):t},n.format=function(e){return o(e)&&(e=i(e)),e instanceof r?e.format():r.prototype.format.call(e)},n.Url=r;var u=/^([a-z0-9.+-]+:)/i,l=/:[0-9]*$/,p=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),d=["'"].concat(p),h=["%","/","?",";","#"].concat(d),f=["/","?","#"],m=/^[a-z0-9A-Z_-]{0,63}$/,g=/^([a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},y={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=e("querystring");r.prototype.parse=function(e,t,n){if(!o(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e;r=r.trim();var i=u.exec(r);if(i){var s=(i=i[0]).toLowerCase();this.protocol=s,r=r.substr(i.length)}if(n||i||r.match(/^\/\/[^@\/]+@[^@\/]+/)){var a="//"===r.substr(0,2);!a||i&&y[i]||(r=r.substr(2),this.slashes=!0)}if(!y[i]&&(a||i&&!b[i])){for(var l=-1,p=0;p127?A+="x":A+=_[x];if(!A.match(m)){var O=I.slice(0,p),N=I.slice(p+1),M=_.match(g);M&&(O.push(M[1]),N.unshift(M[2])),N.length&&(r="/"+N.join(".")+r),this.hostname=O.join(".");break}}}if(this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),!T){var L=this.hostname.split("."),P=[];for(p=0;p0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),n.search=e.search,n.query=e.query,a(n.pathname)&&a(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!h.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var m=h.slice(-1)[0],g=(n.host||e.host)&&("."===m||".."===m)||""===m,v=0,w=h.length;w>=0;w--)"."==(m=h[w])?h.splice(w,1):".."===m?(h.splice(w,1),v++):v&&(h.splice(w,1),v--);if(!p&&!d)for(;v--;v)h.unshift("..");!p||""===h[0]||h[0]&&"/"===h[0].charAt(0)||h.unshift(""),g&&"/"!==h.join("/").substr(-1)&&h.push("");var E,C=""===h[0]||h[0]&&"/"===h[0].charAt(0);return f&&(n.hostname=n.host=C?"":h.length?h.shift():"",(E=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=E.shift(),n.host=n.hostname=E.shift())),(p=p||n.host&&h.length)&&!C&&h.unshift(""),h.length?n.pathname=h.join("/"):(n.pathname=null,n.path=null),a(n.pathname)&&a(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=l.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:88,querystring:91}],97:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],98:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],99:[function(e,t,n){(function(t,r){(function(){function i(e,t){var r={seen:[],stylize:s};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),d(t)?r.showHidden=t:t&&n._extend(r,t),g(r.showHidden)&&(r.showHidden=!1),g(r.depth)&&(r.depth=2),g(r.colors)&&(r.colors=!1),g(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),a(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function s(e,t){return e}function a(e,t,r){if(e.customInspect&&t&&E(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(r,e);return m(i)||(i=a(e,i,r)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),d=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),w(t)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return u(t);if(0===s.length){if(E(t)){var h=t.name?": "+t.name:"";return e.stylize("[Function"+h+"]","special")}if(v(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(b(t))return e.stylize(Date.prototype.toString.call(t),"date");if(w(t))return u(t)}var f,g="",y=!1,C=["{","}"];return p(t)&&(y=!0,C=["[","]"]),E(t)&&(g=" [Function"+(t.name?": "+t.name:"")+"]"),v(t)&&(g=" "+RegExp.prototype.toString.call(t)),b(t)&&(g=" "+Date.prototype.toUTCString.call(t)),w(t)&&(g=" "+u(t)),0!==s.length||y&&0!=t.length?r<0?v(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),f=y?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(f,g,C)):C[0]+g+C[1]}function c(e,t){if(g(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return f(t)?e.stylize(""+t,"number"):d(t)?e.stylize(""+t,"boolean"):h(t)?e.stylize("null","null"):void 0}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,n,r,i,o){var s,c,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?c=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(c=e.stylize("[Setter]","special")),I(r,i)||(s="["+i+"]"),c||(e.seen.indexOf(u.value)<0?(c=h(n)?a(e,u.value,null):a(e,u.value,n-1)).indexOf("\n")>-1&&(c=o?c.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+c.split("\n").map((function(e){return" "+e})).join("\n")):c=e.stylize("[Circular]","special")),g(s)){if(o&&i.match(/^\d+$/))return c;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+c}function p(e){return Array.isArray(e)}function d(e){return"boolean"==typeof e}function h(e){return null===e}function f(e){return"number"==typeof e}function m(e){return"string"==typeof e}function g(e){return void 0===e}function v(e){return y(e)&&"[object RegExp]"===C(e)}function y(e){return"object"==typeof e&&null!==e}function b(e){return y(e)&&"[object Date]"===C(e)}function w(e){return y(e)&&("[object Error]"===C(e)||e instanceof Error)}function E(e){return"function"==typeof e}function C(e){return Object.prototype.toString.call(e)}function S(e){return e<10?"0"+e.toString(10):e.toString(10)}function T(){var e=new Date,t=[S(e.getHours()),S(e.getMinutes()),S(e.getSeconds())].join(":");return[e.getDate(),x[e.getMonth()],t].join(" ")}function I(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var k=/%[sdj%]/g;n.format=function(e){if(!m(e)){for(var t=[],n=0;n=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n>>((3&t)<<3)&255;return o}}},{}],103:[function(e,t,n){var r,i,o=e("./lib/rng"),s=e("./lib/bytesToUuid"),a=0,c=0;t.exports=function(e,t,n){var u=t&&n||0,l=t||[],p=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:i;if(null==p||null==d){var h=o();null==p&&(p=r=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==d&&(d=i=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=f-a+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=f,c=m,i=d;var v=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;l[u++]=v>>>24&255,l[u++]=v>>>16&255,l[u++]=v>>>8&255,l[u++]=255&v;var y=f/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=d>>>8|128,l[u++]=255&d;for(var b=0;b<6;++b)l[u+b]=p[b];return t||s(l)}},{"./lib/bytesToUuid":101,"./lib/rng":102}],104:[function(e,t,n){var r=e("./lib/rng"),i=e("./lib/bytesToUuid");t.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}},{"./lib/bytesToUuid":101,"./lib/rng":102}],105:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./utils/LRU"),i=function(){function e(e){void 0===e&&(e=1e3),this.maxSize=e,this.cache=new r.LRUCache(e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,n){var r="string"!=typeof t?e.getKeyString(t):t,i=this.populateValue(n);this.cache.put(r,i)},e.prototype.get=function(t){var n="string"!=typeof t?e.getKeyString(t):t,r=Date.now(),i=this.cache.get(n);if(i)for(var o=0;o{var r=n(639).Symbol;e.exports=r},239:(e,t,n)=>{var r=n(705),i=n(607),o=n(333),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?i(e):o(e)}},561:(e,t,n)=>{var r=n(990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},957:e=>{var t="object"==typeof global&&global&&global.Object===Object&&global;e.exports=t},607:(e,t,n)=>{var r=n(705),i=Object.prototype,o=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,a),n=e[a];try{e[a]=void 0;var r=!0}catch(e){}var i=s.call(e);return r&&(t?e[a]=n:delete e[a]),i}},333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},639:(e,t,n)=>{var r=n(957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},279:(e,t,n)=>{var r=n(218),i=n(771),o=n(841),s=Math.max,a=Math.min;e.exports=function(e,t,n){var c,u,l,p,d,h,f=0,m=!1,g=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=c,r=u;return c=u=void 0,f=t,p=e.apply(r,n)}function b(e){return f=e,d=setTimeout(E,t),m?y(e):p}function w(e){var n=e-h;return void 0===h||n>=t||n<0||g&&e-f>=l}function E(){var e=i();if(w(e))return C(e);d=setTimeout(E,function(e){var n=t-(e-h);return g?a(n,l-(e-f)):n}(e))}function C(e){return d=void 0,v&&c?y(e):(c=u=void 0,p)}function S(){var e=i(),n=w(e);if(c=arguments,u=this,h=e,n){if(void 0===d)return b(h);if(g)return clearTimeout(d),d=setTimeout(E,t),y(h)}return void 0===d&&(d=setTimeout(E,t)),p}return t=o(t)||0,r(n)&&(m=!!n.leading,l=(g="maxWait"in n)?s(o(n.maxWait)||0,t):l,v="trailing"in n?!!n.trailing:v),S.cancel=function(){void 0!==d&&clearTimeout(d),f=0,c=h=u=d=void 0},S.flush=function(){return void 0===d?p:C(i())},S}},218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},448:(e,t,n)=>{var r=n(239),i=n(5);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},771:(e,t,n)=>{var r=n(639);e.exports=function(){return r.Date.now()}},493:(e,t,n)=>{var r=n(279),i=n(218);e.exports=function(e,t,n){var o=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(n)&&(o="leading"in n?!!n.leading:o,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:o,maxWait:t,trailing:s})}},841:(e,t,n)=>{var r=n(561),i=n(218),o=n(448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):s.test(e)?NaN:+e}},975:(e,t,n)=>{var r;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(e){return a(u(e),arguments)}function s(e,t){return o.apply(null,[e].concat(t||[]))}function a(e,t){var n,r,s,a,c,u,l,p,d,h=1,f=e.length,m="";for(r=0;r=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?m+=n:(!i.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",n=n.toString().replace(i.sign,"")),u=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",l=a.width-(d+n).length,c=a.width&&l>0?u.repeat(l):"",m+=a.align?d+n+c:"0"===u?d+c+n:c+d+n)}return m}var c=Object.create(null);function u(e){if(c[e])return c[e];for(var t,n=e,r=[],o=0;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],a=t[2],u=[];if(null===(u=i.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(u[1]);""!==(a=a.substring(u[0].length));)if(null!==(u=i.key_access.exec(a)))s.push(u[1]);else{if(null===(u=i.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(u[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}t.sprintf=o,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(r=function(){return{sprintf:o,vsprintf:s}}.call(t,n,t,e))||(e.exports=r))}()}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";class e extends Error{constructor(e){super(e),this.name="ValueError"}}class t extends Error{constructor(e){super(e),this.name="UnImplementedMethod"}}class r extends Error{constructor(e,t){super(e),this.name="IllegalArgument",this.argument=t}}Error,Error;var i=new class{constructor(){this.stage="prod",this.region="us-west-2",this.reconnect=!0;var e=this;this.features=new Proxy([],{set:function(t,n,r){console.log("new features added, initialValue: "+t[n]+" , newValue: "+r,Array.isArray(t[n]));var i=t[n];return Array.isArray(r)&&r.forEach((t=>{Array.isArray(i)&&-1===i.indexOf(t)&&Array.isArray(e.featureChangeListeners[t])&&(e.featureChangeListeners[t].forEach((e=>e())),e._cleanFeatureChangeListener(t))})),t[n]=r,!0}}),this.featureChangeListeners=[]}update(e){var t=e||{};this.stage=t.stage||this.stage,this.region=t.region||this.region,this.endpointOverride=t.endpoint||this.endpointOverride,this.reconnect=!1!==t.reconnect&&this.reconnect,this.messageReceiptThrottleTime=t.throttleTime?t.throttleTime:5e3,this.features.values=Array.isArray(t.features)?[...t.features]:new Array}updateStageRegion(e){e&&(this.stage=e.stage||this.stage,this.region=e.region||this.region)}updateThrottleTime(e){this.messageReceiptThrottleTime=e||this.messageReceiptThrottleTime}getMessageReceiptsThrottleTime(){return this.messageReceiptThrottleTime}getStage(){return this.stage}getRegion(){return this.region}getEndpointOverride(){return this.endpointOverride}setFeatureFlag(e){if(!this.isFeatureEnabled(e)){var t=Array.isArray(this.features.values)?this.features.values:[];this.features.values=[...t,e]}}_registerFeatureChangeListener(e,t){this.featureChangeListeners[e]||(this.featureChangeListeners[e]=[]),this.featureChangeListeners[e].push(t)}_cleanFeatureChangeListener(e){delete this.featureChangeListeners[e]}isFeatureEnabled(e,t){return Array.isArray(this.features.values)&&-1!==this.features.values.indexOf(e)?"function"!=typeof t||t():("function"==typeof t&&this._registerFeatureChangeListener(e,t),!1)}},o="PARTICIPANT_CONN_ACK",s="MESSAGE_RECEIPTS_ENABLED",a={AGENT:"AGENT",CUSTOMER:"CUSTOMER"},c="API",u="SendMessage",l="SendAttachment",p="DownloadAttachment",d="SendEvent",h="GetTranscript",f="DisconnectParticipant",m="CreateParticipantConnection",g="InitWebsocket",v={INCOMING_MESSAGE:"INCOMING_MESSAGE",INCOMING_TYPING:"INCOMING_TYPING",INCOMING_READ_RECEIPT:"INCOMING_READ_RECEIPT",INCOMING_DELIVERED_RECEIPT:"INCOMING_DELIVERED_RECEIPT",CONNECTION_ESTABLISHED:"CONNECTION_ESTABLISHED",CONNECTION_LOST:"CONNECTION_LOST",CONNECTION_BROKEN:"CONNECTION_BROKEN",CONNECTION_ACK:"CONNECTION_ACK",CHAT_ENDED:"CHAT_ENDED",MESSAGE_METADATA:"MESSAGEMETADATA",PARTICIPANT_IDLE:"PARTICIPANT_IDLE",PARTICIPANT_RETURNED:"PARTICIPANT_RETURNED",AUTODISCONNECTION:"AUTODISCONNECTION"},y={textPlain:"text/plain",textMarkdown:"text/markdown",textCsv:"text/csv",applicationDoc:"application/msword",applicationDocx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",applicationJson:"application/json",applicationPdf:"application/pdf",applicationPpt:"application/vnd.ms-powerpoint",applicationPptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",applicationXls:"application/vnd.ms-excel",applicationXlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",imageJpg:"image/jpeg",imagePng:"image/png",audioWav:"audio/wav",audioXWav:"audio/x-wav",audioVndWave:"audio/vnd.wave",connectionAcknowledged:"application/vnd.amazonaws.connect.event.connection.acknowledged",typing:"application/vnd.amazonaws.connect.event.typing",participantJoined:"application/vnd.amazonaws.connect.event.participant.joined",participantLeft:"application/vnd.amazonaws.connect.event.participant.left",participantActive:"application/vnd.amazonaws.connect.event.participant.active",participantInactive:"application/vnd.amazonaws.connect.event.participant.inactive",transferSucceeded:"application/vnd.amazonaws.connect.event.transfer.succeeded",transferFailed:"application/vnd.amazonaws.connect.event.transfer.failed",chatEnded:"application/vnd.amazonaws.connect.event.chat.ended",interactiveMessage:"application/vnd.amazonaws.connect.message.interactive",interactiveMessageResponse:"application/vnd.amazonaws.connect.message.interactive.response",readReceipt:"application/vnd.amazonaws.connect.event.message.read",deliveredReceipt:"application/vnd.amazonaws.connect.event.message.delivered",participantIdle:"application/vnd.amazonaws.connect.event.participant.idle",participantReturned:"application/vnd.amazonaws.connect.event.participant.returned",autoDisconnection:"application/vnd.amazonaws.connect.event.participant.autodisconnection"},b={[y.typing]:v.INCOMING_TYPING,[y.readReceipt]:v.INCOMING_READ_RECEIPT,[y.deliveredReceipt]:v.INCOMING_DELIVERED_RECEIPT,[y.participantIdle]:v.PARTICIPANT_IDLE,[y.participantReturned]:v.PARTICIPANT_RETURNED,[y.autoDisconnection]:v.AUTODISCONNECTION,default:v.INCOMING_MESSAGE},w=3540,E=n(975),C={assertTrue:function(t,n){if(!t)throw new e(n)},assertNotNull:function(e,t){return C.assertTrue(null!=e,(0,E.sprintf)("%s must be provided",t||"A value")),e},now:function(){return(new Date).getTime()},isString:function(e){return"string"==typeof e},randomId:function(){return(0,E.sprintf)("%s-%s",C.now(),Math.random().toString(36).slice(2))},assertIsNonEmptyString:function(e,t){if(!e||"string"!=typeof e)throw new r(t+" is not a non-empty string!")},assertIsList:function(e,t){if(!Array.isArray(e))throw new r(t+" is not an array")},assertIsEnum:function(e,t,n){var i;for(i=0;inew Promise((t=>setTimeout(t,e))),asyncWhileInterval:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,o=new Date;return t(r)?e(r).catch((i=>{var s=Math.max(0,n-(new Date).valueOf()+o.valueOf());return C.delay(s).then((()=>C.asyncWhileInterval(e,t,n,r+1,i)))})):Promise.reject(i||new Error("async while aborted"))},isAttachmentContentType:function(e){return e===y.applicationPdf||e===y.imageJpg||e===y.imagePng||e===y.applicationDoc||e===y.applicationXls||e===y.applicationPpt||e===y.textCsv||e===y.audioWav}};const S=C;var T={DEBUG:10,INFO:20,WARN:30,ERROR:40,ADVANCED_LOG:50},I=new class{constructor(){this.updateLoggerConfig()}writeToClientLogger(e,t,n){if(this.hasClientLogger()){var r=function(e){switch(e){case 10:return"DEBUG";case 20:return"INFO";case 30:return"WARN";case 40:return"ERROR";case 50:return"ADVANCED_LOG"}}(e);switch(e){case T.DEBUG:return this._clientLogger.debug(r,t,n)||t;case T.INFO:return this._clientLogger.info(r,t,n)||t;case T.WARN:return this._clientLogger.warn(r,t,n)||t;case T.ERROR:return this._clientLogger.error(r,t,n)||t;case T.ADVANCED_LOG:return this._advancedLogWriter&&this._clientLogger[this._advancedLogWriter]&&this._clientLogger[this._advancedLogWriter](r,t,n)||t}}}isLevelEnabled(e){return e>=this._level}hasClientLogger(){return null!==this._clientLogger}getLogger(){return new _(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}updateLoggerConfig(e){var t=e||{};this._level=t.level||T.INFO,this._advancedLogWriter="warn",function(e,t){var n=t&&Object.keys(t);if(n&&-1===n.indexOf(e))return console.error("customizedLogger: incorrect value for loggerConfig:advancedLogWriter; use valid values from list ".concat(n," but used ").concat(e)),!1;var r=["warn","info","debug","log"];return!e||-1!==r.indexOf(e)||(console.error("incorrect value for loggerConfig:advancedLogWriter; use valid values from list ".concat(r," but used ").concat(e)),!1)}(t.advancedLogWriter,t.customizedLogger)&&(this._advancedLogWriter=t.advancedLogWriter),(t.customizedLogger&&"object"==typeof t.customizedLogger||t.logger&&"object"==typeof t.logger)&&(this.useClientLogger=!0),this._clientLogger=this.selectLogger(t)}selectLogger(e){return e.customizedLogger&&"object"==typeof e.customizedLogger?e.customizedLogger:e.logger&&"object"==typeof e.logger?e.logger:e.useDefaultLogger?A():null}};class k{debug(){}info(){}warn(){}error(){}}class _ extends k{constructor(e){super(),this.options=e||{}}debug(){for(var e=arguments.length,t=new Array(e),n=0;n{var e=new k;return e.debug=console.debug.bind(window.console),e.info=console.info.bind(window.console),e.warn=console.warn.bind(window.console),e.error=console.error.bind(window.console),e},x=(n(228),n(493)),R=n.n(x);function O(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;tthis._submitEvent(e,t,n)),1e4,{trailing:!1,leading:!0}));var t=new AWS.Credentials("",""),n=new AWS.Config({region:e.region,endpoint:e.endpoint,credentials:t});this.chatClient=new AWS.ConnectParticipant(n),this.invokeUrl=e.endpoint,this.logger=I.getLogger({prefix:"Amazon-Connect-ChatJS-ChatClient",logMetaData:e.logMetaData})}createParticipantConnection(e,t,n){var r=this,i={ParticipantToken:e,Type:t,ConnectParticipant:n},o=r.chatClient.createParticipantConnection(i);return r._sendRequest(o).then((e=>{var t,n;return null===(t=r.logger.info("Successfully create connection request"))||void 0===t||null===(n=t.sendInternalLogToServer)||void 0===n||n.call(t),e})).catch((e=>{var t,n;return null===(t=r.logger.error("Error when creating connection request ",e))||void 0===t||null===(n=t.sendInternalLogToServer)||void 0===n||n.call(t),Promise.reject(e)}))}disconnectParticipant(e){var t=this,n={ConnectionToken:e},r=t.chatClient.disconnectParticipant(n);return t._sendRequest(r).then((e=>{var n,r;return null===(n=t.logger.info("Successfully disconnect participant"))||void 0===n||null===(r=n.sendInternalLogToServer)||void 0===r||r.call(n),e})).catch((e=>{var n,r;return null===(n=t.logger.error("Error when disconnecting participant ",e))||void 0===n||null===(r=n.sendInternalLogToServer)||void 0===r||r.call(n),Promise.reject(e)}))}getTranscript(e,t){var n={MaxResults:t.maxResults,NextToken:t.nextToken,ScanDirection:t.scanDirection,SortOrder:t.sortOrder,StartPosition:{Id:t.startPosition.id,AbsoluteTime:t.startPosition.absoluteTime,MostRecent:t.startPosition.mostRecent},ConnectionToken:e};t.contactId&&(n.ContactId=t.contactId);var r=this.chatClient.getTranscript(n);return this._sendRequest(r).then((e=>(this.logger.info("Successfully get transcript"),e))).catch((e=>(this.logger.error("Get transcript error",e),Promise.reject(e))))}sendMessage(e,t,n){var r={Content:t,ContentType:n,ConnectionToken:e},i=this.chatClient.sendMessage(r);return this._sendRequest(i).then((e=>{var t,n={id:null===(t=e.data)||void 0===t?void 0:t.Id,contentType:r.ContentType};return this.logger.debug("Successfully send message",n),e})).catch((e=>(this.logger.error("Send message error",e,{contentType:r.ContentType}),Promise.reject(e))))}sendAttachment(e,t,n){var r=this,i={ContentType:t.type,AttachmentName:t.name,AttachmentSizeInBytes:t.size,ConnectionToken:e},o=r.chatClient.startAttachmentUpload(i),s={contentType:t.type,size:t.size};return r._sendRequest(o).then((n=>r._uploadToS3(t,n.data.UploadMetadata).then((()=>{var t,i={AttachmentIds:[n.data.AttachmentId],ConnectionToken:e};this.logger.debug("Successfully upload attachment",M(M({},s),{},{attachmentId:null===(t=n.data)||void 0===t?void 0:t.AttachmentId}));var o=r.chatClient.completeAttachmentUpload(i);return r._sendRequest(o)})))).catch((e=>(this.logger.error("Upload attachment error",e,s),Promise.reject(e))))}_uploadToS3(e,t){return fetch(t.Url,{method:"PUT",headers:t.HeadersToInclude,body:e})}downloadAttachment(e,t){var n=this,r={AttachmentId:t,ConnectionToken:e},i={attachmentId:t},o=n.chatClient.getAttachment(r);return n._sendRequest(o).then((e=>(this.logger.debug("Successfully download attachment",i),n._downloadUrl(e.data.Url)))).catch((e=>(this.logger.error("Download attachment error",e,i),Promise.reject(e))))}_downloadUrl(e){return fetch(e).then((e=>e.blob())).catch((e=>Promise.reject(e)))}sendEvent(e,t,n){return t===y.typing?this.throttleEvent(e,t,n):this._submitEvent(e,t,n)}_submitEvent(e,t,n){var r,i=this;return(r=function*(){var r=i,o={ConnectionToken:e,ContentType:t,Content:n},s=r.chatClient.sendEvent(o),a={contentType:t};try{var c,u=yield r._sendRequest(s);return i.logger.debug("Successfully send event",M(M({},a),{},{id:null===(c=u.data)||void 0===c?void 0:c.Id})),u}catch(e){return yield Promise.reject(e)}},function(){var e=this,t=arguments;return new Promise((function(n,i){var o=r.apply(e,t);function s(e){O(o,n,i,s,a,"next",e)}function a(e){O(o,n,i,s,a,"throw",e)}s(void 0)}))})()}_sendRequest(e){return new Promise(((t,n)=>{e.on("success",(function(e){t(e)})).on("error",(function(e){var t={type:e.code,message:e.message,stack:e.stack?e.stack.split("\n"):[],statusCode:e.statusCode};n(t)})).send()}))}}var D=new class{constructor(){this.clientCache={}}getCachedClient(e,t){var n=Object.assign({},e),r=e.region||i.getRegion()||"us-west-2";if(n.region=r,t.region=r,this.clientCache[r])return this.clientCache[r];var o=this._createAwsClient(n,t);return this.clientCache[r]=o,o}_createAwsClient(e,t){var n=e.region,r=i.getEndpointOverride(),o="https://participant.connect.".concat(n,".amazonaws.com");return r&&(o=r),new P({endpoint:o,region:n,logMetaData:t})}};class U extends class{validateNewControllerDetails(e){return!0}validateSendMessage(e){if(!S.isString(e.message))throw new r(e.message+"is not a valid message");this.validateContentType(e.contentType)}validateContentType(e){S.assertIsEnum(e,Object.values(y),"contentType")}validateConnectChat(e){return!0}validateLogger(e){S.assertIsObject(e,"logger"),["debug","info","warn","error"].forEach((t=>{if(!S.isFunction(e[t]))throw new r(t+" should be a valid function on the passed logger object!")}))}validateSendEvent(e){this.validateContentType(e.contentType)}validateGetMessages(e){return!0}}{validateChatDetails(e,t){if(S.assertIsObject(e,"chatDetails"),t===a.AGENT&&!S.isFunction(e.getConnectionToken))throw new r("getConnectionToken was not a function",e.getConnectionToken);if(S.assertIsNonEmptyString(e.contactId,"chatDetails.contactId"),S.assertIsNonEmptyString(e.participantId,"chatDetails.participantId"),t===a.CUSTOMER){if(!e.participantToken)throw new r("participantToken was not provided for a customer session type",e.participantToken);S.assertIsNonEmptyString(e.participantToken,"chatDetails.participantToken")}}validateInitiateChatResponse(){return!0}normalizeChatDetails(e){var t={};return t.contactId=e.ContactId||e.contactId,t.participantId=e.ParticipantId||e.participantId,t.initialContactId=e.InitialContactId||e.initialContactId||t.contactId||t.ContactId,t.getConnectionToken=e.getConnectionToken||e.GetConnectionToken,(e.participantToken||e.ParticipantToken)&&(t.participantToken=e.ParticipantToken||e.participantToken),this.validateChatDetails(t),t}}var q="NeverStarted",j="Starting",F="Connected",W="ConnectionLost",B="Ended",z="ConnectionLost",H="ConnectionGained",V="Ended",G="IncomingMessage",K="<>",X=function(e,t,n){this.subMap=e,this.id=S.randomId(),this.eventName=t,this.f=n};X.prototype.unsubscribe=function(){this.subMap.unsubscribe(this.eventName,this.id)};var J=function(){this.subIdMap={},this.subEventNameMap={}};J.prototype.subscribe=function(e,t){var n=new X(this,e,t);this.subIdMap[n.id]=n;var r=this.subEventNameMap[e]||[];return r.push(n),this.subEventNameMap[e]=r,()=>n.unsubscribe()},J.prototype.unsubscribe=function(e,t){S.contains(this.subEventNameMap,e)&&(this.subEventNameMap[e]=this.subEventNameMap[e].filter((function(e){return e.id!==t})),this.subEventNameMap[e].length<1&&delete this.subEventNameMap[e]),S.contains(this.subIdMap,t)&&delete this.subIdMap[t]},J.prototype.getAllSubscriptions=function(){return S.values(this.subEventNameMap).reduce((function(e,t){return e.concat(t)}),[])},J.prototype.getSubscriptions=function(e){return this.subEventNameMap[e]||[]};var Y=function(e){var t=e||{};this.subMap=new J,this.logEvents=t.logEvents||!1};Y.prototype.subscribe=function(e,t){return S.assertNotNull(e,"eventName"),S.assertNotNull(t,"f"),S.assertTrue(S.isFunction(t),"f must be a function"),this.subMap.subscribe(e,t)},Y.prototype.subscribeAll=function(e){return S.assertNotNull(e,"f"),S.assertTrue(S.isFunction(e),"f must be a function"),this.subMap.subscribe(K,e)},Y.prototype.getSubscriptions=function(e){return this.subMap.getSubscriptions(e)},Y.prototype.trigger=function(e,t){S.assertNotNull(e,"eventName");var n=this,r=this.subMap.getSubscriptions(K),i=this.subMap.getSubscriptions(e);r.concat(i).forEach((function(r){try{r.f(t||null,e,n)}catch(e){}}))},Y.prototype.triggerAsync=function(e,t){setTimeout((()=>this.trigger(e,t)),0)},Y.prototype.bridge=function(){var e=this;return function(t,n){e.trigger(n,t)}},Y.prototype.unsubscribeAll=function(){this.subMap.getAllSubscriptions().forEach((function(e){e.unsubscribe()}))};var $="Category",Q=new class{constructor(){this.widgetType="CustomChatWidget",this.logger=I.getLogger({prefix:"ChatJS-csmService"}),this.csmInitialized=!1,this.metricsToBePublished=[],this.agentMetricToBePublished=[],this.MAX_RETRY=5}loadCsmScriptAndExecute(){try{var e=document.createElement("script");e.type="text/javascript",e.innerHTML="(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension \\'' + dimensionName + '\\'. Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(`${objName}[${key}]`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.globalDimensions = []; // These dimensions are added to all captured metrics.\n csm.globalOptionalDimensions = [];\n csm.initFailureDimensions = [];\n\n const API = {\n getWorkflow: function(workflowType, instanceId, data) {\n return csm.workflow(workflowType, instanceId, data);\n },\n\n addMetric: function(metric) {\n csm.Util.assertExist(metric, 'metric');\n csm.putMetric(metric);\n },\n\n addMetricWithDedupe: function(metric, dedupeIntervalMs, context) {\n csm.Util.assertExist(metric, 'metric');\n csm.Util.assertExist(metric, 'dedupeIntervalMs');\n // context is optional; if present it will only dedupe on metrics with the same context. ex.) tabId\n metric.dedupeOptions = {dedupeIntervalMs, context: context || 'global'};\n csm.putMetric(metric);\n },\n\n addCount: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(count, 'count');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n csm.putMetric(metric);\n },\n\n addCountWithPageLocation: function(metricName) {\n csm.Util.assertExist(metricName, 'metricName');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, 1.0);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n addError: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n\n if (count === undefined || count == null) {\n count = 1.0;\n }\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n metric.addDimension('Metric', 'Error');\n csm.putMetric(metric);\n },\n\n addSuccess: function(metricName) {\n API.addError(metricName, 0);\n },\n\n addTime: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('Metric', 'Time');\n csm.putMetric(metric);\n },\n\n addTimeWithPageLocation: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n pageReady: function() {\n if (window.performance && window.performance.now) {\n const pageLoadTime = window.performance.now();\n const metric = new csm.Metric('PageReadyLatency', csm.UNIT.MILLISECONDS, pageLoadTime);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n }\n },\n\n setPageLocationTransformer: function(transformFunc) {\n csm.Util.assertExist(transformFunc, 'transformFunc');\n csm.Util.assertTrue((typeof transformFunc) === 'function');\n csm.Util.pageLocationTransformer = transformFunc;\n },\n\n setGlobalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalDimensions = dimensions;\n },\n\n setGlobalOptionalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalOptionalDimensions = dimensions;\n },\n\n setInitFailureDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.initFailureDimensions = dimensions;\n },\n\n putCustom: function(endpoint, headers, data) {\n csm.Util.assertExist(data, 'data');\n csm.Util.assertExist(endpoint, 'endpoint');\n csm.Util.assertExist(headers, 'headers');\n csm.putCustom(endpoint, headers, data);\n },\n\n setAuthParams: function(authParams) {\n csm.setAuthParams(authParams);\n },\n\n setConfig: function(key, value) {\n csm.Util.assertExist(key, 'key');\n csm.Util.assertExist(value, 'value');\n if (!csm.configuration[key]) {\n csm.setConfig(key, value); // set configuration variables such as accountId, instanceId, userId\n }\n },\n };\n\n csm.API = API;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n const WORKFLOW_KEY_PREFIX = 'csm.workflow';\n\n /**\n * Calculates the local storage key used to store a workflow of the specified type.\n * @param {string} type of workflow\n * @return {string} storage key\n */\n const getWorkflowKeyForType = function(type) {\n return [\n WORKFLOW_KEY_PREFIX,\n type,\n ].join('.');\n };\n\n /**\n * Constructor for new Workflow objects.\n *\n * If you need to be able to share a workflow across tabs, it is recommended\n * to use \"csm.workflow\" to create/hydrate your workflows instead.\n * @param {string} type of workflow\n * @param {string} instanceId of workflow\n * @param {JSON} data blob associated with workflow\n */\n const Workflow = function(type, instanceId, data) {\n this.type = type;\n this.instanceId = instanceId || csm.Util.randomId();\n this.instanceSpecified = instanceId || false;\n this.eventMap = {};\n this.data = data || {};\n\n // Merge global dimensions into the data map.\n const dimensionData = {};\n csm.globalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n csm.globalOptionalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n this.data = this._mergeData(dimensionData);\n };\n\n /**\n * Create a new workflow or rehydrate an existing shared workflow.\n *\n * @param {string} type The type of workflow to be created.\n * @param {string} instanceId The instanceId of the workflow. If not provided, it will be\n * assigned a random ID and will not be automatically saved to local storage.\n * If provided, we will attempt to load an existing workflow of the same type\n * from local storage and rehydrate it.\n * @param {JSON} data An optional map of key/value pairs to be added as data to every\n * workflow event created with this workflow.\n * @return {Workflow} workflow event\n * NOTE: Only one workflow of each type can be stored at the same time, to avoid\n * overloading localStorage with unused workflow records.\n */\n csm.workflow = function(type, instanceId, data) {\n let workflow = new Workflow(type, instanceId, data);\n\n if (instanceId) {\n const savedWorkflow = csm._loadWorkflow(type);\n if (savedWorkflow && savedWorkflow.instanceId === instanceId) {\n workflow = savedWorkflow;\n workflow.addData(data || {});\n }\n }\n\n return workflow;\n };\n\n csm._loadWorkflow = function(type) {\n let workflow = null;\n const workflowJson = localStorage.getItem(getWorkflowKeyForType(type));\n const workflowStruct = workflowJson ? JSON.parse(workflowJson) : null;\n if (workflowStruct) {\n workflow = new Workflow(type, workflowStruct.instanceId);\n workflow.eventMap = workflowStruct.eventMap;\n }\n return workflow;\n };\n\n /**\n * Creates a new workflow event and returns it. Then this workflow event is sent upstream\n * to the CSMSharedWorker where it is provided to the backend.\n *\n * If an instanceId was specified when the workflow was created, this will also save the workflow\n * and all of its events to localStorage.\n *\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.event = function(event, data) {\n const mergedData = this._mergeData(data || {});\n const workflowEvent = new csm.WorkflowEvent({\n workflow: this,\n event: event,\n data: mergedData,\n userId: csm.configuration.userId || '',\n organizationId: csm.configuration.organizationId || '',\n accountId: csm.configuration.accountId || '',\n appName: csm.configuration.namespace || '',\n });\n csm.putWorkflowEvent(workflowEvent);\n this.eventMap[event] = workflowEvent;\n if (this.instanceSpecified) {\n this.save();\n }\n return workflowEvent;\n };\n\n /**\n * Creates a new workflow event and returns it, if the same event is not happened in ths past\n * dedupeIntervalMs milliseconds.\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @param {int} dedupeIntervalMs defaults to 200 MS\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.eventWithDedupe = function(event, data, dedupeIntervalMs) {\n const pastEvent = this.getPastEvent(event);\n const now = new Date().getTime();\n const interval = dedupeIntervalMs || 200;\n\n // Crafting the expected workflow event data result\n const mergedData = this._mergeData(data);\n const expectedData = [];\n for (const key in mergedData) {\n if (Object.prototype.hasOwnProperty.call(mergedData, key)) {\n expectedData.push({'key': key, 'value': mergedData[key]});\n }\n }\n\n // Deduplicate same events that happened within interval\n if (!pastEvent || (pastEvent && JSON.stringify(pastEvent.data) !== JSON.stringify(expectedData)) ||\n (pastEvent && (now - pastEvent.timestamp > interval))) {\n return this.event(event, data);\n }\n return null;\n };\n\n /**\n * Get a past event if it exists in this workflow, otherwise returns null.\n * This can be helpful to emit metrics in real time based on the differences\n * between workflow event timestamps, especially for workflows shared across tabs.\n * @param {string} event key to see if workflow exists for this event\n * @return {WorkflowEvent} workflow event retrieved\n */\n Workflow.prototype.getPastEvent = function(event) {\n return event in this.eventMap ? this.eventMap[event] : null;\n };\n\n /**\n * Save the workflow to local storage. This only happens automatically when an\n * instanceId is specified on workflow creation, however if this method is called\n * explicitly by the client, the randomly generated workflow instance id can be\n * used to retrieve the workflow later and automatic save on events will be enabled.\n */\n Workflow.prototype.save = function() {\n this.instanceSpecified = true;\n localStorage.setItem(getWorkflowKeyForType(this.type), JSON.stringify(this));\n };\n\n /**\n * Remove this workflow if it is the saved instance for this workflow type in localStorage.\n */\n Workflow.prototype.close = function() {\n const storedWorkflow = csm._loadWorkflow(this.type);\n if (storedWorkflow && storedWorkflow.instanceId === this.instanceId) {\n localStorage.removeItem(getWorkflowKeyForType(this.type));\n }\n };\n\n Workflow.prototype.addData = function(data) {\n for (const key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n this.data[key] = data[key];\n }\n }\n };\n\n Workflow.prototype._mergeData = function(data) {\n const mergedData = {};\n let key = null;\n for (key in this.data) {\n if (Object.prototype.hasOwnProperty.call(this.data, key)) {\n mergedData[key] = this.data[key] == null ? 'null' : (this.data[key] === '' ? ' ' : this.data[key].toString());\n }\n }\n for (key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n mergedData[key] = data[key] == null ? 'null' : (data[key] === '' ? ' ' : data[key].toString());\n }\n }\n return mergedData;\n };\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n let worker = null;\n let portId = null;\n\n const MAX_INIT_MILLISECONDS = 5000;\n const preInitTaskQueue = [];\n csm.configuration = {};\n\n /**\n * Initialize CSM variables\n * @param {object} params for CSM\n * @params.namespace Define your metric namespace used in CloudWatch metrics\n * @params.sharedWorkerUrl Specify the relative url to the connect-csm-worker.js file in your service\n * @params.endpoint Specify an LDAS endpoint to use.\n * @params.dryRunMode When CSM is initialized with dry run mode, it won't actually publish metrics.\n * @params.defaultMetrics Enable default metrics. Default to false.\n */\n csm.initCSM = function(params) {\n csm.Util.assertExist(params.namespace, 'namespace');\n csm.Util.assertExist(params.sharedWorkerUrl, 'sharedWorkerUrl');\n csm.Util.assertExist(params.endpoint, 'endpoint');\n\n try {\n console.log('Starting csm shared worker with', params.sharedWorkerUrl);\n worker = new SharedWorker(params.sharedWorkerUrl, 'CSM_SharedWorker');\n worker.port.start();\n } catch (e) {\n console.log('Failed to initialize csm shared worker with', params.sharedWorkerUrl);\n console.log(e.message);\n }\n\n /**\n * Configure shared worker\n */\n csm.configuration = {\n namespace: params.namespace,\n userId: params.userId || '',\n accountId: params.accountId || '',\n organizationId: params.organizationId || '',\n endpointUrl: params.endpoint || null,\n batchSettings: params.batchSettings || null,\n addPageVisibilityDimension: params.addPageVisibilityDimension || false,\n addUrlDataDimensions: params.addUrlDataDimensions || false,\n dryRunMode: params.dryRunMode || false, // When csm is in dryRunMode it won't actually publish metrics to CSM\n };\n\n postEventToWorker(csm.EVENT_TYPE.CONFIG, csm.configuration);\n\n /**\n * Receive message from shared worker\n * @param {MessageEvent} messageEvent from shared worker\n */\n worker.port.onmessage = function(messageEvent) {\n const messageType = messageEvent.data.type;\n onMessageFromWorker(messageType, messageEvent.data);\n };\n\n /**\n * Inform shared worker window closed\n */\n global.onbeforeunload = function() {\n worker.port.postMessage(\n {\n type: csm.EVENT_TYPE.CLOSE,\n portId: portId,\n },\n );\n };\n\n /**\n * Check if initialization success\n */\n global.setTimeout(function() {\n if (!isCSMInitialized()) {\n console.log('[FATAL] CSM initialization failed! Please make sure the sharedWorkerUrl is reachable.');\n }\n }, MAX_INIT_MILLISECONDS);\n\n // Emit out of the box metrics\n if (params.defaultMetrics) {\n emitDefaultMetrics();\n }\n };\n // Final processing before sending to SharedWorker\n const processMetric = function(metric) {\n if (csm.configuration.addPageVisibilityDimension && document.visibilityState) {\n metric.addOptionalDimension('VisibilityState', document.visibilityState);\n }\n };\n\n const processWorkflowEvent = function(event) {\n if (csm.configuration.addUrlDataDimensions) {\n event.data.push({'key': 'ReferrerUrl', 'value': csm.Util.getReferrerUrl()});\n event.data.push({'key': 'Origin', 'value': csm.Util.getOrigin()});\n event.data.push({'key': 'WindowParent', 'value': csm.Util.getWindowParent()});\n }\n if (['initFailure', 'initializationLatencyInfo'].includes(event.event)) {\n csm.initFailureDimensions.forEach((dimension) => {\n Object.keys(dimension).forEach((key) => {\n event.data.push({'key': key, 'value': dimension[key]});\n });\n });\n }\n return event;\n };\n\n csm.putMetric = function(metric) {\n processMetric(metric);\n postEventToWorker(csm.EVENT_TYPE.METRIC, metric);\n };\n\n csm.putLog = function(log) {\n postEventToWorker(csm.EVENT_TYPE.LOG, log);\n };\n\n csm.putWorkflowEvent = function(event) {\n const processedEvent = processWorkflowEvent(event);\n postEventToWorker(csm.EVENT_TYPE.WORKFLOW_EVENT, processedEvent);\n };\n\n csm.putCustom = function(endpoint, headers, data) {\n postEventToWorker(csm.EVENT_TYPE.CUSTOM, data, endpoint, headers);\n };\n\n csm.setAuthParams = function(authParams) {\n postEventToWorker(csm.EVENT_TYPE.SET_AUTH, authParams);\n };\n\n csm.setConfig = function(key, value) {\n csm.configuration[key] = value;\n postEventToWorker(csm.EVENT_TYPE.SET_CONFIG, {key, value});\n };\n /** ********************** PRIVATE METHODS ************************/\n\n const onMessageFromWorker = function(messageType, data) {\n if (messageType === csm.EVENT_TYPE.CONFIG) {\n portId = data.portId;\n onCSMInitialized();\n }\n };\n\n const onCSMInitialized = function() {\n // Purge the preInitTaskQueue\n preInitTaskQueue.forEach(function(task) {\n postEventToWorker(task.type, task.message, task.endpoint, task.headers);\n });\n\n // TODO: Capture on errors and publish log to shared worker\n /**\n window.onerror = function(message, fileName, lineNumber, columnNumber, errorstack) {\n var log = new csm.Log(message, fileName, lineNumber, columnNumber, errorstack.stack);\n csm.putLog(log);\n };\n */\n };\n\n /**\n * Emit out of the box metrics automatically\n *\n * TODO allow configuration\n */\n const emitDefaultMetrics = function() {\n window.addEventListener('load', function() {\n // loadEventEnd is avaliable after the onload function finished\n // https://www.w3.org/TR/navigation-timing-2/#processing-model\n // https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming\n global.setTimeout(function() {\n try {\n const perfData = window.performance.getEntriesByType('navigation')[0];\n const pageLoadTime = perfData.loadEventEnd - perfData.startTime;\n const connectTime = perfData.responseEnd - perfData.requestStart;\n const domRenderTime = perfData.domComplete - perfData.domInteractive;\n csm.API.addCountWithPageLocation('PageLoad');\n csm.API.addTimeWithPageLocation('PageLoadTime', pageLoadTime);\n csm.API.addTimeWithPageLocation('ConnectTime', connectTime);\n csm.API.addTimeWithPageLocation('DomRenderTime', domRenderTime);\n } catch (err) {\n console.log('Error emitting default metrics', err);\n }\n }, 0);\n });\n };\n\n /**\n * Try posting message to shared worker\n * If shared worker hasn't been initialized, put the task to queue to be clean up once initialized\n * @param {csm.EVENT_TYPE} eventType for CSM\n * @param {object} message event following type of eventType\n * @param {string} [endpoint] optional parameter for putCustom function (put any data to specified endpoint)\n * @param {object} [headers] optional parameter for putCustom function\n */\n const postEventToWorker = function(eventType, message, endpoint, headers) {\n if (eventType === csm.EVENT_TYPE.CONFIG || isCSMInitialized()) {\n worker.port.postMessage(\n {\n type: eventType,\n portId: portId,\n message: message,\n endpoint: endpoint,\n headers: headers,\n },\n );\n } else {\n preInitTaskQueue.push({\n type: eventType,\n message: message,\n endpoint: endpoint,\n headers: headers,\n });\n }\n };\n\n const isCSMInitialized = function() {\n return portId !== null;\n };\n})()",document.head.appendChild(e),this.initializeCSM()}catch(e){this.logger.error("Load csm script error: ",e)}}initializeCSM(){try{if(this.csmInitialized)return;var e=i.getRegion(),t="(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension ' + dimensionName + ' . Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(`${objName}[${key}]`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const XHR_DONE_READY_STATE = 4; // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState\n\n const global = self;\n const configuration = {};\n const batchSettings = {\n maxMetricsSize: 30,\n maxWorkflowEventsSize: 30,\n putMetricsIntervalMs: 30000,\n putWorkflowEventsIntervalMs: 2000,\n };\n const metricLists = {}; // metricList per CloudWatch Namespace\n const metricMap = {};\n const ports = {};\n let workflowEvents = {workflowEventList: []};\n\n // SharedWorker wiki: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker\n onconnect = function(connectEvent) {\n const port = connectEvent.ports[0];\n\n port.onmessage = function(event) {\n const data = event.data;\n const messageType = data.type;\n const message = data.message;\n const endpoint = data.endpoint;\n const headers = data.headers;\n\n if (data.portId && !(data.portId in ports)) {\n // This could happen when a user tries to close a tab which has a pop up alert to confirm closing,\n // and the user decides to cancel closing\n // This triggers before unload event while the tab or window is not closed actually\n ports[data.portId] = port;\n }\n\n const {METRIC, WORKFLOW_EVENT, CUSTOM, CONFIG, SET_AUTH, SET_CONFIG, CLOSE} = csm.EVENT_TYPE;\n switch (messageType) {\n case METRIC: {\n csm.Util.assertInObject(message, 'message', 'namespace');\n const namespace = message.namespace;\n if (shouldDedupe(message)) break;\n addMetricEventToMap(message);\n if (metricLists[namespace]) {\n metricLists[namespace].push(message);\n } else {\n metricLists[namespace] = [message];\n }\n if (metricLists[namespace].length >= batchSettings.maxMetricsSize) {\n putMetricsForNamespace(namespace);\n }\n break;\n }\n case WORKFLOW_EVENT: {\n workflowEvents.workflowEventList.push(message);\n if (workflowEvents.length >= batchSettings.maxWorkflowEventsSize) {\n putWorkflowEvents();\n }\n break;\n }\n case CUSTOM: {\n putCustom(endpoint, headers, message);\n break;\n }\n case CONFIG: {\n const portId = Object.keys(ports).length + 1; // portId starts from 1\n ports[portId] = port;\n for (const setting of Object.keys(message)) {\n if (!csm.Util.isEmpty(message[setting])) {\n configuration[setting] = message[setting];\n }\n }\n\n // set optional batch settings\n if (configuration.batchSettings) {\n for (const setting of Object.keys(configuration.batchSettings)) {\n batchSettings[setting] = configuration.batchSettings[setting];\n }\n }\n // send metrics and workflow events at set intervals\n putMetrics();\n putWorkflowEvents();\n global.setInterval(putMetrics, batchSettings.putMetricsIntervalMs);\n global.setInterval(putWorkflowEvents, batchSettings.putWorkflowEventsIntervalMs);\n\n port.postMessage(\n {\n type: csm.EVENT_TYPE.CONFIG,\n portId: portId,\n },\n );\n break;\n }\n case SET_AUTH: {\n configuration.authParams = message;\n authenticate();\n break;\n }\n case SET_CONFIG: {\n configuration[message.key] = message.value;\n break;\n }\n case CLOSE: {\n delete ports[data.portId];\n if (Object.keys(ports).length === 0) {\n putMetrics();\n putWorkflowEvents();\n }\n break;\n }\n default:\n break;\n }\n };\n };\n\n const shouldDedupe = function(metric) {\n try {\n const pastMetric = getPastMetricEvent(metric);\n return pastMetric && metric.dedupeOptions &&\n (metric.timestamp - pastMetric.timestamp < metric.dedupeOptions.dedupeIntervalMs);\n } catch (err) {\n console.error('Error in shouldDedupe', err);\n return false;\n }\n };\n\n const getPastMetricEvent = function(metric) {\n try {\n return metricMap[getMetricEventKey(metric)];\n } catch (err) {\n // ignore err - no previous metrics found\n return null;\n }\n };\n\n const addMetricEventToMap = function(metric) {\n try {\n metricMap[getMetricEventKey(metric)] = metric;\n } catch (err) {\n console.error('Failed to add event to metricMap', err);\n }\n csm.metricMap = metricMap;\n };\n\n const getMetricEventKey = function(metric) {\n const {namespace, metricName, unit, dedupeOptions} = metric;\n let context = 'global';\n if (dedupeOptions && dedupeOptions.context) {\n context = dedupeOptions.context;\n }\n return `${namespace}-${metricName}-${unit}-${context}`;\n };\n\n const authenticate = function() {\n postRequest(configuration.endpointUrl + '/auth', {authParams: configuration.authParams},\n {\n success: function(response) {\n if (response && response.jwtToken) {\n configuration.authParams.jwtToken = response.jwtToken;\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] csm auth failed!');\n broadcastMessage('Response : ' + response);\n },\n }, {'x-api-key': 'auth-method-level-key'});\n };\n\n /**\n * Put metrics to service when:\n * a) metricList size is at maxMetricsSize\n * b) every putMetricsIntervalMs time if the metricList is not empty\n * c) worker is closed\n *\n * Timer is reset, and metricList emptied after each putMetrics call\n */\n const putMetrics = function() {\n for (const namespace of Object.keys(metricLists)) {\n putMetricsForNamespace(namespace);\n }\n };\n\n const putMetricsForNamespace = function(namespace) {\n csm.Util.assertInObject(metricLists, 'metricLists', namespace);\n const metricList = metricLists[namespace];\n\n if (metricList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n postRequest(configuration.endpointUrl + '/put-metrics', {\n metricNamespace: namespace,\n metricList: metricList,\n authParams: configuration.authParams,\n accountId: configuration.accountId,\n organizationId: configuration.organizationId,\n agentResourceId: configuration.userId,\n }, {\n success: function(response) {\n if (response) {\n broadcastMessage('PutMetrics response : ' + response);\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put metrics to service failed! ');\n },\n });\n }\n metricLists[namespace] = [];\n };\n\n /**\n * Put metrics to service every two seconds if there are events to be put.\n */\n const putWorkflowEvents = function() {\n if (workflowEvents.workflowEventList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n workflowEvents.authParams = configuration.authParams;\n postRequest(configuration.endpointUrl + '/put-workflow-events', workflowEvents,\n {\n success: function(response) {\n if (response) {\n if (response.workflowEventList && response.workflowEventList.length > 0) {\n broadcastMessage('[WARN] There are ' + response.length + ' workflow events that failed to publish');\n broadcastMessage('Response : ' + response);\n }\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put workflow events to service failed! ');\n },\n });\n }\n\n workflowEvents = {workflowEventList: []};\n };\n\n /**\n * Put data to custom endpoint on demand\n * @param {string} endpoint\n * @param {object} headers\n * @param {object} data to send to endpoint\n */\n const putCustom = function(endpoint, headers, data) {\n if (!configuration.dryRunMode && endpoint && data) {\n postRequest(endpoint, data, {\n success: function(response) {\n if (response) {\n broadcastMessage('Response : ' + response);\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Failed to put custom data! ');\n },\n }, headers);\n }\n };\n\n /**\n * Broadcast message to all tabs\n * @param {string} message to post to all the tabs\n */\n const broadcastMessage = function(message) {\n for (const portId in ports) {\n if (Object.prototype.hasOwnProperty.call(ports, portId)) {\n ports[portId].postMessage(message);\n }\n }\n };\n\n const postRequest = function(url, data, callbacks, headers) {\n csm.Util.assertExist(url, 'url');\n csm.Util.assertExist(data, 'data');\n\n callbacks = callbacks || {};\n callbacks.success = callbacks.success || function() {};\n callbacks.failure = callbacks.failure || function() {};\n\n const request = new XMLHttpRequest(); // new HttpRequest instance\n request.onreadystatechange = function() {\n const errorList = request.response ? JSON.parse(request.response): [];\n if (request.readyState === XHR_DONE_READY_STATE) { // request finished and response is ready\n if (request.status === 200) {\n callbacks.success(errorList);\n } else {\n broadcastMessage('AJAX request failed with status: ' + request.status);\n callbacks.failure(errorList);\n }\n }\n };\n\n request.open('POST', url);\n if (headers && typeof headers === 'object') {\n Object.keys(headers).forEach((header) => request.setRequestHeader(header, headers[header]));\n } else {\n request.setRequestHeader('Content-Type', 'application/json');\n }\n request.send(JSON.stringify(data));\n };\n})()".replace(/\\/g,""),n=URL.createObjectURL(new Blob([t],{type:"text/javascript"})),r=(e=>"https://ieluqbvv.telemetry.connect.".concat(e,".amazonaws.com/prod"))(e),o={endpoint:r,namespace:"chat-widget",sharedWorkerUrl:n};csm.initCSM(o),this.logger.info("CSMService is initialized in ".concat(e)),this.csmInitialized=!0,this.metricsToBePublished&&(this.metricsToBePublished.forEach((e=>{csm.API.addMetric(e)})),this.metricsToBePublished=null)}catch(e){this.logger.error("Failed to initialize csm: ",e)}}updateCsmConfig(e){this.widgetType="object"!=typeof e||null===e||Array.isArray(e)?this.widgetType:e.widgetType}getDefaultDimensions(){return[{name:"WidgetType",value:this.widgetType}]}addMetric(e){if(this.csmInitialized)try{csm.API.addMetric(e)}catch(e){this.logger.error("Failed to addMetric csm: ",e)}else this.metricsToBePublished&&(this.metricsToBePublished.push(e),this.logger.info("CSMService is not initialized yet. Adding metrics to queue to be published once CSMService is initialized"))}setDimensions(e,t){t.forEach((t=>{e.addDimension(t.name,t.value)}))}addLatencyMetric(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];try{var i=new csm.Metric(e,csm.UNIT.MILLISECONDS,t),o=[...this.getDefaultDimensions(),{name:"Metric",value:"Latency"},{name:$,value:n},...r];this.setDimensions(i,o),this.addMetric(i),this.logger.debug("Successfully published latency API metrics for method ".concat(e))}catch(e){this.logger.error("Failed to addLatencyMetric csm: ",e)}}addLatencyMetricWithStartTime(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=(new Date).getTime()-t;this.addLatencyMetric(e,i,n,r),this.logger.debug("Successfully published latency API metrics for method ".concat(e))}addCountAndErrorMetric(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];try{var i=[...this.getDefaultDimensions(),{name:$,value:t},...r],o=new csm.Metric(e,csm.UNIT.COUNT,1);this.setDimensions(o,[...i,{name:"Metric",value:"Count"}]);var s=n?1:0,a=new csm.Metric(e,csm.UNIT.COUNT,s);this.setDimensions(a,[...i,{name:"Metric",value:"Error"}]),this.addMetric(o),this.addMetric(a),this.logger.debug("Successfully published count and error metrics for method ".concat(e))}catch(e){this.logger.error("Failed to addCountAndErrorMetric csm: ",e)}}addCountMetric(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];try{var r=[...this.getDefaultDimensions(),{name:$,value:t},{name:"Metric",value:"Count"},...n],i=new csm.Metric(e,csm.UNIT.COUNT,1);this.setDimensions(i,r),this.addMetric(i),this.logger.debug("Successfully published count metrics for method ".concat(e))}catch(e){this.logger.error("Failed to addCountMetric csm: ",e)}}addAgentCountMetric(e,t){try{var n=this;csm&&csm.API.addCount&&e?(csm.API.addCount(e,t),n.MAX_RETRY=5):(e&&this.agentMetricToBePublished.push({metricName:e,count:t}),setTimeout((()=>{csm&&csm.API.addCount?(this.agentMetricToBePublished.forEach((e=>{csm.API.addCount(e.metricName,e.count)})),this.agentMetricToBePublished=[]):n.MAX_RETRY>0&&(n.MAX_RETRY-=1,n.addAgentCountMetric())}),3e3))}catch(e){this.logger.error("Failed to addAgentCountMetric csm: ",e)}}};function Z(e,t,n,r,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void n(e)}a.done?t(c):Promise.resolve(c).then(r,i)}class ee{constructor(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;this.chatClient=t,this.participantToken=e||null,this.connectionDetails=null,this.connectionToken=null,this.connectionTokenExpiry=null,this.sessionType=n,this.getConnectionToken=r}getFetchedConnectionToken(){return this.connectionToken}getConnectionTokenExpiry(){return this.connectionTokenExpiry}getConnectionDetails(){return this.connectionDetails}fetchConnectionDetails(){return this._fetchConnectionDetails().then((e=>e))}_handleCreateParticipantConnectionResponse(e,t){return this.connectionDetails={url:e.Websocket.Url,expiry:e.Websocket.ConnectionExpiry,transportLifeTimeInSeconds:w,connectionAcknowledged:t,connectionToken:e.ConnectionCredentials.ConnectionToken,connectionTokenExpiry:e.ConnectionCredentials.Expiry},this.connectionToken=e.ConnectionCredentials.ConnectionToken,this.connectionTokenExpiry=e.ConnectionCredentials.Expiry,this.connectionDetails}_handleGetConnectionTokenResponse(e){return this.connectionDetails={url:null,expiry:null,connectionToken:e.participantToken,connectionTokenExpiry:e.expiry,transportLifeTimeInSeconds:w,connectionAcknowledged:!1},this.connectionToken=e.participantToken,this.connectionTokenExpiry=e.expiry,Promise.resolve(this.connectionDetails)}callCreateParticipantConnection(){var{Type:e=!0,ConnectParticipant:t=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(new Date).getTime();return this.chatClient.createParticipantConnection(this.participantToken,e?["WEBSOCKET","CONNECTION_CREDENTIALS"]:null,t||null).then((r=>{if(e)return this._addParticipantConnectionMetric(n),this._handleCreateParticipantConnectionResponse(r.data,t)})).catch((t=>(e&&this._addParticipantConnectionMetric(n,!0),Promise.reject({reason:"Failed to fetch connectionDetails with createParticipantConnection",_debug:t}))))}_addParticipantConnectionMetric(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Q.addLatencyMetricWithStartTime(m,e,c),Q.addCountAndErrorMetric(m,c,t)}_fetchConnectionDetails(){var e,t=this;return(e=function*(){return t.sessionType===a.CUSTOMER?t.callCreateParticipantConnection():t.sessionType===a.AGENT?t.getConnectionToken().then((e=>t._handleGetConnectionTokenResponse(e.chatTokenTransport))).catch((()=>i.isFeatureEnabled(o)?t.callCreateParticipantConnection({Type:!0,ConnectParticipant:!0}).catch((e=>{throw new Error({type:"CONN_ACK_FAILED",errorMessage:e})})):t.callCreateParticipantConnection())):Promise.reject({reason:"Failed to fetch connectionDetails.",_debug:new r("Failed to fetch connectionDetails.")})},function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function s(e){Z(o,r,i,s,a,"next",e)}function a(e){Z(o,r,i,s,a,"throw",e)}s(void 0)}))})()}}var te=void 0!==te?te:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};te.connect=te.connect||{};var ne=connect.WebSocketManager;!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t){function n(t){return e.exports=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},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t){for(var n=0;n=0),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}i.json.test(a.type)?m+=n:(!i.number.test(a.type)||p&&!a.sign?d="":(d=p?"+":"-",n=n.toString().replace(i.sign,"")),u=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",l=a.width-(d+n).length,c=a.width&&l>0?u.repeat(l):"",m+=a.align?d+n+c:"0"===u?d+c+n:c+d+n)}return m}var c=Object.create(null);function u(e){if(c[e])return c[e];for(var t,n=e,r=[],o=0;n;){if(null!==(t=i.text.exec(n)))r.push(t[0]);else if(null!==(t=i.modulo.exec(n)))r.push("%");else{if(null===(t=i.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){o|=1;var s=[],a=t[2],u=[];if(null===(u=i.key.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(u[1]);""!==(a=a.substring(u[0].length));)if(null!==(u=i.key_access.exec(a)))s.push(u[1]);else{if(null===(u=i.index_access.exec(a)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(u[1])}t[2]=s}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return c[e]=r}t.sprintf=o,t.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=s,void 0===(r=function(){return{sprintf:o,vsprintf:s}}.call(t,n,t,e))||(e.exports=r))}()},function(e,t,n){var r=n(8);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(0).default,i=n(9);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){n.r(t),n.d(t,"WebSocketManager",(function(){return ce}));var r=n(0),i=n.n(r),o=n(4),s="AMZ_WEB_SOCKET_MANAGER:",a="Network offline",c="Network online, connecting to WebSocket server",u="Network offline, ignoring this getWebSocketConnConfig request",l="Heartbeat response not received",p="aws/ping deep heartbeat response not received",d="Failed to send heartbeat since WebSocket is not open",h="Failed to send aws/ping deep heartbeat since WebSocket is not open",f="WebSocket connection established!",m="WebSocket connection is closed",g="WebSocketManager Error, error_event: ",v="Scheduling WebSocket reinitialization, after delay ",y="WebSocket URL cannot be used to establish connection",b="WebSocket Initialization failed - Terminating and cleaning subscriptions",w="Fetching new WebSocket connection configuration",E="Successfully fetched webSocket connection configuration",C="Failed to fetch webSocket connection configuration",S="Retrying fetching new WebSocket connection configuration",T="Initializing Websocket Manager",I="WebSocketManager Message Error",k="Message received for topic ",_="Invalid incoming message",A="aws/subscribe",x="aws/heartbeat",R="aws/ping",O="disconnected",N={assertTrue:function(e,t){if(!e)throw new Error(t)},assertNotNull:function(e,t){return N.assertTrue(null!==e&&void 0!==i()(e),Object(o.sprintf)("%s must be provided",t||"A value")),e},isNonEmptyString:function(e){return"string"==typeof e&&e.length>0},assertIsList:function(e,t){if(!Array.isArray(e))throw new Error(t+" is not an array")},isFunction:function(e){return!!(e&&e.constructor&&e.call&&e.apply)},isObject:function(e){return!("object"!==i()(e)||null===e)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e}},M=new RegExp("^(wss://)\\w*"),L=new RegExp("^(ws://127.0.0.1:)");N.validWSUrl=function(e){return M.test(e)||L.test(e)},N.getSubscriptionResponse=function(e,t,n){return{topic:e,content:{status:t?"success":"failure",topics:n}}},N.assertIsObject=function(e,t){if(!N.isObject(e))throw new Error(t+" is not an object!")},N.addJitter=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;t=Math.min(t,1);var n=Math.random()>.5?1:-1;return Math.floor(e+n*e*Math.random()*t)},N.isNetworkOnline=function(){return navigator.onLine},N.isNetworkFailure=function(e){return!(!e._debug||!e._debug.type)&&"NetworkingError"===e._debug.type};var P=N,D=n(5),U=n.n(D),q=n(6),j=n.n(q),F=n(3),W=n.n(F),B=n(7),z=n.n(B),H=n(1),V=n.n(H),G=n(2),K=n.n(G);function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){for(var t=1;t=this._level}},{key:"hasClientLogger",value:function(){return null!==this._clientLogger}},{key:"getLogger",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.prefix||$;return e.logMetaData&&this.setLogMetaData(e.logMetaData),this.logMetaData||console.info("*********Missing required option: WebSocketManager:logMetaData**********"),new ne(this,J({prefix:t,logMetaData:this.logMetaData},e))}},{key:"setLogMetaData",value:function(e){this.logMetaData=e}},{key:"updateLoggerConfig",value:function(e){var t=e||{};this._level=t.level||Q.INFO,this._advancedLogWriter="warn",t.advancedLogWriter&&(this._advancedLogWriter=t.advancedLogWriter),t.customizedLogger&&"object"===i()(t.customizedLogger)&&(this.useClientLogger=!0),this._clientLogger=t.logger||this.selectLogger(t),this._logsDestination="NULL",t.debug&&(this._logsDestination="DEBUG"),t.logger&&(this._logsDestination="CLIENT_LOGGER")}},{key:"selectLogger",value:function(e){return e.customizedLogger&&"object"===i()(e.customizedLogger)?e.customizedLogger:e.useDefaultLogger?re():null}}]),e}(),ee=function(){function e(){V()(this,e)}return K()(e,[{key:"debug",value:function(){}},{key:"info",value:function(){}},{key:"warn",value:function(){}},{key:"error",value:function(){}},{key:"advancedLog",value:function(){}}]),e}(),ne=function(e){U()(n,e);var t=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=W()(e);if(t){var i=W()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return j()(this,n)}}(n);function n(e,r){var i;return V()(this,n),(i=t.call(this)).options=r||{},i.prefix=r.prefix||$,i.logManager=e,i}return K()(n,[{key:"debug",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:2e3;V()(this,e),this.numAttempts=0,this.executor=t,this.hasActiveReconnection=!1,this.defaultRetry=n}return K()(e,[{key:"retry",value:function(){var e=this;this.hasActiveReconnection||(this.hasActiveReconnection=!0,setTimeout((function(){e._execute()}),this._getDelay()))}},{key:"_execute",value:function(){this.hasActiveReconnection=!1,this.executor(),this.numAttempts++}},{key:"connected",value:function(){this.numAttempts=0}},{key:"_getDelay",value:function(){var e=Math.pow(2,this.numAttempts)*this.defaultRetry;return e<=3e4?e:3e4}},{key:"getIsConnected",value:function(){return!this.numAttempts}}]),e}(),oe=null,se=function(){var e=!1,t=oe.getLogger({prefix:s}),n=P.isNetworkOnline(),r={primary:null,secondary:null},i={reconnectWebSocket:!0,websocketInitFailed:!1,exponentialBackOffTime:1e3,exponentialTimeoutHandle:null,lifeTimeTimeoutHandle:null,webSocketInitCheckerTimeoutId:null,connState:null},o={connectWebSocketRetryCount:0,connectionAttemptStartTime:null,noOpenConnectionsTimestamp:null},N={pendingResponse:!1,intervalHandle:null},M={pendingResponse:!1,intervalHandle:null},L={initFailure:new Set,getWebSocketTransport:null,subscriptionUpdate:new Set,subscriptionFailure:new Set,topic:new Map,allMessage:new Set,connectionGain:new Set,connectionLost:new Set,connectionOpen:new Set,connectionClose:new Set,deepHeartbeatSuccess:new Set,deepHeartbeatFailure:new Set,topicFailure:new Set},D={connConfig:null,promiseHandle:null,promiseCompleted:!0},U={subscribed:new Set,pending:new Set,subscriptionHistory:new Set},q={responseCheckIntervalId:null,requestCompleted:!0,reSubscribeIntervalId:null,consecutiveFailedSubscribeAttempts:0,consecutiveNoResponseRequest:0},j=new ie((function(){pe()})),F=new Set([A,"aws/unsubscribe",x,R]),W=setInterval((function(){if(n!==P.isNetworkOnline()){if(!(n=P.isNetworkOnline()))return t.advancedLog(a),void fe(t.info(a));var e=X();n&&(!e||V(e,WebSocket.CLOSING)||V(e,WebSocket.CLOSED))&&(t.advancedLog(c),fe(t.info(c)),pe())}}),250),B=function(e,n){e.forEach((function(e){try{e(n)}catch(e){fe(t.error("Error executing callback",e))}}))},z=function(e){if(null===e)return"NULL";switch(e.readyState){case WebSocket.CONNECTING:return"CONNECTING";case WebSocket.OPEN:return"OPEN";case WebSocket.CLOSING:return"CLOSING";case WebSocket.CLOSED:return"CLOSED";default:return"UNDEFINED"}},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";fe(t.debug("["+e+"] Primary WebSocket: "+z(r.primary)+" | Secondary WebSocket: "+z(r.secondary)))},V=function(e,t){return e&&e.readyState===t},G=function(e){return V(e,WebSocket.OPEN)},K=function(e){return null===e||void 0===e.readyState||V(e,WebSocket.CLOSED)},X=function(){return null!==r.secondary?r.secondary:r.primary},J=function(){return G(X())},Y=function(){if(e&&M.pendingResponse&&(t.advancedLog(p),fe(t.warn(p)),B(L.deepHeartbeatFailure,{timestamp:Date.now(),error:"aws/ping response is not received"}),clearInterval(M.intervalHandle),M.pendingResponse=!1),N.pendingResponse)return t.advancedLog(l),fe(t.warn(l)),clearInterval(N.intervalHandle),N.pendingResponse=!1,void pe();J()?(e&&(fe(t.debug("Sending aws/ping deep heartbeat")),X().send(ue(R)),M.pendingResponse=!0),fe(t.debug("Sending heartbeat")),X().send(ue(x)),N.pendingResponse=!0):(e&&(t.advancedLog(h),fe(t.warn(h)),B(L.deepHeartbeatFailure,{timestamp:Date.now(),error:"Unable to send message to aws/ping because websocket connection is not established."})),t.advancedLog(d),fe(t.warn(d)),H("sendHeartBeat"),pe())},$=function(){t.advancedLog("Reset Websocket state"),i.exponentialBackOffTime=1e3,N.pendingResponse=!1,M.pendingResponse=!1,i.reconnectWebSocket=!0,clearTimeout(i.lifeTimeTimeoutHandle),clearInterval(N.intervalHandle),clearInterval(M.intervalHandle),clearTimeout(i.exponentialTimeoutHandle),clearTimeout(i.webSocketInitCheckerTimeoutId)},Q=function(){q.consecutiveFailedSubscribeAttempts=0,q.consecutiveNoResponseRequest=0,clearInterval(q.responseCheckIntervalId),clearInterval(q.reSubscribeIntervalId)},Z=function(){o.connectWebSocketRetryCount=0,o.connectionAttemptStartTime=null,o.noOpenConnectionsTimestamp=null},ee=function(){j.connected();try{t.advancedLog(f),fe(t.info(f)),H("webSocketOnOpen"),null!==i.connState&&i.connState!==O||B(L.connectionGain),i.connState="connected";var e=Date.now();B(L.connectionOpen,{connectWebSocketRetryCount:o.connectWebSocketRetryCount,connectionAttemptStartTime:o.connectionAttemptStartTime,noOpenConnectionsTimestamp:o.noOpenConnectionsTimestamp,connectionEstablishedTime:e,timeToConnect:e-o.connectionAttemptStartTime,timeWithoutConnection:o.noOpenConnectionsTimestamp?e-o.noOpenConnectionsTimestamp:null}),Z(),$(),X().openTimestamp=Date.now(),0===U.subscribed.size&&G(r.secondary)&&se(r.primary,"[Primary WebSocket] Closing WebSocket"),(U.subscribed.size>0||U.pending.size>0)&&(G(r.secondary)&&fe(t.info("Subscribing secondary websocket to topics of primary websocket")),U.subscribed.forEach((function(e){U.subscriptionHistory.add(e),U.pending.add(e)})),U.subscribed.clear(),re()),Y(),N.intervalHandle=setInterval(Y,1e4);var n=1e3*D.connConfig.webSocketTransport.transportLifeTimeInSeconds;fe(t.debug("Scheduling WebSocket manager reconnection, after delay "+n+" ms")),i.lifeTimeTimeoutHandle=setTimeout((function(){fe(t.debug("Starting scheduled WebSocket manager reconnection")),pe()}),n)}catch(e){fe(t.error("Error after establishing WebSocket connection",e))}},te=function(e){H("webSocketOnError"),t.advancedLog(g,JSON.stringify(e)),fe(t.error(g,JSON.stringify(e))),j.getIsConnected()?pe():j.retry()},ne=function(e){var n=JSON.parse(e.data);switch(n.topic){case A:if(fe(t.debug("Subscription Message received from webSocket server",e.data)),q.requestCompleted=!0,q.consecutiveNoResponseRequest=0,"success"===n.content.status)q.consecutiveFailedSubscribeAttempts=0,n.content.topics.forEach((function(e){U.subscriptionHistory.delete(e),U.pending.delete(e),U.subscribed.add(e)})),0===U.subscriptionHistory.size?G(r.secondary)&&(fe(t.info("Successfully subscribed secondary websocket to all topics of primary websocket")),se(r.primary,"[Primary WebSocket] Closing WebSocket")):re(),B(L.subscriptionUpdate,n);else{if(clearInterval(q.reSubscribeIntervalId),++q.consecutiveFailedSubscribeAttempts,5===q.consecutiveFailedSubscribeAttempts)return B(L.subscriptionFailure,n),void(q.consecutiveFailedSubscribeAttempts=0);q.reSubscribeIntervalId=setInterval((function(){re()}),500)}break;case x:fe(t.debug("Heartbeat response received")),N.pendingResponse=!1;break;case R:fe(t.debug("aws/ping deep heartbeat received")),M.pendingResponse=!1,200===n.statusCode?B(L.deepHeartbeatSuccess,{timestamp:Date.now()}):B(L.deepHeartbeatFailure,{timestamp:Date.now(),statusCode:n.statusCode,statusContent:n.statusContent});break;default:if(n.topic){if(t.advancedLog(k,n.topic),fe(t.debug(k+n.topic)),G(r.primary)&&G(r.secondary)&&0===U.subscriptionHistory.size&&this===r.primary)return void fe(t.warn("Ignoring Message for Topic "+n.topic+", to avoid duplicates"));if(0===L.allMessage.size&&0===L.topic.size)return void fe(t.warn("No registered callback listener for Topic",n.topic));t.advancedLog("WebsocketManager invoke callbacks for topic success ",n.topic),B(L.allMessage,n),L.topic.has(n.topic)&&B(L.topic.get(n.topic),n)}else n.message?(t.advancedLog(I,n),fe(t.warn(I,n)),B(L.topicFailure,{timestamp:Date.now(),errorMessage:n.message,connectionId:n.connectionId,requestId:n.requestId})):(t.advancedLog(_,n),fe(t.warn(_,n)))}},re=function e(){if(q.consecutiveNoResponseRequest>3)return fe(t.warn("Ignoring subscribePendingTopics since we have exhausted max subscription retries with no response")),void B(L.subscriptionFailure,P.getSubscriptionResponse(A,!1,Array.from(U.pending)));J()?0!==Array.from(U.pending).length&&(clearInterval(q.responseCheckIntervalId),X().send(ue(A,{topics:Array.from(U.pending)})),q.requestCompleted=!1,q.responseCheckIntervalId=setInterval((function(){q.requestCompleted||(++q.consecutiveNoResponseRequest,e())}),1e3)):fe(t.warn("Ignoring subscribePendingTopics call since Default WebSocket is not open"))},se=function(e,n){V(e,WebSocket.CONNECTING)||V(e,WebSocket.OPEN)?e.close(1e3,n):fe(t.warn("Ignoring WebSocket Close request, WebSocket State: "+z(e)))},ae=function(e){se(r.primary,"[Primary] WebSocket "+e),se(r.secondary,"[Secondary] WebSocket "+e)},ce=function(e){$(),Q(),t.advancedLog(b,e),fe(t.error(b)),i.websocketInitFailed=!0,ae("Terminating WebSocket Manager"),clearInterval(W),B(L.initFailure,{connectWebSocketRetryCount:o.connectWebSocketRetryCount,connectionAttemptStartTime:o.connectionAttemptStartTime,reason:e}),Z()},ue=function(e,t){return JSON.stringify({topic:e,content:t})},le=function(e){return!!(P.isObject(e)&&P.isObject(e.webSocketTransport)&&P.isNonEmptyString(e.webSocketTransport.url)&&P.validWSUrl(e.webSocketTransport.url)&&1e3*e.webSocketTransport.transportLifeTimeInSeconds>=3e5)||(fe(t.error("Invalid WebSocket Connection Configuration",e)),!1)},pe=function(){if(!P.isNetworkOnline())return t.advancedLog(u),void fe(t.info(u));if(i.websocketInitFailed)fe(t.debug("WebSocket Init had failed, ignoring this getWebSocketConnConfig request"));else{if(D.promiseCompleted)return $(),t.advancedLog(w),fe(t.info(w)),o.connectionAttemptStartTime=o.connectionAttemptStartTime||Date.now(),D.promiseCompleted=!1,D.promiseHandle=L.getWebSocketTransport(),D.promiseHandle.then((function(e){return D.promiseCompleted=!0,t.advancedLog(E),fe(t.debug(E,e)),le(e)?(D.connConfig=e,D.connConfig.urlConnValidTime=Date.now()+85e3,de()):(ce("Invalid WebSocket connection configuration: "+e),{webSocketConnectionFailed:!0})}),(function(e){return D.promiseCompleted=!0,t.advancedLog(C),fe(t.error(C,e)),P.isNetworkFailure(e)?(t.advancedLog(S+JSON.stringify(e)),fe(t.info(S+JSON.stringify(e))),j.retry()):ce("Failed to fetch webSocket connection configuration: "+JSON.stringify(e)),{webSocketConnectionFailed:!0}}));fe(t.debug("There is an ongoing getWebSocketConnConfig request, this request will be ignored"))}},de=function(){if(i.websocketInitFailed)return fe(t.info("web-socket initializing had failed, aborting re-init")),{webSocketConnectionFailed:!0};if(!P.isNetworkOnline())return fe(t.warn("System is offline aborting web-socket init")),{webSocketConnectionFailed:!0};t.advancedLog(T),fe(t.info(T)),H("initWebSocket");try{if(le(D.connConfig)){var e=null;return G(r.primary)?(fe(t.debug("Primary Socket connection is already open")),V(r.secondary,WebSocket.CONNECTING)||(fe(t.debug("Establishing a secondary web-socket connection")),j.numAttempts=0,r.secondary=he()),e=r.secondary):(V(r.primary,WebSocket.CONNECTING)||(fe(t.debug("Establishing a primary web-socket connection")),r.primary=he()),e=r.primary),i.webSocketInitCheckerTimeoutId=setTimeout((function(){G(e)||function(){o.connectWebSocketRetryCount++;var e=P.addJitter(i.exponentialBackOffTime,.3);Date.now()+e<=D.connConfig.urlConnValidTime?(t.advancedLog(v),fe(t.debug(v+e+" ms")),i.exponentialTimeoutHandle=setTimeout((function(){return de()}),e),i.exponentialBackOffTime*=2):(t.advancedLog(y),fe(t.warn(y)),pe())}()}),1e3),{webSocketConnectionFailed:!1}}}catch(e){return fe(t.error("Error Initializing web-socket-manager",e)),ce("Failed to initialize new WebSocket: "+e.message),{webSocketConnectionFailed:!0}}},he=function(){var e=new WebSocket(D.connConfig.webSocketTransport.url);return e.addEventListener("open",ee),e.addEventListener("message",ne),e.addEventListener("error",te),e.addEventListener("close",(function(n){return function(e,n){t.advancedLog(m,JSON.stringify(e)),fe(t.info(m,JSON.stringify(e))),H("webSocketOnClose before-cleanup"),B(L.connectionClose,{openTimestamp:n.openTimestamp,closeTimestamp:Date.now(),connectionDuration:Date.now()-n.openTimestamp,code:e.code,reason:e.reason}),K(r.primary)&&(r.primary=null),K(r.secondary)&&(r.secondary=null),i.reconnectWebSocket&&(G(r.primary)||G(r.secondary)?K(r.primary)&&G(r.secondary)&&(fe(t.info("[Primary] WebSocket Cleanly Closed")),r.primary=r.secondary,r.secondary=null):(fe(t.warn("Neither primary websocket and nor secondary websocket have open connections, attempting to re-establish connection")),i.connState===O?fe(t.info("Ignoring connectionLost callback invocation")):(B(L.connectionLost,{openTimestamp:n.openTimestamp,closeTimestamp:Date.now(),connectionDuration:Date.now()-n.openTimestamp,code:e.code,reason:e.reason}),o.noOpenConnectionsTimestamp=Date.now()),i.connState=O,pe()),H("webSocketOnClose after-cleanup"))}(n,e)})),e},fe=function(e){return e&&"function"==typeof e.sendInternalLogToServer&&e.sendInternalLogToServer(),e};this.init=function(e){if(P.assertTrue(P.isFunction(e),"transportHandle must be a function"),null===L.getWebSocketTransport)return L.getWebSocketTransport=e,pe();fe(t.warn("Web Socket Manager was already initialized"))},this.onInitFailure=function(e){return t.advancedLog("Initializing Websocket Manager Failure callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.initFailure.add(e),i.websocketInitFailed&&e(),function(){return L.initFailure.delete(e)}},this.onConnectionOpen=function(e){return t.advancedLog("Websocket connection open callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionOpen.add(e),function(){return L.connectionOpen.delete(e)}},this.onConnectionClose=function(e){return t.advancedLog("Websocket connection close callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionClose.add(e),function(){return L.connectionClose.delete(e)}},this.onConnectionGain=function(e){return t.advancedLog("Websocket connection gain callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionGain.add(e),J()&&e(),function(){return L.connectionGain.delete(e)}},this.onConnectionLost=function(e){return t.advancedLog("Websocket connection lost callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.connectionLost.add(e),i.connState===O&&e(),function(){return L.connectionLost.delete(e)}},this.onSubscriptionUpdate=function(e){return P.assertTrue(P.isFunction(e),"cb must be a function"),L.subscriptionUpdate.add(e),function(){return L.subscriptionUpdate.delete(e)}},this.onSubscriptionFailure=function(e){return t.advancedLog("Websocket subscription failure callback registered"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.subscriptionFailure.add(e),function(){return L.subscriptionFailure.delete(e)}},this.onMessage=function(e,t){return P.assertNotNull(e,"topicName"),P.assertTrue(P.isFunction(t),"cb must be a function"),L.topic.has(e)?L.topic.get(e).add(t):L.topic.set(e,new Set([t])),function(){return L.topic.get(e).delete(t)}},this.onAllMessage=function(e){return P.assertTrue(P.isFunction(e),"cb must be a function"),L.allMessage.add(e),function(){return L.allMessage.delete(e)}},this.subscribeTopics=function(e){P.assertNotNull(e,"topics"),P.assertIsList(e),e.forEach((function(e){U.subscribed.has(e)||U.pending.add(e)})),q.consecutiveNoResponseRequest=0,re()},this.sendMessage=function(e){if(P.assertIsObject(e,"payload"),void 0===e.topic||F.has(e.topic))fe(t.warn("Cannot send message, Invalid topic",e));else{try{e=JSON.stringify(e)}catch(n){return void fe(t.warn("Error stringify message",e))}J()?X().send(e):fe(t.warn("Cannot send message, web socket connection is not open"))}},this.deepHeartbeatHandler=function(){e=!0},this.onDeepHeartbeatSuccess=function(e){return t.advancedLog("Deep Heartbeat is successful. WebSocketManager has received 200 response from aws/ping"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.deepHeartbeatSuccess.add(e),function(){return L.deepHeartbeatSuccess.delete(e)}},this.onDeepHeartbeatFailure=function(e){return t.advancedLog("Deep Heartbeat failed. WebSocketManager does not receive 200 response from aws/ping"),P.assertTrue(P.isFunction(e),"cb must be a function"),L.deepHeartbeatFailure.add(e),function(){return L.deepHeartbeatFailure.delete(e)}},this.onTopicFailure=function(e){return t.advancedLog("Generic topic failed."),P.assertTrue(P.isFunction(e),"cb must be a function"),L.topicFailure.add(e),function(){return L.topicFailure.delete(e)}},this.closeWebSocket=function(){$(),Q(),i.reconnectWebSocket=!1,clearInterval(W),ae("User request to close WebSocket")},this.terminateWebSocketManager=ce},ae={create:function(e){return oe||(oe=new Z(e)),oe.hasLogMetaData()||oe.setLogMetaData(e),e||console.info("********Missing metaData for logs from websocketManager: initialize websocketManager using create(metaData)*******"),new se},setGlobalConfig:function(e){var t=e&&e.loggerConfig;oe||(oe=new Z),oe.updateLoggerConfig(t)},LogLevel:Q,Logger:Y};te.connect=te.connect||{},connect.WebSocketManager=ae;var ce=ae;t.default=ce}]);var re=connect.WebSocketManager;connect.WebSocketManager=ne||re;const ie=re;class oe extends class{constructor(e,t){this.connectionDetailsProvider=e,this.isStarted=!1,this.logger=I.getLogger({prefix:"ChatJS-BaseConnectionHelper",logMetaData:t})}startConnectionTokenPolling(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:432e5;if(!(arguments.length>0&&void 0!==arguments[0]&&arguments[0]))return this.connectionDetailsProvider.fetchConnectionDetails().then((t=>(this.logger.info("Connection token polling succeeded."),e=this.getTimeToConnectionTokenExpiry(),this.timeout=setTimeout(this.startConnectionTokenPolling.bind(this),e),t))).catch((t=>(this.logger.error("An error occurred when attempting to fetch the connection token during Connection Token Polling",t),this.timeout=setTimeout(this.startConnectionTokenPolling.bind(this),e),t)));this.logger.info("First time polling connection token."),this.timeout=setTimeout(this.startConnectionTokenPolling.bind(this),e)}start(){return this.isStarted?this.getConnectionToken():(this.isStarted=!0,this.startConnectionTokenPolling(!0,this.getTimeToConnectionTokenExpiry()))}end(){clearTimeout(this.timeout)}getConnectionToken(){return this.connectionDetailsProvider.getFetchedConnectionToken()}getConnectionTokenExpiry(){return this.connectionDetailsProvider.getConnectionTokenExpiry()}getTimeToConnectionTokenExpiry(){return new Date(this.getConnectionTokenExpiry()).getTime()-(new Date).getTime()-6e4}}{constructor(e,t,n,r,i,o){super(n,i),this.customerConnection=!r,this.customerConnection?(oe.customerBaseInstances[e]||(oe.customerBaseInstances[e]=new se(n,void 0,i,o)),this.baseInstance=oe.customerBaseInstances[e]):(oe.agentBaseInstance&&oe.agentBaseInstance.getWebsocketManager()!==r&&(oe.agentBaseInstance.end(),oe.agentBaseInstance=null),oe.agentBaseInstance||(oe.agentBaseInstance=new se(void 0,r,i)),this.baseInstance=oe.agentBaseInstance),this.contactId=e,this.initialContactId=t,this.status=null,this.eventBus=new Y,this.subscriptions=[this.baseInstance.onEnded(this.handleEnded.bind(this)),this.baseInstance.onConnectionGain(this.handleConnectionGain.bind(this)),this.baseInstance.onConnectionLost(this.handleConnectionLost.bind(this)),this.baseInstance.onMessage(this.handleMessage.bind(this))]}start(){return super.start(),this.baseInstance.start()}end(){super.end(),this.eventBus.unsubscribeAll(),this.subscriptions.forEach((e=>e())),this.status=B,this.tryCleanup()}tryCleanup(){this.customerConnection&&!this.baseInstance.hasMessageSubscribers()&&(this.baseInstance.end(),delete oe.customerBaseInstances[this.contactId])}getStatus(){return this.status||this.baseInstance.getStatus()}onEnded(e){return this.eventBus.subscribe(V,e)}handleEnded(){this.eventBus.trigger(V,{})}onConnectionGain(e){return this.eventBus.subscribe(H,e)}handleConnectionGain(){this.eventBus.trigger(H,{})}onConnectionLost(e){return this.eventBus.subscribe(z,e)}handleConnectionLost(){this.eventBus.trigger(z,{})}onMessage(e){return this.eventBus.subscribe(G,e)}handleMessage(e){e.InitialContactId!==this.initialContactId&&e.ContactId!==this.contactId&&e.Type!==v.MESSAGE_METADATA||this.eventBus.trigger(G,e)}}oe.customerBaseInstances={},oe.agentBaseInstance=null;class se{constructor(e,t,n,r){this.status=q,this.eventBus=new Y,this.logger=I.getLogger({prefix:"ChatJS-LPCConnectionHelperBase",logMetaData:n}),this.initialConnectionDetails=r,this.initWebsocketManager(t,e,n)}initWebsocketManager(e,t,n){if(this.websocketManager=e||ie.create(n),this.websocketManager.subscribeTopics(["aws/chat"]),this.subscriptions=[this.websocketManager.onMessage("aws/chat",this.handleMessage.bind(this)),this.websocketManager.onConnectionGain(this.handleConnectionGain.bind(this)),this.websocketManager.onConnectionLost(this.handleConnectionLost.bind(this)),this.websocketManager.onInitFailure(this.handleEnded.bind(this))],this.logger.info("Initializing websocket manager."),!e){var r=(new Date).getTime();this.websocketManager.init((()=>this._getConnectionDetails(t,this.initialConnectionDetails,r).then((e=>(this.initialConnectionDetails=null,e)))))}}_getConnectionDetails(e,t,n){if(null!==t&&"object"==typeof t&&t.expiry&&t.connectionTokenExpiry){var r={expiry:t.expiry,transportLifeTimeInSeconds:w};return this.logger.debug("Websocket manager initialized. Connection details:",r),Promise.resolve({webSocketTransport:{url:t.url,expiry:t.expiry,transportLifeTimeInSeconds:w}})}return e.fetchConnectionDetails().then((e=>{var t={webSocketTransport:{url:e.url,expiry:e.expiry,transportLifeTimeInSeconds:w}},r={expiry:e.expiry,transportLifeTimeInSeconds:w};return this.logger.debug("Websocket manager initialized. Connection details:",r),this._addWebsocketInitCSMMetric(n),t})).catch((e=>{throw this.logger.error("Initializing Websocket Manager failed:",e),this._addWebsocketInitCSMMetric(n,!0),e}))}_addWebsocketInitCSMMetric(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Q.addLatencyMetric(g,e,c),Q.addCountAndErrorMetric(g,c,t)}end(){this.websocketManager.closeWebSocket&&this.websocketManager.closeWebSocket(),this.eventBus.unsubscribeAll(),this.subscriptions.forEach((e=>e())),this.logger.info("Websocket closed. All event subscriptions are cleared.")}start(){return this.status===q&&(this.status=j),Promise.resolve({websocketStatus:this.status})}onEnded(e){return this.eventBus.subscribe(V,e)}handleEnded(){this.status=B,this.eventBus.trigger(V,{}),Q.addCountMetric("WebsocketEnded",c),this.logger.info("Websocket connection ended.")}onConnectionGain(e){return this.eventBus.subscribe(H,e)}handleConnectionGain(){this.status=F,this.eventBus.trigger(H,{}),Q.addCountMetric("WebsocketConnectionGained",c),this.logger.info("Websocket connection gained.")}onConnectionLost(e){return this.eventBus.subscribe(z,e)}handleConnectionLost(){this.status=W,this.eventBus.trigger(z,{}),Q.addCountMetric("WebsocketConnectionLost",c),this.logger.info("Websocket connection lost.")}onMessage(e){return this.eventBus.subscribe(G,e)}handleMessage(e){var t;try{t=JSON.parse(e.content),this.eventBus.trigger(G,t),Q.addCountMetric("WebsocketIncomingMessage",c),this.logger.info("this.eventBus trigger Websocket incoming message",G,t)}catch(e){this._sendInternalLogToServer(this.logger.error("Wrong message format"))}}getStatus(){return this.status}getWebsocketManager(){return this.websocketManager}hasMessageSubscribers(){return this.eventBus.getSubscriptions(G).length>0}_sendInternalLogToServer(e){return e&&"function"==typeof e.sendInternalLogToServer&&e.sendInternalLogToServer(),e}}const ae=oe;function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class le{constructor(e){this.logger=I.getLogger({prefix:"ChatJS-MessageReceiptUtil",logMetaData:e}),this.timeout=null,this.timeoutId=null,this.readSet=new Set,this.deliveredSet=new Set,this.readPromiseMap=new Map,this.deliveredPromiseMap=new Map,this.lastReadArgs=null,this.throttleInitialEventsToPrioritizeRead=null,this.throttleSendEventApiCall=null}isMessageReceipt(e,t){return-1!==[v.INCOMING_READ_RECEIPT,v.INCOMING_DELIVERED_RECEIPT].indexOf(e)||t.Type===v.MESSAGE_METADATA}getEventTypeFromMessageMetaData(e){return Array.isArray(e.Receipts)&&e.Receipts[0]&&e.Receipts[0].ReadTimestamp?v.INCOMING_READ_RECEIPT:e.Receipts[0].DeliveredTimestamp?v.INCOMING_DELIVERED_RECEIPT:null}shouldShowMessageReceiptForCurrentParticipantId(e,t){return e!==(t.MessageMetadata&&Array.isArray(t.MessageMetadata.Receipts)&&t.MessageMetadata.Receipts[0]&&t.MessageMetadata.Receipts[0].RecipientParticipantId)}prioritizeAndSendMessageReceipt(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i2?n-2:0),o=2;o{s.resolveReadPromises(o.messageId,e[0]),s.resolveDeliveredPromises(u,e[0])}))}}catch(e){s.logger.error("send message receipt failed",e),s.resolveReadPromises(u,e,!0),s.resolveDeliveredPromises(u,e,!0)}},s.timeoutId||(s.timeoutId=setTimeout((function(){s.timeoutId=null,s.throttleSendEventApiCall()}),a))}resolveDeliveredPromises(e,t,n){return this.resolvePromises(this.deliveredPromiseMap,e,t,n)}resolveReadPromises(e,t,n){return this.resolvePromises(this.readPromiseMap,e,t,n)}resolvePromises(e,t,n,r){var i=Array.from(e.keys()),o=i.indexOf(t);if(-1!==o)for(var s=0;s<=o;s++){var a,c=null===(a=e.get(i[s]))||void 0===a?void 0:a[r?1:0];"function"==typeof c&&(e.delete(i[s]),c(n))}else this.logger.debug("Promise for messageId: ".concat(t," already resolved"))}rehydrateReceiptMappers(e,t){var n=this;return r=>{if(n.logger.debug("rehydrate chat",null==r?void 0:r.data),t){var{Transcript:i=[]}=(null==r?void 0:r.data)||{};i.forEach((e=>{if((null==e?void 0:e.Type)===v.MESSAGE_METADATA){var t,n,r,i=null==e||null===(t=e.MessageMetadata)||void 0===t||null===(n=t.Receipts)||void 0===n?void 0:n[0],o=null==e||null===(r=e.MessageMetadata)||void 0===r?void 0:r.MessageId;null!=i&&i.ReadTimestamp&&this.readSet.add(o),null!=i&&i.DeliveredTimestamp&&this.deliveredSet.add(o)}}))}return e(r)}}}class pe{constructor(e){this.argsValidator=new U,this.pubsub=new Y,this.sessionType=e.sessionType,this.getConnectionToken=e.chatDetails.getConnectionToken,this.connectionDetails=e.chatDetails.connectionDetails,this.initialContactId=e.chatDetails.initialContactId,this.contactId=e.chatDetails.contactId,this.participantId=e.chatDetails.participantId,this.chatClient=e.chatClient,this.participantToken=e.chatDetails.participantToken,this.websocketManager=e.websocketManager,this._participantDisconnected=!1,this.sessionMetadata={},this.logger=I.getLogger({prefix:"ChatJS-ChatController",logMetaData:e.logMetaData}),this.logMetaData=e.logMetaData,this.messageReceiptUtil=new le(e.logMetaData),this.logger.info("Browser info:",window.navigator.userAgent)}subscribe(e,t){this.pubsub.subscribe(e,t),this._sendInternalLogToServer(this.logger.info("Subscribed successfully to event:",e))}handleRequestSuccess(e,t,n,r){return i=>{var o=r?[{name:"ContentType",value:r}]:[];return Q.addLatencyMetricWithStartTime(t,n,c,o),Q.addCountAndErrorMetric(t,c,!1,o),i.metadata=e,i}}handleRequestFailure(e,t,n,r){return i=>{var o=r?[{name:"ContentType",value:r}]:[];return Q.addLatencyMetricWithStartTime(t,n,c,o),Q.addCountAndErrorMetric(t,c,!0,o),i.metadata=e,Promise.reject(i)}}sendMessage(e){var t=(new Date).getTime(),n=e.metadata||null;this.argsValidator.validateSendMessage(e);var r=this.connectionHelper.getConnectionToken();return this.chatClient.sendMessage(r,e.message,e.contentType).then(this.handleRequestSuccess(n,u,t,e.contentType)).catch(this.handleRequestFailure(n,u,t,e.contentType))}sendAttachment(e){var t=(new Date).getTime(),n=e.metadata||null,r=this.connectionHelper.getConnectionToken();return this.chatClient.sendAttachment(r,e.attachment,e.metadata).then(this.handleRequestSuccess(n,l,t,e.attachment.type)).catch(this.handleRequestFailure(n,l,t,e.attachment.type))}downloadAttachment(e){var t=(new Date).getTime(),n=e.metadata||null,r=this.connectionHelper.getConnectionToken();return this.chatClient.downloadAttachment(r,e.attachmentId).then(this.handleRequestSuccess(n,p,t)).catch(this.handleRequestFailure(n,p,t))}sendEvent(e){var t=(new Date).getTime(),n=e.metadata||null;this.argsValidator.validateSendEvent(e);var r=this.connectionHelper.getConnectionToken(),o=e.content||null,a=de(e.contentType),c="string"==typeof o?JSON.parse(o):o;return this.messageReceiptUtil.isMessageReceipt(a,e)?i.isFeatureEnabled(s)&&c.messageId?this.messageReceiptUtil.prioritizeAndSendMessageReceipt(this.chatClient,this.chatClient.sendEvent,r,e.contentType,o,a,i.getMessageReceiptsThrottleTime()).then(this.handleRequestSuccess(n,d,t,e.contentType)).catch(this.handleRequestFailure(n,d,t,e.contentType)):(this.logger.warn("Ignoring messageReceipt: ".concat(i.isFeatureEnabled(s)&&"missing messageId"),e),Promise.reject({errorMessage:"Ignoring messageReceipt: ".concat(i.isFeatureEnabled(s)&&"missing messageId"),data:e})):this.chatClient.sendEvent(r,e.contentType,o).then(this.handleRequestSuccess(n,d,t,e.contentType)).catch(this.handleRequestFailure(n,d,t,e.contentType))}getTranscript(e){var t=(new Date).getTime(),n=e.metadata||null,r={startPosition:e.startPosition||{},scanDirection:e.scanDirection||"BACKWARD",sortOrder:e.sortOrder||"ASCENDING",maxResults:e.maxResults||15};e.nextToken&&(r.nextToken=e.nextToken),e.contactId&&(r.contactId=e.contactId);var o=this.connectionHelper.getConnectionToken();return this.chatClient.getTranscript(o,r).then(this.messageReceiptUtil.rehydrateReceiptMappers(this.handleRequestSuccess(n,h,t),i.isFeatureEnabled(s))).catch(this.handleRequestFailure(n,h,t))}connect(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.sessionMetadata=e.metadata||null,this.argsValidator.validateConnectChat(e);var t=this._getConnectionDetailsProvider();return t.fetchConnectionDetails().then((e=>this._initConnectionHelper(t,e))).then((e=>this._onConnectSuccess(e,t))).catch((e=>this._onConnectFailure(e)))}_initConnectionHelper(e,t){return this.connectionHelper=new ae(this.contactId,this.initialContactId,e,this.websocketManager,this.logMetaData,t),this.connectionHelper.onEnded(this._handleEndedConnection.bind(this)),this.connectionHelper.onConnectionLost(this._handleLostConnection.bind(this)),this.connectionHelper.onConnectionGain(this._handleGainedConnection.bind(this)),this.connectionHelper.onMessage(this._handleIncomingMessage.bind(this)),this.connectionHelper.start()}_getConnectionDetailsProvider(){return new ee(this.participantToken,this.chatClient,this.sessionType,this.getConnectionToken)}_handleEndedConnection(e){this._forwardChatEvent(v.CONNECTION_BROKEN,{data:e,chatDetails:this.getChatDetails()}),this.breakConnection()}_handleLostConnection(e){this._forwardChatEvent(v.CONNECTION_LOST,{data:e,chatDetails:this.getChatDetails()})}_handleGainedConnection(e){this._forwardChatEvent(v.CONNECTION_ESTABLISHED,{data:e,chatDetails:this.getChatDetails()})}_handleIncomingMessage(e){try{var t=de(null==e?void 0:e.ContentType);if(this.messageReceiptUtil.isMessageReceipt(t,e)&&(!(t=this.messageReceiptUtil.getEventTypeFromMessageMetaData(null==e?void 0:e.MessageMetadata))||!this.messageReceiptUtil.shouldShowMessageReceiptForCurrentParticipantId(this.participantId,e)))return;this._forwardChatEvent(t,{data:e,chatDetails:this.getChatDetails()}),e.ContentType===y.chatEnded&&(this._forwardChatEvent(v.CHAT_ENDED,{data:null,chatDetails:this.getChatDetails()}),this.breakConnection())}catch(t){this._sendInternalLogToServer(this.logger.error("Error occured while handling message from Connection. eventData:",e," Causing exception:",t))}}_forwardChatEvent(e,t){this.pubsub.triggerAsync(e,t)}_onConnectSuccess(e,t){var n;this._sendInternalLogToServer(this.logger.info("Connect successful!")),console.warn("onConnectionSuccess response",e);var r={_debug:e,connectSuccess:!0,connectCalled:!0,metadata:this.sessionMetadata},s=Object.assign({chatDetails:this.getChatDetails()},r);this.pubsub.triggerAsync(v.CONNECTION_ESTABLISHED,s);var a=i.isFeatureEnabled(o),c=null===(n=t.getConnectionDetails())||void 0===n?void 0:n.connectionAcknowledged;return this._shouldAcknowledgeContact()&&!c&&(a?(Q.addAgentCountMetric("CREATE_PARTICIPANT_CONACK_CALL_COUNT",1),t.callCreateParticipantConnection({Type:!1,ConnectParticipant:!0}).catch((e=>{this.logger.warn("ConnectParticipant failed to acknowledge Agent connection ",e),this.sendEvent({contentType:y.connectionAcknowledged}),Q.addAgentCountMetric("CREATE_PARTICIPANT_CONACK_FAILURE",1)}))):this.sendEvent({contentType:y.connectionAcknowledged}).catch((e=>{t.callCreateParticipantConnection({Type:!1,ConnectParticipant:!0}),429===e.statusCode&&Q.addAgentCountMetric("SEND_EVENT_CONACK_THROTTLED",1),Q.addAgentCountMetric("SEND_EVENT_CONACK_FAILURE",1),this.logger.warn("Send event conack failed: ",e)}))),console.warn("onConnectionSuccess responseObject",r),r}_onConnectFailure(e){var t={_debug:e,connectSuccess:!1,connectCalled:!0,metadata:this.sessionMetadata};return this._sendInternalLogToServer(this.logger.error("Connect Failed. Error: ",t)),Promise.reject(t)}_shouldAcknowledgeContact(){return this.sessionType===a.AGENT}breakConnection(){return this.connectionHelper?this.connectionHelper.end():Promise.resolve()}cleanUpOnParticipantDisconnect(){this.pubsub.unsubscribeAll()}disconnectParticipant(){var e=(new Date).getTime(),t=this.connectionHelper.getConnectionToken();return this.chatClient.disconnectParticipant(t).then((t=>(this._sendInternalLogToServer(this.logger.info("Disconnect participant successfully")),this._participantDisconnected=!0,this.cleanUpOnParticipantDisconnect(),this.breakConnection(),Q.addLatencyMetricWithStartTime(f,e,c),Q.addCountAndErrorMetric(f,c,!1),t)),(t=>(this._sendInternalLogToServer(this.logger.error("Disconnect participant failed. Error:",t)),Q.addLatencyMetricWithStartTime(f,e,c),Q.addCountAndErrorMetric(f,c,!0),Promise.reject(t))))}getChatDetails(){return{initialContactId:this.initialContactId,contactId:this.contactId,participantId:this.participantId,participantToken:this.participantToken,connectionDetails:this.connectionDetails}}_convertConnectionHelperStatus(e){switch(e){case q:return"NeverEstablished";case j:return"Establishing";case B:case W:return"Broken";case F:return"Established"}this._sendInternalLogToServer(this.logger.error("Reached invalid state. Unknown connectionHelperStatus: ",e))}getConnectionStatus(){return this._convertConnectionHelperStatus(this.connectionHelper.getStatus())}_sendInternalLogToServer(e){return e&&"function"==typeof e.sendInternalLogToServer&&e.sendInternalLogToServer(),e}}var de=e=>b[e]||b.default;class he{constructor(e){this.controller=e}onMessage(e){this.controller.subscribe(v.INCOMING_MESSAGE,e)}onTyping(e){this.controller.subscribe(v.INCOMING_TYPING,e)}onReadReceipt(e){this.controller.subscribe(v.INCOMING_READ_RECEIPT,e)}onDeliveredReceipt(e){this.controller.subscribe(v.INCOMING_DELIVERED_RECEIPT,e)}onConnectionBroken(e){this.controller.subscribe(v.CONNECTION_BROKEN,e)}onConnectionEstablished(e){this.controller.subscribe(v.CONNECTION_ESTABLISHED,e)}onEnded(e){this.controller.subscribe(v.CHAT_ENDED,e)}onParticipantIdle(e){this.controller.subscribe(v.PARTICIPANT_IDLE,e)}onParticipantReturned(e){this.controller.subscribe(v.PARTICIPANT_RETURNED,e)}onAutoDisconnection(e){this.controller.subscribe(v.AUTODISCONNECTION,e)}sendMessage(e){return this.controller.sendMessage(e)}sendAttachment(e){return this.controller.sendAttachment(e)}downloadAttachment(e){return this.controller.downloadAttachment(e)}connect(e){return this.controller.connect(e)}sendEvent(e){return this.controller.sendEvent(e)}getTranscript(e){return this.controller.getTranscript(e)}getChatDetails(){return this.controller.getChatDetails()}}class fe extends he{constructor(e){super(e)}cleanUpOnParticipantDisconnect(){return this.controller.cleanUpOnParticipantDisconnect()}}class me extends he{constructor(e){super(e)}disconnectParticipant(){return this.controller.disconnectParticipant()}}var ge=new class extends class{createAgentChatController(e,n){throw new t("createAgentChatController in ChatControllerFactory.")}createCustomerChatController(e,n){throw new t("createCustomerChatController in ChatControllerFactory.")}}{constructor(){super(),this.argsValidator=new U}createChatSession(e,t,n,i){var o=this._createChatController(e,t,n,i);if(e===a.AGENT)return new fe(o);if(e===a.CUSTOMER)return new me(o);throw new r("Unkown value for session type, Allowed values are: "+Object.values(a),e)}_createChatController(e,t,n,r){var i=this.argsValidator.normalizeChatDetails(t),o={contactId:i.contactId,participantId:i.participantId,sessionType:e},s=D.getCachedClient(n,o);return new pe({sessionType:e,chatDetails:i,chatClient:s,websocketManager:r,logMetaData:o})}},ve=e=>{i.setFeatureFlag(e)},ye={create:e=>{var t=e.options||{},n=e.type||a.AGENT;return i.updateStageRegion(t),e.disableCSM||n!==a.CUSTOMER||Q.loadCsmScriptAndExecute(),ge.createChatSession(n,e.chatDetails,t,e.websocketManager)},setGlobalConfig:e=>{var t,n,r,o,a=e.loggerConfig,c=e.csmConfig;i.update(e),ie.setGlobalConfig(e),I.updateLoggerConfig(a),c&&Q.updateCsmConfig(c),!1!==(null===(t=e.features)||void 0===t||null===(n=t.messageReceipts)||void 0===n?void 0:n.shouldSendMessageReceipts)&&(console.warn("enabling message-receipts by default; to disable set config.features.messageReceipts.shouldSendMessageReceipts = false"),ve(s),i.updateThrottleTime(null===(r=e.features)||void 0===r||null===(o=r.messageReceipts)||void 0===o?void 0:o.thorttleTime))},LogLevel:T,Logger:class{debug(e){}info(e){}warn(e){}error(e){}advancedLog(e){}},SessionTypes:a,csmService:Q,setFeatureFlag:ve},be=void 0!==be?be:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};be.connect=be.connect||{},connect.ChatSession=ye,connect.LogManager=I,connect.LogLevel=T,connect.csmService=ye.csmService})()})(); //# sourceMappingURL=amazon-connect-chat.js.map \ No newline at end of file diff --git a/dist/amazon-connect-chat.js.map b/dist/amazon-connect-chat.js.map index e9780ac..1dd00f4 100644 --- a/dist/amazon-connect-chat.js.map +++ b/dist/amazon-connect-chat.js.map @@ -1 +1 @@ -{"version":3,"file":"amazon-connect-chat.js","mappings":"2BAAA,OAGY,SAASA,EAAEC,EAAEC,EAAEC,GAAG,SAASC,E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,EAAY55C,EAAO45C,UACvBhR,EAAa7vC,OAAOiH,GAQpBq+C,GAAAA,gBAAiCr+C,GACjCkvC,EAAWC,mBAAmBoW,GAC1B3L,GACA5B,EAAW2B,gBAAgBC,IAGuC,KAAhE,UAAA55C,EAAO+oC,gBAAP,mBAAiByc,uBAAjB,eAAkC7D,6BACpCvuB,QAAQ0c,KAAK,0HACb9F,GAAeI,GACfxB,EAAae,mBAAb,UAAgC3pC,EAAO+oC,gBAAvC,iBAAgC,EAAiByc,uBAAjD,aAAgC,EAAkCC,cACrE,EA2BD7W,SAAUA,EACV//B,OdvNJ,MACI+gC,MAAM9rC,GAAQ,CAEd+rC,KAAK/rC,GAAQ,CAEbgsC,KAAKhsC,GAAQ,CAEb7K,MAAM6K,GAAQ,CAEdmtC,YAAYntC,GAAQ,Gc+MpB4hD,aAAcrb,EACd2N,WAAYA,EACZhO,eAAgBA,ICzNhBvX,QAA2B,IAAXA,GAAyBA,GACb,oBAATC,KAAuBA,KACR,oBAAXrtB,OAAyBA,OAAS,CAAC,EAC9DotB,GAAOrlC,QAAUqlC,GAAOrlC,SAAW,CAAC,EACpCA,QAAQ62D,YAAcmB,GACtBh4D,QAAQ8hD,WAAaA,EACrB9hD,QAAQwhD,SAAWA,EACnBxhD,QAAQ4qD,WAAaoN,GAAAA,U","sources":["webpack://amazon-connect-chatjs/./src/client/aws-sdk-connectparticipant.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_Symbol.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_baseGetTag.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_baseTrim.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_freeGlobal.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_getRawTag.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_objectToString.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_root.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_trimmedEndIndex.js","webpack://amazon-connect-chatjs/./node_modules/lodash/debounce.js","webpack://amazon-connect-chatjs/./node_modules/lodash/isObject.js","webpack://amazon-connect-chatjs/./node_modules/lodash/isObjectLike.js","webpack://amazon-connect-chatjs/./node_modules/lodash/isSymbol.js","webpack://amazon-connect-chatjs/./node_modules/lodash/now.js","webpack://amazon-connect-chatjs/./node_modules/lodash/throttle.js","webpack://amazon-connect-chatjs/./node_modules/lodash/toNumber.js","webpack://amazon-connect-chatjs/./node_modules/sprintf-js/src/sprintf.js","webpack://amazon-connect-chatjs/webpack/bootstrap","webpack://amazon-connect-chatjs/webpack/runtime/amd options","webpack://amazon-connect-chatjs/webpack/runtime/compat get default export","webpack://amazon-connect-chatjs/webpack/runtime/define property getters","webpack://amazon-connect-chatjs/webpack/runtime/hasOwnProperty shorthand","webpack://amazon-connect-chatjs/./src/core/exceptions.js","webpack://amazon-connect-chatjs/./src/globalConfig.js","webpack://amazon-connect-chatjs/./src/constants.js","webpack://amazon-connect-chatjs/./src/utils.js","webpack://amazon-connect-chatjs/./src/log.js","webpack://amazon-connect-chatjs/./src/client/client.js","webpack://amazon-connect-chatjs/./src/core/chatArgsValidator.js","webpack://amazon-connect-chatjs/./src/core/connectionHelpers/baseConnectionHelper.js","webpack://amazon-connect-chatjs/./src/core/eventbus.js","webpack://amazon-connect-chatjs/./src/configs/csmConfig.js","webpack://amazon-connect-chatjs/./src/service/csmService.js","webpack://amazon-connect-chatjs/./src/lib/connect-csm.js","webpack://amazon-connect-chatjs/./src/lib/connect-csm-worker.js","webpack://amazon-connect-chatjs/./src/core/connectionHelpers/connectionDetailsProvider.js","webpack://amazon-connect-chatjs/../../../../../webpack/bootstrap","webpack://amazon-connect-chatjs/./src/core/connectionHelpers/LpcConnectionHelper.js","webpack://amazon-connect-chatjs/./src/core/MessageReceiptsUtil.js","webpack://amazon-connect-chatjs/./src/core/chatController.js","webpack://amazon-connect-chatjs/./src/core/chatSession.js","webpack://amazon-connect-chatjs/./src/index.js"],"sourcesContent":["// AWS SDK for JavaScript v2.772.0\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt\n!function(){function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var u=\"function\"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error(\"Cannot find module '\"+s+\"'\");throw c.code=\"MODULE_NOT_FOUND\",c}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){return i(t[s][1][e]||e)},l,l.exports,e,t,r,n)}return r[s].exports}for(var o=\"function\"==typeof require&&require,s=0;s-1});var s=[\"[object Int8Array]\",\"[object Uint8Array]\",\"[object Uint8ClampedArray]\",\"[object Int16Array]\",\"[object Uint16Array]\",\"[object Int32Array]\",\"[object Uint32Array]\",\"[object Float32Array]\",\"[object Float64Array]\",\"[object DataView]\"];t.exports={isEmptyData:n,convertToBuffer:i}},{\"buffer/\":82}],13:[function(e,t,r){function n(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),n=new Uint8Array(e.BLOCK_SIZE);n.set(r);for(var o=0;oe.BLOCK_SIZE){var n=new e;n.update(r),r=n.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var o=e(\"./browserHashUtils\");t.exports=n,n.prototype.update=function(e){if(o.isEmptyData(e)||this.error)return this;try{this.hash.update(o.convertToBuffer(e))}catch(e){this.error=e}return this},n.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{\"./browserHashUtils\":12}],14:[function(e,t,r){function n(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(p)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,n,i,o){return((t=(t+e&4294967295)+(n+o&4294967295)&4294967295)<>>32-i)+r&4294967295}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function u(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}var c=e(\"./browserHashUtils\"),l=e(\"buffer/\").Buffer,p=64;t.exports=n,n.BLOCK_SIZE=p,n.prototype.update=function(e){if(c.isEmptyData(e))return this;if(this.finished)throw new Error(\"Attempted to update an already finished hash.\");var t=c.convertToBuffer(e),r=0,n=t.byteLength;for(this.bytesHashed+=n;n>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),n--,this.bufferLength===p&&(this.hashBuffer(),this.bufferLength=0);return this},n.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,n=t.bufferLength,i=t.bytesHashed,o=8*i;if(r.setUint8(this.bufferLength++,128),n%p>=p-8){for(var s=this.bufferLength;s>>0,!0),r.setUint32(p-4,Math.floor(o/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var a=new DataView(new ArrayBuffer(16)),s=0;s<4;s++)a.setUint32(4*s,this.state[s],!0);var u=new l(a.buffer,a.byteOffset,a.byteLength);return e?u.toString(e):u},n.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,n=r[0],i=r[1],c=r[2],l=r[3];n=o(n,i,c,l,t.getUint32(0,!0),7,3614090360),l=o(l,n,i,c,t.getUint32(4,!0),12,3905402710),c=o(c,l,n,i,t.getUint32(8,!0),17,606105819),i=o(i,c,l,n,t.getUint32(12,!0),22,3250441966),n=o(n,i,c,l,t.getUint32(16,!0),7,4118548399),l=o(l,n,i,c,t.getUint32(20,!0),12,1200080426),c=o(c,l,n,i,t.getUint32(24,!0),17,2821735955),i=o(i,c,l,n,t.getUint32(28,!0),22,4249261313),n=o(n,i,c,l,t.getUint32(32,!0),7,1770035416),l=o(l,n,i,c,t.getUint32(36,!0),12,2336552879),c=o(c,l,n,i,t.getUint32(40,!0),17,4294925233),i=o(i,c,l,n,t.getUint32(44,!0),22,2304563134),n=o(n,i,c,l,t.getUint32(48,!0),7,1804603682),l=o(l,n,i,c,t.getUint32(52,!0),12,4254626195),c=o(c,l,n,i,t.getUint32(56,!0),17,2792965006),i=o(i,c,l,n,t.getUint32(60,!0),22,1236535329),n=s(n,i,c,l,t.getUint32(4,!0),5,4129170786),l=s(l,n,i,c,t.getUint32(24,!0),9,3225465664),c=s(c,l,n,i,t.getUint32(44,!0),14,643717713),i=s(i,c,l,n,t.getUint32(0,!0),20,3921069994),n=s(n,i,c,l,t.getUint32(20,!0),5,3593408605),l=s(l,n,i,c,t.getUint32(40,!0),9,38016083),c=s(c,l,n,i,t.getUint32(60,!0),14,3634488961),i=s(i,c,l,n,t.getUint32(16,!0),20,3889429448),n=s(n,i,c,l,t.getUint32(36,!0),5,568446438),l=s(l,n,i,c,t.getUint32(56,!0),9,3275163606),c=s(c,l,n,i,t.getUint32(12,!0),14,4107603335),i=s(i,c,l,n,t.getUint32(32,!0),20,1163531501),n=s(n,i,c,l,t.getUint32(52,!0),5,2850285829),l=s(l,n,i,c,t.getUint32(8,!0),9,4243563512),c=s(c,l,n,i,t.getUint32(28,!0),14,1735328473),i=s(i,c,l,n,t.getUint32(48,!0),20,2368359562),n=a(n,i,c,l,t.getUint32(20,!0),4,4294588738),l=a(l,n,i,c,t.getUint32(32,!0),11,2272392833),c=a(c,l,n,i,t.getUint32(44,!0),16,1839030562),i=a(i,c,l,n,t.getUint32(56,!0),23,4259657740),n=a(n,i,c,l,t.getUint32(4,!0),4,2763975236),l=a(l,n,i,c,t.getUint32(16,!0),11,1272893353),c=a(c,l,n,i,t.getUint32(28,!0),16,4139469664),i=a(i,c,l,n,t.getUint32(40,!0),23,3200236656),n=a(n,i,c,l,t.getUint32(52,!0),4,681279174),l=a(l,n,i,c,t.getUint32(0,!0),11,3936430074),c=a(c,l,n,i,t.getUint32(12,!0),16,3572445317),i=a(i,c,l,n,t.getUint32(24,!0),23,76029189),n=a(n,i,c,l,t.getUint32(36,!0),4,3654602809),l=a(l,n,i,c,t.getUint32(48,!0),11,3873151461),c=a(c,l,n,i,t.getUint32(60,!0),16,530742520),i=a(i,c,l,n,t.getUint32(8,!0),23,3299628645),n=u(n,i,c,l,t.getUint32(0,!0),6,4096336452),l=u(l,n,i,c,t.getUint32(28,!0),10,1126891415),c=u(c,l,n,i,t.getUint32(56,!0),15,2878612391),i=u(i,c,l,n,t.getUint32(20,!0),21,4237533241),n=u(n,i,c,l,t.getUint32(48,!0),6,1700485571),\nl=u(l,n,i,c,t.getUint32(12,!0),10,2399980690),c=u(c,l,n,i,t.getUint32(40,!0),15,4293915773),i=u(i,c,l,n,t.getUint32(4,!0),21,2240044497),n=u(n,i,c,l,t.getUint32(32,!0),6,1873313359),l=u(l,n,i,c,t.getUint32(60,!0),10,4264355552),c=u(c,l,n,i,t.getUint32(24,!0),15,2734768916),i=u(i,c,l,n,t.getUint32(52,!0),21,1309151649),n=u(n,i,c,l,t.getUint32(16,!0),6,4149444226),l=u(l,n,i,c,t.getUint32(44,!0),10,3174756917),c=u(c,l,n,i,t.getUint32(8,!0),15,718787259),i=u(i,c,l,n,t.getUint32(36,!0),21,3951481745),r[0]=n+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=c+r[2]&4294967295,r[3]=l+r[3]&4294967295}},{\"./browserHashUtils\":12,\"buffer/\":82}],15:[function(e,t,r){function n(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e(\"buffer/\").Buffer,o=e(\"./browserHashUtils\");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=n,n.BLOCK_SIZE=64,n.prototype.update=function(e){if(this.finished)throw new Error(\"Attempted to update an already finished hash.\");if(o.isEmptyData(e))return this;e=o.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),n=new DataView(r.buffer);return n.setUint32(0,this.h0,!1),n.setUint32(4,this.h1,!1),n.setUint32(8,this.h2,!1),n.setUint32(12,this.h3,!1),n.setUint32(16,this.h4,!1),e?r.toString(e):r},n.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,n,i=this.h0,o=this.h1,s=this.h2,a=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=a^o&(s^a),n=1518500249):e<40?(r=o^s^a,n=1859775393):e<60?(r=o&s|a&(o|s),n=2400959708):(r=o^s^a,n=3395469782);var c=(i<<5|i>>>27)+r+u+n+(0|this.block[e]);u=a,a=s,s=o<<30|o>>>2,o=i,i=c}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+s|0,this.h3=this.h3+a|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{\"./browserHashUtils\":12,\"buffer/\":82}],16:[function(e,t,r){function n(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e(\"buffer/\").Buffer,o=e(\"./browserHashUtils\"),s=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=Math.pow(2,53)-1;t.exports=n,n.BLOCK_SIZE=64,n.prototype.update=function(e){if(this.finished)throw new Error(\"Attempted to update an already finished hash.\");if(o.isEmptyData(e))return this;e=o.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>a)throw new Error(\"Cannot hash more than 2^53 - 1 bits\");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},n.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(r.setUint8(this.bufferLength++,128),n%64>=56){for(var o=this.bufferLength;o<64;o++)r.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<56;o++)r.setUint8(o,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var s=new i(32),o=0;o<8;o++)s[4*o]=this.state[o]>>>24&255,s[4*o+1]=this.state[o]>>>16&255,s[4*o+2]=this.state[o]>>>8&255,s[4*o+3]=this.state[o]>>>0&255;return e?s.toString(e):s},n.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,n=r[0],i=r[1],o=r[2],a=r[3],u=r[4],c=r[5],l=r[6],p=r[7],h=0;h<64;h++){if(h<16)this.temp[h]=(255&t[4*h])<<24|(255&t[4*h+1])<<16|(255&t[4*h+2])<<8|255&t[4*h+3];else{var f=this.temp[h-2],d=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10;f=this.temp[h-15];var m=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[h]=(d+this.temp[h-7]|0)+(m+this.temp[h-16]|0)}var v=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&l)|0)+(p+(s[h]+this.temp[h]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&o^i&o)|0;p=l,l=c,c=u,u=a+v|0,a=o,o=i,i=n,n=v+g|0}r[0]+=n,r[1]+=i,r[2]+=o,r[3]+=a,r[4]+=u,r[5]+=c,r[6]+=l,r[7]+=p}},{\"./browserHashUtils\":12,\"buffer/\":82}],17:[function(e,t,r){(function(r){(function(){var r=e(\"./util\");r.crypto.lib=e(\"./browserCryptoLib\"),r.Buffer=e(\"buffer/\").Buffer,r.url=e(\"url/\"),r.querystring=e(\"querystring/\"),r.realClock=e(\"./realclock/browserClock\"),r.environment=\"js\",r.createEventStream=e(\"./event-stream/buffered-create-event-stream\").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var n=e(\"./core\");if(t.exports=n,e(\"./credentials\"),e(\"./credentials/credential_provider_chain\"),e(\"./credentials/temporary_credentials\"),e(\"./credentials/chainable_temporary_credentials\"),e(\"./credentials/web_identity_credentials\"),e(\"./credentials/cognito_identity_credentials\"),e(\"./credentials/saml_credentials\"),n.XML.Parser=e(\"./xml/browser_parser\"),e(\"./http/xhr\"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e(\"_process\"))},{\"./browserCryptoLib\":11,\"./core\":20,\"./credentials\":21,\"./credentials/chainable_temporary_credentials\":22,\"./credentials/cognito_identity_credentials\":23,\"./credentials/credential_provider_chain\":24,\"./credentials/saml_credentials\":25,\"./credentials/temporary_credentials\":26,\"./credentials/web_identity_credentials\":27,\"./event-stream/buffered-create-event-stream\":29,\"./http/xhr\":37,\"./realclock/browserClock\":54,\"./util\":73,\"./xml/browser_parser\":74,_process:87,\"buffer/\":82,\"querystring/\":94,\"url/\":96}],18:[function(e,t,r){var n=e(\"./core\");e(\"./credentials\"),e(\"./credentials/credential_provider_chain\");var i;n.Config=n.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),n.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new n.util.error(t||new Error,{code:\"CredentialsError\",message:e,name:\"CredentialsError\"})}var i=this;i.credentials?\"function\"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r(\"Could not load credentials from \"+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r(\"Missing credentials\")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,n){e&&(e=r(\"Could not load credentials from any providers\",e)),i.credentials=n,t(e)}):t(r(\"No credentials to load\"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),n.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||n.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(n.util.readFileSync(e)),r=new n.FileSystemCredentials(e),i=new n.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){n.util.each.call(this,this.keys,function(e){delete this[e]}),this.set(\"credentials\",void 0),this.set(\"credentialProvider\",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]=\"function\"==typeof r?r.call(this):r):\"httpOptions\"===e&&this[e]?this[e]=n.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:\"legacy\",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:\"legacy\"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=n.util.copy(e),e.credentials=new n.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&\"function\"==typeof Promise&&(i=Promise);var t=[n.Request,n.Credentials,n.CredentialProviderChain];n.S3&&(t.push(n.S3),n.S3.ManagedUpload&&t.push(n.S3.ManagedUpload)),n.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),n.config=new n.Config},{\"./core\":20,\"./credentials\":21,\"./credentials/credential_provider_chain\":24}],19:[function(e,t,r){(function(r){(function(){function n(e,t){if(\"string\"==typeof e){if([\"legacy\",\"regional\"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw o.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=n(e[t.clientConfig],{code:\"InvalidConfiguration\",message:'invalid \"'+t.clientConfig+'\" configuration. Expect \"legacy\" or \"regional\". Got \"'+e[t.clientConfig]+'\".'})))return i;if(!o.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=n(r.env[t.env],{code:\"InvalidEnvironmentalVariable\",message:\"invalid \"+t.env+' environmental variable. Expect \"legacy\" or \"regional\". Got \"'+r.env[t.env]+'\".'}))return i}var s={};try{s=o.util.getProfilesFromSharedConfig(o.util.iniLoader)[r.env.AWS_PROFILE||o.util.defaultProfile]}catch(e){}if(s&&Object.prototype.hasOwnProperty.call(s,t.sharedConfig)){if(i=n(s[t.sharedConfig],{code:\"InvalidConfiguration\",message:\"invalid \"+t.sharedConfig+' profile config. Expect \"legacy\" or \"regional\". Got \"'+s[t.sharedConfig]+'\".'}))return i}return i}var o=e(\"./core\");t.exports=i}).call(this)}).call(this,e(\"_process\"))},{\"./core\":20,_process:87}],20:[function(e,t,r){var n={util:e(\"./util\")};({}).toString(),t.exports=n,n.util.update(n,{VERSION:\"2.772.0\",Signers:{},Protocol:{Json:e(\"./protocol/json\"),Query:e(\"./protocol/query\"),Rest:e(\"./protocol/rest\"),RestJson:e(\"./protocol/rest_json\"),RestXml:e(\"./protocol/rest_xml\")},XML:{Builder:e(\"./xml/builder\"),Parser:null},JSON:{Builder:e(\"./json/builder\"),Parser:e(\"./json/parser\")},Model:{Api:e(\"./model/api\"),Operation:e(\"./model/operation\"),Shape:e(\"./model/shape\"),Paginator:e(\"./model/paginator\"),ResourceWaiter:e(\"./model/resource_waiter\")},apiLoader:e(\"./api_loader\"),EndpointCache:e(\"../vendor/endpoint-cache\").EndpointCache}),e(\"./sequential_executor\"),e(\"./service\"),e(\"./config\"),e(\"./http\"),e(\"./event_listeners\"),e(\"./request\"),e(\"./response\"),e(\"./resource_waiter\"),e(\"./signers/request_signer\"),e(\"./param_validator\"),n.events=new n.SequentialExecutor,n.util.memoizedProperty(n,\"endpointCache\",function(){return new n.EndpointCache(n.config.endpointCacheSize)},!0)},{\"../vendor/endpoint-cache\":105,\"./api_loader\":10,\"./config\":18,\"./event_listeners\":35,\"./http\":36,\"./json/builder\":38,\"./json/parser\":39,\"./model/api\":40,\"./model/operation\":42,\"./model/paginator\":43,\"./model/resource_waiter\":44,\"./model/shape\":45,\"./param_validator\":46,\"./protocol/json\":48,\"./protocol/query\":49,\"./protocol/rest\":50,\"./protocol/rest_json\":51,\"./protocol/rest_xml\":52,\"./request\":57,\"./resource_waiter\":58,\"./response\":59,\"./sequential_executor\":60,\"./service\":61,\"./signers/request_signer\":65,\"./util\":73,\"./xml/builder\":75}],21:[function(e,t,r){var n=e(\"./core\");n.Credentials=n.util.inherit({constructor:function(){if(n.util.hideProperties(this,[\"secretAccessKey\"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&\"object\"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=n.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){n.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):n.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),n.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=n.util.promisifyMethod(\"get\",e),this.prototype.refreshPromise=n.util.promisifyMethod(\"refresh\",e)},n.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},n.util.addPromises(n.Credentials)},{\"./core\":20}],22:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.ChainableTemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),e=e||{},this.errorCode=\"ChainableTemporaryCredentialsProviderFailure\",this.expired=!0,this.tokenCodeFn=null;var t=n.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||\"temporary-credentials\"),t.SerialNumber){if(!e.tokenCodeFn||\"function\"!=typeof e.tokenCodeFn)throw new n.util.error(new Error(\"tokenCodeFn must be a function when params.SerialNumber is given\"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=n.util.merge({params:t,credentials:e.masterCredentials||n.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?\"assumeRole\":\"getSessionToken\";this.getTokenCode(function(n,i){var o={};if(n)return void e(n);i&&(o.TokenCode=i),t.service[r](o,function(r,n){r||t.service.credentialsFrom(n,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var o=r;return r instanceof Error&&(o=r.message),void e(n.util.error(new Error(\"Error fetching MFA token: \"+o),{code:t.errorCode}))}e(null,i)}):e(null)}})},{\"../../clients/sts\":9,\"../core\":20}],23:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/cognitoidentity\"),o=e(\"../../clients/sts\");n.CognitoIdentityCredentials=n.util.inherit(n.Credentials,{localStorageKey:{id:\"aws.cognito.identity-id.\",providers:\"aws.cognito.identity-providers.\"},constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=n.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,\"identityId\",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||\"\";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;\"NotAuthorizedException\"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if(\"string\"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,n){!r&&n.IdentityId?(t.params.IdentityId=n.IdentityId,e(null,n.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,n){r?t.clearIdOnNotAuthorized(r):(t.cacheId(n),t.data=n,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,n){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(n),t.params.WebIdentityToken=n.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(n.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage(\"id\");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage(\"providers\")||\"\").split(\",\").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new n.WebIdentityCredentials(this.params,e),!this.cognito){var t=n.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,n.util.isBrowser()&&(this.setStorage(\"id\",e.IdentityId),this.params.Logins&&this.setStorage(\"providers\",Object.keys(this.params.Logins).join(\",\")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||\"\")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||\"\")]=t}catch(e){}},storage:function(){try{var e=n.util.isBrowser()&&null!==window.localStorage&&\"object\"==typeof window.localStorage?window.localStorage:{};return e[\"aws.test-storage\"]=\"foobar\",delete e[\"aws.test-storage\"],e}catch(e){return{}}}()})},{\"../../clients/cognitoidentity\":8,\"../../clients/sts\":9,\"../core\":20}],24:[function(e,t,r){var n=e(\"../core\");n.CredentialProviderChain=n.util.inherit(n.Credentials,{constructor:function(e){this.providers=e||n.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,s){if(!e&&s||i===o.length)return n.util.arrayEach(r.resolveCallbacks,function(t){t(e,s)}),void(r.resolveCallbacks.length=0);var a=o[i++];s=\"function\"==typeof a?a.call():a,s.get?s.get(function(e){t(e,e?null:s)}):t(null,s)}var r=this;if(0===r.providers.length)return e(new Error(\"No providers\")),r;if(1===r.resolveCallbacks.push(e)){var i=0,o=r.providers.slice(0);t()}return r}}),n.CredentialProviderChain.defaultProviders=[],n.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=n.util.promisifyMethod(\"resolve\",e)},n.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},n.util.addPromises(n.CredentialProviderChain)},{\"../core\":20}],25:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.SAMLCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,n){r||t.service.credentialsFrom(n,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{\"../../clients/sts\":9,\"../core\":20}],26:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.TemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||\"temporary-credentials\")},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,n){r||t.service.credentialsFrom(n,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||n.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;\"function\"!=typeof this.masterCredentials.get&&(this.masterCredentials=new n.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{\"../../clients/sts\":9,\"../core\":20}],27:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.WebIdentityCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||\"web-identity\",this.data=null,this._clientConfig=n.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,n){t.data=null,r||(t.data=n,t.service.credentialsFrom(n,t)),e(r)})},createClients:function(){if(!this.service){var e=n.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{\"../../clients/sts\":9,\"../core\":20}],28:[function(e,t,r){(function(r){(function(){function n(e){var t=e.service,r=t.api||{},n={};return t.config.region&&(n.region=t.config.region),r.serviceId&&(n.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(n.accessKeyId=t.config.credentials.accessKeyId),n}function i(e,t,r){r&&void 0!==t&&null!==t&&\"structure\"===r.type&&r.required&&r.required.length>0&&m.arrayEach(r.required,function(n){var o=r.members[n];if(!0===o.endpointDiscoveryId){var s=o.isLocationName?o.name:n;e[s]=String(t[n])}else i(e,t[n],o)})}function o(e,t){var r={};return i(r,e.params,t),r}function s(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,s=i?i.input:void 0,a=o(e,s),c=n(e);Object.keys(a).length>0&&(c=m.update(c,a),i&&(c.operation=i.name));var l=d.endpointCache.get(c);if(!l||1!==l.length||\"\"!==l[0].Address)if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address);else{var p=t.makeRequest(r.endpointOperation,{Operation:i.name,Identifiers:a});u(p),p.removeListener(\"validate\",d.EventListeners.Core.VALIDATE_PARAMETERS),p.removeListener(\"retry\",d.EventListeners.Core.RETRY_CHECK),d.endpointCache.put(c,[{Address:\"\",CachePeriodInMinutes:1}]),p.send(function(e,t){t&&t.Endpoints?d.endpointCache.put(c,t.Endpoints):e&&d.endpointCache.put(c,[{Address:\"\",CachePeriodInMinutes:1}])})}}function a(e,t){var r=e.service,i=r.api,s=i.operations?i.operations[e.operation]:void 0,a=s?s.input:void 0,c=o(e,a),l=n(e);Object.keys(c).length>0&&(l=m.update(l,c),s&&(l.operation=s.name));var p=d.EndpointCache.getKeyString(l),h=d.endpointCache.get(p);if(h&&1===h.length&&\"\"===h[0].Address)return g[p]||(g[p]=[]),void g[p].push({request:e,callback:t});if(h&&h.length>0)e.httpRequest.updateEndpoint(h[0].Address),t();else{var f=r.makeRequest(i.endpointOperation,{Operation:s.name,Identifiers:c});f.removeListener(\"validate\",d.EventListeners.Core.VALIDATE_PARAMETERS),u(f),d.endpointCache.put(p,[{Address:\"\",CachePeriodInMinutes:60}]),f.send(function(r,n){if(r){if(e.response.error=m.error(r,{retryable:!1}),d.endpointCache.remove(l),g[p]){var i=g[p];m.arrayEach(i,function(e){e.request.response.error=m.error(r,{retryable:!1}),e.callback()}),delete g[p]}}else if(n&&(d.endpointCache.put(p,n.Endpoints),e.httpRequest.updateEndpoint(n.Endpoints[0].Address),g[p])){var i=g[p];m.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(n.Endpoints[0].Address),e.callback()}),delete g[p]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers[\"x-amz-api-version\"]&&(e.httpRequest.headers[\"x-amz-api-version\"]=r)}function c(e){var t=e.error,r=e.httpResponse;if(t&&(\"InvalidEndpointException\"===t.code||421===r.statusCode)){var i=e.request,s=i.service.api.operations||{},a=s[i.operation]?s[i.operation].input:void 0,u=o(i,a),c=n(i);Object.keys(u).length>0&&(c=m.update(c,u),s[i.operation]&&(c.operation=s[i.operation].name)),d.endpointCache.remove(c)}}function l(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw m.error(new Error,{code:\"ConfigurationException\",message:\"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.\"});var t=d.config[e.serviceIdentifier]||{};return Boolean(d.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function p(e){return[\"false\",\"0\"].indexOf(e)>=0}function h(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!m.isBrowser()){for(var n=0;n-1&&0===++e[t];t--);}var o=e(\"../core\").util,s=o.buffer.toBuffer;n.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+\" is too large (or, if negative, too small) to represent as an Int64\");for(var t=new Uint8Array(8),r=7,o=Math.abs(Math.round(e));r>-1&&o>0;r--,o/=256)t[r]=o;return e<0&&i(t),new n(t)},n.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString(\"hex\"),16)*(t?-1:1)},n.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:n}},{\"../core\":20}],32:[function(e,t,r){function n(e,t,r){var n=o(t),s=n.headers[\":message-type\"];if(s){if(\"error\"===s.value)throw i(n);if(\"event\"!==s.value)return}var a=n.headers[\":event-type\"],u=r.members[a.value];if(u){var c={},l=u.eventPayloadMemberName;if(l){var p=u.members[l];\"binary\"===p.type?c[l]=n.body:c[l]=e.parse(n.body.toString(),p)}for(var h=u.eventHeaderMemberNames,f=0;f=0)return e.httpRequest.headers[\"X-Amz-Content-Sha256\"]=\"UNSIGNED-PAYLOAD\",t();i.util.computeSha256(o,function(r,n){r?t(r):(e.httpRequest.headers[\"X-Amz-Content-Sha256\"]=n,t())})}else t()}}),e(\"SET_CONTENT_LENGTH\",\"afterBuild\",function(e){var t=n(e),r=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers[\"Content-Length\"])try{var o=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers[\"Content-Length\"]=o}catch(n){if(r&&r.isStreaming){if(r.requiresLength)throw n;if(t.indexOf(\"unsigned-body\")>=0)return void(e.httpRequest.headers[\"Transfer-Encoding\"]=\"chunked\");throw n}throw n}}),e(\"SET_HTTP_HOST\",\"afterBuild\",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e(\"RESTART\",\"restart\",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit(\"sign\",[this],function(e){e?t(e):s()}):s()}),e(\"HTTP_HEADERS\",\"httpHeaders\",function(e,t,r,n){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=n,r.httpResponse.headers=t,r.httpResponse.body=i.util.buffer.toBuffer(\"\"),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var o=t.date||t.Date,s=r.request.service;if(o){var a=Date.parse(o);s.config.correctClockSkew&&s.isClockSkewed(a)&&s.applyClockOffset(a)}}),e(\"HTTP_DATA\",\"httpData\",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers[\"content-length\"],n={loaded:t.httpResponse.numBytes,total:r};t.request.emit(\"httpDownloadProgress\",[n,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e(\"HTTP_DONE\",\"httpDone\",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e(\"FINALIZE_ERROR\",\"retry\",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e(\"INVALIDATE_CREDENTIALS\",\"retry\",function(e){if(e.error)switch(e.error.code){case\"RequestExpired\":case\"ExpiredTokenException\":case\"ExpiredToken\":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e(\"EXPIRED_SIGNATURE\",\"retry\",function(e){var t=e.error;t&&\"string\"==typeof t.code&&\"string\"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e(\"CLOCK_SKEWED\",\"retry\",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e(\"REDIRECT\",\"retry\",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e(\"RETRY_CHECK\",\"retry\",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new o).addNamedListeners(function(e){e(\"EXTRACT_REQUEST_ID\",\"extractData\",i.util.extractRequestId),e(\"EXTRACT_REQUEST_ID\",\"extractError\",i.util.extractRequestId),e(\"ENOTFOUND_ERROR\",\"httpError\",function(e){if(\"NetworkingError\"===e.code&&function(e){return\"ENOTFOUND\"===e.errno||\"number\"==typeof e.errno&&\"function\"==typeof i.util.getSystemErrorName&&[\"EAI_NONAME\",\"EAI_NODATA\"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t=\"Inaccessible host: `\"+e.hostname+\"'. This service may not be available in the `\"+e.region+\"' region.\";this.response.error=i.util.error(new Error(t),{code:\"UnknownEndpoint\",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new o).addNamedListeners(function(t){t(\"LOG_REQUEST\",\"complete\",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return\"***SensitiveInformation***\";switch(e.type){case\"structure\":var n={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?n[t]=r(e.members[t],i):n[t]=i}),n;case\"list\":var o=[];return i.util.arrayEach(t,function(t,n){o.push(r(e.member,t))}),o;case\"map\":var s={};return i.util.each(t,function(t,n){s[t]=r(e.value,n)}),s;default:return t}}var n=t.request,o=n.service.config.logger;if(o){var s=function(){var s=t.request.service.getSkewCorrectedDate().getTime(),a=(s-n.startTime.getTime())/1e3,u=!!o.isTTY,c=t.httpResponse.statusCode,l=n.params;if(n.service.api.operations&&n.service.api.operations[n.operation]&&n.service.api.operations[n.operation].input){l=r(n.service.api.operations[n.operation].input,n.params)}var p=e(\"util\").inspect(l,!0,null),h=\"\";return u&&(h+=\"\u001b[33m\"),h+=\"[AWS \"+n.service.serviceIdentifier+\" \"+c,h+=\" \"+a.toString()+\"s \"+t.retryCount+\" retries]\",u&&(h+=\"\u001b[0;1m\"),h+=\" \"+i.util.string.lowerFirst(n.operation),h+=\"(\"+p+\")\",u&&(h+=\"\u001b[0m\"),h}();\"function\"==typeof o.log?o.log(s):\"function\"==typeof o.write&&o.write(s+\"\\n\")}})}),Json:(new o).addNamedListeners(function(t){var r=e(\"./protocol/json\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),Rest:(new o).addNamedListeners(function(t){var r=e(\"./protocol/rest\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),RestJson:(new o).addNamedListeners(function(t){var r=e(\"./protocol/rest_json\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),RestXml:(new o).addNamedListeners(function(t){var r=e(\"./protocol/rest_xml\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),Query:(new o).addNamedListeners(function(t){var r=e(\"./protocol/query\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)})}},{\"./core\":20,\"./discover_endpoint\":28,\"./protocol/json\":48,\"./protocol/query\":49,\"./protocol/rest\":50,\"./protocol/rest_json\":51,\"./protocol/rest_xml\":52,\"./sequential_executor\":60,util:99}],36:[function(e,t,r){var n=e(\"./core\"),i=n.util.inherit;n.Endpoint=i({constructor:function(e,t){if(n.util.hideProperties(this,[\"slashes\",\"auth\",\"hash\",\"search\",\"query\"]),void 0===e||null===e)throw new Error(\"Invalid endpoint: \"+e);if(\"string\"!=typeof e)return n.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:n.config.sslEnabled)?\"https\":\"http\")+\"://\"+e}n.util.update(this,n.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port=\"https:\"===this.protocol?443:80}}),n.HttpRequest=i({constructor:function(e,t){e=new n.Endpoint(e),this.method=\"POST\",this.path=e.path||\"/\",this.headers={},this.body=\"\",this.endpoint=e,this.region=t,this._userAgent=\"\",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=n.util.userAgent()},getUserAgentHeaderName:function(){return(n.util.isBrowser()?\"X-Amz-\":\"\")+\"User-Agent\"},appendToUserAgent:function(e){\"string\"==typeof e&&e&&(this._userAgent+=\" \"+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split(\"?\",1)[0]},search:function(){var e=this.path.split(\"?\",2)[1];return e?(e=n.util.queryStringParse(e),n.util.queryParamsToString(e)):\"\"},updateEndpoint:function(e){var t=new n.Endpoint(e);this.endpoint=t,this.path=t.path||\"/\",this.headers.Host&&(this.headers.Host=t.host)}}),n.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),n.HttpClient=i({}),n.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{\"./core\":20}],37:[function(e,t,r){var n=e(\"../core\"),i=e(\"events\").EventEmitter;e(\"../http\"),n.XHRClient=n.util.inherit({handleRequest:function(e,t,r,o){var s=this,a=e.endpoint,u=new i,c=a.protocol+\"//\"+a.hostname;80!==a.port&&443!==a.port&&(c+=\":\"+a.port),c+=e.path;var l=new XMLHttpRequest,p=!1;e.stream=l,l.addEventListener(\"readystatechange\",function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!p&&(u.statusCode=l.status,u.headers=s.parseHeaders(l.getAllResponseHeaders()),u.emit(\"headers\",u.statusCode,u.headers,l.statusText),p=!0),this.readyState===this.DONE&&s.finishRequest(l,u)},!1),l.upload.addEventListener(\"progress\",function(e){u.emit(\"sendProgress\",e)}),l.addEventListener(\"progress\",function(e){u.emit(\"receiveProgress\",e)},!1),l.addEventListener(\"timeout\",function(){o(n.util.error(new Error(\"Timeout\"),{code:\"TimeoutError\"}))},!1),l.addEventListener(\"error\",function(){o(n.util.error(new Error(\"Network Failure\"),{code:\"NetworkingError\"}))},!1),l.addEventListener(\"abort\",function(){o(n.util.error(new Error(\"Request aborted\"),{code:\"RequestAbortedError\"}))},!1),r(u),l.open(e.method,c,!1!==t.xhrAsync),n.util.each(e.headers,function(e,t){\"Content-Length\"!==e&&\"User-Agent\"!==e&&\"Host\"!==e&&l.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType=\"arraybuffer\"}catch(e){}try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||\"object\"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return n.util.arrayEach(e.split(/\\r?\\n/),function(e){var r=e.split(\":\",1)[0],n=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=n)}),t},finishRequest:function(e,t){var r;if(\"arraybuffer\"===e.responseType&&e.response){var i=e.response;r=new n.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s-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 h(){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 d(){o.apply(this,arguments),this.toType=function(e){var t=y.base64.decode(e);if(this.isSensitive&&y.isNode()&&\"function\"==typeof y.Buffer.alloc){var r=y.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=y.base64.encode}function m(){d.apply(this,arguments)}function v(){o.apply(this,arguments),this.toType=function(e){return\"boolean\"==typeof e?e:null===e||void 0===e?null:\"true\"===e}}var g=e(\"./collection\"),y=e(\"../util\");o.normalizedTypes={character:\"string\",double:\"float\",long:\"integer\",short:\"integer\",biginteger:\"integer\",bigdecimal:\"float\",blob:\"binary\"},o.types={structure:a,list:u,map:c,boolean:v,timestamp:l,float:h,integer:f,string:p,base64:m,binary:d},o.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error(\"Cannot find shape reference: \"+e.shape);return r}return null},o.create=function(e,t,r){if(e.isShape)return e;var n=o.resolve(e,t);if(n){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var s=function(){n.constructor.call(this,e,t,r)};return s.prototype=n,new s}e.type||(e.members?e.type=\"structure\":e.member?e.type=\"list\":e.key?e.type=\"map\":e.type=\"string\");var a=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,r);throw new Error(\"Unrecognized shape type: \"+a)},o.shapes={StructureShape:a,ListShape:u,MapShape:c,StringShape:p,BooleanShape:v,Base64Shape:m},t.exports=o},{\"../util\":73,\"./collection\":41}],46:[function(e,t,r){var n=e(\"./core\");n.ParamValidator=n.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||\"params\"),this.errors.length>1){var i=this.errors.join(\"\\n* \");throw i=\"There were \"+this.errors.length+\" validation errors:\\n* \"+i,n.util.error(new Error(i),{code:\"MultipleValidationErrors\",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(n.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,[\"object\"],\"structure\");for(var n,i=0;e.required&&i= 1, but found \"'+t+'\" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail(\"PatternMatchError\",'Provided value \"'+t+'\" does not match regex pattern /'+e.pattern+\"/ for \"+r))},validateRange:function(e,t,r,n){this.validation.min&&void 0!==e.min&&t= \"+e.min+\", but found \"+t+\" for \"+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail(\"MaxRangeError\",\"Expected \"+n+\" <= \"+e.max+\", but found \"+t+\" for \"+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail(\"EnumError\",\"Found string value of \"+t+\", but expected \"+e.enum.join(\"|\")+\" for \"+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var o=!1,s=0;s63)throw u.error(new Error,{\ncode:\"ValidationError\",message:\"Hostname label length should be between 1 to 63 characters, inclusive.\"});if(!r.test(e))throw c.util.error(new Error,{code:\"ValidationError\",message:e+\" is not hostname compatible.\"})})}var u=e(\"../util\"),c=e(\"../core\");t.exports={populateHostPrefix:n}},{\"../core\":20,\"../util\":73}],48:[function(e,t,r){function n(e){var t=e.httpRequest,r=e.service.api,n=r.targetPrefix+\".\"+r.operations[e.operation].name,i=r.jsonVersion||\"1.0\",o=r.operations[e.operation].input,s=new a;1===i&&(i=\"1.0\"),t.body=s.build(e.params||{},o),t.headers[\"Content-Type\"]=\"application/x-amz-json-\"+i,t.headers[\"X-Amz-Target\"]=n,c(e)}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers[\"x-amzn-errortype\"]||\"UnknownError\",\"string\"==typeof t.code&&(t.code=t.code.split(\":\")[0]),r.body.length>0)try{var n=JSON.parse(r.body.toString()),i=n.__type||n.code||n.Code;i&&(t.code=i.split(\"#\").pop()),\"RequestEntityTooLarge\"===t.code?t.message=\"Request body must be less than 1 MB\":t.message=n.message||n.Message||null}catch(n){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=s.error(new Error,t)}function o(e){var t=e.httpResponse.body.toString()||\"{}\";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],n=r.output||{},i=new u;e.data=i.parse(t,n)}}var s=e(\"../util\"),a=e(\"../json/builder\"),u=e(\"../json/parser\"),c=e(\"./helpers\").populateHostPrefix;t.exports={buildRequest:n,extractError:i,extractData:o}},{\"../json/builder\":38,\"../json/parser\":39,\"../util\":73,\"./helpers\":47}],49:[function(e,t,r){function n(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=a.queryParamsToString(r.params),l(e)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match(\"=0?\"&\":\"?\";var a=[];l.arrayEach(Object.keys(o).sort(),function(e){Array.isArray(o[e])||(o[e]=[o[e]]);for(var t=0;t0){t=new a.XML.Parser;var p=t.parse(n.toString(),o);u.update(e.data,p)}}var a=e(\"../core\"),u=e(\"../util\"),c=e(\"./rest\");t.exports={buildRequest:i,extractError:o,extractData:s}},{\"../core\":20,\"../util\":73,\"./rest\":50}],53:[function(e,t,r){function n(){}function i(e){return e.isQueryName||\"ec2\"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function o(e,t,r,n){c.each(r.members,function(r,o){var s=t[r];if(null!==s&&void 0!==s){var a=i(o);a=e?e+\".\"+a:a,u(a,s,o,n)}})}function s(e,t,r,n){var i=1;c.each(t,function(t,o){var s=r.flattened?\".\":\".entry.\",a=s+i+++\".\",c=a+(r.key.name||\"key\"),l=a+(r.value.name||\"value\");u(e+c,t,r.key,n),u(e+l,o,r.value,n)})}function a(e,t,r,n){var o=r.member||{};if(0===t.length)return void n.call(this,e,null);c.arrayEach(t,function(t,s){var a=\".\"+(s+1);if(\"ec2\"===r.api.protocol)a+=\"\";else if(r.flattened){if(o.name){var c=e.split(\".\");c.pop(),c.push(i(o)),e=c.join(\".\")}}else a=\".\"+(o.name?o.name:\"member\")+a;u(e+a,t,o,n)})}function u(e,t,r,n){null!==t&&void 0!==t&&(\"structure\"===r.type?o(e,t,r,n):\"list\"===r.type?a(e,t,r,n):\"map\"===r.type?s(e,t,r,n):n(e,r.toWireFormat(t).toString()))}var c=e(\"../util\");n.prototype.serialize=function(e,t,r){o(\"\",e,t,r)},t.exports=n},{\"../util\":73}],54:[function(e,t,r){t.exports={now:function(){return\"undefined\"!=typeof performance&&\"function\"==typeof performance.now?performance.now():Date.now()}}},{}],55:[function(e,t,r){function n(e){if(!e)return null;var t=e.split(\"-\");return t.length<3?null:t.slice(0,t.length-2).join(\"-\")+\"-*\"}function i(e){var t=e.config.region,r=n(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,\"*\"],[r,\"*\"],[\"*\",i],[\"*\",\"*\"]].map(function(e){return e[0]&&e[1]?e.join(\"/\"):null})}function o(e,t){u.each(t,function(t,r){\"globalEndpoint\"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function s(e){for(var t=i(e),r=0;r=0){u=!0;var c=0}var l=function(){u&&c!==a?i.emit(\"error\",n.util.error(new Error(\"Stream content length mismatch. Received \"+c+\" of \"+a+\" bytes.\"),{code:\"StreamContentLengthMismatch\"})):2===n.HttpClient.streamsApiVersion?i.end():i.emit(\"end\")},p=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(u){var h=new e.PassThrough;h._write=function(t){return t&&t.length&&(c+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},h.on(\"end\",l),i.on(\"error\",function(e){u=!1,p.unpipe(h),h.emit(\"end\"),h.end()}),p.pipe(h).pipe(i,{end:!1})}else p.pipe(i);else u&&p.on(\"data\",function(e){e&&e.length&&(c+=e.length)}),p.on(\"data\",function(e){i.emit(\"data\",e)}),p.on(\"end\",l);p.on(\"error\",function(e){u=!1,i.emit(\"error\",e)})}}),i},emitEvent:function(e,t,r){\"function\"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),n.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case\"restart\":case\"validate\":case\"sign\":case\"build\":case\"afterValidate\":case\"afterBuild\":return[this];case\"error\":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||\"function\"!=typeof e||(t=e,e=null),(new n.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,\"presigned-expires\")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener(\"validate\",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener(\"sign\",n.EventListeners.Core.SIGN),this},toGet:function(){return\"query\"!==this.service.api.protocol&&\"ec2\"!==this.service.api.protocol||(this.removeListener(\"build\",this.buildAsGet),this.addListener(\"build\",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method=\"GET\",e.httpRequest.path=e.service.endpoint.path+\"?\"+e.httpRequest.body,e.httpRequest.body=\"\",delete e.httpRequest.headers[\"Content-Length\"],delete e.httpRequest.headers[\"Content-Type\"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),n.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent(\"promise\"),new e(function(e,r){t.on(\"complete\",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},\"$response\",{value:t}))}),t.runTo()})}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)}).call(this)}).call(this,e(\"_process\"))},{\"./core\":20,\"./state_machine\":72,_process:87,jmespath:86}],58:[function(e,t,r){function n(e){var t=e.request._waiter,r=t.config.acceptors,n=!1,i=\"retry\";r.forEach(function(r){if(!n){var o=t.matchers[r.matcher];o&&o(e,r.expected,r.argument)&&(n=!0,i=r.state)}}),!n&&e.error&&(i=\"failure\"),\"success\"===i?t.setSuccess(e):t.setError(e,\"retry\"===i)}var i=e(\"./core\"),o=i.util.inherit,s=e(\"jmespath\");i.ResourceWaiter=o({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}return s.strictDeepEqual(n,t)},pathAll:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}Array.isArray(n)||(n=[n]);var i=n.length;if(!i)return!1;for(var o=0;o-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var n=this.listeners(e),i=n.length;return this.callListeners(n,t,r),i>0},callListeners:function(e,t,r,i){function o(i){if(i&&(a=n.util.error(a||new Error,i),s._haltHandlersOnError))return r.call(s,a);s.callListeners(e,t,r,a)}for(var s=this,a=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(s,t.concat([o]));try{u.apply(s,t)}catch(e){a=n.util.error(a||new Error,e)}if(a&&s._haltHandlersOnError)return void r.call(s,a)}r.call(s,a)},addListeners:function(e){var t=this;return e._events&&(e=e._events),n.util.each(e,function(e,r){\"function\"==typeof r&&(r=[r]),n.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,n){return this[e]=r,this.addListener(t,r,n),this},addNamedAsyncListener:function(e,t,r,n){return r._isAsync=!0,this.addNamedListener(e,t,r,n)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),n.SequentialExecutor.prototype.addListener=n.SequentialExecutor.prototype.on,t.exports=n.SequentialExecutor},{\"./core\":20}],61:[function(e,t,r){(function(r){(function(){var n=e(\"./core\"),i=e(\"./model/api\"),o=e(\"./region_config\"),s=n.util.inherit,a=0;n.Service=s({constructor:function(e){if(!this.loadServiceClass)throw n.util.error(new Error,\"Service must be constructed with `new' operator\");var t=this.loadServiceClass(e||{});if(t){var r=n.util.copy(e),i=new t(e);return Object.defineProperty(i,\"_originalConfig\",{get:function(){return r},enumerable:!1,configurable:!0}),i._clientId=++a,i}this.initialize(e)},initialize:function(e){var t=n.config[this.serviceIdentifier];if(this.config=new n.Config(n.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),n.SequentialExecutor.call(this),n.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||n.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener(\"PUBLISH_API_CALL\",\"apiCall\",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener(\"PUBLISH_API_ATTEMPT\",\"apiCallAttempt\",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(n.util.isEmpty(this.api)){if(t.apiConfig)return n.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new n.Config(n.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&n.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error(\"No services defined on \"+this.constructor.serviceIdentifier);if(e?n.util.isType(e,Date)&&(e=n.util.date.iso8601(e).split(\"T\")[0]):e=\"latest\",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if(\"*\"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error(\"Could not find \"+this.constructor.serviceIdentifier+\" API to satisfy version constraint `\"+e+\"'\")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if(\"function\"!=typeof e)throw new Error(\"Invalid callback type '\"+typeof e+\"' provided in customizeRequests\");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if(\"function\"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=n.util.copy(t),n.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var o=new n.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),r&&o.send(r),o},makeUnauthenticatedRequest:function(e,t,r){\"function\"==typeof t&&(r=t,t={});var n=this.makeRequest(e,t).toUnauthenticated();return r?n.send(r):n},waitFor:function(e,t,r){return new n.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[n.events,n.EventListeners.Core,this.serviceInterface(),n.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:\"ApiCallAttempt\",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},n=e.response;return n.httpResponse.statusCode&&(r.HttpStatusCode=n.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),n.httpResponse.headers?(e.httpRequest.headers[\"x-amz-security-token\"]&&(r.SessionToken=e.httpRequest.headers[\"x-amz-security-token\"]),n.httpResponse.headers[\"x-amzn-requestid\"]&&(r.XAmznRequestId=n.httpResponse.headers[\"x-amzn-requestid\"]),n.httpResponse.headers[\"x-amz-request-id\"]&&(r.XAmzRequestId=n.httpResponse.headers[\"x-amz-request-id\"]),n.httpResponse.headers[\"x-amz-id-2\"]&&(r.XAmzId2=n.httpResponse.headers[\"x-amz-id-2\"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,n=r.error;return r.httpResponse.statusCode>299?(n.code&&(t.AwsException=n.code),n.message&&(t.AwsExceptionMessage=n.message)):((n.code||n.name)&&(t.SdkException=n.code||n.name),n.message&&(t.SdkExceptionMessage=n.message)),t},attachMonitoringEmitter:function(e){var t,r,i,o,s,a,u=0,c=this;e.on(\"validate\",function(){o=n.util.realClock.now(),a=Date.now()},!0),e.on(\"sign\",function(){r=n.util.realClock.now(),t=Date.now(),s=e.httpRequest.region,u++},!0),e.on(\"validateResponse\",function(){i=Math.round(n.util.realClock.now()-r)}),e.addNamedListener(\"API_CALL_ATTEMPT\",\"success\",function(){var r=c.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=s,c.emit(\"apiCallAttempt\",[r])}),e.addNamedListener(\"API_CALL_ATTEMPT_RETRY\",\"retry\",function(){var o=c.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(n.util.realClock.now()-r),o.AttemptLatency=i>=0?i:0,o.Region=s,c.emit(\"apiCallAttempt\",[o])}),e.addNamedListener(\"API_CALL\",\"complete\",function(){var t=c.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=a;var r=Math.round(n.util.realClock.now()-o);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&\"number\"==typeof i.retryCount&&\"number\"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),c.emit(\"apiCall\",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){\nvar t,r=null,i=\"\";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:\"\"}return t=this.config.signatureVersion?this.config.signatureVersion:\"v4\"===i||\"v4-unsigned-body\"===i?\"v4\":this.api.signatureVersion,n.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case\"ec2\":case\"query\":return n.EventListeners.Query;case\"json\":return n.EventListeners.Json;case\"rest-json\":return n.EventListeners.RestJson;case\"rest-xml\":return n.EventListeners.RestXml}if(this.api.protocol)throw new Error(\"Invalid service `protocol' \"+this.api.protocol+\" in API config\")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return n.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return\"NetworkingError\"===e.code},timeoutError:function(e){return\"TimeoutError\"===e.code},expiredCredentialsError:function(e){return\"ExpiredTokenException\"===e.code},clockSkewError:function(e){switch(e.code){case\"RequestTimeTooSkewed\":case\"RequestExpired\":case\"InvalidSignatureException\":case\"SignatureDoesNotMatch\":case\"AuthFailure\":case\"RequestInTheFuture\":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case\"ProvisionedThroughputExceededException\":case\"Throttling\":case\"ThrottlingException\":case\"RequestLimitExceeded\":case\"RequestThrottled\":case\"RequestThrottledException\":case\"TooManyRequestsException\":case\"TransactionInProgressException\":case\"EC2ThrottledException\":return!0;default:return!1}},endpointFromTemplate:function(e){if(\"string\"!=typeof e)return e;var t=e;return t=t.replace(/\\{service\\}/g,this.api.endpointPrefix),t=t.replace(/\\{region\\}/g,this.config.region),t=t.replace(/\\{scheme\\}/g,this.config.sslEnabled?\"https\":\"http\")},setEndpoint:function(e){this.endpoint=new n.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw n.util.error(i,\"No pagination configuration for \"+e)}return null}return r}}),n.util.update(n.Service,{defineMethods:function(e){n.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){\"none\"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){n.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=s(n.Service,r||{});if(\"string\"==typeof e){n.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,n.Service.defineMethods(i);if(n.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&n.util.clientSideMonitoring){var a=n.util.clientSideMonitoring.Publisher,u=n.util.clientSideMonitoring.configProvider,c=u();this.prototype.publisher=new a(c),c.enabled&&(n.Service._clientSideMonitoring=!0)}return n.SequentialExecutor.call(i.prototype),n.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r604800){throw o.util.error(new Error,{code:\"InvalidExpiryTime\",message:\"Presigning does not support expiry time greater than a week with SigV4 signing.\",retryable:!1})}e.httpRequest.headers[a]=t}else{if(r!==o.Signers.S3)throw o.util.error(new Error,{message:\"Presigning only supports S3 or SigV4 signing.\",code:\"UnsupportedSigner\",retryable:!1});var n=e.service?e.service.getSkewCorrectedDate():o.util.date.getDate();e.httpRequest.headers[a]=parseInt(o.util.date.unixTimestamp(n)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,r=o.util.urlParse(e.httpRequest.path),n={};r.search&&(n=o.util.queryStringParse(r.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(\" \");if(\"AWS\"===i[0])i=i[1].split(\":\"),n.Signature=i.pop(),n.AWSAccessKeyId=i.join(\":\"),o.util.each(e.httpRequest.headers,function(e,t){e===a&&(e=\"Expires\"),0===e.indexOf(\"x-amz-meta-\")&&(delete n[e],e=e.toLowerCase()),n[e]=t}),delete e.httpRequest.headers[a],delete n.Authorization,delete n.Host;else if(\"AWS4-HMAC-SHA256\"===i[0]){i.shift();var s=i.join(\" \"),u=s.match(/Signature=(.*?)(?:,|\\s|\\r?\\n|$)/)[1];n[\"X-Amz-Signature\"]=u,delete n.Expires}t.pathname=r.pathname,t.search=o.util.queryParamsToString(n)}var o=e(\"../core\"),s=o.util.inherit,a=\"presigned-expires\";o.Signers.Presign=s({sign:function(e,t,r){if(e.httpRequest.headers[a]=t||3600,e.on(\"build\",n),e.on(\"sign\",i),e.removeListener(\"afterBuild\",o.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener(\"afterBuild\",o.EventListeners.Core.COMPUTE_SHA256),e.emit(\"beforePresign\",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return o.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,o.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=o.Signers.Presign},{\"../core\":20}],65:[function(e,t,r){var n=e(\"../core\"),i=n.util.inherit;n.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),n.Signers.RequestSigner.getVersion=function(e){switch(e){case\"v2\":return n.Signers.V2;case\"v3\":return n.Signers.V3;case\"s3v4\":case\"v4\":return n.Signers.V4;case\"s3\":return n.Signers.S3;case\"v3https\":return n.Signers.V3Https}throw new Error(\"Unknown signing version \"+e)},e(\"./v2\"),e(\"./v3\"),e(\"./v3https\"),e(\"./v4\"),e(\"./s3\"),e(\"./presign\")},{\"../core\":20,\"./presign\":64,\"./s3\":66,\"./v2\":67,\"./v3\":68,\"./v3https\":69,\"./v4\":70}],66:[function(e,t,r){var n=e(\"../core\"),i=n.util.inherit;n.Signers.S3=i(n.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{\"response-content-type\":1,\"response-content-language\":1,\"response-expires\":1,\"response-cache-control\":1,\"response-content-disposition\":1,\"response-content-encoding\":1},addAuthorization:function(e,t){this.request.headers[\"presigned-expires\"]||(this.request.headers[\"X-Amz-Date\"]=n.util.date.rfc822(t)),e.sessionToken&&(this.request.headers[\"x-amz-security-token\"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i=\"AWS \"+e.accessKeyId+\":\"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers[\"Content-MD5\"]||\"\"),t.push(e.headers[\"Content-Type\"]||\"\"),t.push(e.headers[\"presigned-expires\"]||\"\");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join(\"\\n\")},canonicalizedAmzHeaders:function(){var e=[];n.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?\"&\":\"?\";this.request.path+=o+n.util.queryParamsToString(i)},authorization:function(e,t){var r=[],n=this.credentialString(t);return r.push(this.algorithm+\" Credential=\"+e.accessKeyId+\"/\"+n),r.push(\"SignedHeaders=\"+this.signedHeaders()),r.push(\"Signature=\"+this.signature(e,t)),r.join(\", \")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return n.util.crypto.hmac(r,this.stringToSign(t),\"hex\")},stringToSign:function(e){var t=[];return t.push(\"AWS4-HMAC-SHA256\"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join(\"\\n\")},canonicalString:function(){var e=[],t=this.request.pathname();return\"s3\"!==this.serviceName&&\"s3v4\"!==this.signatureVersion&&(t=n.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+\"\\n\"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join(\"\\n\")},canonicalHeaders:function(){var e=[];n.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()50&&delete i[o.shift()]),f},emptyCache:function(){i={},o=[]}}},{\"../core\":20}],72:[function(e,t,r){function n(e,t){this.currentState=t||null,this.states=e||{}}n.prototype.runTo=function(e,t,r,n){\"function\"==typeof e&&(n=r,r=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(r||i,n,function(n){if(n){if(!o.fail)return t?t.call(r,n):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(r):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(r,n):null;i.runTo(e,t,r,n)})},n.prototype.addState=function(e,t,r,n){return\"function\"==typeof t?(n=t,t=null,r=null):\"function\"==typeof r&&(n=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:n},this},t.exports=n},{}],73:[function(e,t,r){(function(r,n){(function(){var i,o={environment:\"nodejs\",engine:function(){if(o.isBrowser()&&\"undefined\"!=typeof navigator)return navigator.userAgent;var e=r.platform+\"/\"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=\" exec-env/\"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=o.environment,r=\"aws-sdk-\"+t+\"/\"+e(\"./core\").VERSION;return\"nodejs\"===t&&(r+=\" \"+o.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return 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=[],r=o.uriEscape,n=Object.keys(e).sort();return o.arrayEach(n,function(n){var i=e[n],s=r(n),a=s+\"=\";if(Array.isArray(i)){var u=[];o.arrayEach(i,function(e){u.push(r(e))}),a=s+\"=\"+u.sort().join(\"&\"+s+\"=\")}else void 0!==i&&null!==i&&(a=s+\"=\"+r(i));t.push(a)}),t.join(\"&\")},readFileSync:function(t){return o.isBrowser()?null:e(\"fs\").readFileSync(t,\"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:o.buffer.toBuffer(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:o.buffer.toBuffer(e,\"base64\")}},buffer:{toBuffer:function(e,t){return\"function\"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e,t):new o.Buffer(e,t)},alloc:function(e,t,r){if(\"number\"!=typeof e)throw new Error(\"size passed to alloc must be a number.\");if(\"function\"==typeof o.Buffer.alloc)return o.Buffer.alloc(e,t,r);var n=new o.Buffer(e);return void 0!==t&&\"function\"==typeof n.fill&&n.fill(t,void 0,void 0,r),n},toStream:function(e){o.Buffer.isBuffer(e)||(e=o.buffer.toBuffer(e));var t=new o.stream.Readable,r=0;return t._read=function(n){if(r>=e.length)return t.push(null);var i=r+n;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r=0,n=0,i=null;for(t=0;t>>8^t[255&(r^e.readUInt8(n))]}return(-1^r)>>>0},hmac:function(e,t,r,n){return r||(r=\"binary\"),\"buffer\"===r&&(r=void 0),n||(n=\"sha256\"),\"string\"==typeof t&&(t=o.buffer.toBuffer(t)),o.crypto.lib.createHmac(n,e).update(t).digest(r)},md5:function(e,t,r){return o.crypto.hash(\"md5\",e,t,r)},sha256:function(e,t,r){return o.crypto.hash(\"sha256\",e,t,r)},hash:function(e,t,r,n){var i=o.crypto.createHash(e);r||(r=\"binary\"),\"buffer\"===r&&(r=void 0),\"string\"==typeof t&&(t=o.buffer.toBuffer(t));var s=o.arraySliceFn(t),a=o.Buffer.isBuffer(t);if(o.isBrowser()&&\"undefined\"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),n&&\"object\"==typeof t&&\"function\"==typeof t.on&&!a)t.on(\"data\",function(e){i.update(e)}),t.on(\"error\",function(e){n(e)}),t.on(\"end\",function(){n(null,i.digest(r))});else{if(!n||!s||a||\"undefined\"==typeof FileReader){o.isBrowser()&&\"object\"==typeof t&&!a&&(t=new o.Buffer(new Uint8Array(t)));var u=i.update(t).digest(r);return n&&n(null,u),u}var c=0,l=new FileReader;l.onerror=function(){n(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 n(null,i.digest(r));var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,c,e))},l._continueReading()}},toHex:function(e){for(var t=[],r=0;r=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 r=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&\"undefined\"!=typeof Promise&&(t=Promise),\"function\"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var n=0;n=0)return a++,void setTimeout(c,i+(e.retryAfter||0))}r(e)},c=function(){var t=\"\";n.handleRequest(e,s,function(e){e.on(\"data\",function(e){t+=e.toString()}),e.on(\"end\",function(){var n=e.statusCode;if(n<300)r(null,t);else{var i=1e3*parseInt(e.headers[\"retry-after\"],10)||0,s=o.error(new Error,{statusCode:n,retryable:n>=500||429===n});i&&s.retryable&&(s.retryAfter=i),u(s)}})},u)};i.util.defer(c)},uuid:{v4:function(){return e(\"uuid\").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,n=t.service.api.operations[r].output||{};n.payload&&e.data[n.payload]&&(e.data[n.payload]=e.data[n.payload].toString())},defer:function(e){\"object\"==typeof r&&\"function\"==typeof r.nextTick?r.nextTick(e):\"function\"==typeof n?n(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function n(e,t){for(var r=0,n=Object.keys(t);r=6},parse:function(e){var t=e.split(\":\");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(\":\")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw o.error(new Error(\"Input ARN object is invalid\"));return\"arn:\"+(e.partition||\"aws\")+\":\"+e.service+\":\"+e.region+\":\"+e.accountId+\":\"+e.resource}},defaultProfile:\"default\",configOptInEnv:\"AWS_SDK_LOAD_CONFIG\",sharedCredentialsFileEnv:\"AWS_SHARED_CREDENTIALS_FILE\",sharedConfigFileEnv:\"AWS_CONFIG_FILE\",imdsDisabledEnv:\"AWS_EC2_METADATA_DISABLED\"};t.exports=o}).call(this)}).call(this,e(\"_process\"),e(\"timers\").setImmediate)},{\"../apis/metadata.json\":5,\"./core\":20,_process:87,fs:81,timers:95,uuid:100}],74:[function(e,t,r){function n(){}function i(e,t){for(var r=e.getElementsByTagName(t),n=0,i=r.length;n0||n?o.toString():\"\"},t.exports=n},{\"../util\":73,\"./xml-node\":78,\"./xml-text\":79}],76:[function(e,t,r){function n(e){return e.replace(/&/g,\"&\").replace(/'/g,\"'\").replace(//g,\">\").replace(/\"/g,\""\")}t.exports={escapeAttribute:n}},{}],77:[function(e,t,r){function n(e){return e.replace(/&/g,\"&\").replace(//g,\">\")}t.exports={escapeElement:n}},{}],78:[function(e,t,r){function n(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e(\"./escape-attribute\").escapeAttribute;n.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},n.prototype.addChildNode=function(e){return this.children.push(e),this},n.prototype.removeAttribute=function(e){return delete this.attributes[e],this},n.prototype.toString=function(){for(var e=Boolean(this.children.length),t=\"<\"+this.name,r=this.attributes,n=0,o=Object.keys(r);n\"+this.children.map(function(e){return e.toString()}).join(\"\")+\"\":\"/>\"},t.exports={XmlNode:n}},{\"./escape-attribute\":76}],79:[function(e,t,r){function n(e){this.value=e}var i=e(\"./escape-element\").escapeElement;n.prototype.toString=function(){return i(\"\"+this.value)},t.exports={XmlText:n}},{\"./escape-element\":77}],80:[function(e,t,r){\"use strict\";function n(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var r=e.indexOf(\"=\");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function i(e){var t=n(e),r=t[0],i=t[1];return 3*(r+i)/4-i}function o(e,t,r){return 3*(t+r)/4-r}function s(e){var t,r,i=n(e),s=i[0],a=i[1],u=new h(o(e,s,a)),c=0,l=a>0?s-4:s;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=p[e.charCodeAt(r)]<<2|p[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===a&&(t=p[e.charCodeAt(r)]<<10|p[e.charCodeAt(r+1)]<<4|p[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function u(e,t,r){for(var n,i=[],o=t;os?s:o+16383));return 1===n?(t=e[r-1],i.push(l[t>>2]+l[t<<4&63]+\"==\")):2===n&&(t=(e[r-2]<<8)+e[r-1],i.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+\"=\")),i.join(\"\")}r.byteLength=i,r.toByteArray=s,r.fromByteArray=c;for(var l=[],p=[],h=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,f=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",d=0,m=f.length;d=n())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+n().toString(16)+\" bytes\");return 0|e}function m(e){return+e!=e&&(e=0),o.alloc(+e)}function v(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 r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return r;case\"utf8\":case\"utf-8\":case void 0:return V(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*r;case\"hex\":return r>>>1;case\"base64\":return X(e).length;default:if(n)return V(e).length;t=(\"\"+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return\"\";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return\"\";if(r>>>=0,t>>>=0,r<=t)return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return q(this,t,r);case\"utf8\":case\"utf-8\":return T(this,t,r);case\"ascii\":return k(this,t,r);case\"latin1\":case\"binary\":return P(this,t,r);case\"base64\":return x(this,t,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return L(this,t,r);default:if(n)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if(\"string\"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if(\"string\"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,i);if(\"number\"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):w(e,[t],r,n,i);throw new TypeError(\"val must be string, number or Buffer\")}function w(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,u=t.length;if(void 0!==n&&(\"ucs2\"===(n=String(n).toLowerCase())||\"ucs-2\"===n||\"utf16le\"===n||\"utf-16le\"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}var c;if(i){var l=-1;for(c=r;ca&&(r=a-u),c=r;c>=0;c--){for(var p=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");n>o/2&&(n=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=r){var u,c,l,p;switch(a){case 1:o<128&&(s=o);break;case 2:u=e[i+1],128==(192&u)&&(p=(31&o)<<6|63&u)>127&&(s=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)&&(s=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&&(s=p)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return I(n)}function I(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var r=\"\",n=0;nn)&&(r=n);for(var i=\"\",o=t;or)throw new RangeError(\"Trying to access beyond buffer length\")}function N(e,t,r,n,i,s){if(!o.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError(\"Index out of range\")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function D(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function M(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"Index out of range\")}function j(e,t,r,n,i){return i||M(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||M(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,r,n,52,8),r+8}function F(e){if(e=z(e).replace(ee,\"\"),e.length<2)return\"\";for(;e.length%4!=0;)e+=\"=\";return e}function z(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,\"\")}function H(e){return e<16?\"0\"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function W(e){for(var t=[],r=0;r>8,i=r%256,o.push(i),o.push(n);return o}function X(e){return J.toByteArray(F(e))}function G(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Y(e){return e!==e}var J=e(\"base64-js\"),Z=e(\"ieee754\"),$=e(\"isarray\");r.Buffer=o,r.SlowBuffer=m,r.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.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}}(),r.kMaxLength=n(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,r){return s(null,e,t,r)},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,r){return u(null,e,t,r)},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 r=e.length,n=t.length,i=0,s=Math.min(r,n);i0&&(e=this.toString(\"hex\",0,t).match(/.{2}/g).join(\" \"),this.length>t&&(e+=\" ... \")),\"\"},o.prototype.compare=function(e,t,r,n,i){if(!o.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError(\"out of range index\");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,u=Math.min(s,a),c=this.slice(n,i),l=e.slice(t,r),p=0;pi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");n||(n=\"utf8\");for(var o=!1;;)switch(n){case\"hex\":return E(this,e,t,r);case\"utf8\":case\"utf-8\":return S(this,e,t,r);case\"ascii\":return _(this,e,t,r);case\"latin1\":case\"binary\":return C(this,e,t,r);case\"base64\":return A(this,e,t,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return R(this,e,t,r);default:if(o)throw new TypeError(\"Unknown encoding: \"+n);n=(\"\"+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return t||O(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||O(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||O(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||O(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||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o=i&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||O(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return t||O(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||O(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||O(e,4,this.length),Z.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||O(e,4,this.length),Z.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||O(e,8,this.length),Z.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||O(e,8,this.length),Z.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){N(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||N(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,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);N(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);N(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||N(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,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError(\"sourceStart out of bounds\");if(n<0)throw new RangeError(\"sourceEnd out of bounds\");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var s;if(\"number\"==typeof e)for(s=t;s0&&this._events[e].length>r&&(this._events[e].warned=!0,\nconsole.error(\"(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.\",this._events[e].length),\"function\"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError(\"listener must be a function\");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,o,a;if(!i(t))throw TypeError(\"listener must be a function\");if(!this._events||!this._events[e])return this;if(r=this._events[e],o=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit(\"removeListener\",e,t);else if(s(r)){for(a=o;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit(\"removeListener\",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)\"removeListener\"!==t&&this.removeAllListeners(t);return this.removeAllListeners(\"removeListener\"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],84:[function(e,t,r){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,l=-7,p=r?i-1:0,h=r?-1:1,f=e[t+p];for(p+=h,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=256*o+e[t+p],p+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+p],p+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),o-=c}return(f?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+p>=1?h/u:h*Math.pow(2,1-p),t*u>=2&&(s++,u/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(t*u-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[r+f]=255&a,f+=d,a/=256,i-=8);for(s=s<0;e[r+f]=255&s,f+=d,s/=256,c-=8);e[r+f-d]|=128*m}},{}],85:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==n.call(e)}},{}],86:[function(e,t,r){!function(e){\"use strict\";function t(e){return null!==e&&\"[object Array]\"===Object.prototype.toString.call(e)}function r(e){return null!==e&&\"[object Object]\"===Object.prototype.toString.call(e)}function n(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var o=0;o=\"a\"&&e<=\"z\"||e>=\"A\"&&e<=\"Z\"||\"_\"===e}function a(e){return e>=\"0\"&&e<=\"9\"||\"-\"===e}function u(e){return e>=\"a\"&&e<=\"z\"||e>=\"A\"&&e<=\"Z\"||e>=\"0\"&&e<=\"9\"||\"_\"===e}function c(){}function l(){}function p(e){this.runtime=e}function h(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[_]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[b,w]},{types:[y]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[b]},{types:[b]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[b,w,E]}]},map:{_func:this._functionMap,_signature:[{types:[S]},{types:[w]}]},max:{_func:this._functionMax,_signature:[{types:[_,C]}]},merge:{_func:this._functionMerge,_signature:[{types:[E],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[w]},{types:[S]}]},sum:{_func:this._functionSum,_signature:[{types:[_]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[b]},{types:[b]}]},min:{_func:this._functionMin,_signature:[{types:[_,C]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[w]},{types:[S]}]},type:{_func:this._functionType,_signature:[{types:[y]}]},keys:{_func:this._functionKeys,_signature:[{types:[E]}]},values:{_func:this._functionValues,_signature:[{types:[E]}]},sort:{_func:this._functionSort,_signature:[{types:[C,_]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[w]},{types:[S]}]},join:{_func:this._functionJoin,_signature:[{types:[b]},{types:[C]}]},reverse:{_func:this._functionReverse,_signature:[{types:[b,w]}]},to_array:{_func:this._functionToArray,_signature:[{types:[y]}]},to_string:{_func:this._functionToString,_signature:[{types:[y]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[y]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[y],variadic:!0}]}}}function f(e){return(new l).parse(e)}function d(e){return(new c).tokenize(e)}function m(e,t){var r=new l,n=new h,i=new p(n);n._interpreter=i;var o=r.parse(t);return i.search(o,e)}var v;v=\"function\"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\\s*(.*)/)[1]};var g=0,y=1,b=2,w=3,E=4,S=6,_=8,C=9,A={\".\":\"Dot\",\"*\":\"Star\",\",\":\"Comma\",\":\":\"Colon\",\"{\":\"Lbrace\",\"}\":\"Rbrace\",\"]\":\"Rbracket\",\"(\":\"Lparen\",\")\":\"Rparen\",\"@\":\"Current\"},R={\"<\":!0,\">\":!0,\"=\":!0,\"!\":!0},x={\" \":!0,\"\\t\":!0,\"\\n\":!0};c.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,n,i;this._current\"===r?\"=\"===e[this._current]?(this._current++,{type:\"GTE\",value:\">=\",start:t}):{type:\"GT\",value:\">\",start:t}:\"=\"===r&&\"=\"===e[this._current]?(this._current++,{type:\"EQ\",value:\"==\",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,n=e.length;\"`\"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(n.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var T={};T.EOF=0,T.UnquotedIdentifier=0,T.QuotedIdentifier=0,T.Rbracket=0,T.Rparen=0,T.Comma=0,T.Rbrace=0,T.Number=0,T.Current=0,T.Expref=0,T.Pipe=1,T.Or=2,T.And=3,T.EQ=5,T.GT=5,T.LT=5,T.GTE=5,T.LTE=5,T.NE=5,T.Flatten=9,T.Star=20,T.Filter=21,T.Dot=40,T.Not=45,T.Lbrace=50,T.Lbracket=55,T.Lparen=60,l.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(\"EOF\"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error(\"Unexpected token type: \"+r.type+\", value: \"+r.value);throw n.name=\"ParserError\",n}return t},_loadTokens:function(e){var t=new c,r=t.tokenize(e);r.push({type:\"EOF\",value:\"\",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),n=this._lookahead(0);e=0?this.expression(e):\"Lbracket\"===t?(this._match(\"Lbracket\"),this._parseMultiselectList()):\"Lbrace\"===t?(this._match(\"Lbrace\"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(T[this._lookahead(0)]<10)t={type:\"Identity\"};else if(\"Lbracket\"===this._lookahead(0))t=this.expression(e);else if(\"Filter\"===this._lookahead(0))t=this.expression(e);else{if(\"Dot\"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error(\"Sytanx error, unexpected token: \"+r.value+\"(\"+r.type+\")\");throw n.name=\"ParserError\",n}this._match(\"Dot\"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];\"Rbracket\"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),\"Comma\"===this._lookahead(0)&&(this._match(\"Comma\"),\"Rbracket\"===this._lookahead(0)))throw new Error(\"Unexpected token Rbracket\")}return this._match(\"Rbracket\"),{type:\"MultiSelectList\",children:e}},_parseMultiselectHash:function(){for(var e,t,r,n,i=[],o=[\"UnquotedIdentifier\",\"QuotedIdentifier\"];;){if(e=this._lookaheadToken(0),o.indexOf(e.type)<0)throw new Error(\"Expecting an identifier token, got: \"+e.type);if(t=e.value,this._advance(),this._match(\"Colon\"),r=this.expression(0),n={type:\"KeyValuePair\",name:t,value:r},i.push(n),\"Comma\"===this._lookahead(0))this._match(\"Comma\");else if(\"Rbrace\"===this._lookahead(0)){this._match(\"Rbrace\");break}}return{type:\"MultiSelectHash\",children:i}}},p.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,s){var a,u,c,l,p,h,f,d,m;switch(e.type){case\"Field\":return null===s?null:r(s)?(h=s[e.name],void 0===h?null:h):null;case\"Subexpression\":for(c=this.visit(e.children[0],s),m=1;m0)for(m=b;mw;m+=E)c.push(s[m]);return c;case\"Projection\":var S=this.visit(e.children[0],s);if(!t(S))return null;for(d=[],m=0;mp;break;case\"GTE\":c=l>=p;break;case\"LT\":c=l=e&&(t=r<0?e-1:e),t}},h.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error(\"Unknown function: \"+e+\"()\");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var n;if(r[r.length-1].variadic){if(t.length=0;n--)r+=t[n];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],n=0;n=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,n=e[0],i=e[1],o=0;o0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;na?1:ss&&(s=r,t=i[a]);return t},_functionMinBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[g,b]),s=1/0,a=0;a1)for(var r=1;r1&&(n=r[0]+\"@\",e=r[1]),e=e.replace(q,\".\"),n+o(e.split(\".\"),t).join(\".\")}function a(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=U(e>>>10&1023|55296),e=56320|1023&e),t+=U(e)}).join(\"\")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:S}function l(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function p(e,t,r){var n=0;for(e=r?N(e/R):e>>1,e+=N(e/t);e>O*C>>1;n+=S)e=N(e/O);return N(n+(O+1)*e/(e+A))}function h(e){var t,r,n,o,s,a,l,h,f,d,m=[],v=e.length,g=0,y=T,b=x;for(r=e.lastIndexOf(I),r<0&&(r=0),n=0;n=128&&i(\"not-basic\"),m.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=v&&i(\"invalid-input\"),h=c(e.charCodeAt(o++)),(h>=S||h>N((E-g)/a))&&i(\"overflow\"),g+=h*a,f=l<=b?_:l>=b+C?C:l-b,!(hN(E/d)&&i(\"overflow\"),a*=d;t=m.length+1,b=p(g-s,t,0==s),N(g/t)>E-y&&i(\"overflow\"),y+=N(g/t),g%=t,m.splice(g++,0,y)}return u(m)}function f(e){var t,r,n,o,s,u,c,h,f,d,m,v,g,y,b,w=[];for(e=a(e),v=e.length,t=T,r=0,s=x,u=0;u=t&&mN((E-r)/g)&&i(\"overflow\"),r+=(c-t)*g,t=c,u=0;uE&&i(\"overflow\"),m==t){for(h=r,f=S;d=f<=s?_:f>=s+C?C:f-s,!(h= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},O=S-_,N=Math.floor,U=String.fromCharCode;if(b={version:\"1.3.2\",ucs2:{decode:a,encode:u},decode:h,encode:f,toASCII:m,toUnicode:d},\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd)define(\"punycode\",function(){return b});else if(v&&g)if(t.exports==v)g.exports=b;else for(w in b)b.hasOwnProperty(w)&&(v[w]=b[w]);else n.punycode=b}(this)}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],89:[function(e,t,r){\"use strict\";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,o){t=t||\"&\",r=r||\"=\";var s={};if(\"string\"!=typeof e||0===e.length)return s;var a=/\\+/g;e=e.split(t);var u=1e3;o&&\"number\"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l=0?(p=m.substr(0,v),h=m.substr(v+1)):(p=m,h=\"\"),f=decodeURIComponent(p),d=decodeURIComponent(h),n(s,f)?i(s[f])?s[f].push(d):s[f]=[s[f],d]:s[f]=d}return s};var i=Array.isArray||function(e){return\"[object Array]\"===Object.prototype.toString.call(e)}},{}],90:[function(e,t,r){\"use strict\";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n0&&u>a&&(u=a);for(var c=0;c=0?(l=d.substr(0,m),p=d.substr(m+1)):(l=d,p=\"\"),h=decodeURIComponent(l),f=decodeURIComponent(p),n(o,h)?Array.isArray(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o}},{}],93:[function(e,t,r){\"use strict\";var n=function(e){switch(typeof e){case\"string\":return e;case\"boolean\":return e?\"true\":\"false\";case\"number\":return isFinite(e)?e:\"\";default:return\"\"}};t.exports=function(e,t,r,i){return t=t||\"&\",r=r||\"=\",null===e&&(e=void 0),\"object\"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(n(i))+r;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(n(e))}).join(t):o+encodeURIComponent(n(e[i]))}).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):\"\"}\n},{}],94:[function(e,t,r){arguments[4][91][0].apply(r,arguments)},{\"./decode\":92,\"./encode\":93,dup:91}],95:[function(e,t,r){(function(t,n){(function(){function i(e,t){this._id=e,this._clearFn=t}var o=e(\"process/browser.js\").nextTick,s=Function.prototype.apply,a=Array.prototype.slice,u={},c=0;r.setTimeout=function(){return new i(s.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new i(s.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate=\"function\"==typeof t?t:function(e){var t=c++,n=!(arguments.length<2)&&a.call(arguments,1);return u[t]=!0,o(function(){u[t]&&(n?e.apply(null,n):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate=\"function\"==typeof n?n:function(e){delete u[e]}}).call(this)}).call(this,e(\"timers\").setImmediate,e(\"timers\").clearImmediate)},{\"process/browser.js\":87,timers:95}],96:[function(e,t,r){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&c(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}function o(e){return u(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)}function s(e,t){return i(e,!1,!0).resolve(t)}function a(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return\"string\"==typeof e}function c(e){return\"object\"==typeof e&&null!==e}function l(e){return null===e}function p(e){return null==e}var h=e(\"punycode\");r.parse=i,r.resolve=s,r.resolveObject=a,r.format=o,r.Url=n;var f=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,m=[\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"],v=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat(m),g=[\"'\"].concat(v),y=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(g),b=[\"/\",\"?\",\"#\"],w=/^[a-z0-9A-Z_-]{0,63}$/,E=/^([a-z0-9A-Z_-]{0,63})(.*)$/,S={javascript:!0,\"javascript:\":!0},_={javascript:!0,\"javascript:\":!0},C={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0},A=e(\"querystring\");n.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError(\"Parameter 'url' must be a string, not \"+typeof e);var n=e;n=n.trim();var i=f.exec(n);if(i){i=i[0];var o=i.toLowerCase();this.protocol=o,n=n.substr(i.length)}if(r||i||n.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)){var s=\"//\"===n.substr(0,2);!s||i&&_[i]||(n=n.substr(2),this.slashes=!0)}if(!_[i]&&(s||i&&!C[i])){for(var a=-1,c=0;c127?T+=\"x\":T+=x[I];if(!T.match(w)){var P=v.slice(0,c),q=v.slice(c+1),L=x.match(E);L&&(P.push(L[1]),q.unshift(L[2])),q.length&&(n=\"/\"+q.join(\".\")+n),this.hostname=P.join(\".\");break}}}if(this.hostname.length>255?this.hostname=\"\":this.hostname=this.hostname.toLowerCase(),!m){for(var O=this.hostname.split(\".\"),N=[],c=0;c0)&&r.host.split(\"@\");v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return r.search=e.search,r.query=e.query,l(r.pathname)&&l(r.search)||(r.path=(r.pathname?r.pathname:\"\")+(r.search?r.search:\"\")),r.href=r.format(),r}if(!d.length)return r.pathname=null,r.search?r.path=\"/\"+r.search:r.path=null,r.href=r.format(),r;for(var g=d.slice(-1)[0],y=(r.host||e.host)&&(\".\"===g||\"..\"===g)||\"\"===g,b=0,w=d.length;w>=0;w--)g=d[w],\".\"==g?d.splice(w,1):\"..\"===g?(d.splice(w,1),b++):b&&(d.splice(w,1),b--);if(!h&&!f)for(;b--;b)d.unshift(\"..\");!h||\"\"===d[0]||d[0]&&\"/\"===d[0].charAt(0)||d.unshift(\"\"),y&&\"/\"!==d.join(\"/\").substr(-1)&&d.push(\"\");var E=\"\"===d[0]||d[0]&&\"/\"===d[0].charAt(0);if(m){r.hostname=r.host=E?\"\":d.length?d.shift():\"\";var v=!!(r.host&&r.host.indexOf(\"@\")>0)&&r.host.split(\"@\");v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return h=h||r.host&&d.length,h&&!E&&d.unshift(\"\"),d.length?r.pathname=d.join(\"/\"):(r.pathname=null,r.path=null),l(r.pathname)&&l(r.search)||(r.path=(r.pathname?r.pathname:\"\")+(r.search?r.search:\"\")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=d.exec(e);t&&(t=t[0],\":\"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:88,querystring:91}],97:[function(e,t,r){\"function\"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],98:[function(e,t,r){t.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}},{}],99:[function(e,t,r){(function(t,n){(function(){function i(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),u(n,e,n.depth)}function o(e,t){var r=i.styles[t];return r?\"\u001b[\"+i.colors[r][0]+\"m\"+e+\"\u001b[\"+i.colors[r][1]+\"m\":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,n){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return b(i)||(i=u(e,i,n)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),m=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),A(t)&&(s.indexOf(\"message\")>=0||s.indexOf(\"description\")>=0))return l(t);if(0===s.length){if(R(t)){var v=t.name?\": \"+t.name:\"\";return e.stylize(\"[Function\"+v+\"]\",\"special\")}if(S(t))return e.stylize(RegExp.prototype.toString.call(t),\"regexp\");if(C(t))return e.stylize(Date.prototype.toString.call(t),\"date\");if(A(t))return l(t)}var g=\"\",y=!1,w=[\"{\",\"}\"];if(d(t)&&(y=!0,w=[\"[\",\"]\"]),R(t)){g=\" [Function\"+(t.name?\": \"+t.name:\"\")+\"]\"}if(S(t)&&(g=\" \"+RegExp.prototype.toString.call(t)),C(t)&&(g=\" \"+Date.prototype.toUTCString.call(t)),A(t)&&(g=\" \"+l(t)),0===s.length&&(!y||0==t.length))return w[0]+g+w[1];if(n<0)return S(t)?e.stylize(RegExp.prototype.toString.call(t),\"regexp\"):e.stylize(\"[Object]\",\"special\");e.seen.push(t);var E;return E=y?p(e,t,n,m,s):s.map(function(r){return h(e,t,n,m,r,y)}),e.seen.pop(),f(E,g,w)}function c(e,t){if(E(t))return e.stylize(\"undefined\",\"undefined\");if(b(t)){var r=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(r,\"string\")}return y(t)?e.stylize(\"\"+t,\"number\"):m(t)?e.stylize(\"\"+t,\"boolean\"):v(t)?e.stylize(\"null\",\"null\"):void 0}function l(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function p(e,t,r,n,i){for(var o=[],s=0,a=t.length;s-1&&(a=o?a.split(\"\\n\").map(function(e){return\" \"+e}).join(\"\\n\").substr(2):\"\\n\"+a.split(\"\\n\").map(function(e){return\" \"+e}).join(\"\\n\"))):a=e.stylize(\"[Circular]\",\"special\")),E(s)){if(o&&i.match(/^\\d+$/))return a;s=JSON.stringify(\"\"+i),s.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,\"name\")):(s=s.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),s=e.stylize(s,\"string\"))}return s+\": \"+a}function f(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf(\"\\n\")>=0&&n++,e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0)>60?r[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n \")+\" \"+r[1]:r[0]+t+\" \"+e.join(\", \")+\" \"+r[1]}function d(e){return Array.isArray(e)}function m(e){return\"boolean\"==typeof e}function v(e){return null===e}function g(e){return null==e}function y(e){return\"number\"==typeof e}function b(e){return\"string\"==typeof e}function w(e){return\"symbol\"==typeof e}function E(e){return void 0===e}function S(e){return _(e)&&\"[object RegExp]\"===T(e)}function _(e){return\"object\"==typeof e&&null!==e}function C(e){return _(e)&&\"[object Date]\"===T(e)}function A(e){return _(e)&&(\"[object Error]\"===T(e)||e instanceof Error)}function R(e){return\"function\"==typeof e}function x(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e}function T(e){return Object.prototype.toString.call(e)}function I(e){return e<10?\"0\"+e.toString(10):e.toString(10)}function k(){var e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(\":\");return[e.getDate(),N[e.getMonth()],t].join(\" \")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var q=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r=o)return e;switch(e){case\"%s\":return String(n[r++]);case\"%d\":return Number(n[r++]);case\"%j\":try{return JSON.stringify(n[r++])}catch(e){return\"[Circular]\"}default:return e}}),a=n[r];r>>((3&t)<<3)&255;return o}}},{}],103:[function(e,t,r){function n(e,t,r){var n=t&&r||0,l=t||[];e=e||{};var p=e.node||i,h=void 0!==e.clockseq?e.clockseq:o;if(null==p||null==h){var f=s();null==p&&(p=i=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==h&&(h=o=16383&(f[6]<<8|f[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,v=d-u+(m-c)/1e4;if(v<0&&void 0===e.clockseq&&(h=h+1&16383),(v<0||d>u)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");u=d,c=m,o=h,d+=122192928e5;var g=(1e4*(268435455&d)+m)%4294967296;l[n++]=g>>>24&255,l[n++]=g>>>16&255,l[n++]=g>>>8&255,l[n++]=255&g;var y=d/4294967296*1e4&268435455;l[n++]=y>>>8&255,l[n++]=255&y,l[n++]=y>>>24&15|16,l[n++]=y>>>16&255,l[n++]=h>>>8|128,l[n++]=255&h;for(var b=0;b<6;++b)l[n+b]=p[b];return t||a(l)}var i,o,s=e(\"./lib/rng\"),a=e(\"./lib/bytesToUuid\"),u=0,c=0;t.exports=n},{\"./lib/bytesToUuid\":101,\"./lib/rng\":102}],104:[function(e,t,r){function n(e,t,r){var n=t&&r||0;\"string\"==typeof e&&(t=\"binary\"===e?new Array(16):null,e=null),e=e||{};var s=e.random||(e.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[n+a]=s[a];return t||o(s)}var i=e(\"./lib/rng\"),o=e(\"./lib/bytesToUuid\");t.exports=n},{\"./lib/bytesToUuid\":101,\"./lib/rng\":102}],105:[function(e,t,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=e(\"./utils/LRU\"),i=1e3,o=function(){function e(e){void 0===e&&(e=i),this.maxSize=e,this.cache=new n.LRUCache(e)}return Object.defineProperty(e.prototype,\"size\",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var n=\"string\"!=typeof t?e.getKeyString(t):t,i=this.populateValue(r);this.cache.put(n,i)},e.prototype.get=function(t){var r=\"string\"!=typeof t?e.getKeyString(t):t,n=Date.now(),i=this.cache.get(r);if(i)for(var o=0;o= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","/* global window, exports, define */\n\n!function() {\n 'use strict'\n\n var re = {\n not_string: /[^s]/,\n not_bool: /[^t]/,\n not_type: /[^T]/,\n not_primitive: /[^v]/,\n number: /[diefg]/,\n numeric_arg: /[bcdiefguxX]/,\n json: /[j]/,\n not_json: /[^j]/,\n text: /^[^\\x25]+/,\n modulo: /^\\x25{2}/,\n placeholder: /^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,\n key: /^([a-z_][a-z_\\d]*)/i,\n key_access: /^\\.([a-z_][a-z_\\d]*)/i,\n index_access: /^\\[(\\d+)\\]/,\n sign: /^[+-]/\n }\n\n function sprintf(key) {\n // `arguments` is not an array, but should be fine for this call\n return sprintf_format(sprintf_parse(key), arguments)\n }\n\n function vsprintf(fmt, argv) {\n return sprintf.apply(null, [fmt].concat(argv || []))\n }\n\n function sprintf_format(parse_tree, argv) {\n var cursor = 1, tree_length = parse_tree.length, arg, output = '', i, k, ph, pad, pad_character, pad_length, is_positive, sign\n for (i = 0; i < tree_length; i++) {\n if (typeof parse_tree[i] === 'string') {\n output += parse_tree[i]\n }\n else if (typeof parse_tree[i] === 'object') {\n ph = parse_tree[i] // convenience purposes only\n if (ph.keys) { // keyword argument\n arg = argv[cursor]\n for (k = 0; k < ph.keys.length; k++) {\n if (arg == undefined) {\n throw new Error(sprintf('[sprintf] Cannot access property \"%s\" of undefined value \"%s\"', ph.keys[k], ph.keys[k-1]))\n }\n arg = arg[ph.keys[k]]\n }\n }\n else if (ph.param_no) { // positional argument (explicit)\n arg = argv[ph.param_no]\n }\n else { // positional argument (implicit)\n arg = argv[cursor++]\n }\n\n if (re.not_type.test(ph.type) && re.not_primitive.test(ph.type) && arg instanceof Function) {\n arg = arg()\n }\n\n if (re.numeric_arg.test(ph.type) && (typeof arg !== 'number' && isNaN(arg))) {\n throw new TypeError(sprintf('[sprintf] expecting number but found %T', arg))\n }\n\n if (re.number.test(ph.type)) {\n is_positive = arg >= 0\n }\n\n switch (ph.type) {\n case 'b':\n arg = parseInt(arg, 10).toString(2)\n break\n case 'c':\n arg = String.fromCharCode(parseInt(arg, 10))\n break\n case 'd':\n case 'i':\n arg = parseInt(arg, 10)\n break\n case 'j':\n arg = JSON.stringify(arg, null, ph.width ? parseInt(ph.width) : 0)\n break\n case 'e':\n arg = ph.precision ? parseFloat(arg).toExponential(ph.precision) : parseFloat(arg).toExponential()\n break\n case 'f':\n arg = ph.precision ? parseFloat(arg).toFixed(ph.precision) : parseFloat(arg)\n break\n case 'g':\n arg = ph.precision ? String(Number(arg.toPrecision(ph.precision))) : parseFloat(arg)\n break\n case 'o':\n arg = (parseInt(arg, 10) >>> 0).toString(8)\n break\n case 's':\n arg = String(arg)\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 't':\n arg = String(!!arg)\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 'T':\n arg = Object.prototype.toString.call(arg).slice(8, -1).toLowerCase()\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 'u':\n arg = parseInt(arg, 10) >>> 0\n break\n case 'v':\n arg = arg.valueOf()\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 'x':\n arg = (parseInt(arg, 10) >>> 0).toString(16)\n break\n case 'X':\n arg = (parseInt(arg, 10) >>> 0).toString(16).toUpperCase()\n break\n }\n if (re.json.test(ph.type)) {\n output += arg\n }\n else {\n if (re.number.test(ph.type) && (!is_positive || ph.sign)) {\n sign = is_positive ? '+' : '-'\n arg = arg.toString().replace(re.sign, '')\n }\n else {\n sign = ''\n }\n pad_character = ph.pad_char ? ph.pad_char === '0' ? '0' : ph.pad_char.charAt(1) : ' '\n pad_length = ph.width - (sign + arg).length\n pad = ph.width ? (pad_length > 0 ? pad_character.repeat(pad_length) : '') : ''\n output += ph.align ? sign + arg + pad : (pad_character === '0' ? sign + pad + arg : pad + sign + arg)\n }\n }\n }\n return output\n }\n\n var sprintf_cache = Object.create(null)\n\n function sprintf_parse(fmt) {\n if (sprintf_cache[fmt]) {\n return sprintf_cache[fmt]\n }\n\n var _fmt = fmt, match, parse_tree = [], arg_names = 0\n while (_fmt) {\n if ((match = re.text.exec(_fmt)) !== null) {\n parse_tree.push(match[0])\n }\n else if ((match = re.modulo.exec(_fmt)) !== null) {\n parse_tree.push('%')\n }\n else if ((match = re.placeholder.exec(_fmt)) !== null) {\n if (match[2]) {\n arg_names |= 1\n var field_list = [], replacement_field = match[2], field_match = []\n if ((field_match = re.key.exec(replacement_field)) !== null) {\n field_list.push(field_match[1])\n while ((replacement_field = replacement_field.substring(field_match[0].length)) !== '') {\n if ((field_match = re.key_access.exec(replacement_field)) !== null) {\n field_list.push(field_match[1])\n }\n else if ((field_match = re.index_access.exec(replacement_field)) !== null) {\n field_list.push(field_match[1])\n }\n else {\n throw new SyntaxError('[sprintf] failed to parse named argument key')\n }\n }\n }\n else {\n throw new SyntaxError('[sprintf] failed to parse named argument key')\n }\n match[2] = field_list\n }\n else {\n arg_names |= 2\n }\n if (arg_names === 3) {\n throw new Error('[sprintf] mixing positional and named placeholders is not (yet) supported')\n }\n\n parse_tree.push(\n {\n placeholder: match[0],\n param_no: match[1],\n keys: match[2],\n sign: match[3],\n pad_char: match[4],\n align: match[5],\n width: match[6],\n precision: match[7],\n type: match[8]\n }\n )\n }\n else {\n throw new SyntaxError('[sprintf] unexpected placeholder')\n }\n _fmt = _fmt.substring(match[0].length)\n }\n return sprintf_cache[fmt] = parse_tree\n }\n\n /**\n * export to either browser or node.js\n */\n /* eslint-disable quote-props */\n if (typeof exports !== 'undefined') {\n exports['sprintf'] = sprintf\n exports['vsprintf'] = vsprintf\n }\n if (typeof window !== 'undefined') {\n window['sprintf'] = sprintf\n window['vsprintf'] = vsprintf\n\n if (typeof define === 'function' && define['amd']) {\n define(function() {\n return {\n 'sprintf': sprintf,\n 'vsprintf': vsprintf\n }\n })\n }\n }\n /* eslint-enable quote-props */\n}(); // eslint-disable-line\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","class ValueError extends Error {\n constructor(message) {\n super(message);\n this.name = \"ValueError\";\n }\n}\n\nclass UnImplementedMethodException extends Error {\n constructor(message) {\n super(message);\n this.name = \"UnImplementedMethod\";\n }\n}\n\nclass IllegalArgumentException extends Error {\n constructor(message, argument) {\n super(message);\n this.name = \"IllegalArgument\";\n this.argument = argument;\n }\n}\n\nclass IllegalStateException extends Error {\n constructor(message) {\n super(message);\n this.name = \"IllegalState\";\n }\n}\n\nclass IllegalJsonException extends Error {\n constructor(message, args) {\n super(message);\n this.name = \"IllegalState\";\n this.causeException = args.causeException;\n this.originalJsonString = args.originalJsonString;\n }\n}\n\nexport {\n UnImplementedMethodException,\n IllegalArgumentException,\n IllegalStateException,\n IllegalJsonException,\n ValueError\n};\n","class GlobalConfigImpl {\n constructor() {\n this.stage = \"prod\";\n this.region = \"us-west-2\";\n this.reconnect = true;\n let self = this;\n this.features = new Proxy([], {\n set: function(target, property, value) {\n console.log(\"new features added, initialValue: \"\n + target[property] + \" , newValue: \" + value, Array.isArray(target[property]));\n let oldVal = target[property];\n //fire change listeners\n if (Array.isArray(value)) {\n value.forEach(feature => {\n //if a new feature is added\n if (Array.isArray(oldVal) && oldVal.indexOf(feature) === -1 && \n Array.isArray(self.featureChangeListeners[feature])) {\n \n self.featureChangeListeners[feature].forEach(callback => callback());\n self._cleanFeatureChangeListener(feature);\n }\n });\n }\n //change the value in this.features object.\n target[property] = value;\n return true;\n }\n });\n this.featureChangeListeners = [];\n }\n update(configInput) {\n var config = configInput || {};\n this.stage = config.stage || this.stage;\n this.region = config.region || this.region;\n this.endpointOverride = config.endpoint || this.endpointOverride;\n this.reconnect = config.reconnect === false ? false : this.reconnect;\n this.messageReceiptThrottleTime = config.throttleTime ? config.throttleTime : 5000;\n this.features[\"values\"] = Array.isArray(config.features) ? [...config.features] : new Array();\n }\n\n updateStageRegion(config) {\n if (config) {\n this.stage = config.stage || this.stage;\n this.region = config.region || this.region;\n }\n }\n\n updateThrottleTime(throttleTime) {\n this.messageReceiptThrottleTime = throttleTime ? throttleTime : this.messageReceiptThrottleTime;\n }\n\n getMessageReceiptsThrottleTime() {\n return this.messageReceiptThrottleTime;\n }\n\n getStage() {\n return this.stage;\n }\n\n getRegion() {\n return this.region;\n }\n\n getEndpointOverride() {\n return this.endpointOverride;\n }\n\n setFeatureFlag(feature) {\n if(this.isFeatureEnabled(feature)) {\n return;\n }\n const featureValues = Array.isArray(this.features[\"values\"]) ? this.features[\"values\"] : [];\n this.features[\"values\"] = [...featureValues, feature];\n }\n\n //private method\n _registerFeatureChangeListener(feature, callback) {\n if (!this.featureChangeListeners[feature]) {\n this.featureChangeListeners[feature] = [];\n }\n this.featureChangeListeners[feature].push(callback);\n }\n\n //private method\n _cleanFeatureChangeListener(feature) {\n delete this.featureChangeListeners[feature];\n }\n\n isFeatureEnabled(feature, callback) {\n if(Array.isArray(this.features[\"values\"]) &&\n this.features[\"values\"].indexOf(feature) !== -1) {\n if (typeof callback === \"function\") {\n return callback();\n }\n return true;\n }\n if (typeof callback === \"function\") {\n this._registerFeatureChangeListener(feature, callback);\n }\n return false;\n }\n}\n\nconst GlobalConfig = new GlobalConfigImpl();\n\nexport { GlobalConfig };\n","//Placeholder\nexport const CHAT_CONFIGURATIONS = {\n CONCURRENT_CHATS: 10\n};\n\nexport const PARTICIPANT_TOKEN_HEADER = \"x-amzn-connect-participant-token\";\nexport const AUTH_HEADER = \"X-Amz-Bearer\";\n\nexport const FEATURES = {\n PARTICIPANT_CONN_ACK: \"PARTICIPANT_CONN_ACK\",\n MESSAGE_RECEIPTS_ENABLED: \"MESSAGE_RECEIPTS_ENABLED\"\n};\n\nexport const RESOURCE_PATH = {\n CONNECTION_DETAILS: \"/contact/chat/participant/connection-details\",\n MESSAGE: \"/participant/message\",\n TRANSCRIPT: \"/participant/transcript\",\n EVENT: \"/participant/event\",\n DISCONNECT: \"/participant/disconnect\",\n PARTICIPANT_CONNECTION: \"/participant/connection\",\n ATTACHMENT: \"/participant/attachment\"\n};\n\nexport const SESSION_TYPES = {\n AGENT: \"AGENT\",\n CUSTOMER: \"CUSTOMER\"\n};\n\nexport const CSM_CATEGORY = {\n API: \"API\",\n UI: \"UI\"\n};\n\nexport const ACPS_METHODS = {\n SEND_MESSAGE: \"SendMessage\",\n SEND_ATTACHMENT: \"SendAttachment\",\n DOWNLOAD_ATTACHMENT: \"DownloadAttachment\",\n SEND_EVENT: \"SendEvent\",\n GET_TRANSCRIPT: \"GetTranscript\",\n DISCONNECT_PARTICIPANT: \"DisconnectParticipant\",\n CREATE_PARTICIPANT_CONNECTION: \"CreateParticipantConnection\",\n};\n\nexport const WEBSOCKET_EVENTS = {\n ConnectionLost: \"WebsocketConnectionLost\",\n ConnectionGained: \"WebsocketConnectionGained\",\n Ended: \"WebsocketEnded\",\n IncomingMessage: \"WebsocketIncomingMessage\",\n InitWebsocket: \"InitWebsocket\"\n};\n\nexport const CHAT_EVENTS = {\n INCOMING_MESSAGE: \"INCOMING_MESSAGE\",\n INCOMING_TYPING: \"INCOMING_TYPING\",\n INCOMING_READ_RECEIPT: \"INCOMING_READ_RECEIPT\",\n INCOMING_DELIVERED_RECEIPT: \"INCOMING_DELIVERED_RECEIPT\",\n CONNECTION_ESTABLISHED: \"CONNECTION_ESTABLISHED\",\n CONNECTION_LOST: \"CONNECTION_LOST\",\n CONNECTION_BROKEN: \"CONNECTION_BROKEN\",\n CONNECTION_ACK: \"CONNECTION_ACK\",\n CHAT_ENDED: \"CHAT_ENDED\",\n MESSAGE_METADATA: \"MESSAGEMETADATA\",\n PARTICIPANT_IDLE: \"PARTICIPANT_IDLE\",\n PARTICIPANT_RETURNED: \"PARTICIPANT_RETURNED\",\n AUTODISCONNECTION: \"AUTODISCONNECTION\"\n};\n\nexport const CONTENT_TYPE = {\n textPlain: \"text/plain\",\n textMarkdown: \"text/markdown\",\n textCsv: \"text/csv\",\n applicationDoc: \"application/msword\",\n applicationDocx: \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n applicationJson: \"application/json\",\n applicationPdf: \"application/pdf\",\n applicationPpt: \"application/vnd.ms-powerpoint\",\n applicationPptx: \"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\n applicationXls: \"application/vnd.ms-excel\",\n applicationXlsx: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n imageJpg: \"image/jpeg\",\n imagePng: \"image/png\",\n audioWav: \"audio/wav\",\n audioXWav: \"audio/x-wav\", //Firefox\n audioVndWave: \"audio/vnd.wave\", //IE\n connectionAcknowledged: \"application/vnd.amazonaws.connect.event.connection.acknowledged\",\n typing: \"application/vnd.amazonaws.connect.event.typing\",\n participantJoined: \"application/vnd.amazonaws.connect.event.participant.joined\",\n participantLeft: \"application/vnd.amazonaws.connect.event.participant.left\",\n participantActive: \"application/vnd.amazonaws.connect.event.participant.active\",\n participantInactive: \"application/vnd.amazonaws.connect.event.participant.inactive\",\n transferSucceeded: \"application/vnd.amazonaws.connect.event.transfer.succeeded\",\n transferFailed: \"application/vnd.amazonaws.connect.event.transfer.failed\",\n chatEnded: \"application/vnd.amazonaws.connect.event.chat.ended\",\n interactiveMessage: \"application/vnd.amazonaws.connect.message.interactive\",\n readReceipt: \"application/vnd.amazonaws.connect.event.message.read\",\n deliveredReceipt: \"application/vnd.amazonaws.connect.event.message.delivered\",\n participantIdle: \"application/vnd.amazonaws.connect.event.participant.idle\",\n participantReturned: \"application/vnd.amazonaws.connect.event.participant.returned\",\n autoDisconnection: \"application/vnd.amazonaws.connect.event.participant.autodisconnection\"\n};\n\nexport const CHAT_EVENT_TYPE_MAPPING = {\n [CONTENT_TYPE.typing]: CHAT_EVENTS.INCOMING_TYPING,\n [CONTENT_TYPE.readReceipt]: CHAT_EVENTS.INCOMING_READ_RECEIPT,\n [CONTENT_TYPE.deliveredReceipt]: CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT,\n [CONTENT_TYPE.participantIdle]: CHAT_EVENTS.PARTICIPANT_IDLE,\n [CONTENT_TYPE.participantReturned]: CHAT_EVENTS.PARTICIPANT_RETURNED,\n [CONTENT_TYPE.autoDisconnection]: CHAT_EVENTS.AUTODISCONNECTION,\n default: CHAT_EVENTS.INCOMING_MESSAGE,\n};\n\nexport const EVENT = \"EVENT\";\nexport const MESSAGE = \"MESSAGE\";\nexport const CONN_ACK_FAILED = \"CONN_ACK_FAILED\";\n\nexport const TRANSCRIPT_DEFAULT_PARAMS = {\n MAX_RESULTS: 15,\n SORT_ORDER: \"ASCENDING\",\n SCAN_DIRECTION: \"BACKWARD\"\n};\n\nexport const LOGS_DESTINATION = {\n NULL: \"NULL\",\n CLIENT_LOGGER: \"CLIENT_LOGGER\",\n DEBUG: \"DEBUG\"\n};\n\nexport const REGIONS = {\n pdx: \"us-west-2\",\n iad: \"us-east-1\",\n syd: \"ap-southeast-2\",\n nrt: \"ap-northeast-1\",\n fra: \"eu-central-1\",\n pdt: \"us-gov-west-1\",\n yul: \"ca-central-1\",\n icn: \"ap-northeast-2\",\n cpt: \"af-south-1\"\n};\n\nexport const AGENT_RECONNECT_CONFIG = {\n interval: 3000,\n maxRetries: 5\n};\n\nexport const CUSTOMER_RECONNECT_CONFIG = {\n interval: 3000,\n maxRetries: 5\n};\n\nexport const CONNECTION_TOKEN_POLLING_INTERVAL_IN_MS = 1000 * 60 * 60 * 12; // 12 hours\n\nexport const CONNECTION_TOKEN_EXPIRY_BUFFER_IN_MS = 60 * 1000; //1 min\n\nexport const TRANSPORT_LIFETIME_IN_SECONDS = 3540; // 59 mins\n\nexport const START_CHAT_SESSION = \"StartChatSession\";\n\nexport const MOCK_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36';\n\nexport const SEND_EVENT_CONACK_THROTTLED = \"SEND_EVENT_CONACK_THROTTLED\";\nexport const CREATE_PARTICIPANT_CONACK_FAILURE = \"CREATE_PARTICIPANT_CONACK_FAILURE\";\nexport const SEND_EVENT_CONACK_FAILURE = \"SEND_EVENT_CONACK_FAILURE\";\nexport const CREATE_PARTICIPANT_CONACK_API_CALL_COUNT = \"CREATE_PARTICIPANT_CONACK_CALL_COUNT\";\n\nexport const TYPING_VALIDITY_TIME = 10000;","import { IllegalArgumentException } from \"./core/exceptions\";\nimport { ValueError } from \"./core/exceptions\";\nimport { sprintf } from \"sprintf-js\";\nimport { CONTENT_TYPE } from \"./constants\";\nconst Utils = {};\n\n/**\n * Asserts that a premise is true.\n */\nUtils.assertTrue = function(premise, message) {\n if (!premise) {\n throw new ValueError(message);\n }\n};\n\n/**\n * Asserts that a value is not null or undefined.\n */\nUtils.assertNotNull = function(value, name) {\n Utils.assertTrue(\n value !== null && typeof value !== \"undefined\",\n sprintf(\"%s must be provided\", name || \"A value\")\n );\n return value;\n};\n\nUtils.now = function() {\n return new Date().getTime();\n};\n\nUtils.isString = function(value) {\n return typeof value === \"string\";\n};\n\n/**\n * Generate a random ID consisting of the current timestamp\n * and a random base-36 number based on Math.random().\n */\nUtils.randomId = function() {\n return sprintf(\n \"%s-%s\",\n Utils.now(),\n Math.random()\n .toString(36)\n .slice(2)\n );\n};\n\nUtils.assertIsNonEmptyString = function(value, key) {\n if (!value || typeof value !== \"string\") {\n throw new IllegalArgumentException(key + \" is not a non-empty string!\");\n }\n};\n\nUtils.assertIsList = function(value, key) {\n if (!Array.isArray(value)) {\n throw new IllegalArgumentException(key + \" is not an array\");\n }\n};\n\nUtils.assertIsEnum = function(value, allowedValues, key) {\n var i;\n for (i = 0; i < allowedValues.length; i++) {\n if (allowedValues[i] === value) {\n return;\n }\n }\n throw new IllegalArgumentException(\n key + \" passed (\" + value + \")\" + \" is not valid. Allowed values are: \" + allowedValues\n );\n};\n\n/**\n * Generate an enum from the given list of lower-case enum values,\n * where the enum keys will be upper case.\n *\n * Conversion from pascal case based on code from here:\n * http://stackoverflow.com/questions/30521224\n */\nUtils.makeEnum = function(values) {\n var enumObj = {};\n\n values.forEach(function(value) {\n var key = value\n .replace(/\\.?([a-z]+)_?/g, function(x, y) {\n return y.toUpperCase() + \"_\";\n })\n .replace(/_$/, \"\");\n\n enumObj[key] = value;\n });\n\n return enumObj;\n};\n\nUtils.contains = function(obj, value) {\n if (obj instanceof Array) {\n return (\n Utils.find(obj, function(v) {\n return v === value;\n }) !== null\n );\n } else {\n return value in obj;\n }\n};\n\nUtils.find = function(array, predicate) {\n for (var x = 0; x < array.length; x++) {\n if (predicate(array[x])) {\n return array[x];\n }\n }\n\n return null;\n};\n\nUtils.containsValue = function(obj, value) {\n if (obj instanceof Array) {\n return (\n Utils.find(obj, function(v) {\n return v === value;\n }) !== null\n );\n } else {\n return (\n Utils.find(Utils.values(obj), function(v) {\n return v === value;\n }) !== null\n );\n }\n};\n\n/**\n * Determine if the given value is a callable function type.\n * Borrowed from Underscore.js.\n */\nUtils.isFunction = function(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n};\n\n/**\n * Get a list of values from a Javascript object used\n * as a hash map.\n */\nUtils.values = function(map) {\n var values = [];\n\n Utils.assertNotNull(map, \"map\");\n\n for (var k in map) {\n values.push(map[k]);\n }\n\n return values;\n};\n\nUtils.isObject = function(value) {\n return !(typeof value !== \"object\" || value === null);\n};\n\nUtils.assertIsObject = function(value, key) {\n if (!Utils.isObject(value)) {\n throw new IllegalArgumentException(key + \" is not an object!\");\n }\n};\n\nUtils.delay = (ms) => new Promise(resolve => setTimeout(resolve, ms));\n\nUtils.asyncWhileInterval = function(f, predicate, interval, count=0, error=null) {\n const now = new Date();\n if (predicate(count)) {\n return f(count).catch((e) => {\n const delay = Math.max(0, interval - (new Date()).valueOf() + now.valueOf());\n return Utils\n .delay(delay)\n .then(() => Utils.asyncWhileInterval(f, predicate, interval, count + 1, e));\n });\n } else {\n return Promise.reject(error || new Error(\"async while aborted\"));\n }\n};\n\nUtils.isAttachmentContentType = function(contentType){\n return contentType === CONTENT_TYPE.applicationPdf\n || contentType === CONTENT_TYPE.imageJpg\n || contentType === CONTENT_TYPE.imagePng\n || contentType === CONTENT_TYPE.applicationDoc\n || contentType === CONTENT_TYPE.applicationXls\n || contentType === CONTENT_TYPE.applicationPpt\n || contentType === CONTENT_TYPE.textCsv\n || contentType === CONTENT_TYPE.audioWav;\n};\n\nexport default Utils;\n","import Utils from \"./utils\";\n\n/*eslint-disable no-unused-vars*/\nclass Logger {\n debug(data) {}\n\n info(data) {}\n\n warn(data) {}\n\n error(data) {}\n\n advancedLog(data) {}\n}\n/*eslint-enable no-unused-vars*/\n\nconst LogLevel = {\n DEBUG: 10,\n INFO: 20,\n WARN: 30,\n ERROR: 40,\n ADVANCED_LOG: 50,\n};\n\nclass LogManagerImpl {\n constructor() {\n this.updateLoggerConfig();\n }\n\n writeToClientLogger(level, logStatement, logMetaData) {\n if (!this.hasClientLogger()) {\n return;\n }\n var levelStringValue = getLogLevelByValue(level);\n switch (level) {\n case LogLevel.DEBUG:\n return this._clientLogger.debug(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.INFO:\n return this._clientLogger.info(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.WARN:\n return this._clientLogger.warn(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.ERROR:\n return this._clientLogger.error(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.ADVANCED_LOG:\n return this._advancedLogWriter && this._clientLogger[this._advancedLogWriter] && this._clientLogger[this._advancedLogWriter](levelStringValue, logStatement, logMetaData) || logStatement;\n }\n }\n\n isLevelEnabled(level) {\n return level >= this._level;\n }\n\n hasClientLogger() {\n return this._clientLogger !== null;\n }\n\n getLogger(options = {}) {\n // option: {prefix: string; logMetaData: object}\n return new LoggerWrapperImpl(options);\n }\n\n updateLoggerConfig(inputConfig) {\n var config = inputConfig || {};\n this._level = config.level || LogLevel.INFO;\n //enabled advancedLogWriter\n this._advancedLogWriter = \"warn\";\n if (isValidAdvancedLogConfig(config.advancedLogWriter, config.customizedLogger)) {\n this._advancedLogWriter = config.advancedLogWriter;\n }\n //enable clientLogger\n if((config.customizedLogger && typeof config.customizedLogger === \"object\") || \n (config.logger && typeof config.logger === \"object\")) {\n this.useClientLogger = true;\n }\n this._clientLogger = this.selectLogger(config);\n }\n\n selectLogger(config) {\n if(config.customizedLogger && typeof config.customizedLogger === \"object\") {\n return config.customizedLogger;\n }\n if(config.logger && typeof config.logger === \"object\") {\n return config.logger;\n }\n if(config.useDefaultLogger) {\n return createConsoleLogger();\n }\n return null;\n }\n}\nconst LogManager = new LogManagerImpl();\n\nclass LoggerWrapper {\n debug() {}\n\n info() {}\n\n warn() {}\n\n error() {}\n}\n\nclass LoggerWrapperImpl extends LoggerWrapper {\n constructor(options) {\n super();\n this.options = options || {};\n }\n\n debug(...args) {\n return this._log(LogLevel.DEBUG, args);\n }\n\n info(...args) {\n return this._log(LogLevel.INFO, args);\n }\n\n warn(...args) {\n return this._log(LogLevel.WARN, args);\n }\n\n error(...args) {\n return this._log(LogLevel.ERROR, args);\n }\n\n advancedLog(...args) {\n return this._log(LogLevel.ADVANCED_LOG, args);\n }\n \n _shouldLog(level) {\n return LogManager.hasClientLogger() && LogManager.isLevelEnabled(level);\n }\n\n _writeToClientLogger(level, logStatement) {\n return LogManager.writeToClientLogger(level, logStatement, this.options.logMetaData);\n }\n\n _log(level, args) {\n if (this._shouldLog(level)) {\n var logStatement = LogManager.useClientLogger ? args : this._convertToSingleStatement(args);\n return this._writeToClientLogger(level, logStatement);\n }\n }\n\n _convertToSingleStatement(args) {\n var date = new Date(Date.now()).toISOString();\n var logStatement = `[${date}]`;\n if (this.options) {\n this.options.prefix ? logStatement += \" \" + this.options.prefix + \":\" : logStatement += \"\";\n }\n for (var index = 0; index < args.length; index++) {\n var arg = args[index];\n logStatement += \" \" + this._convertToString(arg);\n }\n return logStatement;\n }\n\n _convertToString(arg) {\n try {\n if (!arg) {\n return \"\";\n }\n if (Utils.isString(arg)) {\n return arg;\n }\n if (Utils.isObject(arg) && Utils.isFunction(arg.toString)) {\n var toStringResult = arg.toString();\n if (toStringResult !== \"[object Object]\") {\n return toStringResult;\n }\n }\n return JSON.stringify(arg);\n } catch (error) {\n console.error(\"Error while converting argument to string\", arg, error);\n return \"\";\n }\n }\n}\n\nfunction getLogLevelByValue(value) {\n switch(value) {\n case 10: return \"DEBUG\";\n case 20: return \"INFO\";\n case 30: return \"WARN\";\n case 40: return \"ERROR\";\n case 50: return \"ADVANCED_LOG\";\n }\n}\n\nfunction isValidAdvancedLogConfig(advancedLogVal, customizedLogger) {\n const customizedLoggerKeys = customizedLogger && Object.keys(customizedLogger);\n if (customizedLoggerKeys && customizedLoggerKeys.indexOf(advancedLogVal) === -1) {\n console.error(`customizedLogger: incorrect value for loggerConfig:advancedLogWriter; use valid values from list ${customizedLoggerKeys} but used ${advancedLogVal}`);\n return false;\n }\n const defaultLoggerKeys = [\"warn\", \"info\", \"debug\", \"log\"];\n if (advancedLogVal && defaultLoggerKeys.indexOf(advancedLogVal) === -1) {\n console.error(`incorrect value for loggerConfig:advancedLogWriter; use valid values from list ${defaultLoggerKeys} but used ${advancedLogVal}`);\n return false;\n }\n return true;\n}\n\nvar createConsoleLogger = () => {\n var logger = new LoggerWrapper();\n logger.debug = console.debug.bind(window.console);\n logger.info = console.info.bind(window.console);\n logger.warn = console.warn.bind(window.console);\n logger.error = console.error.bind(window.console);\n return logger;\n};\n\n\nexport { LogManager, Logger, LogLevel };\n","import { UnImplementedMethodException } from \"../core/exceptions\";\nimport { GlobalConfig } from \"../globalConfig\";\nimport {\n REGIONS\n} from \"../constants\";\nimport { LogManager } from \"../log\";\n//Note: this imports AWS instead from aws-sdk npm package - details in ReadMe\nimport { ConnectParticipant } from \"./aws-sdk-connectparticipant\";\nimport throttle from \"lodash/throttle\";\nimport { CONTENT_TYPE, TYPING_VALIDITY_TIME } from '../constants';\n\nconst DEFAULT_PREFIX = \"Amazon-Connect-ChatJS-ChatClient\";\n\nclass ChatClientFactoryImpl {\n constructor() {\n this.clientCache = {};\n }\n\n getCachedClient(optionsInput, logMetaData) {\n var options = Object.assign({}, optionsInput);\n var region = optionsInput.region || GlobalConfig.getRegion() || REGIONS.pdx;\n options.region = region;\n logMetaData.region = region;\n if (this.clientCache[region]) {\n return this.clientCache[region];\n }\n var client = this._createAwsClient(options, logMetaData);\n this.clientCache[region] = client;\n return client;\n }\n\n _createAwsClient(options, logMetaData) {\n var region = options.region;\n var endpointOverride = GlobalConfig.getEndpointOverride();\n var endpointUrl = `https://participant.connect.${region}.amazonaws.com`;\n if (endpointOverride) {\n endpointUrl = endpointOverride;\n }\n return new AWSChatClient({\n endpoint: endpointUrl,\n region: region,\n logMetaData\n });\n }\n}\n\n/*eslint-disable*/\nclass ChatClient {\n sendMessage(participantToken, message, type) {\n throw new UnImplementedMethodException(\"sendTextMessage in ChatClient\");\n }\n\n sendAttachment(participantToken, attachment, metadata) {\n throw new UnImplementedMethodException(\"sendAttachment in ChatClient\");\n }\n\n downloadAttachment(participantToken, attachmentId){\n throw new UnImplementedMethodException(\"downloadAttachment in ChatClient\");\n }\n\n disconnectParticipant(participantToken) {\n throw new UnImplementedMethodException(\"disconnectParticipant in ChatClient\");\n }\n\n sendEvent(connectionToken, contentType, content) {\n throw new UnImplementedMethodException(\"sendEvent in ChatClient\");\n }\n\n createParticipantConnection(participantToken, type) {\n throw new UnImplementedMethodException(\"createParticipantConnection in ChatClient\");\n }\n}\n/*eslint-enable*/\n\nclass AWSChatClient extends ChatClient {\n constructor(args) {\n super();\n var creds = new AWS.Credentials('','');\n var config = new AWS.Config({\n region: args.region,\n endpoint: args.endpoint,\n credentials: creds\n });\n this.chatClient = new AWS.ConnectParticipant(config);\n this.invokeUrl = args.endpoint;\n this.logger = LogManager.getLogger({ prefix: DEFAULT_PREFIX, logMetaData: args.logMetaData });\n }\n\n createParticipantConnection(participantToken, type, acknowledgeConnection) {\n let self = this;\n var params = {\n ParticipantToken: participantToken,\n Type: type,\n ConnectParticipant: acknowledgeConnection\n };\n \n var createParticipantConnectionRequest = self.chatClient.createParticipantConnection(\n params\n );\n return self._sendRequest(createParticipantConnectionRequest).then((res) => {\n self.logger.info(\"Successfully create connection request\")?.sendInternalLogToServer?.();\n return res;\n }).catch((err) => {\n self.logger.error(\"Error when creating connection request \", err)?.sendInternalLogToServer?.();\n return Promise.reject(err);\n });\n }\n\n disconnectParticipant(connectionToken) {\n let self = this;\n var params = {\n ConnectionToken: connectionToken\n };\n\n var disconnectParticipantRequest = self.chatClient.disconnectParticipant(\n params\n );\n return self._sendRequest(disconnectParticipantRequest).then((res) => {\n self.logger.info(\"Successfully disconnect participant\")?.sendInternalLogToServer?.();\n return res;\n }).catch((err) => {\n self.logger.error(\"Error when disconnecting participant \", err)?.sendInternalLogToServer?.();\n return Promise.reject(err);\n });\n }\n\n getTranscript(connectionToken, args) {\n let self = this;\n var params = {\n MaxResults: args.maxResults,\n NextToken: args.nextToken,\n ScanDirection: args.scanDirection,\n SortOrder: args.sortOrder,\n StartPosition: {\n Id: args.startPosition.id,\n AbsoluteTime: args.startPosition.absoluteTime,\n MostRecent: args.startPosition.mostRecent\n },\n ConnectionToken: connectionToken\n };\n if (args.contactId) {\n params.ContactId = args.contactId;\n }\n var getTranscriptRequest = self.chatClient.getTranscript(params);\n return self._sendRequest(getTranscriptRequest).then((res) => {\n this.logger.info(\"Successfully get transcript\");\n return res;\n }).catch((err) => {\n this.logger.error(\"Get transcript error\", err);\n return Promise.reject(err);\n });\n }\n\n sendMessage(connectionToken, content, contentType) {\n let self = this;\n var params = {\n Content: content,\n ContentType: contentType,\n ConnectionToken: connectionToken\n };\n var sendMessageRequest = self.chatClient.sendMessage(params);\n return self._sendRequest(sendMessageRequest).then((res) => {\n const logContent = {id: res.data?.Id, contentType: params.ContentType};\n this.logger.debug(\"Successfully send message\", logContent);\n return res;\n }).catch((err) => {\n this.logger.error(\"Send message error\", err, {contentType: params.ContentType});\n return Promise.reject(err);\n });\n }\n\n sendAttachment(connectionToken, attachment, metadata) {\n let self = this;\n const startUploadRequestParams = {\n ContentType: attachment.type,\n AttachmentName: attachment.name,\n AttachmentSizeInBytes: attachment.size,\n ConnectionToken: connectionToken\n };\n const startUploadRequest = self.chatClient.startAttachmentUpload(startUploadRequestParams);\n const logContent = {contentType: attachment.type, size: attachment.size};\n return self._sendRequest(startUploadRequest)\n .then(startUploadResponse => {\n return self._uploadToS3(attachment, startUploadResponse.data.UploadMetadata)\n .then(() => {\n const completeUploadRequestParams = {\n AttachmentIds: [ startUploadResponse.data.AttachmentId ],\n ConnectionToken: connectionToken\n };\n this.logger.debug(\"Successfully upload attachment\", {...logContent, attachmentId: startUploadResponse.data?.AttachmentId});\n const completeUploadRequest = self.chatClient.completeAttachmentUpload(completeUploadRequestParams);\n return self._sendRequest(completeUploadRequest);\n });\n }).catch((err) => {\n this.logger.error(\"Upload attachment error\", err, logContent);\n return Promise.reject(err);\n });\n }\n\n _uploadToS3(file, metadata) {\n return fetch(metadata.Url,{\n method: \"PUT\",\n headers: metadata.HeadersToInclude,\n body: file\n });\n }\n\n downloadAttachment(connectionToken, attachmentId) {\n let self = this;\n const params = {\n AttachmentId: attachmentId,\n ConnectionToken: connectionToken\n };\n const logContent = {attachmentId};\n const getAttachmentRequest = self.chatClient.getAttachment(params);\n return self._sendRequest(getAttachmentRequest)\n .then(response => {\n this.logger.debug(\"Successfully download attachment\", logContent);\n return self._downloadUrl(response.data.Url);\n }).catch(err => {\n this.logger.error(\"Download attachment error\", err, logContent);\n return Promise.reject(err);\n });\n }\n\n _downloadUrl(url){\n return fetch(url)\n .then(t => t.blob())\n .catch(err => { return Promise.reject(err); });\n }\n\n \n sendEvent(connectionToken, contentType, content) {\n let self = this;\n if(contentType === CONTENT_TYPE.typing) {\n return self.throttleEvent(connectionToken, contentType, content)\n }\n return self._submitEvent(connectionToken, contentType, content);\n }\n \n throttleEvent = throttle((connectionToken, contentType, content) => {\n return this._submitEvent(connectionToken, contentType, content);\n }, TYPING_VALIDITY_TIME, { trailing: false, leading: true })\n \n async _submitEvent(connectionToken, contentType, content) {\n let self = this;\n var params = {\n ConnectionToken: connectionToken,\n ContentType: contentType,\n Content: content\n };\n var sendEventRequest = self.chatClient.sendEvent(params);\n const logContent = {contentType};\n try {\n const res = await self._sendRequest(sendEventRequest);\n this.logger.debug(\"Successfully send event\", { ...logContent, id: res.data?.Id, });\n return res;\n } catch (err) {\n return await Promise.reject(err);\n }\n }\n\n _sendRequest(request) {\n return new Promise((resolve, reject) => {\n request\n .on(\"success\", function(res) {\n resolve(res);\n })\n .on(\"error\", function(err) {\n const errObj = {\n type: err.code,\n message: err.message,\n stack: err.stack ? err.stack.split('\\n') : [],\n statusCode: err.statusCode,\n }\n reject(errObj);\n })\n .send();\n });\n }\n}\n\nvar ChatClientFactory = new ChatClientFactoryImpl();\nexport { ChatClientFactory };\n","import Utils from \"../utils\";\nimport { IllegalArgumentException } from \"./exceptions\";\nimport { CONTENT_TYPE, SESSION_TYPES } from \"../constants\";\n\nclass ChatControllerArgsValidator {\n /*eslint-disable no-unused-vars*/\n validateNewControllerDetails(chatDetails) {\n return true;\n }\n /*eslint-enable no-unused-vars*/\n\n validateSendMessage(args) {\n if (!Utils.isString(args.message)) {\n throw new IllegalArgumentException(args.message + \"is not a valid message\");\n }\n this.validateContentType(args.contentType);\n }\n\n validateContentType(contentType) {\n Utils.assertIsEnum(contentType, Object.values(CONTENT_TYPE), \"contentType\"); \n }\n\n /*eslint-disable no-unused-vars*/\n validateConnectChat(args) {\n return true;\n }\n /*eslint-enable no-unused-vars*/\n\n validateLogger(logger) {\n Utils.assertIsObject(logger, \"logger\");\n [\"debug\", \"info\", \"warn\", \"error\"].forEach(methodName => {\n if (!Utils.isFunction(logger[methodName])) {\n throw new IllegalArgumentException(\n methodName +\n \" should be a valid function on the passed logger object!\"\n );\n }\n });\n }\n\n validateSendEvent(args) {\n this.validateContentType(args.contentType);\n }\n\n /*eslint-disable no-unused-vars*/\n validateGetMessages(args) {\n return true;\n }\n /*eslint-enable no-unused-vars*/\n}\n\nclass ChatServiceArgsValidator extends ChatControllerArgsValidator {\n validateChatDetails(chatDetails, sessionType) {\n Utils.assertIsObject(chatDetails, \"chatDetails\");\n if (sessionType===SESSION_TYPES.AGENT && !Utils.isFunction(chatDetails.getConnectionToken)) {\n throw new IllegalArgumentException(\n \"getConnectionToken was not a function\", \n chatDetails.getConnectionToken\n );\n }\n Utils.assertIsNonEmptyString(\n chatDetails.contactId,\n \"chatDetails.contactId\"\n );\n Utils.assertIsNonEmptyString(\n chatDetails.participantId,\n \"chatDetails.participantId\"\n );\n if (sessionType===SESSION_TYPES.CUSTOMER){\n if (chatDetails.participantToken){\n Utils.assertIsNonEmptyString(\n chatDetails.participantToken,\n \"chatDetails.participantToken\"\n );\n } else {\n throw new IllegalArgumentException(\n \"participantToken was not provided for a customer session type\",\n chatDetails.participantToken\n );\n }\n }\n }\n\n validateInitiateChatResponse() {\n return true;\n }\n\n normalizeChatDetails(chatDetailsInput) {\n let chatDetails = {};\n chatDetails.contactId = chatDetailsInput.ContactId || chatDetailsInput.contactId;\n chatDetails.participantId = chatDetailsInput.ParticipantId || chatDetailsInput.participantId;\n chatDetails.initialContactId = chatDetailsInput.InitialContactId || chatDetailsInput.initialContactId\n || chatDetails.contactId || chatDetails.ContactId;\n chatDetails.getConnectionToken = chatDetailsInput.getConnectionToken || chatDetailsInput.GetConnectionToken;\n if (chatDetailsInput.participantToken || chatDetailsInput.ParticipantToken) {\n chatDetails.participantToken = chatDetailsInput.ParticipantToken || chatDetailsInput.participantToken;\n }\n this.validateChatDetails(chatDetails);\n return chatDetails;\n }\n}\n\nexport { ChatServiceArgsValidator };\n","import { CONNECTION_TOKEN_POLLING_INTERVAL_IN_MS, CONNECTION_TOKEN_EXPIRY_BUFFER_IN_MS } from \"../../constants\";\nimport { LogManager } from \"../../log\";\nconst ConnectionHelperStatus = {\n NeverStarted: \"NeverStarted\",\n Starting: \"Starting\",\n Connected: \"Connected\",\n ConnectionLost: \"ConnectionLost\",\n Ended: \"Ended\"\n};\n\nconst ConnectionHelperEvents = {\n ConnectionLost: \"ConnectionLost\", // event data is: {reason: ...}\n ConnectionGained: \"ConnectionGained\", // event data is: {reason: ...}\n Ended: \"Ended\", // event data is: {reason: ...}\n IncomingMessage: \"IncomingMessage\" // event data is: {payloadString: ...}\n};\n\nconst ConnectionInfoType = {\n WEBSOCKET: \"WEBSOCKET\",\n CONNECTION_CREDENTIALS: \"CONNECTION_CREDENTIALS\"\n};\n\nexport default class BaseConnectionHelper {\n constructor(connectionDetailsProvider, logMetaData) {\n this.connectionDetailsProvider = connectionDetailsProvider;\n this.isStarted = false;\n this.logger = LogManager.getLogger({ prefix: \"ChatJS-BaseConnectionHelper\", logMetaData });\n }\n\n startConnectionTokenPolling(isFirstCall=false, expiry=CONNECTION_TOKEN_POLLING_INTERVAL_IN_MS) {\n if (!isFirstCall){\n //TODO: use Type field to avoid fetching websocket connection\n return this.connectionDetailsProvider.fetchConnectionDetails()\n .then(response => {\n this.logger.info(\"Connection token polling succeeded.\");\n expiry = this.getTimeToConnectionTokenExpiry();\n this.timeout = setTimeout(this.startConnectionTokenPolling.bind(this), expiry);\n return response;\n })\n .catch((e) => {\n this.logger.error(\"An error occurred when attempting to fetch the connection token during Connection Token Polling\", e);\n this.timeout = setTimeout(this.startConnectionTokenPolling.bind(this), expiry);\n return e;\n });\n }\n else {\n this.logger.info(\"First time polling connection token.\");\n this.timeout = setTimeout(this.startConnectionTokenPolling.bind(this), expiry);\n }\n }\n\n start() {\n if (this.isStarted) {\n return this.getConnectionToken();\n }\n this.isStarted = true;\n return this.startConnectionTokenPolling(\n true, \n this.getTimeToConnectionTokenExpiry()\n );\n }\n\n end() {\n clearTimeout(this.timeout);\n }\n\n getConnectionToken() {\n return this.connectionDetailsProvider.getFetchedConnectionToken();\n }\n\n getConnectionTokenExpiry() {\n return this.connectionDetailsProvider.getConnectionTokenExpiry();\n }\n\n getTimeToConnectionTokenExpiry() {\n var dateExpiry = new Date(\n this.getConnectionTokenExpiry()\n ).getTime();\n var now = new Date().getTime();\n return dateExpiry - now - CONNECTION_TOKEN_EXPIRY_BUFFER_IN_MS;\n }\n}\n\nexport {\n ConnectionHelperStatus,\n ConnectionHelperEvents,\n ConnectionInfoType\n};\n","import Utils from \"../utils\";\n\nconst ALL_EVENTS = \"<>\";\n\n/**\n * An object representing an event subscription in an EventBus.\n */\nvar Subscription = function(subMap, eventName, f) {\n this.subMap = subMap;\n this.id = Utils.randomId();\n this.eventName = eventName;\n this.f = f;\n};\n\n/**\n * Unsubscribe the handler of this subscription from the EventBus\n * from which it was created.\n */\nSubscription.prototype.unsubscribe = function() {\n this.subMap.unsubscribe(this.eventName, this.id);\n};\n\n/**\n * A map of event subscriptions, used by the EventBus.\n */\nvar SubscriptionMap = function() {\n this.subIdMap = {};\n this.subEventNameMap = {};\n};\n\n/**\n * Add a subscription for the named event. Creates a new Subscription\n * object and returns it. This object can be used to unsubscribe.\n */\nSubscriptionMap.prototype.subscribe = function(eventName, f) {\n var sub = new Subscription(this, eventName, f);\n\n this.subIdMap[sub.id] = sub;\n var subList = this.subEventNameMap[eventName] || [];\n subList.push(sub);\n this.subEventNameMap[eventName] = subList;\n return () => sub.unsubscribe();\n};\n\n/**\n * Unsubscribe a subscription matching the given event name and id.\n */\nSubscriptionMap.prototype.unsubscribe = function(eventName, subId) {\n if (Utils.contains(this.subEventNameMap, eventName)) {\n this.subEventNameMap[eventName] = this.subEventNameMap[eventName].filter(\n function(s) {\n return s.id !== subId;\n }\n );\n\n if (this.subEventNameMap[eventName].length < 1) {\n delete this.subEventNameMap[eventName];\n }\n }\n\n if (Utils.contains(this.subIdMap, subId)) {\n delete this.subIdMap[subId];\n }\n};\n\n/**\n * Get a list of all subscriptions in the subscription map.\n */\nSubscriptionMap.prototype.getAllSubscriptions = function() {\n return Utils.values(this.subEventNameMap).reduce(function(a, b) {\n return a.concat(b);\n }, []);\n};\n\n/**\n * Get a list of subscriptions for the given event name, or an empty\n * list if there are no subscriptions.\n */\nSubscriptionMap.prototype.getSubscriptions = function(eventName) {\n return this.subEventNameMap[eventName] || [];\n};\n\n/**\n * An object which maintains a map of subscriptions and serves as the\n * mechanism for triggering events to be handled by subscribers.\n */\nvar EventBus = function(paramsIn) {\n var params = paramsIn || {};\n\n this.subMap = new SubscriptionMap();\n this.logEvents = params.logEvents || false;\n};\n\n/**\n * Subscribe to the named event. Returns a new Subscription object\n * which can be used to unsubscribe.\n */\nEventBus.prototype.subscribe = function(eventName, f) {\n Utils.assertNotNull(eventName, \"eventName\");\n Utils.assertNotNull(f, \"f\");\n Utils.assertTrue(Utils.isFunction(f), \"f must be a function\");\n return this.subMap.subscribe(eventName, f);\n};\n\n/**\n * Subscribe a function to be called on all events.\n */\nEventBus.prototype.subscribeAll = function(f) {\n Utils.assertNotNull(f, \"f\");\n Utils.assertTrue(Utils.isFunction(f), \"f must be a function\");\n return this.subMap.subscribe(ALL_EVENTS, f);\n};\n\n/**\n * Get a list of subscriptions for the given event name, or an empty\n * list if there are no subscriptions.\n */\nEventBus.prototype.getSubscriptions = function(eventName) {\n return this.subMap.getSubscriptions(eventName);\n};\n\n/**\n * Trigger the given event with the given data. All methods subscribed\n * to this event will be called and are provided with the given arbitrary\n * data object and the name of the event, in that order.\n */\nEventBus.prototype.trigger = function(eventName, data) {\n Utils.assertNotNull(eventName, \"eventName\");\n var self = this;\n var allEventSubs = this.subMap.getSubscriptions(ALL_EVENTS);\n var eventSubs = this.subMap.getSubscriptions(eventName);\n\n // if (this.logEvents && (eventName !== connect.EventType.LOG && eventName !== connect.EventType.MASTER_RESPONSE && eventName !== connect.EventType.API_METRIC)) {\n // connect.getLog().trace(\"Publishing event: %s\", eventName);\n // }\n\n allEventSubs.concat(eventSubs).forEach(function(sub) {\n try {\n sub.f(data || null, eventName, self);\n } catch (e) {\n // connect\n // .getLog()\n // .error(\"'%s' event handler failed.\", eventName)\n // .withException(e);\n }\n });\n};\n\n/**\n * Trigger the given event with the given data. All methods subscribed\n * to this event will be called and are provided with the given arbitrary\n * data object and the name of the event, in that order.\n */\nEventBus.prototype.triggerAsync = function(eventName, data) {\n setTimeout(() => this.trigger(eventName, data), 0);\n};\n\n/**\n * Returns a closure which bridges an event from another EventBus to this bus.\n *\n * Usage:\n * conduit.onUpstream(\"MyEvent\", bus.bridge());\n */\nEventBus.prototype.bridge = function() {\n var self = this;\n return function(data, event) {\n self.trigger(event, data);\n };\n};\n\n/**\n * Unsubscribe all events in the event bus.\n */\nEventBus.prototype.unsubscribeAll = function() {\n this.subMap.getAllSubscriptions().forEach(function(sub) {\n sub.unsubscribe();\n });\n};\n\nexport { EventBus };\n","export const CHAT_WIDGET_METRIC_NAME_SPACE = \"chat-widget\";\nexport const DEFAULT_WIDGET_TYPE = \"CustomChatWidget\";\n\nexport const getLdasEndpointUrl = (region) => {\n return `https://ieluqbvv.telemetry.connect.${region}.amazonaws.com/prod`;\n};","import { GlobalConfig } from \"../globalConfig\";\nimport {\n getLdasEndpointUrl,\n CHAT_WIDGET_METRIC_NAME_SPACE,\n DEFAULT_WIDGET_TYPE\n} from \"../configs/csmConfig\";\nimport { LogManager } from \"../log\";\nimport { csmJsString } from '../lib/connect-csm';\nimport { csmWorkerString } from '../lib/connect-csm-worker';\n\nexport const DIMENSION_CATEGORY = \"Category\";\nclass CsmService {\n constructor() {\n this.widgetType = DEFAULT_WIDGET_TYPE;\n this.logger = LogManager.getLogger({\n prefix: \"ChatJS-csmService\"\n });\n this.csmInitialized = false;\n this.metricsToBePublished = [];\n this.agentMetricToBePublished = [];\n this.MAX_RETRY = 5;\n }\n \n loadCsmScriptAndExecute() {\n try {\n let script = document.createElement('script');\n script.type = 'text/javascript';\n script.innerHTML = csmJsString;\n document.head.appendChild(script);\n this.initializeCSM();\n } catch (error) {\n this.logger.error(\"Load csm script error: \", error);\n }\n }\n \n initializeCSM() {\n // avoid multiple initialization\n try {\n if (this.csmInitialized) {\n return;\n }\n const region = GlobalConfig.getRegion();\n const csmWorkerText = csmWorkerString.replace(/\\\\/g, '');\n const sharedWorkerBlobUrl = URL.createObjectURL(new Blob([csmWorkerText], { type: 'text/javascript' }));\n const ldasEndpoint = getLdasEndpointUrl(region);\n let params = {\n endpoint: ldasEndpoint,\n namespace: CHAT_WIDGET_METRIC_NAME_SPACE,\n sharedWorkerUrl: sharedWorkerBlobUrl,\n };\n \n csm.initCSM(params);\n this.logger.info(`CSMService is initialized in ${region}`);\n this.csmInitialized = true;\n if (this.metricsToBePublished) {\n this.metricsToBePublished.forEach((metric) => {\n csm.API.addMetric(metric);\n });\n this.metricsToBePublished = null;\n }\n } catch(err) {\n this.logger.error('Failed to initialize csm: ', err);\n }\n }\n\n updateCsmConfig(csmConfig) {\n this.widgetType = typeof csmConfig === \"object\" && csmConfig !== null && !Array.isArray(csmConfig) ?\n csmConfig.widgetType : this.widgetType;\n }\n\n getDefaultDimensions() {\n return [\n {\n name: \"WidgetType\",\n value: this.widgetType\n }\n ];\n }\n\n addMetric(metric) {\n // if csmService is never initialized, store the metrics in an array\n if (!this.csmInitialized) {\n if (this.metricsToBePublished) {\n this.metricsToBePublished.push(metric);\n this.logger.info(`CSMService is not initialized yet. Adding metrics to queue to be published once CSMService is initialized`);\n }\n } else {\n try {\n csm.API.addMetric(metric);\n } catch(err) {\n this.logger.error('Failed to addMetric csm: ', err);\n }\n }\n }\n\n setDimensions(metric, dimensions) {\n dimensions.forEach((dimension) => {\n metric.addDimension(dimension.name, dimension.value);\n });\n }\n\n addLatencyMetric(method, timeDifference, category, otherDimensions = []) {\n try {\n const latencyMetric = new csm.Metric(\n method,\n csm.UNIT.MILLISECONDS,\n timeDifference\n );\n const dimensions = [\n ...this.getDefaultDimensions(),\n {\n name: \"Metric\",\n value: \"Latency\",\n },\n {\n name: DIMENSION_CATEGORY,\n value: category\n },\n ...otherDimensions\n ];\n this.setDimensions(latencyMetric, dimensions);\n this.addMetric(latencyMetric);\n this.logger.debug(`Successfully published latency API metrics for method ${method}`);\n } catch (err) {\n this.logger.error('Failed to addLatencyMetric csm: ', err);\n }\n }\n\n addLatencyMetricWithStartTime(method, startTime, category, otherDimensions = []) {\n const endTime = new Date().getTime();\n const timeDifference = endTime - startTime;\n this.addLatencyMetric(method, timeDifference, category, otherDimensions);\n this.logger.debug(`Successfully published latency API metrics for method ${method}`);\n }\n\n addCountAndErrorMetric(method, category, error, otherDimensions = []) {\n try {\n const dimensions = [\n ...this.getDefaultDimensions(),\n {\n name: DIMENSION_CATEGORY,\n value: category\n },\n ...otherDimensions\n ];\n const countMetric = new csm.Metric(method, csm.UNIT.COUNT, 1);\n this.setDimensions(countMetric, [\n ...dimensions,\n {\n name: \"Metric\",\n value: \"Count\",\n }\n ]);\n const errorCount = error ? 1 : 0;\n const errorMetric = new csm.Metric(method, csm.UNIT.COUNT, errorCount);\n this.setDimensions(errorMetric, [\n ...dimensions,\n {\n name: \"Metric\",\n value: \"Error\",\n }\n ]);\n this.addMetric(countMetric);\n this.addMetric(errorMetric);\n this.logger.debug(`Successfully published count and error metrics for method ${method}`);\n } catch(err) {\n this.logger.error('Failed to addCountAndErrorMetric csm: ', err);\n }\n }\n\n addCountMetric(method, category, otherDimensions = []) {\n try {\n const dimensions = [\n ...this.getDefaultDimensions(),\n {\n name: DIMENSION_CATEGORY,\n value: category\n },\n {\n name: \"Metric\",\n value: \"Count\",\n },\n ...otherDimensions\n ];\n const countMetric = new csm.Metric(method, csm.UNIT.COUNT, 1);\n this.setDimensions(countMetric, dimensions);\n this.addMetric(countMetric);\n this.logger.debug(`Successfully published count metrics for method ${method}`);\n } catch(err) {\n this.logger.error('Failed to addCountMetric csm: ', err);\n }\n }\n\n addAgentCountMetric(metricName, count) {\n try {\n const _self = this;\n if (csm && csm.API.addCount && metricName) {\n csm.API.addCount(metricName, count);\n _self.MAX_RETRY = 5;\n } else {\n //add to list and retry later\n if (metricName) {\n this.agentMetricToBePublished.push({\n \n metricName,\n \n count\n });\n }\n setTimeout(() => {\n if (csm && csm.API.addCount) {\n this.agentMetricToBePublished.forEach(metricItem => {\n csm.API.addCount(metricItem.metricName, metricItem.count);\n });\n this.agentMetricToBePublished = [];\n } else if(_self.MAX_RETRY > 0) {\n _self.MAX_RETRY -= 1;\n _self.addAgentCountMetric();\n }\n }, 3000);\n }\n } catch(err) {\n this.logger.error('Failed to addAgentCountMetric csm: ', err);\n }\n }\n}\n\nconst csmService = new CsmService();\nexport { csmService };","export const csmJsString = `(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension \\\\'' + dimensionName + '\\\\'. Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(\\`\\${objName}[\\${key}]\\`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.globalDimensions = []; // These dimensions are added to all captured metrics.\n csm.globalOptionalDimensions = [];\n csm.initFailureDimensions = [];\n\n const API = {\n getWorkflow: function(workflowType, instanceId, data) {\n return csm.workflow(workflowType, instanceId, data);\n },\n\n addMetric: function(metric) {\n csm.Util.assertExist(metric, 'metric');\n csm.putMetric(metric);\n },\n\n addMetricWithDedupe: function(metric, dedupeIntervalMs, context) {\n csm.Util.assertExist(metric, 'metric');\n csm.Util.assertExist(metric, 'dedupeIntervalMs');\n // context is optional; if present it will only dedupe on metrics with the same context. ex.) tabId\n metric.dedupeOptions = {dedupeIntervalMs, context: context || 'global'};\n csm.putMetric(metric);\n },\n\n addCount: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(count, 'count');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n csm.putMetric(metric);\n },\n\n addCountWithPageLocation: function(metricName) {\n csm.Util.assertExist(metricName, 'metricName');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, 1.0);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n addError: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n\n if (count === undefined || count == null) {\n count = 1.0;\n }\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n metric.addDimension('Metric', 'Error');\n csm.putMetric(metric);\n },\n\n addSuccess: function(metricName) {\n API.addError(metricName, 0);\n },\n\n addTime: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('Metric', 'Time');\n csm.putMetric(metric);\n },\n\n addTimeWithPageLocation: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n pageReady: function() {\n if (window.performance && window.performance.now) {\n const pageLoadTime = window.performance.now();\n const metric = new csm.Metric('PageReadyLatency', csm.UNIT.MILLISECONDS, pageLoadTime);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n }\n },\n\n setPageLocationTransformer: function(transformFunc) {\n csm.Util.assertExist(transformFunc, 'transformFunc');\n csm.Util.assertTrue((typeof transformFunc) === 'function');\n csm.Util.pageLocationTransformer = transformFunc;\n },\n\n setGlobalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalDimensions = dimensions;\n },\n\n setGlobalOptionalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalOptionalDimensions = dimensions;\n },\n\n setInitFailureDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.initFailureDimensions = dimensions;\n },\n\n putCustom: function(endpoint, headers, data) {\n csm.Util.assertExist(data, 'data');\n csm.Util.assertExist(endpoint, 'endpoint');\n csm.Util.assertExist(headers, 'headers');\n csm.putCustom(endpoint, headers, data);\n },\n\n setAuthParams: function(authParams) {\n csm.setAuthParams(authParams);\n },\n\n setConfig: function(key, value) {\n csm.Util.assertExist(key, 'key');\n csm.Util.assertExist(value, 'value');\n if (!csm.configuration[key]) {\n csm.setConfig(key, value); // set configuration variables such as accountId, instanceId, userId\n }\n },\n };\n\n csm.API = API;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n const WORKFLOW_KEY_PREFIX = 'csm.workflow';\n\n /**\n * Calculates the local storage key used to store a workflow of the specified type.\n * @param {string} type of workflow\n * @return {string} storage key\n */\n const getWorkflowKeyForType = function(type) {\n return [\n WORKFLOW_KEY_PREFIX,\n type,\n ].join('.');\n };\n\n /**\n * Constructor for new Workflow objects.\n *\n * If you need to be able to share a workflow across tabs, it is recommended\n * to use \"csm.workflow\" to create/hydrate your workflows instead.\n * @param {string} type of workflow\n * @param {string} instanceId of workflow\n * @param {JSON} data blob associated with workflow\n */\n const Workflow = function(type, instanceId, data) {\n this.type = type;\n this.instanceId = instanceId || csm.Util.randomId();\n this.instanceSpecified = instanceId || false;\n this.eventMap = {};\n this.data = data || {};\n\n // Merge global dimensions into the data map.\n const dimensionData = {};\n csm.globalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n csm.globalOptionalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n this.data = this._mergeData(dimensionData);\n };\n\n /**\n * Create a new workflow or rehydrate an existing shared workflow.\n *\n * @param {string} type The type of workflow to be created.\n * @param {string} instanceId The instanceId of the workflow. If not provided, it will be\n * assigned a random ID and will not be automatically saved to local storage.\n * If provided, we will attempt to load an existing workflow of the same type\n * from local storage and rehydrate it.\n * @param {JSON} data An optional map of key/value pairs to be added as data to every\n * workflow event created with this workflow.\n * @return {Workflow} workflow event\n * NOTE: Only one workflow of each type can be stored at the same time, to avoid\n * overloading localStorage with unused workflow records.\n */\n csm.workflow = function(type, instanceId, data) {\n let workflow = new Workflow(type, instanceId, data);\n\n if (instanceId) {\n const savedWorkflow = csm._loadWorkflow(type);\n if (savedWorkflow && savedWorkflow.instanceId === instanceId) {\n workflow = savedWorkflow;\n workflow.addData(data || {});\n }\n }\n\n return workflow;\n };\n\n csm._loadWorkflow = function(type) {\n let workflow = null;\n const workflowJson = localStorage.getItem(getWorkflowKeyForType(type));\n const workflowStruct = workflowJson ? JSON.parse(workflowJson) : null;\n if (workflowStruct) {\n workflow = new Workflow(type, workflowStruct.instanceId);\n workflow.eventMap = workflowStruct.eventMap;\n }\n return workflow;\n };\n\n /**\n * Creates a new workflow event and returns it. Then this workflow event is sent upstream\n * to the CSMSharedWorker where it is provided to the backend.\n *\n * If an instanceId was specified when the workflow was created, this will also save the workflow\n * and all of its events to localStorage.\n *\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.event = function(event, data) {\n const mergedData = this._mergeData(data || {});\n const workflowEvent = new csm.WorkflowEvent({\n workflow: this,\n event: event,\n data: mergedData,\n userId: csm.configuration.userId || '',\n organizationId: csm.configuration.organizationId || '',\n accountId: csm.configuration.accountId || '',\n appName: csm.configuration.namespace || '',\n });\n csm.putWorkflowEvent(workflowEvent);\n this.eventMap[event] = workflowEvent;\n if (this.instanceSpecified) {\n this.save();\n }\n return workflowEvent;\n };\n\n /**\n * Creates a new workflow event and returns it, if the same event is not happened in ths past\n * dedupeIntervalMs milliseconds.\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @param {int} dedupeIntervalMs defaults to 200 MS\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.eventWithDedupe = function(event, data, dedupeIntervalMs) {\n const pastEvent = this.getPastEvent(event);\n const now = new Date().getTime();\n const interval = dedupeIntervalMs || 200;\n\n // Crafting the expected workflow event data result\n const mergedData = this._mergeData(data);\n const expectedData = [];\n for (const key in mergedData) {\n if (Object.prototype.hasOwnProperty.call(mergedData, key)) {\n expectedData.push({'key': key, 'value': mergedData[key]});\n }\n }\n\n // Deduplicate same events that happened within interval\n if (!pastEvent || (pastEvent && JSON.stringify(pastEvent.data) !== JSON.stringify(expectedData)) ||\n (pastEvent && (now - pastEvent.timestamp > interval))) {\n return this.event(event, data);\n }\n return null;\n };\n\n /**\n * Get a past event if it exists in this workflow, otherwise returns null.\n * This can be helpful to emit metrics in real time based on the differences\n * between workflow event timestamps, especially for workflows shared across tabs.\n * @param {string} event key to see if workflow exists for this event\n * @return {WorkflowEvent} workflow event retrieved\n */\n Workflow.prototype.getPastEvent = function(event) {\n return event in this.eventMap ? this.eventMap[event] : null;\n };\n\n /**\n * Save the workflow to local storage. This only happens automatically when an\n * instanceId is specified on workflow creation, however if this method is called\n * explicitly by the client, the randomly generated workflow instance id can be\n * used to retrieve the workflow later and automatic save on events will be enabled.\n */\n Workflow.prototype.save = function() {\n this.instanceSpecified = true;\n localStorage.setItem(getWorkflowKeyForType(this.type), JSON.stringify(this));\n };\n\n /**\n * Remove this workflow if it is the saved instance for this workflow type in localStorage.\n */\n Workflow.prototype.close = function() {\n const storedWorkflow = csm._loadWorkflow(this.type);\n if (storedWorkflow && storedWorkflow.instanceId === this.instanceId) {\n localStorage.removeItem(getWorkflowKeyForType(this.type));\n }\n };\n\n Workflow.prototype.addData = function(data) {\n for (const key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n this.data[key] = data[key];\n }\n }\n };\n\n Workflow.prototype._mergeData = function(data) {\n const mergedData = {};\n let key = null;\n for (key in this.data) {\n if (Object.prototype.hasOwnProperty.call(this.data, key)) {\n mergedData[key] = this.data[key] == null ? 'null' : (this.data[key] === '' ? ' ' : this.data[key].toString());\n }\n }\n for (key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n mergedData[key] = data[key] == null ? 'null' : (data[key] === '' ? ' ' : data[key].toString());\n }\n }\n return mergedData;\n };\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n let worker = null;\n let portId = null;\n\n const MAX_INIT_MILLISECONDS = 5000;\n const preInitTaskQueue = [];\n csm.configuration = {};\n\n /**\n * Initialize CSM variables\n * @param {object} params for CSM\n * @params.namespace Define your metric namespace used in CloudWatch metrics\n * @params.sharedWorkerUrl Specify the relative url to the connect-csm-worker.js file in your service\n * @params.endpoint Specify an LDAS endpoint to use.\n * @params.dryRunMode When CSM is initialized with dry run mode, it won't actually publish metrics.\n * @params.defaultMetrics Enable default metrics. Default to false.\n */\n csm.initCSM = function(params) {\n csm.Util.assertExist(params.namespace, 'namespace');\n csm.Util.assertExist(params.sharedWorkerUrl, 'sharedWorkerUrl');\n csm.Util.assertExist(params.endpoint, 'endpoint');\n\n try {\n console.log('Starting csm shared worker with', params.sharedWorkerUrl);\n worker = new SharedWorker(params.sharedWorkerUrl, 'CSM_SharedWorker');\n worker.port.start();\n } catch (e) {\n console.log('Failed to initialize csm shared worker with', params.sharedWorkerUrl);\n console.log(e.message);\n }\n\n /**\n * Configure shared worker\n */\n csm.configuration = {\n namespace: params.namespace,\n userId: params.userId || '',\n accountId: params.accountId || '',\n organizationId: params.organizationId || '',\n endpointUrl: params.endpoint || null,\n batchSettings: params.batchSettings || null,\n addPageVisibilityDimension: params.addPageVisibilityDimension || false,\n addUrlDataDimensions: params.addUrlDataDimensions || false,\n dryRunMode: params.dryRunMode || false, // When csm is in dryRunMode it won't actually publish metrics to CSM\n };\n\n postEventToWorker(csm.EVENT_TYPE.CONFIG, csm.configuration);\n\n /**\n * Receive message from shared worker\n * @param {MessageEvent} messageEvent from shared worker\n */\n worker.port.onmessage = function(messageEvent) {\n const messageType = messageEvent.data.type;\n onMessageFromWorker(messageType, messageEvent.data);\n };\n\n /**\n * Inform shared worker window closed\n */\n global.onbeforeunload = function() {\n worker.port.postMessage(\n {\n type: csm.EVENT_TYPE.CLOSE,\n portId: portId,\n },\n );\n };\n\n /**\n * Check if initialization success\n */\n global.setTimeout(function() {\n if (!isCSMInitialized()) {\n console.log('[FATAL] CSM initialization failed! Please make sure the sharedWorkerUrl is reachable.');\n }\n }, MAX_INIT_MILLISECONDS);\n\n // Emit out of the box metrics\n if (params.defaultMetrics) {\n emitDefaultMetrics();\n }\n };\n // Final processing before sending to SharedWorker\n const processMetric = function(metric) {\n if (csm.configuration.addPageVisibilityDimension && document.visibilityState) {\n metric.addOptionalDimension('VisibilityState', document.visibilityState);\n }\n };\n\n const processWorkflowEvent = function(event) {\n if (csm.configuration.addUrlDataDimensions) {\n event.data.push({'key': 'ReferrerUrl', 'value': csm.Util.getReferrerUrl()});\n event.data.push({'key': 'Origin', 'value': csm.Util.getOrigin()});\n event.data.push({'key': 'WindowParent', 'value': csm.Util.getWindowParent()});\n }\n if (['initFailure', 'initializationLatencyInfo'].includes(event.event)) {\n csm.initFailureDimensions.forEach((dimension) => {\n Object.keys(dimension).forEach((key) => {\n event.data.push({'key': key, 'value': dimension[key]});\n });\n });\n }\n return event;\n };\n\n csm.putMetric = function(metric) {\n processMetric(metric);\n postEventToWorker(csm.EVENT_TYPE.METRIC, metric);\n };\n\n csm.putLog = function(log) {\n postEventToWorker(csm.EVENT_TYPE.LOG, log);\n };\n\n csm.putWorkflowEvent = function(event) {\n const processedEvent = processWorkflowEvent(event);\n postEventToWorker(csm.EVENT_TYPE.WORKFLOW_EVENT, processedEvent);\n };\n\n csm.putCustom = function(endpoint, headers, data) {\n postEventToWorker(csm.EVENT_TYPE.CUSTOM, data, endpoint, headers);\n };\n\n csm.setAuthParams = function(authParams) {\n postEventToWorker(csm.EVENT_TYPE.SET_AUTH, authParams);\n };\n\n csm.setConfig = function(key, value) {\n csm.configuration[key] = value;\n postEventToWorker(csm.EVENT_TYPE.SET_CONFIG, {key, value});\n };\n /** ********************** PRIVATE METHODS ************************/\n\n const onMessageFromWorker = function(messageType, data) {\n if (messageType === csm.EVENT_TYPE.CONFIG) {\n portId = data.portId;\n onCSMInitialized();\n }\n };\n\n const onCSMInitialized = function() {\n // Purge the preInitTaskQueue\n preInitTaskQueue.forEach(function(task) {\n postEventToWorker(task.type, task.message, task.endpoint, task.headers);\n });\n\n // TODO: Capture on errors and publish log to shared worker\n /**\n window.onerror = function(message, fileName, lineNumber, columnNumber, errorstack) {\n var log = new csm.Log(message, fileName, lineNumber, columnNumber, errorstack.stack);\n csm.putLog(log);\n };\n */\n };\n\n /**\n * Emit out of the box metrics automatically\n *\n * TODO allow configuration\n */\n const emitDefaultMetrics = function() {\n window.addEventListener('load', function() {\n // loadEventEnd is avaliable after the onload function finished\n // https://www.w3.org/TR/navigation-timing-2/#processing-model\n // https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming\n global.setTimeout(function() {\n try {\n const perfData = window.performance.getEntriesByType('navigation')[0];\n const pageLoadTime = perfData.loadEventEnd - perfData.startTime;\n const connectTime = perfData.responseEnd - perfData.requestStart;\n const domRenderTime = perfData.domComplete - perfData.domInteractive;\n csm.API.addCountWithPageLocation('PageLoad');\n csm.API.addTimeWithPageLocation('PageLoadTime', pageLoadTime);\n csm.API.addTimeWithPageLocation('ConnectTime', connectTime);\n csm.API.addTimeWithPageLocation('DomRenderTime', domRenderTime);\n } catch (err) {\n console.log('Error emitting default metrics', err);\n }\n }, 0);\n });\n };\n\n /**\n * Try posting message to shared worker\n * If shared worker hasn't been initialized, put the task to queue to be clean up once initialized\n * @param {csm.EVENT_TYPE} eventType for CSM\n * @param {object} message event following type of eventType\n * @param {string} [endpoint] optional parameter for putCustom function (put any data to specified endpoint)\n * @param {object} [headers] optional parameter for putCustom function\n */\n const postEventToWorker = function(eventType, message, endpoint, headers) {\n if (eventType === csm.EVENT_TYPE.CONFIG || isCSMInitialized()) {\n worker.port.postMessage(\n {\n type: eventType,\n portId: portId,\n message: message,\n endpoint: endpoint,\n headers: headers,\n },\n );\n } else {\n preInitTaskQueue.push({\n type: eventType,\n message: message,\n endpoint: endpoint,\n headers: headers,\n });\n }\n };\n\n const isCSMInitialized = function() {\n return portId !== null;\n };\n})()`;\n","export const csmWorkerString = `(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension ' + dimensionName + ' . Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(\\`\\${objName}[\\${key}]\\`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const XHR_DONE_READY_STATE = 4; // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState\n\n const global = self;\n const configuration = {};\n const batchSettings = {\n maxMetricsSize: 30,\n maxWorkflowEventsSize: 30,\n putMetricsIntervalMs: 30000,\n putWorkflowEventsIntervalMs: 2000,\n };\n const metricLists = {}; // metricList per CloudWatch Namespace\n const metricMap = {};\n const ports = {};\n let workflowEvents = {workflowEventList: []};\n\n // SharedWorker wiki: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker\n onconnect = function(connectEvent) {\n const port = connectEvent.ports[0];\n\n port.onmessage = function(event) {\n const data = event.data;\n const messageType = data.type;\n const message = data.message;\n const endpoint = data.endpoint;\n const headers = data.headers;\n\n if (data.portId && !(data.portId in ports)) {\n // This could happen when a user tries to close a tab which has a pop up alert to confirm closing,\n // and the user decides to cancel closing\n // This triggers before unload event while the tab or window is not closed actually\n ports[data.portId] = port;\n }\n\n const {METRIC, WORKFLOW_EVENT, CUSTOM, CONFIG, SET_AUTH, SET_CONFIG, CLOSE} = csm.EVENT_TYPE;\n switch (messageType) {\n case METRIC: {\n csm.Util.assertInObject(message, 'message', 'namespace');\n const namespace = message.namespace;\n if (shouldDedupe(message)) break;\n addMetricEventToMap(message);\n if (metricLists[namespace]) {\n metricLists[namespace].push(message);\n } else {\n metricLists[namespace] = [message];\n }\n if (metricLists[namespace].length >= batchSettings.maxMetricsSize) {\n putMetricsForNamespace(namespace);\n }\n break;\n }\n case WORKFLOW_EVENT: {\n workflowEvents.workflowEventList.push(message);\n if (workflowEvents.length >= batchSettings.maxWorkflowEventsSize) {\n putWorkflowEvents();\n }\n break;\n }\n case CUSTOM: {\n putCustom(endpoint, headers, message);\n break;\n }\n case CONFIG: {\n const portId = Object.keys(ports).length + 1; // portId starts from 1\n ports[portId] = port;\n for (const setting of Object.keys(message)) {\n if (!csm.Util.isEmpty(message[setting])) {\n configuration[setting] = message[setting];\n }\n }\n\n // set optional batch settings\n if (configuration.batchSettings) {\n for (const setting of Object.keys(configuration.batchSettings)) {\n batchSettings[setting] = configuration.batchSettings[setting];\n }\n }\n // send metrics and workflow events at set intervals\n putMetrics();\n putWorkflowEvents();\n global.setInterval(putMetrics, batchSettings.putMetricsIntervalMs);\n global.setInterval(putWorkflowEvents, batchSettings.putWorkflowEventsIntervalMs);\n\n port.postMessage(\n {\n type: csm.EVENT_TYPE.CONFIG,\n portId: portId,\n },\n );\n break;\n }\n case SET_AUTH: {\n configuration.authParams = message;\n authenticate();\n break;\n }\n case SET_CONFIG: {\n configuration[message.key] = message.value;\n break;\n }\n case CLOSE: {\n delete ports[data.portId];\n if (Object.keys(ports).length === 0) {\n putMetrics();\n putWorkflowEvents();\n }\n break;\n }\n default:\n break;\n }\n };\n };\n\n const shouldDedupe = function(metric) {\n try {\n const pastMetric = getPastMetricEvent(metric);\n return pastMetric && metric.dedupeOptions &&\n (metric.timestamp - pastMetric.timestamp < metric.dedupeOptions.dedupeIntervalMs);\n } catch (err) {\n console.error('Error in shouldDedupe', err);\n return false;\n }\n };\n\n const getPastMetricEvent = function(metric) {\n try {\n return metricMap[getMetricEventKey(metric)];\n } catch (err) {\n // ignore err - no previous metrics found\n return null;\n }\n };\n\n const addMetricEventToMap = function(metric) {\n try {\n metricMap[getMetricEventKey(metric)] = metric;\n } catch (err) {\n console.error('Failed to add event to metricMap', err);\n }\n csm.metricMap = metricMap;\n };\n\n const getMetricEventKey = function(metric) {\n const {namespace, metricName, unit, dedupeOptions} = metric;\n let context = 'global';\n if (dedupeOptions && dedupeOptions.context) {\n context = dedupeOptions.context;\n }\n return \\`\\${namespace}-\\${metricName}-\\${unit}-\\${context}\\`;\n };\n\n const authenticate = function() {\n postRequest(configuration.endpointUrl + '/auth', {authParams: configuration.authParams},\n {\n success: function(response) {\n if (response && response.jwtToken) {\n configuration.authParams.jwtToken = response.jwtToken;\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] csm auth failed!');\n broadcastMessage('Response : ' + response);\n },\n }, {'x-api-key': 'auth-method-level-key'});\n };\n\n /**\n * Put metrics to service when:\n * a) metricList size is at maxMetricsSize\n * b) every putMetricsIntervalMs time if the metricList is not empty\n * c) worker is closed\n *\n * Timer is reset, and metricList emptied after each putMetrics call\n */\n const putMetrics = function() {\n for (const namespace of Object.keys(metricLists)) {\n putMetricsForNamespace(namespace);\n }\n };\n\n const putMetricsForNamespace = function(namespace) {\n csm.Util.assertInObject(metricLists, 'metricLists', namespace);\n const metricList = metricLists[namespace];\n\n if (metricList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n postRequest(configuration.endpointUrl + '/put-metrics', {\n metricNamespace: namespace,\n metricList: metricList,\n authParams: configuration.authParams,\n accountId: configuration.accountId,\n organizationId: configuration.organizationId,\n agentResourceId: configuration.userId,\n }, {\n success: function(response) {\n if (response) {\n broadcastMessage('PutMetrics response : ' + response);\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put metrics to service failed! ');\n },\n });\n }\n metricLists[namespace] = [];\n };\n\n /**\n * Put metrics to service every two seconds if there are events to be put.\n */\n const putWorkflowEvents = function() {\n if (workflowEvents.workflowEventList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n workflowEvents.authParams = configuration.authParams;\n postRequest(configuration.endpointUrl + '/put-workflow-events', workflowEvents,\n {\n success: function(response) {\n if (response) {\n if (response.workflowEventList && response.workflowEventList.length > 0) {\n broadcastMessage('[WARN] There are ' + response.length + ' workflow events that failed to publish');\n broadcastMessage('Response : ' + response);\n }\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put workflow events to service failed! ');\n },\n });\n }\n\n workflowEvents = {workflowEventList: []};\n };\n\n /**\n * Put data to custom endpoint on demand\n * @param {string} endpoint\n * @param {object} headers\n * @param {object} data to send to endpoint\n */\n const putCustom = function(endpoint, headers, data) {\n if (!configuration.dryRunMode && endpoint && data) {\n postRequest(endpoint, data, {\n success: function(response) {\n if (response) {\n broadcastMessage('Response : ' + response);\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Failed to put custom data! ');\n },\n }, headers);\n }\n };\n\n /**\n * Broadcast message to all tabs\n * @param {string} message to post to all the tabs\n */\n const broadcastMessage = function(message) {\n for (const portId in ports) {\n if (Object.prototype.hasOwnProperty.call(ports, portId)) {\n ports[portId].postMessage(message);\n }\n }\n };\n\n const postRequest = function(url, data, callbacks, headers) {\n csm.Util.assertExist(url, 'url');\n csm.Util.assertExist(data, 'data');\n\n callbacks = callbacks || {};\n callbacks.success = callbacks.success || function() {};\n callbacks.failure = callbacks.failure || function() {};\n\n const request = new XMLHttpRequest(); // new HttpRequest instance\n request.onreadystatechange = function() {\n const errorList = request.response ? JSON.parse(request.response): [];\n if (request.readyState === XHR_DONE_READY_STATE) { // request finished and response is ready\n if (request.status === 200) {\n callbacks.success(errorList);\n } else {\n broadcastMessage('AJAX request failed with status: ' + request.status);\n callbacks.failure(errorList);\n }\n }\n };\n\n request.open('POST', url);\n if (headers && typeof headers === 'object') {\n Object.keys(headers).forEach((header) => request.setRequestHeader(header, headers[header]));\n } else {\n request.setRequestHeader('Content-Type', 'application/json');\n }\n request.send(JSON.stringify(data));\n };\n})()`;\n","import { IllegalArgumentException } from \"../exceptions\";\nimport { ConnectionInfoType } from \"./baseConnectionHelper\";\nimport { ACPS_METHODS, CSM_CATEGORY, SESSION_TYPES, TRANSPORT_LIFETIME_IN_SECONDS, FEATURES, CONN_ACK_FAILED } from \"../../constants\";\nimport { csmService } from \"../../service/csmService\";\nimport { GlobalConfig } from \"../../globalConfig\";\n\nexport default class ConnectionDetailsProvider {\n\n constructor(participantToken, chatClient, sessionType, getConnectionToken=null) {\n this.chatClient = chatClient;\n this.participantToken = participantToken || null;\n this.connectionDetails = null;\n this.connectionToken = null;\n this.connectionTokenExpiry = null;\n this.sessionType = sessionType;\n this.getConnectionToken = getConnectionToken;\n }\n\n getFetchedConnectionToken() {\n return this.connectionToken;\n }\n\n getConnectionTokenExpiry() {\n return this.connectionTokenExpiry;\n }\n\n getConnectionDetails() {\n return this.connectionDetails;\n }\n\n fetchConnectionDetails() {\n return this._fetchConnectionDetails().then((connectionDetails) => connectionDetails);\n }\n\n _handleCreateParticipantConnectionResponse(connectionDetails, ConnectParticipant) {\n this.connectionDetails = {\n url: connectionDetails.Websocket.Url,\n expiry: connectionDetails.Websocket.ConnectionExpiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS,\n connectionAcknowledged: ConnectParticipant,\n connectionToken: connectionDetails.ConnectionCredentials.ConnectionToken,\n connectionTokenExpiry: connectionDetails.ConnectionCredentials.Expiry,\n };\n this.connectionToken = connectionDetails.ConnectionCredentials.ConnectionToken;\n this.connectionTokenExpiry = connectionDetails.ConnectionCredentials.Expiry;\n return this.connectionDetails;\n }\n\n _handleGetConnectionTokenResponse(connectionTokenDetails) {\n this.connectionDetails = {\n url: null,\n expiry: null,\n connectionToken: connectionTokenDetails.participantToken,\n connectionTokenExpiry: connectionTokenDetails.expiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS,\n connectionAcknowledged: false,\n };\n this.connectionToken = connectionTokenDetails.participantToken;\n this.connectionTokenExpiry = connectionTokenDetails.expiry;\n return Promise.resolve(this.connectionDetails);\n }\n\n callCreateParticipantConnection({ Type = true, ConnectParticipant = false } = {}){\n const startTime = new Date().getTime();\n return this.chatClient\n .createParticipantConnection(this.participantToken, Type ? [ConnectionInfoType.WEBSOCKET, ConnectionInfoType.CONNECTION_CREDENTIALS] : null, ConnectParticipant ? ConnectParticipant : null)\n .then((response) => {\n if (Type) {\n this._addParticipantConnectionMetric(startTime);\n return this._handleCreateParticipantConnectionResponse(response.data, ConnectParticipant);\n }\n })\n .catch( error => {\n if (Type) {\n this._addParticipantConnectionMetric(startTime, true);\n }\n return Promise.reject({\n reason: \"Failed to fetch connectionDetails with createParticipantConnection\",\n _debug: error\n });\n });\n }\n\n _addParticipantConnectionMetric(startTime, error = false) {\n csmService.addLatencyMetricWithStartTime(ACPS_METHODS.CREATE_PARTICIPANT_CONNECTION, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(ACPS_METHODS.CREATE_PARTICIPANT_CONNECTION, CSM_CATEGORY.API, error);\n }\n\n async _fetchConnectionDetails() {\n // If this is a customer session, use the provided participantToken to call createParticipantConnection for our connection details. \n if (this.sessionType === SESSION_TYPES.CUSTOMER) {\n return this.callCreateParticipantConnection();\n }\n // If this is an agent session, we can't assume that the participantToken is valid. \n // In this case, we use the getConnectionToken API to fetch a valid connectionToken and expiry. \n // If that fails, for now we try with createParticipantConnection.\n else if (this.sessionType === SESSION_TYPES.AGENT){\n return this.getConnectionToken()\n .then((response) => {\n return this._handleGetConnectionTokenResponse(response.chatTokenTransport);\n })\n .catch(() => {\n if (!GlobalConfig.isFeatureEnabled(FEATURES.PARTICIPANT_CONN_ACK)) {\n //current behaviour\n return this.callCreateParticipantConnection();\n }\n //new behaviour for connAck\n return this.callCreateParticipantConnection({\n Type: true,\n ConnectParticipant: true\n }).catch((err) => {\n throw new Error({\n type: CONN_ACK_FAILED,\n errorMessage: err\n });\n });\n });\n }\n else {\n return Promise.reject({\n reason: \"Failed to fetch connectionDetails.\",\n _debug: new IllegalArgumentException(\"Failed to fetch connectionDetails.\")\n });\n }\n }\n}\n"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","import { EventBus } from \"../eventbus\";\nimport { LogManager } from \"../../log\";\nimport { \n ConnectionHelperEvents,\n ConnectionHelperStatus\n} from \"./baseConnectionHelper\";\nimport BaseConnectionHelper from \"./baseConnectionHelper\";\nimport WebSocketManager from \"../../lib/amazon-connect-websocket-manager\";\nimport { CHAT_EVENTS, CSM_CATEGORY, TRANSPORT_LIFETIME_IN_SECONDS, WEBSOCKET_EVENTS } from \"../../constants\";\nimport { csmService } from \"../../service/csmService\";\n\nclass LpcConnectionHelper extends BaseConnectionHelper {\n\n constructor(contactId, initialContactId, connectionDetailsProvider, websocketManager, logMetaData, connectionDetails) {\n super(connectionDetailsProvider, logMetaData);\n\n // WebsocketManager instance is only provided iff agent connections\n this.customerConnection = !websocketManager;\n\n if (this.customerConnection) {\n // ensure customer base instance exists for this contact ID\n if (!LpcConnectionHelper.customerBaseInstances[contactId]) {\n LpcConnectionHelper.customerBaseInstances[contactId] =\n new LpcConnectionHelperBase(connectionDetailsProvider, undefined, logMetaData, connectionDetails);\n }\n this.baseInstance = LpcConnectionHelper.customerBaseInstances[contactId];\n } else {\n // cleanup agent base instance if it exists for old websocket manager\n if (LpcConnectionHelper.agentBaseInstance) {\n if (LpcConnectionHelper.agentBaseInstance.getWebsocketManager() !== websocketManager) {\n LpcConnectionHelper.agentBaseInstance.end();\n LpcConnectionHelper.agentBaseInstance = null;\n }\n }\n // ensure agent base instance exists\n if (!LpcConnectionHelper.agentBaseInstance) {\n LpcConnectionHelper.agentBaseInstance =\n new LpcConnectionHelperBase(undefined, websocketManager, logMetaData);\n }\n this.baseInstance = LpcConnectionHelper.agentBaseInstance;\n }\n\n this.contactId = contactId;\n this.initialContactId = initialContactId;\n this.status = null;\n this.eventBus = new EventBus();\n this.subscriptions = [\n this.baseInstance.onEnded(this.handleEnded.bind(this)),\n this.baseInstance.onConnectionGain(this.handleConnectionGain.bind(this)),\n this.baseInstance.onConnectionLost(this.handleConnectionLost.bind(this)),\n this.baseInstance.onMessage(this.handleMessage.bind(this))\n ];\n }\n\n start() {\n super.start();\n return this.baseInstance.start();\n }\n\n end() {\n super.end();\n this.eventBus.unsubscribeAll();\n this.subscriptions.forEach(unsubscribe => unsubscribe());\n this.status = ConnectionHelperStatus.Ended;\n this.tryCleanup();\n }\n\n tryCleanup() {\n if (this.customerConnection && !this.baseInstance.hasMessageSubscribers()) {\n this.baseInstance.end();\n delete LpcConnectionHelper.customerBaseInstances[this.contactId];\n }\n }\n\n getStatus() {\n return this.status || this.baseInstance.getStatus();\n }\n\n onEnded(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.Ended, handler);\n }\n\n handleEnded() {\n this.eventBus.trigger(ConnectionHelperEvents.Ended, {});\n }\n\n onConnectionGain(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionGained, handler);\n }\n\n handleConnectionGain() {\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionGained, {});\n }\n\n onConnectionLost(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionLost, handler);\n }\n\n handleConnectionLost() {\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionLost, {});\n }\n\n onMessage(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.IncomingMessage, handler);\n }\n\n handleMessage(message) {\n if (message.InitialContactId === this.initialContactId || message.ContactId === this.contactId || message.Type === CHAT_EVENTS.MESSAGE_METADATA) {\n this.eventBus.trigger(ConnectionHelperEvents.IncomingMessage, message);\n }\n }\n}\nLpcConnectionHelper.customerBaseInstances = {};\nLpcConnectionHelper.agentBaseInstance = null;\n\n\nclass LpcConnectionHelperBase {\n constructor(connectionDetailsProvider, websocketManager, logMetaData, connectionDetails) {\n this.status = ConnectionHelperStatus.NeverStarted;\n this.eventBus = new EventBus();\n this.logger = LogManager.getLogger({\n prefix: \"ChatJS-LPCConnectionHelperBase\",\n logMetaData\n });\n this.initialConnectionDetails = connectionDetails;\n this.initWebsocketManager(websocketManager, connectionDetailsProvider, logMetaData);\n }\n\n initWebsocketManager(websocketManager, connectionDetailsProvider, logMetaData) {\n this.websocketManager = websocketManager || WebSocketManager.create(logMetaData);\n this.websocketManager.subscribeTopics([\"aws/chat\"]);\n this.subscriptions = [\n this.websocketManager.onMessage(\"aws/chat\", this.handleMessage.bind(this)),\n this.websocketManager.onConnectionGain(this.handleConnectionGain.bind(this)),\n this.websocketManager.onConnectionLost(this.handleConnectionLost.bind(this)),\n this.websocketManager.onInitFailure(this.handleEnded.bind(this))\n ];\n this.logger.info(\"Initializing websocket manager.\");\n if (!websocketManager) {\n const startTime = new Date().getTime();\n this.websocketManager.init(() =>\n this._getConnectionDetails(connectionDetailsProvider, this.initialConnectionDetails, startTime).then((response) => {\n this.initialConnectionDetails = null;\n return response;\n }));\n }\n }\n\n _getConnectionDetails(connectionDetailsProvider, connectionDetails, startTime) {\n if (connectionDetails !== null && typeof connectionDetails === \"object\" && connectionDetails.expiry && connectionDetails.connectionTokenExpiry) {\n const logContent = {expiry: connectionDetails.expiry, transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS};\n this.logger.debug(\"Websocket manager initialized. Connection details:\", logContent);\n return Promise.resolve({\n webSocketTransport: {\n url: connectionDetails.url,\n expiry: connectionDetails.expiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS\n }\n });\n } else {\n return connectionDetailsProvider.fetchConnectionDetails()\n .then(connectionDetails => {\n const details = {\n webSocketTransport: {\n url: connectionDetails.url,\n expiry: connectionDetails.expiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS\n }\n };\n const logContent = {expiry: connectionDetails.expiry, transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS};\n this.logger.debug(\"Websocket manager initialized. Connection details:\", logContent);\n this._addWebsocketInitCSMMetric(startTime);\n return details;\n }\n ).catch(error => {\n this.logger.error(\"Initializing Websocket Manager failed:\", error);\n this._addWebsocketInitCSMMetric(startTime, true);\n throw error;\n });\n }\n }\n\n _addWebsocketInitCSMMetric(startTime, isError = false) {\n csmService.addLatencyMetric(WEBSOCKET_EVENTS.InitWebsocket, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(WEBSOCKET_EVENTS.InitWebsocket, CSM_CATEGORY.API, isError);\n }\n\n end() {\n // WebSocketProvider instance from streams does not have closeWebSocket\n if (this.websocketManager.closeWebSocket) {\n this.websocketManager.closeWebSocket();\n }\n this.eventBus.unsubscribeAll();\n this.subscriptions.forEach(unsubscribe => unsubscribe());\n this.logger.info(\"Websocket closed. All event subscriptions are cleared.\");\n }\n\n start() {\n if (this.status === ConnectionHelperStatus.NeverStarted) {\n this.status = ConnectionHelperStatus.Starting;\n }\n return Promise.resolve({\n websocketStatus: this.status\n });\n }\n\n onEnded(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.Ended, handler);\n }\n\n handleEnded() {\n this.status = ConnectionHelperStatus.Ended;\n this.eventBus.trigger(ConnectionHelperEvents.Ended, {});\n csmService.addCountMetric(WEBSOCKET_EVENTS.Ended, CSM_CATEGORY.API);\n this.logger.info(\"Websocket connection ended.\");\n }\n\n onConnectionGain(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionGained, handler);\n }\n\n handleConnectionGain() {\n this.status = ConnectionHelperStatus.Connected;\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionGained, {});\n csmService.addCountMetric(WEBSOCKET_EVENTS.ConnectionGained, CSM_CATEGORY.API);\n this.logger.info(\"Websocket connection gained.\");\n }\n\n onConnectionLost(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionLost, handler);\n }\n\n handleConnectionLost() {\n this.status = ConnectionHelperStatus.ConnectionLost;\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionLost, {});\n csmService.addCountMetric(WEBSOCKET_EVENTS.ConnectionLost, CSM_CATEGORY.API);\n this.logger.info(\"Websocket connection lost.\");\n }\n\n onMessage(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.IncomingMessage, handler);\n }\n\n handleMessage(message) {\n let parsedMessage;\n try {\n parsedMessage = JSON.parse(message.content);\n this.eventBus.trigger(ConnectionHelperEvents.IncomingMessage, parsedMessage);\n csmService.addCountMetric(WEBSOCKET_EVENTS.IncomingMessage, CSM_CATEGORY.API);\n this.logger.info(\"this.eventBus trigger Websocket incoming message\", ConnectionHelperEvents.IncomingMessage, parsedMessage);\n } catch (e) {\n this._sendInternalLogToServer(this.logger.error(\"Wrong message format\"));\n }\n }\n\n getStatus() {\n return this.status;\n }\n\n getWebsocketManager() {\n return this.websocketManager;\n }\n\n hasMessageSubscribers() {\n return this.eventBus.getSubscriptions(ConnectionHelperEvents.IncomingMessage).length > 0;\n }\n\n _sendInternalLogToServer(logEntry) {\n if (logEntry && typeof logEntry.sendInternalLogToServer === \"function\")\n logEntry.sendInternalLogToServer();\n\n return logEntry;\n }\n}\n\nexport default LpcConnectionHelper;\n","import { CHAT_EVENTS } from '../constants';\nimport { GlobalConfig } from '../globalConfig';\nimport { LogManager } from '../log';\n\nexport default class MessageReceiptsUtil {\n constructor(logMetaData) {\n this.logger = LogManager.getLogger({ prefix: 'ChatJS-MessageReceiptUtil', logMetaData });\n this.timeout = null;\n this.timeoutId = null;\n this.readSet = new Set();\n this.deliveredSet = new Set();\n this.readPromiseMap = new Map();\n this.deliveredPromiseMap = new Map();\n this.lastReadArgs = null;\n this.throttleInitialEventsToPrioritizeRead = null;\n this.throttleSendEventApiCall = null;\n }\n\n /**\n * check if message is of type read or delivered event\n *\n * @param {string} eventType either INCOMING_READ_RECEIPT or INCOMING_DELIVERED_RECEIPT.\n * @param {Object} incomingData object contains messageDetails\n * @return {boolean} returns true if read or delivered event else false\n */\n isMessageReceipt(eventType, incomingData) {\n return [CHAT_EVENTS.INCOMING_READ_RECEIPT, CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT]\n .indexOf(eventType) !== -1 || incomingData.Type === CHAT_EVENTS.MESSAGE_METADATA;\n }\n \n /** \n * check if message is for currentParticipantId \n * \n * @param {string} currentParticipantId of the contact\n * @param {Object} incomingData object contains messageDetails\n * @return {boolean} returns true if we need to display messageReceipt for the currentParticipantId\n * \n */\n getEventTypeFromMessageMetaData(messageMetadata) {\n return Array.isArray(messageMetadata.Receipts) &&\n messageMetadata.Receipts[0] &&\n messageMetadata.Receipts[0].ReadTimestamp ? CHAT_EVENTS.INCOMING_READ_RECEIPT :\n messageMetadata.Receipts[0].DeliveredTimestamp ? CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT : null;\n }\n\n /** \n * check if message is for currentParticipantId \n * \n * @param {string} currentParticipantId of the contact\n * @param {Object} incomingData object contains messageDetails\n * @return {boolean} returns true if we need to display messageReceipt for the currentParticipantId\n * \n */\n shouldShowMessageReceiptForCurrentParticipantId(currentParticipantId, incomingData) {\n const recipientParticipantId = incomingData.MessageMetadata && \n Array.isArray(incomingData.MessageMetadata.Receipts) &&\n incomingData.MessageMetadata.Receipts[0] &&\n incomingData.MessageMetadata.Receipts[0].RecipientParticipantId;\n return currentParticipantId !== recipientParticipantId;\n }\n\n /**\n * Assumption: sendMessageReceipts are called in correct order of time the messages are Delivered or Read\n * Prioritize Read Event by Throttling Delivered events for 300ms but firing Read events immediately!\n *\n * @param {function} callback The callback fn to throttle and invoke.\n * @param {Array} args array of params [connectionToken, contentType, content, eventType, throttleTime]\n * @return {promise} returnPromise for Read and Delivered events\n */\n prioritizeAndSendMessageReceipt(ChatClientContext, callback, ...args) {\n try {\n var self = this;\n var deliverEventThrottleTime = 300;\n var eventType = args[3];\n var content = typeof args[2] === \"string\" ? JSON.parse(args[2]) : args[2];\n var messageId = typeof content === \"object\" ? content.messageId : \"\";\n \n //ignore repeat events - do not make sendEvent API call.\n if (self.readSet.has(messageId) || \n (eventType === CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT && self.deliveredSet.has(messageId)) ||\n !messageId) {\n this.logger.info(`Event already fired ${messageId}: sending messageReceipt ${eventType}`);\n return Promise.resolve({\n message: 'Event already fired'\n });\n }\n \n var resolve, reject;\n var returnPromise = new Promise(function(res,rej) {\n resolve = res;\n reject = rej;\n });\n \n if (eventType === CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT) {\n self.deliveredPromiseMap.set(messageId, [resolve, reject]);\n } else {\n self.readPromiseMap.set(messageId, [resolve, reject]);\n }\n \n self.throttleInitialEventsToPrioritizeRead = function() {\n // ignore Delivered event if Read event has been triggered for the current messageId\n if (eventType === CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT) {\n self.deliveredSet.add(messageId);\n if (self.readSet.has(messageId)) {\n self.resolveDeliveredPromises(messageId, 'Event already fired');\n return resolve({\n message: 'Event already fired'\n });\n }\n }\n if (self.readSet.has(messageId)) {\n self.resolveReadPromises(messageId, 'Event already fired');\n return resolve({\n message: 'Event already fired'\n });\n }\n if (eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT) {\n self.readSet.add(messageId);\n }\n\n if (content.disableThrottle) {\n this.logger.info(`throttleFn disabled for ${messageId}: sending messageReceipt ${eventType}`);\n return resolve(callback.call(ChatClientContext, ...args));\n }\n self.logger.debug('call next throttleFn sendMessageReceipts', args);\n self.sendMessageReceipts.call(self, ChatClientContext, callback, ...args);\n };\n \n if(!self.timeout) {\n self.timeout = setTimeout(function() {\n self.timeout = null;\n self.throttleInitialEventsToPrioritizeRead();\n }, deliverEventThrottleTime);\n }\n \n //prevent multiple Read events for same messageId - call readEvent without delay\n if (eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT && !self.readSet.has(messageId)) {\n clearTimeout(self.timeout);\n self.timeout = null;\n self.throttleInitialEventsToPrioritizeRead();\n }\n \n return returnPromise;\n } catch (Err) {\n return Promise.reject({\n message: \"Failed to send messageReceipt\", \n args,\n ...Err\n });\n }\n }\n\n /**\n * Throttle for ${GlobalConfig.getMessageReceiptsThrottleTime()} and then fire Read and Delivered events\n *\n * @param {function} callback The callback fn to throttle and invoke.\n * @param {Array} args array of params [connectionToken, contentType, content, eventType, throttleTime]\n */\n sendMessageReceipts(ChatClientContext, callback, ...args) {\n var self = this;\n var throttleTime = args[4] || GlobalConfig.getMessageReceiptsThrottleTime();\n var eventType = args[3];\n var content = typeof args[2] === \"string\" ? JSON.parse(args[2]) : args[2];\n var messageId = content.messageId;\n this.lastReadArgs = eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT ? args : this.lastReadArgs;\n\n self.throttleSendEventApiCall = function() {\n try {\n if(eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT) {\n var sendEventPromise = callback.call(ChatClientContext, ...args);\n self.resolveReadPromises(messageId, sendEventPromise);\n self.logger.debug('send Read event:', callback, args);\n } else {\n //delivered event is the last event fired\n //fire delivered for latest messageId\n //fire read for latest messageId\n var PromiseArr = [callback.call(ChatClientContext, ...args)];\n if(this.lastReadArgs) {\n var contentVal = typeof this.lastReadArgs[2] === \"string\" ? JSON.parse(this.lastReadArgs[2]) : this.lastReadArgs[2];\n var readEventMessageId = contentVal.messageId;\n // if readPromise has been resolved for readEventMessageId; readPromiseMap should not contain readEventMessageId\n // if readPromiseMap contains readEventMessageId; read event has not been called!\n if (self.readPromiseMap.has(readEventMessageId)) {\n PromiseArr.push(callback.call(ChatClientContext, ...this.lastReadArgs));\n }\n }\n self.logger.debug('send Delivered event:', args, 'read event:', this.lastReadArgs);\n Promise.all(PromiseArr).then(res => {\n self.resolveReadPromises(contentVal.messageId, res[0]);\n self.resolveDeliveredPromises(messageId, res[0]);\n });\n }\n } catch(err) {\n self.logger.error('send message receipt failed', err);\n self.resolveReadPromises(messageId, err, true);\n self.resolveDeliveredPromises(messageId, err, true);\n }\n };\n\n if (!self.timeoutId) {\n self.timeoutId = setTimeout(function() {\n self.timeoutId = null;\n self.throttleSendEventApiCall();\n }, throttleTime);\n }\n }\n\n /**\n * resolve All Delivered promises till messageId\n *\n * @param {string} messageId of the latest message receipt event\n * @param {Object} result of the latest message receipt event\n */\n resolveDeliveredPromises(messageId, result, isError) {\n return this.resolvePromises(this.deliveredPromiseMap, messageId, result, isError);\n }\n\n /**\n * resolve All Read promises till messageId\n *\n * @param {string} messageId of the latest message receipt event\n * @param {Object} result of the latest message receipt event\n */\n resolveReadPromises(messageId, result, isError) {\n return this.resolvePromises(this.readPromiseMap, messageId, result, isError);\n }\n\n /**\n * resolve All promises till messageId\n *\n * @param {Map} promiseMap of either send or delivered promises\n * @param {string} messageId of the latest message receipt event\n * @param {Object} result of the latest message receipt event\n */\n resolvePromises(promiseMap, messageId, result, isError) {\n var arr = Array.from(promiseMap.keys());\n var indexToResolve = arr.indexOf(messageId);\n \n if (indexToResolve !== -1) {\n for(let i=0;i<=indexToResolve;i++) {\n var callbackFn = promiseMap.get(arr[i])?.[ isError ? 1 : 0 ];\n if (typeof callbackFn === 'function') {\n promiseMap.delete(arr[i]);\n callbackFn(result);\n }\n }\n } else {\n this.logger.debug(`Promise for messageId: ${messageId} already resolved`);\n }\n }\n\n /**\n * getTranscript API call should hydrate readSet and deliveredSet\n *\n * @param {function} callback to call with getTranscript response object.\n * @param {boolean} shouldSendMessageReceipts decides whether to hydrate mappers or not\n * @return {function} function which takes in input response from API call and calls callback with response.\n */\n rehydrateReceiptMappers(callback, shouldSendMessageReceipts) {\n var self = this;\n return response => {\n self.logger.debug('rehydrate chat', response?.data);\n if (shouldSendMessageReceipts) {\n const { Transcript = [] } = response?.data || {};\n Transcript.forEach(transcript => {\n if (transcript?.Type === CHAT_EVENTS.MESSAGE_METADATA) {\n const Receipt = transcript?.MessageMetadata?.Receipts?.[0];\n const messageId = transcript?.MessageMetadata?.MessageId;\n if (Receipt?.ReadTimestamp) {\n this.readSet.add(messageId);\n }\n if (Receipt?.DeliveredTimestamp) {\n this.deliveredSet.add(messageId);\n }\n }\n });\n }\n // send MessageReceipt for latest message is done by ChatInterface\n // UI will send Read receipt for the latest message displayed in the UI.\n return callback(response);\n };\n }\n\n}\n","import { ConnectionHelperStatus } from \"./connectionHelpers/baseConnectionHelper\";\nimport {\n CHAT_EVENTS,\n TRANSCRIPT_DEFAULT_PARAMS,\n SESSION_TYPES,\n CONTENT_TYPE,\n CHAT_EVENT_TYPE_MAPPING,\n CSM_CATEGORY,\n ACPS_METHODS,\n FEATURES,\n SEND_EVENT_CONACK_THROTTLED,\n SEND_EVENT_CONACK_FAILURE,\n CREATE_PARTICIPANT_CONACK_FAILURE,\n CREATE_PARTICIPANT_CONACK_API_CALL_COUNT\n} from \"../constants\";\nimport { LogManager } from \"../log\";\nimport { EventBus } from \"./eventbus\";\nimport { ChatServiceArgsValidator } from \"./chatArgsValidator\";\nimport ConnectionDetailsProvider from \"./connectionHelpers/connectionDetailsProvider\";\nimport LpcConnectionHelper from \"./connectionHelpers/LpcConnectionHelper\";\nimport MessageReceiptsUtil from './MessageReceiptsUtil';\nimport { csmService } from \"../service/csmService\";\nimport { GlobalConfig } from \"../globalConfig\";\n\nvar NetworkLinkStatus = {\n NeverEstablished: \"NeverEstablished\",\n Establishing: \"Establishing\",\n Established: \"Established\",\n Broken: \"Broken\"\n};\n\nclass ChatController {\n\n constructor(args) {\n this.argsValidator = new ChatServiceArgsValidator();\n this.pubsub = new EventBus();\n this.sessionType = args.sessionType;\n this.getConnectionToken = args.chatDetails.getConnectionToken;\n this.connectionDetails = args.chatDetails.connectionDetails;\n this.initialContactId = args.chatDetails.initialContactId;\n this.contactId = args.chatDetails.contactId;\n this.participantId = args.chatDetails.participantId;\n this.chatClient = args.chatClient;\n this.participantToken = args.chatDetails.participantToken;\n this.websocketManager = args.websocketManager;\n this._participantDisconnected = false;\n this.sessionMetadata = {};\n this.logger = LogManager.getLogger({\n prefix: \"ChatJS-ChatController\",\n logMetaData: args.logMetaData\n });\n this.logMetaData = args.logMetaData;\n this.messageReceiptUtil = new MessageReceiptsUtil(args.logMetaData);\n this.logger.info(\"Browser info:\", window.navigator.userAgent);\n }\n\n subscribe(eventName, callback) {\n this.pubsub.subscribe(eventName, callback);\n this._sendInternalLogToServer(this.logger.info(\"Subscribed successfully to event:\", eventName));\n }\n\n handleRequestSuccess(metadata, method, startTime, contentType) {\n return response => {\n const contentTypeDimension = contentType?\n [\n {\n name: \"ContentType\",\n value: contentType\n }\n ]\n : [];\n csmService.addLatencyMetricWithStartTime(method, startTime, CSM_CATEGORY.API, contentTypeDimension);\n csmService.addCountAndErrorMetric(method, CSM_CATEGORY.API, false, contentTypeDimension);\n response.metadata = metadata;\n return response;\n };\n }\n\n handleRequestFailure(metadata, method, startTime, contentType) {\n return error => {\n const contentTypeDimension = contentType?\n [\n {\n name: \"ContentType\",\n value: contentType\n }\n ]\n : [];\n csmService.addLatencyMetricWithStartTime(method, startTime, CSM_CATEGORY.API, contentTypeDimension);\n csmService.addCountAndErrorMetric(method, CSM_CATEGORY.API, true, contentTypeDimension);\n error.metadata = metadata;\n return Promise.reject(error);\n };\n }\n\n sendMessage(args) {\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n this.argsValidator.validateSendMessage(args);\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .sendMessage(connectionToken, args.message, args.contentType)\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_MESSAGE, startTime, args.contentType))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_MESSAGE, startTime, args.contentType));\n }\n\n sendAttachment(args){\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n //TODO: validation\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .sendAttachment(connectionToken, args.attachment, args.metadata)\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_ATTACHMENT, startTime, args.attachment.type))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_ATTACHMENT, startTime, args.attachment.type));\n }\n\n downloadAttachment(args){\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .downloadAttachment(connectionToken, args.attachmentId)\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.DOWNLOAD_ATTACHMENT, startTime))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.DOWNLOAD_ATTACHMENT, startTime));\n }\n\n sendEvent(args) {\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n this.argsValidator.validateSendEvent(args);\n const connectionToken = this.connectionHelper.getConnectionToken();\n const content = args.content || null;\n var eventType = getEventTypeFromContentType(args.contentType);\n var parsedContent = typeof content === \"string\" ? JSON.parse(content) : content;\n if (this.messageReceiptUtil.isMessageReceipt(eventType, args)) {\n // Ignore all MessageReceipt events\n if(!GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED) || !parsedContent.messageId) {\n this.logger.warn(`Ignoring messageReceipt: ${GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED) && \"missing messageId\"}`, args);\n return Promise.reject({\n errorMessage: `Ignoring messageReceipt: ${GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED) && \"missing messageId\"}`,\n data: args\n });\n }\n // Prioritize and send selective message receipts\n return this.messageReceiptUtil.prioritizeAndSendMessageReceipt(this.chatClient, this.chatClient.sendEvent,\n connectionToken,\n args.contentType,\n content, \n eventType, \n GlobalConfig.getMessageReceiptsThrottleTime())\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType));\n }\n return this.chatClient\n .sendEvent(\n connectionToken,\n args.contentType,\n content\n )\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType));\n }\n\n getTranscript(inputArgs) {\n const startTime = new Date().getTime();\n const metadata = inputArgs.metadata || null;\n const args = {\n startPosition: inputArgs.startPosition || {},\n scanDirection: inputArgs.scanDirection || TRANSCRIPT_DEFAULT_PARAMS.SCAN_DIRECTION,\n sortOrder: inputArgs.sortOrder || TRANSCRIPT_DEFAULT_PARAMS.SORT_ORDER,\n maxResults: inputArgs.maxResults || TRANSCRIPT_DEFAULT_PARAMS.MAX_RESULTS,\n };\n if (inputArgs.nextToken) {\n args.nextToken = inputArgs.nextToken;\n }\n if (inputArgs.contactId) {\n args.contactId = inputArgs.contactId;\n }\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .getTranscript(connectionToken, args)\n .then(\n this.messageReceiptUtil.rehydrateReceiptMappers(\n this.handleRequestSuccess(metadata, ACPS_METHODS.GET_TRANSCRIPT, startTime), \n GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED)\n )\n )\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.GET_TRANSCRIPT, startTime));\n }\n\n connect(args={}) {\n this.sessionMetadata = args.metadata || null;\n this.argsValidator.validateConnectChat(args);\n const connectionDetailsProvider = this._getConnectionDetailsProvider();\n return connectionDetailsProvider.fetchConnectionDetails()\n .then(\n (connectionDetails) => \n this._initConnectionHelper(connectionDetailsProvider, connectionDetails)\n )\n .then(response => this._onConnectSuccess(response, connectionDetailsProvider))\n .catch(err => {\n return this._onConnectFailure(err);\n });\n }\n\n _initConnectionHelper(connectionDetailsProvider, connectionDetails) {\n this.connectionHelper = new LpcConnectionHelper(\n this.contactId,\n this.initialContactId,\n connectionDetailsProvider,\n this.websocketManager,\n this.logMetaData,\n connectionDetails\n );\n this.connectionHelper.onEnded(this._handleEndedConnection.bind(this));\n this.connectionHelper.onConnectionLost(this._handleLostConnection.bind(this));\n this.connectionHelper.onConnectionGain(this._handleGainedConnection.bind(this));\n this.connectionHelper.onMessage(this._handleIncomingMessage.bind(this));\n return this.connectionHelper.start();\n }\n\n _getConnectionDetailsProvider() {\n return new ConnectionDetailsProvider(\n this.participantToken, \n this.chatClient,\n this.sessionType,\n this.getConnectionToken\n );\n }\n\n _handleEndedConnection(eventData) {\n this._forwardChatEvent(CHAT_EVENTS.CONNECTION_BROKEN, {\n data: eventData,\n chatDetails: this.getChatDetails()\n });\n this.breakConnection();\n }\n\n _handleLostConnection(eventData) {\n this._forwardChatEvent(CHAT_EVENTS.CONNECTION_LOST, {\n data: eventData,\n chatDetails: this.getChatDetails()\n });\n }\n\n _handleGainedConnection(eventData) {\n this._forwardChatEvent(CHAT_EVENTS.CONNECTION_ESTABLISHED, {\n data: eventData,\n chatDetails: this.getChatDetails()\n });\n }\n\n _handleIncomingMessage(incomingData) {\n try {\n let eventType = getEventTypeFromContentType(incomingData?.ContentType);\n if (this.messageReceiptUtil.isMessageReceipt(eventType, incomingData)) {\n eventType = this.messageReceiptUtil.getEventTypeFromMessageMetaData(incomingData?.MessageMetadata);\n if (!eventType || \n !this.messageReceiptUtil.shouldShowMessageReceiptForCurrentParticipantId(this.participantId, incomingData)) {\n //ignore bec we do not want to show messageReceipt to sender of receipt.\n //messageReceipt needs to be shown to the sender of message.\n return;\n }\n }\n\n this._forwardChatEvent(eventType, {\n data: incomingData,\n chatDetails: this.getChatDetails()\n });\n if (incomingData.ContentType === CONTENT_TYPE.chatEnded) {\n this._forwardChatEvent(CHAT_EVENTS.CHAT_ENDED, {\n data: null,\n chatDetails: this.getChatDetails()\n });\n this.breakConnection();\n }\n } catch (e) {\n this._sendInternalLogToServer(this.logger.error(\n \"Error occured while handling message from Connection. eventData:\",\n incomingData,\n \" Causing exception:\",\n e\n ));\n }\n }\n\n _forwardChatEvent(eventName, eventData) {\n this.pubsub.triggerAsync(eventName, eventData);\n }\n\n _onConnectSuccess(response, connectionDetailsProvider) {\n this._sendInternalLogToServer(this.logger.info(\"Connect successful!\"));\n console.warn(\"onConnectionSuccess response\", response);\n const responseObject = {\n _debug: response,\n connectSuccess: true,\n connectCalled: true,\n metadata: this.sessionMetadata\n };\n const eventData = Object.assign({\n chatDetails: this.getChatDetails()\n }, responseObject);\n this.pubsub.triggerAsync(CHAT_EVENTS.CONNECTION_ESTABLISHED, eventData);\n // Currently we are in phase-1 ConnAck Migration: https://quip-amazon.com/qbT6AaXZM8aH/120122-Status-Message-Receipts-ConnAck-Migration-Program-Review\n // phase-1. Use CreateParticipantConnection for ConnAck only when SendEvent is throttled\n // phase-2. Migrate connAck from SendEvent to CreateParticipantConnection\n // TODO: migrating connAck from SendEvent to CreateParticipantConnection\n const ConnectionAckFeatureEnabled = GlobalConfig.isFeatureEnabled(FEATURES.PARTICIPANT_CONN_ACK);\n const connectionAcknowledged = connectionDetailsProvider.getConnectionDetails()?.connectionAcknowledged;\n if (this._shouldAcknowledgeContact() && !connectionAcknowledged) {\n if (ConnectionAckFeatureEnabled) {\n csmService.addAgentCountMetric(CREATE_PARTICIPANT_CONACK_API_CALL_COUNT, 1);\n connectionDetailsProvider.callCreateParticipantConnection({\n Type: false,\n ConnectParticipant: true\n }).catch(err => {\n this.logger.warn(\"ConnectParticipant failed to acknowledge Agent connection \", err);\n this.sendEvent({\n contentType: CONTENT_TYPE.connectionAcknowledged\n });\n csmService.addAgentCountMetric(CREATE_PARTICIPANT_CONACK_FAILURE, 1);\n });\n } else {\n this.sendEvent({\n contentType: CONTENT_TYPE.connectionAcknowledged\n }).catch((error) => {\n connectionDetailsProvider.callCreateParticipantConnection({\n Type: false,\n ConnectParticipant: true\n });\n if (error.statusCode === 429) {\n csmService.addAgentCountMetric(SEND_EVENT_CONACK_THROTTLED, 1);\n }\n csmService.addAgentCountMetric(SEND_EVENT_CONACK_FAILURE, 1);\n this.logger.warn(\"Send event conack failed: \", error);\n });\n }\n }\n console.warn(\"onConnectionSuccess responseObject\", responseObject);\n return responseObject;\n }\n\n _onConnectFailure(error) {\n const errorObject = {\n _debug: error,\n connectSuccess: false,\n connectCalled: true,\n metadata: this.sessionMetadata\n };\n this._sendInternalLogToServer(this.logger.error(\"Connect Failed. Error: \", errorObject));\n\n return Promise.reject(errorObject);\n }\n\n _shouldAcknowledgeContact() {\n return this.sessionType === SESSION_TYPES.AGENT;\n }\n\n breakConnection() {\n return this.connectionHelper\n ? this.connectionHelper.end()\n : Promise.resolve();\n }\n\n // Do any clean up that needs to be done upon the participant being disconnected from the chat -\n // disconnected here means that the participant is no longer part of ther chat.\n cleanUpOnParticipantDisconnect() {\n this.pubsub.unsubscribeAll();\n }\n\n disconnectParticipant() {\n const startTime = new Date().getTime();\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .disconnectParticipant(connectionToken)\n .then(response => {\n this._sendInternalLogToServer(this.logger.info(\"Disconnect participant successfully\"));\n\n this._participantDisconnected = true;\n this.cleanUpOnParticipantDisconnect();\n this.breakConnection();\n csmService.addLatencyMetricWithStartTime(ACPS_METHODS.DISCONNECT_PARTICIPANT, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(ACPS_METHODS.DISCONNECT_PARTICIPANT, CSM_CATEGORY.API, false);\n return response;\n }, error => {\n this._sendInternalLogToServer(this.logger.error(\"Disconnect participant failed. Error:\", error));\n csmService.addLatencyMetricWithStartTime(ACPS_METHODS.DISCONNECT_PARTICIPANT, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(ACPS_METHODS.DISCONNECT_PARTICIPANT, CSM_CATEGORY.API, true);\n return Promise.reject(error);\n });\n }\n\n getChatDetails() {\n return {\n initialContactId: this.initialContactId,\n contactId: this.contactId,\n participantId: this.participantId,\n participantToken: this.participantToken,\n connectionDetails: this.connectionDetails\n };\n }\n\n _convertConnectionHelperStatus(connectionHelperStatus) {\n switch (connectionHelperStatus) {\n case ConnectionHelperStatus.NeverStarted:\n return NetworkLinkStatus.NeverEstablished;\n case ConnectionHelperStatus.Starting:\n return NetworkLinkStatus.Establishing;\n case ConnectionHelperStatus.Ended:\n return NetworkLinkStatus.Broken;\n case ConnectionHelperStatus.ConnectionLost:\n return NetworkLinkStatus.Broken;\n case ConnectionHelperStatus.Connected:\n return NetworkLinkStatus.Established;\n }\n this._sendInternalLogToServer(this.logger.error(\n \"Reached invalid state. Unknown connectionHelperStatus: \",\n connectionHelperStatus\n ));\n }\n\n getConnectionStatus() {\n return this._convertConnectionHelperStatus(\n this.connectionHelper.getStatus()\n );\n }\n\n _sendInternalLogToServer(logEntry) {\n if (logEntry && typeof logEntry.sendInternalLogToServer === \"function\")\n logEntry.sendInternalLogToServer();\n\n return logEntry;\n }\n}\n\nexport const getEventTypeFromContentType = (contentType) => {\n return CHAT_EVENT_TYPE_MAPPING[contentType] || CHAT_EVENT_TYPE_MAPPING.default;\n};\n\nexport { ChatController, NetworkLinkStatus };\n","import {\n UnImplementedMethodException,\n IllegalArgumentException\n} from \"./exceptions\";\nimport { ChatClientFactory } from \"../client/client\";\nimport { ChatServiceArgsValidator } from \"./chatArgsValidator\";\nimport { SESSION_TYPES, CHAT_EVENTS, FEATURES } from \"../constants\";\nimport { GlobalConfig } from \"../globalConfig\";\nimport { ChatController } from \"./chatController\";\nimport { LogManager, LogLevel, Logger } from \"../log\";\nimport { csmService } from \"../service/csmService\";\nimport WebSocketManager from \"../lib/amazon-connect-websocket-manager\";\n\nclass ChatSessionFactory {\n /*eslint-disable no-unused-vars*/\n\n createAgentChatController(chatDetails, participantType) {\n throw new UnImplementedMethodException(\n \"createAgentChatController in ChatControllerFactory.\"\n );\n }\n\n createCustomerChatController(chatDetails, participantType) {\n throw new UnImplementedMethodException(\n \"createCustomerChatController in ChatControllerFactory.\"\n );\n }\n /*eslint-enable no-unused-vars*/\n}\n\nclass PersistentConnectionAndChatServiceSessionFactory extends ChatSessionFactory {\n constructor() {\n super();\n this.argsValidator = new ChatServiceArgsValidator();\n }\n\n createChatSession(sessionType, chatDetails, options, websocketManager) {\n const chatController = this._createChatController(sessionType, chatDetails, options, websocketManager);\n if (sessionType === SESSION_TYPES.AGENT) {\n return new AgentChatSession(chatController);\n } else if (sessionType === SESSION_TYPES.CUSTOMER) {\n return new CustomerChatSession(chatController);\n } else {\n throw new IllegalArgumentException(\n \"Unkown value for session type, Allowed values are: \" +\n Object.values(SESSION_TYPES),\n sessionType\n );\n }\n }\n\n _createChatController(sessionType, chatDetailsInput, options, websocketManager) {\n var chatDetails = this.argsValidator.normalizeChatDetails(chatDetailsInput);\n var logMetaData = {\n contactId: chatDetails.contactId,\n participantId: chatDetails.participantId,\n sessionType\n };\n\n var chatClient = ChatClientFactory.getCachedClient(options, logMetaData);\n \n var args = {\n sessionType: sessionType,\n chatDetails,\n chatClient,\n websocketManager: websocketManager,\n logMetaData,\n };\n\n return new ChatController(args);\n }\n}\n\nexport class ChatSession {\n constructor(controller) {\n this.controller = controller;\n }\n\n onMessage(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_MESSAGE, callback);\n }\n\n onTyping(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_TYPING, callback);\n }\n\n onReadReceipt(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_READ_RECEIPT, callback);\n }\n\n onDeliveredReceipt(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT, callback);\n }\n\n onConnectionBroken(callback) {\n this.controller.subscribe(CHAT_EVENTS.CONNECTION_BROKEN, callback);\n }\n\n onConnectionEstablished(callback) {\n this.controller.subscribe(CHAT_EVENTS.CONNECTION_ESTABLISHED, callback);\n }\n\n onEnded(callback) {\n this.controller.subscribe(CHAT_EVENTS.CHAT_ENDED, callback);\n }\n\n onParticipantIdle(callback) {\n this.controller.subscribe(CHAT_EVENTS.PARTICIPANT_IDLE, callback);\n }\n\n onParticipantReturned(callback) {\n this.controller.subscribe(CHAT_EVENTS.PARTICIPANT_RETURNED, callback);\n }\n\n onAutoDisconnection(callback) {\n this.controller.subscribe(CHAT_EVENTS.AUTODISCONNECTION, callback);\n }\n\n sendMessage(args) {\n return this.controller.sendMessage(args);\n }\n\n sendAttachment(args){\n return this.controller.sendAttachment(args);\n }\n\n downloadAttachment(args){\n return this.controller.downloadAttachment(args);\n }\n\n connect(args) {\n return this.controller.connect(args);\n }\n\n sendEvent(args) {\n return this.controller.sendEvent(args);\n }\n\n getTranscript(args) {\n return this.controller.getTranscript(args);\n }\n\n getChatDetails() {\n return this.controller.getChatDetails();\n }\n}\n\nclass AgentChatSession extends ChatSession {\n constructor(controller) {\n super(controller);\n }\n\n cleanUpOnParticipantDisconnect() {\n return this.controller.cleanUpOnParticipantDisconnect();\n }\n}\n\nclass CustomerChatSession extends ChatSession {\n constructor(controller) {\n super(controller);\n }\n\n disconnectParticipant() {\n return this.controller.disconnectParticipant();\n }\n}\n\nexport const CHAT_SESSION_FACTORY = new PersistentConnectionAndChatServiceSessionFactory();\n\nvar setGlobalConfig = config => {\n var loggerConfig = config.loggerConfig;\n var csmConfig = config.csmConfig;\n GlobalConfig.update(config);\n /**\n * if config.loggerConfig.logger is present - use it in websocketManager\n * if config.loggerConfig.customizedLogger is present - use it in websocketManager\n * if config.loggerConfig.useDefaultLogger is true - use default window.console + default level INFO\n * config.loggerConfig.advancedLogWriter to customize where you want to log advancedLog messages. Default is warn.\n * else no logs from websocketManager - DEFAULT\n */\n WebSocketManager.setGlobalConfig(config);\n LogManager.updateLoggerConfig(loggerConfig);\n if (csmConfig) {\n csmService.updateCsmConfig(csmConfig);\n }\n //Message Receipts enabled by default\n if (!(config.features?.messageReceipts?.shouldSendMessageReceipts === false)) {\n console.warn(\"enabling message-receipts by default; to disable set config.features.messageReceipts.shouldSendMessageReceipts = false\");\n setFeatureFlag(FEATURES.MESSAGE_RECEIPTS_ENABLED);\n GlobalConfig.updateThrottleTime(config.features?.messageReceipts?.thorttleTime);\n }\n};\n\nvar setFeatureFlag = feature => {\n GlobalConfig.setFeatureFlag(feature);\n};\n\nvar ChatSessionConstructor = args => {\n var options = args.options || {};\n var type = args.type || SESSION_TYPES.AGENT;\n GlobalConfig.updateStageRegion(options);\n // initialize CSM Service for only customer chat widget\n // Disable CSM service from canary test\n if(!args.disableCSM && type === SESSION_TYPES.CUSTOMER) {\n csmService.loadCsmScriptAndExecute();\n }\n return CHAT_SESSION_FACTORY.createChatSession(\n type,\n args.chatDetails,\n options,//options contain region \n args.websocketManager,\n );\n};\n\nconst ChatSessionObject = {\n create: ChatSessionConstructor,\n setGlobalConfig: setGlobalConfig,\n LogLevel: LogLevel,\n Logger: Logger,\n SessionTypes: SESSION_TYPES,\n csmService: csmService,\n setFeatureFlag: setFeatureFlag,\n};\n\nexport { ChatSessionObject };\n","/*eslint no-unused-vars: \"off\"*/\nimport { ChatSessionObject } from \"./core/chatSession\";\nimport { LogManager, LogLevel } from \"./log\";\n\nvar global = typeof global !== 'undefined' ? global :\n typeof self !== 'undefined' ? self :\n typeof window !== 'undefined' ? window : {};\nglobal.connect = global.connect || {};\nconnect.ChatSession = ChatSessionObject;\nconnect.LogManager = LogManager;\nconnect.LogLevel = LogLevel;\nconnect.csmService = ChatSessionObject.csmService;\nexport const ChatSession = ChatSessionObject;\n"],"names":["e","t","r","n","i","s","a","o","c","Error","code","l","exports","call","length","version","metadata","apiVersion","endpointPrefix","jsonVersion","protocol","serviceFullName","serviceId","signatureVersion","targetPrefix","uid","operations","CreateIdentityPool","input","type","required","members","IdentityPoolName","AllowUnauthenticatedIdentities","AllowClassicFlow","SupportedLoginProviders","shape","DeveloperProviderName","OpenIdConnectProviderARNs","CognitoIdentityProviders","SamlProviderARNs","IdentityPoolTags","output","DeleteIdentities","IdentityIdsToDelete","member","UnprocessedIdentityIds","IdentityId","ErrorCode","DeleteIdentityPool","IdentityPoolId","DescribeIdentity","DescribeIdentityPool","GetCredentialsForIdentity","Logins","CustomRoleArn","Credentials","AccessKeyId","SecretKey","SessionToken","Expiration","GetId","AccountId","GetIdentityPoolRoles","Roles","RoleMappings","GetOpenIdToken","Token","GetOpenIdTokenForDeveloperIdentity","TokenDuration","ListIdentities","MaxResults","NextToken","HideDisabled","Identities","ListIdentityPools","IdentityPools","ListTagsForResource","ResourceArn","Tags","LookupDeveloperIdentity","DeveloperUserIdentifier","DeveloperUserIdentifierList","MergeDeveloperIdentities","SourceUserIdentifier","DestinationUserIdentifier","SetIdentityPoolRoles","TagResource","UnlinkDeveloperIdentity","UnlinkIdentity","LoginsToRemove","UntagResource","TagKeys","UpdateIdentityPool","shapes","S5","key","value","S9","Sb","ProviderName","ClientId","ServerSideTokenCheck","Sg","Sh","Sk","Sv","CreationDate","LastModifiedDate","Sw","S10","S1c","S1e","Type","AmbiguousRoleResolution","RulesConfiguration","Rules","Claim","MatchType","Value","RoleARN","pagination","serviceAbbreviation","signingName","CompleteAttachmentUpload","http","requestUri","AttachmentIds","ClientToken","idempotencyToken","ConnectionToken","location","locationName","CreateParticipantConnection","ParticipantToken","ConnectParticipant","Websocket","Url","ConnectionExpiry","ConnectionCredentials","Expiry","DisconnectParticipant","GetAttachment","AttachmentId","UrlExpiry","GetTranscript","ContactId","ScanDirection","SortOrder","StartPosition","Id","AbsoluteTime","MostRecent","InitialContactId","Transcript","Content","ContentType","ParticipantId","DisplayName","ParticipantRole","Attachments","AttachmentName","Status","MessageMetadata","MessageId","Receipts","DeliveredTimestamp","ReadTimestamp","RecipientParticipantId","SendEvent","SendMessage","StartAttachmentUpload","AttachmentSizeInBytes","UploadMetadata","HeadersToInclude","input_token","output_token","limit_key","acm","name","cors","apigateway","applicationautoscaling","prefix","appstream","autoscaling","batch","budgets","clouddirectory","versions","cloudformation","cloudfront","cloudhsm","cloudsearch","cloudsearchdomain","cloudtrail","cloudwatch","cloudwatchevents","cloudwatchlogs","codebuild","codecommit","codedeploy","codepipeline","cognitoidentity","cognitoidentityserviceprovider","cognitosync","configservice","cur","datapipeline","devicefarm","directconnect","directoryservice","discovery","dms","dynamodb","dynamodbstreams","ec2","ecr","ecs","efs","elasticache","elasticbeanstalk","elb","elbv2","emr","es","elastictranscoder","firehose","gamelift","glacier","health","iam","importexport","inspector","iot","iotdata","kinesis","kinesisanalytics","kms","lambda","lexruntime","lightsail","machinelearning","marketplacecommerceanalytics","marketplacemetering","mturk","mobileanalytics","opsworks","opsworkscm","organizations","pinpoint","polly","rds","redshift","rekognition","resourcegroupstaggingapi","route53","route53domains","s3","dualstackAvailable","s3control","xmlNoDefaultLists","servicecatalog","ses","shield","simpledb","sms","snowball","sns","sqs","ssm","storagegateway","stepfunctions","sts","support","swf","xray","waf","wafregional","workdocs","workspaces","codestar","lexmodelbuildingservice","marketplaceentitlementservice","athena","greengrass","dax","migrationhub","cloudhsmv2","glue","mobile","pricing","costexplorer","mediaconvert","medialive","mediapackage","mediastore","mediastoredata","appsync","guardduty","mq","comprehend","iotjobsdataplane","kinesisvideoarchivedmedia","kinesisvideomedia","kinesisvideo","sagemakerruntime","sagemaker","translate","resourcegroups","alexaforbusiness","cloud9","serverlessapplicationrepository","servicediscovery","workmail","autoscalingplans","transcribeservice","connect","acmpca","fms","secretsmanager","iotanalytics","iot1clickdevicesservice","iot1clickprojects","pi","neptune","mediatailor","eks","macie","dlm","signer","chime","pinpointemail","ram","route53resolver","pinpointsmsvoice","quicksight","rdsdataservice","amplify","datasync","robomaker","transfer","globalaccelerator","comprehendmedical","kinesisanalyticsv2","mediaconnect","fsx","securityhub","appmesh","licensemanager","kafka","apigatewaymanagementapi","apigatewayv2","docdb","backup","worklink","textract","managedblockchain","mediapackagevod","groundstation","iotthingsgraph","iotevents","ioteventsdata","personalize","personalizeevents","personalizeruntime","applicationinsights","servicequotas","ec2instanceconnect","eventbridge","lakeformation","forecastservice","forecastqueryservice","qldb","qldbsession","workmailmessageflow","codestarnotifications","savingsplans","sso","ssooidc","marketplacecatalog","dataexchange","sesv2","migrationhubconfig","connectparticipant","appconfig","iotsecuretunneling","wafv2","elasticinference","imagebuilder","schemas","accessanalyzer","codegurureviewer","codeguruprofiler","computeoptimizer","frauddetector","kendra","networkmanager","outposts","augmentedairuntime","ebs","kinesisvideosignalingchannels","detective","codestarconnections","synthetics","iotsitewise","macie2","codeartifact","honeycode","ivs","braket","identitystore","appflow","redshiftdata","ssoadmin","timestreamquery","timestreamwrite","s3outposts","globalEndpoint","xmlNamespace","AssumeRole","RoleArn","RoleSessionName","PolicyArns","Policy","DurationSeconds","TransitiveTagKeys","ExternalId","SerialNumber","TokenCode","resultWrapper","AssumedRoleUser","PackedPolicySize","AssumeRoleWithSAML","PrincipalArn","SAMLAssertion","Subject","SubjectType","Issuer","Audience","NameQualifier","AssumeRoleWithWebIdentity","WebIdentityToken","ProviderId","SubjectFromWebIdentityToken","Provider","DecodeAuthorizationMessage","EncodedMessage","DecodedMessage","GetAccessKeyInfo","Account","GetCallerIdentity","UserId","Arn","GetFederationToken","Name","FederatedUser","FederatedUserId","GetSessionToken","S4","arn","S8","Key","SecretAccessKey","Sm","AssumedRoleId","arguments","apply","dup","Service","apiLoader","services","CognitoIdentity","defineService","Object","defineProperty","get","paginators","enumerable","configurable","STS","hasOwnProperty","createHash","toLowerCase","createHmac","createSign","Buffer","ArrayBuffer","isView","indexOf","prototype","toString","isEmptyData","byteLength","convertToBuffer","Uint8Array","buffer","byteOffset","BYTES_PER_ELEMENT","this","hash","outer","BLOCK_SIZE","set","update","digest","error","finished","state","DataView","p","bufferLength","bytesHashed","u","setUint8","hashBuffer","setUint32","Math","floor","getUint32","h0","h1","h2","h3","h4","block","Uint32Array","offset","shift","totalLength","pow","write","processBlock","temp","Int32Array","h","f","d","m","v","g","crypto","lib","url","querystring","realClock","environment","createEventStream","isBrowser","isNode","XML","Parser","browser","_process","Config","util","inherit","constructor","extractCredentials","each","keys","getCredentials","credentials","message","accessKeyId","secretAccessKey","credentialProvider","resolve","hasService","loadFromPath","clear","JSON","parse","readFileSync","FileSystemCredentials","CredentialProviderChain","providers","unshift","merge","region","logger","apiVersions","endpoint","httpOptions","timeout","maxRetries","maxRedirects","paramValidation","sslEnabled","s3ForcePathStyle","s3BucketEndpoint","s3DisableBodySigning","s3UsEast1RegionalEndpoint","s3UseArnRegion","computeChecksums","convertResponseTypes","correctClockSkew","customUserAgent","dynamoDbCrc32","systemClockOffset","signatureCache","retryDelayOptions","useAccelerateEndpoint","clientSideMonitoring","endpointDiscoveryEnabled","endpointCacheSize","hostPrefixEnabled","stsRegionalEndpoints","copy","setPromisesDependency","Promise","Request","S3","push","ManagedUpload","addPromises","getPromisesDependency","config","clientConfig","env","getProfilesFromSharedConfig","iniLoader","AWS_PROFILE","defaultProfile","sharedConfig","VERSION","Signers","Protocol","Json","Query","Rest","RestJson","RestXml","Builder","Model","Api","Operation","Shape","Paginator","ResourceWaiter","EndpointCache","events","SequentialExecutor","memoizedProperty","hideProperties","expired","expireTime","refreshCallbacks","sessionToken","expiryWindow","needsRefresh","date","getDate","getTime","Date","refresh","coalesceRefresh","load","arrayEach","defer","addPromisesToClass","getPromise","promisifyMethod","refreshPromise","deletePromisesFromClass","ChainableTemporaryCredentials","errorCode","tokenCodeFn","params","masterCredentials","stsConfig","service","fn","callback","getTokenCode","credentialsFrom","CognitoIdentityCredentials","localStorageKey","id","data","_identityId","_clientConfig","loadCachedId","createClients","getId","clearIdOnNotAuthorized","getCredentialsFromSTS","getCredentialsForIdentity","clearCachedId","LoginId","storage","cognito","loadCredentials","cacheId","getOpenIdToken","webIdentityCredentials","getStorage","split","filter","WebIdentityCredentials","setStorage","join","window","localStorage","defaultProviders","slice","resolveCallbacks","resolvePromise","SAMLCredentials","assumeRoleWithSAML","TemporaryCredentials","loadMasterCredentials","assumeRole","getSessionToken","assumeRoleWithWebIdentity","api","endpointDiscoveryId","isLocationName","String","operation","endpointCache","Address","httpRequest","updateEndpoint","makeRequest","endpointOperation","Identifiers","removeListener","EventListeners","Core","VALIDATE_PARAMETERS","RETRY_CHECK","put","CachePeriodInMinutes","send","Endpoints","getKeyString","request","response","retryable","remove","headers","httpResponse","statusCode","loadFrom","isConfig","filename","sharedConfigFileEnv","endpoint_discovery_enabled","discoverEndpoint","_originalConfig","serviceIdentifier","Boolean","isPresigned","endpointDiscoveryRequired","hasRequiredEndpointDiscovery","appendToUserAgent","addNamedListener","className","requiredDiscoverEndpoint","optionalDiscoverEndpoint","marshallCustomIdentifiers","getCacheKey","invalidateCachedEndpoint","eventMessageChunker","parseEvent","readInt32BE","isBuffer","bytes","toBuffer","fromNumber","abs","round","valueOf","parseInt","Int64","parseMessage","eventPayloadMemberName","body","eventHeaderMemberNames","toType","readUInt8","readInt8","readInt16BE","readUInt16BE","substr","splitMessage","readUInt32BE","crc32","addNamedListeners","isGlobalEndpoint","RegExp","test","idempotentMembers","uuid","v4","ParamValidator","validate","haltHandlersOnError","authtype","getSignerClass","V4","computeSha256","getRequestPayloadShape","string","isStreaming","requiresLength","Host","host","HttpRequest","retryCount","getSkewCorrectedDate","getSigningName","setServiceClientId","_clientId","Authorization","addAuthorization","signedAt","successfulResponse","stream","on","emit","streaming","HttpClient","streamsApiVersion","hasEventOutput","read","didCallback","hostname","getInstance","handleRequest","_abortCallback","statusMessage","buffers","numBytes","isClockSkewed","applyClockOffset","loaded","total","concat","retryableError","match","clockSkewError","Endpoint","redirect","redirectCount","retryDelay","retryDelays","setTimeout","CorePost","extractRequestId","errno","getSystemErrorName","originalError","Logger","isSensitive","startTime","isTTY","inspect","lowerFirst","log","buildRequest","extractData","extractError","urlParse","port","method","path","_userAgent","setUserAgent","getUserAgentHeaderName","userAgent","getUserAgent","pathname","search","queryStringParse","queryParamsToString","HttpResponse","createUnbufferedStream","singleton","EventEmitter","XHRClient","XMLHttpRequest","addEventListener","status","readyState","HEADERS_RECEIVED","parseHeaders","getAllResponseHeaders","statusText","DONE","finishRequest","upload","open","xhrAsync","setRequestHeader","xhrWithCredentials","withCredentials","responseType","substring","responseText","toWireFormat","build","stringify","property","timestampFormat","replace","endpointoperation","endpointdiscovery","create","waiters","documentation","documentationUrl","errors","isIdempotent","payload","isEventStream","more_results","result_key","forEach","y","enum","min","max","pattern","xmlName","queryName","isComposite","jsonvalue","sensitive","eventstream","event","eventpayload","eventheader","isTimestampFormatSet","endpointdiscoveryid","hostLabel","xmlAttribute","flattened","isShape","xmlOrder","memberNames","isEventPayload","isEventHeader","uri","isJsonValue","base64","decode","alloc","fill","encode","normalizedTypes","character","double","long","short","biginteger","bigdecimal","blob","types","structure","list","map","boolean","timestamp","toUTCString","parseTimestamp","format","float","parseFloat","integer","binary","StructureShape","ListShape","MapShape","StringShape","BooleanShape","Base64Shape","validation","validateMember","fail","validateStructure","validateType","validateList","validateMap","validateScalar","Array","validateRange","validateString","validatePayload","validateNumber","validateEnum","validatePattern","validateUri","isType","typeName","Stream","Blob","populateHostPrefix","hostPrefix","__type","Code","pop","Message","Version","Action","serialize","requestId","Errors","_XAMZRequestId","uriEscapePath","uriEscape","isArray","sort","httpMethod","httpPath","generateURI","AWS","toXML","upperFirst","isQueryName","toUpperCase","now","performance","configureEndpoint","rules","patterns","useDualstack","isDualstackAvailable","signingRegion","getEndpointSuffix","globalSSL","globalGovCloud","s3signature","domain","success","complete","setupStates","_haltHandlersOnError","_asm","currentState","Domain","domainEmitter","domainThrown","addState","active","Response","states","emitEvent","runTo","abort","removeAllListeners","eachPage","makeAsync","hasNextPage","nextPage","noop","eachItem","paginationConfig","resultKey","isPageable","createReadStream","PassThrough","nextTick","readable","sent","HTTP_DATA","HTTP_ERROR","isNaN","end","_write","unpipe","pipe","eventParameters","presign","Presign","sign","toGet","toUnauthenticated","_unAuthenticated","VALIDATE_CREDENTIALS","SIGN","buildAsGet","addListener","promise","mixin","jmespath","_waiter","acceptors","matchers","matcher","expected","argument","setSuccess","setError","loadWaiterConfig","strictDeepEqual","pathAll","pathAny","listeners","delay","wait","$waiter","maxAttempts","addListeners","numRetries","nextPageTokens","inputToken","cacheNextPageTokens","moreResults","outputToken","_events","onAsync","_isAsync","splice","callListeners","addNamedAsyncListener","loadServiceClass","initialize","validateService","endpointFromTemplate","setEndpoint","addDefaultMonitoringListeners","_clientSideMonitoring","publisher","eventHandler","isEmpty","apiConfig","defineServiceApi","getLatestServiceClass","getLatestServiceVersion","iso8601","defaultRetryCount","customizeRequests","customRequestHandler","addAllRequestListeners","attachMonitoringEmitter","makeUnauthenticatedRequest","waitFor","serviceInterface","setupRequestListeners","apiCallEvent","Region","MaxRetriesExceeded","UserAgent","FinalHttpStatusCode","FinalAwsException","FinalAwsExceptionMessage","FinalSdkException","FinalSdkExceptionMessage","apiAttemptEvent","Fqdn","HttpStatusCode","AccessKey","XAmznRequestId","XAmzRequestId","XAmzId2","attemptFailEvent","AwsException","AwsExceptionMessage","SdkException","SdkExceptionMessage","Timestamp","AttemptLatency","AttemptCount","Latency","RequestSigner","getVersion","calculateRetryDelay","timeoutError","networkingError","expiredCredentialsError","throttledError","paginator","defineMethods","_serviceMap","addVersions","Publisher","configProvider","enabled","isApi","getPrototypeOf","optInRegionalEndpoint","unixTimestamp","Signature","AWSAccessKeyId","Expires","SET_CONTENT_LENGTH","COMPUTE_SHA256","urlFormat","serviceClientId","getServiceClientId","V2","V3","V3Https","subResources","acl","accelerate","analytics","lifecycle","delete","inventory","logging","metrics","notification","partNumber","policy","requestPayment","replication","restore","tagging","torrent","uploadId","uploads","versionId","versioning","website","responseHeaders","rfc822","stringToSign","canonicalizedAmzHeaders","canonicalizedResource","virtualHostedBucket","decodeURIComponent","hmac","SignatureVersion","SignatureMethod","SecurityToken","signature","authorization","signedHeaders","headersToSign","canonicalHeaders","trim","sha256","serviceName","algorithm","updateForPresigned","addHeaders","credentialString","isSignableHeader","getSigningKey","hexEncodedHash","canonicalString","hexEncodedBodyHash","canonicalHeaderValues","createScope","unsignableHeaders","emptyCache","accept","engine","navigator","platform","AWS_EXECUTION_ENV","encodeURIComponent","escape","charCodeAt","from","toStream","Readable","_read","size","lstatSync","object","ini","toISOString","crc32Table","md5","arraySliceFn","FileReader","onerror","onload","result","_continueReading","readAsArrayBuffer","toHex","webkitSlice","mozSlice","stack","writable","time","__super__","hoistPayloadMember","start","ResponseMetadata","RequestId","customBackoff","base","random","handleRequestWithRetries","retryAfter","convertPayloadToString","configOptInEnv","sharedCredentialsFileEnv","ARN","partition","accountId","resource","imdsDisabledEnv","setImmediate","fs","timers","getElementsByTagName","parentNode","firstElementChild","nodeName","textContent","nextElementSibling","childNodes","getAttribute","isXmlAttribute","attributes","defaultValue","DOMParser","parseFromString","documentElement","ActiveXObject","async","loadXML","addAttribute","addChildNode","xmlNamespaceUri","xmlNamespacePrefix","XmlNode","XmlText","children","escapeAttribute","escapeElement","removeAttribute","toByteArray","fromByteArray","TYPED_ARRAY_SUPPORT","RangeError","__proto__","TypeError","isEncoding","Y","$","V","X","q","T","k","P","x","L","b","w","lastIndexOf","E","Number","S","G","_","W","C","A","R","K","J","Q","fromCharCode","I","H","O","N","U","D","M","j","Z","B","z","ee","F","SlowBuffer","INSPECT_MAX_BYTES","foo","subarray","kMaxLength","poolSize","_augment","Symbol","species","allocUnsafe","allocUnsafeSlow","_isBuffer","compare","swap16","swap32","swap64","equals","includes","isFinite","toJSON","_arr","readUIntLE","readUIntBE","readUInt16LE","readUInt32LE","readIntLE","readIntBE","readInt16LE","readInt32LE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","global","self","ieee754","isarray","_maxListeners","defaultMaxListeners","setMaxListeners","context","newListener","listener","warned","console","trace","once","listenerCount","NaN","LN2","runtime","_interpreter","functionTable","_func","_functionAbs","_signature","avg","_functionAvg","ceil","_functionCeil","contains","_functionContains","ends_with","_functionEndsWith","_functionFloor","_functionLength","_functionMap","_functionMax","_functionMerge","variadic","max_by","_functionMaxBy","sum","_functionSum","starts_with","_functionStartsWith","_functionMin","min_by","_functionMinBy","_functionType","_functionKeys","values","_functionValues","_functionSort","sort_by","_functionSortBy","_functionJoin","reverse","_functionReverse","to_array","_functionToArray","to_string","_functionToString","to_number","_functionToNumber","not_null","_functionNotNull","trimLeft","tokenize","_current","_consumeUnquotedIdentifier","_consumeNumber","_consumeLBracket","_consumeQuotedIdentifier","_consumeRawStringLiteral","_consumeLiteral","_consumeOperator","_looksLikeJSON","_loadTokens","index","expression","_lookahead","_lookaheadToken","tokens","_advance","nud","led","Not","_parseProjectionRHS","Star","_parseMultiselectHash","Flatten","_parseIndexExpression","_projectIfSlice","_parseMultiselectList","Expref","_match","_errorToken","Dot","_parseDotRHS","Pipe","Or","And","Filter","_parseComparator","_parseSliceExpression","visit","computeSliceParams","callFunction","jmespathType","capSliceRange","_validateArgs","_getTypeName","_typeMatches","localeCompare","createKeyFunction","compile","run","clearTimeout","fun","array","title","argv","off","prependListener","prependOnceListener","binding","cwd","chdir","umask","nodeType","overflow","ucs2","toASCII","toUnicode","define","punycode","maxKeys","_id","_clearFn","Function","setInterval","clearInterval","close","unref","ref","enroll","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","clearImmediate","slashes","auth","query","href","resolveObject","javascript","https","ftp","gopher","file","exec","parseHost","charAt","super_","seen","stylize","depth","colors","showHidden","_extend","customInspect","styles","getOwnPropertyNames","reduce","getOwnPropertyDescriptor","getHours","getMinutes","getSeconds","getMonth","deprecate","process","noDeprecation","throwDeprecation","traceDeprecation","debuglog","NODE_DEBUG","pid","bold","italic","underline","inverse","white","grey","black","blue","cyan","green","magenta","red","yellow","special","number","undefined","null","regexp","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isObject","isDate","isError","isFunction","isPrimitive","inherits","v1","getRandomValues","bind","msCrypto","node","clockseq","msecs","nsecs","rng","maxSize","cache","LRUCache","populateValue","Expire","empty","nodeMap","sizeLimit","prependToList","headerNode","prev","next","tailNode","removeFromTail","detachFromList","module","getRawTag","objectToString","symToStringTag","toStringTag","trimmedEndIndex","reTrimStart","freeGlobal","objectProto","nativeObjectToString","isOwn","tag","unmasked","freeSelf","root","reWhitespace","toNumber","nativeMax","nativeMin","func","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","args","thisArg","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","cancel","flush","baseGetTag","isObjectLike","debounce","baseTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","other","isBinary","re","not_string","not_bool","not_type","not_primitive","numeric_arg","json","not_json","text","modulo","placeholder","key_access","index_access","sprintf","sprintf_format","sprintf_parse","vsprintf","fmt","parse_tree","arg","ph","pad","pad_character","pad_length","is_positive","cursor","tree_length","param_no","width","precision","toExponential","toFixed","toPrecision","pad_char","repeat","align","sprintf_cache","_fmt","arg_names","SyntaxError","field_list","replacement_field","field_match","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","amdO","getter","__esModule","definition","obj","prop","ValueError","super","UnImplementedMethodException","IllegalArgumentException","GlobalConfig","stage","reconnect","features","Proxy","target","oldVal","feature","featureChangeListeners","_cleanFeatureChangeListener","configInput","endpointOverride","messageReceiptThrottleTime","throttleTime","updateStageRegion","updateThrottleTime","getMessageReceiptsThrottleTime","getStage","getRegion","getEndpointOverride","setFeatureFlag","isFeatureEnabled","featureValues","_registerFeatureChangeListener","FEATURES","SESSION_TYPES","AGENT","CUSTOMER","CSM_CATEGORY","ACPS_METHODS","WEBSOCKET_EVENTS","CHAT_EVENTS","INCOMING_MESSAGE","INCOMING_TYPING","INCOMING_READ_RECEIPT","INCOMING_DELIVERED_RECEIPT","CONNECTION_ESTABLISHED","CONNECTION_LOST","CONNECTION_BROKEN","CONNECTION_ACK","CHAT_ENDED","MESSAGE_METADATA","PARTICIPANT_IDLE","PARTICIPANT_RETURNED","AUTODISCONNECTION","CONTENT_TYPE","textPlain","textMarkdown","textCsv","applicationDoc","applicationDocx","applicationJson","applicationPdf","applicationPpt","applicationPptx","applicationXls","applicationXlsx","imageJpg","imagePng","audioWav","audioXWav","audioVndWave","connectionAcknowledged","typing","participantJoined","participantLeft","participantActive","participantInactive","transferSucceeded","transferFailed","chatEnded","interactiveMessage","readReceipt","deliveredReceipt","participantIdle","participantReturned","autoDisconnection","CHAT_EVENT_TYPE_MAPPING","default","TRANSPORT_LIFETIME_IN_SECONDS","Utils","premise","assertTrue","allowedValues","enumObj","find","predicate","assertNotNull","ms","interval","count","catch","then","asyncWhileInterval","reject","contentType","LogLevel","DEBUG","INFO","WARN","ERROR","ADVANCED_LOG","LogManager","updateLoggerConfig","writeToClientLogger","level","logStatement","logMetaData","hasClientLogger","levelStringValue","getLogLevelByValue","_clientLogger","debug","info","warn","_advancedLogWriter","isLevelEnabled","_level","getLogger","LoggerWrapperImpl","inputConfig","advancedLogVal","customizedLogger","customizedLoggerKeys","defaultLoggerKeys","isValidAdvancedLogConfig","advancedLogWriter","useClientLogger","selectLogger","useDefaultLogger","createConsoleLogger","LoggerWrapper","_log","advancedLog","_shouldLog","_writeToClientLogger","_convertToSingleStatement","_convertToString","toStringResult","AWSChatClient","sendMessage","participantToken","sendAttachment","attachment","downloadAttachment","attachmentId","disconnectParticipant","sendEvent","connectionToken","content","createParticipantConnection","throttle","_submitEvent","creds","chatClient","invokeUrl","acknowledgeConnection","createParticipantConnectionRequest","_sendRequest","res","sendInternalLogToServer","err","disconnectParticipantRequest","getTranscript","maxResults","nextToken","scanDirection","sortOrder","startPosition","absoluteTime","mostRecent","contactId","getTranscriptRequest","sendMessageRequest","logContent","startUploadRequestParams","startUploadRequest","startAttachmentUpload","startUploadResponse","_uploadToS3","completeUploadRequestParams","completeUploadRequest","completeAttachmentUpload","fetch","getAttachmentRequest","getAttachment","_downloadUrl","throttleEvent","sendEventRequest","errObj","ChatClientFactory","clientCache","getCachedClient","optionsInput","assign","client","_createAwsClient","endpointUrl","ChatServiceArgsValidator","validateNewControllerDetails","chatDetails","validateSendMessage","validateContentType","validateConnectChat","validateLogger","methodName","validateSendEvent","validateGetMessages","validateChatDetails","sessionType","getConnectionToken","participantId","validateInitiateChatResponse","normalizeChatDetails","chatDetailsInput","initialContactId","GetConnectionToken","ConnectionHelperStatus","ConnectionHelperEvents","ALL_EVENTS","Subscription","subMap","eventName","unsubscribe","SubscriptionMap","subIdMap","subEventNameMap","subscribe","sub","subList","subId","getAllSubscriptions","getSubscriptions","EventBus","paramsIn","logEvents","subscribeAll","trigger","allEventSubs","eventSubs","triggerAsync","bridge","unsubscribeAll","DIMENSION_CATEGORY","csmService","widgetType","csmInitialized","metricsToBePublished","agentMetricToBePublished","MAX_RETRY","loadCsmScriptAndExecute","script","document","createElement","innerHTML","head","appendChild","initializeCSM","csmWorkerText","sharedWorkerBlobUrl","URL","createObjectURL","ldasEndpoint","getLdasEndpointUrl","namespace","sharedWorkerUrl","csm","initCSM","metric","API","addMetric","updateCsmConfig","csmConfig","getDefaultDimensions","setDimensions","dimensions","dimension","addDimension","addLatencyMetric","timeDifference","category","otherDimensions","latencyMetric","Metric","UNIT","MILLISECONDS","addLatencyMetricWithStartTime","addCountAndErrorMetric","countMetric","COUNT","errorCount","errorMetric","addCountMetric","addAgentCountMetric","metricName","_self","addCount","metricItem","ConnectionDetailsProvider","connectionDetails","connectionTokenExpiry","getFetchedConnectionToken","getConnectionTokenExpiry","getConnectionDetails","fetchConnectionDetails","_fetchConnectionDetails","_handleCreateParticipantConnectionResponse","expiry","transportLifeTimeInSeconds","_handleGetConnectionTokenResponse","connectionTokenDetails","callCreateParticipantConnection","_addParticipantConnectionMetric","reason","_debug","chatTokenTransport","errorMessage","LpcConnectionHelper","connectionDetailsProvider","isStarted","startConnectionTokenPolling","getTimeToConnectionTokenExpiry","websocketManager","customerConnection","customerBaseInstances","LpcConnectionHelperBase","baseInstance","agentBaseInstance","getWebsocketManager","eventBus","subscriptions","onEnded","handleEnded","onConnectionGain","handleConnectionGain","onConnectionLost","handleConnectionLost","onMessage","handleMessage","tryCleanup","hasMessageSubscribers","getStatus","handler","initialConnectionDetails","initWebsocketManager","WebSocketManager","subscribeTopics","onInitFailure","init","_getConnectionDetails","webSocketTransport","details","_addWebsocketInitCSMMetric","closeWebSocket","websocketStatus","parsedMessage","_sendInternalLogToServer","logEntry","MessageReceiptsUtil","timeoutId","readSet","Set","deliveredSet","readPromiseMap","Map","deliveredPromiseMap","lastReadArgs","throttleInitialEventsToPrioritizeRead","throttleSendEventApiCall","isMessageReceipt","eventType","incomingData","getEventTypeFromMessageMetaData","messageMetadata","shouldShowMessageReceiptForCurrentParticipantId","currentParticipantId","prioritizeAndSendMessageReceipt","ChatClientContext","messageId","has","returnPromise","rej","add","resolveDeliveredPromises","resolveReadPromises","disableThrottle","sendMessageReceipts","Err","sendEventPromise","PromiseArr","contentVal","readEventMessageId","all","resolvePromises","promiseMap","arr","indexToResolve","callbackFn","rehydrateReceiptMappers","shouldSendMessageReceipts","transcript","Receipt","ChatController","argsValidator","pubsub","_participantDisconnected","sessionMetadata","messageReceiptUtil","handleRequestSuccess","contentTypeDimension","handleRequestFailure","connectionHelper","getEventTypeFromContentType","parsedContent","inputArgs","_getConnectionDetailsProvider","_initConnectionHelper","_onConnectSuccess","_onConnectFailure","_handleEndedConnection","_handleLostConnection","_handleGainedConnection","_handleIncomingMessage","eventData","_forwardChatEvent","getChatDetails","breakConnection","responseObject","connectSuccess","connectCalled","ConnectionAckFeatureEnabled","_shouldAcknowledgeContact","errorObject","cleanUpOnParticipantDisconnect","_convertConnectionHelperStatus","connectionHelperStatus","getConnectionStatus","ChatSession","controller","onTyping","onReadReceipt","onDeliveredReceipt","onConnectionBroken","onConnectionEstablished","onParticipantIdle","onParticipantReturned","onAutoDisconnection","AgentChatSession","CustomerChatSession","CHAT_SESSION_FACTORY","createAgentChatController","participantType","createCustomerChatController","createChatSession","chatController","_createChatController","ChatSessionObject","disableCSM","setGlobalConfig","loggerConfig","messageReceipts","thorttleTime","SessionTypes"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"amazon-connect-chat.js","mappings":"2BAAA,OAGY,SAASA,EAAEC,EAAEC,EAAEC,GAAG,SAASC,EAAEC,EAAEC,GAAG,IAAIJ,EAAEG,GAAG,CAAC,IAAIJ,EAAEI,GAAG,CAAmE,GA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R,EAAa7vC,OAAOiH,GAQpBs+C,GAAAA,gBAAiCt+C,GACjCmvC,EAAWC,mBAAmBoW,GAC1B3L,GACA5B,EAAW2B,gBAAgBC,IAGuC,KAAhE,UAAA75C,EAAO+oC,gBAAP,mBAAiB0c,uBAAjB,eAAkC7D,6BACpCxuB,QAAQ2c,KAAK,0HACb/F,GAAeI,GACfxB,EAAae,mBAAb,UAAgC3pC,EAAO+oC,gBAAvC,iBAAgC,EAAiB0c,uBAAjD,aAAgC,EAAkCC,cACrE,EA2BD7W,SAAUA,EACVhgC,OdvNJ,MACIghC,MAAM/rC,GAAQ,CAEdgsC,KAAKhsC,GAAQ,CAEbisC,KAAKjsC,GAAQ,CAEb7K,MAAM6K,GAAQ,CAEdotC,YAAYptC,GAAQ,Gc+MpB6hD,aAActb,EACd4N,WAAYA,EACZjO,eAAgBA,ICzNhBvX,QAA2B,IAAXA,GAAyBA,GACb,oBAATC,KAAuBA,KACR,oBAAXrtB,OAAyBA,OAAS,CAAC,EAC9DotB,GAAOrlC,QAAUqlC,GAAOrlC,SAAW,CAAC,EACpCA,QAAQ82D,YAAcmB,GACtBj4D,QAAQ+hD,WAAaA,EACrB/hD,QAAQyhD,SAAWA,EACnBzhD,QAAQ6qD,WAAaoN,GAAAA,U","sources":["webpack://amazon-connect-chatjs/./src/client/aws-sdk-connectparticipant.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_Symbol.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_baseGetTag.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_baseTrim.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_freeGlobal.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_getRawTag.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_objectToString.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_root.js","webpack://amazon-connect-chatjs/./node_modules/lodash/_trimmedEndIndex.js","webpack://amazon-connect-chatjs/./node_modules/lodash/debounce.js","webpack://amazon-connect-chatjs/./node_modules/lodash/isObject.js","webpack://amazon-connect-chatjs/./node_modules/lodash/isObjectLike.js","webpack://amazon-connect-chatjs/./node_modules/lodash/isSymbol.js","webpack://amazon-connect-chatjs/./node_modules/lodash/now.js","webpack://amazon-connect-chatjs/./node_modules/lodash/throttle.js","webpack://amazon-connect-chatjs/./node_modules/lodash/toNumber.js","webpack://amazon-connect-chatjs/./node_modules/sprintf-js/src/sprintf.js","webpack://amazon-connect-chatjs/webpack/bootstrap","webpack://amazon-connect-chatjs/webpack/runtime/amd options","webpack://amazon-connect-chatjs/webpack/runtime/compat get default export","webpack://amazon-connect-chatjs/webpack/runtime/define property getters","webpack://amazon-connect-chatjs/webpack/runtime/hasOwnProperty shorthand","webpack://amazon-connect-chatjs/./src/core/exceptions.js","webpack://amazon-connect-chatjs/./src/globalConfig.js","webpack://amazon-connect-chatjs/./src/constants.js","webpack://amazon-connect-chatjs/./src/utils.js","webpack://amazon-connect-chatjs/./src/log.js","webpack://amazon-connect-chatjs/./src/client/client.js","webpack://amazon-connect-chatjs/./src/core/chatArgsValidator.js","webpack://amazon-connect-chatjs/./src/core/connectionHelpers/baseConnectionHelper.js","webpack://amazon-connect-chatjs/./src/core/eventbus.js","webpack://amazon-connect-chatjs/./src/configs/csmConfig.js","webpack://amazon-connect-chatjs/./src/service/csmService.js","webpack://amazon-connect-chatjs/./src/lib/connect-csm.js","webpack://amazon-connect-chatjs/./src/lib/connect-csm-worker.js","webpack://amazon-connect-chatjs/./src/core/connectionHelpers/connectionDetailsProvider.js","webpack://amazon-connect-chatjs/../../webpack/bootstrap","webpack://amazon-connect-chatjs/./src/core/connectionHelpers/LpcConnectionHelper.js","webpack://amazon-connect-chatjs/./src/core/MessageReceiptsUtil.js","webpack://amazon-connect-chatjs/./src/core/chatController.js","webpack://amazon-connect-chatjs/./src/core/chatSession.js","webpack://amazon-connect-chatjs/./src/index.js"],"sourcesContent":["// AWS SDK for JavaScript v2.772.0\n// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt\n!function(){function e(t,r,n){function i(s,a){if(!r[s]){if(!t[s]){var u=\"function\"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error(\"Cannot find module '\"+s+\"'\");throw c.code=\"MODULE_NOT_FOUND\",c}var l=r[s]={exports:{}};t[s][0].call(l.exports,function(e){return i(t[s][1][e]||e)},l,l.exports,e,t,r,n)}return r[s].exports}for(var o=\"function\"==typeof require&&require,s=0;s-1});var s=[\"[object Int8Array]\",\"[object Uint8Array]\",\"[object Uint8ClampedArray]\",\"[object Int16Array]\",\"[object Uint16Array]\",\"[object Int32Array]\",\"[object Uint32Array]\",\"[object Float32Array]\",\"[object Float64Array]\",\"[object DataView]\"];t.exports={isEmptyData:n,convertToBuffer:i}},{\"buffer/\":82}],13:[function(e,t,r){function n(e,t){this.hash=new e,this.outer=new e;var r=i(e,t),n=new Uint8Array(e.BLOCK_SIZE);n.set(r);for(var o=0;oe.BLOCK_SIZE){var n=new e;n.update(r),r=n.digest()}var i=new Uint8Array(e.BLOCK_SIZE);return i.set(r),i}var o=e(\"./browserHashUtils\");t.exports=n,n.prototype.update=function(e){if(o.isEmptyData(e)||this.error)return this;try{this.hash.update(o.convertToBuffer(e))}catch(e){this.error=e}return this},n.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{\"./browserHashUtils\":12}],14:[function(e,t,r){function n(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(p)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function i(e,t,r,n,i,o){return((t=(t+e&4294967295)+(n+o&4294967295)&4294967295)<>>32-i)+r&4294967295}function o(e,t,r,n,o,s,a){return i(t&r|~t&n,e,t,o,s,a)}function s(e,t,r,n,o,s,a){return i(t&n|r&~n,e,t,o,s,a)}function a(e,t,r,n,o,s,a){return i(t^r^n,e,t,o,s,a)}function u(e,t,r,n,o,s,a){return i(r^(t|~n),e,t,o,s,a)}var c=e(\"./browserHashUtils\"),l=e(\"buffer/\").Buffer,p=64;t.exports=n,n.BLOCK_SIZE=p,n.prototype.update=function(e){if(c.isEmptyData(e))return this;if(this.finished)throw new Error(\"Attempted to update an already finished hash.\");var t=c.convertToBuffer(e),r=0,n=t.byteLength;for(this.bytesHashed+=n;n>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),n--,this.bufferLength===p&&(this.hashBuffer(),this.bufferLength=0);return this},n.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,n=t.bufferLength,i=t.bytesHashed,o=8*i;if(r.setUint8(this.bufferLength++,128),n%p>=p-8){for(var s=this.bufferLength;s>>0,!0),r.setUint32(p-4,Math.floor(o/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var a=new DataView(new ArrayBuffer(16)),s=0;s<4;s++)a.setUint32(4*s,this.state[s],!0);var u=new l(a.buffer,a.byteOffset,a.byteLength);return e?u.toString(e):u},n.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,n=r[0],i=r[1],c=r[2],l=r[3];n=o(n,i,c,l,t.getUint32(0,!0),7,3614090360),l=o(l,n,i,c,t.getUint32(4,!0),12,3905402710),c=o(c,l,n,i,t.getUint32(8,!0),17,606105819),i=o(i,c,l,n,t.getUint32(12,!0),22,3250441966),n=o(n,i,c,l,t.getUint32(16,!0),7,4118548399),l=o(l,n,i,c,t.getUint32(20,!0),12,1200080426),c=o(c,l,n,i,t.getUint32(24,!0),17,2821735955),i=o(i,c,l,n,t.getUint32(28,!0),22,4249261313),n=o(n,i,c,l,t.getUint32(32,!0),7,1770035416),l=o(l,n,i,c,t.getUint32(36,!0),12,2336552879),c=o(c,l,n,i,t.getUint32(40,!0),17,4294925233),i=o(i,c,l,n,t.getUint32(44,!0),22,2304563134),n=o(n,i,c,l,t.getUint32(48,!0),7,1804603682),l=o(l,n,i,c,t.getUint32(52,!0),12,4254626195),c=o(c,l,n,i,t.getUint32(56,!0),17,2792965006),i=o(i,c,l,n,t.getUint32(60,!0),22,1236535329),n=s(n,i,c,l,t.getUint32(4,!0),5,4129170786),l=s(l,n,i,c,t.getUint32(24,!0),9,3225465664),c=s(c,l,n,i,t.getUint32(44,!0),14,643717713),i=s(i,c,l,n,t.getUint32(0,!0),20,3921069994),n=s(n,i,c,l,t.getUint32(20,!0),5,3593408605),l=s(l,n,i,c,t.getUint32(40,!0),9,38016083),c=s(c,l,n,i,t.getUint32(60,!0),14,3634488961),i=s(i,c,l,n,t.getUint32(16,!0),20,3889429448),n=s(n,i,c,l,t.getUint32(36,!0),5,568446438),l=s(l,n,i,c,t.getUint32(56,!0),9,3275163606),c=s(c,l,n,i,t.getUint32(12,!0),14,4107603335),i=s(i,c,l,n,t.getUint32(32,!0),20,1163531501),n=s(n,i,c,l,t.getUint32(52,!0),5,2850285829),l=s(l,n,i,c,t.getUint32(8,!0),9,4243563512),c=s(c,l,n,i,t.getUint32(28,!0),14,1735328473),i=s(i,c,l,n,t.getUint32(48,!0),20,2368359562),n=a(n,i,c,l,t.getUint32(20,!0),4,4294588738),l=a(l,n,i,c,t.getUint32(32,!0),11,2272392833),c=a(c,l,n,i,t.getUint32(44,!0),16,1839030562),i=a(i,c,l,n,t.getUint32(56,!0),23,4259657740),n=a(n,i,c,l,t.getUint32(4,!0),4,2763975236),l=a(l,n,i,c,t.getUint32(16,!0),11,1272893353),c=a(c,l,n,i,t.getUint32(28,!0),16,4139469664),i=a(i,c,l,n,t.getUint32(40,!0),23,3200236656),n=a(n,i,c,l,t.getUint32(52,!0),4,681279174),l=a(l,n,i,c,t.getUint32(0,!0),11,3936430074),c=a(c,l,n,i,t.getUint32(12,!0),16,3572445317),i=a(i,c,l,n,t.getUint32(24,!0),23,76029189),n=a(n,i,c,l,t.getUint32(36,!0),4,3654602809),l=a(l,n,i,c,t.getUint32(48,!0),11,3873151461),c=a(c,l,n,i,t.getUint32(60,!0),16,530742520),i=a(i,c,l,n,t.getUint32(8,!0),23,3299628645),n=u(n,i,c,l,t.getUint32(0,!0),6,4096336452),l=u(l,n,i,c,t.getUint32(28,!0),10,1126891415),c=u(c,l,n,i,t.getUint32(56,!0),15,2878612391),i=u(i,c,l,n,t.getUint32(20,!0),21,4237533241),n=u(n,i,c,l,t.getUint32(48,!0),6,1700485571),\nl=u(l,n,i,c,t.getUint32(12,!0),10,2399980690),c=u(c,l,n,i,t.getUint32(40,!0),15,4293915773),i=u(i,c,l,n,t.getUint32(4,!0),21,2240044497),n=u(n,i,c,l,t.getUint32(32,!0),6,1873313359),l=u(l,n,i,c,t.getUint32(60,!0),10,4264355552),c=u(c,l,n,i,t.getUint32(24,!0),15,2734768916),i=u(i,c,l,n,t.getUint32(52,!0),21,1309151649),n=u(n,i,c,l,t.getUint32(16,!0),6,4149444226),l=u(l,n,i,c,t.getUint32(44,!0),10,3174756917),c=u(c,l,n,i,t.getUint32(8,!0),15,718787259),i=u(i,c,l,n,t.getUint32(36,!0),21,3951481745),r[0]=n+r[0]&4294967295,r[1]=i+r[1]&4294967295,r[2]=c+r[2]&4294967295,r[3]=l+r[3]&4294967295}},{\"./browserHashUtils\":12,\"buffer/\":82}],15:[function(e,t,r){function n(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var i=e(\"buffer/\").Buffer,o=e(\"./browserHashUtils\");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=n,n.BLOCK_SIZE=64,n.prototype.update=function(e){if(this.finished)throw new Error(\"Attempted to update an already finished hash.\");if(o.isEmptyData(e))return this;e=o.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new i(20),n=new DataView(r.buffer);return n.setUint32(0,this.h0,!1),n.setUint32(4,this.h1,!1),n.setUint32(8,this.h2,!1),n.setUint32(12,this.h3,!1),n.setUint32(16,this.h4,!1),e?r.toString(e):r},n.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,n,i=this.h0,o=this.h1,s=this.h2,a=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=a^o&(s^a),n=1518500249):e<40?(r=o^s^a,n=1859775393):e<60?(r=o&s|a&(o|s),n=2400959708):(r=o^s^a,n=3395469782);var c=(i<<5|i>>>27)+r+u+n+(0|this.block[e]);u=a,a=s,s=o<<30|o>>>2,o=i,i=c}for(this.h0=this.h0+i|0,this.h1=this.h1+o|0,this.h2=this.h2+s|0,this.h3=this.h3+a|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{\"./browserHashUtils\":12,\"buffer/\":82}],16:[function(e,t,r){function n(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var i=e(\"buffer/\").Buffer,o=e(\"./browserHashUtils\"),s=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),a=Math.pow(2,53)-1;t.exports=n,n.BLOCK_SIZE=64,n.prototype.update=function(e){if(this.finished)throw new Error(\"Attempted to update an already finished hash.\");if(o.isEmptyData(e))return this;e=o.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>a)throw new Error(\"Cannot hash more than 2^53 - 1 bits\");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},n.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),n=this.bufferLength;if(r.setUint8(this.bufferLength++,128),n%64>=56){for(var o=this.bufferLength;o<64;o++)r.setUint8(o,0);this.hashBuffer(),this.bufferLength=0}for(var o=this.bufferLength;o<56;o++)r.setUint8(o,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var s=new i(32),o=0;o<8;o++)s[4*o]=this.state[o]>>>24&255,s[4*o+1]=this.state[o]>>>16&255,s[4*o+2]=this.state[o]>>>8&255,s[4*o+3]=this.state[o]>>>0&255;return e?s.toString(e):s},n.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,n=r[0],i=r[1],o=r[2],a=r[3],u=r[4],c=r[5],l=r[6],p=r[7],h=0;h<64;h++){if(h<16)this.temp[h]=(255&t[4*h])<<24|(255&t[4*h+1])<<16|(255&t[4*h+2])<<8|255&t[4*h+3];else{var f=this.temp[h-2],d=(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10;f=this.temp[h-15];var m=(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3;this.temp[h]=(d+this.temp[h-7]|0)+(m+this.temp[h-16]|0)}var v=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&c^~u&l)|0)+(p+(s[h]+this.temp[h]|0)|0)|0,g=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&i^n&o^i&o)|0;p=l,l=c,c=u,u=a+v|0,a=o,o=i,i=n,n=v+g|0}r[0]+=n,r[1]+=i,r[2]+=o,r[3]+=a,r[4]+=u,r[5]+=c,r[6]+=l,r[7]+=p}},{\"./browserHashUtils\":12,\"buffer/\":82}],17:[function(e,t,r){(function(r){(function(){var r=e(\"./util\");r.crypto.lib=e(\"./browserCryptoLib\"),r.Buffer=e(\"buffer/\").Buffer,r.url=e(\"url/\"),r.querystring=e(\"querystring/\"),r.realClock=e(\"./realclock/browserClock\"),r.environment=\"js\",r.createEventStream=e(\"./event-stream/buffered-create-event-stream\").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var n=e(\"./core\");if(t.exports=n,e(\"./credentials\"),e(\"./credentials/credential_provider_chain\"),e(\"./credentials/temporary_credentials\"),e(\"./credentials/chainable_temporary_credentials\"),e(\"./credentials/web_identity_credentials\"),e(\"./credentials/cognito_identity_credentials\"),e(\"./credentials/saml_credentials\"),n.XML.Parser=e(\"./xml/browser_parser\"),e(\"./http/xhr\"),void 0===i)var i={browser:!0}}).call(this)}).call(this,e(\"_process\"))},{\"./browserCryptoLib\":11,\"./core\":20,\"./credentials\":21,\"./credentials/chainable_temporary_credentials\":22,\"./credentials/cognito_identity_credentials\":23,\"./credentials/credential_provider_chain\":24,\"./credentials/saml_credentials\":25,\"./credentials/temporary_credentials\":26,\"./credentials/web_identity_credentials\":27,\"./event-stream/buffered-create-event-stream\":29,\"./http/xhr\":37,\"./realclock/browserClock\":54,\"./util\":73,\"./xml/browser_parser\":74,_process:87,\"buffer/\":82,\"querystring/\":94,\"url/\":96}],18:[function(e,t,r){var n=e(\"./core\");e(\"./credentials\"),e(\"./credentials/credential_provider_chain\");var i;n.Config=n.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),n.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:i.credentials)}function r(e,t){return new n.util.error(t||new Error,{code:\"CredentialsError\",message:e,name:\"CredentialsError\"})}var i=this;i.credentials?\"function\"==typeof i.credentials.get?function(){i.credentials.get(function(e){e&&(e=r(\"Could not load credentials from \"+i.credentials.constructor.name,e)),t(e)})}():function(){var e=null;i.credentials.accessKeyId&&i.credentials.secretAccessKey||(e=r(\"Missing credentials\")),t(e)}():i.credentialProvider?i.credentialProvider.resolve(function(e,n){e&&(e=r(\"Could not load credentials from any providers\",e)),i.credentials=n,t(e)}):t(r(\"No credentials to load\"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),n.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||n.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){this.clear();var t=JSON.parse(n.util.readFileSync(e)),r=new n.FileSystemCredentials(e),i=new n.CredentialProviderChain;return i.providers.unshift(r),i.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){n.util.each.call(this,this.keys,function(e){delete this[e]}),this.set(\"credentials\",void 0),this.set(\"credentialProvider\",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]=\"function\"==typeof r?r.call(this):r):\"httpOptions\"===e&&this[e]?this[e]=n.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:\"legacy\",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:\"legacy\"},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=n.util.copy(e),e.credentials=new n.Credentials(e)),e},setPromisesDependency:function(e){i=e,null===e&&\"function\"==typeof Promise&&(i=Promise);var t=[n.Request,n.Credentials,n.CredentialProviderChain];n.S3&&(t.push(n.S3),n.S3.ManagedUpload&&t.push(n.S3.ManagedUpload)),n.util.addPromises(t,i)},getPromisesDependency:function(){return i}}),n.config=new n.Config},{\"./core\":20,\"./credentials\":21,\"./credentials/credential_provider_chain\":24}],19:[function(e,t,r){(function(r){(function(){function n(e,t){if(\"string\"==typeof e){if([\"legacy\",\"regional\"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw o.util.error(new Error,t)}}function i(e,t){e=e||{};var i;if(e[t.clientConfig]&&(i=n(e[t.clientConfig],{code:\"InvalidConfiguration\",message:'invalid \"'+t.clientConfig+'\" configuration. Expect \"legacy\" or \"regional\". Got \"'+e[t.clientConfig]+'\".'})))return i;if(!o.util.isNode())return i;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(i=n(r.env[t.env],{code:\"InvalidEnvironmentalVariable\",message:\"invalid \"+t.env+' environmental variable. Expect \"legacy\" or \"regional\". Got \"'+r.env[t.env]+'\".'}))return i}var s={};try{s=o.util.getProfilesFromSharedConfig(o.util.iniLoader)[r.env.AWS_PROFILE||o.util.defaultProfile]}catch(e){}if(s&&Object.prototype.hasOwnProperty.call(s,t.sharedConfig)){if(i=n(s[t.sharedConfig],{code:\"InvalidConfiguration\",message:\"invalid \"+t.sharedConfig+' profile config. Expect \"legacy\" or \"regional\". Got \"'+s[t.sharedConfig]+'\".'}))return i}return i}var o=e(\"./core\");t.exports=i}).call(this)}).call(this,e(\"_process\"))},{\"./core\":20,_process:87}],20:[function(e,t,r){var n={util:e(\"./util\")};({}).toString(),t.exports=n,n.util.update(n,{VERSION:\"2.772.0\",Signers:{},Protocol:{Json:e(\"./protocol/json\"),Query:e(\"./protocol/query\"),Rest:e(\"./protocol/rest\"),RestJson:e(\"./protocol/rest_json\"),RestXml:e(\"./protocol/rest_xml\")},XML:{Builder:e(\"./xml/builder\"),Parser:null},JSON:{Builder:e(\"./json/builder\"),Parser:e(\"./json/parser\")},Model:{Api:e(\"./model/api\"),Operation:e(\"./model/operation\"),Shape:e(\"./model/shape\"),Paginator:e(\"./model/paginator\"),ResourceWaiter:e(\"./model/resource_waiter\")},apiLoader:e(\"./api_loader\"),EndpointCache:e(\"../vendor/endpoint-cache\").EndpointCache}),e(\"./sequential_executor\"),e(\"./service\"),e(\"./config\"),e(\"./http\"),e(\"./event_listeners\"),e(\"./request\"),e(\"./response\"),e(\"./resource_waiter\"),e(\"./signers/request_signer\"),e(\"./param_validator\"),n.events=new n.SequentialExecutor,n.util.memoizedProperty(n,\"endpointCache\",function(){return new n.EndpointCache(n.config.endpointCacheSize)},!0)},{\"../vendor/endpoint-cache\":105,\"./api_loader\":10,\"./config\":18,\"./event_listeners\":35,\"./http\":36,\"./json/builder\":38,\"./json/parser\":39,\"./model/api\":40,\"./model/operation\":42,\"./model/paginator\":43,\"./model/resource_waiter\":44,\"./model/shape\":45,\"./param_validator\":46,\"./protocol/json\":48,\"./protocol/query\":49,\"./protocol/rest\":50,\"./protocol/rest_json\":51,\"./protocol/rest_xml\":52,\"./request\":57,\"./resource_waiter\":58,\"./response\":59,\"./sequential_executor\":60,\"./service\":61,\"./signers/request_signer\":65,\"./util\":73,\"./xml/builder\":75}],21:[function(e,t,r){var n=e(\"./core\");n.Credentials=n.util.inherit({constructor:function(){if(n.util.hideProperties(this,[\"secretAccessKey\"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&\"object\"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=n.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){n.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):n.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),n.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=n.util.promisifyMethod(\"get\",e),this.prototype.refreshPromise=n.util.promisifyMethod(\"refresh\",e)},n.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},n.util.addPromises(n.Credentials)},{\"./core\":20}],22:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.ChainableTemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),e=e||{},this.errorCode=\"ChainableTemporaryCredentialsProviderFailure\",this.expired=!0,this.tokenCodeFn=null;var t=n.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||\"temporary-credentials\"),t.SerialNumber){if(!e.tokenCodeFn||\"function\"!=typeof e.tokenCodeFn)throw new n.util.error(new Error(\"tokenCodeFn must be a function when params.SerialNumber is given\"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=n.util.merge({params:t,credentials:e.masterCredentials||n.config.credentials},e.stsConfig||{});this.service=new i(r)},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?\"assumeRole\":\"getSessionToken\";this.getTokenCode(function(n,i){var o={};if(n)return void e(n);i&&(o.TokenCode=i),t.service[r](o,function(r,n){r||t.service.credentialsFrom(n,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,i){if(r){var o=r;return r instanceof Error&&(o=r.message),void e(n.util.error(new Error(\"Error fetching MFA token: \"+o),{code:t.errorCode}))}e(null,i)}):e(null)}})},{\"../../clients/sts\":9,\"../core\":20}],23:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/cognitoidentity\"),o=e(\"../../clients/sts\");n.CognitoIdentityCredentials=n.util.inherit(n.Credentials,{localStorageKey:{id:\"aws.cognito.identity-id.\",providers:\"aws.cognito.identity-providers.\"},constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=n.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,\"identityId\",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||\"\";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;\"NotAuthorizedException\"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if(\"string\"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,n){!r&&n.IdentityId?(t.params.IdentityId=n.IdentityId,e(null,n.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,n){r?t.clearIdOnNotAuthorized(r):(t.cacheId(n),t.data=n,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,n){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(n),t.params.WebIdentityToken=n.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(n.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage(\"id\");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage(\"providers\")||\"\").split(\",\").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new n.WebIdentityCredentials(this.params,e),!this.cognito){var t=n.util.merge({},e);t.params=this.params,this.cognito=new i(t)}this.sts=this.sts||new o(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,n.util.isBrowser()&&(this.setStorage(\"id\",e.IdentityId),this.params.Logins&&this.setStorage(\"providers\",Object.keys(this.params.Logins).join(\",\")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||\"\")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||\"\")]=t}catch(e){}},storage:function(){try{var e=n.util.isBrowser()&&null!==window.localStorage&&\"object\"==typeof window.localStorage?window.localStorage:{};return e[\"aws.test-storage\"]=\"foobar\",delete e[\"aws.test-storage\"],e}catch(e){return{}}}()})},{\"../../clients/cognitoidentity\":8,\"../../clients/sts\":9,\"../core\":20}],24:[function(e,t,r){var n=e(\"../core\");n.CredentialProviderChain=n.util.inherit(n.Credentials,{constructor:function(e){this.providers=e||n.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,s){if(!e&&s||i===o.length)return n.util.arrayEach(r.resolveCallbacks,function(t){t(e,s)}),void(r.resolveCallbacks.length=0);var a=o[i++];s=\"function\"==typeof a?a.call():a,s.get?s.get(function(e){t(e,e?null:s)}):t(null,s)}var r=this;if(0===r.providers.length)return e(new Error(\"No providers\")),r;if(1===r.resolveCallbacks.push(e)){var i=0,o=r.providers.slice(0);t()}return r}}),n.CredentialProviderChain.defaultProviders=[],n.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=n.util.promisifyMethod(\"resolve\",e)},n.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},n.util.addPromises(n.CredentialProviderChain)},{\"../core\":20}],25:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.SAMLCredentials=n.util.inherit(n.Credentials,{constructor:function(e){n.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,n){r||t.service.credentialsFrom(n,t),e(r)})},createClients:function(){this.service=this.service||new i({params:this.params})}})},{\"../../clients/sts\":9,\"../core\":20}],26:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.TemporaryCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||\"temporary-credentials\")},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,n){r||t.service.credentialsFrom(n,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||n.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;\"function\"!=typeof this.masterCredentials.get&&(this.masterCredentials=new n.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new i({params:this.params})}})},{\"../../clients/sts\":9,\"../core\":20}],27:[function(e,t,r){var n=e(\"../core\"),i=e(\"../../clients/sts\");n.WebIdentityCredentials=n.util.inherit(n.Credentials,{constructor:function(e,t){n.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||\"web-identity\",this.data=null,this._clientConfig=n.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||n.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,n){t.data=null,r||(t.data=n,t.service.credentialsFrom(n,t)),e(r)})},createClients:function(){if(!this.service){var e=n.util.merge({},this._clientConfig);e.params=this.params,this.service=new i(e)}}})},{\"../../clients/sts\":9,\"../core\":20}],28:[function(e,t,r){(function(r){(function(){function n(e){var t=e.service,r=t.api||{},n={};return t.config.region&&(n.region=t.config.region),r.serviceId&&(n.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(n.accessKeyId=t.config.credentials.accessKeyId),n}function i(e,t,r){r&&void 0!==t&&null!==t&&\"structure\"===r.type&&r.required&&r.required.length>0&&m.arrayEach(r.required,function(n){var o=r.members[n];if(!0===o.endpointDiscoveryId){var s=o.isLocationName?o.name:n;e[s]=String(t[n])}else i(e,t[n],o)})}function o(e,t){var r={};return i(r,e.params,t),r}function s(e){var t=e.service,r=t.api,i=r.operations?r.operations[e.operation]:void 0,s=i?i.input:void 0,a=o(e,s),c=n(e);Object.keys(a).length>0&&(c=m.update(c,a),i&&(c.operation=i.name));var l=d.endpointCache.get(c);if(!l||1!==l.length||\"\"!==l[0].Address)if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address);else{var p=t.makeRequest(r.endpointOperation,{Operation:i.name,Identifiers:a});u(p),p.removeListener(\"validate\",d.EventListeners.Core.VALIDATE_PARAMETERS),p.removeListener(\"retry\",d.EventListeners.Core.RETRY_CHECK),d.endpointCache.put(c,[{Address:\"\",CachePeriodInMinutes:1}]),p.send(function(e,t){t&&t.Endpoints?d.endpointCache.put(c,t.Endpoints):e&&d.endpointCache.put(c,[{Address:\"\",CachePeriodInMinutes:1}])})}}function a(e,t){var r=e.service,i=r.api,s=i.operations?i.operations[e.operation]:void 0,a=s?s.input:void 0,c=o(e,a),l=n(e);Object.keys(c).length>0&&(l=m.update(l,c),s&&(l.operation=s.name));var p=d.EndpointCache.getKeyString(l),h=d.endpointCache.get(p);if(h&&1===h.length&&\"\"===h[0].Address)return g[p]||(g[p]=[]),void g[p].push({request:e,callback:t});if(h&&h.length>0)e.httpRequest.updateEndpoint(h[0].Address),t();else{var f=r.makeRequest(i.endpointOperation,{Operation:s.name,Identifiers:c});f.removeListener(\"validate\",d.EventListeners.Core.VALIDATE_PARAMETERS),u(f),d.endpointCache.put(p,[{Address:\"\",CachePeriodInMinutes:60}]),f.send(function(r,n){if(r){if(e.response.error=m.error(r,{retryable:!1}),d.endpointCache.remove(l),g[p]){var i=g[p];m.arrayEach(i,function(e){e.request.response.error=m.error(r,{retryable:!1}),e.callback()}),delete g[p]}}else if(n&&(d.endpointCache.put(p,n.Endpoints),e.httpRequest.updateEndpoint(n.Endpoints[0].Address),g[p])){var i=g[p];m.arrayEach(i,function(e){e.request.httpRequest.updateEndpoint(n.Endpoints[0].Address),e.callback()}),delete g[p]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers[\"x-amz-api-version\"]&&(e.httpRequest.headers[\"x-amz-api-version\"]=r)}function c(e){var t=e.error,r=e.httpResponse;if(t&&(\"InvalidEndpointException\"===t.code||421===r.statusCode)){var i=e.request,s=i.service.api.operations||{},a=s[i.operation]?s[i.operation].input:void 0,u=o(i,a),c=n(i);Object.keys(u).length>0&&(c=m.update(c,u),s[i.operation]&&(c.operation=s[i.operation].name)),d.endpointCache.remove(c)}}function l(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw m.error(new Error,{code:\"ConfigurationException\",message:\"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.\"});var t=d.config[e.serviceIdentifier]||{};return Boolean(d.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function p(e){return[\"false\",\"0\"].indexOf(e)>=0}function h(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!m.isBrowser()){for(var n=0;n-1&&0===++e[t];t--);}var o=e(\"../core\").util,s=o.buffer.toBuffer;n.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+\" is too large (or, if negative, too small) to represent as an Int64\");for(var t=new Uint8Array(8),r=7,o=Math.abs(Math.round(e));r>-1&&o>0;r--,o/=256)t[r]=o;return e<0&&i(t),new n(t)},n.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&i(e),parseInt(e.toString(\"hex\"),16)*(t?-1:1)},n.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:n}},{\"../core\":20}],32:[function(e,t,r){function n(e,t,r){var n=o(t),s=n.headers[\":message-type\"];if(s){if(\"error\"===s.value)throw i(n);if(\"event\"!==s.value)return}var a=n.headers[\":event-type\"],u=r.members[a.value];if(u){var c={},l=u.eventPayloadMemberName;if(l){var p=u.members[l];\"binary\"===p.type?c[l]=n.body:c[l]=e.parse(n.body.toString(),p)}for(var h=u.eventHeaderMemberNames,f=0;f=0)return e.httpRequest.headers[\"X-Amz-Content-Sha256\"]=\"UNSIGNED-PAYLOAD\",t();i.util.computeSha256(o,function(r,n){r?t(r):(e.httpRequest.headers[\"X-Amz-Content-Sha256\"]=n,t())})}else t()}}),e(\"SET_CONTENT_LENGTH\",\"afterBuild\",function(e){var t=n(e),r=i.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers[\"Content-Length\"])try{var o=i.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers[\"Content-Length\"]=o}catch(n){if(r&&r.isStreaming){if(r.requiresLength)throw n;if(t.indexOf(\"unsigned-body\")>=0)return void(e.httpRequest.headers[\"Transfer-Encoding\"]=\"chunked\");throw n}throw n}}),e(\"SET_HTTP_HOST\",\"afterBuild\",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e(\"RESTART\",\"restart\",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new i.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit(\"sign\",[this],function(e){e?t(e):s()}):s()}),e(\"HTTP_HEADERS\",\"httpHeaders\",function(e,t,r,n){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=n,r.httpResponse.headers=t,r.httpResponse.body=i.util.buffer.toBuffer(\"\"),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var o=t.date||t.Date,s=r.request.service;if(o){var a=Date.parse(o);s.config.correctClockSkew&&s.isClockSkewed(a)&&s.applyClockOffset(a)}}),e(\"HTTP_DATA\",\"httpData\",function(e,t){if(e){if(i.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers[\"content-length\"],n={loaded:t.httpResponse.numBytes,total:r};t.request.emit(\"httpDownloadProgress\",[n,t])}t.httpResponse.buffers.push(i.util.buffer.toBuffer(e))}}),e(\"HTTP_DONE\",\"httpDone\",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=i.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e(\"FINALIZE_ERROR\",\"retry\",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e(\"INVALIDATE_CREDENTIALS\",\"retry\",function(e){if(e.error)switch(e.error.code){case\"RequestExpired\":case\"ExpiredTokenException\":case\"ExpiredToken\":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e(\"EXPIRED_SIGNATURE\",\"retry\",function(e){var t=e.error;t&&\"string\"==typeof t.code&&\"string\"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e(\"CLOCK_SKEWED\",\"retry\",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e(\"REDIRECT\",\"retry\",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new i.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e(\"RETRY_CHECK\",\"retry\",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new o).addNamedListeners(function(e){e(\"EXTRACT_REQUEST_ID\",\"extractData\",i.util.extractRequestId),e(\"EXTRACT_REQUEST_ID\",\"extractError\",i.util.extractRequestId),e(\"ENOTFOUND_ERROR\",\"httpError\",function(e){if(\"NetworkingError\"===e.code&&function(e){return\"ENOTFOUND\"===e.errno||\"number\"==typeof e.errno&&\"function\"==typeof i.util.getSystemErrorName&&[\"EAI_NONAME\",\"EAI_NODATA\"].indexOf(i.util.getSystemErrorName(e.errno)>=0)}(e)){var t=\"Inaccessible host: `\"+e.hostname+\"'. This service may not be available in the `\"+e.region+\"' region.\";this.response.error=i.util.error(new Error(t),{code:\"UnknownEndpoint\",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new o).addNamedListeners(function(t){t(\"LOG_REQUEST\",\"complete\",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return\"***SensitiveInformation***\";switch(e.type){case\"structure\":var n={};return i.util.each(t,function(t,i){Object.prototype.hasOwnProperty.call(e.members,t)?n[t]=r(e.members[t],i):n[t]=i}),n;case\"list\":var o=[];return i.util.arrayEach(t,function(t,n){o.push(r(e.member,t))}),o;case\"map\":var s={};return i.util.each(t,function(t,n){s[t]=r(e.value,n)}),s;default:return t}}var n=t.request,o=n.service.config.logger;if(o){var s=function(){var s=t.request.service.getSkewCorrectedDate().getTime(),a=(s-n.startTime.getTime())/1e3,u=!!o.isTTY,c=t.httpResponse.statusCode,l=n.params;if(n.service.api.operations&&n.service.api.operations[n.operation]&&n.service.api.operations[n.operation].input){l=r(n.service.api.operations[n.operation].input,n.params)}var p=e(\"util\").inspect(l,!0,null),h=\"\";return u&&(h+=\"\u001b[33m\"),h+=\"[AWS \"+n.service.serviceIdentifier+\" \"+c,h+=\" \"+a.toString()+\"s \"+t.retryCount+\" retries]\",u&&(h+=\"\u001b[0;1m\"),h+=\" \"+i.util.string.lowerFirst(n.operation),h+=\"(\"+p+\")\",u&&(h+=\"\u001b[0m\"),h}();\"function\"==typeof o.log?o.log(s):\"function\"==typeof o.write&&o.write(s+\"\\n\")}})}),Json:(new o).addNamedListeners(function(t){var r=e(\"./protocol/json\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),Rest:(new o).addNamedListeners(function(t){var r=e(\"./protocol/rest\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),RestJson:(new o).addNamedListeners(function(t){var r=e(\"./protocol/rest_json\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),RestXml:(new o).addNamedListeners(function(t){var r=e(\"./protocol/rest_xml\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)}),Query:(new o).addNamedListeners(function(t){var r=e(\"./protocol/query\");t(\"BUILD\",\"build\",r.buildRequest),t(\"EXTRACT_DATA\",\"extractData\",r.extractData),t(\"EXTRACT_ERROR\",\"extractError\",r.extractError)})}},{\"./core\":20,\"./discover_endpoint\":28,\"./protocol/json\":48,\"./protocol/query\":49,\"./protocol/rest\":50,\"./protocol/rest_json\":51,\"./protocol/rest_xml\":52,\"./sequential_executor\":60,util:99}],36:[function(e,t,r){var n=e(\"./core\"),i=n.util.inherit;n.Endpoint=i({constructor:function(e,t){if(n.util.hideProperties(this,[\"slashes\",\"auth\",\"hash\",\"search\",\"query\"]),void 0===e||null===e)throw new Error(\"Invalid endpoint: \"+e);if(\"string\"!=typeof e)return n.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:n.config.sslEnabled)?\"https\":\"http\")+\"://\"+e}n.util.update(this,n.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port=\"https:\"===this.protocol?443:80}}),n.HttpRequest=i({constructor:function(e,t){e=new n.Endpoint(e),this.method=\"POST\",this.path=e.path||\"/\",this.headers={},this.body=\"\",this.endpoint=e,this.region=t,this._userAgent=\"\",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=n.util.userAgent()},getUserAgentHeaderName:function(){return(n.util.isBrowser()?\"X-Amz-\":\"\")+\"User-Agent\"},appendToUserAgent:function(e){\"string\"==typeof e&&e&&(this._userAgent+=\" \"+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split(\"?\",1)[0]},search:function(){var e=this.path.split(\"?\",2)[1];return e?(e=n.util.queryStringParse(e),n.util.queryParamsToString(e)):\"\"},updateEndpoint:function(e){var t=new n.Endpoint(e);this.endpoint=t,this.path=t.path||\"/\",this.headers.Host&&(this.headers.Host=t.host)}}),n.HttpResponse=i({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),n.HttpClient=i({}),n.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{\"./core\":20}],37:[function(e,t,r){var n=e(\"../core\"),i=e(\"events\").EventEmitter;e(\"../http\"),n.XHRClient=n.util.inherit({handleRequest:function(e,t,r,o){var s=this,a=e.endpoint,u=new i,c=a.protocol+\"//\"+a.hostname;80!==a.port&&443!==a.port&&(c+=\":\"+a.port),c+=e.path;var l=new XMLHttpRequest,p=!1;e.stream=l,l.addEventListener(\"readystatechange\",function(){try{if(0===l.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!p&&(u.statusCode=l.status,u.headers=s.parseHeaders(l.getAllResponseHeaders()),u.emit(\"headers\",u.statusCode,u.headers,l.statusText),p=!0),this.readyState===this.DONE&&s.finishRequest(l,u)},!1),l.upload.addEventListener(\"progress\",function(e){u.emit(\"sendProgress\",e)}),l.addEventListener(\"progress\",function(e){u.emit(\"receiveProgress\",e)},!1),l.addEventListener(\"timeout\",function(){o(n.util.error(new Error(\"Timeout\"),{code:\"TimeoutError\"}))},!1),l.addEventListener(\"error\",function(){o(n.util.error(new Error(\"Network Failure\"),{code:\"NetworkingError\"}))},!1),l.addEventListener(\"abort\",function(){o(n.util.error(new Error(\"Request aborted\"),{code:\"RequestAbortedError\"}))},!1),r(u),l.open(e.method,c,!1!==t.xhrAsync),n.util.each(e.headers,function(e,t){\"Content-Length\"!==e&&\"User-Agent\"!==e&&\"Host\"!==e&&l.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(l.timeout=t.timeout),t.xhrWithCredentials&&(l.withCredentials=!0);try{l.responseType=\"arraybuffer\"}catch(e){}try{e.body?l.send(e.body):l.send()}catch(t){if(!e.body||\"object\"!=typeof e.body.buffer)throw t;l.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return n.util.arrayEach(e.split(/\\r?\\n/),function(e){var r=e.split(\":\",1)[0],n=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=n)}),t},finishRequest:function(e,t){var r;if(\"arraybuffer\"===e.responseType&&e.response){var i=e.response;r=new n.util.Buffer(i.byteLength);for(var o=new Uint8Array(i),s=0;s-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 h(){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 d(){o.apply(this,arguments),this.toType=function(e){var t=y.base64.decode(e);if(this.isSensitive&&y.isNode()&&\"function\"==typeof y.Buffer.alloc){var r=y.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=y.base64.encode}function m(){d.apply(this,arguments)}function v(){o.apply(this,arguments),this.toType=function(e){return\"boolean\"==typeof e?e:null===e||void 0===e?null:\"true\"===e}}var g=e(\"./collection\"),y=e(\"../util\");o.normalizedTypes={character:\"string\",double:\"float\",long:\"integer\",short:\"integer\",biginteger:\"integer\",bigdecimal:\"float\",blob:\"binary\"},o.types={structure:a,list:u,map:c,boolean:v,timestamp:l,float:h,integer:f,string:p,base64:m,binary:d},o.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error(\"Cannot find shape reference: \"+e.shape);return r}return null},o.create=function(e,t,r){if(e.isShape)return e;var n=o.resolve(e,t);if(n){var i=Object.keys(e);t.documentation||(i=i.filter(function(e){return!e.match(/documentation/)}));var s=function(){n.constructor.call(this,e,t,r)};return s.prototype=n,new s}e.type||(e.members?e.type=\"structure\":e.member?e.type=\"list\":e.key?e.type=\"map\":e.type=\"string\");var a=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,r);throw new Error(\"Unrecognized shape type: \"+a)},o.shapes={StructureShape:a,ListShape:u,MapShape:c,StringShape:p,BooleanShape:v,Base64Shape:m},t.exports=o},{\"../util\":73,\"./collection\":41}],46:[function(e,t,r){var n=e(\"./core\");n.ParamValidator=n.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||\"params\"),this.errors.length>1){var i=this.errors.join(\"\\n* \");throw i=\"There were \"+this.errors.length+\" validation errors:\\n* \"+i,n.util.error(new Error(i),{code:\"MultipleValidationErrors\",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(n.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,[\"object\"],\"structure\");for(var n,i=0;e.required&&i= 1, but found \"'+t+'\" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail(\"PatternMatchError\",'Provided value \"'+t+'\" does not match regex pattern /'+e.pattern+\"/ for \"+r))},validateRange:function(e,t,r,n){this.validation.min&&void 0!==e.min&&t= \"+e.min+\", but found \"+t+\" for \"+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail(\"MaxRangeError\",\"Expected \"+n+\" <= \"+e.max+\", but found \"+t+\" for \"+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail(\"EnumError\",\"Found string value of \"+t+\", but expected \"+e.enum.join(\"|\")+\" for \"+r)},validateType:function(e,t,r,i){if(null===e||void 0===e)return!1;for(var o=!1,s=0;s63)throw u.error(new Error,{\ncode:\"ValidationError\",message:\"Hostname label length should be between 1 to 63 characters, inclusive.\"});if(!r.test(e))throw c.util.error(new Error,{code:\"ValidationError\",message:e+\" is not hostname compatible.\"})})}var u=e(\"../util\"),c=e(\"../core\");t.exports={populateHostPrefix:n}},{\"../core\":20,\"../util\":73}],48:[function(e,t,r){function n(e){var t=e.httpRequest,r=e.service.api,n=r.targetPrefix+\".\"+r.operations[e.operation].name,i=r.jsonVersion||\"1.0\",o=r.operations[e.operation].input,s=new a;1===i&&(i=\"1.0\"),t.body=s.build(e.params||{},o),t.headers[\"Content-Type\"]=\"application/x-amz-json-\"+i,t.headers[\"X-Amz-Target\"]=n,c(e)}function i(e){var t={},r=e.httpResponse;if(t.code=r.headers[\"x-amzn-errortype\"]||\"UnknownError\",\"string\"==typeof t.code&&(t.code=t.code.split(\":\")[0]),r.body.length>0)try{var n=JSON.parse(r.body.toString()),i=n.__type||n.code||n.Code;i&&(t.code=i.split(\"#\").pop()),\"RequestEntityTooLarge\"===t.code?t.message=\"Request body must be less than 1 MB\":t.message=n.message||n.Message||null}catch(n){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=s.error(new Error,t)}function o(e){var t=e.httpResponse.body.toString()||\"{}\";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],n=r.output||{},i=new u;e.data=i.parse(t,n)}}var s=e(\"../util\"),a=e(\"../json/builder\"),u=e(\"../json/parser\"),c=e(\"./helpers\").populateHostPrefix;t.exports={buildRequest:n,extractError:i,extractData:o}},{\"../json/builder\":38,\"../json/parser\":39,\"../util\":73,\"./helpers\":47}],49:[function(e,t,r){function n(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers[\"Content-Type\"]=\"application/x-www-form-urlencoded; charset=utf-8\",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=a.queryParamsToString(r.params),l(e)}function i(e){var t,r=e.httpResponse.body.toString();if(r.match(\"=0?\"&\":\"?\";var a=[];l.arrayEach(Object.keys(o).sort(),function(e){Array.isArray(o[e])||(o[e]=[o[e]]);for(var t=0;t0){t=new a.XML.Parser;var p=t.parse(n.toString(),o);u.update(e.data,p)}}var a=e(\"../core\"),u=e(\"../util\"),c=e(\"./rest\");t.exports={buildRequest:i,extractError:o,extractData:s}},{\"../core\":20,\"../util\":73,\"./rest\":50}],53:[function(e,t,r){function n(){}function i(e){return e.isQueryName||\"ec2\"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function o(e,t,r,n){c.each(r.members,function(r,o){var s=t[r];if(null!==s&&void 0!==s){var a=i(o);a=e?e+\".\"+a:a,u(a,s,o,n)}})}function s(e,t,r,n){var i=1;c.each(t,function(t,o){var s=r.flattened?\".\":\".entry.\",a=s+i+++\".\",c=a+(r.key.name||\"key\"),l=a+(r.value.name||\"value\");u(e+c,t,r.key,n),u(e+l,o,r.value,n)})}function a(e,t,r,n){var o=r.member||{};if(0===t.length)return void n.call(this,e,null);c.arrayEach(t,function(t,s){var a=\".\"+(s+1);if(\"ec2\"===r.api.protocol)a+=\"\";else if(r.flattened){if(o.name){var c=e.split(\".\");c.pop(),c.push(i(o)),e=c.join(\".\")}}else a=\".\"+(o.name?o.name:\"member\")+a;u(e+a,t,o,n)})}function u(e,t,r,n){null!==t&&void 0!==t&&(\"structure\"===r.type?o(e,t,r,n):\"list\"===r.type?a(e,t,r,n):\"map\"===r.type?s(e,t,r,n):n(e,r.toWireFormat(t).toString()))}var c=e(\"../util\");n.prototype.serialize=function(e,t,r){o(\"\",e,t,r)},t.exports=n},{\"../util\":73}],54:[function(e,t,r){t.exports={now:function(){return\"undefined\"!=typeof performance&&\"function\"==typeof performance.now?performance.now():Date.now()}}},{}],55:[function(e,t,r){function n(e){if(!e)return null;var t=e.split(\"-\");return t.length<3?null:t.slice(0,t.length-2).join(\"-\")+\"-*\"}function i(e){var t=e.config.region,r=n(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,\"*\"],[r,\"*\"],[\"*\",i],[\"*\",\"*\"]].map(function(e){return e[0]&&e[1]?e.join(\"/\"):null})}function o(e,t){u.each(t,function(t,r){\"globalEndpoint\"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function s(e){for(var t=i(e),r=0;r=0){u=!0;var c=0}var l=function(){u&&c!==a?i.emit(\"error\",n.util.error(new Error(\"Stream content length mismatch. Received \"+c+\" of \"+a+\" bytes.\"),{code:\"StreamContentLengthMismatch\"})):2===n.HttpClient.streamsApiVersion?i.end():i.emit(\"end\")},p=s.httpResponse.createUnbufferedStream();if(2===n.HttpClient.streamsApiVersion)if(u){var h=new e.PassThrough;h._write=function(t){return t&&t.length&&(c+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},h.on(\"end\",l),i.on(\"error\",function(e){u=!1,p.unpipe(h),h.emit(\"end\"),h.end()}),p.pipe(h).pipe(i,{end:!1})}else p.pipe(i);else u&&p.on(\"data\",function(e){e&&e.length&&(c+=e.length)}),p.on(\"data\",function(e){i.emit(\"data\",e)}),p.on(\"end\",l);p.on(\"error\",function(e){u=!1,i.emit(\"error\",e)})}}),i},emitEvent:function(e,t,r){\"function\"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),n.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){case\"restart\":case\"validate\":case\"sign\":case\"build\":case\"afterValidate\":case\"afterBuild\":return[this];case\"error\":return[this.response.error,this.response];default:return[this.response]}},presign:function(e,t){return t||\"function\"!=typeof e||(t=e,e=null),(new n.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,\"presigned-expires\")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener(\"validate\",n.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener(\"sign\",n.EventListeners.Core.SIGN),this},toGet:function(){return\"query\"!==this.service.api.protocol&&\"ec2\"!==this.service.api.protocol||(this.removeListener(\"build\",this.buildAsGet),this.addListener(\"build\",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method=\"GET\",e.httpRequest.path=e.service.endpoint.path+\"?\"+e.httpRequest.body,e.httpRequest.body=\"\",delete e.httpRequest.headers[\"Content-Length\"],delete e.httpRequest.headers[\"Content-Type\"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),n.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent(\"promise\"),new e(function(e,r){t.on(\"complete\",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},\"$response\",{value:t}))}),t.runTo()})}},n.Request.deletePromisesFromClass=function(){delete this.prototype.promise},n.util.addPromises(n.Request),n.util.mixin(n.Request,n.SequentialExecutor)}).call(this)}).call(this,e(\"_process\"))},{\"./core\":20,\"./state_machine\":72,_process:87,jmespath:86}],58:[function(e,t,r){function n(e){var t=e.request._waiter,r=t.config.acceptors,n=!1,i=\"retry\";r.forEach(function(r){if(!n){var o=t.matchers[r.matcher];o&&o(e,r.expected,r.argument)&&(n=!0,i=r.state)}}),!n&&e.error&&(i=\"failure\"),\"success\"===i?t.setSuccess(e):t.setError(e,\"retry\"===i)}var i=e(\"./core\"),o=i.util.inherit,s=e(\"jmespath\");i.ResourceWaiter=o({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}return s.strictDeepEqual(n,t)},pathAll:function(e,t,r){try{var n=s.search(e.data,r)}catch(e){return!1}Array.isArray(n)||(n=[n]);var i=n.length;if(!i)return!1;for(var o=0;o-1&&r.splice(i,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var n=this.listeners(e),i=n.length;return this.callListeners(n,t,r),i>0},callListeners:function(e,t,r,i){function o(i){if(i&&(a=n.util.error(a||new Error,i),s._haltHandlersOnError))return r.call(s,a);s.callListeners(e,t,r,a)}for(var s=this,a=i||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(s,t.concat([o]));try{u.apply(s,t)}catch(e){a=n.util.error(a||new Error,e)}if(a&&s._haltHandlersOnError)return void r.call(s,a)}r.call(s,a)},addListeners:function(e){var t=this;return e._events&&(e=e._events),n.util.each(e,function(e,r){\"function\"==typeof r&&(r=[r]),n.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,n){return this[e]=r,this.addListener(t,r,n),this},addNamedAsyncListener:function(e,t,r,n){return r._isAsync=!0,this.addNamedListener(e,t,r,n)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),n.SequentialExecutor.prototype.addListener=n.SequentialExecutor.prototype.on,t.exports=n.SequentialExecutor},{\"./core\":20}],61:[function(e,t,r){(function(r){(function(){var n=e(\"./core\"),i=e(\"./model/api\"),o=e(\"./region_config\"),s=n.util.inherit,a=0;n.Service=s({constructor:function(e){if(!this.loadServiceClass)throw n.util.error(new Error,\"Service must be constructed with `new' operator\");var t=this.loadServiceClass(e||{});if(t){var r=n.util.copy(e),i=new t(e);return Object.defineProperty(i,\"_originalConfig\",{get:function(){return r},enumerable:!1,configurable:!0}),i._clientId=++a,i}this.initialize(e)},initialize:function(e){var t=n.config[this.serviceIdentifier];if(this.config=new n.Config(n.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||o.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),n.SequentialExecutor.call(this),n.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||n.Service._clientSideMonitoring)&&this.publisher){var i=this.publisher;this.addNamedListener(\"PUBLISH_API_CALL\",\"apiCall\",function(e){r.nextTick(function(){i.eventHandler(e)})}),this.addNamedListener(\"PUBLISH_API_ATTEMPT\",\"apiCallAttempt\",function(e){r.nextTick(function(){i.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(n.util.isEmpty(this.api)){if(t.apiConfig)return n.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new n.Config(n.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&n.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error(\"No services defined on \"+this.constructor.serviceIdentifier);if(e?n.util.isType(e,Date)&&(e=n.util.date.iso8601(e).split(\"T\")[0]):e=\"latest\",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,i=t.length-1;i>=0;i--)if(\"*\"!==t[i][t[i].length-1]&&(r=t[i]),t[i].substr(0,10)<=e)return r;throw new Error(\"Could not find \"+this.constructor.serviceIdentifier+\" API to satisfy version constraint `\"+e+\"'\")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if(\"function\"!=typeof e)throw new Error(\"Invalid callback type '\"+typeof e+\"' provided in customizeRequests\");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if(\"function\"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var i=this.api.operations[e];i&&(t=n.util.copy(t),n.util.each(this.config.params,function(e,r){i.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var o=new n.Request(this,e,t);return this.addAllRequestListeners(o),this.attachMonitoringEmitter(o),r&&o.send(r),o},makeUnauthenticatedRequest:function(e,t,r){\"function\"==typeof t&&(r=t,t={});var n=this.makeRequest(e,t).toUnauthenticated();return r?n.send(r):n},waitFor:function(e,t,r){return new n.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[n.events,n.EventListeners.Core,this.serviceInterface(),n.EventListeners.CorePost],r=0;r299?(i.code&&(r.FinalAwsException=i.code),i.message&&(r.FinalAwsExceptionMessage=i.message)):((i.code||i.name)&&(r.FinalSdkException=i.code||i.name),i.message&&(r.FinalSdkExceptionMessage=i.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:\"ApiCallAttempt\",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},n=e.response;return n.httpResponse.statusCode&&(r.HttpStatusCode=n.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),n.httpResponse.headers?(e.httpRequest.headers[\"x-amz-security-token\"]&&(r.SessionToken=e.httpRequest.headers[\"x-amz-security-token\"]),n.httpResponse.headers[\"x-amzn-requestid\"]&&(r.XAmznRequestId=n.httpResponse.headers[\"x-amzn-requestid\"]),n.httpResponse.headers[\"x-amz-request-id\"]&&(r.XAmzRequestId=n.httpResponse.headers[\"x-amz-request-id\"]),n.httpResponse.headers[\"x-amz-id-2\"]&&(r.XAmzId2=n.httpResponse.headers[\"x-amz-id-2\"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,n=r.error;return r.httpResponse.statusCode>299?(n.code&&(t.AwsException=n.code),n.message&&(t.AwsExceptionMessage=n.message)):((n.code||n.name)&&(t.SdkException=n.code||n.name),n.message&&(t.SdkExceptionMessage=n.message)),t},attachMonitoringEmitter:function(e){var t,r,i,o,s,a,u=0,c=this;e.on(\"validate\",function(){o=n.util.realClock.now(),a=Date.now()},!0),e.on(\"sign\",function(){r=n.util.realClock.now(),t=Date.now(),s=e.httpRequest.region,u++},!0),e.on(\"validateResponse\",function(){i=Math.round(n.util.realClock.now()-r)}),e.addNamedListener(\"API_CALL_ATTEMPT\",\"success\",function(){var r=c.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=i>=0?i:0,r.Region=s,c.emit(\"apiCallAttempt\",[r])}),e.addNamedListener(\"API_CALL_ATTEMPT_RETRY\",\"retry\",function(){var o=c.attemptFailEvent(e);o.Timestamp=t,i=i||Math.round(n.util.realClock.now()-r),o.AttemptLatency=i>=0?i:0,o.Region=s,c.emit(\"apiCallAttempt\",[o])}),e.addNamedListener(\"API_CALL\",\"complete\",function(){var t=c.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=a;var r=Math.round(n.util.realClock.now()-o);t.Latency=r>=0?r:0;var i=e.response;i.error&&i.error.retryable&&\"number\"==typeof i.retryCount&&\"number\"==typeof i.maxRetries&&i.retryCount>=i.maxRetries&&(t.MaxRetriesExceeded=1),c.emit(\"apiCall\",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){\nvar t,r=null,i=\"\";if(e){r=(e.service.api.operations||{})[e.operation]||null,i=r?r.authtype:\"\"}return t=this.config.signatureVersion?this.config.signatureVersion:\"v4\"===i||\"v4-unsigned-body\"===i?\"v4\":this.api.signatureVersion,n.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case\"ec2\":case\"query\":return n.EventListeners.Query;case\"json\":return n.EventListeners.Json;case\"rest-json\":return n.EventListeners.RestJson;case\"rest-xml\":return n.EventListeners.RestXml}if(this.api.protocol)throw new Error(\"Invalid service `protocol' \"+this.api.protocol+\" in API config\")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return n.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return\"NetworkingError\"===e.code},timeoutError:function(e){return\"TimeoutError\"===e.code},expiredCredentialsError:function(e){return\"ExpiredTokenException\"===e.code},clockSkewError:function(e){switch(e.code){case\"RequestTimeTooSkewed\":case\"RequestExpired\":case\"InvalidSignatureException\":case\"SignatureDoesNotMatch\":case\"AuthFailure\":case\"RequestInTheFuture\":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case\"ProvisionedThroughputExceededException\":case\"Throttling\":case\"ThrottlingException\":case\"RequestLimitExceeded\":case\"RequestThrottled\":case\"RequestThrottledException\":case\"TooManyRequestsException\":case\"TransactionInProgressException\":case\"EC2ThrottledException\":return!0;default:return!1}},endpointFromTemplate:function(e){if(\"string\"!=typeof e)return e;var t=e;return t=t.replace(/\\{service\\}/g,this.api.endpointPrefix),t=t.replace(/\\{region\\}/g,this.config.region),t=t.replace(/\\{scheme\\}/g,this.config.sslEnabled?\"https\":\"http\")},setEndpoint:function(e){this.endpoint=new n.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var i=new Error;throw n.util.error(i,\"No pagination configuration for \"+e)}return null}return r}}),n.util.update(n.Service,{defineMethods:function(e){n.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){\"none\"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){n.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var i=s(n.Service,r||{});if(\"string\"==typeof e){n.Service.addVersions(i,t);var o=i.serviceIdentifier||e;i.serviceIdentifier=o}else i.prototype.api=e,n.Service.defineMethods(i);if(n.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&n.util.clientSideMonitoring){var a=n.util.clientSideMonitoring.Publisher,u=n.util.clientSideMonitoring.configProvider,c=u();this.prototype.publisher=new a(c),c.enabled&&(n.Service._clientSideMonitoring=!0)}return n.SequentialExecutor.call(i.prototype),n.Service.addDefaultMonitoringListeners(i.prototype),i},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r604800){throw o.util.error(new Error,{code:\"InvalidExpiryTime\",message:\"Presigning does not support expiry time greater than a week with SigV4 signing.\",retryable:!1})}e.httpRequest.headers[a]=t}else{if(r!==o.Signers.S3)throw o.util.error(new Error,{message:\"Presigning only supports S3 or SigV4 signing.\",code:\"UnsupportedSigner\",retryable:!1});var n=e.service?e.service.getSkewCorrectedDate():o.util.date.getDate();e.httpRequest.headers[a]=parseInt(o.util.date.unixTimestamp(n)+t,10).toString()}}function i(e){var t=e.httpRequest.endpoint,r=o.util.urlParse(e.httpRequest.path),n={};r.search&&(n=o.util.queryStringParse(r.search.substr(1)));var i=e.httpRequest.headers.Authorization.split(\" \");if(\"AWS\"===i[0])i=i[1].split(\":\"),n.Signature=i.pop(),n.AWSAccessKeyId=i.join(\":\"),o.util.each(e.httpRequest.headers,function(e,t){e===a&&(e=\"Expires\"),0===e.indexOf(\"x-amz-meta-\")&&(delete n[e],e=e.toLowerCase()),n[e]=t}),delete e.httpRequest.headers[a],delete n.Authorization,delete n.Host;else if(\"AWS4-HMAC-SHA256\"===i[0]){i.shift();var s=i.join(\" \"),u=s.match(/Signature=(.*?)(?:,|\\s|\\r?\\n|$)/)[1];n[\"X-Amz-Signature\"]=u,delete n.Expires}t.pathname=r.pathname,t.search=o.util.queryParamsToString(n)}var o=e(\"../core\"),s=o.util.inherit,a=\"presigned-expires\";o.Signers.Presign=s({sign:function(e,t,r){if(e.httpRequest.headers[a]=t||3600,e.on(\"build\",n),e.on(\"sign\",i),e.removeListener(\"afterBuild\",o.EventListeners.Core.SET_CONTENT_LENGTH),e.removeListener(\"afterBuild\",o.EventListeners.Core.COMPUTE_SHA256),e.emit(\"beforePresign\",[e]),!r){if(e.build(),e.response.error)throw e.response.error;return o.util.urlFormat(e.httpRequest.endpoint)}e.build(function(){this.response.error?r(this.response.error):r(null,o.util.urlFormat(e.httpRequest.endpoint))})}}),t.exports=o.Signers.Presign},{\"../core\":20}],65:[function(e,t,r){var n=e(\"../core\"),i=n.util.inherit;n.Signers.RequestSigner=i({constructor:function(e){this.request=e},setServiceClientId:function(e){this.serviceClientId=e},getServiceClientId:function(){return this.serviceClientId}}),n.Signers.RequestSigner.getVersion=function(e){switch(e){case\"v2\":return n.Signers.V2;case\"v3\":return n.Signers.V3;case\"s3v4\":case\"v4\":return n.Signers.V4;case\"s3\":return n.Signers.S3;case\"v3https\":return n.Signers.V3Https}throw new Error(\"Unknown signing version \"+e)},e(\"./v2\"),e(\"./v3\"),e(\"./v3https\"),e(\"./v4\"),e(\"./s3\"),e(\"./presign\")},{\"../core\":20,\"./presign\":64,\"./s3\":66,\"./v2\":67,\"./v3\":68,\"./v3https\":69,\"./v4\":70}],66:[function(e,t,r){var n=e(\"../core\"),i=n.util.inherit;n.Signers.S3=i(n.Signers.RequestSigner,{subResources:{acl:1,accelerate:1,analytics:1,cors:1,lifecycle:1,delete:1,inventory:1,location:1,logging:1,metrics:1,notification:1,partNumber:1,policy:1,requestPayment:1,replication:1,restore:1,tagging:1,torrent:1,uploadId:1,uploads:1,versionId:1,versioning:1,versions:1,website:1},responseHeaders:{\"response-content-type\":1,\"response-content-language\":1,\"response-expires\":1,\"response-cache-control\":1,\"response-content-disposition\":1,\"response-content-encoding\":1},addAuthorization:function(e,t){this.request.headers[\"presigned-expires\"]||(this.request.headers[\"X-Amz-Date\"]=n.util.date.rfc822(t)),e.sessionToken&&(this.request.headers[\"x-amz-security-token\"]=e.sessionToken);var r=this.sign(e.secretAccessKey,this.stringToSign()),i=\"AWS \"+e.accessKeyId+\":\"+r;this.request.headers.Authorization=i},stringToSign:function(){var e=this.request,t=[];t.push(e.method),t.push(e.headers[\"Content-MD5\"]||\"\"),t.push(e.headers[\"Content-Type\"]||\"\"),t.push(e.headers[\"presigned-expires\"]||\"\");var r=this.canonicalizedAmzHeaders();return r&&t.push(r),t.push(this.canonicalizedResource()),t.join(\"\\n\")},canonicalizedAmzHeaders:function(){var e=[];n.util.each(this.request.headers,function(t){t.match(/^x-amz-/i)&&e.push(t)}),e.sort(function(e,t){return e.toLowerCase()=0?\"&\":\"?\";this.request.path+=o+n.util.queryParamsToString(i)},authorization:function(e,t){var r=[],n=this.credentialString(t);return r.push(this.algorithm+\" Credential=\"+e.accessKeyId+\"/\"+n),r.push(\"SignedHeaders=\"+this.signedHeaders()),r.push(\"Signature=\"+this.signature(e,t)),r.join(\", \")},signature:function(e,t){var r=i.getSigningKey(e,t.substr(0,8),this.request.region,this.serviceName,this.signatureCache);return n.util.crypto.hmac(r,this.stringToSign(t),\"hex\")},stringToSign:function(e){var t=[];return t.push(\"AWS4-HMAC-SHA256\"),t.push(e),t.push(this.credentialString(e)),t.push(this.hexEncodedHash(this.canonicalString())),t.join(\"\\n\")},canonicalString:function(){var e=[],t=this.request.pathname();return\"s3\"!==this.serviceName&&\"s3v4\"!==this.signatureVersion&&(t=n.util.uriEscapePath(t)),e.push(this.request.method),e.push(t),e.push(this.request.search()),e.push(this.canonicalHeaders()+\"\\n\"),e.push(this.signedHeaders()),e.push(this.hexEncodedBodyHash()),e.join(\"\\n\")},canonicalHeaders:function(){var e=[];n.util.each.call(this,this.request.headers,function(t,r){e.push([t,r])}),e.sort(function(e,t){return e[0].toLowerCase()50&&delete i[o.shift()]),f},emptyCache:function(){i={},o=[]}}},{\"../core\":20}],72:[function(e,t,r){function n(e,t){this.currentState=t||null,this.states=e||{}}n.prototype.runTo=function(e,t,r,n){\"function\"==typeof e&&(n=r,r=t,t=e,e=null);var i=this,o=i.states[i.currentState];o.fn.call(r||i,n,function(n){if(n){if(!o.fail)return t?t.call(r,n):null;i.currentState=o.fail}else{if(!o.accept)return t?t.call(r):null;i.currentState=o.accept}if(i.currentState===e)return t?t.call(r,n):null;i.runTo(e,t,r,n)})},n.prototype.addState=function(e,t,r,n){return\"function\"==typeof t?(n=t,t=null,r=null):\"function\"==typeof r&&(n=r,r=null),this.currentState||(this.currentState=e),this.states[e]={accept:t,fail:r,fn:n},this},t.exports=n},{}],73:[function(e,t,r){(function(r,n){(function(){var i,o={environment:\"nodejs\",engine:function(){if(o.isBrowser()&&\"undefined\"!=typeof navigator)return navigator.userAgent;var e=r.platform+\"/\"+r.version;return r.env.AWS_EXECUTION_ENV&&(e+=\" exec-env/\"+r.env.AWS_EXECUTION_ENV),e},userAgent:function(){var t=o.environment,r=\"aws-sdk-\"+t+\"/\"+e(\"./core\").VERSION;return\"nodejs\"===t&&(r+=\" \"+o.engine()),r},uriEscape:function(e){var t=encodeURIComponent(e);return t=t.replace(/[^A-Za-z0-9_.~\\-%]+/g,escape),t=t.replace(/[*]/g,function(e){return\"%\"+e.charCodeAt(0).toString(16).toUpperCase()})},uriEscapePath:function(e){var t=[];return 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=[],r=o.uriEscape,n=Object.keys(e).sort();return o.arrayEach(n,function(n){var i=e[n],s=r(n),a=s+\"=\";if(Array.isArray(i)){var u=[];o.arrayEach(i,function(e){u.push(r(e))}),a=s+\"=\"+u.sort().join(\"&\"+s+\"=\")}else void 0!==i&&null!==i&&(a=s+\"=\"+r(i));t.push(a)}),t.join(\"&\")},readFileSync:function(t){return o.isBrowser()?null:e(\"fs\").readFileSync(t,\"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:o.buffer.toBuffer(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:o.buffer.toBuffer(e,\"base64\")}},buffer:{toBuffer:function(e,t){return\"function\"==typeof o.Buffer.from&&o.Buffer.from!==Uint8Array.from?o.Buffer.from(e,t):new o.Buffer(e,t)},alloc:function(e,t,r){if(\"number\"!=typeof e)throw new Error(\"size passed to alloc must be a number.\");if(\"function\"==typeof o.Buffer.alloc)return o.Buffer.alloc(e,t,r);var n=new o.Buffer(e);return void 0!==t&&\"function\"==typeof n.fill&&n.fill(t,void 0,void 0,r),n},toStream:function(e){o.Buffer.isBuffer(e)||(e=o.buffer.toBuffer(e));var t=new o.stream.Readable,r=0;return t._read=function(n){if(r>=e.length)return t.push(null);var i=r+n;i>e.length&&(i=e.length),t.push(e.slice(r,i)),r=i},t},concat:function(e){var t,r=0,n=0,i=null;for(t=0;t>>8^t[255&(r^e.readUInt8(n))]}return(-1^r)>>>0},hmac:function(e,t,r,n){return r||(r=\"binary\"),\"buffer\"===r&&(r=void 0),n||(n=\"sha256\"),\"string\"==typeof t&&(t=o.buffer.toBuffer(t)),o.crypto.lib.createHmac(n,e).update(t).digest(r)},md5:function(e,t,r){return o.crypto.hash(\"md5\",e,t,r)},sha256:function(e,t,r){return o.crypto.hash(\"sha256\",e,t,r)},hash:function(e,t,r,n){var i=o.crypto.createHash(e);r||(r=\"binary\"),\"buffer\"===r&&(r=void 0),\"string\"==typeof t&&(t=o.buffer.toBuffer(t));var s=o.arraySliceFn(t),a=o.Buffer.isBuffer(t);if(o.isBrowser()&&\"undefined\"!=typeof ArrayBuffer&&t&&t.buffer instanceof ArrayBuffer&&(a=!0),n&&\"object\"==typeof t&&\"function\"==typeof t.on&&!a)t.on(\"data\",function(e){i.update(e)}),t.on(\"error\",function(e){n(e)}),t.on(\"end\",function(){n(null,i.digest(r))});else{if(!n||!s||a||\"undefined\"==typeof FileReader){o.isBrowser()&&\"object\"==typeof t&&!a&&(t=new o.Buffer(new Uint8Array(t)));var u=i.update(t).digest(r);return n&&n(null,u),u}var c=0,l=new FileReader;l.onerror=function(){n(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 n(null,i.digest(r));var e=c+524288;e>t.size&&(e=t.size),l.readAsArrayBuffer(s.call(t,c,e))},l._continueReading()}},toHex:function(e){for(var t=[],r=0;r=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 r=!1;void 0===t&&i&&i.config&&(t=i.config.getPromisesDependency()),void 0===t&&\"undefined\"!=typeof Promise&&(t=Promise),\"function\"!=typeof t&&(r=!0),Array.isArray(e)||(e=[e]);for(var n=0;n=0)return a++,void setTimeout(c,i+(e.retryAfter||0))}r(e)},c=function(){var t=\"\";n.handleRequest(e,s,function(e){e.on(\"data\",function(e){t+=e.toString()}),e.on(\"end\",function(){var n=e.statusCode;if(n<300)r(null,t);else{var i=1e3*parseInt(e.headers[\"retry-after\"],10)||0,s=o.error(new Error,{statusCode:n,retryable:n>=500||429===n});i&&s.retryable&&(s.retryAfter=i),u(s)}})},u)};i.util.defer(c)},uuid:{v4:function(){return e(\"uuid\").v4()}},convertPayloadToString:function(e){var t=e.request,r=t.operation,n=t.service.api.operations[r].output||{};n.payload&&e.data[n.payload]&&(e.data[n.payload]=e.data[n.payload].toString())},defer:function(e){\"object\"==typeof r&&\"function\"==typeof r.nextTick?r.nextTick(e):\"function\"==typeof n?n(e):setTimeout(e,0)},getRequestPayloadShape:function(e){var t=e.service.api.operations;if(t){var r=(t||{})[e.operation];if(r&&r.input&&r.input.payload)return r.input.members[r.input.payload]}},getProfilesFromSharedConfig:function(e,t){function n(e,t){for(var r=0,n=Object.keys(t);r=6},parse:function(e){var t=e.split(\":\");return{partition:t[1],service:t[2],region:t[3],accountId:t[4],resource:t.slice(5).join(\":\")}},build:function(e){if(void 0===e.service||void 0===e.region||void 0===e.accountId||void 0===e.resource)throw o.error(new Error(\"Input ARN object is invalid\"));return\"arn:\"+(e.partition||\"aws\")+\":\"+e.service+\":\"+e.region+\":\"+e.accountId+\":\"+e.resource}},defaultProfile:\"default\",configOptInEnv:\"AWS_SDK_LOAD_CONFIG\",sharedCredentialsFileEnv:\"AWS_SHARED_CREDENTIALS_FILE\",sharedConfigFileEnv:\"AWS_CONFIG_FILE\",imdsDisabledEnv:\"AWS_EC2_METADATA_DISABLED\"};t.exports=o}).call(this)}).call(this,e(\"_process\"),e(\"timers\").setImmediate)},{\"../apis/metadata.json\":5,\"./core\":20,_process:87,fs:81,timers:95,uuid:100}],74:[function(e,t,r){function n(){}function i(e,t){for(var r=e.getElementsByTagName(t),n=0,i=r.length;n0||n?o.toString():\"\"},t.exports=n},{\"../util\":73,\"./xml-node\":78,\"./xml-text\":79}],76:[function(e,t,r){function n(e){return e.replace(/&/g,\"&\").replace(/'/g,\"'\").replace(//g,\">\").replace(/\"/g,\""\")}t.exports={escapeAttribute:n}},{}],77:[function(e,t,r){function n(e){return e.replace(/&/g,\"&\").replace(//g,\">\")}t.exports={escapeElement:n}},{}],78:[function(e,t,r){function n(e,t){void 0===t&&(t=[]),this.name=e,this.children=t,this.attributes={}}var i=e(\"./escape-attribute\").escapeAttribute;n.prototype.addAttribute=function(e,t){return this.attributes[e]=t,this},n.prototype.addChildNode=function(e){return this.children.push(e),this},n.prototype.removeAttribute=function(e){return delete this.attributes[e],this},n.prototype.toString=function(){for(var e=Boolean(this.children.length),t=\"<\"+this.name,r=this.attributes,n=0,o=Object.keys(r);n\"+this.children.map(function(e){return e.toString()}).join(\"\")+\"\":\"/>\"},t.exports={XmlNode:n}},{\"./escape-attribute\":76}],79:[function(e,t,r){function n(e){this.value=e}var i=e(\"./escape-element\").escapeElement;n.prototype.toString=function(){return i(\"\"+this.value)},t.exports={XmlText:n}},{\"./escape-element\":77}],80:[function(e,t,r){\"use strict\";function n(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var r=e.indexOf(\"=\");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function i(e){var t=n(e),r=t[0],i=t[1];return 3*(r+i)/4-i}function o(e,t,r){return 3*(t+r)/4-r}function s(e){var t,r,i=n(e),s=i[0],a=i[1],u=new h(o(e,s,a)),c=0,l=a>0?s-4:s;for(r=0;r>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===a&&(t=p[e.charCodeAt(r)]<<2|p[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===a&&(t=p[e.charCodeAt(r)]<<10|p[e.charCodeAt(r+1)]<<4|p[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function u(e,t,r){for(var n,i=[],o=t;os?s:o+16383));return 1===n?(t=e[r-1],i.push(l[t>>2]+l[t<<4&63]+\"==\")):2===n&&(t=(e[r-2]<<8)+e[r-1],i.push(l[t>>10]+l[t>>4&63]+l[t<<2&63]+\"=\")),i.join(\"\")}r.byteLength=i,r.toByteArray=s,r.fromByteArray=c;for(var l=[],p=[],h=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,f=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",d=0,m=f.length;d=n())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+n().toString(16)+\" bytes\");return 0|e}function m(e){return+e!=e&&(e=0),o.alloc(+e)}function v(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 r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return r;case\"utf8\":case\"utf-8\":case void 0:return V(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*r;case\"hex\":return r>>>1;case\"base64\":return X(e).length;default:if(n)return V(e).length;t=(\"\"+t).toLowerCase(),n=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return\"\";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return\"\";if(r>>>=0,t>>>=0,r<=t)return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return q(this,t,r);case\"utf8\":case\"utf-8\":return T(this,t,r);case\"ascii\":return k(this,t,r);case\"latin1\":case\"binary\":return P(this,t,r);case\"base64\":return x(this,t,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return L(this,t,r);default:if(n)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function b(e,t,r,n,i){if(0===e.length)return-1;if(\"string\"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if(\"string\"==typeof t&&(t=o.from(t,n)),o.isBuffer(t))return 0===t.length?-1:w(e,t,r,n,i);if(\"number\"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):w(e,[t],r,n,i);throw new TypeError(\"val must be string, number or Buffer\")}function w(e,t,r,n,i){function o(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}var s=1,a=e.length,u=t.length;if(void 0!==n&&(\"ucs2\"===(n=String(n).toLowerCase())||\"ucs-2\"===n||\"utf16le\"===n||\"utf-16le\"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,u/=2,r/=2}var c;if(i){var l=-1;for(c=r;ca&&(r=a-u),c=r;c>=0;c--){for(var p=!0,h=0;hi&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");n>o/2&&(n=o/2);for(var s=0;s239?4:o>223?3:o>191?2:1;if(i+a<=r){var u,c,l,p;switch(a){case 1:o<128&&(s=o);break;case 2:u=e[i+1],128==(192&u)&&(p=(31&o)<<6|63&u)>127&&(s=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)&&(s=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&&(s=p)}}null===s?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|1023&s),n.push(s),i+=a}return I(n)}function I(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var r=\"\",n=0;nn)&&(r=n);for(var i=\"\",o=t;or)throw new RangeError(\"Trying to access beyond buffer length\")}function N(e,t,r,n,i,s){if(!o.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError(\"Index out of range\")}function U(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i>>8*(n?i:1-i)}function D(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i>>8*(n?i:3-i)&255}function M(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError(\"Index out of range\");if(r<0)throw new RangeError(\"Index out of range\")}function j(e,t,r,n,i){return i||M(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||M(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,r,n,52,8),r+8}function F(e){if(e=z(e).replace(ee,\"\"),e.length<2)return\"\";for(;e.length%4!=0;)e+=\"=\";return e}function z(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,\"\")}function H(e){return e<16?\"0\"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],s=0;s55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function W(e){for(var t=[],r=0;r>8,i=r%256,o.push(i),o.push(n);return o}function X(e){return J.toByteArray(F(e))}function G(e,t,r,n){for(var i=0;i=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function Y(e){return e!==e}var J=e(\"base64-js\"),Z=e(\"ieee754\"),$=e(\"isarray\");r.Buffer=o,r.SlowBuffer=m,r.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.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}}(),r.kMaxLength=n(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,r){return s(null,e,t,r)},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,r){return u(null,e,t,r)},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 r=e.length,n=t.length,i=0,s=Math.min(r,n);i0&&(e=this.toString(\"hex\",0,t).match(/.{2}/g).join(\" \"),this.length>t&&(e+=\" ... \")),\"\"},o.prototype.compare=function(e,t,r,n,i){if(!o.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError(\"out of range index\");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,u=Math.min(s,a),c=this.slice(n,i),l=e.slice(t,r),p=0;pi)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");n||(n=\"utf8\");for(var o=!1;;)switch(n){case\"hex\":return E(this,e,t,r);case\"utf8\":case\"utf-8\":return S(this,e,t,r);case\"ascii\":return _(this,e,t,r);case\"latin1\":case\"binary\":return C(this,e,t,r);case\"base64\":return A(this,e,t,r);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return R(this,e,t,r);default:if(o)throw new TypeError(\"Unknown encoding: \"+n);n=(\"\"+n).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(i*=256);)n+=this[e+--t]*i;return n},o.prototype.readUInt8=function(e,t){return t||O(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||O(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||O(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||O(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||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||O(e,t,this.length);for(var n=this[e],i=1,o=0;++o=i&&(n-=Math.pow(2,8*t)),n},o.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||O(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||O(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt16BE=function(e,t){t||O(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},o.prototype.readInt32LE=function(e,t){return t||O(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||O(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||O(e,4,this.length),Z.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||O(e,4,this.length),Z.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||O(e,8,this.length),Z.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||O(e,8,this.length),Z.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){N(this,e,t,r,Math.pow(2,8*r)-1,0)}var i=1,o=0;for(this[t]=255&e;++o=0&&(o*=256);)this[t+i]=e/o&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||N(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,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);N(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o>0)-a&255;return t+r},o.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);N(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||N(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,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):U(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||N(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):U(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||N(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):D(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,r){return j(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return j(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError(\"sourceStart out of bounds\");if(n<0)throw new RangeError(\"sourceEnd out of bounds\");n>this.length&&(n=this.length),e.length-t=0;--i)e[i+t]=this[i+r];else if(s<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,e||(e=0);var s;if(\"number\"==typeof e)for(s=t;s0&&this._events[e].length>r&&(this._events[e].warned=!0,\nconsole.error(\"(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.\",this._events[e].length),\"function\"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}if(!i(t))throw TypeError(\"listener must be a function\");var n=!1;return r.listener=t,this.on(e,r),this},n.prototype.removeListener=function(e,t){var r,n,o,a;if(!i(t))throw TypeError(\"listener must be a function\");if(!this._events||!this._events[e])return this;if(r=this._events[e],o=r.length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit(\"removeListener\",e,t);else if(s(r)){for(a=o;a-- >0;)if(r[a]===t||r[a].listener&&r[a].listener===t){n=a;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit(\"removeListener\",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)\"removeListener\"!==t&&this.removeAllListeners(t);return this.removeAllListeners(\"removeListener\"),this._events={},this}if(r=this._events[e],i(r))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},{}],84:[function(e,t,r){r.read=function(e,t,r,n,i){var o,s,a=8*i-n-1,u=(1<>1,l=-7,p=r?i-1:0,h=r?-1:1,f=e[t+p];for(p+=h,o=f&(1<<-l)-1,f>>=-l,l+=a;l>0;o=256*o+e[t+p],p+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=n;l>0;s=256*s+e[t+p],p+=h,l-=8);if(0===o)o=1-c;else{if(o===u)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,n),o-=c}return(f?-1:1)*s*Math.pow(2,o-n)},r.write=function(e,t,r,n,i,o){var s,a,u,c=8*o-i-1,l=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,d=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-s))<1&&(s--,u*=2),t+=s+p>=1?h/u:h*Math.pow(2,1-p),t*u>=2&&(s++,u/=2),s+p>=l?(a=0,s=l):s+p>=1?(a=(t*u-1)*Math.pow(2,i),s+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,i),s=0));i>=8;e[r+f]=255&a,f+=d,a/=256,i-=8);for(s=s<0;e[r+f]=255&s,f+=d,s/=256,c-=8);e[r+f-d]|=128*m}},{}],85:[function(e,t,r){var n={}.toString;t.exports=Array.isArray||function(e){return\"[object Array]\"==n.call(e)}},{}],86:[function(e,t,r){!function(e){\"use strict\";function t(e){return null!==e&&\"[object Array]\"===Object.prototype.toString.call(e)}function r(e){return null!==e&&\"[object Object]\"===Object.prototype.toString.call(e)}function n(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var o=0;o=\"a\"&&e<=\"z\"||e>=\"A\"&&e<=\"Z\"||\"_\"===e}function a(e){return e>=\"0\"&&e<=\"9\"||\"-\"===e}function u(e){return e>=\"a\"&&e<=\"z\"||e>=\"A\"&&e<=\"Z\"||e>=\"0\"&&e<=\"9\"||\"_\"===e}function c(){}function l(){}function p(e){this.runtime=e}function h(e){this._interpreter=e,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[g]}]},avg:{_func:this._functionAvg,_signature:[{types:[_]}]},ceil:{_func:this._functionCeil,_signature:[{types:[g]}]},contains:{_func:this._functionContains,_signature:[{types:[b,w]},{types:[y]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[b]},{types:[b]}]},floor:{_func:this._functionFloor,_signature:[{types:[g]}]},length:{_func:this._functionLength,_signature:[{types:[b,w,E]}]},map:{_func:this._functionMap,_signature:[{types:[S]},{types:[w]}]},max:{_func:this._functionMax,_signature:[{types:[_,C]}]},merge:{_func:this._functionMerge,_signature:[{types:[E],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[w]},{types:[S]}]},sum:{_func:this._functionSum,_signature:[{types:[_]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[b]},{types:[b]}]},min:{_func:this._functionMin,_signature:[{types:[_,C]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[w]},{types:[S]}]},type:{_func:this._functionType,_signature:[{types:[y]}]},keys:{_func:this._functionKeys,_signature:[{types:[E]}]},values:{_func:this._functionValues,_signature:[{types:[E]}]},sort:{_func:this._functionSort,_signature:[{types:[C,_]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[w]},{types:[S]}]},join:{_func:this._functionJoin,_signature:[{types:[b]},{types:[C]}]},reverse:{_func:this._functionReverse,_signature:[{types:[b,w]}]},to_array:{_func:this._functionToArray,_signature:[{types:[y]}]},to_string:{_func:this._functionToString,_signature:[{types:[y]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[y]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[y],variadic:!0}]}}}function f(e){return(new l).parse(e)}function d(e){return(new c).tokenize(e)}function m(e,t){var r=new l,n=new h,i=new p(n);n._interpreter=i;var o=r.parse(t);return i.search(o,e)}var v;v=\"function\"==typeof String.prototype.trimLeft?function(e){return e.trimLeft()}:function(e){return e.match(/^\\s*(.*)/)[1]};var g=0,y=1,b=2,w=3,E=4,S=6,_=8,C=9,A={\".\":\"Dot\",\"*\":\"Star\",\",\":\"Comma\",\":\":\"Colon\",\"{\":\"Lbrace\",\"}\":\"Rbrace\",\"]\":\"Rbracket\",\"(\":\"Lparen\",\")\":\"Rparen\",\"@\":\"Current\"},R={\"<\":!0,\">\":!0,\"=\":!0,\"!\":!0},x={\" \":!0,\"\\t\":!0,\"\\n\":!0};c.prototype={tokenize:function(e){var t=[];this._current=0;for(var r,n,i;this._current\"===r?\"=\"===e[this._current]?(this._current++,{type:\"GTE\",value:\">=\",start:t}):{type:\"GT\",value:\">\",start:t}:\"=\"===r&&\"=\"===e[this._current]?(this._current++,{type:\"EQ\",value:\"==\",start:t}):void 0},_consumeLiteral:function(e){this._current++;for(var t,r=this._current,n=e.length;\"`\"!==e[this._current]&&this._current=0)return!0;if(r.indexOf(e)>=0)return!0;if(!(n.indexOf(e[0])>=0))return!1;try{return JSON.parse(e),!0}catch(e){return!1}}};var T={};T.EOF=0,T.UnquotedIdentifier=0,T.QuotedIdentifier=0,T.Rbracket=0,T.Rparen=0,T.Comma=0,T.Rbrace=0,T.Number=0,T.Current=0,T.Expref=0,T.Pipe=1,T.Or=2,T.And=3,T.EQ=5,T.GT=5,T.LT=5,T.GTE=5,T.LTE=5,T.NE=5,T.Flatten=9,T.Star=20,T.Filter=21,T.Dot=40,T.Not=45,T.Lbrace=50,T.Lbracket=55,T.Lparen=60,l.prototype={parse:function(e){this._loadTokens(e),this.index=0;var t=this.expression(0);if(\"EOF\"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error(\"Unexpected token type: \"+r.type+\", value: \"+r.value);throw n.name=\"ParserError\",n}return t},_loadTokens:function(e){var t=new c,r=t.tokenize(e);r.push({type:\"EOF\",value:\"\",start:e.length}),this.tokens=r},expression:function(e){var t=this._lookaheadToken(0);this._advance();for(var r=this.nud(t),n=this._lookahead(0);e=0?this.expression(e):\"Lbracket\"===t?(this._match(\"Lbracket\"),this._parseMultiselectList()):\"Lbrace\"===t?(this._match(\"Lbrace\"),this._parseMultiselectHash()):void 0},_parseProjectionRHS:function(e){var t;if(T[this._lookahead(0)]<10)t={type:\"Identity\"};else if(\"Lbracket\"===this._lookahead(0))t=this.expression(e);else if(\"Filter\"===this._lookahead(0))t=this.expression(e);else{if(\"Dot\"!==this._lookahead(0)){var r=this._lookaheadToken(0),n=new Error(\"Sytanx error, unexpected token: \"+r.value+\"(\"+r.type+\")\");throw n.name=\"ParserError\",n}this._match(\"Dot\"),t=this._parseDotRHS(e)}return t},_parseMultiselectList:function(){for(var e=[];\"Rbracket\"!==this._lookahead(0);){var t=this.expression(0);if(e.push(t),\"Comma\"===this._lookahead(0)&&(this._match(\"Comma\"),\"Rbracket\"===this._lookahead(0)))throw new Error(\"Unexpected token Rbracket\")}return this._match(\"Rbracket\"),{type:\"MultiSelectList\",children:e}},_parseMultiselectHash:function(){for(var e,t,r,n,i=[],o=[\"UnquotedIdentifier\",\"QuotedIdentifier\"];;){if(e=this._lookaheadToken(0),o.indexOf(e.type)<0)throw new Error(\"Expecting an identifier token, got: \"+e.type);if(t=e.value,this._advance(),this._match(\"Colon\"),r=this.expression(0),n={type:\"KeyValuePair\",name:t,value:r},i.push(n),\"Comma\"===this._lookahead(0))this._match(\"Comma\");else if(\"Rbrace\"===this._lookahead(0)){this._match(\"Rbrace\");break}}return{type:\"MultiSelectHash\",children:i}}},p.prototype={search:function(e,t){return this.visit(e,t)},visit:function(e,s){var a,u,c,l,p,h,f,d,m;switch(e.type){case\"Field\":return null===s?null:r(s)?(h=s[e.name],void 0===h?null:h):null;case\"Subexpression\":for(c=this.visit(e.children[0],s),m=1;m0)for(m=b;mw;m+=E)c.push(s[m]);return c;case\"Projection\":var S=this.visit(e.children[0],s);if(!t(S))return null;for(d=[],m=0;mp;break;case\"GTE\":c=l>=p;break;case\"LT\":c=l=e&&(t=r<0?e-1:e),t}},h.prototype={callFunction:function(e,t){var r=this.functionTable[e];if(void 0===r)throw new Error(\"Unknown function: \"+e+\"()\");return this._validateArgs(e,t,r._signature),r._func.call(this,t)},_validateArgs:function(e,t,r){var n;if(r[r.length-1].variadic){if(t.length=0;n--)r+=t[n];return r}var i=e[0].slice(0);return i.reverse(),i},_functionAbs:function(e){return Math.abs(e[0])},_functionCeil:function(e){return Math.ceil(e[0])},_functionAvg:function(e){for(var t=0,r=e[0],n=0;n=0},_functionFloor:function(e){return Math.floor(e[0])},_functionLength:function(e){return r(e[0])?Object.keys(e[0]).length:e[0].length},_functionMap:function(e){for(var t=[],r=this._interpreter,n=e[0],i=e[1],o=0;o0){if(this._getTypeName(e[0][0])===g)return Math.max.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;n0){if(this._getTypeName(e[0][0])===g)return Math.min.apply(Math,e[0]);for(var t=e[0],r=t[0],n=1;na?1:ss&&(s=r,t=i[a]);return t},_functionMinBy:function(e){for(var t,r,n=e[1],i=e[0],o=this.createKeyFunction(n,[g,b]),s=1/0,a=0;a1)for(var r=1;r1&&(n=r[0]+\"@\",e=r[1]),e=e.replace(q,\".\"),n+o(e.split(\".\"),t).join(\".\")}function a(e){for(var t,r,n=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=U(e>>>10&1023|55296),e=56320|1023&e),t+=U(e)}).join(\"\")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:S}function l(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function p(e,t,r){var n=0;for(e=r?N(e/R):e>>1,e+=N(e/t);e>O*C>>1;n+=S)e=N(e/O);return N(n+(O+1)*e/(e+A))}function h(e){var t,r,n,o,s,a,l,h,f,d,m=[],v=e.length,g=0,y=T,b=x;for(r=e.lastIndexOf(I),r<0&&(r=0),n=0;n=128&&i(\"not-basic\"),m.push(e.charCodeAt(n));for(o=r>0?r+1:0;o=v&&i(\"invalid-input\"),h=c(e.charCodeAt(o++)),(h>=S||h>N((E-g)/a))&&i(\"overflow\"),g+=h*a,f=l<=b?_:l>=b+C?C:l-b,!(hN(E/d)&&i(\"overflow\"),a*=d;t=m.length+1,b=p(g-s,t,0==s),N(g/t)>E-y&&i(\"overflow\"),y+=N(g/t),g%=t,m.splice(g++,0,y)}return u(m)}function f(e){var t,r,n,o,s,u,c,h,f,d,m,v,g,y,b,w=[];for(e=a(e),v=e.length,t=T,r=0,s=x,u=0;u=t&&mN((E-r)/g)&&i(\"overflow\"),r+=(c-t)*g,t=c,u=0;uE&&i(\"overflow\"),m==t){for(h=r,f=S;d=f<=s?_:f>=s+C?C:f-s,!(h= 0x80 (not a basic code point)\",\"invalid-input\":\"Invalid input\"},O=S-_,N=Math.floor,U=String.fromCharCode;if(b={version:\"1.3.2\",ucs2:{decode:a,encode:u},decode:h,encode:f,toASCII:m,toUnicode:d},\"function\"==typeof define&&\"object\"==typeof define.amd&&define.amd)define(\"punycode\",function(){return b});else if(v&&g)if(t.exports==v)g.exports=b;else for(w in b)b.hasOwnProperty(w)&&(v[w]=b[w]);else n.punycode=b}(this)}).call(this)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],89:[function(e,t,r){\"use strict\";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,r,o){t=t||\"&\",r=r||\"=\";var s={};if(\"string\"!=typeof e||0===e.length)return s;var a=/\\+/g;e=e.split(t);var u=1e3;o&&\"number\"==typeof o.maxKeys&&(u=o.maxKeys);var c=e.length;u>0&&c>u&&(c=u);for(var l=0;l=0?(p=m.substr(0,v),h=m.substr(v+1)):(p=m,h=\"\"),f=decodeURIComponent(p),d=decodeURIComponent(h),n(s,f)?i(s[f])?s[f].push(d):s[f]=[s[f],d]:s[f]=d}return s};var i=Array.isArray||function(e){return\"[object Array]\"===Object.prototype.toString.call(e)}},{}],90:[function(e,t,r){\"use strict\";function n(e,t){if(e.map)return e.map(t);for(var r=[],n=0;n0&&u>a&&(u=a);for(var c=0;c=0?(l=d.substr(0,m),p=d.substr(m+1)):(l=d,p=\"\"),h=decodeURIComponent(l),f=decodeURIComponent(p),n(o,h)?Array.isArray(o[h])?o[h].push(f):o[h]=[o[h],f]:o[h]=f}return o}},{}],93:[function(e,t,r){\"use strict\";var n=function(e){switch(typeof e){case\"string\":return e;case\"boolean\":return e?\"true\":\"false\";case\"number\":return isFinite(e)?e:\"\";default:return\"\"}};t.exports=function(e,t,r,i){return t=t||\"&\",r=r||\"=\",null===e&&(e=void 0),\"object\"==typeof e?Object.keys(e).map(function(i){var o=encodeURIComponent(n(i))+r;return Array.isArray(e[i])?e[i].map(function(e){return o+encodeURIComponent(n(e))}).join(t):o+encodeURIComponent(n(e[i]))}).join(t):i?encodeURIComponent(n(i))+r+encodeURIComponent(n(e)):\"\"}\n},{}],94:[function(e,t,r){arguments[4][91][0].apply(r,arguments)},{\"./decode\":92,\"./encode\":93,dup:91}],95:[function(e,t,r){(function(t,n){(function(){function i(e,t){this._id=e,this._clearFn=t}var o=e(\"process/browser.js\").nextTick,s=Function.prototype.apply,a=Array.prototype.slice,u={},c=0;r.setTimeout=function(){return new i(s.call(setTimeout,window,arguments),clearTimeout)},r.setInterval=function(){return new i(s.call(setInterval,window,arguments),clearInterval)},r.clearTimeout=r.clearInterval=function(e){e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},r.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},r.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},r._unrefActive=r.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},r.setImmediate=\"function\"==typeof t?t:function(e){var t=c++,n=!(arguments.length<2)&&a.call(arguments,1);return u[t]=!0,o(function(){u[t]&&(n?e.apply(null,n):e.call(null),r.clearImmediate(t))}),t},r.clearImmediate=\"function\"==typeof n?n:function(e){delete u[e]}}).call(this)}).call(this,e(\"timers\").setImmediate,e(\"timers\").clearImmediate)},{\"process/browser.js\":87,timers:95}],96:[function(e,t,r){function n(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,r){if(e&&c(e)&&e instanceof n)return e;var i=new n;return i.parse(e,t,r),i}function o(e){return u(e)&&(e=i(e)),e instanceof n?e.format():n.prototype.format.call(e)}function s(e,t){return i(e,!1,!0).resolve(t)}function a(e,t){return e?i(e,!1,!0).resolveObject(t):t}function u(e){return\"string\"==typeof e}function c(e){return\"object\"==typeof e&&null!==e}function l(e){return null===e}function p(e){return null==e}var h=e(\"punycode\");r.parse=i,r.resolve=s,r.resolveObject=a,r.format=o,r.Url=n;var f=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,m=[\"<\",\">\",'\"',\"`\",\" \",\"\\r\",\"\\n\",\"\\t\"],v=[\"{\",\"}\",\"|\",\"\\\\\",\"^\",\"`\"].concat(m),g=[\"'\"].concat(v),y=[\"%\",\"/\",\"?\",\";\",\"#\"].concat(g),b=[\"/\",\"?\",\"#\"],w=/^[a-z0-9A-Z_-]{0,63}$/,E=/^([a-z0-9A-Z_-]{0,63})(.*)$/,S={javascript:!0,\"javascript:\":!0},_={javascript:!0,\"javascript:\":!0},C={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,\"http:\":!0,\"https:\":!0,\"ftp:\":!0,\"gopher:\":!0,\"file:\":!0},A=e(\"querystring\");n.prototype.parse=function(e,t,r){if(!u(e))throw new TypeError(\"Parameter 'url' must be a string, not \"+typeof e);var n=e;n=n.trim();var i=f.exec(n);if(i){i=i[0];var o=i.toLowerCase();this.protocol=o,n=n.substr(i.length)}if(r||i||n.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)){var s=\"//\"===n.substr(0,2);!s||i&&_[i]||(n=n.substr(2),this.slashes=!0)}if(!_[i]&&(s||i&&!C[i])){for(var a=-1,c=0;c127?T+=\"x\":T+=x[I];if(!T.match(w)){var P=v.slice(0,c),q=v.slice(c+1),L=x.match(E);L&&(P.push(L[1]),q.unshift(L[2])),q.length&&(n=\"/\"+q.join(\".\")+n),this.hostname=P.join(\".\");break}}}if(this.hostname.length>255?this.hostname=\"\":this.hostname=this.hostname.toLowerCase(),!m){for(var O=this.hostname.split(\".\"),N=[],c=0;c0)&&r.host.split(\"@\");v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return r.search=e.search,r.query=e.query,l(r.pathname)&&l(r.search)||(r.path=(r.pathname?r.pathname:\"\")+(r.search?r.search:\"\")),r.href=r.format(),r}if(!d.length)return r.pathname=null,r.search?r.path=\"/\"+r.search:r.path=null,r.href=r.format(),r;for(var g=d.slice(-1)[0],y=(r.host||e.host)&&(\".\"===g||\"..\"===g)||\"\"===g,b=0,w=d.length;w>=0;w--)g=d[w],\".\"==g?d.splice(w,1):\"..\"===g?(d.splice(w,1),b++):b&&(d.splice(w,1),b--);if(!h&&!f)for(;b--;b)d.unshift(\"..\");!h||\"\"===d[0]||d[0]&&\"/\"===d[0].charAt(0)||d.unshift(\"\"),y&&\"/\"!==d.join(\"/\").substr(-1)&&d.push(\"\");var E=\"\"===d[0]||d[0]&&\"/\"===d[0].charAt(0);if(m){r.hostname=r.host=E?\"\":d.length?d.shift():\"\";var v=!!(r.host&&r.host.indexOf(\"@\")>0)&&r.host.split(\"@\");v&&(r.auth=v.shift(),r.host=r.hostname=v.shift())}return h=h||r.host&&d.length,h&&!E&&d.unshift(\"\"),d.length?r.pathname=d.join(\"/\"):(r.pathname=null,r.path=null),l(r.pathname)&&l(r.search)||(r.path=(r.pathname?r.pathname:\"\")+(r.search?r.search:\"\")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},n.prototype.parseHost=function(){var e=this.host,t=d.exec(e);t&&(t=t[0],\":\"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{punycode:88,querystring:91}],97:[function(e,t,r){\"function\"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],98:[function(e,t,r){t.exports=function(e){return e&&\"object\"==typeof e&&\"function\"==typeof e.copy&&\"function\"==typeof e.fill&&\"function\"==typeof e.readUInt8}},{}],99:[function(e,t,r){(function(t,n){(function(){function i(e,t){var n={seen:[],stylize:s};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),E(n.showHidden)&&(n.showHidden=!1),E(n.depth)&&(n.depth=2),E(n.colors)&&(n.colors=!1),E(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),u(n,e,n.depth)}function o(e,t){var r=i.styles[t];return r?\"\u001b[\"+i.colors[r][0]+\"m\"+e+\"\u001b[\"+i.colors[r][1]+\"m\":e}function s(e,t){return e}function a(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function u(e,t,n){if(e.customInspect&&t&&R(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return b(i)||(i=u(e,i,n)),i}var o=c(e,t);if(o)return o;var s=Object.keys(t),m=a(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(t)),A(t)&&(s.indexOf(\"message\")>=0||s.indexOf(\"description\")>=0))return l(t);if(0===s.length){if(R(t)){var v=t.name?\": \"+t.name:\"\";return e.stylize(\"[Function\"+v+\"]\",\"special\")}if(S(t))return e.stylize(RegExp.prototype.toString.call(t),\"regexp\");if(C(t))return e.stylize(Date.prototype.toString.call(t),\"date\");if(A(t))return l(t)}var g=\"\",y=!1,w=[\"{\",\"}\"];if(d(t)&&(y=!0,w=[\"[\",\"]\"]),R(t)){g=\" [Function\"+(t.name?\": \"+t.name:\"\")+\"]\"}if(S(t)&&(g=\" \"+RegExp.prototype.toString.call(t)),C(t)&&(g=\" \"+Date.prototype.toUTCString.call(t)),A(t)&&(g=\" \"+l(t)),0===s.length&&(!y||0==t.length))return w[0]+g+w[1];if(n<0)return S(t)?e.stylize(RegExp.prototype.toString.call(t),\"regexp\"):e.stylize(\"[Object]\",\"special\");e.seen.push(t);var E;return E=y?p(e,t,n,m,s):s.map(function(r){return h(e,t,n,m,r,y)}),e.seen.pop(),f(E,g,w)}function c(e,t){if(E(t))return e.stylize(\"undefined\",\"undefined\");if(b(t)){var r=\"'\"+JSON.stringify(t).replace(/^\"|\"$/g,\"\").replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"')+\"'\";return e.stylize(r,\"string\")}return y(t)?e.stylize(\"\"+t,\"number\"):m(t)?e.stylize(\"\"+t,\"boolean\"):v(t)?e.stylize(\"null\",\"null\"):void 0}function l(e){return\"[\"+Error.prototype.toString.call(e)+\"]\"}function p(e,t,r,n,i){for(var o=[],s=0,a=t.length;s-1&&(a=o?a.split(\"\\n\").map(function(e){return\" \"+e}).join(\"\\n\").substr(2):\"\\n\"+a.split(\"\\n\").map(function(e){return\" \"+e}).join(\"\\n\"))):a=e.stylize(\"[Circular]\",\"special\")),E(s)){if(o&&i.match(/^\\d+$/))return a;s=JSON.stringify(\"\"+i),s.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,\"name\")):(s=s.replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\"),s=e.stylize(s,\"string\"))}return s+\": \"+a}function f(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf(\"\\n\")>=0&&n++,e+t.replace(/\\u001b\\[\\d\\d?m/g,\"\").length+1},0)>60?r[0]+(\"\"===t?\"\":t+\"\\n \")+\" \"+e.join(\",\\n \")+\" \"+r[1]:r[0]+t+\" \"+e.join(\", \")+\" \"+r[1]}function d(e){return Array.isArray(e)}function m(e){return\"boolean\"==typeof e}function v(e){return null===e}function g(e){return null==e}function y(e){return\"number\"==typeof e}function b(e){return\"string\"==typeof e}function w(e){return\"symbol\"==typeof e}function E(e){return void 0===e}function S(e){return _(e)&&\"[object RegExp]\"===T(e)}function _(e){return\"object\"==typeof e&&null!==e}function C(e){return _(e)&&\"[object Date]\"===T(e)}function A(e){return _(e)&&(\"[object Error]\"===T(e)||e instanceof Error)}function R(e){return\"function\"==typeof e}function x(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e}function T(e){return Object.prototype.toString.call(e)}function I(e){return e<10?\"0\"+e.toString(10):e.toString(10)}function k(){var e=new Date,t=[I(e.getHours()),I(e.getMinutes()),I(e.getSeconds())].join(\":\");return[e.getDate(),N[e.getMonth()],t].join(\" \")}function P(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var q=/%[sdj%]/g;r.format=function(e){if(!b(e)){for(var t=[],r=0;r=o)return e;switch(e){case\"%s\":return String(n[r++]);case\"%d\":return Number(n[r++]);case\"%j\":try{return JSON.stringify(n[r++])}catch(e){return\"[Circular]\"}default:return e}}),a=n[r];r>>((3&t)<<3)&255;return o}}},{}],103:[function(e,t,r){function n(e,t,r){var n=t&&r||0,l=t||[];e=e||{};var p=e.node||i,h=void 0!==e.clockseq?e.clockseq:o;if(null==p||null==h){var f=s();null==p&&(p=i=[1|f[0],f[1],f[2],f[3],f[4],f[5]]),null==h&&(h=o=16383&(f[6]<<8|f[7]))}var d=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,v=d-u+(m-c)/1e4;if(v<0&&void 0===e.clockseq&&(h=h+1&16383),(v<0||d>u)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");u=d,c=m,o=h,d+=122192928e5;var g=(1e4*(268435455&d)+m)%4294967296;l[n++]=g>>>24&255,l[n++]=g>>>16&255,l[n++]=g>>>8&255,l[n++]=255&g;var y=d/4294967296*1e4&268435455;l[n++]=y>>>8&255,l[n++]=255&y,l[n++]=y>>>24&15|16,l[n++]=y>>>16&255,l[n++]=h>>>8|128,l[n++]=255&h;for(var b=0;b<6;++b)l[n+b]=p[b];return t||a(l)}var i,o,s=e(\"./lib/rng\"),a=e(\"./lib/bytesToUuid\"),u=0,c=0;t.exports=n},{\"./lib/bytesToUuid\":101,\"./lib/rng\":102}],104:[function(e,t,r){function n(e,t,r){var n=t&&r||0;\"string\"==typeof e&&(t=\"binary\"===e?new Array(16):null,e=null),e=e||{};var s=e.random||(e.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[n+a]=s[a];return t||o(s)}var i=e(\"./lib/rng\"),o=e(\"./lib/bytesToUuid\");t.exports=n},{\"./lib/bytesToUuid\":101,\"./lib/rng\":102}],105:[function(e,t,r){\"use strict\";Object.defineProperty(r,\"__esModule\",{value:!0});var n=e(\"./utils/LRU\"),i=1e3,o=function(){function e(e){void 0===e&&(e=i),this.maxSize=e,this.cache=new n.LRUCache(e)}return Object.defineProperty(e.prototype,\"size\",{get:function(){return this.cache.length},enumerable:!0,configurable:!0}),e.prototype.put=function(t,r){var n=\"string\"!=typeof t?e.getKeyString(t):t,i=this.populateValue(r);this.cache.put(n,i)},e.prototype.get=function(t){var r=\"string\"!=typeof t?e.getKeyString(t):t,n=Date.now(),i=this.cache.get(r);if(i)for(var o=0;o= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\nmodule.exports = throttle;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","/* global window, exports, define */\n\n!function() {\n 'use strict'\n\n var re = {\n not_string: /[^s]/,\n not_bool: /[^t]/,\n not_type: /[^T]/,\n not_primitive: /[^v]/,\n number: /[diefg]/,\n numeric_arg: /[bcdiefguxX]/,\n json: /[j]/,\n not_json: /[^j]/,\n text: /^[^\\x25]+/,\n modulo: /^\\x25{2}/,\n placeholder: /^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|'[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,\n key: /^([a-z_][a-z_\\d]*)/i,\n key_access: /^\\.([a-z_][a-z_\\d]*)/i,\n index_access: /^\\[(\\d+)\\]/,\n sign: /^[+-]/\n }\n\n function sprintf(key) {\n // `arguments` is not an array, but should be fine for this call\n return sprintf_format(sprintf_parse(key), arguments)\n }\n\n function vsprintf(fmt, argv) {\n return sprintf.apply(null, [fmt].concat(argv || []))\n }\n\n function sprintf_format(parse_tree, argv) {\n var cursor = 1, tree_length = parse_tree.length, arg, output = '', i, k, ph, pad, pad_character, pad_length, is_positive, sign\n for (i = 0; i < tree_length; i++) {\n if (typeof parse_tree[i] === 'string') {\n output += parse_tree[i]\n }\n else if (typeof parse_tree[i] === 'object') {\n ph = parse_tree[i] // convenience purposes only\n if (ph.keys) { // keyword argument\n arg = argv[cursor]\n for (k = 0; k < ph.keys.length; k++) {\n if (arg == undefined) {\n throw new Error(sprintf('[sprintf] Cannot access property \"%s\" of undefined value \"%s\"', ph.keys[k], ph.keys[k-1]))\n }\n arg = arg[ph.keys[k]]\n }\n }\n else if (ph.param_no) { // positional argument (explicit)\n arg = argv[ph.param_no]\n }\n else { // positional argument (implicit)\n arg = argv[cursor++]\n }\n\n if (re.not_type.test(ph.type) && re.not_primitive.test(ph.type) && arg instanceof Function) {\n arg = arg()\n }\n\n if (re.numeric_arg.test(ph.type) && (typeof arg !== 'number' && isNaN(arg))) {\n throw new TypeError(sprintf('[sprintf] expecting number but found %T', arg))\n }\n\n if (re.number.test(ph.type)) {\n is_positive = arg >= 0\n }\n\n switch (ph.type) {\n case 'b':\n arg = parseInt(arg, 10).toString(2)\n break\n case 'c':\n arg = String.fromCharCode(parseInt(arg, 10))\n break\n case 'd':\n case 'i':\n arg = parseInt(arg, 10)\n break\n case 'j':\n arg = JSON.stringify(arg, null, ph.width ? parseInt(ph.width) : 0)\n break\n case 'e':\n arg = ph.precision ? parseFloat(arg).toExponential(ph.precision) : parseFloat(arg).toExponential()\n break\n case 'f':\n arg = ph.precision ? parseFloat(arg).toFixed(ph.precision) : parseFloat(arg)\n break\n case 'g':\n arg = ph.precision ? String(Number(arg.toPrecision(ph.precision))) : parseFloat(arg)\n break\n case 'o':\n arg = (parseInt(arg, 10) >>> 0).toString(8)\n break\n case 's':\n arg = String(arg)\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 't':\n arg = String(!!arg)\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 'T':\n arg = Object.prototype.toString.call(arg).slice(8, -1).toLowerCase()\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 'u':\n arg = parseInt(arg, 10) >>> 0\n break\n case 'v':\n arg = arg.valueOf()\n arg = (ph.precision ? arg.substring(0, ph.precision) : arg)\n break\n case 'x':\n arg = (parseInt(arg, 10) >>> 0).toString(16)\n break\n case 'X':\n arg = (parseInt(arg, 10) >>> 0).toString(16).toUpperCase()\n break\n }\n if (re.json.test(ph.type)) {\n output += arg\n }\n else {\n if (re.number.test(ph.type) && (!is_positive || ph.sign)) {\n sign = is_positive ? '+' : '-'\n arg = arg.toString().replace(re.sign, '')\n }\n else {\n sign = ''\n }\n pad_character = ph.pad_char ? ph.pad_char === '0' ? '0' : ph.pad_char.charAt(1) : ' '\n pad_length = ph.width - (sign + arg).length\n pad = ph.width ? (pad_length > 0 ? pad_character.repeat(pad_length) : '') : ''\n output += ph.align ? sign + arg + pad : (pad_character === '0' ? sign + pad + arg : pad + sign + arg)\n }\n }\n }\n return output\n }\n\n var sprintf_cache = Object.create(null)\n\n function sprintf_parse(fmt) {\n if (sprintf_cache[fmt]) {\n return sprintf_cache[fmt]\n }\n\n var _fmt = fmt, match, parse_tree = [], arg_names = 0\n while (_fmt) {\n if ((match = re.text.exec(_fmt)) !== null) {\n parse_tree.push(match[0])\n }\n else if ((match = re.modulo.exec(_fmt)) !== null) {\n parse_tree.push('%')\n }\n else if ((match = re.placeholder.exec(_fmt)) !== null) {\n if (match[2]) {\n arg_names |= 1\n var field_list = [], replacement_field = match[2], field_match = []\n if ((field_match = re.key.exec(replacement_field)) !== null) {\n field_list.push(field_match[1])\n while ((replacement_field = replacement_field.substring(field_match[0].length)) !== '') {\n if ((field_match = re.key_access.exec(replacement_field)) !== null) {\n field_list.push(field_match[1])\n }\n else if ((field_match = re.index_access.exec(replacement_field)) !== null) {\n field_list.push(field_match[1])\n }\n else {\n throw new SyntaxError('[sprintf] failed to parse named argument key')\n }\n }\n }\n else {\n throw new SyntaxError('[sprintf] failed to parse named argument key')\n }\n match[2] = field_list\n }\n else {\n arg_names |= 2\n }\n if (arg_names === 3) {\n throw new Error('[sprintf] mixing positional and named placeholders is not (yet) supported')\n }\n\n parse_tree.push(\n {\n placeholder: match[0],\n param_no: match[1],\n keys: match[2],\n sign: match[3],\n pad_char: match[4],\n align: match[5],\n width: match[6],\n precision: match[7],\n type: match[8]\n }\n )\n }\n else {\n throw new SyntaxError('[sprintf] unexpected placeholder')\n }\n _fmt = _fmt.substring(match[0].length)\n }\n return sprintf_cache[fmt] = parse_tree\n }\n\n /**\n * export to either browser or node.js\n */\n /* eslint-disable quote-props */\n if (typeof exports !== 'undefined') {\n exports['sprintf'] = sprintf\n exports['vsprintf'] = vsprintf\n }\n if (typeof window !== 'undefined') {\n window['sprintf'] = sprintf\n window['vsprintf'] = vsprintf\n\n if (typeof define === 'function' && define['amd']) {\n define(function() {\n return {\n 'sprintf': sprintf,\n 'vsprintf': vsprintf\n }\n })\n }\n }\n /* eslint-enable quote-props */\n}(); // eslint-disable-line\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","class ValueError extends Error {\n constructor(message) {\n super(message);\n this.name = \"ValueError\";\n }\n}\n\nclass UnImplementedMethodException extends Error {\n constructor(message) {\n super(message);\n this.name = \"UnImplementedMethod\";\n }\n}\n\nclass IllegalArgumentException extends Error {\n constructor(message, argument) {\n super(message);\n this.name = \"IllegalArgument\";\n this.argument = argument;\n }\n}\n\nclass IllegalStateException extends Error {\n constructor(message) {\n super(message);\n this.name = \"IllegalState\";\n }\n}\n\nclass IllegalJsonException extends Error {\n constructor(message, args) {\n super(message);\n this.name = \"IllegalState\";\n this.causeException = args.causeException;\n this.originalJsonString = args.originalJsonString;\n }\n}\n\nexport {\n UnImplementedMethodException,\n IllegalArgumentException,\n IllegalStateException,\n IllegalJsonException,\n ValueError\n};\n","class GlobalConfigImpl {\n constructor() {\n this.stage = \"prod\";\n this.region = \"us-west-2\";\n this.reconnect = true;\n let self = this;\n this.features = new Proxy([], {\n set: function(target, property, value) {\n console.log(\"new features added, initialValue: \"\n + target[property] + \" , newValue: \" + value, Array.isArray(target[property]));\n let oldVal = target[property];\n //fire change listeners\n if (Array.isArray(value)) {\n value.forEach(feature => {\n //if a new feature is added\n if (Array.isArray(oldVal) && oldVal.indexOf(feature) === -1 && \n Array.isArray(self.featureChangeListeners[feature])) {\n \n self.featureChangeListeners[feature].forEach(callback => callback());\n self._cleanFeatureChangeListener(feature);\n }\n });\n }\n //change the value in this.features object.\n target[property] = value;\n return true;\n }\n });\n this.featureChangeListeners = [];\n }\n update(configInput) {\n var config = configInput || {};\n this.stage = config.stage || this.stage;\n this.region = config.region || this.region;\n this.endpointOverride = config.endpoint || this.endpointOverride;\n this.reconnect = config.reconnect === false ? false : this.reconnect;\n this.messageReceiptThrottleTime = config.throttleTime ? config.throttleTime : 5000;\n this.features[\"values\"] = Array.isArray(config.features) ? [...config.features] : new Array();\n }\n\n updateStageRegion(config) {\n if (config) {\n this.stage = config.stage || this.stage;\n this.region = config.region || this.region;\n }\n }\n\n updateThrottleTime(throttleTime) {\n this.messageReceiptThrottleTime = throttleTime ? throttleTime : this.messageReceiptThrottleTime;\n }\n\n getMessageReceiptsThrottleTime() {\n return this.messageReceiptThrottleTime;\n }\n\n getStage() {\n return this.stage;\n }\n\n getRegion() {\n return this.region;\n }\n\n getEndpointOverride() {\n return this.endpointOverride;\n }\n\n setFeatureFlag(feature) {\n if(this.isFeatureEnabled(feature)) {\n return;\n }\n const featureValues = Array.isArray(this.features[\"values\"]) ? this.features[\"values\"] : [];\n this.features[\"values\"] = [...featureValues, feature];\n }\n\n //private method\n _registerFeatureChangeListener(feature, callback) {\n if (!this.featureChangeListeners[feature]) {\n this.featureChangeListeners[feature] = [];\n }\n this.featureChangeListeners[feature].push(callback);\n }\n\n //private method\n _cleanFeatureChangeListener(feature) {\n delete this.featureChangeListeners[feature];\n }\n\n isFeatureEnabled(feature, callback) {\n if(Array.isArray(this.features[\"values\"]) &&\n this.features[\"values\"].indexOf(feature) !== -1) {\n if (typeof callback === \"function\") {\n return callback();\n }\n return true;\n }\n if (typeof callback === \"function\") {\n this._registerFeatureChangeListener(feature, callback);\n }\n return false;\n }\n}\n\nconst GlobalConfig = new GlobalConfigImpl();\n\nexport { GlobalConfig };\n","//Placeholder\nexport const CHAT_CONFIGURATIONS = {\n CONCURRENT_CHATS: 10\n};\n\nexport const PARTICIPANT_TOKEN_HEADER = \"x-amzn-connect-participant-token\";\nexport const AUTH_HEADER = \"X-Amz-Bearer\";\n\nexport const FEATURES = {\n PARTICIPANT_CONN_ACK: \"PARTICIPANT_CONN_ACK\",\n MESSAGE_RECEIPTS_ENABLED: \"MESSAGE_RECEIPTS_ENABLED\"\n};\n\nexport const RESOURCE_PATH = {\n CONNECTION_DETAILS: \"/contact/chat/participant/connection-details\",\n MESSAGE: \"/participant/message\",\n TRANSCRIPT: \"/participant/transcript\",\n EVENT: \"/participant/event\",\n DISCONNECT: \"/participant/disconnect\",\n PARTICIPANT_CONNECTION: \"/participant/connection\",\n ATTACHMENT: \"/participant/attachment\"\n};\n\nexport const SESSION_TYPES = {\n AGENT: \"AGENT\",\n CUSTOMER: \"CUSTOMER\"\n};\n\nexport const CSM_CATEGORY = {\n API: \"API\",\n UI: \"UI\"\n};\n\nexport const ACPS_METHODS = {\n SEND_MESSAGE: \"SendMessage\",\n SEND_ATTACHMENT: \"SendAttachment\",\n DOWNLOAD_ATTACHMENT: \"DownloadAttachment\",\n SEND_EVENT: \"SendEvent\",\n GET_TRANSCRIPT: \"GetTranscript\",\n DISCONNECT_PARTICIPANT: \"DisconnectParticipant\",\n CREATE_PARTICIPANT_CONNECTION: \"CreateParticipantConnection\",\n};\n\nexport const WEBSOCKET_EVENTS = {\n ConnectionLost: \"WebsocketConnectionLost\",\n ConnectionGained: \"WebsocketConnectionGained\",\n Ended: \"WebsocketEnded\",\n IncomingMessage: \"WebsocketIncomingMessage\",\n InitWebsocket: \"InitWebsocket\"\n};\n\nexport const CHAT_EVENTS = {\n INCOMING_MESSAGE: \"INCOMING_MESSAGE\",\n INCOMING_TYPING: \"INCOMING_TYPING\",\n INCOMING_READ_RECEIPT: \"INCOMING_READ_RECEIPT\",\n INCOMING_DELIVERED_RECEIPT: \"INCOMING_DELIVERED_RECEIPT\",\n CONNECTION_ESTABLISHED: \"CONNECTION_ESTABLISHED\",\n CONNECTION_LOST: \"CONNECTION_LOST\",\n CONNECTION_BROKEN: \"CONNECTION_BROKEN\",\n CONNECTION_ACK: \"CONNECTION_ACK\",\n CHAT_ENDED: \"CHAT_ENDED\",\n MESSAGE_METADATA: \"MESSAGEMETADATA\",\n PARTICIPANT_IDLE: \"PARTICIPANT_IDLE\",\n PARTICIPANT_RETURNED: \"PARTICIPANT_RETURNED\",\n AUTODISCONNECTION: \"AUTODISCONNECTION\"\n};\n\nexport const CONTENT_TYPE = {\n textPlain: \"text/plain\",\n textMarkdown: \"text/markdown\",\n textCsv: \"text/csv\",\n applicationDoc: \"application/msword\",\n applicationDocx: \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n applicationJson: \"application/json\",\n applicationPdf: \"application/pdf\",\n applicationPpt: \"application/vnd.ms-powerpoint\",\n applicationPptx: \"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\n applicationXls: \"application/vnd.ms-excel\",\n applicationXlsx: \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\",\n imageJpg: \"image/jpeg\",\n imagePng: \"image/png\",\n audioWav: \"audio/wav\",\n audioXWav: \"audio/x-wav\", //Firefox\n audioVndWave: \"audio/vnd.wave\", //IE\n connectionAcknowledged: \"application/vnd.amazonaws.connect.event.connection.acknowledged\",\n typing: \"application/vnd.amazonaws.connect.event.typing\",\n participantJoined: \"application/vnd.amazonaws.connect.event.participant.joined\",\n participantLeft: \"application/vnd.amazonaws.connect.event.participant.left\",\n participantActive: \"application/vnd.amazonaws.connect.event.participant.active\",\n participantInactive: \"application/vnd.amazonaws.connect.event.participant.inactive\",\n transferSucceeded: \"application/vnd.amazonaws.connect.event.transfer.succeeded\",\n transferFailed: \"application/vnd.amazonaws.connect.event.transfer.failed\",\n chatEnded: \"application/vnd.amazonaws.connect.event.chat.ended\",\n interactiveMessage: \"application/vnd.amazonaws.connect.message.interactive\",\n interactiveMessageResponse: \"application/vnd.amazonaws.connect.message.interactive.response\",\n readReceipt: \"application/vnd.amazonaws.connect.event.message.read\",\n deliveredReceipt: \"application/vnd.amazonaws.connect.event.message.delivered\",\n participantIdle: \"application/vnd.amazonaws.connect.event.participant.idle\",\n participantReturned: \"application/vnd.amazonaws.connect.event.participant.returned\",\n autoDisconnection: \"application/vnd.amazonaws.connect.event.participant.autodisconnection\"\n};\n\nexport const CHAT_EVENT_TYPE_MAPPING = {\n [CONTENT_TYPE.typing]: CHAT_EVENTS.INCOMING_TYPING,\n [CONTENT_TYPE.readReceipt]: CHAT_EVENTS.INCOMING_READ_RECEIPT,\n [CONTENT_TYPE.deliveredReceipt]: CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT,\n [CONTENT_TYPE.participantIdle]: CHAT_EVENTS.PARTICIPANT_IDLE,\n [CONTENT_TYPE.participantReturned]: CHAT_EVENTS.PARTICIPANT_RETURNED,\n [CONTENT_TYPE.autoDisconnection]: CHAT_EVENTS.AUTODISCONNECTION,\n default: CHAT_EVENTS.INCOMING_MESSAGE,\n};\n\nexport const EVENT = \"EVENT\";\nexport const MESSAGE = \"MESSAGE\";\nexport const CONN_ACK_FAILED = \"CONN_ACK_FAILED\";\n\nexport const TRANSCRIPT_DEFAULT_PARAMS = {\n MAX_RESULTS: 15,\n SORT_ORDER: \"ASCENDING\",\n SCAN_DIRECTION: \"BACKWARD\"\n};\n\nexport const LOGS_DESTINATION = {\n NULL: \"NULL\",\n CLIENT_LOGGER: \"CLIENT_LOGGER\",\n DEBUG: \"DEBUG\"\n};\n\nexport const REGIONS = {\n pdx: \"us-west-2\",\n iad: \"us-east-1\",\n syd: \"ap-southeast-2\",\n nrt: \"ap-northeast-1\",\n fra: \"eu-central-1\",\n pdt: \"us-gov-west-1\",\n yul: \"ca-central-1\",\n icn: \"ap-northeast-2\",\n cpt: \"af-south-1\"\n};\n\nexport const AGENT_RECONNECT_CONFIG = {\n interval: 3000,\n maxRetries: 5\n};\n\nexport const CUSTOMER_RECONNECT_CONFIG = {\n interval: 3000,\n maxRetries: 5\n};\n\nexport const CONNECTION_TOKEN_POLLING_INTERVAL_IN_MS = 1000 * 60 * 60 * 12; // 12 hours\n\nexport const CONNECTION_TOKEN_EXPIRY_BUFFER_IN_MS = 60 * 1000; //1 min\n\nexport const TRANSPORT_LIFETIME_IN_SECONDS = 3540; // 59 mins\n\nexport const START_CHAT_SESSION = \"StartChatSession\";\n\nexport const MOCK_USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36';\n\nexport const SEND_EVENT_CONACK_THROTTLED = \"SEND_EVENT_CONACK_THROTTLED\";\nexport const CREATE_PARTICIPANT_CONACK_FAILURE = \"CREATE_PARTICIPANT_CONACK_FAILURE\";\nexport const SEND_EVENT_CONACK_FAILURE = \"SEND_EVENT_CONACK_FAILURE\";\nexport const CREATE_PARTICIPANT_CONACK_API_CALL_COUNT = \"CREATE_PARTICIPANT_CONACK_CALL_COUNT\";\n\nexport const TYPING_VALIDITY_TIME = 10000;","import { IllegalArgumentException } from \"./core/exceptions\";\nimport { ValueError } from \"./core/exceptions\";\nimport { sprintf } from \"sprintf-js\";\nimport { CONTENT_TYPE } from \"./constants\";\nconst Utils = {};\n\n/**\n * Asserts that a premise is true.\n */\nUtils.assertTrue = function(premise, message) {\n if (!premise) {\n throw new ValueError(message);\n }\n};\n\n/**\n * Asserts that a value is not null or undefined.\n */\nUtils.assertNotNull = function(value, name) {\n Utils.assertTrue(\n value !== null && typeof value !== \"undefined\",\n sprintf(\"%s must be provided\", name || \"A value\")\n );\n return value;\n};\n\nUtils.now = function() {\n return new Date().getTime();\n};\n\nUtils.isString = function(value) {\n return typeof value === \"string\";\n};\n\n/**\n * Generate a random ID consisting of the current timestamp\n * and a random base-36 number based on Math.random().\n */\nUtils.randomId = function() {\n return sprintf(\n \"%s-%s\",\n Utils.now(),\n Math.random()\n .toString(36)\n .slice(2)\n );\n};\n\nUtils.assertIsNonEmptyString = function(value, key) {\n if (!value || typeof value !== \"string\") {\n throw new IllegalArgumentException(key + \" is not a non-empty string!\");\n }\n};\n\nUtils.assertIsList = function(value, key) {\n if (!Array.isArray(value)) {\n throw new IllegalArgumentException(key + \" is not an array\");\n }\n};\n\nUtils.assertIsEnum = function(value, allowedValues, key) {\n var i;\n for (i = 0; i < allowedValues.length; i++) {\n if (allowedValues[i] === value) {\n return;\n }\n }\n throw new IllegalArgumentException(\n key + \" passed (\" + value + \")\" + \" is not valid. Allowed values are: \" + allowedValues\n );\n};\n\n/**\n * Generate an enum from the given list of lower-case enum values,\n * where the enum keys will be upper case.\n *\n * Conversion from pascal case based on code from here:\n * http://stackoverflow.com/questions/30521224\n */\nUtils.makeEnum = function(values) {\n var enumObj = {};\n\n values.forEach(function(value) {\n var key = value\n .replace(/\\.?([a-z]+)_?/g, function(x, y) {\n return y.toUpperCase() + \"_\";\n })\n .replace(/_$/, \"\");\n\n enumObj[key] = value;\n });\n\n return enumObj;\n};\n\nUtils.contains = function(obj, value) {\n if (obj instanceof Array) {\n return (\n Utils.find(obj, function(v) {\n return v === value;\n }) !== null\n );\n } else {\n return value in obj;\n }\n};\n\nUtils.find = function(array, predicate) {\n for (var x = 0; x < array.length; x++) {\n if (predicate(array[x])) {\n return array[x];\n }\n }\n\n return null;\n};\n\nUtils.containsValue = function(obj, value) {\n if (obj instanceof Array) {\n return (\n Utils.find(obj, function(v) {\n return v === value;\n }) !== null\n );\n } else {\n return (\n Utils.find(Utils.values(obj), function(v) {\n return v === value;\n }) !== null\n );\n }\n};\n\n/**\n * Determine if the given value is a callable function type.\n * Borrowed from Underscore.js.\n */\nUtils.isFunction = function(obj) {\n return !!(obj && obj.constructor && obj.call && obj.apply);\n};\n\n/**\n * Get a list of values from a Javascript object used\n * as a hash map.\n */\nUtils.values = function(map) {\n var values = [];\n\n Utils.assertNotNull(map, \"map\");\n\n for (var k in map) {\n values.push(map[k]);\n }\n\n return values;\n};\n\nUtils.isObject = function(value) {\n return !(typeof value !== \"object\" || value === null);\n};\n\nUtils.assertIsObject = function(value, key) {\n if (!Utils.isObject(value)) {\n throw new IllegalArgumentException(key + \" is not an object!\");\n }\n};\n\nUtils.delay = (ms) => new Promise(resolve => setTimeout(resolve, ms));\n\nUtils.asyncWhileInterval = function(f, predicate, interval, count=0, error=null) {\n const now = new Date();\n if (predicate(count)) {\n return f(count).catch((e) => {\n const delay = Math.max(0, interval - (new Date()).valueOf() + now.valueOf());\n return Utils\n .delay(delay)\n .then(() => Utils.asyncWhileInterval(f, predicate, interval, count + 1, e));\n });\n } else {\n return Promise.reject(error || new Error(\"async while aborted\"));\n }\n};\n\nUtils.isAttachmentContentType = function(contentType){\n return contentType === CONTENT_TYPE.applicationPdf\n || contentType === CONTENT_TYPE.imageJpg\n || contentType === CONTENT_TYPE.imagePng\n || contentType === CONTENT_TYPE.applicationDoc\n || contentType === CONTENT_TYPE.applicationXls\n || contentType === CONTENT_TYPE.applicationPpt\n || contentType === CONTENT_TYPE.textCsv\n || contentType === CONTENT_TYPE.audioWav;\n};\n\nexport default Utils;\n","import Utils from \"./utils\";\n\n/*eslint-disable no-unused-vars*/\nclass Logger {\n debug(data) {}\n\n info(data) {}\n\n warn(data) {}\n\n error(data) {}\n\n advancedLog(data) {}\n}\n/*eslint-enable no-unused-vars*/\n\nconst LogLevel = {\n DEBUG: 10,\n INFO: 20,\n WARN: 30,\n ERROR: 40,\n ADVANCED_LOG: 50,\n};\n\nclass LogManagerImpl {\n constructor() {\n this.updateLoggerConfig();\n }\n\n writeToClientLogger(level, logStatement, logMetaData) {\n if (!this.hasClientLogger()) {\n return;\n }\n var levelStringValue = getLogLevelByValue(level);\n switch (level) {\n case LogLevel.DEBUG:\n return this._clientLogger.debug(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.INFO:\n return this._clientLogger.info(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.WARN:\n return this._clientLogger.warn(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.ERROR:\n return this._clientLogger.error(levelStringValue, logStatement, logMetaData) || logStatement;\n case LogLevel.ADVANCED_LOG:\n return this._advancedLogWriter && this._clientLogger[this._advancedLogWriter] && this._clientLogger[this._advancedLogWriter](levelStringValue, logStatement, logMetaData) || logStatement;\n }\n }\n\n isLevelEnabled(level) {\n return level >= this._level;\n }\n\n hasClientLogger() {\n return this._clientLogger !== null;\n }\n\n getLogger(options = {}) {\n // option: {prefix: string; logMetaData: object}\n return new LoggerWrapperImpl(options);\n }\n\n updateLoggerConfig(inputConfig) {\n var config = inputConfig || {};\n this._level = config.level || LogLevel.INFO;\n //enabled advancedLogWriter\n this._advancedLogWriter = \"warn\";\n if (isValidAdvancedLogConfig(config.advancedLogWriter, config.customizedLogger)) {\n this._advancedLogWriter = config.advancedLogWriter;\n }\n //enable clientLogger\n if((config.customizedLogger && typeof config.customizedLogger === \"object\") || \n (config.logger && typeof config.logger === \"object\")) {\n this.useClientLogger = true;\n }\n this._clientLogger = this.selectLogger(config);\n }\n\n selectLogger(config) {\n if(config.customizedLogger && typeof config.customizedLogger === \"object\") {\n return config.customizedLogger;\n }\n if(config.logger && typeof config.logger === \"object\") {\n return config.logger;\n }\n if(config.useDefaultLogger) {\n return createConsoleLogger();\n }\n return null;\n }\n}\nconst LogManager = new LogManagerImpl();\n\nclass LoggerWrapper {\n debug() {}\n\n info() {}\n\n warn() {}\n\n error() {}\n}\n\nclass LoggerWrapperImpl extends LoggerWrapper {\n constructor(options) {\n super();\n this.options = options || {};\n }\n\n debug(...args) {\n return this._log(LogLevel.DEBUG, args);\n }\n\n info(...args) {\n return this._log(LogLevel.INFO, args);\n }\n\n warn(...args) {\n return this._log(LogLevel.WARN, args);\n }\n\n error(...args) {\n return this._log(LogLevel.ERROR, args);\n }\n\n advancedLog(...args) {\n return this._log(LogLevel.ADVANCED_LOG, args);\n }\n \n _shouldLog(level) {\n return LogManager.hasClientLogger() && LogManager.isLevelEnabled(level);\n }\n\n _writeToClientLogger(level, logStatement) {\n return LogManager.writeToClientLogger(level, logStatement, this.options.logMetaData);\n }\n\n _log(level, args) {\n if (this._shouldLog(level)) {\n var logStatement = LogManager.useClientLogger ? args : this._convertToSingleStatement(args);\n return this._writeToClientLogger(level, logStatement);\n }\n }\n\n _convertToSingleStatement(args) {\n var date = new Date(Date.now()).toISOString();\n var logStatement = `[${date}]`;\n if (this.options) {\n this.options.prefix ? logStatement += \" \" + this.options.prefix + \":\" : logStatement += \"\";\n }\n for (var index = 0; index < args.length; index++) {\n var arg = args[index];\n logStatement += \" \" + this._convertToString(arg);\n }\n return logStatement;\n }\n\n _convertToString(arg) {\n try {\n if (!arg) {\n return \"\";\n }\n if (Utils.isString(arg)) {\n return arg;\n }\n if (Utils.isObject(arg) && Utils.isFunction(arg.toString)) {\n var toStringResult = arg.toString();\n if (toStringResult !== \"[object Object]\") {\n return toStringResult;\n }\n }\n return JSON.stringify(arg);\n } catch (error) {\n console.error(\"Error while converting argument to string\", arg, error);\n return \"\";\n }\n }\n}\n\nfunction getLogLevelByValue(value) {\n switch(value) {\n case 10: return \"DEBUG\";\n case 20: return \"INFO\";\n case 30: return \"WARN\";\n case 40: return \"ERROR\";\n case 50: return \"ADVANCED_LOG\";\n }\n}\n\nfunction isValidAdvancedLogConfig(advancedLogVal, customizedLogger) {\n const customizedLoggerKeys = customizedLogger && Object.keys(customizedLogger);\n if (customizedLoggerKeys && customizedLoggerKeys.indexOf(advancedLogVal) === -1) {\n console.error(`customizedLogger: incorrect value for loggerConfig:advancedLogWriter; use valid values from list ${customizedLoggerKeys} but used ${advancedLogVal}`);\n return false;\n }\n const defaultLoggerKeys = [\"warn\", \"info\", \"debug\", \"log\"];\n if (advancedLogVal && defaultLoggerKeys.indexOf(advancedLogVal) === -1) {\n console.error(`incorrect value for loggerConfig:advancedLogWriter; use valid values from list ${defaultLoggerKeys} but used ${advancedLogVal}`);\n return false;\n }\n return true;\n}\n\nvar createConsoleLogger = () => {\n var logger = new LoggerWrapper();\n logger.debug = console.debug.bind(window.console);\n logger.info = console.info.bind(window.console);\n logger.warn = console.warn.bind(window.console);\n logger.error = console.error.bind(window.console);\n return logger;\n};\n\n\nexport { LogManager, Logger, LogLevel };\n","import { UnImplementedMethodException } from \"../core/exceptions\";\nimport { GlobalConfig } from \"../globalConfig\";\nimport {\n REGIONS\n} from \"../constants\";\nimport { LogManager } from \"../log\";\n//Note: this imports AWS instead from aws-sdk npm package - details in ReadMe\nimport { ConnectParticipant } from \"./aws-sdk-connectparticipant\";\nimport throttle from \"lodash/throttle\";\nimport { CONTENT_TYPE, TYPING_VALIDITY_TIME } from '../constants';\n\nconst DEFAULT_PREFIX = \"Amazon-Connect-ChatJS-ChatClient\";\n\nclass ChatClientFactoryImpl {\n constructor() {\n this.clientCache = {};\n }\n\n getCachedClient(optionsInput, logMetaData) {\n var options = Object.assign({}, optionsInput);\n var region = optionsInput.region || GlobalConfig.getRegion() || REGIONS.pdx;\n options.region = region;\n logMetaData.region = region;\n if (this.clientCache[region]) {\n return this.clientCache[region];\n }\n var client = this._createAwsClient(options, logMetaData);\n this.clientCache[region] = client;\n return client;\n }\n\n _createAwsClient(options, logMetaData) {\n var region = options.region;\n var endpointOverride = GlobalConfig.getEndpointOverride();\n var endpointUrl = `https://participant.connect.${region}.amazonaws.com`;\n if (endpointOverride) {\n endpointUrl = endpointOverride;\n }\n return new AWSChatClient({\n endpoint: endpointUrl,\n region: region,\n logMetaData\n });\n }\n}\n\n/*eslint-disable*/\nclass ChatClient {\n sendMessage(participantToken, message, type) {\n throw new UnImplementedMethodException(\"sendTextMessage in ChatClient\");\n }\n\n sendAttachment(participantToken, attachment, metadata) {\n throw new UnImplementedMethodException(\"sendAttachment in ChatClient\");\n }\n\n downloadAttachment(participantToken, attachmentId){\n throw new UnImplementedMethodException(\"downloadAttachment in ChatClient\");\n }\n\n disconnectParticipant(participantToken) {\n throw new UnImplementedMethodException(\"disconnectParticipant in ChatClient\");\n }\n\n sendEvent(connectionToken, contentType, content) {\n throw new UnImplementedMethodException(\"sendEvent in ChatClient\");\n }\n\n createParticipantConnection(participantToken, type) {\n throw new UnImplementedMethodException(\"createParticipantConnection in ChatClient\");\n }\n}\n/*eslint-enable*/\n\nclass AWSChatClient extends ChatClient {\n constructor(args) {\n super();\n var creds = new AWS.Credentials('','');\n var config = new AWS.Config({\n region: args.region,\n endpoint: args.endpoint,\n credentials: creds\n });\n this.chatClient = new AWS.ConnectParticipant(config);\n this.invokeUrl = args.endpoint;\n this.logger = LogManager.getLogger({ prefix: DEFAULT_PREFIX, logMetaData: args.logMetaData });\n }\n\n createParticipantConnection(participantToken, type, acknowledgeConnection) {\n let self = this;\n var params = {\n ParticipantToken: participantToken,\n Type: type,\n ConnectParticipant: acknowledgeConnection\n };\n \n var createParticipantConnectionRequest = self.chatClient.createParticipantConnection(\n params\n );\n return self._sendRequest(createParticipantConnectionRequest).then((res) => {\n self.logger.info(\"Successfully create connection request\")?.sendInternalLogToServer?.();\n return res;\n }).catch((err) => {\n self.logger.error(\"Error when creating connection request \", err)?.sendInternalLogToServer?.();\n return Promise.reject(err);\n });\n }\n\n disconnectParticipant(connectionToken) {\n let self = this;\n var params = {\n ConnectionToken: connectionToken\n };\n\n var disconnectParticipantRequest = self.chatClient.disconnectParticipant(\n params\n );\n return self._sendRequest(disconnectParticipantRequest).then((res) => {\n self.logger.info(\"Successfully disconnect participant\")?.sendInternalLogToServer?.();\n return res;\n }).catch((err) => {\n self.logger.error(\"Error when disconnecting participant \", err)?.sendInternalLogToServer?.();\n return Promise.reject(err);\n });\n }\n\n getTranscript(connectionToken, args) {\n let self = this;\n var params = {\n MaxResults: args.maxResults,\n NextToken: args.nextToken,\n ScanDirection: args.scanDirection,\n SortOrder: args.sortOrder,\n StartPosition: {\n Id: args.startPosition.id,\n AbsoluteTime: args.startPosition.absoluteTime,\n MostRecent: args.startPosition.mostRecent\n },\n ConnectionToken: connectionToken\n };\n if (args.contactId) {\n params.ContactId = args.contactId;\n }\n var getTranscriptRequest = self.chatClient.getTranscript(params);\n return self._sendRequest(getTranscriptRequest).then((res) => {\n this.logger.info(\"Successfully get transcript\");\n return res;\n }).catch((err) => {\n this.logger.error(\"Get transcript error\", err);\n return Promise.reject(err);\n });\n }\n\n sendMessage(connectionToken, content, contentType) {\n let self = this;\n var params = {\n Content: content,\n ContentType: contentType,\n ConnectionToken: connectionToken\n };\n var sendMessageRequest = self.chatClient.sendMessage(params);\n return self._sendRequest(sendMessageRequest).then((res) => {\n const logContent = {id: res.data?.Id, contentType: params.ContentType};\n this.logger.debug(\"Successfully send message\", logContent);\n return res;\n }).catch((err) => {\n this.logger.error(\"Send message error\", err, {contentType: params.ContentType});\n return Promise.reject(err);\n });\n }\n\n sendAttachment(connectionToken, attachment, metadata) {\n let self = this;\n const startUploadRequestParams = {\n ContentType: attachment.type,\n AttachmentName: attachment.name,\n AttachmentSizeInBytes: attachment.size,\n ConnectionToken: connectionToken\n };\n const startUploadRequest = self.chatClient.startAttachmentUpload(startUploadRequestParams);\n const logContent = {contentType: attachment.type, size: attachment.size};\n return self._sendRequest(startUploadRequest)\n .then(startUploadResponse => {\n return self._uploadToS3(attachment, startUploadResponse.data.UploadMetadata)\n .then(() => {\n const completeUploadRequestParams = {\n AttachmentIds: [ startUploadResponse.data.AttachmentId ],\n ConnectionToken: connectionToken\n };\n this.logger.debug(\"Successfully upload attachment\", {...logContent, attachmentId: startUploadResponse.data?.AttachmentId});\n const completeUploadRequest = self.chatClient.completeAttachmentUpload(completeUploadRequestParams);\n return self._sendRequest(completeUploadRequest);\n });\n }).catch((err) => {\n this.logger.error(\"Upload attachment error\", err, logContent);\n return Promise.reject(err);\n });\n }\n\n _uploadToS3(file, metadata) {\n return fetch(metadata.Url,{\n method: \"PUT\",\n headers: metadata.HeadersToInclude,\n body: file\n });\n }\n\n downloadAttachment(connectionToken, attachmentId) {\n let self = this;\n const params = {\n AttachmentId: attachmentId,\n ConnectionToken: connectionToken\n };\n const logContent = {attachmentId};\n const getAttachmentRequest = self.chatClient.getAttachment(params);\n return self._sendRequest(getAttachmentRequest)\n .then(response => {\n this.logger.debug(\"Successfully download attachment\", logContent);\n return self._downloadUrl(response.data.Url);\n }).catch(err => {\n this.logger.error(\"Download attachment error\", err, logContent);\n return Promise.reject(err);\n });\n }\n\n _downloadUrl(url){\n return fetch(url)\n .then(t => t.blob())\n .catch(err => { return Promise.reject(err); });\n }\n\n \n sendEvent(connectionToken, contentType, content) {\n let self = this;\n if(contentType === CONTENT_TYPE.typing) {\n return self.throttleEvent(connectionToken, contentType, content)\n }\n return self._submitEvent(connectionToken, contentType, content);\n }\n \n throttleEvent = throttle((connectionToken, contentType, content) => {\n return this._submitEvent(connectionToken, contentType, content);\n }, TYPING_VALIDITY_TIME, { trailing: false, leading: true })\n \n async _submitEvent(connectionToken, contentType, content) {\n let self = this;\n var params = {\n ConnectionToken: connectionToken,\n ContentType: contentType,\n Content: content\n };\n var sendEventRequest = self.chatClient.sendEvent(params);\n const logContent = {contentType};\n try {\n const res = await self._sendRequest(sendEventRequest);\n this.logger.debug(\"Successfully send event\", { ...logContent, id: res.data?.Id, });\n return res;\n } catch (err) {\n return await Promise.reject(err);\n }\n }\n\n _sendRequest(request) {\n return new Promise((resolve, reject) => {\n request\n .on(\"success\", function(res) {\n resolve(res);\n })\n .on(\"error\", function(err) {\n const errObj = {\n type: err.code,\n message: err.message,\n stack: err.stack ? err.stack.split('\\n') : [],\n statusCode: err.statusCode,\n }\n reject(errObj);\n })\n .send();\n });\n }\n}\n\nvar ChatClientFactory = new ChatClientFactoryImpl();\nexport { ChatClientFactory };\n","import Utils from \"../utils\";\nimport { IllegalArgumentException } from \"./exceptions\";\nimport { CONTENT_TYPE, SESSION_TYPES } from \"../constants\";\n\nclass ChatControllerArgsValidator {\n /*eslint-disable no-unused-vars*/\n validateNewControllerDetails(chatDetails) {\n return true;\n }\n /*eslint-enable no-unused-vars*/\n\n validateSendMessage(args) {\n if (!Utils.isString(args.message)) {\n throw new IllegalArgumentException(args.message + \"is not a valid message\");\n }\n this.validateContentType(args.contentType);\n }\n\n validateContentType(contentType) {\n Utils.assertIsEnum(contentType, Object.values(CONTENT_TYPE), \"contentType\"); \n }\n\n /*eslint-disable no-unused-vars*/\n validateConnectChat(args) {\n return true;\n }\n /*eslint-enable no-unused-vars*/\n\n validateLogger(logger) {\n Utils.assertIsObject(logger, \"logger\");\n [\"debug\", \"info\", \"warn\", \"error\"].forEach(methodName => {\n if (!Utils.isFunction(logger[methodName])) {\n throw new IllegalArgumentException(\n methodName +\n \" should be a valid function on the passed logger object!\"\n );\n }\n });\n }\n\n validateSendEvent(args) {\n this.validateContentType(args.contentType);\n }\n\n /*eslint-disable no-unused-vars*/\n validateGetMessages(args) {\n return true;\n }\n /*eslint-enable no-unused-vars*/\n}\n\nclass ChatServiceArgsValidator extends ChatControllerArgsValidator {\n validateChatDetails(chatDetails, sessionType) {\n Utils.assertIsObject(chatDetails, \"chatDetails\");\n if (sessionType===SESSION_TYPES.AGENT && !Utils.isFunction(chatDetails.getConnectionToken)) {\n throw new IllegalArgumentException(\n \"getConnectionToken was not a function\", \n chatDetails.getConnectionToken\n );\n }\n Utils.assertIsNonEmptyString(\n chatDetails.contactId,\n \"chatDetails.contactId\"\n );\n Utils.assertIsNonEmptyString(\n chatDetails.participantId,\n \"chatDetails.participantId\"\n );\n if (sessionType===SESSION_TYPES.CUSTOMER){\n if (chatDetails.participantToken){\n Utils.assertIsNonEmptyString(\n chatDetails.participantToken,\n \"chatDetails.participantToken\"\n );\n } else {\n throw new IllegalArgumentException(\n \"participantToken was not provided for a customer session type\",\n chatDetails.participantToken\n );\n }\n }\n }\n\n validateInitiateChatResponse() {\n return true;\n }\n\n normalizeChatDetails(chatDetailsInput) {\n let chatDetails = {};\n chatDetails.contactId = chatDetailsInput.ContactId || chatDetailsInput.contactId;\n chatDetails.participantId = chatDetailsInput.ParticipantId || chatDetailsInput.participantId;\n chatDetails.initialContactId = chatDetailsInput.InitialContactId || chatDetailsInput.initialContactId\n || chatDetails.contactId || chatDetails.ContactId;\n chatDetails.getConnectionToken = chatDetailsInput.getConnectionToken || chatDetailsInput.GetConnectionToken;\n if (chatDetailsInput.participantToken || chatDetailsInput.ParticipantToken) {\n chatDetails.participantToken = chatDetailsInput.ParticipantToken || chatDetailsInput.participantToken;\n }\n this.validateChatDetails(chatDetails);\n return chatDetails;\n }\n}\n\nexport { ChatServiceArgsValidator };\n","import { CONNECTION_TOKEN_POLLING_INTERVAL_IN_MS, CONNECTION_TOKEN_EXPIRY_BUFFER_IN_MS } from \"../../constants\";\nimport { LogManager } from \"../../log\";\nconst ConnectionHelperStatus = {\n NeverStarted: \"NeverStarted\",\n Starting: \"Starting\",\n Connected: \"Connected\",\n ConnectionLost: \"ConnectionLost\",\n Ended: \"Ended\"\n};\n\nconst ConnectionHelperEvents = {\n ConnectionLost: \"ConnectionLost\", // event data is: {reason: ...}\n ConnectionGained: \"ConnectionGained\", // event data is: {reason: ...}\n Ended: \"Ended\", // event data is: {reason: ...}\n IncomingMessage: \"IncomingMessage\" // event data is: {payloadString: ...}\n};\n\nconst ConnectionInfoType = {\n WEBSOCKET: \"WEBSOCKET\",\n CONNECTION_CREDENTIALS: \"CONNECTION_CREDENTIALS\"\n};\n\nexport default class BaseConnectionHelper {\n constructor(connectionDetailsProvider, logMetaData) {\n this.connectionDetailsProvider = connectionDetailsProvider;\n this.isStarted = false;\n this.logger = LogManager.getLogger({ prefix: \"ChatJS-BaseConnectionHelper\", logMetaData });\n }\n\n startConnectionTokenPolling(isFirstCall=false, expiry=CONNECTION_TOKEN_POLLING_INTERVAL_IN_MS) {\n if (!isFirstCall){\n //TODO: use Type field to avoid fetching websocket connection\n return this.connectionDetailsProvider.fetchConnectionDetails()\n .then(response => {\n this.logger.info(\"Connection token polling succeeded.\");\n expiry = this.getTimeToConnectionTokenExpiry();\n this.timeout = setTimeout(this.startConnectionTokenPolling.bind(this), expiry);\n return response;\n })\n .catch((e) => {\n this.logger.error(\"An error occurred when attempting to fetch the connection token during Connection Token Polling\", e);\n this.timeout = setTimeout(this.startConnectionTokenPolling.bind(this), expiry);\n return e;\n });\n }\n else {\n this.logger.info(\"First time polling connection token.\");\n this.timeout = setTimeout(this.startConnectionTokenPolling.bind(this), expiry);\n }\n }\n\n start() {\n if (this.isStarted) {\n return this.getConnectionToken();\n }\n this.isStarted = true;\n return this.startConnectionTokenPolling(\n true, \n this.getTimeToConnectionTokenExpiry()\n );\n }\n\n end() {\n clearTimeout(this.timeout);\n }\n\n getConnectionToken() {\n return this.connectionDetailsProvider.getFetchedConnectionToken();\n }\n\n getConnectionTokenExpiry() {\n return this.connectionDetailsProvider.getConnectionTokenExpiry();\n }\n\n getTimeToConnectionTokenExpiry() {\n var dateExpiry = new Date(\n this.getConnectionTokenExpiry()\n ).getTime();\n var now = new Date().getTime();\n return dateExpiry - now - CONNECTION_TOKEN_EXPIRY_BUFFER_IN_MS;\n }\n}\n\nexport {\n ConnectionHelperStatus,\n ConnectionHelperEvents,\n ConnectionInfoType\n};\n","import Utils from \"../utils\";\n\nconst ALL_EVENTS = \"<>\";\n\n/**\n * An object representing an event subscription in an EventBus.\n */\nvar Subscription = function(subMap, eventName, f) {\n this.subMap = subMap;\n this.id = Utils.randomId();\n this.eventName = eventName;\n this.f = f;\n};\n\n/**\n * Unsubscribe the handler of this subscription from the EventBus\n * from which it was created.\n */\nSubscription.prototype.unsubscribe = function() {\n this.subMap.unsubscribe(this.eventName, this.id);\n};\n\n/**\n * A map of event subscriptions, used by the EventBus.\n */\nvar SubscriptionMap = function() {\n this.subIdMap = {};\n this.subEventNameMap = {};\n};\n\n/**\n * Add a subscription for the named event. Creates a new Subscription\n * object and returns it. This object can be used to unsubscribe.\n */\nSubscriptionMap.prototype.subscribe = function(eventName, f) {\n var sub = new Subscription(this, eventName, f);\n\n this.subIdMap[sub.id] = sub;\n var subList = this.subEventNameMap[eventName] || [];\n subList.push(sub);\n this.subEventNameMap[eventName] = subList;\n return () => sub.unsubscribe();\n};\n\n/**\n * Unsubscribe a subscription matching the given event name and id.\n */\nSubscriptionMap.prototype.unsubscribe = function(eventName, subId) {\n if (Utils.contains(this.subEventNameMap, eventName)) {\n this.subEventNameMap[eventName] = this.subEventNameMap[eventName].filter(\n function(s) {\n return s.id !== subId;\n }\n );\n\n if (this.subEventNameMap[eventName].length < 1) {\n delete this.subEventNameMap[eventName];\n }\n }\n\n if (Utils.contains(this.subIdMap, subId)) {\n delete this.subIdMap[subId];\n }\n};\n\n/**\n * Get a list of all subscriptions in the subscription map.\n */\nSubscriptionMap.prototype.getAllSubscriptions = function() {\n return Utils.values(this.subEventNameMap).reduce(function(a, b) {\n return a.concat(b);\n }, []);\n};\n\n/**\n * Get a list of subscriptions for the given event name, or an empty\n * list if there are no subscriptions.\n */\nSubscriptionMap.prototype.getSubscriptions = function(eventName) {\n return this.subEventNameMap[eventName] || [];\n};\n\n/**\n * An object which maintains a map of subscriptions and serves as the\n * mechanism for triggering events to be handled by subscribers.\n */\nvar EventBus = function(paramsIn) {\n var params = paramsIn || {};\n\n this.subMap = new SubscriptionMap();\n this.logEvents = params.logEvents || false;\n};\n\n/**\n * Subscribe to the named event. Returns a new Subscription object\n * which can be used to unsubscribe.\n */\nEventBus.prototype.subscribe = function(eventName, f) {\n Utils.assertNotNull(eventName, \"eventName\");\n Utils.assertNotNull(f, \"f\");\n Utils.assertTrue(Utils.isFunction(f), \"f must be a function\");\n return this.subMap.subscribe(eventName, f);\n};\n\n/**\n * Subscribe a function to be called on all events.\n */\nEventBus.prototype.subscribeAll = function(f) {\n Utils.assertNotNull(f, \"f\");\n Utils.assertTrue(Utils.isFunction(f), \"f must be a function\");\n return this.subMap.subscribe(ALL_EVENTS, f);\n};\n\n/**\n * Get a list of subscriptions for the given event name, or an empty\n * list if there are no subscriptions.\n */\nEventBus.prototype.getSubscriptions = function(eventName) {\n return this.subMap.getSubscriptions(eventName);\n};\n\n/**\n * Trigger the given event with the given data. All methods subscribed\n * to this event will be called and are provided with the given arbitrary\n * data object and the name of the event, in that order.\n */\nEventBus.prototype.trigger = function(eventName, data) {\n Utils.assertNotNull(eventName, \"eventName\");\n var self = this;\n var allEventSubs = this.subMap.getSubscriptions(ALL_EVENTS);\n var eventSubs = this.subMap.getSubscriptions(eventName);\n\n // if (this.logEvents && (eventName !== connect.EventType.LOG && eventName !== connect.EventType.MASTER_RESPONSE && eventName !== connect.EventType.API_METRIC)) {\n // connect.getLog().trace(\"Publishing event: %s\", eventName);\n // }\n\n allEventSubs.concat(eventSubs).forEach(function(sub) {\n try {\n sub.f(data || null, eventName, self);\n } catch (e) {\n // connect\n // .getLog()\n // .error(\"'%s' event handler failed.\", eventName)\n // .withException(e);\n }\n });\n};\n\n/**\n * Trigger the given event with the given data. All methods subscribed\n * to this event will be called and are provided with the given arbitrary\n * data object and the name of the event, in that order.\n */\nEventBus.prototype.triggerAsync = function(eventName, data) {\n setTimeout(() => this.trigger(eventName, data), 0);\n};\n\n/**\n * Returns a closure which bridges an event from another EventBus to this bus.\n *\n * Usage:\n * conduit.onUpstream(\"MyEvent\", bus.bridge());\n */\nEventBus.prototype.bridge = function() {\n var self = this;\n return function(data, event) {\n self.trigger(event, data);\n };\n};\n\n/**\n * Unsubscribe all events in the event bus.\n */\nEventBus.prototype.unsubscribeAll = function() {\n this.subMap.getAllSubscriptions().forEach(function(sub) {\n sub.unsubscribe();\n });\n};\n\nexport { EventBus };\n","export const CHAT_WIDGET_METRIC_NAME_SPACE = \"chat-widget\";\nexport const DEFAULT_WIDGET_TYPE = \"CustomChatWidget\";\n\nexport const getLdasEndpointUrl = (region) => {\n return `https://ieluqbvv.telemetry.connect.${region}.amazonaws.com/prod`;\n};","import { GlobalConfig } from \"../globalConfig\";\nimport {\n getLdasEndpointUrl,\n CHAT_WIDGET_METRIC_NAME_SPACE,\n DEFAULT_WIDGET_TYPE\n} from \"../configs/csmConfig\";\nimport { LogManager } from \"../log\";\nimport { csmJsString } from '../lib/connect-csm';\nimport { csmWorkerString } from '../lib/connect-csm-worker';\n\nexport const DIMENSION_CATEGORY = \"Category\";\nclass CsmService {\n constructor() {\n this.widgetType = DEFAULT_WIDGET_TYPE;\n this.logger = LogManager.getLogger({\n prefix: \"ChatJS-csmService\"\n });\n this.csmInitialized = false;\n this.metricsToBePublished = [];\n this.agentMetricToBePublished = [];\n this.MAX_RETRY = 5;\n }\n \n loadCsmScriptAndExecute() {\n try {\n let script = document.createElement('script');\n script.type = 'text/javascript';\n script.innerHTML = csmJsString;\n document.head.appendChild(script);\n this.initializeCSM();\n } catch (error) {\n this.logger.error(\"Load csm script error: \", error);\n }\n }\n \n initializeCSM() {\n // avoid multiple initialization\n try {\n if (this.csmInitialized) {\n return;\n }\n const region = GlobalConfig.getRegion();\n const csmWorkerText = csmWorkerString.replace(/\\\\/g, '');\n const sharedWorkerBlobUrl = URL.createObjectURL(new Blob([csmWorkerText], { type: 'text/javascript' }));\n const ldasEndpoint = getLdasEndpointUrl(region);\n let params = {\n endpoint: ldasEndpoint,\n namespace: CHAT_WIDGET_METRIC_NAME_SPACE,\n sharedWorkerUrl: sharedWorkerBlobUrl,\n };\n \n csm.initCSM(params);\n this.logger.info(`CSMService is initialized in ${region}`);\n this.csmInitialized = true;\n if (this.metricsToBePublished) {\n this.metricsToBePublished.forEach((metric) => {\n csm.API.addMetric(metric);\n });\n this.metricsToBePublished = null;\n }\n } catch(err) {\n this.logger.error('Failed to initialize csm: ', err);\n }\n }\n\n updateCsmConfig(csmConfig) {\n this.widgetType = typeof csmConfig === \"object\" && csmConfig !== null && !Array.isArray(csmConfig) ?\n csmConfig.widgetType : this.widgetType;\n }\n\n getDefaultDimensions() {\n return [\n {\n name: \"WidgetType\",\n value: this.widgetType\n }\n ];\n }\n\n addMetric(metric) {\n // if csmService is never initialized, store the metrics in an array\n if (!this.csmInitialized) {\n if (this.metricsToBePublished) {\n this.metricsToBePublished.push(metric);\n this.logger.info(`CSMService is not initialized yet. Adding metrics to queue to be published once CSMService is initialized`);\n }\n } else {\n try {\n csm.API.addMetric(metric);\n } catch(err) {\n this.logger.error('Failed to addMetric csm: ', err);\n }\n }\n }\n\n setDimensions(metric, dimensions) {\n dimensions.forEach((dimension) => {\n metric.addDimension(dimension.name, dimension.value);\n });\n }\n\n addLatencyMetric(method, timeDifference, category, otherDimensions = []) {\n try {\n const latencyMetric = new csm.Metric(\n method,\n csm.UNIT.MILLISECONDS,\n timeDifference\n );\n const dimensions = [\n ...this.getDefaultDimensions(),\n {\n name: \"Metric\",\n value: \"Latency\",\n },\n {\n name: DIMENSION_CATEGORY,\n value: category\n },\n ...otherDimensions\n ];\n this.setDimensions(latencyMetric, dimensions);\n this.addMetric(latencyMetric);\n this.logger.debug(`Successfully published latency API metrics for method ${method}`);\n } catch (err) {\n this.logger.error('Failed to addLatencyMetric csm: ', err);\n }\n }\n\n addLatencyMetricWithStartTime(method, startTime, category, otherDimensions = []) {\n const endTime = new Date().getTime();\n const timeDifference = endTime - startTime;\n this.addLatencyMetric(method, timeDifference, category, otherDimensions);\n this.logger.debug(`Successfully published latency API metrics for method ${method}`);\n }\n\n addCountAndErrorMetric(method, category, error, otherDimensions = []) {\n try {\n const dimensions = [\n ...this.getDefaultDimensions(),\n {\n name: DIMENSION_CATEGORY,\n value: category\n },\n ...otherDimensions\n ];\n const countMetric = new csm.Metric(method, csm.UNIT.COUNT, 1);\n this.setDimensions(countMetric, [\n ...dimensions,\n {\n name: \"Metric\",\n value: \"Count\",\n }\n ]);\n const errorCount = error ? 1 : 0;\n const errorMetric = new csm.Metric(method, csm.UNIT.COUNT, errorCount);\n this.setDimensions(errorMetric, [\n ...dimensions,\n {\n name: \"Metric\",\n value: \"Error\",\n }\n ]);\n this.addMetric(countMetric);\n this.addMetric(errorMetric);\n this.logger.debug(`Successfully published count and error metrics for method ${method}`);\n } catch(err) {\n this.logger.error('Failed to addCountAndErrorMetric csm: ', err);\n }\n }\n\n addCountMetric(method, category, otherDimensions = []) {\n try {\n const dimensions = [\n ...this.getDefaultDimensions(),\n {\n name: DIMENSION_CATEGORY,\n value: category\n },\n {\n name: \"Metric\",\n value: \"Count\",\n },\n ...otherDimensions\n ];\n const countMetric = new csm.Metric(method, csm.UNIT.COUNT, 1);\n this.setDimensions(countMetric, dimensions);\n this.addMetric(countMetric);\n this.logger.debug(`Successfully published count metrics for method ${method}`);\n } catch(err) {\n this.logger.error('Failed to addCountMetric csm: ', err);\n }\n }\n\n addAgentCountMetric(metricName, count) {\n try {\n const _self = this;\n if (csm && csm.API.addCount && metricName) {\n csm.API.addCount(metricName, count);\n _self.MAX_RETRY = 5;\n } else {\n //add to list and retry later\n if (metricName) {\n this.agentMetricToBePublished.push({\n \n metricName,\n \n count\n });\n }\n setTimeout(() => {\n if (csm && csm.API.addCount) {\n this.agentMetricToBePublished.forEach(metricItem => {\n csm.API.addCount(metricItem.metricName, metricItem.count);\n });\n this.agentMetricToBePublished = [];\n } else if(_self.MAX_RETRY > 0) {\n _self.MAX_RETRY -= 1;\n _self.addAgentCountMetric();\n }\n }, 3000);\n }\n } catch(err) {\n this.logger.error('Failed to addAgentCountMetric csm: ', err);\n }\n }\n}\n\nconst csmService = new CsmService();\nexport { csmService };","export const csmJsString = `(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension \\\\'' + dimensionName + '\\\\'. Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(\\`\\${objName}[\\${key}]\\`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.globalDimensions = []; // These dimensions are added to all captured metrics.\n csm.globalOptionalDimensions = [];\n csm.initFailureDimensions = [];\n\n const API = {\n getWorkflow: function(workflowType, instanceId, data) {\n return csm.workflow(workflowType, instanceId, data);\n },\n\n addMetric: function(metric) {\n csm.Util.assertExist(metric, 'metric');\n csm.putMetric(metric);\n },\n\n addMetricWithDedupe: function(metric, dedupeIntervalMs, context) {\n csm.Util.assertExist(metric, 'metric');\n csm.Util.assertExist(metric, 'dedupeIntervalMs');\n // context is optional; if present it will only dedupe on metrics with the same context. ex.) tabId\n metric.dedupeOptions = {dedupeIntervalMs, context: context || 'global'};\n csm.putMetric(metric);\n },\n\n addCount: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(count, 'count');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n csm.putMetric(metric);\n },\n\n addCountWithPageLocation: function(metricName) {\n csm.Util.assertExist(metricName, 'metricName');\n\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, 1.0);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n addError: function(metricName, count) {\n csm.Util.assertExist(metricName, 'metricName');\n\n if (count === undefined || count == null) {\n count = 1.0;\n }\n const metric = new csm.Metric(metricName, csm.UNIT.COUNT, count);\n metric.addDimension('Metric', 'Error');\n csm.putMetric(metric);\n },\n\n addSuccess: function(metricName) {\n API.addError(metricName, 0);\n },\n\n addTime: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('Metric', 'Time');\n csm.putMetric(metric);\n },\n\n addTimeWithPageLocation: function(metricName, time, unit) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(time, 'time');\n\n let timeUnit = csm.UNIT.MILLISECONDS;\n if (unit && csm.Util.isValidTimeUnit(unit)) {\n timeUnit = unit;\n }\n const metric = new csm.Metric(metricName, timeUnit, time);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n },\n\n pageReady: function() {\n if (window.performance && window.performance.now) {\n const pageLoadTime = window.performance.now();\n const metric = new csm.Metric('PageReadyLatency', csm.UNIT.MILLISECONDS, pageLoadTime);\n metric.addDimension('WindowLocation', csm.Util.pageLocationTransformer(window.location.pathname));\n csm.putMetric(metric);\n }\n },\n\n setPageLocationTransformer: function(transformFunc) {\n csm.Util.assertExist(transformFunc, 'transformFunc');\n csm.Util.assertTrue((typeof transformFunc) === 'function');\n csm.Util.pageLocationTransformer = transformFunc;\n },\n\n setGlobalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalDimensions = dimensions;\n },\n\n setGlobalOptionalDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.globalOptionalDimensions = dimensions;\n },\n\n setInitFailureDimensions: function(dimensions) {\n csm.Util.assertExist(dimensions, 'dimensions');\n csm.initFailureDimensions = dimensions;\n },\n\n putCustom: function(endpoint, headers, data) {\n csm.Util.assertExist(data, 'data');\n csm.Util.assertExist(endpoint, 'endpoint');\n csm.Util.assertExist(headers, 'headers');\n csm.putCustom(endpoint, headers, data);\n },\n\n setAuthParams: function(authParams) {\n csm.setAuthParams(authParams);\n },\n\n setConfig: function(key, value) {\n csm.Util.assertExist(key, 'key');\n csm.Util.assertExist(value, 'value');\n if (!csm.configuration[key]) {\n csm.setConfig(key, value); // set configuration variables such as accountId, instanceId, userId\n }\n },\n };\n\n csm.API = API;\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n const WORKFLOW_KEY_PREFIX = 'csm.workflow';\n\n /**\n * Calculates the local storage key used to store a workflow of the specified type.\n * @param {string} type of workflow\n * @return {string} storage key\n */\n const getWorkflowKeyForType = function(type) {\n return [\n WORKFLOW_KEY_PREFIX,\n type,\n ].join('.');\n };\n\n /**\n * Constructor for new Workflow objects.\n *\n * If you need to be able to share a workflow across tabs, it is recommended\n * to use \"csm.workflow\" to create/hydrate your workflows instead.\n * @param {string} type of workflow\n * @param {string} instanceId of workflow\n * @param {JSON} data blob associated with workflow\n */\n const Workflow = function(type, instanceId, data) {\n this.type = type;\n this.instanceId = instanceId || csm.Util.randomId();\n this.instanceSpecified = instanceId || false;\n this.eventMap = {};\n this.data = data || {};\n\n // Merge global dimensions into the data map.\n const dimensionData = {};\n csm.globalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n csm.globalOptionalDimensions.forEach(function(dimension) {\n dimensionData[dimension.name] = dimension.value;\n });\n this.data = this._mergeData(dimensionData);\n };\n\n /**\n * Create a new workflow or rehydrate an existing shared workflow.\n *\n * @param {string} type The type of workflow to be created.\n * @param {string} instanceId The instanceId of the workflow. If not provided, it will be\n * assigned a random ID and will not be automatically saved to local storage.\n * If provided, we will attempt to load an existing workflow of the same type\n * from local storage and rehydrate it.\n * @param {JSON} data An optional map of key/value pairs to be added as data to every\n * workflow event created with this workflow.\n * @return {Workflow} workflow event\n * NOTE: Only one workflow of each type can be stored at the same time, to avoid\n * overloading localStorage with unused workflow records.\n */\n csm.workflow = function(type, instanceId, data) {\n let workflow = new Workflow(type, instanceId, data);\n\n if (instanceId) {\n const savedWorkflow = csm._loadWorkflow(type);\n if (savedWorkflow && savedWorkflow.instanceId === instanceId) {\n workflow = savedWorkflow;\n workflow.addData(data || {});\n }\n }\n\n return workflow;\n };\n\n csm._loadWorkflow = function(type) {\n let workflow = null;\n const workflowJson = localStorage.getItem(getWorkflowKeyForType(type));\n const workflowStruct = workflowJson ? JSON.parse(workflowJson) : null;\n if (workflowStruct) {\n workflow = new Workflow(type, workflowStruct.instanceId);\n workflow.eventMap = workflowStruct.eventMap;\n }\n return workflow;\n };\n\n /**\n * Creates a new workflow event and returns it. Then this workflow event is sent upstream\n * to the CSMSharedWorker where it is provided to the backend.\n *\n * If an instanceId was specified when the workflow was created, this will also save the workflow\n * and all of its events to localStorage.\n *\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.event = function(event, data) {\n const mergedData = this._mergeData(data || {});\n const workflowEvent = new csm.WorkflowEvent({\n workflow: this,\n event: event,\n data: mergedData,\n userId: csm.configuration.userId || '',\n organizationId: csm.configuration.organizationId || '',\n accountId: csm.configuration.accountId || '',\n appName: csm.configuration.namespace || '',\n });\n csm.putWorkflowEvent(workflowEvent);\n this.eventMap[event] = workflowEvent;\n if (this.instanceSpecified) {\n this.save();\n }\n return workflowEvent;\n };\n\n /**\n * Creates a new workflow event and returns it, if the same event is not happened in ths past\n * dedupeIntervalMs milliseconds.\n * @param {string} event The name of the event that occurred.\n * @param {JSON} data An optional free-form key attribute pair of metadata items that will be stored\n * and reported backstream with the workflow event.\n * @param {int} dedupeIntervalMs defaults to 200 MS\n * @return {WorkflowEvent} workflowEvent\n */\n Workflow.prototype.eventWithDedupe = function(event, data, dedupeIntervalMs) {\n const pastEvent = this.getPastEvent(event);\n const now = new Date().getTime();\n const interval = dedupeIntervalMs || 200;\n\n // Crafting the expected workflow event data result\n const mergedData = this._mergeData(data);\n const expectedData = [];\n for (const key in mergedData) {\n if (Object.prototype.hasOwnProperty.call(mergedData, key)) {\n expectedData.push({'key': key, 'value': mergedData[key]});\n }\n }\n\n // Deduplicate same events that happened within interval\n if (!pastEvent || (pastEvent && JSON.stringify(pastEvent.data) !== JSON.stringify(expectedData)) ||\n (pastEvent && (now - pastEvent.timestamp > interval))) {\n return this.event(event, data);\n }\n return null;\n };\n\n /**\n * Get a past event if it exists in this workflow, otherwise returns null.\n * This can be helpful to emit metrics in real time based on the differences\n * between workflow event timestamps, especially for workflows shared across tabs.\n * @param {string} event key to see if workflow exists for this event\n * @return {WorkflowEvent} workflow event retrieved\n */\n Workflow.prototype.getPastEvent = function(event) {\n return event in this.eventMap ? this.eventMap[event] : null;\n };\n\n /**\n * Save the workflow to local storage. This only happens automatically when an\n * instanceId is specified on workflow creation, however if this method is called\n * explicitly by the client, the randomly generated workflow instance id can be\n * used to retrieve the workflow later and automatic save on events will be enabled.\n */\n Workflow.prototype.save = function() {\n this.instanceSpecified = true;\n localStorage.setItem(getWorkflowKeyForType(this.type), JSON.stringify(this));\n };\n\n /**\n * Remove this workflow if it is the saved instance for this workflow type in localStorage.\n */\n Workflow.prototype.close = function() {\n const storedWorkflow = csm._loadWorkflow(this.type);\n if (storedWorkflow && storedWorkflow.instanceId === this.instanceId) {\n localStorage.removeItem(getWorkflowKeyForType(this.type));\n }\n };\n\n Workflow.prototype.addData = function(data) {\n for (const key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n this.data[key] = data[key];\n }\n }\n };\n\n Workflow.prototype._mergeData = function(data) {\n const mergedData = {};\n let key = null;\n for (key in this.data) {\n if (Object.prototype.hasOwnProperty.call(this.data, key)) {\n mergedData[key] = this.data[key] == null ? 'null' : (this.data[key] === '' ? ' ' : this.data[key].toString());\n }\n }\n for (key in data) {\n if (Object.prototype.hasOwnProperty.call(data, key)) {\n mergedData[key] = data[key] == null ? 'null' : (data[key] === '' ? ' ' : data[key].toString());\n }\n }\n return mergedData;\n };\n})();\n\n(function() {\n const global = window;\n const csm = global.csm || {};\n global.csm = csm;\n\n let worker = null;\n let portId = null;\n\n const MAX_INIT_MILLISECONDS = 5000;\n const preInitTaskQueue = [];\n csm.configuration = {};\n\n /**\n * Initialize CSM variables\n * @param {object} params for CSM\n * @params.namespace Define your metric namespace used in CloudWatch metrics\n * @params.sharedWorkerUrl Specify the relative url to the connect-csm-worker.js file in your service\n * @params.endpoint Specify an LDAS endpoint to use.\n * @params.dryRunMode When CSM is initialized with dry run mode, it won't actually publish metrics.\n * @params.defaultMetrics Enable default metrics. Default to false.\n */\n csm.initCSM = function(params) {\n csm.Util.assertExist(params.namespace, 'namespace');\n csm.Util.assertExist(params.sharedWorkerUrl, 'sharedWorkerUrl');\n csm.Util.assertExist(params.endpoint, 'endpoint');\n\n try {\n console.log('Starting csm shared worker with', params.sharedWorkerUrl);\n worker = new SharedWorker(params.sharedWorkerUrl, 'CSM_SharedWorker');\n worker.port.start();\n } catch (e) {\n console.log('Failed to initialize csm shared worker with', params.sharedWorkerUrl);\n console.log(e.message);\n }\n\n /**\n * Configure shared worker\n */\n csm.configuration = {\n namespace: params.namespace,\n userId: params.userId || '',\n accountId: params.accountId || '',\n organizationId: params.organizationId || '',\n endpointUrl: params.endpoint || null,\n batchSettings: params.batchSettings || null,\n addPageVisibilityDimension: params.addPageVisibilityDimension || false,\n addUrlDataDimensions: params.addUrlDataDimensions || false,\n dryRunMode: params.dryRunMode || false, // When csm is in dryRunMode it won't actually publish metrics to CSM\n };\n\n postEventToWorker(csm.EVENT_TYPE.CONFIG, csm.configuration);\n\n /**\n * Receive message from shared worker\n * @param {MessageEvent} messageEvent from shared worker\n */\n worker.port.onmessage = function(messageEvent) {\n const messageType = messageEvent.data.type;\n onMessageFromWorker(messageType, messageEvent.data);\n };\n\n /**\n * Inform shared worker window closed\n */\n global.onbeforeunload = function() {\n worker.port.postMessage(\n {\n type: csm.EVENT_TYPE.CLOSE,\n portId: portId,\n },\n );\n };\n\n /**\n * Check if initialization success\n */\n global.setTimeout(function() {\n if (!isCSMInitialized()) {\n console.log('[FATAL] CSM initialization failed! Please make sure the sharedWorkerUrl is reachable.');\n }\n }, MAX_INIT_MILLISECONDS);\n\n // Emit out of the box metrics\n if (params.defaultMetrics) {\n emitDefaultMetrics();\n }\n };\n // Final processing before sending to SharedWorker\n const processMetric = function(metric) {\n if (csm.configuration.addPageVisibilityDimension && document.visibilityState) {\n metric.addOptionalDimension('VisibilityState', document.visibilityState);\n }\n };\n\n const processWorkflowEvent = function(event) {\n if (csm.configuration.addUrlDataDimensions) {\n event.data.push({'key': 'ReferrerUrl', 'value': csm.Util.getReferrerUrl()});\n event.data.push({'key': 'Origin', 'value': csm.Util.getOrigin()});\n event.data.push({'key': 'WindowParent', 'value': csm.Util.getWindowParent()});\n }\n if (['initFailure', 'initializationLatencyInfo'].includes(event.event)) {\n csm.initFailureDimensions.forEach((dimension) => {\n Object.keys(dimension).forEach((key) => {\n event.data.push({'key': key, 'value': dimension[key]});\n });\n });\n }\n return event;\n };\n\n csm.putMetric = function(metric) {\n processMetric(metric);\n postEventToWorker(csm.EVENT_TYPE.METRIC, metric);\n };\n\n csm.putLog = function(log) {\n postEventToWorker(csm.EVENT_TYPE.LOG, log);\n };\n\n csm.putWorkflowEvent = function(event) {\n const processedEvent = processWorkflowEvent(event);\n postEventToWorker(csm.EVENT_TYPE.WORKFLOW_EVENT, processedEvent);\n };\n\n csm.putCustom = function(endpoint, headers, data) {\n postEventToWorker(csm.EVENT_TYPE.CUSTOM, data, endpoint, headers);\n };\n\n csm.setAuthParams = function(authParams) {\n postEventToWorker(csm.EVENT_TYPE.SET_AUTH, authParams);\n };\n\n csm.setConfig = function(key, value) {\n csm.configuration[key] = value;\n postEventToWorker(csm.EVENT_TYPE.SET_CONFIG, {key, value});\n };\n /** ********************** PRIVATE METHODS ************************/\n\n const onMessageFromWorker = function(messageType, data) {\n if (messageType === csm.EVENT_TYPE.CONFIG) {\n portId = data.portId;\n onCSMInitialized();\n }\n };\n\n const onCSMInitialized = function() {\n // Purge the preInitTaskQueue\n preInitTaskQueue.forEach(function(task) {\n postEventToWorker(task.type, task.message, task.endpoint, task.headers);\n });\n\n // TODO: Capture on errors and publish log to shared worker\n /**\n window.onerror = function(message, fileName, lineNumber, columnNumber, errorstack) {\n var log = new csm.Log(message, fileName, lineNumber, columnNumber, errorstack.stack);\n csm.putLog(log);\n };\n */\n };\n\n /**\n * Emit out of the box metrics automatically\n *\n * TODO allow configuration\n */\n const emitDefaultMetrics = function() {\n window.addEventListener('load', function() {\n // loadEventEnd is avaliable after the onload function finished\n // https://www.w3.org/TR/navigation-timing-2/#processing-model\n // https://developer.mozilla.org/en-US/docs/Web/API/PerformanceNavigationTiming\n global.setTimeout(function() {\n try {\n const perfData = window.performance.getEntriesByType('navigation')[0];\n const pageLoadTime = perfData.loadEventEnd - perfData.startTime;\n const connectTime = perfData.responseEnd - perfData.requestStart;\n const domRenderTime = perfData.domComplete - perfData.domInteractive;\n csm.API.addCountWithPageLocation('PageLoad');\n csm.API.addTimeWithPageLocation('PageLoadTime', pageLoadTime);\n csm.API.addTimeWithPageLocation('ConnectTime', connectTime);\n csm.API.addTimeWithPageLocation('DomRenderTime', domRenderTime);\n } catch (err) {\n console.log('Error emitting default metrics', err);\n }\n }, 0);\n });\n };\n\n /**\n * Try posting message to shared worker\n * If shared worker hasn't been initialized, put the task to queue to be clean up once initialized\n * @param {csm.EVENT_TYPE} eventType for CSM\n * @param {object} message event following type of eventType\n * @param {string} [endpoint] optional parameter for putCustom function (put any data to specified endpoint)\n * @param {object} [headers] optional parameter for putCustom function\n */\n const postEventToWorker = function(eventType, message, endpoint, headers) {\n if (eventType === csm.EVENT_TYPE.CONFIG || isCSMInitialized()) {\n worker.port.postMessage(\n {\n type: eventType,\n portId: portId,\n message: message,\n endpoint: endpoint,\n headers: headers,\n },\n );\n } else {\n preInitTaskQueue.push({\n type: eventType,\n message: message,\n endpoint: endpoint,\n headers: headers,\n });\n }\n };\n\n const isCSMInitialized = function() {\n return portId !== null;\n };\n})()`;\n","export const csmWorkerString = `(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n csm.EVENT_TYPE = {\n LOG: 'LOG',\n METRIC: 'METRIC',\n CONFIG: 'CONFIG',\n WORKFLOW_EVENT: 'WORKFLOW_EVENT',\n CUSTOM: 'CUSTOM',\n CLOSE: 'CLOSE',\n SET_AUTH: 'SET_AUTH',\n SET_CONFIG: 'SET_CONFIG',\n };\n\n csm.UNIT = {\n COUNT: 'Count',\n SECONDS: 'Seconds',\n MILLISECONDS: 'Milliseconds',\n MICROSECONDS: 'Microseconds',\n };\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const MAX_METRIC_DIMENSIONS = 10;\n\n /** ********* Dimension Classes ***********/\n\n const Dimension = function(name, value) {\n csm.Util.assertExist(name, 'name');\n csm.Util.assertExist(value, 'value');\n\n this.name = name;\n this.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n };\n\n\n /** ********* Metric Classes ***********/\n\n const Metric = function(metricName, unit, value, dedupeOptions) {\n csm.Util.assertExist(metricName, 'metricName');\n csm.Util.assertExist(value, 'value');\n csm.Util.assertExist(unit, 'unit');\n csm.Util.assertTrue(csm.Util.isValidUnit(unit));\n if (dedupeOptions) {\n csm.Util.assertInObject(dedupeOptions, 'dedupeOptions', 'dedupeIntervalMs');\n }\n\n this.metricName = metricName;\n this.unit = unit;\n this.value = value;\n this.timestamp = new Date();\n this.dimensions = csm.globalDimensions ? csm.Util.deepCopy(csm.globalDimensions): [];\n this.namespace = csm.configuration.namespace;\n this.dedupeOptions = dedupeOptions; // optional. { dedupeIntervalMs: (int; required), context: (string; optional) }\n\n // Currently, CloudWatch can't aggregate metrics by a subset of dimensions.\n // To bypass this limitation, we introduce the optional dimensions concept to CSM.\n // The CSM metric publisher will publish a default metric without optional dimension\n // For each optional dimension, the CSM metric publisher publishes an extra metric with that dimension.\n this.optionalDimensions = csm.globalOptionalDimensions ? csm.Util.deepCopy(csm.globalOptionalDimensions): [];\n };\n\n Metric.prototype.addDimension = function(name, value) {\n this._addDimensionHelper(this.dimensions, name, value);\n };\n\n Metric.prototype.addOptionalDimension = function(name, value) {\n this._addDimensionHelper(this.optionalDimensions, name, value);\n };\n\n Metric.prototype._addDimensionHelper = function(targetDimensions, name, value) {\n // CloudWatch metric allows maximum 10 dimensions\n // http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CloudWatch.html#putMetricData-property\n if ((this.dimensions.length + this.optionalDimensions.length) >= MAX_METRIC_DIMENSIONS) {\n throw new csm.ExceedDimensionLimitException(name);\n }\n\n const existing = targetDimensions.find(function(dimension) {\n return dimension.name === name;\n });\n\n if (existing) {\n existing.value = value == null ? 'null' : (value === '' ? ' ' : value.toString());\n } else {\n targetDimensions.push(new Dimension(name, value));\n }\n };\n\n\n /** ********* Telemetry Classes ***********/\n\n const WorkflowEvent = function(params) {\n this.timestamp = params.timestamp || new Date().getTime();\n this.workflowType = params.workflow.type;\n this.instanceId = params.workflow.instanceId;\n this.userId = params.userId;\n this.organizationId = params.organizationId;\n this.accountId = params.accountId;\n this.event = params.event;\n this.appName = params.appName;\n this.data = [];\n\n // Convert 'data' map into the KeyValuePairList structure expected by the Lambda API\n for (const key in params.data) {\n if (Object.prototype.hasOwnProperty.call(params.data, key)) {\n this.data.push({'key': key, 'value': params.data[key]});\n }\n }\n };\n\n /** ********* Exceptions ***********/\n\n const NullOrUndefinedException = function(paramName) {\n this.name = 'NullOrUndefinedException';\n this.message = paramName + ' is null or undefined. ';\n };\n NullOrUndefinedException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const AssertTrueException = function() {\n this.name = 'AssertTrueException';\n this.message = 'Assertion failed. ';\n };\n AssertTrueException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const ExceedDimensionLimitException = function(dimensionName) {\n this.name = 'ExceedDimensionLimitException';\n this.message = 'Could not add dimension ' + dimensionName + ' . Metric has maximum 10 dimensions. ';\n };\n ExceedDimensionLimitException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n const InitializationException = function() {\n this.name = 'InitializationException';\n this.message = 'Initialization failed. ';\n };\n InitializationException.prototype.toString = function() {\n return this.name + ': ' + this.message;\n };\n\n\n csm.Dimension = Dimension;\n csm.Metric = Metric;\n csm.WorkflowEvent = WorkflowEvent;\n csm.NullOrUndefinedException = NullOrUndefinedException;\n csm.AssertTrueException = AssertTrueException;\n csm.InitializationException = InitializationException;\n csm.ExceedDimensionLimitException = ExceedDimensionLimitException;\n})();\n\n(function() {\n const global = self;\n const csm = global.csm || {};\n global.csm = csm;\n\n const validTimeUnits = [csm.UNIT.SECONDS, csm.UNIT.MILLISECONDS, csm.UNIT.MICROSECONDS];\n const validUnits = validTimeUnits.concat(csm.UNIT.COUNT);\n\n const Util = {\n assertExist: function(value, paramName) {\n if (value === null || value === undefined) {\n throw new csm.NullOrUndefinedException(paramName);\n }\n },\n assertTrue: function(value) {\n if (!value) {\n throw new csm.AssertTrueException();\n }\n },\n assertInObject: function(obj, objName, key) {\n if (obj === null || obj === undefined || typeof obj !== 'object') {\n throw new csm.NullOrUndefinedException(objName);\n }\n if (key === null || key === undefined || !obj[key]) {\n throw new csm.NullOrUndefinedException(\\`\\${objName}[\\${key}]\\`);\n }\n },\n isValidUnit: function(unit) {\n return validUnits.includes(unit);\n },\n isValidTimeUnit: function(unit) {\n return validTimeUnits.includes(unit);\n },\n isEmpty: function(value) {\n if (value !== null && typeof val === 'object') {\n return Objects.keys(value).length === 0;\n }\n return !value;\n },\n deepCopy: function(obj) {\n // NOTE: this will fail if obj has a circular reference\n return JSON.parse(JSON.stringify(obj));\n },\n\n /**\n * This function is used before setting the page location for default metrics and logs,\n * and the APIs that set page location\n * Can be overridden by calling csm.API.setPageLocationTransformer(function(){})\n * @param {string} pathname path for page location\n * @return {string} pathname provided\n */\n pageLocationTransformer: function(pathname) {\n return pathname;\n },\n\n /**\n * As of now, our service public claims only support for Firefox and Chrome\n * Reference https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent\n *\n * This function will only return firefox, chrome and others\n *\n * Best practice as indicated in MDN, \"Avoiding user agent detection\"\n */\n getBrowserDetails: function() {\n const userAgent = window.navigator.userAgent;\n const details = {};\n if (userAgent.includes('Firefox') && !userAgent.includes('Seamonkey')) {\n details.name = 'Firefox';\n details.version = getBrowserVersion('Firefox');\n } else if (userAgent.includes('Chrome') && !userAgent.includes('Chromium')) {\n details.name = 'Chrome';\n details.version = getBrowserVersion('Chrome');\n }\n },\n\n randomId: function() {\n return new Date().getTime() + '-' + Math.random().toString(36).slice(2);\n },\n\n getOrigin: function() {\n return document.location.origin;\n },\n\n getReferrerUrl: function() {\n const referrer = document.referrer || '';\n return this.getURLOrigin(referrer);\n },\n\n getWindowParent: function() {\n let parentLocation = '';\n try {\n parentLocation = window.parent.location.href;\n } catch (e) {\n parentLocation = '';\n }\n return parentLocation;\n },\n\n getURLOrigin: function(urlValue) {\n let origin = '';\n const originArray = urlValue.split( '/' );\n if (originArray.length >= 3) {\n const protocol = originArray[0];\n const host = originArray[2];\n origin = protocol + '//' + host;\n }\n return origin;\n },\n\n };\n\n const getBrowserVersion = function(browserName) {\n const userAgent = window.navigator.userAgent;\n const browserNameIndex = userAgent.indexOf(browserName);\n const nextSpaceIndex = userAgent.indexOf(' ', browserNameIndex);\n if (nextSpaceIndex === -1) {\n return userAgent.substring(browserNameIndex + browserName.length + 1, userAgent.length);\n } else {\n return userAgent.substring(browserNameIndex + browserName.length + 1, nextSpaceIndex);\n }\n };\n\n csm.Util = Util;\n})();\n\n(function() {\n const XHR_DONE_READY_STATE = 4; // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/readyState\n\n const global = self;\n const configuration = {};\n const batchSettings = {\n maxMetricsSize: 30,\n maxWorkflowEventsSize: 30,\n putMetricsIntervalMs: 30000,\n putWorkflowEventsIntervalMs: 2000,\n };\n const metricLists = {}; // metricList per CloudWatch Namespace\n const metricMap = {};\n const ports = {};\n let workflowEvents = {workflowEventList: []};\n\n // SharedWorker wiki: https://developer.mozilla.org/en-US/docs/Web/API/SharedWorker\n onconnect = function(connectEvent) {\n const port = connectEvent.ports[0];\n\n port.onmessage = function(event) {\n const data = event.data;\n const messageType = data.type;\n const message = data.message;\n const endpoint = data.endpoint;\n const headers = data.headers;\n\n if (data.portId && !(data.portId in ports)) {\n // This could happen when a user tries to close a tab which has a pop up alert to confirm closing,\n // and the user decides to cancel closing\n // This triggers before unload event while the tab or window is not closed actually\n ports[data.portId] = port;\n }\n\n const {METRIC, WORKFLOW_EVENT, CUSTOM, CONFIG, SET_AUTH, SET_CONFIG, CLOSE} = csm.EVENT_TYPE;\n switch (messageType) {\n case METRIC: {\n csm.Util.assertInObject(message, 'message', 'namespace');\n const namespace = message.namespace;\n if (shouldDedupe(message)) break;\n addMetricEventToMap(message);\n if (metricLists[namespace]) {\n metricLists[namespace].push(message);\n } else {\n metricLists[namespace] = [message];\n }\n if (metricLists[namespace].length >= batchSettings.maxMetricsSize) {\n putMetricsForNamespace(namespace);\n }\n break;\n }\n case WORKFLOW_EVENT: {\n workflowEvents.workflowEventList.push(message);\n if (workflowEvents.length >= batchSettings.maxWorkflowEventsSize) {\n putWorkflowEvents();\n }\n break;\n }\n case CUSTOM: {\n putCustom(endpoint, headers, message);\n break;\n }\n case CONFIG: {\n const portId = Object.keys(ports).length + 1; // portId starts from 1\n ports[portId] = port;\n for (const setting of Object.keys(message)) {\n if (!csm.Util.isEmpty(message[setting])) {\n configuration[setting] = message[setting];\n }\n }\n\n // set optional batch settings\n if (configuration.batchSettings) {\n for (const setting of Object.keys(configuration.batchSettings)) {\n batchSettings[setting] = configuration.batchSettings[setting];\n }\n }\n // send metrics and workflow events at set intervals\n putMetrics();\n putWorkflowEvents();\n global.setInterval(putMetrics, batchSettings.putMetricsIntervalMs);\n global.setInterval(putWorkflowEvents, batchSettings.putWorkflowEventsIntervalMs);\n\n port.postMessage(\n {\n type: csm.EVENT_TYPE.CONFIG,\n portId: portId,\n },\n );\n break;\n }\n case SET_AUTH: {\n configuration.authParams = message;\n authenticate();\n break;\n }\n case SET_CONFIG: {\n configuration[message.key] = message.value;\n break;\n }\n case CLOSE: {\n delete ports[data.portId];\n if (Object.keys(ports).length === 0) {\n putMetrics();\n putWorkflowEvents();\n }\n break;\n }\n default:\n break;\n }\n };\n };\n\n const shouldDedupe = function(metric) {\n try {\n const pastMetric = getPastMetricEvent(metric);\n return pastMetric && metric.dedupeOptions &&\n (metric.timestamp - pastMetric.timestamp < metric.dedupeOptions.dedupeIntervalMs);\n } catch (err) {\n console.error('Error in shouldDedupe', err);\n return false;\n }\n };\n\n const getPastMetricEvent = function(metric) {\n try {\n return metricMap[getMetricEventKey(metric)];\n } catch (err) {\n // ignore err - no previous metrics found\n return null;\n }\n };\n\n const addMetricEventToMap = function(metric) {\n try {\n metricMap[getMetricEventKey(metric)] = metric;\n } catch (err) {\n console.error('Failed to add event to metricMap', err);\n }\n csm.metricMap = metricMap;\n };\n\n const getMetricEventKey = function(metric) {\n const {namespace, metricName, unit, dedupeOptions} = metric;\n let context = 'global';\n if (dedupeOptions && dedupeOptions.context) {\n context = dedupeOptions.context;\n }\n return \\`\\${namespace}-\\${metricName}-\\${unit}-\\${context}\\`;\n };\n\n const authenticate = function() {\n postRequest(configuration.endpointUrl + '/auth', {authParams: configuration.authParams},\n {\n success: function(response) {\n if (response && response.jwtToken) {\n configuration.authParams.jwtToken = response.jwtToken;\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] csm auth failed!');\n broadcastMessage('Response : ' + response);\n },\n }, {'x-api-key': 'auth-method-level-key'});\n };\n\n /**\n * Put metrics to service when:\n * a) metricList size is at maxMetricsSize\n * b) every putMetricsIntervalMs time if the metricList is not empty\n * c) worker is closed\n *\n * Timer is reset, and metricList emptied after each putMetrics call\n */\n const putMetrics = function() {\n for (const namespace of Object.keys(metricLists)) {\n putMetricsForNamespace(namespace);\n }\n };\n\n const putMetricsForNamespace = function(namespace) {\n csm.Util.assertInObject(metricLists, 'metricLists', namespace);\n const metricList = metricLists[namespace];\n\n if (metricList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n postRequest(configuration.endpointUrl + '/put-metrics', {\n metricNamespace: namespace,\n metricList: metricList,\n authParams: configuration.authParams,\n accountId: configuration.accountId,\n organizationId: configuration.organizationId,\n agentResourceId: configuration.userId,\n }, {\n success: function(response) {\n if (response) {\n broadcastMessage('PutMetrics response : ' + response);\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put metrics to service failed! ');\n },\n });\n }\n metricLists[namespace] = [];\n };\n\n /**\n * Put metrics to service every two seconds if there are events to be put.\n */\n const putWorkflowEvents = function() {\n if (workflowEvents.workflowEventList.length > 0 && !configuration.dryRunMode && configuration.endpointUrl) {\n workflowEvents.authParams = configuration.authParams;\n postRequest(configuration.endpointUrl + '/put-workflow-events', workflowEvents,\n {\n success: function(response) {\n if (response) {\n if (response.workflowEventList && response.workflowEventList.length > 0) {\n broadcastMessage('[WARN] There are ' + response.length + ' workflow events that failed to publish');\n broadcastMessage('Response : ' + response);\n }\n if (response.unsetToken) {\n delete configuration.authParams.jwtToken;\n authenticate();\n }\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Put workflow events to service failed! ');\n },\n });\n }\n\n workflowEvents = {workflowEventList: []};\n };\n\n /**\n * Put data to custom endpoint on demand\n * @param {string} endpoint\n * @param {object} headers\n * @param {object} data to send to endpoint\n */\n const putCustom = function(endpoint, headers, data) {\n if (!configuration.dryRunMode && endpoint && data) {\n postRequest(endpoint, data, {\n success: function(response) {\n if (response) {\n broadcastMessage('Response : ' + response);\n }\n },\n failure: function(response) {\n broadcastMessage('[ERROR] Failed to put custom data! ');\n },\n }, headers);\n }\n };\n\n /**\n * Broadcast message to all tabs\n * @param {string} message to post to all the tabs\n */\n const broadcastMessage = function(message) {\n for (const portId in ports) {\n if (Object.prototype.hasOwnProperty.call(ports, portId)) {\n ports[portId].postMessage(message);\n }\n }\n };\n\n const postRequest = function(url, data, callbacks, headers) {\n csm.Util.assertExist(url, 'url');\n csm.Util.assertExist(data, 'data');\n\n callbacks = callbacks || {};\n callbacks.success = callbacks.success || function() {};\n callbacks.failure = callbacks.failure || function() {};\n\n const request = new XMLHttpRequest(); // new HttpRequest instance\n request.onreadystatechange = function() {\n const errorList = request.response ? JSON.parse(request.response): [];\n if (request.readyState === XHR_DONE_READY_STATE) { // request finished and response is ready\n if (request.status === 200) {\n callbacks.success(errorList);\n } else {\n broadcastMessage('AJAX request failed with status: ' + request.status);\n callbacks.failure(errorList);\n }\n }\n };\n\n request.open('POST', url);\n if (headers && typeof headers === 'object') {\n Object.keys(headers).forEach((header) => request.setRequestHeader(header, headers[header]));\n } else {\n request.setRequestHeader('Content-Type', 'application/json');\n }\n request.send(JSON.stringify(data));\n };\n})()`;\n","import { IllegalArgumentException } from \"../exceptions\";\nimport { ConnectionInfoType } from \"./baseConnectionHelper\";\nimport { ACPS_METHODS, CSM_CATEGORY, SESSION_TYPES, TRANSPORT_LIFETIME_IN_SECONDS, FEATURES, CONN_ACK_FAILED } from \"../../constants\";\nimport { csmService } from \"../../service/csmService\";\nimport { GlobalConfig } from \"../../globalConfig\";\n\nexport default class ConnectionDetailsProvider {\n\n constructor(participantToken, chatClient, sessionType, getConnectionToken=null) {\n this.chatClient = chatClient;\n this.participantToken = participantToken || null;\n this.connectionDetails = null;\n this.connectionToken = null;\n this.connectionTokenExpiry = null;\n this.sessionType = sessionType;\n this.getConnectionToken = getConnectionToken;\n }\n\n getFetchedConnectionToken() {\n return this.connectionToken;\n }\n\n getConnectionTokenExpiry() {\n return this.connectionTokenExpiry;\n }\n\n getConnectionDetails() {\n return this.connectionDetails;\n }\n\n fetchConnectionDetails() {\n return this._fetchConnectionDetails().then((connectionDetails) => connectionDetails);\n }\n\n _handleCreateParticipantConnectionResponse(connectionDetails, ConnectParticipant) {\n this.connectionDetails = {\n url: connectionDetails.Websocket.Url,\n expiry: connectionDetails.Websocket.ConnectionExpiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS,\n connectionAcknowledged: ConnectParticipant,\n connectionToken: connectionDetails.ConnectionCredentials.ConnectionToken,\n connectionTokenExpiry: connectionDetails.ConnectionCredentials.Expiry,\n };\n this.connectionToken = connectionDetails.ConnectionCredentials.ConnectionToken;\n this.connectionTokenExpiry = connectionDetails.ConnectionCredentials.Expiry;\n return this.connectionDetails;\n }\n\n _handleGetConnectionTokenResponse(connectionTokenDetails) {\n this.connectionDetails = {\n url: null,\n expiry: null,\n connectionToken: connectionTokenDetails.participantToken,\n connectionTokenExpiry: connectionTokenDetails.expiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS,\n connectionAcknowledged: false,\n };\n this.connectionToken = connectionTokenDetails.participantToken;\n this.connectionTokenExpiry = connectionTokenDetails.expiry;\n return Promise.resolve(this.connectionDetails);\n }\n\n callCreateParticipantConnection({ Type = true, ConnectParticipant = false } = {}){\n const startTime = new Date().getTime();\n return this.chatClient\n .createParticipantConnection(this.participantToken, Type ? [ConnectionInfoType.WEBSOCKET, ConnectionInfoType.CONNECTION_CREDENTIALS] : null, ConnectParticipant ? ConnectParticipant : null)\n .then((response) => {\n if (Type) {\n this._addParticipantConnectionMetric(startTime);\n return this._handleCreateParticipantConnectionResponse(response.data, ConnectParticipant);\n }\n })\n .catch( error => {\n if (Type) {\n this._addParticipantConnectionMetric(startTime, true);\n }\n return Promise.reject({\n reason: \"Failed to fetch connectionDetails with createParticipantConnection\",\n _debug: error\n });\n });\n }\n\n _addParticipantConnectionMetric(startTime, error = false) {\n csmService.addLatencyMetricWithStartTime(ACPS_METHODS.CREATE_PARTICIPANT_CONNECTION, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(ACPS_METHODS.CREATE_PARTICIPANT_CONNECTION, CSM_CATEGORY.API, error);\n }\n\n async _fetchConnectionDetails() {\n // If this is a customer session, use the provided participantToken to call createParticipantConnection for our connection details. \n if (this.sessionType === SESSION_TYPES.CUSTOMER) {\n return this.callCreateParticipantConnection();\n }\n // If this is an agent session, we can't assume that the participantToken is valid. \n // In this case, we use the getConnectionToken API to fetch a valid connectionToken and expiry. \n // If that fails, for now we try with createParticipantConnection.\n else if (this.sessionType === SESSION_TYPES.AGENT){\n return this.getConnectionToken()\n .then((response) => {\n return this._handleGetConnectionTokenResponse(response.chatTokenTransport);\n })\n .catch(() => {\n if (!GlobalConfig.isFeatureEnabled(FEATURES.PARTICIPANT_CONN_ACK)) {\n //current behaviour\n return this.callCreateParticipantConnection();\n }\n //new behaviour for connAck\n return this.callCreateParticipantConnection({\n Type: true,\n ConnectParticipant: true\n }).catch((err) => {\n throw new Error({\n type: CONN_ACK_FAILED,\n errorMessage: err\n });\n });\n });\n }\n else {\n return Promise.reject({\n reason: \"Failed to fetch connectionDetails.\",\n _debug: new IllegalArgumentException(\"Failed to fetch connectionDetails.\")\n });\n }\n }\n}\n"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 10);\n","import { EventBus } from \"../eventbus\";\nimport { LogManager } from \"../../log\";\nimport { \n ConnectionHelperEvents,\n ConnectionHelperStatus\n} from \"./baseConnectionHelper\";\nimport BaseConnectionHelper from \"./baseConnectionHelper\";\nimport WebSocketManager from \"../../lib/amazon-connect-websocket-manager\";\nimport { CHAT_EVENTS, CSM_CATEGORY, TRANSPORT_LIFETIME_IN_SECONDS, WEBSOCKET_EVENTS } from \"../../constants\";\nimport { csmService } from \"../../service/csmService\";\n\nclass LpcConnectionHelper extends BaseConnectionHelper {\n\n constructor(contactId, initialContactId, connectionDetailsProvider, websocketManager, logMetaData, connectionDetails) {\n super(connectionDetailsProvider, logMetaData);\n\n // WebsocketManager instance is only provided iff agent connections\n this.customerConnection = !websocketManager;\n\n if (this.customerConnection) {\n // ensure customer base instance exists for this contact ID\n if (!LpcConnectionHelper.customerBaseInstances[contactId]) {\n LpcConnectionHelper.customerBaseInstances[contactId] =\n new LpcConnectionHelperBase(connectionDetailsProvider, undefined, logMetaData, connectionDetails);\n }\n this.baseInstance = LpcConnectionHelper.customerBaseInstances[contactId];\n } else {\n // cleanup agent base instance if it exists for old websocket manager\n if (LpcConnectionHelper.agentBaseInstance) {\n if (LpcConnectionHelper.agentBaseInstance.getWebsocketManager() !== websocketManager) {\n LpcConnectionHelper.agentBaseInstance.end();\n LpcConnectionHelper.agentBaseInstance = null;\n }\n }\n // ensure agent base instance exists\n if (!LpcConnectionHelper.agentBaseInstance) {\n LpcConnectionHelper.agentBaseInstance =\n new LpcConnectionHelperBase(undefined, websocketManager, logMetaData);\n }\n this.baseInstance = LpcConnectionHelper.agentBaseInstance;\n }\n\n this.contactId = contactId;\n this.initialContactId = initialContactId;\n this.status = null;\n this.eventBus = new EventBus();\n this.subscriptions = [\n this.baseInstance.onEnded(this.handleEnded.bind(this)),\n this.baseInstance.onConnectionGain(this.handleConnectionGain.bind(this)),\n this.baseInstance.onConnectionLost(this.handleConnectionLost.bind(this)),\n this.baseInstance.onMessage(this.handleMessage.bind(this))\n ];\n }\n\n start() {\n super.start();\n return this.baseInstance.start();\n }\n\n end() {\n super.end();\n this.eventBus.unsubscribeAll();\n this.subscriptions.forEach(unsubscribe => unsubscribe());\n this.status = ConnectionHelperStatus.Ended;\n this.tryCleanup();\n }\n\n tryCleanup() {\n if (this.customerConnection && !this.baseInstance.hasMessageSubscribers()) {\n this.baseInstance.end();\n delete LpcConnectionHelper.customerBaseInstances[this.contactId];\n }\n }\n\n getStatus() {\n return this.status || this.baseInstance.getStatus();\n }\n\n onEnded(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.Ended, handler);\n }\n\n handleEnded() {\n this.eventBus.trigger(ConnectionHelperEvents.Ended, {});\n }\n\n onConnectionGain(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionGained, handler);\n }\n\n handleConnectionGain() {\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionGained, {});\n }\n\n onConnectionLost(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionLost, handler);\n }\n\n handleConnectionLost() {\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionLost, {});\n }\n\n onMessage(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.IncomingMessage, handler);\n }\n\n handleMessage(message) {\n if (message.InitialContactId === this.initialContactId || message.ContactId === this.contactId || message.Type === CHAT_EVENTS.MESSAGE_METADATA) {\n this.eventBus.trigger(ConnectionHelperEvents.IncomingMessage, message);\n }\n }\n}\nLpcConnectionHelper.customerBaseInstances = {};\nLpcConnectionHelper.agentBaseInstance = null;\n\n\nclass LpcConnectionHelperBase {\n constructor(connectionDetailsProvider, websocketManager, logMetaData, connectionDetails) {\n this.status = ConnectionHelperStatus.NeverStarted;\n this.eventBus = new EventBus();\n this.logger = LogManager.getLogger({\n prefix: \"ChatJS-LPCConnectionHelperBase\",\n logMetaData\n });\n this.initialConnectionDetails = connectionDetails;\n this.initWebsocketManager(websocketManager, connectionDetailsProvider, logMetaData);\n }\n\n initWebsocketManager(websocketManager, connectionDetailsProvider, logMetaData) {\n this.websocketManager = websocketManager || WebSocketManager.create(logMetaData);\n this.websocketManager.subscribeTopics([\"aws/chat\"]);\n this.subscriptions = [\n this.websocketManager.onMessage(\"aws/chat\", this.handleMessage.bind(this)),\n this.websocketManager.onConnectionGain(this.handleConnectionGain.bind(this)),\n this.websocketManager.onConnectionLost(this.handleConnectionLost.bind(this)),\n this.websocketManager.onInitFailure(this.handleEnded.bind(this))\n ];\n this.logger.info(\"Initializing websocket manager.\");\n if (!websocketManager) {\n const startTime = new Date().getTime();\n this.websocketManager.init(() =>\n this._getConnectionDetails(connectionDetailsProvider, this.initialConnectionDetails, startTime).then((response) => {\n this.initialConnectionDetails = null;\n return response;\n }));\n }\n }\n\n _getConnectionDetails(connectionDetailsProvider, connectionDetails, startTime) {\n if (connectionDetails !== null && typeof connectionDetails === \"object\" && connectionDetails.expiry && connectionDetails.connectionTokenExpiry) {\n const logContent = {expiry: connectionDetails.expiry, transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS};\n this.logger.debug(\"Websocket manager initialized. Connection details:\", logContent);\n return Promise.resolve({\n webSocketTransport: {\n url: connectionDetails.url,\n expiry: connectionDetails.expiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS\n }\n });\n } else {\n return connectionDetailsProvider.fetchConnectionDetails()\n .then(connectionDetails => {\n const details = {\n webSocketTransport: {\n url: connectionDetails.url,\n expiry: connectionDetails.expiry,\n transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS\n }\n };\n const logContent = {expiry: connectionDetails.expiry, transportLifeTimeInSeconds: TRANSPORT_LIFETIME_IN_SECONDS};\n this.logger.debug(\"Websocket manager initialized. Connection details:\", logContent);\n this._addWebsocketInitCSMMetric(startTime);\n return details;\n }\n ).catch(error => {\n this.logger.error(\"Initializing Websocket Manager failed:\", error);\n this._addWebsocketInitCSMMetric(startTime, true);\n throw error;\n });\n }\n }\n\n _addWebsocketInitCSMMetric(startTime, isError = false) {\n csmService.addLatencyMetric(WEBSOCKET_EVENTS.InitWebsocket, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(WEBSOCKET_EVENTS.InitWebsocket, CSM_CATEGORY.API, isError);\n }\n\n end() {\n // WebSocketProvider instance from streams does not have closeWebSocket\n if (this.websocketManager.closeWebSocket) {\n this.websocketManager.closeWebSocket();\n }\n this.eventBus.unsubscribeAll();\n this.subscriptions.forEach(unsubscribe => unsubscribe());\n this.logger.info(\"Websocket closed. All event subscriptions are cleared.\");\n }\n\n start() {\n if (this.status === ConnectionHelperStatus.NeverStarted) {\n this.status = ConnectionHelperStatus.Starting;\n }\n return Promise.resolve({\n websocketStatus: this.status\n });\n }\n\n onEnded(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.Ended, handler);\n }\n\n handleEnded() {\n this.status = ConnectionHelperStatus.Ended;\n this.eventBus.trigger(ConnectionHelperEvents.Ended, {});\n csmService.addCountMetric(WEBSOCKET_EVENTS.Ended, CSM_CATEGORY.API);\n this.logger.info(\"Websocket connection ended.\");\n }\n\n onConnectionGain(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionGained, handler);\n }\n\n handleConnectionGain() {\n this.status = ConnectionHelperStatus.Connected;\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionGained, {});\n csmService.addCountMetric(WEBSOCKET_EVENTS.ConnectionGained, CSM_CATEGORY.API);\n this.logger.info(\"Websocket connection gained.\");\n }\n\n onConnectionLost(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.ConnectionLost, handler);\n }\n\n handleConnectionLost() {\n this.status = ConnectionHelperStatus.ConnectionLost;\n this.eventBus.trigger(ConnectionHelperEvents.ConnectionLost, {});\n csmService.addCountMetric(WEBSOCKET_EVENTS.ConnectionLost, CSM_CATEGORY.API);\n this.logger.info(\"Websocket connection lost.\");\n }\n\n onMessage(handler) {\n return this.eventBus.subscribe(ConnectionHelperEvents.IncomingMessage, handler);\n }\n\n handleMessage(message) {\n let parsedMessage;\n try {\n parsedMessage = JSON.parse(message.content);\n this.eventBus.trigger(ConnectionHelperEvents.IncomingMessage, parsedMessage);\n csmService.addCountMetric(WEBSOCKET_EVENTS.IncomingMessage, CSM_CATEGORY.API);\n this.logger.info(\"this.eventBus trigger Websocket incoming message\", ConnectionHelperEvents.IncomingMessage, parsedMessage);\n } catch (e) {\n this._sendInternalLogToServer(this.logger.error(\"Wrong message format\"));\n }\n }\n\n getStatus() {\n return this.status;\n }\n\n getWebsocketManager() {\n return this.websocketManager;\n }\n\n hasMessageSubscribers() {\n return this.eventBus.getSubscriptions(ConnectionHelperEvents.IncomingMessage).length > 0;\n }\n\n _sendInternalLogToServer(logEntry) {\n if (logEntry && typeof logEntry.sendInternalLogToServer === \"function\")\n logEntry.sendInternalLogToServer();\n\n return logEntry;\n }\n}\n\nexport default LpcConnectionHelper;\n","import { CHAT_EVENTS } from '../constants';\nimport { GlobalConfig } from '../globalConfig';\nimport { LogManager } from '../log';\n\nexport default class MessageReceiptsUtil {\n constructor(logMetaData) {\n this.logger = LogManager.getLogger({ prefix: 'ChatJS-MessageReceiptUtil', logMetaData });\n this.timeout = null;\n this.timeoutId = null;\n this.readSet = new Set();\n this.deliveredSet = new Set();\n this.readPromiseMap = new Map();\n this.deliveredPromiseMap = new Map();\n this.lastReadArgs = null;\n this.throttleInitialEventsToPrioritizeRead = null;\n this.throttleSendEventApiCall = null;\n }\n\n /**\n * check if message is of type read or delivered event\n *\n * @param {string} eventType either INCOMING_READ_RECEIPT or INCOMING_DELIVERED_RECEIPT.\n * @param {Object} incomingData object contains messageDetails\n * @return {boolean} returns true if read or delivered event else false\n */\n isMessageReceipt(eventType, incomingData) {\n return [CHAT_EVENTS.INCOMING_READ_RECEIPT, CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT]\n .indexOf(eventType) !== -1 || incomingData.Type === CHAT_EVENTS.MESSAGE_METADATA;\n }\n \n /** \n * check if message is for currentParticipantId \n * \n * @param {string} currentParticipantId of the contact\n * @param {Object} incomingData object contains messageDetails\n * @return {boolean} returns true if we need to display messageReceipt for the currentParticipantId\n * \n */\n getEventTypeFromMessageMetaData(messageMetadata) {\n return Array.isArray(messageMetadata.Receipts) &&\n messageMetadata.Receipts[0] &&\n messageMetadata.Receipts[0].ReadTimestamp ? CHAT_EVENTS.INCOMING_READ_RECEIPT :\n messageMetadata.Receipts[0].DeliveredTimestamp ? CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT : null;\n }\n\n /** \n * check if message is for currentParticipantId \n * \n * @param {string} currentParticipantId of the contact\n * @param {Object} incomingData object contains messageDetails\n * @return {boolean} returns true if we need to display messageReceipt for the currentParticipantId\n * \n */\n shouldShowMessageReceiptForCurrentParticipantId(currentParticipantId, incomingData) {\n const recipientParticipantId = incomingData.MessageMetadata && \n Array.isArray(incomingData.MessageMetadata.Receipts) &&\n incomingData.MessageMetadata.Receipts[0] &&\n incomingData.MessageMetadata.Receipts[0].RecipientParticipantId;\n return currentParticipantId !== recipientParticipantId;\n }\n\n /**\n * Assumption: sendMessageReceipts are called in correct order of time the messages are Delivered or Read\n * Prioritize Read Event by Throttling Delivered events for 300ms but firing Read events immediately!\n *\n * @param {function} callback The callback fn to throttle and invoke.\n * @param {Array} args array of params [connectionToken, contentType, content, eventType, throttleTime]\n * @return {promise} returnPromise for Read and Delivered events\n */\n prioritizeAndSendMessageReceipt(ChatClientContext, callback, ...args) {\n try {\n var self = this;\n var deliverEventThrottleTime = 300;\n var eventType = args[3];\n var content = typeof args[2] === \"string\" ? JSON.parse(args[2]) : args[2];\n var messageId = typeof content === \"object\" ? content.messageId : \"\";\n \n //ignore repeat events - do not make sendEvent API call.\n if (self.readSet.has(messageId) || \n (eventType === CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT && self.deliveredSet.has(messageId)) ||\n !messageId) {\n this.logger.info(`Event already fired ${messageId}: sending messageReceipt ${eventType}`);\n return Promise.resolve({\n message: 'Event already fired'\n });\n }\n \n var resolve, reject;\n var returnPromise = new Promise(function(res,rej) {\n resolve = res;\n reject = rej;\n });\n \n if (eventType === CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT) {\n self.deliveredPromiseMap.set(messageId, [resolve, reject]);\n } else {\n self.readPromiseMap.set(messageId, [resolve, reject]);\n }\n \n self.throttleInitialEventsToPrioritizeRead = function() {\n // ignore Delivered event if Read event has been triggered for the current messageId\n if (eventType === CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT) {\n self.deliveredSet.add(messageId);\n if (self.readSet.has(messageId)) {\n self.resolveDeliveredPromises(messageId, 'Event already fired');\n return resolve({\n message: 'Event already fired'\n });\n }\n }\n if (self.readSet.has(messageId)) {\n self.resolveReadPromises(messageId, 'Event already fired');\n return resolve({\n message: 'Event already fired'\n });\n }\n if (eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT) {\n self.readSet.add(messageId);\n }\n\n if (content.disableThrottle) {\n this.logger.info(`throttleFn disabled for ${messageId}: sending messageReceipt ${eventType}`);\n return resolve(callback.call(ChatClientContext, ...args));\n }\n self.logger.debug('call next throttleFn sendMessageReceipts', args);\n self.sendMessageReceipts.call(self, ChatClientContext, callback, ...args);\n };\n \n if(!self.timeout) {\n self.timeout = setTimeout(function() {\n self.timeout = null;\n self.throttleInitialEventsToPrioritizeRead();\n }, deliverEventThrottleTime);\n }\n \n //prevent multiple Read events for same messageId - call readEvent without delay\n if (eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT && !self.readSet.has(messageId)) {\n clearTimeout(self.timeout);\n self.timeout = null;\n self.throttleInitialEventsToPrioritizeRead();\n }\n \n return returnPromise;\n } catch (Err) {\n return Promise.reject({\n message: \"Failed to send messageReceipt\", \n args,\n ...Err\n });\n }\n }\n\n /**\n * Throttle for ${GlobalConfig.getMessageReceiptsThrottleTime()} and then fire Read and Delivered events\n *\n * @param {function} callback The callback fn to throttle and invoke.\n * @param {Array} args array of params [connectionToken, contentType, content, eventType, throttleTime]\n */\n sendMessageReceipts(ChatClientContext, callback, ...args) {\n var self = this;\n var throttleTime = args[4] || GlobalConfig.getMessageReceiptsThrottleTime();\n var eventType = args[3];\n var content = typeof args[2] === \"string\" ? JSON.parse(args[2]) : args[2];\n var messageId = content.messageId;\n this.lastReadArgs = eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT ? args : this.lastReadArgs;\n\n self.throttleSendEventApiCall = function() {\n try {\n if(eventType === CHAT_EVENTS.INCOMING_READ_RECEIPT) {\n var sendEventPromise = callback.call(ChatClientContext, ...args);\n self.resolveReadPromises(messageId, sendEventPromise);\n self.logger.debug('send Read event:', callback, args);\n } else {\n //delivered event is the last event fired\n //fire delivered for latest messageId\n //fire read for latest messageId\n var PromiseArr = [callback.call(ChatClientContext, ...args)];\n if(this.lastReadArgs) {\n var contentVal = typeof this.lastReadArgs[2] === \"string\" ? JSON.parse(this.lastReadArgs[2]) : this.lastReadArgs[2];\n var readEventMessageId = contentVal.messageId;\n // if readPromise has been resolved for readEventMessageId; readPromiseMap should not contain readEventMessageId\n // if readPromiseMap contains readEventMessageId; read event has not been called!\n if (self.readPromiseMap.has(readEventMessageId)) {\n PromiseArr.push(callback.call(ChatClientContext, ...this.lastReadArgs));\n }\n }\n self.logger.debug('send Delivered event:', args, 'read event:', this.lastReadArgs);\n Promise.all(PromiseArr).then(res => {\n self.resolveReadPromises(contentVal.messageId, res[0]);\n self.resolveDeliveredPromises(messageId, res[0]);\n });\n }\n } catch(err) {\n self.logger.error('send message receipt failed', err);\n self.resolveReadPromises(messageId, err, true);\n self.resolveDeliveredPromises(messageId, err, true);\n }\n };\n\n if (!self.timeoutId) {\n self.timeoutId = setTimeout(function() {\n self.timeoutId = null;\n self.throttleSendEventApiCall();\n }, throttleTime);\n }\n }\n\n /**\n * resolve All Delivered promises till messageId\n *\n * @param {string} messageId of the latest message receipt event\n * @param {Object} result of the latest message receipt event\n */\n resolveDeliveredPromises(messageId, result, isError) {\n return this.resolvePromises(this.deliveredPromiseMap, messageId, result, isError);\n }\n\n /**\n * resolve All Read promises till messageId\n *\n * @param {string} messageId of the latest message receipt event\n * @param {Object} result of the latest message receipt event\n */\n resolveReadPromises(messageId, result, isError) {\n return this.resolvePromises(this.readPromiseMap, messageId, result, isError);\n }\n\n /**\n * resolve All promises till messageId\n *\n * @param {Map} promiseMap of either send or delivered promises\n * @param {string} messageId of the latest message receipt event\n * @param {Object} result of the latest message receipt event\n */\n resolvePromises(promiseMap, messageId, result, isError) {\n var arr = Array.from(promiseMap.keys());\n var indexToResolve = arr.indexOf(messageId);\n \n if (indexToResolve !== -1) {\n for(let i=0;i<=indexToResolve;i++) {\n var callbackFn = promiseMap.get(arr[i])?.[ isError ? 1 : 0 ];\n if (typeof callbackFn === 'function') {\n promiseMap.delete(arr[i]);\n callbackFn(result);\n }\n }\n } else {\n this.logger.debug(`Promise for messageId: ${messageId} already resolved`);\n }\n }\n\n /**\n * getTranscript API call should hydrate readSet and deliveredSet\n *\n * @param {function} callback to call with getTranscript response object.\n * @param {boolean} shouldSendMessageReceipts decides whether to hydrate mappers or not\n * @return {function} function which takes in input response from API call and calls callback with response.\n */\n rehydrateReceiptMappers(callback, shouldSendMessageReceipts) {\n var self = this;\n return response => {\n self.logger.debug('rehydrate chat', response?.data);\n if (shouldSendMessageReceipts) {\n const { Transcript = [] } = response?.data || {};\n Transcript.forEach(transcript => {\n if (transcript?.Type === CHAT_EVENTS.MESSAGE_METADATA) {\n const Receipt = transcript?.MessageMetadata?.Receipts?.[0];\n const messageId = transcript?.MessageMetadata?.MessageId;\n if (Receipt?.ReadTimestamp) {\n this.readSet.add(messageId);\n }\n if (Receipt?.DeliveredTimestamp) {\n this.deliveredSet.add(messageId);\n }\n }\n });\n }\n // send MessageReceipt for latest message is done by ChatInterface\n // UI will send Read receipt for the latest message displayed in the UI.\n return callback(response);\n };\n }\n\n}\n","import { ConnectionHelperStatus } from \"./connectionHelpers/baseConnectionHelper\";\nimport {\n CHAT_EVENTS,\n TRANSCRIPT_DEFAULT_PARAMS,\n SESSION_TYPES,\n CONTENT_TYPE,\n CHAT_EVENT_TYPE_MAPPING,\n CSM_CATEGORY,\n ACPS_METHODS,\n FEATURES,\n SEND_EVENT_CONACK_THROTTLED,\n SEND_EVENT_CONACK_FAILURE,\n CREATE_PARTICIPANT_CONACK_FAILURE,\n CREATE_PARTICIPANT_CONACK_API_CALL_COUNT\n} from \"../constants\";\nimport { LogManager } from \"../log\";\nimport { EventBus } from \"./eventbus\";\nimport { ChatServiceArgsValidator } from \"./chatArgsValidator\";\nimport ConnectionDetailsProvider from \"./connectionHelpers/connectionDetailsProvider\";\nimport LpcConnectionHelper from \"./connectionHelpers/LpcConnectionHelper\";\nimport MessageReceiptsUtil from './MessageReceiptsUtil';\nimport { csmService } from \"../service/csmService\";\nimport { GlobalConfig } from \"../globalConfig\";\n\nvar NetworkLinkStatus = {\n NeverEstablished: \"NeverEstablished\",\n Establishing: \"Establishing\",\n Established: \"Established\",\n Broken: \"Broken\"\n};\n\nclass ChatController {\n\n constructor(args) {\n this.argsValidator = new ChatServiceArgsValidator();\n this.pubsub = new EventBus();\n this.sessionType = args.sessionType;\n this.getConnectionToken = args.chatDetails.getConnectionToken;\n this.connectionDetails = args.chatDetails.connectionDetails;\n this.initialContactId = args.chatDetails.initialContactId;\n this.contactId = args.chatDetails.contactId;\n this.participantId = args.chatDetails.participantId;\n this.chatClient = args.chatClient;\n this.participantToken = args.chatDetails.participantToken;\n this.websocketManager = args.websocketManager;\n this._participantDisconnected = false;\n this.sessionMetadata = {};\n this.logger = LogManager.getLogger({\n prefix: \"ChatJS-ChatController\",\n logMetaData: args.logMetaData\n });\n this.logMetaData = args.logMetaData;\n this.messageReceiptUtil = new MessageReceiptsUtil(args.logMetaData);\n this.logger.info(\"Browser info:\", window.navigator.userAgent);\n }\n\n subscribe(eventName, callback) {\n this.pubsub.subscribe(eventName, callback);\n this._sendInternalLogToServer(this.logger.info(\"Subscribed successfully to event:\", eventName));\n }\n\n handleRequestSuccess(metadata, method, startTime, contentType) {\n return response => {\n const contentTypeDimension = contentType?\n [\n {\n name: \"ContentType\",\n value: contentType\n }\n ]\n : [];\n csmService.addLatencyMetricWithStartTime(method, startTime, CSM_CATEGORY.API, contentTypeDimension);\n csmService.addCountAndErrorMetric(method, CSM_CATEGORY.API, false, contentTypeDimension);\n response.metadata = metadata;\n return response;\n };\n }\n\n handleRequestFailure(metadata, method, startTime, contentType) {\n return error => {\n const contentTypeDimension = contentType?\n [\n {\n name: \"ContentType\",\n value: contentType\n }\n ]\n : [];\n csmService.addLatencyMetricWithStartTime(method, startTime, CSM_CATEGORY.API, contentTypeDimension);\n csmService.addCountAndErrorMetric(method, CSM_CATEGORY.API, true, contentTypeDimension);\n error.metadata = metadata;\n return Promise.reject(error);\n };\n }\n\n sendMessage(args) {\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n this.argsValidator.validateSendMessage(args);\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .sendMessage(connectionToken, args.message, args.contentType)\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_MESSAGE, startTime, args.contentType))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_MESSAGE, startTime, args.contentType));\n }\n\n sendAttachment(args){\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n //TODO: validation\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .sendAttachment(connectionToken, args.attachment, args.metadata)\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_ATTACHMENT, startTime, args.attachment.type))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_ATTACHMENT, startTime, args.attachment.type));\n }\n\n downloadAttachment(args){\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .downloadAttachment(connectionToken, args.attachmentId)\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.DOWNLOAD_ATTACHMENT, startTime))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.DOWNLOAD_ATTACHMENT, startTime));\n }\n\n sendEvent(args) {\n const startTime = new Date().getTime();\n const metadata = args.metadata || null;\n this.argsValidator.validateSendEvent(args);\n const connectionToken = this.connectionHelper.getConnectionToken();\n const content = args.content || null;\n var eventType = getEventTypeFromContentType(args.contentType);\n var parsedContent = typeof content === \"string\" ? JSON.parse(content) : content;\n if (this.messageReceiptUtil.isMessageReceipt(eventType, args)) {\n // Ignore all MessageReceipt events\n if(!GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED) || !parsedContent.messageId) {\n this.logger.warn(`Ignoring messageReceipt: ${GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED) && \"missing messageId\"}`, args);\n return Promise.reject({\n errorMessage: `Ignoring messageReceipt: ${GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED) && \"missing messageId\"}`,\n data: args\n });\n }\n // Prioritize and send selective message receipts\n return this.messageReceiptUtil.prioritizeAndSendMessageReceipt(this.chatClient, this.chatClient.sendEvent,\n connectionToken,\n args.contentType,\n content, \n eventType, \n GlobalConfig.getMessageReceiptsThrottleTime())\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType));\n }\n return this.chatClient\n .sendEvent(\n connectionToken,\n args.contentType,\n content\n )\n .then(this.handleRequestSuccess(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType))\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.SEND_EVENT, startTime, args.contentType));\n }\n\n getTranscript(inputArgs) {\n const startTime = new Date().getTime();\n const metadata = inputArgs.metadata || null;\n const args = {\n startPosition: inputArgs.startPosition || {},\n scanDirection: inputArgs.scanDirection || TRANSCRIPT_DEFAULT_PARAMS.SCAN_DIRECTION,\n sortOrder: inputArgs.sortOrder || TRANSCRIPT_DEFAULT_PARAMS.SORT_ORDER,\n maxResults: inputArgs.maxResults || TRANSCRIPT_DEFAULT_PARAMS.MAX_RESULTS,\n };\n if (inputArgs.nextToken) {\n args.nextToken = inputArgs.nextToken;\n }\n if (inputArgs.contactId) {\n args.contactId = inputArgs.contactId;\n }\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .getTranscript(connectionToken, args)\n .then(\n this.messageReceiptUtil.rehydrateReceiptMappers(\n this.handleRequestSuccess(metadata, ACPS_METHODS.GET_TRANSCRIPT, startTime), \n GlobalConfig.isFeatureEnabled(FEATURES.MESSAGE_RECEIPTS_ENABLED)\n )\n )\n .catch(this.handleRequestFailure(metadata, ACPS_METHODS.GET_TRANSCRIPT, startTime));\n }\n\n connect(args={}) {\n this.sessionMetadata = args.metadata || null;\n this.argsValidator.validateConnectChat(args);\n const connectionDetailsProvider = this._getConnectionDetailsProvider();\n return connectionDetailsProvider.fetchConnectionDetails()\n .then(\n (connectionDetails) => \n this._initConnectionHelper(connectionDetailsProvider, connectionDetails)\n )\n .then(response => this._onConnectSuccess(response, connectionDetailsProvider))\n .catch(err => {\n return this._onConnectFailure(err);\n });\n }\n\n _initConnectionHelper(connectionDetailsProvider, connectionDetails) {\n this.connectionHelper = new LpcConnectionHelper(\n this.contactId,\n this.initialContactId,\n connectionDetailsProvider,\n this.websocketManager,\n this.logMetaData,\n connectionDetails\n );\n this.connectionHelper.onEnded(this._handleEndedConnection.bind(this));\n this.connectionHelper.onConnectionLost(this._handleLostConnection.bind(this));\n this.connectionHelper.onConnectionGain(this._handleGainedConnection.bind(this));\n this.connectionHelper.onMessage(this._handleIncomingMessage.bind(this));\n return this.connectionHelper.start();\n }\n\n _getConnectionDetailsProvider() {\n return new ConnectionDetailsProvider(\n this.participantToken, \n this.chatClient,\n this.sessionType,\n this.getConnectionToken\n );\n }\n\n _handleEndedConnection(eventData) {\n this._forwardChatEvent(CHAT_EVENTS.CONNECTION_BROKEN, {\n data: eventData,\n chatDetails: this.getChatDetails()\n });\n this.breakConnection();\n }\n\n _handleLostConnection(eventData) {\n this._forwardChatEvent(CHAT_EVENTS.CONNECTION_LOST, {\n data: eventData,\n chatDetails: this.getChatDetails()\n });\n }\n\n _handleGainedConnection(eventData) {\n this._forwardChatEvent(CHAT_EVENTS.CONNECTION_ESTABLISHED, {\n data: eventData,\n chatDetails: this.getChatDetails()\n });\n }\n\n _handleIncomingMessage(incomingData) {\n try {\n let eventType = getEventTypeFromContentType(incomingData?.ContentType);\n if (this.messageReceiptUtil.isMessageReceipt(eventType, incomingData)) {\n eventType = this.messageReceiptUtil.getEventTypeFromMessageMetaData(incomingData?.MessageMetadata);\n if (!eventType || \n !this.messageReceiptUtil.shouldShowMessageReceiptForCurrentParticipantId(this.participantId, incomingData)) {\n //ignore bec we do not want to show messageReceipt to sender of receipt.\n //messageReceipt needs to be shown to the sender of message.\n return;\n }\n }\n\n this._forwardChatEvent(eventType, {\n data: incomingData,\n chatDetails: this.getChatDetails()\n });\n if (incomingData.ContentType === CONTENT_TYPE.chatEnded) {\n this._forwardChatEvent(CHAT_EVENTS.CHAT_ENDED, {\n data: null,\n chatDetails: this.getChatDetails()\n });\n this.breakConnection();\n }\n } catch (e) {\n this._sendInternalLogToServer(this.logger.error(\n \"Error occured while handling message from Connection. eventData:\",\n incomingData,\n \" Causing exception:\",\n e\n ));\n }\n }\n\n _forwardChatEvent(eventName, eventData) {\n this.pubsub.triggerAsync(eventName, eventData);\n }\n\n _onConnectSuccess(response, connectionDetailsProvider) {\n this._sendInternalLogToServer(this.logger.info(\"Connect successful!\"));\n console.warn(\"onConnectionSuccess response\", response);\n const responseObject = {\n _debug: response,\n connectSuccess: true,\n connectCalled: true,\n metadata: this.sessionMetadata\n };\n const eventData = Object.assign({\n chatDetails: this.getChatDetails()\n }, responseObject);\n this.pubsub.triggerAsync(CHAT_EVENTS.CONNECTION_ESTABLISHED, eventData);\n // Currently we are in phase-1 ConnAck Migration: https://quip-amazon.com/qbT6AaXZM8aH/120122-Status-Message-Receipts-ConnAck-Migration-Program-Review\n // phase-1. Use CreateParticipantConnection for ConnAck only when SendEvent is throttled\n // phase-2. Migrate connAck from SendEvent to CreateParticipantConnection\n // TODO: migrating connAck from SendEvent to CreateParticipantConnection\n const ConnectionAckFeatureEnabled = GlobalConfig.isFeatureEnabled(FEATURES.PARTICIPANT_CONN_ACK);\n const connectionAcknowledged = connectionDetailsProvider.getConnectionDetails()?.connectionAcknowledged;\n if (this._shouldAcknowledgeContact() && !connectionAcknowledged) {\n if (ConnectionAckFeatureEnabled) {\n csmService.addAgentCountMetric(CREATE_PARTICIPANT_CONACK_API_CALL_COUNT, 1);\n connectionDetailsProvider.callCreateParticipantConnection({\n Type: false,\n ConnectParticipant: true\n }).catch(err => {\n this.logger.warn(\"ConnectParticipant failed to acknowledge Agent connection \", err);\n this.sendEvent({\n contentType: CONTENT_TYPE.connectionAcknowledged\n });\n csmService.addAgentCountMetric(CREATE_PARTICIPANT_CONACK_FAILURE, 1);\n });\n } else {\n this.sendEvent({\n contentType: CONTENT_TYPE.connectionAcknowledged\n }).catch((error) => {\n connectionDetailsProvider.callCreateParticipantConnection({\n Type: false,\n ConnectParticipant: true\n });\n if (error.statusCode === 429) {\n csmService.addAgentCountMetric(SEND_EVENT_CONACK_THROTTLED, 1);\n }\n csmService.addAgentCountMetric(SEND_EVENT_CONACK_FAILURE, 1);\n this.logger.warn(\"Send event conack failed: \", error);\n });\n }\n }\n console.warn(\"onConnectionSuccess responseObject\", responseObject);\n return responseObject;\n }\n\n _onConnectFailure(error) {\n const errorObject = {\n _debug: error,\n connectSuccess: false,\n connectCalled: true,\n metadata: this.sessionMetadata\n };\n this._sendInternalLogToServer(this.logger.error(\"Connect Failed. Error: \", errorObject));\n\n return Promise.reject(errorObject);\n }\n\n _shouldAcknowledgeContact() {\n return this.sessionType === SESSION_TYPES.AGENT;\n }\n\n breakConnection() {\n return this.connectionHelper\n ? this.connectionHelper.end()\n : Promise.resolve();\n }\n\n // Do any clean up that needs to be done upon the participant being disconnected from the chat -\n // disconnected here means that the participant is no longer part of ther chat.\n cleanUpOnParticipantDisconnect() {\n this.pubsub.unsubscribeAll();\n }\n\n disconnectParticipant() {\n const startTime = new Date().getTime();\n const connectionToken = this.connectionHelper.getConnectionToken();\n return this.chatClient\n .disconnectParticipant(connectionToken)\n .then(response => {\n this._sendInternalLogToServer(this.logger.info(\"Disconnect participant successfully\"));\n\n this._participantDisconnected = true;\n this.cleanUpOnParticipantDisconnect();\n this.breakConnection();\n csmService.addLatencyMetricWithStartTime(ACPS_METHODS.DISCONNECT_PARTICIPANT, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(ACPS_METHODS.DISCONNECT_PARTICIPANT, CSM_CATEGORY.API, false);\n return response;\n }, error => {\n this._sendInternalLogToServer(this.logger.error(\"Disconnect participant failed. Error:\", error));\n csmService.addLatencyMetricWithStartTime(ACPS_METHODS.DISCONNECT_PARTICIPANT, startTime, CSM_CATEGORY.API);\n csmService.addCountAndErrorMetric(ACPS_METHODS.DISCONNECT_PARTICIPANT, CSM_CATEGORY.API, true);\n return Promise.reject(error);\n });\n }\n\n getChatDetails() {\n return {\n initialContactId: this.initialContactId,\n contactId: this.contactId,\n participantId: this.participantId,\n participantToken: this.participantToken,\n connectionDetails: this.connectionDetails\n };\n }\n\n _convertConnectionHelperStatus(connectionHelperStatus) {\n switch (connectionHelperStatus) {\n case ConnectionHelperStatus.NeverStarted:\n return NetworkLinkStatus.NeverEstablished;\n case ConnectionHelperStatus.Starting:\n return NetworkLinkStatus.Establishing;\n case ConnectionHelperStatus.Ended:\n return NetworkLinkStatus.Broken;\n case ConnectionHelperStatus.ConnectionLost:\n return NetworkLinkStatus.Broken;\n case ConnectionHelperStatus.Connected:\n return NetworkLinkStatus.Established;\n }\n this._sendInternalLogToServer(this.logger.error(\n \"Reached invalid state. Unknown connectionHelperStatus: \",\n connectionHelperStatus\n ));\n }\n\n getConnectionStatus() {\n return this._convertConnectionHelperStatus(\n this.connectionHelper.getStatus()\n );\n }\n\n _sendInternalLogToServer(logEntry) {\n if (logEntry && typeof logEntry.sendInternalLogToServer === \"function\")\n logEntry.sendInternalLogToServer();\n\n return logEntry;\n }\n}\n\nexport const getEventTypeFromContentType = (contentType) => {\n return CHAT_EVENT_TYPE_MAPPING[contentType] || CHAT_EVENT_TYPE_MAPPING.default;\n};\n\nexport { ChatController, NetworkLinkStatus };\n","import {\n UnImplementedMethodException,\n IllegalArgumentException\n} from \"./exceptions\";\nimport { ChatClientFactory } from \"../client/client\";\nimport { ChatServiceArgsValidator } from \"./chatArgsValidator\";\nimport { SESSION_TYPES, CHAT_EVENTS, FEATURES } from \"../constants\";\nimport { GlobalConfig } from \"../globalConfig\";\nimport { ChatController } from \"./chatController\";\nimport { LogManager, LogLevel, Logger } from \"../log\";\nimport { csmService } from \"../service/csmService\";\nimport WebSocketManager from \"../lib/amazon-connect-websocket-manager\";\n\nclass ChatSessionFactory {\n /*eslint-disable no-unused-vars*/\n\n createAgentChatController(chatDetails, participantType) {\n throw new UnImplementedMethodException(\n \"createAgentChatController in ChatControllerFactory.\"\n );\n }\n\n createCustomerChatController(chatDetails, participantType) {\n throw new UnImplementedMethodException(\n \"createCustomerChatController in ChatControllerFactory.\"\n );\n }\n /*eslint-enable no-unused-vars*/\n}\n\nclass PersistentConnectionAndChatServiceSessionFactory extends ChatSessionFactory {\n constructor() {\n super();\n this.argsValidator = new ChatServiceArgsValidator();\n }\n\n createChatSession(sessionType, chatDetails, options, websocketManager) {\n const chatController = this._createChatController(sessionType, chatDetails, options, websocketManager);\n if (sessionType === SESSION_TYPES.AGENT) {\n return new AgentChatSession(chatController);\n } else if (sessionType === SESSION_TYPES.CUSTOMER) {\n return new CustomerChatSession(chatController);\n } else {\n throw new IllegalArgumentException(\n \"Unkown value for session type, Allowed values are: \" +\n Object.values(SESSION_TYPES),\n sessionType\n );\n }\n }\n\n _createChatController(sessionType, chatDetailsInput, options, websocketManager) {\n var chatDetails = this.argsValidator.normalizeChatDetails(chatDetailsInput);\n var logMetaData = {\n contactId: chatDetails.contactId,\n participantId: chatDetails.participantId,\n sessionType\n };\n\n var chatClient = ChatClientFactory.getCachedClient(options, logMetaData);\n \n var args = {\n sessionType: sessionType,\n chatDetails,\n chatClient,\n websocketManager: websocketManager,\n logMetaData,\n };\n\n return new ChatController(args);\n }\n}\n\nexport class ChatSession {\n constructor(controller) {\n this.controller = controller;\n }\n\n onMessage(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_MESSAGE, callback);\n }\n\n onTyping(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_TYPING, callback);\n }\n\n onReadReceipt(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_READ_RECEIPT, callback);\n }\n\n onDeliveredReceipt(callback) {\n this.controller.subscribe(CHAT_EVENTS.INCOMING_DELIVERED_RECEIPT, callback);\n }\n\n onConnectionBroken(callback) {\n this.controller.subscribe(CHAT_EVENTS.CONNECTION_BROKEN, callback);\n }\n\n onConnectionEstablished(callback) {\n this.controller.subscribe(CHAT_EVENTS.CONNECTION_ESTABLISHED, callback);\n }\n\n onEnded(callback) {\n this.controller.subscribe(CHAT_EVENTS.CHAT_ENDED, callback);\n }\n\n onParticipantIdle(callback) {\n this.controller.subscribe(CHAT_EVENTS.PARTICIPANT_IDLE, callback);\n }\n\n onParticipantReturned(callback) {\n this.controller.subscribe(CHAT_EVENTS.PARTICIPANT_RETURNED, callback);\n }\n\n onAutoDisconnection(callback) {\n this.controller.subscribe(CHAT_EVENTS.AUTODISCONNECTION, callback);\n }\n\n sendMessage(args) {\n return this.controller.sendMessage(args);\n }\n\n sendAttachment(args){\n return this.controller.sendAttachment(args);\n }\n\n downloadAttachment(args){\n return this.controller.downloadAttachment(args);\n }\n\n connect(args) {\n return this.controller.connect(args);\n }\n\n sendEvent(args) {\n return this.controller.sendEvent(args);\n }\n\n getTranscript(args) {\n return this.controller.getTranscript(args);\n }\n\n getChatDetails() {\n return this.controller.getChatDetails();\n }\n}\n\nclass AgentChatSession extends ChatSession {\n constructor(controller) {\n super(controller);\n }\n\n cleanUpOnParticipantDisconnect() {\n return this.controller.cleanUpOnParticipantDisconnect();\n }\n}\n\nclass CustomerChatSession extends ChatSession {\n constructor(controller) {\n super(controller);\n }\n\n disconnectParticipant() {\n return this.controller.disconnectParticipant();\n }\n}\n\nexport const CHAT_SESSION_FACTORY = new PersistentConnectionAndChatServiceSessionFactory();\n\nvar setGlobalConfig = config => {\n var loggerConfig = config.loggerConfig;\n var csmConfig = config.csmConfig;\n GlobalConfig.update(config);\n /**\n * if config.loggerConfig.logger is present - use it in websocketManager\n * if config.loggerConfig.customizedLogger is present - use it in websocketManager\n * if config.loggerConfig.useDefaultLogger is true - use default window.console + default level INFO\n * config.loggerConfig.advancedLogWriter to customize where you want to log advancedLog messages. Default is warn.\n * else no logs from websocketManager - DEFAULT\n */\n WebSocketManager.setGlobalConfig(config);\n LogManager.updateLoggerConfig(loggerConfig);\n if (csmConfig) {\n csmService.updateCsmConfig(csmConfig);\n }\n //Message Receipts enabled by default\n if (!(config.features?.messageReceipts?.shouldSendMessageReceipts === false)) {\n console.warn(\"enabling message-receipts by default; to disable set config.features.messageReceipts.shouldSendMessageReceipts = false\");\n setFeatureFlag(FEATURES.MESSAGE_RECEIPTS_ENABLED);\n GlobalConfig.updateThrottleTime(config.features?.messageReceipts?.thorttleTime);\n }\n};\n\nvar setFeatureFlag = feature => {\n GlobalConfig.setFeatureFlag(feature);\n};\n\nvar ChatSessionConstructor = args => {\n var options = args.options || {};\n var type = args.type || SESSION_TYPES.AGENT;\n GlobalConfig.updateStageRegion(options);\n // initialize CSM Service for only customer chat widget\n // Disable CSM service from canary test\n if(!args.disableCSM && type === SESSION_TYPES.CUSTOMER) {\n csmService.loadCsmScriptAndExecute();\n }\n return CHAT_SESSION_FACTORY.createChatSession(\n type,\n args.chatDetails,\n options,//options contain region \n args.websocketManager,\n );\n};\n\nconst ChatSessionObject = {\n create: ChatSessionConstructor,\n setGlobalConfig: setGlobalConfig,\n LogLevel: LogLevel,\n Logger: Logger,\n SessionTypes: SESSION_TYPES,\n csmService: csmService,\n setFeatureFlag: setFeatureFlag,\n};\n\nexport { ChatSessionObject };\n","/*eslint no-unused-vars: \"off\"*/\nimport { ChatSessionObject } from \"./core/chatSession\";\nimport { LogManager, LogLevel } from \"./log\";\n\nvar global = typeof global !== 'undefined' ? global :\n typeof self !== 'undefined' ? self :\n typeof window !== 'undefined' ? window : {};\nglobal.connect = global.connect || {};\nconnect.ChatSession = ChatSessionObject;\nconnect.LogManager = LogManager;\nconnect.LogLevel = LogLevel;\nconnect.csmService = ChatSessionObject.csmService;\nexport const ChatSession = ChatSessionObject;\n"],"names":["e","t","r","n","i","s","a","o","c","Error","code","l","exports","call","length","version","metadata","apiVersion","endpointPrefix","jsonVersion","protocol","serviceFullName","serviceId","signatureVersion","targetPrefix","uid","operations","CreateIdentityPool","input","type","required","members","IdentityPoolName","AllowUnauthenticatedIdentities","AllowClassicFlow","SupportedLoginProviders","shape","DeveloperProviderName","OpenIdConnectProviderARNs","CognitoIdentityProviders","SamlProviderARNs","IdentityPoolTags","output","DeleteIdentities","IdentityIdsToDelete","member","UnprocessedIdentityIds","IdentityId","ErrorCode","DeleteIdentityPool","IdentityPoolId","DescribeIdentity","DescribeIdentityPool","GetCredentialsForIdentity","Logins","CustomRoleArn","Credentials","AccessKeyId","SecretKey","SessionToken","Expiration","GetId","AccountId","GetIdentityPoolRoles","Roles","RoleMappings","GetOpenIdToken","Token","GetOpenIdTokenForDeveloperIdentity","TokenDuration","ListIdentities","MaxResults","NextToken","HideDisabled","Identities","ListIdentityPools","IdentityPools","ListTagsForResource","ResourceArn","Tags","LookupDeveloperIdentity","DeveloperUserIdentifier","DeveloperUserIdentifierList","MergeDeveloperIdentities","SourceUserIdentifier","DestinationUserIdentifier","SetIdentityPoolRoles","TagResource","UnlinkDeveloperIdentity","UnlinkIdentity","LoginsToRemove","UntagResource","TagKeys","UpdateIdentityPool","shapes","S5","key","value","S9","Sb","ProviderName","ClientId","ServerSideTokenCheck","Sg","Sh","Sk","Sv","CreationDate","LastModifiedDate","Sw","S10","S1c","S1e","Type","AmbiguousRoleResolution","RulesConfiguration","Rules","Claim","MatchType","Value","RoleARN","pagination","serviceAbbreviation","signingName","CompleteAttachmentUpload","http","requestUri","AttachmentIds","ClientToken","idempotencyToken","ConnectionToken","location","locationName","CreateParticipantConnection","ParticipantToken","ConnectParticipant","Websocket","Url","ConnectionExpiry","ConnectionCredentials","Expiry","DisconnectParticipant","GetAttachment","AttachmentId","UrlExpiry","GetTranscript","ContactId","ScanDirection","SortOrder","StartPosition","Id","AbsoluteTime","MostRecent","InitialContactId","Transcript","Content","ContentType","ParticipantId","DisplayName","ParticipantRole","Attachments","AttachmentName","Status","MessageMetadata","MessageId","Receipts","DeliveredTimestamp","ReadTimestamp","RecipientParticipantId","SendEvent","SendMessage","StartAttachmentUpload","AttachmentSizeInBytes","UploadMetadata","HeadersToInclude","input_token","output_token","limit_key","acm","name","cors","apigateway","applicationautoscaling","prefix","appstream","autoscaling","batch","budgets","clouddirectory","versions","cloudformation","cloudfront","cloudhsm","cloudsearch","cloudsearchdomain","cloudtrail","cloudwatch","cloudwatchevents","cloudwatchlogs","codebuild","codecommit","codedeploy","codepipeline","cognitoidentity","cognitoidentityserviceprovider","cognitosync","configservice","cur","datapipeline","devicefarm","directconnect","directoryservice","discovery","dms","dynamodb","dynamodbstreams","ec2","ecr","ecs","efs","elasticache","elasticbeanstalk","elb","elbv2","emr","es","elastictranscoder","firehose","gamelift","glacier","health","iam","importexport","inspector","iot","iotdata","kinesis","kinesisanalytics","kms","lambda","lexruntime","lightsail","machinelearning","marketplacecommerceanalytics","marketplacemetering","mturk","mobileanalytics","opsworks","opsworkscm","organizations","pinpoint","polly","rds","redshift","rekognition","resourcegroupstaggingapi","route53","route53domains","s3","dualstackAvailable","s3control","xmlNoDefaultLists","servicecatalog","ses","shield","simpledb","sms","snowball","sns","sqs","ssm","storagegateway","stepfunctions","sts","support","swf","xray","waf","wafregional","workdocs","workspaces","codestar","lexmodelbuildingservice","marketplaceentitlementservice","athena","greengrass","dax","migrationhub","cloudhsmv2","glue","mobile","pricing","costexplorer","mediaconvert","medialive","mediapackage","mediastore","mediastoredata","appsync","guardduty","mq","comprehend","iotjobsdataplane","kinesisvideoarchivedmedia","kinesisvideomedia","kinesisvideo","sagemakerruntime","sagemaker","translate","resourcegroups","alexaforbusiness","cloud9","serverlessapplicationrepository","servicediscovery","workmail","autoscalingplans","transcribeservice","connect","acmpca","fms","secretsmanager","iotanalytics","iot1clickdevicesservice","iot1clickprojects","pi","neptune","mediatailor","eks","macie","dlm","signer","chime","pinpointemail","ram","route53resolver","pinpointsmsvoice","quicksight","rdsdataservice","amplify","datasync","robomaker","transfer","globalaccelerator","comprehendmedical","kinesisanalyticsv2","mediaconnect","fsx","securityhub","appmesh","licensemanager","kafka","apigatewaymanagementapi","apigatewayv2","docdb","backup","worklink","textract","managedblockchain","mediapackagevod","groundstation","iotthingsgraph","iotevents","ioteventsdata","personalize","personalizeevents","personalizeruntime","applicationinsights","servicequotas","ec2instanceconnect","eventbridge","lakeformation","forecastservice","forecastqueryservice","qldb","qldbsession","workmailmessageflow","codestarnotifications","savingsplans","sso","ssooidc","marketplacecatalog","dataexchange","sesv2","migrationhubconfig","connectparticipant","appconfig","iotsecuretunneling","wafv2","elasticinference","imagebuilder","schemas","accessanalyzer","codegurureviewer","codeguruprofiler","computeoptimizer","frauddetector","kendra","networkmanager","outposts","augmentedairuntime","ebs","kinesisvideosignalingchannels","detective","codestarconnections","synthetics","iotsitewise","macie2","codeartifact","honeycode","ivs","braket","identitystore","appflow","redshiftdata","ssoadmin","timestreamquery","timestreamwrite","s3outposts","globalEndpoint","xmlNamespace","AssumeRole","RoleArn","RoleSessionName","PolicyArns","Policy","DurationSeconds","TransitiveTagKeys","ExternalId","SerialNumber","TokenCode","resultWrapper","AssumedRoleUser","PackedPolicySize","AssumeRoleWithSAML","PrincipalArn","SAMLAssertion","Subject","SubjectType","Issuer","Audience","NameQualifier","AssumeRoleWithWebIdentity","WebIdentityToken","ProviderId","SubjectFromWebIdentityToken","Provider","DecodeAuthorizationMessage","EncodedMessage","DecodedMessage","GetAccessKeyInfo","Account","GetCallerIdentity","UserId","Arn","GetFederationToken","Name","FederatedUser","FederatedUserId","GetSessionToken","S4","arn","S8","Key","SecretAccessKey","Sm","AssumedRoleId","arguments","apply","dup","Service","apiLoader","services","CognitoIdentity","defineService","Object","defineProperty","get","paginators","enumerable","configurable","STS","hasOwnProperty","createHash","toLowerCase","createHmac","createSign","Buffer","ArrayBuffer","isView","indexOf","prototype","toString","isEmptyData","byteLength","convertToBuffer","Uint8Array","buffer","byteOffset","BYTES_PER_ELEMENT","this","hash","outer","BLOCK_SIZE","set","update","digest","error","finished","state","DataView","p","bufferLength","bytesHashed","u","setUint8","hashBuffer","setUint32","Math","floor","getUint32","h0","h1","h2","h3","h4","block","Uint32Array","offset","shift","totalLength","pow","write","processBlock","temp","Int32Array","h","f","d","m","v","g","crypto","lib","url","querystring","realClock","environment","createEventStream","isBrowser","isNode","XML","Parser","browser","_process","Config","util","inherit","constructor","extractCredentials","each","keys","getCredentials","credentials","message","accessKeyId","secretAccessKey","credentialProvider","resolve","hasService","loadFromPath","clear","JSON","parse","readFileSync","FileSystemCredentials","CredentialProviderChain","providers","unshift","merge","region","logger","apiVersions","endpoint","httpOptions","timeout","maxRetries","maxRedirects","paramValidation","sslEnabled","s3ForcePathStyle","s3BucketEndpoint","s3DisableBodySigning","s3UsEast1RegionalEndpoint","s3UseArnRegion","computeChecksums","convertResponseTypes","correctClockSkew","customUserAgent","dynamoDbCrc32","systemClockOffset","signatureCache","retryDelayOptions","useAccelerateEndpoint","clientSideMonitoring","endpointDiscoveryEnabled","endpointCacheSize","hostPrefixEnabled","stsRegionalEndpoints","copy","setPromisesDependency","Promise","Request","S3","push","ManagedUpload","addPromises","getPromisesDependency","config","clientConfig","env","getProfilesFromSharedConfig","iniLoader","AWS_PROFILE","defaultProfile","sharedConfig","VERSION","Signers","Protocol","Json","Query","Rest","RestJson","RestXml","Builder","Model","Api","Operation","Shape","Paginator","ResourceWaiter","EndpointCache","events","SequentialExecutor","memoizedProperty","hideProperties","expired","expireTime","refreshCallbacks","sessionToken","expiryWindow","needsRefresh","date","getDate","getTime","Date","refresh","coalesceRefresh","load","arrayEach","defer","addPromisesToClass","getPromise","promisifyMethod","refreshPromise","deletePromisesFromClass","ChainableTemporaryCredentials","errorCode","tokenCodeFn","params","masterCredentials","stsConfig","service","fn","callback","getTokenCode","credentialsFrom","CognitoIdentityCredentials","localStorageKey","id","data","_identityId","_clientConfig","loadCachedId","createClients","getId","clearIdOnNotAuthorized","getCredentialsFromSTS","getCredentialsForIdentity","clearCachedId","LoginId","storage","cognito","loadCredentials","cacheId","getOpenIdToken","webIdentityCredentials","getStorage","split","filter","WebIdentityCredentials","setStorage","join","window","localStorage","defaultProviders","slice","resolveCallbacks","resolvePromise","SAMLCredentials","assumeRoleWithSAML","TemporaryCredentials","loadMasterCredentials","assumeRole","getSessionToken","assumeRoleWithWebIdentity","api","endpointDiscoveryId","isLocationName","String","operation","endpointCache","Address","httpRequest","updateEndpoint","makeRequest","endpointOperation","Identifiers","removeListener","EventListeners","Core","VALIDATE_PARAMETERS","RETRY_CHECK","put","CachePeriodInMinutes","send","Endpoints","getKeyString","request","response","retryable","remove","headers","httpResponse","statusCode","loadFrom","isConfig","filename","sharedConfigFileEnv","endpoint_discovery_enabled","discoverEndpoint","_originalConfig","serviceIdentifier","Boolean","isPresigned","endpointDiscoveryRequired","hasRequiredEndpointDiscovery","appendToUserAgent","addNamedListener","className","requiredDiscoverEndpoint","optionalDiscoverEndpoint","marshallCustomIdentifiers","getCacheKey","invalidateCachedEndpoint","eventMessageChunker","parseEvent","readInt32BE","isBuffer","bytes","toBuffer","fromNumber","abs","round","valueOf","parseInt","Int64","parseMessage","eventPayloadMemberName","body","eventHeaderMemberNames","toType","readUInt8","readInt8","readInt16BE","readUInt16BE","substr","splitMessage","readUInt32BE","crc32","addNamedListeners","isGlobalEndpoint","RegExp","test","idempotentMembers","uuid","v4","ParamValidator","validate","haltHandlersOnError","authtype","getSignerClass","V4","computeSha256","getRequestPayloadShape","string","isStreaming","requiresLength","Host","host","HttpRequest","retryCount","getSkewCorrectedDate","getSigningName","setServiceClientId","_clientId","Authorization","addAuthorization","signedAt","successfulResponse","stream","on","emit","streaming","HttpClient","streamsApiVersion","hasEventOutput","read","didCallback","hostname","getInstance","handleRequest","_abortCallback","statusMessage","buffers","numBytes","isClockSkewed","applyClockOffset","loaded","total","concat","retryableError","match","clockSkewError","Endpoint","redirect","redirectCount","retryDelay","retryDelays","setTimeout","CorePost","extractRequestId","errno","getSystemErrorName","originalError","Logger","isSensitive","startTime","isTTY","inspect","lowerFirst","log","buildRequest","extractData","extractError","urlParse","port","method","path","_userAgent","setUserAgent","getUserAgentHeaderName","userAgent","getUserAgent","pathname","search","queryStringParse","queryParamsToString","HttpResponse","createUnbufferedStream","singleton","EventEmitter","XHRClient","XMLHttpRequest","addEventListener","status","readyState","HEADERS_RECEIVED","parseHeaders","getAllResponseHeaders","statusText","DONE","finishRequest","upload","open","xhrAsync","setRequestHeader","xhrWithCredentials","withCredentials","responseType","substring","responseText","toWireFormat","build","stringify","property","timestampFormat","replace","endpointoperation","endpointdiscovery","create","waiters","documentation","documentationUrl","errors","isIdempotent","payload","isEventStream","more_results","result_key","forEach","y","enum","min","max","pattern","xmlName","queryName","isComposite","jsonvalue","sensitive","eventstream","event","eventpayload","eventheader","isTimestampFormatSet","endpointdiscoveryid","hostLabel","xmlAttribute","flattened","isShape","xmlOrder","memberNames","isEventPayload","isEventHeader","uri","isJsonValue","base64","decode","alloc","fill","encode","normalizedTypes","character","double","long","short","biginteger","bigdecimal","blob","types","structure","list","map","boolean","timestamp","toUTCString","parseTimestamp","format","float","parseFloat","integer","binary","StructureShape","ListShape","MapShape","StringShape","BooleanShape","Base64Shape","validation","validateMember","fail","validateStructure","validateType","validateList","validateMap","validateScalar","Array","validateRange","validateString","validatePayload","validateNumber","validateEnum","validatePattern","validateUri","isType","typeName","Stream","Blob","populateHostPrefix","hostPrefix","__type","Code","pop","Message","Version","Action","serialize","requestId","Errors","_XAMZRequestId","uriEscapePath","uriEscape","isArray","sort","httpMethod","httpPath","generateURI","AWS","toXML","upperFirst","isQueryName","toUpperCase","now","performance","configureEndpoint","rules","patterns","useDualstack","isDualstackAvailable","signingRegion","getEndpointSuffix","globalSSL","globalGovCloud","s3signature","domain","success","complete","setupStates","_haltHandlersOnError","_asm","currentState","Domain","domainEmitter","domainThrown","addState","active","Response","states","emitEvent","runTo","abort","removeAllListeners","eachPage","makeAsync","hasNextPage","nextPage","noop","eachItem","paginationConfig","resultKey","isPageable","createReadStream","PassThrough","nextTick","readable","sent","HTTP_DATA","HTTP_ERROR","isNaN","end","_write","unpipe","pipe","eventParameters","presign","Presign","sign","toGet","toUnauthenticated","_unAuthenticated","VALIDATE_CREDENTIALS","SIGN","buildAsGet","addListener","promise","mixin","jmespath","_waiter","acceptors","matchers","matcher","expected","argument","setSuccess","setError","loadWaiterConfig","strictDeepEqual","pathAll","pathAny","listeners","delay","wait","$waiter","maxAttempts","addListeners","numRetries","nextPageTokens","inputToken","cacheNextPageTokens","moreResults","outputToken","_events","onAsync","_isAsync","splice","callListeners","addNamedAsyncListener","loadServiceClass","initialize","validateService","endpointFromTemplate","setEndpoint","addDefaultMonitoringListeners","_clientSideMonitoring","publisher","eventHandler","isEmpty","apiConfig","defineServiceApi","getLatestServiceClass","getLatestServiceVersion","iso8601","defaultRetryCount","customizeRequests","customRequestHandler","addAllRequestListeners","attachMonitoringEmitter","makeUnauthenticatedRequest","waitFor","serviceInterface","setupRequestListeners","apiCallEvent","Region","MaxRetriesExceeded","UserAgent","FinalHttpStatusCode","FinalAwsException","FinalAwsExceptionMessage","FinalSdkException","FinalSdkExceptionMessage","apiAttemptEvent","Fqdn","HttpStatusCode","AccessKey","XAmznRequestId","XAmzRequestId","XAmzId2","attemptFailEvent","AwsException","AwsExceptionMessage","SdkException","SdkExceptionMessage","Timestamp","AttemptLatency","AttemptCount","Latency","RequestSigner","getVersion","calculateRetryDelay","timeoutError","networkingError","expiredCredentialsError","throttledError","paginator","defineMethods","_serviceMap","addVersions","Publisher","configProvider","enabled","isApi","getPrototypeOf","optInRegionalEndpoint","unixTimestamp","Signature","AWSAccessKeyId","Expires","SET_CONTENT_LENGTH","COMPUTE_SHA256","urlFormat","serviceClientId","getServiceClientId","V2","V3","V3Https","subResources","acl","accelerate","analytics","lifecycle","delete","inventory","logging","metrics","notification","partNumber","policy","requestPayment","replication","restore","tagging","torrent","uploadId","uploads","versionId","versioning","website","responseHeaders","rfc822","stringToSign","canonicalizedAmzHeaders","canonicalizedResource","virtualHostedBucket","decodeURIComponent","hmac","SignatureVersion","SignatureMethod","SecurityToken","signature","authorization","signedHeaders","headersToSign","canonicalHeaders","trim","sha256","serviceName","algorithm","updateForPresigned","addHeaders","credentialString","isSignableHeader","getSigningKey","hexEncodedHash","canonicalString","hexEncodedBodyHash","canonicalHeaderValues","createScope","unsignableHeaders","emptyCache","accept","engine","navigator","platform","AWS_EXECUTION_ENV","encodeURIComponent","escape","charCodeAt","from","toStream","Readable","_read","size","lstatSync","object","ini","toISOString","crc32Table","md5","arraySliceFn","FileReader","onerror","onload","result","_continueReading","readAsArrayBuffer","toHex","webkitSlice","mozSlice","stack","writable","time","__super__","hoistPayloadMember","start","ResponseMetadata","RequestId","customBackoff","base","random","handleRequestWithRetries","retryAfter","convertPayloadToString","configOptInEnv","sharedCredentialsFileEnv","ARN","partition","accountId","resource","imdsDisabledEnv","setImmediate","fs","timers","getElementsByTagName","parentNode","firstElementChild","nodeName","textContent","nextElementSibling","childNodes","getAttribute","isXmlAttribute","attributes","defaultValue","DOMParser","parseFromString","documentElement","ActiveXObject","async","loadXML","addAttribute","addChildNode","xmlNamespaceUri","xmlNamespacePrefix","XmlNode","XmlText","children","escapeAttribute","escapeElement","removeAttribute","toByteArray","fromByteArray","TYPED_ARRAY_SUPPORT","RangeError","__proto__","TypeError","isEncoding","Y","$","V","X","q","T","k","P","x","L","b","w","lastIndexOf","E","Number","S","G","_","W","C","A","R","K","J","Q","fromCharCode","I","H","O","N","U","D","M","j","Z","B","z","ee","F","SlowBuffer","INSPECT_MAX_BYTES","foo","subarray","kMaxLength","poolSize","_augment","Symbol","species","allocUnsafe","allocUnsafeSlow","_isBuffer","compare","swap16","swap32","swap64","equals","includes","isFinite","toJSON","_arr","readUIntLE","readUIntBE","readUInt16LE","readUInt32LE","readIntLE","readIntBE","readInt16LE","readInt32LE","readFloatLE","readFloatBE","readDoubleLE","readDoubleBE","writeUIntLE","writeUIntBE","writeUInt8","writeUInt16LE","writeUInt16BE","writeUInt32LE","writeUInt32BE","writeIntLE","writeIntBE","writeInt8","writeInt16LE","writeInt16BE","writeInt32LE","writeInt32BE","writeFloatLE","writeFloatBE","writeDoubleLE","writeDoubleBE","global","self","ieee754","isarray","_maxListeners","defaultMaxListeners","setMaxListeners","context","newListener","listener","warned","console","trace","once","listenerCount","NaN","LN2","runtime","_interpreter","functionTable","_func","_functionAbs","_signature","avg","_functionAvg","ceil","_functionCeil","contains","_functionContains","ends_with","_functionEndsWith","_functionFloor","_functionLength","_functionMap","_functionMax","_functionMerge","variadic","max_by","_functionMaxBy","sum","_functionSum","starts_with","_functionStartsWith","_functionMin","min_by","_functionMinBy","_functionType","_functionKeys","values","_functionValues","_functionSort","sort_by","_functionSortBy","_functionJoin","reverse","_functionReverse","to_array","_functionToArray","to_string","_functionToString","to_number","_functionToNumber","not_null","_functionNotNull","trimLeft","tokenize","_current","_consumeUnquotedIdentifier","_consumeNumber","_consumeLBracket","_consumeQuotedIdentifier","_consumeRawStringLiteral","_consumeLiteral","_consumeOperator","_looksLikeJSON","_loadTokens","index","expression","_lookahead","_lookaheadToken","tokens","_advance","nud","led","Not","_parseProjectionRHS","Star","_parseMultiselectHash","Flatten","_parseIndexExpression","_projectIfSlice","_parseMultiselectList","Expref","_match","_errorToken","Dot","_parseDotRHS","Pipe","Or","And","Filter","_parseComparator","_parseSliceExpression","visit","computeSliceParams","callFunction","jmespathType","capSliceRange","_validateArgs","_getTypeName","_typeMatches","localeCompare","createKeyFunction","compile","run","clearTimeout","fun","array","title","argv","off","prependListener","prependOnceListener","binding","cwd","chdir","umask","nodeType","overflow","ucs2","toASCII","toUnicode","define","punycode","maxKeys","_id","_clearFn","Function","setInterval","clearInterval","close","unref","ref","enroll","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","clearImmediate","slashes","auth","query","href","resolveObject","javascript","https","ftp","gopher","file","exec","parseHost","charAt","super_","seen","stylize","depth","colors","showHidden","_extend","customInspect","styles","getOwnPropertyNames","reduce","getOwnPropertyDescriptor","getHours","getMinutes","getSeconds","getMonth","deprecate","process","noDeprecation","throwDeprecation","traceDeprecation","debuglog","NODE_DEBUG","pid","bold","italic","underline","inverse","white","grey","black","blue","cyan","green","magenta","red","yellow","special","number","undefined","null","regexp","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isObject","isDate","isError","isFunction","isPrimitive","inherits","v1","getRandomValues","bind","msCrypto","node","clockseq","msecs","nsecs","rng","maxSize","cache","LRUCache","populateValue","Expire","empty","nodeMap","sizeLimit","prependToList","headerNode","prev","next","tailNode","removeFromTail","detachFromList","module","getRawTag","objectToString","symToStringTag","toStringTag","trimmedEndIndex","reTrimStart","freeGlobal","objectProto","nativeObjectToString","isOwn","tag","unmasked","freeSelf","root","reWhitespace","toNumber","nativeMax","nativeMin","func","options","lastArgs","lastThis","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","invokeFunc","args","thisArg","leadingEdge","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","timeWaiting","remainingWait","debounced","isInvoking","cancel","flush","baseGetTag","isObjectLike","debounce","baseTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","other","isBinary","re","not_string","not_bool","not_type","not_primitive","numeric_arg","json","not_json","text","modulo","placeholder","key_access","index_access","sprintf","sprintf_format","sprintf_parse","vsprintf","fmt","parse_tree","arg","ph","pad","pad_character","pad_length","is_positive","cursor","tree_length","param_no","width","precision","toExponential","toFixed","toPrecision","pad_char","repeat","align","sprintf_cache","_fmt","arg_names","SyntaxError","field_list","replacement_field","field_match","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","amdO","getter","__esModule","definition","obj","prop","ValueError","super","UnImplementedMethodException","IllegalArgumentException","GlobalConfig","stage","reconnect","features","Proxy","target","oldVal","feature","featureChangeListeners","_cleanFeatureChangeListener","configInput","endpointOverride","messageReceiptThrottleTime","throttleTime","updateStageRegion","updateThrottleTime","getMessageReceiptsThrottleTime","getStage","getRegion","getEndpointOverride","setFeatureFlag","isFeatureEnabled","featureValues","_registerFeatureChangeListener","FEATURES","SESSION_TYPES","AGENT","CUSTOMER","CSM_CATEGORY","ACPS_METHODS","WEBSOCKET_EVENTS","CHAT_EVENTS","INCOMING_MESSAGE","INCOMING_TYPING","INCOMING_READ_RECEIPT","INCOMING_DELIVERED_RECEIPT","CONNECTION_ESTABLISHED","CONNECTION_LOST","CONNECTION_BROKEN","CONNECTION_ACK","CHAT_ENDED","MESSAGE_METADATA","PARTICIPANT_IDLE","PARTICIPANT_RETURNED","AUTODISCONNECTION","CONTENT_TYPE","textPlain","textMarkdown","textCsv","applicationDoc","applicationDocx","applicationJson","applicationPdf","applicationPpt","applicationPptx","applicationXls","applicationXlsx","imageJpg","imagePng","audioWav","audioXWav","audioVndWave","connectionAcknowledged","typing","participantJoined","participantLeft","participantActive","participantInactive","transferSucceeded","transferFailed","chatEnded","interactiveMessage","interactiveMessageResponse","readReceipt","deliveredReceipt","participantIdle","participantReturned","autoDisconnection","CHAT_EVENT_TYPE_MAPPING","default","TRANSPORT_LIFETIME_IN_SECONDS","Utils","premise","assertTrue","allowedValues","enumObj","find","predicate","assertNotNull","ms","interval","count","catch","then","asyncWhileInterval","reject","contentType","LogLevel","DEBUG","INFO","WARN","ERROR","ADVANCED_LOG","LogManager","updateLoggerConfig","writeToClientLogger","level","logStatement","logMetaData","hasClientLogger","levelStringValue","getLogLevelByValue","_clientLogger","debug","info","warn","_advancedLogWriter","isLevelEnabled","_level","getLogger","LoggerWrapperImpl","inputConfig","advancedLogVal","customizedLogger","customizedLoggerKeys","defaultLoggerKeys","isValidAdvancedLogConfig","advancedLogWriter","useClientLogger","selectLogger","useDefaultLogger","createConsoleLogger","LoggerWrapper","_log","advancedLog","_shouldLog","_writeToClientLogger","_convertToSingleStatement","_convertToString","toStringResult","AWSChatClient","sendMessage","participantToken","sendAttachment","attachment","downloadAttachment","attachmentId","disconnectParticipant","sendEvent","connectionToken","content","createParticipantConnection","throttle","_submitEvent","creds","chatClient","invokeUrl","acknowledgeConnection","createParticipantConnectionRequest","_sendRequest","res","sendInternalLogToServer","err","disconnectParticipantRequest","getTranscript","maxResults","nextToken","scanDirection","sortOrder","startPosition","absoluteTime","mostRecent","contactId","getTranscriptRequest","sendMessageRequest","logContent","startUploadRequestParams","startUploadRequest","startAttachmentUpload","startUploadResponse","_uploadToS3","completeUploadRequestParams","completeUploadRequest","completeAttachmentUpload","fetch","getAttachmentRequest","getAttachment","_downloadUrl","throttleEvent","sendEventRequest","errObj","ChatClientFactory","clientCache","getCachedClient","optionsInput","assign","client","_createAwsClient","endpointUrl","ChatServiceArgsValidator","validateNewControllerDetails","chatDetails","validateSendMessage","validateContentType","validateConnectChat","validateLogger","methodName","validateSendEvent","validateGetMessages","validateChatDetails","sessionType","getConnectionToken","participantId","validateInitiateChatResponse","normalizeChatDetails","chatDetailsInput","initialContactId","GetConnectionToken","ConnectionHelperStatus","ConnectionHelperEvents","ALL_EVENTS","Subscription","subMap","eventName","unsubscribe","SubscriptionMap","subIdMap","subEventNameMap","subscribe","sub","subList","subId","getAllSubscriptions","getSubscriptions","EventBus","paramsIn","logEvents","subscribeAll","trigger","allEventSubs","eventSubs","triggerAsync","bridge","unsubscribeAll","DIMENSION_CATEGORY","csmService","widgetType","csmInitialized","metricsToBePublished","agentMetricToBePublished","MAX_RETRY","loadCsmScriptAndExecute","script","document","createElement","innerHTML","head","appendChild","initializeCSM","csmWorkerText","sharedWorkerBlobUrl","URL","createObjectURL","ldasEndpoint","getLdasEndpointUrl","namespace","sharedWorkerUrl","csm","initCSM","metric","API","addMetric","updateCsmConfig","csmConfig","getDefaultDimensions","setDimensions","dimensions","dimension","addDimension","addLatencyMetric","timeDifference","category","otherDimensions","latencyMetric","Metric","UNIT","MILLISECONDS","addLatencyMetricWithStartTime","addCountAndErrorMetric","countMetric","COUNT","errorCount","errorMetric","addCountMetric","addAgentCountMetric","metricName","_self","addCount","metricItem","ConnectionDetailsProvider","connectionDetails","connectionTokenExpiry","getFetchedConnectionToken","getConnectionTokenExpiry","getConnectionDetails","fetchConnectionDetails","_fetchConnectionDetails","_handleCreateParticipantConnectionResponse","expiry","transportLifeTimeInSeconds","_handleGetConnectionTokenResponse","connectionTokenDetails","callCreateParticipantConnection","_addParticipantConnectionMetric","reason","_debug","chatTokenTransport","errorMessage","LpcConnectionHelper","connectionDetailsProvider","isStarted","startConnectionTokenPolling","getTimeToConnectionTokenExpiry","websocketManager","customerConnection","customerBaseInstances","LpcConnectionHelperBase","baseInstance","agentBaseInstance","getWebsocketManager","eventBus","subscriptions","onEnded","handleEnded","onConnectionGain","handleConnectionGain","onConnectionLost","handleConnectionLost","onMessage","handleMessage","tryCleanup","hasMessageSubscribers","getStatus","handler","initialConnectionDetails","initWebsocketManager","WebSocketManager","subscribeTopics","onInitFailure","init","_getConnectionDetails","webSocketTransport","details","_addWebsocketInitCSMMetric","closeWebSocket","websocketStatus","parsedMessage","_sendInternalLogToServer","logEntry","MessageReceiptsUtil","timeoutId","readSet","Set","deliveredSet","readPromiseMap","Map","deliveredPromiseMap","lastReadArgs","throttleInitialEventsToPrioritizeRead","throttleSendEventApiCall","isMessageReceipt","eventType","incomingData","getEventTypeFromMessageMetaData","messageMetadata","shouldShowMessageReceiptForCurrentParticipantId","currentParticipantId","prioritizeAndSendMessageReceipt","ChatClientContext","messageId","has","returnPromise","rej","add","resolveDeliveredPromises","resolveReadPromises","disableThrottle","sendMessageReceipts","Err","sendEventPromise","PromiseArr","contentVal","readEventMessageId","all","resolvePromises","promiseMap","arr","indexToResolve","callbackFn","rehydrateReceiptMappers","shouldSendMessageReceipts","transcript","Receipt","ChatController","argsValidator","pubsub","_participantDisconnected","sessionMetadata","messageReceiptUtil","handleRequestSuccess","contentTypeDimension","handleRequestFailure","connectionHelper","getEventTypeFromContentType","parsedContent","inputArgs","_getConnectionDetailsProvider","_initConnectionHelper","_onConnectSuccess","_onConnectFailure","_handleEndedConnection","_handleLostConnection","_handleGainedConnection","_handleIncomingMessage","eventData","_forwardChatEvent","getChatDetails","breakConnection","responseObject","connectSuccess","connectCalled","ConnectionAckFeatureEnabled","_shouldAcknowledgeContact","errorObject","cleanUpOnParticipantDisconnect","_convertConnectionHelperStatus","connectionHelperStatus","getConnectionStatus","ChatSession","controller","onTyping","onReadReceipt","onDeliveredReceipt","onConnectionBroken","onConnectionEstablished","onParticipantIdle","onParticipantReturned","onAutoDisconnection","AgentChatSession","CustomerChatSession","CHAT_SESSION_FACTORY","createAgentChatController","participantType","createCustomerChatController","createChatSession","chatController","_createChatController","ChatSessionObject","disableCSM","setGlobalConfig","loggerConfig","messageReceipts","thorttleTime","SessionTypes"],"sourceRoot":""} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a221512..70d9eea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "amazon-connect-chatjs", - "version": "1.3.3", + "version": "1.3.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 25d1b6a..7601793 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "amazon-connect-chatjs", - "version": "1.3.3", + "version": "1.3.4", "main": "dist/amazon-connect-chat.js", "types": "src/index.d.ts", "engines": { diff --git a/src/constants.js b/src/constants.js index 0fd949a..ca1ccbb 100644 --- a/src/constants.js +++ b/src/constants.js @@ -92,6 +92,7 @@ export const CONTENT_TYPE = { transferFailed: "application/vnd.amazonaws.connect.event.transfer.failed", chatEnded: "application/vnd.amazonaws.connect.event.chat.ended", interactiveMessage: "application/vnd.amazonaws.connect.message.interactive", + interactiveMessageResponse: "application/vnd.amazonaws.connect.message.interactive.response", readReceipt: "application/vnd.amazonaws.connect.event.message.read", deliveredReceipt: "application/vnd.amazonaws.connect.event.message.delivered", participantIdle: "application/vnd.amazonaws.connect.event.participant.idle", diff --git a/src/core/chatController.spec.js b/src/core/chatController.spec.js index 51cb17d..a3b4f7b 100644 --- a/src/core/chatController.spec.js +++ b/src/core/chatController.spec.js @@ -262,20 +262,28 @@ describe("ChatController", () => { expect(flag).toEqual(true); }); - test("sendMessage works as expected", async () => { - const args = { - metadata: "metadata", - message: "message", - contentType: CONTENT_TYPE.textPlain - }; - const chatController = getChatController(); - await chatController.connect(); - const response = await chatController.sendMessage(args); - expect(chatClient.sendMessage).toHaveBeenCalledWith("token", "message", CONTENT_TYPE.textPlain); - expect(csmService.addCountAndErrorMetric).toHaveBeenCalledWith(ACPS_METHODS.SEND_MESSAGE, CSM_CATEGORY.API, false, [{name: "ContentType", value: CONTENT_TYPE.textPlain}]); - expect(csmService.addLatencyMetricWithStartTime).toHaveBeenCalledWith(ACPS_METHODS.SEND_MESSAGE, expect.anything(), CSM_CATEGORY.API, [{name: "ContentType", value: CONTENT_TYPE.textPlain}]); - expect(response.metadata).toBe("metadata"); - expect(response.testField).toBe("test"); + const chatMessageContentTypes = [ + CONTENT_TYPE.textPlain, + CONTENT_TYPE.applicationJson, + CONTENT_TYPE.interactiveMessageResponse + ]; + test("sendMessage works as expected for all chatMessage content-types", async () => { + for(const chatMessageContentType of chatMessageContentTypes) { + const args = { + metadata: "metadata", + message: "message", + contentType: chatMessageContentType + }; + const chatController = getChatController(); + await chatController.connect(); + const response = await chatController.sendMessage(args); + expect(chatClient.sendMessage).toHaveBeenCalledWith("token", "message", chatMessageContentType); + expect(csmService.addCountAndErrorMetric).toHaveBeenCalledWith(ACPS_METHODS.SEND_MESSAGE, CSM_CATEGORY.API, false, [{name: "ContentType", value: chatMessageContentType}]); + expect(csmService.addLatencyMetricWithStartTime).toHaveBeenCalledWith(ACPS_METHODS.SEND_MESSAGE, expect.anything(), CSM_CATEGORY.API, [{name: "ContentType", value: chatMessageContentType}]); + expect(response.metadata).toBe("metadata"); + expect(response.testField).toBe("test"); + + } }); test("sendMessage throws an error", async () => {